{"info":{"_postman_id":"924c8466-18df-4bf3-abf5-79ef8c29a9e0","name":"SmartB Solutions","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"28790662","collectionId":"924c8466-18df-4bf3-abf5-79ef8c29a9e0","publishedId":"2s9Xxwvu2c","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2023-08-23T09:10:21.000Z"},"item":[{"name":"Contacts","item":[{"name":"Dashboard","item":[{"name":"ui.params/get_hash","id":"1d2a347e-04c9-493c-af1c-6e4aee4b0589","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690785664747,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"ui.params\",\r\n        \"get_hash\",\r\n        [],\r\n        {\r\n            \"context\": {\r\n                \"modules\": null\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"last_activ_time\": \"2023-07-31 11:39:24\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\"><strong>Description:</strong></h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend services of Netforce using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol, making it versatile for various programming languages.</p>\n<p><strong>Method: POST</strong></p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Headers:</strong></p>\n<ul>\n<li>Content-Type: application/json</li>\n</ul>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, you need to send a POST request to the provided endpoint. The request must be in JSON format and include the following elements:</p>\n<ol>\n<li><strong>id (Number)</strong>: A unique identifier for the request. This is typically a numeric value, such as a timestamp or sequence number, that helps identify the response corresponding to the request.</li>\n<li><strong>method (String)</strong>: The RPC method to be executed on the server. In this case, the method should be set to \"execute.\"</li>\n<li><strong>params (Array)</strong>: An array containing the following elements:</li>\n</ol>\n<ul>\n<li><strong>Element 1 (String)</strong>: The target object or service that will handle the request. In this case, it should be set to \"ui.params.\"</li>\n<li><strong>Element 2 (String)</strong>: The specific method within the \"ui.params\" service that will be executed. For this endpoint, set it to \"get_hash.\"</li>\n<li><strong>Element 3 (Array)</strong>: An empty array, indicating no additional positional parameters for the \"get_hash\" method.</li>\n<li><strong>Element 4 (Object)</strong>: An object containing any contextual information required for the request. The \"context\" object can contain properties like \"modules,\" which can be set to null or specific module names.</li>\n</ul>\n<p><strong>Parameters:</strong></p>\n<p>The API call does not require any additional query parameters in the URL. Instead, all the necessary parameters are sent in the request body as shown in the example above.</p>\n<p><strong>Response Format:</strong></p>\n<p>The API response will also be in JSON format and will include the following elements:</p>\n<ol>\n<li><strong>id (Number)</strong>: The same identifier as provided in the request, allowing you to match the response with the corresponding request.</li>\n<li><strong>result (Any)</strong>: The result of the RPC method call. This can be of any JSON-serializable data type, such as an object, array, string, or number.</li>\n<li><strong>error (Object)</strong>: If an error occurs during the API call, this object will be included with information about the error. It will contain the following properties:</li>\n</ol>\n<ul>\n<li><strong>code (Number)</strong>: A numeric error code indicating the type of error that occurred.</li>\n<li><strong>message (String)</strong>: A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>Make sure to set the \"Content-Type\" header to \"application/json\" when sending the request to the API endpoint.</li>\n<li>The \"id\" field in the request and response should be used for tracking and matching requests with their corresponding responses.</li>\n<li>Always check the \"error\" field in the response to handle any potential errors that may occur during the API call.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p>\"id\": 1690785664747</p>\n<p>In the provided API request and response, the \"id\" field is used to uniquely identify a particular API call and associate it with its corresponding response. This identification is essential in scenarios where multiple API calls are made simultaneously or in rapid succession, and you need to match the responses with their respective requests.</p>\n<p><strong>In the API Request:</strong></p>\n<ul>\n<li>The \"id\" value is assigned by the client making the API request. It can be any number or alphanumeric value that helps the client identify the request later when receiving the response.</li>\n<li>The purpose of \"id\" is to allow the client to match the response with the original request. When the server sends back the response, it includes the same \"id\" value from the request. This way, the client can determine which response corresponds to which request.</li>\n<li>The \"id\" is especially useful in asynchronous API calls or when making multiple requests in parallel. It helps ensure the client processes responses correctly and doesn't mix up data from different API calls.</li>\n</ul>\n<p><strong>In the API Response:</strong></p>\n<ul>\n<li>In the API response, the \"id\" field serves the same purpose as in the request: to provide a way for the client to identify the response's origin.</li>\n<li>The server includes the same \"id\" value that was present in the corresponding request, allowing the client to match the response to the appropriate request.</li>\n<li>Here, the \"id\" value of in the response corresponds to the \"id\" value used in the original request. The client can use this value to determine that the response is for the API call with \"id\" .</li>\n<li>When handling the API responses, the client code would typically check the \"id\" field to match responses with their respective requests and process the data accordingly.</li>\n</ul>\n<p>Overall, the \"id\" field is a crucial component of JSON-RPC and many other APIs to facilitate communication between clients and servers, ensuring correct handling and association of requests and responses.</p>\n<p><strong>\"method\": \"execute\",</strong></p>\n<p>In the provided JSON-RPC API request, the \"method\" field indicates the name of the remote procedure that the client wants to execute on the server. The method specifies the action or operation that the client wants the server to perform.</p>\n<p><strong>In the API Request:</strong></p>\n<ul>\n<li>The specific value of \"execute\" in this case indicates that the client is requesting the server to execute a remote procedure. In other words, the client is making an API call to invoke a specific function or service on the server.</li>\n<li>JSON-RPC is a flexible protocol, and different servers may implement various methods that clients can call using the \"method\" field. The server's API documentation should specify the available methods and their respective functionalities.</li>\n<li>The method name is crucial because it tells the server which specific action the client is requesting. The server should handle the API request based on the provided method and return an appropriate response.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>When using JSON-RPC, clients need to ensure that they specify the correct \"method\" value to invoke the desired functionality on the server.</li>\n<li>The server should validate the \"method\" field to ensure that it corresponds to a valid and allowed method. This helps prevent unauthorized access to sensitive server functionalities.</li>\n</ul>\n<p><strong>\"params\": [</strong><strong>\"ui.params\",</strong>\"get_hash\",<strong>[],</strong></p>\n<p>In the provided JSON-RPC API request, the \"params\" field contains an array of parameters that are passed to the remote procedure call (RPC) method being executed on the server. The parameters determine the specific details and inputs required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<ul>\n<li>The \"params\" array contains three elements, each serving a specific purpose:<ol>\n<li><strong>Element 1 (String)</strong>: \"ui.params\": The first element of the array indicates the target object or service that will handle the request. In this case, it seems to be related to user interface parameters. This string identifies the service or module within the server that should handle the API request.</li>\n<li><strong>Element 2 (String)</strong>: \"get_hash\": The second element of the array specifies the method within the \"ui.params\" service that will be executed. It appears to be related to retrieving a hash value. This string identifies the specific method on the target object that the client wants to call.</li>\n<li><strong>Element 3 (Array)</strong>: An empty array <code>[]:</code> The third element in the \"params\" array represents the positional parameters for the \"get_hash\" method. In this case, the array is empty, indicating that no additional parameters are provided for the method call.</li>\n</ol>\n</li>\n</ul>\n<p>The \"params\" array elements determine the target model, the specific method to invoke, and any additional parameters required for the method call. The server will use this information to execute the requested functionality and return the result.</p>\n<p><strong>{****\"context\": {</strong>\"modules\": null**}****},**</p>\n<p>In the provided JSON-RPC API request, the object with the key \"context\" and its corresponding value serve as contextual information that can be used by the server when processing the API call. Contextual information can provide additional context or configuration details for the server to use during the execution of the requested method.</p>\n<p><strong>In the API Request:</strong></p>\n<ul>\n<li>The \"context\" object is typically used to pass metadata or contextual settings that may affect the behavior of the remote procedure being called.</li>\n<li>In this specific example, the \"context\" object contains a property called \"modules\" with a value of <code>null</code>. The meaning and usage of the \"modules\" property will depend on the specific implementation of the API server.</li>\n<li>The \"context\" object and its properties are optional and may or may not be required by the API method being executed. If the server does not need any additional context, this object can be omitted or left empty.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"context\" object can be used to pass settings, preferences, or other auxiliary information that may affect the API call's outcome.</li>\n<li>The properties within the \"context\" object are specific to the API's implementation, and their interpretation will be determined by the server.</li>\n<li>Including a \"context\" object can be particularly useful in cases where the API's behavior needs to be adjusted based on specific conditions or configurations.</li>\n<li>API documentation should clearly specify the purpose and significance of the \"context\" object and its properties to help clients use it appropriately.</li>\n</ul>\n<p><strong>{****\"client_id\": \"NFC-QROG3AME\",</strong>\"show_pass\": \"1\",<strong>\"company_id\": \"1\",</strong>\"login\": \"mahnoor\",<strong>\"user_id\": \"106\",</strong>\"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",<strong>\"last_activ_time\": \"2023-07-31 11:39:24\",</strong>\"client_name\": \"NFWeb\"<strong>}</strong></p>\n<p>The provided JSON object contains various parameters that serve as inputs for the API call. These parameters carry specific data relevant to the API request, providing context and details required by the server to process the request accurately.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The JSON object includes the following parameters:</p>\n<ol>\n<li><strong>\"client_id\" (String)</strong>: The identifier of the client making the API call. This could be a unique client ID or a token representing the client's identity.</li>\n<li><strong>\"show_pass\" (String)</strong>: A flag indicating whether to show or hide passwords. The value \"1\" suggests that passwords should be shown.</li>\n<li><strong>\"company_id\" (String)</strong>: The identifier of the company associated with the client.</li>\n<li><strong>\"login\" (String)</strong>: The username or login name of the client, in this case, set to \"mahnoor.\"</li>\n<li><strong>\"user_id\" (String)</strong>: The unique identifier of the user associated with the client, with the value \"106.\"</li>\n<li><strong>\"token\" (String)</strong>: A token representing the client's authentication or session information. The exact structure and format of the token are specific to the API's authentication mechanism.</li>\n<li><strong>\"last_activ_time\" (String)</strong>: The timestamp indicating the last activity time for the client, set to \"2023-08-01 13:21:39.\"</li>\n<li><strong>\"client_name\" (String)</strong>: The name of the client, set to \"NFWeb.\"</li>\n</ol>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The parameters provide important data related to the client's identity, user information, and session details. They are essential for the server to authenticate the client and authorize access to specific resources or functionalities.</li>\n<li>Some parameters, such as \"_gid,\" \"_gcl_au,\" and \"_ga,\" appear to be Google Analytics-related identifiers and might be used for tracking user interactions with the application or website.</li>\n<li>The server will interpret and utilize these parameters based on the API's design and requirements. Documentation should specify the expected data types and allowed values for each parameter.</li>\n<li>Properly validating and sanitizing user-provided input is crucial to prevent security vulnerabilities like injection attacks.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"2020db8b-4a43-47d4-9a8f-e893e99e6348","name":"ui.params/get_hash","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690785664747,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"ui.params\",\r\n        \"get_hash\",\r\n        [],\r\n        {\r\n            \"context\": {\r\n                \"modules\": null\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"last_activ_time\": \"2023-07-31 11:39:24\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 02 Aug 2023 06:58:17 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=zRaCkOvcceojKWZyvW6YN3NcLXr1ZbzQq4mhWDc66%2FIUpv2xr8Fp1Cdj9p5KG21ea7deqEtjL5TZRWMTFa4cHqwo%2FV9CmbaLcCGEECmflkz6d35PL9vkOX3CWu8M6mGTuNJW9cSeaqVavi%2F%2FKw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f046e6e69904d3f-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": \"f6ef2071\",\n    \"error\": null,\n    \"id\": 1690785664747,\n    \"dt\": 1886\n}"}],"_postman_id":"1d2a347e-04c9-493c-af1c-6e4aee4b0589"},{"name":"ui.params/load_ui_params","id":"08bb9f36-5559-440c-9f05-8d493faf91ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690785668589,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"ui.params\",\r\n        \"load_ui_params\",\r\n        [],\r\n        {\r\n            \"context\": {\r\n                \"modules\": null\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"last_activ_time\": \"2023-07-31 11:39:24\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\"><strong>Description:</strong></h1>\n<p>The JSON-RPC API provided at the above endpoint enables clients to perform remote procedure calls (RPC) to interact with the backend model of SmartB. JSON-RPC is a lightweight, language-independent protocol for making API calls and receiving responses in JSON format.</p>\n<p><strong>Usage:</strong></p>\n<p>Clients can make HTTP POST requests to the specified endpoint to invoke remote procedures on the server. The request and response payloads are formatted as JSON objects.</p>\n<p><strong>HTTP Method:</strong> POST</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send a POST request to the endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><strong>id (Number or String, optional):</strong> A unique identifier for the request. This field is optional but can be useful for clients to match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><strong>method (String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><strong>params (Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><strong>id (Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><strong>result (Any):</strong> The result of the RPC method call. This field will contain the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><strong>error (Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><strong>code (Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><strong>message (String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>Ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Handle any potential errors by checking the \"error\" field in the response object.</li>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n</ul>\n<h1 id=\"code-explanation\"><strong>Code Explanation:</strong></h1>\n<p><strong>\"id\": 1690785668589,</strong></p>\n<p>In the context of the provided JSON-RPC API request and response, the field \"id\" serves as a unique identifier or request ID assigned by the client making the API call. This identifier allows the client to associate the response received from the server with the corresponding request.</p>\n<p><strong>In the API Request:</strong></p>\n<ul>\n<li><p>The \"id\" field is present in the API request and has the value \"1690785668589\"</p>\n</li>\n<li><p>The \"id\" field is optional but recommended in JSON-RPC requests. When provided, it typically contains a unique numeric or alphanumeric value that helps the client identify and associate the response with the original request.</p>\n</li>\n<li><p>The client includes the \"id\" field to track the API request's progress and to match the response received from the server with the corresponding request.</p>\n</li>\n</ul>\n<p><strong>In the API Response:</strong></p>\n<ul>\n<li><p>In the API response, the \"id\" field has the same value as the one provided in the corresponding request. This allows the client to easily identify which response corresponds to which request.</p>\n</li>\n<li><p>Here, the \"id\" value of 1690785668589 in the response matches the \"id\" value from the original request. This makes it clear to the client that the response is related to the API call with \"id\" 1690785668589.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>When sending multiple API requests simultaneously or in rapid succession, including the \"id\" field in the request helps avoid confusion and ensures that the client can keep track of individual requests and their responses.</p>\n</li>\n<li><p>The client should use a unique identifier for each request, such as a timestamp, sequence number, or randomly generated string, to prevent potential collisions with other request IDs.</p>\n</li>\n<li><p>The \"id\" field is especially useful when handling asynchronous API calls, where the response may not be immediately available. It allows the client to keep a record of pending requests and match responses when they arrive.</p>\n</li>\n<li><p>While the \"id\" field is optional in JSON-RPC requests, it is considered good practice to include it for better request-response tracking.</p>\n</li>\n</ul>\n<p><strong>\"params\": \"ui.params\", \"load_ui_params\", [],</strong></p>\n<p>In the provided JSON-RPC API request, the \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><strong>Element 1 (String): \"ui.params\"</strong>: The first element of the array is a string, specifically \"ui.params.\" This string identifies the target object or service on the server that will handle the API request.</li>\n<li><strong>Element 2 (String): \"load_ui_params\"</strong>: The second element of the array is also a string, specifically \"load_ui_params.\" This string specifies the name of the method within the \"ui.params\" service that the client wants to execute.</li>\n<li><strong>Element 3 (Array): Empty Array</strong> **<code>[]:</code>**The third element in the \"params\" array represents the positional parameters for the \"load_ui_params\" method. In this case, the array is empty, indicating that there are no additional parameters provided for the method call.</li>\n</ol>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</li>\n<li>The first two elements of the \"params\" array (\"ui.params\" and \"load_ui_params\") identify the specific service and method on the server that the client wants to invoke.</li>\n<li>The server will use this information to execute the requested functionality, in this case, the \"load_ui_params\" method within the \"ui.params\" model.</li>\n<li>The \"params\" array may include additional elements if the method being called requires input parameters. In this, the method call requires no additional parameters, so the array remains empty.</li>\n<li>The actual functionality associated with the \"ui.params\" model and \"load_ui_params\" method will depend on the server's implementation and the specific requirements of the API.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"b85fc1a4-ee02-467e-8f64-ac9bcdcdebe9","name":"ui.params/load_ui_params","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690785668589,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"ui.params\",\r\n        \"load_ui_params\",\r\n        [],\r\n        {\r\n            \"context\": {\r\n                \"modules\": null\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"last_activ_time\": \"2023-07-31 11:39:24\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Date","value":"Mon, 07 Aug 2023 07:07:44 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=QOJvdX0kFl9Xh5NGhaFkoNQhiJnPz16gONsPcy3mo%2BZP7%2FFZHnfBIyBzmhnR08mJAtDABB%2B%2FB1tVjncgKJkmRYr3%2B6gVC4LaAdecfuiV0OBR8%2Bxoo5gc91C9wcNpFH6ZX8S3nKfYWXzv6mb5kg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f2daf1ed82a4963-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\"result\": {\"actions\": {\"sms_template\": {\"module\": \"netforce_messaging\", \"name\": \"sms_template\", \"string\": \"SMS Template\", \"view\": \"multi_view\", \"model\": \"sms.template\", \"menu\": \"msg_menu\"}, \"email_outbox\": {\"module\": \"netforce_messaging\", \"string\": \"Email Outbox\", \"view\": \"list\", \"model\": \"email.message\", \"condition\": \"[[\\\"mailbox_id.type\\\",\\\"=\\\",\\\"out\\\"]]\", \"layout\": \"email_outbox_list\", \"show_search\": \"1\", \"show_default_buttons\": \"1\", \"show_pagination\": \"1\", \"name\": \"email_outbox\"}, \"device_location\": {\"module\": \"netforce_messaging\", \"string\": \"Device Locations\", \"view\": \"multi_view\", \"model\": \"device.location\", \"menu\": \"msg_menu\", \"name\": \"device_location\"}, \"notif\": {\"module\": \"netforce_messaging\", \"string\": \"Notifications\", \"view\": \"multi_view\", \"model\": \"notif\", \"tabs\": \"[[\\\"Pending\\\",[[\\\"state\\\",\\\"=\\\",\\\"pending\\\"]]],[\\\"Dismissed\\\",[[\\\"state\\\",\\\"=\\\",\\\"dismissed\\\"]]],[\\\"All\\\",[]]]\", \"menu\": \"msg_menu\", \"name\": \"notif\"}, \"email_account\": {\"module\": \"netforce_messaging\", \"name\": \"email_account\", \"string\": \"Email Accounts\", \"view\": \"multi_view\", \"model\": \"email.account\", \"menu\": \"msg_menu\"}, \"broadcast\": {\"module\": \"netforce_messaging\", \"string\": \"Broadcast\", \"view\": \"form_popup\", \"model\": \"broadcast\", \"target\": \"popup\", \"name\": \"broadcast\"}, \"sms_message\": {\"module\": \"netforce_messaging\", \"name\": \"sms_message\", \"string\": \"SMS Message\", \"view\": \"multi_view\", \"model\": \"sms.message\", \"menu\": \"msg_menu\"}, \"message_tmpl\": {\"module\": \"netforce_messaging\", \"string\": \"Message Templates\", \"view\": \"multi_view\", \"model\": \"message.tmpl\", \"menu\": \"msg_menu\", \"name\": \"message_tmpl\"}, \"chat_channel\": {\"module\": \"netforce_messaging\", \"string\": \"Chat Channels\", \"view\": \"multi_view\", \"model\": \"chat.channel\", \"menu\": \"msg_menu\", \"name\": \"chat_channel\"}, \"email_tmpl\": {\"module\": \"netforce_messaging\", \"name\": \"email_tmpl\", \"string\": \"Email Templates\", \"view\": \"multi_view\", \"model\": \"email.template\", \"menu\": \"msg_menu\"}, \"chat\": {\"module\": \"netforce_messaging\", \"view\": \"chat\", \"menu\": \"msg_menu\", \"name\": \"chat\"}, \"voice_call\": {\"module\": \"netforce_messaging\", \"string\": \"Voice Calls\", \"view\": \"multi_view\", \"model\": \"voice.call\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Planned\\\",[[\\\"state\\\",\\\"=\\\",\\\"planned\\\"]]],[\\\"In Progress\\\",[[\\\"state\\\",\\\"=\\\",\\\"in_progress\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]],[\\\"Failed\\\",[[\\\"state\\\",\\\"=\\\",\\\"error\\\"]]]]\", \"menu\": \"msg_menu\", \"name\": \"voice_call\"}, \"device_token\": {\"module\": \"netforce_messaging\", \"string\": \"Device Tokens\", \"view\": \"multi_view\", \"model\": \"device.token\", \"menu\": \"msg_menu\", \"name\": \"device_token\"}, \"msg_user_widget\": {\"module\": \"netforce_messaging\", \"view\": \"list\", \"model\": \"base.user\", \"layout\": \"msg_user_widget\", \"name\": \"msg_user_widget\"}, \"message\": {\"module\": \"netforce_messaging\", \"string\": \"Messages\", \"view\": \"multi_view\", \"model\": \"message\", \"menu\": \"msg_menu\", \"name\": \"message\"}, \"email_rule\": {\"module\": \"netforce_messaging\", \"string\": \"Email Rules\", \"view\": \"multi_view\", \"model\": \"email.rule\", \"menu\": \"msg_menu\", \"name\": \"email_rule\"}, \"msg_board\": {\"module\": \"netforce_messaging\", \"string\": \"Messaging Dashboard\", \"view\": \"board\", \"layout\": \"msg_board\", \"menu\": \"msg_menu\", \"name\": \"msg_board\"}, \"verif_request\": {\"module\": \"netforce_messaging\", \"string\": \"Verification Requests\", \"view\": \"multi_view\", \"model\": \"verif.request\", \"menu\": \"msg_menu\", \"name\": \"verif_request\"}, \"push_notif\": {\"module\": \"netforce_messaging\", \"string\": \"Push Notifications\", \"view\": \"multi_view\", \"model\": \"push.notif\", \"menu\": \"msg_menu\", \"name\": \"push_notif\"}, \"email_reject\": {\"module\": \"netforce_messaging\", \"string\": \"Email Rejection Blacklist\", \"view\": \"multi_view\", \"model\": \"email.reject\", \"menu\": \"msg_menu\", \"name\": \"email_reject\"}, \"voice_account\": {\"module\": \"netforce_messaging\", \"name\": \"voice_account\", \"string\": \"Voice Accounts\", \"view\": \"multi_view\", \"model\": \"voice.account\", \"menu\": \"msg_menu\"}, \"notif_pending\": {\"module\": \"netforce_messaging\", \"view\": \"list\", \"string\": \"Notifications\", \"model\": \"notif\", \"condition\": \"[[\\\"show_board\\\",\\\"=\\\",true]]\", \"hide_buttons\": \"1\", \"hide_page\": \"1\", \"layout\": \"notif_pending\", \"order\": \"time desc\", \"name\": \"notif_pending\"}, \"my_message\": {\"module\": \"netforce_messaging\", \"string\": \"My Messages\", \"view\": \"multi_view\", \"model\": \"message\", \"condition\": \"[\\\"or\\\",[\\\"to_id\\\",\\\"=\\\",user_id],[\\\"from_id\\\",\\\"=\\\",user_id]]\", \"menu\": \"msg_menu\", \"list_layout\": \"my_message_list\", \"form_layout\": \"my_message_form\", \"name\": \"my_message\"}, \"sms_account\": {\"module\": \"netforce_messaging\", \"name\": \"sms_account\", \"string\": \"SMS Accounts\", \"view\": \"multi_view\", \"model\": \"sms.account\", \"menu\": \"msg_menu\"}, \"email\": {\"module\": \"netforce_messaging\", \"string\": \"Email Messages\", \"view\": \"multi_view\", \"model\": \"email.message\", \"tabs\": \"\\n        [\\n            [\\\"Inbox\\\",\\\"email_inbox\\\"],\\n            [\\\"Outbox\\\",\\\"email_outbox\\\"]\\n        ]\\n    \", \"menu\": \"msg_menu\", \"name\": \"email\"}, \"email_inbox\": {\"module\": \"netforce_messaging\", \"string\": \"Email Inbox\", \"view\": \"list\", \"model\": \"email.message\", \"condition\": \"[[\\\"mailbox_id.type\\\",\\\"=\\\",\\\"in\\\"]]\", \"layout\": \"email_inbox_list\", \"show_search\": \"1\", \"show_default_buttons\": \"1\", \"show_pagination\": \"1\", \"name\": \"email_inbox\"}, \"chat_message\": {\"module\": \"netforce_messaging\", \"string\": \"Chat Messages\", \"view\": \"multi_view\", \"model\": \"chat.message\", \"menu\": \"msg_menu\", \"name\": \"chat_message\"}, \"email_mailbox\": {\"module\": \"netforce_messaging\", \"string\": \"Email Mailboxes\", \"view\": \"multi_view\", \"model\": \"email.mailbox\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Archived\\\",[[\\\"active\\\",\\\"=\\\",false]]]]\", \"menu\": \"msg_menu\", \"name\": \"email_mailbox\"}, \"record_history\": {\"module\": \"netforce_general\", \"string\": \"Record History\", \"view\": \"multi_view\", \"model\": \"record.history\", \"menu\": \"gen_menu\", \"name\": \"record_history\"}, \"help_tooltip\": {\"module\": \"netforce_general\", \"string\": \"Tooltips\", \"view\": \"list_container\", \"model\": \"help.tooltip\", \"menu\": \"gen_menu\", \"name\": \"help_tooltip\"}, \"gen_settings\": {\"module\": \"netforce_general\", \"template\": \"gen_settings\", \"menu\": \"gen_menu\", \"name\": \"gen_settings\"}, \"module\": {\"module\": \"netforce_general\", \"string\": \"Modules\", \"view\": \"multi_view\", \"model\": \"module\", \"menu\": \"gen_menu\", \"name\": \"module\"}, \"help_video\": {\"module\": \"netforce_general\", \"string\": \"Video Tutorials\", \"view\": \"list_container\", \"model\": \"help.video\", \"menu\": \"gen_menu\", \"name\": \"help_video\"}, \"script\": {\"module\": \"netforce_general\", \"string\": \"Scripts\", \"view\": \"multi_view\", \"model\": \"script\", \"menu\": \"gen_menu\", \"name\": \"script\"}, \"gen_board_alert\": {\"module\": \"netforce_general\", \"view\": \"alert\", \"model\": \"cron.job\", \"name\": \"gen_board_alert\"}, \"field_access\": {\"module\": \"netforce_general\", \"string\": \"Field Access\", \"view\": \"multi_view\", \"model\": \"field.access\", \"menu\": \"gen_menu\", \"name\": \"field_access\"}, \"role\": {\"module\": \"netforce_general\", \"name\": \"role\", \"string\": \"Roles\", \"view\": \"multi_view\", \"model\": \"role\", \"menu\": \"gen_menu\"}, \"import_module\": {\"module\": \"netforce_general\", \"view\": \"form_view\", \"string\": \"Import Modules\", \"model\": \"import.module\", \"menu\": \"gen_menu\", \"name\": \"import_module\"}, \"menu_access_add\": {\"module\": \"netforce_general\", \"view\": \"form_popup\", \"string\": \"Menu Access Add\", \"model\": \"menu.access.add\", \"target\": \"popup\", \"name\": \"menu_access_add\"}, \"country\": {\"module\": \"netforce_general\", \"name\": \"country\", \"string\": \"Countries\", \"view\": \"multi_view\", \"model\": \"country\", \"menu\": \"gen_menu\"}, \"reset_passwd\": {\"module\": \"netforce_general\", \"view\": \"form_popup\", \"model\": \"reset.passwd\", \"target\": \"popup\", \"name\": \"reset_passwd\"}, \"permission\": {\"module\": \"netforce_general\", \"name\": \"permission\", \"string\": \"Permissions\", \"view\": \"multi_view\", \"model\": \"permission\", \"menu\": \"gen_menu\"}, \"print_wizard\": {\"module\": \"netforce_general\", \"view\": \"print_wizard\", \"menu\": \"gen_menu\", \"name\": \"print_wizard\"}, \"field_access_add\": {\"module\": \"netforce_general\", \"view\": \"form_popup\", \"string\": \"Field Access Add\", \"model\": \"field.access.add\", \"target\": \"popup\", \"name\": \"field_access_add\"}, \"search\": {\"module\": \"netforce_general\", \"view\": \"search_all\", \"menu\": \"search_menu\", \"name\": \"search\"}, \"sequence\": {\"module\": \"netforce_general\", \"name\": \"sequence\", \"string\": \"Sequences\", \"view\": \"multi_view\", \"model\": \"sequence\", \"menu\": \"gen_menu\"}, \"wkf_rule\": {\"module\": \"netforce_general\", \"string\": \"Workflow Rules\", \"view\": \"multi_view\", \"model\": \"wkf.rule\", \"menu\": \"gen_menu\", \"name\": \"wkf_rule\"}, \"queue\": {\"module\": \"netforce_general\", \"string\": \"External Queues\", \"view\": \"multi_view\", \"model\": \"queue\", \"menu\": \"gen_menu\", \"name\": \"queue\"}, \"company\": {\"module\": \"netforce_general\", \"name\": \"company\", \"string\": \"Companies\", \"view\": \"multi_view\", \"model\": \"company\", \"menu\": \"gen_menu\"}, \"layout\": {\"module\": \"netforce_general\", \"string\": \"Layouts\", \"view\": \"multi_view\", \"model\": \"layout\", \"menu\": \"gen_menu\", \"name\": \"layout\"}, \"user_pref\": {\"module\": \"netforce_general\", \"view\": \"form\", \"model\": \"base.user\", \"layout\": \"user_pref\", \"menu\": \"gen_menu\", \"name\": \"user_pref\"}, \"view_layout\": {\"module\": \"netforce_general\", \"string\": \"Layouts\", \"view\": \"multi_view\", \"model\": \"view.layout\", \"menu\": \"gen_menu\", \"name\": \"view_layout\"}, \"login\": {\"module\": \"netforce_general\", \"view\": \"model_view\", \"model\": \"login\", \"template\": \"login\", \"name\": \"login\"}, \"change_passwd\": {\"module\": \"netforce_general\", \"view\": \"model_view\", \"model\": \"change.passwd\", \"template\": \"change_passwd\", \"name\": \"change_passwd\"}, \"profile\": {\"module\": \"netforce_general\", \"name\": \"profile\", \"string\": \"Profiles\", \"view\": \"multi_view\", \"model\": \"profile\", \"menu\": \"gen_menu\"}, \"approve_wizard\": {\"module\": \"netforce_general\", \"string\": \"Approve\", \"view\": \"form_popup\", \"model\": \"approve.wizard\", \"target\": \"_popup\", \"name\": \"approve_wizard\"}, \"select_company\": {\"module\": \"netforce_general\", \"view\": \"form_popup\", \"model\": \"select.company\", \"target\": \"popup\", \"name\": \"select_company\"}, \"bg_task\": {\"module\": \"netforce_general\", \"string\": \"Task Queue\", \"view\": \"multi_view\", \"model\": \"bg.task\", \"tabs\": \"[[\\\"Waiting\\\",[[\\\"state\\\",\\\"=\\\",\\\"waiting\\\"]]],[\\\"All\\\",[]]]\", \"menu\": \"gen_menu\", \"name\": \"bg_task\"}, \"help_overlay\": {\"module\": \"netforce_general\", \"string\": \"Overlays\", \"view\": \"list_container\", \"model\": \"help.overlay\", \"menu\": \"gen_menu\", \"name\": \"help_overlay\"}, \"update_ui\": {\"module\": \"netforce_general\", \"view\": \"form_view\", \"model\": \"update.ui\", \"menu\": \"gen_menu\", \"name\": \"update_ui\"}, \"postal_code\": {\"module\": \"netforce_general\", \"string\": \"Postal Codes\", \"view\": \"multi_view\", \"model\": \"postal.code\", \"menu\": \"gen_menu\", \"name\": \"postal_code\"}, \"gen_user_widget\": {\"module\": \"netforce_general\", \"view\": \"list\", \"model\": \"base.user\", \"order\": \"lastlog desc\", \"layout\": \"gen_user_widget\", \"name\": \"gen_user_widget\"}, \"subdistrict\": {\"module\": \"netforce_general\", \"string\": \"Subdistricts\", \"view\": \"multi_view\", \"model\": \"subdistrict\", \"menu\": \"gen_menu\", \"name\": \"subdistrict\"}, \"setup1\": {\"module\": \"netforce_general\", \"view\": \"steps\", \"model\": \"setup\", \"layout\": \"setup1\", \"menu\": \"setup_menu\", \"name\": \"setup1\"}, \"metric\": {\"module\": \"netforce_general\", \"string\": \"Metrics\", \"view\": \"multi_view\", \"model\": \"metric\", \"tabs\": \"[[\\\"Active\\\",[\\\"state\\\",\\\"=\\\",\\\"active\\\"]],[\\\"Inactive\\\",[\\\"state\\\",\\\"=\\\",\\\"inactive\\\"]]]\", \"menu\": \"gen_menu\", \"name\": \"metric\"}, \"main_menu_mobile\": {\"module\": \"netforce_general\", \"view\": \"menu_mobile\", \"layout\": \"main_menu_mobile\", \"name\": \"main_menu_mobile\"}, \"board_user\": {\"module\": \"netforce_general\", \"string\": \"User Dashboards\", \"view\": \"multi_view\", \"model\": \"board.user\", \"menu\": \"gen_menu\", \"name\": \"board_user\"}, \"report_template\": {\"module\": \"netforce_general\", \"name\": \"report_template\", \"string\": \"Report Templates\", \"view\": \"multi_view\", \"model\": \"report.template\", \"menu\": \"gen_menu\"}, \"export_data\": {\"module\": \"netforce_general\", \"type\": \"export\", \"name\": \"export_data\"}, \"cron_job\": {\"module\": \"netforce_general\", \"string\": \"Cron Jobs\", \"view\": \"multi_view\", \"model\": \"cron.job\", \"menu\": \"gen_menu\", \"name\": \"cron_job\"}, \"district\": {\"module\": \"netforce_general\", \"string\": \"Districts\", \"view\": \"multi_view\", \"model\": \"district\", \"menu\": \"gen_menu\", \"name\": \"district\"}, \"attach\": {\"module\": \"netforce_general\", \"name\": \"attach\", \"string\": \"Attachments\", \"view\": \"multi_view\", \"model\": \"attach\", \"menu\": \"gen_menu\"}, \"reason_code\": {\"module\": \"netforce_general\", \"string\": \"Reason Codes\", \"view\": \"multi_view\", \"model\": \"reason.code\", \"menu\": \"gen_menu\", \"name\": \"reason_code\"}, \"inline_help\": {\"module\": \"netforce_general\", \"name\": \"inline_help\", \"string\": \"Inline Help\", \"view\": \"multi_view\", \"model\": \"inline.help\", \"menu\": \"gen_menu\"}, \"approve_wkf\": {\"module\": \"netforce_general\", \"string\": \"Approval Workflows\", \"view\": \"multi_view\", \"model\": \"approve.wkf\", \"menu\": \"gen_menu\", \"name\": \"approve_wkf\"}, \"bug_report\": {\"module\": \"netforce_general\", \"view\": \"multi_view\", \"string\": \"Bug Reports\", \"model\": \"bug.report\", \"menu\": \"gen_menu\", \"name\": \"bug_report\"}, \"copy_db\": {\"module\": \"netforce_general\", \"view\": \"model_view\", \"model\": \"copy_db\", \"template\": \"copy_db\", \"name\": \"copy_db\"}, \"field_value\": {\"module\": \"netforce_general\", \"string\": \"Field Values\", \"view\": \"multi_view\", \"model\": \"field.value\", \"tabs\": \"[[\\\"Custom\\\",[[\\\"model_id.custom\\\",\\\"=\\\",true]]],[\\\"All\\\",[]]]\", \"menu\": \"gen_menu\", \"name\": \"field_value\"}, \"forgot_passwd_done\": {\"module\": \"netforce_general\", \"view\": \"model_view\", \"model\": \"forgot.passwd\", \"template\": \"forgot_passwd_done\", \"name\": \"forgot_passwd_done\"}, \"report\": {\"module\": \"netforce_general\", \"name\": \"report\", \"string\": \"Reports\", \"view\": \"multi_view\", \"model\": \"report\", \"tabs\": \"[[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Pending Approval\\\",[[\\\"state\\\",\\\"=\\\",\\\"wait_approval\\\"]]],[\\\"Approved\\\",[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]]]]\", \"menu\": \"gen_menu\"}, \"action\": {\"module\": \"netforce_general\", \"string\": \"Actions\", \"view\": \"multi_view\", \"model\": \"action\", \"menu\": \"gen_menu\", \"name\": \"action\"}, \"share\": {\"module\": \"netforce_general\", \"view\": \"share\", \"name\": \"share\"}, \"province\": {\"module\": \"netforce_general\", \"name\": \"province\", \"string\": \"Provinces\", \"view\": \"multi_view\", \"model\": \"province\", \"menu\": \"gen_menu\"}, \"forgot_passwd\": {\"module\": \"netforce_general\", \"view\": \"model_view\", \"model\": \"forgot.passwd\", \"template\": \"forgot_passwd\", \"name\": \"forgot_passwd\"}, \"log\": {\"module\": \"netforce_general\", \"name\": \"log\", \"string\": \"Audit Log\", \"view\": \"list_container\", \"model\": \"log\", \"modes\": \"list,page\", \"menu\": \"gen_menu\"}, \"create_db\": {\"module\": \"netforce_general\", \"view\": \"model_view\", \"model\": \"create_db\", \"template\": \"create_db\", \"name\": \"create_db\"}, \"config\": {\"module\": \"netforce_general\", \"string\": \"UI Config\", \"view\": \"multi_view\", \"model\": \"config\", \"menu\": \"gen_menu\", \"name\": \"config\"}, \"update_db\": {\"module\": \"netforce_general\", \"view\": \"form_view\", \"model\": \"update.db\", \"menu\": \"gen_menu\", \"name\": \"update_db\"}, \"custom_field\": {\"module\": \"netforce_general\", \"string\": \"Custom Fields\", \"view\": \"multi_view\", \"model\": \"custom.field\", \"menu\": \"gen_menu\", \"name\": \"custom_field\"}, \"uom_conv\": {\"module\": \"netforce_general\", \"string\": \"UoM Conversion Factors\", \"view\": \"multi_view\", \"model\": \"uom.conv\", \"menu\": \"gen_menu\", \"name\": \"uom_conv\"}, \"menu_access\": {\"module\": \"netforce_general\", \"string\": \"Menu Access\", \"view\": \"multi_view\", \"model\": \"menu.access\", \"menu\": \"gen_menu\", \"name\": \"menu_access\"}, \"Custom Report\": {\"module\": \"netforce_general\", \"view\": \"print_preview\", \"name\": \"Custom Report\", \"hide_buttons\": \"1\"}, \"company_type\": {\"module\": \"netforce_general\", \"name\": \"company_type\", \"string\": \"Company Types\", \"view\": \"multi_view\", \"model\": \"company.type\", \"menu\": \"gen_menu\"}, \"field\": {\"module\": \"netforce_general\", \"string\": \"Fields\", \"view\": \"multi_view\", \"model\": \"field\", \"tabs\": \"[[\\\"Custom\\\",[[\\\"model_id.custom\\\",\\\"=\\\",true]]],[\\\"All\\\",[]]]\", \"menu\": \"gen_menu\", \"name\": \"field\"}, \"change_lang\": {\"module\": \"netforce_general\", \"type\": \"method\", \"model\": \"translation\", \"method\": \"change_lang\", \"context\": \"{\\\"set_locale\\\":locale}\", \"name\": \"change_lang\"}, \"login_nodb\": {\"module\": \"netforce_general\", \"view\": \"model_view\", \"model\": \"login\", \"template\": \"login\", \"context\": \"{\\\"no_db\\\": true}\", \"name\": \"login_nodb\"}, \"delete_db\": {\"module\": \"netforce_general\", \"view\": \"model_view\", \"model\": \"delete_db\", \"template\": \"delete_db\", \"name\": \"delete_db\"}, \"lang\": {\"module\": \"netforce_general\", \"name\": \"lang\", \"string\": \"Languages\", \"view\": \"multi_view\", \"model\": \"language\", \"tabs\": \"[[\\\"Active\\\",[]],[\\\"Archived\\\",[[\\\"active\\\",\\\"=\\\",false]]]]\", \"menu\": \"gen_menu\"}, \"main_board\": {\"module\": \"netforce_general\", \"string\": \"Dashboards\", \"view\": \"board_user\", \"menu\": \"board_menu\", \"name\": \"main_board\"}, \"import_data\": {\"module\": \"netforce_general\", \"view\": \"model_view\", \"model\": \"import.data\", \"method\": \"get_data\", \"template\": \"import_data\", \"menu\": \"gen_menu\", \"name\": \"import_data\"}, \"translation\": {\"module\": \"netforce_general\", \"name\": \"translation\", \"string\": \"Translations\", \"view\": \"multi_view\", \"model\": \"translation\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Waiting Translation\\\",[[\\\"translation\\\",\\\"=\\\",null]]]]\", \"import_sample\": \"import_translations.csv\", \"menu\": \"gen_menu\"}, \"access_token\": {\"module\": \"netforce_general\", \"string\": \"Access Tokens\", \"view\": \"multi_view\", \"model\": \"access.token\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Active\\\",[[\\\"state\\\",\\\"=\\\",\\\"active\\\"]]],[\\\"Logged Out\\\",[[\\\"state\\\",\\\"=\\\",\\\"logout\\\"]]],[\\\"Expired\\\",[[\\\"state\\\",\\\"=\\\",\\\"expired\\\"]]]]\", \"menu\": \"gen_menu\", \"name\": \"access_token\"}, \"show_progress\": {\"module\": \"netforce_general\", \"view\": \"show_progress\", \"target\": \"popup\", \"name\": \"show_progress\"}, \"miss_translation\": {\"module\": \"netforce_general\", \"string\": \"Import Missing Translations\", \"view\": \"miss_translation\", \"menu\": \"gen_menu\", \"name\": \"miss_translation\"}, \"model\": {\"module\": \"netforce_general\", \"string\": \"Models\", \"view\": \"multi_view\", \"model\": \"model\", \"tabs\": \"[[\\\"Custom\\\",[[\\\"custom\\\",\\\"=\\\",true]]],[\\\"All\\\",[]]]\", \"menu\": \"gen_menu\", \"name\": \"model\"}, \"gen_board\": {\"module\": \"netforce_general\", \"string\": \"General Dashboard\", \"view\": \"board\", \"layout\": \"gen_board\", \"menu\": \"gen_menu\", \"name\": \"gen_board\"}, \"uom\": {\"module\": \"netforce_general\", \"name\": \"uom\", \"string\": \"Units of Measure\", \"view\": \"multi_view\", \"model\": \"uom\", \"menu\": \"gen_menu\"}, \"manage_db\": {\"module\": \"netforce_general\", \"view\": \"template_view\", \"template\": \"manage_db\", \"name\": \"manage_db\"}, \"send_wizard\": {\"module\": \"netforce_general\", \"string\": \"Send\", \"view\": \"form_popup\", \"model\": \"send.wizard\", \"target\": \"_popup\", \"name\": \"send_wizard\"}, \"user\": {\"module\": \"netforce_general\", \"name\": \"user\", \"string\": \"Users\", \"view\": \"multi_view\", \"model\": \"base.user\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Archived\\\",[[\\\"active\\\",\\\"=\\\",false]]]]\", \"menu\": \"gen_menu\", \"priority\": \"1\"}, \"setup2\": {\"module\": \"netforce_general\", \"view\": \"steps\", \"model\": \"setup\", \"layout\": \"setup2\", \"menu\": \"setup_menu\", \"name\": \"setup2\"}, \"import_inline_help\": {\"module\": \"netforce_general\", \"view\": \"form_view\", \"string\": \"Import Inline Help\", \"model\": \"import.inline.help\", \"menu\": \"gen_menu\", \"name\": \"import_inline_help\"}, \"logout\": {\"module\": \"netforce_general\", \"type\": \"method\", \"model\": \"login\", \"method\": \"logout\", \"name\": \"logout\"}, \"share_settings\": {\"module\": \"netforce_general\", \"string\": \"Sharing Settings\", \"view\": \"multi_view\", \"model\": \"share.access\", \"tabs\": \"[[\\\"Active\\\",[]],[\\\"Archived\\\",[[\\\"active\\\",\\\"=\\\",false]]]]\", \"menu\": \"gen_menu\", \"name\": \"share_settings\"}, \"bank_name\": {\"module\": \"netforce_general\", \"name\": \"bank_name\", \"string\": \"Banks\", \"view\": \"multi_view\", \"model\": \"bank\", \"menu\": \"gen_menu\"}, \"group\": {\"module\": \"netforce_general\", \"name\": \"group\", \"string\": \"Groups\", \"view\": \"multi_view\", \"model\": \"user.group\", \"menu\": \"gen_menu\"}, \"upgrade_db\": {\"module\": \"netforce_general\", \"view\": \"model\", \"model\": \"upgrade_db\", \"template\": \"upgrade_db\", \"name\": \"upgrade_db\"}, \"view_user_pref\": {\"module\": \"netforce_general\", \"type\": \"method\", \"model\": \"base.user\", \"method\": \"view_user_pref\", \"name\": \"view_user_pref\"}, \"model_inst\": {\"module\": \"netforce_general\", \"string\": \"Model Instances\", \"view\": \"multi_view\", \"model\": \"model.inst\", \"menu\": \"gen_menu\", \"name\": \"model_inst\"}, \"gen_lang_widget\": {\"module\": \"netforce_general\", \"view\": \"list\", \"model\": \"language\", \"layout\": \"gen_lang_widget\", \"name\": \"gen_lang_widget\"}, \"org_settings\": {\"module\": \"netforce_general\", \"view\": \"form_view\", \"model\": \"settings\", \"active_id\": \"1\", \"layout\": \"org_settings\", \"menu\": \"gen_menu\", \"name\": \"org_settings\"}, \"merge_contact\": {\"module\": \"netforce_contact\", \"string\": \"Merge Contact\", \"view\": \"form_popup\", \"model\": \"merge.contact\", \"target\": \"popup\", \"name\": \"merge_contact\"}, \"industry\": {\"module\": \"netforce_contact\", \"string\": \"Industries\", \"view\": \"multi_view\", \"model\": \"industry\", \"menu\": \"contact_menu\", \"theme\": \"contact_blue\", \"name\": \"industry\"}, \"contact_analysis\": {\"module\": \"netforce_contact\", \"string\": \"Contact Analysis\", \"view\": \"pivot\", \"model\": \"contact\", \"menu\": \"contact_menu\", \"theme\": \"contact_blue\", \"name\": \"contact_analysis\"}, \"contact\": {\"module\": \"netforce_contact\", \"name\": \"contact\", \"string\": \"Contacts\", \"view\": \"multi_view\", \"model\": \"contact\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Customers\\\",[[\\\"customer\\\",\\\"=\\\",true]]],[\\\"Suppliers\\\",[[\\\"supplier\\\",\\\"=\\\",true]]],[\\\"Agents\\\",[[\\\"agent\\\",\\\"=\\\",true]]],[\\\"End Customer\\\",[[\\\"end_cust\\\",\\\"=\\\",true]]],[\\\"Archived\\\",[[\\\"active\\\",\\\"=\\\",false]]]]\", \"import_sample\": \"import_contacts.csv\", \"menu\": \"contact_menu\", \"theme\": \"contact_blue\"}, \"report_contact\": {\"module\": \"netforce_contact\", \"view\": \"print_wizard2\", \"model\": \"contact\", \"menu\": \"contact_menu\", \"name\": \"report_contact\"}, \"contact_categ\": {\"module\": \"netforce_contact\", \"string\": \"Contact Categories\", \"view\": \"multi_view\", \"model\": \"contact.categ\", \"menu\": \"contact_menu\", \"theme\": \"contact_blue\", \"name\": \"contact_categ\"}, \"contact_board\": {\"module\": \"netforce_contact\", \"string\": \"Contact Dashboard\", \"view\": \"board\", \"layout\": \"contact_board\", \"menu\": \"contact_menu\", \"theme\": \"contact_blue\", \"name\": \"contact_board\"}, \"contact_recent_widget\": {\"module\": \"netforce_contact\", \"view\": \"list\", \"model\": \"contact\", \"order\": \"write_time desc\", \"limit\": \"10\", \"layout\": \"contact_recent_list\", \"name\": \"contact_recent_widget\"}, \"contact_group\": {\"module\": \"netforce_contact\", \"string\": \"Contact Groups\", \"view\": \"multi_view\", \"model\": \"contact.group\", \"menu\": \"contact_menu\", \"theme\": \"contact_blue\", \"name\": \"contact_group\"}, \"contact_rel_type\": {\"module\": \"netforce_contact\", \"string\": \"Relation Types\", \"view\": \"multi_view\", \"model\": \"contact.relation.type\", \"menu\": \"contact_menu\", \"theme\": \"contact_blue\", \"name\": \"contact_rel_type\"}, \"region\": {\"module\": \"netforce_contact\", \"string\": \"Regions\", \"view\": \"multi_view\", \"model\": \"region\", \"menu\": \"contact_menu\", \"theme\": \"contact_blue\", \"name\": \"region\"}, \"fleet_size\": {\"module\": \"netforce_contact\", \"string\": \"Fleet Sizes\", \"view\": \"multi_view\", \"model\": \"fleet.size\", \"menu\": \"contact_menu\", \"theme\": \"contact_blue\", \"name\": \"fleet_size\"}, \"contact_categ_widget\": {\"module\": \"netforce_contact\", \"view\": \"chart\", \"string\": \"Contact Category Widget\", \"model\": \"report.contact\", \"method\": \"contacts_per_categ\", \"chart_type\": \"pie\", \"height\": \"250\", \"board_select\": \"1\", \"name\": \"contact_categ_widget\"}, \"business_area\": {\"module\": \"netforce_contact\", \"string\": \"Business Areas\", \"view\": \"multi_view\", \"model\": \"business.area\", \"menu\": \"contact_menu\", \"theme\": \"contact_blue\", \"name\": \"business_area\"}, \"issue\": {\"name\": \"issue\", \"string\": \"Issues\", \"view\": \"multi_view\", \"model\": \"issue\", \"menu\": \"service_menu\", \"tabs\": [[\"All\", []], [\"New\", [[\"state\", \"=\", \"new\"]]], [\"In Progress\", [[\"state\", \"=\", \"in progress\"]]], [\"Incomplete\", [[\"state\", \"=\", \"incomplete\"]]], [\"Planned\", [[\"state\", \"=\", \"planned\"]]], [\"Closed\", [[\"state\", \"=\", \"closed\"]]]]}, \"issue_type\": {\"module\": \"netforce_support\", \"string\": \"Issue Types\", \"view_cls\": \"multi_view\", \"model\": \"issue.type\", \"menu\": \"support_menu\", \"name\": \"issue_type\"}, \"top_issues\": {\"module\": \"netforce_support\", \"view_cls\": \"list_view\", \"model\": \"issue\", \"condition\": \"[[\\\"state\\\",\\\"!=\\\",\\\"closed\\\"]]\", \"order\": \"priority\", \"limit\": \"5\", \"noselect\": \"1\", \"name\": \"top_issues\"}, \"support_board\": {\"module\": \"netforce_support\", \"name\": \"support_board\", \"string\": \"Support Dashboard\", \"view_cls\": \"board\", \"view_xml\": \"support_board\", \"menu\": \"support_menu\"}, \"issue_analysis\": {\"module\": \"netforce_support\", \"string\": \"Issue Analysis\", \"view_cls\": \"report_view\", \"model\": \"issue\", \"group_select\": \"date_created,date_closed,contact_id,project_id,resource_id,state\", \"menu\": \"support_menu\", \"name\": \"issue_analysis\"}, \"issue_close_chart\": {\"module\": \"netforce_support\", \"view\": \"model_view\", \"model\": \"report.issue\", \"method\": \"get_issue_close_chart\", \"template\": \"issue_close_chart\", \"name\": \"issue_close_chart\"}, \"issue_chart\": {\"module\": \"netforce_support\", \"view\": \"model_view\", \"model\": \"report.issue\", \"method\": \"get_issue_chart\", \"template\": \"issue_chart\", \"name\": \"issue_chart\"}, \"product_group\": {\"module\": \"netforce_product\", \"string\": \"Product Groups\", \"view\": \"multi_view\", \"model\": \"product.group\", \"menu\": \"product_menu\", \"name\": \"product_group\"}, \"prod_categ\": {\"module\": \"netforce_product\", \"string\": \"Product Categories\", \"view\": \"multi_view\", \"model\": \"product.categ\", \"menu\": \"product_menu\", \"theme\": \"orange_categ\", \"name\": \"prod_categ\"}, \"prod_attrib\": {\"module\": \"netforce_product\", \"string\": \"Product Attributes\", \"view\": \"multi_view\", \"model\": \"product.attribute\", \"menu\": \"product_menu\", \"theme\": \"oranges\", \"name\": \"prod_attrib\"}, \"prod_cust_opt\": {\"module\": \"netforce_product\", \"string\": \"Product Custom Options\", \"view\": \"multi_view\", \"model\": \"product.custom.option\", \"menu\": \"product_menu\", \"name\": \"prod_cust_opt\"}, \"pricelist\": {\"module\": \"netforce_product\", \"string\": \"Price Lists\", \"view\": \"multi_view\", \"model\": \"price.list\", \"menu\": \"product_menu\", \"theme\": \"oranges\", \"name\": \"pricelist\"}, \"report_product_form\": {\"module\": \"netforce_product\", \"view\": \"print_wizard2\", \"model\": \"product\", \"menu\": \"product_menu\", \"name\": \"report_product_form\"}, \"brand\": {\"module\": \"netforce_product\", \"string\": \"Brands\", \"view\": \"multi_view\", \"model\": \"product.brand\", \"menu\": \"product_menu\", \"theme\": \"oranges\", \"name\": \"brand\"}, \"print_product_form\": {\"module\": \"netforce_product\", \"view\": \"form_popup\", \"string\": \"Print Product\", \"model\": \"print.wizard2\", \"target\": \"popup\", \"context\": \"{\\\"model\\\":\\\"product\\\"}\", \"name\": \"print_product_form\"}, \"report_product_form_old\": {\"module\": \"netforce_product\", \"view\": \"print_wizard\", \"model\": \"product\", \"menu\": \"product_menu\", \"name\": \"report_product_form_old\"}, \"product_analysis\": {\"module\": \"netforce_product\", \"string\": \"Product Analysis\", \"view\": \"pivot\", \"model\": \"product\", \"menu\": \"product_menu\", \"theme\": \"oranges\", \"name\": \"product_analysis\"}, \"price_type\": {\"module\": \"netforce_product\", \"string\": \"Price Types\", \"view\": \"multi_view\", \"model\": \"price.type\", \"menu\": \"product_menu\", \"theme\": \"oranges\", \"name\": \"price_type\"}, \"product_recent_widget\": {\"module\": \"netforce_product\", \"view\": \"list\", \"model\": \"product\", \"order\": \"write_time desc\", \"limit\": \"10\", \"layout\": \"product_recent_widget\", \"theme\": \"orange\", \"name\": \"product_recent_widget\"}, \"pricelist_item\": {\"module\": \"netforce_product\", \"string\": \"Price List Items\", \"view\": \"multi_view\", \"model\": \"price.list.item\", \"menu\": \"product_menu\", \"theme\": \"oranges\", \"name\": \"pricelist_item\"}, \"cost_type\": {\"module\": \"netforce_product\", \"string\": \"Cost Types\", \"view\": \"multi_view\", \"model\": \"cost.type\", \"menu\": \"product_menu\", \"theme\": \"oranges\", \"name\": \"cost_type\"}, \"product_categ_widget\": {\"module\": \"netforce_product\", \"view\": \"chart\", \"model\": \"report.product\", \"method\": \"products_per_categ\", \"chart_type\": \"pie\", \"height\": \"250\", \"name\": \"product_categ_widget\"}, \"product\": {\"module\": \"netforce_product\", \"string\": \"Products\", \"view\": \"multi_view\", \"model\": \"product\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Approved\\\",[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]]],[\\\"Archived\\\",[[\\\"active\\\",\\\"=\\\",false]]]]\", \"import_sample\": \"import_products.csv\", \"menu\": \"product_menu\", \"theme\": \"orange\", \"name\": \"product\"}, \"pricelist_add\": {\"module\": \"netforce_product\", \"view\": \"form_view\", \"model\": \"pricelist.add\", \"menu\": \"product_menu\", \"name\": \"pricelist_add\"}, \"product_addon\": {\"module\": \"netforce_product\", \"view\": \"multi_view\", \"string\": \"Product Addons\", \"model\": \"product.addon\", \"menu\": \"product_menu\", \"theme\": \"oranges\", \"name\": \"product_addon\"}, \"prod_group\": {\"module\": \"netforce_product\", \"string\": \"Product Groups\", \"view\": \"multi_view\", \"model\": \"product.group\", \"menu\": \"product_menu\", \"theme\": \"oranges\", \"name\": \"prod_group\"}, \"prod_create_variants\": {\"module\": \"netforce_product\", \"name\": \"prod_create_variants\", \"string\": \"Create Variants\", \"model\": \"prod.create.variants\", \"view\": \"form_view\", \"layout\": \"prod_create_variants\", \"menu\": \"product_menu\"}, \"product_board\": {\"module\": \"netforce_product\", \"string\": \"Product Dashboard\", \"view\": \"board\", \"layout\": \"product_board\", \"menu\": \"product_menu\", \"theme\": \"oranges\", \"name\": \"product_board\"}, \"product_label2\": {\"module\": \"netforce_product\", \"view\": \"print_wizard\", \"model\": \"product\", \"menu\": \"product_menu\", \"name\": \"product_label2\"}, \"prod_brand_group\": {\"module\": \"netforce_product\", \"string\": \"Product Brand Groups\", \"view\": \"multi_view\", \"model\": \"product.brand.group\", \"menu\": \"product_menu\", \"theme\": \"oranges\", \"name\": \"prod_brand_group\"}, \"product_label\": {\"module\": \"netforce_product\", \"type\": \"report_odt2\", \"model\": \"product\", \"template\": \"product_label\", \"name\": \"product_label\"}, \"journal\": {\"module\": \"netforce_account\", \"string\": \"Journals\", \"view\": \"multi_view\", \"model\": \"account.journal\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Archived\\\",[[\\\"active\\\",\\\"=\\\",false]]]]\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"journal\"}, \"payment_analysis\": {\"module\": \"netforce_account\", \"string\": \"Payment Analysis\", \"view\": \"pivot\", \"model\": \"account.payment\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"payment_analysis\"}, \"fixed_asset\": {\"module\": \"netforce_account\", \"string\": \"Fixed Assets\", \"view\": \"multi_view\", \"model\": \"account.fixed.asset\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Pending\\\",[[\\\"state\\\",\\\"=\\\",\\\"pending\\\"]]],[\\\"Registered\\\",[[\\\"state\\\",\\\"=\\\",\\\"registered\\\"]]],[\\\"Sold and Disposed\\\",[[\\\"state\\\",\\\"in\\\",[\\\"disposed\\\",\\\"sold\\\"]]]]]\", \"menu\": \"account_menu\", \"import_sample\": \"import_fixed_asset.csv\", \"theme\": \"pinks\", \"name\": \"fixed_asset\"}, \"tax_page\": {\"module\": \"netforce_account\", \"template\": \"tax_page\", \"menu\": \"account_menu\", \"name\": \"tax_page\"}, \"account_track_entry\": {\"module\": \"netforce_account\", \"string\": \"Tracking Entries\", \"view\": \"multi_view\", \"model\": \"account.track.entry\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"account_track_entry\"}, \"report_payment\": {\"module\": \"netforce_account\", \"type\": \"report_odt\", \"model\": \"account.payment\", \"method\": \"get_report_data\", \"multi_page\": \"1\", \"name\": \"report_payment\"}, \"journal_entry\": {\"module\": \"netforce_account\", \"string\": \"Journal Entries\", \"view\": \"multi_view\", \"model\": \"account.move\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Posted\\\",[[\\\"state\\\",\\\"=\\\",\\\"posted\\\"]]]]\", \"import_sample\": \"import_journal_entries.csv\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"journal_entry\"}, \"payment_term\": {\"module\": \"netforce_account\", \"view\": \"multi_view\", \"string\": \"Payment Terms\", \"model\": \"payment.term\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"payment_term\"}, \"fixed_asset_type\": {\"module\": \"netforce_account\", \"name\": \"fixed_asset_type\", \"string\": \"Asset Type\", \"view\": \"multi_view\", \"model\": \"account.fixed.asset.type\", \"menu\": \"account_menu\", \"theme\": \"pinks\"}, \"currency_page\": {\"module\": \"netforce_account\", \"template\": \"currency_page\", \"menu\": \"account_menu\", \"name\": \"currency_page\"}, \"currency_export\": {\"module\": \"netforce_account\", \"type\": \"export\", \"model\": \"currency\", \"filename\": \"currencies.csv\", \"export_fields\": \"[\\\"name\\\", \\\"code\\\", \\\"sign\\\", \\\"rate\\\"]\", \"name\": \"currency_export\"}, \"view_invoice\": {\"module\": \"netforce_account\", \"type\": \"method\", \"model\": \"account.invoice\", \"method\": \"view_invoice\", \"priority\": \"1\", \"name\": \"view_invoice\"}, \"reconcile_adjust\": {\"module\": \"netforce_account\", \"view\": \"form_popup\", \"model\": \"reconcile.adjust\", \"target\": \"popup\", \"name\": \"reconcile_adjust\"}, \"tax_rate\": {\"module\": \"netforce_account\", \"string\": \"Tax Rates\", \"view\": \"multi_view\", \"model\": \"account.tax.rate\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Archived\\\",[[\\\"active\\\",\\\"=\\\",false]]]]\", \"import_sample\": \"import_tax_rates.csv\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"tax_rate\"}, \"bank\": {\"module\": \"netforce_account\", \"view\": \"list_container\", \"string\": \"Bank Accounts\", \"model\": \"account.account\", \"condition\": \"[[\\\"type\\\",\\\"in\\\",[\\\"bank\\\",\\\"cash\\\",\\\"cheque\\\"]]]\", \"order\": \"name\", \"modes\": \"list_details,page\", \"list_details_layout\": \"bank_list_details\", \"page_layout\": \"bank_page\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"bank\"}, \"depreciation\": {\"module\": \"netforce_account\", \"name\": \"depreciation\", \"string\": \"Depreciation\", \"view\": \"form_view\", \"model\": \"account.fixed.asset.depreciation\", \"menu\": \"account_menu\"}, \"view_fixed_asset\": {\"module\": \"netforce_account\", \"type\": \"method\", \"model\": \"account.fixed.asset\", \"method\": \"view_fixed_asset\", \"name\": \"view_fixed_asset\"}, \"tax_period\": {\"module\": \"netforce_account\", \"string\": \"Tax Periods\", \"view\": \"multi_view\", \"model\": \"tax.period\", \"menu\": \"account_menu\", \"name\": \"tax_period\"}, \"account_track\": {\"module\": \"netforce_account\", \"string\": \"Tracking Categories\", \"view\": \"multi_view\", \"model\": \"account.track.categ\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Archived\\\",[[\\\"active\\\",\\\"=\\\",false]]]]\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"account_track\"}, \"receivable_status\": {\"module\": \"netforce_account\", \"view\": \"template\", \"model\": \"report.receivable\", \"method\": \"receivable_status\", \"template\": \"receivable_status\", \"name\": \"receivable_status\"}, \"debtor_exposure_widget\": {\"module\": \"netforce_account\", \"view\": \"template\", \"model\": \"report.receivable\", \"method\": \"debtor_exposure\", \"template\": \"debtor_exposure_widget\", \"name\": \"debtor_exposure_widget\"}, \"print_select_template\": {\"module\": \"netforce_account\", \"string\": \"Select Template\", \"view\": \"form_popup\", \"model\": \"print.select.template\", \"target\": \"_popup\", \"name\": \"print_select_template\"}, \"account_entry\": {\"module\": \"netforce_account\", \"string\": \"Ledger Entries\", \"view\": \"multi_view\", \"model\": \"account.move.line\", \"menu\": \"account_menu\", \"name\": \"account_entry\"}, \"tax_export\": {\"module\": \"netforce_account\", \"type\": \"export\", \"model\": \"account.tax.rate\", \"filename\": \"tax_rates.csv\", \"export_fields\": \"[\\\"name\\\", \\\"components.name\\\", \\\"components.rate\\\", \\\"components.account_id\\\", \\\"components.type\\\"]\", \"name\": \"tax_export\"}, \"cust_invoice\": {\"module\": \"netforce_account\", \"string\": \"Accounts Receivable\", \"view\": \"multi_view\", \"model\": \"account.invoice\", \"condition\": \"[[\\\"type\\\",\\\"=\\\",\\\"out\\\"]]\", \"tabs\": \"[[\\\"Summary\\\",\\\"receivable_summary\\\"],[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Awaiting Approval\\\",[[\\\"state\\\",\\\"=\\\",\\\"waiting_approval\\\"]]],[\\\"Awaiting Payment\\\",[[\\\"state\\\",\\\"=\\\",\\\"waiting_payment\\\"]]],[\\\"Paid\\\",[[\\\"state\\\",\\\"=\\\",\\\"paid\\\"]]],[\\\"Repeating\\\",[[\\\"state\\\",\\\"=\\\",\\\"repeat\\\"]]]]\", \"list_layout\": \"cust_invoice_list\", \"import_sample\": \"import_customer_invoices.csv\", \"menu\": \"account_menu\", \"theme\": \"pink\", \"name\": \"cust_invoice\"}, \"account_balance\": {\"module\": \"netforce_account\", \"string\": \"Account Balances\", \"view\": \"multi_view\", \"model\": \"account.balance\", \"menu\": \"account_menu\", \"name\": \"account_balance\"}, \"money_out\": {\"module\": \"netforce_account\", \"view\": \"template\", \"model\": \"report.payable\", \"method\": \"money_out\", \"template\": \"money_out\", \"name\": \"money_out\"}, \"budget\": {\"module\": \"netforce_account\", \"view\": \"multi_view\", \"string\": \"Budgets\", \"model\": \"account.budget\", \"modes\": \"list,page,form\", \"menu\": \"account_menu\", \"name\": \"budget\"}, \"money_out2\": {\"module\": \"netforce_account\", \"view\": \"template\", \"model\": \"report.payable\", \"method\": \"money_out\", \"template\": \"money_out2\", \"name\": \"money_out2\"}, \"import_statement\": {\"module\": \"netforce_account\", \"string\": \"Import Bank Transactions\", \"view\": \"form_view\", \"model\": \"import.statement\", \"menu\": \"account_menu\", \"name\": \"import_statement\"}, \"invoice_refund\": {\"module\": \"netforce_account\", \"view\": \"related_form\", \"model\": \"invoice.refund\", \"name\": \"invoice_refund\"}, \"report_bill_note_form\": {\"module\": \"netforce_account_report\", \"view\": \"print_wizard2\", \"model\": \"bill.note\", \"menu\": \"account_menu\", \"name\": \"report_bill_note_form\"}, \"new_track_distrib\": {\"module\": \"netforce_account\", \"string\": \"New Tracking Distribution\", \"view\": \"form_popup\", \"model\": \"track.distrib\", \"target\": \"popup\", \"name\": \"new_track_distrib\"}, \"money_in\": {\"module\": \"netforce_account\", \"view\": \"template\", \"model\": \"report.receivable\", \"method\": \"money_in\", \"template\": \"money_in\", \"name\": \"money_in\"}, \"account_reconcile\": {\"module\": \"netforce_account\", \"string\": \"Account Reconciliation\", \"view\": \"multi_view\", \"model\": \"account.move.line\", \"condition\": \"[[\\\"move_id.state\\\",\\\"=\\\",\\\"posted\\\"]]\", \"list_layout\": \"account_move_line_list_reconcile\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"account_reconcile\"}, \"batch_import\": {\"module\": \"netforce_account\", \"string\": \"Batch Import\", \"view\": \"multi_view\", \"model\": \"batch.import\", \"menu\": \"account_menu\", \"name\": \"batch_import\"}, \"reconcile\": {\"module\": \"netforce_account\", \"string\": \"Reconciliation\", \"view\": \"page\", \"model\": \"account.reconcile\", \"menu\": \"account_menu\", \"name\": \"reconcile\"}, \"view_journal\": {\"module\": \"netforce_account\", \"type\": \"method\", \"model\": \"account.move\", \"method\": \"view_journal\", \"name\": \"view_journal\"}, \"report_journal_entry\": {\"module\": \"netforce_account\", \"view\": \"form_popup\", \"string\": \"Print Journal Entry\", \"model\": \"print.wizard\", \"target\": \"popup\", \"context\": \"{\\\"model\\\":\\\"account.move\\\",\\\"template_type\\\":\\\"account_move\\\"}\", \"name\": \"report_journal_entry\"}, \"send_cust_invoice2\": {\"module\": \"netforce_account\", \"view\": \"send_wizard\", \"model\": \"account.invoice\", \"menu\": \"account_menu\", \"name\": \"send_cust_invoice2\"}, \"credit_invoice\": {\"module\": \"netforce_account\", \"view\": \"form_view\", \"model\": \"account.credit.wizard\", \"menu\": \"account_menu\", \"name\": \"credit_invoice\"}, \"bank_move_line\": {\"module\": \"netforce_account\", \"view\": \"list\", \"model\": \"account.move.line\", \"layout\": \"bank_move_line\", \"order\": \"move_id.date desc,id desc\", \"name\": \"bank_move_line\"}, \"supp_invoice\": {\"module\": \"netforce_account\", \"string\": \"Accounts Payable\", \"view\": \"multi_view\", \"model\": \"account.invoice\", \"condition\": \"[[\\\"type\\\",\\\"=\\\",\\\"in\\\"]]\", \"tabs\": \"[[\\\"Summary\\\",\\\"payable_summary\\\"],[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Awaiting Approval\\\",[[\\\"state\\\",\\\"=\\\",\\\"waiting_approval\\\"]]],[\\\"Awaiting Payment\\\",[[\\\"state\\\",\\\"=\\\",\\\"waiting_payment\\\"]]],[\\\"Paid\\\",[[\\\"state\\\",\\\"=\\\",\\\"paid\\\"]]],[\\\"Repeating\\\",[[\\\"state\\\",\\\"=\\\",\\\"repeat\\\"]]],[\\\"Awaiting Tax Date\\\",[[\\\"tax_date\\\",\\\"=\\\",null]]]]\", \"list_layout\": \"supp_invoice_list\", \"menu\": \"account_menu\", \"theme\": \"pinked\", \"name\": \"supp_invoice\"}, \"bank_statement\": {\"module\": \"netforce_account\", \"view\": \"list\", \"model\": \"account.statement\", \"layout\": \"bank_statement\", \"name\": \"bank_statement\"}, \"money_in2\": {\"module\": \"netforce_account\", \"view\": \"template\", \"model\": \"report.receivable\", \"method\": \"money_in\", \"template\": \"money_in2\", \"name\": \"money_in2\"}, \"invoice_payment\": {\"module\": \"netforce_account\", \"view\": \"related_form\", \"model\": \"invoice.payment\", \"name\": \"invoice_payment\"}, \"manual_entry_page\": {\"module\": \"netforce_account\", \"template\": \"manual_entry_page\", \"menu\": \"account_menu\", \"name\": \"manual_entry_page\"}, \"account\": {\"module\": \"netforce_account\", \"view\": \"list_container\", \"string\": \"Chart of Accounts\", \"model\": \"account.account\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Archived\\\",[[\\\"active\\\",\\\"=\\\",false]]]]\", \"import_sample\": \"import_accounts.csv\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"account\"}, \"fin_settings_export\": {\"module\": \"netforce_account\", \"type\": \"export\", \"model\": \"settings\", \"filename\": \"financial_settings.csv\", \"export_fields\": \"[\\\"currency_id\\\", \\\"year_end_day\\\", \\\"year_end_month\\\", \\\"lock_date\\\", \\\"account_receivable_id\\\", \\\"tax_receivable_id\\\", \\\"account_payable_id\\\", \\\"tax_payable_id\\\", \\\"currency_gain_id\\\", \\\"currency_loss_id\\\", \\\"unpaid_claim_id\\\"]\", \"name\": \"fin_settings_export\"}, \"expense_project_widget\": {\"module\": \"netforce_account\", \"view\": \"chart\", \"string\": \"Expenses Per Project\", \"model\": \"account.invoice\", \"method\": \"expenses_per_project\", \"chart_type\": \"pie\", \"height\": \"250\", \"name\": \"expense_project_widget\"}, \"payment\": {\"module\": \"netforce_account\", \"string\": \"Payments\", \"view\": \"multi_view\", \"model\": \"account.payment\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Posted\\\",[[\\\"state\\\",\\\"=\\\",\\\"posted\\\"]]]]\", \"group_field\": \"type\", \"group_field_path\": \"type\", \"import_sample\": \"import_payments.csv\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"payment\"}, \"bank_widget\": {\"module\": \"netforce_account\", \"view\": \"list_details\", \"string\": \"Bank Accounts\", \"model\": \"account.account\", \"condition\": \"[[\\\"type\\\",\\\"in\\\",[\\\"bank\\\",\\\"cash\\\",\\\"cheque\\\"]]]\", \"order\": \"name\", \"layout\": \"bank_widget\", \"no_title\": \"1\", \"no_search\": \"1\", \"name\": \"bank_widget\"}, \"bill_note\": {\"module\": \"netforce_account\", \"view\": \"multi_view\", \"string\": \"Billing Notes\", \"model\": \"bill.note\", \"menu\": \"account_menu\", \"name\": \"bill_note\"}, \"auto_reconcile\": {\"module\": \"netforce_account\", \"view\": \"form_popup\", \"model\": \"auto.reconcile\", \"target\": \"popup\", \"name\": \"auto_reconcile\"}, \"renum_inv\": {\"module\": \"netforce_account\", \"string\": \"Renumber Invoices\", \"view\": \"form_popup\", \"model\": \"renum.inv\", \"target\": \"popup\", \"name\": \"renum_inv\"}, \"view_transaction\": {\"module\": \"netforce_account\", \"type\": \"method\", \"model\": \"account.move.line\", \"method\": \"view_transaction\", \"name\": \"view_transaction\"}, \"invoice_analysis\": {\"module\": \"netforce_account\", \"string\": \"Invoice Analysis\", \"view\": \"pivot\", \"model\": \"account.invoice\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"invoice_analysis\"}, \"modal_select\": {\"module\": \"netforce_account\", \"template\": \"modal_select\", \"name\": \"modal_select\"}, \"payable_summary\": {\"module\": \"netforce_account\", \"view\": \"template\", \"template\": \"payable_summary\", \"name\": \"payable_summary\"}, \"track_distrib\": {\"module\": \"netforce_account\", \"string\": \"Tracking Distributions\", \"view\": \"multi_view\", \"model\": \"track.distrib\", \"menu\": \"account_menu\", \"name\": \"track_distrib\"}, \"payable_status\": {\"module\": \"netforce_account\", \"view\": \"template\", \"model\": \"report.payable\", \"method\": \"payable_status\", \"template\": \"payable_status\", \"name\": \"payable_status\"}, \"expense_categ\": {\"module\": \"netforce_account\", \"string\": \"Expense Categories\", \"view_cls\": \"multi_view\", \"model\": \"expense.categ\", \"menu\": \"account_menu\", \"name\": \"expense_categ\"}, \"top_debtors_widget\": {\"module\": \"netforce_account\", \"view\": \"template\", \"model\": \"report.receivable\", \"method\": \"top_debtors\", \"template\": \"top_debtors_widget\", \"name\": \"top_debtors_widget\"}, \"invoice_line_analysis\": {\"module\": \"netforce_account\", \"string\": \"Invoice Line Analysis\", \"view\": \"pivot\", \"model\": \"account.invoice.line\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"invoice_line_analysis\"}, \"account_export\": {\"module\": \"netforce_account\", \"type\": \"export\", \"model\": \"account.account\", \"filename\": \"accounts.csv\", \"export_fields\": \"[\\\"code\\\", \\\"name\\\", \\\"type\\\", \\\"parent_id\\\", \\\"tax_id\\\", \\\"description\\\", \\\"bank_type\\\", \\\"bank_name\\\", \\\"currency_id\\\", \\\"bank_no\\\", \\\"creditcard_no\\\"]\", \"name\": \"account_export\"}, \"account_page\": {\"module\": \"netforce_account\", \"template\": \"account_page\", \"menu\": \"account_menu\", \"name\": \"account_page\"}, \"send_cust_invoice\": {\"module\": \"netforce_account\", \"view\": \"form_popup\", \"string\": \"Send Invoice\", \"model\": \"send.wizard\", \"target\": \"popup\", \"context\": \"{\\\"model\\\":\\\"account.invoice\\\",\\\"template_type\\\":\\\"cust_invoice\\\"}\", \"name\": \"send_cust_invoice\"}, \"view_invoice_line\": {\"module\": \"netforce_account\", \"type\": \"method\", \"model\": \"account.invoice.line\", \"method\": \"view_invoice_line\", \"priority\": \"1\", \"name\": \"view_invoice_line\"}, \"receivable_summary\": {\"module\": \"netforce_account\", \"view\": \"template\", \"template\": \"receivable_summary\", \"name\": \"receivable_summary\"}, \"fixed_asset_dispose\": {\"module\": \"netforce_account\", \"name\": \"fixed_asset_dispose\", \"string\": \"Dispose\", \"view\": \"form_view\", \"model\": \"account.fixed.asset.dispose\", \"menu\": \"account_menu\"}, \"invoice_overpay\": {\"module\": \"netforce_account\", \"view\": \"form_popup\", \"model\": \"invoice.overpay\", \"target\": \"_popup\", \"name\": \"invoice_overpay\"}, \"supp_invoice_line\": {\"module\": \"netforce_account\", \"string\": \"Supplier Invoice Lines\", \"view\": \"multi_view\", \"model\": \"account.invoice.line\", \"condition\": \"[[\\\"invoice_id.type\\\",\\\"=\\\",\\\"in\\\"],[\\\"invoice_id.state\\\",\\\"in\\\",[\\\"waiting_payment\\\",\\\"paid\\\"]]]\", \"menu\": \"account_menu\", \"name\": \"supp_invoice_line\"}, \"currency\": {\"module\": \"netforce_account\", \"string\": \"Currencies\", \"view\": \"multi_view\", \"model\": \"currency\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"currency\"}, \"conv_bal\": {\"module\": \"netforce_account\", \"string\": \"Conversion Balances\", \"view\": \"form_view\", \"model\": \"conv.bal\", \"layout\": \"conv_bal1\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"conv_bal\"}, \"year_end\": {\"module\": \"netforce_account\", \"string\": \"Year End\", \"view\": \"form\", \"model\": \"year.end\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"year_end\"}, \"payment_method\": {\"module\": \"netforce_account\", \"view\": \"multi_view\", \"string\": \"Payment Methods\", \"model\": \"payment.method\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Archived\\\",[[\\\"active\\\",\\\"=\\\",false]]]]\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"payment_method\"}, \"modal_window\": {\"module\": \"netforce_account\", \"template\": \"modal_window\", \"name\": \"modal_window\"}, \"expense_claim\": {\"module\": \"netforce_account\", \"string\": \"Expense Claims\", \"view_cls\": \"multi_view\", \"model\": \"expense.claim\", \"tabs\": \"\\n        [\\n            [\\\"All\\\",[]],\\n            [\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],\\n            [\\\"Waiting Approval\\\",[[\\\"state\\\",\\\"=\\\",\\\"waiting_approval\\\"]]],\\n            [\\\"Approved\\\",[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]]],\\n            [\\\"Declined\\\",[[\\\"state\\\",\\\"=\\\",\\\"declined\\\"]]]\\n        ]\\n    \", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"expense_claim\"}, \"bank_page\": {\"module\": \"netforce_account\", \"view\": \"page\", \"model\": \"account.account\", \"menu\": \"account_menu\", \"layout\": \"bank_page\", \"name\": \"bank_page\"}, \"fixed_asset_sell\": {\"module\": \"netforce_account\", \"name\": \"fixed_asset_sell\", \"string\": \"Sell\", \"view\": \"form_view\", \"model\": \"account.fixed.asset.sell\", \"menu\": \"account_menu\"}, \"bank_reconcile\": {\"module\": \"netforce_account\", \"view\": \"list_details\", \"model\": \"account.statement.line\", \"order\": \"date desc,id desc\", \"limit\": \"50\", \"layout\": \"bank_reconcile\", \"name\": \"bank_reconcile\"}, \"credit_alloc\": {\"module\": \"netforce_account\", \"view\": \"form_view\", \"model\": \"account.alloc.wizard\", \"menu\": \"account_menu\", \"name\": \"credit_alloc\"}, \"statement\": {\"module\": \"netforce_account\", \"string\": \"Bank Statements\", \"view\": \"multi_view\", \"model\": \"account.statement\", \"modes\": \"list,page,form\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"statement\"}, \"expense_supplier_widget\": {\"module\": \"netforce_account\", \"view\": \"chart\", \"string\": \"Expenses Per Supplier\", \"model\": \"account.invoice\", \"method\": \"expenses_per_supplier\", \"chart_type\": \"pie\", \"height\": \"250\", \"name\": \"expense_supplier_widget\"}, \"fin_settings\": {\"module\": \"netforce_account\", \"string\": \"Financial Settings\", \"view\": \"form_view\", \"model\": \"settings\", \"active_id\": \"1\", \"layout\": \"fin_settings\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"fin_settings\"}, \"report_journal_entry2\": {\"module\": \"netforce_account\", \"view\": \"print_wizard\", \"model\": \"account.move\", \"template_type\": \"account_move\", \"menu\": \"account_menu\", \"name\": \"report_journal_entry2\"}, \"expense\": {\"module\": \"netforce_account\", \"string\": \"Expenses\", \"view_cls\": \"multi_view\", \"model\": \"expense\", \"tabs\": \"\\n        [\\n            [\\\"All\\\",[]],\\n            [\\\"Draft\\\",[[\\\"claim_id.state\\\",\\\"=\\\",\\\"draft\\\"]]],\\n            [\\\"Waiting Approval\\\",[[\\\"claim_id.state\\\",\\\"=\\\",\\\"waiting_approval\\\"]]],\\n            [\\\"Approved\\\",[[\\\"claim_id.state\\\",\\\"=\\\",\\\"approved\\\"]]],\\n            [\\\"Declined\\\",[[\\\"claim_id.state\\\",\\\"=\\\",\\\"declined\\\"]]]\\n        ]\\n    \", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"expense\"}, \"inv_enter_tax_date\": {\"module\": \"netforce_account\", \"string\": \"Enter Tax Date\", \"view\": \"form_popup\", \"model\": \"account.invoice\", \"layout\": \"inv_enter_tax_date\", \"target\": \"popup\", \"name\": \"inv_enter_tax_date\"}, \"bank_reconciled\": {\"module\": \"netforce_account\", \"view\": \"list_details\", \"model\": \"account.statement.line\", \"order\": \"date desc,id desc\", \"limit\": \"50\", \"layout\": \"bank_reconciled\", \"name\": \"bank_reconciled\"}, \"cheque\": {\"module\": \"netforce_account\", \"string\": \"Cheques\", \"view\": \"multi_view\", \"model\": \"account.cheque\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Waiting Payment\\\",[[\\\"state\\\",\\\"=\\\",\\\"waiting_payment\\\"]]],[\\\"Paid\\\",[[\\\"state\\\",\\\"=\\\",\\\"paid\\\"]]]]\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"cheque\"}, \"account_board\": {\"module\": \"netforce_account\", \"view\": \"board\", \"string\": \"Accounting Dashboard\", \"layout\": \"account_board\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"account_board\"}, \"bank_transfer\": {\"module\": \"netforce_account\", \"string\": \"Bank Transfers\", \"view\": \"multi_view\", \"model\": \"account.transfer\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Posted\\\",[[\\\"state\\\",\\\"=\\\",\\\"posted\\\"]]]]\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"bank_transfer\"}, \"report_cash_flow\": {\"module\": \"netforce_account_report\", \"string\": \"Cash Flow Statement\", \"view\": \"report\", \"model\": \"report.cash.flow\", \"template\": \"report_cash_flow\", \"template_xls\": \"cash_flow\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_cash_flow\"}, \"report_pnd53_jasper\": {\"module\": \"netforce_account_report\", \"type\": \"report\", \"model\": \"report.tax.pnd53\", \"method\": \"get_data\", \"template\": \"pnd53\", \"name\": \"report_pnd53_jasper\"}, \"report_supp_invoice_form2\": {\"module\": \"netforce_account_report\", \"view\": \"print_wizard\", \"model\": \"account.invoice\", \"template_type\": \"supp_invoice\", \"menu\": \"account_menu\", \"name\": \"report_supp_invoice_form2\"}, \"report_tax_sum\": {\"module\": \"netforce_account_report\", \"string\": \"Tax Summary\", \"view\": \"report\", \"model\": \"report.tax.sum\", \"template\": \"report_tax_sum\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_tax_sum\"}, \"report_payment_form2\": {\"module\": \"netforce_account_report\", \"view\": \"print_wizard\", \"model\": \"account.payment\", \"menu\": \"account_menu\", \"name\": \"report_payment_form2\"}, \"report_pnd53_cover_jasper\": {\"module\": \"netforce_account_report\", \"type\": \"report\", \"model\": \"report.tax.pnd53\", \"method\": \"get_data_cover\", \"template\": \"pnd53_cover\", \"name\": \"report_pnd53_cover_jasper\"}, \"report_gl_details\": {\"module\": \"netforce_account_report\", \"string\": \"General Ledger Details\", \"view\": \"report\", \"model\": \"report.gl.details\", \"template\": \"report_gl_details\", \"template_xls\": \"account_gl_detail\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_gl_details\"}, \"report_bank_sum_page\": {\"module\": \"netforce_account_report\", \"view_type\": \"model\", \"model\": \"report.bank.sum\", \"template\": \"report_bank_sum_page\", \"menu\": \"account_menu\", \"name\": \"report_bank_sum_page\"}, \"report_cust_invoice\": {\"module\": \"netforce_account_report\", \"string\": \"Receivable Transactions\", \"view\": \"report\", \"model\": \"report.cust.invoice\", \"template\": \"report_cust_invoice\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_cust_invoice\"}, \"report_cust_inv\": {\"module\": \"netforce_account_report\", \"view\": \"report\", \"string\": \"Customer Invoice Report\", \"model\": \"report.cust.inv\", \"template\": \"report_cust_inv\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_cust_inv\"}, \"report_tb_details\": {\"module\": \"netforce_account_report\", \"string\": \"Trial Balance Details\", \"view\": \"report\", \"model\": \"report.tb.details\", \"template\": \"report_tb_details\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_tb_details\"}, \"report_tax_audit\": {\"module\": \"netforce_account_report\", \"string\": \"Tax Audit Report\", \"view\": \"report\", \"model\": \"report.tax.audit\", \"template\": \"report_tax_audit\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_tax_audit\"}, \"report_profit_loss\": {\"module\": \"netforce_account_report\", \"string\": \"Profit & Loss\", \"view\": \"report\", \"model\": \"report.profit.loss\", \"template\": \"report_profit_loss\", \"template_xls\": \"profit_loss\", \"template_xls_custom\": \"profit_loss_custom\", \"export_pdf\": \"1\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_profit_loss\"}, \"report_payment_form3\": {\"module\": \"netforce_account_report\", \"view\": \"print_wizard2\", \"model\": \"account.payment\", \"menu\": \"account_menu\", \"name\": \"report_payment_form3\"}, \"report_vat_xls\": {\"module\": \"netforce_account_report\", \"type\": \"report_xls\", \"model\": \"report.pp30\", \"method\": \"get_data_report\", \"template\": \"report_pp30\", \"name\": \"report_vat_xls\"}, \"report_wht_certificate\": {\"module\": \"netforce_account_report\", \"type\": \"report\", \"model\": \"report.wht.certificate\", \"method\": \"get_data_form\", \"template\": \"report_wht_certificate\", \"name\": \"report_wht_certificate\"}, \"report_accounts\": {\"module\": \"netforce_account_report\", \"type\": \"report\", \"model\": \"report.accounts\", \"method\": \"get_data\", \"template\": \"accounts\", \"name\": \"report_accounts\"}, \"report_pnd3_cover_jasper\": {\"module\": \"netforce_account_report\", \"type\": \"report\", \"model\": \"report.pnd3\", \"method\": \"get_data_cover\", \"template\": \"pnd3_cover\", \"name\": \"report_pnd3_cover_jasper\"}, \"report_cust_invoice_form\": {\"module\": \"netforce_account_report\", \"view\": \"form_popup\", \"string\": \"Print Receivable Invoice\", \"model\": \"print.wizard\", \"target\": \"popup\", \"context\": \"{\\\"model\\\":\\\"account.invoice\\\",\\\"template_type\\\":\\\"cust_invoice\\\"}\", \"name\": \"report_cust_invoice_form\"}, \"report_pp30_cover_jasper\": {\"module\": \"netforce_account_report\", \"type\": \"report\", \"model\": \"report.pp30\", \"method\": \"get_cover\", \"template\": \"pp30cover\", \"name\": \"report_pp30_cover_jasper\"}, \"report_reconcile\": {\"module\": \"netforce_account_report\", \"string\": \"Reconciliation Report\", \"view\": \"report\", \"model\": \"report.reconcile\", \"template\": \"report_reconcile\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_reconcile\"}, \"report_supp_invoice_form\": {\"module\": \"netforce_account_report\", \"view\": \"form_popup\", \"string\": \"Print Payable Invoice\", \"model\": \"print.wizard\", \"print_model\": \"account.invoice\", \"template_method\": \"get_template_invoice_form\", \"template_format\": \"odt\", \"custom_template_type\": \"supp_invoice\", \"multi_page\": \"1\", \"target\": \"_popup\", \"name\": \"report_supp_invoice_form\"}, \"report_dep_schedule\": {\"module\": \"netforce_account_report\", \"string\": \"Depreciation Schedule\", \"view\": \"report\", \"model\": \"report.dep.schedule\", \"template\": \"report_dep_schedule\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_dep_schedule\"}, \"report_cust_credit_form\": {\"module\": \"netforce_account_report\", \"view\": \"form_popup\", \"string\": \"Print Credit Note\", \"model\": \"print.wizard\", \"target\": \"popup\", \"context\": \"{\\\"model\\\":\\\"account.invoice\\\",\\\"template_type\\\":\\\"cust_credit_note\\\"}\", \"name\": \"report_cust_credit_form\"}, \"report_expense_contact\": {\"module\": \"netforce_account_report\", \"view_type\": \"model\", \"model\": \"report.expense.contact\", \"method\": \"get_data\", \"template\": \"report_expense_contact\", \"name\": \"report_expense_contact\"}, \"report_bank_sum\": {\"module\": \"netforce_account_report\", \"view_type\": \"model\", \"model\": \"report.bank.sum\", \"method\": \"get_data\", \"template\": \"report_bank_sum\", \"name\": \"report_bank_sum\"}, \"report_cash_sum\": {\"module\": \"netforce_account_report\", \"view_type\": \"model\", \"model\": \"report.cash.sum\", \"method\": \"get_data\", \"template\": \"report_cash_sum\", \"name\": \"report_cash_sum\"}, \"report_aged_receivables\": {\"module\": \"netforce_account_report\", \"string\": \"Aged Receivables Summary\", \"view\": \"report\", \"model\": \"report.aged.receivables\", \"template\": \"report_aged_receivables\", \"template_xls\": \"aged_receivables\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_aged_receivables\"}, \"report_pp30_page\": {\"module\": \"netforce_account_report\", \"view_type\": \"model\", \"model\": \"report.pp30\", \"template\": \"report_pp30_page\", \"menu\": \"account_menu\", \"name\": \"report_pp30_page\"}, \"report_ap_details\": {\"module\": \"netforce_account_report\", \"string\": \"Aged Payables Details\", \"view\": \"report\", \"model\": \"report.ap.details\", \"template\": \"report_ap_details\", \"template_xls\": \"ap_details\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_ap_details\"}, \"report_balance_sheet\": {\"module\": \"netforce_account_report\", \"string\": \"Balance Sheet\", \"view\": \"report\", \"model\": \"report.balance.sheet\", \"template\": \"report_balance_sheet\", \"template_xls\": \"balance_sheet\", \"template_xls_custom\": \"balance_sheet_custom\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_balance_sheet\"}, \"report_account_sale\": {\"module\": \"netforce_account_report\", \"string\": \"Sales Report\", \"view\": \"report\", \"model\": \"report.account.sale\", \"template\": \"report_account_sale\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_account_sale\"}, \"report_currency\": {\"module\": \"netforce_account_report\", \"string\": \"Unrealized Gains and Losses\", \"view\": \"report\", \"model\": \"report.currency\", \"template\": \"report_currency\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_currency\"}, \"report_tax_month\": {\"module\": \"netforce_account_report\", \"string\": \"Tax Monthly Report\", \"view\": \"report\", \"model\": \"report.tax.month\", \"template\": \"report_tax_month\", \"template_xls\": \"report_tax_month\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_tax_month\"}, \"report_thai_pnd3\": {\"module\": \"netforce_account_report\", \"view\": \"report\", \"string\": \"Thailand PND3 Report\", \"model\": \"report.thai.pnd3\", \"report_type\": \"jasper\", \"template_method\": \"get_template\", \"menu\": \"account_menu\", \"name\": \"report_thai_pnd3\"}, \"report_cust_invoice_form3\": {\"module\": \"netforce_account_report\", \"view\": \"print_wizard2\", \"model\": \"account.invoice\", \"menu\": \"account_menu\", \"name\": \"report_cust_invoice_form3\"}, \"report_pp30\": {\"module\": \"netforce_account_report\", \"string\": \"PP30 Report\", \"view\": \"report\", \"model\": \"report.pp30\", \"template\": \"report_tax_audit\", \"template_pdf\": \"vat\", \"menu\": \"account_menu\", \"name\": \"report_pp30\"}, \"report_payment_form\": {\"module\": \"netforce_account_report\", \"view\": \"form_popup\", \"string\": \"Print Payment Form\", \"model\": \"print.wizard\", \"target\": \"popup\", \"context\": \"{\\\"model\\\":\\\"account.payment\\\",\\\"template_type\\\":\\\"payment\\\"}\", \"name\": \"report_payment_form\"}, \"report_account_sum\": {\"module\": \"netforce_account_report\", \"string\": \"Account Summary\", \"view\": \"report\", \"model\": \"report.account.sum\", \"template\": \"report_account_sum\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_account_sum\"}, \"report_gl\": {\"module\": \"netforce_account_report\", \"string\": \"General Ledger Summary\", \"view\": \"report\", \"model\": \"report.gl\", \"template\": \"report_gl\", \"template_xls\": \"account_gl_summary\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_gl\"}, \"report_pp30_st_jasper\": {\"module\": \"netforce_account_report\", \"type\": \"report\", \"model\": \"report.pp30\", \"method\": \"get_data_report\", \"template\": \"vat\", \"name\": \"report_pp30_st_jasper\"}, \"report_thai_wht_certif\": {\"module\": \"netforce_account_report\", \"view\": \"report\", \"string\": \"Thailand WHT Certificate Report\", \"model\": \"report.thai.wht.certif\", \"report_type\": \"jasper\", \"template_jasper\": \"thai_wht_certif\", \"menu\": \"account_menu\", \"name\": \"report_thai_wht_certif\"}, \"report_expense_contact_page\": {\"module\": \"netforce_account_report\", \"view_type\": \"model\", \"model\": \"report.expense.contact\", \"template\": \"report_expense_contact_page\", \"menu\": \"account_menu\", \"name\": \"report_expense_contact_page\"}, \"report_income_contact_page\": {\"module\": \"netforce_account_report\", \"view_type\": \"model\", \"model\": \"report.income.contact\", \"template\": \"report_income_contact_page\", \"menu\": \"account_menu\", \"name\": \"report_income_contact_page\"}, \"report_thai_pnd53\": {\"module\": \"netforce_account_report\", \"view\": \"report\", \"string\": \"Thailand PND53 Report\", \"model\": \"report.thai.pnd53\", \"report_type\": \"jasper\", \"template_method\": \"get_template\", \"menu\": \"account_menu\", \"name\": \"report_thai_pnd53\"}, \"report_ar_details\": {\"module\": \"netforce_account_report\", \"string\": \"Aged Receivables Details\", \"view\": \"report\", \"model\": \"report.ar.details\", \"template\": \"report_ar_details\", \"template_xls\": \"ar_details\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_ar_details\"}, \"report_invoices_jasper\": {\"module\": \"netforce_account_report\", \"type\": \"report\", \"model\": \"report.invoice\", \"method\": \"get_data\", \"template\": \"invoices\", \"name\": \"report_invoices_jasper\"}, \"report_supp_invoice\": {\"module\": \"netforce_account_report\", \"string\": \"Payable Transactions\", \"view\": \"report\", \"model\": \"report.supp.invoice\", \"template\": \"report_supp_invoice\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_supp_invoice\"}, \"report_thai_pp30\": {\"module\": \"netforce_account_report\", \"view\": \"report\", \"string\": \"Thailand PP30 Report\", \"model\": \"report.thai.pp30\", \"report_type\": \"jasper\", \"template_method\": \"get_template\", \"menu\": \"account_menu\", \"name\": \"report_thai_pp30\"}, \"report_thai_pt40\": {\"module\": \"netforce_account_report\", \"view\": \"report\", \"string\": \"Thailand PT40 Report\", \"model\": \"report.thai.pt40\", \"report_type\": \"jasper\", \"template_method\": \"get_template\", \"menu\": \"account_menu\", \"name\": \"report_thai_pt40\"}, \"report_account_trans\": {\"module\": \"netforce_account_report\", \"string\": \"Account Transactions\", \"view\": \"report\", \"model\": \"report.account.trans\", \"template\": \"report_account_trans\", \"template_xls\": \"account_trans\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_account_trans\"}, \"report_pnd53_page\": {\"module\": \"netforce_account_report\", \"view_type\": \"model\", \"model\": \"report.tax.pnd53\", \"template\": \"report_pnd53_page\", \"menu\": \"account_menu\", \"name\": \"report_pnd53_page\"}, \"report_page\": {\"module\": \"netforce_account_report\", \"view\": \"template\", \"template\": \"report_page\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_page\"}, \"report_invoices_page\": {\"module\": \"netforce_account_report\", \"view_type\": \"model\", \"model\": \"report.invoice\", \"template\": \"report_invoices_page\", \"menu\": \"account_menu\", \"name\": \"report_invoices_page\"}, \"report_track_budget\": {\"module\": \"netforce_account_report\", \"string\": \"Project Budget Report\", \"view\": \"report\", \"model\": \"report.track.budget\", \"template\": \"report_track_budget\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_track_budget\"}, \"report_income_contact\": {\"module\": \"netforce_account_report\", \"view_type\": \"model\", \"model\": \"report.income.contact\", \"method\": \"get_data\", \"template\": \"report_income_contact\", \"name\": \"report_income_contact\"}, \"report_pnd3_jasper\": {\"module\": \"netforce_account_report\", \"type\": \"report\", \"model\": \"report.pnd3\", \"method\": \"get_data\", \"template\": \"pnd3\", \"name\": \"report_pnd3_jasper\"}, \"report_pnd3_page\": {\"module\": \"netforce_account_report\", \"view_type\": \"model\", \"model\": \"report.pnd3\", \"template\": \"report_pnd3_page\", \"menu\": \"account_menu\", \"name\": \"report_pnd3_page\"}, \"report_bank_rec\": {\"module\": \"netforce_account_report\", \"string\": \"Bank Reconciliation Summary\", \"view\": \"report\", \"model\": \"report.bank.rec\", \"template\": \"report_bank_rec\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_bank_rec\"}, \"report_pp30_jasper\": {\"module\": \"netforce_account_report\", \"type\": \"report\", \"model\": \"report.pp30\", \"method\": \"get_data\", \"template\": \"pp30\", \"name\": \"report_pp30_jasper\"}, \"report_account_purchase\": {\"module\": \"netforce_account_report\", \"string\": \"Expenses Report\", \"view\": \"report\", \"model\": \"report.account.purchase\", \"template\": \"report_account_purchase\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_account_purchase\"}, \"report_product_sales\": {\"module\": \"netforce_account_report\", \"string\": \"Sales by Product\", \"view\": \"report\", \"model\": \"report.product.sales\", \"template\": \"report_product_sales\", \"template_xls\": \"product_sales\", \"menu\": \"account_menu\", \"name\": \"report_product_sales\"}, \"report_aged_payables\": {\"module\": \"netforce_account_report\", \"string\": \"Aged Payables Summary\", \"view\": \"report\", \"model\": \"report.aged.payables\", \"template\": \"report_aged_payables\", \"template_xls\": \"aged_payables\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_aged_payables\"}, \"report_supp_invoice_form3\": {\"module\": \"netforce_account_report\", \"view\": \"print_wizard2\", \"model\": \"account.invoice\", \"menu\": \"account_menu\", \"name\": \"report_supp_invoice_form3\"}, \"report_tb\": {\"module\": \"netforce_account_report\", \"string\": \"Trial Balance\", \"view\": \"report\", \"model\": \"report.tb\", \"template\": \"report_tb\", \"template_xls\": \"tb\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_tb\"}, \"report_sale_product\": {\"module\": \"netforce_account_report\", \"string\": \"Sales by Product\", \"view\": \"report\", \"model\": \"report.sale.product\", \"template\": \"report_sale_product\", \"template_xls\": \"sale_product\", \"menu\": \"account_menu\", \"name\": \"report_sale_product\"}, \"report_cust_invoice_form2\": {\"module\": \"netforce_account_report\", \"view\": \"print_wizard\", \"model\": \"account.invoice\", \"template_type\": \"cust_invoice\", \"menu\": \"account_menu\", \"name\": \"report_cust_invoice_form2\"}, \"report_cash_sum_page\": {\"module\": \"netforce_account_report\", \"view_type\": \"model\", \"model\": \"report.cash.sum\", \"template\": \"report_cash_sum_page\", \"menu\": \"account_menu\", \"name\": \"report_cash_sum_page\"}, \"report_journal\": {\"module\": \"netforce_account_report\", \"string\": \"Journal Report\", \"view\": \"report\", \"model\": \"report.journal\", \"template\": \"report_journal\", \"template_xls\": \"account_journal\", \"menu\": \"account_menu\", \"theme\": \"pinks\", \"name\": \"report_journal\"}, \"report_cust_credit_form2\": {\"module\": \"netforce_account_report\", \"view\": \"print_wizard\", \"model\": \"account.invoice\", \"template_type\": \"cust_credit_note\", \"menu\": \"account_menu\", \"name\": \"report_cust_credit_form2\"}, \"work_time_analysis\": {\"module\": \"netforce_service\", \"string\": \"Work Time Analysis\", \"view\": \"pivot\", \"model\": \"work.time\", \"menu\": \"service_menu\", \"name\": \"work_time_analysis\"}, \"project_share\": {\"module\": \"netforce_service\", \"string\": \"Project Tasks\", \"no_title\": \"1\", \"no_import\": \"1\", \"view\": \"multi_view\", \"model\": \"task\", \"modes\": \"list,form\", \"tabs\": \"[[\\\"Open\\\",[[\\\"state\\\",\\\"=\\\",\\\"open\\\"]]],[\\\"Closed\\\",[[\\\"state\\\",\\\"=\\\",\\\"closed\\\"]]],[\\\"Reviewed\\\",[[\\\"state\\\",\\\"=\\\",\\\"reviewed\\\"]]],[\\\"All\\\",[]]]\", \"list_layout\": \"task_list_share\", \"form_layout\": \"task_form_share\", \"group_field\": \"resource_id\", \"no_login\": \"1\", \"name\": \"project_share\"}, \"issue_tracker\": {\"module\": \"netforce_service\", \"string\": \"Issue Tracker\", \"view\": \"multi_view\", \"model\": \"issue\", \"modes\": \"list,form\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"New\\\",[[\\\"state\\\",\\\"=\\\",\\\"new\\\"]]],[\\\"Incomplete\\\",[[\\\"state\\\",\\\"=\\\",\\\"incomplete\\\"]]],[\\\"Planned\\\",[[\\\"state\\\",\\\"=\\\",\\\"planned\\\"]]],[\\\"Closed\\\",[[\\\"state\\\",\\\"=\\\",\\\"closed\\\"]]]]\", \"group_field\": \"state\", \"condition_expr\": \"[[\\\"project_id.number\\\",\\\"=\\\",project_code]]\", \"no_login\": \"1\", \"name\": \"issue_tracker\"}, \"service_board\": {\"module\": \"netforce_service\", \"name\": \"service_board\", \"string\": \"Service Dashboard\", \"view\": \"board\", \"layout\": \"service_board\", \"menu\": \"service_menu\"}, \"click_task\": {\"module\": \"netforce_service\", \"type\": \"method\", \"model\": \"task\", \"method\": \"click_task\", \"name\": \"click_task\"}, \"service_board_user\": {\"module\": \"netforce_service\", \"name\": \"service_board_user\", \"string\": \"My Jobs Dashboard\", \"view\": \"board\", \"layout\": \"service_board_user\", \"menu\": \"service_menu\", \"reload\": \"60\"}, \"service_gantt\": {\"module\": \"netforce_service\", \"view\": \"gantt\", \"string\": \"Service Gantt Chart\", \"model\": \"service.resource.alloc\", \"menu\": \"service_menu\", \"name\": \"service_gantt\"}, \"milestone\": {\"module\": \"netforce_service\", \"string\": \"Project Milestones\", \"view\": \"multi_view\", \"model\": \"project.milestone\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Planned\\\",[[\\\"state\\\",\\\"=\\\",\\\"planned\\\"]]],[\\\"In Progress\\\",[[\\\"state\\\",\\\"=\\\",\\\"in_progress\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"modes\": \"list,page,form\", \"menu\": \"service_menu\", \"name\": \"milestone\"}, \"task_analysis\": {\"module\": \"netforce_service\", \"string\": \"Task Analysis\", \"view\": \"pivot\", \"model\": \"task\", \"menu\": \"service_menu\", \"name\": \"task_analysis\"}, \"task_list_template\": {\"module\": \"netforce_service\", \"string\": \"Task List Templates\", \"view\": \"multi_view\", \"model\": \"task.list.template\", \"menu\": \"service_menu\", \"name\": \"task_list_template\"}, \"time_project_widget\": {\"module\": \"netforce_service\", \"view\": \"template\", \"model\": \"report.service.time\", \"method\": \"get_project_time\", \"template\": \"time_project_widget\", \"name\": \"time_project_widget\"}, \"service_item\": {\"module\": \"netforce_service\", \"view\": \"multi_view\", \"string\": \"Service Items\", \"model\": \"service.item\", \"condition\": \"[[\\\"parent_id\\\",\\\"=\\\",null]]\", \"menu\": \"service_menu\", \"name\": \"service_item\"}, \"task_stage\": {\"module\": \"netforce_service\", \"string\": \"Task Stages\", \"view\": \"multi_view\", \"model\": \"task.stage\", \"menu\": \"service_menu\", \"name\": \"task_stage\"}, \"work_time_mobile\": {\"module\": \"netforce_service\", \"title\": \"Time Sheets\", \"view\": \"list_mobile\", \"form_view\": \"form_mobile\", \"model\": \"work.time\", \"name\": \"work_time_mobile\"}, \"task_list\": {\"module\": \"netforce_service\", \"string\": \"Task Lists\", \"view\": \"multi_view\", \"model\": \"task.list\", \"modes\": \"list,form\", \"menu\": \"service_menu\", \"name\": \"task_list\"}, \"service\": {\"module\": \"netforce_service\", \"name\": \"service\", \"string\": \"Services\", \"view\": \"multi_view\", \"model\": \"service\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Archived\\\",[[\\\"active\\\",\\\"=\\\",false]]]]\", \"menu\": \"service_menu\"}, \"timesheet\": {\"module\": \"netforce_service\", \"name\": \"timesheet\", \"string\": \"Timesheets\", \"view\": \"multi_view\", \"model\": \"timesheet\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Approved\\\",[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]]]]\", \"menu\": \"service_menu\"}, \"work_time\": {\"module\": \"netforce_service\", \"string\": \"Time Sheets\", \"view\": \"multi_view\", \"model\": \"work.time\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Today\\\",[[\\\"is_today\\\",\\\"=\\\",true]]],[\\\"This Week\\\",[[\\\"is_this_week\\\",\\\"=\\\",true]]],[\\\"Last Week\\\",[[\\\"is_last_week\\\",\\\"=\\\",true]]],[\\\"Waiting Approval\\\",[[\\\"state\\\",\\\"=\\\",\\\"waiting_approval\\\"]]]]\", \"menu\": \"service_menu\", \"name\": \"work_time\"}, \"batch_job\": {\"module\": \"netforce_service\", \"string\": \"Batch Create Jobs\", \"view\": \"form_popup\", \"model\": \"batch.job\", \"target\": \"_popup\", \"name\": \"batch_job\"}, \"service_resource_alloc\": {\"module\": \"netforce_service\", \"view\": \"multi_view\", \"string\": \"Resource Allocations\", \"model\": \"service.resource.alloc\", \"menu\": \"service_menu\", \"name\": \"service_resource_alloc\"}, \"job\": {\"module\": \"netforce_service\", \"name\": \"job\", \"string\": \"Service Orders\", \"view\": \"multi_view\", \"model\": \"job\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Planned\\\",[[\\\"state\\\",\\\"=\\\",\\\"planned\\\"]]],[\\\"Allocated\\\",[[\\\"state\\\",\\\"=\\\",\\\"allocated\\\"]]],[\\\"In Progress\\\",[[\\\"state\\\",\\\"=\\\",\\\"in_progress\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]],[\\\"Verified\\\",[[\\\"state\\\",\\\"=\\\",\\\"verified\\\"]]]]\", \"modes\": \"list,form\", \"menu\": \"service_menu\"}, \"service_layout\": {\"module\": \"netforce_service\", \"name\": \"service_layout\", \"view\": \"nf_layout\", \"layout\": \"service_menu\"}, \"issue_share\": {\"module\": \"netforce_service\", \"string\": \"Issue Tracking\", \"no_title\": \"1\", \"no_import\": \"1\", \"view\": \"multi_view\", \"model\": \"issue\", \"modes\": \"list,form\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"New\\\",[[\\\"state\\\",\\\"=\\\",\\\"new\\\"]]],[\\\"Incomplete\\\",[[\\\"state\\\",\\\"=\\\",\\\"incomplete\\\"]]],[\\\"Planned\\\",[[\\\"state\\\",\\\"=\\\",\\\"planned\\\"]]],[\\\"Closed\\\",[[\\\"state\\\",\\\"=\\\",\\\"closed\\\"]]]]\", \"group_field\": \"project_id\", \"no_login\": \"1\", \"name\": \"issue_share\"}, \"work_type\": {\"module\": \"netforce_service\", \"string\": \"Work Types\", \"view\": \"multi_view\", \"model\": \"work.type\", \"menu\": \"service_menu\", \"name\": \"work_type\"}, \"service_categ\": {\"module\": \"netforce_service\", \"name\": \"service_categ\", \"string\": \"Service Categories\", \"view\": \"multi_view\", \"model\": \"service.categ\", \"menu\": \"service_menu\"}, \"project_widget\": {\"module\": \"netforce_service\", \"view\": \"list\", \"model\": \"project\", \"condition\": \"[[\\\"state\\\",\\\"=\\\",\\\"in_progress\\\"]]\", \"layout\": \"project_widget\", \"order\": \"start_date\", \"name\": \"project_widget\"}, \"service_tree\": {\"module\": \"netforce_service\", \"name\": \"service_tree\", \"string\": \"Services\", \"view\": \"multi_view\", \"model\": \"service\", \"condition\": \"[[\\\"parent_id\\\",\\\"=\\\",null]]\", \"modes\": \"tree,page,form\", \"form_layout\": \"service_form_summary\", \"menu\": \"service_menu\"}, \"click_service\": {\"module\": \"netforce_service\", \"type\": \"method\", \"model\": \"report.project\", \"method\": \"click_service\", \"name\": \"click_service\"}, \"service_create_quot\": {\"module\": \"netforce_service\", \"string\": \"Create Service Quotation\", \"view\": \"form_popup\", \"model\": \"service.create.quot\", \"target\": \"_popup\", \"name\": \"service_create_quot\"}, \"service_item_analysis\": {\"module\": \"netforce_service\", \"string\": \"Service Item Analysis\", \"view\": \"pivot\", \"model\": \"service.item\", \"menu\": \"service_menu\", \"name\": \"service_item_analysis\"}, \"time_resource_widget\": {\"module\": \"netforce_service\", \"view\": \"template\", \"model\": \"report.service.time\", \"method\": \"get_resource_time\", \"template\": \"time_resource_widget\", \"name\": \"time_resource_widget\"}, \"task\": {\"module\": \"netforce_service\", \"string\": \"Tasks\", \"view\": \"multi_view\", \"model\": \"task\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Open\\\",[[\\\"state\\\",\\\"=\\\",\\\"open\\\"]]],[\\\"Closed\\\",[[\\\"state\\\",\\\"=\\\",\\\"closed\\\"]]]]\", \"modes\": \"list,calendar,form\", \"menu\": \"service_menu\", \"name\": \"task\"}, \"check_dup\": {\"module\": \"netforce_service\", \"type\": \"method\", \"model\": \"job\", \"method\": \"check_dup\", \"name\": \"check_dup\"}, \"job_widget\": {\"module\": \"netforce_service\", \"view\": \"list\", \"model\": \"job\", \"condition\": \"[[\\\"state\\\",\\\"in\\\",[\\\"allocated\\\",\\\"in_progress\\\"]]]\", \"order\": \"due_date\", \"layout\": \"job_widget\", \"noselect\": \"1\", \"name\": \"job_widget\"}, \"click_service_user\": {\"module\": \"netforce_service\", \"type\": \"method\", \"model\": \"report.project\", \"method\": \"click_service_user\", \"name\": \"click_service_user\"}, \"service_application\": {\"module\": \"netforce_service\", \"string\": \"Applications\", \"view\": \"multi_view\", \"model\": \"service.application\", \"menu\": \"service_menu\", \"name\": \"service_application\"}, \"job_analysis\": {\"module\": \"netforce_service\", \"string\": \"Service Order Analysis\", \"view\": \"pivot\", \"model\": \"job\", \"menu\": \"service_menu\", \"name\": \"job_analysis\"}, \"job_approve_done\": {\"module\": \"netforce_service\", \"string\": \"Approve Service Order Completion\", \"view\": \"form_popup\", \"model\": \"approve.wizard\", \"approve_model\": \"job\", \"approve_method\": \"approve_done\", \"target\": \"_popup\", \"name\": \"job_approve_done\"}, \"service_resource\": {\"module\": \"netforce_service\", \"view\": \"multi_view\", \"string\": \"Resources\", \"model\": \"service.resource\", \"menu\": \"service_menu\", \"name\": \"service_resource\"}, \"time_sheet\": {\"module\": \"netforce_service\", \"string\": \"Time Sheets\", \"view\": \"multi_view\", \"model\": \"time.sheet\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Waiting Approval\\\",[[\\\"state\\\",\\\"=\\\",\\\"waiting_approval\\\"]]],[\\\"Approved\\\",[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]]]]\", \"menu\": \"service_menu\", \"name\": \"time_sheet\"}, \"serv_period\": {\"module\": \"netforce_service\", \"string\": \"Periods\", \"view\": \"multi_view\", \"model\": \"service.period\", \"menu\": \"service_menu\", \"name\": \"serv_period\"}, \"time.entry\": {\"module\": \"netforce_service\", \"name\": \"time.entry\", \"string\": \"Time Entries\", \"view\": \"multi_view\", \"model\": \"time.entry\", \"modes\": \"list,form\", \"menu\": \"service_menu\"}, \"create_task_list\": {\"module\": \"netforce_service\", \"string\": \"Create Task List\", \"view\": \"form_view\", \"model\": \"create.task.list\", \"menu\": \"project_menu\", \"name\": \"create_task_list\"}, \"service_stage\": {\"module\": \"netforce_service\", \"name\": \"service_stage\", \"string\": \"Service Stages\", \"view\": \"multi_view\", \"model\": \"service.stage\", \"menu\": \"service_menu\"}, \"skill_level\": {\"module\": \"netforce_service\", \"string\": \"Skill Levels\", \"view\": \"multi_view\", \"model\": \"skill.level\", \"menu\": \"service_menu\", \"name\": \"skill_level\"}, \"fault_code\": {\"module\": \"netforce_service\", \"string\": \"Fault Codes\", \"view\": \"multi_view\", \"model\": \"fault.code\", \"menu\": \"service_menu\", \"name\": \"fault_code\"}, \"view_task\": {\"module\": \"netforce_service\", \"type\": \"method\", \"model\": \"task\", \"method\": \"view_task\", \"name\": \"view_task\"}, \"project\": {\"module\": \"netforce_service\", \"string\": \"Projects\", \"view\": \"multi_view\", \"model\": \"project\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"In Progress\\\",[[\\\"state\\\",\\\"=\\\",\\\"in_progress\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"modes\": \"list,form\", \"menu\": \"service_menu\", \"name\": \"project\"}, \"click_user\": {\"module\": \"netforce_service\", \"type\": \"method\", \"model\": \"report.project\", \"method\": \"click_user\", \"name\": \"click_user\"}, \"service_type\": {\"module\": \"netforce_service\", \"string\": \"Service Types\", \"view\": \"multi_view\", \"model\": \"service.type\", \"menu\": \"service_menu\", \"name\": \"service_type\"}, \"job_template\": {\"module\": \"netforce_service\", \"string\": \"Service Order Templates\", \"view\": \"multi_view\", \"model\": \"job.template\", \"menu\": \"service_menu\", \"name\": \"job_template\"}, \"view_stock_transaction\": {\"module\": \"netforce_stock\", \"type\": \"method\", \"model\": \"stock.move\", \"method\": \"view_stock_transaction\", \"name\": \"view_stock_transaction\"}, \"route_settings\": {\"module\": \"netforce_stock\", \"string\": \"Route Settings\", \"view\": \"multi_view\", \"model\": \"route.settings\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Putaway\\\",[[\\\"type\\\",\\\"=\\\",\\\"putaway\\\"]]],[\\\"Picking\\\",[[\\\"type\\\",\\\"=\\\",\\\"picking\\\"]]]]\", \"list_layout\": \"route_settings_list\", \"form_layout\": \"route_settings_form\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"route_settings\"}, \"stock_forecast\": {\"module\": \"netforce_stock\", \"view\": \"form_view\", \"string\": \"Stock Forecast\", \"model\": \"stock.forecast\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"stock_forecast\"}, \"report_ship_cost\": {\"module\": \"netforce_stock\", \"view\": \"report\", \"string\": \"Shipping Cost Report\", \"model\": \"report.ship.cost\", \"template\": \"report_ship_cost\", \"template_xls\": \"ship_cost\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"report_ship_cost\"}, \"stock_order\": {\"module\": \"netforce_stock\", \"view\": \"form_view\", \"model\": \"stock.order\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"stock_order\"}, \"stock_consign\": {\"module\": \"netforce_stock\", \"string\": \"Consignment Stocks\", \"view\": \"multi_view\", \"model\": \"stock.consign\", \"menu\": \"stock_menu\", \"name\": \"stock_consign\"}, \"stock_below_widget\": {\"module\": \"netforce_stock\", \"view\": \"list\", \"model\": \"stock.balance\", \"condition\": \"[[\\\"below_min\\\", \\\"=\\\", \\\"True\\\"]]\", \"layout\": \"stock_below_widget\", \"theme\": \"darkblues\", \"name\": \"stock_below_widget\"}, \"report_stock_project\": {\"module\": \"netforce_stock\", \"string\": \"Project Stock Report\", \"view\": \"report\", \"model\": \"report.stock.project\", \"template\": \"report_stock_project\", \"menu\": \"stock_menu\", \"name\": \"report_stock_project\"}, \"stock_barcode\": {\"module\": \"netforce_stock\", \"view\": \"form_view\", \"string\": \"Barcode Entry\", \"model\": \"stock.barcode\", \"menu\": \"stock_menu\", \"name\": \"stock_barcode\"}, \"report_goods_transfer\": {\"module\": \"netforce_stock\", \"string\": \"Goods Transfer Report\", \"view\": \"report\", \"model\": \"report.stock.move\", \"template\": \"report_stock_move\", \"template_xls\": \"report_stock_move\", \"menu\": \"stock_menu\", \"context\": \"{\\\"pick_type\\\":\\\"internal\\\"}\", \"name\": \"report_goods_transfer\"}, \"product_waste\": {\"module\": \"netforce_stock\", \"view\": \"multi_view\", \"string\": \"Product Waste\", \"model\": \"product.waste\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"menu\": \"stock_menu\", \"name\": \"product_waste\"}, \"stock_move_page\": {\"module\": \"netforce_stock\", \"template\": \"stock_move_page\", \"menu\": \"stock_menu\", \"name\": \"stock_move_page\"}, \"store_type\": {\"module\": \"netforce_stock\", \"string\": \"Storage Types\", \"view\": \"multi_view\", \"model\": \"store.type\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"store_type\"}, \"report_stock_summary\": {\"module\": \"netforce_stock\", \"string\": \"Stock Summary\", \"view\": \"report\", \"model\": \"report.stock.summary\", \"template\": \"report_stock_summary\", \"template_xls\": \"stock_summary\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"report_stock_summary\"}, \"report_forecast_summary\": {\"module\": \"netforce_stock\", \"string\": \"Stock Forecast Summary\", \"view\": \"report\", \"model\": \"report.forecast.summary\", \"template\": \"report_forecast_summary\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"report_forecast_summary\"}, \"stock_move_done\": {\"module\": \"netforce_stock\", \"view_type\": \"collection\", \"model\": \"stock.move\", \"condition\": \"[[\\\"state\\\", \\\"=\\\", \\\"done\\\"]]\", \"order\": \"date desc,id desc\", \"template\": \"stock_move_list\", \"layout\": \"stock_move_page\", \"name\": \"stock_move_done\"}, \"report_landed_cost_form\": {\"module\": \"netforce_stock\", \"view\": \"form_popup\", \"string\": \"Print Landed Cost\", \"model\": \"print.wizard\", \"print_model\": \"landed.cost\", \"template\": \"landed_cost\", \"template_format\": \"odt2\", \"custom_template_type\": \"landed_cost\", \"target\": \"_popup\", \"name\": \"report_landed_cost_form\"}, \"barcode_transfer\": {\"module\": \"netforce_stock\", \"view\": \"form_view\", \"string\": \"Barcode: Goods Transfer\", \"model\": \"barcode.transfer\", \"menu\": \"stock_menu\", \"name\": \"barcode_transfer\"}, \"packaging\": {\"module\": \"netforce_stock\", \"string\": \"Packagings\", \"view\": \"multi_view\", \"model\": \"stock.packaging\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"packaging\"}, \"view_picking\": {\"module\": \"netforce_stock\", \"type\": \"method\", \"model\": \"stock.picking\", \"method\": \"view_picking\", \"priority\": \"1\", \"name\": \"view_picking\"}, \"report_claim_form\": {\"module\": \"netforce_stock\", \"type\": \"report_odt2\", \"model\": \"product.claim\", \"template\": \"claim_form\", \"name\": \"report_claim_form\"}, \"ship_method\": {\"module\": \"netforce_stock\", \"string\": \"Shipping Methods\", \"view\": \"multi_view\", \"model\": \"ship.method\", \"menu\": \"stock_menu\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Archived\\\",[[\\\"active\\\",\\\"=\\\",false]]]]\", \"theme\": \"darkblues\", \"name\": \"ship_method\"}, \"stock_move_all\": {\"module\": \"netforce_stock\", \"view_type\": \"collection\", \"model\": \"stock.move\", \"order\": \"date desc,id desc\", \"template\": \"stock_move_list\", \"layout\": \"stock_move_page\", \"name\": \"stock_move_all\"}, \"stock_count\": {\"module\": \"netforce_stock\", \"string\": \"Stock Counts\", \"view\": \"multi_view\", \"model\": \"stock.count\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Validated\\\",[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"stock_count\"}, \"qc_result\": {\"module\": \"netforce_stock\", \"view\": \"multi_view\", \"string\": \"QC Results\", \"model\": \"qc.result\", \"menu\": \"stock_menu\", \"name\": \"qc_result\"}, \"pick_in\": {\"module\": \"netforce_stock\", \"string\": \"Goods Receipt\", \"view\": \"multi_view\", \"model\": \"stock.picking\", \"condition\": \"[[\\\"type\\\",\\\"=\\\",\\\"in\\\"]]\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Planned\\\",[[\\\"state\\\",\\\"=\\\",\\\"pending\\\"]]],[\\\"Approved\\\",[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]],[\\\"Rejected\\\",[[\\\"state\\\",\\\"=\\\",\\\"rejected\\\"]]]]\", \"list_layout\": \"pick_in_list\", \"form_layout\": \"pick_in_form\", \"model_string\": \"Goods Receipt\", \"context\": \"{\\\"pick_type\\\":\\\"in\\\"}\", \"modes\": \"list,form,calendar\", \"menu\": \"stock_menu\", \"theme\": \"darkblue\", \"name\": \"pick_in\"}, \"stock_settings\": {\"module\": \"netforce_stock\", \"view\": \"form_view\", \"model\": \"settings\", \"active_id\": \"1\", \"layout\": \"stock_settings\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"stock_settings\"}, \"report_stock_expire\": {\"module\": \"netforce_stock\", \"string\": \"Stock Expiry Report\", \"view\": \"report\", \"model\": \"report.stock.expire\", \"template\": \"report_stock_expire\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"report_stock_expire\"}, \"stock_move_pending\": {\"module\": \"netforce_stock\", \"view_type\": \"collection\", \"model\": \"stock.move\", \"condition\": \"[[\\\"state\\\", \\\"=\\\", \\\"pending\\\"]]\", \"order\": \"date desc,id desc\", \"template\": \"stock_move_list\", \"layout\": \"stock_move_page\", \"name\": \"stock_move_pending\"}, \"stock_product_edit\": {\"module\": \"netforce_stock\", \"view_type\": \"model\", \"model\": \"product\", \"template\": \"stock_product_form\", \"menu\": \"stock_menu\", \"name\": \"stock_product_edit\"}, \"cycle_stockcount\": {\"module\": \"netforce_stock\", \"string\": \"Cycle Stock Count\", \"view\": \"multi_view\", \"model\": \"cycle.stock.count\", \"list_layout\": \"cycle_stockcount_list\", \"form_layout\": \"cycle_stockcount_form\", \"model_string\": \"Cycle Stock Count\", \"modes\": \"list,form,calendar\", \"menu\": \"stock_menu\", \"name\": \"cycle_stockcount\"}, \"report_goods_issue\": {\"module\": \"netforce_stock\", \"string\": \"Goods Issue Report\", \"view\": \"report\", \"model\": \"report.stock.move\", \"template\": \"report_stock_move\", \"template_xls\": \"report_stock_move\", \"menu\": \"stock_menu\", \"context\": \"{\\\"pick_type\\\":\\\"out\\\"}\", \"name\": \"report_goods_issue\"}, \"procurement_edit\": {\"module\": \"netforce_stock\", \"view_type\": \"model\", \"model\": \"procurement.order\", \"template\": \"procurement_form\", \"menu\": \"stock_menu\", \"name\": \"procurement_edit\"}, \"stock_cut\": {\"module\": \"netforce_stock\", \"view\": \"form\", \"string\": \"Stock Cutting\", \"model\": \"stock.cut\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"stock_cut\"}, \"stock_lot\": {\"module\": \"netforce_stock\", \"view\": \"multi_view\", \"string\": \"Lot / Serial Numbers\", \"model\": \"stock.lot\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Active\\\",[\\\"state\\\",\\\"=\\\",\\\"active\\\"]],[\\\"Inactive\\\",[\\\"state\\\",\\\"=\\\",\\\"inactive\\\"]]]\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"stock_lot\"}, \"pallet\": {\"module\": \"netforce_stock\", \"string\": \"Pallets\", \"view\": \"multi_view\", \"model\": \"stock.pallet\", \"menu\": \"stock_menu\", \"name\": \"pallet\"}, \"stock_product_list\": {\"module\": \"netforce_stock\", \"view_type\": \"collection\", \"model\": \"product\", \"template\": \"stock_product_list\", \"layout\": \"stock_product_page\", \"name\": \"stock_product_list\"}, \"warehouse_product_sum\": {\"module\": \"netforce_stock\", \"view_type\": \"collection\", \"model\": \"stock.balance\", \"condition\": \"[[\\\"location_id\\\",\\\"=\\\",warehouse_id]]\", \"limit\": \"10\", \"template\": \"warehouse_product_sum\", \"name\": \"warehouse_product_sum\"}, \"stock_product_page\": {\"module\": \"netforce_stock\", \"template\": \"stock_product_page\", \"menu\": \"stock_menu\", \"name\": \"stock_product_page\"}, \"pick_out_to_invoice\": {\"module\": \"netforce_stock\", \"view_type\": \"collection\", \"model\": \"stock.picking\", \"condition\": \"[[\\\"type\\\", \\\"=\\\", \\\"out\\\"]]\", \"template\": \"pick_out_to_invoice\", \"target\": \"_popup\", \"name\": \"pick_out_to_invoice\"}, \"delivery_slot\": {\"module\": \"netforce_stock\", \"string\": \"Delivery Slots\", \"view\": \"multi_view\", \"model\": \"delivery.slot\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"delivery_slot\"}, \"warehouse_page\": {\"module\": \"netforce_stock\", \"view_type\": \"model\", \"model\": \"stock.location\", \"template\": \"warehouse_page\", \"menu\": \"stock_menu\", \"options\": \"{\\\"active_id\\\":warehouse_id}\", \"name\": \"warehouse_page\"}, \"ship_term\": {\"module\": \"netforce_stock\", \"string\": \"Shipping Terms\", \"view\": \"multi_view\", \"model\": \"ship.term\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"ship_term\"}, \"report_goods_receive\": {\"module\": \"netforce_stock\", \"string\": \"Goods Recevie Report\", \"view\": \"report\", \"model\": \"report.stock.move\", \"template\": \"report_stock_move\", \"template_xls\": \"report_stock_move\", \"menu\": \"stock_menu\", \"context\": \"{\\\"pick_type\\\":\\\"in\\\"}\", \"name\": \"report_goods_receive\"}, \"barcode_receive\": {\"module\": \"netforce_stock\", \"view\": \"form_view\", \"string\": \"Barcode: Goods Receipt\", \"model\": \"barcode.receive\", \"menu\": \"stock_menu\", \"name\": \"barcode_receive\"}, \"report_stock_aging\": {\"module\": \"netforce_stock\", \"string\": \"Stock Aging\", \"view\": \"report\", \"model\": \"report.stock.aging\", \"template\": \"report_stock_aging\", \"template_xls\": \"stock_aging\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"report_stock_aging\"}, \"report_forecast_details\": {\"module\": \"netforce_stock\", \"string\": \"Stock Forecast Details\", \"view\": \"report\", \"model\": \"report.forecast.details\", \"template\": \"report_forecast_details\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"report_forecast_details\"}, \"pick_internal\": {\"module\": \"netforce_stock\", \"string\": \"Goods Transfers\", \"view\": \"multi_view\", \"model\": \"stock.picking\", \"condition\": \"[[\\\"type\\\",\\\"=\\\",\\\"internal\\\"]]\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Planned\\\",[[\\\"state\\\",\\\"=\\\",\\\"pending\\\"]]],[\\\"Approved\\\",[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"list_layout\": \"pick_internal_list\", \"form_layout\": \"pick_internal_form\", \"model_string\": \"Goods Transfer\", \"context\": \"{\\\"pick_type\\\":\\\"internal\\\"}\", \"modes\": \"list,form,calendar\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"pick_internal\"}, \"custom_stock_count_session\": {\"module\": \"netforce_stock\", \"view\": \"multi_view\", \"string\": \"Mobile Stock Count Session\", \"model\": \"custom.stock.count.session\", \"menu\": \"stock_menu\", \"name\": \"custom_stock_count_session\"}, \"pick_in_to_invoice\": {\"module\": \"netforce_stock\", \"view_type\": \"collection\", \"model\": \"stock.picking\", \"condition\": \"[[\\\"type\\\", \\\"=\\\", \\\"in\\\"]]\", \"template\": \"pick_in_to_invoice\", \"target\": \"_popup\", \"name\": \"pick_in_to_invoice\"}, \"borrow\": {\"module\": \"netforce_stock\", \"string\": \"Borrow Requests\", \"view\": \"multi_view\", \"model\": \"product.borrow\", \"menu\": \"stock_menu\", \"name\": \"borrow\"}, \"procurement_page\": {\"module\": \"netforce_stock\", \"template\": \"procurement_page\", \"menu\": \"stock_menu\", \"name\": \"procurement_page\"}, \"report_stock_plan\": {\"module\": \"netforce_stock\", \"string\": \"Stock Planning / Ordering\", \"view\": \"report\", \"model\": \"report.stock.plan\", \"template\": \"report_stock_plan\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"report_stock_plan\"}, \"report_pick_internal_form\": {\"module\": \"netforce_stock\", \"type\": \"report_odt2\", \"model\": \"stock.picking\", \"template\": \"pick_internal_form\", \"name\": \"report_pick_internal_form\"}, \"stock_container\": {\"module\": \"netforce_stock\", \"view\": \"multi_view\", \"string\": \"Containers\", \"model\": \"stock.container\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"stock_container\"}, \"messenger\": {\"module\": \"netforce_stock\", \"string\": \"Messengers\", \"view\": \"multi_view\", \"model\": \"messenger\", \"menu\": \"stock_menu\", \"name\": \"messenger\"}, \"mobile_count\": {\"module\": \"netforce_stock\", \"string\": \"Stock Counts Mobile\", \"view\": \"multi_view\", \"model\": \"mobile.count\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Validated\\\",[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"mobile_count\"}, \"port_loading\": {\"module\": \"netforce_stock\", \"view\": \"multi_view\", \"string\": \"Port Loading\", \"model\": \"port.loading\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"port_loading\"}, \"gen_lots\": {\"module\": \"netforce_stock\", \"view\": \"form_popup\", \"string\": \"Gen Lots\", \"model\": \"gen.lots\", \"target\": \"popup\", \"name\": \"gen_lots\"}, \"report_pick_internal_form2\": {\"module\": \"netforce_stock\", \"view\": \"print_wizard\", \"model\": \"stock.picking\", \"template_type\": \"goods_transfer\", \"menu\": \"stock_menu\", \"name\": \"report_pick_internal_form2\"}, \"ship_port\": {\"module\": \"netforce_stock\", \"string\": \"Shipping Ports\", \"view\": \"multi_view\", \"model\": \"ship.port\", \"menu\": \"stock_menu\", \"name\": \"ship_port\"}, \"stock_move_pivot\": {\"module\": \"netforce_stock\", \"string\": \"Stock Movement Analysis\", \"view\": \"pivot\", \"model\": \"stock.move\", \"read_group\": \"1\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"stock_move_pivot\"}, \"pick_out\": {\"module\": \"netforce_stock\", \"string\": \"Goods Issue\", \"view\": \"multi_view\", \"model\": \"stock.picking\", \"condition\": \"[[\\\"type\\\",\\\"=\\\",\\\"out\\\"]]\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Planned\\\",[[\\\"state\\\",\\\"=\\\",\\\"pending\\\"]]],[\\\"Approved\\\",[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]],[\\\"Rejected\\\",[[\\\"state\\\",\\\"=\\\",\\\"rejected\\\"]]]]\", \"list_layout\": \"pick_out_list\", \"form_layout\": \"pick_out_form\", \"model_string\": \"Goods Issue\", \"context\": \"{\\\"pick_type\\\":\\\"out\\\"}\", \"modes\": \"list,form,calendar\", \"menu\": \"stock_menu\", \"theme\": \"darksblue\", \"name\": \"pick_out\"}, \"report_pick_out_form3\": {\"module\": \"netforce_stock\", \"view\": \"print_wizard2\", \"model\": \"stock.picking\", \"menu\": \"stock_menu\", \"name\": \"report_pick_out_form3\"}, \"stock_balance\": {\"module\": \"netforce_stock\", \"string\": \"Stock Balance\", \"view\": \"multi_view\", \"model\": \"stock.balance\", \"modes\": \"list\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"stock_balance\"}, \"print_stock_move\": {\"module\": \"netforce_stock\", \"view\": \"print_wizard\", \"model\": \"stock.move\", \"menu\": \"stock_menu\", \"name\": \"print_stock_move\"}, \"warehouse_products\": {\"module\": \"netforce_stock\", \"view_type\": \"collection\", \"model\": \"stock.balance\", \"condition\": \"[[\\\"location_id\\\",\\\"=\\\",warehouse_id]]\", \"template\": \"warehouse_product_list\", \"layout\": \"warehouse_page\", \"name\": \"warehouse_products\"}, \"warehouse_list_page\": {\"module\": \"netforce_stock\", \"template\": \"warehouse_list_page\", \"menu\": \"stock_menu\", \"name\": \"warehouse_list_page\"}, \"grade\": {\"module\": \"netforce_stock\", \"string\": \"Product Grading\", \"view\": \"multi_view\", \"model\": \"stock.grade\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"grade\"}, \"pick_validate\": {\"module\": \"netforce_stock\", \"string\": \"Validate Picking\", \"view\": \"form_popup\", \"model\": \"pick.validate\", \"target\": \"popup\", \"name\": \"pick_validate\"}, \"pick_location\": {\"module\": \"netforce_stock\", \"string\": \"Choose Location\", \"view\": \"form_popup\", \"model\": \"select.location\", \"target\": \"popup\", \"name\": \"pick_location\"}, \"report_pick_out_form2\": {\"module\": \"netforce_stock\", \"view\": \"print_wizard\", \"model\": \"stock.picking\", \"template_type\": \"goods_issue\", \"menu\": \"stock_menu\", \"name\": \"report_pick_out_form2\"}, \"approve_barcode_transfer\": {\"module\": \"netforce_stock\", \"string\": \"Approve Stock Transfer\", \"view\": \"form_popup\", \"model\": \"approve.wizard\", \"approve_model\": \"barcode.transfer\", \"approve_method\": \"approve\", \"target\": \"_popup\", \"name\": \"approve_barcode_transfer\"}, \"location\": {\"module\": \"netforce_stock\", \"string\": \"Locations\", \"view\": \"multi_view\", \"model\": \"stock.location\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Archived\\\",[[\\\"active\\\",\\\"=\\\",false]]]]\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"location\"}, \"report_pick_out_form\": {\"module\": \"netforce_stock\", \"view\": \"form_popup\", \"string\": \"Print Goods Issue\", \"model\": \"print.wizard\", \"target\": \"popup\", \"context\": \"{\\\"model\\\":\\\"stock.picking\\\",\\\"template_type\\\":\\\"goods_issue\\\"}\", \"name\": \"report_pick_out_form\"}, \"warehouse_list\": {\"module\": \"netforce_stock\", \"view_type\": \"collection\", \"model\": \"stock.location\", \"condition\": \"[[\\\"type\\\", \\\"=\\\", \\\"internal\\\"]]\", \"template\": \"warehouse_list\", \"layout\": \"warehouse_list_page\", \"context\": \"{\\\"big\\\": true}\", \"name\": \"warehouse_list\"}, \"transform\": {\"module\": \"netforce_stock\", \"string\": \"Product Transforms\", \"view\": \"multi_view\", \"model\": \"stock.transform\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"transform\"}, \"container_label\": {\"module\": \"netforce_stock\", \"type\": \"report_odt2\", \"model\": \"stock.container\", \"template\": \"container_label\", \"name\": \"container_label\"}, \"stock_balance_pivot\": {\"module\": \"netforce_stock\", \"string\": \"Stock Balance Analysis\", \"view\": \"pivot\", \"model\": \"stock.balance\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"stock_balance_pivot\"}, \"warehouse_move\": {\"module\": \"netforce_stock\", \"view\": \"list\", \"model\": \"stock.move\", \"layout\": \"warehouse_move\", \"name\": \"warehouse_move\"}, \"stock_count_add\": {\"module\": \"netforce_stock\", \"view\": \"form_popup\", \"string\": \"Stock Count Add\", \"model\": \"stock.count.add\", \"target\": \"popup\", \"name\": \"stock_count_add\"}, \"stock_move\": {\"module\": \"netforce_stock\", \"string\": \"Stock Movements\", \"view\": \"multi_view\", \"model\": \"stock.move\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"Draft\\\"]]],[\\\"Planned\\\",[[\\\"state\\\",\\\"=\\\",\\\"pending\\\"]]],[\\\"Approved\\\",[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]]],[\\\"Forecast\\\",[[\\\"state\\\",\\\"=\\\",\\\"forecast\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"stock_move\"}, \"pick_out_date\": {\"module\": \"netforce_stock\", \"string\": \"Goods Issue\", \"view\": \"list\", \"model\": \"stock.picking\", \"condition\": \"[[\\\"type\\\",\\\"=\\\",\\\"out\\\"]]\", \"layout\": \"pick_out_list\", \"context\": \"{\\\"pick_type\\\":\\\"out\\\"}\", \"show_date_filter\": \"1\", \"modes\": \"list,form,calendar\", \"name\": \"pick_out_date\"}, \"stock_lot_item\": {\"module\": \"netforce_stock\", \"view\": \"multi_view\", \"string\": \"Lot Items\", \"model\": \"stock.lot.item\", \"menu\": \"stock_menu\", \"name\": \"stock_lot_item\"}, \"claim\": {\"module\": \"netforce_stock\", \"string\": \"Claim Bills\", \"view\": \"multi_view\", \"model\": \"product.claim\", \"menu\": \"stock_menu\", \"name\": \"claim\"}, \"barcode_issue\": {\"module\": \"netforce_stock\", \"view\": \"form_view\", \"string\": \"Barcode: Goods Issue\", \"model\": \"barcode.issue\", \"menu\": \"stock_menu\", \"name\": \"barcode_issue\"}, \"report_pick_in_form\": {\"module\": \"netforce_stock\", \"type\": \"report_odt2\", \"model\": \"stock.picking\", \"template\": \"pick_in_form\", \"name\": \"report_pick_in_form\"}, \"pick_out_widget\": {\"module\": \"netforce_stock\", \"view\": \"list\", \"model\": \"stock.picking\", \"condition\": \"[[\\\"type\\\", \\\"=\\\", \\\"out\\\"], [\\\"state\\\", \\\"=\\\", \\\"pending\\\"]]\", \"layout\": \"pick_out_widget\", \"limit\": \"10\", \"theme\": \"darkblues\", \"name\": \"pick_out_widget\"}, \"orderpoint\": {\"module\": \"netforce_stock\", \"string\": \"Minimum Stock Rules\", \"view\": \"multi_view\", \"model\": \"stock.orderpoint\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"orderpoint\"}, \"report_stock_invoice\": {\"module\": \"netforce_stock\", \"string\": \"Stock Invoice Report\", \"view\": \"report\", \"model\": \"report.stock.invoice\", \"template\": \"report_stock_invoice\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"report_stock_invoice\"}, \"pick_in_widget\": {\"module\": \"netforce_stock\", \"view\": \"list\", \"model\": \"stock.picking\", \"condition\": \"[[\\\"type\\\", \\\"=\\\", \\\"in\\\"], [\\\"state\\\", \\\"=\\\", \\\"pending\\\"]]\", \"layout\": \"pick_in_widget\", \"limit\": \"10\", \"theme\": \"darkblues\", \"name\": \"pick_in_widget\"}, \"lot_label\": {\"module\": \"netforce_stock\", \"type\": \"report_odt2\", \"model\": \"stock.lot\", \"template\": \"lot_label\", \"name\": \"lot_label\"}, \"barcode_station\": {\"module\": \"netforce_stock\", \"string\": \"Barcode Stations\", \"view\": \"multi_view\", \"model\": \"barcode.station\", \"menu\": \"stock_menu\", \"name\": \"barcode_station\"}, \"custom_report_stock_expiry\": {\"module\": \"netforce_stock\", \"string\": \"Custom Stock Expiry\", \"view\": \"report\", \"model\": \"custom.report.stock.expiry\", \"template\": \"custom_report_stock_expiry\", \"template_xls\": \"custom_stock_expiry\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"custom_report_stock_expiry\"}, \"container_type\": {\"module\": \"netforce_stock\", \"string\": \"Container Types\", \"view\": \"multi_view\", \"model\": \"stock.container.type\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"container_type\"}, \"print_location\": {\"module\": \"netforce_stock\", \"view\": \"print_wizard2\", \"model\": \"stock.location\", \"menu\": \"stock_menu\", \"name\": \"print_location\"}, \"print_stock_count\": {\"module\": \"netforce_stock\", \"view\": \"print_wizard\", \"model\": \"stock.count\", \"menu\": \"stock_menu\", \"name\": \"print_stock_count\"}, \"report_pick_in_form2\": {\"module\": \"netforce_stock\", \"view\": \"print_wizard2\", \"model\": \"stock.picking\", \"template_type\": \"goods_receipt\", \"menu\": \"stock_menu\", \"name\": \"report_pick_in_form2\"}, \"stock_journal\": {\"module\": \"netforce_stock\", \"string\": \"Stock Journals\", \"view\": \"multi_view\", \"model\": \"stock.journal\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"stock_journal\"}, \"report_stock_forecast\": {\"module\": \"netforce_stock\", \"string\": \"Stock Forecast\", \"view\": \"report\", \"model\": \"report.stock.forecast\", \"template\": \"report_stock_forecast\", \"template_xls\": \"stock_forecast\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"report_stock_forecast\"}, \"report_borrow_form\": {\"module\": \"netforce_stock\", \"type\": \"report_odt2\", \"model\": \"product.borrow\", \"template\": \"borrow_form\", \"name\": \"report_borrow_form\"}, \"land_cost\": {\"module\": \"netforce_stock\", \"string\": \"Landed Costs\", \"view\": \"multi_view\", \"model\": \"land.cost\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Posted\\\",[[\\\"state\\\",\\\"=\\\",\\\"posted\\\"]]]]\", \"menu\": \"stock_menu\", \"name\": \"land_cost\"}, \"warehouse_balance\": {\"module\": \"netforce_stock\", \"view\": \"list\", \"model\": \"stock.balance\", \"layout\": \"warehouse_balance\", \"name\": \"warehouse_balance\"}, \"custom_stock_count_add\": {\"module\": \"netforce_stock\", \"view\": \"form_popup\", \"string\": \"Stock Count Add\", \"model\": \"stock.count.add\", \"target\": \"popup\", \"name\": \"custom_stock_count_add\"}, \"procurement_all\": {\"module\": \"netforce_stock\", \"view_type\": \"collection\", \"model\": \"procurement.order\", \"template\": \"procurement_list\", \"layout\": \"procurement_page\", \"name\": \"procurement_all\"}, \"landed_cost\": {\"module\": \"netforce_stock\", \"string\": \"Landed Costs\", \"view\": \"multi_view\", \"model\": \"landed.cost\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Posted\\\",[[\\\"state\\\",\\\"=\\\",\\\"posted\\\"]]],[\\\"Reversed\\\",[[\\\"state\\\",\\\"=\\\",\\\"reversed\\\"]]]]\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"landed_cost\"}, \"report_stock_card\": {\"module\": \"netforce_stock\", \"string\": \"Stock Card\", \"view\": \"report\", \"model\": \"report.stock.card\", \"template\": \"report_stock_card\", \"template_xls\": \"stock_card\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"report_stock_card\"}, \"ship_rate\": {\"module\": \"netforce_stock\", \"string\": \"Shipping Rates\", \"view\": \"multi_view\", \"model\": \"ship.rate\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"ship_rate\"}, \"report_lot_form\": {\"module\": \"netforce_stock\", \"view\": \"print_wizard2\", \"model\": \"stock.lot\", \"menu\": \"stock_menu\", \"name\": \"report_lot_form\"}, \"warehouse_transactions\": {\"module\": \"netforce_stock\", \"view_type\": \"collection\", \"model\": \"stock.move\", \"condition\": \"[[\\\"or\\\",[\\\"location_from_id\\\",\\\"=\\\",warehouse_id],[\\\"location_to_id\\\",\\\"=\\\",warehouse_id]],[\\\"state\\\",\\\"in\\\",[\\\"pending\\\",\\\"done\\\"]]]\", \"order\": \"date desc,id desc\", \"template\": \"warehouse_transaction_list\", \"layout\": \"warehouse_page\", \"name\": \"warehouse_transactions\"}, \"warehouse\": {\"module\": \"netforce_stock\", \"view\": \"multi_view\", \"string\": \"Warehouses\", \"model\": \"stock.location\", \"modes\": \"list_details,page\", \"condition\": \"[[\\\"type\\\",\\\"=\\\",\\\"internal\\\"]]\", \"list_details_layout\": \"warehouse_list_details\", \"page_layout\": \"warehouse_page\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"warehouse\"}, \"warehouse_widget\": {\"module\": \"netforce_stock\", \"view\": \"list_details\", \"string\": \"Warehouses\", \"model\": \"stock.location\", \"condition\": \"[[\\\"type\\\",\\\"=\\\",\\\"internal\\\"]]\", \"order\": \"name\", \"layout\": \"warehouse_widget\", \"no_search\": \"1\", \"name\": \"warehouse_widget\"}, \"report_stock_move_label\": {\"module\": \"netforce_stock\", \"view\": \"form_popup\", \"string\": \"Print Labels\", \"model\": \"print.wizard\", \"target\": \"popup\", \"context\": \"{\\\"model\\\":\\\"stock.move\\\",\\\"template_type\\\":\\\"stock_move\\\"}\", \"name\": \"report_stock_move_label\"}, \"port_destination\": {\"module\": \"netforce_stock\", \"view\": \"multi_view\", \"string\": \"Port Destination\", \"model\": \"port.destination\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"port_destination\"}, \"stock_board\": {\"module\": \"netforce_stock\", \"string\": \"Inventory Dashboard\", \"view\": \"board\", \"layout\": \"stock_board\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"stock_board\"}, \"barcode_validate\": {\"module\": \"netforce_stock\", \"view\": \"form_view\", \"string\": \"Barcode: Validate Picking\", \"model\": \"barcode.validate\", \"menu\": \"stock_menu\", \"name\": \"barcode_validate\"}, \"stock_compute_cost\": {\"module\": \"netforce_stock_cost\", \"string\": \"Compute Cost\", \"view\": \"form_view\", \"model\": \"stock.compute.cost\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"stock_compute_cost\"}, \"stock_period\": {\"module\": \"netforce_stock_cost\", \"string\": \"Stock Periods\", \"view\": \"multi_view\", \"model\": \"stock.period\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]],[\\\"Posted\\\",[\\\"state\\\",\\\"=\\\",\\\"posted\\\"]]]\", \"menu\": \"stock_menu\", \"theme\": \"darkblues\", \"name\": \"stock_period\"}, \"report_sale_commission\": {\"module\": \"netforce_sale\", \"view\": \"report\", \"string\": \"Sales Commission Report\", \"model\": \"report.sale.commission\", \"template\": \"report_sale_commission\", \"menu\": \"sale_menu\", \"name\": \"report_sale_commission\"}, \"sale_report_list\": {\"module\": \"netforce_sale\", \"view_type\": \"collection\", \"model\": \"sale.order.line\", \"template\": \"sale_report_list\", \"name\": \"sale_report_list\"}, \"sale_product_page\": {\"module\": \"netforce_sale\", \"template\": \"sale_product_page\", \"menu\": \"sale_menu\", \"name\": \"sale_product_page\"}, \"sale_voucher\": {\"module\": \"netforce_sale\", \"string\": \"Vouchers\", \"view\": \"multi_view\", \"model\": \"sale.voucher\", \"tabs\": \"[[\\\"Active\\\",[[\\\"state\\\",\\\"=\\\",\\\"active\\\"]]],[\\\"Inactive\\\",[[\\\"state\\\",\\\"=\\\",\\\"inactive\\\"]]]]\", \"menu\": \"sale_menu\", \"name\": \"sale_voucher\"}, \"sale_forecast\": {\"module\": \"netforce_sale\", \"string\": \"Sales Forecast\", \"view\": \"multi_view\", \"model\": \"sale.forecast\", \"tabs\": \"[[\\\"Open\\\",[[\\\"state\\\",\\\"=\\\",\\\"open\\\"]]],[\\\"Closed\\\",[[\\\"state\\\",\\\"=\\\",\\\"closed\\\"]]]]\", \"import_sample\": \"import_sale_forecast.csv\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"sale_forecast\"}, \"opport_report_user\": {\"module\": \"netforce_sale\", \"string\": \"Opportunities By Salesperson\", \"view\": \"report_view\", \"model\": \"sale.opportunity\", \"group_select\": \"year,quarter,month,week,user_id,contact_id,stage_id,lead_source\", \"function_select\": \"agg_amount\", \"group_fields\": \"user_id\", \"menu\": \"sale_menu\", \"name\": \"opport_report_user\"}, \"report_sale_profit_details\": {\"module\": \"netforce_sale\", \"view\": \"report\", \"string\": \"Sales Profit Details Report\", \"model\": \"report.sale.profit.details\", \"template\": \"report_sale_profit_details\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"report_sale_profit_details\"}, \"opport_analysis\": {\"module\": \"netforce_sale\", \"string\": \"Opportunity Analysis\", \"view\": \"pivot\", \"model\": \"sale.opportunity\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"opport_analysis\"}, \"sale_channel\": {\"module\": \"netforce_sale\", \"string\": \"Sales Channels\", \"view\": \"multi_view\", \"model\": \"sale.channel\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"sale_channel\"}, \"sale_line_page\": {\"module\": \"netforce_sale\", \"template\": \"sale_line_page\", \"menu\": \"sale_menu\", \"name\": \"sale_line_page\"}, \"quot_analysis\": {\"module\": \"netforce_sale\", \"string\": \"Quotation Analysis\", \"view\": \"pivot\", \"model\": \"sale.quot\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"quot_analysis\"}, \"product_list_sale\": {\"module\": \"netforce_sale\", \"view_type\": \"collection\", \"model\": \"product\", \"template\": \"product_list\", \"layout\": \"product_page_sale\", \"name\": \"product_list_sale\"}, \"exp_revenue_widget\": {\"module\": \"netforce_sale\", \"view\": \"chart\", \"model\": \"report.sale\", \"method\": \"expected_revenue\", \"chart_type\": \"bar\", \"height\": \"150\", \"name\": \"exp_revenue_widget\"}, \"opport_to_quot\": {\"module\": \"netforce_sale\", \"view\": \"form_popup\", \"string\": \"Copy To Quotation\", \"model\": \"opport.to.quot\", \"target\": \"popup\", \"name\": \"opport_to_quot\"}, \"sale_customer_widget\": {\"module\": \"netforce_sale\", \"view_type\": \"model\", \"model\": \"report.sale\", \"method\": \"sales_per_customer\", \"template\": \"sale_customer_widget\", \"name\": \"sale_customer_widget\"}, \"report_sale_form2\": {\"module\": \"netforce_sale\", \"view\": \"print_wizard\", \"model\": \"sale.order\", \"template_type\": \"sale_order\", \"menu\": \"sale_menu\", \"name\": \"report_sale_form2\"}, \"report_coupon_form\": {\"module\": \"netforce_sale\", \"type\": \"report_odt2\", \"model\": \"sale.coupon\", \"template\": \"coupon_form\", \"name\": \"report_coupon_form\"}, \"product_page_sale\": {\"module\": \"netforce_sale\", \"template\": \"product_page\", \"menu\": \"sale_menu\", \"name\": \"product_page_sale\"}, \"sale_stage\": {\"module\": \"netforce_sale\", \"string\": \"Sales Stages\", \"view\": \"multi_view\", \"model\": \"sale.stage\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"sale_stage\"}, \"activ_new_task\": {\"module\": \"netforce_sale\", \"view_type\": \"model\", \"model\": \"activity\", \"defaults\": \"{\\\"type\\\": \\\"task\\\"}\", \"template\": \"activ_form_task\", \"menu\": \"sale_menu\", \"name\": \"activ_new_task\"}, \"view_sale\": {\"module\": \"netforce_sale\", \"type\": \"method\", \"model\": \"sale.order.line\", \"method\": \"view_sale\", \"priority\": \"1\", \"name\": \"view_sale\"}, \"activ_new_call\": {\"module\": \"netforce_sale\", \"view_type\": \"model\", \"model\": \"activity\", \"defaults\": \"{\\\"type\\\": \\\"call\\\"}\", \"template\": \"activ_form_call\", \"menu\": \"sale_menu\", \"name\": \"activ_new_call\"}, \"activ_edit_event\": {\"module\": \"netforce_sale\", \"view_type\": \"model\", \"model\": \"activity\", \"template\": \"activ_form_event\", \"menu\": \"sale_menu\", \"name\": \"activ_edit_event\"}, \"sale_settings\": {\"module\": \"netforce_sale\", \"view\": \"form_view\", \"model\": \"settings\", \"active_id\": \"1\", \"layout\": \"sale_settings\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"sale_settings\"}, \"lead_widget\": {\"module\": \"netforce_sale\", \"view\": \"list\", \"model\": \"sale.lead\", \"condition\": \"[[\\\"state\\\", \\\"=\\\", \\\"new\\\"]]\", \"layout\": \"lead_widget\", \"theme\": \"purples\", \"name\": \"lead_widget\"}, \"activ_new_event\": {\"module\": \"netforce_sale\", \"view_type\": \"model\", \"model\": \"activity\", \"defaults\": \"{\\\"type\\\": \\\"event\\\"}\", \"template\": \"activ_form_event\", \"menu\": \"sale_menu\", \"name\": \"activ_new_event\"}, \"opport_widget\": {\"module\": \"netforce_sale\", \"view\": \"list\", \"model\": \"sale.opportunity\", \"condition\": \"[[\\\"state\\\", \\\"=\\\", \\\"open\\\"]]\", \"layout\": \"opport_widget\", \"theme\": \"purples\", \"name\": \"opport_widget\"}, \"activ_done\": {\"module\": \"netforce_sale\", \"view_type\": \"collection\", \"model\": \"activity\", \"condition\": \"[[\\\"state\\\", \\\"=\\\", \\\"done\\\"]]\", \"template\": \"activ_list\", \"layout\": \"activ_page\", \"name\": \"activ_done\"}, \"sale_target\": {\"module\": \"netforce_sale\", \"string\": \"Sales Targets\", \"view\": \"multi_view\", \"model\": \"sale.target\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"sale_target\"}, \"sale_report_cust\": {\"module\": \"netforce_sale\", \"string\": \"Sales by Customer\", \"view\": \"report_view\", \"model\": \"sale.order\", \"condition\": \"[[\\\"state\\\",\\\"in\\\",[\\\"confirmed\\\",\\\"done\\\"]]]\", \"group_select\": \"year,quarter,month,week,contact_id,contact_id.categ_id,user_id,state\", \"function_select\": \"agg_amount_total,agg_est_profit,agg_act_profit\", \"group_fields\": \"contact_id\", \"agg_fields\": \"agg_amount_total\", \"menu\": \"sale_menu\", \"name\": \"sale_report_cust\"}, \"report_quot_form2\": {\"module\": \"netforce_sale\", \"view\": \"print_wizard\", \"model\": \"sale.quot\", \"template_type\": \"sale_quot\", \"menu\": \"sale_menu\", \"name\": \"report_quot_form2\"}, \"activ_new_email\": {\"module\": \"netforce_sale\", \"view_type\": \"model\", \"model\": \"activity\", \"defaults\": \"{\\\"type\\\": \\\"email\\\"}\", \"template\": \"activ_form_email\", \"menu\": \"sale_menu\", \"name\": \"activ_new_email\"}, \"sale_board\": {\"module\": \"netforce_sale\", \"string\": \"Sales Dashboard\", \"view\": \"board\", \"layout\": \"sale_board\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"sale_board\"}, \"lead_source\": {\"module\": \"netforce_sale\", \"string\": \"Lead Sources\", \"view\": \"multi_view\", \"model\": \"lead.source\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"lead_source\"}, \"coupon_master\": {\"module\": \"netforce_sale\", \"string\": \"Coupon Masters\", \"view\": \"multi_view\", \"model\": \"sale.coupon.master\", \"tabs\": \"[[\\\"Active\\\",[[\\\"active\\\",\\\"=\\\",true]]],[\\\"Inactive\\\",[[\\\"active\\\",\\\"=\\\",false]]]]\", \"menu\": \"sale_menu\", \"name\": \"coupon_master\"}, \"activ_page\": {\"module\": \"netforce_sale\", \"template\": \"activ_page\", \"menu\": \"sale_menu\", \"name\": \"activ_page\"}, \"quot\": {\"module\": \"netforce_sale\", \"string\": \"Quotations\", \"view\": \"multi_view\", \"model\": \"sale.quot\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Awaiting Approval\\\",[[\\\"state\\\",\\\"=\\\",\\\"waiting_approval\\\"]]],[\\\"Approved\\\",[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]]],[\\\"Won\\\",[[\\\"state\\\",\\\"=\\\",\\\"won\\\"]]],[\\\"Lost\\\",[[\\\"state\\\",\\\"=\\\",\\\"lost\\\"]]],[\\\"Templates\\\",[[\\\"is_template\\\",\\\"=\\\",true]]]]\", \"menu\": \"sale_menu\", \"modes\": \"list,split,form\", \"theme\": \"purples\", \"name\": \"quot\"}, \"activ_edit_meeting\": {\"module\": \"netforce_sale\", \"view_type\": \"model\", \"model\": \"activity\", \"template\": \"activ_form_meeting\", \"menu\": \"sale_menu\", \"name\": \"activ_edit_meeting\"}, \"sale_analysis\": {\"module\": \"netforce_sale\", \"string\": \"Sales Order Analysis\", \"view\": \"pivot\", \"model\": \"sale.order\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"sale_analysis\"}, \"report_sale_return_form2\": {\"module\": \"netforce_sale\", \"view\": \"print_wizard\", \"model\": \"sale.return\", \"template_type\": \"sale_return\", \"menu\": \"sale_menu\", \"name\": \"report_sale_return_form2\"}, \"quot_to_sale\": {\"module\": \"netforce_sale\", \"view_type\": \"collection\", \"model\": \"sale.quot\", \"condition\": \"[[\\\"state\\\", \\\"=\\\", \\\"approved\\\"]]\", \"template\": \"quot_to_sale\", \"target\": \"_popup\", \"name\": \"quot_to_sale\"}, \"sale_to_inv\": {\"module\": \"netforce_sale\", \"view_type\": \"collection\", \"model\": \"sale.order\", \"condition\": \"[[\\\"state\\\", \\\"=\\\", \\\"confirmed\\\"]]\", \"template\": \"sale_to_inv\", \"target\": \"_popup\", \"name\": \"sale_to_inv\"}, \"report_opport_user\": {\"module\": \"netforce_sale\", \"view_type\": \"model\", \"model\": \"report.opport.user\", \"method\": \"get_data\", \"template\": \"report_opport_user\", \"name\": \"report_opport_user\"}, \"view_activity\": {\"module\": \"netforce_sale\", \"type\": \"method\", \"model\": \"activity\", \"method\": \"view_activity\", \"name\": \"view_activity\"}, \"activ_edit_call\": {\"module\": \"netforce_sale\", \"view_type\": \"model\", \"model\": \"activity\", \"template\": \"activ_form_call\", \"menu\": \"sale_menu\", \"name\": \"activ_edit_call\"}, \"activ_edit_email\": {\"module\": \"netforce_sale\", \"view_type\": \"model\", \"model\": \"activity\", \"template\": \"activ_form_email\", \"menu\": \"sale_menu\", \"name\": \"activ_edit_email\"}, \"sale_categ\": {\"module\": \"netforce_sale\", \"string\": \"Sales Categories\", \"view\": \"multi_view\", \"model\": \"sale.categ\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"sale_categ\"}, \"quot_line_analysis\": {\"module\": \"netforce_sale\", \"string\": \"Quotation Line Analysis\", \"view\": \"pivot\", \"model\": \"sale.quot.line\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"quot_line_analysis\"}, \"sale_line_to_invoice\": {\"module\": \"netforce_sale\", \"view_type\": \"collection\", \"model\": \"sale.order.line\", \"condition\": \"[[\\\"amount_to_invoice\\\", \\\"!=\\\", 0]]\", \"template\": \"sale_line_list_to_invoice\", \"layout\": \"sale_line_page\", \"name\": \"sale_line_to_invoice\"}, \"lead_report_source\": {\"module\": \"netforce_sale\", \"string\": \"Leads by Source\", \"view\": \"report_view\", \"model\": \"sale.lead\", \"group_select\": \"year,quarter,month,week,lead_source,industry,user_id\", \"group_fields\": \"lead_source\", \"menu\": \"sale_menu\", \"name\": \"lead_report_source\"}, \"sale_report_user\": {\"module\": \"netforce_sale\", \"string\": \"Sales by Salesperson\", \"view\": \"report_view\", \"model\": \"sale.order\", \"condition\": \"[[\\\"state\\\",\\\"in\\\",[\\\"confirmed\\\",\\\"done\\\"]]]\", \"group_select\": \"year,quarter,month,week,contact_id,contact_id.categ_id,user_id,state\", \"function_select\": \"agg_amount_total,agg_est_profit,agg_act_profit\", \"group_fields\": \"user_id\", \"agg_fields\": \"agg_amount_total\", \"menu\": \"sale_menu\", \"name\": \"sale_report_user\"}, \"opport_stage_widget\": {\"module\": \"netforce_sale\", \"view\": \"chart\", \"model\": \"report.sale\", \"method\": \"opport_stage\", \"chart_type\": \"bar\", \"height\": \"150\", \"name\": \"opport_stage_widget\"}, \"sale_coupon\": {\"module\": \"netforce_sale\", \"string\": \"Coupons\", \"view\": \"multi_view\", \"model\": \"sale.coupon\", \"tabs\": \"[[\\\"Enabled\\\",[[\\\"state\\\",\\\"=\\\",\\\"enabled\\\"]]],[\\\"Disabled\\\",[[\\\"state\\\",\\\"=\\\",\\\"disabled\\\"]]]]\", \"menu\": \"sale_menu\", \"name\": \"sale_coupon\"}, \"gen_sale_report\": {\"module\": \"netforce_sale\", \"string\": \"Generate Sales Report\", \"view\": \"form_popup\", \"model\": \"gen.sale.report\", \"target\": \"popup\", \"name\": \"gen_sale_report\"}, \"report_quot_form3\": {\"module\": \"netforce_sale\", \"view\": \"print_wizard2\", \"model\": \"sale.quot\", \"menu\": \"sale_menu\", \"name\": \"report_quot_form3\"}, \"delivery_term\": {\"module\": \"netforce_sale\", \"string\": \"Delivery Terms\", \"view\": \"multi_view\", \"model\": \"delivery.term\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"delivery_term\"}, \"sale_modif\": {\"module\": \"netforce_sale\", \"view\": \"form_popup\", \"string\": \"Modify Sales Order\", \"model\": \"sale.modif\", \"target\": \"popup\", \"name\": \"sale_modif\"}, \"sale_line_all\": {\"module\": \"netforce_sale\", \"view_type\": \"collection\", \"model\": \"sale.order.line\", \"template\": \"sale_line_list\", \"layout\": \"sale_line_page\", \"name\": \"sale_line_all\"}, \"report_sale_form3\": {\"module\": \"netforce_sale\", \"view\": \"print_wizard2\", \"model\": \"sale.order\", \"menu\": \"sale_menu\", \"name\": \"report_sale_form3\"}, \"promotion\": {\"module\": \"netforce_sale\", \"string\": \"Promotions\", \"view\": \"multi_view\", \"model\": \"sale.promotion\", \"tabs\": \"[[\\\"Active\\\",[[\\\"state\\\",\\\"=\\\",\\\"active\\\"]]],[\\\"Inactive\\\",[[\\\"state\\\",\\\"=\\\",\\\"inactive\\\"]]]]\", \"menu\": \"sale_menu\", \"name\": \"promotion\"}, \"sale_contact_edit\": {\"module\": \"netforce_sale\", \"view_type\": \"model\", \"model\": \"contact\", \"template\": \"sale_contact_form\", \"menu\": \"sale_menu\", \"name\": \"sale_contact_edit\"}, \"report_sale_payment\": {\"module\": \"netforce_sale\", \"view\": \"report\", \"string\": \"Sales Payment Report\", \"model\": \"report.sale.payment\", \"template\": \"report_sale_payment\", \"template_xls\": \"sale_payment\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"report_sale_payment\"}, \"sale_forecast_line\": {\"module\": \"netforce_sale\", \"string\": \"Sales Forecast Details\", \"view\": \"multi_view\", \"model\": \"sale.forecast.line\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"sale_forecast_line\"}, \"lead_refer\": {\"module\": \"netforce_sale\", \"view\": \"form_popup\", \"string\": \"Refer Lead\", \"model\": \"sale.lead\", \"layout\": \"lead_refer\", \"target\": \"popup\", \"name\": \"lead_refer\"}, \"seller\": {\"module\": \"netforce_sale\", \"string\": \"Sellers\", \"view\": \"multi_view\", \"model\": \"seller\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"seller\"}, \"sale_return\": {\"module\": \"netforce_sale\", \"string\": \"Sales Returns\", \"view\": \"multi_view\", \"model\": \"sale.return\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Confirmed\\\",[[\\\"state\\\",\\\"=\\\",\\\"confirmed\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"sale_return\"}, \"send_quot\": {\"module\": \"netforce_sale\", \"view\": \"form_popup\", \"string\": \"Send Quotation\", \"model\": \"send.wizard\", \"target\": \"popup\", \"context\": \"{\\\"model\\\":\\\"sale.quot\\\",\\\"template_type\\\":\\\"sale_quot\\\"}\", \"name\": \"send_quot\"}, \"sale_widget\": {\"module\": \"netforce_sale\", \"view\": \"list\", \"model\": \"sale.order\", \"condition\": \"[[\\\"state\\\", \\\"=\\\", \\\"confirmed\\\"]]\", \"layout\": \"sale_widget\", \"theme\": \"purples\", \"name\": \"sale_widget\"}, \"activ_new_meeting\": {\"module\": \"netforce_sale\", \"view_type\": \"model\", \"model\": \"activity\", \"defaults\": \"{\\\"type\\\": \\\"meeting\\\"}\", \"template\": \"activ_form_meeting\", \"menu\": \"sale_menu\", \"name\": \"activ_new_meeting\"}, \"activ\": {\"module\": \"netforce_sale\", \"string\": \"Activities\", \"view\": \"multi_view\", \"model\": \"activity\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Pending\\\",[[\\\"state\\\",\\\"!=\\\",\\\"done\\\"]]],[\\\"Done\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"modes\": \"list,calendar,form\", \"menu\": \"sale_menu\", \"name\": \"activ\"}, \"sale_product_list\": {\"module\": \"netforce_sale\", \"view_type\": \"collection\", \"model\": \"product\", \"template\": \"sale_product_list\", \"layout\": \"sale_product_page\", \"name\": \"sale_product_list\"}, \"lead_report_list\": {\"module\": \"netforce_sale\", \"view_type\": \"collection\", \"model\": \"sale.lead\", \"template\": \"lead_report_list\", \"name\": \"lead_report_list\"}, \"lead_to_contact\": {\"module\": \"netforce_sale\", \"view_type\": \"collection\", \"model\": \"sale.lead\", \"template\": \"lead_to_contact\", \"target\": \"_popup\", \"name\": \"lead_to_contact\"}, \"sale_product_edit\": {\"module\": \"netforce_sale\", \"view_type\": \"model\", \"model\": \"product\", \"template\": \"sale_product_form\", \"menu\": \"sale_menu\", \"name\": \"sale_product_edit\"}, \"activ_all\": {\"module\": \"netforce_sale\", \"view_type\": \"collection\", \"model\": \"activity\", \"template\": \"activ_list\", \"layout\": \"activ_page\", \"name\": \"activ_all\"}, \"lead_analysis\": {\"module\": \"netforce_sale\", \"string\": \"Lead Analysis\", \"view\": \"pivot\", \"model\": \"sale.lead\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"lead_analysis\"}, \"opport\": {\"module\": \"netforce_sale\", \"string\": \"Opportunities\", \"view\": \"multi_view\", \"model\": \"sale.opportunity\", \"tabs\": \"[[\\\"Open\\\",[[\\\"state\\\",\\\"=\\\",\\\"open\\\"]]],[\\\"Won\\\",[[\\\"state\\\",\\\"=\\\",\\\"won\\\"]]],[\\\"Paused\\\",[[\\\"state\\\",\\\"=\\\",\\\"paused\\\"]]],[\\\"Canceled\\\",[[\\\"state\\\",\\\"=\\\",\\\"canceled\\\"]]],[\\\"Lost\\\",[[\\\"state\\\",\\\"=\\\",\\\"lost\\\"]]],[\\\"All\\\",[]]]\", \"menu\": \"sale_menu\", \"ui_sort\": \"last_email_days desc\", \"theme\": \"purples\", \"name\": \"opport\"}, \"sale_activ\": {\"module\": \"netforce_sale\", \"string\": \"Activities\", \"view\": \"multi_view\", \"model\": \"sale.activ\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Pending\\\",[[\\\"state\\\",\\\"!=\\\",\\\"done\\\"]]],[\\\"Done\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"modes\": \"list,calendar,form\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"sale_activ\"}, \"lead_to_partner\": {\"module\": \"netforce_sale\", \"view_type\": \"collection\", \"model\": \"sale.lead\", \"template\": \"lead_to_contact\", \"target\": \"_popup\", \"name\": \"lead_to_partner\"}, \"demand_analysis\": {\"module\": \"netforce_sale\", \"string\": \"Demand Analysis\", \"view\": \"report_view\", \"model\": \"demand\", \"group_select\": \"year,quarter,month,week,customer_id,customer_id.categ_id,product_id,product_id.categ_id,state\", \"function_select\": \"agg_qty\", \"menu\": \"sale_menu\", \"name\": \"demand_analysis\"}, \"opport_report_list\": {\"module\": \"netforce_sale\", \"view_type\": \"collection\", \"model\": \"sale.opportunity\", \"template\": \"opport_report_list\", \"name\": \"opport_report_list\"}, \"report_sale_profit\": {\"module\": \"netforce_sale\", \"view\": \"report\", \"string\": \"Sales Profit Summary Report\", \"model\": \"report.sale.profit\", \"template\": \"report_sale_profit\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"report_sale_profit\"}, \"report_opport_user_page\": {\"module\": \"netforce_sale\", \"view_type\": \"model\", \"model\": \"report.opport.user\", \"template\": \"report_opport_user_page\", \"menu\": \"sale_menu\", \"name\": \"report_opport_user_page\"}, \"report_sale_order\": {\"module\": \"netforce_sale\", \"view\": \"report\", \"string\": \"Sales Order Report\", \"model\": \"report.sale.order\", \"template\": \"report_sale_order\", \"menu\": \"sale_menu\", \"name\": \"report_sale_order\"}, \"report_quot_form\": {\"module\": \"netforce_sale\", \"view\": \"form_popup\", \"string\": \"Print Quotation\", \"model\": \"print.wizard\", \"target\": \"popup\", \"context\": \"{\\\"model\\\":\\\"sale.quot\\\",\\\"template_type\\\":\\\"sale_quot\\\"}\", \"name\": \"report_quot_form\"}, \"activ_edit_task\": {\"module\": \"netforce_sale\", \"view_type\": \"model\", \"model\": \"activity\", \"template\": \"activ_form_task\", \"menu\": \"sale_menu\", \"name\": \"activ_edit_task\"}, \"coupon\": {\"module\": \"netforce_sale\", \"string\": \"Coupons\", \"view\": \"multi_view\", \"model\": \"sale.coupon\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Available\\\",[[\\\"state\\\",\\\"=\\\",\\\"available\\\"]]],[\\\"In Use\\\",[[\\\"state\\\",\\\"=\\\",\\\"in_use\\\"]]],[\\\"Used\\\",[[\\\"state\\\",\\\"=\\\",\\\"used\\\"]]],[\\\"Expired\\\",[[\\\"state\\\",\\\"=\\\",\\\"expired\\\"]]],[\\\"Inactive\\\",[[\\\"active\\\",\\\"=\\\",false]]]]\", \"menu\": \"sale_menu\", \"name\": \"coupon\"}, \"activ_pending\": {\"module\": \"netforce_sale\", \"view_type\": \"collection\", \"model\": \"activity\", \"condition\": \"[[\\\"state\\\", \\\"!=\\\", \\\"done\\\"]]\", \"template\": \"activ_list\", \"layout\": \"activ_page\", \"name\": \"activ_pending\"}, \"activ_widget\": {\"module\": \"netforce_sale\", \"view\": \"list\", \"model\": \"activity\", \"condition\": \"[[\\\"state\\\", \\\"!=\\\", \\\"done\\\"]]\", \"layout\": \"activ_widget\", \"theme\": \"purples\", \"name\": \"activ_widget\"}, \"convert_lead\": {\"module\": \"netforce_sale\", \"string\": \"Convert Lead\", \"view\": \"form_popup\", \"model\": \"convert.lead\", \"target\": \"popup\", \"name\": \"convert_lead\"}, \"sale_month_widget\": {\"module\": \"netforce_sale\", \"view\": \"chart\", \"model\": \"report.sale\", \"method\": \"sales_per_month\", \"chart_type\": \"bar\", \"height\": \"150\", \"name\": \"sale_month_widget\"}, \"sale_contact_list\": {\"module\": \"netforce_sale\", \"view_type\": \"collection\", \"model\": \"contact\", \"template\": \"sale_contact_list\", \"layout\": \"sale_contact_page\", \"name\": \"sale_contact_list\"}, \"report_unpaid_sale\": {\"module\": \"netforce_sale\", \"view\": \"report\", \"string\": \"Unpaid Sales Report\", \"model\": \"report.unpaid.sale\", \"template\": \"report_unpaid_sale\", \"template_xls\": \"unpaid_sale\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"report_unpaid_sale\"}, \"sale_report_product\": {\"module\": \"netforce_sale\", \"string\": \"Sales by Product Category\", \"view\": \"report_view\", \"model\": \"sale.order.line\", \"condition\": \"[[\\\"order_id.state\\\",\\\"in\\\",[\\\"confirmed\\\",\\\"done\\\"]]]\", \"group_select\": \"order_id.year,order_id.quarter,order_id.month,order_id.week,product_id,product_id.categ_id,order_id.contact_id,order_id.contact_id.categ_id,order_id.user_id,order_id,order_id.state\", \"function_select\": \"agg_amount\", \"group_fields\": \"product_id.categ_id\", \"agg_fields\": \"agg_amount\", \"menu\": \"sale_menu\", \"name\": \"sale_report_product\"}, \"sale_board2\": {\"module\": \"netforce_sale\", \"string\": \"Sales Dashboard (New)\", \"view\": \"board_edit\", \"layout\": \"sale_board2\", \"menu\": \"sale_menu\", \"name\": \"sale_board2\"}, \"sale_rec\": {\"module\": \"netforce_sale\", \"string\": \"Recurring Sales\", \"view\": \"multi_view\", \"model\": \"sale.recurring\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"sale_rec\"}, \"opport_cancel\": {\"module\": \"netforce_sale\", \"view\": \"form_popup\", \"string\": \"Cancel Sales Opportunity\", \"model\": \"sale.opportunity\", \"layout\": \"opport_cancel\", \"target\": \"popup\", \"name\": \"opport_cancel\"}, \"quot_widget\": {\"module\": \"netforce_sale\", \"view\": \"list\", \"model\": \"sale.quot\", \"condition\": \"[[\\\"state\\\", \\\"in\\\", [\\\"waiting_approval\\\", \\\"approved\\\"]]]\", \"layout\": \"quot_widget\", \"theme\": \"purples\", \"name\": \"quot_widget\"}, \"sale_contact_page\": {\"module\": \"netforce_sale\", \"template\": \"sale_contact_page\", \"menu\": \"sale_menu\", \"name\": \"sale_contact_page\"}, \"lead\": {\"module\": \"netforce_sale\", \"string\": \"Leads\", \"view\": \"multi_view\", \"model\": \"sale.lead\", \"tabs\": \"[[\\\"New\\\",[[\\\"state\\\",\\\"=\\\",\\\"new\\\"]]],[\\\"Converted\\\",[[\\\"state\\\",\\\"=\\\",\\\"converted\\\"]]],[\\\"Referred\\\",[[\\\"state\\\",\\\"=\\\",\\\"referred\\\"]]],[\\\"Voided\\\",[[\\\"state\\\",\\\"=\\\",\\\"voided\\\"]]],[\\\"All\\\",[]]]\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"lead\"}, \"sale_line_analysis\": {\"module\": \"netforce_sale\", \"string\": \"Sales Line Analysis\", \"view\": \"pivot\", \"model\": \"sale.order.line\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"sale_line_analysis\"}, \"sale_day_widget\": {\"module\": \"netforce_sale\", \"view_cls\": \"chart\", \"model\": \"report.sale\", \"method\": \"get_sales_per_day\", \"chart_type\": \"multi_line\", \"height\": \"150\", \"name\": \"sale_day_widget\"}, \"sale_to_pick\": {\"module\": \"netforce_sale\", \"view_type\": \"collection\", \"model\": \"sale.order\", \"template\": \"sale_to_pick\", \"target\": \"_popup\", \"name\": \"sale_to_pick\"}, \"sale_approve\": {\"module\": \"netforce_sale\", \"view\": \"form_popup\", \"string\": \"Approve Sales Order\", \"model\": \"approve.wizard\", \"approve_model\": \"sale.order\", \"approve_method\": \"approve\", \"target\": \"_popup\", \"name\": \"sale_approve\"}, \"sale\": {\"module\": \"netforce_sale\", \"string\": \"Sales Orders\", \"view\": \"multi_view\", \"model\": \"sale.order\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Reserved\\\",[[\\\"state\\\",\\\"=\\\",\\\"reserved\\\"]]],[\\\"Confirmed\\\",[[\\\"state\\\",\\\"=\\\",\\\"confirmed\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"modes\": \"list,columns,form\", \"menu\": \"sale_menu\", \"theme\": \"purple\", \"name\": \"sale\"}, \"report_sale_unbill\": {\"module\": \"netforce_sale\", \"view\": \"report\", \"string\": \"Sales Unbill Report\", \"model\": \"report.sale.unbill\", \"template\": \"report_sale_unbill\", \"menu\": \"sale_menu\", \"name\": \"report_sale_unbill\"}, \"competitor\": {\"module\": \"netforce_sale\", \"string\": \"Competitors\", \"view\": \"multi_view\", \"model\": \"competitor\", \"menu\": \"sale_menu\", \"theme\": \"purples\", \"name\": \"competitor\"}, \"sale_prod_categ_widget\": {\"module\": \"netforce_sale\", \"view\": \"chart\", \"model\": \"report.sale\", \"method\": \"sales_per_product_categ\", \"chart_type\": \"pie\", \"height\": \"150\", \"name\": \"sale_prod_categ_widget\"}, \"report_sale_form\": {\"module\": \"netforce_sale\", \"view\": \"form_popup\", \"string\": \"Print Sales Order\", \"model\": \"print.wizard\", \"target\": \"popup\", \"context\": \"{\\\"model\\\":\\\"sale.order\\\",\\\"template_type\\\":\\\"sale_order\\\"}\", \"name\": \"report_sale_form\"}, \"sale_event\": {\"module\": \"netforce_sale\", \"string\": \"Events\", \"view\": \"multi_view\", \"model\": \"sale.event\", \"menu\": \"sale_menu\", \"name\": \"sale_event\"}, \"valid_period\": {\"module\": \"netforce_sale\", \"view\": \"multi_view\", \"string\": \"Valid Period\", \"model\": \"valid.period\", \"menu\": \"sale_menu\", \"theme\": \"pinks\", \"name\": \"valid_period\"}, \"opport_lost\": {\"module\": \"netforce_sale\", \"view\": \"form_popup\", \"string\": \"Lost Sales Opportunity\", \"model\": \"sale.opportunity\", \"layout\": \"opport_lost\", \"target\": \"popup\", \"name\": \"opport_lost\"}, \"sale_line_to_deliver\": {\"module\": \"netforce_sale\", \"view_type\": \"collection\", \"model\": \"sale.order.line\", \"condition\": \"[[\\\"qty_to_deliver\\\", \\\"!=\\\", 0]]\", \"template\": \"sale_line_list_to_deliver\", \"layout\": \"sale_line_page\", \"name\": \"sale_line_to_deliver\"}, \"purchase_add\": {\"module\": \"netforce_purchase\", \"view\": \"form_popup\", \"string\": \"Add Products\", \"model\": \"purchase.add\", \"target\": \"popup\", \"name\": \"purchase_add\"}, \"purch_type\": {\"module\": \"netforce_purchase\", \"string\": \"Purchase Types\", \"view\": \"multi_view\", \"model\": \"purchase.type\", \"menu\": \"purchase_menu\", \"theme\": \"greens\", \"name\": \"purch_type\"}, \"purchase\": {\"module\": \"netforce_purchase\", \"name\": \"purchase\", \"string\": \"Purchase Orders\", \"view\": \"multi_view\", \"model\": \"purchase.order\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Awaiting Approval\\\",[[\\\"state\\\",\\\"=\\\",\\\"wait_approve\\\"]]],[\\\"Confirmed\\\",[[\\\"state\\\",\\\"=\\\",\\\"confirmed\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"menu\": \"purchase_menu\", \"theme\": \"green\"}, \"report_purchase_form\": {\"module\": \"netforce_purchase\", \"view\": \"form_popup\", \"string\": \"Print Purchase Order\", \"model\": \"print.wizard\", \"target\": \"popup\", \"context\": \"{\\\"model\\\":\\\"purchase.order\\\",\\\"template_type\\\":\\\"purch_order\\\"}\", \"name\": \"report_purchase_form\"}, \"purch_month_widget\": {\"module\": \"netforce_purchase\", \"view\": \"chart\", \"model\": \"report.purchase\", \"method\": \"purchases_per_month\", \"chart_type\": \"bar\", \"height\": \"150\", \"name\": \"purch_month_widget\"}, \"purch_report_supp\": {\"module\": \"netforce_purchase\", \"string\": \"Purchases By Supplier\", \"view\": \"report_view\", \"model\": \"purchase.order\", \"condition\": \"[[\\\"order_id.state\\\",\\\"in\\\",[\\\"confirmed\\\",\\\"done\\\"]]]\", \"group_select\": \"year,quarter,month,week,contact_id,contact_id.categ_id,state\", \"function_select\": \"agg_amount_total\", \"group_fields\": \"contact_id\", \"agg_fields\": \"agg_amount_total\", \"menu\": \"purchase_menu\", \"name\": \"purch_report_supp\"}, \"report_purchase_form2\": {\"module\": \"netforce_purchase\", \"view\": \"print_wizard\", \"model\": \"purchase.order\", \"template_type\": \"purch_order\", \"menu\": \"purchase_menu\", \"name\": \"report_purchase_form2\"}, \"purch_product_page\": {\"module\": \"netforce_purchase\", \"template\": \"purch_product_page\", \"menu\": \"purchase_menu\", \"name\": \"purch_product_page\"}, \"purch_report_product\": {\"module\": \"netforce_purchase\", \"string\": \"Purchases By Product Category\", \"view\": \"report_view\", \"model\": \"purchase.order.line\", \"condition\": \"[[\\\"order_id.state\\\",\\\"in\\\",[\\\"confirmed\\\",\\\"done\\\"]]]\", \"group_select\": \"order_id.year,order_id.quarter,order_id.month,order_id.week,order_id.contact_id,order_id.contact_id.categ_id,product_id,product_id.categ_id,order_id.state\", \"function_select\": \"agg_amount\", \"group_fields\": \"product_id.categ_id\", \"agg_fields\": \"agg_amount\", \"menu\": \"purchase_menu\", \"name\": \"purch_report_product\"}, \"report_purchase_gen2\": {\"module\": \"netforce_purchase\", \"view\": \"report\", \"string\": \"Purchase Order Generator\", \"model\": \"report.purchase.gen2\", \"template\": \"report_purchase_gen2\", \"menu\": \"purchase_menu\", \"name\": \"report_purchase_gen2\"}, \"rfq_widget\": {\"module\": \"netforce_purchase\", \"view\": \"list\", \"model\": \"purchase.order\", \"condition\": \"[[\\\"state\\\", \\\"=\\\", \\\"confirmed\\\"]]\", \"layout\": \"rfq_widget\", \"theme\": \"greens\", \"name\": \"rfq_widget\"}, \"report_purch_product_jasper\": {\"module\": \"netforce_purchase\", \"type\": \"report\", \"model\": \"report.purch.product\", \"method\": \"get_data\", \"template\": \"purch_product\", \"name\": \"report_purch_product_jasper\"}, \"purchase_settings\": {\"module\": \"netforce_purchase\", \"view\": \"form_view\", \"model\": \"settings\", \"active_id\": \"1\", \"layout\": \"purchase_settings\", \"menu\": \"purchase_menu\", \"theme\": \"greens\", \"name\": \"purchase_settings\"}, \"report_purchase_request_form\": {\"module\": \"netforce_purchase\", \"type\": \"report_odt2\", \"model\": \"purchase.request\", \"template\": \"purchase_request\", \"name\": \"report_purchase_request_form\"}, \"purch_line_analysis\": {\"module\": \"netforce_purchase\", \"string\": \"Purchase Line Analysis\", \"view\": \"pivot\", \"model\": \"purchase.order.line\", \"menu\": \"purchase_menu\", \"theme\": \"greens\", \"name\": \"purch_line_analysis\"}, \"purchase_return\": {\"module\": \"netforce_purchase\", \"string\": \"Purchase Returns\", \"view\": \"multi_view\", \"model\": \"purchase.return\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Confirmed\\\",[[\\\"state\\\",\\\"=\\\",\\\"confirmed\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"menu\": \"purchase_menu\", \"theme\": \"greens\", \"name\": \"purchase_return\"}, \"purch_analysis\": {\"module\": \"netforce_purchase\", \"string\": \"Purchase Analysis\", \"view\": \"pivot\", \"model\": \"purchase.order\", \"menu\": \"purchase_menu\", \"theme\": \"greens\", \"name\": \"purch_analysis\"}, \"purch_contact_page\": {\"module\": \"netforce_purchase\", \"template\": \"purch_contact_page\", \"menu\": \"purchase_menu\", \"name\": \"purch_contact_page\"}, \"report_purchase_gen\": {\"module\": \"netforce_purchase\", \"view\": \"report\", \"string\": \"Purchase Order Generator\", \"model\": \"report.purchase.gen\", \"template\": \"report_purchase_gen\", \"menu\": \"purchase_menu\", \"name\": \"report_purchase_gen\"}, \"purch_export\": {\"module\": \"netforce_purchase\", \"type\": \"export\", \"model\": \"purchase.order\", \"filename\": \"purchase_orders.csv\", \"export_fields\": \"[\\\"contact_id\\\", \\\"date\\\", \\\"number\\\", \\\"ref\\\", \\\"currency_id\\\", \\\"tax_type\\\", \\\"lines.product_id\\\", \\\"lines.description\\\", \\\"lines.qty\\\", \\\"lines.uom_id\\\", \\\"lines.unit_price\\\", \\\"lines.discount\\\", \\\"lines.tax_id\\\"]\", \"name\": \"purch_export\"}, \"purchase_board\": {\"module\": \"netforce_purchase\", \"string\": \"Purchasing Dashboard\", \"view\": \"board\", \"layout\": \"purchase_board\", \"menu\": \"purchase_menu\", \"theme\": \"greens\", \"name\": \"purchase_board\"}, \"purchase_page\": {\"module\": \"netforce_purchase\", \"template\": \"purchase_page\", \"menu\": \"purchase_menu\", \"name\": \"purchase_page\"}, \"report_commission_po\": {\"module\": \"netforce_purchase\", \"view\": \"report\", \"string\": \"Commission Purchase Report\", \"model\": \"report.commission.po\", \"template\": \"report_commission_po\", \"template_xls\": \"commission_po\", \"menu\": \"purchase_menu\", \"name\": \"report_commission_po\"}, \"view_purchase\": {\"module\": \"netforce_purchase\", \"type\": \"method\", \"model\": \"purchase.order.line\", \"method\": \"view_purchase\", \"priority\": \"1\", \"name\": \"view_purchase\"}, \"report_purchase_gen3\": {\"module\": \"netforce_purchase\", \"view\": \"report\", \"string\": \"Purchase Order Generator\", \"model\": \"report.purchase.gen3\", \"template\": \"report_purchase_gen3\", \"menu\": \"purchase_menu\", \"name\": \"report_purchase_gen3\"}, \"purch_supplier_widget\": {\"module\": \"netforce_purchase\", \"view\": \"chart\", \"model\": \"report.purchase\", \"method\": \"purchases_per_supplier\", \"chart_type\": \"pie\", \"height\": \"250\", \"name\": \"purch_supplier_widget\"}, \"purchase_request\": {\"module\": \"netforce_purchase\", \"string\": \"Purchase Requests\", \"view\": \"multi_view\", \"model\": \"purchase.request\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Waiting Approval\\\",[[\\\"state\\\",\\\"=\\\",\\\"waiting_approval\\\"]]],[\\\"Waiting PO\\\",[[\\\"state\\\",\\\"=\\\",\\\"waiting_po\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]],[\\\"Rejected\\\",[\\\"state\\\",\\\"=\\\",\\\"rejected\\\"]],[\\\"Voided\\\",[\\\"state\\\",\\\"=\\\",\\\"voided\\\"]]]\", \"menu\": \"purchase_menu\", \"theme\": \"greens\", \"name\": \"purchase_request\"}, \"report_purchase_request_form2\": {\"module\": \"netforce_purchase\", \"view\": \"print_wizard\", \"model\": \"purchase.request\", \"menu\": \"purchase_menu\", \"name\": \"report_purchase_request_form2\"}, \"purch_line_page\": {\"module\": \"netforce_purchase\", \"template\": \"purch_line_page\", \"menu\": \"purchase_menu\", \"name\": \"purch_line_page\"}, \"purch_product_categ_widget\": {\"module\": \"netforce_purchase\", \"view\": \"chart\", \"model\": \"report.purchase\", \"method\": \"purchases_per_product_categ\", \"chart_type\": \"pie\", \"name\": \"purch_product_categ_widget\"}, \"send_purchase\": {\"module\": \"netforce_purchase\", \"view\": \"form_popup\", \"string\": \"Send Purchase Order\", \"model\": \"send.wizard\", \"target\": \"popup\", \"context\": \"{\\\"model\\\":\\\"purchase.order\\\",\\\"template_type\\\":\\\"purch_order\\\"}\", \"name\": \"send_purchase\"}, \"purchase_wizard\": {\"module\": \"netforce_purchase\", \"view\": \"form_popup\", \"string\": \"New Purchase Order\", \"model\": \"purchase.wizard\", \"target\": \"popup\", \"name\": \"purchase_wizard\"}, \"report_purchase_request_form3\": {\"module\": \"netforce_purchase\", \"view\": \"print_wizard2\", \"model\": \"purchase.request\", \"menu\": \"purchase_menu\", \"name\": \"report_purchase_request_form3\"}, \"report_purchase_picking\": {\"module\": \"netforce_purchase\", \"view\": \"report\", \"string\": \"Purchase vs Goods Receipt Report\", \"model\": \"report.purchase.picking\", \"template\": \"report_purchase_picking\", \"menu\": \"purchase_menu\", \"name\": \"report_purchase_picking\"}, \"report_purchase_form3\": {\"module\": \"netforce_purchase\", \"view\": \"print_wizard2\", \"model\": \"purchase.order\", \"menu\": \"purchase_menu\", \"name\": \"report_purchase_form3\"}, \"stock_transfer\": {\"module\": \"netforce_purchase\", \"view\": \"form_popup\", \"string\": \"Transfer To\", \"model\": \"stock.transfer\", \"target\": \"popup\", \"name\": \"stock_transfer\"}, \"production_period\": {\"module\": \"netforce_mfg\", \"string\": \"Production Periods\", \"view\": \"multi_view\", \"model\": \"production.period\", \"menu\": \"mfg_menu\", \"name\": \"production_period\"}, \"prod_comp_page\": {\"module\": \"netforce_mfg\", \"type\": \"view\", \"template\": \"prod_comp_page\", \"menu\": \"prod_menu\", \"name\": \"prod_comp_page\"}, \"report_production_form2\": {\"module\": \"netforce_mfg\", \"view\": \"print_wizard\", \"model\": \"production.order\", \"template_type\": \"prod_order\", \"menu\": \"mfg_menu\", \"name\": \"report_production_form2\"}, \"bom\": {\"module\": \"netforce_mfg\", \"view\": \"multi_view\", \"string\": \"Bill of Materials\", \"model\": \"bom\", \"menu\": \"mfg_menu\", \"import_sample\": \"import_bom.csv\", \"name\": \"bom\"}, \"report_safe_out\": {\"module\": \"netforce_mfg\", \"type\": \"report_odt2\", \"model\": \"barcode.safe.out\", \"method\": \"get_report_data\", \"template\": \"barcode_safe_out\", \"convert\": \"pdf\", \"name\": \"report_safe_out\"}, \"production_approve_split\": {\"module\": \"netforce_mfg\", \"string\": \"Approve Split Order\", \"view\": \"form_popup\", \"model\": \"approve.wizard\", \"approve_model\": \"split.production\", \"approve_method\": \"approve\", \"target\": \"_popup\", \"name\": \"production_approve_split\"}, \"barcode_safe_out\": {\"module\": \"netforce_mfg\", \"view\": \"form_view\", \"model\": \"barcode.safe.out\", \"menu\": \"mfg_menu\", \"name\": \"barcode_safe_out\"}, \"report_safe_in\": {\"module\": \"netforce_mfg\", \"type\": \"report_odt2\", \"model\": \"barcode.safe.in\", \"method\": \"get_report_data\", \"template\": \"barcode_safe_in\", \"convert\": \"pdf\", \"name\": \"report_safe_in\"}, \"qc_test\": {\"module\": \"netforce_mfg\", \"view\": \"multi_view\", \"string\": \"QC Tests\", \"model\": \"qc.test\", \"menu\": \"mfg_menu\", \"name\": \"qc_test\"}, \"barcode_issue_rm\": {\"module\": \"netforce_mfg\", \"view\": \"form_view\", \"model\": \"barcode.issue.rm\", \"menu\": \"mfg_menu\", \"name\": \"barcode_issue_rm\"}, \"production_widget\": {\"module\": \"netforce_mfg\", \"view\": \"list\", \"model\": \"production.order\", \"condition\": \"[[\\\"state\\\",\\\"=\\\",\\\"released\\\"]]\", \"layout\": \"production_widget\", \"name\": \"production_widget\"}, \"approve_barcode_safe_in\": {\"module\": \"netforce_mfg\", \"string\": \"Approve DC To Safe\", \"view\": \"form_popup\", \"model\": \"approve.wizard\", \"approve_model\": \"barcode.safe.in\", \"approve_method\": \"approve\", \"target\": \"_popup\", \"name\": \"approve_barcode_safe_in\"}, \"production\": {\"module\": \"netforce_mfg\", \"view\": \"multi_view\", \"string\": \"Production Orders\", \"model\": \"production.order\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Confirmed\\\",[[\\\"state\\\",\\\"=\\\",\\\"confirmed\\\"]]],[\\\"In Progress\\\",[[\\\"state\\\",\\\"=\\\",\\\"in_progress\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"menu\": \"mfg_menu\", \"name\": \"production\"}, \"report_production_order\": {\"module\": \"netforce_mfg\", \"string\": \"Production Order\", \"view\": \"report\", \"model\": \"report.production.order\", \"report_template\": \"report_production_order\", \"report_template_xls\": \"report_production_order\", \"menu\": \"mfg_menu\", \"name\": \"report_production_order\"}, \"report_production_qc\": {\"module\": \"netforce_mfg\", \"string\": \"Production QC\", \"view\": \"report\", \"model\": \"report.production.qc\", \"report_template\": \"report_production_qc\", \"report_template_xls\": \"report_production_qc\", \"menu\": \"mfg_menu\", \"name\": \"report_production_qc\"}, \"prod_comp\": {\"module\": \"netforce_mfg\", \"view\": \"multi_view\", \"string\": \"Production Components\", \"model\": \"production.component\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"To Issue\\\",[[\\\"issue_method\\\",\\\"=\\\",\\\"manual\\\"],[\\\"order_id.state\\\",\\\"=\\\",\\\"released\\\"]]]]\", \"menu\": \"mfg_menu\", \"name\": \"prod_comp\"}, \"split_production\": {\"module\": \"netforce_mfg\", \"view\": \"form_view\", \"string\": \"Split Order\", \"model\": \"split.production\", \"menu\": \"mfg_menu\", \"name\": \"split_production\"}, \"barcode_safe_in\": {\"module\": \"netforce_mfg\", \"view\": \"form_view\", \"model\": \"barcode.safe.in\", \"menu\": \"mfg_menu\", \"name\": \"barcode_safe_in\"}, \"mfg_board\": {\"module\": \"netforce_mfg\", \"string\": \"Manufacturing Dashboard\", \"view\": \"board\", \"layout\": \"mfg_board\", \"menu\": \"mfg_menu\", \"name\": \"mfg_board\"}, \"mfg_settings\": {\"module\": \"netforce_mfg\", \"view\": \"form_view\", \"model\": \"settings\", \"active_id\": \"1\", \"layout\": \"mfg_settings\", \"menu\": \"mfg_menu\", \"name\": \"mfg_settings\"}, \"approve_barcode_receive_fg\": {\"module\": \"netforce_mfg\", \"string\": \"Approve Received Finished Goods\", \"view\": \"form_popup\", \"model\": \"approve.wizard\", \"approve_model\": \"barcode.receive.fg\", \"approve_method\": \"approve\", \"target\": \"_popup\", \"name\": \"approve_barcode_receive_fg\"}, \"approve_barcode_safe_out\": {\"module\": \"netforce_mfg\", \"string\": \"Approve Safe To DC\", \"view\": \"form_popup\", \"model\": \"approve.wizard\", \"approve_model\": \"barcode.safe.out\", \"approve_method\": \"approve\", \"target\": \"_popup\", \"name\": \"approve_barcode_safe_out\"}, \"report_production_component\": {\"module\": \"netforce_mfg\", \"string\": \"Production Component\", \"view\": \"report\", \"model\": \"report.production.component\", \"report_template\": \"report_production_component\", \"report_template_xls\": \"report_production_component\", \"menu\": \"mfg_menu\", \"name\": \"report_production_component\"}, \"production_analysis\": {\"module\": \"netforce_mfg\", \"string\": \"Production Analysis\", \"view\": \"pivot\", \"model\": \"production.order\", \"menu\": \"mfg_menu\", \"name\": \"production_analysis\"}, \"print_report_safe_in\": {\"module\": \"netforce_mfg\", \"type\": \"report_odt2\", \"model\": \"barcode.safe.in\", \"template\": \"barcode_safe_in\", \"name\": \"print_report_safe_in\"}, \"workcenter\": {\"module\": \"netforce_mfg\", \"view\": \"multi_view\", \"string\": \"Workcenters\", \"model\": \"workcenter\", \"menu\": \"mfg_menu\", \"name\": \"workcenter\"}, \"workcenter_widget\": {\"module\": \"netforce_mfg\", \"view_type\": \"collection\", \"model\": \"workcenter\", \"template\": \"workcenter_widget\", \"name\": \"workcenter_widget\"}, \"prod_oper_page\": {\"module\": \"netforce_mfg\", \"type\": \"view\", \"template\": \"prod_oper_page\", \"menu\": \"prod_menu\", \"name\": \"prod_oper_page\"}, \"production_overdue_widget\": {\"module\": \"netforce_mfg\", \"view\": \"list\", \"model\": \"production.order\", \"condition\": \"[[\\\"overdue\\\",\\\"=\\\",true]]\", \"layout\": \"production_overdue_widget\", \"name\": \"production_overdue_widget\"}, \"routing\": {\"module\": \"netforce_mfg\", \"view\": \"multi_view\", \"string\": \"Routings\", \"model\": \"routing\", \"menu\": \"mfg_menu\", \"name\": \"routing\"}, \"barcode_issue_mfg\": {\"module\": \"netforce_mfg\", \"view\": \"form_view\", \"model\": \"barcode.issue.mfg\", \"menu\": \"mfg_menu\", \"name\": \"barcode_issue_mfg\"}, \"barcode_receive_mfg\": {\"module\": \"netforce_mfg\", \"view\": \"form_view\", \"model\": \"barcode.receive.mfg\", \"menu\": \"mfg_menu\", \"name\": \"barcode_receive_mfg\"}, \"mfg_team\": {\"module\": \"netforce_mfg\", \"view\": \"multi_view\", \"string\": \"Teams\", \"model\": \"mfg.team\", \"menu\": \"mfg_menu\", \"name\": \"mfg_team\"}, \"barcode_return_rm\": {\"module\": \"netforce_mfg\", \"view\": \"form_view\", \"model\": \"barcode.return.rm\", \"menu\": \"mfg_menu\", \"name\": \"barcode_return_rm\"}, \"barcode_return_fg\": {\"module\": \"netforce_mfg\", \"view\": \"form_view\", \"model\": \"barcode.return.fg\", \"menu\": \"mfg_menu\", \"name\": \"barcode_return_fg\"}, \"report_production_form\": {\"module\": \"netforce_mfg\", \"view\": \"form_popup\", \"string\": \"Print Production Order\", \"model\": \"print.wizard\", \"print_model\": \"production.order\", \"template\": \"production\", \"template_format\": \"odt2\", \"custom_template_type\": \"prod_order\", \"target\": \"_popup\", \"name\": \"report_production_form\"}, \"barcode_qc\": {\"module\": \"netforce_mfg\", \"view\": \"form_view\", \"model\": \"barcode.qc\", \"menu\": \"mfg_menu\", \"name\": \"barcode_qc\"}, \"production_comp_analysis\": {\"module\": \"netforce_mfg\", \"string\": \"Production Component Analysis\", \"view\": \"pivot\", \"model\": \"production.component\", \"menu\": \"mfg_menu\", \"name\": \"production_comp_analysis\"}, \"production_qc_approve_done\": {\"module\": \"netforce_mfg\", \"string\": \"Approve Production Order QC Completion\", \"view\": \"form_popup\", \"model\": \"approve.wizard\", \"approve_model\": \"production.order\", \"approve_method\": \"qc_approve_done\", \"target\": \"_popup\", \"name\": \"production_qc_approve_done\"}, \"barcode_receive_fg\": {\"module\": \"netforce_mfg\", \"view\": \"form_view\", \"model\": \"barcode.receive.fg\", \"menu\": \"mfg_menu\", \"name\": \"barcode_receive_fg\"}, \"barcode_ops\": {\"module\": \"netforce_mfg\", \"view\": \"form_view\", \"model\": \"barcode.ops\", \"menu\": \"mfg_menu\", \"name\": \"barcode_ops\"}, \"report_bom_form2\": {\"module\": \"netforce_mfg\", \"view\": \"print_wizard\", \"model\": \"bom\", \"menu\": \"mfg_menu\", \"name\": \"report_bom_form2\"}, \"production_plan\": {\"module\": \"netforce_mfg\", \"string\": \"Production Plan\", \"view\": \"multi_view\", \"model\": \"production.plan\", \"menu\": \"mfg_menu\", \"name\": \"production_plan\"}, \"receive_fg\": {\"module\": \"netforce_mfg\", \"view\": \"form_popup\", \"string\": \"Receive Finished Goods\", \"model\": \"production.order\", \"layout\": \"receive_fg\", \"target\": \"popup\", \"name\": \"receive_fg\"}, \"approve_barcode_receive_mfg\": {\"module\": \"netforce_mfg\", \"string\": \"Approve Received From Production\", \"view\": \"form_popup\", \"model\": \"approve.wizard\", \"approve_model\": \"barcode.receive.mfg\", \"approve_method\": \"approve\", \"target\": \"_popup\", \"name\": \"approve_barcode_receive_mfg\"}, \"print_report_safe_out\": {\"module\": \"netforce_mfg\", \"type\": \"report_odt2\", \"model\": \"barcode.safe.out\", \"template\": \"barcode_safe_out\", \"name\": \"print_report_safe_out\"}, \"production_qty_loss_approve_done\": {\"module\": \"netforce_mfg\", \"string\": \"Approve Production Order Qty Loss Completion\", \"view\": \"form_popup\", \"model\": \"approve.wizard\", \"approve_model\": \"production.order\", \"approve_method\": \"qty_loss_approve_done\", \"target\": \"_popup\", \"name\": \"production_qty_loss_approve_done\"}, \"prod_oper\": {\"module\": \"netforce_mfg\", \"view\": \"multi_view\", \"string\": \"Production Operations\", \"model\": \"production.operation\", \"menu\": \"mfg_menu\", \"name\": \"prod_oper\"}, \"adjust_rm\": {\"module\": \"netforce_mfg\", \"view\": \"form_popup\", \"string\": \"Adjust RM Issued Qty\", \"model\": \"production.order\", \"layout\": \"adjust_rm\", \"target\": \"popup\", \"name\": \"adjust_rm\"}, \"comp_to_pick_out\": {\"module\": \"netforce_mfg\", \"view_type\": \"collection\", \"model\": \"production.component\", \"condition\": \"[[\\\"order_id\\\",\\\"=\\\",order_id],[\\\"issue_method\\\",\\\"=\\\",\\\"manual\\\"]]\", \"template\": \"comp_to_pick_out\", \"name\": \"comp_to_pick_out\"}, \"report_bom_form\": {\"module\": \"netforce_mfg\", \"view\": \"form_popup\", \"string\": \"Print BoM\", \"model\": \"print.wizard\", \"print_model\": \"bom\", \"template\": \"bom_form\", \"template_format\": \"odt2\", \"custom_template_type\": \"bom\", \"target\": \"_popup\", \"name\": \"report_bom_form\"}, \"target\": {\"module\": \"netforce_marketing\", \"string\": \"Targets\", \"view_cls\": \"multi_view\", \"model\": \"mkt.target\", \"menu\": \"mkt_menu\", \"name\": \"target\"}, \"mkt_layout\": {\"module\": \"netforce_marketing\", \"view_cls\": \"nf_layout\", \"view_xml\": \"mkt_menu\", \"name\": \"mkt_layout\"}, \"mkt_activity\": {\"module\": \"netforce_marketing\", \"string\": \"Activities\", \"view_cls\": \"multi_view\", \"model\": \"mkt.activity\", \"menu\": \"mkt_menu\", \"name\": \"mkt_activity\"}, \"campaign\": {\"module\": \"netforce_marketing\", \"string\": \"Campaigns\", \"view_cls\": \"multi_view\", \"model\": \"mkt.campaign\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Active\\\",[[\\\"state\\\",\\\"=\\\",\\\"active\\\"]]],[\\\"Inactive\\\",[[\\\"state\\\",\\\"=\\\",\\\"inactive\\\"]]]]\", \"menu\": \"mkt_menu\", \"name\": \"campaign\"}, \"campaign_widget\": {\"module\": \"netforce_marketing\", \"name\": \"campaign_widget\", \"view_cls\": \"list_view\", \"model\": \"mkt.campaign\", \"condition\": \"[[\\\"state\\\",\\\"=\\\",\\\"active\\\"]]\", \"view_xml\": \"campaign_list\"}, \"target_list\": {\"module\": \"netforce_marketing\", \"string\": \"Target Lists\", \"view_cls\": \"multi_view\", \"model\": \"mkt.target.list\", \"menu\": \"mkt_menu\", \"name\": \"target_list\"}, \"mkt_board\": {\"module\": \"netforce_marketing\", \"view_cls\": \"board\", \"view_xml\": \"mkt_board\", \"menu\": \"mkt_menu\", \"name\": \"mkt_board\"}, \"room_reserve\": {\"module\": \"netforce_hr\", \"string\": \"Room Reservations\", \"view_cls\": \"multi_view\", \"model\": \"room.reserve\", \"tabs\": \"[\\n                    [\\\"All\\\",[]],\\n                    [\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],\\n                    [\\\"Awaiting Approval\\\",[[\\\"state\\\",\\\"=\\\",\\\"waiting_approval\\\"]]],\\n                    [\\\"Approved\\\",[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]]]]\\n    \", \"modes\": \"list,calendar,form\", \"menu\": \"hr_menu\", \"name\": \"room_reserve\"}, \"payroll_settings\": {\"module\": \"netforce_hr\", \"view_cls\": \"form_view\", \"model\": \"hr.payroll.settings\", \"active_id\": \"1\", \"menu\": \"hr_menu\", \"name\": \"payroll_settings\"}, \"report_pnd91_cover_pdf\": {\"module\": \"netforce_hr\", \"type\": \"report\", \"model\": \"report.pnd91\", \"method\": \"get_data_cover\", \"template\": \"pnd91_cover\", \"name\": \"report_pnd91_cover_pdf\"}, \"room\": {\"module\": \"netforce_hr\", \"string\": \"Rooms\", \"view_cls\": \"multi_view\", \"model\": \"room\", \"menu\": \"hr_menu\", \"name\": \"room\"}, \"hr_board\": {\"module\": \"netforce_hr\", \"name\": \"hr_board\", \"string\": \"HR Dashboard\", \"view_cls\": \"board\", \"view_xml\": \"hr_board\", \"menu\": \"hr_menu\"}, \"tax_profile\": {\"module\": \"netforce_hr\", \"string\": \"Tax Profile\", \"view_cls\": \"multi_view\", \"model\": \"hr.tax.profile\", \"menu\": \"hr_menu\", \"name\": \"tax_profile\"}, \"report_tax_detail\": {\"module\": \"netforce_hr\", \"type\": \"report_odt\", \"model\": \"hr.payslip\", \"method\": \"get_pit\", \"template\": \"payslip_pit\", \"name\": \"report_tax_detail\"}, \"report_provident_pdf\": {\"module\": \"netforce_hr\", \"type\": \"report\", \"model\": \"report.provident\", \"method\": \"get_data\", \"template\": \"provident\", \"name\": \"report_provident_pdf\"}, \"sso_regist_pdf\": {\"module\": \"netforce_hr\", \"type\": \"report\", \"model\": \"sso.regist\", \"method\": \"get_data\", \"template\": \"sso_regist\", \"name\": \"sso_regist_pdf\"}, \"report_bank\": {\"module\": \"netforce_hr\", \"type\": \"report\", \"model\": \"hr.payrun\", \"method\": \"get_bank_data\", \"template\": \"report_bank\", \"name\": \"report_bank\"}, \"holiday\": {\"module\": \"netforce_hr\", \"name\": \"holiday\", \"string\": \"Holidays\", \"view_cls\": \"multi_view\", \"model\": \"hr.holiday\", \"menu\": \"hr_menu\", \"modes\": \"list,calendar,page,form\"}, \"report_payslip_form\": {\"module\": \"netforce_hr\", \"type\": \"report_odt2\", \"model\": \"hr.payslip\", \"method\": \"get_data\", \"template\": \"payslip\", \"name\": \"report_payslip_form\"}, \"leave_type\": {\"module\": \"netforce_hr\", \"string\": \"Leave Types\", \"view_cls\": \"multi_view\", \"model\": \"hr.leave.type\", \"menu\": \"hr_menu\", \"modes\": \"list,page,form\", \"name\": \"leave_type\"}, \"report_wht50\": {\"module\": \"netforce_hr\", \"view_cls\": \"form_view\", \"model\": \"report.wht50\", \"menu\": \"hr_menu\", \"name\": \"report_wht50\"}, \"report_pnd1_cover_pdf\": {\"module\": \"netforce_hr\", \"type\": \"report\", \"model\": \"report.pnd1\", \"method\": \"get_data\", \"template\": \"pnd1_cover\", \"name\": \"report_pnd1_cover_pdf\"}, \"report_sso\": {\"module\": \"netforce_hr\", \"view_cls\": \"form_view\", \"model\": \"report.sso\", \"menu\": \"hr_menu\", \"name\": \"report_sso\"}, \"sso_quits_pdf\": {\"module\": \"netforce_hr\", \"type\": \"report\", \"model\": \"sso.quits\", \"method\": \"get_data\", \"template\": \"sso_quits\", \"name\": \"sso_quits_pdf\"}, \"report_pnd91_attach_pdf\": {\"module\": \"netforce_hr\", \"type\": \"report\", \"model\": \"report.pnd91\", \"method\": \"get_data_attach\", \"template\": \"pnd91_attach\", \"name\": \"report_pnd91_attach_pdf\"}, \"sso_quits\": {\"module\": \"netforce_hr\", \"view_cls\": \"form_view\", \"model\": \"sso.quits\", \"menu\": \"hr_menu\", \"name\": \"sso_quits\"}, \"sso_regist\": {\"module\": \"netforce_hr\", \"view_cls\": \"form_view\", \"model\": \"sso.regist\", \"menu\": \"hr_menu\", \"name\": \"sso_regist\"}, \"tax_year\": {\"module\": \"netforce_hr\", \"string\": \"Tax Year\", \"view_cls\": \"multi_view\", \"model\": \"hr.tax.year\", \"menu\": \"hr_menu\", \"name\": \"tax_year\"}, \"employee\": {\"module\": \"netforce_hr\", \"string\": \"Employees\", \"view_cls\": \"multi_view\", \"model\": \"hr.employee\", \"tabs\": \"[[\\\"All\\\",[[]]],[\\\"Archived\\\",[[\\\"active\\\",\\\"=\\\",false]]],[\\\"Working\\\",[[\\\"work_status\\\",\\\"=\\\",\\\"working\\\"]]],[\\\"Dismissed\\\",[[\\\"work_status\\\",\\\"=\\\",\\\"dismissed\\\"]]],[\\\"Resigned\\\",[[\\\"work_status\\\",\\\"=\\\",\\\"resigned\\\"]]],[\\\"Other\\\",[[\\\"work_status\\\",\\\"=\\\",\\\"died\\\"]]]]\", \"menu\": \"hr_menu\", \"name\": \"employee\"}, \"report_pnd1_kor_xls\": {\"module\": \"netforce_hr\", \"type\": \"report\", \"model\": \"report.pnd1.kor\", \"method\": \"get_data\", \"template\": \"report_pnd1_kor_excel\", \"name\": \"report_pnd1_kor_xls\"}, \"import_attend\": {\"module\": \"netforce_hr\", \"string\": \"Import Attendance\", \"view_cls\": \"form\", \"model\": \"hr.import.attendance\", \"menu\": \"hr_menu\", \"name\": \"import_attend\"}, \"report_pnd1_attach_pdf\": {\"module\": \"netforce_hr\", \"type\": \"report\", \"model\": \"report.pnd1\", \"method\": \"get_data\", \"template\": \"pnd1_attach\", \"name\": \"report_pnd1_attach_pdf\"}, \"contract\": {\"module\": \"netforce_hr\", \"string\": \"Contract\", \"view_cls\": \"multi_view\", \"model\": \"hr.contract\", \"tabs\": \"[[\\\"Active\\\",[]],[\\\"Archived\\\",[[\\\"active\\\",\\\"=\\\",false]]]]\", \"menu\": \"hr_menu\", \"name\": \"contract\"}, \"report_pnd1_kor_cover_pdf\": {\"module\": \"netforce_hr\", \"type\": \"report\", \"model\": \"report.pnd1.kor\", \"method\": \"get_data\", \"template\": \"pnd1_kor_cover\", \"name\": \"report_pnd1_kor_cover_pdf\"}, \"leave_widget\": {\"module\": \"netforce_hr\", \"view_cls\": \"list\", \"model\": \"hr.leave\", \"view_xml\": \"leave_widget\", \"limit\": \"10\", \"domain\": \"[[\\\"state\\\", \\\"=\\\", \\\"waiting_approval\\\"]]\", \"name\": \"leave_widget\"}, \"department\": {\"module\": \"netforce_hr\", \"string\": \"Departments\", \"view_cls\": \"multi_view\", \"model\": \"hr.department\", \"tabs\": \"[[\\\"Active\\\",[]],[\\\"Archived\\\",[[\\\"active\\\",\\\"=\\\",false]]]]\", \"menu\": \"hr_menu\", \"name\": \"department\"}, \"report_hr_expense_form\": {\"module\": \"netforce_hr\", \"type\": \"report_odt2\", \"model\": \"hr.expense\", \"template\": \"hr_expense\", \"name\": \"report_hr_expense_form\"}, \"attend_hist_widget\": {\"module\": \"netforce_hr\", \"view_cls\": \"chart_view\", \"model\": \"hr.report\", \"method\": \"get_attend_hist\", \"chart_type\": \"bar\", \"name\": \"attend_hist_widget\"}, \"attend_config\": {\"module\": \"netforce_hr\", \"string\": \"Attendance Config\", \"view_cls\": \"multi_view\", \"model\": \"hr.attendance.config\", \"menu\": \"hr_menu\", \"name\": \"attend_config\"}, \"report_provident\": {\"module\": \"netforce_hr\", \"view_cls\": \"form_view\", \"model\": \"report.provident\", \"menu\": \"hr_menu\", \"name\": \"report_provident\"}, \"payitem_profile\": {\"module\": \"netforce_hr\", \"string\": \"Pay Item Profiles\", \"view_cls\": \"multi_view\", \"model\": \"hr.payitem.profile\", \"menu\": \"hr_menu\", \"name\": \"payitem_profile\"}, \"report_attendance_summary\": {\"module\": \"netforce_hr\", \"string\": \"Attendance Summary\", \"view_cls\": \"report\", \"model\": \"report.attendance.summary\", \"report_template\": \"report_attendance_summary\", \"report_template_xls\": \"report_attendance_summary\", \"menu\": \"hr_menu\", \"name\": \"report_attendance_summary\"}, \"report_pnd1\": {\"module\": \"netforce_hr\", \"view_cls\": \"form_view\", \"model\": \"report.pnd1\", \"menu\": \"hr_menu\", \"name\": \"report_pnd1\"}, \"report_payroll_summary\": {\"module\": \"netforce_hr\", \"string\": \"Payroll Summary\", \"view_cls\": \"report\", \"model\": \"report.payroll.summary\", \"template\": \"report_payroll_summary\", \"template_xls\": \"report_payroll_summary\", \"menu\": \"hr_menu\", \"name\": \"report_payroll_summary\"}, \"leave\": {\"module\": \"netforce_hr\", \"name\": \"leave\", \"string\": \"Leave Request\", \"view_cls\": \"multi_view\", \"model\": \"hr.leave\", \"tabs\": \"[\\n                    [\\\"All\\\",[]],\\n                    [\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],\\n                    [\\\"Awaiting Approval\\\",[[\\\"state\\\",\\\"=\\\",\\\"waiting_approval\\\"]]],\\n                    [\\\"Approved\\\",[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]]],\\n                    [\\\"Rejected\\\",[[\\\"state\\\",\\\"=\\\",\\\"rejected\\\"]]]]\\n    \", \"menu\": \"hr_menu\", \"modes\": \"list,calendar,form\", \"limit\": \"25\"}, \"report_pnd91\": {\"module\": \"netforce_hr\", \"view_cls\": \"form_view\", \"model\": \"report.pnd91\", \"menu\": \"hr_menu\", \"name\": \"report_pnd91\"}, \"report_pnd1_kor_attach_pdf\": {\"module\": \"netforce_hr\", \"type\": \"report\", \"model\": \"report.pnd1.kor\", \"method\": \"get_data\", \"template\": \"pnd1_kor_attach\", \"name\": \"report_pnd1_kor_attach_pdf\"}, \"payslip_template\": {\"module\": \"netforce_hr\", \"string\": \"Payslip Templates\", \"view_cls\": \"multi_view\", \"model\": \"hr.payslip.template\", \"menu\": \"hr_menu\", \"name\": \"payslip_template\"}, \"payslip\": {\"module\": \"netforce_hr\", \"string\": \"Pay Slips\", \"view_cls\": \"multi_view\", \"model\": \"hr.payslip\", \"tabs\": \"[\\n        [\\\"All\\\",[]],\\n        [\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],\\n        [\\\"Approved\\\",[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]]],\\n        [\\\"Paid\\\",[[\\\"state\\\",\\\"=\\\",\\\"paid\\\"]]],\\n        [\\\"Posted\\\",[[\\\"state\\\",\\\"=\\\",\\\"posted\\\"]]]\\n        ]\", \"menu\": \"hr_menu\", \"name\": \"payslip\"}, \"payrun_journal\": {\"module\": \"netforce_hr\", \"string\": \"Preview Journal Entry\", \"view_cls\": \"form_popup\", \"model\": \"hr.payrun.journal\", \"target\": \"_popup\", \"name\": \"payrun_journal\"}, \"hr_notification\": {\"module\": \"netforce_hr\", \"view_cls\": \"form_view\", \"model\": \"hr.notification\", \"active_id\": \"1\", \"menu\": \"hr_menu\", \"name\": \"hr_notification\"}, \"payslip_journal\": {\"module\": \"netforce_hr\", \"string\": \"Preview Journal Entry\", \"view_cls\": \"form_popup\", \"model\": \"hr.payslip.journal\", \"target\": \"_popup\", \"name\": \"payslip_journal\"}, \"attend_widget\": {\"module\": \"netforce_hr\", \"view_cls\": \"list\", \"model\": \"hr.employee\", \"domain\": \"[[\\\"work_status\\\",\\\"=\\\",\\\"working\\\"]]\", \"view_xml\": \"attend_widget\", \"name\": \"attend_widget\"}, \"payitem\": {\"module\": \"netforce_hr\", \"string\": \"Pay Items\", \"view_cls\": \"multi_view\", \"model\": \"hr.payitem\", \"tabs\": \"[[\\\"Active\\\",[]],\\n                        [\\\"Archived\\\",[[\\\"active\\\",\\\"=\\\",false]]],\\n                        [\\\"Show Default\\\",[[\\\"show_default\\\",\\\"=\\\",true]]]\\n                        ]\", \"menu\": \"hr_menu\", \"name\": \"payitem\"}, \"print_payslip2\": {\"module\": \"netforce_hr\", \"view\": \"print_wizard\", \"model\": \"hr.payslip\", \"menu\": \"hr_menu\", \"name\": \"print_payslip2\"}, \"attend\": {\"module\": \"netforce_hr\", \"string\": \"Attendance\", \"view_cls\": \"multi_view\", \"model\": \"hr.attendance\", \"menu\": \"hr_menu\", \"name\": \"attend\"}, \"report_pnd1_xls\": {\"module\": \"netforce_hr\", \"type\": \"report\", \"model\": \"report.pnd1\", \"method\": \"get_data\", \"template\": \"report_pnd1_excel\", \"name\": \"report_pnd1_xls\"}, \"report_wht50_pdf\": {\"module\": \"netforce_hr\", \"type\": \"report\", \"model\": \"report.wht50\", \"method\": \"get_data\", \"template\": \"wht50\", \"name\": \"report_wht50_pdf\"}, \"leave_period\": {\"module\": \"netforce_hr\", \"string\": \"Leave Periods\", \"view_cls\": \"multi_view\", \"model\": \"hr.leave.period\", \"menu\": \"hr_menu\", \"modes\": \"list,form\", \"name\": \"leave_period\"}, \"payrun\": {\"module\": \"netforce_hr\", \"string\": \"Pay Runs\", \"view_cls\": \"multi_view\", \"model\": \"hr.payrun\", \"menu\": \"hr_menu\", \"tabs\": \"[\\n        [\\\"All\\\",[]],\\n        [\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],\\n        [\\\"Approved\\\",[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]]],\\n        [\\\"Paid\\\",[[\\\"state\\\",\\\"=\\\",\\\"paid\\\"]]],\\n        [\\\"Posted\\\",[[\\\"state\\\",\\\"=\\\",\\\"posted\\\"]]]\\n        ]\", \"name\": \"payrun\"}, \"sso_regist_cover_pdf\": {\"module\": \"netforce_hr\", \"type\": \"report\", \"model\": \"sso.regist\", \"method\": \"get_data\", \"template\": \"sso_regist_cover\", \"name\": \"sso_regist_cover_pdf\"}, \"print_expense_claim\": {\"module\": \"netforce_hr\", \"view\": \"form_popup\", \"string\": \"Print Expense Claim\", \"model\": \"print.wizard\", \"target\": \"popup\", \"context\": \"{\\\"model\\\":\\\"hr.expense.claim\\\",\\\"template_type\\\":\\\"expense_claim\\\"}\", \"name\": \"print_expense_claim\"}, \"hr_schedule\": {\"module\": \"netforce_hr\", \"string\": \"Work Schedules\", \"view_cls\": \"multi_view\", \"model\": \"hr.schedule\", \"menu\": \"hr_menu\", \"name\": \"hr_schedule\"}, \"print_payslip\": {\"module\": \"netforce_hr\", \"view\": \"form_popup\", \"string\": \"Print Payslip\", \"model\": \"print.wizard\", \"target\": \"popup\", \"context\": \"{\\\"model\\\":\\\"hr.payslip\\\",\\\"template_type\\\":\\\"pay_slip\\\",\\\"method\\\":\\\"get_data\\\"}\", \"name\": \"print_payslip\"}, \"report_leave_summary\": {\"module\": \"netforce_hr\", \"string\": \"Leave Analysis\", \"view_cls\": \"report\", \"model\": \"hr.leave\", \"group_fields\": \"employee_id\", \"group_select\": \"employee_id,leave_type_id,period_id,state\", \"menu\": \"hr_menu\", \"sum_fields\": \"days_requested\", \"view_search_xml\": \"leave_search\", \"view_xml\": \"leave_list_report\", \"name\": \"report_leave_summary\"}, \"report_payslip_tax\": {\"module\": \"netforce_hr\", \"type\": \"report_odt\", \"model\": \"hr.payslip\", \"method\": \"get_pit\", \"template\": \"payslip_pit\", \"name\": \"report_payslip_tax\"}, \"report_sso_cover_pdf\": {\"module\": \"netforce_hr\", \"type\": \"report\", \"model\": \"report.sso\", \"method\": \"get_data\", \"template\": \"sso_cover\", \"name\": \"report_sso_cover_pdf\"}, \"report_sso_attach_pdf\": {\"module\": \"netforce_hr\", \"type\": \"report\", \"model\": \"report.sso\", \"method\": \"get_data\", \"template\": \"sso_attach\", \"name\": \"report_sso_attach_pdf\"}, \"report_sso_xls\": {\"module\": \"netforce_hr\", \"type\": \"report\", \"model\": \"report.sso\", \"method\": \"get_data\", \"template\": \"report_sso_excel\", \"name\": \"report_sso_xls\"}, \"report_provident_xls\": {\"module\": \"netforce_hr\", \"type\": \"report\", \"model\": \"report.provident\", \"method\": \"get_data\", \"template\": \"report_provident_excel\", \"name\": \"report_provident_xls\"}, \"payslip_tax\": {\"module\": \"netforce_hr\", \"string\": \"Payslip Tax\", \"view_cls\": \"multi_view\", \"model\": \"hr.payslip.tax\", \"menu\": \"hr_menu\", \"name\": \"payslip_tax\"}, \"print_slip\": {\"module\": \"netforce_hr\", \"type\": \"report_odt2\", \"model\": \"hr.payrun\", \"method\": \"get_data\", \"template\": \"payslip\", \"name\": \"print_slip\"}, \"report_leave\": {\"module\": \"netforce_hr\", \"string\": \"Leave Analysis\", \"view_cls\": \"report\", \"model\": \"hr.leave\", \"group_fields\": \"employee_id\", \"group_select\": \"employee_id,leave_type_id,period_id,state\", \"menu\": \"hr_menu\", \"sum_fields\": \"days_requested\", \"view_search_xml\": \"leave_search\", \"view_xml\": \"leave_list_report\", \"name\": \"report_leave\"}, \"report_pnd1_kor\": {\"module\": \"netforce_hr\", \"view_cls\": \"form_view\", \"model\": \"report.pnd1.kor\", \"menu\": \"hr_menu\", \"name\": \"report_pnd1_kor\"}, \"upload_folder\": {\"module\": \"netforce_document\", \"string\": \"Upload Folder\", \"view\": \"upload_folder\", \"menu\": \"doc_menu\", \"name\": \"upload_folder\"}, \"doc_tmpl\": {\"module\": \"netforce_document\", \"name\": \"doc_tmpl\", \"string\": \"Document Templates\", \"view\": \"multi_view\", \"model\": \"document.tmpl\", \"menu\": \"doc_menu\"}, \"doc_expiring_widget\": {\"module\": \"netforce_document\", \"name\": \"doc_expiring_widget\", \"view\": \"list\", \"model\": \"document\", \"condition\": \"[[\\\"expiring_soon\\\",\\\"=\\\",true]]\", \"layout\": \"doc_expiring_list\", \"order\": \"expiry_date\"}, \"folder\": {\"module\": \"netforce_document\", \"string\": \"Folders\", \"view\": \"multi_view\", \"model\": \"folder\", \"menu\": \"doc_menu\", \"name\": \"folder\"}, \"doc_doc\": {\"module\": \"netforce_document\", \"name\": \"doc_doc\", \"string\": \"Documents\", \"view\": \"multi_view\", \"model\": \"document\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Verified\\\",[[\\\"state\\\",\\\"=\\\",\\\"verified\\\"]]],[\\\"Archived\\\",[[\\\"active\\\",\\\"=\\\",false]]]]\", \"search_condition\": \"[]\", \"menu\": \"doc_menu\"}, \"reminder\": {\"module\": \"netforce_document\", \"view\": \"multi_view\", \"string\": \"Reminders\", \"model\": \"reminder\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Pending\\\",[[\\\"state\\\",\\\"=\\\",\\\"pending\\\"]]],[\\\"Sent\\\",[[\\\"state\\\",\\\"=\\\",\\\"sent\\\"]]]]\", \"menu\": \"doc_menu\", \"name\": \"reminder\"}, \"doc_categ_widget\": {\"module\": \"netforce_document\", \"name\": \"doc_categ_widget\", \"view\": \"chart\", \"model\": \"doc.report\", \"method\": \"get_docs_per_categ\", \"chart_type\": \"bar\", \"height\": \"200\"}, \"doc_categ\": {\"module\": \"netforce_document\", \"name\": \"doc_categ\", \"string\": \"Document Categories\", \"view\": \"multi_view\", \"model\": \"document.categ\", \"menu\": \"doc_menu\"}, \"doc_board\": {\"module\": \"netforce_document\", \"string\": \"Document Dashboard\", \"view\": \"board\", \"layout\": \"doc_board\", \"menu\": \"doc_menu\", \"name\": \"doc_board\"}, \"web_edit\": {\"module\": \"netforce_cms\", \"view\": \"web_edit\", \"name\": \"web_edit\"}, \"visitor_action\": {\"module\": \"netforce_cms\", \"string\": \"Actions\", \"view\": \"multi_view\", \"model\": \"visitor.action\", \"menu\": \"cms_menu\", \"name\": \"visitor_action\"}, \"cms_settings\": {\"module\": \"netforce_cms\", \"string\": \"Website Settings\", \"view\": \"form_view\", \"model\": \"cms.settings\", \"active_id\": \"1\", \"menu\": \"cms_menu\", \"name\": \"cms_settings\"}, \"url_rewrite\": {\"module\": \"netforce_cms\", \"string\": \"Rewrite Rules\", \"view\": \"multi_view\", \"model\": \"url.rewrite\", \"menu\": \"cms_menu\", \"name\": \"url_rewrite\"}, \"theme_file\": {\"module\": \"netforce_cms\", \"string\": \"Static Files\", \"view\": \"multi_view\", \"model\": \"theme.file\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"HTML\\\",[[\\\"name\\\",\\\"like\\\",\\\".html\\\"]]],[\\\"JS\\\",[[\\\"name\\\",\\\"like\\\",\\\".js\\\"]]],[\\\"CSS\\\",[[\\\"name\\\",\\\"like\\\",\\\".css\\\"]]],[\\\"Images\\\",[\\\"or\\\",[\\\"name\\\",\\\"like\\\",\\\".png\\\"],[\\\"name\\\",\\\"like\\\",\\\".jpg\\\"],[\\\"name\\\",\\\"like\\\",\\\".svg\\\"]]],[\\\"Fonts\\\",[\\\"or\\\",[\\\"name\\\",\\\"ilike\\\",\\\"woff\\\"],[\\\"name\\\",\\\"ilike\\\",\\\"woff2\\\"],[\\\"name\\\",\\\"ilike\\\",\\\"eot\\\"]]]]\", \"menu\": \"cms_menu\", \"name\": \"theme_file\"}, \"linklist\": {\"module\": \"netforce_cms\", \"string\": \"Link Lists\", \"view\": \"multi_view\", \"model\": \"cms.linklist\", \"menu\": \"cms_menu\", \"name\": \"linklist\"}, \"el_group\": {\"module\": \"netforce_cms\", \"string\": \"Element Groups\", \"view\": \"multi_view\", \"model\": \"el.group\", \"menu\": \"cms_menu\", \"name\": \"el_group\"}, \"website\": {\"module\": \"netforce_cms\", \"string\": \"Websites\", \"view\": \"multi_view\", \"model\": \"website\", \"menu\": \"cms_menu\", \"name\": \"website\"}, \"render_page\": {\"module\": \"netforce_cms\", \"view\": \"page_render\", \"name\": \"render_page\"}, \"visitor\": {\"module\": \"netforce_cms\", \"string\": \"Visitors\", \"view\": \"multi_view\", \"model\": \"visitor\", \"menu\": \"cms_menu\", \"name\": \"visitor\"}, \"page_group\": {\"module\": \"netforce_cms\", \"string\": \"Page Group\", \"view\": \"multi_view\", \"model\": \"page.group\", \"menu\": \"cms_menu\", \"name\": \"page_group\"}, \"component\": {\"module\": \"netforce_cms\", \"string\": \"Components\", \"view\": \"multi_view\", \"model\": \"theme.component\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Server\\\",[[\\\"type\\\",\\\"=\\\",\\\"server\\\"]]],[\\\"Browser\\\",[[\\\"type\\\",\\\"=\\\",\\\"browser\\\"]]],[\\\"Mobile\\\",[[\\\"type\\\",\\\"=\\\",\\\"mobile\\\"]]]]\", \"menu\": \"cms_menu\", \"name\": \"component\"}, \"blog\": {\"module\": \"netforce_cms\", \"string\": \"Blogs\", \"view\": \"multi_view\", \"model\": \"cms.blog\", \"menu\": \"cms_menu\", \"name\": \"blog\"}, \"page_layout\": {\"module\": \"netforce_cms\", \"string\": \"Page Layout\", \"view\": \"multi_view\", \"model\": \"page.layout\", \"menu\": \"cms_menu\", \"name\": \"page_layout\"}, \"page_builder\": {\"module\": \"netforce_cms\", \"string\": \"Page Builder\", \"view\": \"page_builder\", \"menu\": \"cms_menu\", \"name\": \"page_builder\"}, \"blog_post\": {\"module\": \"netforce_cms\", \"string\": \"Blog Posts\", \"view\": \"multi_view\", \"model\": \"cms.blog.post\", \"menu\": \"cms_menu\", \"name\": \"blog_post\"}, \"page\": {\"module\": \"netforce_cms\", \"string\": \"Pages\", \"view\": \"multi_view\", \"model\": \"cms.page\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Active\\\",[[\\\"state\\\",\\\"=\\\",\\\"active\\\"]]],[\\\"Inactive\\\",[[\\\"state\\\",\\\"=\\\",\\\"inactive\\\"]]]]\", \"menu\": \"cms_menu\", \"name\": \"page\"}, \"visitors_per_day\": {\"module\": \"netforce_cms\", \"view_cls\": \"chart\", \"model\": \"visitor.action\", \"method\": \"get_visitors_per_day\", \"chart_type\": \"area\", \"x_type\": \"datetime\", \"height\": \"150\", \"name\": \"visitors_per_day\"}, \"cms_block\": {\"module\": \"netforce_cms\", \"string\": \"Blocks\", \"view\": \"multi_view\", \"model\": \"cms.block\", \"menu\": \"cms_menu\", \"name\": \"cms_block\"}, \"cms_board\": {\"module\": \"netforce_cms\", \"name\": \"cms_board\", \"string\": \"Website Dashboard\", \"view\": \"board\", \"layout\": \"cms_board\", \"menu\": \"cms_menu\"}, \"template\": {\"module\": \"netforce_cms\", \"string\": \"Templates\", \"view\": \"multi_view\", \"model\": \"template\", \"menu\": \"cms_menu\", \"name\": \"template\"}, \"theme\": {\"module\": \"netforce_cms\", \"string\": \"Themes\", \"view\": \"multi_view\", \"model\": \"theme\", \"menu\": \"cms_menu\", \"name\": \"theme\"}, \"url\": {\"module\": \"netforce_cms\", \"type\": \"url\", \"name\": \"url\"}, \"screen_designer\": {\"module\": \"netforce_cms\", \"view\": \"screen_designer\", \"menu\": \"cms_menu\", \"name\": \"screen_designer\"}, \"screen\": {\"module\": \"netforce_cms\", \"string\": \"Screens\", \"view\": \"multi_view\", \"model\": \"screen\", \"menu\": \"cms_menu\", \"name\": \"screen\"}, \"page_render\": {\"module\": \"netforce_cms\", \"view\": \"page_render\", \"no_login\": \"1\", \"name\": \"page_render\"}, \"form_data\": {\"module\": \"netforce_cms\", \"string\": \"Form Submissions\", \"view\": \"multi_view\", \"model\": \"form.data\", \"menu\": \"cms_menu\", \"name\": \"form_data\"}, \"page_style\": {\"module\": \"netforce_cms\", \"string\": \"Page Styles\", \"view\": \"multi_view\", \"model\": \"page.style\", \"menu\": \"cms_menu\", \"name\": \"page_style\"}, \"import_theme_zip\": {\"module\": \"netforce_cms\", \"string\": \"Import Theme ZIP File\", \"view\": \"form_popup\", \"model\": \"import.theme.zip\", \"target\": \"popup\", \"name\": \"import_theme_zip\"}, \"visitor_session\": {\"module\": \"netforce_cms\", \"string\": \"Sessions\", \"view\": \"multi_view\", \"model\": \"visitor.session\", \"menu\": \"cms_menu\", \"name\": \"visitor_session\"}, \"cms_customer_message\": {\"module\": \"netforce_cms\", \"string\": \"Customer Message\", \"view\": \"multi_view\", \"model\": \"cms.customer.message\", \"menu\": \"cms_menu\", \"name\": \"cms_customer_message\"}, \"ecom2_cart\": {\"module\": \"netforce_ecom2\", \"string\": \"Carts\", \"view\": \"list_container\", \"model\": \"ecom2.cart\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Confirmed\\\",[[\\\"state\\\",\\\"=\\\",\\\"confirmed\\\"]]],[\\\"Canceled\\\",[[\\\"state\\\",\\\"=\\\",\\\"canceled\\\"]]]]\", \"menu\": \"ecom2_menu\", \"name\": \"ecom2_cart\"}, \"report_cart_form\": {\"module\": \"netforce_ecom2\", \"view\": \"print_wizard2\", \"model\": \"ecom2.cart\", \"menu\": \"ecom2_menu\", \"name\": \"report_cart_form\"}, \"fulfillment_bill\": {\"module\": \"netforce_ecom2\", \"string\": \"3PL Billing\", \"view\": \"multi_view\", \"model\": \"fulfillment.bill\", \"list_layout\": \"fulfillment_bill_list\", \"form_layout\": \"fulfillment_bill_form\", \"model_string\": \"Fulfillment Billing\", \"modes\": \"list,form,calendar\", \"menu\": \"ecom2_menu\", \"name\": \"fulfillment_bill\"}, \"report_fulfillment_bill_form3\": {\"module\": \"netforce_ecom2\", \"view\": \"print_wizard2\", \"model\": \"fulfillment.bill\", \"menu\": \"ecom2_menu\", \"name\": \"report_fulfillment_bill_form3\"}, \"ecom2_board\": {\"module\": \"netforce_ecom2\", \"string\": \"Ecommerce Dashboard\", \"view\": \"board\", \"layout\": \"ecom2_board\", \"menu\": \"ecom2_menu\", \"name\": \"ecom2_board\"}, \"ecom2_settings\": {\"module\": \"netforce_ecom2\", \"view\": \"form_view\", \"model\": \"ecom2.settings\", \"active_id\": \"1\", \"layout\": \"ecom2_settings\", \"menu\": \"ecom2_menu\", \"name\": \"ecom2_settings\"}, \"bill_credit_card\": {\"module\": \"netforce_addon\", \"view\": \"list\", \"model\": \"bill.credit.card\", \"name\": \"bill_credit_card\"}, \"addon\": {\"module\": \"netforce_addon\", \"view\": \"list_container\", \"string\": \"Addons\", \"model\": \"addon\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Installed\\\",[[\\\"state\\\",\\\"=\\\",\\\"installed\\\"]]],[\\\"Not Installed\\\",[[\\\"state\\\",\\\"=\\\",\\\"not_installed\\\"]]]]\", \"menu\": \"addon_menu\", \"name\": \"addon\"}, \"billing\": {\"module\": \"netforce_addon\", \"view\": \"page\", \"model\": \"settings\", \"active_id\": \"1\", \"layout\": \"billing\", \"menu\": \"addon_menu\", \"name\": \"billing\"}, \"price_plan\": {\"module\": \"netforce_addon\", \"view\": \"list_container\", \"string\": \"Price Plans\", \"model\": \"price.plan\", \"menu\": \"addon_menu\", \"name\": \"price_plan\"}, \"change_price_plan\": {\"module\": \"netforce_addon\", \"view\": \"form_popup\", \"string\": \"Change Price Plan\", \"model\": \"settings\", \"active_id\": \"1\", \"layout\": \"change_price_plan\", \"target\": \"popup\", \"name\": \"change_price_plan\"}, \"bill_period\": {\"module\": \"netforce_addon\", \"view\": \"list\", \"model\": \"bill.period\", \"name\": \"bill_period\"}, \"pos_product_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Sell Products\", \"model\": \"product\", \"mode\": \"grid\", \"grid_layout\": \"pos_product_m\", \"condition\": \"[[\\\"publish_pos\\\",\\\"=\\\",true]]\", \"sub_action\": \"pos_cart_m\", \"split_ratio\": \"0.6\", \"name\": \"pos_product_m\"}, \"sale_prod_categ_widget_m\": {\"module\": \"netforce_mobile\", \"view\": \"chart_m\", \"model\": \"report.sale\", \"method\": \"sales_per_product_categ\", \"chart_type\": \"pie\", \"height\": \"150\", \"name\": \"sale_prod_categ_widget_m\"}, \"opport_lost_m\": {\"module\": \"netforce_mobile\", \"view\": \"form_m\", \"no_save\": \"1\", \"title\": \"Lost Sales Opportunity\", \"model\": \"sale.opportunity\", \"layout\": \"opport_lost_m\", \"target\": \"sub_action\", \"name\": \"opport_lost_m\"}, \"stock_count_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Stock Counts\", \"model\": \"stock.count\", \"menu\": \"main_menu_m\", \"name\": \"stock_count_m\"}, \"email_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Email Messages\", \"model\": \"email.message\", \"menu\": \"main_menu_m\", \"name\": \"email_m\"}, \"aln_job_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Jobs\", \"model\": \"aln.job\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Pending\\\",[[\\\"state\\\",\\\"=\\\",\\\"pending\\\"]]],[\\\"Disposed\\\",[[\\\"state\\\",\\\"=\\\",\\\"disposed\\\"]]]]\", \"menu\": \"main_menu_m\", \"name\": \"aln_job_m\"}, \"lead_refer_m\": {\"module\": \"netforce_mobile\", \"view\": \"form_m\", \"no_save\": \"1\", \"title\": \"Refer Lead\", \"model\": \"sale.lead\", \"layout\": \"lead_refer_m\", \"target\": \"sub_action\", \"name\": \"lead_refer_m\"}, \"sup_inv_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Supplier Invoices\", \"model\": \"account.invoice\", \"condition\": \"[[\\\"type\\\",\\\"=\\\",\\\"in\\\"]]\", \"tabs\": \"[[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Waiting Payment\\\",[[\\\"state\\\",\\\"=\\\",\\\"waiting_payment\\\"]]],[\\\"Paid\\\",[[\\\"state\\\",\\\"=\\\",\\\"paid\\\"]]]]\", \"menu\": \"main_menu_m\", \"name\": \"sup_inv_m\"}, \"opport_cancel_m\": {\"module\": \"netforce_mobile\", \"view\": \"form_m\", \"title\": \"Cancel Sales Opportunity\", \"model\": \"sale.opportunity\", \"layout\": \"opport_cancel_m\", \"target\": \"sub_action\", \"no_save\": \"1\", \"name\": \"opport_cancel_m\"}, \"stock_balance_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Stock Balances\", \"model\": \"stock.balance\", \"menu\": \"main_menu_m\", \"name\": \"stock_balance_m\"}, \"pick_in_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Receive From Supplier\", \"model\": \"stock.picking\", \"condition\": \"[[\\\"journal_id.type\\\",\\\"=\\\",\\\"in\\\"]]\", \"tabs\": \"[[\\\"Planned\\\",[[\\\"state\\\",\\\"in\\\",[\\\"pending\\\",\\\"approved\\\"]]]],[\\\"QC Checked\\\",[[\\\"state\\\",\\\"=\\\",\\\"qc_checked\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"form_layout\": \"pick_in_form_m\", \"context\": \"{\\\"pick_type\\\":\\\"in\\\"}\", \"menu\": \"main_menu_m\", \"name\": \"pick_in_m\"}, \"pos_cart_view_m\": {\"module\": \"netforce_mobile\", \"view\": \"form_m\", \"model\": \"ecom2.cart\", \"layout\": \"pos_cart_m\", \"readonly\": \"1\", \"cookie_active_id\": \"cart_id\", \"name\": \"pos_cart_view_m\"}, \"pos_cart_summary_m\": {\"module\": \"netforce_mobile\", \"view\": \"form_m\", \"model\": \"ecom2.cart\", \"layout\": \"pos_cart_summary_m\", \"cookie_active_id\": \"cart_id\", \"name\": \"pos_cart_summary_m\"}, \"aln_board_m\": {\"module\": \"netforce_mobile\", \"view\": \"aln_timeline_m\", \"menu\": \"main_menu_m\", \"name\": \"aln_board_m\"}, \"pick_out_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Pack For Customer\", \"model\": \"stock.picking\", \"condition\": \"[[\\\"journal_id.type\\\",\\\"=\\\",\\\"out\\\"]]\", \"tabs\": \"[[\\\"Planned\\\",[[\\\"state\\\",\\\"in\\\",[\\\"pending\\\",\\\"approved\\\"]]]],[\\\"QC Checked\\\",[[\\\"state\\\",\\\"=\\\",\\\"qc_checked\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"form_layout\": \"pick_out_form_m\", \"context\": \"{\\\"pick_type\\\":\\\"out\\\"}\", \"menu\": \"main_menu_m\", \"name\": \"pick_out_m\"}, \"purchase_order_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Purchase Orders\", \"model\": \"purchase.order\", \"tabs\": \"[[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Confirmed\\\",[[\\\"state\\\",\\\"=\\\",\\\"confirmed\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"menu\": \"main_menu_m\", \"name\": \"purchase_order_m\"}, \"pick_validate_line\": {\"module\": \"netforce_mobile\", \"view\": \"form_m\", \"title\": \"Validate Item\", \"model\": \"pick.validate.line\", \"layout\": \"pick_validate_line_m\", \"target\": \"sub_action\", \"name\": \"pick_validate_line\"}, \"contact_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Contacts\", \"model\": \"contact\", \"menu\": \"main_menu_m\", \"name\": \"contact_m\"}, \"document_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Documents\", \"model\": \"document\", \"menu\": \"main_menu_m\", \"name\": \"document_m\"}, \"sale_day_widget_m\": {\"module\": \"netforce_mobile\", \"view\": \"chart_m\", \"model\": \"report.sale\", \"method\": \"get_sales_per_day\", \"chart_type\": \"multi_line\", \"height\": \"150\", \"name\": \"sale_day_widget_m\"}, \"payment_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Payments\", \"model\": \"account.payment\", \"menu\": \"main_menu_m\", \"name\": \"payment_m\"}, \"opport_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Opportunities\", \"model\": \"sale.opportunity\", \"tabs\": \"[[\\\"Open\\\",[[\\\"state\\\",\\\"=\\\",\\\"open\\\"]]],[\\\"Paused\\\",[[\\\"state\\\",\\\"=\\\",\\\"paused\\\"]]],[\\\"Won\\\",[[\\\"state\\\",\\\"=\\\",\\\"won\\\"]]],[\\\"Canceled\\\",[[\\\"state\\\",\\\"=\\\",\\\"canceled\\\"]]],[\\\"Lost\\\",[[\\\"state\\\",\\\"=\\\",\\\"lost\\\"]]]]\", \"menu\": \"main_menu_m\", \"name\": \"opport_m\"}, \"sale_board_m\": {\"module\": \"netforce_mobile\", \"view\": \"board_m\", \"title\": \"Sales Dashboard\", \"layout\": \"sale_board_m\", \"menu\": \"main_menu_m\", \"name\": \"sale_board_m\"}, \"lead_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Leads\", \"model\": \"sale.lead\", \"tabs\": \"[[\\\"New\\\",[[\\\"state\\\",\\\"=\\\",\\\"new\\\"]]],[\\\"Converted\\\",[[\\\"state\\\",\\\"=\\\",\\\"converted\\\"]]],[\\\"Referred\\\",[[\\\"state\\\",\\\"=\\\",\\\"referred\\\"]]],[\\\"Voided\\\",[[\\\"state\\\",\\\"=\\\",\\\"voided\\\"]]]]\", \"menu\": \"main_menu_m\", \"name\": \"lead_m\"}, \"project_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Projects\", \"model\": \"project\", \"menu\": \"main_menu_m\", \"name\": \"project_m\"}, \"employee_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Employees\", \"model\": \"hr.employee\", \"menu\": \"main_menu_m\", \"name\": \"employee_m\"}, \"visitor_action_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Actions\", \"model\": \"visitor.action\", \"menu\": \"main_menu_m\", \"name\": \"visitor_action_m\"}, \"visitor_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Visitors\", \"model\": \"visitor\", \"menu\": \"main_menu_m\", \"name\": \"visitor_m\"}, \"product_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Products\", \"model\": \"product\", \"menu\": \"main_menu_m\", \"name\": \"product_m\"}, \"expense_claim_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Expense Claims\", \"model\": \"hr.expense.claim\", \"menu\": \"main_menu_m\", \"name\": \"expense_claim_m\"}, \"aln_doc_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Documents\", \"model\": \"aln.doc\", \"tabs\": \"[[\\\"Upload Req.\\\",[[\\\"state\\\",\\\"=\\\",\\\"upload_request\\\"]]],[\\\"Sign. Req.\\\",[[\\\"state\\\",\\\"=\\\",\\\"sign_request\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"menu\": \"main_menu_m\", \"name\": \"aln_doc_m\"}, \"stock_transfer_m\": {\"module\": \"netforce_mobile\", \"view\": \"form_m\", \"title\": \"Transfer Lot\", \"model\": \"stock.transfer\", \"layout\": \"stock_transfer_m\", \"target\": \"sub_action\", \"name\": \"stock_transfer_m\"}, \"transform_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Product Transforms\", \"model\": \"stock.transform\", \"tabs\": \"[[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]],[\\\"All\\\",[]]]\", \"menu\": \"main_menu_m\", \"name\": \"transform_m\"}, \"leave_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Leave Requests\", \"model\": \"hr.leave\", \"menu\": \"main_menu_m\", \"name\": \"leave_m\"}, \"cart_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Carts\", \"model\": \"ecom2.cart\", \"menu\": \"main_menu_m\", \"name\": \"cart_m\"}, \"deliv_order_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Delivery Orders\", \"model\": \"nd.order\", \"tabs\": \"[[\\\"Today\\\",[[\\\"today\\\",\\\"=\\\",\\\"true\\\"]]],[\\\"Tomorrow\\\",[[\\\"today_p1\\\",\\\"=\\\",true]]],[\\\"All\\\",[[]]]]\", \"menu\": \"main_menu_m\", \"name\": \"deliv_order_m\"}, \"activity_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Sales Activities\", \"model\": \"activity\", \"tabs\": \"[[\\\"Planned\\\",[[\\\"state\\\",\\\"!=\\\",\\\"done\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"menu\": \"main_menu_m\", \"name\": \"activity_m\"}, \"pick_out_return_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Return To Supplier\", \"model\": \"stock.picking\", \"condition\": \"[[\\\"journal_id.type\\\",\\\"=\\\",\\\"out_return\\\"]]\", \"tabs\": \"[[\\\"Planned\\\",[[\\\"state\\\",\\\"in\\\",[\\\"pending\\\",\\\"approved\\\"]]]],[\\\"QC Checked\\\",[[\\\"state\\\",\\\"=\\\",\\\"qc_checked\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"form_layout\": \"pick_out_return_form_m\", \"menu\": \"main_menu_m\", \"name\": \"pick_out_return_m\"}, \"sale_order_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Sales Orders\", \"model\": \"sale.order\", \"tabs\": \"[[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Confirmed\\\",[[\\\"state\\\",\\\"=\\\",\\\"confirmed\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"menu\": \"main_menu_m\", \"name\": \"sale_order_m\"}, \"pick_internal_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Goods Transfers\", \"model\": \"stock.picking\", \"condition\": \"[[\\\"type\\\",\\\"=\\\",\\\"internal\\\"]]\", \"context\": \"{\\\"pick_type\\\":\\\"internal\\\"}\", \"menu\": \"main_menu_m\", \"name\": \"pick_internal_m\"}, \"quot_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Quotations\", \"model\": \"sale.quot\", \"tabs\": \"[[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Await. Approv.\\\",[[\\\"state\\\",\\\"=\\\",\\\"waiting_approval\\\"]]],[\\\"Approved\\\",[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]]]]\", \"menu\": \"main_menu_m\", \"name\": \"quot_m\"}, \"pos_cart_m\": {\"module\": \"netforce_mobile\", \"view\": \"form_m\", \"model\": \"ecom2.cart\", \"layout\": \"pos_cart_m\", \"cookie_active_id\": \"cart_id\", \"mode\": \"edit\", \"name\": \"pos_cart_m\"}, \"job_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Service Orders\", \"model\": \"job\", \"menu\": \"main_menu_m\", \"name\": \"job_m\"}, \"pick_qc_check\": {\"module\": \"netforce_mobile\", \"view\": \"form_m\", \"title\": \"QC Check\", \"model\": \"qc.result\", \"layout\": \"pick_qc_check_m\", \"target\": \"sub_action\", \"name\": \"pick_qc_check\"}, \"production_order_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Production Orders\", \"model\": \"production.order\", \"menu\": \"main_menu_m\", \"name\": \"production_order_m\"}, \"waste_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Product Waste\", \"model\": \"product.waste\", \"tabs\": \"[[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]],[\\\"All\\\",[]]]\", \"menu\": \"main_menu_m\", \"name\": \"waste_m\"}, \"sms_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"SMS Messages\", \"model\": \"sms.message\", \"menu\": \"main_menu_m\", \"name\": \"sms_m\"}, \"pos_pay_m\": {\"module\": \"netforce_mobile\", \"view\": \"form_m\", \"model\": \"ecom2.cart\", \"layout\": \"pos_pay_m\", \"sub_action\": \"pos_cart_summary_m\", \"sub_pos\": \"left\", \"cookie_active_id\": \"cart_id\", \"mode\": \"edit\", \"name\": \"pos_pay_m\"}, \"task_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Tasks\", \"model\": \"task\", \"menu\": \"main_menu_m\", \"name\": \"task_m\"}, \"sale_month_widget_m\": {\"module\": \"netforce_mobile\", \"view\": \"chart_m\", \"model\": \"report.sale\", \"method\": \"sales_per_month\", \"chart_type\": \"bar\", \"height\": \"150\", \"name\": \"sale_month_widget_m\"}, \"aln_meeting_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Meetings\", \"model\": \"aln.meeting\", \"tabs\": \"[[\\\"Requested\\\",[[\\\"state\\\",\\\"=\\\",\\\"requested\\\"]]],[\\\"Confirmed\\\",[[\\\"state\\\",\\\"=\\\",\\\"confirmed\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]]]\", \"menu\": \"main_menu_m\", \"name\": \"aln_meeting_m\"}, \"visitor_session_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Sessions\", \"model\": \"visitor.session\", \"menu\": \"main_menu_m\", \"name\": \"visitor_session_m\"}, \"expense_categ_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Expense Categories\", \"model\": \"hr.expense.categ\", \"menu\": \"main_menu_m\", \"name\": \"expense_categ_m\"}, \"expense_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Expenses\", \"model\": \"hr.expense\", \"menu\": \"main_menu_m\", \"name\": \"expense_m\"}, \"time_sheet_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Work Time\", \"model\": \"work.time\", \"menu\": \"main_menu_m\", \"name\": \"time_sheet_m\"}, \"cust_inv_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Customer Invoices\", \"model\": \"account.invoice\", \"condition\": \"[[\\\"type\\\",\\\"=\\\",\\\"out\\\"]]\", \"tabs\": \"[[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Waiting Payment\\\",[[\\\"state\\\",\\\"=\\\",\\\"waiting_payment\\\"]]],[\\\"Paid\\\",[[\\\"state\\\",\\\"=\\\",\\\"paid\\\"]]]]\", \"menu\": \"main_menu_m\", \"name\": \"cust_inv_m\"}, \"deliv_route_m\": {\"module\": \"netforce_mobile\", \"view\": \"list_m\", \"title\": \"Delivery Routes\", \"model\": \"nd.route\", \"tabs\": \"[[\\\"Today\\\",[[\\\"today\\\",\\\"=\\\",\\\"true\\\"]]],[\\\"Tomorrow\\\",[[\\\"today_p1\\\",\\\"=\\\",true]]],[\\\"All\\\",[[]]]]\", \"menu\": \"main_menu_m\", \"name\": \"deliv_route_m\"}, \"pos_trans_list\": {\"module\": \"netforce_pos\", \"view\": \"pos_trans_list\", \"menu\": \"pos_menu\", \"name\": \"pos_trans_list\"}, \"pos_receive_pick\": {\"module\": \"netforce_pos\", \"view\": \"pos_receive_pick\", \"menu\": \"pos_menu\", \"name\": \"pos_receive_pick\"}, \"pos_validate_add\": {\"module\": \"netforce_pos\", \"view\": \"pos_popup\", \"string\": \"Validate Stock Movement\", \"model\": \"pick.validate.line\", \"layout\": \"pos_validate_add\", \"target\": \"popup\", \"name\": \"pos_validate_add\"}, \"pos_receive_prod\": {\"module\": \"netforce_pos\", \"view\": \"pos_receive_prod\", \"menu\": \"pos_menu\", \"name\": \"pos_receive_prod\"}, \"pos_pick_out\": {\"module\": \"netforce_pos\", \"view\": \"pos_list\", \"string\": \"Goods Issues\", \"model\": \"stock.picking\", \"condition\": \"[[\\\"type\\\",\\\"=\\\",\\\"out\\\"]]\", \"tabs\": \"[[\\\"Today\\\",[]],[\\\"All\\\",[]]]\", \"list_layout\": \"pos_pick_out_list\", \"form_layout\": \"pos_pick_out_form\", \"parent_view\": \"pos_layout\", \"name\": \"pos_pick_out\"}, \"pos_settings\": {\"module\": \"netforce_pos\", \"view\": \"form\", \"layout\": \"pos_settings\", \"model\": \"settings\", \"active_id\": \"1\", \"menu\": \"pos_menu\", \"name\": \"pos_settings\"}, \"pos_receive_list\": {\"module\": \"netforce_pos\", \"view\": \"pos_receive_list\", \"menu\": \"pos_menu\", \"name\": \"pos_receive_list\"}, \"pos2\": {\"module\": \"netforce_pos\", \"view\": \"pos2\", \"name\": \"pos2\"}, \"pos_purchase\": {\"module\": \"netforce_pos\", \"view\": \"pos_list\", \"string\": \"Purchase Orders\", \"model\": \"purchase.order\", \"tabs\": \"[[\\\"Today\\\",[]],[\\\"All\\\",[]]]\", \"list_layout\": \"pos_purchase_list\", \"form_layout\": \"pos_purchase_form\", \"name\": \"pos_purchase\"}, \"pos_menu\": {\"module\": \"netforce_pos\", \"view\": \"pos_menu\", \"parent_view\": \"pos_layout\", \"name\": \"pos_menu\"}, \"pos_print_label\": {\"module\": \"netforce_pos\", \"type\": \"print\", \"model\": \"pick.validate.line\", \"report_template\": \"pos_print_label\", \"name\": \"pos_print_label\"}, \"pos_pack_list\": {\"module\": \"netforce_pos\", \"view\": \"pos_pack_list\", \"menu\": \"pos_menu\", \"name\": \"pos_pack_list\"}, \"pos_pack_pick\": {\"module\": \"netforce_pos\", \"view\": \"pos_pack_pick\", \"menu\": \"pos_menu\", \"name\": \"pos_pack_pick\"}, \"pos_table\": {\"module\": \"netforce_pos\", \"string\": \"Tables\", \"view\": \"list_container\", \"model\": \"pos.table\", \"menu\": \"pos_menu\", \"name\": \"pos_table\"}, \"pos_trans_pick\": {\"module\": \"netforce_pos\", \"view\": \"pos_trans_pick\", \"menu\": \"pos_menu\", \"name\": \"pos_trans_pick\"}, \"pos_pick_in\": {\"module\": \"netforce_pos\", \"view\": \"pos_list\", \"string\": \"Goods Receipts\", \"model\": \"stock.picking\", \"condition\": \"[[\\\"type\\\",\\\"=\\\",\\\"in\\\"]]\", \"tabs\": \"[[\\\"Today\\\",[]],[\\\"All\\\",[]]]\", \"list_layout\": \"pos_pick_in_list\", \"form_layout\": \"pos_pick_in_form\", \"parent_view\": \"pos_layout\", \"name\": \"pos_pick_in\"}, \"pos_pack_prod\": {\"module\": \"netforce_pos\", \"view\": \"pos_pack_prod\", \"menu\": \"pos_menu\", \"name\": \"pos_pack_prod\"}, \"pos_sale\": {\"module\": \"netforce_pos\", \"view\": \"pos_sale\", \"menu\": \"pos_menu\", \"name\": \"pos_sale\"}, \"pos_pick_internal\": {\"module\": \"netforce_pos\", \"view\": \"pos_list\", \"string\": \"Goods Transfers\", \"model\": \"stock.picking\", \"condition\": \"[[\\\"type\\\",\\\"=\\\",\\\"internal\\\"]]\", \"tabs\": \"[[\\\"Today\\\",[]],[\\\"All\\\",[]]]\", \"list_layout\": \"pos_pick_internal_list\", \"form_layout\": \"pos_pick_internal_form\", \"parent_view\": \"pos_layout\", \"name\": \"pos_pick_internal\"}, \"pos_mfg\": {\"module\": \"netforce_pos\", \"view\": \"pos_mfg\", \"menu\": \"pos_menu\", \"name\": \"pos_mfg\"}, \"pos_board\": {\"module\": \"netforce_pos\", \"view\": \"board\", \"string\": \"POS Dashboard\", \"layout\": \"pos_board\", \"menu\": \"pos_menu\", \"name\": \"pos_board\"}, \"pos_trans_prod\": {\"module\": \"netforce_pos\", \"view\": \"pos_trans_prod\", \"menu\": \"pos_menu\", \"name\": \"pos_trans_prod\"}, \"pos\": {\"module\": \"netforce_pos\", \"view\": \"pos\", \"name\": \"pos\"}, \"pos_production\": {\"module\": \"netforce_pos\", \"view\": \"pos_list\", \"string\": \"Production Orders\", \"model\": \"production.order\", \"tabs\": \"[[\\\"Today\\\",[]],[\\\"All\\\",[]]]\", \"list_layout\": \"pos_production_list\", \"form_layout\": \"pos_production_form\", \"name\": \"pos_production\"}, \"nd_delivery_pivot\": {\"module\": \"netforce_delivery\", \"view\": \"pivot\", \"string\": \"Delivery Analysis\", \"model\": \"nd.order.line\", \"report_code\": \"delivery_pivot\", \"menu\": \"nd_menu\", \"name\": \"nd_delivery_pivot\"}, \"nd_report_return\": {\"module\": \"netforce_delivery\", \"view\": \"report\", \"string\": \"Product Returns Report\", \"model\": \"nd.report.return\", \"template\": \"nd_report_return\", \"menu\": \"nd_menu\", \"name\": \"nd_report_return\"}, \"nd_work_period\": {\"module\": \"netforce_delivery\", \"view\": \"list_container\", \"string\": \"Delivery Periods\", \"model\": \"nd.work.period\", \"menu\": \"nd_menu\", \"name\": \"nd_work_period\"}, \"nd_customer\": {\"module\": \"netforce_delivery\", \"view\": \"list_container\", \"title\": \"Customers\", \"model\": \"nd.customer\", \"name\": \"nd_customer\"}, \"nd_import_order\": {\"module\": \"netforce_delivery\", \"view\": \"import_orders\", \"name\": \"nd_import_order\"}, \"nd_report_driver_pay\": {\"module\": \"netforce_delivery\", \"view\": \"report\", \"string\": \"Driver Payable Report\", \"model\": \"nd.report.driver.pay\", \"template\": \"nd_report_driver_pay\", \"menu\": \"nd_menu\", \"name\": \"nd_report_driver_pay\"}, \"nd_order_print\": {\"module\": \"netforce_delivery\", \"view\": \"print_wizard2\", \"model\": \"nd.order\", \"menu\": \"nd_menu\", \"name\": \"nd_order_print\"}, \"nd_delivery_driver\": {\"module\": \"netforce_delivery\", \"view\": \"crosstab\", \"model\": \"nd.order\", \"height\": \"250\", \"condition\": \"[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]\", \"group_field\": \"delivery_date\", \"subgroup_field\": \"route_id.driver_id\", \"name\": \"nd_delivery_driver\"}, \"nd_create_route\": {\"module\": \"netforce_delivery\", \"view\": \"form_popup\", \"string\": \"Create Routes\", \"model\": \"nd.create.route\", \"target\": \"popup\", \"name\": \"nd_create_route\"}, \"nd_task\": {\"module\": \"netforce_delivery\", \"view\": \"multi_view\", \"string\": \"Tasks\", \"model\": \"nd.task\", \"tabs\": \"[[\\\"Open\\\",[[\\\"state\\\",\\\"=\\\",\\\"open\\\"]]],[\\\"Closed\\\",[[\\\"state\\\",\\\"=\\\",\\\"closed\\\"]]]]\", \"menu\": \"nd_menu\", \"name\": \"nd_task\"}, \"nd_driver\": {\"module\": \"netforce_delivery\", \"view\": \"list_container\", \"string\": \"Drivers\", \"model\": \"nd.driver\", \"menu\": \"nd_menu\", \"name\": \"nd_driver\"}, \"nd_job\": {\"module\": \"netforce_delivery\", \"view\": \"list_container\", \"string\": \"Delivery Jobs\", \"model\": \"nd.job\", \"tabs\": \"[[\\\"Today\\\",[[\\\"today\\\",\\\"=\\\",\\\"true\\\"]]],[\\\"Today+1\\\",[[\\\"today_p1\\\",\\\"=\\\",true]]],[\\\"Today+2\\\",[[\\\"today_p2\\\",\\\"=\\\",true]]],[\\\"All\\\",[[]]]]\", \"group_field\": \"driver_id\", \"group_field_path\": \"driver_id\", \"menu\": \"nd_menu\", \"name\": \"nd_job\"}, \"nd_route_print\": {\"module\": \"netforce_delivery\", \"view\": \"form_popup\", \"title\": \"Print Delivery Routes\", \"model\": \"nd.print\", \"target\": \"popup\", \"context\": \"{\\\"model\\\":\\\"nd.route\\\",\\\"field_names\\\":[\\\"delivery_date\\\",\\\"driver_id.name\\\",\\\"round_id.period_id.name\\\",\\\"orders.sequence\\\",\\\"orders.time_from\\\",\\\"orders.time_to\\\",\\\"orders.customer_id.code\\\",\\\"orders.customer_id.first_name\\\",\\\"orders.ship_address_id.street_address\\\",\\\"orders.ship_address_id.instructions\\\",\\\"orders.item_desc\\\"],\\\"template_type\\\":\\\"route\\\"}\", \"name\": \"nd_route_print\"}, \"nd_map\": {\"module\": \"netforce_delivery\", \"view\": \"delivery_map\", \"string\": \"Delivery Map\", \"menu\": \"nd_menu\", \"name\": \"nd_map\"}, \"nd_report_template\": {\"module\": \"netforce_delivery\", \"view\": \"list_container\", \"title\": \"Report Templates\", \"model\": \"nd.report.template\", \"name\": \"nd_report_template\"}, \"nd_delivery_day\": {\"module\": \"netforce_delivery\", \"view\": \"chart\", \"chart_type\": \"line\", \"model\": \"nd.order\", \"method\": \"get_deliveries_per_day\", \"x_type\": \"datetime\", \"height\": \"200\", \"name\": \"nd_delivery_day\"}, \"nd_address\": {\"module\": \"netforce_delivery\", \"view\": \"list_container\", \"title\": \"Addresses\", \"model\": \"nd.address\", \"name\": \"nd_address\"}, \"nd_tag\": {\"module\": \"netforce_delivery\", \"view\": \"list_container\", \"string\": \"Tags\", \"model\": \"nd.tag\", \"menu\": \"nd_menu\", \"name\": \"nd_tag\"}, \"nd_route\": {\"module\": \"netforce_delivery\", \"view\": \"list_container\", \"string\": \"Delivery Routes\", \"model\": \"nd.route\", \"tabs\": \"[[\\\"Today\\\",[[\\\"today\\\",\\\"=\\\",\\\"true\\\"]]],[\\\"Today+1\\\",[[\\\"today_p1\\\",\\\"=\\\",true]]],[\\\"Today+2\\\",[[\\\"today_p2\\\",\\\"=\\\",true]]],[\\\"All\\\",[[]]]]\", \"group_field\": \"period_id\", \"group_field_path\": \"round_id.period_id\", \"subgroup_field\": \"driver_id\", \"subgroup_field_path\": \"driver_id\", \"menu\": \"nd_menu\", \"name\": \"nd_route\"}, \"nd_order_popup\": {\"module\": \"netforce_delivery\", \"view\": \"form_popup\", \"title\": \"Delivery Order\", \"model\": \"nd.order\", \"layout\": \"nd_order_popup\", \"target\": \"popup\", \"name\": \"nd_order_popup\"}, \"nd_poll\": {\"module\": \"netforce_delivery\", \"view\": \"list_container\", \"string\": \"Customer Polls\", \"model\": \"nd.poll\", \"menu\": \"nd_menu\", \"name\": \"nd_poll\"}, \"nd_order\": {\"module\": \"netforce_delivery\", \"view\": \"list_container\", \"string\": \"Delivery Orders\", \"model\": \"nd.order\", \"tabs\": \"[[\\\"Today\\\",[[\\\"today\\\",\\\"=\\\",\\\"true\\\"]]],[\\\"Today+1\\\",[[\\\"today_p1\\\",\\\"=\\\",true]]],[\\\"Today+2\\\",[[\\\"today_p2\\\",\\\"=\\\",true]]],[\\\"All\\\",[[]]]]\", \"order\": \"delivery_date,route_id.round_id.period_id.time_from,route_id.driver_id.sequence,sequence,id\", \"group_field\": \"user_id\", \"group_field_path\": \"route_id.round_id.user_id\", \"subgroup_field\": \"driver_id\", \"subgroup_field_path\": \"route_id.driver_id\", \"import_action\": \"nd_import_order\", \"modes\": \"list,columns,map,form\", \"form_layout\": \"nd_order_form\", \"auto_reload\": \"5\", \"menu\": \"nd_menu\", \"name\": \"nd_order\"}, \"nd_settings\": {\"module\": \"netforce_delivery\", \"view\": \"form\", \"title\": \"Settings\", \"model\": \"settings\", \"active_id\": \"1\", \"menu\": \"nd_menu\", \"name\": \"nd_settings\"}, \"nd_round\": {\"module\": \"netforce_delivery\", \"view\": \"multi_view\", \"string\": \"Delivery Rounds\", \"model\": \"nd.round\", \"menu\": \"nd_menu\", \"name\": \"nd_round\"}, \"nd_board\": {\"module\": \"netforce_delivery\", \"view\": \"board\", \"string\": \"Delivery Dashboard\", \"layout\": \"nd_board\", \"menu\": \"nd_menu\", \"name\": \"nd_board\"}, \"time_popup_stop\": {\"module\": \"netforce_job_control\", \"view\": \"form_popup\", \"model\": \"time.entry\", \"layout\": \"jc_time_popup\", \"target\": \"popup\", \"name\": \"time_popup_stop\"}, \"jc_click_task\": {\"module\": \"netforce_job_control\", \"type\": \"method\", \"model\": \"jc.task\", \"method\": \"click_task\", \"name\": \"jc_click_task\"}, \"jc_task_stage\": {\"module\": \"netforce_job_control\", \"string\": \"Task Stages\", \"view_cls\": \"multi_view\", \"model\": \"jc.task.stage\", \"menu\": \"jc_service_menu\", \"name\": \"jc_task_stage\"}, \"jc_service_main\": {\"module\": \"netforce_job_control\", \"type\": \"method\", \"model\": \"jc.report\", \"method\": \"service_main\", \"name\": \"jc_service_main\"}, \"jc_time_analysis\": {\"module\": \"netforce_job_control\", \"string\": \"Time Entry Analysis\", \"view\": \"pivot\", \"model\": \"time.entry\", \"menu\": \"jc_service_menu\", \"name\": \"jc_time_analysis\"}, \"jc_unass_job_widget\": {\"module\": \"netforce_job_control\", \"view_cls\": \"list_view\", \"model\": \"jc.job\", \"domain\": \"[[\\\"user_id\\\",\\\"=\\\",null],[\\\"state\\\",\\\"=\\\",\\\"in_progress\\\"],[\\\"is_manager\\\",\\\"=\\\",true]]\", \"order\": \"due_date\", \"view_xml\": \"unass_job_widget\", \"noselect\": \"1\", \"board_select\": \"1\", \"name\": \"jc_unass_job_widget\"}, \"jc_job_template\": {\"module\": \"netforce_job_control\", \"string\": \"Job Templates\", \"view_cls\": \"multi_view\", \"model\": \"jc.job.template\", \"menu\": \"jc_service_menu\", \"tabs\": \"[[\\\"Active\\\",[]],[\\\"Archived\\\",[[\\\"active\\\",\\\"=\\\",false]]]]\", \"name\": \"jc_job_template\"}, \"jc_over_task_widget\": {\"module\": \"netforce_job_control\", \"view_cls\": \"list_view\", \"model\": \"jc.task\", \"domain\": \"[[\\\"overdue\\\",\\\"=\\\",true],[\\\"is_manager\\\",\\\"=\\\",true]]\", \"order\": \"deadline\", \"view_xml\": \"over_task_widget\", \"noselect\": \"1\", \"action\": \"click_task\", \"name\": \"jc_over_task_widget\"}, \"jc_view_task\": {\"module\": \"netforce_job_control\", \"type\": \"method\", \"model\": \"jc.task\", \"method\": \"view_task\", \"name\": \"jc_view_task\"}, \"jc_click_service_user\": {\"module\": \"netforce_job_control\", \"type\": \"method\", \"model\": \"jc.report\", \"method\": \"click_service_user\", \"name\": \"jc_click_service_user\"}, \"jc_issue_widget\": {\"module\": \"netforce_job_control\", \"view_cls\": \"list_view\", \"model\": \"jc.issue\", \"view_xml\": \"issue_widget\", \"limit\": \"10\", \"domain\": \"[[\\\"state\\\",\\\"in\\\",[\\\"open\\\"]]]\", \"order\": \"date\", \"name\": \"jc_issue_widget\"}, \"jc_click_user\": {\"module\": \"netforce_job_control\", \"type\": \"method\", \"model\": \"jc.report\", \"method\": \"click_user\", \"name\": \"jc_click_user\"}, \"jc_job_serv_widget\": {\"module\": \"netforce_job_control\", \"view_cls\": \"chart_view\", \"model\": \"jc.report\", \"method\": \"jobs_per_service\", \"chart_type\": \"bar\", \"onclick_action\": \"click_service\", \"name\": \"jc_job_serv_widget\"}, \"jc_over_job_widget\": {\"module\": \"netforce_job_control\", \"view_cls\": \"list_view\", \"model\": \"jc.job\", \"domain\": \"[[\\\"overdue\\\",\\\"=\\\",true],[\\\"is_manager\\\",\\\"=\\\",true]]\", \"order\": \"due_date\", \"view_xml\": \"over_job_widget\", \"noselect\": \"1\", \"name\": \"jc_over_job_widget\"}, \"jc_task\": {\"module\": \"netforce_job_control\", \"string\": \"Tasks\", \"view\": \"multi_view\", \"model\": \"jc.task\", \"menu\": \"jc_service_menu\", \"name\": \"jc_task\"}, \"jc_job_user_widget\": {\"module\": \"netforce_job_control\", \"view_cls\": \"chart_view\", \"model\": \"jc.report\", \"method\": \"jobs_per_user\", \"chart_type\": \"bar\", \"onclick_action\": \"click_user\", \"name\": \"jc_job_user_widget\"}, \"jc_expense\": {\"module\": \"netforce_job_control\", \"string\": \"Expenses\", \"view_cls\": \"multi_view\", \"model\": \"expense\", \"tabs\": \"\\n        [\\n            [\\\"All\\\",[]],\\n            [\\\"Draft\\\",[[\\\"claim_id.state\\\",\\\"=\\\",\\\"draft\\\"]]],\\n            [\\\"Waiting Approval\\\",[[\\\"claim_id.state\\\",\\\"=\\\",\\\"waiting_approval\\\"]]],\\n            [\\\"Approved\\\",[[\\\"claim_id.state\\\",\\\"=\\\",\\\"approved\\\"]]],\\n            [\\\"Declined\\\",[[\\\"claim_id.state\\\",\\\"=\\\",\\\"declined\\\"]]]\\n        ]\\n    \", \"menu\": \"jc_service_menu\", \"name\": \"jc_expense\"}, \"time_popup\": {\"module\": \"netforce_job_control\", \"view\": \"form_popup\", \"model\": \"time.entry\", \"layout\": \"jc_time_popup\", \"target\": \"popup\", \"name\": \"time_popup\"}, \"jc_pending_task_widget\": {\"module\": \"netforce_job_control\", \"view_cls\": \"list_view\", \"model\": \"jc.task\", \"domain\": \"[[\\\"state\\\",\\\"!=\\\",\\\"done\\\"]]\", \"order\": \"deadline\", \"view_xml\": \"pending_task_widget\", \"board_select\": \"1\", \"name\": \"jc_pending_task_widget\"}, \"jc_task_analysis\": {\"module\": \"netforce_job_control\", \"string\": \"Task Analysis\", \"view\": \"pivot\", \"model\": \"jc.task\", \"menu\": \"jc_service_menu\", \"name\": \"jc_task_analysis\"}, \"jc_print_time\": {\"module\": \"netforce_job_control\", \"view\": \"print_wizard2\", \"model\": \"time.entry\", \"menu\": \"jc_service_menu\", \"name\": \"jc_print_time\"}, \"jc_issue\": {\"module\": \"netforce_job_control\", \"string\": \"Issues\", \"view_cls\": \"multi_view\", \"model\": \"jc.issue\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Open\\\",[[\\\"state\\\",\\\"=\\\",\\\"open\\\"]]],[\\\"Closed\\\",[[\\\"state\\\",\\\"=\\\",\\\"closed\\\"]]]]\", \"menu\": \"jc_service_menu\", \"name\": \"jc_issue\"}, \"jc_click_service\": {\"module\": \"netforce_job_control\", \"type\": \"method\", \"model\": \"jc.report\", \"method\": \"click_service\", \"name\": \"jc_click_service\"}, \"jc_service_board_user\": {\"module\": \"netforce_job_control\", \"string\": \"My Jobs Dashboard\", \"view_cls\": \"board\", \"view_xml\": \"jc_service_board_user\", \"menu\": \"jc_service_menu\", \"reload\": \"60\", \"name\": \"jc_service_board_user\"}, \"jc_serv_period\": {\"module\": \"netforce_job_control\", \"string\": \"Periods\", \"view_cls\": \"multi_view\", \"model\": \"jc.service.period\", \"menu\": \"jc_service_menu\", \"name\": \"jc_serv_period\"}, \"jc_user_pending_job_widget\": {\"module\": \"netforce_job_control\", \"view\": \"list\", \"model\": \"jc.job\", \"condition\": \"[[\\\"user_board\\\",\\\"=\\\",true],[\\\"state\\\",\\\"=\\\",\\\"in_progress\\\"]]\", \"order\": \"due_date\", \"layout\": \"jc_user_pending_job_widget\", \"noselect\": \"1\", \"name\": \"jc_user_pending_job_widget\"}, \"jc_service_categ\": {\"module\": \"netforce_job_control\", \"string\": \"Service Categories\", \"view_cls\": \"multi_view\", \"model\": \"jc.service.categ\", \"menu\": \"jc_service_menu\", \"name\": \"jc_service_categ\"}, \"jc_unass_task_widget\": {\"module\": \"netforce_job_control\", \"view_cls\": \"list_view\", \"model\": \"jc.task\", \"domain\": \"[[\\\"user_id\\\",\\\"=\\\",null]]\", \"view_xml\": \"unass_task_widget\", \"name\": \"jc_unass_task_widget\"}, \"jc_service_tree\": {\"module\": \"netforce_job_control\", \"string\": \"Services\", \"view_cls\": \"multi_view\", \"model\": \"jc.service\", \"domain\": \"[[\\\"parent_id\\\",\\\"=\\\",null]]\", \"modes\": \"tree,page,form\", \"form_view_xml\": \"service_form_summary\", \"menu\": \"jc_service_menu\", \"name\": \"jc_service_tree\"}, \"time_pending\": {\"module\": \"netforce_job_control\", \"view\": \"list\", \"model\": \"time.entry\", \"condition\": \"[[\\\"own_user\\\",\\\"=\\\",true]]\", \"show_date_filter\": \"1\", \"limit\": \"10\", \"hide_buttons\": \"1\", \"hide_page\": \"1\", \"layout\": \"jc_time_pending\", \"name\": \"time_pending\"}, \"jc_all_pending_job_widget\": {\"module\": \"netforce_job_control\", \"view\": \"list\", \"model\": \"jc.job\", \"condition\": \"[[\\\"state\\\",\\\"=\\\",\\\"in_progress\\\"]]\", \"order\": \"due_date\", \"layout\": \"jc_all_pending_job_widget\", \"noselect\": \"1\", \"board_select\": \"1\", \"name\": \"jc_all_pending_job_widget\"}, \"jc_all_pending_task_widget\": {\"module\": \"netforce_job_control\", \"view_cls\": \"list\", \"model\": \"jc.task\", \"condition\": \"[[\\\"state\\\",\\\"=\\\",\\\"in_progress\\\"]]\", \"order\": \"deadline\", \"layout\": \"jc_all_pending_task_widget\", \"noselect\": \"1\", \"name\": \"jc_all_pending_task_widget\"}, \"jc_user_pending_task_widget\": {\"module\": \"netforce_job_control\", \"view_cls\": \"list\", \"model\": \"jc.task\", \"condition\": \"[[\\\"user_board\\\",\\\"=\\\",true],[\\\"state\\\",\\\"=\\\",\\\"in_progress\\\"]]\", \"order\": \"deadline\", \"layout\": \"jc_user_pending_task_widget\", \"noselect\": \"1\", \"name\": \"jc_user_pending_task_widget\"}, \"jc_service_board\": {\"module\": \"netforce_job_control\", \"string\": \"Manager Jobs Dashboard\", \"view_cls\": \"board\", \"view_xml\": \"jc_service_board\", \"menu\": \"jc_service_menu\", \"reload\": \"60\", \"name\": \"jc_service_board\"}, \"jc_job\": {\"module\": \"netforce_job_control\", \"string\": \"Jobs\", \"view\": \"list_container\", \"model\": \"jc.job\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"In Progress\\\",[[\\\"state\\\",\\\"=\\\",\\\"in_progress\\\"]]],[\\\"Completed\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]],[\\\"Verified\\\",[[\\\"state\\\",\\\"=\\\",\\\"verified\\\"]]],[\\\"Invoiced\\\",[[\\\"state\\\",\\\"=\\\",\\\"invoiced\\\"]]]]\", \"modes\": \"list,calendar,page,form\", \"menu\": \"jc_service_menu\", \"name\": \"jc_job\"}, \"jc_timesheet\": {\"module\": \"netforce_job_control\", \"string\": \"Timesheets\", \"view_cls\": \"multi_view\", \"model\": \"jc.timesheet\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Approved\\\",[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]]]]\", \"menu\": \"jc_service_menu\", \"name\": \"jc_timesheet\"}, \"jc_task_serv_widget\": {\"module\": \"netforce_job_control\", \"view_cls\": \"chart_view\", \"model\": \"jc.report\", \"method\": \"tasks_per_service\", \"chart_type\": \"bar\", \"onclick_action\": \"click_service\", \"board_select\": \"1\", \"name\": \"jc_task_serv_widget\"}, \"jc_task_stage_widget\": {\"module\": \"netforce_job_control\", \"view_cls\": \"chart_view\", \"model\": \"jc.report\", \"method\": \"tasks_per_stage\", \"chart_type\": \"bar\", \"name\": \"jc_task_stage_widget\"}, \"jc_print_job\": {\"module\": \"netforce_job_control\", \"view\": \"print_wizard2\", \"model\": \"jc.job\", \"menu\": \"jc_service_menu\", \"name\": \"jc_print_job\"}, \"jc_check_dup\": {\"module\": \"netforce_job_control\", \"type\": \"method\", \"model\": \"jc.job\", \"method\": \"check_dup\", \"name\": \"jc_check_dup\"}, \"jc_shared_job_widget\": {\"module\": \"netforce_job_control\", \"view_cls\": \"list_view\", \"model\": \"jc.job\", \"domain\": \"[[\\\"shared_board\\\",\\\"=\\\",true]]\", \"order\": \"due_date\", \"view_xml\": \"shared_job_widget\", \"noselect\": \"1\", \"name\": \"jc_shared_job_widget\"}, \"jc_user_task_serv_widget\": {\"module\": \"netforce_job_control\", \"view_cls\": \"chart_view\", \"model\": \"jc.report\", \"method\": \"tasks_per_service_user\", \"chart_type\": \"bar\", \"onclick_action\": \"click_service_user\", \"name\": \"jc_user_task_serv_widget\"}, \"jc_service_stage\": {\"module\": \"netforce_job_control\", \"string\": \"Service Stages\", \"view_cls\": \"multi_view\", \"model\": \"jc.service.stage\", \"menu\": \"jc_service_menu\", \"name\": \"jc_service_stage\"}, \"jc_time_entry\": {\"module\": \"netforce_job_control\", \"string\": \"Time Entries\", \"view\": \"multi_view\", \"model\": \"time.entry\", \"modes\": \"list,calendar,slots,form\", \"tabs\": \"[[\\\"Draft\\\",[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]],[\\\"Submitted\\\",[[\\\"state\\\",\\\"=\\\",\\\"submitted\\\"]]],[\\\"Approved\\\",[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]]],[\\\"Invoiced\\\",[[\\\"state\\\",\\\"=\\\",\\\"invoiced\\\"]]],[\\\"Merged\\\",[[\\\"state\\\",\\\"=\\\",\\\"merged\\\"]]],[\\\"All\\\",[]]]\", \"group_field\": \"user_id\", \"priority\": \"1\", \"menu\": \"jc_service_menu\", \"name\": \"jc_time_entry\"}, \"jc_job_analysis\": {\"module\": \"netforce_job_control\", \"string\": \"Job Analysis\", \"view\": \"pivot\", \"model\": \"jc.job\", \"menu\": \"jc_service_menu\", \"name\": \"jc_job_analysis\"}, \"jc_service\": {\"module\": \"netforce_job_control\", \"string\": \"Services (DEPRECATED)\", \"view_cls\": \"multi_view\", \"model\": \"jc.service\", \"tabs\": \"[[\\\"All\\\",[]],[\\\"Archived\\\",[[\\\"active\\\",\\\"=\\\",false]]]]\", \"menu\": \"jc_service_menu\", \"name\": \"jc_service\"}, \"jc_batch_job\": {\"module\": \"netforce_job_control\", \"string\": \"Batch Create Jobs\", \"view_cls\": \"form_popup\", \"model\": \"jc.batch.job\", \"target\": \"_popup\", \"name\": \"jc_batch_job\"}, \"bank_feed_enter_token\": {\"module\": \"netforce_bank_feed\", \"view\": \"form_popup\", \"string\": \"Enter Token\", \"model\": \"bank.feed.enter.token\", \"target\": \"popup\", \"name\": \"bank_feed_enter_token\"}, \"bank_feed\": {\"module\": \"netforce_bank_feed\", \"view\": \"list_container\", \"string\": \"Bank Feeds\", \"model\": \"bank.feed\", \"menu\": \"account_menu\", \"name\": \"bank_feed\"}, \"shopee_order\": {\"module\": \"netforce_shopee\", \"string\": \"Shopee Orders\", \"view\": \"multi_view\", \"model\": \"shopee.order\", \"tabs\": \"[[\\\"UNPAID\\\",[[\\\"order_status\\\",\\\"=\\\",\\\"UNPAID\\\"]]],[\\\"READY_TO_SHIP\\\",[[\\\"order_status\\\",\\\"=\\\",\\\"READY_TO_SHIP\\\"]]],[\\\"PROCESSED\\\",[[\\\"order_status\\\",\\\"=\\\",\\\"PROCESSED\\\"]]],[\\\"SHIPPED\\\",[[\\\"order_status\\\",\\\"=\\\",\\\"SHIPPED\\\"]]],[\\\"TO_CONFIRM_RECEIVE\\\",[[\\\"order_status\\\",\\\"=\\\",\\\"TO_CONFIRM_RECEIVE\\\"]]],[\\\"COMPLETED\\\",[[\\\"order_status\\\",\\\"=\\\",\\\"COMPLETED\\\"]]],[\\\"IN_CANCEL\\\",[[\\\"order_status\\\",\\\"=\\\",\\\"IN_CANCEL\\\"]]],[\\\"CANCELLED\\\",[[\\\"order_status\\\",\\\"=\\\",\\\"CANCELLED\\\"]]],[\\\"TO_RETURN\\\",[[\\\"order_status\\\",\\\"=\\\",\\\"TO_RETURN\\\"]]],[\\\"ALL\\\",[]],[\\\"NOT CAPTURED\\\",[[\\\"order_status\\\",\\\"not in\\\",[\\\"UNPAID\\\",\\\"PROCESSED\\\",\\\"READY_TO_SHIP\\\",\\\"SHIPPED\\\",\\\"TO_CONFIRM_RECEIVE\\\",\\\"COMPLETED\\\",\\\"IN_CANCEL\\\",\\\"CANCELLED\\\",\\\"TO_RETURN\\\"]]]]]\", \"menu\": \"shopee_menu\", \"theme\": \"orange\", \"name\": \"shopee_order\"}, \"shopee_webhook\": {\"module\": \"netforce_shopee\", \"string\": \"Shopee Webhook\", \"view\": \"multi_view\", \"model\": \"shopee.webhook\", \"menu\": \"shopee_menu\", \"tabs\": \"[[\\\"New\\\",[[\\\"state\\\",\\\"=\\\",\\\"new\\\"]]],[\\\"Error\\\",[[\\\"state\\\",\\\"=\\\",\\\"error\\\"]]],[\\\"Done\\\",[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]],[\\\"ALL\\\",[]]]\", \"theme\": \"orange\", \"name\": \"shopee_webhook\"}, \"shopee_product_categ\": {\"module\": \"netforce_shopee\", \"string\": \"Shopee Product Categories\", \"view\": \"multi_view\", \"model\": \"shopee.product.categ\", \"menu\": \"shopee_menu\", \"theme\": \"orange\", \"name\": \"shopee_product_categ\"}, \"shopee_account\": {\"module\": \"netforce_shopee\", \"string\": \"Shopee Accounts\", \"view\": \"multi_view\", \"model\": \"shopee.account\", \"menu\": \"shopee_menu\", \"theme\": \"orange\", \"name\": \"shopee_account\"}, \"shopee_settings\": {\"module\": \"netforce_shopee\", \"string\": \"Shopee Settings\", \"view\": \"form_view\", \"active_id\": \"1\", \"model\": \"shopee.settings\", \"layout\": \"shopee_settings_form\", \"menu\": \"shopee_menu\", \"theme\": \"orange\", \"name\": \"shopee_settings\"}, \"shopee_product\": {\"module\": \"netforce_shopee\", \"string\": \"Shopee Products\", \"view\": \"multi_view\", \"model\": \"shopee.product\", \"menu\": \"shopee_menu\", \"theme\": \"orange\", \"name\": \"shopee_product\"}, \"qb_import\": {\"module\": \"netforce_quickbooks\", \"view\": \"form_view\", \"model\": \"qb.sync\", \"layout\": \"qb_import\", \"menu\": \"qb_menu\", \"name\": \"qb_import\"}, \"firebase_account\": {\"module\": \"netforce_firebase\", \"string\": \"Firebase Accounts\", \"view\": \"multi_view\", \"model\": \"firebase.account\", \"menu\": \"firebase_menu\", \"name\": \"firebase_account\"}, \"chatgpt_message\": {\"module\": \"netforce_chatgpt\", \"string\": \"ChatGPT Messages\", \"view\": \"multi_view\", \"model\": \"chatgpt.message\", \"menu\": \"chatgpt_menu\", \"name\": \"chatgpt_message\"}, \"chatgpt_account\": {\"module\": \"netforce_chatgpt\", \"string\": \"ChatGPT Accounts\", \"view\": \"multi_view\", \"model\": \"chatgpt.account\", \"menu\": \"chatgpt_menu\", \"name\": \"chatgpt_account\"}, \"chatgpt_conv\": {\"module\": \"netforce_chatgpt\", \"string\": \"ChatGPT Conversations\", \"view\": \"multi_view\", \"model\": \"chatgpt.conv\", \"menu\": \"chatgpt_menu\", \"name\": \"chatgpt_conv\"}, \"chatgpt_prompt\": {\"module\": \"netforce_chatgpt\", \"string\": \"ChatGPT Prompts\", \"view\": \"multi_view\", \"model\": \"chatgpt.prompt\", \"menu\": \"chatgpt_menu\", \"name\": \"chatgpt_prompt\"}, \"trial\": {\"module\": \"netforce_trial\", \"view\": \"multi_view\", \"string\": \"Trials\", \"model\": \"trial\", \"menu\": \"trial_menu\", \"name\": \"trial\"}, \"trial_board\": {\"module\": \"netforce_trial\", \"view\": \"board\", \"string\": \"Trials Dashboard\", \"layout\": \"trial_board\", \"menu\": \"trial_menu\", \"name\": \"trial_board\"}, \"ed_teacher\": {\"module\": \"netforce_uni\", \"view\": \"list_container\", \"string\": \"Teachers\", \"model\": \"ed.teacher\", \"menu\": \"ed_menu\", \"name\": \"ed_teacher\"}, \"ed_course\": {\"module\": \"netforce_uni\", \"view\": \"list_container\", \"string\": \"Courses\", \"model\": \"ed.course\", \"menu\": \"ed_menu\", \"name\": \"ed_course\"}, \"ed_notice\": {\"module\": \"netforce_uni\", \"view\": \"list_container\", \"string\": \"Notices\", \"model\": \"ed.notice\", \"menu\": \"ed_menu\", \"name\": \"ed_notice\"}, \"ed_payment\": {\"module\": \"netforce_uni\", \"view\": \"list_container\", \"string\": \"Payments\", \"model\": \"ed.payment\", \"menu\": \"ed_menu\", \"name\": \"ed_payment\"}, \"ed_group\": {\"module\": \"netforce_uni\", \"view\": \"list_container\", \"string\": \"Student Groups\", \"model\": \"ed.group\", \"menu\": \"ed_menu\", \"name\": \"ed_group\"}, \"ed_analysis\": {\"module\": \"netforce_uni\", \"view\": \"list_container\", \"string\": \"PARTICIPANTS ANALYSIS FORM\", \"model\": \"ed.attend\", \"menu\": \"ed_menu\", \"name\": \"ed_analysis\"}, \"ed_eval_result\": {\"module\": \"netforce_uni\", \"view\": \"list_container\", \"string\": \"Evaluation Results\", \"model\": \"ed.eval.result\", \"menu\": \"ed_menu\", \"name\": \"ed_eval_result\"}, \"ed_calendar\": {\"module\": \"netforce_uni\", \"view\": \"calendar\", \"string\": \"School Calendar\", \"layout\": \"ed_calendar\", \"menu\": \"ed_menu\", \"name\": \"ed_calendar\"}, \"ed_eval\": {\"module\": \"netforce_uni\", \"view\": \"list_container\", \"string\": \"Evaluations\", \"model\": \"ed.eval\", \"menu\": \"ed_menu\", \"name\": \"ed_eval\"}, \"ed_fee\": {\"module\": \"netforce_uni\", \"view\": \"list_container\", \"string\": \"Fees\", \"model\": \"ed.fee\", \"menu\": \"ed_menu\", \"name\": \"ed_fee\"}, \"ed_board\": {\"module\": \"netforce_uni\", \"view\": \"board\", \"string\": \"Education Dashboard\", \"layout\": \"ed_board\", \"menu\": \"ed_menu\", \"name\": \"ed_board\"}, \"ed_homework\": {\"module\": \"netforce_uni\", \"view\": \"list_container\", \"string\": \"Homework\", \"model\": \"ed.homework\", \"menu\": \"ed_menu\", \"name\": \"ed_homework\"}, \"ed_meal\": {\"module\": \"netforce_uni\", \"view\": \"list_container\", \"string\": \"Meal Plan\", \"model\": \"ed.meal\", \"menu\": \"ed_menu\", \"name\": \"ed_meal\"}, \"ed_media\": {\"module\": \"netforce_uni\", \"view\": \"list_container\", \"string\": \"Media\", \"model\": \"ed.media\", \"menu\": \"ed_menu\", \"name\": \"ed_media\"}, \"ed_meeting\": {\"module\": \"netforce_uni\", \"view\": \"list_container\", \"string\": \"Appointments\", \"model\": \"ed.meeting\", \"menu\": \"ed_menu\", \"name\": \"ed_meeting\"}, \"ed_time\": {\"module\": \"netforce_uni\", \"view\": \"list_container\", \"string\": \"Time Slots\", \"model\": \"ed.time\", \"menu\": \"ed_menu\", \"name\": \"ed_time\"}, \"ed_period\": {\"module\": \"netforce_uni\", \"view\": \"list_container\", \"string\": \"Periods\", \"model\": \"ed.period\", \"menu\": \"ed_menu\", \"name\": \"ed_period\"}, \"ed_ussdc\": {\"module\": \"netforce_uni\", \"view\": \"list_container\", \"string\": \"USSDC FORM\", \"model\": \"ed.student\", \"menu\": \"ed_menu\", \"name\": \"ed_ussdc\"}, \"ed_event\": {\"module\": \"netforce_uni\", \"view\": \"list_container\", \"string\": \"Events\", \"model\": \"ed.event\", \"menu\": \"ed_menu\", \"name\": \"ed_event\"}, \"analysis\": {\"name\": \"analysis\", \"string\": \"Analysis\", \"view\": \"multi_view\", \"model\": \"analysis\", \"menu\": \"analysis_menu\"}, \"client_db_tracker\": {\"name\": \"client_db_tracker\", \"string\": \"Client DB Tracker\", \"view\": \"multi_view\", \"model\": \"client.db.tracker\", \"menu\": \"client_db_tracker_menu\"}, \"client_db_tracker_change_type\": {\"name\": \"client_db_tracker_change_type\", \"string\": \"Change Type\", \"view\": \"multi_view\", \"model\": \"client.db.tracker.change.type\", \"menu\": \"pm_project_menu\"}, \"client_db_tracker_database\": {\"name\": \"client_db_tracker_database\", \"string\": \"Database\", \"view\": \"multi_view\", \"model\": \"client.db.tracker.database\", \"menu\": \"pm_project_menu\"}, \"client_db_tracker_features\": {\"name\": \"client_db_tracker_features\", \"string\": \"Features\", \"view\": \"multi_view\", \"model\": \"client.db.tracker.features\", \"menu\": \"pm_project_menu\"}, \"client_db_tracker_menu\": {\"name\": \"client_db_tracker_menu\", \"string\": \"Client DB Tracker\", \"view\": \"multi_view\", \"model\": \"client.db.tracker\", \"menu\": \"pm_project_menu\"}, \"client_db_tracker_server\": {\"name\": \"client_db_tracker_server\", \"string\": \"Server\", \"view\": \"multi_view\", \"model\": \"client.db.tracker.server\", \"menu\": \"pm_project_menu\"}, \"control\": {\"name\": \"control\", \"string\": \"Control\", \"view\": \"multi_view\", \"model\": \"control\", \"menu\": \"control_menu\"}, \"cust_account_statement\": {\"name\": \"cust_account_statement\", \"string\": null, \"view\": null, \"type\": \"url\", \"url\": \"https://main.smartb.co/action?name=page_render&page_id=2\", \"target\": \"new_window\"}, \"db_mini_project\": {\"name\": \"db_mini_project\", \"string\": \"DB Mini Project\", \"view\": \"multi_view\", \"menu\": \"db_mini_project_menu\"}, \"faq\": {\"name\": \"faq\", \"string\": null, \"view\": null, \"type\": \"url\", \"url\": \"https://www.smartb.co/knowledge-base/\", \"target\": \"new_window\"}, \"help2\": {\"name\": \"help2\", \"string\": \"help2\", \"view\": \"multi_view\", \"menu\": \"help2_menu\"}, \"hr2\": {\"name\": \"hr2\", \"string\": \"HR2\", \"view\": \"multi_view\", \"menu\": \"hr2_menu\"}, \"hr2_bank\": {\"name\": \"hr2_bank\", \"string\": \"Bank\", \"view\": \"multi_view\", \"model\": \"hr2.bank\", \"menu\": \"hr2_menu\"}, \"hr2_deduction\": {\"name\": \"hr2_deduction\", \"string\": \"Deduction\", \"view\": \"multi_view\", \"model\": \"hr2.deduction\", \"menu\": \"hr2_menu\"}, \"hr2_deduction_type\": {\"name\": \"hr2_deduction_type\", \"string\": \"Deduction Type\", \"view\": \"multi_view\", \"model\": \"hr2.deduction.type\", \"menu\": \"hr2_menu\"}, \"hr2_department\": {\"name\": \"hr2_department\", \"string\": \"Department\", \"view\": \"multi_view\", \"model\": \"hr2.department\", \"menu\": \"hr2_menu\"}, \"hr2_employee\": {\"name\": \"hr2_employee\", \"string\": \"Employees\", \"view\": \"multi_view\", \"model\": \"hr2.employee\", \"menu\": \"hr2_menu\", \"tabs\": [[\"Current EMP\", [\"work_status\", \"=\", \"Working\"]], [\"All EMP\", []]]}, \"hr2_employee_leaves\": {\"name\": \"hr2_employee_leaves\", \"string\": \"Employee's Leaves Records\", \"view\": \"multi_view\", \"model\": \"hr2.employee.leaves\", \"menu\": \"hr2_menu\", \"tabs\": [[\"Current EMP\", [\"status\", \"=\", \"Working\"]], [\"All EMP\", []]]}, \"hr2_employment_category\": {\"name\": \"hr2_employment_category\", \"string\": \"Employment Category\", \"view\": \"multi_view\", \"model\": \"hr2.employment.category\", \"menu\": \"hr2_menu\"}, \"hr2_job_objectives\": {\"name\": \"hr2_job_objectives\", \"string\": \"Job Objectives\", \"view\": \"multi_view\", \"model\": \"hr2.job.objectives\", \"menu\": \"hr2_menu\"}, \"hr2_job_title\": {\"name\": \"hr2_job_title\", \"string\": \"Job Title\", \"view\": \"multi_view\", \"model\": \"hr2.job.title\", \"menu\": \"hr2_menu\"}, \"hr2_leave_request\": {\"name\": \"hr2_leave_request\", \"string\": \"Leave Request\", \"view\": \"multi_view\", \"model\": \"hr2.leave.request\", \"menu\": \"hr2_menu\", \"tabs\": [[\"All\", []], [\"Draft\", [\"state\", \"=\", \"draft\"]], [\"Awaiting Approval\", [\"state\", \"=\", \"await\"]], [\"Approved\", [\"state\", \"=\", \"approved\"]], [\"Rejected\", [\"state\", \"=\", \"rejected\"]]]}, \"hr2_marriage_status\": {\"name\": \"hr2_marriage_status\", \"string\": \"Marriage Status\", \"view\": \"multi_view\", \"model\": \"hr2.salary.marriage.status\", \"menu\": \"hr2_menu\"}, \"hr2_menu\": {\"name\": \"hr2_menu\", \"string\": \"HR Menu\", \"view\": \"multi_view\", \"menu\": \"hr2_menu\"}, \"hr2_net_salary\": {\"name\": \"hr2_net_salary\", \"string\": \"Net Salary\", \"view\": \"multi_view\", \"model\": \"hr2.salary\", \"menu\": \"hr2_menu\"}, \"hr2_payroll\": {\"name\": \"hr2_payroll\", \"string\": \"Payroll\", \"view\": \"multi_view\", \"model\": \"hr2.payroll\", \"menu\": \"hr2_menu\"}, \"hr2_pay_slip\": {\"name\": \"hr2_pay_slip\", \"string\": \"Pay Slip\", \"view\": \"multi_view\", \"model\": \"hr2.pay.slip\", \"menu\": \"hr2_menu\"}, \"hr2_pcb\": {\"name\": \"hr2_pcb\", \"string\": \"PCB Form\", \"view\": \"multi_view\", \"model\": \"hr2.pcb\", \"menu\": \"hr2_menu\"}, \"hr2_salary_epf\": {\"name\": \"hr2_salary_epf\", \"string\": \"EPF Rate\", \"view\": \"multi_view\", \"model\": \"hr2.salary.epf\", \"menu\": \"hr2_menu\"}, \"hr2_salary_year\": {\"name\": \"hr2_salary_year\", \"string\": \"Yearly Rate\", \"view\": \"multi_view\", \"model\": \"hr2.salary.year\", \"menu\": \"hr2_menu\"}, \"hr2_tax_relief\": {\"name\": \"hr2_tax_relief\", \"string\": \"Tax Relief Limit\", \"view\": \"multi_view\", \"model\": \"hr2.tax.relief\", \"menu\": \"hr2_menu\"}, \"hr2_type_of_position\": {\"name\": \"hr2_type_of_position\", \"string\": \"Type Of Position\", \"view\": \"multi_view\", \"model\": \"hr2.type.of.position\", \"menu\": \"hr2_menu\"}, \"issue_david\": {\"name\": \"issue_david\", \"string\": \"Issue (David)\", \"view\": null, \"menu\": \"help_menu\", \"type\": \"url\", \"url\": \"https://nfsoft.netforce.com/action?name=issue_tracker&project_code=SMARTB&active_tab=1&mode=form\", \"target\": \"new_window\"}, \"issue_internal\": {\"name\": \"issue_internal\", \"string\": \"Issue Tracker\", \"view\": \"multi_view\", \"menu\": \"help2_menu\", \"type\": \"url\", \"url\": \"https://main.smartb.co/action?name=issue_tracker&project_code=ProjectInternal&active_tab=1&menu=help2_menu\", \"target\": \"_self\"}, \"issuelog\": {\"name\": \"issuelog\", \"string\": null, \"view\": null, \"type\": \"url\", \"url\": \"https://main.smartb.co/action?name=page_render&module=netforce_cms&view=page_render&project_code=MAIN&no_login=1&comp_name=issue_log\", \"target\": \"new_window\"}, \"issue_log\": {\"name\": \"issue_log\", \"string\": null, \"view\": null, \"type\": \"url\", \"url\": \"https://main.smartb.co/action?name=issue_tracker&project_code=MAIN&active_tab=1\", \"target\": \"new_window\"}, \"pm_project\": {\"name\": \"pm_project\", \"string\": \"Project Management\", \"view\": \"multi_view\", \"model\": \"pm.project\", \"menu\": \"pm_project_menu\", \"tabs\": [[\"All\", []], [\"New\", [\"proj_status\", \"=\", \"new\"]], [\"On Hold\", [\"proj_status\", \"=\", \"on_hold\"]], [\"Ongoing (Int)\", [\"proj_status\", \"=\", \"ongoing\"]], [\"Ongoing (Ext)\", [\"proj_status\", \"=\", \"ongoing1\"]], [\"Internal Testing\", [\"proj_status\", \"=\", \"in test\"]], [\"UAT\", [\"proj_status\", \"=\", \"uat\"]], [\"Completed\", [\"proj_status\", \"=\", \"completed\"]]]}, \"pm_project_menu\": {\"name\": \"pm_project_menu\", \"string\": \"Project Management Menu\", \"view\": \"multi_view\", \"menu\": \"pm_project_menu\"}, \"pm_sub_task\": {\"name\": \"pm_sub_task\", \"string\": \"Project Sub Task\", \"view\": \"multi_view\", \"model\": \"pm.sub.task\", \"menu\": \"pm_project_menu\"}, \"pm_task\": {\"name\": \"pm_task\", \"string\": \"Project Task\", \"view\": \"multi_view\", \"model\": \"pm.task\", \"menu\": \"pm_project_menu\", \"tabs\": [[\"All\", []], [\"On Hold\", [\"state\", \"=\", \"on_hold\"]], [\"Ready\", [\"state\", \"=\", \"ready\"]], [\"In Progress\", [\"state\", \"=\", \"in_prog\"]], [\"Ongoing (Int)\", [\"state\", \"=\", \"on_going\"]], [\"Ongoing (Ext)\", [\"state\", \"=\", \"on_going1\"]], [\"Completed\", [\"state\", \"=\", \"completed\"]], [\"Closed\", [\"state\", \"=\", \"closed\"]], [\"Others\", [\"state\", \"=\", \"others\"]]]}, \"pm_task_categ\": {\"name\": \"pm_task_categ\", \"string\": \"Project Task Category\", \"view\": \"multi_view\", \"model\": \"pm.task.categ\", \"menu\": \"pm_project_menu\"}, \"pm_task_name\": {\"name\": \"pm_task_name\", \"string\": \"Project Task Name\", \"view\": \"multi_view\", \"model\": \"pm.project.task.name\", \"menu\": \"pm_project_menu\"}, \"price_calc\": {\"name\": \"price_calc\", \"string\": \"Price Calculator\", \"view\": \"multi_view\", \"model\": \"price.calc\", \"menu\": \"price_calc_menu\"}, \"price_calc_ad\": {\"name\": \"price_calc_ad\", \"string\": \"Price Calculator Adjustment\", \"view\": \"multi_view\", \"model\": \"price_calculator_ad\", \"menu\": \"price_calc_menu\"}, \"price_calc_breakdown\": {\"name\": \"price_calc_breakdown\", \"string\": \"Calculation Breakdown\", \"view\": \"multi_view\", \"model\": \"price.calc.breakdown\", \"menu\": \"price_calc_menu\"}, \"price_calc_feature_menu\": {\"name\": \"price_calc_feature_menu\", \"string\": \"Features\", \"view\": \"multi_view\", \"model\": \"price_calc_feature\", \"menu\": \"price_calc_menu\"}, \"print_hr2_net_salary_form\": {\"name\": \"print_hr2_net_salary_form\", \"string\": null, \"view\": \"print_wizard2\", \"model\": \"hr2.salary\", \"menu\": \"hr2_menu\"}, \"print_hr2_pay_slip_form\": {\"name\": \"print_hr2_pay_slip_form\", \"string\": null, \"view\": \"print_wizard2\", \"model\": \"hr2.pay.slip\", \"menu\": \"hr2_menu\"}, \"print_hr2_pcb_form\": {\"name\": \"print_hr2_pcb_form\", \"string\": null, \"view\": \"print_wizard2\", \"model\": \"hr2.pcb\", \"menu\": \"hr2_menu\"}, \"print_hr_form\": {\"name\": \"print_hr_form\", \"string\": null, \"view\": \"print_wizard2\", \"menu\": \"hr2_menu\"}, \"report_pick_in_form3\": {\"name\": \"report_pick_in_form3\", \"string\": null, \"view\": \"print_wizard2\", \"model\": \"stock.picking\", \"menu\": \"stock_menu\"}, \"report_stock_count_form3\": {\"name\": \"report_stock_count_form3\", \"string\": null, \"view\": \"print_wizard2\", \"model\": \"stock.count\", \"menu\": \"stock_menu\"}, \"time_tracker\": {\"name\": \"time_tracker\", \"string\": \"Time Tracker\", \"view\": \"multi_view\", \"model\": \"pm.time.tracker\", \"menu\": \"pm_project_menu\"}, \"to_planner\": {\"name\": \"to_planner\", \"string\": null, \"view\": null, \"type\": \"url\", \"url\": \"https://docs.google.com/spreadsheets/d/1401ydhIRhj14a1RkcRLqr5bOuW3LwGIZ1L2bW4JT3A0/edit?usp=sharing\", \"target\": \"new_window\"}, \"tutorial\": {\"name\": \"tutorial\", \"string\": null, \"view\": null, \"type\": \"url\", \"url\": \"https://members.smartb.co/\", \"target\": \"new_window\"}, \"type_of_module\": {\"name\": \"type_of_module\", \"string\": \"Type of Module\", \"view\": \"multi_view\", \"model\": \"type.of.module\", \"menu\": \"price_calc_menu\"}}, \"layouts\": {\"message_tmpl_form\": {\"module\": \"netforce_messaging\", \"name\": \"message_tmpl_form\", \"type\": \"form\", \"model\": \"message.tmpl\", \"layout\": \"\n<form model=\\\"message.tmpl\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"from_user\\\"/>\\n\n    <field name=\\\"to_user\\\"/>\\n\n    <field name=\\\"subject\\\" size=\\\"xlarge\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"body\\\" width=\\\"600\\\"/>\\n\n</form>\"}, \"voice_account_form\": {\"module\": \"netforce_messaging\", \"name\": \"voice_account_form\", \"type\": \"form\", \"model\": \"voice.account\", \"layout\": \"\n<form model=\\\"voice.account\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n</form>\\n\"}, \"sms_template_list\": {\"module\": \"netforce_messaging\", \"name\": \"sms_template_list\", \"type\": \"list\", \"model\": \"sms.template\", \"layout\": \"\n<list model=\\\"sms.template\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"phone\\\"/>\\n\n    <field name=\\\"body\\\"/>\\n\n    <field name=\\\"account_id\\\"/>\\n\n</list>\\n\"}, \"sms_account_list\": {\"module\": \"netforce_messaging\", \"name\": \"sms_account_list\", \"type\": \"list\", \"model\": \"sms.account\", \"layout\": \"\n<list model=\\\"sms.account\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"username\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n</list>\\n\"}, \"broadcast\": {\"module\": \"netforce_messaging\", \"name\": \"broadcast\", \"type\": \"form\", \"model\": \"broadcast\", \"layout\": \"\n<form model=\\\"broadcast\\\">\\n    \n    <field name=\\\"channel_id\\\"/>\\n\n    <field name=\\\"profile_id\\\"/>\\n\n    <field name=\\\"message\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Send\\\" type=\\\"primary\\\" method=\\\"send\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"notif_list\": {\"module\": \"netforce_messaging\", \"name\": \"notif_list\", \"type\": \"list\", \"model\": \"notif\", \"layout\": \"\n<list model=\\\"notif\\\">\\n    \n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"bg_task_id\\\"/>\\n\n</list>\\n\"}, \"notif_form\": {\"module\": \"netforce_messaging\", \"name\": \"notif_form\", \"type\": \"form\", \"model\": \"notif\", \"layout\": \"\n<form model=\\\"notif\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"bg_task_id\\\"/>\\n\n</form>\\n\"}, \"voice_call_form\": {\"module\": \"netforce_messaging\", \"name\": \"voice_call_form\", \"type\": \"form\", \"model\": \"voice.call\", \"layout\": \"\n<form model=\\\"voice.call\\\">\\n    \n    <field name=\\\"phone_from\\\"/>\\n\n    <field name=\\\"phone_to\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"plan_time\\\"/>\\n\n    <field name=\\\"start_time\\\"/>\\n\n    <field name=\\\"end_time\\\"/>\\n\n    <field name=\\\"duration\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"state_details\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"file\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"call_id\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Start Call\\\" icon=\\\"phone\\\" type=\\\"success\\\" method=\\\"start_call\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"email_inbox_list\": {\"module\": \"netforce_messaging\", \"name\": \"email_inbox_list\", \"type\": \"list\", \"model\": \"email.message\", \"layout\": \"\n<list model=\\\"email.message\\\" colors='{\\\"#cfc\\\":[[\\\"name_id\\\",\\\"!=\\\",null],[\\\"related_id\\\",\\\"=\\\",null]],\\\"#9f9\\\":[[\\\"name_id\\\",\\\"!=\\\",null],[\\\"related_id\\\",\\\"!=\\\",null]],\\\"bold\\\":[[\\\"opened\\\",\\\"!=\\\",true]]}'>\\n    \n    <head>\\n        \n        <button string=\\\"Link Emails\\\" method=\\\"link_emails\\\"/>\\n\n        <button string=\\\"Mark Opened\\\" method=\\\"mark_opened\\\"/>\\n\n        <button string=\\\"Exec Rules\\\" method=\\\"exec_rules\\\"/>\\n\n    </head>\\n\n    <field name=\\\"from_addr\\\"/>\\n\n    <field name=\\\"subject\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"name_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"mailbox_id\\\"/>\\n\n    <field name=\\\"num_attach\\\"/>\\n\n    <field name=\\\"is_spam\\\"/>\\n\n    <field name=\\\"opened\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"email_reject_form\": {\"module\": \"netforce_messaging\", \"name\": \"email_reject_form\", \"type\": \"form\", \"model\": \"email.reject\", \"layout\": \"\n<form model=\\\"email.reject\\\">\\n    \n    <field name=\\\"email\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"reason\\\"/>\\n\n    <field name=\\\"details\\\"/>\\n\n</form>\\n\"}, \"sms_message_form\": {\"module\": \"netforce_messaging\", \"name\": \"sms_message_form\", \"type\": \"form\", \"model\": \"sms.message\", \"layout\": \"\n<form model=\\\"sms.message\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"account_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"phone\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"body\\\" width=\\\"800\\\" height=\\\"300\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"num_chars\\\"/>\\n\n    <field name=\\\"error\\\" attrs='{\\\"invisible\\\":[[\\\"state\\\",\\\"!=\\\",\\\"error\\\"]]}'/>\\n\n    <foot>\\n        \n        <button string=\\\"Send\\\" method=\\\"send\\\" type=\\\"success\\\" icon=\\\"envelope\\\" states=\\\"to_send,draft\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"sms_account_form\": {\"module\": \"netforce_messaging\", \"name\": \"sms_account_form\", \"type\": \"form\", \"model\": \"sms.account\", \"layout\": \"\n<form model=\\\"sms.account\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"username\\\"/>\\n\n    <field name=\\\"password\\\" password=\\\"1\\\"/>\\n\n    <field name=\\\"sender\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"skip_verif\\\"/>\\n\n</form>\\n\"}, \"message_list\": {\"module\": \"netforce_messaging\", \"name\": \"message_list\", \"type\": \"list\", \"model\": \"message\", \"layout\": \"\n<list model=\\\"message\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"from_id\\\"/>\\n\n    <field name=\\\"subject\\\"/>\\n\n    <field name=\\\"body\\\"/>\\n\n</list>\\n\"}, \"chat_channel_form\": {\"module\": \"netforce_messaging\", \"name\": \"chat_channel_form\", \"type\": \"form\", \"model\": \"chat.channel\", \"layout\": \"\n<form model=\\\"chat.channel\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"messages\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"message_tmpl_list\": {\"module\": \"netforce_messaging\", \"name\": \"message_tmpl_list\", \"type\": \"list\", \"model\": \"message.tmpl\", \"layout\": \"\n<list model=\\\"message.tmpl\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"from_user\\\"/>\\n\n    <field name=\\\"to_user\\\"/>\\n\n    <field name=\\\"subject\\\"/>\\n\n    <field name=\\\"body\\\"/>\\n\n</list>\"}, \"device_location_form\": {\"module\": \"netforce_messaging\", \"name\": \"device_location_form\", \"type\": \"form\", \"model\": \"device.location\", \"layout\": \"\n<form model=\\\"device.location\\\">\\n    \n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"device_id\\\"/>\\n\n    <field name=\\\"coords\\\"/>\\n\n</form>\\n\"}, \"email_tmpl_form\": {\"module\": \"netforce_messaging\", \"name\": \"email_tmpl_form\", \"type\": \"form\", \"model\": \"email.template\", \"layout\": \"\n<form model=\\\"email.template\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n    </top>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <field name=\\\"name\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"from_addr\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"reply_to\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"to_addrs\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"cc_addrs\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"subject\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"body\\\" width=\\\"800\\\" height=\\\"400\\\" view=\\\"field_html\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"attachments\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Links\\\">\\n            \n            <field name=\\\"contact\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"related\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"msg_user_widget\": {\"module\": \"netforce_messaging\", \"name\": \"msg_user_widget\", \"type\": \"list\", \"model\": \"base.user\", \"priority\": 20, \"layout\": \"\n<list model=\\\"base.user\\\" priority=\\\"20\\\" colors='{\\\"#9f9\\\":[[\\\"online_status\\\",\\\"=\\\",\\\"online\\\"]]}' noselect=\\\"1\\\" action=\\\"inbox\\\" hide_select=\\\"1\\\" hide_page=\\\"1\\\">\\n    \n    <head replace=\\\"1\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"online_status\\\"/>\\n\n</list>\\n\"}, \"sms_message_list\": {\"module\": \"netforce_messaging\", \"name\": \"sms_message_list\", \"type\": \"list\", \"model\": \"sms.message\", \"layout\": \"\n<list model=\\\"sms.message\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"account_id\\\"/>\\n\n    <field name=\\\"phone\\\"/>\\n\n    <field name=\\\"body\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"msg_board\": {\"module\": \"netforce_messaging\", \"name\": \"msg_board\", \"type\": \"board\", \"layout\": \"\n<board>\\n    \n    <hpanel>\\n        \n        <widget string=\\\"Users\\\" action=\\\"msg_user_widget\\\"/>\\n\n    </hpanel>\\n\n</board>\"}, \"push_notif_list\": {\"module\": \"netforce_messaging\", \"name\": \"push_notif_list\", \"type\": \"list\", \"model\": \"push.notif\", \"layout\": \"\n<list model=\\\"push.notif\\\">\\n    \n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"message\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"device_id\\\"/>\\n\n</list>\\n\"}, \"email_reject_list\": {\"module\": \"netforce_messaging\", \"name\": \"email_reject_list\", \"type\": \"list\", \"model\": \"email.reject\", \"layout\": \"\n<list model=\\\"email.reject\\\">\\n    \n    <field name=\\\"email\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"reason\\\"/>\\n\n    <field name=\\\"details\\\"/>\\n\n</list>\\n\"}, \"sms_template_form\": {\"module\": \"netforce_messaging\", \"name\": \"sms_template_form\", \"type\": \"form\", \"model\": \"sms.template\", \"layout\": \"\n<form model=\\\"sms.template\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"phone\\\"/>\\n\n    <field name=\\\"body\\\" height=\\\"300\\\"/>\\n\n    <field name=\\\"account_id\\\"/>\\n\n</form>\\n\"}, \"email_mailbox_form\": {\"module\": \"netforce_messaging\", \"name\": \"email_mailbox_form\", \"type\": \"form\", \"model\": \"email.mailbox\", \"layout\": \"\n<form model=\\\"email.mailbox\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Send emails\\\" method=\\\"send_emails\\\"/>\\n\n            <item string=\\\"Fetch emails\\\" method=\\\"fetch_emails\\\"/>\\n\n            <item string=\\\"Get Email Events\\\" method=\\\"get_email_events\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"account_id\\\"/>\\n\n    <field name=\\\"account_mailbox\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"last_msg_uid\\\"/>\\n\n    <field name=\\\"last_msg_date\\\"/>\\n\n</form>\\n\"}, \"voice_account_list\": {\"module\": \"netforce_messaging\", \"name\": \"voice_account_list\", \"type\": \"list\", \"model\": \"voice.account\", \"layout\": \"\n<list model=\\\"voice.account\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n</list>\\n\"}, \"email_outbox_list\": {\"name\": \"email_outbox_list\", \"type\": \"list\", \"layout\": \"  \\n\n<list>\\n    \n    <head>\\n        \n        <button string=\\\"Link Emails\\\" method=\\\"link_emails\\\"/>\\n\n    </head>\\n\n    <field name=\\\"to_addrs\\\"/>\\n\n    <field name=\\\"subject\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"name_id\\\"/>\\n\n    <!--<field name=\\\"related_id\\\"/>-->\\n    \n    <field name=\\\"mailbox_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"opened\\\"/>\\n\n</list>\", \"model\": \"email.message\"}, \"chat_message_form\": {\"module\": \"netforce_messaging\", \"name\": \"chat_message_form\", \"type\": \"form\", \"model\": \"chat.message\", \"layout\": \"\n<form model=\\\"chat.message\\\">\\n    \n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"channel_id\\\"/>\\n\n    <field name=\\\"message\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n</form>\\n\"}, \"device_location_list\": {\"module\": \"netforce_messaging\", \"name\": \"device_location_list\", \"type\": \"list\", \"model\": \"device.location\", \"layout\": \"\n<list model=\\\"device.location\\\">\\n    \n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"device_id\\\"/>\\n\n    <field name=\\\"coords\\\"/>\\n\n</list>\\n\"}, \"email_rule_list\": {\"module\": \"netforce_messaging\", \"name\": \"email_rule_list\", \"type\": \"list\", \"model\": \"email.rule\", \"layout\": \"\n<list model=\\\"email.rule\\\">\\n    \n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"mailbox_id\\\"/>\\n\n    <field name=\\\"from_addr\\\"/>\\n\n    <field name=\\\"to_addr\\\"/>\\n\n    <field name=\\\"subject\\\"/>\\n\n    <field name=\\\"body\\\"/>\\n\n    <field name=\\\"action\\\"/>\\n\n</list>\\n\"}, \"notif_pending\": {\"module\": \"netforce_messaging\", \"name\": \"notif_pending\", \"type\": \"list\", \"model\": \"notif\", \"priority\": 20, \"layout\": \"\n<list model=\\\"notif\\\" priority=\\\"20\\\" hide_page=\\\"1\\\" hide_select=\\\"1\\\" method=\\\"view_notif\\\">\\n    \n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"title\\\" show_html=\\\"1\\\"/>\\n\n    <button string=\\\"Dismiss\\\" method=\\\"dismiss\\\" icon=\\\"remove\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Dismiss All\\\" icon=\\\"remove\\\" method=\\\"dismiss_all\\\"/>\\n\n    </foot>\\n\n</list>\\n\"}, \"msg_menu\": {\"module\": \"netforce_messaging\", \"name\": \"msg_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Messaging\\\">\\n    \n    <item string=\\\"Dashboard\\\" icon=\\\"fa_chart_pie\\\" action=\\\"msg_board\\\"/>\\n\n    <item string=\\\"Notifications\\\" icon=\\\"fa_bell\\\" action=\\\"notif\\\"/>\\n\n    <item string=\\\"Chat\\\" icon=\\\"fa_comment_dots\\\" dropdown=\\\"1\\\">\\n        \n        <item string=\\\"Chat Window\\\" action=\\\"chat\\\"/>\\n\n        <item string=\\\"Chat Messages\\\" action=\\\"chat_message\\\"/>\\n\n        <item string=\\\"Chat Channels\\\" action=\\\"chat_channel\\\"/>\\n</item>\\n\n    <item string=\\\"Email\\\" icon=\\\"fa_envelope\\\" dropdown=\\\"1\\\">\\n        \n        <item string=\\\"Email Messages\\\" action=\\\"email\\\"/>\\n\n        <item string=\\\"Email Templates\\\" action=\\\"email_tmpl\\\"/>\\n\n        <item string=\\\"Email Blacklist\\\" action=\\\"email_reject\\\"/>\\n</item>\\n\n    <item string=\\\"SMS\\\" icon=\\\"fa_sms\\\" dropdown=\\\"1\\\">\\n        \n        <item string=\\\"SMS Messages\\\" action=\\\"sms_message\\\"/>\\n\n        <item string=\\\"SMS Templates\\\" action=\\\"sms_template\\\"/>\\n</item>\\n\n    <item string=\\\"Mobile\\\" icon=\\\"fa_mobile_alt\\\" dropdown=\\\"1\\\">\\n        \n        <item string=\\\"Device Tokens\\\" action=\\\"device_token\\\"/>\\n\n        <item string=\\\"Push Notifications\\\" action=\\\"push_notif\\\"/>\\n\n        <item string=\\\"Device Locations\\\" action=\\\"device_location\\\"/>\\n</item>\\n\n    <item string=\\\"Voice\\\" icon=\\\"fa_microphone\\\" dropdown=\\\"1\\\">\\n        \n        <item string=\\\"Voice Calls\\\" action=\\\"voice_call\\\"/>\\n</item>\\n\n    <item string=\\\"Verification\\\" icon=\\\"fa_check\\\" action=\\\"verif_request\\\"/>\\n\n    <item string=\\\"Settings\\\" icon=\\\"fa_cog\\\" dropdown=\\\"1\\\">\\n        \n        <item string=\\\"Email Accounts\\\" action=\\\"email_account\\\"/>\\n\n        <item string=\\\"Email Mailboxes\\\" action=\\\"email_mailbox\\\"/>\\n\n        <item string=\\\"SMS Accounts\\\" action=\\\"sms_account\\\"/>\\n\n        <item string=\\\"Voice Accounts\\\" action=\\\"voice_account\\\"/>\\n</item>\\n\n</menu>\\n\"}, \"email_account_list\": {\"module\": \"netforce_messaging\", \"name\": \"email_account_list\", \"type\": \"list\", \"model\": \"email.account\", \"layout\": \"\n<list model=\\\"email.account\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"host\\\"/>\\n\n    <field name=\\\"port\\\"/>\\n\n</list>\"}, \"verif_request_form\": {\"module\": \"netforce_messaging\", \"name\": \"verif_request_form\", \"type\": \"form\", \"model\": \"verif.request\", \"layout\": \"\n<form model=\\\"verif.request\\\">\\n    \n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"phone\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"verif_code\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n</form>\\n\"}, \"push_notif_form\": {\"module\": \"netforce_messaging\", \"name\": \"push_notif_form\", \"type\": \"form\", \"model\": \"push.notif\", \"layout\": \"\n<form model=\\\"push.notif\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"device_id\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"message\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"error\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Send\\\" method=\\\"send\\\" states=\\\"draft,to_send\\\" type=\\\"success\\\" icon=\\\"arrow-right\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"message_form\": {\"module\": \"netforce_messaging\", \"name\": \"message_form\", \"type\": \"form\", \"model\": \"message\", \"layout\": \"\n<form model=\\\"message\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"from_id\\\"/>\\n\n    <field name=\\\"to_id\\\"/>\\n\n    <field name=\\\"subject\\\" size=\\\"xlarge\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"body\\\" width=\\\"600\\\"/>\\n\n</form>\"}, \"email_mailbox_list\": {\"module\": \"netforce_messaging\", \"name\": \"email_mailbox_list\", \"type\": \"list\", \"model\": \"email.mailbox\", \"layout\": \"\n<list model=\\\"email.mailbox\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"account_id\\\"/>\\n\n</list>\\n\"}, \"email_rule_form\": {\"module\": \"netforce_messaging\", \"name\": \"email_rule_form\", \"type\": \"form\", \"model\": \"email.rule\", \"layout\": \"\n<form model=\\\"email.rule\\\">\\n    \n    <field name=\\\"sequence\\\"/>\\n\n    <separator string=\\\"Conditions\\\"/>\\n\n    <field name=\\\"mailbox_id\\\"/>\\n\n    <field name=\\\"from_addr\\\"/>\\n\n    <field name=\\\"to_addr\\\"/>\\n\n    <field name=\\\"subject\\\"/>\\n\n    <field name=\\\"body\\\"/>\\n\n    <separator string=\\\"Action\\\"/>\\n\n    <field name=\\\"action\\\"/>\\n\n    <field name=\\\"action_params\\\"/>\\n\n</form>\\n\"}, \"email_form\": {\"module\": \"netforce_messaging\", \"name\": \"email_form\", \"type\": \"form\", \"model\": \"email.message\", \"layout\": \"\n<form model=\\\"email.message\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Link Email\\\" method=\\\"link_emails\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states='to_send,sent,delivered,bounced,rejected,received,error'/>\\n\n            <item string=\\\"Exec Rules\\\" method=\\\"exec_rules\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"Message\\\">\\n            \n            <field name=\\\"date\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"from_addr\\\"/>\\n\n            <field name=\\\"reply_to\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"to_addrs\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"cc_addrs\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"subject\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"body\\\" width=\\\"800\\\" height=\\\"400\\\" view=\\\"field_html\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"state\\\"/>\\n\n            <field name=\\\"error_message\\\" attrs='{\\\"invisible\\\":[[\\\"state\\\",\\\"!=\\\",\\\"error\\\"]]}'/>\\n\n        </tab>\\n\n        <tab string=\\\"Details\\\">\\n            \n            <field name=\\\"mailbox_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"mailbox_message_uid\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"message_id\\\" nowrap=\\\"1\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"parent_uid\\\" nowrap=\\\"1\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"parent_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"opened\\\"/>\\n\n            <field name=\\\"clicked\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"template_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"is_spam\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Links\\\">\\n            \n            <field name=\\\"name_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"related_id\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other\\\">\\n            \n            <field name=\\\"source\\\" width=\\\"800\\\" height=\\\"500\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"orig_from_addr\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <field name=\\\"open_detect\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Send\\\" method=\\\"send\\\" states=\\\"draft\\\" type=\\\"success\\\" icon=\\\"envelope\\\"/>\\n\n        <button string=\\\"Reply\\\" method=\\\"reply\\\" states=\\\"received\\\" type=\\\"success\\\" icon=\\\"share-alt\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"attachments\\\">\\n            \n            <list>\\n                \n                <head>\\n                    \n                    <button string=\\\"Copy To Document\\\" method=\\\"copy_to_doc\\\"/>\\n\n                </head>\\n\n                <field name=\\\"file\\\" preview=\\\"1\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"file\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"events\\\">\\n            \n            <list>\\n                \n                <field name=\\\"type\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"type\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"ip_addr\\\"/>\\n\n                <field name=\\\"location\\\"/>\\n\n                <field name=\\\"user_agent\\\"/>\\n\n                <field name=\\\"url\\\"/>\\n\n                <field name=\\\"details\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"chat_channel_list\": {\"module\": \"netforce_messaging\", \"name\": \"chat_channel_list\", \"type\": \"list\", \"model\": \"chat.channel\", \"layout\": \"\n<list model=\\\"chat.channel\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"num_members\\\"/>\\n\n    <field name=\\\"num_messages\\\"/>\\n\n</list>\\n\"}, \"chat_message_list\": {\"module\": \"netforce_messaging\", \"name\": \"chat_message_list\", \"type\": \"list\", \"model\": \"chat.message\", \"layout\": \"\n<list model=\\\"chat.message\\\">\\n    \n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"channel_id\\\"/>\\n\n    <field name=\\\"message\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n</list>\\n\"}, \"email_account_form\": {\"module\": \"netforce_messaging\", \"name\": \"email_account_form\", \"type\": \"form\", \"model\": \"email.account\", \"layout\": \"\n<form model=\\\"email.account\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"List IMAP Mailboxes\\\" method=\\\"list_imap_mailboxes\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"host\\\"/>\\n\n    <field name=\\\"port\\\"/>\\n\n    <field name=\\\"user\\\"/>\\n\n    <field name=\\\"password\\\" password=\\\"1\\\"/>\\n\n    <field name=\\\"security\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"verif_request_list\": {\"module\": \"netforce_messaging\", \"name\": \"verif_request_list\", \"type\": \"list\", \"model\": \"verif.request\", \"layout\": \"\n<list model=\\\"verif.request\\\">\\n    \n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"phone\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"verif_code\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n</list>\\n\"}, \"device_token_form\": {\"module\": \"netforce_messaging\", \"name\": \"device_token_form\", \"type\": \"form\", \"model\": \"device.token\", \"layout\": \"\n<form model=\\\"device.token\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"app_name\\\"/>\\n\n    <field name=\\\"model\\\"/>\\n\n    <field name=\\\"brand\\\"/>\\n\n    <field name=\\\"is_tablet\\\"/>\\n\n    <field name=\\\"system_name\\\"/>\\n\n    <field name=\\\"system_version\\\"/>\\n\n    <field name=\\\"locale\\\"/>\\n\n    <field name=\\\"timezone\\\"/>\\n\n    <field name=\\\"carrier\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"unique_id\\\"/>\\n\n    <field name=\\\"token\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"push_notifs\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"device_token_list\": {\"module\": \"netforce_messaging\", \"name\": \"device_token_list\", \"type\": \"list\", \"model\": \"device.token\", \"layout\": \"\n<list model=\\\"device.token\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"app_name\\\"/>\\n\n    <field name=\\\"model\\\"/>\\n\n    <field name=\\\"brand\\\"/>\\n\n    <field name=\\\"is_tablet\\\"/>\\n\n    <field name=\\\"system_name\\\"/>\\n\n    <field name=\\\"system_version\\\"/>\\n\n    <field name=\\\"locale\\\"/>\\n\n    <field name=\\\"timezone\\\"/>\\n\n    <field name=\\\"carrier\\\"/>\\n\n    <field name=\\\"unique_id\\\"/>\\n\n    <field name=\\\"token\\\"/>\\n\n</list>\\n\"}, \"email_list\": {\"module\": \"netforce_messaging\", \"name\": \"email_list\", \"type\": \"list\", \"model\": \"email.message\", \"priority\": 5, \"layout\": \"\n<list model=\\\"email.message\\\" priority=\\\"5\\\">\\n    \n    <top replace=\\\"1\\\">\\n        \n        <button string=\\\"New Email\\\" icon=\\\"plus-sign\\\" action=\\\"email\\\" action_options='{\\\"mode\\\":\\\"form\\\"}'/>\\n\n        <button string=\\\"Get Emails\\\" icon=\\\"refresh\\\" method=\\\"get_emails\\\"/>\\n\n        <button string=\\\"Send Emails\\\" method=\\\"send_emails_async\\\"/>\\n\n        <button string=\\\"Delete Unlinked Emails\\\" method=\\\"delete_unlinked_emails\\\" icon=\\\"remove\\\" confirm=\\\"Are you sure?\\\" type=\\\"danger\\\"/>\\n\n    </top>\\n\n    <field name=\\\"from_addr\\\"/>\\n\n    <field name=\\\"to_addrs\\\"/>\\n\n    <field name=\\\"subject\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"name_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"mailbox_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"email_tmpl_list\": {\"module\": \"netforce_messaging\", \"name\": \"email_tmpl_list\", \"type\": \"list\", \"model\": \"email.template\", \"layout\": \"\n<list model=\\\"email.template\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"from_addr\\\"/>\\n\n    <field name=\\\"to_addrs\\\"/>\\n\n    <field name=\\\"subject\\\"/>\\n\n</list>\"}, \"voice_call_list\": {\"module\": \"netforce_messaging\", \"name\": \"voice_call_list\", \"type\": \"list\", \"model\": \"voice.call\", \"layout\": \"\n<list model=\\\"voice.call\\\">\\n    \n    <field name=\\\"plan_time\\\"/>\\n\n    <field name=\\\"phone_from\\\"/>\\n\n    <field name=\\\"phone_to\\\"/>\\n\n    <field name=\\\"start_time\\\"/>\\n\n    <field name=\\\"end_time\\\"/>\\n\n    <field name=\\\"duration\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n</list>\\n\"}, \"log_list\": {\"module\": \"netforce_general\", \"name\": \"log_list\", \"type\": \"list\", \"model\": \"log\", \"layout\": \"\n<list model=\\\"log\\\" colors='{\\\"red\\\":[[\\\"type\\\",\\\"=\\\",\\\"error\\\"]],\\\"orange\\\":[[\\\"type\\\",\\\"=\\\",\\\"warning\\\"]]}'>\\n    \n    <top replace=\\\"1\\\">\\n        \n        <button string=\\\"Slow Test\\\" method=\\\"test_slow\\\"/>\\n\n    </top>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"ip_addr\\\"/>\\n\n    <field name=\\\"country_id\\\"/>\\n\n    <field name=\\\"message\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"txid\\\"/>\\n\n    <field name=\\\"entry_point\\\"/>\\n\n    <field name=\\\"client_name\\\"/>\\n\n    <field name=\\\"fields_changed\\\"/>\\n\n</list>\\n\"}, \"wkf_rule_form\": {\"module\": \"netforce_general\", \"name\": \"wkf_rule_form\", \"type\": \"form\", \"model\": \"wkf.rule\", \"layout\": \"\n<form model=\\\"wkf.rule\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Options\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <separator string=\\\"Trigger\\\"/>\\n\n    <field name=\\\"trigger_model_id\\\"/>\\n\n    <field name=\\\"trigger_event\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <separator string=\\\"Condition\\\"/>\\n\n    <field name=\\\"condition_method\\\"/>\\n\n    <field name=\\\"condition_args\\\"/>\\n\n    <separator string=\\\"Action\\\"/>\\n\n    <field name=\\\"action_model_id\\\"/>\\n\n    <field name=\\\"action_method\\\"/>\\n\n    <field name=\\\"action_args\\\"/>\\n\n    <field name=\\\"action_stop\\\"/>\\n\n    <group attrs='{\\\"invisible\\\":[[\\\"state\\\",\\\"!=\\\",\\\"inactive\\\"]]}'>\\n        \n        <separator/>\\n\n        <field name=\\\"error\\\"/>\\n\n    </group>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"uom_conv_list\": {\"module\": \"netforce_general\", \"name\": \"uom_conv_list\", \"type\": \"list\", \"model\": \"uom.conv\", \"layout\": \"\n<list model=\\\"uom.conv\\\">\\n    \n    <field name=\\\"uom_from_id\\\"/>\\n\n    <field name=\\\"uom_to_id\\\"/>\\n\n    <field name=\\\"factor\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"product_categ_id\\\"/>\\n\n</list>\\n\"}, \"sequence_form\": {\"module\": \"netforce_general\", \"name\": \"sequence_form\", \"type\": \"form\", \"model\": \"sequence\", \"layout\": \"\n<form model=\\\"sequence\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"model_id\\\"/>\\n\n    <field name=\\\"prefix\\\"/>\\n\n    <field name=\\\"padding\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"running\\\">\\n            \n            <list>\\n                \n                <field name=\\\"prefix\\\"/>\\n\n                <field name=\\\"next\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"prefix\\\"/>\\n\n                <field name=\\\"next\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"search_menu\": {\"module\": \"netforce_general\", \"name\": \"search_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Search\\\">\\n</menu>\\n\"}, \"uom_form\": {\"module\": \"netforce_general\", \"name\": \"uom_form\", \"type\": \"form\", \"model\": \"uom\", \"layout\": \"\n<form model=\\\"uom\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"ratio\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\"}, \"module_form\": {\"module\": \"netforce_general\", \"name\": \"module_form\", \"type\": \"form\", \"model\": \"module\", \"layout\": \"\n<form model=\\\"module\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Delete Module\\\" method=\\\"delete_modules\\\" confirm=\\\"Are you sure?\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"version\\\"/>\\n\n    <field name=\\\"author\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"models\\\"/>\\n\n        <field name=\\\"view_layouts\\\"/>\\n\n        <field name=\\\"actions\\\"/>\\n\n        <field name=\\\"templates\\\"/>\\n\n        <field name=\\\"scripts\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"translation_form\": {\"module\": \"netforce_general\", \"name\": \"translation_form\", \"type\": \"form\", \"model\": \"translation\", \"layout\": \"\n<form model=\\\"translation\\\">\\n    \n    <field name=\\\"lang_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"original\\\"/>\\n\n    <field name=\\\"translation\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\"}, \"image_list\": {\"module\": \"netforce_general\", \"name\": \"image_list\", \"type\": \"list\", \"model\": \"image\", \"layout\": \"\n<list model=\\\"image\\\">\\n    \n    <field name=\\\"image\\\"/>\\n\n    <!--<field name=\\\"related_id\\\"/>-->\\n\n</list>\\n\"}, \"country_list\": {\"module\": \"netforce_general\", \"name\": \"country_list\", \"type\": \"list\", \"model\": \"country\", \"layout\": \"\n<list model=\\\"country\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"phone_prefix\\\"/>\\n\n    <field name=\\\"flag\\\"/>\\n\n    <field name=\\\"timezone\\\"/>\\n\n</list>\\n\"}, \"country_search\": {\"module\": \"netforce_general\", \"name\": \"country_search\", \"type\": \"search\", \"model\": \"country\", \"layout\": \"\n<search model=\\\"country\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</search>\"}, \"import_module\": {\"module\": \"netforce_general\", \"name\": \"import_module\", \"type\": \"form\", \"model\": \"import.module\", \"layout\": \"\n<form model=\\\"import.module\\\" title=\\\"Import Modules\\\">\\n    \n    <field name=\\\"file\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Import\\\" method=\\\"do_import\\\" type=\\\"primary\\\" icon=\\\"arrow-right\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"menu_access_form\": {\"module\": \"netforce_general\", \"name\": \"menu_access_form\", \"type\": \"form\", \"model\": \"menu.access\", \"layout\": \"\n<form model=\\\"menu.access\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Options\\\">\\n            \n            <item string=\\\"Duplicate\\\" action=\\\"menu_access_add\\\" action_context='{\\\"refer_id\\\":id}'/>\\n\n        </button>\\n\n    </top>\\n\\n\n    <field name=\\\"profile_id\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"action\\\"/>\\n\n    <field name=\\\"menu\\\"/>\\n\n    <field name=\\\"parent_menu\\\"/>\\n\n    <field name=\\\"button\\\"/>\\n\n    <field name=\\\"label\\\"/>\\n\n    <field name=\\\"access\\\"/>\\n\n</form>\\n\"}, \"cron_job_list\": {\"module\": \"netforce_general\", \"name\": \"cron_job_list\", \"type\": \"list\", \"model\": \"cron.job\", \"layout\": \"\n<list model=\\\"cron.job\\\" colors='{\\\"#fcc\\\":[[\\\"state\\\",\\\"=\\\",\\\"error\\\"]]}'>\\n    \n    <head>\\n        \n        <button string=\\\"Update Scheduled Dates\\\" method=\\\"update_dates\\\"/>\\n\n        <button string=\\\"Create Tasks\\\" method=\\\"create_tasks\\\"/>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"interval_num\\\"/>\\n\n    <field name=\\\"interval_type\\\"/>\\n\n    <field name=\\\"timeout\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"menu_access_add\": {\"module\": \"netforce_general\", \"name\": \"menu_access_add\", \"type\": \"form\", \"model\": \"menu.access.add\", \"layout\": \"\n<form model=\\\"menu.access.add\\\">\\n    \n    <field name=\\\"menu_access_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"profile_id\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"action\\\"/>\\n\n    <field name=\\\"menu\\\"/>\\n\n    <field name=\\\"parent_menu\\\"/>\\n\n    <field name=\\\"button\\\"/>\\n\n    <field name=\\\"label\\\"/>\\n\\t\n    <field name=\\\"access\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Add\\\" method=\\\"duplicate_menu_access\\\" type=\\\"primary\\\"/>\\n\n        <!--<button string=\\\"Add\\\" method=\\\"add_lines\\\" type=\\\"primary\\\"/>-->\\n    \n    </foot>\\n\n</form>\\n\"}, \"report_template_list\": {\"module\": \"netforce_general\", \"name\": \"report_template_list\", \"type\": \"list\", \"model\": \"report.template\", \"layout\": \"\n<list model=\\\"report.template\\\">\\n    \n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"format\\\"/>\\n\n    <field name=\\\"file\\\"/>\\n\n    <field name=\\\"orientation\\\"/>\\n\n    <field name=\\\"printer_name\\\"/>\\n\n    <field name=\\\"multi_render\\\"/>\\n\n    <field name=\\\"convert_pdf\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n</list>\\n\"}, \"reset_passwd\": {\"module\": \"netforce_general\", \"name\": \"reset_passwd\", \"type\": \"form\", \"model\": \"reset.passwd\", \"layout\": \"\n<form model=\\\"reset.passwd\\\" title=\\\"Reset Password\\\">\\n    \n    <field name=\\\"user_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"new_password\\\" password=\\\"1\\\"/>\\n\n    <field name=\\\"new_password_repeat\\\" password=\\\"1\\\"/>\\n\n    <field name=\\\"notif\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Change Password\\\" method=\\\"change_passwd\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"group_form\": {\"module\": \"netforce_general\", \"name\": \"group_form\", \"type\": \"form\", \"model\": \"user.group\", \"layout\": \"\n<form model=\\\"user.group\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"users\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"subdistrict_list\": {\"module\": \"netforce_general\", \"name\": \"subdistrict_list\", \"type\": \"list\", \"model\": \"subdistrict\", \"layout\": \"\n<list model=\\\"subdistrict\\\">\\n    \n    <field name=\\\"district_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</list>\\n\"}, \"setup_menu\": {\"module\": \"netforce_general\", \"name\": \"setup_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Setup\\\" hide_main=\\\"1\\\">\\n</menu>\\n\"}, \"inline_help_list\": {\"module\": \"netforce_general\", \"name\": \"inline_help_list\", \"type\": \"list\", \"model\": \"inline.help\", \"layout\": \"\n<list model=\\\"inline.help\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Google Docs Import\\\" action=\\\"import_inline_help\\\" icon=\\\"download\\\"/>\\n\n    </top>\\n\n    <field name=\\\"action\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"create_date\\\"/>\\n\n    <field name=\\\"modif_date\\\"/>\\n\n    <field name=\\\"hide\\\"/>\\n\n</list>\\n\"}, \"print_wizard\": {\"module\": \"netforce_general\", \"name\": \"print_wizard\", \"type\": \"form\", \"model\": \"print.wizard\", \"layout\": \"\n<form model=\\\"print.wizard\\\">\\n    \n    <field name=\\\"model\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"ids\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"method\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"template_type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"template_id\\\" condition='[[\\\"type\\\",\\\"=\\\",template_type]]'/>\\n\n    <foot>\\n        \n        <button string=\\\"Download\\\" method=\\\"print\\\" type=\\\"primary\\\" icon=\\\"download\\\"/>\\n\n        <button string=\\\"Open\\\" method=\\\"open_new_tab\\\" icon=\\\"arrow-right\\\"/>\\n\n        <button string=\\\"Cloud Print\\\" method=\\\"cloud_print\\\" icon=\\\"print\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"approve_wkf_form\": {\"module\": \"netforce_general\", \"name\": \"approve_wkf_form\", \"type\": \"form\", \"model\": \"approve.wkf\", \"layout\": \"\n<form model=\\\"approve.wkf\\\" show_company=\\\"1\\\">\\n    \n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n    <separator string=\\\"Conditions\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"group_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"min_amount\\\"/>\\n\n    <field name=\\\"max_amount\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"steps\\\">\\n            \n            <list>\\n                \n                <field name=\\\"sequence\\\"/>\\n\n                <field name=\\\"user_type\\\"/>\\n\n                <field name=\\\"approve_user_id\\\"/>\\n\n                <field name=\\\"company_id\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"sequence\\\"/>\\n\n                <field name=\\\"user_type\\\"/>\\n\n                <group span=\\\"6\\\" columns=\\\"1\\\" attrs='{\\\"invisible\\\":[[\\\"user_type\\\",\\\"!=\\\",\\\"select\\\"]]}'>\\n                    \n                    <field name=\\\"approve_user_id\\\"/>\\n\n                </group>\\n\n            </form>\\n\n        </field>\\n\n    </related>\\n\n</form>\\n\"}, \"field_access_add\": {\"module\": \"netforce_general\", \"name\": \"field_access_add\", \"type\": \"form\", \"model\": \"field.access.add\", \"layout\": \"\n<form model=\\\"field.access.add\\\">\\n    \n    <field name=\\\"field_access_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"profile_id\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"model_id\\\"/>\\n\n    <field name=\\\"field_id\\\"/>\\n\n    <field name=\\\"access\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Add\\\" method=\\\"duplicate_field_access\\\" type=\\\"primary\\\"/>\\n\n        <!--<button string=\\\"Add\\\" method=\\\"add_lines\\\" type=\\\"primary\\\"/>-->\\n    \n    </foot>\\n\n</form>\\n\"}, \"inline_help_form\": {\"module\": \"netforce_general\", \"name\": \"inline_help_form\", \"type\": \"form\", \"model\": \"inline.help\", \"layout\": \"\n<form model=\\\"inline.help\\\">\\n    \n    <field name=\\\"action\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"content\\\" wysi=\\\"1\\\" width=\\\"600\\\" height=\\\"400\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"create_date\\\"/>\\n\n    <field name=\\\"modif_date\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"hide\\\"/>\\n\n</form>\\n\"}, \"province_list\": {\"module\": \"netforce_general\", \"name\": \"province_list\", \"type\": \"list\", \"model\": \"province\", \"layout\": \"\n<list model=\\\"province\\\">\\n    \n    <field name=\\\"country_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</list>\"}, \"user_form\": {\"module\": \"netforce_general\", \"name\": \"user_form\", \"type\": \"form\", \"model\": \"base.user\", \"layout\": \"\n<form model=\\\"base.user\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Options\\\">\\n            \n            <item string=\\\"Reset Password\\\" action=\\\"reset_passwd\\\" action_options='{\\\"context\\\":{\\\"user_id\\\":id}}'/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"login\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"first_name\\\"/>\\n\n    <field name=\\\"last_name\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"email\\\"/>\\n\n    <field name=\\\"mobile\\\"/>\\n\n    <field name=\\\"profile_id\\\"/>\\n\n    <field name=\\\"role_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"pin_code\\\" password=\\\"1\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n    <field name=\\\"company2_id\\\"/>\\n\n    <field name=\\\"image\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"show_timer\\\"/>\\n\n    <field name=\\\"hourly_rate\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"otp_secret\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"products\\\" view=\\\"field_multi_select\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"sig_image\\\"/>\\n\n    <field name=\\\"regions\\\" view=\\\"field_multi_select\\\"/>\\n\n    <field name=\\\"prevent_multi_login\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"custom_field_set_form\": {\"module\": \"netforce_general\", \"name\": \"custom_field_set_form\", \"type\": \"form\", \"model\": \"custom.field.set\", \"layout\": \"\n<form model=\\\"custom.field.set\\\">\\n    \n    <group span=\\\"6\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"model_id\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"name\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"custom_fields\\\" view=\\\"field_multi_select\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"default\\\"/>\\n\n    </group>\\n\n    <group span=\\\"6\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"user_id\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"company_id\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"user_pref\": {\"module\": \"netforce_general\", \"name\": \"user_pref\", \"type\": \"form\", \"model\": \"base.user\", \"priority\": 20, \"layout\": \"\n<form model=\\\"base.user\\\" title=\\\"User Profile\\\" priority=\\\"20\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"login\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"password\\\" password=\\\"1\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"email\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"mobile\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"image\\\"/>\\n\n</form>\\n\"}, \"bank_list\": {\"module\": \"netforce_general\", \"name\": \"bank_list\", \"type\": \"list\", \"model\": \"bank\", \"layout\": \"\n<list model=\\\"bank\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"swift_code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</list>\\n\"}, \"layout_list\": {\"module\": \"netforce_general\", \"name\": \"layout_list\", \"type\": \"list\", \"model\": \"layout\", \"layout\": \"\n<list model=\\\"layout\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</list>\\n\"}, \"cron_job_form\": {\"module\": \"netforce_general\", \"name\": \"cron_job_form\", \"type\": \"form\", \"model\": \"cron.job\", \"layout\": \"\n<form model=\\\"cron.job\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n    </top>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"model\\\"/>\\n\n    <field name=\\\"method\\\"/>\\n\n    <field name=\\\"args\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"interval_num\\\"/>\\n\n    <field name=\\\"interval_type\\\"/>\\n\n    <field name=\\\"call_num\\\"/>\\n\n    <field name=\\\"timeout\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"tasks\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"sequence_list\": {\"module\": \"netforce_general\", \"name\": \"sequence_list\", \"type\": \"list\", \"model\": \"sequence\", \"layout\": \"\n<list model=\\\"sequence\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"model_id\\\"/>\\n\n    <field name=\\\"prefix\\\"/>\\n\n    <field name=\\\"padding\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n</list>\\n\"}, \"running_list\": {\"module\": \"netforce_general\", \"name\": \"running_list\", \"type\": \"list\", \"model\": \"sequence.running\", \"layout\": \"\n<list model=\\\"sequence.running\\\">\\n    \n    <field name=\\\"sequence_id\\\"/>\\n\n    <field name=\\\"prefix\\\"/>\\n\n    <field name=\\\"next\\\"/>\\n\n</list>\"}, \"attach_list\": {\"module\": \"netforce_general\", \"name\": \"attach_list\", \"type\": \"list\", \"model\": \"attach\", \"layout\": \"\n<list model=\\\"attach\\\">\\n    \n    <field name=\\\"file\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n</list>\"}, \"approve_wizard\": {\"module\": \"netforce_general\", \"name\": \"approve_wizard\", \"type\": \"form\", \"model\": \"approve.wizard\", \"layout\": \"\n<form model=\\\"approve.wizard\\\">\\n    \n    <field name=\\\"approve_model\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"approve_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"approve_method\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"approver_id\\\"/>\\n\n    <field name=\\\"pin_code\\\" password=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Approve\\\" method=\\\"approve\\\" type=\\\"success\\\" icon=\\\"ok\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"running_form\": {\"module\": \"netforce_general\", \"name\": \"running_form\", \"type\": \"form\", \"model\": \"sequence.running\", \"layout\": \"\n<form model=\\\"sequence.running\\\">\\n    \n    <field name=\\\"sequence_id\\\"/>\\n\n    <field name=\\\"prefix\\\"/>\\n\n    <field name=\\\"next\\\"/>\\n\n</form>\"}, \"select_company\": {\"module\": \"netforce_general\", \"name\": \"select_company\", \"type\": \"form\", \"model\": \"select.company\", \"layout\": \"\n<form model=\\\"select.company\\\" title=\\\"Select Company\\\">\\n    \n    <field name=\\\"company\\\" selection_method=\\\"get_companies\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Select\\\" method=\\\"select\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"action_form\": {\"module\": \"netforce_general\", \"name\": \"action_form\", \"type\": \"form\", \"model\": \"action\", \"layout\": \"\n<form model=\\\"action\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"string\\\"/>\\n\n    <field name=\\\"view\\\"/>\\n\n    <field name=\\\"model_id\\\"/>\\n\n    <field name=\\\"menu\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"options\\\" width=\\\"500\\\" height=\\\"200\\\"/>\\n\n</form>\\n\"}, \"custom_field_set_list\": {\"module\": \"netforce_general\", \"name\": \"custom_field_set_list\", \"type\": \"list\", \"model\": \"custom.field.set\", \"layout\": \"\n<list model=\\\"custom.field.set\\\">\\n    \n    <field name=\\\"model_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"default\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n</list>\\n\"}, \"view_layout_list\": {\"module\": \"netforce_general\", \"name\": \"view_layout_list\", \"type\": \"list\", \"model\": \"view.layout\", \"layout\": \"\n<list model=\\\"view.layout\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"model_id\\\"/>\\n\n    <field name=\\\"inherit\\\"/>\\n\n    <field name=\\\"priority\\\"/>\\n\n</list>\\n\"}, \"share_record_list\": {\"module\": \"netforce_general\", \"name\": \"share_record_list\", \"type\": \"list\", \"model\": \"share.record\", \"layout\": \"\n<list model=\\\"share.record\\\">\\n    \n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"access\\\"/>\\n\n</list>\"}, \"company_form\": {\"module\": \"netforce_general\", \"name\": \"company_form\", \"type\": \"form\", \"model\": \"company\", \"layout\": \"\n<form model=\\\"company\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"update_ui\": {\"module\": \"netforce_general\", \"name\": \"update_ui\", \"type\": \"form\", \"model\": \"update.ui\", \"layout\": \"\n<form model=\\\"update.ui\\\" title=\\\"Update UI\\\">\\n    \n    <label string=\\\"Click the button below to update the user interface.\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Update\\\" method=\\\"do_update\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"model_inst_form\": {\"module\": \"netforce_general\", \"name\": \"model_inst_form\", \"type\": \"form\", \"model\": \"model.inst\", \"layout\": \"\n<form model=\\\"model.inst\\\">\\n    \n    <field name=\\\"model_id\\\" required=\\\"1\\\"/>\\n\n    <field name=\\\"record_id\\\" readonly=\\\"1\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"field_values\\\">\\n            \n            <list>\\n                \n                <field name=\\\"field_id\\\"/>\\n\n                <field name=\\\"value\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"field_id\\\" condition='[[\\\"model_id\\\",\\\"=\\\",parent.model_id]]'/>\\n\n                <field name=\\\"value\\\"/>\\n\n            </form>\\n\n        </field>\\n\n    </related>\\n\n</form>\\n\"}, \"bg_task_form\": {\"module\": \"netforce_general\", \"name\": \"bg_task_form\", \"type\": \"form\", \"model\": \"bg.task\", \"layout\": \"\n<form model=\\\"bg.task\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"model\\\"/>\\n\n    <field name=\\\"method\\\"/>\\n\n    <field name=\\\"args\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"timeout\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"cron_job_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"start_time\\\"/>\\n\n    <field name=\\\"end_time\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"result\\\"/>\\n\n    <field name=\\\"error_message\\\"/>\\n\n</form>\\n\"}, \"menu_access_list\": {\"module\": \"netforce_general\", \"name\": \"menu_access_list\", \"type\": \"list\", \"model\": \"menu.access\", \"layout\": \"\n<list model=\\\"menu.access\\\">\\n    \n    <field name=\\\"profile_id\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"action\\\"/>\\n\n    <field name=\\\"menu\\\"/>\\n\n    <field name=\\\"parent_menu\\\"/>\\n\n    <field name=\\\"button\\\"/>\\n\n    <field name=\\\"label\\\"/>\\n\n    <field name=\\\"access\\\"/>\\n\n</list>\\n\"}, \"action_list\": {\"module\": \"netforce_general\", \"name\": \"action_list\", \"type\": \"list\", \"model\": \"action\", \"layout\": \"\n<list model=\\\"action\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"string\\\"/>\\n\n    <field name=\\\"view\\\"/>\\n\n    <field name=\\\"model_id\\\"/>\\n\n    <field name=\\\"menu\\\"/>\\n\n</list>\\n\"}, \"field_access_list\": {\"module\": \"netforce_general\", \"name\": \"field_access_list\", \"type\": \"list\", \"model\": \"field.access\", \"layout\": \"\n<list model=\\\"field.access\\\">\\n    \n    <field name=\\\"field_id\\\"/>\\n\n    <field name=\\\"profile_id\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"access\\\"/>\\n\n</list>\\n\"}, \"company_list\": {\"module\": \"netforce_general\", \"name\": \"company_list\", \"type\": \"list\", \"model\": \"company\", \"layout\": \"\n<list model=\\\"company\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n</list>\\n\"}, \"queue_message_form\": {\"module\": \"netforce_general\", \"name\": \"queue_message_form\", \"type\": \"form\", \"model\": \"queue.message\", \"layout\": \"\n<form model=\\\"queue.message\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"queue_id\\\"/>\\n\n    <field name=\\\"time_received\\\"/>\\n\n    <field name=\\\"body\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"time_processed\\\"/>\\n\n    <field name=\\\"result\\\"/>\\n\n    <field name=\\\"error\\\"/>\\n\n    <newline/>\\n\n    <button string=\\\"Process\\\" method=\\\"process_message\\\"/>\\n\n</form>\\n\"}, \"script_list\": {\"module\": \"netforce_general\", \"name\": \"script_list\", \"type\": \"list\", \"model\": \"script\", \"layout\": \"\n<list model=\\\"script\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"language\\\"/>\\n\n    <field name=\\\"module_id\\\"/>\\n\n</list>\\n\"}, \"metric_list\": {\"module\": \"netforce_general\", \"name\": \"metric_list\", \"type\": \"list\", \"model\": \"metric\", \"layout\": \"\n<list model=\\\"metric\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Update Metrics\\\" method=\\\"update_all\\\" icon=\\\"refresh\\\"/>\\n\n    </top>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"value\\\"/>\\n\n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"method\\\"/>\\n\n    <field name=\\\"args\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"user_list\": {\"module\": \"netforce_general\", \"name\": \"user_list\", \"type\": \"list\", \"model\": \"base.user\", \"layout\": \"\n<list model=\\\"base.user\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Approve\\\" method=\\\"approve\\\"/>\\n\n        <button string=\\\"Reject\\\" method=\\\"reject\\\"/>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"login\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"profile_id\\\"/>\\n\n    <field name=\\\"role_id\\\"/>\\n\n    <field name=\\\"email\\\"/>\\n\n    <field name=\\\"mobile\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"gen_user_widget\": {\"module\": \"netforce_general\", \"name\": \"gen_user_widget\", \"type\": \"list\", \"model\": \"base.user\", \"priority\": 20, \"layout\": \"\n<list model=\\\"base.user\\\" priority=\\\"20\\\" hide_select=\\\"1\\\" hide_page=\\\"1\\\">\\n    \n    <head replace=\\\"1\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"email\\\"/>\\n\n    <field name=\\\"lastlog\\\"/>\\n\n</list>\\n\"}, \"setup1\": {\"module\": \"netforce_general\", \"name\": \"setup1\", \"type\": \"steps\", \"layout\": \"\n<steps step=\\\"1\\\" num_steps=\\\"5\\\" title=\\\"STEP 1 - Welcome to Netforce!\\\" sub=\\\"Setting up takes just about 2 minutes for you to start invoicing.\\\">\\n    \n    <field name=\\\"company_type\\\" sub=\\\"Please choose the type of business you operate\\\"/>\\n\n    <field name=\\\"company_name\\\" sub=\\\"Plase enter the registered name of your legal entity\\\"/>\\n\n    <field name=\\\"phone\\\" sub=\\\"Please enter a contact number\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Next\\\" type=\\\"primary\\\" method=\\\"next1\\\" icon=\\\"arrow-right\\\"/>\\n\n        <button string=\\\"Skip\\\" method=\\\"start\\\" icon=\\\"remove\\\"/>\\n\n    </foot>\\n\n</steps>\\n\"}, \"group_list\": {\"module\": \"netforce_general\", \"name\": \"group_list\", \"type\": \"list\", \"model\": \"user.group\", \"layout\": \"\n<list model=\\\"user.group\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"num_users\\\"/>\\n\n</list>\\n\"}, \"queue_form\": {\"module\": \"netforce_general\", \"name\": \"queue_form\", \"type\": \"form\", \"model\": \"queue\", \"layout\": \"\n<form model=\\\"queue\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"url\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"model\\\"/>\\n\n    <field name=\\\"method\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"firebase_account_id\\\"/>\\n\n    <field name=\\\"root\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Process New Messages\\\" method=\\\"process_new\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"messages\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"approve_wkf_list\": {\"module\": \"netforce_general\", \"name\": \"approve_wkf_list\", \"type\": \"list\", \"model\": \"approve.wkf\", \"layout\": \"\n<list model=\\\"approve.wkf\\\">\\n    \n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"group_id\\\"/>\\n\n    <field name=\\\"min_amount\\\"/>\\n\n    <field name=\\\"max_amount\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n</list>\\n\"}, \"district_form\": {\"module\": \"netforce_general\", \"name\": \"district_form\", \"type\": \"form\", \"model\": \"district\", \"layout\": \"\n<form model=\\\"district\\\">\\n    \n    <field name=\\\"province_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"subdistricts\\\"/>\\n\n        <field name=\\\"postal_codes\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"help_overlay_list\": {\"module\": \"netforce_general\", \"name\": \"help_overlay_list\", \"type\": \"list\", \"model\": \"help.overlay\", \"layout\": \"\n<list model=\\\"help.overlay\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n</list>\\n\"}, \"bg_task_list\": {\"module\": \"netforce_general\", \"name\": \"bg_task_list\", \"type\": \"list\", \"model\": \"bg.task\", \"layout\": \"\n<list model=\\\"bg.task\\\">\\n    \n    <head>\\n        \n        <button string=\\\"To Waiting\\\" method=\\\"to_waiting\\\"/>\\n\n    </head>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"model\\\"/>\\n\n    <field name=\\\"method\\\"/>\\n\n    <field name=\\\"args\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n    <field name=\\\"timeout\\\"/>\\n\n    <field name=\\\"cron_job_id\\\"/>\\n\n    <field name=\\\"start_time\\\"/>\\n\n    <field name=\\\"end_time\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"main_menu_mobile\": {\"module\": \"netforce_general\", \"name\": \"main_menu_mobile\", \"type\": \"menu_mobile\", \"layout\": \"\n<menu_mobile title=\\\"Main Menu\\\">\\n    \n    <item string=\\\"Expenses\\\" action=\\\"expense_mobile\\\"/>\\n\n    <item string=\\\"Timesheets\\\" action=\\\"work_time_mobile\\\"/>\\n\n    <item string=\\\"Accounting\\\" action=\\\"account_menu_mobile\\\"/>\\n\n    <item string=\\\"Inventory\\\" action=\\\"stock_menu_mobile\\\"/>\\n\n    <item string=\\\"sijan\\\" action=\\\"test\\\"/>\\n\n</menu_mobile>\\n\"}, \"field_value_form\": {\"module\": \"netforce_general\", \"name\": \"field_value_form\", \"type\": \"form\", \"model\": \"field.value\", \"layout\": \"\n<form model=\\\"field.value\\\">\\n    \n    <field name=\\\"model_id\\\" required=\\\"1\\\"/>\\n\n    <field name=\\\"inst_id\\\" condition='[[\\\"model_id\\\",\\\"=\\\",model_id]]' required=\\\"1\\\"/>\\n\n    <field name=\\\"field_id\\\" condition='[[\\\"model_id\\\",\\\"=\\\",model_id]]' required=\\\"1\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"value\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"history_id\\\"/>\\n\n</form>\\n\"}, \"role_form\": {\"module\": \"netforce_general\", \"name\": \"role_form\", \"type\": \"form\", \"model\": \"role\", \"layout\": \"\n<form model=\\\"role\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"module_list\": {\"module\": \"netforce_general\", \"name\": \"module_list\", \"type\": \"list\", \"model\": \"module\", \"layout\": \"\n<list model=\\\"module\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Import Zip\\\" action=\\\"import_module\\\" icon=\\\"download\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <button string=\\\"Export Zip\\\" method=\\\"export_zip\\\"/>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"version\\\"/>\\n\n    <field name=\\\"author\\\"/>\\n\n</list>\\n\"}, \"uom_conv_form\": {\"module\": \"netforce_general\", \"name\": \"uom_conv_form\", \"type\": \"form\", \"model\": \"uom.conv\", \"layout\": \"\n<form model=\\\"uom.conv\\\">\\n    \n    <field name=\\\"uom_from_id\\\"/>\\n\n    <field name=\\\"uom_to_id\\\"/>\\n\n    <field name=\\\"factor\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"product_categ_id\\\"/>\\n\n</form>\\n\"}, \"address_form\": {\"module\": \"netforce_general\", \"name\": \"address_form\", \"type\": \"form\", \"model\": \"address\", \"layout\": \"\n<form model=\\\"address\\\">\\n    \n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"address\\\"/>\\n\n    <field name=\\\"address2\\\"/>\\n\n    <field name=\\\"city\\\"/>\\n\n    <field name=\\\"postal_code\\\"/>\\n\n    <field name=\\\"country_id\\\"/>\\n\n    <field name=\\\"province_id\\\" condition='[[\\\"country_id\\\",\\\"=\\\",country_id]]'/>\\n\n    <field name=\\\"district_id\\\" condition='[[\\\"province_id\\\",\\\"=\\\",province_id]]'/>\\n\n    <field name=\\\"subdistrict_id\\\" condition='[[\\\"district_id\\\",\\\"=\\\",district_id]]'/>\\n\n    <field name=\\\"phone\\\"/>\\n\n    <field name=\\\"mobile\\\"/>\\n\n    <field name=\\\"contact_name\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"comments\\\"/>\\n\n    <field name=\\\"coords\\\"/>\\n\n</form>\\n\"}, \"field_access_form\": {\"module\": \"netforce_general\", \"name\": \"field_access_form\", \"type\": \"form\", \"model\": \"field.access\", \"layout\": \"\n<form model=\\\"field.access\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Options\\\">\\n            \n            <item string=\\\"Duplicate\\\" action=\\\"field_access_add\\\" action_context='{\\\"refer_id\\\":id}'/>\\n\n        </button>\\n\n    </top>\\n\\n\n    <field name=\\\"model_id\\\"/>\\n\n    <field name=\\\"field_id\\\" condition='[[\\\"model_id\\\",\\\"=\\\",model_id]]'/>\\n\n    <field name=\\\"profile_id\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"access\\\"/>\\n\n</form>\\n\"}, \"view_layout_form\": {\"module\": \"netforce_general\", \"name\": \"view_layout_form\", \"type\": \"form\", \"model\": \"view.layout\", \"layout\": \"\n<form model=\\\"view.layout\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"model_id\\\"/>\\n\n    <field name=\\\"inherit\\\"/>\\n\n    <field name=\\\"priority\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"layout\\\" width=\\\"800\\\" height=\\\"500\\\" view=\\\"field_code\\\" mode=\\\"xml\\\"/>\\n\n</form>\\n\"}, \"profile_form\": {\"module\": \"netforce_general\", \"name\": \"profile_form\", \"type\": \"form\", \"model\": \"profile\", \"layout\": \"\n<form model=\\\"profile\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <separator string=\\\"Model Permissions\\\"/>\\n\n    <field name=\\\"default_model_perms\\\"/>\\n\n    <field name=\\\"perms\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"model_id\\\"/>\\n\n            <field name=\\\"perm_read\\\"/>\\n\n            <field name=\\\"perm_create\\\"/>\\n\n            <field name=\\\"perm_write\\\"/>\\n\n            <field name=\\\"perm_delete\\\"/>\\n\n            <field name=\\\"view_all\\\"/>\\n\n            <field name=\\\"modif_all\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <separator string=\\\"Other Permissions\\\"/>\\n\n    <field name=\\\"other_perms\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"name\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <field name=\\\"default_menu_access\\\"/>\\n\n    <separator string=\\\"Other Settings\\\"/>\\n\n    <field name=\\\"home_action\\\"/>\\n\n    <field name=\\\"home_action_mobile\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"login_company_id\\\"/>\\n\n    <field name=\\\"prevent_login\\\"/>\\n\n    <field name=\\\"require_approve\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"field_perms\\\"/>\\n\n        <field name=\\\"menu_perms\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"province_form\": {\"module\": \"netforce_general\", \"name\": \"province_form\", \"type\": \"form\", \"model\": \"province\", \"layout\": \"\n<form model=\\\"province\\\">\\n    \n    <field name=\\\"country_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"districts\\\"/>\\n\n        <field name=\\\"postal_codes\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"help_overlay_form\": {\"module\": \"netforce_general\", \"name\": \"help_overlay_form\", \"type\": \"form\", \"model\": \"help.overlay\", \"layout\": \"\n<form model=\\\"help.overlay\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n</form>\\n\"}, \"field_list\": {\"module\": \"netforce_general\", \"name\": \"field_list\", \"type\": \"list\", \"model\": \"field\", \"layout\": \"\n<list model=\\\"field\\\">\\n    \n    <field name=\\\"model_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"string\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"relation_id\\\"/>\\n\n    <field name=\\\"relfield_id\\\"/>\\n\n    <field name=\\\"required\\\"/>\\n\n    <field name=\\\"delete_cascade\\\"/>\\n\n    <field name=\\\"unique\\\"/>\\n\n    <field name=\\\"readonly\\\"/>\\n\n    <field name=\\\"store\\\"/>\\n\n</list>\\n\"}, \"model_form\": {\"module\": \"netforce_general\", \"name\": \"model_form\", \"type\": \"form\", \"model\": \"model\", \"layout\": \"\n<form model=\\\"model\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Options\\\">\\n            \n            <item string=\\\"Transpile\\\" method=\\\"transpile\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <field name=\\\"name\\\"/>\\n\n            <field name=\\\"string\\\"/>\\n\n            <field name=\\\"custom\\\"/>\\n\n            <field name=\\\"order\\\"/>\\n\n            <field name=\\\"name_field\\\"/>\\n\n            <field name=\\\"audit_log\\\"/>\\n\n            <field name=\\\"state\\\"/>\\n\n            <separator string=\\\"Code\\\"/>\\n\n            <field name=\\\"code_js\\\" width=\\\"800\\\" height=\\\"500\\\" view=\\\"field_code\\\" view_options='{\\\"mode\\\":\\\"javascript\\\"}'/>\\n\n        </tab>\\n\n        <tab string=\\\"Other\\\">\\n            \n            <field name=\\\"next_record_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"code_trans\\\" width=\\\"800\\\" height=\\\"500\\\" view=\\\"field_code\\\" view_options='{\\\"mode\\\":\\\"javascript\\\"}'/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <related>\\n        \n        <field name=\\\"fields\\\">\\n            \n            <list>\\n                \n                <field name=\\\"name\\\"/>\\n\n                <field name=\\\"string\\\"/>\\n\n                <field name=\\\"type\\\"/>\\n\n                <field name=\\\"relation_id\\\"/>\\n\n                <field name=\\\"relfield_id\\\"/>\\n\n                <field name=\\\"function\\\"/>\\n\n                <field name=\\\"required\\\"/>\\n\n                <field name=\\\"delete_cascade\\\"/>\\n\n                <field name=\\\"readonly\\\"/>\\n\n                <field name=\\\"unique\\\"/>\\n\n                <field name=\\\"store\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"name\\\"/>\\n\n                <field name=\\\"string\\\"/>\\n\n                <field name=\\\"type\\\"/>\\n\n                <field name=\\\"selection\\\"/>\\n\n                <field name=\\\"relation_id\\\"/>\\n\n                <field name=\\\"relfield_id\\\" condition='[[\\\"model_id\\\",\\\"=\\\",relation_id]]'/>\\n\n                <field name=\\\"function\\\"/>\\n\n                <field name=\\\"required\\\"/>\\n\n                <field name=\\\"delete_cascade\\\"/>\\n\n                <field name=\\\"readonly\\\"/>\\n\n                <field name=\\\"unique\\\"/>\\n\n                <field name=\\\"store\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"layouts\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"record_history_form\": {\"module\": \"netforce_general\", \"name\": \"record_history_form\", \"type\": \"form\", \"model\": \"record.history\", \"layout\": \"\n<form model=\\\"record.history\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Restore Values\\\" method=\\\"restore_vals\\\" confirm=\\\"Are you sure?\\\"/>\\n\n    </top>\\n\n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"model\\\"/>\\n\n    <field name=\\\"record_id\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"field_values\\\">\\n            \n            <list>\\n                \n                <field name=\\\"field\\\"/>\\n\n                <field name=\\\"value\\\" string=\\\"Prev Value\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"field\\\"/>\\n\n                <field name=\\\"value\\\" string=\\\"Prev Value\\\"/>\\n\n            </form>\\n\n        </field>\\n\n    </related>\\n\n</form>\\n\"}, \"share_form\": {\"module\": \"netforce_general\", \"name\": \"share_form\", \"type\": \"form\", \"model\": \"share.access\", \"layout\": \"\n<form model=\\\"share.access\\\">\\n    \n    <field name=\\\"model_id\\\"/>\\n\n    <field name=\\\"default_access\\\"/>\\n\n    <group attrs='{\\\"invisible\\\":[[\\\"default_access\\\",\\\"=\\\",\\\"custom\\\"]]}'>\\n        \n        <field name=\\\"grant_parent\\\"/>\\n\n    </group>\\n\n    <group attrs='{\\\"invisible\\\":[[\\\"default_access\\\",\\\"!=\\\",\\\"custom\\\"]]}'>\\n        \n        <field name=\\\"condition\\\"/>\\n\n        <field name=\\\"filter_type\\\"/>\\n\n    </group>\\n\n    <field name=\\\"select_profile\\\"/>\\n\n    <field name=\\\"profiles\\\" attrs='{\\\"invisible\\\":[[\\\"select_profile\\\",\\\"!=\\\",\\\"include\\\"]]}'/>\\n\n    <field name=\\\"excl_profiles\\\" attrs='{\\\"invisible\\\":[[\\\"select_profile\\\",\\\"!=\\\",\\\"exclude\\\"]]}'/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"report_form\": {\"module\": \"netforce_general\", \"name\": \"report_form\", \"type\": \"form\", \"model\": \"report\", \"priority\": 1, \"layout\": \"\n<form model=\\\"report\\\" show_save=\\\"1\\\" priority=\\\"1\\\" show_company=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n        <button string=\\\"Preview\\\" icon=\\\"eye-open\\\" method=\\\"preview\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n        \n            <group form_layout=\\\"stacked\\\">\\n            \n                <field name=\\\"name\\\"/>\\n\n                <field name=\\\"title\\\"/>\\n\n                <separator string=\\\"Query\\\"/>\\n\n                <field name=\\\"query_type\\\"/>\\n\n                <field name=\\\"model_id\\\"/>\\n\\n\n                <newline/>\\n\n                <group attrs='{\\\"invisible\\\":[[\\\"query_type\\\",\\\"!=\\\",\\\"sql\\\"]]}'>\\n                \n                    <field name=\\\"query\\\" width=\\\"800\\\" height=\\\"200\\\"/>\\n\n                </group>\\n\n                <group attrs='{\\\"invisible\\\":[[\\\"query_type\\\",\\\"!=\\\",\\\"model\\\"]]}'>\\n                \n                    <field name=\\\"method\\\"/>\\n\n                    <newline/>\\n\n                    <field name=\\\"args\\\" width=\\\"800\\\" height=\\\"200\\\"/>\\n\n                </group>\\n\n                <separator string=\\\"Grouping\\\"/>\\n\n                <field name=\\\"group_fields\\\"/>\\n\n                <separator string=\\\"Template\\\"/>\\n\n                <field name=\\\"template_type\\\"/>\\n\n                <group attrs='{\\\"invisible\\\":[[\\\"template_type\\\",\\\"!=\\\",\\\"html\\\"]]}'>\\n            \n                    <field name=\\\"template\\\" width=\\\"800\\\" height=\\\"500\\\"/>\\n\n                </group>\\n\n                <group attrs='{\\\"invisible\\\":[[\\\"template_type\\\",\\\"!=\\\",\\\"docx\\\"]]}'>\\n            \n                    <field name=\\\"template_file\\\"/>\\n\n                </group>\\n\n                <group attrs='{\\\"invisible\\\":[[\\\"template_type\\\",\\\"!=\\\",\\\"chart\\\"]]}'>\\n                \n                    <field name=\\\"chart_type\\\"/>\\n\n                    <field name=\\\"xaxis_field\\\"/>\\n\n                    <field name=\\\"yaxis_field\\\"/>\\n\n                    <field name=\\\"yaxis_label\\\"/>\\n\n                </group>\\n\n                <separator/>\\n\n                <field name=\\\"state\\\"/>\\n\n                <field name=\\\"company_id\\\"/>\\n\n            </group>\\n\n        </tab>\\n\n    </tabs>\\n\n    <related>\\n        \n        <field name=\\\"params\\\">\\n            \n            <list>\\n                \n                <field name=\\\"name\\\"/>\\n\n                <field name=\\\"label\\\"/>\\n\n                <field name=\\\"type\\\"/>\\n\n                <field name=\\\"relation_id\\\"/>\\n\n                <field name=\\\"required\\\"/>\\n\n                <field name=\\\"sequence\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"name\\\"/>\\n\n                <field name=\\\"label\\\"/>\\n\n                <field name=\\\"type\\\"/>\\n\n                <field name=\\\"relation_id\\\"/>\\n\n                <field name=\\\"required\\\"/>\\n\n                <field name=\\\"sequence\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"calc_fields\\\">\\n            \n            <list>\\n                \n                <field name=\\\"name\\\"/>\\n\n                <field name=\\\"expr\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"name\\\"/>\\n\n                <field name=\\\"expr\\\"/>\\n\n            </form>\\n\n        </field>\\n\n    </related>\\n\n</form>\\n\"}, \"layout_form\": {\"module\": \"netforce_general\", \"name\": \"layout_form\", \"type\": \"form\", \"model\": \"layout\", \"layout\": \"\n<form model=\\\"layout\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"layout\\\" width=\\\"800\\\" height=\\\"500\\\"/>\\n\n</form>\\n\"}, \"share_record_form\": {\"module\": \"netforce_general\", \"name\": \"share_record_form\", \"type\": \"form\", \"model\": \"share.record\", \"layout\": \"\n<form model=\\\"share.record\\\">\\n    \n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"access\\\"/>\\n\n</form>\"}, \"bank_form\": {\"module\": \"netforce_general\", \"name\": \"bank_form\", \"type\": \"form\", \"model\": \"bank\", \"layout\": \"\n<form model=\\\"bank\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"swift_code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</form>\\n\"}, \"help_video_list\": {\"module\": \"netforce_general\", \"name\": \"help_video_list\", \"type\": \"list\", \"model\": \"help.video\", \"layout\": \"\n<list model=\\\"help.video\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"popup_title\\\"/>\\n\n    <field name=\\\"url\\\"/>\\n\n</list>\\n\"}, \"help_tooltip_list\": {\"module\": \"netforce_general\", \"name\": \"help_tooltip_list\", \"type\": \"list\", \"model\": \"help.tooltip\", \"layout\": \"\n<list model=\\\"help.tooltip\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"placement\\\"/>\\n\n</list>\\n\"}, \"script_form\": {\"module\": \"netforce_general\", \"name\": \"script_form\", \"type\": \"form\", \"model\": \"script\", \"layout\": \"\n<form model=\\\"script\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"language\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"code\\\" width=\\\"800\\\" height=\\\"500\\\" view=\\\"field_code\\\" mode=\\\"javascript\\\" attrs='{\\\"invisible\\\":[[\\\"language\\\",\\\"!=\\\",\\\"js\\\"]]}'/>\\n\n    <newline/>\\n\n    <field name=\\\"code\\\" width=\\\"800\\\" height=\\\"500\\\" view=\\\"field_code\\\" mode=\\\"python\\\" attrs='{\\\"invisible\\\":[[\\\"language\\\",\\\"!=\\\",\\\"py\\\"]]}'/>\\n\n    <newline/>\\n\n    <field name=\\\"module_id\\\"/>\\n\n</form>\\n\"}, \"approval_form\": {\"module\": \"netforce_general\", \"name\": \"approval_form\", \"type\": \"form\", \"model\": \"approval\", \"layout\": \"\n<form model=\\\"approval\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</form>\\n\"}, \"custom_field_form\": {\"module\": \"netforce_general\", \"name\": \"custom_field_form\", \"type\": \"form\", \"model\": \"custom.field\", \"layout\": \"\n<form model=\\\"custom.field\\\">\\n    \n    <field name=\\\"model_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"label\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"default\\\"/>\\n\n    <field name=\\\"required\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n</form>\\n\"}, \"address_list\": {\"module\": \"netforce_general\", \"name\": \"address_list\", \"type\": \"list\", \"model\": \"address\", \"layout\": \"\n<list model=\\\"address\\\">\\n    \n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"address\\\"/>\\n\n    <field name=\\\"address2\\\"/>\\n\n    <field name=\\\"city\\\"/>\\n\n    <field name=\\\"postal_code\\\"/>\\n\n    <field name=\\\"country_id\\\"/>\\n\n    <field name=\\\"province_id\\\"/>\\n\n    <field name=\\\"phone\\\"/>\\n\n    <field name=\\\"coords\\\"/>\\n\n</list>\\n\"}, \"uom_list\": {\"module\": \"netforce_general\", \"name\": \"uom_list\", \"type\": \"list\", \"model\": \"uom\", \"layout\": \"\n<list model=\\\"uom\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"ratio\\\"/>\\n\n</list>\"}, \"board_menu\": {\"module\": \"netforce_general\", \"name\": \"board_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Dashboard\\\">\\n    \n    <item string=\\\"Dashboards\\\" action=\\\"main_board\\\"/>\\n\n</menu>\\n\"}, \"wkf_rule_list\": {\"module\": \"netforce_general\", \"name\": \"wkf_rule_list\", \"type\": \"list\", \"model\": \"wkf.rule\", \"layout\": \"\n<list model=\\\"wkf.rule\\\" colors='{\\\"#ccc\\\":[[\\\"state\\\",\\\"=\\\",\\\"inactive\\\"]]}'>\\n    \n    <field name=\\\"trigger_model_id\\\"/>\\n\n    <field name=\\\"trigger_event\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"condition_method\\\"/>\\n\n    <field name=\\\"condition_args\\\"/>\\n\n    <field name=\\\"action_model_id\\\"/>\\n\n    <field name=\\\"action_method\\\"/>\\n\n    <field name=\\\"action_args\\\"/>\\n\n    <field name=\\\"action_stop\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"model_inst_list\": {\"module\": \"netforce_general\", \"name\": \"model_inst_list\", \"type\": \"list\", \"model\": \"model.inst\", \"layout\": \"\n<list model=\\\"model.inst\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Set Models\\\" method=\\\"set_models\\\"/>\\n\n    </top>\\n\n    <field name=\\\"model_id\\\"/>\\n\n    <field name=\\\"record_id\\\"/>\\n\n    <field name=\\\"field_values_str\\\"/>\\n\n</list>\\n\"}, \"queue_list\": {\"module\": \"netforce_general\", \"name\": \"queue_list\", \"type\": \"list\", \"model\": \"queue\", \"layout\": \"\n<list model=\\\"queue\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"url\\\"/>\\n\n    <field name=\\\"model\\\"/>\\n\n    <field name=\\\"method\\\"/>\\n\n</list>\\n\"}, \"bank_account_form\": {\"module\": \"netforce_general\", \"name\": \"bank_account_form\", \"type\": \"form\", \"model\": \"bank.account\", \"layout\": \"\n<form model=\\\"bank.account\\\">\\n    \n    <field name=\\\"bank_id\\\"/>\\n\n    <field name=\\\"branch\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n</form>\\n\"}, \"help_tooltip_form\": {\"module\": \"netforce_general\", \"name\": \"help_tooltip_form\", \"type\": \"form\", \"model\": \"help.tooltip\", \"layout\": \"\n<form model=\\\"help.tooltip\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"placement\\\"/>\\n\n</form>\\n\"}, \"postal_code_list\": {\"module\": \"netforce_general\", \"name\": \"postal_code_list\", \"type\": \"list\", \"model\": \"postal.code\", \"layout\": \"\n<list model=\\\"postal.code\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"country_id\\\"/>\\n\n    <field name=\\\"province_id\\\"/>\\n\n    <field name=\\\"district_id\\\"/>\\n\n    <field name=\\\"subdistrict_id\\\"/>\\n\n</list>\\n\"}, \"update_db\": {\"module\": \"netforce_general\", \"name\": \"update_db\", \"type\": \"form\", \"model\": \"update.db\", \"layout\": \"\n<form model=\\\"update.db\\\" title=\\\"Update DB\\\">\\n    \n    <label string=\\\"Click the button below to update the database.\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Update\\\" method=\\\"do_update\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"field_value_list\": {\"module\": \"netforce_general\", \"name\": \"field_value_list\", \"type\": \"list\", \"model\": \"field.value\", \"layout\": \"\n<list model=\\\"field.value\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Set Fields\\\" method=\\\"set_fields\\\"/>\\n\n    </top>\\n\n    <field name=\\\"model_id\\\"/>\\n\n    <field name=\\\"inst_id\\\"/>\\n\n    <field name=\\\"field_id\\\"/>\\n\n    <field name=\\\"value\\\"/>\\n\n    <field name=\\\"history_id\\\"/>\\n\n</list>\\n\"}, \"board_user_form\": {\"module\": \"netforce_general\", \"name\": \"board_user_form\", \"type\": \"form\", \"model\": \"board.user\", \"layout\": \"\n<form model=\\\"board.user\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"layout\\\"/>\\n\n</form>\\n\"}, \"board_user_list\": {\"module\": \"netforce_general\", \"name\": \"board_user_list\", \"type\": \"list\", \"model\": \"board.user\", \"layout\": \"\n<list model=\\\"board.user\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n</list>\\n\"}, \"permission_form\": {\"module\": \"netforce_general\", \"name\": \"permission_form\", \"type\": \"form\", \"model\": \"permission\", \"layout\": \"\n<form model=\\\"permission\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\"}, \"district_list\": {\"module\": \"netforce_general\", \"name\": \"district_list\", \"type\": \"list\", \"model\": \"district\", \"layout\": \"\n<list model=\\\"district\\\">\\n    \n    <field name=\\\"province_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</list>\\n\"}, \"attach_form\": {\"module\": \"netforce_general\", \"name\": \"attach_form\", \"type\": \"form\", \"model\": \"attach\", \"layout\": \"\n<form model=\\\"attach\\\">\\n    \n    <field name=\\\"file\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\"}, \"share_list\": {\"module\": \"netforce_general\", \"name\": \"share_list\", \"type\": \"list\", \"model\": \"share.access\", \"layout\": \"\n<list model=\\\"share.access\\\">\\n    \n    <field name=\\\"model_id\\\"/>\\n\n    <field name=\\\"default_access\\\"/>\\n\n    <field name=\\\"grant_parent\\\"/>\\n\n    <field name=\\\"profile_names\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</list>\"}, \"access_token_form\": {\"module\": \"netforce_general\", \"name\": \"access_token_form\", \"type\": \"form\", \"model\": \"access.token\", \"layout\": \"\n<form model=\\\"access.token\\\">\\n    \n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"ip_addr\\\"/>\\n\n    <field name=\\\"client_name\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"token\\\"/>\\n\n    <field name=\\\"expire_time\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</form>\\n\"}, \"help_video_form\": {\"module\": \"netforce_general\", \"name\": \"help_video_form\", \"type\": \"form\", \"model\": \"help.video\", \"layout\": \"\n<form model=\\\"help.video\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"popup_title\\\"/>\\n\n    <field name=\\\"url\\\"/>\\n\n</form>\\n\"}, \"bug_report_form\": {\"module\": \"netforce_general\", \"name\": \"bug_report_form\", \"type\": \"form\", \"model\": \"bug.report\", \"layout\": \"\n<form model=\\\"bug.report\\\">\\n    \n    <field name=\\\"description\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"email\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"url\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"create_time\\\"/>\\n\n</form>\\n\"}, \"company_type_list\": {\"module\": \"netforce_general\", \"name\": \"company_type_list\", \"type\": \"list\", \"model\": \"company.type\", \"layout\": \"\n<list model=\\\"company.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</list>\"}, \"field_form\": {\"module\": \"netforce_general\", \"name\": \"field_form\", \"type\": \"form\", \"model\": \"field\", \"layout\": \"\n<form model=\\\"field\\\">\\n    \n    <field name=\\\"model_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"string\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"selection\\\"/>\\n\n    <field name=\\\"relation_id\\\"/>\\n\n    <field name=\\\"relfield_id\\\" condition='[[\\\"model_id\\\",\\\"=\\\",relation_id]]'/>\\n\n    <field name=\\\"required\\\"/>\\n\n    <field name=\\\"delete_cascade\\\"/>\\n\n    <field name=\\\"unique\\\"/>\\n\n    <field name=\\\"readonly\\\"/>\\n\n    <field name=\\\"store\\\"/>\\n\n</form>\\n\"}, \"gen_menu\": {\"module\": \"netforce_general\", \"name\": \"gen_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"General\\\">\\n    \n    <item string=\\\"Dashboard\\\" icon=\\\"fa_chart_pie\\\" action=\\\"gen_board\\\"/>\\n\n    <item string=\\\"Access Control\\\" icon=\\\"fa_lock\\\">\\n        \n        <item string=\\\"Users\\\" action=\\\"user\\\"/>\\n\n        <item string=\\\"Profiles\\\" action=\\\"profile\\\"/>\\n\n        <item string=\\\"Roles\\\" action=\\\"role\\\"/>\\n\n        <item string=\\\"Sharing Settings\\\" action=\\\"share_settings\\\"/>\\n\n        <item string=\\\"Field Access\\\" action=\\\"field_access\\\"/>\\n\n        <item string=\\\"Menu Access\\\" action=\\\"menu_access\\\"/>\\n\n        <item string=\\\"Permissions\\\" action=\\\"permission\\\"/>\\n\n        <item string=\\\"Groups\\\" action=\\\"group\\\"/>\\n\n        <item string=\\\"Companies\\\" action=\\\"company\\\"/>\\n\n        <item string=\\\"Audit Log\\\" action=\\\"log\\\"/>\\n\n        <item string=\\\"Access Tokens\\\" action=\\\"access_token\\\"/>\\n</item>\\n\n    <item string=\\\"Workflow\\\" icon=\\\"fa_list\\\">\\n        \n        <item string=\\\"Workflow Rules\\\" action=\\\"wkf_rule\\\"/>\\n\n        <item string=\\\"Cron Jobs\\\" action=\\\"cron_job\\\"/>\\n\n        <item string=\\\"Task Queue\\\" action=\\\"bg_task\\\"/>\\n\n        <item string=\\\"Approval Workflows\\\" action=\\\"approve_wkf\\\"/>\\n\n        <item string=\\\"External Queues\\\" action=\\\"queue\\\"/>\\n</item>\\n\n    <item string=\\\"Database\\\" icon=\\\"fa_database\\\">\\n        \n        <item string=\\\"Models\\\" action=\\\"model\\\"/>\\n\n        <item string=\\\"Fields\\\" action=\\\"field\\\"/>\\n\n        <item string=\\\"Model Instances\\\" action=\\\"model_inst\\\"/>\\n\n        <item string=\\\"Field Values\\\" action=\\\"field_value\\\"/>\\n\n        <item string=\\\"Record History\\\" action=\\\"record_history\\\"/>\\n</item>\\n\n    <item string=\\\"User Interface\\\" icon=\\\"fa_user_edit\\\">\\n        \n        <item string=\\\"Layouts\\\" action=\\\"view_layout\\\"/>\\n\n        <item string=\\\"Actions\\\" action=\\\"action\\\"/>\\n</item>\\n\n    <item string=\\\"Language\\\" icon=\\\"fa_language\\\">\\n        \n        <item string=\\\"Languages\\\" action=\\\"lang\\\"/>\\n\n        <item string=\\\"Translations\\\" action=\\\"translation\\\"/>\\n</item>\\n\n    <item string=\\\"Help\\\" icon=\\\"fa_info\\\">\\n        \n        <item string=\\\"Video Tutorials\\\" action=\\\"help_video\\\"/>\\n\n        <item string=\\\"Tooltips\\\" action=\\\"help_tooltip\\\"/>\\n\n        <item string=\\\"Overlays\\\" action=\\\"help_overlay\\\"/>\\n</item>\\n\n    <item string=\\\"Other\\\" icon=\\\"fa_ellipsis_h\\\">\\n        \n        <item string=\\\"Organization Settings\\\" action=\\\"org_settings\\\"/>\\n\n        <item string=\\\"Units Of Measure\\\" action=\\\"uom\\\"/>\\n\n        <item string=\\\"UoM Conversion Factors\\\" action=\\\"uom_conv\\\"/>\\n\n        <item string=\\\"Report Templates\\\" action=\\\"report_template\\\"/>\\n\n        <item string=\\\"Reports\\\" action=\\\"report\\\"/>\\n\n        <item string=\\\"Sequences\\\" action=\\\"sequence\\\"/>\\n\n        <item string=\\\"Countries\\\" action=\\\"country\\\"/>\\n\n        <item string=\\\"Provinces\\\" action=\\\"province\\\"/>\\n\n        <item string=\\\"Districts\\\" action=\\\"district\\\"/>\\n\n        <item string=\\\"Subdistricts\\\" action=\\\"subdistrict\\\"/>\\n\n        <item string=\\\"Postal Codes\\\" action=\\\"postal_code\\\"/>\\n\n        <item string=\\\"Attachments\\\" action=\\\"attach\\\"/>\\n\n        <item string=\\\"Company Types\\\" action=\\\"company_type\\\"/>\\n\n        <item string=\\\"Banks\\\" action=\\\"bank_name\\\"/>\\n\n        <item string=\\\"Reason Codes\\\" action=\\\"reason_code\\\"/>\\n\n        <item string=\\\"Bug Reports\\\" action=\\\"bug_report\\\"/>\\n\n        <item string=\\\"UI Config\\\" action=\\\"config\\\"/>\\n\n        <item string=\\\"User Dashboards\\\" action=\\\"board_user\\\"/>\\n</item>\\n\n</menu>\\n\"}, \"metric_form\": {\"module\": \"netforce_general\", \"name\": \"metric_form\", \"type\": \"form\", \"model\": \"metric\", \"layout\": \"\n<form model=\\\"metric\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"value\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"method\\\"/>\\n\n    <field name=\\\"args\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</form>\\n\"}, \"translation_list\": {\"module\": \"netforce_general\", \"name\": \"translation_list\", \"type\": \"list\", \"model\": \"translation\", \"layout\": \"\n<list model=\\\"translation\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Add Missing Translations\\\" action=\\\"miss_translation\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <button string=\\\"Google Translate\\\" method=\\\"translate_google\\\"/>\\n\n    </head>\\n\n    <field name=\\\"lang_id\\\"/>\\n\n    <field name=\\\"original\\\"/>\\n\n    <field name=\\\"translation\\\"/>\\n\n</list>\\n\"}, \"bank_account_list\": {\"module\": \"netforce_general\", \"name\": \"bank_account_list\", \"type\": \"list\", \"model\": \"bank.account\", \"layout\": \"\n<list model=\\\"bank.account\\\">\\n    \n    <field name=\\\"bank_id\\\"/>\\n\n    <field name=\\\"branch\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n</list>\\n\"}, \"gen_board\": {\"module\": \"netforce_general\", \"name\": \"gen_board\", \"type\": \"board\", \"layout\": \"\n<board>\\n    \n    <vpanel>\\n        \n        <widget string=\\\"Users\\\" action=\\\"gen_user_widget\\\"/>\\n\n    </vpanel>\\n\n    <vpanel>\\n        \n        <widget string=\\\"Languages\\\" action=\\\"gen_lang_widget\\\"/>\\n\n    </vpanel>\\n\n</board>\\n\"}, \"config_list\": {\"module\": \"netforce_general\", \"name\": \"config_list\", \"type\": \"list\", \"model\": \"config\", \"priority\": 1, \"layout\": \"\n<list model=\\\"config\\\" priority=\\\"1\\\">\\n    \n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"label\\\"/>\\n\n    <field name=\\\"value\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n</list>\\n\"}, \"profile_list\": {\"module\": \"netforce_general\", \"name\": \"profile_list\", \"type\": \"list\", \"model\": \"profile\", \"layout\": \"\n<list model=\\\"profile\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</list>\"}, \"queue_message_list\": {\"module\": \"netforce_general\", \"name\": \"queue_message_list\", \"type\": \"list\", \"model\": \"queue.message\", \"layout\": \"\n<list model=\\\"queue.message\\\" colors='{\\\"#fcc\\\":[[\\\"state\\\",\\\"=\\\",\\\"error\\\"]]}'>\\n    \n    <field name=\\\"queue_id\\\"/>\\n\n    <field name=\\\"time_received\\\"/>\\n\n    <field name=\\\"time_processed\\\"/>\\n\n    <field name=\\\"body\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"send_wizard\": {\"module\": \"netforce_general\", \"name\": \"send_wizard\", \"type\": \"form\", \"model\": \"send.wizard\", \"layout\": \"\n<form model=\\\"send.wizard\\\">\\n    \n    <field name=\\\"model\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"ids\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"template_type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"template_id\\\" condition='[[\\\"type\\\",\\\"=\\\",template_type]]'/>\\n\n    <field name=\\\"email_template_id\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Create Email\\\" method=\\\"create_email\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"setup2\": {\"module\": \"netforce_general\", \"name\": \"setup2\", \"type\": \"steps\", \"layout\": \"\n<steps step=\\\"2\\\" num_steps=\\\"5\\\" title=\\\"STEP 2 - Please enter your company details\\\">\\n    \n    <field name=\\\"address\\\" sub=\\\"Please enter your company's address and details\\\"/>\\n\n    <field name=\\\"tax_id\\\" sub=\\\"Please enter your company Tax ID (13 digits)\\\"/>\\n\n    <field name=\\\"branch_no\\\" sub=\\\"Enter &quot;Head Office&quot; if your company is the head office or enter your branch number\\\" placeholder=\\\"Branch / Branch Number\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Back\\\" method=\\\"back2\\\" icon=\\\"arrow-left\\\"/>\\n\n        <button string=\\\"Next\\\" type=\\\"primary\\\" method=\\\"next2\\\" icon=\\\"arrow-right\\\"/>\\n\n        <button string=\\\"Skip\\\" method=\\\"start\\\" icon=\\\"remove\\\"/>\\n\n    </foot>\\n\n</steps>\\n\"}, \"user_search\": {\"module\": \"netforce_general\", \"name\": \"user_search\", \"type\": \"search\", \"model\": \"base.user\", \"layout\": \"\n<search model=\\\"base.user\\\">\\n    \n    <field name=\\\"login\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"email\\\"/>\\n\n    <field name=\\\"profile_id\\\"/>\\n\n</search>\"}, \"import_inline_help\": {\"module\": \"netforce_general\", \"name\": \"import_inline_help\", \"type\": \"form\", \"model\": \"import.inline.help\", \"layout\": \"\n<form model=\\\"import.inline.help\\\" title=\\\"Import Inline Help\\\">\\n    \n    <field name=\\\"folder_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"auth_code\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Import Content\\\" method=\\\"do_import\\\" type=\\\"primary\\\"/>\\n\n        <button string=\\\"Request Authorization\\\" method=\\\"request_auth\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"access_token_list\": {\"module\": \"netforce_general\", \"name\": \"access_token_list\", \"type\": \"list\", \"model\": \"access.token\", \"layout\": \"\n<list model=\\\"access.token\\\" colors='{\\\"#ccc\\\":[[\\\"state\\\",\\\"in\\\",[\\\"expired\\\",\\\"logout\\\"]]]}'>\\n    \n    <head>\\n        \n        <button string=\\\"Expire\\\" method=\\\"expire\\\" icon=\\\"remove\\\" confirm=\\\"Are you sure?\\\"/>\\n\n    </head>\\n\n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"ip_addr\\\"/>\\n\n    <field name=\\\"client_name\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"token\\\"/>\\n\n    <field name=\\\"logout_time\\\"/>\\n\n    <field name=\\\"expire_time\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"country_form\": {\"module\": \"netforce_general\", \"name\": \"country_form\", \"type\": \"form\", \"model\": \"country\", \"layout\": \"\n<form model=\\\"country\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"phone_prefix\\\"/>\\n\n    <field name=\\\"flag\\\"/>\\n\n    <field name=\\\"timezone\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"provinces\\\"/>\\n\n        <field name=\\\"postal_codes\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"log_form\": {\"module\": \"netforce_general\", \"name\": \"log_form\", \"type\": \"form\", \"model\": \"log\", \"layout\": \"\n<form model=\\\"log\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"ip_addr\\\"/>\\n\n    <field name=\\\"country_id\\\"/>\\n\n    <field name=\\\"message\\\"/>\\n\n    <field name=\\\"details\\\"/>\\n\n    <!--<field name=\\\"related_id\\\"/>-->\\n    \n    <separator/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"txid\\\"/>\\n\n    <field name=\\\"entry_point\\\"/>\\n\n    <field name=\\\"client_name\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"report_template_form\": {\"module\": \"netforce_general\", \"name\": \"report_template_form\", \"type\": \"form\", \"model\": \"report.template\", \"layout\": \"\n<form model=\\\"report.template\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"print_wizard\\\" action_options='{\\\"template_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <field name=\\\"name\\\"/>\\n\n            <field name=\\\"type\\\"/>\\n\n            <field name=\\\"format\\\"/>\\n\n            <field name=\\\"orientation\\\"/>\\n\n            <field name=\\\"model_id\\\"/>\\n\n            <field name=\\\"file\\\"/>\\n\n            <field name=\\\"printer_name\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"body\\\" width=\\\"800\\\" height=\\\"500\\\" view=\\\"field_code\\\" mode=\\\"xml\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"field_names\\\" width=\\\"800\\\" height=\\\"100\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"multi_render\\\"/>\\n\n            <field name=\\\"convert_pdf\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"sequence\\\"/>\\n\n            <field name=\\\"company_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"out_filename\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other Info\\\">\\n            \n            <field name=\\\"header\\\" width=\\\"800\\\" height=\\\"300\\\" view=\\\"field_code\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"footer\\\" width=\\\"800\\\" height=\\\"300\\\" view=\\\"field_code\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <related>\\n        \n        <field name=\\\"logs\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"lang_list\": {\"module\": \"netforce_general\", \"name\": \"lang_list\", \"type\": \"list\", \"model\": \"language\", \"priority\": 1, \"layout\": \"\n<list model=\\\"language\\\" priority=\\\"1\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"num_translations\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n</list>\\n\"}, \"image_form\": {\"module\": \"netforce_general\", \"name\": \"image_form\", \"type\": \"form\", \"model\": \"image\", \"layout\": \"\n<form model=\\\"image\\\">\\n    \n    <field name=\\\"image\\\"/>\\n\n    <!--<field name=\\\"related_id\\\"/>-->\\n\n</form>\\n\"}, \"report_list\": {\"module\": \"netforce_general\", \"name\": \"report_list\", \"type\": \"list\", \"model\": \"report\", \"layout\": \"\n<list model=\\\"report\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"query_type\\\"/>\\n\n    <field name=\\\"template_type\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"record_history_list\": {\"module\": \"netforce_general\", \"name\": \"record_history_list\", \"type\": \"list\", \"model\": \"record.history\", \"layout\": \"\n<list model=\\\"record.history\\\">\\n    \n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"model\\\"/>\\n\n    <field name=\\\"record_id\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"num_fields\\\"/>\\n\n</list>\\n\"}, \"model_list\": {\"module\": \"netforce_general\", \"name\": \"model_list\", \"type\": \"list\", \"model\": \"model\", \"layout\": \"\n<list model=\\\"model\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Generate\\\" method=\\\"gen_models\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <button string=\\\"Set Completed\\\" method=\\\"set_done\\\"/>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"string\\\"/>\\n\n    <field name=\\\"custom\\\"/>\\n\n    <field name=\\\"order\\\"/>\\n\n    <field name=\\\"name_field\\\"/>\\n\n    <field name=\\\"audit_log\\\"/>\\n\n    <field name=\\\"next_record_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"main_menu\": {\"module\": \"netforce_general\", \"name\": \"main_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Main Menu\\\">\\n    \n    <item string=\\\"Search\\\" action=\\\"search\\\" icon=\\\"fa_search\\\"/>\\n\n    <item string=\\\"Dashboards\\\" action=\\\"main_board\\\" icon=\\\"fa_chart_pie\\\"/>\\n\n    <item string=\\\"Contacts\\\" action=\\\"contact_board\\\" icon=\\\"fa_user_friends\\\"/>\\n\n    <item string=\\\"Products\\\" action=\\\"product_board\\\" icon=\\\"fa_tag\\\"/>\\n\n    <item string=\\\"Accounting\\\" action=\\\"account_board\\\" icon=\\\"fa_dollar_sign\\\"/>\\n\n    <item string=\\\"Inventory\\\" action=\\\"stock_board\\\" icon=\\\"fa_boxes\\\"/>\\n\n    <item string=\\\"Sales\\\" action=\\\"sale_board\\\" icon=\\\"fa_chart_line\\\"/>\\n\n    <item string=\\\"Purchasing\\\" action=\\\"purchase_board\\\" icon=\\\"fa_shopping_cart\\\"/>\\n\n    <item string=\\\"Delivery\\\" action=\\\"nd_board\\\" icon=\\\"fa_shipping_fast\\\" addon=\\\"DELIVERY\\\"/>\\n\n    <item string=\\\"POS\\\" action=\\\"pos_board\\\" icon=\\\"fa_tv\\\" addon=\\\"POS\\\"/>\\n\n    <item string=\\\"Services\\\" action=\\\"service_board\\\" icon=\\\"fa_wrench\\\" addon=\\\"SERVICE\\\"/>\\n\n    <item string=\\\"Manufacturing\\\" action=\\\"mfg_board\\\" icon=\\\"fa_industry\\\" addon=\\\"MFG\\\"/>\\n\n    <item string=\\\"HR\\\" action=\\\"hr_board\\\" icon=\\\"fa_sitemap\\\" addon=\\\"HR\\\"/>\\n\n    <item string=\\\"Website\\\" action=\\\"cms_board\\\" icon=\\\"fa_globe\\\"/>\\n\n    <item string=\\\"Ecommerce\\\" action=\\\"ecom2_board\\\"/>\\n\n    <item string=\\\"Documents\\\" action=\\\"doc_board\\\" icon=\\\"fa_folder_open\\\"/>\\n\n    <item string=\\\"Messaging\\\" action=\\\"msg_board\\\" icon=\\\"fa_comments\\\"/>\\n\n    <item string=\\\"General\\\" action=\\\"gen_board\\\" icon=\\\"fa_home\\\"/>\\n\n    <item string=\\\"Addons\\\" action=\\\"addon\\\" icon=\\\"fa_folder_plus\\\"/>\\n\n</menu>\\n\"}, \"company_type_form\": {\"module\": \"netforce_general\", \"name\": \"company_type_form\", \"type\": \"form\", \"model\": \"company.type\", \"layout\": \"\n<form model=\\\"company.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</form>\"}, \"permission_list\": {\"module\": \"netforce_general\", \"name\": \"permission_list\", \"type\": \"list\", \"model\": \"permission\", \"layout\": \"\n<list model=\\\"permission\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</list>\"}, \"reason_code_form\": {\"module\": \"netforce_general\", \"name\": \"reason_code_form\", \"type\": \"form\", \"model\": \"reason.code\", \"layout\": \"\n<form model=\\\"reason.code\\\">\\n    \n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"lang_form\": {\"module\": \"netforce_general\", \"name\": \"lang_form\", \"type\": \"form\", \"model\": \"language\", \"layout\": \"\n<form model=\\\"language\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n        <field name=\\\"translations\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"subdistrict_form\": {\"module\": \"netforce_general\", \"name\": \"subdistrict_form\", \"type\": \"form\", \"model\": \"subdistrict\", \"layout\": \"\n<form model=\\\"subdistrict\\\">\\n    \n    <field name=\\\"district_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"postal_codes\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"approval_list\": {\"module\": \"netforce_general\", \"name\": \"approval_list\", \"type\": \"list\", \"model\": \"approval\", \"layout\": \"\n<list model=\\\"approval\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"wkf_step_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"approve_date\\\"/>\\n\n</list>\\n\"}, \"role_list\": {\"module\": \"netforce_general\", \"name\": \"role_list\", \"type\": \"list\", \"model\": \"role\", \"layout\": \"\n<list model=\\\"role\\\">\\n    \n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n</list>\\n\"}, \"gen_lang_widget\": {\"module\": \"netforce_general\", \"name\": \"gen_lang_widget\", \"type\": \"list\", \"model\": \"language\", \"layout\": \"\n<list model=\\\"language\\\" hide_select=\\\"1\\\" hide_page=\\\"1\\\">\\n    \n    <head replace=\\\"1\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"num_translations\\\"/>\\n\n</list>\\n\"}, \"custom_field_list\": {\"module\": \"netforce_general\", \"name\": \"custom_field_list\", \"type\": \"list\", \"model\": \"custom.field\", \"layout\": \"\n<list model=\\\"custom.field\\\">\\n    \n    <field name=\\\"model_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"label\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"default\\\"/>\\n\n    <field name=\\\"required\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n</list>\\n\"}, \"bug_report_list\": {\"module\": \"netforce_general\", \"name\": \"bug_report_list\", \"type\": \"list\", \"model\": \"bug.report\", \"layout\": \"\n<list model=\\\"bug.report\\\">\\n    \n    <field name=\\\"create_time\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"email\\\"/>\\n\n    <field name=\\\"url\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"postal_code_form\": {\"module\": \"netforce_general\", \"name\": \"postal_code_form\", \"type\": \"form\", \"model\": \"postal.code\", \"layout\": \"\n<form model=\\\"postal.code\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"country_id\\\"/>\\n\n    <field name=\\\"province_id\\\"/>\\n\n    <field name=\\\"district_id\\\"/>\\n\n    <field name=\\\"subdistrict_id\\\"/>\\n\n</form>\\n\"}, \"config_form\": {\"module\": \"netforce_general\", \"name\": \"config_form\", \"type\": \"form\", \"model\": \"config\", \"priority\": 1, \"layout\": \"\n<form model=\\\"config\\\" priority=\\\"1\\\">\\n    \n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"label\\\"/>\\n\n    <field name=\\\"value\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n</form>\\n\"}, \"org_settings\": {\"module\": \"netforce_general\", \"name\": \"org_settings\", \"type\": \"form\", \"model\": \"settings\", \"layout\": \"\n<form model=\\\"settings\\\" title=\\\"Organization Settings\\\">\\n    \n    <field name=\\\"company_type_id\\\"/>\\n\n    <field name=\\\"logo\\\" resize=\\\"320x200\\\"/>\\n\n    <field name=\\\"phone\\\"/>\\n\n    <field name=\\\"fax\\\"/>\\n\n    <field name=\\\"website\\\"/>\\n\n    <separator string=\\\"Data Formatting\\\"/>\\n\n    <field name=\\\"date_format\\\"/>\\n\n    <field name=\\\"use_buddhist_date\\\"/>\\n\n    <separator string=\\\"Website Config\\\"/>\\n\n    <field name=\\\"root_url\\\"/>\\n\n    <field name=\\\"anon_profile_id\\\"/>\\n\n    <field name=\\\"menu_icon\\\"/>\\n\n    <separator string=\\\"Google API\\\"/>\\n\n    <field name=\\\"google_api_key\\\"/>\\n\n</form>\\n\"}, \"reason_code_list\": {\"module\": \"netforce_general\", \"name\": \"reason_code_list\", \"type\": \"list\", \"model\": \"reason.code\", \"layout\": \"\n<list model=\\\"reason.code\\\">\\n    \n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n</list>\\n\"}, \"merge_contact\": {\"module\": \"netforce_contact\", \"name\": \"merge_contact\", \"type\": \"form\", \"model\": \"merge.contact\", \"layout\": \"\n<form model=\\\"merge.contact\\\">\\n    \n    <field name=\\\"from_contact_id\\\" readonly=\\\"1\\\"/>\\n\n    <field name=\\\"to_contact_id\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Merge\\\" type=\\\"primary\\\" method=\\\"merge\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"contact_categ_form\": {\"module\": \"netforce_contact\", \"name\": \"contact_categ_form\", \"type\": \"form\", \"model\": \"contact.categ\", \"layout\": \"\n<form model=\\\"contact.categ\\\">\\n    \n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <field name=\\\"name\\\"/>\\n\n            <field name=\\\"code\\\"/>\\n\n            <field name=\\\"parent_id\\\"/>\\n\n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"sequence_id\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Accounting\\\">\\n            \n            <separator string=\\\"Accounts\\\"/>\\n\n            <field name=\\\"account_receivable_id\\\"/>\\n\n            <field name=\\\"account_payable_id\\\"/>\\n\n            <separator string=\\\"Taxes\\\"/>\\n\n            <field name=\\\"sale_tax_id\\\"/>\\n\n            <field name=\\\"purchase_tax_id\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Sales\\\">\\n            \n            <field name=\\\"sale_discount_percent\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"fleet_size_form\": {\"module\": \"netforce_contact\", \"name\": \"fleet_size_form\", \"type\": \"form\", \"model\": \"fleet.size\", \"layout\": \"\n<form model=\\\"fleet.size\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"contact_recent_list\": {\"module\": \"netforce_contact\", \"name\": \"contact_recent_list\", \"type\": \"list\", \"model\": \"contact\", \"layout\": \"\n<list model=\\\"contact\\\" hide_select=\\\"1\\\" hide_page=\\\"1\\\">\\n    \n    <head replace=\\\"1\\\">\\n        \n        <button string=\\\"Add Contact\\\" icon=\\\"plus\\\" noselect=\\\"1\\\" action=\\\"contact\\\" action_options='{\\\"mode\\\":\\\"form\\\"}'/>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"categ_id\\\"/>\\n\n</list>\\n\"}, \"contact_list\": {\"module\": \"netforce_contact\", \"name\": \"contact_list\", \"type\": \"list\", \"model\": \"contact\", \"priority\": 1, \"layout\": \"\n<list model=\\\"contact\\\" priority=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Archive Duplicates\\\" method=\\\"arch_dup\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_contact\\\" action_options='{\\\"ids\\\":ids}'/>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"categ_id\\\"/>\\n\n    <field name=\\\"phone\\\"/>\\n\n    <field name=\\\"contact_person_id\\\"/>\\n\n    <field name=\\\"org_id\\\"/>\\n\n    <field name=\\\"email\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n</list>\\n\"}, \"relation_type_form\": {\"module\": \"netforce_contact\", \"name\": \"relation_type_form\", \"type\": \"form\", \"model\": \"contact.relation.type\", \"layout\": \"\n<form model=\\\"contact.relation.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"relation_type_list\": {\"module\": \"netforce_contact\", \"name\": \"relation_type_list\", \"type\": \"list\", \"model\": \"contact.relation.type\", \"layout\": \"\n<list model=\\\"contact.relation.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</list>\\n\"}, \"contact_board\": {\"module\": \"netforce_contact\", \"name\": \"contact_board\", \"type\": \"board\", \"layout\": \"\n<board>\\n    \n    <vpanel>\\n        \n        <widget string=\\\"Contacts Per Category\\\" action=\\\"contact_categ_widget\\\"/>\\n\n    </vpanel>\\n\n    <vpanel>\\n        \n        <widget string=\\\"Recent Contacts\\\" action=\\\"contact_recent_widget\\\"/>\\n\n    </vpanel>\\n\n</board>\\n\"}, \"region_form\": {\"module\": \"netforce_contact\", \"name\": \"region_form\", \"type\": \"form\", \"model\": \"region\", \"layout\": \"\n<form model=\\\"region\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"fleet_size_list\": {\"module\": \"netforce_contact\", \"name\": \"fleet_size_list\", \"type\": \"list\", \"model\": \"fleet.size\", \"layout\": \"\n<list model=\\\"fleet.size\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n</list>\\n\"}, \"contact_menu\": {\"module\": \"netforce_contact\", \"name\": \"contact_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Contacts\\\">\\n    \n    <item string=\\\"Dashboard\\\" icon=\\\"fa_chart_pie\\\" action=\\\"contact_board\\\"/>\\n\n    <item string=\\\"Contacts\\\" icon=\\\"fa_user_friends\\\">\\n        \n        <item string=\\\"Contacts\\\" action=\\\"contact\\\"/>\\n\n        <item string=\\\"Customers\\\" action=\\\"contact\\\" action_options='{\\\"active_tab\\\":1}'/>\\n\n        <item string=\\\"Suppliers\\\" action=\\\"contact\\\" action_options='{\\\"active_tab\\\":2}'/>\\n</item>\\n\n    <item string=\\\"Reports\\\" icon=\\\"fa_chart_bar\\\">\\n        \n        <item string=\\\"Contact Analysis\\\" action=\\\"contact_analysis\\\"/>\\n</item>\\n\n    <item string=\\\"Settings\\\" icon=\\\"fa_cog\\\">\\n        \n        <item string=\\\"Contact Categories\\\" action=\\\"contact_categ\\\"/>\\n\n        <item string=\\\"Contact Groups\\\" action=\\\"contact_group\\\"/>\\n\n        <item string=\\\"Relation Types\\\" action=\\\"contact_rel_type\\\"/>\\n\n        <item string=\\\"Regions\\\" action=\\\"region\\\"/>\\n\n        <item string=\\\"Industries\\\" action=\\\"industry\\\"/>\\n\n        <item string=\\\"Business Areas\\\" action=\\\"business_area\\\"/>\\n\n        <item string=\\\"Fleet Sizes\\\" action=\\\"fleet_size\\\"/>\\n</item>\\n\n</menu>\\n\"}, \"business_area_form\": {\"module\": \"netforce_contact\", \"name\": \"business_area_form\", \"type\": \"form\", \"model\": \"business.area\", \"layout\": \"\n<form model=\\\"business.area\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"categ_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"contact_group_list\": {\"module\": \"netforce_contact\", \"name\": \"contact_group_list\", \"type\": \"list\", \"model\": \"contact.group\", \"layout\": \"\n<list model=\\\"contact.group\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"sale_price_list_id\\\"/>\\n\n</list>\\n\"}, \"region_list\": {\"module\": \"netforce_contact\", \"name\": \"region_list\", \"type\": \"list\", \"model\": \"region\", \"layout\": \"\n<list model=\\\"region\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</list>\\n\"}, \"contact_group_form\": {\"module\": \"netforce_contact\", \"name\": \"contact_group_form\", \"type\": \"form\", \"model\": \"contact.group\", \"layout\": \"\n<form model=\\\"contact.group\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"sale_price_list_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"contact_pivot\": {\"module\": \"netforce_contact\", \"name\": \"contact_pivot\", \"type\": \"pivot\", \"model\": \"contact\", \"layout\": \"\n<pivot model=\\\"contact\\\" rows=\\\"categ_id.name\\\" agg_name=\\\"count\\\">\\n    \n    <field name=\\\"categ_id.name\\\" string=\\\"Contact Category\\\"/>\\n\n    <field name=\\\"industry_id.name\\\" string=\\\"Industry\\\"/>\\n\n    <field name=\\\"business_area_id.name\\\" string=\\\"Business Area\\\"/>\\n\n    <field name=\\\"fleet_size_id.name\\\" string=\\\"Fleet Size\\\"/>\\n\n    <field name=\\\"user_id.name\\\" string=\\\"Responsible User\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"country_id.name\\\" string=\\\"Country\\\"/>\\n\n    <field name=\\\"name\\\" string=\\\"Contact Name\\\"/>\\n\n    <field name=\\\"code\\\" string=\\\"Contact Code\\\"/>\\n\n</pivot>\\n\"}, \"industry_list\": {\"module\": \"netforce_contact\", \"name\": \"industry_list\", \"type\": \"list\", \"model\": \"industry\", \"layout\": \"\n<list model=\\\"industry\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n</list>\\n\"}, \"contact_categ_list\": {\"module\": \"netforce_contact\", \"name\": \"contact_categ_list\", \"type\": \"list\", \"model\": \"contact.categ\", \"layout\": \"\n<list model=\\\"contact.categ\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n</list>\\n\"}, \"contact_form\": {\"module\": \"netforce_contact\", \"name\": \"contact_form\", \"type\": \"form\", \"model\": \"contact\", \"layout\": \"\n<form model=\\\"contact\\\" show_company=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_contact\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Merge\\\" action=\\\"merge_contact\\\" action_options='{\\\"context\\\":{\\\"defaults\\\":{\\\"from_contact_id\\\":id}}}'/>\\n\n        <button string=\\\"Options\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <separator string=\\\"Compulory Information\\\"/>\\n\n            <group attrs='{\\\"invisible\\\": [[\\\"type\\\",\\\"!=\\\",\\\"org\\\"]]}'>\\n                \n                <field name=\\\"type\\\"/>\\n\n                <field name=\\\"code\\\"/>\\n\n                <field name=\\\"name\\\" attrs='{\\\"required\\\":[[\\\"type\\\",\\\"=\\\",\\\"org\\\"]]}'/>\\n\n            </group>\\n\n            <group attrs='{\\\"invisible\\\": [[\\\"type\\\",\\\"!=\\\",\\\"person\\\"]]}'>\\n                \n                <field name=\\\"type\\\"/>\\n\n                <field name=\\\"code\\\"/>\\n\n                <field name=\\\"last_name\\\" attrs='{\\\"required\\\":[[\\\"type\\\",\\\"=\\\",\\\"person\\\"]]}'/>\\n\n            </group>\\n\n            <separator string=\\\"Contact Information\\\"/>\\n\n            <group attrs='{\\\"invisible\\\": [[\\\"type\\\",\\\"!=\\\",\\\"org\\\"]]}'>\\n                \n                <field name=\\\"title\\\"/>\\n\n                <field name=\\\"fax\\\"/>\\n\n                <field name=\\\"website\\\"/>\\n\n                <field name=\\\"phone\\\"/>\\n\n                <field name=\\\"email\\\" email=\\\"1\\\"/>\\n\n                <field name=\\\"branch\\\"/>\\n\n                <field name=\\\"picture\\\"/>\\n\n                <field name=\\\"user_id\\\"/>\\n\n                <field name=\\\"contact_person_id\\\" condition='[[\\\"org_id\\\",\\\"=\\\",id],[\\\"type\\\",\\\"=\\\",\\\"person\\\"]]'/>\\n\n            </group>\\n\n            <group attrs='{\\\"invisible\\\": [[\\\"type\\\",\\\"!=\\\",\\\"person\\\"]]}'>\\n                \n                <field name=\\\"mobile\\\"/>\\n\n                <field name=\\\"first_name\\\"/>\\n\n                <field name=\\\"email\\\"/>\\n\n                <field name=\\\"first_name2\\\"/>\\n\n                <field name=\\\"first_name3\\\"/>\\n\n                <field name=\\\"position\\\"/>\\n\n                <field name=\\\"title\\\"/>\\n\n                <field name=\\\"report_to_id\\\"/>\\n\n                <field name=\\\"phone\\\"/>\\n\n                <field name=\\\"org_id\\\"/>\\n\n                <field name=\\\"picture\\\"/>\\n\n                <field name=\\\"gender\\\"/>\\n\n                <field name=\\\"id_card_no\\\"/>\\n\n                <field name=\\\"refer_id\\\"/>\\n\n            </group>\\n\n            <field name=\\\"state\\\"/>\\n\n            <separator string=\\\"Business Relationship\\\"/>\\n\n            <field name=\\\"customer\\\"/>\\n\n            <field name=\\\"supplier\\\"/>\\n\n            <field name=\\\"agent\\\"/>\\n\n            <field name=\\\"end_cust\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"contact_person_emails\\\"/>\\n\n            <separator string=\\\"Business Information\\\"/>\\n\n            <field name=\\\"industry_id\\\"/>\\n\n            <field name=\\\"revenue\\\"/>\\n\n            <field name=\\\"business_area_id\\\"/>\\n\n            <field name=\\\"fleet_size_id\\\"/>\\n\n            <field name=\\\"line_account\\\"/>\\n\n            <field name=\\\"facebook_account\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"groups\\\"/>\\n\n            <separator string=\\\"Additional Information\\\"/>\\n\n            <group attrs='{\\\"invisible\\\": [[\\\"type\\\",\\\"!=\\\",\\\"org\\\"]]}'>\\n                \n                <field name=\\\"categ_id\\\" onchange=\\\"onchange_categ\\\"/>\\n\n                <!--field name=\\\"groups\\\"/>-->\\n                \n                <!--field name=\\\"industry_id\\\"/>-->\\n                \n                <field name=\\\"country_id\\\"/>\\n\n                <field name=\\\"region_id\\\"/>\\n\n                <!--field name=\\\"revenue\\\"/>-->\\n                \n                <field name=\\\"employees\\\"/>\\n\n                <!--field name=\\\"business_area_id\\\"/>-->\\n                \n                <!--field name=\\\"fleet_size_id\\\"/>-->\\n                \n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"refer_id\\\"/>\\n\n                <field name=\\\"invoice_print_template_id\\\"/>\\n\n            </group>\\n\n            <group attrs='{\\\"invisible\\\": [[\\\"type\\\",\\\"!=\\\",\\\"person\\\"]]}'>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"groups\\\"/>\\n\n                <field name=\\\"fax\\\"/>\\n\n                <field name=\\\"birth_date\\\"/>\\n\n                <field name=\\\"home_phone\\\"/>\\n\n                <field name=\\\"department\\\"/>\\n\n                <field name=\\\"other_phone\\\"/>\\n\n                <field name=\\\"assistant\\\"/>\\n\n                <field name=\\\"assistant_phone\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n            </group>\\n\n        </tab>\\n\n        <tab string=\\\"Accounting\\\">\\n            \n            <field name=\\\"currency_id\\\"/>\\n\n            <separator string=\\\"Accounts\\\"/>\\n\n            <field name=\\\"account_receivable_id\\\"/>\\n\n            <field name=\\\"account_payable_id\\\"/>\\n\n            <field name=\\\"sale_tax_id\\\"/>\\n\n            <field name=\\\"purchase_tax_id\\\"/>\\n\n            <separator string=\\\"Taxes\\\"/>\\n\n            <field name=\\\"tax_no\\\"/>\\n\n            <field name=\\\"tax_branch_no\\\"/>\\n\n            <separator string=\\\"Journals\\\"/>\\n\n            <field name=\\\"sale_journal_id\\\"/>\\n\n            <field name=\\\"purchase_journal_id\\\"/>\\n\n            <field name=\\\"pay_in_journal_id\\\"/>\\n\n            <field name=\\\"pay_out_journal_id\\\"/>\\n\n            <separator string=\\\"Credit Balance\\\"/>\\n\n            <field name=\\\"receivable_balance\\\"/>\\n\n            <field name=\\\"payable_balance\\\"/>\\n\n            <field name=\\\"receivable_credit\\\"/>\\n\n            <field name=\\\"payable_credit\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Inventory\\\">\\n            \n            <field name=\\\"pick_in_journal_id\\\"/>\\n\n            <field name=\\\"pick_out_journal_id\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"min_shelf_life\\\"/>\\n\n            <field name=\\\"max_lots_per_sale\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"ship_free\\\"/>\\n\n            <field name=\\\"ship_method_id\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Sales\\\">\\n            \n            <separator string=\\\"Configuration\\\"/>\\n\n            <field name=\\\"sale_price_list_id\\\"/>\\n\n            <field name=\\\"sale_discount\\\"/>\\n\n            <field name=\\\"seller_contact_id\\\"/>\\n\n            <separator string=\\\"Payment\\\"/>\\n\n            <field name=\\\"sale_pay_term_id\\\"/>\\n\n            <field name=\\\"sale_max_credit\\\"/>\\n\n            <field name=\\\"sale_pay_method_id\\\"/>\\n\n            <separator string=\\\"Product Groups\\\"/>\\n\n            <field name=\\\"request_product_groups\\\"/>\\n\n            <field name=\\\"exclude_product_groups\\\"/>\\n\n            <separator string=\\\"Commission\\\"/>\\n\n            <field name=\\\"commission_parent_id\\\"/>\\n\n            <field name=\\\"commission_amount\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Purchasing\\\">\\n            \n            <field name=\\\"purchase_price_list_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"purchase_pay_term_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"commission_po_percent\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other\\\">\\n            \n            <field name=\\\"company_id\\\"/>\\n\n            <field name=\\\"lead_source_id\\\"/>\\n\n            <field name=\\\"inquiry_type\\\"/>\\n\n            <newline/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <related>\\n        \n        <field name=\\\"contact_persons\\\"/>\\n\n        <field name=\\\"relations\\\">\\n            \n            <list>\\n                \n                <field name=\\\"from_contact_id\\\"/>\\n\n                <field name=\\\"to_contact_id\\\"/>\\n\n                <field name=\\\"rel_type_id\\\"/>\\n\n                <field name=\\\"details\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"from_contact_id\\\"/>\\n\n                <field name=\\\"to_contact_id\\\"/>\\n\n                <field name=\\\"rel_type_id\\\"/>\\n\n                <field name=\\\"details\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"addresses\\\"/>\\n\n        <field name=\\\"bank_accounts\\\">\\n            \n            <list>\\n                \n                <field name=\\\"bank_id\\\"/>\\n\n                <field name=\\\"branch\\\"/>\\n\n                <field name=\\\"number\\\"/>\\n\n                <field name=\\\"signatory\\\"/>\\n\n                <field name=\\\"online\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"bank_id\\\"/>\\n\n                <field name=\\\"branch\\\"/>\\n\n                <field name=\\\"number\\\"/>\\n\n                <field name=\\\"signatory\\\"/>\\n\n                <field name=\\\"online\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"users\\\"/>\\n\n        <field name=\\\"invoices\\\"/>\\n\n        <field name=\\\"purchase_orders\\\"/>\\n\n        <field name=\\\"sale_orders\\\"/>\\n\n        <field name=\\\"coupons\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <head>\\n                    \n                    <button string=\\\"Archive\\\" method=\\\"archive\\\"/>\\n\n                </head>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"related_id\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"expiry_date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" onchange=\\\"onchange_file\\\" target=\\\"_blank\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"related_id\\\"/>\\n\n                <field name=\\\"date\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"expiry_date\\\"/>\\n\n                <field name=\\\"create_job\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"emails\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"business_area_list\": {\"module\": \"netforce_contact\", \"name\": \"business_area_list\", \"type\": \"list\", \"model\": \"business.area\", \"layout\": \"\n<list model=\\\"business.area\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"categ_id\\\"/>\\n\n</list>\\n\"}, \"industry_form\": {\"module\": \"netforce_contact\", \"name\": \"industry_form\", \"type\": \"form\", \"model\": \"industry\", \"layout\": \"\n<form model=\\\"industry\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"issue_type_form\": {\"module\": \"netforce_support\", \"name\": \"issue_type_form\", \"type\": \"form\", \"model\": \"issue.type\", \"layout\": \"\n<form model=\\\"issue.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</form>\\n\"}, \"support_main_menu\": {\"module\": \"netforce_support\", \"name\": \"support_main_menu\", \"type\": \"inherit\", \"inherit\": \"main_menu\", \"layout\": \"\n<inherit inherit=\\\"main_menu\\\">\\n    \n    <item string=\\\"General\\\" position=\\\"before\\\">\\n        \n        <item string=\\\"Support\\\" icon=\\\"fa_headset\\\" action=\\\"support_board\\\"/>\\n</item>\\n\n</inherit>\\n\"}, \"issue_type_list\": {\"module\": \"netforce_support\", \"name\": \"issue_type_list\", \"type\": \"list\", \"model\": \"issue.type\", \"layout\": \"\n<list model=\\\"issue.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</list>\\n\"}, \"issue_list\": {\"module\": \"netforce_service\", \"name\": \"issue_list\", \"type\": \"list\", \"model\": \"issue\", \"priority\": 1, \"layout\": \"\n<list model=\\\"issue\\\" priority=\\\"1\\\" colors='{\\\"#cfc\\\":[[\\\"state\\\",\\\"=\\\",\\\"closed\\\"]],\\\"#fcc\\\":[[\\\"state\\\",\\\"=\\\",\\\"incomplete\\\"]]}'>\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"priority\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"date_created\\\"/>\\n\n    <field name=\\\"support_pic\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"age_days\\\"/>\\n\n    <field name=\\\"date_planned\\\"/>\\n\n    <field name=\\\"date_closed\\\"/>\\n\n</list>\\n\"}, \"support_menu\": {\"module\": \"netforce_support\", \"name\": \"support_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Support\\\">\\n    \n    <item string=\\\"Dashboard\\\" action=\\\"support_board\\\"/>\\n\n    <item string=\\\"Issues\\\" action=\\\"issue\\\"/>\\n\n    <item string=\\\"Settings\\\">\\n        \n        <item string=\\\"Issue Types\\\" action=\\\"issue_type\\\"/>\\n</item>\\n\n    <item string=\\\"Reports\\\">\\n        \n        <item string=\\\"Issue Analysis\\\" action=\\\"issue_analysis\\\"/>\\n</item>\\n\n</menu>\\n\"}, \"support_board\": {\"module\": \"netforce_support\", \"name\": \"support_board\", \"type\": \"board\", \"layout\": \"\n<board>\\n    \n    <hpanel>\\n        \n        <widget string=\\\"Open Issues History\\\" action=\\\"issue_chart\\\" span=\\\"12\\\"/>\\n\n        <widget string=\\\"Issues Closed Per Day\\\" action=\\\"issue_close_chart\\\" span=\\\"12\\\"/>\\n\n        <widget string=\\\"Top Open Issues\\\" action=\\\"top_issues\\\" span=\\\"12\\\"/>\\n\n    </hpanel>\\n\n</board>\\n\"}, \"issue_form\": {\"module\": \"netforce_service\", \"name\": \"issue_form\", \"type\": \"form\", \"model\": \"issue\", \"priority\": 1, \"layout\": \"\n<form model=\\\"issue\\\" priority=\\\"1\\\">\\n    \n    <field name=\\\"project_id\\\" condition='[[\\\"number\\\",\\\"=\\\",context.project_code]]'/>\\n\n    <field name=\\\"date_created\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"priority\\\"/>\\n\n    <field name=\\\"url\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"description2\\\"/>\\n\n    <field name=\\\"screenshot\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"date_planned\\\"/>\\n\n    <field name=\\\"date_closed\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"response\\\"/>\\n\n    <field name=\\\"support_pic\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"screenshots\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"prod_cust_opt_form\": {\"module\": \"netforce_product\", \"name\": \"prod_cust_opt_form\", \"type\": \"form\", \"model\": \"product.custom.option\", \"layout\": \"\n<form model=\\\"product.custom.option\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"seq\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"price\\\"/>\\n\n    <field name=\\\"required\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"values\\\">\\n            \n            <list>\\n                \n                <field name=\\\"name\\\"/>\\n\n                <field name=\\\"code\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"image\\\" preview=\\\"1\\\" nofilename=\\\"1\\\"/>\\n\n                <field name=\\\"price\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"name\\\"/>\\n\n                <field name=\\\"code\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"image\\\"/>\\n\n                <field name=\\\"price\\\"/>\\n\n            </form>\\n\n        </field>\\n\n    </related>\\n\n</form>\\n\"}, \"product_search\": {\"module\": \"netforce_product\", \"name\": \"product_search\", \"type\": \"search\", \"model\": \"product\", \"layout\": \"\n<search model=\\\"product\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"barcode\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"sale_price\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"categ_id\\\" child_of=\\\"1\\\"/>\\n\n    <field name=\\\"brand_id\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"company_id\\\" child_of=\\\"1\\\"/>\\n\n    <field name=\\\"sale_channels\\\"/>\\n\n</search>\\n\"}, \"product_group_list\": {\"module\": \"netforce_product\", \"name\": \"product_group_list\", \"type\": \"list\", \"model\": \"product.group\", \"layout\": \"\n<list model=\\\"product.group\\\">\\n    \n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"image\\\"/>\\n\n    <field name=\\\"color\\\"/>\\n\n</list>\\n\"}, \"product_pivot\": {\"module\": \"netforce_product\", \"name\": \"product_pivot\", \"type\": \"pivot\", \"model\": \"product\", \"layout\": \"\n<pivot model=\\\"product\\\" rows=\\\"categ_id.name\\\" agg_name=\\\"count\\\">\\n    \n    <field name=\\\"categ_id.name\\\" string=\\\"Product Category\\\"/>\\n\n    <field name=\\\"brand_id.name\\\" string=\\\"Brand\\\"/>\\n\n    <field name=\\\"type\\\" string=\\\"Product Type\\\"/>\\n\n    <field name=\\\"name\\\" string=\\\"Product Name\\\"/>\\n\n    <field name=\\\"code\\\" string=\\\"Product Code\\\"/>\\n\n</pivot>\\n\"}, \"pricelist_form\": {\"module\": \"netforce_product\", \"name\": \"pricelist_form\", \"type\": \"form\", \"model\": \"price.list\", \"layout\": \"\n<form model=\\\"price.list\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Print PDF\\\" icon=\\\"print\\\" action=\\\"report_pricelist\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Update Price List Items\\\" method=\\\"update_items\\\" show_progress=\\\"1\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"currency_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"categs\\\">\\n            \n            <list>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"discount_percent\\\"/>\\n\n                <field name=\\\"discount_text\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"discount_percent\\\"/>\\n\n                <field name=\\\"discount_text\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"lines\\\"/>\\n\n        <field name=\\\"sale_channels\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"product_addon_list\": {\"module\": \"netforce_product\", \"name\": \"product_addon_list\", \"type\": \"list\", \"model\": \"product.addon\", \"layout\": \"\n<list model=\\\"product.addon\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"sale_price\\\"/>\\n\n</list>\\n\"}, \"brand_group_list\": {\"module\": \"netforce_product\", \"name\": \"brand_group_list\", \"type\": \"list\", \"model\": \"product.brand.group\", \"layout\": \"\n<list model=\\\"product.brand.group\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n</list>\\n\"}, \"product_recent_widget\": {\"module\": \"netforce_product\", \"name\": \"product_recent_widget\", \"type\": \"list\", \"model\": \"product\", \"layout\": \"\n<list model=\\\"product\\\" hide_page=\\\"1\\\" hide_select=\\\"1\\\">\\n    \n    <head replace=\\\"1\\\">\\n        \n        <button string=\\\"Add Product\\\" icon=\\\"plus\\\" noselect=\\\"1\\\" action=\\\"product\\\" action_options='{\\\"mode\\\":\\\"form\\\"}'/>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"categ_id\\\"/>\\n\n</list>\\n\"}, \"cost_type_list\": {\"module\": \"netforce_product\", \"name\": \"cost_type_list\", \"type\": \"list\", \"model\": \"cost.type\", \"layout\": \"\n<list model=\\\"cost.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"amount_type\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"contact_group_id\\\"/>\\n\n</list>\\n\"}, \"prod_attrib_form\": {\"module\": \"netforce_product\", \"name\": \"prod_attrib_form\", \"type\": \"form\", \"model\": \"product.attribute\", \"layout\": \"\n<form model=\\\"product.attribute\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"options\\\">\\n            \n            <list>\\n                \n                <field name=\\\"name\\\"/>\\n\n                <field name=\\\"code\\\"/>\\n\n                <field name=\\\"sequence\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"image\\\" preview=\\\"1\\\" nofilename=\\\"1\\\"/>\\n\n                <field name=\\\"price\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"name\\\"/>\\n\n                <field name=\\\"code\\\"/>\\n\n                <field name=\\\"sequence\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"image\\\"/>\\n\n                <field name=\\\"price\\\"/>\\n\n            </form>\\n\n        </field>\\n\n    </related>\\n\n</form>\\n\"}, \"prod_attrib_list\": {\"module\": \"netforce_product\", \"name\": \"prod_attrib_list\", \"type\": \"list\", \"model\": \"product.attribute\", \"layout\": \"\n<list model=\\\"product.attribute\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</list>\\n\"}, \"prod_categ_list\": {\"module\": \"netforce_product\", \"name\": \"prod_categ_list\", \"type\": \"list\", \"model\": \"product.categ\", \"layout\": \"\n<list model=\\\"product.categ\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n</list>\\n\"}, \"price_type_form\": {\"module\": \"netforce_product\", \"name\": \"price_type_form\", \"type\": \"form\", \"model\": \"price.type\", \"layout\": \"\n<form model=\\\"price.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"currency_id\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"price_format\\\"/>\\n\n    <field name=\\\"price_format_factor\\\"/>\\n\n</form>\\n\"}, \"product_group_form\": {\"module\": \"netforce_product\", \"name\": \"product_group_form\", \"type\": \"form\", \"model\": \"product.group\", \"layout\": \"\n<form model=\\\"product.group\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"image\\\"/>\\n\n    <field name=\\\"color\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <group span=\\\"12\\\" form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"products\\\" span=\\\"12\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"pricelist_add\": {\"module\": \"netforce_product\", \"name\": \"pricelist_add\", \"type\": \"form\", \"model\": \"pricelist.add\", \"layout\": \"\n<form model=\\\"pricelist.add\\\" title=\\\"Add products to pricelist\\\">\\n    \n    <field name=\\\"pricelist_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"product_categs\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Add Products\\\" method=\\\"add_products\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"brand_form\": {\"module\": \"netforce_product\", \"name\": \"brand_form\", \"type\": \"form\", \"model\": \"product.brand\", \"layout\": \"\n<form model=\\\"product.brand\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"image\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"groups\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"sub_brands\\\"/>\\n\n        <field name=\\\"products\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"brand_list\": {\"module\": \"netforce_product\", \"name\": \"brand_list\", \"type\": \"list\", \"model\": \"product.brand\", \"layout\": \"\n<list model=\\\"product.brand\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n</list>\\n\"}, \"product_addon_form\": {\"module\": \"netforce_product\", \"name\": \"product_addon_form\", \"type\": \"form\", \"model\": \"product.addon\", \"layout\": \"\n<form model=\\\"product.addon\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"sale_price\\\"/>\\n\n</form>\\n\"}, \"pricelist_list\": {\"module\": \"netforce_product\", \"name\": \"pricelist_list\", \"type\": \"list\", \"model\": \"price.list\", \"layout\": \"\n<list model=\\\"price.list\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"currency_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n</list>\\n\"}, \"price_type_list\": {\"module\": \"netforce_product\", \"name\": \"price_type_list\", \"type\": \"list\", \"model\": \"price.type\", \"layout\": \"\n<list model=\\\"price.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"currency_id\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n</list>\\n\"}, \"prod_categ_form\": {\"module\": \"netforce_product\", \"name\": \"prod_categ_form\", \"type\": \"form\", \"model\": \"product.categ\", \"layout\": \"\n<form model=\\\"product.categ\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Update Product List Prices\\\" method=\\\"update_sale_prices\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <field name=\\\"name\\\"/>\\n\n            <field name=\\\"code\\\"/>\\n\n            <field name=\\\"parent_id\\\"/>\\n\n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"image\\\"/>\\n\n            <field name=\\\"gross_profit\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"brands\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Accounting\\\">\\n            \n            <field name=\\\"sale_account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n            <field name=\\\"sale_return_account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n            <field name=\\\"sale_tax_id\\\"/>\\n\n            <field name=\\\"purchase_account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n            <field name=\\\"purchase_return_account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n            <field name=\\\"purchase_tax_id\\\"/>\\n\n            <field name=\\\"cost_method\\\"/>\\n\n            <field name=\\\"cogs_account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n            <field name=\\\"stock_account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n        </tab>\\n\n        <tab string=\\\"Inventory\\\">\\n            \n            <separator string=\\\"Product Locations\\\"/>\\n\n            <field name=\\\"locations\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"sequence\\\"/>\\n\n                    <field name=\\\"location_id\\\"/>\\n\n                    <field name=\\\"bin_location\\\"/>\\n\n                    <field name=\\\"stock_qty\\\"/>\\n\n                </list>\\n\n            </field>\\n\n        </tab>\\n\n    </tabs>\\n\n    <related>\\n        \n        <field name=\\\"sub_categories\\\"/>\\n\n        <field name=\\\"products\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"prod_create_variants\": {\"module\": \"netforce_product\", \"name\": \"prod_create_variants\", \"type\": \"form\", \"model\": \"prod.create.variants\", \"layout\": \"\n<form model=\\\"prod.create.variants\\\" title=\\\"Create Variants Wizard\\\">\\n    \n    <field name=\\\"related_id\\\" readonly=\\\"1\\\"/>\\n\n    <field name=\\\"variant_value\\\" view=\\\"form_list\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Create\\\" method=\\\"create_variants\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"prod_categ_search\": {\"module\": \"netforce_product\", \"name\": \"prod_categ_search\", \"type\": \"search\", \"model\": \"product.categ\", \"layout\": \"\n<search model=\\\"product.categ\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n</search>\\n\"}, \"product_form\": {\"module\": \"netforce_product\", \"name\": \"product_form\", \"type\": \"form\", \"model\": \"product\", \"layout\": \"\n<form model=\\\"product\\\" show_company=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"New Product\\\" action=\\\"product\\\" action_options='{\\\"mode\\\":\\\"form\\\"}' icon=\\\"plus\\\"/>\\n\n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_product_form\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Duplicate\\\" method=\\\"copy\\\"/>\\n\n            <!--<item string=\\\"Create Variants\\\" method=\\\"create_variants\\\"/>-->\\n            \n            <item string=\\\"Create Variants\\\" action=\\\"prod_create_variants\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\"/>\\n\n            <item string=\\\"Generate Lots\\\" action=\\\"gen_lots\\\" action_options='{\\\"context\\\":{\\\"defaults\\\":{\\\"product_id\\\":id}}}'/>\\n\n            <!--<divider/>\\n            <item string=\\\"Ecommerce Preview\\\" method=\\\"ecom_preview\\\"/>-->\\n            \n            <divider/>\\n\n            <item string=\\\"Compute Cost\\\" method=\\\"compute_cost\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <separator string=\\\"Compulsory Details\\\"/>\\n\n            <field name=\\\"code\\\"/>\\n\n            <field name=\\\"name\\\"/>\\n\n            <field name=\\\"type\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <separator string=\\\"Optional Details\\\"/>\\n\n            <field name=\\\"procure_method\\\"/>\\n\n            <field name=\\\"supply_method\\\"/>\\n\n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"barcode\\\"/>\\n\n            <field name=\\\"parent_id\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"master\\\"]]'/>\\n\n            <field name=\\\"image\\\"/>\\n\n            <field name=\\\"brand_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"categ_id\\\"/>\\n\n            <field name=\\\"groups\\\" view=\\\"field_multi_select\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"replacements\\\" view=\\\"field_multi_select\\\"/>\\n\n            <separator string=\\\"Related Products\\\"/>\\n\n            <field name=\\\"related_products\\\" nolabel=\\\"1\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Pricing\\\">\\n            \n            <separator string=\\\"Purchase Cost Price\\\"/>\\n\n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"purchase_price\\\" span=\\\"2\\\" onchange=\\\"update_prices\\\"/>\\n\n                <field name=\\\"purchase_currency_rate\\\" span=\\\"2\\\" onchange=\\\"update_prices\\\"/>\\n\n                <field name=\\\"purchase_currency_id\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"purchase_ship_percent\\\" span=\\\"2\\\" onchange=\\\"update_prices\\\"/>\\n\n                <field name=\\\"purchase_duty_percent\\\" span=\\\"2\\\" onchange=\\\"update_prices\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"labor_cost\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"landed_cost\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"landed_cost_conv\\\" span=\\\"2\\\"/>\\n\n            </group>\\n\n            <separator string=\\\"Selling List Price\\\"/>\\n\n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"sale_price\\\" span=\\\"2\\\" onchange=\\\"update_prices\\\"/>\\n\n                <field name=\\\"min_sale_price\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"sale_price_uom_id\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"gross_profit\\\" span=\\\"2\\\" onchange=\\\"update_prices\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"sale_price_order_uom\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"auto_list_price\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"max_discount\\\" span=\\\"2\\\" string=\\\"Listed Gross Profit (%)\\\"/>\\n\n                <!--<field name=\\\"price_index\\\" span=\\\"2\\\"/>-->\\n            \n            </group>\\n\n            <separator/>\\n\n            <field name=\\\"price_notes\\\"/>\\n\n            <field name=\\\"price_date\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Sales\\\">\\n            \n            <field name=\\\"can_sell\\\"/>\\n\n            <newline/>\\n\n            <separator string=\\\"End-Customer Information\\\"/>\\n\n            <field name=\\\"customers\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"sequence\\\"/>\\n\n                    <field name=\\\"customer_id\\\"/>\\n\n                    <field name=\\\"customer_product_code\\\"/>\\n\n                    <field name=\\\"customer_product_name\\\"/>\\n\n                    <field name=\\\"packaging_id\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <separator string=\\\"Optional Conversion\\\"/>\\n\n            <field name=\\\"min_sale_qty\\\"/>\\n\n            <field name=\\\"sale_unit_qty\\\"/>\\n\n            <field name=\\\"sale_uom_id\\\"/>\\n\n            <field name=\\\"sale_invoice_uom_id\\\"/>\\n\n            <field name=\\\"sale_to_stock_uom_factor\\\"/>\\n\n            <field name=\\\"sale_to_invoice_uom_factor\\\"/>\\n\n            <separator string=\\\"Special Circumstances\\\"/>\\n\n            <field name=\\\"sale_channels\\\" view=\\\"field_multi_select\\\"/>\\n\n            <field name=\\\"payment_methods\\\" view=\\\"field_multi_select\\\"/>\\n\n            <field name=\\\"events\\\" view=\\\"field_multi_select\\\"/>\\n\n            <field name=\\\"sale_use_qty2_for_amount\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"sale_lead_time_nostock\\\"/>\\n\n            <!--\\n            <separator string=\\\"Commission\\\"/>\\n            <field name=\\\"commission_seller\\\"/>\\n            <field name=\\\"commission_buyer\\\"/>\\n            <field name=\\\"profit_after_commission\\\"/>\\n            -->\\n        \n        </tab>\\n\n        <tab string=\\\"Purchasing\\\">\\n            \n            <field name=\\\"can_purchase\\\"/>\\n\n            <newline/>\\n\n            <separator string=\\\"Suppliers\\\"/>\\n\n            <field name=\\\"suppliers\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"sequence\\\"/>\\n\n                    <field name=\\\"supplier_id\\\"/>\\n\n                    <field name=\\\"supplier_product_code\\\"/>\\n\n                    <field name=\\\"supplier_product_name\\\"/>\\n\n                    <field name=\\\"purchase_price\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <separator string=\\\"Optional Conversion\\\"/>\\n\n            <field name=\\\"purchase_uom_id\\\"/>\\n\n            <field name=\\\"purchase_invoice_uom_id\\\"/>\\n\n            <field name=\\\"purchase_to_stock_uom_factor\\\"/>\\n\n            <field name=\\\"purchase_to_invoice_uom_factor\\\"/>\\n\n            <field name=\\\"purchase_lead_time\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"purchase_min_qty\\\"/>\\n\n            <field name=\\\"purchase_qty_multiple\\\"/>\\n\n            <field name=\\\"landed_cost_track_id\\\"/>\\n\n            <!--<field name=\\\"purchase_use_qty2_for_amount\\\"/>-->\\n        \n        </tab>\\n\n        <tab string=\\\"Service\\\">\\n            \n            <field name=\\\"est_hours\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Manufacturing\\\">\\n            \n            <field name=\\\"mfg_lead_time\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"mfg_min_qty\\\"/>\\n\n            <field name=\\\"mfg_qty_multiple\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Accounting\\\">\\n            \n            <separator string=\\\"Purchasing\\\"/>\\n\n            <field name=\\\"purchase_account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"],[\\\"company_id\\\",\\\"=\\\",context.company_id]]'/>\\n\n            <field name=\\\"purchase_return_account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"],[\\\"company_id\\\",\\\"=\\\",context.company_id]]'/>\\n\n            <field name=\\\"purchase_tax_id\\\"/>\\n\n            <separator string=\\\"Sales\\\"/>\\n\n            <field name=\\\"sale_account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"],[\\\"company_id\\\",\\\"=\\\",context.company_id]]'/>\\n\n            <field name=\\\"sale_tax_id\\\"/>\\n\n            <field name=\\\"sale_return_account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"],[\\\"company_id\\\",\\\"=\\\",context.company_id]]'/>\\n\n            <field name=\\\"sale_promotion_account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"],[\\\"company_id\\\",\\\"=\\\",context.company_id]]'/>\\n\n            <field name=\\\"sale_promotion_tax_id\\\"/>\\n\n            <separator string=\\\"Costing\\\"/>\\n\n            <field name=\\\"cost_method\\\"/>\\n\n            <field name=\\\"cost_price\\\"/>\\n\n            <field name=\\\"cogs_account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"],[\\\"company_id\\\",\\\"=\\\",context.company_id]]'/>\\n\n            <field name=\\\"stock_account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"],[\\\"company_id\\\",\\\"=\\\",context.company_id]]'/>\\n\n        </tab>\\n\n        <tab string=\\\"Inventory\\\">\\n            \n            <field name=\\\"weight\\\"/>\\n\n            <field name=\\\"volume\\\"/>\\n\n            <field name=\\\"width\\\"/>\\n\n            <field name=\\\"height\\\"/>\\n\n            <field name=\\\"length\\\"/>\\n\n            <field name=\\\"uoms\\\" view=\\\"field_multi_select\\\"/>\\n\n            <field name=\\\"store_type_id\\\"/>\\n\n            <field name=\\\"shelf_life\\\"/>\\n\n            <!--field name=\\\"packing_size\\\"/>-->\\n            \n            <separator string=\\\"Product Locations\\\"/>\\n\n            <field name=\\\"locations\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"sequence\\\"/>\\n\n                    <field name=\\\"location_id\\\"/>\\n\n                    <field name=\\\"bin_location\\\"/>\\n\n                    <field name=\\\"reserve_location_id\\\"/>\\n\n                    <field name=\\\"stock_qty\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <field name=\\\"stock_qty\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"min_qty\\\"/>\\n\n            <field name=\\\"max_qty\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"min_qty_50\\\"/>\\n\n            <field name=\\\"min_qty_75\\\"/>\\n\n            <separator string=\\\"Settings\\\"/>\\n\n            <field name=\\\"require_qty2\\\"/>\\n\n            <field name=\\\"require_lot\\\"/>\\n\n            <field name=\\\"require_unique_lot\\\"/>\\n\n            <field name=\\\"auto_lot\\\"/>\\n\n            <field name=\\\"prevent_new_lot\\\"/>\\n\n            <field name=\\\"check_neg_stock\\\"/>\\n\n            <field name=\\\"check_lot_neg_stock\\\"/>\\n\n            <field name=\\\"need_return\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"product_gb_id\\\"/>\\n\n            <field name=\\\"lot_select\\\"/>\\n\n            <field name=\\\"qty2_factor\\\"/>\\n\n            <field name=\\\"min_life_remain_percent\\\"/>\\n\n            <field name=\\\"max_lots_per_sale\\\"/>\\n\n            <field name=\\\"stock_plan_horizon\\\"/>\\n\n            <field name=\\\"max_qty_loss\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Delivery\\\">\\n            \n            <field name=\\\"ship_methods\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"delivery_weekdays\\\"/>\\n\n        </tab>\\n\n        <!--<tab string=\\\"Ecommerce\\\">\\n            <field name=\\\"is_published\\\"/>\\n            <newline/>\\n            <field name=\\\"other_url\\\"/>\\n            <newline/>\\n            <field name=\\\"details\\\" view=\\\"field_html\\\" width=\\\"800\\\" height=\\\"200\\\"/>\\n            <newline/>\\n            <field name=\\\"details2_label\\\"/>\\n            <newline/>\\n            <field name=\\\"details2\\\" view=\\\"field_html\\\" width=\\\"800\\\" height=\\\"200\\\"/>\\n            <newline/>\\n            <field name=\\\"details3_label\\\"/>\\n            <newline/>\\n            <field name=\\\"details3\\\" view=\\\"field_html\\\" width=\\\"800\\\" height=\\\"200\\\"/>\\n            <newline/>\\n            <field name=\\\"details4_label\\\"/>\\n            <newline/>\\n            <field name=\\\"details4\\\" view=\\\"field_html\\\" width=\\\"800\\\" height=\\\"200\\\"/>\\n            <newline/>\\n            <field name=\\\"ecom_hide_qty\\\"/>\\n            <field name=\\\"ecom_hide_unavail\\\"/>\\n            <field name=\\\"ecom_no_order_unavail\\\"/>\\n            <field name=\\\"ecom_select_lot\\\"/>\\n            <newline/>\\n            <field name=\\\"product_origin\\\"/>\\n            <newline/>\\n            <field name=\\\"old_sale_price\\\"/>\\n            <field name=\\\"discount_text\\\"/>\\n        </tab>-->\\n        \n        <tab string=\\\"POS\\\">\\n            \n            <field name=\\\"publish_pos\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"pos_print_template_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"pos_create_lot\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"pos_auto_print\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"pos_read_weight\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"pos_auto_add\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"pos_packaging_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"pos_container_type_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"container_sequence_id\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Billing (Fulfillment)\\\">\\n            \n            <separator string=\\\"Chargable Services for Inbound\\\"/>\\n\n            <field name=\\\"fulfillment_in\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"type\\\"/>\\n\n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_fulfillment_product\\\"/>\\n\n                    <field name=\\\"uom_id\\\"/>\\n\n                    <field name=\\\"unit_price\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <separator string=\\\"Chargable Services for Outbound\\\"/>\\n\n            <field name=\\\"fulfillment_out\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"type\\\"/>\\n\n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_fulfillment_product\\\"/>\\n\n                    <field name=\\\"uom_id\\\"/>\\n\n                    <field name=\\\"unit_price\\\"/>\\n\n                </list>\\n\n            </field>\\n\n        </tab>\\n\n        <tab string=\\\"Other\\\">\\n            \n            <field name=\\\"id\\\"/>\\n\n            <field name=\\\"create_time\\\"/>\\n\n            <field name=\\\"write_time\\\"/>\\n\n            <field name=\\\"approve_date\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"company_id\\\"/>\\n\n            <field name=\\\"sale_company_id\\\"/>\\n\n            <field name=\\\"sequence\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <foot>\\n       \n        <!-- <button string=\\\"Approve\\\" type=\\\"success\\\" method=\\\"approve\\\" icon=\\\"ok\\\" states=\\\"draft\\\" perm=\\\"approve_product\\\"/> -->\\n    \n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"documents\\\" show_inline=\\\"1\\\"/>\\n\n        <field name=\\\"pricelist_items\\\" show_inline=\\\"1\\\"/>\\n\n        <field name=\\\"variants\\\"/>\\n\n        <field name=\\\"attributes\\\">\\n            \n            <list>\\n                \n                <field name=\\\"attribute_id\\\"/>\\n\n                <field name=\\\"option_id\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"attribute_id\\\"/>\\n\n                <field name=\\\"option_id\\\" condition='[[\\\"attribute_id\\\",\\\"=\\\",attribute_id]]'/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"components\\\">\\n            \n            <list>\\n                \n                <field name=\\\"component_id\\\"/>\\n\n                <field name=\\\"qty\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"component_id\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"stock\\\"]]'/>\\n\n                <field name=\\\"qty\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"images\\\">\\n            \n            <list>\\n                \n                <field name=\\\"image\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"title\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"image\\\"/>\\n\n                <field name=\\\"title\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"stock_balances\\\"/>\\n\n        <field name=\\\"lots\\\"/>\\n\n        <field name=\\\"sale_lines\\\"/>\\n\n        <field name=\\\"purchase_lines\\\"/>\\n\n        <field name=\\\"service_items\\\"/>\\n\n        <field name=\\\"boms\\\"/>\\n\n        <field name=\\\"costs\\\">\\n            \n            <list>\\n                \n                <field name=\\\"cost_type_id\\\"/>\\n\n                <field name=\\\"amount\\\"/>\\n\n                <field name=\\\"amount_type\\\"/>\\n\n                <field name=\\\"contact_group_id\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"cost_type_id\\\"/>\\n\n                <field name=\\\"amount\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"product_board\": {\"module\": \"netforce_product\", \"name\": \"product_board\", \"type\": \"board\", \"layout\": \"\n<board>\\n    \n    <vpanel>\\n        \n        <widget string=\\\"Products Per Category\\\" action=\\\"product_categ_widget\\\"/>\\n\n    </vpanel>\\n\n    <vpanel>\\n        \n        <widget string=\\\"Recent Products\\\" action=\\\"product_recent_widget\\\"/>\\n\n    </vpanel>\\n\n</board>\\n\"}, \"prod_attr_val_list\": {\"module\": \"netforce_product\", \"name\": \"prod_attr_val_list\", \"type\": \"list\", \"model\": \"product.attribute.option\", \"layout\": \"\n<list model=\\\"product.attribute.option\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"image\\\" preview=\\\"1\\\" nofilename=\\\"1\\\"/>\\n\n    <field name=\\\"price\\\"/>\\n\n</list>\\n\"}, \"pricelist_item_form\": {\"module\": \"netforce_product\", \"name\": \"pricelist_item_form\", \"type\": \"form\", \"model\": \"price.list.item\", \"layout\": \"\n<form model=\\\"price.list.item\\\">\\n    \n    <field name=\\\"list_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"min_qty\\\"/>\\n\n    <field name=\\\"max_qty\\\"/>\\n\n    <field name=\\\"discount_percent\\\"/>\\n\n    <field name=\\\"price\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"discount_text\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"brand_group_form\": {\"module\": \"netforce_product\", \"name\": \"brand_group_form\", \"type\": \"form\", \"model\": \"product.brand.group\", \"layout\": \"\n<form model=\\\"product.brand.group\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"image\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <group span=\\\"12\\\" form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"brands\\\" span=\\\"12\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"product_menu\": {\"module\": \"netforce_product\", \"name\": \"product_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Products\\\">\\n    \n    <item string=\\\"Dashboard\\\"  icon=\\\"fa_chart_pie\\\" action=\\\"product_board\\\"/>\\n\n    <item string=\\\"Products\\\" icon=\\\"fa_tag\\\">\\n        \n        <item string=\\\"Products\\\" action=\\\"product\\\"/>\\n</item>\\n\n    <item string=\\\"Reports\\\" icon=\\\"fa_chart_bar\\\">\\n        \n        <item string=\\\"Product Analysis\\\" action=\\\"product_analysis\\\"/>\\n</item>\\n\n    <item string=\\\"Settings\\\" icon=\\\"fa_cog\\\">\\n        \n        <item string=\\\"Product Categories\\\" action=\\\"prod_categ\\\"/>\\n\n        <item string=\\\"Product Groups\\\" action=\\\"prod_group\\\"/>\\n\n        <item string=\\\"Product Attributes\\\" action=\\\"prod_attrib\\\"/>\\n\n        <item string=\\\"Product Addons\\\" action=\\\"product_addon\\\"/>\\n\n        <item string=\\\"Pricelists\\\" action=\\\"pricelist\\\"/>\\n\n        <item string=\\\"Pricelist Items\\\" action=\\\"pricelist_item\\\"/>\\n\n        <item string=\\\"Price Types\\\" action=\\\"price_type\\\"/>\\n\n        <item string=\\\"Brands\\\" action=\\\"brand\\\"/>\\n\n        <item string=\\\"Brands Group\\\" action=\\\"prod_brand_group\\\"/>\\n\n        <item string=\\\"Cost Types\\\" action=\\\"cost_type\\\"/>\\n</item>\\n\n</menu>\\n\"}, \"prod_attr_val_form\": {\"module\": \"netforce_product\", \"name\": \"prod_attr_val_form\", \"type\": \"form\", \"model\": \"product.variant.values\", \"layout\": \"\n<form model=\\\"product.variant.values\\\">\\n    \n    <field name=\\\"attribute_id\\\"/>\\n\n    <field name=\\\"values\\\" condition='[[\\\"attribute_id\\\",\\\"=\\\",attribute_id]]'/>\\n\n</form>\\n\"}, \"pricelist_item_list\": {\"module\": \"netforce_product\", \"name\": \"pricelist_item_list\", \"type\": \"list\", \"model\": \"price.list.item\", \"layout\": \"\n<list model=\\\"price.list.item\\\">\\n    \n    <field name=\\\"list_id\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"min_qty\\\"/>\\n\n    <field name=\\\"max_qty\\\"/>\\n\n    <field name=\\\"discount_percent\\\"/>\\n\n    <field name=\\\"price\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"currency_id\\\"/>\\n\n    <field name=\\\"discount_text\\\"/>\\n\n</list>\\n\"}, \"product_list\": {\"module\": \"netforce_product\", \"name\": \"product_list\", \"type\": \"list\", \"model\": \"product\", \"priority\": 1, \"layout\": \"\n<list model=\\\"product\\\" priority=\\\"1\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Print Labels\\\" icon=\\\"print\\\" action=\\\"product_label\\\" action_options=\\\"convert=pdf\\\"/>\\n\n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_product_form\\\" action_options='{\\\"ids\\\":ids}'/>\\n\n        <button string=\\\"Print (old)\\\" icon=\\\"print\\\" action=\\\"report_product_form_old\\\" action_options='{\\\"ids\\\":ids}'/>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" icon=\\\"ok\\\" perm=\\\"approve_product\\\"/>\\n\n        <button string=\\\"Draft\\\" method=\\\"to_draft\\\"/>\\n\n        <button string=\\\"Create Thumbnails\\\" method=\\\"create_thumbnails\\\" icon=\\\"th\\\"/>\\n\n        <button string=\\\"Download Remote Images\\\" method=\\\"download_remote_images\\\"/>\\n\n    </head>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"categ_id\\\"/>\\n\n    <field name=\\\"brand_id\\\"/>\\n\n    <field name=\\\"sale_price\\\"/>\\n\n    <field name=\\\"purchase_price\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"cost_type_form\": {\"module\": \"netforce_product\", \"name\": \"cost_type_form\", \"type\": \"form\", \"model\": \"cost.type\", \"layout\": \"\n<form model=\\\"cost.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"amount_type\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"contact_group_id\\\"/>\\n\n</form>\\n\"}, \"prod_cust_opt_list\": {\"module\": \"netforce_product\", \"name\": \"prod_cust_opt_list\", \"type\": \"list\", \"model\": \"product.custom.option\", \"layout\": \"\n<list model=\\\"product.custom.option\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"seq\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"required\\\"/>\\n\n</list>\\n\"}, \"payment_list\": {\"module\": \"netforce_account\", \"name\": \"payment_list\", \"type\": \"list\", \"model\": \"account.payment\", \"layout\": \"\n<list model=\\\"account.payment\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_payment_form3\\\" action_options='{\\\"ids\\\":ids}'/>\\n\n        <button string=\\\"Post\\\" method=\\\"post\\\" show_progress=\\\"1\\\"/>\\n\n        <button string=\\\"Void\\\" method=\\\"void\\\"/>\\n\n        <button string=\\\"To Draft\\\" method=\\\"to_draft\\\"/>\\n\n        <button string=\\\"Update Stored\\\" method=\\\"function_store\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"pay_type\\\"/>\\n\n    <field name=\\\"account_id\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"memo\\\"/>\\n\n</list>\\n\"}, \"invoice_line_pivot\": {\"module\": \"netforce_account\", \"name\": \"invoice_line_pivot\", \"type\": \"pivot\", \"model\": \"account.invoice.line\", \"layout\": \"\n<pivot model=\\\"account.invoice.line\\\" rows=\\\"product_id.name\\\" cols=\\\"invoice_id.date_month\\\" vals=\\\"amount,qty\\\" agg_name=\\\"sum\\\" search=\\\"invoice_id.contact_id,invoice_id.number,invoice_id.date,invoice_id.due_date,product_id.code,product_id.name,invoice_id.type\\\">\\n    \n    <field name=\\\"product_id.name\\\" string=\\\"Product\\\"/>\\n\n    <field name=\\\"product_id.categ_id.name\\\" string=\\\"Product Category\\\"/>\\n\n    <field name=\\\"invoice_id.contact_id.name\\\" string=\\\"Contact\\\"/>\\n\n    <field name=\\\"invoice_id.contact_id.categ_id.name\\\" string=\\\"Contact Category\\\"/>\\n\n    <field name=\\\"invoice_id.state\\\" string=\\\"Status\\\"/>\\n\n    <field name=\\\"invoice_id.date\\\" string=\\\"Invoice Date\\\"/>\\n\n    <field name=\\\"invoice_id.date_week\\\" string=\\\"Invoice Week\\\"/>\\n\n    <field name=\\\"invoice_id.date_month\\\" string=\\\"Invoice Month\\\"/>\\n\n    <field name=\\\"invoice_id.due_date\\\" string=\\\"Due Date\\\"/>\\n\n    <field name=\\\"invoice_id.number\\\" string=\\\"Invoice Number\\\"/>\\n\n    <field name=\\\"invoice_id.type\\\" string=\\\"Invoice Type\\\"/>\\n\n    <field name=\\\"invoice_id.inv_type\\\" string=\\\"Invoice Subtype\\\"/>\\n\n    <field name=\\\"amount\\\" string=\\\"Amount\\\"/>\\n\n    <field name=\\\"qty\\\" string=\\\"Qty\\\"/>\\n\n</pivot>\\n\"}, \"account_move_line_list_reconcile\": {\"module\": \"netforce_account\", \"name\": \"account_move_line_list_reconcile\", \"type\": \"list\", \"model\": \"account.move.line\", \"priority\": 20, \"layout\": \"\n<list model=\\\"account.move.line\\\" colors='{\\\"#cfc\\\":[[\\\"is_account_reconciled\\\",\\\"=\\\",true]],\\\"#fcc\\\":[[\\\"is_account_reconciled\\\",\\\"=\\\",false],[\\\"reconcile_id\\\",\\\"!=\\\",null]]}' priority=\\\"20\\\" order=\\\"move_id.date desc,id desc\\\" hide_delete=\\\"1\\\" hide_export=\\\"1\\\">\\n    \n    <top replace=\\\"1\\\">\\n        \n        <button string=\\\"Automatic Reconciliation Wizard\\\" action=\\\"auto_reconcile\\\" icon=\\\"wrench\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <button string=\\\"Manual Reconcile\\\" method=\\\"reconcile\\\" type=\\\"primary\\\"/>\\n\n        <button string=\\\"Unreconcile\\\" method=\\\"unreconcile_manual\\\"/>\\n\n    </head>\\n\n    <field name=\\\"move_number\\\"/>\\n\n    <field name=\\\"move_date\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"account_id\\\"/>\\n\n    <field name=\\\"debit\\\"/>\\n\n    <field name=\\\"credit\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"reconcile_id\\\"/>\\n\n    <field name=\\\"is_account_reconciled\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"payment_term_form\": {\"module\": \"netforce_account\", \"name\": \"payment_term_form\", \"type\": \"form\", \"model\": \"payment.term\", \"layout\": \"\n<form model=\\\"payment.term\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"days\\\"/>\\n\n</form>\\n\"}, \"reconcile_adjust\": {\"module\": \"netforce_account\", \"name\": \"reconcile_adjust\", \"type\": \"form\", \"model\": \"reconcile.adjust\", \"layout\": \"\n<form model=\\\"reconcile.adjust\\\" title=\\\"Adjustment\\\">\\n    \n    <template type=\\\"hbs\\\">\\n        \n        <p>\\n            The transaction amount does not match the bank statement line amount.\\n            \n            <br/>\\n            Would you like to reconcile by adding an adjustment?\\n\n        </p>\\n\n    </template>\\n\n    <field name=\\\"line_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"account_id\\\"/>\\n\n    <template type=\\\"hbs\\\">\\n        {{#if data.warning}}\\n            \n        <div class=\\\"alert alert-danger\\\">\\n                \n            <strong>Warning</strong>: your adjustment is more than 1.00\\n\n        </div>\\n        {{/if}}\\n\n    </template>\\n\n    <foot>\\n        \n        <button string=\\\"OK\\\" type=\\\"primary\\\" method=\\\"do_adjust\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"payment_pivot\": {\"module\": \"netforce_account\", \"name\": \"payment_pivot\", \"type\": \"pivot\", \"model\": \"account.payment\", \"layout\": \"\n<pivot model=\\\"account.payment\\\" rows=\\\"contact_id.name\\\" cols=\\\"date_month\\\" vals=\\\"amount_total\\\" agg_name=\\\"sum\\\" search=\\\"contact_id,date,type,number\\\">\\n    \n    <field name=\\\"contact_id.name\\\" string=\\\"Contact\\\"/>\\n\n    <field name=\\\"contact_id.categ_id.name\\\" string=\\\"Contact Category\\\"/>\\n\n    <field name=\\\"state\\\" string=\\\"Status\\\"/>\\n\n    <field name=\\\"date\\\" string=\\\"Payment Date\\\"/>\\n\n    <field name=\\\"date_week\\\" string=\\\"Payment Week\\\"/>\\n\n    <field name=\\\"date_month\\\" string=\\\"Payment Month\\\"/>\\n\n    <field name=\\\"number\\\" string=\\\"Payment Number\\\"/>\\n\n    <field name=\\\"type\\\" string=\\\"Payment Type\\\"/>\\n\n    <field name=\\\"amount_total\\\" string=\\\"Total Amount\\\"/>\\n\n    <field name=\\\"account_id.name\\\" string=\\\"Payment Account\\\"/>\\n\n    <field name=\\\"pay_method_id.name\\\" string=\\\"Payment Method\\\"/>\\n\n</pivot>\\n\"}, \"bank_transfer_list\": {\"module\": \"netforce_account\", \"name\": \"bank_transfer_list\", \"type\": \"list\", \"model\": \"account.transfer\", \"layout\": \"\n<list model=\\\"account.transfer\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"account_from_id\\\"/>\\n\n    <field name=\\\"account_to_id\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"supp_repeat_form\": {\"module\": \"netforce_account\", \"name\": \"supp_repeat_form\", \"type\": \"form\", \"model\": \"account.invoice\", \"layout\": \"\n<form model=\\\"account.invoice\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"waiting_payment\\\",\\\"paid\\\",\\\"voided\\\"]]]}' show_company=\\\"1\\\" model_string=\\\"Repeating Invoice\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_supp_invoice_form\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Create Next Invoice\\\" method=\\\"create_next_invoice\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"interval_num\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"interval_unit\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"next_date\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"next_due_date\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"contact_id\\\" span=\\\"2\\\" create=\\\"1\\\" onchange=\\\"onchange_contact\\\" condition='[[\\\"supplier\\\", \\\"=\\\", \\\"True\\\"]]'/>\\n\n                <field name=\\\"date\\\" span=\\\"2\\\" onchange=\\\"onchange_date\\\"/>\\n\n                <field name=\\\"due_date\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"number\\\" required=\\\"1\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"sup_inv_number\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"currency_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"tax_type\\\" span=\\\"2\\\" onchange=\\\"update_amounts\\\"/>\\n\n                <field name=\\\"tax_no\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"related_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"journal_date\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"memo\\\" span=\\\"4\\\"/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\" count=\\\"10\\\" nolabel=\\\"1\\\">\\n                \n                <list onchange=\\\"update_amounts\\\">\\n                    \n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n                    <field name=\\\"description\\\"/>\\n\n                    <field name=\\\"qty\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"uom_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"unit_price\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"discount\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <!--<field name=\\\"account_id\\\" onchange=\\\"onchange_account\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"],[\\\"company_id\\\",\\\"=\\\",parent.company_id]]'/>-->\\n                    \n                    <field name=\\\"account_id\\\" onchange=\\\"onchange_account\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n                    <field name=\\\"tax_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"amount\\\" attrs='{\\\"readonly\\\":[[\\\"unit_price\\\",\\\"!=\\\",null]]}' onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"related_id\\\"/>\\n\n                    <field name=\\\"track_id\\\"/>\\n\n                    <field name=\\\"track2_id\\\"/>\\n\n                    <field name=\\\"track_distrib_id\\\" new_action=\\\"new_track_distrib\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n                \n                <field name=\\\"amount_subtotal\\\"/>\\n\n                <field name=\\\"amount_tax\\\"/>\\n\n                <field name=\\\"amount_total\\\"/>\\n\n                <field name=\\\"payment_entries\\\" nolabel=\\\"1\\\">\\n                    \n                    <fields>\\n                        \n                        <field name=\\\"move_id\\\"/>\\n\n                        <field name=\\\"debit\\\"/>\\n\n                        <field name=\\\"amount_cur\\\"/>\\n\n                    </fields>\\n\n                    <template type=\\\"hbs\\\">\\n                        {{#each data}}\\n                            \n                        <div class=\\\"form-group nf-field\\\">\\n                                \n                            <label class=\\\"control-label col-md-4\\\">\\n                                    Less \n                                <a href=\\\"#name=journal_entry&amp;mode=form&amp;active_id={{lookup move_id 0}}\\\">{{lookup move_id 1}}</a>\\n\n                            </label>\\n\n                            <div class=\\\"col-md-8\\\" style=\\\"text-align:right\\\">\\n                                    {{#if amount_cur}}\\n                                        {{currency amount_cur}}\\n                                    {{else}}\\n                                        {{currency debit}}\\n                                    {{/if}}\\n                                </div>\\n\n                        </div>\\n                        {{/each}}\\n\n                    </template>\\n\n                </field>\\n\n                <field name=\\\"amount_due\\\" size=\\\"medium\\\" states=\\\"waiting_payment,paid\\\"/>\\n\n            </group>\\n\n        </tab>\\n\n        <tab string=\\\"Taxes\\\">\\n            \n            <field name=\\\"taxes\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"tax_comp_id\\\"/>\\n\n                    <field name=\\\"base_amount\\\"/>\\n\n                    <field name=\\\"tax_amount\\\"/>\\n\n                    <field name=\\\"tax_no\\\"/>\\n\n                    <field name=\\\"tax_date\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <button string=\\\"Calculate Taxes\\\" method=\\\"calc_taxes\\\" icon=\\\"pencil\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other Info\\\">\\n            \n            <field name=\\\"sequence_id\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"supp_invoice\\\"]]' onchange=\\\"onchange_sequence\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"account_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"currency_rate\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <field name=\\\"type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"inv_type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"contact_credit\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"invoices\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"bank_transfer_form\": {\"module\": \"netforce_account\", \"name\": \"bank_transfer_form\", \"type\": \"form\", \"model\": \"account.transfer\", \"layout\": \"\n<form model=\\\"account.transfer\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"!=\\\",\\\"draft\\\"]]}' show_company=\\\"1\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"posted\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" states=\\\"posted\\\" confirm=\\\"Are you sure you want to void this transfer?\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"View Journal Entry\\\" method=\\\"view_journal_entry\\\" states=\\\"posted\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date\\\" span=\\\"2\\\" onchange=\\\"onchange_date\\\"/>\\n\n        <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"track_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"track2_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"account_from_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"account_to_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"amount\\\" span=\\\"2\\\" onchange=\\\"onchange_amount\\\"/>\\n\n        <field name=\\\"amount_received\\\" span=\\\"2\\\" onchange=\\\"onchange_amount_received\\\"/>\\n\n    </group>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Post\\\" method=\\\"post\\\" type=\\\"success\\\" states=\\\"draft\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"supp_overpay_form\": {\"module\": \"netforce_account\", \"name\": \"supp_overpay_form\", \"type\": \"form\", \"model\": \"account.invoice\", \"layout\": \"\n<form model=\\\"account.invoice\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"waiting_payment\\\",\\\"paid\\\",\\\"voided\\\"]]]}' model_string=\\\"Overpayment\\\" show_company=\\\"1\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Allocate Credit\\\" action=\\\"credit_alloc\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date\\\" span=\\\"2\\\" onchange=\\\"onchange_date\\\"/>\\n\n        <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"payment_id\\\" span=\\\"2\\\" string=\\\"Paid From\\\" action=\\\"payment_edit\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"currency_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n    <field name=\\\"lines\\\" count=\\\"10\\\" nolabel=\\\"1\\\">\\n        \n        <list onchange=\\\"update_amounts\\\">\\n            \n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"qty\\\" onchange=\\\"update_amounts\\\"/>\\n\n            <field name=\\\"unit_price\\\" onchange=\\\"update_amounts\\\"/>\\n\n            <field name=\\\"account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n            <field name=\\\"tax_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n            <field name=\\\"amount\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <group offset=\\\"8\\\" span=\\\"4\\\">\\n        \n        <field name=\\\"amount_subtotal\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"amount_tax\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"amount_total\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"credit_alloc\\\">\\n            \n            <fields>\\n                \n                <field name=\\\"invoice_id\\\"/>\\n\n                <field name=\\\"amount\\\"/>\\n\n            </fields>\\n\n            <template>\\n                {{#each context.data}}\\n                    \n                <div class=\\\"form-group nf-field\\\">\\n                        \n                    <label class=\\\"control-label col-md-4\\\">Less credit to invoice \n                        <a href=\\\"#name=view_invoice&amp;active_id={{invoice_id.0.}}\\\">{{invoice_id.1.}}</a>\n                    </label>\\n\n                    <div class=\\\"col-md-8\\\" style=\\\"text-align:right\\\">\\n                            {{currency amount}}\\n                            \n                        <a href=\\\"#\\\" class=\\\"call-method\\\" data-method=\\\"delete_alloc\\\" data-context='{\\\"alloc_id\\\":{{id}} }' data-confirm=\\\"Are you sure you want to delete this credit allocation?\\\">\n                            <i class=\\\"icon-remove\\\"></i>\n                        </a>\\n\n                    </div>\\n\n                </div>\\n                {{/each}}\\n\n            </template>\\n\n        </field>\\n\n        <field name=\\\"payments\\\">\\n            \n            <fields>\\n                \n                <field name=\\\"payment_id\\\"/>\\n\n                <field name=\\\"amount\\\"/>\\n\n            </fields>\\n\n            <template>\\n                {{#each context.data}}\\n                    \n                <div class=\\\"form-group nf-field\\\">\\n                        \n                    <label class=\\\"control-label col-md-4\\\">Less \n                        <a href=\\\"#name=payment&amp;mode=form&amp;active_id={{payment_id.0.}}\\\">Refund</a>\n                    </label>\\n\n                    <div class=\\\"col-md-8\\\" style=\\\"text-align:right\\\">\\n                            {{currency amount}}\\n                        </div>\\n\n                </div>\\n                {{/each}}\\n\n            </template>\\n\n        </field>\\n\n        <field name=\\\"amount_credit_remain\\\" span=\\\"4\\\" states=\\\"waiting_payment,paid\\\"/>\\n\n    </group>\\n\n    <field name=\\\"type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"inv_type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"contact_credit\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot states=\\\"draft,waiting_approval\\\" replace=\\\"1\\\">\\n        \n        <button string=\\\"Save\\\" split=\\\"1\\\" method=\\\"_save\\\" size=\\\"large\\\" type=\\\"primary\\\">\\n            \n            <item string=\\\"Save &amp; submit for approval\\\" method=\\\"submit_for_approval\\\"/>\\n\n        </button>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" size=\\\"large\\\" type=\\\"success\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <action name=\\\"invoice_refund\\\" states=\\\"waiting_payment\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"payment_term_list\": {\"module\": \"netforce_account\", \"name\": \"payment_term_list\", \"type\": \"list\", \"model\": \"payment.term\", \"layout\": \"\n<list model=\\\"payment.term\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"days\\\"/>\\n\n</list>\\n\"}, \"reconcile_select\": {\"module\": \"netforce_account\", \"name\": \"reconcile_select\", \"type\": \"list\", \"model\": \"account.move.line\", \"layout\": \"\n<list model=\\\"account.move.line\\\" order=\\\"move_id.date desc,id desc\\\">\\n    \n    <search>\\n        \n        <field name=\\\"move_date\\\"/>\\n\n        <field name=\\\"description\\\"/>\\n\n        <field name=\\\"debit\\\"/>\\n\n        <field name=\\\"credit\\\"/>\\n\n        <field name=\\\"contact_id\\\"/>\\n\n    </search>\\n\n    <field name=\\\"move_date\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"debit\\\"/>\\n\n    <field name=\\\"credit\\\"/>\\n\n</list>\\n\"}, \"print_select_template\": {\"module\": \"netforce_account\", \"name\": \"print_select_template\", \"type\": \"form\", \"model\": \"print.select.template\", \"layout\": \"\n<form model=\\\"print.select.template\\\">\\n    \n    <field name=\\\"report_action\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"refer_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"template_type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"template_id\\\" condition='[[\\\"type\\\",\\\"=\\\",template_type]]' onchange=\\\"onchange_template\\\"/>\\n\n    <field name=\\\"format\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Print\\\" method=\\\"print\\\" type=\\\"primary\\\" icon=\\\"print\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"account_move_line_form\": {\"module\": \"netforce_account\", \"name\": \"account_move_line_form\", \"type\": \"form\", \"model\": \"account.move.line\", \"layout\": \"\n<form model=\\\"account.move.line\\\">\\n    \n    <field name=\\\"account_id\\\"/>\\n\n    <field name=\\\"move_number\\\"/>\\n\n    <field name=\\\"move_date\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"debit\\\"/>\\n\n    <field name=\\\"credit\\\"/>\\n\n    <field name=\\\"track_id\\\"/>\\n\n    <field name=\\\"amount_cur\\\"/>\\n\n    <field name=\\\"reconcile_id\\\"/>\\n\n    <field name=\\\"is_account_reconciled\\\" invisible=\\\"1\\\"/>\\n\n</form>\\n\"}, \"bill_note_form\": {\"module\": \"netforce_account\", \"name\": \"bill_note_form\", \"type\": \"form\", \"model\": \"bill.note\", \"layout\": \"\n<form model=\\\"bill.note\\\" show_company=\\\"1\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_bill_note_form\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\">\\n            \n            <item string=\\\"Copy To Payment\\\" method=\\\"copy_to_payment\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"customer_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"amount_due\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"remarks\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"invoices\\\"/>\\n\n        <field name=\\\"payments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"currency_list\": {\"module\": \"netforce_account\", \"name\": \"currency_list\", \"type\": \"list\", \"model\": \"currency\", \"layout\": \"\n<list model=\\\"currency\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"sign\\\"/>\\n\n    <field name=\\\"iso_number\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"sell_rate\\\"/>\\n\n    <field name=\\\"buy_rate\\\"/>\\n\n</list>\\n\"}, \"expense_claim_list\": {\"module\": \"netforce_account\", \"name\": \"expense_claim_list\", \"type\": \"list\", \"model\": \"expense.claim\", \"layout\": \"\n<list model=\\\"expense.claim\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"print_expense_claim\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"num_expenses\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"statement_form\": {\"module\": \"netforce_account\", \"name\": \"statement_form\", \"type\": \"form\", \"model\": \"account.statement\", \"layout\": \"\n<form model=\\\"account.statement\\\" show_company=\\\"1\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"account_id\\\" span=\\\"2\\\" onchange=\\\"onchange_account\\\"/>\\n\n        <field name=\\\"date_start\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_end\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"balance_start\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"balance_end\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list onchange=\\\"update_balance\\\">\\n            \n            <field name=\\\"date\\\"/>\\n\n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"received\\\" onchange=\\\"update_balance\\\"/>\\n\n            <field name=\\\"spent\\\" onchange=\\\"update_balance\\\"/>\\n\n            <field name=\\\"balance\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n</form>\\n\"}, \"expense_categ_form\": {\"module\": \"netforce_account\", \"name\": \"expense_categ_form\", \"type\": \"form\", \"model\": \"expense.categ\", \"layout\": \"\n<form model=\\\"expense.categ\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</form>\\n\"}, \"account_balance_list\": {\"module\": \"netforce_account\", \"name\": \"account_balance_list\", \"type\": \"list\", \"model\": \"account.balance\", \"layout\": \"\n<list model=\\\"account.balance\\\">\\n    \n    <field name=\\\"account_id\\\"/>\\n\n    <field name=\\\"track_id\\\"/>\\n\n    <field name=\\\"debit\\\"/>\\n\n    <field name=\\\"credit\\\"/>\\n\n    <field name=\\\"amount_cur\\\"/>\\n\n</list>\\n\"}, \"currency_form\": {\"module\": \"netforce_account\", \"name\": \"currency_form\", \"type\": \"form\", \"model\": \"currency\", \"layout\": \"\n<form model=\\\"currency\\\">\\n    \n    <group>\\n        \n        <field name=\\\"name\\\"/>\\n\n        <field name=\\\"code\\\"/>\\n\n        <field name=\\\"sign\\\"/>\\n\n        <field name=\\\"iso_number\\\"/>\\n\n        <field name=\\\"cents_name\\\"/>\\n\n        <separator/>\\n\n        <field name=\\\"account_receivable_id\\\"/>\\n\n        <field name=\\\"account_payable_id\\\"/>\\n\n        <separator/>\\n\n        <field name=\\\"sell_rate\\\"/>\\n\n        <field name=\\\"buy_rate\\\"/>\\n\n        <separator/>\\n\n        <field name=\\\"product_id\\\"/>\\n\n    </group>\\n\n    <related>\\n        \n        <field name=\\\"rates\\\">\\n            \n            <list>\\n                \n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"sell_rate\\\"/>\\n\n                <field name=\\\"buy_rate\\\"/>\\n\n                <field name=\\\"company_id\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"company_id\\\"/>\\n\n                <field name=\\\"sell_rate\\\"/>\\n\n                <field name=\\\"buy_rate\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"import_statement\": {\"module\": \"netforce_account\", \"name\": \"import_statement\", \"type\": \"form\", \"model\": \"import.statement\", \"layout\": \"\n<form model=\\\"import.statement\\\" title=\\\"Import New Bank Statement\\\">\\n    \n    <field name=\\\"account_id\\\" condition='[[\\\"type\\\",\\\"in\\\",[\\\"bank\\\",\\\"cash\\\",\\\"cheque\\\"]]]' onchange=\\\"onchange_account\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"file\\\"/>\\n\n    <field name=\\\"encoding\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"date_start\\\"/>\\n\n    <field name=\\\"date_end\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Import\\\" method=\\\"import_data\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"invoice_refund\": {\"module\": \"netforce_account\", \"name\": \"invoice_refund\", \"type\": \"form\", \"model\": \"invoice.refund\", \"layout\": \"\n<form model=\\\"invoice.refund\\\" title=\\\"Make a refund\\\" form_layout=\\\"stacked\\\">\\n    \n    <field name=\\\"invoice_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"amount\\\" span=\\\"2\\\"/>\\n\n    <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n    <field name=\\\"account_id\\\" span=\\\"2\\\"/>\\n\n    <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n    <button string=\\\"Add Refund\\\" method=\\\"add_refund\\\" type=\\\"success\\\" icon=\\\"ok\\\" span=\\\"2\\\"/>\\n\n</form>\\n\"}, \"supp_debit_form\": {\"module\": \"netforce_account\", \"name\": \"supp_debit_form\", \"type\": \"form\", \"model\": \"account.invoice\", \"layout\": \"\n<form model=\\\"account.invoice\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"waiting_payment\\\",\\\"paid\\\",\\\"voided\\\"]]]}' model_string=\\\"Debit Note\\\" show_company=\\\"1\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_supp_invoice_form\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure you want to void this invoice?\\\" states=\\\"waiting_payment\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"waiting_payment\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"View Journal Entry\\\" method=\\\"view_journal_entry\\\" states=\\\"waiting_payment,paid\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"contact_id\\\" span=\\\"2\\\" create=\\\"1\\\" onchange=\\\"onchange_contact\\\" condition='[[\\\"supplier\\\", \\\"=\\\", \\\"True\\\"]]'/>\\n\n                <field name=\\\"date\\\" span=\\\"2\\\" onchange=\\\"onchange_date\\\"/>\\n\n                <field name=\\\"due_date\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"number\\\" required=\\\"1\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"currency_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"tax_type\\\" span=\\\"2\\\" onchange=\\\"update_amounts\\\"/>\\n\n                <field name=\\\"tax_no\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"related_id\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"memo\\\" span=\\\"4\\\"/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\" count=\\\"10\\\" nolabel=\\\"1\\\">\\n                \n                <list onchange=\\\"update_amounts\\\">\\n                    \n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n                    <field name=\\\"description\\\"/>\\n\n                    <field name=\\\"qty\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"uom_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"unit_price\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"discount\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"account_id\\\" onchange=\\\"onchange_account\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"],[\\\"company_id\\\",\\\"=\\\",parent.company_id]]'/>\\n\n                    <field name=\\\"tax_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"amount\\\" attrs='{\\\"readonly\\\":[[\\\"unit_price\\\",\\\"!=\\\",null]]}' onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"track_id\\\"/>\\n\n                    <field name=\\\"track2_id\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n                \n                <field name=\\\"amount_subtotal\\\"/>\\n\n                <field name=\\\"amount_tax\\\"/>\\n\n                <field name=\\\"amount_total\\\"/>\\n\n                <field name=\\\"credit_notes\\\">\\n                    \n                    <fields>\\n                        \n                        <field name=\\\"credit_id\\\"/>\\n\n                        <field name=\\\"credit_type\\\"/>\\n\n                        <field name=\\\"amount\\\"/>\\n\n                    </fields>\\n\n                    <template type=\\\"hbs\\\">\\n                        {{#each data}}\\n                            \n                        <div class=\\\"form-group nf-field\\\">\\n                                \n                            <label class=\\\"control-label col-md-4\\\">\\n                                    {{#ifeq credit_type \\\"credit\\\"}}\\n                                        Less \n                                <a href=\\\"#name=view_invoice&amp;active_id={{lookup credit_id 0}}\\\">Credit Note</a>\\n                                    {{/ifeq}}\\n                                    {{#ifeq credit_type \\\"prepay\\\"}}\\n                                        Less\n                                <a href=\\\"#name=view_invoice&amp;active_id={{lookup credit_id 0}}\\\">Prepayment</a>\\n                                    {{/ifeq}}\\n                                    {{#ifeq credit_type \\\"overpay\\\"}}\\n                                        Less\n                                <a href=\\\"#name=view_invoice&amp;active_id={{lookup credit_id 0}}\\\">Overpayment</a>\\n                                    {{/ifeq}}\\n\n                            </label>\\n\n                            <div class=\\\"col-md-8\\\" style=\\\"text-align:right\\\">\\n                                    {{currency amount}}\\n                                </div>\\n\n                        </div>\\n                        {{/each}}\\n\n                    </template>\\n\n                </field>\\n\n                <field name=\\\"payments\\\">\\n                    \n                    <fields>\\n                        \n                        <field name=\\\"payment_id\\\"/>\\n\n                        <field name=\\\"amount_currency\\\"/>\\n\n                    </fields>\\n\n                    <template type=\\\"hbs\\\">\\n                        {{#each data}}\\n                            \n                        <div class=\\\"form-group nf-field\\\">\\n                                \n                            <label class=\\\"control-label col-md-4\\\">Less \n                                <a href=\\\"#name=payment&amp;mode=form&amp;active_id={{lookup payment_id 0}}\\\">Payment</a>\n                            </label>\\n\n                            <div class=\\\"col-md-8\\\" style=\\\"text-align:right\\\">\\n                                    {{currency amount_currency}}\\n                                </div>\\n\n                        </div>\\n                        {{/each}}\\n\n                    </template>\\n\n                </field>\\n\n                <field name=\\\"amount_due\\\" states=\\\"waiting_payment,paid\\\"/>\\n\n            </group>\\n\n            <field name=\\\"type\\\" invisible=\\\"1\\\"/>\\n\n            <field name=\\\"inv_type\\\" invisible=\\\"1\\\"/>\\n\n            <field name=\\\"contact_credit\\\" invisible=\\\"1\\\"/>\\n\n            <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other Info\\\">\\n            \n            <field name=\\\"sequence_id\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"cust_debit\\\"]]' onchange=\\\"onchange_sequence\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <foot states=\\\"draft,waiting_approval\\\" replace=\\\"1\\\">\\n        \n        <button string=\\\"Save\\\" split=\\\"1\\\" method=\\\"_save\\\" size=\\\"large\\\" type=\\\"primary\\\">\\n            \n            <item string=\\\"Save &amp; submit for approval\\\" method=\\\"submit_for_approval\\\"/>\\n\n        </button>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" size=\\\"large\\\" type=\\\"success\\\" perm=\\\"approve_invoice\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <template type=\\\"hbs\\\" states=\\\"waiting_payment\\\">\\n            {{#if data.contact_credit}}\\n                \n            <div style=\\\"background-color:#eee;font-size:12px;margin-bottom:10px;padding:5px 10px\\\">\\n                    {{lookup data.contact_id 1}} has {{currency data.contact_credit}} in outstanding credit.\\n                    \n                <a href=\\\"#name=credit_invoice&amp;invoice_id={{data.id}}\\\">Credit this invoice</a>\\n\n            </div>\\n            {{/if}}\\n\n        </template>\\n\n        <action name=\\\"invoice_payment\\\" states=\\\"waiting_payment\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"expense_claim_form\": {\"module\": \"netforce_account\", \"name\": \"expense_claim_form\", \"type\": \"form\", \"model\": \"expense.claim\", \"layout\": \"\n<form model=\\\"expense.claim\\\" show_company=\\\"1\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"approved\\\",\\\"paid\\\",\\\"declined\\\"]]]}'>\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"print_expense_claim\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"To Draft\\\" method=\\\"do_to_draft\\\" states=\\\"waiting_approval,approved,declined,paid\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"View Journal Entry\\\" method=\\\"view_journal_entry\\\" states=\\\"approved,paid\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"num_expenses\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"account_id\\\" condition='[[\\\"company_id\\\",\\\"=\\\",company_id],[\\\"or\\\",[\\\"type\\\",\\\"in\\\",[\\\"bank\\\",\\\"cash\\\",\\\"cheque\\\"]],[\\\"enable_payment\\\",\\\"=\\\",true]]]'/>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Submit For Approval\\\" method=\\\"do_submit\\\" icon=\\\"arrow-right\\\" states=\\\"draft\\\"/>\\n\n        <button string=\\\"Approve\\\" method=\\\"do_approve\\\" type=\\\"success\\\" icon=\\\"ok\\\" states=\\\"waiting_approval\\\" perm=\\\"approve_expense\\\"/>\\n\n        <button string=\\\"Decline\\\" method=\\\"do_decline\\\" type=\\\"danger\\\" icon=\\\"remove\\\" states=\\\"waiting_approval\\\" perm=\\\"approve_expense\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"expenses\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"reconcile_form\": {\"module\": \"netforce_account\", \"name\": \"reconcile_form\", \"type\": \"form\", \"model\": \"account.reconcile\", \"layout\": \"\n<form model=\\\"account.reconcile\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <separator string=\\\"Account Entries\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"move_date\\\"/>\\n\n            <field name=\\\"move_number\\\"/>\\n\n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"account_id\\\"/>\\n\n            <field name=\\\"debit\\\"/>\\n\n            <field name=\\\"credit\\\"/>\\n\n            <field name=\\\"contact_id\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <group offset=\\\"6\\\" span=\\\"4\\\">\\n        \n        <field name=\\\"debit\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"credit\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"invoice_export\": {\"module\": \"netforce_account\", \"name\": \"invoice_export\", \"type\": \"export\", \"model\": \"account.invoice\", \"layout\": \"\n<export model=\\\"account.invoice\\\">\\n    \n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"inv_type\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"amount_paid\\\"/>\\n\n    <field name=\\\"amount_due\\\"/>\\n\n    <field name=\\\"memo\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</export>\\n\"}, \"payment_method_list\": {\"module\": \"netforce_account\", \"name\": \"payment_method_list\", \"type\": \"list\", \"model\": \"payment.method\", \"layout\": \"\n<list model=\\\"payment.method\\\">\\n    \n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"require_report\\\"/>\\n\n</list>\\n\"}, \"tax_rate_form\": {\"module\": \"netforce_account\", \"name\": \"tax_rate_form\", \"type\": \"form\", \"model\": \"account.tax.rate\", \"layout\": \"\n<form model=\\\"account.tax.rate\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <separator string=\\\"Components\\\"/>\\n\n    <field name=\\\"components\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"name\\\"/>\\n\n            <field name=\\\"rate\\\"/>\\n\n            <field name=\\\"account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n            <field name=\\\"account_pending_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n            <field name=\\\"type\\\"/>\\n\n            <field name=\\\"trans_type\\\"/>\\n\n            <field name=\\\"contact_type\\\"/>\\n\n            <field name=\\\"code\\\"/>\\n\n            <field name=\\\"description\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"rate\\\"/>\\n\n    </group>\\n\n    <field name=\\\"instructions\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"logs\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"supp_invoice_list\": {\"module\": \"netforce_account\", \"name\": \"supp_invoice_list\", \"type\": \"list\", \"model\": \"account.invoice\", \"layout\": \"\n<list model=\\\"account.invoice\\\" method=\\\"view_invoice\\\">\\n    \n    <top replace=\\\"1\\\">\\n        \n        <button string=\\\"New Invoice\\\" action=\\\"supp_invoice\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"form_layout\\\":\\\"supp_invoice_form\\\",\\\"context\\\":{\\\"defaults\\\":{\\\"type\\\":\\\"in\\\",\\\"inv_type\\\":\\\"invoice\\\"}}}' icon=\\\"plus-sign\\\"/>\\n\n        <button string=\\\"New Credit Note\\\" action=\\\"supp_invoice\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"form_layout\\\":\\\"supp_credit_form\\\",\\\"context\\\":{\\\"defaults\\\":{\\\"type\\\":\\\"in\\\",\\\"inv_type\\\":\\\"credit\\\"}}}' icon=\\\"plus-sign\\\"/>\\n\n        <button string=\\\"New Debit Note\\\" action=\\\"supp_invoice\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"form_layout\\\":\\\"supp_debit_form\\\",\\\"context\\\":{\\\"defaults\\\":{\\\"type\\\":\\\"in\\\",\\\"inv_type\\\":\\\"debit\\\"}}}' icon=\\\"plus-sign\\\"/>\\n\n        <button string=\\\"New Repeating Invoice\\\" action=\\\"supp_invoice\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"form_layout\\\":\\\"supp_repeat_form\\\",\\\"context\\\":{\\\"defaults\\\":{\\\"type\\\":\\\"in\\\",\\\"inv_type\\\":\\\"invoice\\\",\\\"state\\\":\\\"repeat\\\"}}}' icon=\\\"plus-sign\\\"/>\\n\n        <button string=\\\"Import\\\" action_options='{\\\"view\\\":\\\"import\\\",\\\"string\\\":\\\"Import Invoices\\\",\\\"model\\\":\\\"account.invoice\\\",\\\"menu\\\":\\\"account_menu\\\"}' icon=\\\"download\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <button string=\\\"Approve\\\" method=\\\"post\\\"/>\\n\n        <button string=\\\"To Draft\\\" method=\\\"to_draft\\\"/>\\n\n        <button string=\\\"Void\\\" method=\\\"void\\\"/>\\n\n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_supp_invoice_form3\\\" action_options='{\\\"ids\\\":ids}'/>\\n\n        <button string=\\\"Fix Conversion Invoice Balance\\\" method=\\\"fix_conv_invoice\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"inv_type\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"amount_paid\\\"/>\\n\n    <field name=\\\"amount_due\\\"/>\\n\n    <field name=\\\"currency_id\\\"/>\\n\n    <field name=\\\"memo\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n</list>\\n\"}, \"account_move_list\": {\"module\": \"netforce_account\", \"name\": \"account_move_list\", \"type\": \"list\", \"model\": \"account.move\", \"layout\": \"\n<list model=\\\"account.move\\\" show_company=\\\"1\\\" colors='{\\\"difference,#f00\\\":[[\\\"difference\\\",\\\"!=\\\",0]]}'>\\n    \n    <head>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_journal_entry\\\"/>\\n\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"report_journal_entry2\\\" action_options='{\\\"ids\\\":ids}'/>\\n\n        <button string=\\\"Post\\\" method=\\\"post\\\" show_progress=\\\"1\\\"/>\\n\n        <button string=\\\"To Draft\\\" method=\\\"to_draft\\\"/>\\n\n    </head>\\n\n    <field name=\\\"journal_id\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"date_posted\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"narration\\\"/>\\n\n    <field name=\\\"total_debit\\\"/>\\n\n    <field name=\\\"total_credit\\\"/>\\n\n    <field name=\\\"difference\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"statement_list\": {\"module\": \"netforce_account\", \"name\": \"statement_list\", \"type\": \"list\", \"model\": \"account.statement\", \"layout\": \"\n<list model=\\\"account.statement\\\" colors='{\\\"#cfc\\\":[[\\\"state\\\",\\\"=\\\",\\\"reconciled\\\"]]}'>\\n    \n    <top replace=\\\"1\\\">\\n        \n        <button string=\\\"New Statement\\\" action=\\\"statement\\\" action_options='{\\\"mode\\\":\\\"form\\\"}' icon=\\\"plus-sign\\\"/>\\n\n        <button string=\\\"Import\\\" action=\\\"import_statement\\\" icon=\\\"download\\\"/>\\n\n    </top>\\n\n    <field name=\\\"account_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"date_start\\\"/>\\n\n    <field name=\\\"date_end\\\"/>\\n\n    <field name=\\\"balance_start\\\"/>\\n\n    <field name=\\\"balance_end\\\"/>\\n\n</list>\\n\"}, \"bill_note_list\": {\"module\": \"netforce_account\", \"name\": \"bill_note_list\", \"type\": \"list\", \"model\": \"bill.note\", \"layout\": \"\n<list model=\\\"bill.note\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_bill_note_form\\\" action_options='{\\\"ids\\\":ids}'/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"customer_id\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"amount_due\\\"/>\\n\n    <field name=\\\"remarks\\\"/>\\n\n</list>\\n\"}, \"tax_period_list\": {\"module\": \"netforce_account\", \"name\": \"tax_period_list\", \"type\": \"list\", \"model\": \"tax.period\", \"layout\": \"\n<list model=\\\"tax.period\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n</list>\\n\"}, \"payment_plan_form\": {\"module\": \"netforce_account\", \"name\": \"payment_plan_form\", \"type\": \"form\", \"model\": \"payment.plan\", \"layout\": \"\n<form model=\\\"payment.plan\\\">\\n    \n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"invoice_id\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</form>\\n\"}, \"track_distrib_list\": {\"module\": \"netforce_account\", \"name\": \"track_distrib_list\", \"type\": \"list\", \"model\": \"track.distrib\", \"layout\": \"\n<list model=\\\"track.distrib\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</list>\\n\"}, \"account_track_categ_form\": {\"module\": \"netforce_account\", \"name\": \"account_track_categ_form\", \"type\": \"form\", \"model\": \"account.track.categ\", \"layout\": \"\n<form model=\\\"account.track.categ\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\" width=\\\"400\\\" height=\\\"100\\\"/>\\n\n    <field name=\\\"balance\\\"/>\\n\n    <field name=\\\"currency_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"sub_tracks\\\"/>\\n\n        <field name=\\\"track_entries\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"sale_orders\\\"/>\\n\n        <field name=\\\"projects\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"fixed_asset_depreciation_form\": {\"module\": \"netforce_account\", \"name\": \"fixed_asset_depreciation_form\", \"type\": \"form\", \"model\": \"account.fixed.asset.depreciation\", \"layout\": \"\n<form model=\\\"account.fixed.asset.depreciation\\\" title=\\\"Depreciate Fixed Assets\\\">\\n    \n    <template>\\n        \n        <![CDATA[\\n        <p>This will depreciate all registered fixed assets until the given date.</p>\\n        ]]>\\n    \n    </template>\\n\n    <newline/>\\n\n    <field name='date_to'/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string='Depreciate' type='success' method='update'/>\\n\n    </foot>\\n\n</form>\\n\"}, \"credit_invoice\": {\"module\": \"netforce_account\", \"name\": \"credit_invoice\", \"type\": \"form\", \"model\": \"account.credit.wizard\", \"layout\": \"\n<form model=\\\"account.credit.wizard\\\" title=\\\"Allocate Credit to Invoice\\\">\\n    \n    <field name=\\\"invoice_id\\\" invisible=\\\"1\\\"/>\\n\n    <template type=\\\"hbs\\\">\\n        \n        <h5>\\n            Allocate oustanding credit to \n            <a href=\\\"#name=view_invoice&amp;active_id={{lookup data.invoice_id 0}}\\\"> {{lookup data.invoice_id 1}}</a>\\n\n        </h5>\\n\n    </template>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"move_line_id\\\" invisible=\\\"1\\\"/>\\n\n            <field name=\\\"move_id\\\"/>\\n\n            <field name=\\\"date\\\"/>\\n\n            <field name=\\\"account_id\\\"/>\\n\n            <field name=\\\"amount_credit_remain\\\"/>\\n\n            <field name=\\\"amount\\\" onchange=\\\"update_amounts\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"amount_due\\\"/>\\n\n        <field name=\\\"amount_alloc\\\"/>\\n\n        <field name=\\\"amount_remain\\\"/>\\n\n    </group>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Allocate Credit\\\" method=\\\"allocate\\\" size=\\\"large\\\" type=\\\"success\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"bank_move_line\": {\"module\": \"netforce_account\", \"name\": \"bank_move_line\", \"type\": \"list\", \"layout\": \"\n<list action=\\\"view_transaction\\\" colors='{\\\"#cfc\\\":[[\\\"state\\\",\\\"=\\\",\\\"reconciled\\\"]]}'>\\n    \n    <head>\\n        \n        <button string=\\\"Unreconcile\\\" method=\\\"unreconcile\\\" type=\\\"primary\\\"/>\\n\n    </head>\\n\n    <search>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <field name=\\\"move_date\\\"/>\\n\n        <field name=\\\"move_number\\\"/>\\n\n        <field name=\\\"description\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"debit\\\"/>\\n\n        <field name=\\\"credit\\\"/>\\n\n    </search>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"move_date\\\"/>\\n\n    <field name=\\\"move_number\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"debit\\\"/>\\n\n    <field name=\\\"credit\\\"/>\\n\n</list>\\n\"}, \"bank_statement\": {\"module\": \"netforce_account\", \"name\": \"bank_statement\", \"type\": \"list\", \"layout\": \"\n<list colors='{\\\"#cfc\\\":[[\\\"state\\\",\\\"=\\\",\\\"reconciled\\\"]]}' no_search=\\\"1\\\">\\n    \n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"date_start\\\"/>\\n\n    <field name=\\\"date_end\\\"/>\\n\n    <field name=\\\"balance_start\\\"/>\\n\n    <field name=\\\"balance_end\\\"/>\\n\n</list>\\n\"}, \"conv_import2\": {\"module\": \"netforce_account\", \"name\": \"conv_import2\", \"type\": \"form\", \"model\": \"conv.bal\", \"layout\": \"\n<form model=\\\"conv.bal\\\" title=\\\"Import unpaid sales invoices\\\">\\n    \n    <field name=\\\"file\\\" required=\\\"1\\\"/>\\n\n    <field name=\\\"date_fmt\\\" required=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Import\\\" method=\\\"import_sale_file\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\"}, \"supp_credit_form\": {\"module\": \"netforce_account\", \"name\": \"supp_credit_form\", \"type\": \"form\", \"model\": \"account.invoice\", \"layout\": \"\n<form model=\\\"account.invoice\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"waiting_payment\\\",\\\"paid\\\",\\\"voided\\\"]]]}' model_string=\\\"Credit Note\\\" show_company=\\\"1\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_supp_invoice_form3\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure you want to void this invoice?\\\" states=\\\"draft,waiting_payment\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"waiting_payment\\\"/>\\n\n            <item string=\\\"Allocate Credit\\\" action=\\\"credit_alloc\\\" action_options='{\\\"context\\\":{\\\"credit_id\\\":id}}' states=\\\"waiting_payment\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"View Journal Entry\\\" method=\\\"view_journal_entry\\\" states=\\\"waiting_payment,paid\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"contact_id\\\" span=\\\"2\\\" create=\\\"1\\\" condition='[[\\\"supplier\\\", \\\"=\\\", \\\"True\\\"]]'/>\\n\n                <field name=\\\"bill_address_id\\\" span=\\\"2\\\" condition='[[\\\"contact_id\\\", \\\"=\\\", contact_id], [\\\"contact_id\\\", \\\"!=\\\", null]]'/>\\n\n                <field name=\\\"date\\\" span=\\\"2\\\" onchange=\\\"onchange_date\\\"/>\\n\n                <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"related_id\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"currency_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"tax_type\\\" span=\\\"2\\\" onchange=\\\"update_amounts\\\"/>\\n\n                <field name=\\\"memo\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"tax_no\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"tax_branch_no\\\" span=\\\"2\\\"/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\" count=\\\"10\\\" nolabel=\\\"1\\\">\\n                \n                <list onchange=\\\"update_amounts\\\">\\n                    \n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n                    <field name=\\\"description\\\"/>\\n\n                    <field name=\\\"qty\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"uom_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"unit_price\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"discount\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n                    <field name=\\\"tax_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"amount\\\"/>\\n\n                    <field name=\\\"track_id\\\"/>\\n\n                    <field name=\\\"track2_id\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n                \n                <field name=\\\"amount_subtotal\\\"/>\\n\n                <field name=\\\"amount_tax\\\"/>\\n\n                <field name=\\\"amount_total\\\"/>\\n\n                <field name=\\\"credit_alloc\\\">\\n                    \n                    <fields>\\n                        \n                        <field name=\\\"invoice_id\\\"/>\\n\n                        <field name=\\\"amount\\\"/>\\n\n                    </fields>\\n\n                    <template type=\\\"hbs\\\">\\n                        {{#each data}}\\n                            \n                        <div class=\\\"form-group nf-field\\\">\\n                                \n                            <label class=\\\"control-label col-md-4\\\">Less credit to invoice \n                                <a href=\\\"#name=view_invoice&amp;active_id={{lookup invoice_id 0}}\\\">{{lookup invoice_id 1}}</a>\n                            </label>\\n\n                            <div class=\\\"col-md-8\\\" style=\\\"text-align:right\\\">\\n                                    {{currency amount}}\\n                                    \n                                <a href=\\\"#\\\" class=\\\"call-method\\\" data-method=\\\"delete_alloc\\\" data-context='{\\\"alloc_id\\\":{{id}} }' data-confirm=\\\"Are you sure you want to delete this credit allocation?\\\">\n                                    <i class=\\\"icon-remove\\\"></i>\n                                </a>\\n\n                            </div>\\n\n                        </div>\\n                        {{/each}}\\n\n                    </template>\\n\n                </field>\\n\n                <field name=\\\"payments\\\">\\n                    \n                    <fields>\\n                        \n                        <field name=\\\"payment_id\\\"/>\\n\n                        <field name=\\\"amount_currency\\\"/>\\n\n                    </fields>\\n\n                    <template type=\\\"hbs\\\">\\n                        {{#each data}}\\n                            \n                        <div class=\\\"form-group nf-field\\\">\\n                                \n                            <label class=\\\"control-label col-md-4\\\">Less \n                                <a href=\\\"#name=payment&amp;mode=form&amp;active_id={{lookup payment_id 0}}\\\">Refund</a>\n                            </label>\\n\n                            <div class=\\\"col-md-8\\\" style=\\\"text-align:right\\\">\\n                                    {{currency amount_currency}}\\n                                </div>\\n\n                        </div>\\n                        {{/each}}\\n\n                    </template>\\n\n                </field>\\n\n                <field name=\\\"amount_credit_remain\\\" states=\\\"waiting_payment,paid\\\"/>\\n\n            </group>\\n\n        </tab>\\n\n        <tab string=\\\"Other Info\\\">\\n            \n            <field name=\\\"journal_id\\\" onchange=\\\"onchange_journal\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"sequence_id\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"supp_credit\\\"]]' onchange=\\\"onchange_sequence\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"currency_rate\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <field name=\\\"type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"inv_type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"contact_credit\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot states=\\\"draft,waiting_approval\\\" replace=\\\"1\\\">\\n        \n        <button string=\\\"Save\\\" split=\\\"1\\\" method=\\\"_save\\\" size=\\\"large\\\" type=\\\"primary\\\">\\n            \n            <item string=\\\"Save &amp; submit for approval\\\" method=\\\"submit_for_approval\\\"/>\\n\n        </button>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" size=\\\"large\\\" type=\\\"success\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <action name=\\\"invoice_refund\\\" states=\\\"waiting_payment\\\"/>\\n\n        <field name=\\\"documents\\\" show_inline=\\\"1\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"fixed_asset_list\": {\"module\": \"netforce_account\", \"name\": \"fixed_asset_list\", \"type\": \"list\", \"model\": \"account.fixed.asset\", \"layout\": \"\n<list model=\\\"account.fixed.asset\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Depreciation\\\" icon=\\\"play-circle\\\" action=\\\"depreciation\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <button string=\\\"Register\\\" type=\\\"success\\\" method=\\\"do_register\\\" show_progress=\\\"1\\\"/>\\n\n        <button string=\\\"To Pending\\\" type=\\\"success\\\" method=\\\"To Pending\\\" show_progress=\\\"1\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"type_id\\\"/>\\n\n    <field name=\\\"date_purchase\\\"/>\\n\n    <field name=\\\"price_purchase\\\"/>\\n\n    <field name=\\\"book_val\\\"/>\\n\n    <field name=\\\"last_dep\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"account_balance_form\": {\"module\": \"netforce_account\", \"name\": \"account_balance_form\", \"type\": \"form\", \"model\": \"account.balance\", \"layout\": \"\n<form model=\\\"account.balance\\\">\\n    \n    <field name=\\\"account_id\\\"/>\\n\n    <field name=\\\"track_id\\\"/>\\n\n    <field name=\\\"debit\\\"/>\\n\n    <field name=\\\"credit\\\"/>\\n\n    <field name=\\\"amount_cur\\\"/>\\n\n</form>\\n\"}, \"fixed_asset_type_form\": {\"module\": \"netforce_account\", \"name\": \"fixed_asset_type_form\", \"type\": \"form\", \"model\": \"account.fixed.asset.type\", \"layout\": \"\n<form model=\\\"account.fixed.asset.type\\\">\\n    \n    <group>\\n        \n        <field name=\\\"name\\\"/>\\n\n        <field name=\\\"code\\\"/>\\n\n        <field name=\\\"fixed_asset_account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n        <field name=\\\"dep_rate\\\"/>\\n\n        <field name=\\\"dep_method\\\"/>\\n\n        <field name=\\\"accum_dep_account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n        <field name=\\\"dep_exp_account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n        <field name=\\\"description\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"account_menu\": {\"module\": \"netforce_account\", \"name\": \"account_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Accounting\\\">\\n    \n    <item string=\\\"Dashboard\\\" icon=\\\"fa_chart_pie\\\" action=\\\"account_board\\\"/>\\n\n    <item string=\\\"Bank\\\" icon=\\\"fa_money_bill_wave\\\">\\n        \n        <item string=\\\"Bank Accounts\\\" action=\\\"bank\\\"/>\\n\n        <item string=\\\"Payments\\\" action=\\\"payment\\\"/>\\n\n        <item string=\\\"Transfers\\\" action=\\\"bank_transfer\\\"/>\\n\n        <item string=\\\"Statements\\\" action=\\\"statement\\\"/>\\n\n        <item string=\\\"Cheques\\\" action=\\\"cheque\\\"/>\\n</item>\\n\n    <item string=\\\"Receivable\\\" icon=\\\"fa_file_invoice_dollar\\\">\\n        \n        <item string=\\\"Customer Invoices\\\" action=\\\"cust_invoice\\\"/>\\n\n        <item string=\\\"Billing Notes\\\" action=\\\"bill_note\\\"/>\\n</item>\\n\n    <item string=\\\"Payable\\\" icon=\\\"fa_file_invoice\\\">\\n        \n        <item string=\\\"Supplier Invoices\\\" action=\\\"supp_invoice\\\"/>\\n</item>\\n\n    <item string=\\\"Expenses\\\" icon=\\\"fa_credit_card\\\" perm=\\\"hr_expense\\\">\\n        \n        <item string=\\\"Expenses\\\" action=\\\"expense\\\"/>\\n\n        <item string=\\\"Expense Claims\\\" action=\\\"expense_claim\\\"/>\\n</item>\\n\n    <item string=\\\"Reports\\\" icon=\\\"fa_chart_bar\\\">\\n        \n        <item string=\\\"All Reports\\\" action=\\\"report_page\\\"/>\\n\n        <divider/>\\n\n        <item string=\\\"Aged Receivables Details\\\" action=\\\"report_ar_details\\\"/>\\n\n        <item string=\\\"Aged Payables Details\\\" action=\\\"report_ap_details\\\"/>\\n\n        <item string=\\\"Profit &amp; Loss\\\" action=\\\"report_profit_loss\\\"/>\\n\n        <item string=\\\"Balance Sheet\\\" action=\\\"report_balance_sheet\\\"/>\\n\n        <item string=\\\"Cash Flow Statement\\\" action=\\\"report_cash_flow\\\"/>\\n\n        <item string=\\\"Trial Balance\\\" action=\\\"report_tb\\\"/>\\n\n        <item string=\\\"Journal Report\\\" action=\\\"report_journal\\\"/>\\n\n        <item string=\\\"Account Transactions\\\" action=\\\"report_account_trans\\\"/>\\n\n        <item string=\\\"General Ledger Summary\\\" action=\\\"report_gl\\\"/>\\n\n        <item string=\\\"General Ledger Details\\\" action=\\\"report_gl_details\\\"/>\\n\n        <item string=\\\"Tax Monthly Report\\\" action=\\\"report_tax_month\\\"/>\\n\n        <item string=\\\"Tax Audit Report\\\" action=\\\"report_tax_audit\\\"/>\\n\n        <item string=\\\"Invoice Analysis\\\" action=\\\"invoice_analysis\\\"/>\\n\n        <item string=\\\"Invoice Line Analysis\\\" action=\\\"invoice_line_analysis\\\"/>\\n\n        <item string=\\\"Payment Analysis\\\" action=\\\"payment_analysis\\\"/>\\n</item>\\n\n    <item string=\\\"Other\\\" icon=\\\"fa_ellipsis_h\\\">\\n        \n        <item string=\\\"Journal Entries\\\" action=\\\"journal_entry\\\"/>\\n\n        <item string=\\\"Ledger Entries\\\" action=\\\"account_entry\\\"/>\\n\n        <item string=\\\"Fixed Assets\\\" action=\\\"fixed_asset\\\"/>\\n\n        <item string=\\\"Budgets\\\" action=\\\"budget\\\"/>\\n\n        <item string=\\\"Tracking Entries\\\" action=\\\"account_track_entry\\\"/>\\n\n        <item string=\\\"Account Reconciliation\\\" action=\\\"account_reconcile\\\"/>\\n\n        <item string=\\\"Year End\\\" action=\\\"year_end\\\"/>\\n</item>\\n\n    <item string=\\\"Settings\\\" icon=\\\"fa_cog\\\">\\n        \n        <item string=\\\"Financial Settings\\\" action=\\\"fin_settings\\\"/>\\n\n        <item string=\\\"Chart of Accounts\\\" action=\\\"account\\\"/>\\n\n        <item string=\\\"Fixed Asset Types\\\" action=\\\"fixed_asset_type\\\"/>\\n\n        <item string=\\\"Journals\\\" action=\\\"journal\\\"/>\\n\n        <item string=\\\"Tax Rates\\\" action=\\\"tax_rate\\\"/>\\n\n        <item string=\\\"Currencies\\\" action=\\\"currency\\\"/>\\n\n        <item string=\\\"Tracking Categories\\\" action=\\\"account_track\\\"/>\\n\n        <item string=\\\"Tracking Distributions\\\" action=\\\"track_distrib\\\"/>\\n\n        <item string=\\\"Payment Methods\\\" action=\\\"payment_method\\\"/>\\n\n        <item string=\\\"Payment Terms\\\" action=\\\"payment_term\\\"/>\\n\n        <item string=\\\"Conversion Balances\\\" action=\\\"conv_bal\\\"/>\\n\n        <!--<item string=\\\"Tax Periods\\\" action=\\\"tax_period\\\"/>-->\\n    </item>\\n\n</menu>\\n\"}, \"cust_debit_form\": {\"module\": \"netforce_account\", \"name\": \"cust_debit_form\", \"type\": \"form\", \"model\": \"account.invoice\", \"layout\": \"\n<form model=\\\"account.invoice\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"waiting_payment\\\",\\\"paid\\\",\\\"voided\\\"]]]}' model_string=\\\"Debit Note\\\" show_company=\\\"1\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_cust_invoice_form\\\"/>\\n\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"report_cust_invoice_form2\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure you want to void this invoice?\\\" states=\\\"waiting_payment\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"waiting_payment\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"View Journal Entry\\\" method=\\\"view_journal_entry\\\" states=\\\"waiting_payment,paid\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"contact_id\\\" span=\\\"2\\\" create=\\\"1\\\" onchange=\\\"onchange_contact\\\" condition='[[\\\"customer\\\", \\\"=\\\", \\\"True\\\"]]'/>\\n\n                <field name=\\\"bill_address_id\\\" span=\\\"2\\\" condition='[[\\\"contact_id\\\",\\\"=\\\",contact_id],[\\\"contact_id\\\",\\\"!=\\\",null]]'/>\\n\n                <field name=\\\"date\\\" span=\\\"2\\\" onchange=\\\"onchange_date\\\"/>\\n\n                <field name=\\\"due_date\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"number\\\" required=\\\"1\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"currency_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"tax_type\\\" span=\\\"2\\\" onchange=\\\"update_amounts\\\"/>\\n\n                <field name=\\\"tax_no\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"related_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"orig_invoice_id\\\" span=\\\"2\\\" condition='[[\\\"contact_id\\\",\\\"=\\\",contact_id],[\\\"inv_type\\\",\\\"=\\\",\\\"invoice\\\"]]'/>\\n\n                <newline/>\\n\n                <field name=\\\"memo\\\" span=\\\"4\\\"/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\" count=\\\"10\\\" nolabel=\\\"1\\\">\\n                \n                <list onchange=\\\"update_amounts\\\">\\n                    \n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n                    <field name=\\\"description\\\"/>\\n\n                    <field name=\\\"qty\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"uom_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"unit_price\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"discount\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"account_id\\\" onchange=\\\"onchange_account\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"],[\\\"company_id\\\",\\\"=\\\",parent.company_id]]'/>\\n\n                    <field name=\\\"tax_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"amount\\\" attrs='{\\\"readonly\\\":[[\\\"unit_price\\\",\\\"!=\\\",null]]}' onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"track_id\\\"/>\\n\n                    <field name=\\\"track2_id\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n                \n                <field name=\\\"amount_subtotal\\\"/>\\n\n                <field name=\\\"amount_tax\\\"/>\\n\n                <field name=\\\"amount_total\\\"/>\\n\n                <field name=\\\"credit_notes\\\">\\n                    \n                    <fields>\\n                        \n                        <field name=\\\"credit_id\\\"/>\\n\n                        <field name=\\\"credit_type\\\"/>\\n\n                        <field name=\\\"amount\\\"/>\\n\n                    </fields>\\n\n                    <template type=\\\"hbs\\\">\\n                        {{#each data}}\\n                            \n                        <div class=\\\"form-group nf-field\\\">\\n                                \n                            <label class=\\\"control-label col-md-4\\\">\\n                                    {{#ifeq credit_type \\\"credit\\\"}}\\n                                        Less \n                                <a href=\\\"#name=view_invoice&amp;active_id={{lookup credit_id 0}}\\\">Credit Note</a>\\n                                    {{/ifeq}}\\n                                    {{#ifeq credit_type \\\"prepay\\\"}}\\n                                        Less\n                                <a href=\\\"#name=view_invoice&amp;active_id={{lookup credit_id 0}}\\\">Prepayment</a>\\n                                    {{/ifeq}}\\n                                    {{#ifeq credit_type \\\"overpay\\\"}}\\n                                        Less\n                                <a href=\\\"#name=view_invoice&amp;active_id={{lookup credit_id 0}}\\\">Overpayment</a>\\n                                    {{/ifeq}}\\n\n                            </label>\\n\n                            <div class=\\\"col-md-8\\\" style=\\\"text-align:right\\\">\\n                                    {{currency amount}}\\n                                </div>\\n\n                        </div>\\n                        {{/each}}\\n\n                    </template>\\n\n                </field>\\n\n                <field name=\\\"payments\\\">\\n                    \n                    <fields>\\n                        \n                        <field name=\\\"payment_id\\\"/>\\n\n                        <field name=\\\"amount_currency\\\"/>\\n\n                    </fields>\\n\n                    <template type=\\\"hbs\\\">\\n                        {{#each data}}\\n                            \n                        <div class=\\\"form-group nf-field\\\">\\n                                \n                            <label class=\\\"control-label col-md-4\\\">Less \n                                <a href=\\\"#name=payment&amp;mode=form&amp;active_id={{lookup payment_id 0}}\\\">Payment</a>\n                            </label>\\n\n                            <div class=\\\"col-md-8\\\" style=\\\"text-align:right\\\">\\n                                    {{currency amount_currency}}\\n                                </div>\\n\n                        </div>\\n                        {{/each}}\\n\n                    </template>\\n\n                </field>\\n\n                <field name=\\\"amount_due\\\" states=\\\"waiting_payment,paid\\\"/>\\n\n            </group>\\n\n            <field name=\\\"type\\\" invisible=\\\"1\\\"/>\\n\n            <field name=\\\"inv_type\\\" invisible=\\\"1\\\"/>\\n\n            <field name=\\\"contact_credit\\\" invisible=\\\"1\\\"/>\\n\n            <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other Info\\\">\\n            \n            <field name=\\\"sequence_id\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"cust_debit\\\"]]' onchange=\\\"onchange_sequence\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <foot states=\\\"draft,waiting_approval\\\" replace=\\\"1\\\">\\n        \n        <button string=\\\"Save\\\" split=\\\"1\\\" method=\\\"_save\\\" size=\\\"large\\\" type=\\\"primary\\\">\\n            \n            <item string=\\\"Save &amp; submit for approval\\\" method=\\\"submit_for_approval\\\"/>\\n\n        </button>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" size=\\\"large\\\" type=\\\"success\\\" perm=\\\"approve_invoice\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <template type=\\\"hbs\\\" states=\\\"waiting_payment\\\">\\n            {{#if data.contact_credit}}\\n                \n            <div style=\\\"background-color:#eee;font-size:12px;margin-bottom:10px;padding:5px 10px\\\">\\n                    {{lookup data.contact_id 1}} has {{currency data.contact_credit}} in outstanding credit.\\n                    \n                <a href=\\\"#name=credit_invoice&amp;invoice_id={{data.id}}\\\">Credit this invoice</a>\\n\n            </div>\\n            {{/if}}\\n\n        </template>\\n\n        <action name=\\\"invoice_payment\\\" states=\\\"waiting_payment\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"invoice_payment\": {\"module\": \"netforce_account\", \"name\": \"invoice_payment\", \"type\": \"form\", \"model\": \"invoice.payment\", \"layout\": \"\n<form model=\\\"invoice.payment\\\" title=\\\"Make a payment\\\" form_layout=\\\"stacked\\\">\\n    \n    <field name=\\\"invoice_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"amount\\\" span=\\\"2\\\"/>\\n\n    <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n    <field name=\\\"account_id\\\" span=\\\"2\\\"/>\\n\n    <field name=\\\"track_id\\\" span=\\\"2\\\"/>\\n\n    <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n    <button string=\\\"Add Payment\\\" method=\\\"add_payment\\\" type=\\\"success\\\" icon=\\\"ok\\\" span=\\\"2\\\"/>\\n\n</form>\\n\"}, \"conv_import1\": {\"module\": \"netforce_account\", \"name\": \"conv_import1\", \"type\": \"form\", \"model\": \"conv.bal\", \"layout\": \"\n<form model=\\\"conv.bal\\\" title=\\\"Import conversion balances\\\">\\n    \n    <field name=\\\"file\\\" required=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Import\\\" method=\\\"import_acc_file\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\"}, \"bank_list_details\": {\"module\": \"netforce_account\", \"name\": \"bank_list_details\", \"type\": \"list_details\", \"model\": \"account.account\", \"layout\": \"\n<list_details model=\\\"account.account\\\">\\n    \n    <head>\\n        \n        <field name=\\\"name\\\"/>\\n\n        <field name=\\\"bank_no\\\"/>\\n\n        <button string=\\\"Manage Account\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Account Transactions\\\" action=\\\"bank\\\" action_options='{\\\"mode\\\":\\\"page\\\",\\\"active_id\\\":id,\\\"related_tab\\\":2}'/>\\n\n            <item string=\\\"Bank Statements\\\" action=\\\"bank\\\" action_options='{\\\"mode\\\":\\\"page\\\",\\\"active_id\\\":id,\\\"related_tab\\\":1}'/>\\n\n            <divider/>\\n\n            <item string=\\\"Spend Money\\\" action=\\\"payment\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"defaults\\\":{\\\"account_id\\\":id,\\\"type\\\":\\\"out\\\"}}'/>\\n\n            <item string=\\\"Receive Money\\\" action=\\\"payment\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"defaults\\\":{\\\"account_id\\\":id,\\\"type\\\":\\\"in\\\"}}'/>\\n\n            <item string=\\\"Transfer Money\\\" action=\\\"bank_transfer\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"defaults\\\":{\\\"account_from_id\\\":id}}'/>\\n\n            <divider/>\\n\n            <item string=\\\"Reconcile Account\\\" action=\\\"bank\\\" action_options='{\\\"mode\\\":\\\"page\\\",\\\"active_id\\\":id,\\\"related_tab\\\":0}'/>\\n\n            <item string=\\\"Import a Statement\\\" action=\\\"import_statement\\\" action_options='{\\\"defaults\\\":{\\\"account_id\\\":id}}'/>\\n\n        </button>\\n\n    </head>\\n\n    <group span=\\\"2\\\" form_layout=\\\"stacked\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"balance_statement\\\" strong=\\\"1\\\"/>\\n\n        <field name=\\\"balance_cur\\\" strong=\\\"1\\\"/>\\n\n    </group>\\n\n    <field name=\\\"balance_90d\\\" span=\\\"10\\\" view=\\\"field_chart\\\" view_options='{\\\"chart_type\\\":\\\"area\\\",\\\"x_type\\\":\\\"datetime\\\",\\\"height\\\":150}' nolabel=\\\"1\\\"/> \\n\n</list_details>\\n\"}, \"payment_method_form\": {\"module\": \"netforce_account\", \"name\": \"payment_method_form\", \"type\": \"form\", \"model\": \"payment.method\", \"layout\": \"\n<form model=\\\"payment.method\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"account_id\\\"/>\\n\n    <field name=\\\"require_report\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"instructions\\\"/>\\n\n    <field name=\\\"service_charge\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"account_form\": {\"module\": \"netforce_account\", \"name\": \"account_form\", \"type\": \"form\", \"model\": \"account.account\", \"layout\": \"\n<form model=\\\"account.account\\\" show_company=\\\"1\\\">\\n    \n    <group span=\\\"6\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"type\\\"/>\\n\n        <group attrs='{\\\"invisible\\\":[[\\\"type\\\",\\\"=\\\",\\\"bank\\\"]]}' columns=\\\"1\\\">\\n            \n            <field name=\\\"code\\\"/>\\n\n            <field name=\\\"name\\\"/>\\n\n            <field name=\\\"parent_id\\\"/>\\n\n            <field name=\\\"description\\\" width=\\\"300\\\" height=\\\"80\\\"/>\\n\n            <field name=\\\"tax_id\\\"/>\\n\n            <field name=\\\"enable_payment\\\"/>\\n\n            <field name=\\\"enable_adjust\\\"/>\\n\n            <field name=\\\"currency_id\\\"/>\\n\n            <field name=\\\"require_contact\\\"/>\\n\n            <field name=\\\"require_tax_no\\\"/>\\n\n            <field name=\\\"require_track\\\"/>\\n\n            <field name=\\\"require_track2\\\"/>\\n\n            <field name=\\\"sequence_id\\\"/>\\n\n            <field name=\\\"hide_details\\\"/>\\n\n        </group>\\n\n        <group attrs='{\\\"invisible\\\":[[\\\"type\\\",\\\"!=\\\",\\\"bank\\\"]]}' columns=\\\"1\\\">\\n            \n            <field name=\\\"bank_name\\\"/>\\n\n            <field name=\\\"name\\\"/>\\n\n            <field name=\\\"code\\\"/>\\n\n            <field name=\\\"parent_id\\\"/>\\n\n            <field name=\\\"bank_no\\\"/>\\n\n            <field name=\\\"currency_id\\\"/>\\n\n            <field name=\\\"description\\\" width=\\\"300\\\" height=\\\"80\\\"/>\\n\n        </group>\\n\n        <group attrs='{\\\"invisible\\\":[[\\\"type\\\",\\\"!=\\\",\\\"fixed_asset\\\"]]}' columns=\\\"1\\\">\\n            \n            <field name=\\\"fixed_asset_type_id\\\"/>\\n\n        </group>\\n\n    </group>\\n\n    <template span=\\\"5\\\" offset=\\\"1\\\">\\n        \n        <![CDATA[\\n            <div>\\n                <h5 style={{color:\\\"#666\\\"}}>How account types affect your reports</h5>\\n<div style={{float:\\\"left\\\",width:160,backgroundColor:\\\"#f0f3fa\\\",border:\\\"1px solid #ccc\\\",padding:10}}>\\n                    <div style={{textAlign:\\\"center\\\",color:\\\"#666\\\"}}>Profit &amp; Loss</div>\\n<div style={{fontSize:11,color:\\\"#999\\\",fontWeight:\\\"bold\\\"}}>Income</div>\\n<div style={{fontSize:11,paddingLeft:10}}>Revenue</div>\\n<div style={{fontSize:11,color:\\\"#999\\\",fontWeight:\\\"bold\\\"}}><i>Less</i> Cost of Sales</div>\\n                    <div style={{fontSize:11,paddingLeft:10}}>Cost of Sales</div>\\n<div style={{fontSize:11,color:\\\"#999\\\",fontWeight:\\\"bold\\\",borderTop:\\\"1px solid #999\\\",borderBottom:\\\"1px solid #999\\\"}}>GROSS PROFIT</div>\\n<div style={{fontSize:11,color:\\\"#999\\\",fontWeight:\\\"bold\\\"}}><i>Plus Other</i> Income</div>\\n                    <div style={{fontSize:11,paddingLeft:10}}>Other Income</div>\\n<div style={{fontSize:11,color:\\\"#999\\\",fontWeight:\\\"bold\\\"}}><i>Less</i> Expenses</div>\\n                    <div style={{fontSize:11,paddingLeft:10}}>Expenses</div>\\n<div style={{fontSize:11,paddingLeft:10}}>Other Expenses</div>\\n<div style={{fontSize:11,color:\\\"#999\\\",fontWeight:\\\"bold\\\",borderTop:\\\"1px solid #999\\\",borderBottom:\\\"2px solid #999\\\"}}>NET PROFIT</div>\\n</div>\\n                <div style={{float:\\\"left\\\",width:160,backgroundColor:\\\"#f0f3fa\\\",border:\\\"1px solid #ccc\\\",padding:10,marginLeft:10}}>\\n                    <div style={{textAlign:\\\"center\\\",color:\\\"#666\\\"}}>Balance Sheet</div>\\n<div style={{fontSize:11,color:\\\"#999\\\",fontWeight:\\\"bold\\\"}}>Assets</div>\\n<div style={{fontSize:11,paddingLeft:10}}>Bank Accounts</div>\\n<div style={{fontSize:11,paddingLeft:10}}>Receivables</div>\\n<div style={{fontSize:11,paddingLeft:10}}>Current Assets</div>\\n<div style={{fontSize:11,paddingLeft:10}}>Non-current Assets</div>\\n<div style={{fontSize:11,color:\\\"#999\\\",fontWeight:\\\"bold\\\",borderTop:\\\"1px solid #999\\\",borderBottom:\\\"1px solid #999\\\"}}>TOTAL ASSETS</div>\\n<div style={{fontSize:11,color:\\\"#999\\\",fontWeight:\\\"bold\\\"}}><i>Less</i> Liabilities</div>\\n                    <div style={{fontSize:11,paddingLeft:10}}>Payables</div>\\n<div style={{fontSize:11,paddingLeft:10}}>Current Liabilities</div>\\n<div style={{fontSize:11,paddingLeft:10}}>Non-current Liabilities</div>\\n<div style={{fontSize:11,color:\\\"#999\\\",fontWeight:\\\"bold\\\",borderTop:\\\"1px solid #999\\\",borderBottom:\\\"2px solid #999\\\"}}>NET ASSETS</div>\\n<div style={{fontSize:11,color:\\\"#999\\\",fontWeight:\\\"bold\\\"}}>Equity</div>\\n<div style={{fontSize:11,paddingLeft:10}}>Equity</div>\\n<div style={{fontSize:11,color:\\\"#999\\\",fontWeight:\\\"bold\\\"}}><i>Plus</i> Net Profit</div>\\n                    <div style={{fontSize:11,color:\\\"#999\\\",fontWeight:\\\"bold\\\",borderTop:\\\"1px solid #999\\\",borderBottom:\\\"2px solid #999\\\"}}>TOTAL EQUITY</div>\\n</div>\\n            </div>\\n        ]]>\\n    \n</template>\\n\n<field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n<related>\\n        \n    <field name=\\\"comments\\\"/>\\n\n</related>\\n\n</form>\\n\"}, \"expense_form\": {\"module\": \"netforce_account\", \"name\": \"expense_form\", \"type\": \"form\", \"model\": \"expense\", \"layout\": \"\n<form model=\\\"expense\\\" show_company=\\\"1\\\">\\n    \n    <separator string=\\\"Transaction Details\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <field name=\\\"claim_id\\\" condition='[[\\\"employee_id\\\",\\\"=\\\",employee_id]]'/>\\n\n    <separator/>\\n\n    <newline/>\\n\n    <field name=\\\"merchant\\\"/>\\n\n    <field name=\\\"currency_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"image\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"account_id\\\"/>\\n\n    <field name=\\\"tax_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"currency_rate\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"invoice_id\\\"/>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n</form>\\n\"}, \"cust_prepay_form\": {\"module\": \"netforce_account\", \"name\": \"cust_prepay_form\", \"type\": \"form\", \"model\": \"account.invoice\", \"layout\": \"\n<form model=\\\"account.invoice\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"waiting_payment\\\",\\\"paid\\\",\\\"voided\\\"]]]}' model_string=\\\"Prepayment\\\" show_company=\\\"1\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Allocate Credit\\\" action=\\\"credit_alloc\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date\\\" span=\\\"2\\\" onchange=\\\"onchange_date\\\"/>\\n\n        <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"payment_id\\\" span=\\\"2\\\" string=\\\"Paid Into\\\" action=\\\"payment_edit\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"currency_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"tax_type\\\" span=\\\"2\\\" onchange=\\\"update_amounts\\\"/>\\n\n    </group>\\n\n    <field name=\\\"lines\\\" count=\\\"10\\\" nolabel=\\\"1\\\">\\n        \n        <list onchange=\\\"update_amounts\\\">\\n            \n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"qty\\\" onchange=\\\"update_amounts\\\"/>\\n\n            <field name=\\\"unit_price\\\" onchange=\\\"update_amounts\\\"/>\\n\n            <field name=\\\"account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n            <field name=\\\"tax_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n            <field name=\\\"amount\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"amount_subtotal\\\"/>\\n\n        <field name=\\\"amount_tax\\\"/>\\n\n        <field name=\\\"amount_total\\\"/>\\n\n        <field name=\\\"credit_alloc\\\">\\n            \n            <fields>\\n                \n                <field name=\\\"invoice_id\\\"/>\\n\n                <field name=\\\"amount\\\"/>\\n\n            </fields>\\n\n            <template>\\n                {{#each context.data}}\\n                    \n                <div class=\\\"form-group nf-field\\\">\\n                        \n                    <label class=\\\"control-label col-md-4\\\">Less credit to invoice \n                        <a href=\\\"#name=view_invoice&amp;active_id={{invoice_id.0.}}\\\">{{invoice_id.1.}}</a>\n                    </label>\\n\n                    <div class=\\\"col-md-8\\\" style=\\\"text-align:right\\\">\\n                            {{currency amount}}\\n                            \n                        <a href=\\\"#\\\" class=\\\"call-method\\\" data-method=\\\"delete_alloc\\\" data-context='{\\\"alloc_id\\\":{{id}} }' data-confirm=\\\"Are you sure you want to delete this credit allocation?\\\">\n                            <i class=\\\"icon-remove\\\"></i>\n                        </a>\\n\n                    </div>\\n\n                </div>\\n                {{/each}}\\n\n            </template>\\n\n        </field>\\n\n        <field name=\\\"payments\\\">\\n            \n            <fields>\\n                \n                <field name=\\\"payment_id\\\"/>\\n\n                <field name=\\\"amount\\\"/>\\n\n            </fields>\\n\n            <template>\\n                {{#each context.data}}\\n                    {{#ifeq type \\\"refund\\\"}}\\n                        \n                <div class=\\\"form-group nf-field\\\">\\n                            \n                    <label class=\\\"control-label col-md-4\\\">Less \n                        <a href=\\\"#name=payment&amp;mode=form&amp;active_id={{payment_id.0.}}\\\">Refund</a>\n                    </label>\\n\n                    <div class=\\\"col-md-8\\\" style=\\\"text-align:right\\\">\\n                                {{currency amount}}\\n                            </div>\\n\n                </div>\\n                    {{/ifeq}}\\n                {{/each}}\\n\n            </template>\\n\n        </field>\\n\n        <field name=\\\"amount_credit_remain\\\" states=\\\"waiting_payment,paid\\\"/>\\n\n    </group>\\n\n    <field name=\\\"type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"inv_type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"contact_credit\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot states=\\\"draft,waiting_approval\\\" replace=\\\"1\\\">\\n        \n        <button string=\\\"Save\\\" split=\\\"1\\\" method=\\\"_save\\\" size=\\\"large\\\" type=\\\"primary\\\">\\n            \n            <item string=\\\"Save &amp; submit for approval\\\" method=\\\"submit_for_approval\\\"/>\\n\n        </button>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" size=\\\"large\\\" type=\\\"success\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <action name=\\\"invoice_refund\\\" states=\\\"waiting_payment\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"expense_categ_list\": {\"module\": \"netforce_account\", \"name\": \"expense_categ_list\", \"type\": \"list\", \"model\": \"expense.categ\", \"layout\": \"\n<list model=\\\"expense.categ\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</list>\\n\"}, \"expense_list\": {\"module\": \"netforce_account\", \"name\": \"expense_list\", \"type\": \"list\", \"model\": \"expense\", \"layout\": \"\n<list model=\\\"expense\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"merchant\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"currency_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <field name=\\\"claim_id\\\"/>\\n\n    <field name=\\\"currency_rate\\\"/>\\n\n    <field name=\\\"invoice_id\\\"/>\\n\n</list>\\n\"}, \"fixed_asset_form\": {\"module\": \"netforce_account\", \"name\": \"fixed_asset_form\", \"type\": \"form\", \"model\": \"account.fixed.asset\", \"layout\": \"\n<form model=\\\"account.fixed.asset\\\" show_company=\\\"1\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"!=\\\",\\\"pending\\\"]]}'>\\n    \n    <top>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"To Pending\\\" method=\\\"to_pending\\\"/>\\n\n            <item string=\\\"Sell\\\" states=\\\"registered\\\" action=\\\"fixed_asset_sell\\\" action_options='{\\\"defaults\\\":{\\\"asset_id\\\":id}}'/>\\n\n            <item string=\\\"Dispose\\\" states=\\\"registered\\\" action=\\\"fixed_asset_dispose\\\" action_options='{\\\"defaults\\\":{\\\"asset_id\\\":id}}'/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <separator string=\\\"Asset Details\\\"/>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"name\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"type_id\\\" span=\\\"2\\\" onchange=\\\"onchange_type\\\"/>\\n\n        <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"fixed_asset_account_id\\\" span=\\\"2\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n        <field name=\\\"track_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"date_purchase\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"price_purchase\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"invoice_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"description\\\" width=\\\"800\\\"/>\\n\n    </group>\\n\n    <separator string=\\\"Depreciation\\\"/>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"dep_rate\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"dep_method\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"salvage_value\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"accum_dep_account_id\\\" span=\\\"2\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n        <field name=\\\"dep_exp_account_id\\\" span=\\\"2\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n    </group>\\n\n    <separator string=\\\"Summary\\\"/>\\n\n    <group form_layout='stacked'>\\n        \n        <field name=\\\"book_val\\\" span='2'/>\\n\n        <field name=\\\"last_dep\\\" span='2'/>\\n\n    </group>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Register\\\" type=\\\"success\\\" method=\\\"do_register\\\" states=\\\"pending\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"periods\\\">\\n            \n            <list>\\n                \n                <field name=\\\"date_from\\\"/>\\n\n                <field name=\\\"date_to\\\"/>\\n\n                <field name=\\\"amount\\\"/>\\n\n                <field name=\\\"move_id\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"date_from\\\"/>\\n\n                <field name=\\\"date_to\\\"/>\\n\n                <field name=\\\"amount\\\"/>\\n\n                <field name=\\\"move_id\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"bank_widget\": {\"module\": \"netforce_account\", \"name\": \"bank_widget\", \"type\": \"list_details\", \"model\": \"account.account\", \"layout\": \"\n<list_details model=\\\"account.account\\\" action=\\\"bank\\\" action_options='{\\\"mode\\\":\\\"page\\\",\\\"active_id\\\":id}'>\\n    \n    <head>\\n        \n        <field name=\\\"name\\\"/>\\n\n        <field name=\\\"bank_no\\\"/>\\n\n        <button string=\\\"Manage Account\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Account Transactions\\\" action=\\\"bank\\\" action_options='{\\\"mode\\\":\\\"page\\\",\\\"active_id\\\":id,\\\"related_tab\\\":2}'/>\\n\n            <item string=\\\"Bank Statements\\\" action=\\\"bank\\\" action_options='{\\\"mode\\\":\\\"page\\\",\\\"active_id\\\":id,\\\"related_tab\\\":1}'/>\\n\n            <divider/>\\n\n            <item string=\\\"Spend Money\\\" action=\\\"payment\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"defaults\\\":{\\\"account_id\\\":id,\\\"type\\\":\\\"out\\\"}}'/>\\n\n            <item string=\\\"Receive Money\\\" action=\\\"payment\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"defaults\\\":{\\\"account_id\\\":id,\\\"type\\\":\\\"in\\\"}}'/>\\n\n            <item string=\\\"Transfer Money\\\" action=\\\"bank_transfer\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"defaults\\\":{\\\"account_from_id\\\":id}}'/>\\n\n            <divider/>\\n\n            <item string=\\\"Reconcile Account\\\" action=\\\"bank\\\" action_options='{\\\"mode\\\":\\\"page\\\",\\\"active_id\\\":id,\\\"related_tab\\\":0}'/>\\n\n            <item string=\\\"Import a Statement\\\" action=\\\"import_statement\\\" action_options='{\\\"defaults\\\":{\\\"account_id\\\":id}}'/>\\n\n        </button>\\n\n    </head>\\n\n    <group span=\\\"4\\\" form_layout=\\\"stacked\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"balance_statement\\\" strong=\\\"1\\\"/>\\n\n        <field name=\\\"balance_cur\\\" strong=\\\"1\\\"/>\\n\n    </group>\\n\n    <field name=\\\"balance_90d\\\" span=\\\"8\\\" view=\\\"field_chart\\\" view_options='{\\\"chart_type\\\":\\\"area\\\",\\\"x_type\\\":\\\"datetime\\\",\\\"height\\\":150}' nolabel=\\\"1\\\"/> \\n\n</list_details>\\n\"}, \"conv_bal2\": {\"module\": \"netforce_account\", \"name\": \"conv_bal2\", \"type\": \"form\", \"model\": \"conv.bal\", \"layout\": \"\n<form model=\\\"conv.bal\\\" title=\\\"Enter Unpaid Sales Invoices (step 2/3)\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Import from file\\\" method=\\\"import_sale\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"date\\\" readonly=\\\"1\\\"/>\\n\n    <separator string=\\\"Unpaid Sales Invoices\\\"/>\\n\n    <field name=\\\"sale_invoices\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"number\\\"/>\\n\n            <field name=\\\"ref\\\"/>\\n\n            <field name=\\\"contact_id\\\"/>\\n\n            <field name=\\\"date\\\"/>\\n\n            <field name=\\\"due_date\\\"/>\\n\n            <field name=\\\"amount_due\\\"/>\\n\n            <field name=\\\"account_id\\\"/>\\n\n            <field name=\\\"amount_cur\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <group offset=\\\"8\\\" span=\\\"2\\\">\\n        \n        <field name=\\\"total_sale\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"total_ar\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Back\\\" method=\\\"back2\\\" icon=\\\"arrow-left\\\"/>\\n\n        <button string=\\\"Continue\\\" method=\\\"next2\\\" type=\\\"primary\\\" icon=\\\"arrow-right\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"cust_credit_form\": {\"module\": \"netforce_account\", \"name\": \"cust_credit_form\", \"type\": \"form\", \"model\": \"account.invoice\", \"layout\": \"\n<form model=\\\"account.invoice\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"waiting_payment\\\",\\\"paid\\\",\\\"voided\\\"]]]}' model_string=\\\"Credit Note\\\" show_company=\\\"1\\\" show_save=\\\"1\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_cust_credit_form\\\"/>\\n\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"report_cust_credit_form2\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure you want to void this invoice?\\\" states=\\\"draft,waiting_payment\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"waiting_payment\\\"/>\\n\n            <item string=\\\"Allocate Credit\\\" action=\\\"credit_alloc\\\" action_options='{\\\"context\\\":{\\\"credit_id\\\":id}}' states=\\\"waiting_payment\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"View Journal Entry\\\" method=\\\"view_journal_entry\\\" states=\\\"waiting_payment,paid\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"contact_id\\\" span=\\\"2\\\" create=\\\"1\\\" onchange=\\\"onchange_contact\\\" condition='[[\\\"customer\\\", \\\"=\\\", \\\"True\\\"]]'/>\\n\n                <field name=\\\"bill_address_id\\\" span=\\\"2\\\" condition='[[\\\"contact_id\\\",\\\"=\\\",contact_id],[\\\"contact_id\\\",\\\"!=\\\",null]]'/>\\n\n                <field name=\\\"date\\\" span=\\\"2\\\" onchange=\\\"onchange_date\\\"/>\\n\n                <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"related_id\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"currency_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"tax_type\\\" span=\\\"2\\\" onchange=\\\"update_amounts\\\"/>\\n\n                <field name=\\\"memo\\\" span=\\\"2\\\" readonly=\\\"0\\\"/>\\n\n                <field name=\\\"tax_no\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"tax_branch_no\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"orig_invoice_id\\\" span=\\\"2\\\" condition='[[\\\"contact_id\\\",\\\"=\\\",contact_id],[\\\"inv_type\\\",\\\"=\\\",\\\"invoice\\\"]]'/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\" count=\\\"10\\\" nolabel=\\\"1\\\">\\n                \n                <list onchange=\\\"update_amounts\\\">\\n                    \n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n                    <field name=\\\"description\\\"/>\\n\n                    <field name=\\\"qty\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"uom_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"unit_price\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"discount\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"discount_amount\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n                    <field name=\\\"tax_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"amount\\\"/>\\n\n                    <field name=\\\"track_id\\\"/>\\n\n                    <field name=\\\"track2_id\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n                \n                <field name=\\\"amount_subtotal\\\"/>\\n\n                <field name=\\\"amount_tax\\\"/>\\n\n                <field name=\\\"amount_total\\\"/>\\n\n                <field name=\\\"payment_entries\\\" nolabel=\\\"1\\\">\\n                    \n                    <template type=\\\"hbs\\\">\\n                        {{#each data}}\\n                            \n                        <div class=\\\"form-group nf-field\\\">\\n                                \n                            <label class=\\\"control-label nf-field-label col-md-4\\\">\\n                                    Less \n                                <a href=\\\"/action?name=journal_entry&amp;mode=form&amp;active_id={{lookup move_id 0}}\\\">{{lookup move_id 1}}</a>\\n\n                            </label>\\n\n                            <div class=\\\"col-md-8\\\" style=\\\"text-align:right\\\">\\n                                    {{currency debit}}\\n                                </div>\\n\n                        </div>\\n                        {{/each}}\\n\n                    </template>\\n\n                    <fields>\\n                        \n                        <field name=\\\"move_id\\\"/>\\n\n                        <field name=\\\"credit\\\"/>\\n\n                        <field name=\\\"amount_cur\\\"/>\\n\n                    </fields>\\n\n                </field>\\n\n                <field name=\\\"amount_credit_remain\\\" states=\\\"waiting_payment,paid\\\"/>\\n\n            </group>\\n\n        </tab>\\n\n        <tab string=\\\"Other Info\\\">\\n            \n            <field name=\\\"journal_id\\\" onchange=\\\"onchange_journal\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"sequence_id\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"cust_credit\\\"]]' onchange=\\\"onchange_sequence\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"currency_rate\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"orig_invoice_amount_diff\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <field name=\\\"type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"inv_type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"contact_credit\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot states=\\\"draft,waiting_approval\\\" replace=\\\"1\\\">\\n        \n        <button string=\\\"Save\\\" split=\\\"1\\\" method=\\\"_save\\\" size=\\\"large\\\" type=\\\"primary\\\">\\n            \n            <item string=\\\"Save &amp; submit for approval\\\" method=\\\"submit_for_approval\\\" states=\\\"draft\\\"/>\\n\n        </button>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" size=\\\"large\\\" type=\\\"success\\\" states=\\\"draft,waiting_approval\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <action name=\\\"invoice_refund\\\" states=\\\"waiting_payment\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"account_track_entry_form\": {\"module\": \"netforce_account\", \"name\": \"account_track_entry_form\", \"type\": \"form\", \"model\": \"account.track.entry\", \"layout\": \"\n<form model=\\\"account.track.entry\\\">\\n    \n    <field name=\\\"track_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"unit_price\\\" onchange=\\\"update_amount\\\"/>\\n\n    <field name=\\\"qty\\\" onchange=\\\"update_amount\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"move_id\\\"/>\\n\n    <field name=\\\"invoice_id\\\"/>\\n\n</form>\\n\"}, \"auto_reconcile\": {\"module\": \"netforce_account\", \"name\": \"auto_reconcile\", \"type\": \"form\", \"model\": \"auto.reconcile\", \"layout\": \"\n<form model=\\\"auto.reconcile\\\" title=\\\"Automatic Reconcilation Wizard\\\">\\n    \n    <field name=\\\"account_id\\\" required=\\\"1\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"to_date\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Reconcile\\\" type=\\\"primary\\\" method=\\\"do_reconcile\\\" icon=\\\"arrow-right\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"conv_bal3\": {\"module\": \"netforce_account\", \"name\": \"conv_bal3\", \"type\": \"form\", \"model\": \"conv.bal\", \"layout\": \"\n<form model=\\\"conv.bal\\\" title=\\\"Enter Unpaid Purchase Invoices (step 3/3)\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Import from file\\\" method=\\\"import_purch\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"date\\\" readonly=\\\"1\\\"/>\\n\n    <separator string=\\\"Unpaid Purchase Invoices\\\"/>\\n\n    <field name=\\\"purch_invoices\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"number\\\"/>\\n\n            <field name=\\\"ref\\\"/>\\n\n            <field name=\\\"contact_id\\\"/>\\n\n            <field name=\\\"date\\\"/>\\n\n            <field name=\\\"due_date\\\"/>\\n\n            <field name=\\\"amount_due\\\"/>\\n\n            <field name=\\\"account_id\\\"/>\\n\n            <field name=\\\"amount_cur\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <group offset=\\\"8\\\" span=\\\"2\\\">\\n        \n        <field name=\\\"total_purch\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"total_ap\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Back\\\" method=\\\"back3\\\" icon=\\\"arrow-left\\\"/>\\n\n        <button string=\\\"Confirm\\\" method=\\\"next3\\\" type=\\\"success\\\" icon=\\\"ok\\\" show_progress=\\\"1\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"renum_inv\": {\"module\": \"netforce_account\", \"name\": \"renum_inv\", \"type\": \"form\", \"model\": \"renum.inv\", \"layout\": \"\n<form model=\\\"renum.inv\\\">\\n    \n    <separator string=\\\"Conditions\\\"/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"prefix\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"num_from\\\"/>\\n\n    <field name=\\\"num_to\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"pay_methods\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"min_amount\\\"/>\\n\n    <separator string=\\\"Renumbering\\\"/>\\n\n    <field name=\\\"prefix_new\\\"/>\\n\n    <field name=\\\"padding\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"start_num\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Renumber\\\" type=\\\"primary\\\" method=\\\"renum_inv\\\" show_progress=\\\"1\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"supp_prepay_form\": {\"module\": \"netforce_account\", \"name\": \"supp_prepay_form\", \"type\": \"form\", \"model\": \"account.invoice\", \"layout\": \"\n<form model=\\\"account.invoice\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"waiting_payment\\\",\\\"paid\\\",\\\"voided\\\"]]]}' model_string=\\\"Prepayment\\\" show_company=\\\"1\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Allocate Credit\\\" action=\\\"credit_alloc\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date\\\" span=\\\"2\\\" onchange=\\\"onchange_date\\\"/>\\n\n        <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"payment_id\\\" span=\\\"2\\\" string=\\\"Paid Into\\\" action=\\\"payment_edit\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"currency_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"tax_type\\\" span=\\\"2\\\" onchange=\\\"update_amounts\\\"/>\\n\n    </group>\\n\n    <field name=\\\"lines\\\" count=\\\"10\\\" nolabel=\\\"1\\\">\\n        \n        <list onchange=\\\"update_amounts\\\">\\n            \n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"qty\\\" onchange=\\\"update_amounts\\\"/>\\n\n            <field name=\\\"unit_price\\\" onchange=\\\"update_amounts\\\"/>\\n\n            <field name=\\\"account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n            <field name=\\\"tax_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n            <field name=\\\"amount\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <group offset=\\\"8\\\" span=\\\"4\\\">\\n        \n        <field name=\\\"amount_subtotal\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"amount_tax\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"amount_total\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"credit_alloc\\\">\\n            \n            <fields>\\n                \n                <field name=\\\"invoice_id\\\"/>\\n\n                <field name=\\\"amount\\\"/>\\n\n            </fields>\\n\n            <template>\\n                {{#each context.data}}\\n                    \n                <div class=\\\"form-group nf-field\\\">\\n                        \n                    <label class=\\\"control-label col-md-4\\\">Less credit to invoice \n                        <a href=\\\"#name=view_invoice&amp;active_id={{invoice_id.0.}}\\\">{{invoice_id.1.}}</a>\n                    </label>\\n\n                    <div class=\\\"col-md-8\\\" style=\\\"text-align:right\\\">\\n                            {{currency amount}}\\n                            \n                        <a href=\\\"#\\\" class=\\\"call-method\\\" data-method=\\\"delete_alloc\\\" data-context='{\\\"alloc_id\\\":{{id}} }' data-confirm=\\\"Are you sure you want to delete this credit allocation?\\\">\n                            <i class=\\\"icon-remove\\\"></i>\n                        </a>\\n\n                    </div>\\n\n                </div>\\n                {{/each}}\\n\n            </template>\\n\n        </field>\\n\n        <field name=\\\"payments\\\">\\n            \n            <fields>\\n                \n                <field name=\\\"payment_id\\\"/>\\n\n                <field name=\\\"amount\\\"/>\\n\n            </fields>\\n\n            <template>\\n                {{#each context.data}}\\n                    {{#ifeq type \\\"refund\\\"}}\\n                        \n                <div class=\\\"form-group nf-field\\\">\\n                            \n                    <label class=\\\"control-label col-md-4\\\">Less \n                        <a href=\\\"#name=payment&amp;mode=form&amp;active_id={{payment_id.0.}}\\\">Refund</a>\n                    </label>\\n\n                    <div class=\\\"col-md-8\\\" style=\\\"text-align:right\\\">\\n                                {{currency amount}}\\n                            </div>\\n\n                </div>\\n                    {{/ifeq}}\\n                {{/each}}\\n\n            </template>\\n\n        </field>\\n\n        <field name=\\\"amount_credit_remain\\\" span=\\\"4\\\" states=\\\"waiting_payment,paid\\\"/>\\n\n    </group>\\n\n    <field name=\\\"type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"inv_type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"contact_credit\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot states=\\\"draft,waiting_approval\\\" replace=\\\"1\\\">\\n        \n        <button string=\\\"Save\\\" split=\\\"1\\\" method=\\\"_save\\\" size=\\\"large\\\" type=\\\"primary\\\">\\n            \n            <item string=\\\"Save &amp; submit for approval\\\" method=\\\"submit_for_approval\\\"/>\\n\n        </button>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" size=\\\"large\\\" type=\\\"success\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <action name=\\\"invoice_refund\\\" invoice_id=\\\"context.data.id\\\" states=\\\"waiting_payment\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"cust_overpay_form\": {\"module\": \"netforce_account\", \"name\": \"cust_overpay_form\", \"type\": \"form\", \"model\": \"account.invoice\", \"layout\": \"\n<form model=\\\"account.invoice\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"waiting_payment\\\",\\\"paid\\\",\\\"voided\\\"]]]}' model_string=\\\"Overpayment\\\" show_company=\\\"1\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Allocate Credit\\\" action=\\\"credit_alloc\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date\\\" span=\\\"2\\\" onchange=\\\"onchange_date\\\"/>\\n\n        <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"payment_id\\\" span=\\\"2\\\" string=\\\"Paid Into\\\" action=\\\"payment_edit\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"currency_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n    <field name=\\\"lines\\\" count=\\\"10\\\" nolabel=\\\"1\\\">\\n        \n        <list onchange=\\\"update_amounts\\\">\\n            \n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"qty\\\" onchange=\\\"update_amounts\\\"/>\\n\n            <field name=\\\"unit_price\\\" onchange=\\\"update_amounts\\\"/>\\n\n            <field name=\\\"account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n            <field name=\\\"tax_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n            <field name=\\\"amount\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"amount_subtotal\\\"/>\\n\n        <field name=\\\"amount_tax\\\"/>\\n\n        <field name=\\\"amount_total\\\"/>\\n\n        <field name=\\\"credit_alloc\\\">\\n            \n            <fields>\\n                \n                <field name=\\\"invoice_id\\\"/>\\n\n                <field name=\\\"amount\\\"/>\\n\n            </fields>\\n\n            <template>\\n                {{#each context.data}}\\n                    \n                <div class=\\\"form-group nf-field\\\">\\n                        \n                    <label class=\\\"control-label col-md-4\\\">Less credit to invoice \n                        <a href=\\\"#name=view_invoice&amp;active_id={{invoice_id.0.}}\\\">{{invoice_id.1.}}</a>\n                    </label>\\n\n                    <div class=\\\"col-md-8\\\" style=\\\"text-align:right\\\">\\n                            {{currency amount}}\\n                            \n                        <a href=\\\"#\\\" class=\\\"call-method\\\" data-method=\\\"delete_alloc\\\" data-context='{\\\"alloc_id\\\":{{id}} }' data-confirm=\\\"Are you sure you want to delete this credit allocation?\\\">\n                            <i class=\\\"icon-remove\\\"></i>\n                        </a>\\n\n                    </div>\\n\n                </div>\\n                {{/each}}\\n\n            </template>\\n\n        </field>\\n\n        <field name=\\\"payments\\\">\\n            \n            <fields>\\n                \n                <field name=\\\"payment_id\\\"/>\\n\n                <field name=\\\"amount\\\"/>\\n\n            </fields>\\n\n            <template>\\n                {{#each context.data}}\\n                    \n                <div class=\\\"form-group nf-field\\\">\\n                        \n                    <label class=\\\"control-label col-md-4\\\">Less \n                        <a href=\\\"#name=payment&amp;mode=form&amp;active_id={{payment_id.0.}}\\\">Refund</a>\n                    </label>\\n\n                    <div class=\\\"col-md-8\\\" style=\\\"text-align:right\\\">\\n                            {{currency amount}}\\n                        </div>\\n\n                </div>\\n                {{/each}}\\n\n            </template>\\n\n        </field>\\n\n        <field name=\\\"amount_credit_remain\\\" states=\\\"waiting_payment,paid\\\"/>\\n\n    </group>\\n\n    <field name=\\\"type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"inv_type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"contact_credit\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot states=\\\"draft,waiting_approval\\\" replace=\\\"1\\\">\\n        \n        <button string=\\\"Save\\\" split=\\\"1\\\" method=\\\"_save\\\" size=\\\"large\\\" type=\\\"primary\\\">\\n            \n            <item string=\\\"Save &amp; submit for approval\\\" method=\\\"submit_for_approval\\\"/>\\n\n        </button>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" size=\\\"large\\\" type=\\\"success\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <action name=\\\"invoice_refund\\\" states=\\\"waiting_payment\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"cust_invoice_form\": {\"module\": \"netforce_account\", \"name\": \"cust_invoice_form\", \"type\": \"form\", \"model\": \"account.invoice\", \"layout\": \"\n<form model=\\\"account.invoice\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"waiting_payment\\\",\\\"paid\\\",\\\"voided\\\"]]]}' show_company=\\\"1\\\" show_save=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"New\\\" icon=\\\"plus\\\" action=\\\"cust_invoice\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"form_layout\\\":\\\"cust_invoice_form\\\",\\\"context\\\":{\\\"defaults\\\":{\\\"type\\\":\\\"out\\\",\\\"inv_type\\\":\\\"invoice\\\"}}}'/>\\n\n        <!--<button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_cust_invoice_form\\\"/>\\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"report_cust_invoice_form2\\\" action_options='{\\\"active_id\\\":id}'/>-->\\n        \n        <!--button string=\\\"Approve\\\" method=\\\"approve\\\" size=\\\"large\\\" type=\\\"success\\\" perm=\\\"approve_invoice\\\" states=\\\"draft,waiting_approval\\\"/>-->\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_cust_invoice_form3\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <!--button string=\\\"Send\\\" icon=\\\"envelope\\\" action=\\\"send_cust_invoice2\\\" action_options='{\\\"active_id\\\":id}'/>-->\\n        \n        <!--button string=\\\"Send (old)\\\" icon=\\\"envelope\\\" action=\\\"send_cust_invoice\\\"/>-->\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"Copy To Credit Note\\\" method=\\\"copy_to_credit_note\\\" states=\\\"paid,waiting_payment\\\"/>\\n\n            <item string=\\\"Copy To Debit Note\\\" method=\\\"copy_to_debit_note\\\" states=\\\"paid,waiting_payment\\\"/>\\n\n            <item string=\\\"Copy To Customer Supplier Invoice\\\" method=\\\"copy_to_cust_supp_invoice\\\"/>\\n\n            <item string=\\\"Copy To Goods Issue\\\" method=\\\"copy_to_pick_out\\\"/>\\n\n            <item string=\\\"Copy To Sales Order\\\" method=\\\"copy_to_sale\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure you want to void this invoice?\\\" states=\\\"draft,waiting_payment\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"waiting_payment,voided,paid\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Online Payment\\\" method=\\\"pay_online\\\" states=\\\"waiting_payment\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"View Journal Entry\\\" method=\\\"view_journal_entry\\\" states=\\\"waiting_payment,paid\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Fix Conversion Invoice Balance\\\" method=\\\"fix_conv_invoice\\\"/>\\n\n        </button>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" size=\\\"large\\\" type=\\\"success\\\" perm=\\\"approve_invoice\\\" states=\\\"draft,waiting_approval\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"contact_id\\\" span=\\\"2\\\" create=\\\"1\\\" onchange=\\\"onchange_contact\\\" condition='[[\\\"customer\\\", \\\"=\\\", \\\"True\\\"]]'/>\\n\n                <field name=\\\"bill_address_id\\\" span=\\\"2\\\" condition='[[\\\"contact_id\\\",\\\"=\\\",contact_id],[\\\"contact_id\\\",\\\"!=\\\",null]]'/>\\n\n                <field name=\\\"date\\\" span=\\\"2\\\" onchange=\\\"onchange_date\\\"/>\\n\n                <field name=\\\"due_date\\\" span=\\\"2\\\" show_required=\\\"1\\\"/>\\n\n                <field name=\\\"number\\\" required=\\\"1\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"pay_term_id\\\" onchange=\\\"onchange_pay_term\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"currency_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"tax_type\\\" span=\\\"2\\\" onchange=\\\"update_amounts\\\"/>\\n\n                <field name=\\\"related_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"memo\\\" span=\\\"4\\\"/>\\n\n                <field name=\\\"ship_term_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"ship_port_id\\\" span=\\\"2\\\"/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\" count=\\\"10\\\" nolabel=\\\"1\\\" reorder_field=\\\"sequence_no\\\">\\n                \n                <list onchange=\\\"update_amounts\\\">\\n                    \n                    <field name=\\\"sequence_no\\\"/>\\n\n                    <field name=\\\"product_id\\\" condition='[[\\\"can_sell\\\",\\\"=\\\",\\\"True\\\"]]' onchange=\\\"onchange_product\\\"/>\\n\n                    <field name=\\\"description\\\"/>\\n\n                    <field name=\\\"qty\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"uom_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"qty2\\\"/>\\n\n                    <field name=\\\"uom2_id\\\"/>\\n\n                    <field name=\\\"unit_price\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"discount\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"discount_amount\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <!--<field name=\\\"account_id\\\" onchange=\\\"onchange_account\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"],[\\\"company_id\\\",\\\"=\\\",parent.company_id]]'/>-->\\n                    \n                    <field name=\\\"account_id\\\" onchange=\\\"onchange_account\\\" show_required=\\\"1\\\"/>\\n\n                    <field name=\\\"tax_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"amount\\\" attrs='{\\\"readonly\\\":[[\\\"unit_price\\\",\\\"!=\\\",null]]}' onchange=\\\"onchange_amount\\\"/>\\n\n                    <field name=\\\"net_weight\\\"/>\\n\n                    <field name=\\\"packaging_id\\\" onchange=\\\"onchange_packaging\\\"/>\\n\n                    <field name=\\\"gross_weight\\\"/>\\n\n                    <field name=\\\"related_id\\\"/>\\n\n                    <field name=\\\"track_id\\\"/>\\n\n                    <field name=\\\"track2_id\\\"/>\\n\n                    <field name=\\\"track_distrib_id\\\" new_action=\\\"new_track_distrib\\\"/>\\n\n                    <field name=\\\"notes\\\"/>\\n\n                    <field name=\\\"amount_tax\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <group span=\\\"8\\\">\\n                 \n                <field name=\\\"remarks\\\" readonly=\\\"0\\\"/>\\n\n            </group>\\n\n            <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n                \n                <field name=\\\"amount_subtotal\\\"/>\\n\n                <field name=\\\"amount_tax\\\"/>\\n\n                <field name=\\\"amount_rounding\\\" attrs='{\\\"invisible\\\":[[\\\"amount_rounding\\\",\\\"=\\\",0]]}'/>\\n\n                <field name=\\\"amount_total\\\"/>\\n\n                <field name=\\\"payment_entries\\\" nolabel=\\\"1\\\">\\n                    \n                    <template type=\\\"hbs\\\">\\n                        {{#each data}}\\n                            \n                        <div class=\\\"form-group nf-field\\\">\\n                                \n                            <label class=\\\"control-label nf-field-label col-md-4\\\">\\n                                    Less \n                                <a href=\\\"/action?name=view_journal&amp;active_id={{lookup move_id 0}}\\\">{{lookup move_id 1}}</a>\\n\n                            </label>\\n\n                            <div class=\\\"col-md-8\\\" style=\\\"text-align:right\\\">\\n                                    {{currency credit}}\\n                                </div>\\n\n                        </div>\\n                        {{/each}}\\n\n                    </template>\\n\n                    <fields>\\n                        \n                        <field name=\\\"move_id\\\"/>\\n\n                        <field name=\\\"credit\\\"/>\\n\n                        <field name=\\\"amount_cur\\\"/>\\n\n                    </fields>\\n\n                </field>\\n\n                <field name=\\\"amount_due\\\" states=\\\"waiting_payment,paid\\\"/>\\n\n                <field name=\\\"amount_wht\\\"/>\\n\n                <field name=\\\"amount_due_net\\\"/>\\n\n            </group>\\n\n            <field name=\\\"type\\\" invisible=\\\"1\\\"/>\\n\n            <field name=\\\"inv_type\\\" invisible=\\\"1\\\"/>\\n\n            <field name=\\\"contact_credit\\\" invisible=\\\"1\\\"/>\\n\n            <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Taxes\\\">\\n            \n            <field name=\\\"taxes\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"tax_comp_id\\\"/>\\n\n                    <field name=\\\"base_amount\\\"/>\\n\n                    <field name=\\\"tax_amount\\\"/>\\n\n                    <field name=\\\"tax_no\\\"/>\\n\n                    <field name=\\\"tax_date\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <button string=\\\"Calculate Taxes\\\" method=\\\"calc_taxes\\\" icon=\\\"pencil\\\"/>\\n\n            <separator string=\\\"Tax Filing\\\"/>\\n\n            <field name=\\\"tax_file_state\\\" readonly=\\\"0\\\"/>\\n\n            <field name=\\\"tax_file_date\\\" readonly=\\\"0\\\"/>\\n\n            <field name=\\\"tax_no\\\"/>\\n\n            <field name=\\\"tax_branch_no\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other Info\\\">\\n            \n            <field name=\\\"company_id\\\"/>\\n\n            <newline/>\\n\n            <separator string=\\\"Transaction Information\\\"/>\\n\n            <field name=\\\"journal_id\\\" onchange=\\\"onchange_journal\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"sequence_id\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"cust_invoice\\\"]]' onchange=\\\"onchange_sequence\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"approve_user_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"create_time\\\"/>\\n\n            <newline/>\\n\n            <separator string=\\\"Payment Information\\\"/>\\n\n            <field name=\\\"account_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"pay_method_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"currency_rate\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"transaction_no\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"bill_note_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"user_id\\\"/>\\n\n            <newline/>\\n\n            <separator string=\\\"Sales Information\\\"/>\\n\n            <field name=\\\"seller_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"sale_categ_id\\\"/>\\n\n            <newline/>\\n\n            <separator string=\\\"Shipping and Delivery Info\\\"/>\\n\n            <field name=\\\"ship_track_no\\\" readonly=\\\"0\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"delivery_term_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"packaging_id\\\"/>\\n\n            <newline/>\\n\n            <separator/>\\n\n            <!--field name=\\\"remarks\\\" readonly=\\\"0\\\"/>-->\\n            \n            <newline/>\\n\n            <field name=\\\"print_form_no\\\" readonly=\\\"0\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"template_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"brand_id\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <foot states=\\\"draft,waiting_approval\\\" replace=\\\"1\\\">\\n        \n        <button string=\\\"Save\\\" split=\\\"1\\\" method=\\\"_save\\\" size=\\\"large\\\" type=\\\"primary\\\">\\n            \n            <item string=\\\"Save &amp; submit for approval\\\" method=\\\"submit_for_approval\\\" states=\\\"draft\\\"/>\\n\n        </button>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" size=\\\"large\\\" type=\\\"success\\\" perm=\\\"approve_invoice\\\" states=\\\"draft,waiting_approval\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <template states=\\\"waiting_payment\\\" type=\\\"hbs\\\">\\n            {{#if data.contact_credit}}\\n                \n            <div style=\\\"background-color:#eee;font-size:12px;margin-bottom:10px;padding:5px 10px\\\">\\n                    {{lookup contact_id 1}} has {{currency data.contact_credit}} {{lookup data.currency_id 1}} in outstanding credit.\\n                    \n                <a href='/action?name=credit_invoice&amp;context={\\\"invoice_id\\\": {{data.id}} }'>Credit this invoice</a>\\n\n            </div>\\n            {{/if}}\\n\n        </template>\\n\n        <action name=\\\"invoice_payment\\\" states=\\\"waiting_payment\\\"/>\\n\n        <field name=\\\"documents\\\" show_inline=\\\"1\\\"/>\\n\n        <field name=\\\"time_entries\\\"/>\\n\n        <field name=\\\"pickings\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"tax_period_form\": {\"module\": \"netforce_account\", \"name\": \"tax_period_form\", \"type\": \"form\", \"model\": \"tax.period\", \"layout\": \"\n<form model=\\\"tax.period\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n</form>\\n\"}, \"cheque_list\": {\"module\": \"netforce_account\", \"name\": \"cheque_list\", \"type\": \"list\", \"model\": \"account.cheque\", \"layout\": \"\n<list model=\\\"account.cheque\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"bank_id\\\"/>\\n\n    <field name=\\\"branch\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"image\\\"/>\\n\n</list>\\n\"}, \"account_list\": {\"module\": \"netforce_account\", \"name\": \"account_list\", \"type\": \"list\", \"model\": \"account.account\", \"layout\": \"\n<list model=\\\"account.account\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"tax_id\\\"/>\\n\n    <field name=\\\"balance\\\"/>\\n\n    <field name=\\\"company_currency_id\\\"/>\\n\n    <field name=\\\"balance_cur\\\"/>\\n\n    <field name=\\\"currency_id\\\"/>\\n\n</list>\\n\"}, \"cust_repeat_form\": {\"module\": \"netforce_account\", \"name\": \"cust_repeat_form\", \"type\": \"form\", \"model\": \"account.invoice\", \"layout\": \"\n<form model=\\\"account.invoice\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"waiting_payment\\\",\\\"paid\\\",\\\"voided\\\"]]]}' show_company=\\\"1\\\" show_save=\\\"1\\\" model_string=\\\"Repeating Invoice\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_cust_invoice_form\\\"/>\\n\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"report_cust_invoice_form2\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Create Next Invoice\\\" method=\\\"create_next_invoice\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"interval_num\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"interval_unit\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"next_date\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"next_due_date\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"contact_id\\\" span=\\\"2\\\" create=\\\"1\\\" onchange=\\\"onchange_contact\\\" condition='[[\\\"customer\\\", \\\"=\\\", \\\"True\\\"]]'/>\\n\n                <field name=\\\"bill_address_id\\\" span=\\\"2\\\" condition='[[\\\"contact_id\\\",\\\"=\\\",contact_id],[\\\"contact_id\\\",\\\"!=\\\",null]]'/>\\n\n                <field name=\\\"date\\\" span=\\\"2\\\" onchange=\\\"onchange_date\\\"/>\\n\n                <field name=\\\"due_date\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"number\\\" required=\\\"1\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"pay_term_id\\\" onchange=\\\"onchange_pay_term\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"currency_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"tax_type\\\" span=\\\"2\\\" onchange=\\\"update_amounts\\\"/>\\n\n                <field name=\\\"tax_no\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"tax_branch_no\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"related_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"memo\\\" span=\\\"4\\\"/>\\n\n                <field name=\\\"ship_term_id\\\" span=\\\"2\\\"/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\" count=\\\"10\\\" nolabel=\\\"1\\\">\\n                \n                <list onchange=\\\"update_amounts\\\">\\n                    \n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n                    <field name=\\\"description\\\"/>\\n\n                    <field name=\\\"qty\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"uom_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"unit_price\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"discount\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"discount_amount\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <!--<field name=\\\"account_id\\\" onchange=\\\"onchange_account\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"],[\\\"company_id\\\",\\\"=\\\",parent.company_id]]'/>-->\\n                    \n                    <field name=\\\"account_id\\\" onchange=\\\"onchange_account\\\"/>\\n\n                    <field name=\\\"tax_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"amount\\\" attrs='{\\\"readonly\\\":[[\\\"unit_price\\\",\\\"!=\\\",null]]}' onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"related_id\\\"/>\\n\n                    <field name=\\\"track_id\\\"/>\\n\n                    <field name=\\\"track2_id\\\"/>\\n\n                    <field name=\\\"track_distrib_id\\\" new_action=\\\"new_track_distrib\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n                \n                <field name=\\\"amount_subtotal\\\"/>\\n\n                <field name=\\\"amount_tax\\\"/>\\n\n                <field name=\\\"amount_rounding\\\" attrs='{\\\"invisible\\\":[[\\\"amount_rounding\\\",\\\"=\\\",0]]}'/>\\n\n                <field name=\\\"amount_total\\\"/>\\n\n                <field name=\\\"payment_entries\\\" nolabel=\\\"1\\\">\\n                    \n                    <template type=\\\"hbs\\\">\\n                        {{#each data}}\\n                            \n                        <div class=\\\"form-group nf-field\\\">\\n                                \n                            <label class=\\\"control-label nf-field-label col-md-4\\\">\\n                                    Less \n                                <a href=\\\"/action?name=journal_entry&amp;mode=form&amp;active_id={{lookup move_id 0}}\\\">{{lookup move_id 1}}</a>\\n\n                            </label>\\n\n                            <div class=\\\"col-md-8\\\" style=\\\"text-align:right\\\">\\n                                    {{currency credit}}\\n                                </div>\\n\n                        </div>\\n                        {{/each}}\\n\n                    </template>\\n\n                    <fields>\\n                        \n                        <field name=\\\"move_id\\\"/>\\n\n                        <field name=\\\"credit\\\"/>\\n\n                        <field name=\\\"amount_cur\\\"/>\\n\n                    </fields>\\n\n                </field>\\n\n                <field name=\\\"amount_due\\\" states=\\\"waiting_payment,paid\\\"/>\\n\n            </group>\\n\n            <field name=\\\"type\\\" invisible=\\\"1\\\"/>\\n\n            <field name=\\\"inv_type\\\" invisible=\\\"1\\\"/>\\n\n            <field name=\\\"contact_credit\\\" invisible=\\\"1\\\"/>\\n\n            <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Taxes\\\">\\n            \n            <field name=\\\"taxes\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"tax_comp_id\\\"/>\\n\n                    <field name=\\\"base_amount\\\"/>\\n\n                    <field name=\\\"tax_amount\\\"/>\\n\n                    <field name=\\\"tax_no\\\"/>\\n\n                    <field name=\\\"tax_date\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <button string=\\\"Calculate Taxes\\\" method=\\\"calc_taxes\\\" icon=\\\"pencil\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other Info\\\">\\n            \n            <field name=\\\"journal_id\\\" onchange=\\\"onchange_journal\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"sequence_id\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"cust_invoice\\\"]]' onchange=\\\"onchange_sequence\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"account_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"pay_method_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"bill_note_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"user_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"create_time\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"currency_rate\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"transaction_no\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"print_form_no\\\" readonly=\\\"0\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"ship_track_no\\\" readonly=\\\"0\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"remarks\\\" readonly=\\\"0\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <related>\\n        \n        <field name=\\\"invoices\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"track_distrib_form\": {\"module\": \"netforce_account\", \"name\": \"track_distrib_form\", \"type\": \"form\", \"model\": \"track.distrib\", \"layout\": \"\n<form model=\\\"track.distrib\\\" show_save=\\\"1\\\">\\n    \n    <field name=\\\"lines\\\">\\n        \n        <list>\\n            \n            <field name=\\\"track_id\\\"/>\\n\n            <field name=\\\"ratio\\\"/>\\n\n            <field name=\\\"percent\\\"/>\\n\n        </list>\\n\n    </field>\\n\n</form>\\n\"}, \"payment_plan_list\": {\"module\": \"netforce_account\", \"name\": \"payment_plan_list\", \"type\": \"list\", \"model\": \"payment.plan\", \"layout\": \"\n<list model=\\\"payment.plan\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Create Invoice\\\" method=\\\"create_invoice\\\" type=\\\"primary\\\" icon=\\\"arrow-right\\\"/>\\n\n    </head>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"invoice_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"conv_import3\": {\"module\": \"netforce_account\", \"name\": \"conv_import3\", \"type\": \"form\", \"model\": \"conv.bal\", \"layout\": \"\n<form model=\\\"conv.bal\\\" title=\\\"Import unpaid purchase invoices\\\">\\n    \n    <field name=\\\"file\\\" required=\\\"1\\\"/>\\n\n    <field name=\\\"date_fmt\\\" required=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Import\\\" method=\\\"import_purch_file\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\"}, \"fixed_asset_dispose\": {\"module\": \"netforce_account\", \"name\": \"fixed_asset_dispose\", \"type\": \"form\", \"model\": \"account.fixed.asset.dispose\", \"layout\": \"\n<form model=\\\"account.fixed.asset.dispose\\\" title=\\\"Dispose Fixed Asset\\\">\\n    \n    <separator string=\\\"Details\\\"/>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"loss_acc_id\\\" span=\\\"2\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n    </group>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Dispose\\\" type=\\\"success\\\" method=\\\"dispose\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"journal_list\": {\"module\": \"netforce_account\", \"name\": \"journal_list\", \"type\": \"list\", \"model\": \"account.journal\", \"layout\": \"\n<list model=\\\"account.journal\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"sequence_id\\\"/>\\n\n</list>\\n\"}, \"budget_list\": {\"module\": \"netforce_account\", \"name\": \"budget_list\", \"type\": \"list\", \"model\": \"account.budget\", \"layout\": \"\n<list model=\\\"account.budget\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n</list>\\n\"}, \"invoice_overpay\": {\"module\": \"netforce_account\", \"name\": \"invoice_overpay\", \"type\": \"form\", \"model\": \"invoice.overpay\", \"layout\": \"\n<form model=\\\"invoice.overpay\\\" title=\\\"Overpayment\\\">\\n    \n    <template>\\n        \n        <p>\\n            The payment you entered exceeds the amount owed by \n            <b>{{currency context.data.amount_overpay}}</b>.\\n            Would you like to create an overpayment?\\n\n        </p>\\n\n    </template>\\n\n    <field name=\\\"description\\\" required=\\\"1\\\"/>\\n\n    <field name=\\\"amount_overpay\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"payment_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"OK\\\" type=\\\"primary\\\" method=\\\"do_overpay\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"budget_form\": {\"module\": \"netforce_account\", \"name\": \"budget_form\", \"type\": \"form\", \"model\": \"account.budget\", \"layout\": \"\n<form model=\\\"account.budget\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"lines\\\">\\n            \n            <list>\\n                \n                <field name=\\\"sequence\\\"/>\\n\n                <field name=\\\"account_id\\\"/>\\n\n                <field name=\\\"track_id\\\"/>\\n\n                <field name=\\\"contact_id\\\"/>\\n\n                <field name=\\\"budget_amount\\\"/>\\n\n                <field name=\\\"actual_amount\\\"/>\\n\n                <field name=\\\"variance\\\"/>\\n\n                <field name=\\\"variance_percent\\\"/>\\n\n                <field name=\\\"paid_amount\\\"/>\\n\n                <field name=\\\"unpaid_amount\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"sequence\\\"/>\\n\n                <field name=\\\"account_id\\\"/>\\n\n                <field name=\\\"track_id\\\"/>\\n\n                <field name=\\\"contact_id\\\"/>\\n\n                <separator/>\\n\n                <field name=\\\"budget_amount\\\"/>\\n\n            </form>\\n\n        </field>\\n\n    </related>\\n\n</form>\\n\"}, \"account_track_entry_list\": {\"module\": \"netforce_account\", \"name\": \"account_track_entry_list\", \"type\": \"list\", \"model\": \"account.track.entry\", \"layout\": \"\n<list model=\\\"account.track.entry\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Copy To Invoice\\\" method=\\\"copy_to_invoice\\\"/>\\n\n    </head>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"track_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"unit_price\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"invoice_id\\\"/>\\n\n</list>\\n\"}, \"year_end\": {\"module\": \"netforce_account\", \"name\": \"year_end\", \"type\": \"form\", \"model\": \"year.end\", \"layout\": \"\n<form model=\\\"year.end\\\" title=\\\"Year End Closing\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"journal_id\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"close\\\"]]'/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Create Closing Entry\\\" method=\\\"create_entry\\\" type=\\\"primary\\\" icon=\\\"arrow-right\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"bank_page\": {\"module\": \"netforce_account\", \"name\": \"bank_page\", \"type\": \"page\", \"model\": \"account.account\", \"layout\": \"\n<page model=\\\"account.account\\\" title=\\\"View Bank Account\\\">\\n    \n    <head>\\n        \n        <field name=\\\"name\\\"/>\\n\n        <field name=\\\"bank_no\\\"/>\\n\n        <button string=\\\"Manage Account\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Account Transactions\\\" action=\\\"bank\\\" action_options='{\\\"mode\\\":\\\"page\\\",\\\"active_id\\\":id,\\\"related_tab\\\":2}'/>\\n\n            <item string=\\\"Bank Statements\\\" action=\\\"bank\\\" action_options='{\\\"mode\\\":\\\"page\\\",\\\"active_id\\\":id,\\\"related_tab\\\":1}'/>\\n\n            <divider/>\\n\n            <item string=\\\"Spend Money\\\" action=\\\"payment\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"defaults\\\":{\\\"account_id\\\":id,\\\"type\\\":\\\"out\\\"}}'/>\\n\n            <item string=\\\"Receive Money\\\" action=\\\"payment\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"defaults\\\":{\\\"account_id\\\":id,\\\"type\\\":\\\"in\\\"}}'/>\\n\n            <item string=\\\"Transfer Money\\\" action=\\\"bank_transfer\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"defaults\\\":{\\\"account_from_id\\\":id}}'/>\\n\n            <divider/>\\n\n            <item string=\\\"Reconcile Account\\\" action=\\\"bank\\\" action_options='{\\\"mode\\\":\\\"page\\\",\\\"active_id\\\":id,\\\"related_tab\\\":0}'/>\\n\n            <item string=\\\"Import a Statement\\\" action=\\\"import_statement\\\" action_options='{\\\"defaults\\\":{\\\"account_id\\\":id}}'/>\\n\n            <item string=\\\"Auto-match Transactions\\\" method=\\\"auto_bank_reconcile\\\"/>\\n\n            <item string=\\\"Reconcile All Matched\\\" method=\\\"reconcile_all_matched\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"balance_statement\\\" span=\\\"2\\\" strong=\\\"1\\\"/>\\n\n        <field name=\\\"balance\\\" span=\\\"2\\\" strong=\\\"1\\\"/>\\n\n    </group>\\n\n    <related_tabs>\\n        \n        <tab string=\\\"Awaiting Reconciliation\\\" action=\\\"bank_reconcile\\\" action_options='{\\\"condition\\\":[[\\\"statement_id.account_id\\\",\\\"=\\\",id],[\\\"state\\\",\\\"=\\\",\\\"not_reconciled\\\"]]}'/>\\n\n        <tab string=\\\"Reconciled\\\" action=\\\"bank_reconciled\\\" action_options='{\\\"condition\\\":[[\\\"statement_id.account_id\\\",\\\"=\\\",id],[\\\"state\\\",\\\"=\\\",\\\"reconciled\\\"]]}'/>\\n\n        <tab string=\\\"Bank Statements\\\" action=\\\"bank_statement\\\" action_options='{\\\"condition\\\":[[\\\"account_id\\\",\\\"=\\\",id]]}'/>\\n\n        <tab string=\\\"Account Transactions\\\" action=\\\"bank_move_line\\\" action_options='{\\\"condition\\\":[[\\\"account_id\\\",\\\"=\\\",id]]}'/>\\n\n    </related_tabs>\\n\n</page>\\n\"}, \"fixed_asset_sell\": {\"module\": \"netforce_account\", \"name\": \"fixed_asset_sell\", \"type\": \"form\", \"model\": \"account.fixed.asset.sell\", \"layout\": \"\n<form model=\\\"account.fixed.asset.sell\\\" title=\\\"Sell Fixed Asset\\\">\\n    \n    <separator string=\\\"Details\\\"/>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"sale_acc_id\\\" span=\\\"2\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n        <field name=\\\"price\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"gain_loss_acc_id\\\" span=\\\"2\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n        <field name=\\\"journal_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Sell\\\" type=\\\"success\\\" method=\\\"sell\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"bank_reconcile\": {\"module\": \"netforce_account\", \"name\": \"bank_reconcile\", \"type\": \"list_details\", \"model\": \"account.statement.line\", \"layout\": \"\n<list_details model=\\\"account.statement.line\\\">\\n    \n    <group form_layout=\\\"stacked\\\" span=\\\"5\\\">\\n        \n        <separator string=\\\"Bank Statement Item\\\"/>\\n\n        <field name=\\\"date\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"received\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"spent\\\" span=\\\"4\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"description\\\" span=\\\"12\\\"/>\\n\n    </group>\\n\n    <group span=\\\"2\\\">\\n        \n        <button string=\\\"Match\\\" type=\\\"success\\\" method=\\\"reconcile\\\" icon=\\\"ok\\\" margin_top=\\\"20\\\" span=\\\"12\\\"/>\\n\n        <newline/>\\n\n        <button string=\\\"New Payment\\\" action=\\\"payment\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"target\\\":\\\"new_window\\\",\\\"context\\\":{\\\"statement_line_id\\\":id}}' icon=\\\"plus\\\" margin_top=\\\"10\\\" span=\\\"12\\\"/>\\n\n    </group>\\n\n    <group span=\\\"5\\\" form_layout=\\\"stacked\\\">\\n        \n        <separator string=\\\"Account Entries\\\"/>\\n\n        <field name=\\\"move_lines\\\" span=\\\"12\\\" nolabel=\\\"1\\\" readonly=\\\"0\\\" select_layout=\\\"reconcile_select\\\" condition='[[\\\"account_id\\\",\\\"=\\\",account_id],[\\\"state\\\",\\\"=\\\",\\\"not_reconciled\\\"]]' onchange=\\\"onchange_move_lines\\\" show_buttons=\\\"1\\\" auto_save=\\\"1\\\">\\n            \n            <list>\\n                \n                <head>\\n                    \n                    <button string=\\\"Remove from all\\\" method=\\\"reconcile_remove_from_all\\\"/>\\n\n                </head>\\n\n                <field name=\\\"move_date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"debit\\\"/>\\n\n                <field name=\\\"credit\\\"/>\\n\n            </list>\\n\n        </field>\\n\n        <!--<field name=\\\"account_balance\\\" span=\\\"6\\\" offset=\\\"6\\\"/>-->\\n    \n    </group>\\n\n    <field name=\\\"account_id\\\" invisible=\\\"1\\\"/>\\n\n</list_details>\\n\"}, \"statement_line_search\": {\"module\": \"netforce_account\", \"name\": \"statement_line_search\", \"type\": \"search\", \"model\": \"account.statement.line\", \"layout\": \"\n<search model=\\\"account.statement.line\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"received\\\"/>\\n\n    <field name=\\\"spent\\\"/>\\n\n    <field name=\\\"balance\\\"/>\\n\n</search>\\n\"}, \"fixed_asset_type_list\": {\"module\": \"netforce_account\", \"name\": \"fixed_asset_type_list\", \"type\": \"list\", \"model\": \"account.fixed.asset.type\", \"layout\": \"\n<list model=\\\"account.fixed.asset.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"fixed_asset_account_id\\\"/>\\n\n    <field name=\\\"dep_rate\\\"/>\\n\n    <field name=\\\"dep_method\\\"/>\\n\n    <field name=\\\"accum_dep_account_id\\\"/>\\n\n    <field name=\\\"dep_exp_account_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</list>\\n\"}, \"credit_alloc\": {\"module\": \"netforce_account\", \"name\": \"credit_alloc\", \"type\": \"form\", \"model\": \"account.alloc.wizard\", \"layout\": \"\n<form model=\\\"account.alloc.wizard\\\" title=\\\"Allocate Credit to Invoice\\\">\\n    \n    <field name=\\\"credit_id\\\" invisible=\\\"1\\\"/>\\n\n    <template type=\\\"hbs\\\">\\n        \n        <h5>\\n            Allocate balance on \n            <a href=\\\"#name=view_invoice&amp;active_id={{lookup context.data.credit_id 0}}\\\"> {{lookup context.data.credit_id 1}}</a>\\n\n        </h5>\\n\n    </template>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"move_line_id\\\" invisible=\\\"1\\\"/>\\n\n            <field name=\\\"move_id\\\"/>\\n\n            <field name=\\\"date\\\"/>\\n\n            <field name=\\\"account_id\\\"/>\\n\n            <field name=\\\"amount_due\\\"/>\\n\n            <field name=\\\"amount\\\" onchange=\\\"update_amounts\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"amount_credit\\\"/>\\n\n        <field name=\\\"amount_alloc\\\"/>\\n\n        <field name=\\\"amount_remain\\\"/>\\n\n    </group>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Allocate Credit\\\" method=\\\"allocate\\\" size=\\\"large\\\" type=\\\"success\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"cheque_form\": {\"module\": \"netforce_account\", \"name\": \"cheque_form\", \"type\": \"form\", \"model\": \"account.cheque\", \"layout\": \"\n<form model=\\\"account.cheque\\\" show_company=\\\"1\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"bank_id\\\"/>\\n\n    <field name=\\\"branch\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"image\\\"/>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n</form>\\n\"}, \"account_track_categ_list\": {\"module\": \"netforce_account\", \"name\": \"account_track_categ_list\", \"type\": \"list\", \"model\": \"account.track.categ\", \"layout\": \"\n<list model=\\\"account.track.categ\\\">\\n    \n    <field name=\\\"full_name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"balance\\\"/>\\n\n    <field name=\\\"currency_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n</list>\\n\"}, \"tax_rate_list\": {\"module\": \"netforce_account\", \"name\": \"tax_rate_list\", \"type\": \"list\", \"model\": \"account.tax.rate\", \"layout\": \"\n<list model=\\\"account.tax.rate\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"rate\\\"/>\\n\n    <field name=\\\"wht_rate\\\"/>\\n\n</list>\"}, \"supp_invoice_form\": {\"module\": \"netforce_account\", \"name\": \"supp_invoice_form\", \"type\": \"form\", \"model\": \"account.invoice\", \"layout\": \"\n<form model=\\\"account.invoice\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"waiting_payment\\\",\\\"paid\\\",\\\"voided\\\"]]]}' show_company=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"New\\\" icon=\\\"plus\\\" action=\\\"cust_invoice\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"form_layout\\\":\\\"supp_invoice_form\\\",\\\"context\\\":{\\\"defaults\\\":{\\\"type\\\":\\\"in\\\",\\\"inv_type\\\":\\\"invoice\\\"}}}'/>\\n\n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_supp_invoice_form3\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <!--button string=\\\"Approve\\\" method=\\\"approve\\\" size=\\\"large\\\" type=\\\"success\\\" perm=\\\"approve_invoice\\\"/>-->\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"Copy To Credit Note\\\" method=\\\"copy_to_credit_note\\\" states=\\\"paid,waiting_payment\\\"/>\\n\n            <item string=\\\"Copy To Supplier Customer Invoice\\\" method=\\\"copy_to_supp_cust_invoice\\\"/>\\n\n            <item string=\\\"Copy To Goods Receipt\\\" method=\\\"copy_to_pick_in\\\"/>\\n\n            <item string=\\\"Copy To Sales Order\\\" method=\\\"copy_to_sale\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure you want to void this invoice?\\\" states=\\\"draft,waiting_payment\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"waiting_payment,paid\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Enter Tax Date\\\" action=\\\"inv_enter_tax_date\\\" action_options='{\\\"active_id\\\":id}' states=\\\"waiting_payment,paid\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"View Journal Entry\\\" method=\\\"view_journal_entry\\\" states=\\\"waiting_payment,paid\\\"/>\\n\n            <item string=\\\"View Tax Date Adjustment Journal Entry\\\" method=\\\"view_tax_date_journal_entry\\\" states=\\\"waiting_payment,paid\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Fix conversion balance invoice\\\" method=\\\"fix_conv_invoice\\\"/>\\n\n        </button>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" size=\\\"large\\\" type=\\\"success\\\" perm=\\\"approve_invoice\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"contact_id\\\" span=\\\"2\\\" create=\\\"1\\\" onchange=\\\"onchange_contact\\\" condition='[[\\\"supplier\\\", \\\"=\\\", \\\"True\\\"]]'/>\\n\n                <field name=\\\"date\\\" span=\\\"2\\\" onchange=\\\"onchange_date\\\"/>\\n\n                <field name=\\\"due_date\\\" span=\\\"2\\\" show_required=\\\"1\\\"/>\\n\n                <field name=\\\"number\\\" required=\\\"1\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"sup_inv_number\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"tax_date\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"currency_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"tax_type\\\" span=\\\"2\\\" onchange=\\\"update_amounts\\\"/>\\n\n                <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"related_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"journal_date\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"pay_term_id\\\" onchange=\\\"onchange_pay_term\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"memo\\\" span=\\\"4\\\"/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\" count=\\\"10\\\" nolabel=\\\"1\\\">\\n                \n                <list onchange=\\\"update_amounts\\\" reorder_field=\\\"sequence_no\\\">\\n                    \n                    <field name=\\\"sequence_no\\\"/>\\n\n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\" condition='[[\\\"can_purchase\\\",\\\"=\\\",\\\"True\\\"]]'/>\\n\n                    <field name=\\\"description\\\"/>\\n\n                    <field name=\\\"qty\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"uom_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"unit_price\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"discount\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <!--<field name=\\\"account_id\\\" onchange=\\\"onchange_account\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"],[\\\"company_id\\\",\\\"=\\\",parent.company_id]]'/>-->\\n                    \n                    <field name=\\\"account_id\\\" onchange=\\\"onchange_account\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]' show_required=\\\"1\\\"/>\\n\n                    <field name=\\\"tax_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"amount\\\" attrs='{\\\"readonly\\\":[[\\\"unit_price\\\",\\\"!=\\\",null]]}' onchange=\\\"onchange_amount\\\"/>\\n\n                    <field name=\\\"related_id\\\"/>\\n\n                    <field name=\\\"track_id\\\"/>\\n\n                    <field name=\\\"track2_id\\\"/>\\n\n                    <field name=\\\"track_distrib_id\\\" new_action=\\\"new_track_distrib\\\"/>\\n\n                    <field name=\\\"notes\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n                \n                <field name=\\\"amount_subtotal\\\"/>\\n\n                <field name=\\\"amount_tax\\\"/>\\n\n                <field name=\\\"amount_total\\\"/>\\n\n                <field name=\\\"payment_entries\\\" nolabel=\\\"1\\\">\\n                    \n                    <fields>\\n                        \n                        <field name=\\\"move_id\\\"/>\\n\n                        <field name=\\\"debit\\\"/>\\n\n                        <field name=\\\"amount_cur\\\"/>\\n\n                    </fields>\\n\n                    <template type=\\\"hbs\\\">\\n                        {{#each data}}\\n                            \n                        <div class=\\\"form-group nf-field\\\">\\n                                \n                            <label class=\\\"control-label col-md-4\\\">\\n                                    Less \n                                <a href=\\\"/action?name=view_journal&amp;active_id={{lookup move_id 0}}\\\">{{lookup move_id 1}}</a>\\n\n                            </label>\\n\n                            <div class=\\\"col-md-8\\\" style=\\\"text-align:right\\\">\\n                                    {{#if amount_cur}}\\n                                        {{currency amount_cur}}\\n                                    {{else}}\\n                                        {{currency debit}}\\n                                    {{/if}}\\n                                </div>\\n\n                        </div>\\n                        {{/each}}\\n\n                    </template>\\n\n                </field>\\n\n                <field name=\\\"amount_due\\\" size=\\\"medium\\\" states=\\\"waiting_payment,paid\\\"/>\\n\n            </group>\\n\n        </tab>\\n\n        <tab string=\\\"Taxes\\\">\\n            \n            <field name=\\\"taxes\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"tax_comp_id\\\"/>\\n\n                    <field name=\\\"base_amount\\\"/>\\n\n                    <field name=\\\"tax_amount\\\"/>\\n\n                    <field name=\\\"tax_no\\\"/>\\n\n                    <field name=\\\"tax_date\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <button string=\\\"Calculate Taxes\\\" method=\\\"calc_taxes\\\" icon=\\\"pencil\\\"/>\\n\n            <separator string=\\\"Tax Filing\\\"/>\\n\n            <field name=\\\"tax_file_state\\\" readonly=\\\"0\\\"/>\\n\n            <field name=\\\"tax_file_date\\\" readonly=\\\"0\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other Info\\\">\\n            \n            <field name=\\\"company_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"sequence_id\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"supp_invoice\\\"]]' onchange=\\\"onchange_sequence\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"account_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"currency_rate\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"template_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"procurement_employee_id\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <field name=\\\"type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"inv_type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"contact_credit\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot states=\\\"draft,waiting_approval\\\" replace=\\\"1\\\">\\n        \n        <button string=\\\"Save\\\" split=\\\"1\\\" method=\\\"_save\\\" size=\\\"large\\\" type=\\\"primary\\\">\\n            \n            <item string=\\\"Save &amp; submit for approval\\\" method=\\\"submit_for_approval\\\"/>\\n\n        </button>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" size=\\\"large\\\" type=\\\"success\\\" perm=\\\"approve_invoice\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <template states=\\\"waiting_payment\\\" type=\\\"hbs\\\">\\n            {{#if data.contact_credit}}\\n                \n            <div style=\\\"background-color:#eee;font-size:12px;margin-bottom:10px;padding:5px 10px\\\">\\n                    {{lookup data.contact_id 1}} has {{currency data.contact_credit}} {{lookup data.currency_id 1}} in outstanding credit.\\n                    \n                <a href='/action?name=credit_invoice&amp;context={\\\"invoice_id\\\": {{data.id}} }'>Credit this invoice</a>\\n\n            </div>\\n            {{/if}}\\n\n        </template>\\n\n        <action name=\\\"invoice_payment\\\" states=\\\"waiting_payment\\\"/>\\n\n        <field name=\\\"documents\\\" show_inline=\\\"1\\\"/>\\n\n        <field name=\\\"pickings\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"account_move_line_list\": {\"module\": \"netforce_account\", \"name\": \"account_move_line_list\", \"type\": \"list\", \"model\": \"account.move.line\", \"layout\": \"\n<list model=\\\"account.move.line\\\" colors='{\\\"#cfc\\\":[[\\\"is_account_reconciled\\\",\\\"=\\\",true]],\\\"#fcc\\\":[[\\\"is_account_reconciled\\\",\\\"=\\\",false],[\\\"reconcile_id\\\",\\\"!=\\\",null]]}' order=\\\"move_id.date desc,id desc\\\">\\n    \n    <top replace=\\\"1\\\">\\n    </top>\\n\n    <field name=\\\"account_id\\\"/>\\n\n    <field name=\\\"move_number\\\"/>\\n\n    <field name=\\\"move_date\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"debit\\\"/>\\n\n    <field name=\\\"credit\\\"/>\\n\n    <field name=\\\"track_id\\\"/>\\n\n    <field name=\\\"amount_cur\\\"/>\\n\n    <field name=\\\"reconcile_id\\\"/>\\n\n    <field name=\\\"is_account_reconciled\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"payment_form\": {\"module\": \"netforce_account\", \"name\": \"payment_form\", \"type\": \"form\", \"model\": \"account.payment\", \"layout\": \"\n<form model=\\\"account.payment\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"!=\\\",\\\"draft\\\"]]}' show_company=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Post\\\" method=\\\"post_check_overpay\\\" type=\\\"success\\\" states=\\\"draft\\\" perm=\\\"approve_payment\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"New\\\" icon=\\\"plus\\\" action=\\\"payment\\\" action_options='{\\\"mode\\\":\\\"form\\\"}'/>\\n\n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_payment_form3\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" states=\\\"posted\\\" confirm=\\\"Are you sure you want to void this payment?\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"posted\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"View Journal Entry\\\" method=\\\"view_journal_entry\\\" states=\\\"posted\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"contact_id\\\" span=\\\"2\\\" attrs='{\\\"required\\\":[[\\\"pay_type\\\",\\\"in\\\",[\\\"invoice\\\",\\\"prepay\\\",\\\"overpay\\\"]]]}' onchange=\\\"onchange_contact\\\"/>\\n\n                <field name=\\\"type\\\" span=\\\"2\\\" onchange=\\\"onchange_type\\\"/>\\n\n                <field name=\\\"pay_type\\\" span=\\\"2\\\" onchange=\\\"onchange_pay_type\\\"/>\\n\n                <field name=\\\"date\\\" span=\\\"2\\\" onchange=\\\"onchange_date\\\"/>\\n\n                <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"employee_id\\\" span=\\\"2\\\" attrs='{\\\"invisible\\\":[[\\\"pay_type\\\",\\\"!=\\\",\\\"claim\\\"]]}' onchange=\\\"onchange_employee\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"account_id\\\" span=\\\"2\\\" condition='[[\\\"company_id\\\",\\\"=\\\",company_id],[\\\"or\\\",[\\\"type\\\",\\\"in\\\",[\\\"bank\\\",\\\"cash\\\",\\\"cheque\\\"]],[\\\"enable_payment\\\",\\\"=\\\",true]]]' onchange=\\\"onchange_payment_account\\\"/>\\n\n                <field name=\\\"currency_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"tax_type\\\" span=\\\"2\\\" attrs='{\\\"invisible\\\":[[\\\"pay_type\\\",\\\"in\\\",[\\\"invoice\\\",\\\"overpay\\\"]]]}'/>\\n\n                <field name=\\\"tax_no\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"wht_no\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"memo\\\" span=\\\"4\\\"/>\\n\n                <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"related_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"track_id\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"default_line_desc\\\" attrs='{\\\"invisibile\\\":[[\\\"pay_type\\\",\\\"!=\\\",\\\"direct\\\"]]}'/>\\n\n            </group>\\n\n            <group attrs='{\\\"invisible\\\":[[\\\"pay_type\\\",\\\"!=\\\",\\\"invoice\\\"]]}'>\\n                \n                <tabs>\\n                    \n                    <tab string=\\\"Invoice Payments\\\">\\n                        \n                        <field name=\\\"invoice_lines\\\" nolabel=\\\"1\\\" count=\\\"5\\\">\\n                            \n                            <list>\\n                                \n                                <field name=\\\"invoice_id\\\" condition='[[\\\"state\\\",\\\"=\\\",\\\"waiting_payment\\\"],[\\\"contact_id\\\",\\\"=\\\",parent.contact_id],[\\\"company_id\\\",\\\"=\\\",parent.company_id]]' onchange=\\\"onchange_invoice\\\" click_action=\\\"view_invoice\\\"/>\\n\n                                <field name=\\\"invoice_currency_id\\\"/>\\n\n                                <field name=\\\"invoice_amount_due\\\"/>\\n\n                                <field name=\\\"amount_invoice\\\" onchange=\\\"onchange_amount_invoice\\\"/>\\n\n                                <field name=\\\"amount\\\" onchange=\\\"onchange_amount_payment\\\"/>\\n\n                                <field name=\\\"currency_rate\\\" onchange=\\\"onchange_amount_invoice\\\"/>\\n\n                                <field name=\\\"tax_no\\\"/>\\n\n                            </list>\\n\n                        </field>\\n\n                        <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n                            \n                            <field name=\\\"amount_total\\\"/>\\n\n                            <field name=\\\"amount_wht\\\"/>\\n\n                            <field name=\\\"amount_wht_base\\\"/>\\n\n                            <field name=\\\"amount_payment\\\"/>\\n\n                            <field name=\\\"amount_adjust\\\"/>\\n\n                        </group>\\n\n                    </tab>\\n\n                    <tab string=\\\"Adjustments\\\">\\n                        \n                        <field name=\\\"adjust_lines\\\" nolabel=\\\"1\\\" count=\\\"5\\\">\\n                            \n                            <list>\\n                                \n                                <!--<field name=\\\"account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"],[\\\"company_id\\\",\\\"=\\\",parent.company_id]]'/>-->\\n                                \n                                <field name=\\\"account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"],[\\\"enable_adjust\\\",\\\"=\\\",true]]'/>\\n\n                                <field name=\\\"description\\\"/>\\n\n                                <field name=\\\"tax_comp_id\\\"/>\\n\n                                <field name=\\\"tax_base\\\"/>\\n\n                                <field name=\\\"track_id\\\"/>\\n\n                                <field name=\\\"track2_id\\\"/>\\n\n                                <field name=\\\"amount\\\" onchange=\\\"update_amounts\\\"/>\\n\n                                <field name=\\\"amount_company\\\" onchange=\\\"update_amounts\\\"/>\\n\n                            </list>\\n\n                        </field>\\n\n                        <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n                            \n                            <field name=\\\"amount_subtotal\\\"/>\\n\n                            <field name=\\\"amount_tax\\\"/>\\n\n                            <field name=\\\"amount_total\\\"/>\\n\n                            <field name=\\\"amount_wht\\\"/>\\n\n                            <field name=\\\"amount_wht_base\\\"/>\\n\n                            <field name=\\\"amount_payment\\\"/>\\n\n                            <field name=\\\"amount_adjust\\\"/>\\n\n                        </group>\\n\n                    </tab>\\n\n                </tabs>\\n\n            </group>\\n\n            <group attrs='{\\\"invisible\\\":[[\\\"pay_type\\\",\\\"!=\\\",\\\"direct\\\"]]}'>\\n                \n                <field name=\\\"direct_lines\\\" nolabel=\\\"1\\\" count=\\\"10\\\">\\n                    \n                    <list>\\n                        \n                        <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n                        <!--<field name=\\\"description\\\" onfocus=\\\"get_line_desc\\\"/>-->\\n                        \n                        <field name=\\\"description\\\"/>\\n\n                        <field name=\\\"qty\\\" onchange=\\\"update_amounts\\\"/>\\n\n                        <field name=\\\"unit_price\\\" onchange=\\\"update_amounts\\\"/>\\n\n                        <!--<field name=\\\"account_id\\\" onchange=\\\"onchange_account\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"],[\\\"company_id\\\",\\\"=\\\",parent.company_id]]'/>-->\\n                        \n                        <field name=\\\"account_id\\\" onchange=\\\"onchange_account\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n                        <field name=\\\"tax_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                        <field name=\\\"track_id\\\"/>\\n\n                        <field name=\\\"track2_id\\\"/>\\n\n                        <field name=\\\"amount\\\" attrs='{\\\"readonly\\\":[[\\\"unit_price\\\",\\\"!=\\\",null]]}' onchange=\\\"update_amounts\\\"/>\\n\n                        <field name=\\\"contact_id\\\"/>\\n\n                        <field name=\\\"tax_no\\\"/>\\n\n                        <field name=\\\"tax_date\\\"/>\\n\n                    </list>\\n\n                </field>\\n\n                <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n                    \n                    <field name=\\\"amount_subtotal\\\"/>\\n\n                    <field name=\\\"amount_tax\\\"/>\\n\n                    <field name=\\\"amount_total\\\"/>\\n\n                    <field name=\\\"amount_wht\\\"/>\\n\n                    <field name=\\\"amount_wht_base\\\"/>\\n\n                    <field name=\\\"amount_payment\\\"/>\\n\n                </group>\\n\n            </group>\\n\n            <group attrs='{\\\"invisible\\\":[[\\\"pay_type\\\",\\\"!=\\\",\\\"prepay\\\"]]}'>\\n                \n                <field name=\\\"prepay_lines\\\" nolabel=\\\"1\\\">\\n                    \n                    <list>\\n                        \n                        <field name=\\\"description\\\"/>\\n\n                        <field name=\\\"qty\\\" onchange=\\\"update_amounts\\\"/>\\n\n                        <field name=\\\"unit_price\\\" onchange=\\\"update_amounts\\\"/>\\n\n                        <field name=\\\"account_id\\\" onchange=\\\"onchange_account\\\"/>\\n\n                        <field name=\\\"tax_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                        <field name=\\\"track_id\\\"/>\\n\n                        <field name=\\\"track2_id\\\"/>\\n\n                        <field name=\\\"amount\\\"/>\\n\n                    </list>\\n\n                </field>\\n\n                <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n                    \n                    <field name=\\\"amount_subtotal\\\"/>\\n\n                    <field name=\\\"amount_tax\\\"/>\\n\n                    <field name=\\\"amount_total\\\"/>\\n\n                </group>\\n\n            </group>\\n\n            <group attrs='{\\\"invisible\\\":[[\\\"pay_type\\\",\\\"!=\\\",\\\"overpay\\\"]]}'>\\n                \n                <field name=\\\"overpay_lines\\\" nolabel=\\\"1\\\">\\n                    \n                    <list>\\n                        \n                        <field name=\\\"description\\\"/>\\n\n                        <field name=\\\"amount\\\" onchange=\\\"update_amounts\\\"/>\\n\n                        <field name=\\\"track_id\\\"/>\\n\n                        <field name=\\\"track2_id\\\"/>\\n\n                    </list>\\n\n                </field>\\n\n                <group offset=\\\"8\\\" span=\\\"4\\\">\\n                    \n                    <field name=\\\"amount_total\\\"/>\\n\n                </group>\\n\n            </group>\\n\n            <group attrs='{\\\"invisible\\\":[[\\\"pay_type\\\",\\\"!=\\\",\\\"claim\\\"]]}'>\\n                \n                <field name=\\\"claim_lines\\\" nolabel=\\\"1\\\">\\n                    \n                    <list>\\n                        \n                        <field name=\\\"expense_id\\\" condition='[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]]' onchange=\\\"onchange_claim\\\"/>\\n\n                        <field name=\\\"amount\\\"/>\\n\n                    </list>\\n\n                </field>\\n\n                <group offset=\\\"8\\\" span=\\\"4\\\">\\n                    \n                    <field name=\\\"amount_total\\\"/>\\n\n                </group>\\n\n            </group>\\n\n        </tab>\\n\n        <tab string=\\\"Other Info\\\">\\n            \n            <field name=\\\"sequence_id\\\" condition='[[\\\"type\\\",\\\"in\\\",[\\\"pay_in\\\",\\\"pay_out\\\"]]]' onchange=\\\"onchange_sequence\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"journal_id\\\" onchange=\\\"onchange_journal\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"currency_rate\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"pay_method_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"transaction_no\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"image\\\"/>\\n\n            <separator string=\\\"Reconciled Invoices\\\"/>\\n\n            <field name=\\\"invoices\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot states=\\\"draft\\\">\\n        \n        <button string=\\\"Post\\\" method=\\\"post_check_overpay\\\" type=\\\"success\\\" states=\\\"draft\\\" perm=\\\"approve_payment\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"cheques\\\">\\n            \n            <form>\\n                \n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"amount\\\"/>\\n\n                <field name=\\\"number\\\"/>\\n\n                <field name=\\\"bank_id\\\"/>\\n\n                <field name=\\\"branch\\\"/>\\n\n                <separator/>\\n\n                <field name=\\\"contact_id\\\"/>\\n\n                <field name=\\\"related_id\\\"/>\\n\n                <separator/>\\n\n                <field name=\\\"state\\\"/>\\n\n                <field name=\\\"image\\\"/>\\n\n                <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n            <list>\\n                \n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"amount\\\"/>\\n\n                <field name=\\\"number\\\"/>\\n\n                <field name=\\\"bank_id\\\"/>\\n\n                <field name=\\\"branch\\\"/>\\n\n                <field name=\\\"contact_id\\\"/>\\n\n                <field name=\\\"related_id\\\"/>\\n\n                <field name=\\\"state\\\"/>\\n\n                <field name=\\\"image\\\"/>\\n\n            </list>\\n\n        </field>\\n\n        <field name=\\\"landed_costs\\\"/>\\n\n        <field name=\\\"documents\\\" show_inline=\\\"1\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"fin_settings\": {\"module\": \"netforce_account\", \"name\": \"fin_settings\", \"type\": \"form\", \"model\": \"settings\", \"layout\": \"\n<form model=\\\"settings\\\" title=\\\"Financial Settings\\\">\\n    \n    <separator string=\\\"Currency\\\"/>\\n\n    <field name=\\\"currency_id\\\"/>\\n\n    <separator string=\\\"Fiscal Year\\\"/>\\n\n    <field name=\\\"year_end_day\\\"/>\\n\n    <field name=\\\"year_end_month\\\"/>\\n\n    <field name=\\\"lock_date\\\"/>\\n\n    <field name=\\\"tax_lock_date\\\"/>\\n\n    <separator string=\\\"Accounts\\\"/>\\n\n    <field name=\\\"account_receivable_id\\\" condition='[[\\\"company_id\\\",\\\"=\\\",context.company_id]]'/>\\n\n    <field name=\\\"tax_receivable_id\\\"/>\\n\n    <field name=\\\"account_payable_id\\\" condition='[[\\\"company_id\\\",\\\"=\\\",context.company_id]]'/>\\n\n    <field name=\\\"tax_payable_id\\\"/>\\n\n    <field name=\\\"currency_gain_id\\\" condition='[[\\\"company_id\\\",\\\"=\\\",context.company_id]]'/>\\n\n    <field name=\\\"currency_loss_id\\\" condition='[[\\\"company_id\\\",\\\"=\\\",context.company_id]]'/>\\n\n    <field name=\\\"unpaid_claim_id\\\" condition='[[\\\"company_id\\\",\\\"=\\\",context.company_id]]'/>\\n\n    <field name=\\\"retained_earnings_account_id\\\" condition='[[\\\"company_id\\\",\\\"=\\\",context.company_id]]'/>\\n\n    <field name=\\\"rounding_account_id\\\" condition='[[\\\"company_id\\\",\\\"=\\\",context.company_id]]'/>\\n\n    <separator string=\\\"Journals\\\"/>\\n\n    <field name=\\\"sale_journal_id\\\"/>\\n\n    <field name=\\\"purchase_journal_id\\\"/>\\n\n    <field name=\\\"pay_in_journal_id\\\"/>\\n\n    <field name=\\\"pay_out_journal_id\\\"/>\\n\n    <field name=\\\"general_journal_id\\\"/>\\n\n    <separator string=\\\"Trackings\\\"/>\\n\n    <field name=\\\"year_end_track_id\\\"/>\\n\n    <field name=\\\"year_end_track2_id\\\"/>\\n\n    <separator string=\\\"Tax\\\"/>\\n\n    <field name=\\\"tax_no\\\"/>\\n\n    <field name=\\\"branch_no\\\"/>\\n\n    <separator string=\\\"Reconciliation\\\"/>\\n\n    <field name=\\\"bank_reconcile_max_days\\\"/>\\n\n    <separator string=\\\"Permissions\\\"/>\\n\n    <field name=\\\"approve_invoice\\\"/>\\n\n    <field name=\\\"approve_payment\\\"/>\\n\n    <!-- Chin Edit-->\\n    \n    <separator string=\\\"Freight Charges Settings\\\"/>\\n\n    <field name=\\\"freight_charge_cust_id\\\" condition='[[\\\"company_id\\\",\\\"=\\\",context.company_id]]'/>\\n\n    <field name=\\\"freight_charge_cust_track_id\\\"/>\\n\n    <field name=\\\"freight_charge_cust_track2_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"freight_charge_supp_id\\\" condition='[[\\\"company_id\\\",\\\"=\\\",context.company_id]]'/>\\n\n    <field name=\\\"freight_charge_supp_track_id\\\"/>\\n\n    <field name=\\\"freight_charge_supp_track2_id\\\"/>\\n\n    <!-- End edit-->\\n\n</form>\\n\"}, \"cust_invoice_list\": {\"module\": \"netforce_account\", \"name\": \"cust_invoice_list\", \"type\": \"list\", \"model\": \"account.invoice\", \"layout\": \"\n<list model=\\\"account.invoice\\\" method=\\\"view_invoice\\\" colors='{\\\"#9f9\\\":[[\\\"bill_note_id\\\",\\\"!=\\\",null]]}'>\\n    \n    <top replace=\\\"1\\\">\\n        \n        <button string=\\\"New Invoice\\\" action=\\\"cust_invoice\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"form_layout\\\":\\\"cust_invoice_form\\\",\\\"context\\\":{\\\"defaults\\\":{\\\"type\\\":\\\"out\\\",\\\"inv_type\\\":\\\"invoice\\\"}}}' icon=\\\"plus-sign\\\"/>\\n\n        <button string=\\\"New Credit Note\\\" action=\\\"cust_invoice\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"form_layout\\\":\\\"cust_credit_form\\\",\\\"context\\\":{\\\"defaults\\\":{\\\"type\\\":\\\"out\\\",\\\"inv_type\\\":\\\"credit\\\"}}}' icon=\\\"plus-sign\\\"/>\\n\n        <button string=\\\"New Debit Note\\\" action=\\\"cust_invoice\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"form_layout\\\":\\\"cust_debit_form\\\",\\\"context\\\":{\\\"defaults\\\":{\\\"type\\\":\\\"out\\\",\\\"inv_type\\\":\\\"debit\\\"}}}' icon=\\\"plus-sign\\\"/>\\n\n        <button string=\\\"New Repeating Invoice\\\" action=\\\"cust_invoice\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"form_layout\\\":\\\"cust_repeat_form\\\",\\\"context\\\":{\\\"defaults\\\":{\\\"type\\\":\\\"out\\\",\\\"inv_type\\\":\\\"invoice\\\",\\\"state\\\":\\\"repeat\\\"}}}' icon=\\\"plus-sign\\\"/>\\n\n        <button string=\\\"Import\\\" action_options='{\\\"view\\\":\\\"import\\\",\\\"string\\\":\\\"Import Invoices\\\",\\\"model\\\":\\\"account.invoice\\\",\\\"menu\\\":\\\"account_menu\\\",\\\"import_sample\\\":\\\"import_customer_invoices.csv\\\"}' icon=\\\"download\\\"/>\\n\n        <button string=\\\"Renumber Invoices\\\" action=\\\"renum_inv\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <!--<button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_cust_invoice_form\\\"/>\\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"report_cust_invoice_form2\\\" action_options='{\\\"ids\\\":ids}'/>-->\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_cust_invoice_form3\\\" action_options='{\\\"ids\\\":ids}'/>\\n\n        <button string=\\\"Approve\\\" method=\\\"post\\\"/>\\n\n        <button string=\\\"To Draft\\\" method=\\\"to_draft\\\"/>\\n\n        <button string=\\\"Void\\\" method=\\\"void\\\"/>\\n\n        <!--<button string=\\\"Add Missing Accounts\\\" method=\\\"add_missing_accounts\\\"/>-->\\n        \n        <button string=\\\"Copy To Billing Note\\\" method=\\\"copy_to_bill_note\\\"/>\\n\n        <button string=\\\"Fix Conversion Invoice Balance\\\" method=\\\"fix_conv_invoice\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"inv_type\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"amount_paid\\\"/>\\n\n    <field name=\\\"amount_due\\\"/>\\n\n    <field name=\\\"currency_id\\\"/>\\n\n    <field name=\\\"memo\\\"/>\\n\n    <field name=\\\"bill_note_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n</list>\\n\"}, \"journal_form\": {\"module\": \"netforce_account\", \"name\": \"journal_form\", \"type\": \"form\", \"model\": \"account.journal\", \"layout\": \"\n<form model=\\\"account.journal\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"sequence_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"conv_bal1\": {\"module\": \"netforce_account\", \"name\": \"conv_bal1\", \"type\": \"form\", \"model\": \"conv.bal\", \"layout\": \"\n<form model=\\\"conv.bal\\\" title=\\\"Enter Conversion Balances (step 1/3)\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Import from file\\\" method=\\\"import_acc\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"date\\\"/>\\n\n    <separator string=\\\"Conversion Balances\\\"/>\\n\n    <field name=\\\"accounts\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"account_id\\\"/>\\n\n            <field name=\\\"debit\\\" onchange=\\\"update_total\\\"/>\\n\n            <field name=\\\"credit\\\" onchange=\\\"update_total\\\"/>\\n\n            <field name=\\\"amount_cur\\\" onchange=\\\"update_total\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <group offset=\\\"6\\\" span=\\\"4\\\">\\n        \n        <field name=\\\"total_debit\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"total_credit\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Continue\\\" method=\\\"next1\\\" type=\\\"primary\\\" icon=\\\"arrow-right\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"statement_page\": {\"module\": \"netforce_account\", \"name\": \"statement_page\", \"type\": \"page\", \"model\": \"account.statement\", \"layout\": \"\n<page model=\\\"account.statement\\\" show_company=\\\"1\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"account_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_start\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_end\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"balance_start\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"balance_end\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\" view=\\\"field_o2m_list\\\" span=\\\"12\\\">\\n        \n        <list colors='{\\\"#cfc\\\": [[\\\"state\\\",\\\"=\\\",\\\"reconciled\\\"]]}'>\\n            \n            <head replace=\\\"1\\\">\\n                \n                <button string=\\\"Unreconcile\\\" method=\\\"unreconcile\\\" type=\\\"primary\\\"/>\\n\n            </head>\\n\n            <field name=\\\"state\\\"/>\\n\n            <field name=\\\"date\\\"/>\\n\n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"received\\\"/>\\n\n            <field name=\\\"spent\\\"/>\\n\n            <field name=\\\"balance\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n</page>\\n\"}, \"inv_enter_tax_date\": {\"module\": \"netforce_account\", \"name\": \"inv_enter_tax_date\", \"type\": \"form\", \"model\": \"account.invoice\", \"priority\": 20, \"layout\": \"\n<form model=\\\"account.invoice\\\" title=\\\"Enter Tax Date\\\" priority=\\\"20\\\">\\n    \n    <field name=\\\"tax_date\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Post Tax Journal Entry\\\" method=\\\"post_tax_date\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"account_invoice_line_list\": {\"module\": \"netforce_account\", \"name\": \"account_invoice_line_list\", \"type\": \"list\", \"model\": \"account.invoice.line\", \"layout\": \"\n<list model=\\\"account.invoice.line\\\" action=\\\"view_invoice_line\\\">\\n    \n    <field name=\\\"invoice_id\\\"/>\\n\n    <field name=\\\"invoice_date\\\"/>\\n\n    <field name=\\\"invoice_state\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"qty\\\" show_total=\\\"1\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"unit_price\\\"/>\\n\n    <field name=\\\"discount\\\"/>\\n\n    <field name=\\\"discount_amount\\\"/>\\n\n    <field name=\\\"account_id\\\"/>\\n\n    <field name=\\\"tax_id\\\"/>\\n\n    <field name=\\\"track_id\\\"/>\\n\n    <field name=\\\"track2_id\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n</list>\\n\"}, \"invoice_pivot\": {\"module\": \"netforce_account\", \"name\": \"invoice_pivot\", \"type\": \"pivot\", \"model\": \"account.invoice\", \"layout\": \"\n<pivot model=\\\"account.invoice\\\" rows=\\\"contact_id.name\\\" cols=\\\"date_month\\\" vals=\\\"amount_total\\\" agg_name=\\\"sum\\\" search=\\\"contact_id,date,due_date,type,number\\\">\\n    \n    <field name=\\\"contact_id.name\\\" string=\\\"Contact\\\"/>\\n\n    <field name=\\\"contact_id.categ_id.name\\\" string=\\\"Contact Category\\\"/>\\n\n    <field name=\\\"state\\\" string=\\\"Status\\\"/>\\n\n    <field name=\\\"date\\\" string=\\\"Invoice Date\\\"/>\\n\n    <field name=\\\"date_week\\\" string=\\\"Invoice Week\\\"/>\\n\n    <field name=\\\"date_month\\\" string=\\\"Invoice Month\\\"/>\\n\n    <field name=\\\"due_date\\\" string=\\\"Due Date\\\"/>\\n\n    <field name=\\\"number\\\" string=\\\"Invoice Number\\\"/>\\n\n    <field name=\\\"type\\\" string=\\\"Invoice Type\\\"/>\\n\n    <field name=\\\"amount_total\\\" string=\\\"Total Amount\\\"/>\\n\n    <field name=\\\"currency_id.code\\\" string=\\\"Currency Code\\\"/>\\n\n    <field name=\\\"seller_id.name\\\" string=\\\"Seller\\\"/>\\n\n</pivot>\\n\"}, \"bank_reconciled\": {\"module\": \"netforce_account\", \"name\": \"bank_reconciled\", \"type\": \"list_details\", \"model\": \"account.statement.line\", \"layout\": \"\n<list_details model=\\\"account.statement.line\\\">\\n    \n    <group form_layout=\\\"stacked\\\" span=\\\"5\\\">\\n        \n        <separator string=\\\"Bank Statement Item\\\"/>\\n\n        <field name=\\\"date\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"received\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"spent\\\" span=\\\"4\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"description\\\" span=\\\"12\\\"/>\\n\n    </group>\\n\n    <group span=\\\"2\\\">\\n        \n        <button string=\\\"Unreconcile\\\" method=\\\"unreconcile\\\" icon=\\\"arrow-left\\\" margin_top=\\\"20\\\" span=\\\"12\\\"/>\\n\n    </group>\\n\n    <group span=\\\"5\\\" form_layout=\\\"stacked\\\">\\n        \n        <separator string=\\\"Account Entries\\\"/>\\n\n        <field name=\\\"move_lines\\\" span=\\\"12\\\" nolabel=\\\"1\\\" readonly=\\\"0\\\" select_layout=\\\"reconcile_select\\\" condition='[[\\\"account_id\\\",\\\"=\\\",account_id],[\\\"state\\\",\\\"=\\\",\\\"not_reconciled\\\"]]' onchange=\\\"onchange_move_lines\\\" show_buttons=\\\"1\\\" auto_save=\\\"1\\\">\\n            \n            <list>\\n                \n                <head>\\n                    \n                    <button string=\\\"Remove from all\\\" method=\\\"reconcile_remove_from_all\\\"/>\\n\n                </head>\\n\n                <field name=\\\"move_date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"debit\\\"/>\\n\n                <field name=\\\"credit\\\"/>\\n\n            </list>\\n\n        </field>\\n\n        <!--<field name=\\\"account_balance\\\" span=\\\"6\\\" offset=\\\"6\\\"/>-->\\n    \n    </group>\\n\n    <field name=\\\"account_id\\\" invisible=\\\"1\\\"/>\\n\n</list_details>\\n\"}, \"account_board\": {\"module\": \"netforce_account\", \"name\": \"account_board\", \"type\": \"board\", \"layout\": \"\n<board>\\n    \n    <vpanel>\\n        \n        <widget action=\\\"bank_widget\\\" string=\\\"Bank Summary\\\"/>\\n\n    </vpanel>\\n\n    <vpanel>\\n        \n        <widget action=\\\"money_in2\\\" string=\\\"Receivable Summary\\\"/>\\n\n        <widget action=\\\"money_out2\\\" string=\\\"Payable Summary\\\"/>\\n\n    </vpanel>\\n\n</board>\\n\"}, \"account_move_form\": {\"module\": \"netforce_account\", \"name\": \"account_move_form\", \"type\": \"form\", \"model\": \"account.move\", \"layout\": \"\n<form model=\\\"account.move\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"!=\\\",\\\"draft\\\"]]}' show_company=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_journal_entry\\\"/>\\n\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"report_journal_entry2\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Reverse\\\" method=\\\"reverse\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure you want to void this journal entry?\\\"/>\\n\n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"posted\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"journal_id\\\" span=\\\"2\\\" onchange=\\\"onchange_journal\\\"/>\\n\n        <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date\\\" span=\\\"2\\\" onchange=\\\"onchange_date\\\"/>\\n\n        <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"related_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"narration\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"default_line_desc\\\" span=\\\"3\\\"/>\\n\n        <field name=\\\"date_posted\\\" span=\\\"2\\\" readonly=\\\"1\\\"/>\\n\n        <field name=\\\"user_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\" count=\\\"10\\\">\\n        \n        <list>\\n            \n            <!--<field name=\\\"description\\\" onfocus=\\\"get_line_desc\\\"/>-->\\n            \n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"account_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]' onchange=\\\"onchange_account\\\"/>\\n\n            <field name=\\\"debit\\\" onchange=\\\"update_amounts\\\" required=\\\"0\\\"/>\\n\n            <field name=\\\"credit\\\" onchange=\\\"update_amounts\\\" required=\\\"0\\\"/>\\n\n            <field name=\\\"tax_comp_id\\\"/>\\n\n            <field name=\\\"tax_base\\\"/>\\n\n            <field name=\\\"tax_no\\\"/>\\n\n            <field name=\\\"tax_date\\\"/>\\n\n            <field name=\\\"amount_cur\\\"/>\\n\n            <field name=\\\"track_id\\\"/>\\n\n            <field name=\\\"track2_id\\\"/>\\n\n            <field name=\\\"contact_id\\\"/>\\n\n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"reconcile_id\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <group offset=\\\"8\\\" span=\\\"4\\\">\\n        \n        <field name=\\\"total_debit\\\" span=\\\"12\\\"/>\\n\n        <field name=\\\"total_credit\\\" span=\\\"12\\\"/>\\n\n        <field name=\\\"difference\\\" span=\\\"12\\\" attrs='{\\\"invisible\\\": [[\\\"difference\\\",\\\"=\\\",0]]}'/>\\n\n    </group>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot states='draft'>\\n        \n        <button string=\\\"Post\\\" method=\\\"post\\\" type=\\\"success\\\" states=\\\"draft\\\" icon=\\\"arrow-right\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"track_entries\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"report_cash_flow\": {\"module\": \"netforce_account_report\", \"name\": \"report_cash_flow\", \"type\": \"form\", \"model\": \"report.cash.flow\", \"layout\": \"\n<form model=\\\"report.cash.flow\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_tax_sum\": {\"module\": \"netforce_account_report\", \"name\": \"report_tax_sum\", \"type\": \"form\", \"model\": \"report.tax.sum\", \"layout\": \"\n<form model=\\\"report.tax.sum\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"by_rate\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"by_comp\\\"/>\\n\n    </group>\\n\n</form>\"}, \"report_gl_details\": {\"module\": \"netforce_account_report\", \"name\": \"report_gl_details\", \"type\": \"form\", \"model\": \"report.gl.details\", \"layout\": \"\n<form model=\\\"report.gl.details\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"select_type\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"account_from_id\\\" span=\\\"2\\\" attrs='{\\\"invisible\\\":[[\\\"select_type\\\",\\\"!=\\\",\\\"range\\\"]]}'/>\\n\n        <field name=\\\"account_to_id\\\" span=\\\"2\\\" attrs='{\\\"invisible\\\":[[\\\"select_type\\\",\\\"!=\\\",\\\"range\\\"]]}'/>\\n\n        <newline/>\\n\n        <field name=\\\"accounts\\\" attrs='{\\\"invisible\\\":[[\\\"select_type\\\",\\\"!=\\\",\\\"list\\\"]]}'/>\\n\n        <newline/>\\n\n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"track_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"track2_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"hide_zero\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"hide_reconciled\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_cust_invoice\": {\"module\": \"netforce_account_report\", \"name\": \"report_cust_invoice\", \"type\": \"form\", \"model\": \"report.cust.invoice\", \"layout\": \"\n<form model=\\\"report.cust.invoice\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"show_details\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_cust_inv\": {\"module\": \"netforce_account_report\", \"name\": \"report_cust_inv\", \"type\": \"form\", \"model\": \"report.cust.inv\", \"layout\": \"\n<form model=\\\"report.cust.inv\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"state\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\"}, \"report_tb_details\": {\"module\": \"netforce_account_report\", \"name\": \"report_tb_details\", \"type\": \"form\", \"model\": \"report.tb.details\", \"layout\": \"\n<form model=\\\"report.tb.details\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"track_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"track2_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\"}, \"report_tax_audit\": {\"module\": \"netforce_account_report\", \"name\": \"report_tax_audit\", \"type\": \"form\", \"model\": \"report.tax.audit\", \"layout\": \"\n<form model=\\\"report.tax.audit\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"trans_type\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"tax_type\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"tax_comp_id\\\" span=\\\"3\\\" condition='[[\\\"trans_type\\\",\\\"=\\\",trans_type]]'/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_profit_loss\": {\"module\": \"netforce_account_report\", \"name\": \"report_profit_loss\", \"type\": \"form\", \"model\": \"report.profit.loss\", \"layout\": \"\n<form model=\\\"report.profit.loss\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"compare_with\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"compare_periods\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"track_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"track2_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"currency_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"show_ytd\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"convert_currency\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"account_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_reconcile\": {\"module\": \"netforce_account_report\", \"name\": \"report_reconcile\", \"type\": \"form\", \"model\": \"report.reconcile\", \"layout\": \"\n<form model=\\\"report.reconcile\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"account_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\"}, \"report_dep_schedule\": {\"module\": \"netforce_account_report\", \"name\": \"report_dep_schedule\", \"type\": \"form\", \"model\": \"report.dep.schedule\", \"layout\": \"\n<form model=\\\"report.dep.schedule\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"track_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_aged_receivables\": {\"module\": \"netforce_account_report\", \"name\": \"report_aged_receivables\", \"type\": \"form\", \"model\": \"report.aged.receivables\", \"layout\": \"\n<form model=\\\"report.aged.receivables\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"period_days\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"num_periods\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"account_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_ap_details\": {\"module\": \"netforce_account_report\", \"name\": \"report_ap_details\", \"type\": \"form\", \"model\": \"report.ap.details\", \"layout\": \"\n<form model=\\\"report.ap.details\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"period_days\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"num_periods\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"account_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_balance_sheet\": {\"module\": \"netforce_account_report\", \"name\": \"report_balance_sheet\", \"type\": \"form\", \"model\": \"report.balance.sheet\", \"layout\": \"\n<form model=\\\"report.balance.sheet\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"compare_with\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"compare_periods\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"track_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"track2_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"convert_currency\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_account_sale\": {\"module\": \"netforce_account_report\", \"name\": \"report_account_sale\", \"type\": \"form\", \"model\": \"report.account.sale\", \"layout\": \"\n<form model=\\\"report.account.sale\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"account_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_currency\": {\"module\": \"netforce_account_report\", \"name\": \"report_currency\", \"type\": \"form\", \"model\": \"report.currency\", \"layout\": \"\n<form model=\\\"report.currency\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_tax_month\": {\"module\": \"netforce_account_report\", \"name\": \"report_tax_month\", \"type\": \"form\", \"model\": \"report.tax.month\", \"layout\": \"\n<form model=\\\"report.tax.month\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"tax_type\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"trans_type\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_account_sum\": {\"module\": \"netforce_account_report\", \"name\": \"report_account_sum\", \"type\": \"form\", \"model\": \"report.account.sum\", \"layout\": \"\n<form model=\\\"report.account.sum\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"account_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"track_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"track2_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_gl\": {\"module\": \"netforce_account_report\", \"name\": \"report_gl\", \"type\": \"form\", \"model\": \"report.gl\", \"layout\": \"\n<form model=\\\"report.gl\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"select_type\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"account_from_id\\\" span=\\\"2\\\" attrs='{\\\"invisible\\\":[[\\\"select_type\\\",\\\"!=\\\",\\\"range\\\"]]}'/>\\n\n        <field name=\\\"account_to_id\\\" span=\\\"2\\\" attrs='{\\\"invisible\\\":[[\\\"select_type\\\",\\\"!=\\\",\\\"range\\\"]]}'/>\\n\n        <newline/>\\n\n        <field name=\\\"accounts\\\" attrs='{\\\"invisible\\\":[[\\\"select_type\\\",\\\"!=\\\",\\\"list\\\"]]}'/>\\n\n        <newline/>\\n\n        <field name=\\\"track_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"journal_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_ar_details\": {\"module\": \"netforce_account_report\", \"name\": \"report_ar_details\", \"type\": \"form\", \"model\": \"report.ar.details\", \"layout\": \"\n<form model=\\\"report.ar.details\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"period_days\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"num_periods\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"account_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_supp_invoice\": {\"module\": \"netforce_account_report\", \"name\": \"report_supp_invoice\", \"type\": \"form\", \"model\": \"report.supp.invoice\", \"layout\": \"\n<form model=\\\"report.supp.invoice\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"show_details\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_account_trans\": {\"module\": \"netforce_account_report\", \"name\": \"report_account_trans\", \"type\": \"form\", \"model\": \"report.account.trans\", \"layout\": \"\n<form model=\\\"report.account.trans\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"account_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"track_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"track2_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"description\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_track_budget\": {\"module\": \"netforce_account_report\", \"name\": \"report_track_budget\", \"type\": \"form\", \"model\": \"report.track.budget\", \"layout\": \"\n<form model=\\\"report.track.budget\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"track_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_bank_rec\": {\"module\": \"netforce_account_report\", \"name\": \"report_bank_rec\", \"type\": \"form\", \"model\": \"report.bank.rec\", \"layout\": \"\n<form model=\\\"report.bank.rec\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"account_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\"}, \"report_account_purchase\": {\"module\": \"netforce_account_report\", \"name\": \"report_account_purchase\", \"type\": \"form\", \"model\": \"report.account.purchase\", \"layout\": \"\n<form model=\\\"report.account.purchase\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"account_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_product_sales\": {\"module\": \"netforce_account_report\", \"name\": \"report_product_sales\", \"type\": \"form\", \"model\": \"report.product.sales\", \"layout\": \"\n<form model=\\\"report.product.sales\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"product_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\"}, \"report_aged_payables\": {\"module\": \"netforce_account_report\", \"name\": \"report_aged_payables\", \"type\": \"form\", \"model\": \"report.aged.payables\", \"layout\": \"\n<form model=\\\"report.aged.payables\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"period_days\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"num_periods\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"account_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_tb\": {\"module\": \"netforce_account_report\", \"name\": \"report_tb\", \"type\": \"form\", \"model\": \"report.tb\", \"layout\": \"\n<form model=\\\"report.tb\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"track_id\\\" span=\\\"2\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"1\\\"]]'/>\\n\n        <field name=\\\"track2_id\\\" span=\\\"2\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"2\\\"]]'/>\\n\n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"show_period_totals\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_sale_product\": {\"module\": \"netforce_account_report\", \"name\": \"report_sale_product\", \"type\": \"form\", \"model\": \"report.sale.product\", \"layout\": \"\n<form model=\\\"report.sale.product\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\"}, \"report_journal\": {\"module\": \"netforce_account_report\", \"name\": \"report_journal\", \"type\": \"form\", \"model\": \"report.journal\", \"layout\": \"\n<form model=\\\"report.journal\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"journal_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"filter_by\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"order_by\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"hide_zero\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"contact_form_service\": {\"module\": \"netforce_service\", \"name\": \"contact_form_service\", \"type\": \"inherit\", \"model\": \"contact\", \"inherit\": \"contact_form\", \"layout\": \"\n<inherit model=\\\"contact\\\" inherit=\\\"contact_form\\\">\\n    \n    <field name=\\\"sale_orders\\\" position=\\\"after\\\">\\n        \n        <field name=\\\"projects\\\"/>\\n\n        <field name=\\\"service_items\\\" action=\\\"service_item\\\"/>\\n</field>\\n\n</inherit>\\n\"}, \"service_resource_alloc_form\": {\"module\": \"netforce_service\", \"name\": \"service_resource_alloc_form\", \"type\": \"form\", \"model\": \"service.resource.alloc\", \"layout\": \"\n<form model=\\\"service.resource.alloc\\\">\\n    \n    <field name=\\\"resource_id\\\"/>\\n\n    <field name=\\\"job_id\\\"/>\\n\n    <field name=\\\"time_start\\\"/>\\n\n    <field name=\\\"time_stop\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</form>\\n\"}, \"job_search\": {\"module\": \"netforce_service\", \"name\": \"job_search\", \"type\": \"search\", \"model\": \"job\", \"layout\": \"\n<search model=\\\"job\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"service_type_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"resource_id\\\"/>\\n\n</search>\\n\"}, \"work_time_form_mobile\": {\"module\": \"netforce_service\", \"name\": \"work_time_form_mobile\", \"type\": \"form_mobile\", \"model\": \"work.time\", \"layout\": \"\n<form_mobile model=\\\"work.time\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"actual_hours\\\"/>\\n\n    <field name=\\\"bill_hours\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"state\\\"/>\\n\n</form_mobile>\\n\"}, \"fault_code_list\": {\"module\": \"netforce_service\", \"name\": \"fault_code_list\", \"type\": \"list\", \"model\": \"fault.code\", \"layout\": \"\n<list model=\\\"fault.code\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</list>\\n\"}, \"service_board\": {\"module\": \"netforce_service\", \"name\": \"service_board\", \"type\": \"board\", \"layout\": \"\n<board>\\n    \n    <hpanel>\\n        \n        <widget string=\\\"Projects In Progress\\\" action=\\\"project_widget\\\" span=\\\"12\\\"/>\\n\n    </hpanel>\\n\n    <hpanel>\\n        \n        <widget string=\\\"Time Spent Per Project\\\" action=\\\"time_project_widget\\\" span=\\\"12\\\"/>\\n\n        <widget string=\\\"Time Spent Per Resource\\\" action=\\\"time_resource_widget\\\" span=\\\"12\\\"/>\\n\n    </hpanel>\\n\n    <hpanel>\\n        \n        <widget string=\\\"Pending Service Orders\\\" action=\\\"job_widget\\\"/>\\n\n    </hpanel>\\n\n</board>\\n\"}, \"work_time_pivot\": {\"module\": \"netforce_service\", \"name\": \"work_time_pivot\", \"type\": \"pivot\", \"model\": \"work.time\", \"layout\": \"\n<pivot model=\\\"work.time\\\" rows=\\\"resource_id.name\\\" cols=\\\"project_id.name\\\" agg_name=\\\"sum\\\" vals=\\\"actual_hours,bill_hours\\\">\\n    \n    <field name=\\\"resource_id.name\\\" string=\\\"Resource\\\"/>\\n\n    <field name=\\\"project_id.name\\\" string=\\\"Project\\\"/>\\n\n    <field name=\\\"actual_hours\\\"/>\\n\n    <field name=\\\"bill_hours\\\"/>\\n\n</pivot>\\n\"}, \"timesheet_widget\": {\"module\": \"netforce_service\", \"name\": \"timesheet_widget\", \"type\": \"list\", \"model\": \"time.sheet\", \"layout\": \"\n<list model=\\\"time.sheet\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"skill_level_list\": {\"module\": \"netforce_service\", \"name\": \"skill_level_list\", \"type\": \"list\", \"model\": \"skill.level\", \"layout\": \"\n<list model=\\\"skill.level\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"level\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</list>\\n\"}, \"service_item_pivot\": {\"module\": \"netforce_service\", \"name\": \"service_item_pivot\", \"type\": \"pivot\", \"model\": \"service.item\", \"layout\": \"\n<pivot model=\\\"service.item\\\" rows=\\\"product_id.name\\\" agg_name=\\\"count\\\">\\n    \n    <field name=\\\"contact_id.name\\\" string=\\\"Contact\\\"/>\\n\n    <field name=\\\"contact_id.categ_id.name\\\" string=\\\"Contact Category\\\"/>\\n\n    <field name=\\\"product_id.name\\\" string=\\\"Product\\\"/>\\n\n    <field name=\\\"product_id.categ_id.name\\\" string=\\\"Product Category\\\"/>\\n\n</pivot>\\n\"}, \"service_board_user\": {\"module\": \"netforce_service\", \"name\": \"service_board_user\", \"type\": \"board\", \"layout\": \"\n<board>\\n    \n    <hpanel>\\n        \n        <widget string=\\\"My Pending Jobs\\\" action=\\\"user_pending_job_widget\\\"/>\\n\n        <widget string=\\\"My Pending Tasks\\\" action=\\\"user_pending_task_widget\\\"/>\\n\n    </hpanel>\\n\n    <hpanel>\\n        \n        <widget string=\\\"Other Shared Pending Jobs\\\" action=\\\"shared_job_widget\\\"/>\\n\n        <widget string=\\\"My Jobs Per Service\\\" action=\\\"user_task_serv_widget\\\"/>\\n\n    </hpanel>\\n\n    <hpanel>\\n        \n        <widget string=\\\"Open Issues\\\" action=\\\"issue_widget\\\"/>\\n\n    </hpanel>\\n\n</board>\"}, \"task_search\": {\"module\": \"netforce_service\", \"name\": \"task_search\", \"type\": \"search\", \"model\": \"task\", \"layout\": \"\n<search model=\\\"task\\\">\\n    \n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"milestone_id\\\"/>\\n\n    <field name=\\\"task_list_id\\\"/>\\n\n    <field name=\\\"resource_id\\\"/>\\n\n    <field name=\\\"date_start\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</search>\\n\"}, \"report_job_list\": {\"module\": \"netforce_service\", \"name\": \"report_job_list\", \"type\": \"list\", \"model\": \"job\", \"layout\": \"\n<list model=\\\"job\\\" colors='{\\\"#fcc\\\":[[\\\"overdue\\\",\\\"=\\\",true]]}'>\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"service_type_id\\\"/>\\n\n    <field name=\\\"date_open\\\"/>\\n\n    <field name=\\\"date_close\\\"/>\\n\n    <field name=\\\"labor_cost\\\"/>\\n\n    <field name=\\\"labor_sell\\\"/>\\n\n    <field name=\\\"part_cost\\\"/>\\n\n    <field name=\\\"part_sell\\\"/>\\n\n    <field name=\\\"other_cost\\\"/>\\n\n    <field name=\\\"other_sell\\\"/>\\n\n    <field name=\\\"total_cost\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"service_categ_form\": {\"module\": \"netforce_service\", \"name\": \"service_categ_form\", \"type\": \"form\", \"model\": \"service.categ\", \"layout\": \"\n<form model=\\\"service.categ\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"job_sequence_id\\\"/>\\n\n    <field name=\\\"manager_group_id\\\" help=\\\"Jobs of this service category will appear in the dashboard of manager users\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\"}, \"service_gantt\": {\"module\": \"netforce_service\", \"name\": \"service_gantt\", \"type\": \"gantt\", \"model\": \"service.resource.alloc\", \"layout\": \"\n<gantt model=\\\"service.resource.alloc\\\" group=\\\"job_id\\\" start=\\\"time_start\\\" stop=\\\"time_stop\\\" action=\\\"job\\\" label=\\\"resource_id\\\">\\n    \n    <field name=\\\"resource_id\\\"/>\\n\n    <field name=\\\"job_id\\\"/>\\n\n    <field name=\\\"time_start\\\"/>\\n\n    <field name=\\\"time_stop\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</gantt>\\n\"}, \"task_widget\": {\"module\": \"netforce_service\", \"name\": \"task_widget\", \"type\": \"list\", \"model\": \"task\", \"layout\": \"\n<list model=\\\"task\\\">\\n    \n    <field name=\\\"job_id\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"deadline\\\"/>\\n\n</list>\\n\"}, \"skill_level_form\": {\"module\": \"netforce_service\", \"name\": \"skill_level_form\", \"type\": \"form\", \"model\": \"skill.level\", \"layout\": \"\n<form model=\\\"skill.level\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"level\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"task_list_template_list\": {\"module\": \"netforce_service\", \"name\": \"task_list_template_list\", \"type\": \"list\", \"model\": \"task.list.template\", \"layout\": \"\n<list model=\\\"task.list.template\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</list>\\n\"}, \"period_list\": {\"module\": \"netforce_service\", \"name\": \"period_list\", \"type\": \"list\", \"model\": \"service.period\", \"layout\": \"\n<list model=\\\"service.period\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n</list>\"}, \"project_form\": {\"module\": \"netforce_service\", \"name\": \"project_form\", \"type\": \"form\", \"model\": \"project\", \"layout\": \"\n<form model=\\\"project\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Create Customer Invoice\\\" method=\\\"copy_to_cust_invoice\\\"/>\\n\n            <item string=\\\"Create Supplier Invoice\\\" method=\\\"copy_to_sup_invoice\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Create Tracking Code\\\" method=\\\"create_track\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <tabs string=\\\"General\\\">\\n        \n        <tab string=\\\"General\\\">\\n            \n            <field name=\\\"name\\\"/>\\n\n            <field name=\\\"number\\\"/>\\n\n            <field name=\\\"contact_id\\\"/>\\n\n            <field name=\\\"state\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"start_date\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"end_date\\\"/>\\n\n            <field name=\\\"end_date_actual\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"sale_categ_id\\\"/>\\n\n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"resources\\\"/>\\n\n            <separator string=\\\"Invoicing\\\"/>\\n\n            <field name=\\\"amount_invoice\\\"/>\\n\n            <field name=\\\"amount_paid\\\"/>\\n\n            <field name=\\\"amount_unpaid\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Costing\\\">\\n            \n            <field name=\\\"sale_price\\\"/>\\n\n            <separator string=\\\"Actual Costs\\\"/>\\n\n            <field name=\\\"track_id\\\"/>\\n\n            <field name=\\\"track_entries\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"cost_amount\\\"/>\\n\n            <separator string=\\\"Profit\\\"/>\\n\n            <field name=\\\"profit_amount\\\"/>\\n\n            <field name=\\\"margin_percent\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other\\\">\\n            \n            <field name=\\\"total_area\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"other_price\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <related>\\n        \n        <field name=\\\"milestones\\\"/>\\n\n        <field name=\\\"sale_orders\\\"/>\\n\n        <field name=\\\"invoices\\\"/>\\n\n        <field name=\\\"jobs\\\"/>\\n\n        <field name=\\\"tasks\\\"/>\\n\n        <field name=\\\"work_time\\\"/>\\n\n        <field name=\\\"issues\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"expiry_date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"expiry_date\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"claims\\\"/>\\n\n        <field name=\\\"borrows\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"task_form_share\": {\"module\": \"netforce_service\", \"name\": \"task_form_share\", \"type\": \"form\", \"model\": \"task\", \"layout\": \"\n<form model=\\\"task\\\">\\n    \n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"resource_id\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"plan_hours\\\"/>\\n\n    <field name=\\\"actual_hours\\\" view=\\\"field_duration\\\"/>\\n\n    <field name=\\\"timer_start\\\" invisible=\\\"1\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"priority\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"details\\\"/>\\n\n    <field name=\\\"image\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"date_created\\\"/>\\n\n</form>\\n\"}, \"job_list\": {\"module\": \"netforce_service\", \"name\": \"job_list\", \"type\": \"list\", \"model\": \"job\", \"priority\": 1, \"layout\": \"\n<list model=\\\"job\\\" colors='{\\\"#fcc\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"#cfc\\\":[[\\\"state\\\",\\\"=\\\",\\\"verified\\\"]]}' priority=\\\"1\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"resource_id\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"service_type_id\\\"/>\\n\n    <field name=\\\"priority\\\"/>\\n\n    <field name=\\\"total_cost\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"user_pending_task_widget\": {\"module\": \"netforce_service\", \"name\": \"user_pending_task_widget\", \"type\": \"list\", \"model\": \"task\", \"layout\": \"\n<list model=\\\"task\\\" colors='{\\\"deadline,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]]}' noselect=\\\"1\\\" action=\\\"view_task\\\">\\n    \n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"job_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"deadline\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</list>\"}, \"service_resource_alloc_list\": {\"module\": \"netforce_service\", \"name\": \"service_resource_alloc_list\", \"type\": \"list\", \"model\": \"service.resource.alloc\", \"layout\": \"\n<list model=\\\"service.resource.alloc\\\">\\n    \n    <field name=\\\"resource_id\\\"/>\\n\n    <field name=\\\"job_id\\\"/>\\n\n    <field name=\\\"service_item_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"time_start\\\"/>\\n\n    <field name=\\\"time_stop\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</list>\\n\"}, \"service_item_form\": {\"module\": \"netforce_service\", \"name\": \"service_item_form\", \"type\": \"form\", \"model\": \"service.item\", \"layout\": \"\n<form model=\\\"service.item\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"lot_id\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"priority\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"cost_price\\\"/>\\n\n    <field name=\\\"sale_price\\\"/>\\n\n    <field name=\\\"sale_date\\\"/>\\n\n    <field name=\\\"arrival_date\\\"/>\\n\n    <field name=\\\"arrival_inspection_date\\\"/>\\n\n    <field name=\\\"location\\\"/>\\n\n    <field name=\\\"commission_date\\\"/>\\n\n    <field name=\\\"warranty_exp_date\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"last_counter\\\"/>\\n\n    <field name=\\\"last_counter_date\\\"/>\\n\n    <field name=\\\"est_counter_per_year\\\"/>\\n\n    <field name=\\\"est_counter\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"industry_id\\\"/>\\n\n    <field name=\\\"application_id\\\" condition='[[\\\"industry_id\\\",\\\"=\\\",industry_id]]'/>\\n\n    <field name=\\\"notes\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"components\\\"/>\\n\n        <field name=\\\"addresses\\\"/>\\n\n        <field name=\\\"jobs\\\" action=\\\"job\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"expiry_date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"expiry_date\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"task_list_template_form\": {\"module\": \"netforce_service\", \"name\": \"task_list_template_form\", \"type\": \"form\", \"model\": \"task.list.template\", \"layout\": \"\n<form model=\\\"task.list.template\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"task_templates\\\">\\n            \n            <list>\\n                \n                <field name=\\\"sequence\\\"/>\\n\n                <field name=\\\"title\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"start_after\\\"/>\\n\n                <field name=\\\"duration\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"sequence\\\"/>\\n\n                <field name=\\\"title\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"start_after\\\"/>\\n\n                <field name=\\\"duration\\\"/>\\n\n            </form>\\n\n        </field>\\n\n    </related>\\n\n</form>\\n\"}, \"job_pivot\": {\"module\": \"netforce_service\", \"name\": \"job_pivot\", \"type\": \"pivot\", \"model\": \"job\", \"layout\": \"\n<pivot model=\\\"job\\\" rows=\\\"project_id.name\\\" agg_name=\\\"count\\\" vals=\\\"amount_total\\\">\\n    \n    <field name=\\\"contact_id.name\\\" string=\\\"Contact\\\"/>\\n\n    <field name=\\\"contact_id.categ_id.name\\\" string=\\\"Contact Category\\\"/>\\n\n    <field name=\\\"service_type_id.name\\\" string=\\\"Service Type\\\"/>\\n\n    <field name=\\\"project_id.name\\\" string=\\\"Project\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</pivot>\\n\"}, \"required_doc_list\": {\"module\": \"netforce_service\", \"name\": \"required_doc_list\", \"type\": \"list\", \"model\": \"required.doc\", \"layout\": \"\n<list model=\\\"required.doc\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</list>\"}, \"service_stage_form\": {\"module\": \"netforce_service\", \"name\": \"service_stage_form\", \"type\": \"form\", \"model\": \"service.stage\", \"layout\": \"\n<form model=\\\"service.stage\\\">\\n    \n    <field name=\\\"categ_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\"}, \"period_form\": {\"module\": \"netforce_service\", \"name\": \"period_form\", \"type\": \"form\", \"model\": \"service.period\", \"layout\": \"\n<form model=\\\"service.period\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\"}, \"task_list\": {\"module\": \"netforce_service\", \"name\": \"task_list\", \"type\": \"list\", \"model\": \"task\", \"priority\": 1, \"layout\": \"\n<list model=\\\"task\\\" colors='{\\\"#ccc\\\":[[\\\"state\\\",\\\"=\\\",\\\"closed\\\"]],\\\"#ccf\\\":[[\\\"state\\\",\\\"=\\\",\\\"in_progress\\\"]],\\\"#efe\\\":[[\\\"state\\\",\\\"=\\\",\\\"ready\\\"]],\\\"#fcc\\\":[[\\\"state\\\",\\\"=\\\",\\\"wait_customer\\\"]],\\\"#ffc\\\":[[\\\"state\\\",\\\"=\\\",\\\"wait_internal\\\"]]}' priority=\\\"1\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"date_created\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"resource_id\\\"/>\\n\n    <field name=\\\"duration\\\"/>\\n\n    <field name=\\\"date_start\\\"/>\\n\n    <field name=\\\"date_end\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"progress\\\"/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"milestone_id\\\"/>\\n\n    <field name=\\\"task_list_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"work_type_form\": {\"module\": \"netforce_service\", \"name\": \"work_type_form\", \"type\": \"form\", \"model\": \"work.type\", \"layout\": \"\n<form model=\\\"work.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"pending_task_widget\": {\"module\": \"netforce_service\", \"name\": \"pending_task_widget\", \"type\": \"list\", \"model\": \"task\", \"priority\": 20, \"layout\": \"\n<list model=\\\"task\\\" priority=\\\"20\\\">\\n    \n    <head>\\n        \n        <button string=\\\"New Task\\\" icon=\\\"plus-sign\\\" noselect=\\\"1\\\" action=\\\"task\\\" action_options=\\\"mode=form\\\"/>\\n\n    </head>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"job_id\\\"/>\\n\n    <field name=\\\"subject\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"deadline\\\"/>\\n\n</list>\\n\"}, \"batch_job\": {\"module\": \"netforce_service\", \"name\": \"batch_job\", \"type\": \"form\", \"model\": \"batch.job\", \"layout\": \"\n<form model=\\\"batch.job\\\" height=\\\"200\\\">\\n    \n    <label string=\\\"This will create jobs for all your clients, using the job templates configured in each client.\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Create Jobs\\\" method=\\\"create_jobs\\\" type=\\\"primary\\\" icon=\\\"arrow-right\\\"/>\\n\n    </foot>\\n\n</form>\"}, \"service_menu\": {\"module\": \"netforce_service\", \"name\": \"service_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Services\\\">\\n    \n    <item string=\\\"Dashboard\\\" icon=\\\"fa_chart_pie\\\" action=\\\"service_board\\\"/>\\n\n    <item string=\\\"Services\\\" icon=\\\"fa_wrench\\\">\\n        \n        <item string=\\\"Projects\\\" action=\\\"project\\\"/>\\n\n        <item string=\\\"Service Items\\\" action=\\\"service_item\\\"/>\\n\n        <item string=\\\"Service Orders\\\" action=\\\"job\\\"/>\\n\n        <item string=\\\"Tasks\\\" action=\\\"task\\\"/>\\n</item>\\n\n    <item string=\\\"Planning\\\" icon=\\\"fa_chalkboard_teacher\\\">\\n        \n        <item string=\\\"Resources\\\" action=\\\"service_resource\\\"/>\\n\n        <item string=\\\"Resource Allocations\\\" action=\\\"service_resource_alloc\\\"/>\\n\n        <item string=\\\"Gantt Chart\\\" action=\\\"service_gantt\\\"/>\\n</item>\\n\n    <item string=\\\"Time Keeping\\\" icon=\\\"fa_clock\\\">\\n        \n        <item string=\\\"Time Sheets\\\" action=\\\"work_time\\\"/>\\n</item>\\n\n    <item string=\\\"Support\\\" icon=\\\"fa_headset\\\">\\n        \n        <item string=\\\"Issues\\\" action=\\\"issue\\\"/>\\n</item>\\n\n    <item string=\\\"Reports\\\" icon=\\\"fa_chart_bar\\\">\\n        \n        <item string=\\\"Service Item Analysis\\\" action=\\\"service_item_analysis\\\"/>\\n\n        <item string=\\\"Service Order Analysis\\\" action=\\\"job_analysis\\\"/>\\n\n        <item string=\\\"Task Analysis\\\" action=\\\"task_analysis\\\"/>\\n\n        <item string=\\\"Work Time Analysis\\\" action=\\\"work_time_analysis\\\"/>\\n</item>\\n\n    <item string=\\\"Settings\\\" icon=\\\"fa_cog\\\">\\n        \n        <item string=\\\"Service Types\\\" action=\\\"service_type\\\"/>\\n\n        <item string=\\\"Applications\\\" action=\\\"service_application\\\"/>\\n\n        <item string=\\\"Skill Levels\\\" action=\\\"skill_level\\\"/>\\n\n        <item string=\\\"Service Order Templates\\\" action=\\\"job_template\\\"/>\\n</item>\\n\n</menu>\\n\"}, \"unass_task_widget\": {\"module\": \"netforce_service\", \"name\": \"unass_task_widget\", \"type\": \"list\", \"model\": \"task\", \"layout\": \"\n<list model=\\\"task\\\" colors='{\\\"#f99\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"#9f9\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]}'>\\n    \n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"deadline\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</list>\"}, \"task_pivot\": {\"module\": \"netforce_service\", \"name\": \"task_pivot\", \"type\": \"pivot\", \"model\": \"task\", \"layout\": \"\n<pivot model=\\\"task\\\" rows=\\\"resource_id.name\\\" cols=\\\"project_id.name\\\" agg_name=\\\"count\\\">\\n    \n    <field name=\\\"resource_id.name\\\" string=\\\"Resource\\\"/>\\n\n    <field name=\\\"project_id.name\\\" string=\\\"Project\\\"/>\\n\n    <field name=\\\"job_id.name\\\" string=\\\"Service Order\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</pivot>\\n\"}, \"job_form\": {\"module\": \"netforce_service\", \"name\": \"job_form\", \"type\": \"form\", \"model\": \"job\", \"layout\": \"\n<form model=\\\"job\\\" show_company=\\\"1\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy To Goods Issue\\\" method=\\\"copy_to_pick_out\\\"/>\\n\n            <item string=\\\"Copy To Invoice\\\" method=\\\"copy_to_invoice\\\"/>\\n\n            <item string=\\\"Create Tracking Code\\\" method=\\\"create_track\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"project_id\\\" condition='[[\\\"contact_id\\\",\\\"=\\\",contact_id]]' span=\\\"2\\\"/>\\n\n                <field name=\\\"template_id\\\" span=\\\"2\\\" onchange=\\\"onchange_template\\\"/>\\n\n                <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"service_type_id\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"state\\\" onchange=\\\"onchange_state\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"due_date\\\" onchange=\\\"onchange_due_date\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"close_date\\\" onchange=\\\"onchange_close_date\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"related_id\\\" span=\\\"2\\\"/>\\n\n            </group>\\n\n            <separator string=\\\"Worksheet\\\"/>\\n\n            <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"type\\\"/>\\n\n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n                    <field name=\\\"description\\\"/>\\n\n                    <field name=\\\"qty\\\"/>\\n\n                    <field name=\\\"uom_id\\\"/>\\n\n                    <field name=\\\"unit_price\\\"/>\\n\n                    <field name=\\\"amount\\\"/>\\n\n                    <field name=\\\"payment_type\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <group offset=\\\"7\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n                \n                <field name=\\\"amount_contract\\\"/>\\n\n                <field name=\\\"amount_job\\\"/>\\n\n                <field name=\\\"amount_total\\\"/>\\n\n            </group>\\n\n        </tab>\\n\n        <tab string=\\\"Planning\\\">\\n            \n            <field name=\\\"time_start\\\"/>\\n\n            <field name=\\\"time_stop\\\"/>\\n\n            <field name=\\\"skill_level_id\\\"/>\\n\n            <field name=\\\"priority\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"date_open\\\"/>\\n\n            <field name=\\\"date_close\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Approval\\\">\\n            \n            <separator string=\\\"Complete Order\\\"/>\\n\n            <field name=\\\"done_approved_by_id\\\"/>\\n\n            <button string=\\\"Approve\\\" icon=\\\"ok\\\" action=\\\"job_approve_done\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Costing\\\">\\n            \n            <field name=\\\"track_id\\\"/>\\n\n            <field name=\\\"track_balance\\\"/>\\n\n            <field name=\\\"track_entries\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"date\\\"/>\\n\n                    <field name=\\\"track_id\\\"/>\\n\n                    <field name=\\\"related_id\\\"/>\\n\n                    <field name=\\\"product_id\\\"/>\\n\n                    <field name=\\\"description\\\"/>\\n\n                    <field name=\\\"qty\\\"/>\\n\n                    <field name=\\\"uom_id\\\"/>\\n\n                    <field name=\\\"amount\\\"/>\\n\n                </list>\\n\n            </field>\\n\n        </tab>\\n\n        <tab string=\\\"Other\\\">\\n            \n            <field name=\\\"location_id\\\" span=\\\"2\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"complaints\\\"/>\\n\n            <field name=\\\"cause\\\"/>\\n\n            <field name=\\\"correction\\\"/>\\n\n            <separator string=\\\"Reason Codes\\\"/>\\n\n            <field name=\\\"multi_visit_code_id\\\"/>\\n\n            <field name=\\\"late_response_code_id\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <related>\\n        \n        <field name=\\\"items\\\">\\n            \n            <list>\\n                \n                <field name=\\\"service_item_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"fault_reason_id\\\"/>\\n\n                <field name=\\\"counter\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"service_item_id\\\" condition='[[\\\"contact_id\\\",\\\"=\\\",parent.contact_id]]'/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"fault_reason_id\\\"/>\\n\n                <field name=\\\"counter\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"allocs\\\">\\n            \n            <list>\\n                \n                <field name=\\\"time_start\\\"/>\\n\n                <field name=\\\"time_stop\\\"/>\\n\n                <field name=\\\"resource_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"time_start\\\"/>\\n\n                <field name=\\\"time_stop\\\"/>\\n\n                <field name=\\\"resource_id\\\" context='{\\\"job_id\\\":job_id,\\\"time_start\\\":time_start,\\\"time_stop\\\":time_stop}' condition='[[\\\"is_avail\\\",\\\"=\\\",true]]'/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"job_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"tasks\\\"/>\\n\n        <field name=\\\"work_time\\\">\\n            \n            <list>\\n                \n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"employee_id\\\"/>\\n\n                <field name=\\\"product_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"duration\\\"/>\\n\n                <field name=\\\"unit_price\\\"/>\\n\n                <field name=\\\"amount\\\"/>\\n\n            </list>\\n\n        </field>\\n\n        <field name=\\\"stock_moves\\\"/>\\n\n        <field name=\\\"invoices\\\"/>\\n\n        <field name=\\\"activities\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"contact_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"expiry_date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"contact_id\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"expiry_date\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"timesheet_form\": {\"module\": \"netforce_service\", \"name\": \"timesheet_form\", \"type\": \"form\", \"model\": \"time.sheet\", \"layout\": \"\n<form model=\\\"time.sheet\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"!=\\\",\\\"draft\\\"]]}'>\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"resource_id\\\"/>\\n\n    <field name=\\\"work_time\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"duration\\\"/>\\n\n            <field name=\\\"unit_price\\\"/>\\n\n            <field name=\\\"project_id\\\"/>\\n\n            <field name=\\\"job_id\\\"/>\\n\n            <field name=\\\"amount\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <foot>\\n        \n        <button string=\\\"Submit for approval\\\" method=\\\"submit\\\" states=\\\"draft\\\" icon=\\\"arrow-right\\\"/>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" states=\\\"waiting_approval\\\" type=\\\"success\\\"/>\\n\n        <button string=\\\"Reject\\\" method=\\\"reject\\\" states=\\\"waiting_approval\\\" type=\\\"danger\\\"/>\\n\n        <button string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"approved,rejected\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"task_calendar\": {\"module\": \"netforce_service\", \"name\": \"task_calendar\", \"type\": \"calendar\", \"model\": \"task\", \"layout\": \"\n<calendar model=\\\"task\\\" start_field=\\\"date_start\\\" end_field=\\\"date_end\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"resource_id\\\"/>\\n\n    <field name=\\\"duration\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</calendar>\\n\"}, \"task_list_list\": {\"module\": \"netforce_service\", \"name\": \"task_list_list\", \"type\": \"list\", \"model\": \"task.list\", \"layout\": \"\n<list model=\\\"task.list\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Create Task List From Template\\\" action=\\\"create_task_list\\\" icon=\\\"plus-sign\\\"/>\\n\n    </top>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"date_created\\\"/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"milestone_id\\\"/>\\n\n</list>\\n\"}, \"application_form\": {\"module\": \"netforce_service\", \"name\": \"application_form\", \"type\": \"form\", \"model\": \"service.application\", \"layout\": \"\n<form model=\\\"service.application\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"industry_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</form>\\n\"}, \"project_widget\": {\"module\": \"netforce_service\", \"name\": \"project_widget\", \"type\": \"list\", \"layout\": \"\n<list hide_select=\\\"1\\\" show_print=\\\"1\\\">\\n    \n    <head replace=\\\"1\\\">\\n    </head>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"end_date\\\"/>\\n\n    <field name=\\\"end_date_actual\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"sale_order_id\\\"/>\\n\n    <field name=\\\"sale_categ_id\\\"/>\\n\n    <field name=\\\"sale_price\\\" show_total=\\\"1\\\"/>\\n\n    <field name=\\\"total_area\\\" show_total=\\\"1\\\"/>\\n\n    <field name=\\\"sale_price_area\\\" show_total=\\\"1\\\"/>\\n\n    <field name=\\\"other_price\\\" show_total=\\\"1\\\"/>\\n\n    <field name=\\\"profit_amount\\\" show_total=\\\"1\\\"/>\\n\n    <field name=\\\"margin_percent\\\"/>\\n\n    <field name=\\\"amount_paid\\\" show_total=\\\"1\\\"/>\\n\n    <field name=\\\"amount_unpaid\\\" show_total=\\\"1\\\"/>\\n\n</list>\\n\"}, \"required_doc_form\": {\"module\": \"netforce_service\", \"name\": \"required_doc_form\", \"type\": \"form\", \"model\": \"required.doc\", \"layout\": \"\n<form model=\\\"required.doc\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</form>\"}, \"service_tree\": {\"module\": \"netforce_service\", \"name\": \"service_tree\", \"type\": \"tree\", \"model\": \"service\", \"layout\": \"\n<tree model=\\\"service\\\" child_field=\\\"children\\\">\\n    \n    <field name=\\\"full_name\\\" nowrap=\\\"1\\\"/>\\n\n    <field name=\\\"contact_id\\\" nowrap=\\\"1\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"stage_id\\\"/>\\n\n    <field name=\\\"num_tasks\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <button string=\\\"View Details\\\" action=\\\"service_tree\\\" action_options=\\\"mode=page\\\"/>\\n\n</tree>\\n\"}, \"service_type_list\": {\"module\": \"netforce_service\", \"name\": \"service_type_list\", \"type\": \"list\", \"model\": \"service.type\", \"layout\": \"\n<list model=\\\"service.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n</list>\\n\"}, \"application_list\": {\"module\": \"netforce_service\", \"name\": \"application_list\", \"type\": \"list\", \"model\": \"service.application\", \"layout\": \"\n<list model=\\\"service.application\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"industry_id\\\"/>\\n\n</list>\\n\"}, \"service_form\": {\"module\": \"netforce_service\", \"name\": \"service_form\", \"type\": \"form\", \"model\": \"service\", \"layout\": \"\n<form model=\\\"service\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"categ_id\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"group_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\"}, \"service_create_quot\": {\"module\": \"netforce_service\", \"name\": \"service_create_quot\", \"type\": \"form\", \"model\": \"service.create.quot\", \"layout\": \"\n<form model=\\\"service.create.quot\\\">\\n    \n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"job_template_id\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Create Quotation\\\" method=\\\"create_quot\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"unass_job_widget\": {\"module\": \"netforce_service\", \"name\": \"unass_job_widget\", \"type\": \"list\", \"model\": \"job\", \"layout\": \"\n<list model=\\\"job\\\" colors='{\\\"due_date,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"days_late,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"#9f9\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]}' noselect=\\\"1\\\">\\n    \n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"request_by_id\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</list>\"}, \"service_stage_list\": {\"module\": \"netforce_service\", \"name\": \"service_stage_list\", \"type\": \"list\", \"model\": \"service.stage\", \"layout\": \"\n<list model=\\\"service.stage\\\">\\n    \n    <field name=\\\"categ_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n</list>\"}, \"work_type_list\": {\"module\": \"netforce_service\", \"name\": \"work_type_list\", \"type\": \"list\", \"model\": \"work.type\", \"layout\": \"\n<list model=\\\"work.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n</list>\\n\"}, \"task_list_form\": {\"module\": \"netforce_service\", \"name\": \"task_list_form\", \"type\": \"form\", \"model\": \"task.list\", \"layout\": \"\n<form model=\\\"task.list\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"date_created\\\"/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"milestone_id\\\" condition='[[\\\"project_id\\\",\\\"=\\\",project_id]]'/>\\n\n    <related>\\n        \n        <field name=\\\"tasks\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"service_item_list\": {\"module\": \"netforce_service\", \"name\": \"service_item_list\", \"type\": \"list\", \"model\": \"service.item\", \"layout\": \"\n<list model=\\\"service.item\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Copy old serial\\\" method=\\\"copy_old_serial\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"lot_id\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"commission_date\\\"/>\\n\n    <field name=\\\"warranty_exp_date\\\"/>\\n\n    <field name=\\\"last_service_date\\\"/>\\n\n    <field name=\\\"est_counter\\\"/>\\n\n    <field name=\\\"industry_id\\\"/>\\n\n    <field name=\\\"application_id\\\"/>\\n\n    <field name=\\\"last_job_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"work_time_form\": {\"module\": \"netforce_service\", \"name\": \"work_time_form\", \"type\": \"form\", \"model\": \"work.time\", \"layout\": \"\n<form model=\\\"work.time\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"resource_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"actual_hours\\\" view=\\\"field_duration\\\"/>\\n\n    <field name=\\\"bill_hours\\\"/>\\n\n    <separator string=\\\"Costing\\\"/>\\n\n    <field name=\\\"track_id\\\"/>\\n\n    <field name=\\\"cost_amount\\\"/>\\n\n    <separator string=\\\"Invoicing\\\"/>\\n\n    <field name=\\\"invoice_id\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Approve\\\" type=\\\"success\\\" method=\\\"approve\\\" states=\\\"waiting_approval\\\" icon=\\\"ok\\\" perm=\\\"approve_timesheet\\\"/>\\n\n        <button string=\\\"Reject\\\" type=\\\"danger\\\" method=\\\"reject\\\" states=\\\"waiting_approval\\\" icon=\\\"remove\\\" perm=\\\"approve_timesheet\\\"/>\\n\n        <button string=\\\"Waiting Approval\\\" icon=\\\"arrow-left\\\" method=\\\"waiting_approval\\\" states=\\\"approved,rejected\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"track_entries\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"milestone_list\": {\"module\": \"netforce_service\", \"name\": \"milestone_list\", \"type\": \"list\", \"model\": \"project.milestone\", \"layout\": \"\n<list model=\\\"project.milestone\\\">\\n    \n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"plan_date_from\\\"/>\\n\n    <field name=\\\"plan_date_to\\\"/>\\n\n    <field name=\\\"act_date_from\\\"/>\\n\n    <field name=\\\"act_date_to\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"job_widget\": {\"module\": \"netforce_service\", \"name\": \"job_widget\", \"type\": \"list\", \"model\": \"job\", \"priority\": 20, \"layout\": \"\n<list model=\\\"job\\\" colors='{\\\"#fcc\\\":[[\\\"overdue\\\",\\\"=\\\",true]]}' priority=\\\"20\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"service_type_id\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"time_start\\\"/>\\n\n    <field name=\\\"time_stop\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"project_list\": {\"name\": \"project_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <head>\\n    \n        <button string=\\\"Update Support Emails\\\" method=\\\"update_support_email\\\"/>\\n\n    </head>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"support_email\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\", \"model\": \"project\"}, \"service_categ_list\": {\"module\": \"netforce_service\", \"name\": \"service_categ_list\", \"type\": \"list\", \"model\": \"service.categ\", \"layout\": \"\n<list model=\\\"service.categ\\\">\\n    \n    <field name=\\\"full_name\\\"/>\\n\n    <field name=\\\"job_sequence_id\\\"/>\\n\n    <field name=\\\"manager_group_id\\\"/>\\n\n</list>\"}, \"report_service_item_list\": {\"module\": \"netforce_service\", \"name\": \"report_service_item_list\", \"type\": \"list\", \"model\": \"service.item\", \"priority\": 20, \"layout\": \"\n<list model=\\\"service.item\\\" priority=\\\"20\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"serial_no\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"commission_date\\\"/>\\n\n    <field name=\\\"industry_id\\\"/>\\n\n    <field name=\\\"application_id\\\"/>\\n\n</list>\\n\"}, \"task_list_share\": {\"module\": \"netforce_service\", \"name\": \"task_list_share\", \"type\": \"list\", \"model\": \"task\", \"layout\": \"\n<list model=\\\"task\\\">\\n    \n    <search>\\n        \n        <field name=\\\"project_id\\\"/>\\n\n        <field name=\\\"title\\\"/>\\n\n        <field name=\\\"resource_id\\\"/>\\n\n        <field name=\\\"state\\\"/>\\n\n    </search>\\n\n    <field name=\\\"date_created\\\"/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"resource_id\\\"/>\\n\n    <field name=\\\"plan_hours\\\"/>\\n\n    <field name=\\\"actual_hours\\\" view=\\\"field_duration\\\" view_options='{\\\"no_input\\\":1}'/>\\n\n    <field name=\\\"timer_start\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"priority\\\"/>\\n\n    <button string=\\\"Close\\\" method=\\\"set_done\\\" icon=\\\"arrow-right\\\" states=\\\"open\\\"/>\\n\n    <button string=\\\"Reopen\\\" method=\\\"reopen\\\" icon=\\\"arrow-left\\\" states=\\\"closed\\\"/>\\n\n    <button string=\\\"Reviewed\\\" method=\\\"set_reviewed\\\" icon=\\\"ok\\\" states=\\\"closed\\\" type=\\\"success\\\"/>\\n\n</list>\\n\"}, \"service_list\": {\"module\": \"netforce_service\", \"name\": \"service_list\", \"type\": \"list\", \"model\": \"service\", \"layout\": \"\n<list model=\\\"service\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"categ_id\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"group_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n</list>\"}, \"service_resource_list\": {\"module\": \"netforce_service\", \"name\": \"service_resource_list\", \"type\": \"list\", \"model\": \"service.resource\", \"layout\": \"\n<list model=\\\"service.resource\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"skill_level_id\\\"/>\\n\n</list>\\n\"}, \"work_time_list\": {\"module\": \"netforce_service\", \"name\": \"work_time_list\", \"type\": \"list\", \"model\": \"work.time\", \"layout\": \"\n<list model=\\\"work.time\\\" colors='{\\\"#fcc\\\":[[\\\"state\\\",\\\"=\\\",\\\"rejected\\\"]],\\\"#cfc\\\":[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]]}'>\\n    \n    <head>\\n        \n        <button string=\\\"Approve\\\" method=\\\"approve\\\" type=\\\"success\\\" icon=\\\"ok\\\"/>\\n\n        <button string=\\\"Reject\\\" method=\\\"reject\\\" type=\\\"danger\\\" icon=\\\"remove\\\"/>\\n\n        <button string=\\\"Copy To Invoice\\\" method=\\\"copy_to_invoice\\\"/>\\n\n    </head>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"resource_id\\\"/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"actual_hours\\\"/>\\n\n    <field name=\\\"bill_hours\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"invoice_id\\\"/>\\n\n</list>\\n\"}, \"fault_code_form\": {\"module\": \"netforce_service\", \"name\": \"fault_code_form\", \"type\": \"form\", \"model\": \"fault.code\", \"layout\": \"\n<form model=\\\"fault.code\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</form>\\n\"}, \"work_time_list_mobile\": {\"module\": \"netforce_service\", \"name\": \"work_time_list_mobile\", \"type\": \"list_mobile\", \"model\": \"work.time\", \"layout\": \"\n<list_mobile model=\\\"work.time\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"actual_hours\\\"/>\\n\n    <field name=\\\"bill_hours\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"description\\\"/>\\n\n</list_mobile>\\n\"}, \"job_template_form\": {\"module\": \"netforce_service\", \"name\": \"job_template_form\", \"type\": \"form\", \"model\": \"job.template\", \"layout\": \"\n<form model=\\\"job.template\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"Copy To Quotation\\\" action=\\\"service_create_quot\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"service_type_id\\\"/>\\n\n    <field name=\\\"skill_level_id\\\"/>\\n\n    <separator string=\\\"Worksheet\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"type\\\"/>\\n\n            <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"unit_price\\\"/>\\n\n            <field name=\\\"amount\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"amount_labor\\\"/>\\n\n        <field name=\\\"amount_part\\\"/>\\n\n        <field name=\\\"amount_other\\\"/>\\n\n        <field name=\\\"amount_total\\\"/>\\n\n    </group>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"service_resource_form\": {\"module\": \"netforce_service\", \"name\": \"service_resource_form\", \"type\": \"form\", \"model\": \"service.resource\", \"layout\": \"\n<form model=\\\"service.resource\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"skill_level_id\\\"/>\\n\n    <field name=\\\"product_categs\\\"/>\\n\n    <field name=\\\"regions\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"allocs\\\">\\n            \n            <list>\\n                \n                <field name=\\\"job_id\\\"/>\\n\n                <field name=\\\"time_start\\\"/>\\n\n                <field name=\\\"time_stop\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"job_id\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"time_start\\\"/>\\n\n                <field name=\\\"time_stop\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"resource_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"contact_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"expiry_date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"contact_id\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"expiry_date\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"time_sheets\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"service_type_form\": {\"module\": \"netforce_service\", \"name\": \"service_type_form\", \"type\": \"form\", \"model\": \"service.type\", \"layout\": \"\n<form model=\\\"service.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n</form>\\n\"}, \"shared_job_widget\": {\"module\": \"netforce_service\", \"name\": \"shared_job_widget\", \"type\": \"list\", \"model\": \"job\", \"layout\": \"\n<list model=\\\"job\\\" colors='{\\\"due_date,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"days_late,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"#9f9\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]}' noselect=\\\"1\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n</list>\"}, \"milestone_form\": {\"module\": \"netforce_service\", \"name\": \"milestone_form\", \"type\": \"form\", \"model\": \"project.milestone\", \"layout\": \"\n<form model=\\\"project.milestone\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Create Actual Cost Tracking Code\\\" method=\\\"create_track\\\"/>\\n\n            <item string=\\\"Create Estimate Cost Tracking Code\\\" method=\\\"create_est_track\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <tabs string=\\\"General\\\">\\n        \n        <tab string=\\\"General\\\">\\n            \n            <field name=\\\"project_id\\\"/>\\n\n            <field name=\\\"sequence\\\"/>\\n\n            <field name=\\\"name\\\"/>\\n\n            <field name=\\\"description\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"plan_date_from\\\"/>\\n\n            <field name=\\\"plan_date_to\\\"/>\\n\n            <field name=\\\"act_date_from\\\"/>\\n\n            <field name=\\\"act_date_to\\\"/>\\n\n            <field name=\\\"state\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Costing\\\">\\n            \n            <separator string=\\\"Estimate Costs\\\"/>\\n\n            <field name=\\\"est_track_id\\\"/>\\n\n            <field name=\\\"est_track_balance\\\"/>\\n\n            <field name=\\\"est_track_entries\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"date\\\"/>\\n\n                    <field name=\\\"track_id\\\" condition='[[\\\"id\\\",\\\"child_of\\\",parent.est_track_id]]'/>\\n\n                    <field name=\\\"related_id\\\"/>\\n\n                    <field name=\\\"product_id\\\"/>\\n\n                    <field name=\\\"description\\\"/>\\n\n                    <field name=\\\"qty\\\"/>\\n\n                    <field name=\\\"uom_id\\\"/>\\n\n                    <field name=\\\"amount\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <separator string=\\\"Actual Costs\\\"/>\\n\n            <field name=\\\"track_id\\\"/>\\n\n            <field name=\\\"track_balance\\\"/>\\n\n            <field name=\\\"track_entries\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"date\\\"/>\\n\n                    <field name=\\\"track_id\\\" condition='[[\\\"id\\\",\\\"child_of\\\",parent.track_id]]'/>\\n\n                    <field name=\\\"related_id\\\"/>\\n\n                    <field name=\\\"product_id\\\"/>\\n\n                    <field name=\\\"description\\\"/>\\n\n                    <field name=\\\"qty\\\"/>\\n\n                    <field name=\\\"uom_id\\\"/>\\n\n                    <field name=\\\"amount\\\"/>\\n\n                </list>\\n\n            </field>\\n\n        </tab>\\n\n    </tabs>\\n\n    <related>\\n        \n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"expiry_date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"expiry_date\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"job_calendar\": {\"module\": \"netforce_service\", \"name\": \"job_calendar\", \"type\": \"calendar\", \"model\": \"job\", \"layout\": \"\n<calendar model=\\\"job\\\" start_field=\\\"time_start\\\" end_field=\\\"time_stop\\\" colors='{\\\"#090\\\":[[\\\"state\\\",\\\"in\\\",[\\\"done\\\",\\\"verified\\\",\\\"invoiced\\\"]]],\\\"#c00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"#999\\\":[[\\\"state\\\",\\\"=\\\",\\\"canceled\\\"]]}'>\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</calendar>\\n\"}, \"user_pending_job_widget\": {\"module\": \"netforce_service\", \"name\": \"user_pending_job_widget\", \"type\": \"list\", \"model\": \"job\", \"priority\": 20, \"layout\": \"\n<list model=\\\"job\\\" colors='{\\\"due_date,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"days_late,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"#9f9\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]}' noselect=\\\"1\\\" priority=\\\"20\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"work_time_search\": {\"module\": \"netforce_service\", \"name\": \"work_time_search\", \"type\": \"search\", \"model\": \"work.time\", \"layout\": \"\n<search model=\\\"work.time\\\">\\n    \n    <field name=\\\"resource_id\\\"/>\\n\n    <field name=\\\"resource_type\\\"/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n</search>\\n\"}, \"task_form\": {\"module\": \"netforce_service\", \"name\": \"task_form\", \"type\": \"form\", \"model\": \"task\", \"layout\": \"\n<form model=\\\"task\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"date_created\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"duration\\\" onchange=\\\"update_end\\\"/>\\n\n    <field name=\\\"date_start\\\" onchange=\\\"update_end\\\"/>\\n\n    <field name=\\\"date_end\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"milestone_id\\\" condition='[[\\\"project_id\\\",\\\"=\\\",project_id]]'/>\\n\n    <field name=\\\"task_list_id\\\" condition='[[\\\"milestone_id\\\",\\\"=\\\",milestone_id]]'/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"description\\\" width=\\\"600\\\" height=\\\"200\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"progress\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"done_date\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"assignments\\\">\\n            \n            <list>\\n                \n                <field name=\\\"resource_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"est_hours\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"resource_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"est_hours\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"depends\\\">\\n            \n            <list>\\n                \n                <field name=\\\"prev_task_id\\\"/>\\n\n                <field name=\\\"delay\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"prev_task_id\\\"/>\\n\n                <field name=\\\"delay\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"messages\\\"/>\\n\n        <field name=\\\"documents\\\"/>\\n\n        <field name=\\\"emails\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"service_search\": {\"module\": \"netforce_service\", \"name\": \"service_search\", \"type\": \"search\", \"model\": \"service\", \"layout\": \"\n<search model=\\\"service\\\">\\n    \n    <field name=\\\"categ_id\\\" select=\\\"1\\\"/>\\n\n    <field name=\\\"contact_id\\\" select=\\\"1\\\"/>\\n\n</search>\\n\"}, \"job_template_list\": {\"module\": \"netforce_service\", \"name\": \"job_template_list\", \"type\": \"list\", \"model\": \"job.template\", \"layout\": \"\n<list model=\\\"job.template\\\">\\n    \n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n</list>\\n\"}, \"timesheet_list\": {\"module\": \"netforce_service\", \"name\": \"timesheet_list\", \"type\": \"list\", \"model\": \"time.sheet\", \"layout\": \"\n<list model=\\\"time.sheet\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"resource_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"stock_consign_form\": {\"module\": \"netforce_stock\", \"name\": \"stock_consign_form\", \"type\": \"form\", \"model\": \"stock.consign\", \"layout\": \"\n<form model=\\\"stock.consign\\\" show_company=\\\"1\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Create Purchase Orders\\\" method=\\\"create_purchase\\\"/>\\n\n            <item string=\\\"Create Sales Orders\\\" method=\\\"create_sale\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n    <field name=\\\"order_type\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"periods\\\">\\n            \n            <list>\\n                \n                <field name=\\\"date_from\\\"/>\\n\n                <field name=\\\"date_to\\\"/>\\n\n                <field name=\\\"use_qty\\\"/>\\n\n                <field name=\\\"use_amount\\\"/>\\n\n                <field name=\\\"sale_qty\\\"/>\\n\n                <field name=\\\"sale_amount\\\"/>\\n\n                <field name=\\\"sale_id\\\"/>\\n\n                <field name=\\\"purchase_id\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"date_from\\\"/>\\n\n                <field name=\\\"date_to\\\"/>\\n\n                <field name=\\\"use_qty\\\"/>\\n\n                <field name=\\\"use_amount\\\"/>\\n\n                <field name=\\\"sale_qty\\\"/>\\n\n                <field name=\\\"sale_amount\\\"/>\\n\n                <field name=\\\"sale_id\\\"/>\\n\n                <field name=\\\"purchase_id\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"purchase_orders\\\"/>\\n\n        <field name=\\\"new_invoice_lines\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"stock_forecast\": {\"module\": \"netforce_stock\", \"name\": \"stock_forecast\", \"type\": \"form\", \"model\": \"stock.forecast\", \"layout\": \"\n<form model=\\\"stock.forecast\\\" title=\\\"Stock Forecast\\\">\\n    \n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Update Forecast\\\" icon=\\\"refresh\\\" type=\\\"primary\\\" method=\\\"update_forecast\\\" show_progress=\\\"1\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"report_ship_cost\": {\"module\": \"netforce_stock\", \"name\": \"report_ship_cost\", \"type\": \"form\", \"model\": \"report.ship.cost\", \"layout\": \"\n<form model=\\\"report.ship.cost\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"ship_pay_by\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"ship_method_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"grade_line_list\": {\"module\": \"netforce_stock\", \"name\": \"grade_line_list\", \"type\": \"list\", \"model\": \"stock.grade.line\", \"layout\": \"\n<list model=\\\"stock.grade.line\\\">\\n    \n    <field name=\\\"grade_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"product_gb_id\\\"/>\\n\n    <field name=\\\"qty_ga\\\"/>\\n\n    <field name=\\\"qty_gb\\\"/>\\n\n    <field name=\\\"qty_waste\\\"/>\\n\n    <field name=\\\"qty_loss\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"purchase_id\\\"/>\\n\n    <field name=\\\"production_id\\\"/>\\n\n    <field name=\\\"qty_remain\\\"/>\\n\n</list>\\n\"}, \"barcode_station_list\": {\"module\": \"netforce_stock\", \"name\": \"barcode_station_list\", \"type\": \"list\", \"model\": \"barcode.station\", \"layout\": \"\n<list model=\\\"barcode.station\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</list>\\n\"}, \"stock_order\": {\"module\": \"netforce_stock\", \"name\": \"stock_order\", \"type\": \"form\", \"model\": \"stock.order\", \"layout\": \"\n<form model=\\\"stock.order\\\" title=\\\"Stock Ordering\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Fill Products\\\" method=\\\"fill_products\\\"/>\\n\n            <item string=\\\"Delete Planned Orders\\\" method=\\\"delete_planned_orders\\\" confirm=\\\"Are you sure?\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"date\\\"/>\\n\n            <field name=\\\"supply_method\\\"/>\\n\n            <field name=\\\"supplier_id\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <field name=\\\"confirm_orders\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Create Orders\\\" method=\\\"create_orders\\\" type=\\\"success\\\" icon=\\\"arrow-right\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"stock_below_widget\": {\"module\": \"netforce_stock\", \"name\": \"stock_below_widget\", \"type\": \"list\", \"model\": \"stock.balance\", \"layout\": \"\n<list model=\\\"stock.balance\\\" colors='{\\\"#f66\\\":[[\\\"below_min\\\",\\\"=\\\",true]]}' hide_page=\\\"1\\\">\\n    \n    <head replace=\\\"1\\\">\\n        \n        <button string=\\\"New Purchase Order\\\" method=\\\"make_po\\\" icon=\\\"plus\\\"/>\\n\n        <button string=\\\"New Production Order\\\" method=\\\"make_mo\\\" icon=\\\"plus\\\"/>\\n\n    </head>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"qty_phys\\\"/>\\n\n    <field name=\\\"qty_virt\\\"/>\\n\n    <field name=\\\"min_qty\\\"/>\\n\n    <field name=\\\"below_min\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"pick_in_form\": {\"module\": \"netforce_stock\", \"name\": \"pick_in_form\", \"type\": \"form\", \"model\": \"stock.picking\", \"layout\": \"\n<form model=\\\"stock.picking\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"done\\\",\\\"voided\\\"]]]}' show_company=\\\"1\\\">\\n    \n    <top>\\n        \n        <!--<button string=\\\"Print\\\" icon=\\\"print\\\" dropdown=\\\"1\\\">\\n            <item string=\\\"PDF\\\" action=\\\"report_pick_in_form\\\" action_options=\\\"convert=pdf\\\"/>\\n            <item string=\\\"ODT\\\" action=\\\"report_pick_in_form\\\"/>\\n            <item string=\\\"Select Template\\\" action=\\\"print_select_template\\\" action_options=\\\"report_action=report_pick_in_form&amp;template_type=goods_receipt\\\"/>\\n        </button>-->\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_pick_in_form2\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\" align=\\\"right\\\">\\n            \n            <item string=\\\"Copy To Supplier Invoice\\\" method=\\\"copy_to_invoice\\\"/>\\n\n            <item string=\\\"Copy To Landed Costs\\\" method=\\\"copy_to_landed\\\"/>\\n\n            <!--<item string=\\\"Copy To Grading\\\" method=\\\"copy_to_grading\\\"/>-->\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"pending,approved,done,voided,rejected\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure you want to void this goods receipt?\\\" states=\\\"done,draft,pending,approved\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"View Journal Entry\\\" method=\\\"view_journal_entry\\\" states=\\\"done\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Set Purchase FG Cost Price\\\" method=\\\"set_purchase_fg_cost_price\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Expand Containers\\\" method=\\\"expand_containers\\\"/>\\n\n            <item string=\\\"Expand Containers Async\\\" method=\\\"expand_containers_async\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"type\\\" invisible=\\\"1\\\"/>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"journal_id\\\" span=\\\"2\\\" onchange=\\\"onchange_journal\\\"/>\\n\n                <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"contact_id\\\" span=\\\"2\\\" onchange=\\\"onchange_contact\\\"/>\\n\n                <field name=\\\"currency_id\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"container_id\\\" span=\\\"2\\\" onchange=\\\"onchange_container\\\"/>\\n\n                <field name=\\\"container2_id\\\" span=\\\"2\\\" onchange=\\\"onchange_container2\\\"/>\\n\n                <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"related_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"invoice_id\\\" span=\\\"2\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"in\\\"]]'/>\\n\n                <field name=\\\"fulfillment_billing\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"project_id\\\" span=\\\"2\\\" onchange=\\\"onchange_project\\\"/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\" nolabel=\\\"1\\\" reorder_field=\\\"sequence\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"sequence\\\"/>\\n\n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\" condition='[[\\\"type\\\",\\\"in\\\",[\\\"stock\\\",\\\"consumable\\\"]]]'/>\\n\n                    <field name=\\\"qty\\\"/>\\n\n                    <field name=\\\"uom_id\\\"/>\\n\n                    <field name=\\\"location_from_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"internal\\\"]]'/>\\n\n                    <field name=\\\"location_to_id\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"internal\\\"]]'/>\\n\n                    <field name=\\\"purchase_id\\\" condition='[[\\\"contact_id\\\",\\\"=\\\",parent.contact_id]]' onchange=\\\"onchange_purchase\\\"/>\\n\n                    <field name=\\\"supp_inv_no\\\"/>\\n\n                    <field name=\\\"supp_lot_no\\\"/>\\n\n                    <field name=\\\"mfg_date\\\"/>\\n\n                    <field name=\\\"exp_date\\\"/>\\n\n                    <field name=\\\"lot_id\\\"/>\\n\n                    <field name=\\\"container_id\\\" create=\\\"1\\\"/>\\n\n                    <field name=\\\"container2_id\\\" create=\\\"1\\\"/>\\n\n                    <field name=\\\"invoice_id\\\"/>\\n\n                    <field name=\\\"cost_price_cur\\\" onchange=\\\"update_cost_price\\\"/>\\n\n                    <field name=\\\"cost_price\\\" readonly=\\\"1\\\"/>\\n\n                    <field name=\\\"cost_amount\\\" readonly=\\\"1\\\"/>\\n\n                    <field name=\\\"qty2\\\"/>\\n\n                    <field name=\\\"track_id\\\" create=\\\"1\\\"/>\\n\n                    <field name=\\\"container_to_id\\\" create=\\\"1\\\"/>\\n\n                    <field name=\\\"packaging_id\\\"/>\\n\n                    <field name=\\\"num_packages\\\"/>\\n\n                    <field name=\\\"related_id\\\"/>\\n\n                    <field name=\\\"notes\\\"/>\\n\n                    <field name=\\\"defect_remarks\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <field name=\\\"other_info\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Gradings\\\">\\n            \n            <field name=\\\"gradings\\\" nolabel=\\\"1\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Shipping\\\">\\n            \n            <field name=\\\"ship_method_id\\\"/>\\n\n            <field name=\\\"ship_tracking\\\"/>\\n\n            <field name=\\\"ship_state\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"ship_cost\\\"/>\\n\n            <field name=\\\"ship_pay_by\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Approval\\\">\\n            \n            <field name=\\\"pending_by_id\\\"/>\\n\n            <field name=\\\"done_by_id\\\"/>\\n\n            <separator string=\\\"Complete Transaction\\\"/>\\n\n            <field name=\\\"done_approved_by_id\\\"/>\\n\n            <button string=\\\"Approve\\\" icon=\\\"ok\\\" method=\\\"approve_done\\\" confirm=\\\"Are you sure?\\\" perm=\\\"stock_approve_done\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other\\\">\\n            \n            <field name=\\\"date_done\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"currency_rate\\\" onchange=\\\"update_cost_price\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"truck_loaded_weight\\\"/>\\n\n            <field name=\\\"truck_empty_weight\\\"/>\\n\n            <field name=\\\"truck_net_weight\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot states=\\\"draft,pending\\\">\\n        \n        <button string=\\\"Confirm\\\" method=\\\"pending\\\" states=\\\"draft\\\" perm=\\\"approve_picking\\\"/>\\n\n        <button string=\\\"Validate\\\" action=\\\"pick_validate\\\" states=\\\"pending\\\" perm=\\\"validate_picking\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"expand_lines\\\"/>\\n\n        <field name=\\\"landed_costs\\\"/>\\n\n        <field name=\\\"containers\\\">\\n            \n            <list>\\n                \n                <field name=\\\"container_id\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"container_id\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"report_stock_project\": {\"module\": \"netforce_stock\", \"name\": \"report_stock_project\", \"type\": \"form\", \"model\": \"report.stock.project\", \"layout\": \"\n<form model=\\\"report.stock.project\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"track_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"status\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"stock_barcode\": {\"module\": \"netforce_stock\", \"name\": \"stock_barcode\", \"type\": \"form\", \"model\": \"stock.barcode\", \"layout\": \"\n<form model=\\\"stock.barcode\\\" title=\\\"Barcode Inventory Update\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"station_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"type\\\" span=\\\"2\\\" onchange=\\\"onchange_type\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"related_id\\\" span=\\\"2\\\" onchange=\\\"onchange_related\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"location_from_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"location_to_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"container_from_id\\\" span=\\\"2\\\" create=\\\"1\\\" onchange=\\\"onchange_container_from\\\"/>\\n\n        <field name=\\\"container_to_id\\\" span=\\\"2\\\" create=\\\"1\\\"/>\\n\n        <button string=\\\"Add Container Products\\\" span=\\\"2\\\" icon=\\\"plus\\\" method=\\\"add_container_products\\\"/>\\n\n    </group>\\n\n    <separator string=\\\"Add Product\\\"/>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"product_id\\\" span=\\\"2\\\" onchange=\\\"onchange_product\\\"/>\\n\n        <field name=\\\"qty\\\" span=\\\"2\\\" method=\\\"add_product\\\"/>\\n\n        <field name=\\\"uom_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"lot_id\\\" span=\\\"2\\\" create=\\\"1\\\"/>\\n\n        <button string=\\\"Add Product\\\" span=\\\"2\\\" type=\\\"primary\\\" icon=\\\"plus\\\" method=\\\"add_product\\\"/>\\n\n    </group>\\n\n    <separator string=\\\"Product List\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list noadd=\\\"1\\\" noremove=\\\"1\\\">\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"gross_weight\\\" offset=\\\"10\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Validate\\\" method=\\\"validate\\\" type=\\\"success\\\" icon=\\\"ok\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"custom_stock_count_session_form\": {\"module\": \"netforce_stock\", \"name\": \"custom_stock_count_session_form\", \"type\": \"form\", \"model\": \"custom.stock.count.session\", \"layout\": \"\n<form model=\\\"custom.stock.count.session\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"=\\\",\\\"confirmed\\\"]]}'>\\n    \n    <top>\\n        \n        <button string=\\\"Options\\\">\\n            \n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\"/>\\n\n            <item string=\\\"Update Prev Qtys\\\" method=\\\"update_prev_qtys\\\"/>\\n\n            <item string=\\\"Update Remaining Lots\\\" method=\\\"update_lots_remain\\\" show_progress=\\\"1\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Confirm\\\" method=\\\"confirm\\\" states=\\\"draft\\\" type=\\\"success\\\" icon=\\\"ok\\\" show_progress=\\\"1\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"lots\\\">\\n            \n            <list>\\n                \n                <field name=\\\"lot_id\\\"/>\\n\n                <field name=\\\"user_id\\\"/>\\n\n                <field name=\\\"time\\\"/>\\n\n                <field name=\\\"prev_qty\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"lot_id\\\"/>\\n\n                <field name=\\\"user_id\\\"/>\\n\n                <field name=\\\"time\\\"/>\\n\n                <field name=\\\"prev_qty\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"lots_remain\\\">\\n            \n            <list>\\n                \n                <field name=\\\"lot_id\\\"/>\\n\n                <field name=\\\"prev_qty\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"lot_id\\\"/>\\n\n                <field name=\\\"prev_qty\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"stock_moves\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"transform_list\": {\"module\": \"netforce_stock\", \"name\": \"transform_list\", \"type\": \"list\", \"model\": \"stock.transform\", \"layout\": \"\n<list model=\\\"stock.transform\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"journal_id\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"notes\\\"/>\\n\n</list>\\n\"}, \"report_stock_summary\": {\"module\": \"netforce_stock\", \"name\": \"report_stock_summary\", \"type\": \"form\", \"model\": \"report.stock.summary\", \"layout\": \"\n<form model=\\\"report.stock.summary\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"product_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"master_product_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"location_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"track_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"lot_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"container_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"prod_categ_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"prod_code\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"prod_company_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"brand_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"show_lot\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"show_container\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"show_qty2\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"only_closing\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"show_image\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"show_prod_desc\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"show_track\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"defect_remarks\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"joint_remarks\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"hide_cost\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_forecast_summary\": {\"module\": \"netforce_stock\", \"name\": \"report_forecast_summary\", \"type\": \"form\", \"model\": \"report.forecast.summary\", \"layout\": \"\n<form model=\\\"report.forecast.summary\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"forecast_days\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"product_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"show_shelf_life\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"order_only\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"mobile_count_form\": {\"module\": \"netforce_stock\", \"name\": \"mobile_count_form\", \"type\": \"form\", \"model\": \"mobile.count\", \"layout\": \"\n<form model=\\\"mobile.count\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"done\\\",\\\"voided\\\"]]]}' show_company=\\\"1\\\" on_barcode=\\\"on_barcode\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Print PDF\\\" icon=\\\"print\\\" action=\\\"report_inventory_form\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Add Lines\\\" action=\\\"stock_count_add\\\" action_context='{\\\"refer_id\\\":id}' states=\\\"draft\\\"/>\\n\n            <item string=\\\"Update Lines\\\" method=\\\"update_prev_qtys\\\" states=\\\"draft\\\"/>\\n\n            <item string=\\\"Delete Lines\\\" method=\\\"delete_lines\\\" states=\\\"draft\\\"/>\\n\n            <item string=\\\"Remove Duplicate Lines\\\" method=\\\"remove_dup\\\" states=\\\"draft\\\"/>\\n\n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"done\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure you want to void this stock count?\\\" states=\\\"done\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"View Journal Entry\\\" method=\\\"view_journal_entry\\\" states=\\\"done\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"location_id\\\" span=\\\"2\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"internal\\\"]]'/>\\n\n                <field name=\\\"date\\\" span=\\\"2\\\" onchange=\\\"onchange_date\\\"/>\\n\n                <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"memo\\\" span=\\\"2\\\"/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n                    <field name=\\\"lot_id\\\" create=\\\"1\\\"/>\\n\n                    <field name=\\\"bin_location\\\"/>\\n\n                    <field name=\\\"system_lot_id\\\"/>\\n\n                    <field name=\\\"recon\\\"/>\\n\n                    <!--                    <field name=\\\"prev_qty\\\"/>-->\\n\n                    <!--                    <field name=\\\"prev_cost_price\\\"/>-->\\n\n                    <!--                    <field name=\\\"prev_cost_amount\\\"/>-->\\n\n                    <!--                    <field name=\\\"new_qty\\\"/>-->\\n\n                    <!--                    <field name=\\\"unit_price\\\"/>-->\\n\n                    <!--                    <field name=\\\"new_cost_amount\\\"/>-->\\n\n                    <!--                    <field name=\\\"uom_id\\\"/>-->\\n\n                    <!--                    <field name=\\\"lot_weight\\\"/>-->\\n                \n                </list>\\n\n            </field>\\n\n            <field name=\\\"total_cost_amount\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"total_prev_qty\\\"/>\\n\n            <field name=\\\"total_new_qty\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other\\\">\\n            \n            <field name=\\\"journal_id\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Validate\\\" method=\\\"validate\\\" type=\\\"success\\\" states=\\\"draft\\\" show_progress=\\\"1\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"moves\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"barcode_transfer\": {\"module\": \"netforce_stock\", \"name\": \"barcode_transfer\", \"type\": \"form\", \"model\": \"barcode.transfer\", \"layout\": \"\n<form model=\\\"barcode.transfer\\\" title=\\\"Barcode: Goods Transfer\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"journal_id\\\" span=\\\"6\\\" required=\\\"1\\\"/>\\n\n        <separator/>\\n\n        <field name=\\\"location_from_id\\\" span=\\\"3\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"container_from_id\\\" span=\\\"3\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"location_to_id\\\" span=\\\"3\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"related_id\\\" span=\\\"3\\\"/>\\n\n        <newline/>\\n\n        <button string=\\\"Fill Products\\\" icon=\\\"align-justify\\\" method=\\\"fill_products\\\"/>\\n\n    </group>\\n\n    <separator string=\\\"Products\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n            <field name=\\\"lot_id\\\" onchange=\\\"onchange_lot\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"container_from_id\\\"/>\\n\n            <field name=\\\"container_to_id\\\" create=\\\"1\\\"/>\\n\n            <field name=\\\"location_from_id\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"location_to_id\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"related_id\\\" readonly=\\\"1\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <separator/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"approved_by_id\\\"/>\\n\n    <button string=\\\"Approve\\\" icon=\\\"ok\\\" action=\\\"approve_barcode_transfer\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Create\\\" method=\\\"validate\\\" type=\\\"success\\\" icon=\\\"ok\\\"/>\\n\n        <button string=\\\"Clear\\\" method=\\\"clear\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"delivery_slot_list\": {\"module\": \"netforce_stock\", \"name\": \"delivery_slot_list\", \"type\": \"list\", \"model\": \"delivery.slot\", \"layout\": \"\n<list model=\\\"delivery.slot\\\">\\n    \n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"time_from\\\"/>\\n\n    <field name=\\\"time_to\\\"/>\\n\n</list>\\n\"}, \"pallet_form\": {\"module\": \"netforce_stock\", \"name\": \"pallet_form\", \"type\": \"form\", \"model\": \"stock.pallet\", \"layout\": \"\n<form model=\\\"stock.pallet\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"width\\\"/>\\n\n    <field name=\\\"height\\\"/>\\n\n    <field name=\\\"length\\\"/>\\n\n    <field name=\\\"weight\\\"/>\\n\n</form>\\n\"}, \"stock_count_form_old\": {\"module\": \"netforce_stock\", \"name\": \"stock_count_form_old\", \"type\": \"form\", \"model\": \"stock.count\", \"priority\": 20, \"layout\": \"\n<form model=\\\"stock.count\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"done\\\",\\\"voided\\\"]]]}' show_company=\\\"1\\\" priority=\\\"20\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"print_stock_count\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Add Lines\\\" method=\\\"add_lines\\\" states=\\\"draft\\\"/>\\n\n            <item string=\\\"Update Lines\\\" method=\\\"update_lines\\\" states=\\\"draft\\\"/>\\n\n            <item string=\\\"Delete Lines\\\" method=\\\"delete_lines\\\" states=\\\"draft\\\"/>\\n\n            <item string=\\\"Remove Duplicate Lines\\\" method=\\\"remove_dup\\\" states=\\\"draft\\\"/>\\n\n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"done\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure you want to void this stock count?\\\" states=\\\"done\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"location_id\\\" span=\\\"2\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"internal\\\"]]'/>\\n\n                <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n                    <field name=\\\"lot_id\\\"/>\\n\n                    <field name=\\\"bin_location\\\"/>\\n\n                    <field name=\\\"prev_qty\\\"/>\\n\n                    <field name=\\\"prev_cost_price\\\"/>\\n\n                    <field name=\\\"prev_cost_amount\\\"/>\\n\n                    <field name=\\\"new_qty\\\"/>\\n\n                    <field name=\\\"unit_price\\\"/>\\n\n                    <field name=\\\"new_cost_amount\\\"/>\\n\n                    <field name=\\\"uom_id\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <field name=\\\"total_cost_amount\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other\\\">\\n            \n            <field name=\\\"journal_id\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Validate\\\" method=\\\"validate\\\" type=\\\"success\\\" states=\\\"draft\\\" show_progress=\\\"1\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"moves\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"stock_settings\": {\"module\": \"netforce_stock\", \"name\": \"stock_settings\", \"type\": \"form\", \"model\": \"settings\", \"layout\": \"\n<form model=\\\"settings\\\" title=\\\"Inventory Settings\\\">\\n    \n    <field name=\\\"stock_lock_date\\\"/>\\n\n    <separator string=\\\"Journals\\\"/>\\n\n    <field name=\\\"pick_in_journal_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"pick_out_journal_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"pick_internal_journal_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"pick_in_return_journal_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"pick_out_return_journal_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"stock_count_journal_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"landed_cost_journal_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"waste_journal_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"transform_journal_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"production_journal_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"product_borrow_journal_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"lot_expiry_journal_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"life_75_journal_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"life_50_journal_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"forecast_journal_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"landed_cost_variance_account_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"est_ship_account_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"est_duty_account_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"act_ship_account_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"act_duty_account_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"stock_cost_auto_compute\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"stock_cost_mode\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"unique_barcode\\\"/>\\n\n    <separator string=\\\"QC\\\"/>\\n\n    <field name=\\\"require_qc_in\\\"/>\\n\n    <field name=\\\"require_qc_out\\\"/>\\n\n    <separator string=\\\"Workflow\\\"/>\\n\n    <field name=\\\"pick_out_create_invoice\\\"/>\\n\n    <field name=\\\"check_neg_stock\\\"/>\\n\n    <field name=\\\"stock_transform_check_cost\\\"/>\\n\n    <separator string=\\\"Permissions\\\"/>\\n\n    <field name=\\\"approve_pick_in\\\"/>\\n\n    <field name=\\\"approve_pick_internal\\\"/>\\n\n    <field name=\\\"approve_pick_out\\\"/>\\n\\n\n    <separator string=\\\"Cycle Stock-Count By Category\\\"/>\n    <!-- Max 07 Jul 2021 -->\\n    \n    <field name=\\\"total_stockcount_per_year\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"cycle_stockcount_xyz\\\"/>\\n\n    <group attrs='{\\\"invisible\\\": [[\\\"cycle_stockcount_xyz\\\",\\\"!=\\\",\\\"1\\\"]]}'>\\n    \n        <separator string=\\\"XYZ percentage\\\"/>\\n\n        <field name=\\\"x_by_percentage\\\" span=\\\"3\\\"/>\\n\n        <field name=\\\"y_by_percentage\\\" span=\\\"3\\\"/>\\n\n        <field name=\\\"z_by_percentage\\\" span=\\\"3\\\"/>\\n\n        <field name=\\\"xyz_period\\\" span=\\\"3\\\"/>\\n\n        <separator string=\\\"XYZ Ratio\\\"/>\\n\n        <field name=\\\"x2z_ratio\\\" span=\\\"3\\\"/>\\n\n        <field name=\\\"y2z_ratio\\\" span=\\\"3\\\"/>\\n\n        <separator string=\\\"XYZ Stock-Count per Year\\\"/>\\n\n        <field name=\\\"x_total_stockcount_per_year\\\" span=\\\"3\\\"/>\\n\n        <field name=\\\"y_total_stockcount_per_year\\\" span=\\\"3\\\"/>\\n\n        <field name=\\\"z_total_stockcount_per_year\\\" span=\\\"3\\\"/>\\n\n        <separator/>\\n\n    </group>\\n\n    <newline/>\\n\n    <field name=\\\"cycle_stockcount_abc\\\"/>     \\n\n    <group attrs='{\\\"invisible\\\": [[\\\"cycle_stockcount_abc\\\",\\\"!=\\\",\\\"1\\\"]]}'>\\n    \n        <field name=\\\"a_by_percentage\\\"/>\\n\n        <field name=\\\"b_by_percentage\\\"/>\\n\n        <field name=\\\"c_by_percentage\\\"/>\\n\n    </group>\\n\\n\n</form>\\n\"}, \"report_stock_move\": {\"module\": \"netforce_stock\", \"name\": \"report_stock_move\", \"type\": \"form\", \"model\": \"report.stock.move\", \"layout\": \"\n<form model=\\\"report.stock.move\\\">\\n    \n    <group>\\n        \n        <field name=\\\"date_from\\\"/>\\n\n        <field name=\\\"date_to\\\"/>\\n\n        <field name=\\\"location_from_id\\\"/>\\n\n        <field name=\\\"location_to_id\\\"/>\\n\n        <field name=\\\"ref\\\"/>\\n\n        <field name=\\\"related_id\\\"/>\\n\n        <field name=\\\"show_loss_only\\\"/>\\n\n        <field name=\\\"pick_type\\\" invisible=\\\"1\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"ship_method_list\": {\"module\": \"netforce_stock\", \"name\": \"ship_method_list\", \"type\": \"list\", \"model\": \"ship.method\", \"layout\": \"\n<list model=\\\"ship.method\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n</list>\\n\"}, \"report_stock_expire\": {\"module\": \"netforce_stock\", \"name\": \"report_stock_expire\", \"type\": \"form\", \"model\": \"report.stock.expire\", \"layout\": \"\n<form model=\\\"report.stock.expire\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"forecast_days\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"product_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"claim_list\": {\"module\": \"netforce_stock\", \"name\": \"claim_list\", \"type\": \"list\", \"model\": \"product.claim\", \"layout\": \"\n<list model=\\\"product.claim\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date_received\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\"}, \"claim_form\": {\"module\": \"netforce_stock\", \"name\": \"claim_form\", \"type\": \"form\", \"model\": \"product.claim\", \"layout\": \"\n<form model=\\\"product.claim\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Print\\\" icon=\\\"print\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"PDF\\\" action=\\\"report_claim_form\\\" action_options=\\\"convert=pdf\\\"/>\\n\n            <item string=\\\"ODT\\\" action=\\\"report_claim_form\\\"/>\\n\n            <item string=\\\"Select Template\\\" action=\\\"print_select_template\\\" action_options=\\\"report_action=report_claim_form&amp;template_type=claim_form\\\"/>\\n\n        </button>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\" align=\\\"right\\\">\\n            \n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure you want to void this claim?\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date_received\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"project_id\\\" condition='[[\\\"contact_id\\\",\\\"=\\\",contact_id]]'/>\\n\n    <separator string=\\\"Product Details\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"lot_id\\\"/>\\n\n    <field name=\\\"warranty\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"warranty_start\\\"/>\\n\n    <field name=\\\"warranty_end\\\"/>\\n\n    <separator string=\\\"Defect Details\\\"/>\\n\n    <field name=\\\"defect\\\" width=\\\"600\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"cause_damage\\\"/>\\n\n    <separator string=\\\"Repair Details\\\"/>\\n\n    <field name=\\\"repair_process\\\"/>\\n\n    <field name=\\\"action_token\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"date_sent_sup\\\"/>\\n\n    <field name=\\\"date_received_sup\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"repair_details\\\" width=\\\"600\\\"/>\\n\n    <separator string=\\\"Replacement Details\\\"/>\\n\n    <field name=\\\"repl_product_id\\\"/>\\n\n    <field name=\\\"repl_qty\\\"/>\\n\n    <separator string=\\\"Notes\\\"/>\\n\n    <field name=\\\"note\\\" width=\\\"600\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Approve\\\" method=\\\"approve\\\" states=\\\"draft\\\" type=\\\"success\\\" icon=\\\"ok\\\"/>\\n\n        <button string=\\\"Completed\\\" method=\\\"set_done\\\" states=\\\"approved\\\" type=\\\"success\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"pickings\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"route_settings_list\": {\"module\": \"netforce_stock\", \"name\": \"route_settings_list\", \"type\": \"list\", \"model\": \"route.settings\", \"layout\": \"\n<list model=\\\"route.settings\\\">\\n    \n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\\t\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n</list>\"}, \"lot_list\": {\"module\": \"netforce_stock\", \"name\": \"lot_list\", \"type\": \"list\", \"model\": \"stock.lot\", \"layout\": \"\n<list model=\\\"stock.lot\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Update Lot Expiry Transactions\\\" method=\\\"update_expired_lots\\\" show_progress=\\\"1\\\"/>\\n\n        <button string=\\\"Update Lot Status\\\" method=\\\"update_state\\\" show_progress=\\\"1\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_lot_form\\\" action_options='{\\\"ids\\\":ids}'/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"received_date\\\"/>\\n\n    <field name=\\\"mfg_date\\\"/>\\n\n    <field name=\\\"expiry_date\\\"/>\\n\n    <field name=\\\"life_remain_percent\\\"/>\\n\n    <field name=\\\"weight\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"stock_consign_list\": {\"module\": \"netforce_stock\", \"name\": \"stock_consign_list\", \"type\": \"list\", \"model\": \"stock.consign\", \"layout\": \"\n<list model=\\\"stock.consign\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Create Purchase Orders\\\" method=\\\"create_purchase\\\"/>\\n\n        <button string=\\\"Create Sales Orders\\\" method=\\\"create_sale\\\"/>\\n\n        <button string=\\\"Create Consignment Periods\\\" method=\\\"create_periods\\\"/>\\n\n    </head>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n    <field name=\\\"order_type\\\"/>\\n\n</list>\\n\"}, \"warehouse_list_details\": {\"module\": \"netforce_stock\", \"name\": \"warehouse_list_details\", \"type\": \"list_details\", \"model\": \"stock.location\", \"layout\": \"\n<list_details model=\\\"stock.location\\\" action=\\\"warehouse\\\" action_options='{\\\"mode\\\":\\\"page\\\",\\\"active_id\\\":id}'>\\n    \n    <head>\\n        \n        <field name=\\\"name\\\"/>\\n\n        <button string=\\\"Manage Warehouse\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Product Stock\\\" action=\\\"warehouse\\\" action_options='{\\\"mode\\\":\\\"page\\\",\\\"active_id\\\":id,\\\"related_tab\\\":1}'/>\\n\n            <item string=\\\"Stock Transactions\\\" action=\\\"warehouse\\\" action_options='{\\\"mode\\\":\\\"page\\\",\\\"active_id\\\":id,\\\"related_tab\\\":2}'/>\\n\n            <divider/>\\n\n            <item string=\\\"Goods Receipt\\\" action=\\\"pick_in\\\" action_options='{\\\"mode\\\":\\\"form\\\"}'/>\\n\n            <item string=\\\"Goods Transfer\\\" action=\\\"pick_internal\\\" action_options='{\\\"mode\\\":\\\"form\\\"}'/>\\n\n            <item string=\\\"Goods Issue\\\" action=\\\"pick_out\\\" action_options='{\\\"mode\\\":\\\"form\\\"}'/>\\n\n        </button>\\n\n    </head>\\n\n    <group span=\\\"2\\\" form_layout=\\\"stacked\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"balance\\\" strong=\\\"1\\\"/>\\n\n    </group>\\n\n    <field name=\\\"balance_90d\\\" span=\\\"10\\\" view=\\\"field_chart\\\" view_options='{\\\"chart_type\\\":\\\"area\\\",\\\"x_type\\\":\\\"datetime\\\",\\\"height\\\":150}' nolabel=\\\"1\\\"/>\\n\n</list_details>\\n\"}, \"stock_menu\": {\"module\": \"netforce_stock\", \"name\": \"stock_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Inventory\\\">\\n    \n    <item string=\\\"Dashboard\\\" icon=\\\"fa_chart_pie\\\" action=\\\"stock_board\\\"/>\\n\n    <item string=\\\"Inventory\\\" icon=\\\"fa_boxes\\\">\\n        \n        <item string=\\\"Warehouses\\\" action=\\\"warehouse\\\"/>\\n\n        <item string=\\\"Stock Balance\\\" action=\\\"stock_balance\\\"/>\\n\n        <item string=\\\"Stock Movements\\\" action=\\\"stock_move\\\"/>\\n\n        <divider/>\\n\n        <item string=\\\"Goods Receipt\\\" action=\\\"pick_in\\\"/>\\n\n        <item string=\\\"Goods Transfer\\\" action=\\\"pick_internal\\\"/>\\n\n        <item string=\\\"Goods Issue\\\" action=\\\"pick_out\\\"/>\\n\n        <divider/>\\n\n        <item string=\\\"Landed Costs\\\" action=\\\"landed_cost\\\"/>\\n\n        <divider/>\\n\n        <item string=\\\"Lot / Serial Numbers\\\" action=\\\"stock_lot\\\"/>\\n\n        <item string=\\\"Containers\\\" action=\\\"stock_container\\\"/>\\n\n        <divider/>\\n\n        <item string=\\\"Product Grading\\\" action=\\\"grade\\\"/>\\n\n        <item string=\\\"Product Transforms\\\" action=\\\"transform\\\"/>\\n\n        <divider/>\\n\n        <item string=\\\"Stock Count\\\" action=\\\"stock_count\\\"/>\\n\n        <item string=\\\"Cycle Stock Count\\\" action=\\\"cycle_stockcount\\\"/>\\n\n        <item string=\\\"Mobile Stock Counts\\\" action=\\\"custom_stock_count_session\\\"/>\\n</item>\\n\n    <item string=\\\"QC\\\" icon=\\\"fa_clipboard_check\\\">\\n        \n        <item string=\\\"QC Results\\\" action=\\\"qc_result\\\"/>\\n</item>\\n\n    <item string=\\\"Reports\\\" icon=\\\"fa_chart_bar\\\">\\n        \n        <item string=\\\"Stock Summary\\\" action=\\\"report_stock_summary\\\"/>\\n\n        <item string=\\\"Stock Card\\\" action=\\\"report_stock_card\\\"/>\\n\n        <item string=\\\"Stock Aging\\\" action=\\\"report_stock_aging\\\"/>\\n\n        <item string=\\\"Custom Stock Expiry\\\" action=\\\"custom_report_stock_expiry\\\"/>\\n\n        <item string=\\\"Stock Forecast\\\" action=\\\"report_stock_forecast\\\"/>\\n\n        <item string=\\\"Stock Planning / Ordering\\\" action=\\\"report_stock_plan\\\"/>\\n\n        <item string=\\\"Shipping Cost\\\" action=\\\"report_ship_cost\\\"/>\\n\n        <item string=\\\"Stock Movement Analysis\\\" action=\\\"stock_move_pivot\\\"/>\\n\n        <item string=\\\"Stock Balance Analysis\\\" action=\\\"stock_balance_pivot\\\"/>\\n\n        <item string=\\\"Stock Forecast Summary\\\" action=\\\"report_forecast_summary\\\"/>\\n\n        <item string=\\\"Stock Forecast Details\\\" action=\\\"report_forecast_details\\\"/>\\n\n        <item string=\\\"Stock Invoice Report\\\" action=\\\"report_stock_invoice\\\"/>\\n\n        <item string=\\\"Stock Expiry Report\\\" action=\\\"report_stock_expire\\\"/>\\n\n        <item string=\\\"Project Stock Report\\\" action=\\\"report_stock_project\\\"/>\\n</item>\\n\n    <item string=\\\"Other\\\" icon=\\\"fa_ellipsis_h\\\">\\n        \n        <item string=\\\"Stock Ordering\\\" action=\\\"stock_order\\\"/>\\n\n        <item string=\\\"Stock Forecast\\\" action=\\\"stock_forecast\\\"/>\\n\n        <item string=\\\"Stock Cutting\\\" action=\\\"stock_cut\\\"/>\\n</item>\\n\n    <item string=\\\"Settings\\\" icon=\\\"fa_cog\\\">\\n        \n        <item string=\\\"Inventory Settings\\\" action=\\\"stock_settings\\\"/>\\n\n        <item string=\\\"Stock Locations\\\" action=\\\"location\\\"/>\\n\n        <item string=\\\"Stock Journals\\\" action=\\\"stock_journal\\\"/>\\n\n        <item string=\\\"Minimum Stock Rules\\\" action=\\\"orderpoint\\\"/>\\n\n        <item string=\\\"Shipping Methods\\\" action=\\\"ship_method\\\"/>\\n\n        <item string=\\\"Shipping Rates\\\" action=\\\"ship_rate\\\"/>\\n\n        <item string=\\\"Shipping Terms\\\" action=\\\"ship_term\\\"/>\\n\n        <item string=\\\"Port Loading\\\" action=\\\"port_loading\\\"/>\\n\n        <item string=\\\"Port Destination\\\" action=\\\"port_destination\\\"/>\\n\n        <item string=\\\"Shipping Ports\\\" action=\\\"ship_port\\\"/>\\n\n        <item string=\\\"Storage Types\\\" action=\\\"store_type\\\"/>\\n\n        <item string=\\\"Packagings\\\" action=\\\"packaging\\\"/>\\n\n        <item string=\\\"Container Types\\\" action=\\\"container_type\\\"/>\\n\n        <item string=\\\"Delivery Slots\\\" action=\\\"delivery_slot\\\"/>\\n\n        <item string=\\\"Route Settings\\\" action=\\\"route_settings\\\"/>\\n</item>\\n\n</menu>\\n\"}, \"stock_move_search\": {\"module\": \"netforce_stock\", \"name\": \"stock_move_search\", \"type\": \"search\", \"model\": \"stock.move\", \"layout\": \"\n<search model=\\\"stock.move\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"picking_number\\\"/>\\n\n    <field name=\\\"picking_type\\\"/>\\n\n    <field name=\\\"location_from_id\\\" select=\\\"1\\\"/>\\n\n    <field name=\\\"location_to_id\\\" select=\\\"1\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"product_id\\\" select=\\\"1\\\"/>\\n\n    <field name=\\\"master_product_id\\\" select=\\\"1\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"lot_id\\\"/>\\n\n    <field name=\\\"container_id\\\"/>\\n\n    <field name=\\\"journal_id\\\"/>\\n\n    <!--<field name=\\\"location_from_type\\\" select=\\\"1\\\"/>-->\\n\n</search>\\n\"}, \"pick_in_list\": {\"module\": \"netforce_stock\", \"name\": \"pick_in_list\", \"type\": \"list\", \"model\": \"stock.picking\", \"priority\": 20, \"layout\": \"\n<list model=\\\"stock.picking\\\" priority=\\\"20\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_pick_in_form2\\\" action_options='{\\\"ids\\\":ids}'/>\\n\n        <button string=\\\"To Draft\\\" method=\\\"to_draft\\\"/>\\n\n        <button string=\\\"Copy To Landed Costs\\\" method=\\\"copy_to_landed\\\"/>\\n\n        <button string=\\\"Copy To Product Transform\\\" method=\\\"copy_to_transform\\\"/>\\n\n        <button string=\\\"Repost Journal Entry\\\" method=\\\"repost_journal_entry\\\"/>\\n\n        <button string=\\\"Validate\\\" method=\\\"set_done\\\" show_progress=\\\"1\\\"/>\\n\n        <button string=\\\"Validate (fast)\\\" method=\\\"set_done_fast\\\" show_progress=\\\"1\\\"/>\\n\n        <!--<button string=\\\"Validate (fast) no popup\\\" method=\\\"set_done_fast\\\"/>-->\\n        \n        <button string=\\\"Copy To Supplier Invoice\\\" method=\\\"copy_to_invoice\\\"/>\\n\n        <button string=\\\"Copy To Goods Transfer\\\" method=\\\"copy_to_transfer\\\"/>\\n\n    </head>\\n\n    <field name=\\\"journal_id\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"invoice_id\\\"/>\\n\n    <field name=\\\"ship_method_id\\\"/>\\n\n    <field name=\\\"ship_tracking\\\"/>\\n\n    <field name=\\\"ship_cost\\\"/>\\n\n    <field name=\\\"ship_pay_by\\\"/>\\n\n    <field name=\\\"done_by_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n    <field name=\\\"delivery_status\\\"/>\\n\n</list>\\n\"}, \"location_page\": {\"module\": \"netforce_stock\", \"name\": \"location_page\", \"type\": \"page\", \"model\": \"stock.location\", \"layout\": \"\n<page model=\\\"stock.location\\\" title_field=\\\"name\\\">\\n    \n    <field name=\\\"balance\\\"/>\\n\n    <related_tabs>\\n        \n        <field name=\\\"products\\\" nolabel=\\\"1\\\" view_cls=\\\"form_list_view\\\">\\n            \n            <list>\\n                \n                <head>\\n                    \n                    <button string=\\\"New Purchase Order\\\" method=\\\"make_po\\\" icon=\\\"plus-sign\\\"/>\\n\n                </head>\\n\n                <field name=\\\"product_id\\\"/>\\n\n                <field name=\\\"qty_phys\\\"/>\\n\n                <field name=\\\"qty_virt\\\"/>\\n\n                <field name=\\\"min_qty\\\"/>\\n\n                <field name=\\\"uom_id\\\"/>\\n\n                <field name=\\\"last_change\\\"/>\\n\n            </list>\\n\n            <search>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n            </search>\\n\n        </field>\\n\n        <field name=\\\"stock_moves\\\" nolabel=\\\"1\\\" view_cls=\\\"form_list_view\\\">\\n            \n            <list>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"ref\\\"/>\\n\n                <field name=\\\"qty\\\"/>\\n\n                <field name=\\\"uom_id\\\"/>\\n\n                <field name=\\\"location_from_id\\\"/>\\n\n                <field name=\\\"location_to_id\\\"/>\\n\n                <field name=\\\"state\\\"/>\\n\n            </list>\\n\n            <search>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <field name=\\\"ref\\\"/>\\n\n                <field name=\\\"state\\\"/>\\n\n            </search>\\n\n        </field>\\n\n    </related_tabs>\\n\n</page>\"}, \"grade_form\": {\"module\": \"netforce_stock\", \"name\": \"grade_form\", \"type\": \"form\", \"model\": \"stock.grade\", \"layout\": \"\n<form model=\\\"stock.grade\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"done,voided\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" states=\\\"done\\\" confirm=\\\"Are you sure?\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <separator string=\\\"Grading Results\\\"/>\\n\n    <field name=\\\"lines\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"qty\\\" onchange=\\\"update_amount\\\"/>\\n\n            <field name=\\\"location_id\\\"/>\\n\n            <field name=\\\"unit_price\\\" onchange=\\\"update_amount\\\"/>\\n\n            <field name=\\\"amount\\\" onchange=\\\"onchange_amount\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <!--<separator string=\\\"Waste\\\"/>\\n    <field name=\\\"qty_waste\\\"/>\\n    <field name=\\\"location_waste_id\\\"/>\\n    <newline/>-->\\n    \n    <field name=\\\"qty_loss\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"notes\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Validate\\\" method=\\\"validate\\\" states=\\\"draft\\\" type=\\\"success\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"stock_moves\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"container_form\": {\"module\": \"netforce_stock\", \"name\": \"container_form\", \"type\": \"form\", \"model\": \"stock.container\", \"layout\": \"\n<form model=\\\"stock.container\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Update Balances\\\" method=\\\"update_balances\\\" show_progress=\\\"1\\\"/>\\n\n    </top>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <!--<field name=\\\"contents\\\"/>-->\\n    \n    <separator/>\\n\n    <field name=\\\"lot_numbers\\\"/>\\n\n    <field name=\\\"new_lot_range\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"stock_balances\\\"/>\\n\n        <field name=\\\"pickings\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"packaging_form\": {\"module\": \"netforce_stock\", \"name\": \"packaging_form\", \"type\": \"form\", \"model\": \"stock.packaging\", \"layout\": \"\n<form model=\\\"stock.packaging\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"width\\\"/>\\n\n    <field name=\\\"height\\\"/>\\n\n    <field name=\\\"length\\\"/>\\n\n    <field name=\\\"net_weight\\\"/>\\n\n    <field name=\\\"packaging_weight\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"num_items\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"port_destination_form\": {\"module\": \"netforce_stock\", \"name\": \"port_destination_form\", \"type\": \"form\", \"model\": \"port.destination\", \"layout\": \"\n<form model=\\\"port.destination\\\" title=\\\"Port Destination\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"country_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</form>\\n\"}, \"product_waste_form\": {\"module\": \"netforce_stock\", \"name\": \"product_waste_form\", \"type\": \"form\", \"model\": \"product.waste\", \"layout\": \"\n<form model=\\\"product.waste\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"!=\\\",\\\"draft\\\"]]}'>\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Options\\\">\\n            \n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"done,voided\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure?\\\" states=\\\"done\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n    <field name=\\\"lot_id\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"notes\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Validate\\\" method=\\\"validate\\\" type=\\\"success\\\" states=\\\"draft\\\" icon=\\\"arrow-right\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"stock_moves\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"warehouse_page\": {\"module\": \"netforce_stock\", \"name\": \"warehouse_page\", \"type\": \"page\", \"model\": \"stock.location\", \"layout\": \"\n<page model=\\\"stock.location\\\" title=\\\"View Warehouse\\\">\\n    \n    <head>\\n        \n        <field name=\\\"name\\\"/>\\n\n        <button string=\\\"Manage Warehouse\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Product Stock\\\" action=\\\"warehouse\\\" action_options='{\\\"mode\\\":\\\"page\\\",\\\"active_id\\\":id,\\\"related_tab\\\":1}'/>\\n\n            <item string=\\\"Stock Transactions\\\" action=\\\"warehouse\\\" action_options='{\\\"mode\\\":\\\"page\\\",\\\"active_id\\\":id,\\\"related_tab\\\":2}'/>\\n\n            <divider/>\\n\n            <item string=\\\"Goods Receipt\\\" action=\\\"pick_in\\\" action_options='{\\\"mode\\\":\\\"form\\\"}'/>\\n\n            <item string=\\\"Goods Transfer\\\" action=\\\"pick_internal\\\" action_options='{\\\"mode\\\":\\\"form\\\"}'/>\\n\n            <item string=\\\"Goods Issue\\\" action=\\\"pick_out\\\" action_options='{\\\"mode\\\":\\\"form\\\"}'/>\\n\n        </button>\\n\n    </head>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"balance\\\" span=\\\"2\\\" strong=\\\"1\\\"/>\\n\n    </group>\\n\n    <related_tabs>\\n        \n        <tab string=\\\"Product Stock\\\" action=\\\"warehouse_balance\\\" action_options='{\\\"condition\\\":[[\\\"location_id\\\",\\\"=\\\",id]]}'/>\\n\n        <tab string=\\\"Stock Transactions\\\" action=\\\"warehouse_move\\\" action_options='{\\\"condition\\\":[\\\"or\\\",[\\\"location_from_id\\\",\\\"=\\\",id],[\\\"location_to_id\\\",\\\"=\\\",id]]}'/>\\n\n    </related_tabs>\\n\n</page>\\n\"}, \"barcode_receive\": {\"module\": \"netforce_stock\", \"name\": \"barcode_receive\", \"type\": \"form\", \"model\": \"barcode.receive\", \"layout\": \"\n<form model=\\\"barcode.receive\\\" title=\\\"Barcode: Goods Receipt\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"location_to_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"journal_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"related_id\\\" span=\\\"2\\\" onchange=\\\"onchange_related\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"location_from_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <button string=\\\"Fill Products\\\" icon=\\\"align-justify\\\" method=\\\"fill_products\\\"/>\\n\n    </group>\\n\n    <separator string=\\\"Products\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\" search_mode=\\\"suffix\\\"/>\\n\n            <field name=\\\"lot_id\\\" create=\\\"1\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"container_to_id\\\" create=\\\"1\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <separator/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Create\\\" method=\\\"validate\\\" type=\\\"success\\\" icon=\\\"ok\\\"/>\\n\n        <button string=\\\"Clear\\\" method=\\\"clear\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"port_loading_form\": {\"module\": \"netforce_stock\", \"name\": \"port_loading_form\", \"type\": \"form\", \"model\": \"port.loading\", \"layout\": \"\n<form model=\\\"port.loading\\\" title=\\\"Port Loading\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"country_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</form>\\n\"}, \"pallet_list\": {\"module\": \"netforce_stock\", \"name\": \"pallet_list\", \"type\": \"list\", \"model\": \"stock.pallet\", \"layout\": \"\n<list model=\\\"stock.pallet\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"width\\\"/>\\n\n    <field name=\\\"height\\\"/>\\n\n    <field name=\\\"length\\\"/>\\n\n    <field name=\\\"weight\\\"/>\\n\n</list>\\n\"}, \"pick_internal_form\": {\"module\": \"netforce_stock\", \"name\": \"pick_internal_form\", \"type\": \"form\", \"model\": \"stock.picking\", \"layout\": \"\n<form model=\\\"stock.picking\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"done\\\",\\\"voided\\\"]]]}' show_company=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"PDF\\\" action=\\\"report_pick_internal_form\\\" action_options=\\\"convert=pdf\\\"/>\\n\n            <item string=\\\"ODT\\\" action=\\\"report_pick_internal_form\\\"/>\\n\n            <item string=\\\"Select Template\\\" action=\\\"print_select_template\\\" action_options=\\\"report_action=report_pick_internal_form&amp;template_type=goods_transfer\\\"/>\\n\n        </button>\\n\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"report_pick_internal_form2\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\" align=\\\"right\\\">\\n            \n            <item string=\\\"Copy To Customer Invoice\\\" method=\\\"copy_to_invoice\\\"/>\\n\n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"pending,approved,done,voided\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure you want to void this goods transfer?\\\" states=\\\"done\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Assign Lots\\\" method=\\\"assign_lots\\\" states=\\\"draft\\\"/>\\n\n            <item string=\\\"Expand Bundles\\\" method=\\\"expand_bundles\\\"/>\\n\n            <item string=\\\"Remove Bundle Components\\\" method=\\\"remove_bundle_components\\\" confirm=\\\"Are you sure?\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Update Locations\\\" method=\\\"update_locations\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"View Journal Entry\\\" method=\\\"view_journal_entry\\\" states=\\\"done\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <field name=\\\"type\\\" invisible=\\\"1\\\"/>\\n\n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"journal_id\\\" span=\\\"2\\\" onchange=\\\"onchange_journal\\\"/>\\n\n                <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"contact_id\\\" span=\\\"2\\\" onchange=\\\"onchange_contact\\\"/>\\n\n                <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"related_id\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"location_from_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"location_to_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"project_id\\\" span=\\\"2\\\" onchange=\\\"onchange_project\\\"/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\" nolabel=\\\"1\\\" reorder_field=\\\"sequence\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"sequence\\\"/>\\n\n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\" condition='[[\\\"type\\\",\\\"in\\\",[\\\"stock\\\",\\\"consumable\\\"]]]'/>\\n\n                    <field name=\\\"qty\\\"/>\\n\n                    <field name=\\\"uom_id\\\"/>\\n\n                    <field name=\\\"location_from_id\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"internal\\\"]]'/>\\n\n                    <field name=\\\"location_to_id\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"internal\\\"]]'/>\\n\n                    <field name=\\\"qty2\\\"/>\\n\n                    <field name=\\\"cost_price\\\" readonly=\\\"1\\\"/>\\n\n                    <field name=\\\"cost_amount\\\" readonly=\\\"1\\\"/>\\n\n                    <field name=\\\"sale_price\\\" readonly=\\\"1\\\"/>\\n\n                    <field name=\\\"sale_amount\\\" readonly=\\\"1\\\"/>\\n\n                    <field name=\\\"lot_id\\\" create=\\\"1\\\"/>\\n\n                    <field name=\\\"container_id\\\" create=\\\"1\\\"/>\\n\n                    <field name=\\\"container2_id\\\" create=\\\"1\\\"/>\\n\n                    <field name=\\\"track_id\\\" create=\\\"1\\\"/>\\n\n                    <field name=\\\"qty_stock\\\"/>\\n\n                    <field name=\\\"related_id\\\"/>\\n\n                    <field name=\\\"notes\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <field name=\\\"other_info\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Approval\\\">\\n            \n            <field name=\\\"pending_by_id\\\"/>\\n\n            <field name=\\\"done_by_id\\\"/>\\n\n            <separator string=\\\"Complete Transaction\\\"/>\\n\n            <field name=\\\"done_approved_by_id\\\"/>\\n\n            <button string=\\\"Approve\\\" icon=\\\"ok\\\" method=\\\"approve_done\\\" confirm=\\\"Are you sure?\\\" perm=\\\"stock_approve_done\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Addresses\\\">\\n            \n            <separator string=\\\"From\\\"/>\\n\n            <field name=\\\"from_contact_id\\\"/>\\n\n            <field name=\\\"from_address_id\\\" condition='[[\\\"contact_id\\\",\\\"=\\\",from_contact_id],[\\\"contact_id\\\",\\\"!=\\\",null]]'/>\\n\n            <separator string=\\\"To\\\"/>\\n\n            <field name=\\\"to_contact_id\\\"/>\\n\n            <field name=\\\"to_address_id\\\" condition='[[\\\"contact_id\\\",\\\"=\\\",to_contact_id],[\\\"contact_id\\\",\\\"!=\\\",null]]'/>\\n\n        </tab>\\n\n        <tab string=\\\"Other\\\">\\n            \n            <field name=\\\"date_done\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot states=\\\"draft,pending\\\">\\n        \n        <button string=\\\"Confirm\\\" method=\\\"pending\\\" states=\\\"draft\\\"/>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" states=\\\"pending\\\" perm=\\\"approve_picking\\\"/>\\n\n        <button string=\\\"Validate\\\" action=\\\"pick_validate\\\" states=\\\"approved\\\" perm=\\\"validate_picking\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"expand_lines\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"ship_method_form\": {\"module\": \"netforce_stock\", \"name\": \"ship_method_form\", \"type\": \"form\", \"model\": \"ship.method\", \"layout\": \"\n<form model=\\\"ship.method\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"exclude_ship_methods\\\"/>\\n\n    <field name=\\\"ship_product_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"rates\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"route_settings_form\": {\"module\": \"netforce_stock\", \"name\": \"route_settings_form\", \"type\": \"form\", \"model\": \"route.settings\", \"layout\": \"\n<form model=\\\"route.settings\\\">\\n    \n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n</form>\\n\"}, \"location_grid\": {\"module\": \"netforce_stock\", \"name\": \"location_grid\", \"type\": \"grid\", \"model\": \"stock.location\", \"layout\": \"\n<grid model=\\\"stock.location\\\">\\n    \n    <head>\\n        \n        <field name=\\\"name\\\"/>\\n\n        <button string=\\\"Manage Warehouse\\\" dropdown=\\\"1\\\" align=\\\"right\\\">\\n            \n            <item string=\\\"Product Stock\\\" action=\\\"warehouse\\\" action_options=\\\"mode=page&amp;tab=0\\\"/>\\n\n            <item string=\\\"Stock Transactions\\\" action=\\\"warehouse_transactions\\\" action_options=\\\"mode=page&amp;tab=1\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Goods Receipt\\\" action=\\\"pick_in\\\" action_options=\\\"mode=form\\\"/>\\n\n            <item string=\\\"Goods Transfer\\\" action=\\\"pick_internal\\\" action_options=\\\"mode=form\\\"/>\\n\n            <item string=\\\"Goods Issue\\\" action=\\\"pick_out\\\" action_options=\\\"mode=form\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"products\\\" nolabel=\\\"1\\\" view_cls=\\\"form_list_view\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"qty_phys\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"last_change\\\"/>\\n\n        </list>\\n\n    </field>\\n\n</grid>\"}, \"report_stock_aging\": {\"module\": \"netforce_stock\", \"name\": \"report_stock_aging\", \"type\": \"form\", \"model\": \"report.stock.aging\", \"layout\": \"\n<form model=\\\"report.stock.aging\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"categ_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"product_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"location_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"period_days\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"num_periods\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_forecast_details\": {\"module\": \"netforce_stock\", \"name\": \"report_forecast_details\", \"type\": \"form\", \"model\": \"report.forecast.details\", \"layout\": \"\n<form model=\\\"report.forecast.details\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"product_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"forecast_days\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"show_shelf_life\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"ship_port_form\": {\"module\": \"netforce_stock\", \"name\": \"ship_port_form\", \"type\": \"form\", \"model\": \"ship.port\", \"layout\": \"\n<form model=\\\"ship.port\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"country_id\\\"/>\\n\n</form>\\n\"}, \"stock_journal_list\": {\"module\": \"netforce_stock\", \"name\": \"stock_journal_list\", \"type\": \"list\", \"model\": \"stock.journal\", \"layout\": \"\n<list model=\\\"stock.journal\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"sequence_id\\\"/>\\n\n    <field name=\\\"location_from_id\\\"/>\\n\n    <field name=\\\"location_to_id\\\"/>\\n\n</list>\\n\"}, \"report_stock_plan\": {\"module\": \"netforce_stock\", \"name\": \"report_stock_plan\", \"type\": \"form\", \"model\": \"report.stock.plan\", \"layout\": \"\n<form model=\\\"report.stock.plan\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"product_categ_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"supplier_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"plan_horizon\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"stock_journal_form\": {\"module\": \"netforce_stock\", \"name\": \"stock_journal_form\", \"type\": \"form\", \"model\": \"stock.journal\", \"layout\": \"\n<form model=\\\"stock.journal\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"sequence_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"location_from_id\\\"/>\\n\n    <field name=\\\"location_to_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"require_sale\\\"/>\\n\n</form>\\n\"}, \"stock_cut_list\": {\"module\": \"netforce_stock\", \"name\": \"stock_cut_list\", \"type\": \"list\", \"model\": \"stock.cut\", \"layout\": \"\n<list model=\\\"stock.cut\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n</list>\\n\"}, \"pick_internal_list\": {\"module\": \"netforce_stock\", \"name\": \"pick_internal_list\", \"type\": \"list\", \"model\": \"stock.picking\", \"priority\": 20, \"layout\": \"\n<list model=\\\"stock.picking\\\" priority=\\\"20\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_pick_internal_form\\\" action_options=\\\"convert=pdf\\\"/>\\n\n        <button string=\\\"To Draft\\\" method=\\\"to_draft\\\"/>\\n\n        <button string=\\\"Repost Journal Entry\\\" method=\\\"repost_journal_entry\\\"/>\\n\n        <button string=\\\"Validate\\\" method=\\\"set_done\\\"/>\\n\n        <button string=\\\"Validate (fast)\\\" method=\\\"set_done_fast\\\" show_progress=\\\"1\\\"/>\\n\n        <button string=\\\"Copy To Product Transform\\\" method=\\\"copy_to_pt\\\"/>\\n\n    </head>\\n\n    <field name=\\\"journal_id\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"custom_stock_count_line_list\": {\"module\": \"netforce_stock\", \"name\": \"custom_stock_count_line_list\", \"type\": \"list\", \"model\": \"stock.count.line\", \"priority\": 20, \"layout\": \"\n<list model=\\\"stock.count.line\\\" priority=\\\"20\\\">\\n    \n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"prev_qty\\\"/>\\n\n    <field name=\\\"new_qty\\\"/>\\n\n</list>\\n\"}, \"transform_form\": {\"module\": \"netforce_stock\", \"name\": \"transform_form\", \"type\": \"form\", \"model\": \"stock.transform\", \"layout\": \"\n<form model=\\\"stock.transform\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"!=\\\",\\\"draft\\\"],[\\\"state\\\",\\\"!=\\\",\\\"confirmed\\\"],[\\\"state\\\",\\\"!=\\\",\\\"approved\\\"]]}'>\\n    \n    <top>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy To Purchase Order (Service)\\\" method=\\\"copy_to_purchase\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"done,approved,voided\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" states=\\\"done\\\" confirm=\\\"Are you sure?\\\"/>\\n\n            <item string=\\\"Update Cost\\\" method=\\\"update_cost\\\" show_progress=\\\"1\\\"/>\\n\n            <item string=\\\"Assign Lots\\\" method=\\\"assign_lots\\\" show_progress=\\\"1\\\"/>\\n\n            <item string=\\\"Assign Lots (Qty2)\\\" method=\\\"assign_lots_qty2\\\" show_progress=\\\"1\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"journal_id\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"date_done\\\"/>\\n\n    <!--<field name=\\\"sale_id\\\"/>-->\\n    \n    <separator string=\\\"From Products\\\"/>\\n\n    <field name=\\\"lines_in\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"type\\\"/>\\n\n            <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"stock\\\"]]'/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n            <field name=\\\"qty\\\" onchange=\\\"onchange_qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"qty2\\\"/>\\n\n            <field name=\\\"uom2_id\\\"/>\\n\n            <field name=\\\"location_id\\\"/>\\n\n            <field name=\\\"cost_price\\\"/>\\n\n            <field name=\\\"cost_amount\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <separator string=\\\"To Products\\\"/>\\n\n    <field name=\\\"lines_out\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"type\\\"/>\\n\n            <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"stock\\\"]]'/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n            <field name=\\\"qty\\\" onchange=\\\"onchange_qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"qty2\\\"/>\\n\n            <field name=\\\"uom2_id\\\"/>\\n\n            <field name=\\\"location_id\\\"/>\\n\n            <field name=\\\"cost_price\\\"/>\\n\n            <field name=\\\"cost_amount\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <field name=\\\"cost_total_in\\\"/>\\n\n    <field name=\\\"cost_total_out\\\"/>\\n\n    <separator string=\\\"Service\\\"/>\\n\n    <field name=\\\"lines_service\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"type\\\"/>\\n\n            <field name=\\\"product_id\\\" onchange=\\\"onchange_product_service\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"service\\\"]]'/>\\n\n            <field name=\\\"cost_price\\\" required=\\\"1\\\"/>\\n\n            <field name=\\\"qty\\\" onchange=\\\"onchange_qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"supplier_id\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <separator/>\\n\n    <field name=\\\"notes\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Validate\\\" method=\\\"validate\\\" states=\\\"confirmed\\\" type=\\\"success\\\"/>\\n\n        <button string=\\\"Confirm\\\" method=\\\"confirm\\\" states=\\\"draft\\\" type=\\\"success\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"stock_moves\\\"/>\\n\n        <field name=\\\"purchase_orders\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"lot_item_form\": {\"module\": \"netforce_stock\", \"name\": \"lot_item_form\", \"type\": \"form\", \"model\": \"stock.lot.item\", \"layout\": \"\n<form model=\\\"stock.lot.item\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <!--<field name=\\\"received_date\\\"/>-->\\n    \n    <field name=\\\"lot_id\\\"/>\\n\n</form>\\n\"}, \"gen_lots\": {\"module\": \"netforce_stock\", \"name\": \"gen_lots\", \"type\": \"form\", \"model\": \"gen.lots\", \"layout\": \"\n<form model=\\\"gen.lots\\\">\\n    \n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"sequence_id\\\" onchange=\\\"onchange_sequence\\\"/>\\n\n    <field name=\\\"prefix\\\"/>\\n\n    <field name=\\\"num_lots\\\"/>\\n\n    <field name=\\\"padding\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Gen Lots\\\" method=\\\"gen_lots\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"ship_term_form\": {\"module\": \"netforce_stock\", \"name\": \"ship_term_form\", \"type\": \"form\", \"model\": \"ship.term\", \"layout\": \"\n<form model=\\\"ship.term\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"unit_price_diff\\\"/>\\n\n    <field name=\\\"unit_price_diff_percent\\\"/>\\n\n</form>\\n\"}, \"port_loading_list\": {\"module\": \"netforce_stock\", \"name\": \"port_loading_list\", \"type\": \"list\", \"model\": \"port.loading\", \"layout\": \"\n<list model=\\\"port.loading\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"country_id\\\"/>\\n\n</list>\\n\"}, \"stock_balance_search\": {\"module\": \"netforce_stock\", \"name\": \"stock_balance_search\", \"type\": \"search\", \"model\": \"stock.balance\", \"layout\": \"\n<search model=\\\"stock.balance\\\">\\n    \n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"master_product_id\\\"/>\\n\n    <field name=\\\"lot_id\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"container_id\\\"/>\\n\n    <field name=\\\"container2_id\\\"/>\\n\n    <field name=\\\"supplier_id\\\"/>\\n\n    <field name=\\\"below_min\\\"/>\\n\n    <field name=\\\"qty_phys\\\"/>\\n\n    <field name=\\\"qty_virt\\\"/>\\n\n</search>\\n\"}, \"stock_move_pivot\": {\"module\": \"netforce_stock\", \"name\": \"stock_move_pivot\", \"type\": \"pivot\", \"model\": \"stock.move\", \"layout\": \"\n<pivot model=\\\"stock.move\\\" agg_name=\\\"sum\\\" vals=\\\"qty\\\">\\n    \n    <field name=\\\"product_id.name\\\" string=\\\"Product Name\\\"/>\\n\n    <field name=\\\"product_id.code\\\" string=\\\"Product Code\\\"/>\\n\n    <field name=\\\"product_id.categ_id.name\\\" string=\\\"Product Category\\\"/>\\n\n    <field name=\\\"product_id.parent_id.code\\\" string=\\\"Master Product Code\\\"/>\\n\n    <field name=\\\"product_id.parent_id.name\\\" string=\\\"Master Product Name\\\"/>\\n\n    <field name=\\\"uom_id.name\\\" string=\\\"UoM\\\"/>\\n\n    <field name=\\\"picking_id.number\\\" string=\\\"Picking Number\\\"/>\\n\n    <field name=\\\"picking_id.type\\\" string=\\\"Picking Type\\\"/>\\n\n    <field name=\\\"picking_id.contact_id.name\\\" string=\\\"Contact Name\\\"/>\\n\n    <field name=\\\"picking_id.contact_id.code\\\" string=\\\"Contact Code\\\"/>\\n\n    <field name=\\\"picking_id.contact_id.categ_id.name\\\" string=\\\"Contact Category\\\"/>\\n\n    <field name=\\\"picking_id.other_info\\\" string=\\\"Picking Other Info\\\"/>\\n\n    <field name=\\\"location_from_id.name\\\" string=\\\"From Location Name\\\"/>\\n\n    <field name=\\\"location_from_id.code\\\" string=\\\"From Location Code\\\"/>\\n\n    <field name=\\\"location_to_id.name\\\" string=\\\"To Location Name\\\"/>\\n\n    <field name=\\\"location_to_id.code\\\" string=\\\"To Location Code\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"date\\\" string=\\\"Time\\\"/>\\n\n    <!--<field name=\\\"date_day\\\"/>-->\\n    \n    <field name=\\\"week\\\"/>\\n\n    <field name=\\\"month\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"qty2\\\"/>\\n\n    <field name=\\\"cost_price\\\"/>\\n\n    <field name=\\\"cost_amount\\\"/>\\n\n    <field name=\\\"notes\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"sale_id.number\\\" string=\\\"SO Number\\\"/>\\n\n</pivot>\\n\"}, \"container_list\": {\"module\": \"netforce_stock\", \"name\": \"container_list\", \"type\": \"list\", \"model\": \"stock.container\", \"layout\": \"\n<list model=\\\"stock.container\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Update Old Lot Ranges\\\" method=\\\"update_old_lot_range\\\" show_progress=\\\"1\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <button string=\\\"Print Labels\\\" icon=\\\"print\\\" action=\\\"container_label\\\" action_options=\\\"convert=pdf\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"new_lot_range\\\"/>\\n\n</list>\\n\"}, \"mobile_count_list\": {\"module\": \"netforce_stock\", \"name\": \"mobile_count_list\", \"type\": \"list\", \"model\": \"mobile.count\", \"layout\": \"\n<list model=\\\"mobile.count\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Validate\\\" method=\\\"validate\\\" show_progress=\\\"1\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"memo\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"num_lines\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"store_type_form\": {\"module\": \"netforce_stock\", \"name\": \"store_type_form\", \"type\": \"form\", \"model\": \"store.type\", \"layout\": \"\n<form model=\\\"store.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\"}, \"ship_port_list\": {\"module\": \"netforce_stock\", \"name\": \"ship_port_list\", \"type\": \"list\", \"model\": \"ship.port\", \"layout\": \"\n<list model=\\\"ship.port\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"country_id\\\"/>\\n\n</list>\\n\"}, \"stock_count_form\": {\"module\": \"netforce_stock\", \"name\": \"stock_count_form\", \"type\": \"form\", \"model\": \"stock.count\", \"layout\": \"\n<form model=\\\"stock.count\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"done\\\",\\\"voided\\\"]]]}' show_company=\\\"1\\\" on_barcode=\\\"on_barcode\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Print PDF\\\" icon=\\\"print\\\" action=\\\"report_inventory_form\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Add Lines\\\" action=\\\"stock_count_add\\\" action_context='{\\\"refer_id\\\":id}' states=\\\"draft\\\"/>\\n\n            <item string=\\\"Update Lines\\\" method=\\\"update_prev_qtys\\\" states=\\\"draft\\\"/>\\n\n            <item string=\\\"Delete Lines\\\" confirm=\\\"Deleted Lines cannot be un-done\\\" method=\\\"delete_lines\\\" states=\\\"draft\\\"/>\\n\n            <item string=\\\"Remove Duplicate Lines\\\" method=\\\"remove_dup\\\" states=\\\"draft\\\"/>\\n\n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"done\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure you want to void this stock count?\\\" states=\\\"done\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"View Journal Entry\\\" method=\\\"view_journal_entry\\\" states=\\\"done\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"location_id\\\" span=\\\"2\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"internal\\\"]]'/>\\n\n                <field name=\\\"date\\\" span=\\\"2\\\" onchange=\\\"onchange_date\\\"/>\\n\n                <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"memo\\\" span=\\\"2\\\"/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n                    <field name=\\\"lot_id\\\" create=\\\"1\\\"/>\\n\n                    <field name=\\\"bin_location\\\"/>\\n\n                    <field name=\\\"prev_qty\\\"/>\\n\n                    <field name=\\\"prev_cost_price\\\"/>\\n\n                    <field name=\\\"prev_cost_amount\\\"/>\\n\n                    <field name=\\\"new_qty\\\"/>\\n\n                    <field name=\\\"unit_price\\\"/>\\n\n                    <field name=\\\"new_cost_amount\\\"/>\\n\n                    <field name=\\\"uom_id\\\"/>\\n\n                    <field name=\\\"lot_weight\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <field name=\\\"total_cost_amount\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"total_prev_qty\\\"/>\\n\n            <field name=\\\"total_new_qty\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other\\\">\\n            \n            <field name=\\\"journal_id\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Validate\\\" method=\\\"validate\\\" type=\\\"success\\\" states=\\\"draft\\\" show_progress=\\\"1\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"moves\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"land_cost_form\": {\"module\": \"netforce_stock\", \"name\": \"land_cost_form\", \"type\": \"form\", \"model\": \"land.cost\", \"layout\": \"\n<form model=\\\"land.cost\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"invoice_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"alloc_amount\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Allocate Costs\\\" method=\\\"alloc_cost\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"invoices\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"picking_list\": {\"module\": \"netforce_stock\", \"name\": \"picking_list\", \"type\": \"list\", \"model\": \"stock.picking\", \"priority\": 20, \"layout\": \"\n<list model=\\\"stock.picking\\\" priority=\\\"20\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"stock_move_form\": {\"module\": \"netforce_stock\", \"name\": \"stock_move_form\", \"type\": \"form\", \"model\": \"stock.move\", \"layout\": \"\n<form model=\\\"stock.move\\\" show_company=\\\"1\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]}'>\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <field name=\\\"date\\\"/>\\n\n            <field name=\\\"contact_id\\\"/>\\n\n            <field name=\\\"number\\\"/>\\n\n            <field name=\\\"picking_id\\\"/>\\n\n            <field name=\\\"ref\\\"/>\\n\n            <field name=\\\"related_id\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"location_from_id\\\"/>\\n\n            <field name=\\\"location_to_id\\\"/>\\n\n            <field name=\\\"container_id\\\"/>\\n\n            <field name=\\\"container2_id\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"cost_price\\\"/>\\n\n            <field name=\\\"cost_amount\\\"/>\\n\n            <field name=\\\"qty2\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"move_id\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other\\\">\\n            \n            <field name=\\\"journal_id\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n</form>\\n\"}, \"grade_list\": {\"module\": \"netforce_stock\", \"name\": \"grade_list\", \"type\": \"list\", \"model\": \"stock.grade\", \"layout\": \"\n<list model=\\\"stock.grade\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"qty_loss\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"stock_move_list\": {\"module\": \"netforce_stock\", \"name\": \"stock_move_list\", \"type\": \"list\", \"model\": \"stock.move\", \"priority\": 1, \"layout\": \"\n<list model=\\\"stock.move\\\" priority=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Set Track\\\" method=\\\"set_track\\\" show_progress=\\\"1\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"print_stock_move\\\" action_options='{\\\"ids\\\":ids}'/>\\n\n    </head>\\n\n    <field name=\\\"journal_id\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"lot_id\\\"/>\\n\n    <field name=\\\"container_id\\\"/>\\n\n    <field name=\\\"container2_id\\\"/>\\n\n    <field name=\\\"location_from_id\\\"/>\\n\n    <field name=\\\"location_to_id\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"cost_price\\\"/>\\n\n    <field name=\\\"cost_amount\\\"/>\\n\n    <field name=\\\"track_id\\\"/>\\n\n    <field name=\\\"qty2\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"picking_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"move_id\\\"/>\\n\n</list>\\n\"}, \"pick_out_form\": {\"module\": \"netforce_stock\", \"name\": \"pick_out_form\", \"type\": \"form\", \"model\": \"stock.picking\", \"layout\": \"\n<form model=\\\"stock.picking\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"done\\\",\\\"voided\\\"]]]}' show_company=\\\"1\\\" show_save=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_pick_out_form3\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\" align=\\\"right\\\">\\n            \n            <item string=\\\"Copy To Customer Invoice\\\" method=\\\"copy_to_invoice\\\" states=\\\"pending,approved,done\\\"/>\\n\n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"Copy To Good Receipt\\\" method=\\\"copy_to_receipt\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"pending,approved,done,voided,rejected\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure you want to void this goods issue?\\\" states=\\\"done,draft,pending,approved\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Assign Lots\\\" method=\\\"assign_lots\\\" states=\\\"draft\\\"/>\\n\n            <item string=\\\"Expand Bundles\\\" method=\\\"expand_bundles\\\"/>\\n\n            <item string=\\\"Remove Bundle Components\\\" method=\\\"remove_bundle_components\\\" confirm=\\\"Are you sure?\\\"/>\\n\n            <item string=\\\"Update Invoice\\\" method=\\\"update_invoice\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"View Journal Entry\\\" method=\\\"view_journal_entry\\\" states=\\\"done\\\"/>\\n\n            <item string=\\\"Repost Journal Entry\\\" method=\\\"repost_journal_entry\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Copy To Delivery Orderx\\\" method=\\\"copy_delivery\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Convert To Default UoM\\\" method=\\\"convert_uom\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Expand Containers\\\" method=\\\"expand_containers\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"type\\\" invisible=\\\"1\\\"/>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"journal_id\\\" span=\\\"2\\\" onchange=\\\"onchange_journal\\\"/>\\n\n                <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"contact_id\\\" span=\\\"2\\\" onchange=\\\"onchange_contact\\\"/>\\n\n                <field name=\\\"contact_person_id\\\" span=\\\"2\\\" condition='[[\\\"type\\\", \\\"=\\\", \\\"person\\\"],[\\\"org_id\\\",\\\"=\\\",contact_id]]'/>\\n\n                <field name=\\\"ship_address_id\\\" span=\\\"2\\\" condition='[[\\\"contact_id\\\",\\\"=\\\",contact_id],[\\\"contact_id\\\",\\\"!=\\\",null]]'/>\\n\n                <newline/>\\n\n                <field name=\\\"container_id\\\" span=\\\"2\\\" onchange=\\\"onchange_container\\\"/>\\n\n                <field name=\\\"container2_id\\\" span=\\\"2\\\" onchange=\\\"onchange_container2\\\"/>\\n\n                <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"related_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"packaging_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"invoice_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"delivery_slot_id\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"fulfillment_billing\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"project_id\\\" span=\\\"2\\\" onchange=\\\"onchange_project\\\"/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\" nolabel=\\\"1\\\" reorder_field=\\\"sequence\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"sequence\\\"/>\\n\n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\" condition='[[\\\"type\\\",\\\"in\\\",[\\\"stock\\\",\\\"consumable\\\",\\\"bundle\\\"]]]'/>\\n\n                    <field name=\\\"qty\\\"/>\\n\n                    <field name=\\\"uom_id\\\"/>\\n\n                    <field name=\\\"location_from_id\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"internal\\\"]]'/>\\n\n                    <field name=\\\"location_to_id\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"internal\\\"]]'/>\\n\n                    <field name=\\\"lot_id\\\" create=\\\"1\\\"/>\\n\n                    <field name=\\\"container_id\\\"/>\\n\n                    <field name=\\\"container2_id\\\"/>\\n\n                    <field name=\\\"qty2\\\"/>\\n\n                    <field name=\\\"uom2_id\\\" onchange=\\\"onchange_uom2\\\"/>\\n\n                    <field name=\\\"qty_stock\\\"/>\\n\n                    <field name=\\\"invoice_id\\\"/>\\n\n                    <field name=\\\"cost_price\\\" readonly=\\\"0\\\"/>\\n\n                    <field name=\\\"cost_amount\\\" readonly=\\\"0\\\"/>\\n\n                    <field name=\\\"gross_weight\\\"/>\\n\n                    <field name=\\\"net_weight\\\"/>\\n\n                    <field name=\\\"track_id\\\" create=\\\"1\\\"/>\\n\n                    <field name=\\\"container_from_id\\\"/>\\n\n                    <field name=\\\"packaging_id\\\"/>\\n\n                    <field name=\\\"num_packages\\\"/>\\n\n                    <field name=\\\"addons\\\"/>\\n\n                    <field name=\\\"related_id\\\"/>\\n\n                    <field name=\\\"notes\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <field name=\\\"other_info\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"QC\\\">\\n            \n            <field name=\\\"qc_results\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"product_id\\\"/>\\n\n                    <field name=\\\"lot_id\\\"/>\\n\n                    <field name=\\\"total_qty\\\"/>\\n\n                    <field name=\\\"sample_qty\\\"/>\\n\n                    <field name=\\\"test1\\\"/>\\n\n                    <field name=\\\"test2\\\"/>\\n\n                    <field name=\\\"test3\\\"/>\\n\n                    <field name=\\\"test4\\\"/>\\n\n                    <field name=\\\"test5\\\"/>\\n\n                    <field name=\\\"result\\\"/>\\n\n                </list>\\n\n            </field>\\n\n        </tab>\\n\n        <tab string=\\\"Shipping\\\">\\n            \n            <field name=\\\"ship_method_id\\\"/>\\n\n            <field name=\\\"ship_tracking\\\"/>\\n\n            <newline/>\\n\n            <!--<field name=\\\"delivery_id\\\" readonly=\\\"0\\\"/>\\n            <field name=\\\"route_id\\\" readonly=\\\"0\\\"/-->\\n            \n            <newline/>\\n\n            <field name=\\\"pallet_id\\\"/>\\n\n            <field name=\\\"num_pallets\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Approval\\\">\\n            \n            <field name=\\\"pending_by_id\\\"/>\\n\n            <field name=\\\"done_by_id\\\"/>\\n\n            <separator string=\\\"Complete Transaction\\\"/>\\n\n            <field name=\\\"done_approved_by_id\\\"/>\\n\n            <button string=\\\"Approve\\\" icon=\\\"ok\\\" method=\\\"approve_done\\\" confirm=\\\"Are you sure?\\\" perm=\\\"stock_approve_done\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other\\\">\\n            \n            <field name=\\\"date_done\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"sequence\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"employee_id\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"total_qty\\\"/>\\n\n        <field name=\\\"total_net_weight\\\"/>\\n\n        <field name=\\\"total_gross_weight\\\"/>\\n\n    </group>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Confirm\\\" method=\\\"pending\\\" states=\\\"draft\\\"/>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" states=\\\"pending\\\" perm=\\\"approve_picking\\\"/>\\n\n        <button string=\\\"Validate\\\" action=\\\"pick_validate\\\" states=\\\"approved\\\" perm=\\\"validate_picking\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"containers\\\">\\n            \n            <list>\\n                \n                <field name=\\\"container_id\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"container_id\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"pickings\\\"/>\\n\n        <field name=\\\"expand_lines\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"files\\\" view=\\\"field_files\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"files\\\" view=\\\"field_files\\\" onchange=\\\"onchange_files\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n                <field name=\\\"title\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"land_cost_list\": {\"module\": \"netforce_stock\", \"name\": \"land_cost_list\", \"type\": \"list\", \"model\": \"land.cost\", \"layout\": \"\n<list model=\\\"land.cost\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"invoice_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"ship_rate_list\": {\"module\": \"netforce_stock\", \"name\": \"ship_rate_list\", \"type\": \"list\", \"model\": \"ship.rate\", \"layout\": \"\n<list model=\\\"ship.rate\\\">\\n    \n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"method_id\\\"/>\\n\n    <field name=\\\"country_id\\\"/>\\n\n    <field name=\\\"province_id\\\"/>\\n\n    <field name=\\\"district_id\\\"/>\\n\n    <field name=\\\"postal_code\\\"/>\\n\n    <field name=\\\"min_amount\\\"/>\\n\n    <field name=\\\"min_weight\\\"/>\\n\n    <field name=\\\"address_name\\\"/>\\n\n    <field name=\\\"ship_price\\\"/>\\n\n</list>\\n\"}, \"borrow_form\": {\"module\": \"netforce_stock\", \"name\": \"borrow_form\", \"type\": \"form\", \"model\": \"product.borrow\", \"layout\": \"\n<form model=\\\"product.borrow\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"done\\\",\\\"voided\\\"]]]}'>\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Print\\\" icon=\\\"print\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"PDF\\\" action=\\\"report_borrow_form\\\" action_options=\\\"convert=pdf\\\"/>\\n\n            <item string=\\\"ODT\\\" action=\\\"report_borrow_form\\\"/>\\n\n            <item string=\\\"Select Template\\\" action=\\\"print_select_template\\\" action_options=\\\"report_action=report_borrow_form&amp;template_type=borrow_form\\\"/>\\n\n        </button>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\" align=\\\"right\\\">\\n            \n            <item string=\\\"Copy To Goods Receipt\\\" method=\\\"copy_to_pick_in\\\" states=\\\"approved\\\"/>\\n\n            <item string=\\\"Copy To Goods Issue\\\" method=\\\"copy_to_picking\\\" states=\\\"approved\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure you want to void this claim?\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"borrow_for\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"issued_qty\\\"/>\\n\n            <field name=\\\"returned_qty\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <field name=\\\"notes\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Approve\\\" method=\\\"approve\\\" states=\\\"draft\\\" type=\\\"success\\\" icon=\\\"ok\\\"/>\\n\n        <button string=\\\"Completed\\\" method=\\\"set_done\\\" states=\\\"approved\\\" type=\\\"success\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"pickings\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"borrow_list\": {\"module\": \"netforce_stock\", \"name\": \"borrow_list\", \"type\": \"list\", \"model\": \"product.borrow\", \"layout\": \"\n<list model=\\\"product.borrow\\\" colors='{\\\"due_date,#f00\\\":[[\\\"is_overdue\\\",\\\"=\\\",true],[\\\"is_return_item\\\",\\\"=\\\",false]]}'>\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"borrow_for\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"is_overdue\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"is_return_item\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"stock_balance_pivot\": {\"module\": \"netforce_stock\", \"name\": \"stock_balance_pivot\", \"type\": \"pivot\", \"model\": \"stock.balance\", \"layout\": \"\n<pivot model=\\\"stock.balance\\\" agg_name=\\\"sum\\\" vals=\\\"qty_phys\\\" cols=\\\"location_id.name\\\" rows=\\\"product_id.categ_id.name\\\">\\n    \n    <field name=\\\"product_id.name\\\" string=\\\"Product Name\\\"/>\\n\n    <field name=\\\"product_id.code\\\" string=\\\"Product Code\\\"/>\\n\n    <field name=\\\"product_id.categ_id.name\\\" string=\\\"Product Category\\\"/>\\n\n    <field name=\\\"product_id.parent_id.code\\\" string=\\\"Master Product Code\\\"/>\\n\n    <field name=\\\"product_id.parent_id.name\\\" string=\\\"Master Product Name\\\"/>\\n\n    <field name=\\\"uom_id.name\\\" string=\\\"UoM\\\"/>\\n\n    <field name=\\\"location_id.code\\\" string=\\\"Location Code\\\"/>\\n\n    <field name=\\\"lot_id.number\\\" string=\\\"Lot/Serial Number\\\"/>\\n\n    <field name=\\\"location_id.name\\\" string=\\\"Location Name\\\"/>\\n\n    <!--<field name=\\\"location_id.parent_id.name\\\" string=\\\"Parent Location Name\\\"/>-->\\n    \n    <!--<field name=\\\"agg_qty_phys\\\" string=\\\"Physical Qty\\\"/>\\n    <field name=\\\"agg_qty_virt\\\" string=\\\"Virtual Qty\\\"/>\\n    <field name=\\\"agg_amount\\\" string=\\\"Cost Amount\\\"/>\\n    -->\\n    \n    <field name=\\\"qty_phys\\\" string=\\\"Physical Qty\\\"/>\\n\n    <field name=\\\"qty_virt\\\" string=\\\"Virtual Qty\\\"/>\\n\n    <field name=\\\"amount\\\" string=\\\"Cost Amount\\\"/>\\n\n</pivot>\\n\"}, \"warehouse_move\": {\"module\": \"netforce_stock\", \"name\": \"warehouse_move\", \"type\": \"list\", \"model\": \"stock.move\", \"layout\": \"\n<list model=\\\"stock.move\\\" action=\\\"view_stock_transaction\\\">\\n    \n    <search>\\n        \n        <field name=\\\"product_id\\\"/>\\n\n        <field name=\\\"lot_id\\\"/>\\n\n        <field name=\\\"container_from_id\\\"/>\\n\n        <field name=\\\"container_to_id\\\"/>\\n\n        <field name=\\\"ref\\\"/>\\n\n        <field name=\\\"state\\\"/>\\n\n    </search>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"lot_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"cost_price\\\"/>\\n\n    <field name=\\\"cost_amount\\\"/>\\n\n    <field name=\\\"location_from_id\\\"/>\\n\n    <field name=\\\"location_to_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"location_form\": {\"module\": \"netforce_stock\", \"name\": \"location_form\", \"type\": \"form\", \"model\": \"stock.location\", \"layout\": \"\n<form model=\\\"stock.location\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"print_location\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n    </top>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"account_id\\\" condition='[[\\\"company_id\\\",\\\"=\\\",company_id],[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n    <field name=\\\"track_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n    <field name=\\\"company2_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"address_id\\\" condition='[[\\\"contact_id\\\",\\\"=\\\",contact_id]]'/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"stock_count_add\": {\"module\": \"netforce_stock\", \"name\": \"stock_count_add\", \"type\": \"form\", \"model\": \"stock.count.add\", \"layout\": \"\n<form model=\\\"stock.count.add\\\">\\n    \n    <field name=\\\"stock_count_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"categ_id\\\"/>\\n\n    <field name=\\\"sale_invoice_uom_id\\\"/>\\n\n    <field name=\\\"lot_type\\\"/>\\n\n    <field name=\\\"qty_type\\\"/>\\n\n    <field name=\\\"price_type\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Add\\\" method=\\\"add_lines\\\" type=\\\"primary\\\" show_progress=\\\"1\\\"/>\\n\n        <!--<button string=\\\"Add\\\" method=\\\"add_lines\\\" type=\\\"primary\\\"/>-->\\n    \n    </foot>\\n\n</form>\\n\"}, \"ship_rate_form\": {\"module\": \"netforce_stock\", \"name\": \"ship_rate_form\", \"type\": \"form\", \"model\": \"ship.rate\", \"layout\": \"\n<form model=\\\"ship.rate\\\">\\n    \n    <field name=\\\"sequence\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"method_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"country_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"province_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"district_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"postal_code\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"min_amount\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"min_weight\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"address_name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"ship_price\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"pick_out_list\": {\"module\": \"netforce_stock\", \"name\": \"pick_out_list\", \"type\": \"list\", \"model\": \"stock.picking\", \"priority\": 20, \"layout\": \"\n<list model=\\\"stock.picking\\\" priority=\\\"20\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_pick_out_form3\\\" action_options='{\\\"ids\\\":ids}'/>\\n\n        <button string=\\\"To Draft\\\" method=\\\"to_draft\\\"/>\\n\n        <button string=\\\"Copy To Delivery Order\\\" method=\\\"copy_to_delivery\\\"/>\\n\n        <button string=\\\"Repost Journal Entry\\\" method=\\\"repost_journal_entry\\\"/>\\n\n        <button string=\\\"Expand Bundles\\\" method=\\\"expand_bundles\\\"/>\\n\n        <button string=\\\"Validate\\\" method=\\\"set_done\\\" show_progress=\\\"1\\\"/>\\n\n        <button string=\\\"Validate (fast)\\\" method=\\\"set_done_fast\\\" show_progress=\\\"1\\\"/>\\n\n        <button string=\\\"Update Invoices\\\" method=\\\"update_invoice\\\"/>\\n\n    </head>\\n\n    <field name=\\\"journal_id\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"delivery_slot_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"invoice_id\\\"/>\\n\n    <field name=\\\"ship_address_id\\\"/>\\n\n    <field name=\\\"ship_method_id\\\"/>\\n\n    <!--field name=\\\"delivery_id\\\"/>\\n    <field name=\\\"route_id\\\"/>-->\\n    \n    <field name=\\\"ship_tracking\\\"/>\\n\n    <!--field name=\\\"ship_route\\\"/>-->\\n    \n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n</list>\\n\"}, \"orderpoint_list\": {\"module\": \"netforce_stock\", \"name\": \"orderpoint_list\", \"type\": \"list\", \"model\": \"stock.orderpoint\", \"layout\": \"\n<list model=\\\"stock.orderpoint\\\">\\n    \n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"product_categ_id\\\"/>\\n\n    <field name=\\\"min_qty\\\"/>\\n\n    <field name=\\\"max_qty\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"min_qty2\\\"/>\\n\n    <field name=\\\"max_qty2\\\"/>\\n\n</list>\\n\"}, \"barcode_station_form\": {\"module\": \"netforce_stock\", \"name\": \"barcode_station_form\", \"type\": \"form\", \"model\": \"barcode.station\", \"layout\": \"\n<form model=\\\"barcode.station\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</form>\\n\"}, \"port_destination_list\": {\"module\": \"netforce_stock\", \"name\": \"port_destination_list\", \"type\": \"list\", \"model\": \"port.destination\", \"layout\": \"\n<list model=\\\"port.destination\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"country_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</list>\\n\"}, \"lot_item_list\": {\"module\": \"netforce_stock\", \"name\": \"lot_item_list\", \"type\": \"list\", \"model\": \"stock.lot.item\", \"layout\": \"\n<list model=\\\"stock.lot.item\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <!--<field name=\\\"received_date\\\"/>-->\\n    \n    <field name=\\\"lot_id\\\"/>\\n\n</list>\\n\"}, \"store_type_list\": {\"module\": \"netforce_stock\", \"name\": \"store_type_list\", \"type\": \"list\", \"model\": \"store.type\", \"layout\": \"\n<list model=\\\"store.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</list>\"}, \"location_list\": {\"module\": \"netforce_stock\", \"name\": \"location_list\", \"type\": \"list\", \"model\": \"stock.location\", \"layout\": \"\n<list model=\\\"stock.location\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"account_id\\\"/>\\n\n    <field name=\\\"track_id\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n    <field name=\\\"company2_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n</list>\\n\"}, \"barcode_issue\": {\"module\": \"netforce_stock\", \"name\": \"barcode_issue\", \"type\": \"form\", \"model\": \"barcode.issue\", \"layout\": \"\n<form model=\\\"barcode.issue\\\" title=\\\"Barcode: Goods Issue\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"location_from_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"container_from_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"journal_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"related_id\\\" span=\\\"2\\\" onchange=\\\"onchange_related\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"location_to_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <button string=\\\"Fill Products\\\" icon=\\\"align-justify\\\" method=\\\"fill_products\\\"/>\\n\n    </group>\\n\n    <separator string=\\\"Products\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n            <field name=\\\"qty2\\\"/>\\n\n            <field name=\\\"container_from_id\\\"/>\\n\n            <field name=\\\"container_to_id\\\"/>\\n\n            <field name=\\\"location_from_id\\\"/>\\n\n            <field name=\\\"location_to_id\\\"/>\\n\n            <field name=\\\"related_id\\\"/>\\n\n            <field name=\\\"notes\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <separator/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Create\\\" method=\\\"validate\\\" type=\\\"success\\\" icon=\\\"ok\\\"/>\\n\n        <button string=\\\"Clear\\\" method=\\\"clear\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"pick_calendar\": {\"module\": \"netforce_stock\", \"name\": \"pick_calendar\", \"type\": \"calendar\", \"model\": \"stock.picking\", \"layout\": \"\n<calendar model=\\\"stock.picking\\\" date_field=\\\"date\\\" colors='{\\\"#090\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]}'>\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</calendar>\\n\"}, \"pick_out_widget\": {\"module\": \"netforce_stock\", \"name\": \"pick_out_widget\", \"type\": \"list\", \"model\": \"stock.picking\", \"priority\": 20, \"layout\": \"\n<list model=\\\"stock.picking\\\" action=\\\"pick_in\\\" action_options=\\\"mode=form\\\" priority=\\\"20\\\" hide_page=\\\"1\\\" hide_select=\\\"1\\\">\\n    \n    <head replace=\\\"1\\\">\\n        \n        <button string=\\\"New Goods Issue\\\" icon=\\\"plus\\\" action=\\\"pick_out\\\" action_options='{\\\"mode\\\":\\\"form\\\"}' noselect=\\\"1\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n</list>\\n\"}, \"packaging_list\": {\"module\": \"netforce_stock\", \"name\": \"packaging_list\", \"type\": \"list\", \"model\": \"stock.packaging\", \"layout\": \"\n<list model=\\\"stock.packaging\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"width\\\"/>\\n\n    <field name=\\\"height\\\"/>\\n\n    <field name=\\\"length\\\"/>\\n\n    <field name=\\\"net_weight\\\"/>\\n\n    <field name=\\\"packaging_weight\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"num_items\\\"/>\\n\n</list>\\n\"}, \"report_stock_invoice\": {\"module\": \"netforce_stock\", \"name\": \"report_stock_invoice\", \"type\": \"form\", \"model\": \"report.stock.invoice\", \"layout\": \"\n<form model=\\\"report.stock.invoice\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"product_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"categ_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"pick_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"products\\\" span=\\\"12\\\" view=\\\"field_multi_select\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"pick_in_widget\": {\"module\": \"netforce_stock\", \"name\": \"pick_in_widget\", \"type\": \"list\", \"model\": \"stock.picking\", \"priority\": 20, \"layout\": \"\n<list model=\\\"stock.picking\\\" action=\\\"pick_in\\\" action_options=\\\"mode=form\\\" priority=\\\"20\\\" hide_page=\\\"1\\\" hide_select=\\\"1\\\">\\n    \n    <head replace=\\\"1\\\">\\n        \n        <button string=\\\"New Goods Receipt\\\" icon=\\\"plus\\\" action=\\\"pick_in\\\" action_options='{\\\"mode\\\":\\\"form\\\"}' noselect=\\\"1\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n</list>\\n\"}, \"cycle_stockcount_list\": {\"module\": \"netforce_stock\", \"name\": \"cycle_stockcount_list\", \"type\": \"list\", \"model\": \"cycle.stock.count\", \"priority\": 20, \"layout\": \"\n<list model=\\\"cycle.stock.count\\\" priority=\\\"20\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Config/Schedule Stock-Count\\\" action=\\\"pick_location\\\"/>\\n\n        <!-- <button string=\\\"Assign SKU Category\\\" action=\\\"pick_location\\\"/>\\n        <button string=\\\"Schedule Stock-Count\\\" action=\\\"pick_location\\\"/> -->\\n    \n    </top>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"abc_categ\\\"/>\\n\n    <field name=\\\"xyz_categ\\\"/>\\n\n</list>\\n\"}, \"container_type_form\": {\"module\": \"netforce_stock\", \"name\": \"container_type_form\", \"type\": \"form\", \"model\": \"stock.container.type\", \"layout\": \"\n<form model=\\\"stock.container.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"width\\\"/>\\n\n    <field name=\\\"height\\\"/>\\n\n    <field name=\\\"length\\\"/>\\n\n    <field name=\\\"weight\\\"/>\\n\n    <field name=\\\"num_items\\\"/>\\n\n</form>\\n\"}, \"qc_result_list\": {\"module\": \"netforce_stock\", \"name\": \"qc_result_list\", \"type\": \"list\", \"model\": \"qc.result\", \"layout\": \"\n<list model=\\\"qc.result\\\">\\n    \n    <field name=\\\"pick_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"lot_id\\\"/>\\n\n    <field name=\\\"total_qty\\\"/>\\n\n    <field name=\\\"sample_qty\\\"/>\\n\n    <field name=\\\"test1\\\"/>\\n\n    <field name=\\\"test2\\\"/>\\n\n    <field name=\\\"test3\\\"/>\\n\n    <field name=\\\"test4\\\"/>\\n\n    <field name=\\\"test5\\\"/>\\n\n    <field name=\\\"result\\\"/>\\n\n</list>\\n\"}, \"custom_report_stock_expiry\": {\"module\": \"netforce_stock\", \"name\": \"custom_report_stock_expiry\", \"type\": \"form\", \"model\": \"custom.report.stock.expiry\", \"layout\": \"\n<form model=\\\"custom.report.stock.expiry\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"categ_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"product_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"location_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"period_days\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"num_periods\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"stock_count_list\": {\"module\": \"netforce_stock\", \"name\": \"stock_count_list\", \"type\": \"list\", \"model\": \"stock.count\", \"layout\": \"\n<list model=\\\"stock.count\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Validate\\\" method=\\\"validate\\\" show_progress=\\\"1\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"memo\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"num_lines\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"grade_line_form\": {\"module\": \"netforce_stock\", \"name\": \"grade_line_form\", \"type\": \"form\", \"model\": \"stock.grade.line\", \"layout\": \"\n<form model=\\\"stock.grade.line\\\">\\n    \n    <field name=\\\"grade_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"product_gb_id\\\"/>\\n\n    <field name=\\\"qty_ga\\\"/>\\n\n    <field name=\\\"qty_gb\\\"/>\\n\n    <field name=\\\"qty_waste\\\"/>\\n\n    <field name=\\\"qty_loss\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n</form>\\n\"}, \"orderpoint_form\": {\"module\": \"netforce_stock\", \"name\": \"orderpoint_form\", \"type\": \"form\", \"model\": \"stock.orderpoint\", \"layout\": \"\n<form model=\\\"stock.orderpoint\\\">\\n    \n    <field name=\\\"location_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"product_categ_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"min_qty\\\"/>\\n\n    <field name=\\\"min_qty_months\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"max_qty\\\"/>\\n\n    <field name=\\\"max_qty_months\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"landed_cost_form\": {\"module\": \"netforce_stock\", \"name\": \"landed_cost_form\", \"type\": \"form\", \"model\": \"landed.cost\", \"layout\": \"\n<form model=\\\"landed.cost\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"posted\\\",\\\"reversed\\\"]]]}'>\\n    \n    <top>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_landed_cost_form\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"posted,reversed\\\"/>\\n\n            <item string=\\\"Copy To Actual Landed Costs\\\" method=\\\"copy_to_actual\\\"/>\\n\n            <item string=\\\"Reverse Landed Cost\\\" method=\\\"reverse\\\" confirm=\\\"Are you sure?\\\" states=\\\"posted\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"View Journal Entry\\\" method=\\\"view_journal_entry\\\" states=\\\"posted,reversed\\\"/>\\n\n            <item string=\\\"View Reverse Journal Entry\\\" method=\\\"view_reverse_journal_entry\\\" states=\\\"reversed\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <field name=\\\"number\\\"/>\\n\n            <field name=\\\"date\\\"/>\\n\n            <field name=\\\"invoice_id\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"in\\\"]]'/>\\n\n            <field name=\\\"ref\\\"/>\\n\n            <field name=\\\"payment_id\\\"/>\\n\n            <separator string=\\\"Allocated Costs\\\"/>\\n\n            <field name=\\\"cost_allocs\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"move_id\\\"/>\\n\n                    <field name=\\\"picking_id\\\"/>\\n\n                    <field name=\\\"contact_id\\\"/>\\n\n                    <field name=\\\"date\\\"/>\\n\n                    <field name=\\\"product_id\\\"/>\\n\n                    <field name=\\\"qty\\\"/>\\n\n                    <field name=\\\"uom_id\\\"/>\\n\n                    <field name=\\\"location_from_id\\\"/>\\n\n                    <field name=\\\"location_to_id\\\"/>\\n\n                    <field name=\\\"track_id\\\"/>\\n\n                    <field name=\\\"qty_stock_gr\\\"/>\\n\n                    <field name=\\\"qty_stock_lc\\\"/>\\n\n                    <field name=\\\"cost_price\\\"/>\\n\n                    <field name=\\\"cost_amount\\\"/>\\n\n                    <field name=\\\"est_ship\\\"/>\\n\n                    <field name=\\\"est_duty\\\"/>\\n\n                    <field name=\\\"act_ship\\\"/>\\n\n                    <field name=\\\"act_duty\\\"/>\\n\n                    <field name=\\\"amount\\\"/>\\n\n                    <field name=\\\"percent\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <separator string=\\\"Total Costs\\\"/>\\n\n            <field name=\\\"est_ship\\\"/>\\n\n            <field name=\\\"est_duty\\\"/>\\n\n            <field name=\\\"act_ship\\\"/>\\n\n            <field name=\\\"act_duty\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Allocate\\\">\\n            \n            <field name=\\\"alloc_amount\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"alloc_type\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"alloc_cost_type\\\"/>\\n\n            <newline/>\\n\n            <button string=\\\"Allocate Amount\\\" method=\\\"alloc_amount\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <foot>\\n        \n        <button string=\\\"Post\\\" method=\\\"post\\\" type=\\\"success\\\" states=\\\"draft\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"stock_moves\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"report_stock_forecast\": {\"module\": \"netforce_stock\", \"name\": \"report_stock_forecast\", \"type\": \"form\", \"model\": \"report.stock.forecast\", \"layout\": \"\n<form model=\\\"report.stock.forecast\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"categ_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"product_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"location_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"period_days\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"num_periods\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"show_location\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"show_lot\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"stock_cut_form\": {\"module\": \"netforce_stock\", \"name\": \"stock_cut_form\", \"type\": \"form\", \"model\": \"stock.cut\", \"layout\": \"\n<form model=\\\"stock.cut\\\" title=\\\"Stock Cutting\\\">\\n    \n    <separator string=\\\"Orders\\\"/>\\n\n    <field name=\\\"orders\\\">\\n        \n        <list>\\n            \n            <field name=\\\"width\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"qty_type\\\"/>\\n\n            <field name=\\\"pat_qty\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <separator string=\\\"Stock\\\"/>\\n\n    <field name=\\\"stock\\\">\\n        \n        <list>\\n            \n            <field name=\\\"width\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"jumbo\\\"/>\\n\n            <field name=\\\"pat_qty\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <separator string=\\\"Cutting Patterns\\\"/>\\n\n    <field name=\\\"patterns\\\">\\n        \n        <list>\\n            \n            <field name=\\\"stock_width\\\"/>\\n\n            <field name=\\\"num\\\"/>\\n\n            <field name=\\\"width1\\\"/>\\n\n            <field name=\\\"qty1\\\"/>\\n\n            <field name=\\\"width2\\\"/>\\n\n            <field name=\\\"qty2\\\"/>\\n\n            <field name=\\\"width3\\\"/>\\n\n            <field name=\\\"qty3\\\"/>\\n\n            <field name=\\\"width4\\\"/>\\n\n            <field name=\\\"qty4\\\"/>\\n\n            <field name=\\\"width5\\\"/>\\n\n            <field name=\\\"qty5\\\"/>\\n\n            <field name=\\\"total_cut\\\"/>\\n\n            <field name=\\\"waste\\\"/>\\n\n            <field name=\\\"total_waste\\\" shw_total=\\\"1\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <newline/>\\n\n    <field name=\\\"total_waste\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Compute Patterns\\\" method=\\\"solve\\\" type=\\\"success\\\" icon=\\\"arrow-right\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"qc_result_form\": {\"module\": \"netforce_stock\", \"name\": \"qc_result_form\", \"type\": \"form\", \"model\": \"qc.result\", \"layout\": \"\n<form model=\\\"qc.result\\\">\\n    \n    <field name=\\\"pick_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"lot_id\\\"/>\\n\n    <field name=\\\"total_qty\\\"/>\\n\n    <field name=\\\"sample_qty\\\"/>\\n\n    <field name=\\\"result\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"test1\\\"/>\\n\n    <field name=\\\"test2\\\"/>\\n\n    <field name=\\\"test3\\\"/>\\n\n    <field name=\\\"test4\\\"/>\\n\n    <field name=\\\"test5\\\"/>\\n\n</form>\\n\"}, \"pick_validate_form\": {\"module\": \"netforce_stock\", \"name\": \"pick_validate_form\", \"type\": \"form\", \"model\": \"pick.validate\", \"layout\": \"\n<form model=\\\"pick.validate\\\">\\n    \n    <field name=\\\"picking_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list noadd=\\\"1\\\" noremove=\\\"1\\\">\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <foot>\\n        \n        <button string=\\\"Validate\\\" method=\\\"do_validate\\\" type=\\\"success\\\"/>\\n\n    </foot>\\n\n</form>\"}, \"delivery_slot_form\": {\"module\": \"netforce_stock\", \"name\": \"delivery_slot_form\", \"type\": \"form\", \"model\": \"delivery.slot\", \"layout\": \"\n<form model=\\\"delivery.slot\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"time_from\\\"/>\\n\n    <field name=\\\"time_to\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"capacities\\\">\\n            \n            <list>\\n                \n                <field name=\\\"weekday\\\"/>\\n\n                <field name=\\\"capacity\\\"/>\\n\n                <field name=\\\"exclude_postal_codes\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"weekday\\\"/>\\n\n                <field name=\\\"capacity\\\"/>\\n\n                <field name=\\\"exclude_postal_codes\\\"/>\\n\n            </form>\\n\n        </field>\\n\n    </related>\\n\n</form>\\n\"}, \"warehouse_balance\": {\"module\": \"netforce_stock\", \"name\": \"warehouse_balance\", \"type\": \"list\", \"model\": \"stock.balance\", \"layout\": \"\n<list model=\\\"stock.balance\\\">\\n    \n    <head>\\n        \n        <button string=\\\"New Purchase Order\\\" method=\\\"make_po\\\" icon=\\\"plus-sign\\\"/>\\n\n        <button string=\\\"New Goods Transfer\\\" method=\\\"make_transfer\\\" icon=\\\"plus-sign\\\"/>\\n\n        <button string=\\\"New Goods Issue\\\" method=\\\"make_issue\\\" icon=\\\"plus-sign\\\"/>\\n\n    </head>\\n\n    <search>\\n        \n        <field name=\\\"product_id\\\"/>\\n\n        <field name=\\\"lot_id\\\"/>\\n\n        <field name=\\\"container_id\\\"/>\\n\n    </search>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"lot_id\\\"/>\\n\n    <field name=\\\"container_id\\\"/>\\n\n    <field name=\\\"qty_phys\\\"/>\\n\n    <field name=\\\"qty_virt\\\"/>\\n\n    <field name=\\\"min_qty\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"last_change\\\"/>\\n\n</list>\\n\"}, \"custom_stock_count_add\": {\"module\": \"netforce_stock\", \"name\": \"custom_stock_count_add\", \"type\": \"form\", \"model\": \"stock.count.add\", \"layout\": \"\n<form model=\\\"stock.count.add\\\">\\n    \n    <field name=\\\"stock_count_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"categ_id\\\"/>\\n\n    <field name=\\\"sale_invoice_uom_id\\\"/>\\n\n    <field name=\\\"lot_type\\\"/>\\n\n    <field name=\\\"qty_type\\\"/>\\n\n    <field name=\\\"price_type\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Add\\\" method=\\\"add_lines\\\" type=\\\"primary\\\" show_progress=\\\"1\\\"/>\\n\n        <!--<button string=\\\"Add\\\" method=\\\"add_lines\\\" type=\\\"primary\\\"/>-->\\n    \n    </foot>\\n\n</form>\\n\"}, \"container_type_list\": {\"module\": \"netforce_stock\", \"name\": \"container_type_list\", \"type\": \"list\", \"model\": \"stock.container.type\", \"layout\": \"\n<list model=\\\"stock.container.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"width\\\"/>\\n\n    <field name=\\\"height\\\"/>\\n\n    <field name=\\\"length\\\"/>\\n\n    <field name=\\\"weight\\\"/>\\n\n    <field name=\\\"num_items\\\"/>\\n\n</list>\\n\"}, \"report_stock_card\": {\"module\": \"netforce_stock\", \"name\": \"report_stock_card\", \"type\": \"form\", \"model\": \"report.stock.card\", \"layout\": \"\n<form model=\\\"report.stock.card\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"categ_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"product_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"location_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"uom_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"lot_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"invoice_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"show_pending\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"show_qty2\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"hide_zero\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"hide_cost\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"pick_list\": {\"module\": \"netforce_stock\", \"name\": \"pick_list\", \"type\": \"list\", \"model\": \"stock.picking\", \"priority\": 1, \"layout\": \"\n<list model=\\\"stock.picking\\\" action=\\\"view_picking\\\" priority=\\\"1\\\">\\n    \n    <head>\\n        \n        <button string=\\\"To Draft\\\" method=\\\"to_draft\\\"/>\\n\n    </head>\\n\n    <field name=\\\"journal_id\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"delivery_slot_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"ship_tracking\\\"/>\\n\n    <field name=\\\"ship_state\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n</list>\\n\"}, \"cycle_stockcount_form\": {\"module\": \"netforce_stock\", \"name\": \"cycle_stockcount_form\", \"type\": \"form\", \"model\": \"cycle.stock.count\", \"layout\": \"\n<form model=\\\"cycle.stock.count\\\" show_company=\\\"1\\\" show_save=\\\"1\\\">\\n    \n    <top>\\n\n        <!--\\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\" align=\\\"right\\\">\\n            <item string=\\\"Test\\\" method=\\\"test_func\\\"/>\\n        </button> -->\\n    \n    </top>\\n\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"location_id\\\"/>\\n\n            <field name=\\\"date\\\"/>\\n\n            <field name=\\\"abc_categ\\\"/>\\n\n            <field name=\\\"xyz_categ\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n        </tab>\\n\n    </tabs> \\n\n    <!--\\n    <foot>\\n        <button string=\\\"Test\\\" method=\\\"test_func\\\"/>\\n    </foot>\\n-->\\n    \n    <related>\\n        \n        <field name=\\\"record_id\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"lot_form\": {\"module\": \"netforce_stock\", \"name\": \"lot_form\", \"type\": \"form\", \"model\": \"stock.lot\", \"layout\": \"\n<form model=\\\"stock.lot\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_lot_form\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\">\\n            \n            <item string=\\\"Update shelf life dates\\\" method=\\\"update_life_dates\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"supp_lot_no\\\"/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"received_date\\\"/>\\n\n    <field name=\\\"mfg_date\\\"/>\\n\n    <field name=\\\"expiry_date\\\"/>\\n\n    <field name=\\\"life_remain_percent\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"life_75_date\\\"/>\\n\n    <field name=\\\"life_50_date\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"weight\\\"/>\\n\n    <field name=\\\"width\\\"/>\\n\n    <field name=\\\"length\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"url\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"last_location_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"lot_items\\\"/>\\n\n        <field name=\\\"stock_balances\\\"/>\\n\n        <field name=\\\"expiry_moves\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"pick_location_form\": {\"module\": \"netforce_stock\", \"name\": \"pick_location_form\", \"type\": \"form\", \"model\": \"select.location\", \"layout\": \"\n<form model=\\\"select.location\\\">\\n    \n    <field name=\\\"location_id\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Calculate XYZ/ABC Category\\\" method=\\\"assign_sku_categ\\\" type=\\\"success\\\" show_progress=\\\"1\\\"/>\\n\n        <button string=\\\"Schedule Cycle Count\\\" method=\\\"schedule_cycle_count\\\" type=\\\"success\\\" show_progress=\\\"1\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"stock_count_line_list\": {\"module\": \"netforce_stock\", \"name\": \"stock_count_line_list\", \"type\": \"list\", \"model\": \"stock.count.line\", \"priority\": 20, \"layout\": \"\n<list model=\\\"stock.count.line\\\" priority=\\\"20\\\">\\n    \n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"prev_qty\\\"/>\\n\n    <field name=\\\"new_qty\\\"/>\\n\n</list>\\n\"}, \"warehouse_widget\": {\"module\": \"netforce_stock\", \"name\": \"warehouse_widget\", \"type\": \"list_details\", \"model\": \"stock.location\", \"layout\": \"\n<list_details model=\\\"stock.location\\\" action=\\\"warehouse\\\" action_options='{\\\"mode\\\":\\\"page\\\",\\\"active_id\\\":id}'>\\n    \n    <head>\\n        \n        <field name=\\\"name\\\"/>\\n\n        <button string=\\\"Manage Warehouse\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Product Stock\\\" action=\\\"warehouse\\\" action_options='{\\\"mode\\\":\\\"page\\\",\\\"active_id\\\":id,\\\"related_tab\\\":1}'/>\\n\n            <item string=\\\"Stock Transactions\\\" action=\\\"warehouse\\\" action_options='{\\\"mode\\\":\\\"page\\\",\\\"active_id\\\":id,\\\"related_tab\\\":2}'/>\\n\n            <divider/>\\n\n            <item string=\\\"Goods Receipt\\\" action=\\\"pick_in\\\" action_options='{\\\"mode\\\":\\\"form\\\"}'/>\\n\n            <item string=\\\"Goods Transfer\\\" action=\\\"pick_internal\\\" action_options='{\\\"mode\\\":\\\"form\\\"}'/>\\n\n            <item string=\\\"Goods Issue\\\" action=\\\"pick_out\\\" action_options='{\\\"mode\\\":\\\"form\\\"}'/>\\n\n        </button>\\n\n    </head>\\n\n    <group span=\\\"3\\\" form_layout=\\\"stacked\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"balance\\\" strong=\\\"1\\\"/>\\n\n    </group>\\n\n    <field name=\\\"balance_90d\\\" span=\\\"9\\\" view=\\\"field_chart\\\" view_options='{\\\"chart_type\\\":\\\"area\\\",\\\"x_type\\\":\\\"datetime\\\",\\\"height\\\":150}' nolabel=\\\"1\\\"/>\\n\n</list_details>\\n\"}, \"product_waste_list\": {\"module\": \"netforce_stock\", \"name\": \"product_waste_list\", \"type\": \"list\", \"model\": \"product.waste\", \"layout\": \"\n<list model=\\\"product.waste\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"lot_id\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n</list>\\n\"}, \"ship_term_list\": {\"module\": \"netforce_stock\", \"name\": \"ship_term_list\", \"type\": \"list\", \"model\": \"ship.term\", \"layout\": \"\n<list model=\\\"ship.term\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"unit_price_diff\\\"/>\\n\n</list>\\n\"}, \"custom_stock_count_session_list\": {\"module\": \"netforce_stock\", \"name\": \"custom_stock_count_session_list\", \"type\": \"list\", \"model\": \"custom.stock.count.session\", \"layout\": \"\n<list model=\\\"custom.stock.count.session\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"stock_board\": {\"module\": \"netforce_stock\", \"name\": \"stock_board\", \"type\": \"board\", \"layout\": \"\n<board>\\n    \n    <vpanel>\\n        \n        <widget action=\\\"warehouse_widget\\\" string=\\\"Warehouses\\\"/>\\n\n    </vpanel>\\n\n    <vpanel>\\n        \n        <widget action=\\\"stock_below_widget\\\" string=\\\"Products Below Min Stock\\\"/>\\n\n        <widget action=\\\"pick_in_widget\\\" string=\\\"Incoming Goods\\\"/>\\n\n        <widget action=\\\"pick_out_widget\\\" string=\\\"Outgoing Goods\\\"/>\\n\n    </vpanel>\\n\n</board>\\n\"}, \"barcode_validate\": {\"module\": \"netforce_stock\", \"name\": \"barcode_validate\", \"type\": \"form\", \"model\": \"barcode.validate\", \"layout\": \"\n<form model=\\\"barcode.validate\\\" title=\\\"Barcode: Validate Picking\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"picking_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <button string=\\\"Fill Products\\\" icon=\\\"align-justify\\\" method=\\\"fill_products\\\"/>\\n\n    </group>\\n\n    <separator string=\\\"Products\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"qty_planned\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"uom_id\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"location_from_id\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"location_to_id\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"lot_id\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"qty_actual\\\"/>\\n\n            <field name=\\\"container_to_id\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"related_id\\\" readonly=\\\"1\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <separator/>\\n\n    <field name=\\\"mode\\\"/>\\n\n    <field name=\\\"location_loss_id\\\" attrs='{\\\"invisible\\\":[[\\\"mode\\\",\\\"!=\\\",\\\"loss\\\"]]}'/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Validate\\\" method=\\\"validate\\\" type=\\\"success\\\" icon=\\\"ok\\\"/>\\n\n        <button string=\\\"Clear\\\" method=\\\"clear\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"stock_balance_list\": {\"module\": \"netforce_stock\", \"name\": \"stock_balance_list\", \"type\": \"list\", \"model\": \"stock.balance\", \"priority\": 1, \"layout\": \"\n<list model=\\\"stock.balance\\\" colors='{\\\"#f66\\\":[[\\\"below_min\\\",\\\"=\\\",true]]}' priority=\\\"1\\\">\\n    \n    <top replace=\\\"1\\\">\\n        \n        <button string=\\\"Update All Balances\\\" method=\\\"update_all_balances\\\" show_progress=\\\"1\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <button string=\\\"New Purchase Order\\\" method=\\\"make_po\\\" icon=\\\"plus-sign\\\"/>\\n\n        <button string=\\\"New Goods Transfer\\\" method=\\\"make_transfer\\\" icon=\\\"plus-sign\\\"/>\\n\n        <button string=\\\"New Goods Issue\\\" method=\\\"make_issue\\\" icon=\\\"plus-sign\\\"/>\\n\n        <button string=\\\"New Product Transform\\\" method=\\\"copy_to_transform\\\" icon=\\\"plus-sign\\\"/>\\n\n    </head>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"lot_id\\\"/>\\n\n    <field name=\\\"container_id\\\"/>\\n\n    <field name=\\\"container2_id\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"qty_phys\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"qty_virt\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"qty2\\\"/>\\n\n    <field name=\\\"min_qty\\\"/>\\n\n    <field name=\\\"below_min\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"last_change\\\"/>\\n\n</list>\\n\"}, \"landed_cost_list\": {\"module\": \"netforce_stock\", \"name\": \"landed_cost_list\", \"type\": \"list\", \"model\": \"landed.cost\", \"layout\": \"\n<list model=\\\"landed.cost\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Merge Landed Costs\\\" method=\\\"merge_lc\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"est_duty\\\"/>\\n\n    <field name=\\\"est_ship\\\"/>\\n\n    <field name=\\\"act_duty\\\"/>\\n\n    <field name=\\\"act_ship\\\"/>\\n\n    <field name=\\\"invoice_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"stock_compute_cost_form\": {\"module\": \"netforce_stock_cost\", \"name\": \"stock_compute_cost_form\", \"type\": \"form\", \"model\": \"stock.compute.cost\", \"layout\": \"\n<form model=\\\"stock.compute.cost\\\" title=\\\"Compute Cost\\\">\\n    \n    <label string=\\\"This will compute the cost for all stock transactions that are not yet posted.\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Compute\\\" method=\\\"compute_cost\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\"}, \"stock_period_form\": {\"module\": \"netforce_stock_cost\", \"name\": \"stock_period_form\", \"type\": \"form\", \"model\": \"stock.period\", \"layout\": \"\n<form model=\\\"stock.period\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"=\\\",\\\"posted\\\"]]}' show_company=\\\"1\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"posted\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"View Journal Entry\\\" method=\\\"view_journal_entry\\\" states=\\\"posted\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"num_stock_moves\\\"/>\\n\n    <field name=\\\"num_posted_stock_moves\\\"/>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Post\\\" method=\\\"post\\\" type=\\\"success\\\" states=\\\"draft\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"stock_moves\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"stock_menu_cost\": {\"module\": \"netforce_stock_cost\", \"name\": \"stock_menu_cost\", \"type\": \"inherit\", \"inherit\": \"stock_menu\", \"layout\": \"\n<inherit inherit=\\\"stock_menu\\\">\\n    \n    <item string=\\\"Reports\\\" position=\\\"after\\\">\\n        \n        <item string=\\\"Costing\\\" icon=\\\"fa_search_dollar\\\">\\n            \n            <item string=\\\"Compute Cost\\\" action=\\\"stock_compute_cost\\\"/>\\n\n            <item string=\\\"Stock Periods\\\" action=\\\"stock_period\\\"/>\\n</item>\\n\n    </item>\\n\n</inherit>\\n\"}, \"stock_period_list\": {\"module\": \"netforce_stock_cost\", \"name\": \"stock_period_list\", \"type\": \"list\", \"model\": \"stock.period\", \"layout\": \"\n<list model=\\\"stock.period\\\">\\n    \n    <head>\\n        \n        <button string=\\\"To Draft\\\" method=\\\"to_draft\\\" show_progress=\\\"1\\\"/>\\n\n        <button string=\\\"Post\\\" method=\\\"post\\\" type=\\\"success\\\" show_progress=\\\"1\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"num_stock_moves\\\"/>\\n\n    <field name=\\\"num_posted_stock_moves\\\"/>\\n\n</list>\\n\"}, \"report_sale_commission\": {\"module\": \"netforce_sale\", \"name\": \"report_sale_commission\", \"type\": \"form\", \"model\": \"report.sale.commission\", \"layout\": \"\n<form model=\\\"report.sale.commission\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"seller_percent\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"parent_percent\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"grand_parent_percent\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"default_margin\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"opport_pivot\": {\"module\": \"netforce_sale\", \"name\": \"opport_pivot\", \"type\": \"pivot\", \"model\": \"sale.opportunity\", \"layout\": \"\n<pivot model=\\\"sale.opportunity\\\" cols=\\\"stage_id.name\\\" rows=\\\"categ_id.name\\\" agg_name=\\\"count\\\">\\n    \n    <field name=\\\"contact_id.name\\\" string=\\\"Contact\\\"/>\\n\n    <field name=\\\"contact_id.categ_id.name\\\" string=\\\"Contact Category\\\"/>\\n\n    <field name=\\\"stage_id.name\\\" string=\\\"Stage\\\"/>\\n\n    <field name=\\\"categ_id.name\\\" string=\\\"Sales Category\\\"/>\\n\n    <field name=\\\"lead_source\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"user_id.name\\\" string=\\\"Responsible User\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"date_week\\\"/>\\n\n    <field name=\\\"date_month\\\"/>\\n\n</pivot>\\n\"}, \"delivery_term_form\": {\"module\": \"netforce_sale\", \"name\": \"delivery_term_form\", \"type\": \"form\", \"model\": \"delivery.term\", \"layout\": \"\n<form model=\\\"delivery.term\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</form>\\n\"}, \"sale_return_form\": {\"module\": \"netforce_sale\", \"name\": \"sale_return_form\", \"type\": \"form\", \"model\": \"sale.return\", \"layout\": \"\n<form model=\\\"sale.return\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"confirmed\\\",\\\"done\\\",\\\"voided\\\"]]]}' show_company=\\\"1\\\" show_save=\\\"1\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_sale_return_form\\\"/>\\n\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"report_sale_return_form2\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"Copy To Credit Note\\\" method=\\\"copy_to_credit_note\\\" states=\\\"confirmed\\\"/>\\n\n            <item string=\\\"Copy To Goods Receipt\\\" method=\\\"copy_to_picking\\\" states=\\\"confirmed\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure you want to void this sales return?\\\" states=\\\"confirmed,done\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"contact_id\\\" span=\\\"2\\\" create=\\\"1\\\" onchange=\\\"onchange_contact\\\"/>\\n\n                <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"due_date\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"is_delivered\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"currency_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"tax_type\\\" span=\\\"2\\\" onchange=\\\"update_amounts\\\"/>\\n\n                <field name=\\\"price_list_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"related_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"team_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"is_paid\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"bill_address_id\\\" span=\\\"2\\\" condition='[[\\\"contact_id\\\",\\\"!=\\\",null],[\\\"contact_id\\\",\\\"=\\\",contact_id]]'/>\\n\n                <field name=\\\"ship_address_id\\\" span=\\\"2\\\" condition='[[\\\"contact_id\\\",\\\"!=\\\",null],[\\\"contact_id\\\",\\\"=\\\",contact_id]]'/>\\n\n                <field name=\\\"orig_sale_id\\\" span=\\\"2\\\"/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\" condition='[[\\\"can_sell\\\",\\\"=\\\",true]]'/>\\n\n                    <field name=\\\"description\\\"/>\\n\n                    <field name=\\\"qty\\\" onchange=\\\"onchange_qty\\\"/>\\n\n                    <field name=\\\"uom_id\\\" onchange=\\\"onchange_uom\\\"/>\\n\n                    <field name=\\\"unit_price\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"discount\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"discount_amount\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"tax_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"amount\\\"/>\\n\n                    <field name=\\\"location_id\\\"/>\\n\n                    <field name=\\\"qty_stock\\\"/>\\n\n                    <field name=\\\"ship_method_id\\\"/>\\n\n                    <field name=\\\"qty_received\\\"/>\\n\n                    <field name=\\\"return_type\\\"/>\\n\n                    <field name=\\\"reason_code_id\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\" horizontal=\\\"1\\\">\\n                \n                <field name=\\\"amount_subtotal\\\"/>\\n\n                <field name=\\\"amount_tax\\\"/>\\n\n                <field name=\\\"amount_total\\\"/>\\n\n            </group>\\n\n            <field name=\\\"payment_terms\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"other_info\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other Info\\\">\\n            \n            <field name=\\\"user_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"sequence_id\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"sale_return\\\"]]' onchange=\\\"onchange_sequence\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"ship_term_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"pay_method_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"create_time\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Confirm\\\" method=\\\"confirm\\\" size=\\\"large\\\" type=\\\"success\\\" states=\\\"draft\\\" perm=\\\"approve_sale\\\"/>\\n\n        <button string=\\\"Completed\\\" method=\\\"done\\\" size=\\\"large\\\" type=\\\"success\\\" states=\\\"confirmed\\\"/>\\n\n        <button string=\\\"Reopen\\\" method=\\\"reopen\\\" size=\\\"large\\\" states=\\\"done\\\" icon=\\\"refresh\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"invoices\\\" click_action=\\\"view_invoice\\\"/>\\n\n        <field name=\\\"pickings\\\"/>\\n\n        <field name=\\\"activities\\\"/>\\n\n        <field name=\\\"emails\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"oppport_lost\": {\"module\": \"netforce_sale\", \"name\": \"oppport_lost\", \"type\": \"form\", \"model\": \"sale.lead\", \"priority\": 20, \"layout\": \"\n<form model=\\\"sale.lead\\\" priority=\\\"20\\\">\\n    \n    <field name=\\\"refer_reason_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"refer_contact_id\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Refer\\\" method=\\\"refer\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"sale_event_form\": {\"module\": \"netforce_sale\", \"name\": \"sale_event_form\", \"type\": \"form\", \"model\": \"sale.event\", \"layout\": \"\n<form model=\\\"sale.event\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <group span=\\\"12\\\" form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"products\\\" span=\\\"12\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"sale_menu\": {\"module\": \"netforce_sale\", \"name\": \"sale_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Sales\\\">\\n    \n    <item string=\\\"Dashboard\\\" icon=\\\"fa_chart_pie\\\" action=\\\"sale_board\\\"/>\\n\n    <item string=\\\"Sales\\\" icon=\\\"fa_chart_line\\\">\\n        \n        <item string=\\\"Leads\\\" action=\\\"lead\\\"/>\\n\n        <item string=\\\"Opportunities\\\" action=\\\"opport\\\"/>\\n\n        <item string=\\\"Quotations\\\" action=\\\"quot\\\"/>\\n\n        <item string=\\\"Sales Orders\\\" action=\\\"sale\\\"/>\\n\n        <item string=\\\"Sales Returns\\\" action=\\\"sale_return\\\"/>\\n\n        <item string=\\\"Sales Forecast\\\" action=\\\"sale_forecast\\\"/>\\n\n        <item string=\\\"Sales Forecast Details\\\" action=\\\"sale_forecast_line\\\"/>\\n\n        <item string=\\\"Sales Activities\\\" action=\\\"sale_activ\\\"/>\\n\n        <item string=\\\"Recurring Sales\\\" action=\\\"sale_rec\\\"/>\\n</item>\\n\n    <item string=\\\"Promotions\\\" icon=\\\"fa_ad\\\">\\n        \n        <item string=\\\"Promotions\\\" action=\\\"promotion\\\"/>\\n\n        <item string=\\\"Coupon Masters\\\" action=\\\"coupon_master\\\"/>\\n\n        <item string=\\\"Coupons\\\" action=\\\"coupon\\\"/>\\n\n        <item string=\\\"Events\\\" action=\\\"sale_event\\\"/>\\n\n        <item string=\\\"Vouchers\\\" action=\\\"sale_voucher\\\"/>\\n</item>\\n\n    <item string=\\\"Reports\\\" icon=\\\"fa_chart_bar\\\">\\n        \n        <item string=\\\"Leads Analysis\\\" action=\\\"lead_analysis\\\"/>\\n\n        <divider/>\\n\n        <item string=\\\"Opportunity Analysis\\\" action=\\\"opport_analysis\\\"/>\\n\n        <divider/>\\n\n        <item string=\\\"Quotation Analysis\\\" action=\\\"quot_analysis\\\"/>\\n\n        <item string=\\\"Quotation Line Analysis\\\" action=\\\"quot_line_analysis\\\"/>\\n\n        <divider/>\\n\n        <item string=\\\"Sales Order Analysis\\\" action=\\\"sale_analysis\\\"/>\\n\n        <item string=\\\"Sales Line Analysis\\\" action=\\\"sale_line_analysis\\\"/>\\n\n        <divider/>\\n\n        <item string=\\\"Sales Profit Summary Report\\\" action=\\\"report_sale_profit\\\"/>\\n\n        <item string=\\\"Sales Profit Details Report\\\" action=\\\"report_sale_profit_details\\\"/>\\n\n        <item string=\\\"Unpaid Sales Report\\\" action=\\\"report_unpaid_sale\\\"/>\\n\n        <item string=\\\"Sales Payments Report\\\" action=\\\"report_sale_payment\\\"/>\\n\n        <divider/>\\n\n        <item string=\\\"Demand Forecast Analysis\\\" action=\\\"demand_analysis\\\"/>\\n\n        <divider/>\\n\n        <item string=\\\"Commission Report\\\" action=\\\"report_sale_commission\\\"/>\\n\n        <item string=\\\"Sales Unbill Report\\\" action=\\\"report_sale_unbill\\\"/>\\n</item>\\n\n    <item string=\\\"Settings\\\" icon=\\\"fa_cog\\\">\\n        \n        <item string=\\\"Sales Settings\\\" action=\\\"sale_settings\\\"/>\\n\n        <item string=\\\"Lead Sources\\\" action=\\\"lead_source\\\"/>\\n\n        <item string=\\\"Sales Channels\\\" action=\\\"sale_channel\\\"/>\\n\n        <item string=\\\"Sales Stages\\\" action=\\\"sale_stage\\\"/>\\n\n        <item string=\\\"Sales Categories\\\" action=\\\"sale_categ\\\"/>\\n\n        <item string=\\\"Sellers\\\" action=\\\"seller\\\"/>\\n\n        <item string=\\\"Sales Targets\\\" action=\\\"sale_target\\\"/>\\n\n        <item string=\\\"Competitors\\\" action=\\\"competitor\\\"/>\\n\n        <item string=\\\"Delivery Terms\\\" action=\\\"delivery_term\\\"/>\\n\n        <item string=\\\"Valid Period\\\" action=\\\"valid_period\\\"/>\\n</item>\\n\n</menu>\\n\"}, \"sale_target_form\": {\"module\": \"netforce_sale\", \"name\": \"sale_target_form\", \"type\": \"form\", \"model\": \"sale.target\", \"layout\": \"\n<form model=\\\"sale.target\\\">\\n    \n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"track_id\\\"/>\\n\n    <field name=\\\"prod_categ_id\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"amount_target\\\"/>\\n\n    <field name=\\\"qty_target\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"report_sale_profit_details\": {\"module\": \"netforce_sale\", \"name\": \"report_sale_profit_details\", \"type\": \"form\", \"model\": \"report.sale.profit.details\", \"layout\": \"\n<form model=\\\"report.sale.profit.details\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"sale_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"coupon_form\": {\"module\": \"netforce_sale\", \"name\": \"coupon_form\", \"type\": \"form\", \"model\": \"sale.coupon\", \"layout\": \"\n<form model=\\\"sale.coupon\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Print\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"PDF\\\" action=\\\"report_coupon_form\\\" action_options=\\\"convert=pdf\\\"/>\\n\n            <item string=\\\"ODT\\\" action=\\\"report_coupon_form\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"master_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"create_time\\\"/>\\n\n    <field name=\\\"expiry_date\\\"/>\\n\n    <field name=\\\"use_date\\\"/>\\n\n    <field name=\\\"use_duration\\\"/>\\n\n    <field name=\\\"hide_date\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</form> \\n\"}, \"lead_source_list\": {\"module\": \"netforce_sale\", \"name\": \"lead_source_list\", \"type\": \"list\", \"model\": \"lead.source\", \"layout\": \"\n<list model=\\\"lead.source\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</list>\\n\"}, \"competitor_form\": {\"module\": \"netforce_sale\", \"name\": \"competitor_form\", \"type\": \"form\", \"model\": \"competitor\", \"layout\": \"\n<form model=\\\"competitor\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"opports\\\">\\n            \n            <list>\\n                \n                <field name=\\\"opport_id\\\"/>\\n\n                <field name=\\\"strengths\\\"/>\\n\n                <field name=\\\"weaknesses\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"opport_id\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"strengths\\\"/>\\n\n                <field name=\\\"weaknesses\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"promotion_form\": {\"module\": \"netforce_sale\", \"name\": \"promotion_form\", \"type\": \"form\", \"model\": \"sale.promotion\", \"layout\": \"\n<form model=\\\"sale.promotion\\\" show_company=\\\"1\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <separator string=\\\"Conditions\\\"/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"buy_products\\\"/>\\n\n    <field name=\\\"buy_prod_groups\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"related_products\\\"/>\\n\n    <field name=\\\"related_prod_groups\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"contact_groups\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"buy_min_amount\\\"/>\\n\n    <field name=\\\"buy_min_qty\\\"/>\\n\n    <field name=\\\"coupon_master_id\\\"/>\\n\n    <field name=\\\"apply_multi\\\"/>\\n\n    <field name=\\\"max_uses_per_customer\\\"/>\\n\n    <field name=\\\"max_total_uses\\\"/>\\n\n    <separator string=\\\"Discount\\\"/>\\n\n    <field name=\\\"discount_products\\\"/>\\n\n    <field name=\\\"discount_prod_groups\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"discount_percent_item\\\"/>\\n\n    <field name=\\\"discount_amount_item\\\"/>\\n\n    <field name=\\\"discount_percent_order\\\"/>\\n\n    <field name=\\\"discount_amount_order\\\"/>\\n\n    <field name=\\\"discount_max_qty\\\"/>\\n\n    <field name=\\\"auto_apply\\\"/>\\n\n    <separator string=\\\"Cart upsell messaging\\\"/>\\n\n    <field name=\\\"cart_offer_message\\\"/>\\n\n    <field name=\\\"cart_confirm_message\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Activate\\\" type=\\\"success\\\" method=\\\"activate\\\" states=\\\"inactive\\\"/>\\n\n        <button string=\\\"Deactivate\\\" method=\\\"deactivate\\\" states=\\\"active\\\"/>\\n\n    </foot>\\n\n</form> \\n\"}, \"opport_to_quot\": {\"module\": \"netforce_sale\", \"name\": \"opport_to_quot\", \"type\": \"form\", \"model\": \"opport.to.quot\", \"layout\": \"\n<form model=\\\"opport.to.quot\\\">\\n    \n    <field name=\\\"opport_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"template_id\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Create Quotation\\\" method=\\\"create_quot\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"competitor_list\": {\"module\": \"netforce_sale\", \"name\": \"competitor_list\", \"type\": \"list\", \"model\": \"competitor\", \"layout\": \"\n<list model=\\\"competitor\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</list>\\n\"}, \"lead_list\": {\"module\": \"netforce_sale\", \"name\": \"lead_list\", \"type\": \"list\", \"model\": \"sale.lead\", \"layout\": \"\n<list model=\\\"sale.lead\\\">\\n    \n    <head>\\n        \n        <!--<button string=\\\"Convert To Opportunity\\\" method=\\\"copy_to_opport\\\" type=\\\"success\\\" icon=\\\"ok\\\"/>\\n        <button string=\\\"Void\\\" method=\\\"void\\\" icon=\\\"remove\\\"/>-->\\n        \n        <button string=\\\"Check Spam\\\" method=\\\"check_spam\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"contact_name\\\"/>\\n\n    <field name=\\\"email\\\"/>\\n\n    <field name=\\\"age_days\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <button string=\\\"Convert\\\" method=\\\"copy_to_opport\\\" type=\\\"success\\\" icon=\\\"ok\\\" states=\\\"new\\\"/>\\n\n    <button string=\\\"Refer\\\" action=\\\"lead_refer\\\" type=\\\"warning\\\" states=\\\"new\\\" icon=\\\"arrow-right\\\"/>\\n\n    <button string=\\\"Void\\\" method=\\\"void\\\" type=\\\"danger\\\" icon=\\\"remove\\\" states=\\\"new\\\"/>\\n\n    <button string=\\\"Back To New\\\" method=\\\"set_new\\\" states=\\\"converted,referred,voided\\\" icon=\\\"arrow-left\\\"/>\\n\n</list>\\n\"}, \"coupon_master_form\": {\"module\": \"netforce_sale\", \"name\": \"coupon_master_form\", \"type\": \"form\", \"model\": \"sale.coupon.master\", \"layout\": \"\n<form model=\\\"sale.coupon.master\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Create Coupons\\\" method=\\\"create_coupons\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"image\\\"/>\\n\n    <separator string=\\\"Time Constraints\\\"/>\\n\n    <field name=\\\"expiry_date\\\"/>\\n\n    <field name=\\\"use_duration\\\"/>\\n\n    <field name=\\\"hide_date\\\"/>\\n\n    <separator string=\\\"Description\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"instructions\\\"/>\\n\n    <field name=\\\"notes\\\"/>\\n\n    <separator string=\\\"Customer Conditions\\\"/>\\n\n    <field name=\\\"contact_categs\\\"/>\\n\n    <field name=\\\"contact_groups\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"promotions\\\"/>\\n\n        <field name=\\\"coupons\\\"/>\\n\n    </related>\\n\n</form> \\n\"}, \"sale_settings\": {\"module\": \"netforce_sale\", \"name\": \"sale_settings\", \"type\": \"form\", \"model\": \"settings\", \"layout\": \"\n<form model=\\\"settings\\\" title=\\\"Sales Settings\\\">\\n    \n    <separator string=\\\"Sales Workflow\\\"/>\\n\n    <field name=\\\"sale_copy_picking\\\"/>\\n\n    <field name=\\\"sale_copy_reserve_picking\\\"/>\\n\n    <field name=\\\"sale_copy_invoice\\\"/>\\n\n    <field name=\\\"sale_copy_production\\\"/>\\n\n    <field name=\\\"sale_split_service\\\"/>\\n\n    <field name=\\\"sale_activity_email_template_id\\\"/>\\n\n    <separator string=\\\"Commission\\\"/>\\n\n    <field name=\\\"commission_parent\\\"/>\\n\n    <field name=\\\"commission_grand_parent\\\"/>\\n\n    <field name=\\\"commission_remain\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"sale_check_delivered_qty\\\"/>\\n\n    <separator string=\\\"Permissions\\\"/>\\n\n    <field name=\\\"approve_quot\\\"/>\\n\n    <field name=\\\"approve_sale\\\"/>\\n\n    <field name=\\\"approve_sale_reserve\\\"/>\\n\n</form>\\n\"}, \"lead_widget\": {\"module\": \"netforce_sale\", \"name\": \"lead_widget\", \"type\": \"list\", \"model\": \"sale.lead\", \"priority\": 20, \"layout\": \"\n<list model=\\\"sale.lead\\\" hide_select=\\\"1\\\" hide_page=\\\"1\\\" priority=\\\"20\\\"> \\n    \n    <head replace=\\\"1\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"contact_name\\\"/>\\n\n    <field name=\\\"age_days\\\"/>\\n\n</list>\\n\"}, \"sale_channel_list\": {\"module\": \"netforce_sale\", \"name\": \"sale_channel_list\", \"type\": \"list\", \"model\": \"sale.channel\", \"layout\": \"\n<list model=\\\"sale.channel\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"pricelist_id\\\"/>\\n\n</list>\\n\"}, \"opport_widget\": {\"module\": \"netforce_sale\", \"name\": \"opport_widget\", \"type\": \"list\", \"model\": \"sale.opportunity\", \"layout\": \"\n<list model=\\\"sale.opportunity\\\" hide_select=\\\"1\\\" hide_page=\\\"1\\\">\\n    \n    <head replace=\\\"1\\\">\\n        \n        <button string=\\\"New Opportunity\\\" action=\\\"opport\\\" action_options='{\\\"mode\\\":\\\"form\\\"}' icon=\\\"plus\\\" noselect=\\\"1\\\"/>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"last_email_days\\\"/>\\n\n</list>\\n\"}, \"coupon_list\": {\"module\": \"netforce_sale\", \"name\": \"coupon_list\", \"type\": \"list\", \"model\": \"sale.coupon\", \"layout\": \"\n<list model=\\\"sale.coupon\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_coupon_form\\\" action_options='{\\\"convert\\\":\\\"pdf\\\"}'/>\\n\n    </head>\\n\n    <field name=\\\"master_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"create_time\\\"/>\\n\n    <field name=\\\"expiry_date\\\"/>\\n\n    <field name=\\\"use_date\\\"/>\\n\n    <field name=\\\"use_duration\\\"/>\\n\n    <field name=\\\"hide_date\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list> \\n\"}, \"lead_pivot\": {\"module\": \"netforce_sale\", \"name\": \"lead_pivot\", \"type\": \"pivot\", \"model\": \"sale.lead\", \"layout\": \"\n<pivot model=\\\"sale.lead\\\" cols=\\\"lead_source\\\" rows=\\\"user_id.name\\\" agg_name=\\\"count\\\">\\n    \n    <field name=\\\"lead_source\\\"/>\\n\n    <field name=\\\"industry\\\"/>\\n\n    <field name=\\\"user_id.name\\\" string=\\\"Responsible User\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n</pivot>\\n\"}, \"sale_forecast_line_list\": {\"module\": \"netforce_sale\", \"name\": \"sale_forecast_line_list\", \"type\": \"list\", \"model\": \"sale.forecast.line\", \"layout\": \"\n<list model=\\\"sale.forecast.line\\\">\\n    \n    <field name=\\\"forecast_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"customer_id\\\"/>\\n\n    <field name=\\\"min_shelf_life\\\"/>\\n\n    <field name=\\\"plan_qty\\\"/>\\n\n    <field name=\\\"actual_qty\\\"/>\\n\n    <field name=\\\"prev_diff_percent\\\"/>\\n\n</list>\\n\"}, \"sale_categ_list\": {\"module\": \"netforce_sale\", \"name\": \"sale_categ_list\", \"type\": \"list\", \"model\": \"sale.categ\", \"layout\": \"\n<list model=\\\"sale.categ\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"sale_sequence_id\\\"/>\\n\n</list>\\n\"}, \"promotion_list\": {\"module\": \"netforce_sale\", \"name\": \"promotion_list\", \"type\": \"list\", \"model\": \"sale.promotion\", \"layout\": \"\n<list model=\\\"sale.promotion\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list> \\n\"}, \"sale_forecast_list\": {\"module\": \"netforce_sale\", \"name\": \"sale_forecast_list\", \"type\": \"list\", \"model\": \"sale.forecast\", \"layout\": \"\n<list model=\\\"sale.forecast\\\" colors='{\\\"#f99\\\":[[\\\"plan_remain_qty\\\",\\\"&lt;\\\",0]]}'>\\n    \n    <head>\\n        \n        <!--<button string=\\\"Update Planned Stock\\\" method=\\\"update_stock\\\"/>-->\\n    \n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <field name=\\\"num_lines\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"sale_stage_list\": {\"module\": \"netforce_sale\", \"name\": \"sale_stage_list\", \"type\": \"list\", \"model\": \"sale.stage\", \"layout\": \"\n<list model=\\\"sale.stage\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n</list>\\n\"}, \"sale_board\": {\"module\": \"netforce_sale\", \"name\": \"sale_board\", \"type\": \"board\", \"layout\": \"\n<board>\\n    \n    <vpanel>\\n        \n        <widget action=\\\"sale_day_widget\\\" string=\\\"Sales per day\\\"/>\\n\n        <widget action=\\\"sale_month_widget\\\" string=\\\"Sales per month\\\"/>\\n\n        <widget action=\\\"sale_prod_categ_widget\\\" string=\\\"Sales per product category\\\"/>\\n\n        <widget action=\\\"exp_revenue_widget\\\" string=\\\"Expected revenue\\\"/>\\n\n        <widget action=\\\"opport_stage_widget\\\" string=\\\"Opportunities by stage\\\"/>\\n\n    </vpanel>\\n\n    <vpanel>\\n        \n        <widget action=\\\"lead_widget\\\" string=\\\"New Leads\\\"/>\\n\n        <widget action=\\\"opport_widget\\\" string=\\\"Open Opportunities\\\"/>\\n\n        <widget action=\\\"activ_widget\\\" string=\\\"Pending Activities\\\"/>\\n\n        <widget action=\\\"quot_widget\\\" string=\\\"Pending Quotations\\\"/>\\n\n        <widget action=\\\"sale_widget\\\" string=\\\"Pending Sales orders\\\"/>\\n\n    </vpanel>\\n\n</board>\\n\"}, \"commission_form\": {\"module\": \"netforce_sale\", \"name\": \"commission_form\", \"type\": \"form\", \"model\": \"seller.commission\", \"layout\": \"\n<form model=\\\"seller.commission\\\">\\n    \n    <field name=\\\"seller_id\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"customer_id\\\"/>\\n\n    <field name=\\\"customer_group_id\\\"/>\\n\n    <field name=\\\"commission_percent\\\"/>\\n\n    <field name=\\\"min_amount\\\"/>\\n\n</form>\\n\"}, \"sale_return_list\": {\"module\": \"netforce_sale\", \"name\": \"sale_return_list\", \"type\": \"list\", \"model\": \"sale.return\", \"layout\": \"\n<list model=\\\"sale.return\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_sale_form\\\" action_options='{\\\"convert\\\":\\\"pdf\\\"}'/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"currency_id\\\"/>\\n\n    <field name=\\\"is_delivered\\\"/>\\n\n    <field name=\\\"is_paid\\\"/>\\n\n    <field name=\\\"pay_method_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"valid_period_form\": {\"module\": \"netforce_sale\", \"name\": \"valid_period_form\", \"type\": \"form\", \"model\": \"valid.period\", \"layout\": \"\n<form model=\\\"valid.period\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"days\\\"/>\\n\n</form>\"}, \"coupon_master_list\": {\"module\": \"netforce_sale\", \"name\": \"coupon_master_list\", \"type\": \"list\", \"model\": \"sale.coupon.master\", \"layout\": \"\n<list model=\\\"sale.coupon.master\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"image\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"expiry_date\\\"/>\\n\n    <field name=\\\"use_duration\\\"/>\\n\n    <field name=\\\"hide_date\\\"/>\\n\n</list> \\n\"}, \"activ_calendar\": {\"module\": \"netforce_sale\", \"name\": \"activ_calendar\", \"type\": \"calendar\", \"model\": \"activity\", \"layout\": \"\n<calendar model=\\\"activity\\\" date_field=\\\"due_date\\\" colors='{\\\"#c00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"#0c0\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]}'>\\n    \n    <field name=\\\"subject\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"name_id\\\"/>\\n\n    <field name=\\\"priority\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</calendar>\"}, \"quot_line_pivot\": {\"module\": \"netforce_sale\", \"name\": \"quot_line_pivot\", \"type\": \"pivot\", \"model\": \"sale.quot.line\", \"layout\": \"\n<pivot model=\\\"sale.quot.line\\\" rows=\\\"product_id.name\\\" cols=\\\"quot_id.state\\\" vals=\\\"amount,qty\\\" agg_name=\\\"sum\\\">\\n    \n    <field name=\\\"product_id.name\\\" string=\\\"Product Name\\\"/>\\n\n    <field name=\\\"product_id.code\\\" string=\\\"Product Code\\\"/>\\n\n    <field name=\\\"product_id.categ_id.name\\\" string=\\\"Product Category\\\"/>\\n\n    <field name=\\\"quot_id.contact_id.name\\\" string=\\\"Contact\\\"/>\\n\n    <field name=\\\"quot_id.contact_id.categ_id.name\\\" string=\\\"Contact Category\\\"/>\\n\n    <field name=\\\"quot_id.state\\\"/>\\n\n    <field name=\\\"quot_id.user_id.name\\\" string=\\\"Responsible User\\\"/>\\n\n    <field name=\\\"quot_id.date\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n</pivot>\\n\"}, \"sale_event_list\": {\"module\": \"netforce_sale\", \"name\": \"sale_event_list\", \"type\": \"list\", \"model\": \"sale.event\", \"layout\": \"\n<list model=\\\"sale.event\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</list>\\n\"}, \"quot_line_search\": {\"module\": \"netforce_sale\", \"name\": \"quot_line_search\", \"type\": \"search\", \"model\": \"sale.quot.line\", \"layout\": \"\n<search model=\\\"sale.quot.line\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"product_categs\\\" child_of=\\\"1\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</search>\\n\"}, \"opport_form\": {\"module\": \"netforce_sale\", \"name\": \"opport_form\", \"type\": \"form\", \"model\": \"sale.opportunity\", \"layout\": \"\n<form model=\\\"sale.opportunity\\\" show_company=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Copy To Quotation\\\" action=\\\"opport_to_quot\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <separator string=\\\"Compulsory Information\\\"/>\\n\n    <group span=\\\"6\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"number\\\"/>\\n\n        <field name=\\\"date\\\"/>\\n\n        <field name=\\\"name\\\"/>\\n\n    </group>\\n\n    <group span=\\\"6\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"contact_id\\\" create=\\\"1\\\"/>\\n\n    </group>\\n\n    <separator string=\\\"Opportunity Information\\\"/>\\n\n    <group span=\\\"6\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"user_id\\\"/>\\n\n        <field name=\\\"state\\\"/>\\n\n        <field name=\\\"company_id\\\"/>\\n\n    </group>\\n\n    <group span=\\\"6\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"date_close\\\"/>\\n\n        <field name=\\\"categ_id\\\"/>\\n\n        <field name=\\\"stage_id\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"probability\\\"/>\\n\n        <field name=\\\"amount\\\"/>\\n\n        <field name=\\\"lost_reason_id\\\"/>\\n\n    </group>\\n\n    <separator string=\\\"Additional Information\\\"/>\\n\n    <group span=\\\"6\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"lead_id\\\"/>\\n\n        <field name=\\\"source_id\\\"/>\\n\n        <field name=\\\"next_step\\\"/>\\n\n        <field name=\\\"industry_id\\\"/>\\n\n    </group>\\n\n    <group span=\\\"6\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"product_id\\\"/>\\n\n        <field name=\\\"products\\\"/>\\n\n        <field name=\\\"qty\\\"/>\\n\n        <field name=\\\"region_id\\\"/>\\n\n    </group>\\n\n    <separator string=\\\"Description Information\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"remind_date\\\"/>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Won\\\" method=\\\"won\\\" states=\\\"open\\\" type=\\\"success\\\"/>\\n\n        <button string=\\\"Pause\\\" method=\\\"pause\\\" states=\\\"open\\\" icon=\\\"pause\\\"/>\\n\n        <button string=\\\"Cancel\\\" action=\\\"opport_cancel\\\" states=\\\"open\\\" type=\\\"warning\\\"/>\\n\n        <button string=\\\"Lost\\\" method=\\\"lost\\\" states=\\\"open\\\" type=\\\"danger\\\"/>\\n\n        <button string=\\\"Re-open\\\" method=\\\"reopen\\\" states=\\\"won,lost,paused,canceled\\\" icon=\\\"arrow-left\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"notifs\\\"/>\\n\n        <field name=\\\"emails\\\"/>\\n\n        <field name=\\\"quotations\\\"/>\\n\n        <field name=\\\"competitors\\\">\\n            \n            <list>\\n                \n                <field name=\\\"compet_id\\\"/>\\n\n                <field name=\\\"strengths\\\"/>\\n\n                <field name=\\\"weaknesses\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"compet_id\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"strengths\\\"/>\\n\n                <field name=\\\"weaknesses\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"activities\\\" show_inline=\\\"1\\\"/>\\n\n        <field name=\\\"documents\\\" show_inline=\\\"1\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"activ_list\": {\"module\": \"netforce_sale\", \"name\": \"activ_list\", \"type\": \"list\", \"model\": \"activity\", \"priority\": 1, \"layout\": \"\n<list model=\\\"activity\\\" action=\\\"view_activity\\\" colors='{\\\"due_date,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"#9f9\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]}' priority=\\\"1\\\">\\n    \n    <!--<top replace=\\\"1\\\">\\n        <button string=\\\"New Activity\\\" icon=\\\"plus\\\" dropdown=\\\"1\\\">\\n            <item string=\\\"Task\\\" action=\\\"activ\\\" action_options=\\\"mode=form&amp;context.activ_type=task\\\"/>\\n            <item string=\\\"Event\\\" action=\\\"activ\\\" action_options=\\\"mode=form&amp;context.activ_type=event\\\"/>\\n            <item string=\\\"Meeting\\\" action=\\\"activ\\\" action_options=\\\"mode=form&amp;context.activ_type=meeting\\\"/>\\n            <item string=\\\"Call\\\" action=\\\"activ\\\" action_options=\\\"mode=form&amp;context.activ_type=call\\\"/>\\n            <item string=\\\"Email\\\" action=\\\"activ\\\" action_options=\\\"mode=form&amp;context.activ_type=email\\\"/>\\n        </button>\\n    </top>-->\\n    \n<field name=\\\"type\\\"/>\\n\n<field name=\\\"user_id\\\"/>\\n\n<field name=\\\"subject\\\"/>\\n\n<field name=\\\"related_id\\\"/>\\n\n<field name=\\\"name_id\\\"/>\\n\n<field name=\\\"priority\\\"/>\\n\n<field name=\\\"due_date\\\"/>\\n\n<field name=\\\"state\\\"/>\\n\n<field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"sale_list\": {\"module\": \"netforce_sale\", \"name\": \"sale_list\", \"type\": \"list\", \"model\": \"sale.order\", \"priority\": 1, \"layout\": \"\n<list model=\\\"sale.order\\\" colors='{\\\"due_date,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"#ccc\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]],\\\"#ccc\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]}' priority=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Gen Report\\\" action=\\\"gen_sale_report\\\"/>\\n\n        <button string=\\\"Set Tax Inclusive\\\" method=\\\"set_tax_in_all\\\" confirm=\\\"Are you sure?\\\" show_progress=\\\"1\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <!--<button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_sale_form\\\" action_options='{\\\"convert\\\":\\\"pdf\\\"}'/>\\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"report_sale_form2\\\" action_options='{\\\"ids\\\":ids}'/>-->\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_sale_form3\\\" action_options='{\\\"ids\\\":ids}'/>\\n\n        <button string=\\\"Copy To Customer Invoice\\\" method=\\\"copy_to_invoice\\\" states=\\\"confirmed,done\\\"/>\\n\n        <button string=\\\"Copy To Purchase Orders\\\" method=\\\"copy_to_purchase\\\"/>\\n\n        <button string=\\\"Copy To Production Orders\\\" method=\\\"copy_to_production\\\"/>\\n\n        <button string=\\\"Set Tax Inclusive\\\" method=\\\"set_tax_in\\\" confirm=\\\"Are you sure?\\\" show_progress=\\\"1\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"sale_categ_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"currency_id\\\"/>\\n\n    <field name=\\\"is_delivered\\\"/>\\n\n    <field name=\\\"is_invoiced\\\"/>\\n\n    <field name=\\\"is_paid\\\"/>\\n\n    <field name=\\\"pay_method_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n    <field name=\\\"receipt_printed\\\"/>\\n\n    <field name=\\\"report_no\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"quot_list\": {\"module\": \"netforce_sale\", \"name\": \"quot_list\", \"type\": \"list\", \"model\": \"sale.quot\", \"priority\": 1, \"layout\": \"\n<list model=\\\"sale.quot\\\" priority=\\\"1\\\">\\n    \n    <head>\\n        \n        <!--<button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_quot_form\\\"/>\\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"report_quot_form2\\\" action_options='{\\\"ids\\\":ids}'/>-->\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_quot_form3\\\" action_options='{\\\"ids\\\":ids}'/>\\n\n        <button string=\\\"Merge Quotations\\\" method=\\\"merge_quotations\\\"/>\\n\n        <button string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"sale_categ_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"payment_terms\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"gen_sale_report\": {\"module\": \"netforce_sale\", \"name\": \"gen_sale_report\", \"type\": \"form\", \"model\": \"gen.sale.report\", \"layout\": \"\n<form model=\\\"gen.sale.report\\\">\\n    \n    <field name=\\\"date_from\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Generate Report\\\" method=\\\"gen_report\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"valid_period_list\": {\"module\": \"netforce_sale\", \"name\": \"valid_period_list\", \"type\": \"list\", \"model\": \"valid.period\", \"layout\": \"\n<list model=\\\"valid.period\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"days\\\"/>\\n\n</list>\"}, \"sale_modif\": {\"module\": \"netforce_sale\", \"name\": \"sale_modif\", \"type\": \"form\", \"model\": \"sale.modif\", \"layout\": \"\n<form model=\\\"sale.modif\\\">\\n    \n    <field name=\\\"order_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <newline/>\\n\n    <group attrs='{\\\"invisible\\\":[[\\\"type\\\",\\\"!=\\\",\\\"add_prod\\\"]]}' columns=\\\"1\\\">\\n        \n        <field name=\\\"product_id\\\"/>\\n\n        <field name=\\\"qty\\\"/>\\n\n        <field name=\\\"unit_price\\\"/>\\n\n        <field name=\\\"location_id\\\"/>\\n\n    </group>\\n\n    <group attrs='{\\\"invisible\\\":[[\\\"type\\\",\\\"!=\\\",\\\"del_prod\\\"]]}' columns=\\\"1\\\">\\n        \n        <field name=\\\"product_id\\\"/>\\n\n    </group>\\n\n    <group attrs='{\\\"invisible\\\":[[\\\"type\\\",\\\"!=\\\",\\\"change_qty\\\"]]}' columns=\\\"1\\\">\\n        \n        <field name=\\\"product_id\\\"/>\\n\n        <field name=\\\"qty\\\"/>\\n\n    </group>\\n\n    <group attrs='{\\\"invisible\\\":[[\\\"type\\\",\\\"!=\\\",\\\"change_order\\\"]]}' columns=\\\"1\\\">\\n        \n        <field name=\\\"due_date\\\"/>\\n\n        <field name=\\\"delivery_date\\\"/>\\n\n        <field name=\\\"ship_term_id\\\"/>\\n\n        <field name=\\\"ship_port_id\\\"/>\\n\n    </group>\\n\n    <field name=\\\"update_related\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Apply Changes\\\" method=\\\"apply_modif\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"quot_form\": {\"module\": \"netforce_sale\", \"name\": \"quot_form\", \"type\": \"form\", \"model\": \"sale.quot\", \"layout\": \"\n<form model=\\\"sale.quot\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"approved\\\",\\\"won\\\",\\\"lost\\\",\\\"canceled\\\"]]]}' show_company=\\\"1\\\" show_save=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"New\\\" icon=\\\"plus\\\" action=\\\"quot\\\" action_options='{\\\"mode\\\":\\\"form\\\"}'/>\\n\n        <!--<button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_quot_form\\\"/>\\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"report_quot_form2\\\" action_options='{\\\"active_id\\\":id}'/>-->\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_quot_form3\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Send\\\" icon=\\\"envelope\\\" action=\\\"send_quot\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy To Sales Order\\\" method=\\\"copy_to_sale_order\\\"/>\\n\n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"Revise\\\" method=\\\"revise\\\" confirm=\\\"Are you sure you want to revise this quotation?\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are your sure?\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"contact_id\\\" span=\\\"2\\\" onchange=\\\"onchange_contact\\\" create=\\\"1\\\"/>\\n\n                <field name=\\\"contact_person_id\\\" span=\\\"2\\\" condition='[[\\\"type\\\", \\\"=\\\", \\\"person\\\"],[\\\"org_id\\\",\\\"=\\\",contact_id]]'/>\\n\n                <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"exp_date\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"currency_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"tax_type\\\" span=\\\"2\\\" onchange=\\\"update_amounts\\\"/>\\n\n                <field name=\\\"user_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"opport_id\\\" span=\\\"2\\\" condition='[[\\\"contact_id\\\",\\\"=\\\",contact_id]]'/>\\n\n                <field name=\\\"sale_categ_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"project_id\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"bill_address_id\\\" span=\\\"2\\\" condition='[[\\\"contact_id\\\",\\\"!=\\\",null],[\\\"contact_id\\\",\\\"=\\\",contact_id]]'/>\\n\n                <field name=\\\"ship_address_id\\\" span=\\\"2\\\" condition='[[\\\"contact_id\\\",\\\"!=\\\",null],[\\\"contact_id\\\",\\\"=\\\",contact_id]]'/>\\n\n                <field name=\\\"price_list_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"ship_term_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"pay_term_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"related_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"validity_id\\\" span=\\\"2\\\" onchange=\\\"onchange_validity\\\"/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n                \n                <list onremove=\\\"update_amounts\\\" reorder_field=\\\"sequence_no\\\">\\n                    \n                    <field name=\\\"sequence_no\\\"/>\\n\n                    <field name=\\\"type\\\"/>\\n\n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\" condition='[[\\\"can_sell\\\",\\\"=\\\",true]]'/>\\n\n                    <field name=\\\"description\\\"/>\\n\n                    <field name=\\\"qty\\\" onchange=\\\"onchange_qty\\\"/>\\n\n                    <field name=\\\"uom_id\\\" onchange=\\\"onchange_uom\\\"/>\\n\n                    <field name=\\\"unit_price\\\" onchange=\\\"update_amounts_line\\\"/>\\n\n                    <field name=\\\"discount\\\" onchange=\\\"update_amounts_line\\\"/>\\n\n                    <field name=\\\"tax_id\\\" onchange=\\\"update_amounts_line\\\"/>\\n\n                    <field name=\\\"amount\\\"/>\\n\n                    <field name=\\\"cost_price\\\"/>\\n\n                    <field name=\\\"cost_amount\\\"/>\\n\n                    <field name=\\\"profit_amount\\\"/>\\n\n                    <field name=\\\"margin_percent\\\"/>\\n\n                    <field name=\\\"amount_tax\\\"/>\\n\n                    <field name=\\\"notes\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <group span=\\\"8\\\">\\n                \n                <field name=\\\"other_info\\\"/>\\n\n                <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n            </group>\\n\n            <group span=\\\"4\\\" columns=\\\"1\\\">\\n                \n                <field name=\\\"amount_before_discount\\\"/>\\n\n                <field name=\\\"amount_discount\\\"/>\\n\n                <field name=\\\"extra_discount\\\" readonly=\\\"1\\\"/>\\n\n                <field name=\\\"amount_after_discount2\\\"/>\\n\n                <field name=\\\"extra_amount\\\" readonly=\\\"1\\\"/>\\n\n                <field name=\\\"amount_subtotal\\\"/>\\n\n                <field name=\\\"amount_tax\\\"/>\\n\n                <field name=\\\"amount_total\\\"/>\\n\n            </group>\\n\n        </tab>\\n\n        <tab string=\\\"Taxes\\\">\\n            \n            <!--<field name=\\\"tax_details\\\"/>-->\\n        \n        </tab>\\n\n        <tab string=\\\"Promotions\\\">\\n            \n            <group span=\\\"6\\\">\\n                \n                <field name=\\\"discount\\\"/>\\n\n                <button string=\\\"Apply Discount\\\" method=\\\"apply_discount\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"amount_after_discount\\\"/>\\n\n                <button string=\\\"Calculate Discount\\\" method=\\\"calc_discount\\\"/>\\n\n            </group>\\n\n        </tab>\\n\n        <tab string=\\\"Costing\\\">\\n            \n            <separator string=\\\"Estimate Costs\\\"/>\\n\n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"cost_amount\\\" span=\\\"3\\\"/>\\n\n                <field name=\\\"profit_amount\\\" span=\\\"3\\\"/>\\n\n                <field name=\\\"margin_percent\\\" span=\\\"3\\\"/>\\n\n            </group>\\n\n            <newline/>\\n\n            <field name=\\\"extra_amount\\\"/>\\n\n            <field name=\\\"extra_product_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"extra_discount\\\"/>\\n\n            <field name=\\\"extra_discount_product_id\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Currencies\\\">\\n            \n            <field name=\\\"currency_rates\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"currency_id\\\"/>\\n\n                    <field name=\\\"rate\\\"/>\\n\n                </list>\\n\n            </field>\\n\n        </tab>\\n\n        <tab string=\\\"Other Info\\\">\\n            \n            <field name=\\\"sequence_id\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"sale_quot\\\"]]' onchange=\\\"onchange_sequence\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"seller_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"seller_contact_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"job_template_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"lost_sale_code_id\\\" readonly=\\\"0\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"is_template\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"opport_email_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"inquiry_date\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <foot>\\n        \n        <button string=\\\"Submit for approval\\\" method=\\\"submit_for_approval\\\" size=\\\"large\\\" states=\\\"draft\\\"/>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" size=\\\"large\\\" type=\\\"success\\\" states=\\\"draft,waiting_approval\\\" perm=\\\"approve_quotation\\\"/>\\n\n        <button string=\\\"Won\\\" method=\\\"do_won\\\" size=\\\"large\\\" type=\\\"success\\\" states=\\\"approved\\\"/>\\n\n        <button string=\\\"Lost\\\" method=\\\"do_lost\\\" size=\\\"large\\\" type=\\\"danger\\\" states=\\\"approved\\\"/>\\n\n        <button string=\\\"Reopen\\\" method=\\\"do_reopen\\\" size=\\\"large\\\" icon=\\\"repeat\\\" states=\\\"won,lost\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"documents\\\" show_inline=\\\"1\\\"/>\\n\n        <field name=\\\"emails\\\"/>\\n\n        <field name=\\\"activities\\\" show_inline=\\\"1\\\"/>\\n\n        <field name=\\\"sales\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"opport_list\": {\"module\": \"netforce_sale\", \"name\": \"opport_list\", \"type\": \"list\", \"model\": \"sale.opportunity\", \"priority\": 1, \"layout\": \"\n<list model=\\\"sale.opportunity\\\" priority=\\\"1\\\" colors='{\\\"yellow\\\":[[\\\"state\\\",\\\"=\\\",\\\"open\\\"],[\\\"last_email_days\\\",\\\">=\\\",7]],\\\"red\\\":[[\\\"state\\\",\\\"=\\\",\\\"open\\\"],[\\\"last_email_days\\\",\\\">=\\\",14]]}'>\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"stage_id\\\"/>\\n\n    <field name=\\\"age_days\\\"/>\\n\n    <field name=\\\"last_email_days\\\"/>\\n\n    <button string=\\\"Won\\\" method=\\\"won\\\" states=\\\"open\\\" type=\\\"success\\\" icon=\\\"ok\\\"/>\\n\n    <button string=\\\"Pause\\\" method=\\\"pause\\\" states=\\\"open\\\" icon=\\\"pause\\\"/>\\n\n    <button string=\\\"Cancel\\\" action=\\\"opport_cancel\\\" states=\\\"open\\\" type=\\\"warning\\\"/>\\n\n    <button string=\\\"Lost\\\" action=\\\"opport_lost\\\" states=\\\"open\\\" type=\\\"danger\\\" icon=\\\"remove\\\"/>\\n\n    <button string=\\\"Re-open\\\" method=\\\"reopen\\\" states=\\\"won,lost,paused,canceled\\\" icon=\\\"arrow-left\\\"/>\\n\n</list>\\n\"}, \"lead_source_form\": {\"module\": \"netforce_sale\", \"name\": \"lead_source_form\", \"type\": \"form\", \"model\": \"lead.source\", \"layout\": \"\n<form model=\\\"lead.source\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</form>\\n\"}, \"report_sale_payment\": {\"module\": \"netforce_sale\", \"name\": \"report_sale_payment\", \"type\": \"form\", \"model\": \"report.sale.payment\", \"layout\": \"\n<form model=\\\"report.sale.payment\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"invoice_date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"invoice_date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"order_date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"order_date_to\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"pay_method_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"account_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"sale_voucher_list\": {\"module\": \"netforce_sale\", \"name\": \"sale_voucher_list\", \"type\": \"list\", \"model\": \"sale.voucher\", \"layout\": \"\n<list model=\\\"sale.voucher\\\">\\n    \n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"benefit_type\\\"/>\\n\n    <field name=\\\"new_customer\\\"/>\\n\n    <field name=\\\"max_orders_per_customer\\\"/>\\n\n    <field name=\\\"expire_date\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"sale_form\": {\"module\": \"netforce_sale\", \"name\": \"sale_form\", \"type\": \"form\", \"model\": \"sale.order\", \"layout\": \"\n<form model=\\\"sale.order\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"confirmed\\\",\\\"done\\\",\\\"voided\\\"]]]}' show_company=\\\"1\\\" show_save=\\\"1\\\">\\n    \n    <top>\\n        \n        <!--<button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_sale_form\\\"/>\\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"report_sale_form2\\\" action_options='{\\\"active_id\\\":id}'/-->>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_sale_form3\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy To Sale Return\\\" method=\\\"copy_to_sale_return\\\" state=\\\"done\\\"/>\\n\n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"Copy To Customer Invoice\\\" method=\\\"copy_to_invoice\\\" states=\\\"confirmed,done\\\"/>\\n\n            <item string=\\\"Copy To Goods Issue\\\" method=\\\"copy_to_picking\\\" states=\\\"confirmed\\\"/>\\n\n            <item string=\\\"Copy To Reservation Goods Transfer\\\" method=\\\"copy_to_reserve_picking\\\" states=\\\"reserved\\\"/>\\n\n            <item string=\\\"Copy To Purchase Orders\\\" method=\\\"copy_to_purchase\\\"/>\\n\n            <item string=\\\"Copy To Production Orders\\\" method=\\\"copy_to_production\\\"/>\\n\n            <item string=\\\"Copy To Project\\\" method=\\\"copy_to_project\\\"/>\\n\n            <item string=\\\"Copy To Service Order\\\" method=\\\"copy_to_job\\\"/>\\n\n            <item string=\\\"Create Invoice And Record Payment\\\" method=\\\"create_invoice_payment\\\" confirm=\\\"Are you sure?\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure you want to void this sales order?\\\" states=\\\"confirmed,done\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Apply Voucher\\\" method=\\\"apply_voucher\\\"/>\\n\n            <item string=\\\"Apply All Vouchers\\\" method=\\\"apply_all_vouchers\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Copy To RM Goods Receipt\\\" method=\\\"copy_to_rm_picking\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Copy To Customer Purchase Order\\\" method=\\\"copy_to_customer_purchase\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Create Tracking Code\\\" method=\\\"create_track\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Modify Sales Order\\\" action=\\\"sale_modif\\\" states=\\\"confirmed\\\" action_options='{\\\"context\\\":{\\\"defaults\\\":{\\\"order_id\\\":id}}}'/>\\n\n            <divider/>\\n\n            <item string=\\\"Online Payment\\\" method=\\\"pay_online\\\" states=\\\"confirmed\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"contact_id\\\" span=\\\"2\\\" create=\\\"1\\\" onchange=\\\"onchange_contact\\\" condition='[[\\\"customer\\\", \\\"=\\\", \\\"True\\\"]]'/>\\n\n                <field name=\\\"contact_person_id\\\" span=\\\"2\\\" condition='[[\\\"type\\\", \\\"=\\\", \\\"person\\\"],[\\\"org_id\\\",\\\"=\\\",contact_id]]'/>\\n\n                <field name=\\\"date\\\" span=\\\"2\\\" onchange=\\\"onchange_date\\\"/>\\n\n                <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"is_delivered\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"currency_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"tax_type\\\" span=\\\"2\\\" onchange=\\\"update_amounts\\\"/>\\n\n                <field name=\\\"price_list_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"related_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"ship_method_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"is_paid\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"bill_address_id\\\" span=\\\"2\\\" condition='[[\\\"contact_id\\\",\\\"!=\\\",null],[\\\"contact_id\\\",\\\"=\\\",contact_id]]'/>\\n\n                <field name=\\\"ship_address_id\\\" span=\\\"2\\\" condition='[[\\\"contact_id\\\",\\\"!=\\\",null],[\\\"contact_id\\\",\\\"=\\\",contact_id]]'/>\\n\n                <field name=\\\"due_date\\\" span=\\\"2\\\" show_required=\\\"1\\\"/>\\n\n                <field name=\\\"ship_time\\\" span=\\\"2\\\" view=\\\"field_time\\\"/>\\n\n                <field name=\\\"delivery_date\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"delivery_slot_id\\\" span=\\\"2\\\"/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n                \n                <list reorder_field=\\\"sequence_no\\\">\\n                    \n                    <field name=\\\"sequence_no\\\"/>\\n\n                    <field name=\\\"type\\\"/>\\n\n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\" condition='[[\\\"can_sell\\\",\\\"=\\\",true]]'/>\\n\n                    <field name=\\\"description\\\"/>\\n\n                    <field name=\\\"qty\\\" onchange=\\\"onchange_qty\\\"/>\\n\n                    <field name=\\\"uom_id\\\" onchange=\\\"onchange_uom\\\"/>\\n\n                    <field name=\\\"qty2\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"uom2_id\\\"/>\\n\n                    <field name=\\\"unit_price\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"discount\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"discount_amount\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"tax_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"amount\\\"/>\\n\n                    <field name=\\\"location_id\\\" show_required=\\\"1\\\"/>\\n\n                    <field name=\\\"reserve_location_id\\\"/>\\n\n                    <field name=\\\"packaging_id\\\"/>\\n\n                    <field name=\\\"lot_id\\\"/>\\n\n                    <field name=\\\"qty_avail\\\"/>\\n\n                    <field name=\\\"supplier_id\\\"/>\\n\n                    <field name=\\\"qty_stock\\\"/>\\n\n                    <field name=\\\"qty_produced\\\"/>\\n\n                    <field name=\\\"qty_delivered\\\"/>\\n\n                    <field name=\\\"ship_method_id\\\"/>\\n\n                    <field name=\\\"due_date\\\"/>\\n\n                    <field name=\\\"track_id\\\"/>\\n\n                    <field name=\\\"track2_id\\\"/>\\n\n                    <field name=\\\"delivery_slot_id\\\"/>\\n\n                    <field name=\\\"ship_address_id\\\"/>\\n\n                    <field name=\\\"packaging_id\\\"/>\\n\n                    <field name=\\\"addons\\\"/>\\n\n                    <field name=\\\"cost_price\\\"/>\\n\n                    <field name=\\\"cost_amount\\\"/>\\n\n                    <field name=\\\"profit_amount\\\"/>\\n\n                    <field name=\\\"margin_percent\\\"/>\\n\\t\\t\\t\\t\\t\n                    <field name=\\\"amount_tax\\\"/>\\n\n                    <field name=\\\"notes\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <group span=\\\"8\\\">\\n                \n                <field name=\\\"other_info\\\" readonly=\\\"0\\\"/>\\n\n            </group>\\n\n            <group span=\\\"4\\\" columns=\\\"1\\\" horizontal=\\\"1\\\">\\n                \n                <field name=\\\"amount_subtotal\\\"/>\\n\n                <field name=\\\"amount_tax\\\"/>\\n\n                <field name=\\\"amount_total\\\"/>\\n\n            </group>\\n\n        </tab>\\n\n        <tab string=\\\"Promotions\\\">\\n            \n            <field name=\\\"voucher_id\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Costing\\\">\\n            \n            <separator string=\\\"Estimate Costs\\\"/>\\n\n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"cost_amount\\\" span=\\\"4\\\"/>\\n\n                <field name=\\\"profit_amount\\\" span=\\\"4\\\"/>\\n\n                <field name=\\\"margin_percent\\\" span=\\\"4\\\"/>\\n\n            </group>\\n\n            <separator string=\\\"Actual Costs\\\"/>\\n\n            <field name=\\\"track_id\\\"/>\\n\n            <field name=\\\"track_balance\\\"/>\\n\n            <field name=\\\"track_entries\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"date\\\"/>\\n\n                    <field name=\\\"product_id\\\"/>\\n\n                    <field name=\\\"description\\\"/>\\n\n                    <field name=\\\"qty\\\"/>\\n\n                    <field name=\\\"uom_id\\\"/>\\n\n                    <field name=\\\"amount\\\"/>\\n\n                    <field name=\\\"contact_id\\\"/>\\n\n                    <field name=\\\"related_id\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <newline/>\\n\n            <field name=\\\"act_mfg_cost\\\"/>\\n\n            <newline/>\\n\n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"act_cost_amount\\\" span=\\\"4\\\"/>\\n\n                <field name=\\\"act_profit_amount\\\" span=\\\"4\\\"/>\\n\n                <field name=\\\"act_margin_percent\\\" span=\\\"4\\\"/>\\n\n            </group>\\n\n        </tab>\\n\n        <tab string=\\\"Currencies\\\">\\n            \n            <field name=\\\"currency_rates\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"currency_id\\\"/>\\n\n                    <field name=\\\"rate\\\"/>\\n\n                </list>\\n\n            </field>\\n\n        </tab>\\n\n        <tab string=\\\"Approval\\\">\\n            \n            <field name=\\\"approved_by_id\\\"/>\\n\n            <button string=\\\"Approve\\\" icon=\\\"ok\\\" action=\\\"sale_approve\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other Info\\\">\\n            \n            <field name=\\\"sale_categ_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"user_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"company_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"pay_term_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"seller_id\\\" readonly=\\\"0\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"seller_contact_id\\\" readonly=\\\"0\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"sequence_id\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"sale_order\\\"]]' onchange=\\\"onchange_sequence\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"ship_term_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"ship_port_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"sale_channel_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"project_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"job_template_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"pay_method_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"transaction_no\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"ship_tracking\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"receipt_printed\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"orig_sale_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"report_no\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"create_time\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"quote_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"gross_weight\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"net_weight\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"customer_date\\\"/>\\n\n            <separator string=\\\"Notify\\\"/>\\n\n            <field name=\\\"agent_id\\\" create=\\\"1\\\" onchange=\\\"onchange_agent\\\" condition='[[\\\"agent\\\", \\\"=\\\", \\\"True\\\"]]'/>\\n\n            <field name=\\\"agent_person_id\\\" condition='[[\\\"type\\\", \\\"=\\\", \\\"person\\\"],[\\\"org_id\\\",\\\"=\\\",agent_id]]'/>\\n\n            <field name=\\\"agent_address_id\\\" condition='[[\\\"contact_id\\\",\\\"!=\\\",null],[\\\"contact_id\\\",\\\"=\\\",agent_id]]'/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Confirm\\\" method=\\\"confirm\\\" size=\\\"large\\\" type=\\\"success\\\" states=\\\"draft,reserved\\\" perm=\\\"approve_sale\\\"/>\\n\n        <button string=\\\"Reserve\\\" method=\\\"reserve\\\" size=\\\"large\\\" states=\\\"draft\\\" perm=\\\"reserve\\\"/>\\n\n        <button string=\\\"Completed\\\" method=\\\"done\\\" size=\\\"large\\\" type=\\\"success\\\" states=\\\"confirmed\\\"/>\\n\n        <button string=\\\"Reopen\\\" method=\\\"reopen\\\" size=\\\"large\\\" states=\\\"done\\\" icon=\\\"refresh\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"documents\\\" show_inline=\\\"1\\\"/>\\n\n        <field name=\\\"invoices\\\" click_action=\\\"view_invoice\\\"/>\\n\n        <field name=\\\"pickings\\\"/>\\n\n        <field name=\\\"purchase_orders\\\"/>\\n\n        <field name=\\\"sale_orders\\\"/>\\n\n        <field name=\\\"production_orders\\\"/>\\n\n        <field name=\\\"transforms\\\"/>\\n\n        <field name=\\\"jobs\\\"/>\\n\n        <field name=\\\"activities\\\" show_inline=\\\"1\\\"/>\\n\n        <field name=\\\"emails\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"lead_refer\": {\"module\": \"netforce_sale\", \"name\": \"lead_refer\", \"type\": \"form\", \"model\": \"sale.lead\", \"priority\": 20, \"layout\": \"\n<form model=\\\"sale.lead\\\" priority=\\\"20\\\">\\n    \n    <field name=\\\"refer_reason_id\\\" string=\\\"Refer To\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Refer\\\" method=\\\"refer\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"sale_rec_form\": {\"module\": \"netforce_sale\", \"name\": \"sale_rec_form\", \"type\": \"form\", \"model\": \"sale.recurring\", \"layout\": \"\n<form model=\\\"sale.recurring\\\">\\n    \n    <head>\\n        \n        <button string=\\\"New\\\" icon=\\\"plus\\\" action=\\\"sale_rec\\\" action_options='{\\\"mode\\\":\\\"form\\\"}'/>\\n\n    </head>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"unit_price\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"supplier_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"interval_num\\\"/>\\n\n    <field name=\\\"interval_unit\\\"/>\\n\n    <field name=\\\"next_date\\\"/>\\n\n</form>\\n\"}, \"seller_list\": {\"module\": \"netforce_sale\", \"name\": \"seller_list\", \"type\": \"list\", \"model\": \"seller\", \"layout\": \"\n<list model=\\\"seller\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n</list>\\n\"}, \"sale_widget\": {\"module\": \"netforce_sale\", \"name\": \"sale_widget\", \"type\": \"list\", \"model\": \"sale.order\", \"layout\": \"\n<list model=\\\"sale.order\\\" hide_select=\\\"1\\\" hide_page=\\\"1\\\">\\n    \n    <head replace=\\\"1\\\">\\n        \n        <button string=\\\"New Sales Order\\\" action=\\\"sale\\\" action_options='{\\\"mode\\\":\\\"form\\\"}' icon=\\\"plus\\\" noselect=\\\"1\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n</list>\\n\"}, \"quot_pivot\": {\"module\": \"netforce_sale\", \"name\": \"quot_pivot\", \"type\": \"pivot\", \"model\": \"sale.quot\", \"layout\": \"\n<pivot model=\\\"sale.quot\\\" rows=\\\"contact_id.name\\\" cols=\\\"state\\\" agg_name=\\\"count\\\" vals=\\\"amount_total\\\">\\n    \n    <field name=\\\"contact_id.name\\\" string=\\\"Contact\\\"/>\\n\n    <field name=\\\"contact_id.categ_id.name\\\" string=\\\"Contact Category\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"user_id.name\\\" string=\\\"Responsible User\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n</pivot>\\n\"}, \"sale_forecast_line_form\": {\"module\": \"netforce_sale\", \"name\": \"sale_forecast_line_form\", \"type\": \"form\", \"model\": \"sale.forecast.line\", \"layout\": \"\n<form model=\\\"sale.forecast.line\\\">\\n    \n    <field name=\\\"forecast_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"customer_id\\\" onchange=\\\"onchange_customer\\\"/>\\n\n    <field name=\\\"min_shelf_life\\\"/>\\n\n    <field name=\\\"plan_qty\\\"/>\\n\n    <field name=\\\"actual_qty\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"prev_plan_qty\\\"/>\\n\n    <field name=\\\"prev_diff_percent\\\"/>\\n\n</form>\\n\"}, \"sale_line_search\": {\"module\": \"netforce_sale\", \"name\": \"sale_line_search\", \"type\": \"search\", \"model\": \"sale.order.line\", \"layout\": \"\n<search model=\\\"sale.order.line\\\">\\n    \n    <field name=\\\"order_id.due_date\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"order_id.contact_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"product_categ_id\\\" child_of=\\\"1\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"order_id.state\\\"/>\\n\n</search>\\n\"}, \"sale_categ_form\": {\"module\": \"netforce_sale\", \"name\": \"sale_categ_form\", \"type\": \"form\", \"model\": \"sale.categ\", \"layout\": \"\n<form model=\\\"sale.categ\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"sale_sequence_id\\\"/>\\n\n</form>\\n\"}, \"report_sale_profit\": {\"module\": \"netforce_sale\", \"name\": \"report_sale_profit\", \"type\": \"form\", \"model\": \"report.sale.profit\", \"layout\": \"\n<form model=\\\"report.sale.profit\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"sale_voucher_form\": {\"module\": \"netforce_sale\", \"name\": \"sale_voucher_form\", \"type\": \"form\", \"model\": \"sale.voucher\", \"layout\": \"\n<form model=\\\"sale.voucher\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <separator string=\\\"Benefits\\\"/>\\n\n    <field name=\\\"benefit_type\\\"/>\\n\n    <field name=\\\"refer_benefit_type\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"discount_amount\\\" attrs='{\\\"invisible\\\":[[\\\"benefit_type\\\",\\\"!=\\\",\\\"fixed_discount_order\\\"]]}'/>\\n\n    <newline/>\\n\n    <field name=\\\"discount_percent\\\" attrs='{\\\"invisible\\\":[[\\\"benefit_type\\\",\\\"!=\\\",\\\"percent_discount_product\\\"]]}'/>\\n\n    <newline/>\\n\n    <field name=\\\"discount_product_groups\\\" attrs='{\\\"invisible\\\":[[\\\"benefit_type\\\",\\\"not in\\\",[\\\"free_product\\\",\\\"percent_discount_product\\\"]]]}'/>\\n\n    <field name=\\\"discount_product_id\\\" attrs='{\\\"invisible\\\":[[\\\"benefit_type\\\",\\\"not in\\\",[\\\"free_product\\\",\\\"percent_discount_product\\\"]]]}'/>\\n\n    <field name=\\\"discount_max_qty\\\" attrs='{\\\"invisible\\\":[[\\\"benefit_type\\\",\\\"not in\\\",[\\\"free_product\\\",\\\"percent_discount_product\\\"]]]}'/>\\n\n    <newline/>\\n\n    <field name=\\\"credit_amount\\\" attrs='{\\\"invisible\\\":[[\\\"benefit_type\\\",\\\"!=\\\",\\\"credit\\\"]]}'/>\\n\n    <newline/>\\n\n    <field name=\\\"refer_credit_amount\\\" attrs='{\\\"invisible\\\":[[\\\"refer_benefit_type\\\",\\\"!=\\\",\\\"credit\\\"]]}'/>\\n\n    <separator string=\\\"Criteria\\\"/>\\n\n    <field name=\\\"expire_date\\\"/>\\n\n    <field name=\\\"expire_date_msg\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"new_customer\\\"/>\\n\n    <field name=\\\"new_customer_msg\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"customer_id\\\"/>\\n\n    <field name=\\\"customer_msg\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"contact_groups\\\"/>\\n\n    <field name=\\\"contact_groups_msg\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"product_groups\\\"/>\\n\n    <field name=\\\"product_groups_msg\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"cond_product_categ_id\\\"/>\\n\n    <field name=\\\"cond_product_categ_msg\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"cond_product_id\\\"/>\\n\n    <field name=\\\"cond_product_msg\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"min_qty\\\"/>\\n\n    <field name=\\\"min_qty_msg\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"qty_multiple\\\"/>\\n\n    <field name=\\\"qty_multiple_msg\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"min_order_amount\\\"/>\\n\n    <field name=\\\"min_order_amount_msg\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"max_orders_per_customer\\\"/>\\n\n    <field name=\\\"max_orders_per_customer_msg\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"max_orders\\\"/>\\n\n    <field name=\\\"max_orders_msg\\\"/>\\n\n    <separator string=\\\"Config\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"sale_orders\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"report_sale_order\": {\"module\": \"netforce_sale\", \"name\": \"report_sale_order\", \"type\": \"form\", \"model\": \"report.sale.order\", \"layout\": \"\n<form model=\\\"report.sale.order\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"order_date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"order_date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"product_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"product_code\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"compare_periods\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"compare_by\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"seller_form\": {\"module\": \"netforce_sale\", \"name\": \"seller_form\", \"type\": \"form\", \"model\": \"seller\", \"layout\": \"\n<form model=\\\"seller\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"commissions\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"sale_pivot\": {\"module\": \"netforce_sale\", \"name\": \"sale_pivot\", \"type\": \"pivot\", \"model\": \"sale.order\", \"layout\": \"\n<pivot model=\\\"sale.order\\\" rows=\\\"date_month,date_week\\\" cols=\\\"contact_id.categ_id.name\\\" agg_name=\\\"sum\\\" vals=\\\"amount_total\\\">\\n    \n    <field name=\\\"number\\\" string=\\\"Order Number\\\"/>\\n\n    <field name=\\\"contact_id.name\\\" string=\\\"Customer\\\"/>\\n\n    <field name=\\\"contact_id.categ_id.name\\\" string=\\\"Customer Category\\\"/>\\n\n    <field name=\\\"contact_id.categ_id.description\\\" string=\\\"Customer Category Description\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"user_id.name\\\" string=\\\"Responsible User\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"date_week\\\"/>\\n\n    <field name=\\\"date_month\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"due_date_weekday\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"cost_amount\\\"/>\\n\n    <field name=\\\"profit_amount\\\"/>\\n\n    <!--<field name=\\\"act_cost_amount\\\"/>\\n    <field name=\\\"act_profit_amount\\\"/>-->\\n    \n    <field name=\\\"seller_id\\\"/>\\n\n    <field name=\\\"ship_port_id.name\\\"/>\\n\n    <field name=\\\"other_info\\\"/>\\n\n</pivot>\\n\"}, \"sale_forecast_form\": {\"module\": \"netforce_sale\", \"name\": \"sale_forecast_form\", \"type\": \"form\", \"model\": \"sale.forecast\", \"layout\": \"\n<form model=\\\"sale.forecast\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <!--<item string=\\\"Update Planned Stock Transactions\\\" method=\\\"update_stock\\\"/>-->\\n            \n            <divider/>\\n\n            <item string=\\\"Copy To FG and RM Purchase Orders\\\" method=\\\"copy_to_rm_purchase\\\"/>\\n\n            <item string=\\\"Copy To Production Plan\\\" method=\\\"copy_to_production_plan\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Close Forecast\\\" method=\\\"close\\\" states=\\\"open\\\"/>\\n\n        <button string=\\\"Reopen Forecast\\\" method=\\\"reopen\\\" states=\\\"closed\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"lines\\\">\\n            \n            <list>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <field name=\\\"customer_id\\\"/>\\n\n                <field name=\\\"min_shelf_life\\\"/>\\n\n                <field name=\\\"plan_qty\\\"/>\\n\n                <field name=\\\"actual_qty\\\"/>\\n\n                <field name=\\\"prev_diff_percent\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"customer_id\\\" onchange=\\\"onchange_customer\\\"/>\\n\n                <field name=\\\"min_shelf_life\\\"/>\\n\n                <field name=\\\"plan_qty\\\"/>\\n\n                <field name=\\\"actual_qty\\\"/>\\n\n                <separator/>\\n\n                <field name=\\\"prev_plan_qty\\\"/>\\n\n                <field name=\\\"prev_diff_percent\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"stock_moves\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"sale_activ_list\": {\"module\": \"netforce_sale\", \"name\": \"sale_activ_list\", \"type\": \"list\", \"model\": \"sale.activ\", \"priority\": 1, \"layout\": \"\n<list model=\\\"sale.activ\\\" priority=\\\"1\\\">\\n    \n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"subject\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"priority\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"sale_activ_form\": {\"module\": \"netforce_sale\", \"name\": \"sale_activ_form\", \"type\": \"form\", \"model\": \"sale.activ\", \"layout\": \"\n<form model=\\\"sale.activ\\\">\\n    \n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"subject\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"notes\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"start_time\\\"/>\\n\n    <field name=\\\"end_time\\\"/>\\n\n    <field name=\\\"location\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"priority\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"other_users\\\" view=\\\"field_multi_select\\\"/>\\n\n    <field name=\\\"send_reminder\\\" onchange=\\\"onchange_send_reminder\\\"/>\\n\n    <group attrs='{\\\"invisible\\\":[[\\\"send_reminder\\\",\\\"=\\\",\\\"0\\\"]]}'>\\n        \n        <field name=\\\"notif_time\\\"/>\\n\n    </group>\\n\n    <related>\\n        \n        <field name=\\\"notifs\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"activ_widget\": {\"module\": \"netforce_sale\", \"name\": \"activ_widget\", \"type\": \"list\", \"model\": \"activity\", \"layout\": \"\n<list model=\\\"activity\\\" action=\\\"view_activity\\\" colors='{\\\"due_date,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"#9f9\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]}' hide_select=\\\"1\\\" hide_page=\\\"1\\\">\\n    \n    <head replace=\\\"1\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"subject\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"sale_target_list\": {\"module\": \"netforce_sale\", \"name\": \"sale_target_list\", \"type\": \"list\", \"model\": \"sale.target\", \"layout\": \"\n<list model=\\\"sale.target\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Gen Targets\\\" method=\\\"gen_targets\\\"/>\\n\n    </top>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"prod_categ_id\\\"/>\\n\n    <field name=\\\"amount_target\\\"/>\\n\n    <field name=\\\"amount_actual\\\"/>\\n\n    <field name=\\\"amount_expected\\\"/>\\n\n    <field name=\\\"qty_target\\\"/>\\n\n    <field name=\\\"qty_actual\\\"/>\\n\n    <field name=\\\"qty_expected\\\"/>\\n\n</list>\\n\"}, \"convert_lead\": {\"module\": \"netforce_sale\", \"name\": \"convert_lead\", \"type\": \"form\", \"model\": \"convert.lead\", \"layout\": \"\n<form model=\\\"convert.lead\\\">\\n    \n    <field name=\\\"lead_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Copy\\\" method=\\\"do_copy\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"sale_channel_form\": {\"module\": \"netforce_sale\", \"name\": \"sale_channel_form\", \"type\": \"form\", \"model\": \"sale.channel\", \"layout\": \"\n<form model=\\\"sale.channel\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"pricelist_id\\\"/>\\n\n</form>\\n\"}, \"report_unpaid_sale\": {\"module\": \"netforce_sale\", \"name\": \"report_unpaid_sale\", \"type\": \"form\", \"model\": \"report.unpaid.sale\", \"layout\": \"\n<form model=\\\"report.unpaid.sale\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"pay_method_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"opport_cancel\": {\"module\": \"netforce_sale\", \"name\": \"opport_cancel\", \"type\": \"form\", \"model\": \"sale.opportunity\", \"priority\": 20, \"layout\": \"\n<form model=\\\"sale.opportunity\\\" priority=\\\"20\\\">\\n    \n    <field name=\\\"cancel_reason_id\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Cancel Sales Opportunity\\\" method=\\\"cancel\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"sale_rec_list\": {\"module\": \"netforce_sale\", \"name\": \"sale_rec_list\", \"type\": \"list\", \"model\": \"sale.recurring\", \"layout\": \"\n<list model=\\\"sale.recurring\\\">\\n    \n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"unit_price\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"supplier_id\\\"/>\\n\n    <field name=\\\"interval_num\\\"/>\\n\n    <field name=\\\"interval_unit\\\"/>\\n\n    <field name=\\\"next_date\\\"/>\\n\n</list>\\n\"}, \"quot_widget\": {\"module\": \"netforce_sale\", \"name\": \"quot_widget\", \"type\": \"list\", \"model\": \"sale.quot\", \"priority\": 20, \"layout\": \"\n<list model=\\\"sale.quot\\\" priority=\\\"20\\\" hide_select=\\\"1\\\" hide_page=\\\"1\\\">\\n    \n    <head replace=\\\"1\\\">\\n        \n        <button string=\\\"New Quotation\\\" action=\\\"quot\\\" action_options='{\\\"mode\\\":\\\"form\\\"}' icon=\\\"plus\\\" noselect=\\\"1\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"commission_list\": {\"module\": \"netforce_sale\", \"name\": \"commission_list\", \"type\": \"list\", \"model\": \"seller.commission\", \"layout\": \"\n<list model=\\\"seller.commission\\\">\\n    \n    <field name=\\\"seller_id\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"customer_id\\\"/>\\n\n    <field name=\\\"customer_group_id\\\"/>\\n\n    <field name=\\\"commission_percent\\\"/>\\n\n    <field name=\\\"min_amount\\\"/>\\n\n</list>\\n\"}, \"quot_line_list\": {\"module\": \"netforce_sale\", \"name\": \"quot_line_list\", \"type\": \"list\", \"model\": \"sale.quot.line\", \"layout\": \"\n<list model=\\\"sale.quot.line\\\">\\n    \n    <field name=\\\"quot_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"unit_price\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"sale_line_pivot\": {\"module\": \"netforce_sale\", \"name\": \"sale_line_pivot\", \"type\": \"pivot\", \"model\": \"sale.order.line\", \"layout\": \"\n<pivot model=\\\"sale.order.line\\\" rows=\\\"product_id.name\\\" cols=\\\"order_id.state\\\" vals=\\\"amount,qty\\\" agg_name=\\\"sum\\\">\\n    \n    <field name=\\\"product_id.name\\\" string=\\\"Product\\\"/>\\n\n    <field name=\\\"product_id.categ_id.name\\\" string=\\\"Product Category\\\"/>\\n\n    <field name=\\\"order_id.contact_id.name\\\" string=\\\"Contact\\\"/>\\n\n    <field name=\\\"order_id.contact_id.categ_id.name\\\" string=\\\"Contact Category\\\"/>\\n\n    <field name=\\\"order_id.state\\\"/>\\n\n    <field name=\\\"order_id.user_id.name\\\" string=\\\"Responsible User\\\"/>\\n\n    <field name=\\\"order_id.date\\\"/>\\n\n    <field name=\\\"order_id.date_week\\\"/>\\n\n    <field name=\\\"order_id.date_month\\\"/>\\n\n    <field name=\\\"order_id.due_date\\\"/>\\n\n    <field name=\\\"order_id.due_date_weekday\\\"/>\\n\n    <field name=\\\"order_id.number\\\" string=\\\"SO Number\\\"/>\\n\n    <field name=\\\"order_id.other_info\\\" string=\\\"Order Notes\\\"/>\\n\n    <field name=\\\"notes\\\" string=\\\"Line Notes\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"order_id.seller_id.name\\\" string=\\\"Sales Person\\\"/>\\n\n    <field name=\\\"order_id.ship_port_id.name\\\" string=\\\"Shipping Port\\\"/>\\n\n    <field name=\\\"ship_method_id.name\\\" string=\\\"Shipping Method\\\"/>\\n\n    <field name=\\\"packaging_id.name\\\" string=\\\"Packaging\\\"/>\\n\n    <field name=\\\"location_id.name\\\" string=\\\"Location\\\"/>\\n\n</pivot>\\n\"}, \"report_sale_unbill\": {\"module\": \"netforce_sale\", \"name\": \"report_sale_unbill\", \"type\": \"form\", \"model\": \"report.sale.unbill\", \"layout\": \"\n<form model=\\\"report.sale.unbill\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"order_date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"order_date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"sale_order\\\" span=\\\"2\\\"/>\\n\n        <!--        <field name=\\\"invoice_number\\\" span=\\\"2\\\"/>-->\\n        \n        <field name=\\\"person_in_charge\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"sale_category\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"show_foreign_currency\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"sale_line_list\": {\"module\": \"netforce_sale\", \"name\": \"sale_line_list\", \"type\": \"list\", \"model\": \"sale.order.line\", \"layout\": \"\n<list model=\\\"sale.order.line\\\">\\n    \n    <field name=\\\"order_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"unit_price\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"sale_columns\": {\"module\": \"netforce_sale\", \"name\": \"sale_columns\", \"type\": \"columns\", \"model\": \"sale.order\", \"layout\": \"\n<columns model=\\\"sale.order\\\" column_field=\\\"state\\\" row_field=\\\"number\\\" group_field=\\\"contact_id\\\">\\n</columns>\\n\"}, \"sale_stage_form\": {\"module\": \"netforce_sale\", \"name\": \"sale_stage_form\", \"type\": \"form\", \"model\": \"sale.stage\", \"layout\": \"\n<form model=\\\"sale.stage\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"quot_export\": {\"module\": \"netforce_sale\", \"name\": \"quot_export\", \"type\": \"export\", \"model\": \"sale.quot\", \"layout\": \"\n<export model=\\\"sale.quot\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"payment_terms\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"lines.product_id\\\"/>\\n\n    <field name=\\\"lines.description\\\"/>\\n\n    <field name=\\\"lines.qty\\\"/>\\n\n    <field name=\\\"lines.uom_id\\\"/>\\n\n    <field name=\\\"lines.unit_price\\\"/>\\n\n    <field name=\\\"lines.discount\\\"/>\\n\n    <field name=\\\"lines.tax_id\\\"/>\\n\n    <field name=\\\"lines.amount\\\"/>\\n\n</export>\\n\"}, \"activ_form\": {\"module\": \"netforce_sale\", \"name\": \"activ_form\", \"type\": \"form\", \"model\": \"activity\", \"layout\": \"\n<form model=\\\"activity\\\">\\n    \n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"subject\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"priority\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"notes\\\"/>\\n\n    <field name=\\\"location\\\"/>\\n\n    <field name=\\\"start_time\\\"/>\\n\n    <field name=\\\"end_time\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"notifs\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"delivery_term_list\": {\"module\": \"netforce_sale\", \"name\": \"delivery_term_list\", \"type\": \"list\", \"model\": \"delivery.term\", \"layout\": \"\n<list model=\\\"delivery.term\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</list>\\n\"}, \"opport_lost\": {\"module\": \"netforce_sale\", \"name\": \"opport_lost\", \"type\": \"form\", \"model\": \"sale.opportunity\", \"priority\": 20, \"layout\": \"\n<form model=\\\"sale.opportunity\\\" priority=\\\"20\\\">\\n    \n    <field name=\\\"lost_reason_id\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Lost\\\" method=\\\"lost\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"lead_form\": {\"module\": \"netforce_sale\", \"name\": \"lead_form\", \"type\": \"form\", \"model\": \"sale.lead\", \"layout\": \"\n<form model=\\\"sale.lead\\\" show_company=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Convert To Opportunity\\\" method=\\\"copy_to_opport\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <separator string=\\\"Compulsory Information\\\"/>\\n\n    <group span=\\\"6\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"number\\\"/>\\n\n        <field name=\\\"date\\\"/>\\n\n        <field name=\\\"title\\\"/>\\n\n        <field name=\\\"contact_name\\\"/>\\n\n    </group>\\n\n    <group span=\\\"6\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"state\\\"/>\\n\n    </group>\\n\n    <separator string=\\\"Lead Information\\\"/>\\n\n    <group span=\\\"6\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"email\\\"/>\\n\n        <field name=\\\"phone\\\"/> \\n\n        <field name=\\\"categ_id\\\"/>\\n\n    </group>\\n\n    <group span=\\\"6\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"company_id\\\"/>\\n\n        <field name=\\\"user_id\\\"/>\\n\n        <field name=\\\"refer_contact_id\\\"/>\\n\n    </group>\\n\n    <!--separator string=\\\"Address Information\\\"/>\\n    <field name=\\\"addresses\\\" view=\\\"form_list\\\"/>-->\\n    \n    <separator string=\\\"Additional Information\\\"/>\\n\n    <group span=\\\"6\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"company\\\"/>\\n\n        <field name=\\\"revenue\\\"/>\\n\n        <field name=\\\"website\\\"/>\\n\n        <field name=\\\"age_days\\\"/>\\n\n    </group>\\n\n    <group span=\\\"6\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"employees\\\"/>\\n\n        <field name=\\\"source_id\\\"/>\\n\n        <field name=\\\"industry\\\"/>\\n\n    </group>\\n\n    <separator string=\\\"Description Information\\\"/>\\n\n    <!--<field name=\\\"description\\\" view=\\\"field_html\\\" width=\\\"800\\\" height=\\\"500\\\"/>-->\\n    \n    <field name=\\\"description\\\" width=\\\"800\\\" height=\\\"500\\\"/>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Convert To Opportunity\\\" method=\\\"copy_to_opport\\\" states=\\\"new\\\" type=\\\"success\\\" icon=\\\"ok\\\"/>\\n\n        <button string=\\\"Void\\\" method=\\\"void\\\" states=\\\"new\\\" icon=\\\"remove\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"sale_opports\\\"/>\\n\n        <field name=\\\"emails\\\" action=\\\"email\\\"/>\\n\n        <field name=\\\"documents\\\" show_inline=\\\"1\\\"/>\\n\n        <field name=\\\"activities\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"purchase_add\": {\"module\": \"netforce_purchase\", \"name\": \"purchase_add\", \"type\": \"form\", \"model\": \"purchase.add\", \"layout\": \"\n<form model=\\\"purchase.add\\\">\\n    \n    <field name=\\\"purchase_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"master_product_id\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Add Products\\\" method=\\\"add_products\\\" type=\\\"primary\\\" icon=\\\"plus\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"purchase_pivot\": {\"module\": \"netforce_purchase\", \"name\": \"purchase_pivot\", \"type\": \"pivot\", \"model\": \"purchase.order\", \"layout\": \"\n<pivot model=\\\"purchase.order\\\" rows=\\\"contact_id.name\\\" cols=\\\"state\\\" agg_name=\\\"count\\\" vals=\\\"amount_total\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id.name\\\" string=\\\"Supplier\\\"/>\\n\n    <field name=\\\"contact_id.categ_id.name\\\" string=\\\"Supplier Category\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"user_id.name\\\" string=\\\"Responsible User\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"date_month\\\"/>\\n\n    <field name=\\\"date_week\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"amount_total_cur\\\"/>\\n\n    <field name=\\\"currency_id.code\\\" string=\\\"Currency\\\"/>\\n\n    <field name=\\\"pay_term_id.name\\\" string=\\\"Payment Terms\\\"/>\\n\n    <field name=\\\"ship_term_id.name\\\" string=\\\"Shipping Terms\\\"/>\\n\n</pivot>\\n\"}, \"report_purchase_gen2\": {\"module\": \"netforce_purchase\", \"name\": \"report_purchase_gen2\", \"type\": \"form\", \"model\": \"report.purchase.gen2\", \"layout\": \"\n<form model=\\\"report.purchase.gen2\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"product_categ_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"supplier_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"product_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"filter_min_stock\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"rfq_widget\": {\"module\": \"netforce_purchase\", \"name\": \"rfq_widget\", \"type\": \"list\", \"model\": \"purchase\", \"layout\": \"\n<list model=\\\"purchase\\\" hide_select=\\\"1\\\" hide_page=\\\"1\\\">\\n    \n    <head replace=\\\"1\\\">\\n        \n        <button string=\\\"New Purchase Order\\\" icon=\\\"plus-sign\\\" action=\\\"purchase\\\" action_options='{\\\"mode\\\":\\\"form\\\"}' noselect=\\\"1\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n</list>\\n\"}, \"purchase_settings\": {\"module\": \"netforce_purchase\", \"name\": \"purchase_settings\", \"type\": \"form\", \"model\": \"settings\", \"layout\": \"\n<form model=\\\"settings\\\" title=\\\"Purchase Settings\\\">\\n    \n    <separator string=\\\"Purchase Workflow\\\"/>\\n\n    <field name=\\\"purchase_copy_picking\\\"/>\\n\n    <field name=\\\"purchase_copy_invoice\\\"/>\\n\n    <field name=\\\"purchase_check_received_qty\\\"/>\\n\n    <field name=\\\"purchase_min_approvals\\\"/>\\n\n    <field name=\\\"pr_require_supplier\\\"/>\\n\n    <separator string=\\\"Permissions\\\"/>\\n\n    <field name=\\\"approve_purchase\\\"/>\\n\n    <field name=\\\"approve_purchase_request\\\"/>\\n\n</form>\\n\"}, \"report_purchase_gen\": {\"module\": \"netforce_purchase\", \"name\": \"report_purchase_gen\", \"type\": \"form\", \"model\": \"report.purchase.gen\", \"layout\": \"\n<form model=\\\"report.purchase.gen\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"product_categ_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"supplier_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"product_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"num_periods\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"period_type\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"filter_min_stock\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"purchase_request_list\": {\"module\": \"netforce_purchase\", \"name\": \"purchase_request_list\", \"type\": \"list\", \"model\": \"purchase.request\", \"layout\": \"\n<list model=\\\"purchase.request\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_purchase_request_form\\\"/>\\n\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"report_purchase_request_form2\\\" action_options='{\\\"ids\\\":ids}'/>\\n\n        <button string=\\\"Copy To Purchase Order\\\" method=\\\"copy_to_purchase\\\"/>\\n\n        <button string=\\\"Completed\\\" method=\\\"btn_done\\\" icon=\\\"ok\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"date_required\\\"/>\\n\n    <field name=\\\"other_info\\\"/>\\n\n    <field name=\\\"department_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"purchase_line_list\": {\"module\": \"netforce_purchase\", \"name\": \"purchase_line_list\", \"type\": \"list\", \"model\": \"purchase.order.line\", \"layout\": \"\n<list model=\\\"purchase.order.line\\\" action=\\\"view_purchase\\\">\\n    \n    <field name=\\\"order_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"unit_price\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"purchase_board\": {\"module\": \"netforce_purchase\", \"name\": \"purchase_board\", \"type\": \"board\", \"layout\": \"\n<board>\\n    \n    <vpanel>\\n        \n        <widget string=\\\"Purchases per month\\\" action=\\\"purch_month_widget\\\"/>\\n\n        <widget string=\\\"Purchases per product category\\\" action=\\\"purch_product_categ_widget\\\"/>\\n\n        <widget string=\\\"Purchases per supplier\\\" action=\\\"purch_supplier_widget\\\"/>\\n\n    </vpanel>\\n\n    <vpanel>\\n        \n        <widget string=\\\"Pending purchase orders\\\" action=\\\"rfq_widget\\\"/>\\n\n    </vpanel>\\n\n</board>\"}, \"purchase_search\": {\"module\": \"netforce_purchase\", \"name\": \"purchase_search\", \"type\": \"search\", \"model\": \"purchase.order\", \"layout\": \"\n<search model=\\\"purchase.order\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"delivery_status\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"date_approve\\\"/>\\n\n</search>\\n\"}, \"purchase_request_form\": {\"module\": \"netforce_purchase\", \"name\": \"purchase_request_form\", \"type\": \"form\", \"model\": \"purchase.request\", \"layout\": \"\n<form model=\\\"purchase.request\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"waiting_po\\\",\\\"done\\\",\\\"voided\\\"]]]}' show_company=\\\"1\\\" show_save=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_purchase_request_form3\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\" align=\\\"right\\\">\\n            \n            <item string=\\\"Copy To Purchase Order\\\" method=\\\"copy_to_purchase\\\" states=\\\"waiting_po\\\"/>\\n\n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"btn_draft\\\" states=\\\"waiting_approval,waiting_po,done,voided\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"btn_void\\\" confirm=\\\"Are you sure you want to void this purchase request?\\\" states=\\\"waiting_approva,waiting_po,done\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\" columns=\\\"6\\\">\\n                \n                <field name=\\\"number\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"ref\\\"/>\\n\n                <field name=\\\"department_id\\\"/>\\n\n                <field name=\\\"request_by_id\\\"/>\\n\n                <field name=\\\"approve_by_id\\\" readonly=\\\"1\\\"/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\" condition='[[\\\"can_purchase\\\",\\\"=\\\",true]]'/>\\n\n                    <field name=\\\"description\\\"/>\\n\n                    <field name=\\\"qty\\\" onchange=\\\"onchange_qty\\\"/>\\n\n                    <field name=\\\"uom_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"qty_order\\\"/>\\n\n                    <field name=\\\"cost_price\\\"/>\\n\n                    <field name=\\\"customer_id\\\"/>\\n\n                    <field name=\\\"location_id\\\"/>\\n\n                    <field name=\\\"supplier_id\\\"/>\\n\n                    <field name=\\\"purchase_order_id\\\" attrs='{\\\"readonly\\\":[[\\\"parent.state\\\",\\\"in\\\",[\\\"done\\\",\\\"voided\\\"]]]}'/>\\n\n                    <field name=\\\"department_id\\\"/>\\n\n                    <field name=\\\"notes\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n                \n                <field name=\\\"amount_subtotal\\\"/>\\n\n                <field name=\\\"amount_tax\\\"/>\\n\n                <field name=\\\"amount_total\\\"/>\\n\n            </group>\\n\n            <newline/>\\n\n            <field name=\\\"other_info\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Approval\\\">\\n            \n            <field name=\\\"approvals\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Submit For Approval\\\" method=\\\"btn_submit\\\" icon=\\\"arrow-right\\\" states=\\\"draft\\\"/>\\n\n        <button string=\\\"Approve\\\" method=\\\"btn_approve\\\" icon=\\\"ok\\\" type=\\\"success\\\" states=\\\"waiting_approval\\\"/>\\n\n        <button string=\\\"Reject\\\" method=\\\"btn_reject\\\" icon=\\\"remove\\\" type=\\\"danger\\\" states=\\\"waiting_approval\\\"/>\\n\n        <button string=\\\"Completed\\\" method=\\\"btn_done\\\" type=\\\"success\\\" states=\\\"waiting_po\\\"/>\\n\n        <button string=\\\"Reopen\\\" method=\\\"btn_reopen\\\" icon=\\\"refresh\\\" states=\\\"done\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"purchase_orders\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"report_commission_po\": {\"module\": \"netforce_purchase\", \"name\": \"report_commission_po\", \"type\": \"form\", \"model\": \"report.commission.po\", \"layout\": \"\n<form model=\\\"report.commission.po\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"purchase_form\": {\"module\": \"netforce_purchase\", \"name\": \"purchase_form\", \"type\": \"form\", \"model\": \"purchase.order\", \"layout\": \"\n<form model=\\\"purchase.order\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"wait_approve\\\",\\\"confirmed\\\",\\\"done\\\",\\\"voided\\\"]]]}' show_company=\\\"1\\\" show_save=\\\"1\\\">\\n    \n    <top>\\n        \n        <!--<button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_purchase_form\\\" states=\\\"confirmed,done\\\"/>\\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"report_purchase_form2\\\" action_options='{\\\"active_id\\\":id}' states=\\\"confirmed,done\\\"/-->>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_purchase_form3\\\" action_options='{\\\"active_id\\\":id}' states=\\\"confirmed,done\\\"/>\\n\n        <button string=\\\"Send\\\" icon=\\\"envelope\\\" action=\\\"send_purchase\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\" align=\\\"right\\\">\\n            \n            <item string=\\\"Add Products\\\" action=\\\"purchase_add\\\" action_options='{\\\"context\\\":{\\\"defaults\\\":{\\\"purchase_id\\\":id}}}'/>\\n\n            <divider/>\\n\n            <item string=\\\"Copy To Goods Receipt\\\" method=\\\"copy_to_picking\\\"/>\\n\n            <item string=\\\"Copy To Grading\\\" method=\\\"copy_to_grading\\\"/>\\n\n            <item string=\\\"Copy To Supplier Invoice\\\" method=\\\"copy_to_invoice\\\" states=\\\"confirmed\\\"/>\\n\n            <item string=\\\"Copy To Customer Invoice\\\" method=\\\"copy_to_cust_invoice\\\" states=\\\"confirmed\\\"/>\\n\n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Copy To RM Goods Issue\\\" method=\\\"copy_to_rm_picking\\\" states=\\\"confirmed\\\"/>\\n\n            <item string=\\\"Copy To FG Goods Receipt\\\" method=\\\"copy_to_fg_picking\\\" states=\\\"confirmed\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Copy To Sales Order\\\" method=\\\"copy_to_sale\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Copy To Supplier Sales Order\\\" method=\\\"copy_to_supplier_sale\\\" states=\\\"confirmed\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"wait_approve,confirmed,done\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure you want to void this purchase order?\\\" states=\\\"confirmed,done\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"contact_id\\\" span=\\\"2\\\" create=\\\"1\\\" onchange=\\\"onchange_contact\\\" condition='[[\\\"supplier\\\", \\\"=\\\", \\\"True\\\"]]'/>\\n\n                <field name=\\\"contact_person_id\\\" span=\\\"2\\\" condition='[[\\\"type\\\", \\\"=\\\", \\\"person\\\"],[\\\"org_id\\\",\\\"=\\\",contact_id]]'/>\\n\n                <field name=\\\"date\\\" span=\\\"2\\\" onchange=\\\"onchange_date\\\"/>\\n\n                <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"is_delivered\\\" span=\\\"1\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"currency_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"tax_type\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"price_list_id\\\" span=\\\"2\\\" onchange=\\\"onchange_price_list\\\"/>\\n\n                <field name=\\\"purchase_type_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"customer_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"is_paid\\\" span=\\\"1\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"bill_address_id\\\" span=\\\"2\\\" condition='[[\\\"is_active_company_address\\\",\\\"=\\\",1],[\\\"contact_id\\\",\\\"=\\\",contact_id],[\\\"contact_id\\\",\\\"!=\\\",null]]'/>\\n\n                <field name=\\\"ship_address_id\\\" span=\\\"2\\\" condition='[[\\\"is_active_company_address\\\",\\\"=\\\",1],[\\\"contact_id\\\",\\\"=\\\",contact_id],[\\\"contact_id\\\",\\\"!=\\\",null]]'/>\\n\n                <field name=\\\"pay_term_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"purchase_request_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"related_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"delivery_date\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"project_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"ref2\\\" span=\\\"2\\\" readonly=\\\"0\\\"/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n                \n                <list onchange=\\\"update_amounts\\\" reorder_field=\\\"sequence\\\">\\n                    \n                    <field name=\\\"sequence\\\"/>\\n\n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\" condition='[[\\\"can_purchase\\\",\\\"=\\\",true]]'/>\\n\n                    <field name=\\\"description\\\"/>\\n\n                    <field name=\\\"qty\\\" onchange=\\\"onchange_qty\\\"/>\\n\n                    <field name=\\\"uom_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"unit_price\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"tax_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"discount_amount\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"amount_input\\\" onchange=\\\"onchange_amount_input\\\"/>\\n\n                    <field name=\\\"amount\\\"/>\\n\n                    <field name=\\\"amount_tax\\\"/>\\n\n                    <field name=\\\"location_id\\\" show_required=\\\"1\\\"/>\\n\n                    <field name=\\\"track_id\\\"/>\\n\n                    <field name=\\\"track2_id\\\"/>\\n\n                    <field name=\\\"qty_stock_func\\\"/>\\n\n                    <field name=\\\"ship_method_id\\\"/>\\n\n                    <field name=\\\"qty_received\\\"/>\\n\n                    <field name=\\\"qty_remaining\\\"/>\\n\n                    <field name=\\\"qty_invoiced\\\"/>\\n\n                    <field name=\\\"sale_id\\\"/>\\n\n                    <field name=\\\"department_id\\\"/>\\n\n                    <field name=\\\"notes\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n                \n                <field name=\\\"amount_subtotal\\\"/>\\n\n                <field name=\\\"amount_tax\\\"/>\\n\n                <field name=\\\"amount_total\\\"/>\\n\n                <field name=\\\"amount_total_cur\\\"/>\\n\n            </group>\\n\n            <newline/>\\n\n            <field name=\\\"other_info\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Approval\\\">\\n            \n            <field name=\\\"approvals\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"date_approve\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other Info\\\">\\n            \n            <field name=\\\"user_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"procurement_employee_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"sequence_id\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"purchase_order\\\"]]' onchange=\\\"onchange_sequence\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"ship_term_id\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Submit For Approval\\\" method=\\\"submit_for_approval\\\" icon=\\\"arrow-right\\\" states=\\\"draft\\\"/>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" states=\\\"draft,wait_approve\\\" icon=\\\"ok\\\" type=\\\"success\\\"/>\\n\n        <!--<button string=\\\"Confirm\\\" method=\\\"confirm\\\" type=\\\"success\\\" states=\\\"draft\\\" perm=\\\"approve_purchase\\\"/>-->\\n        \n        <button string=\\\"Completed\\\" method=\\\"done\\\" type=\\\"success\\\" states=\\\"confirmed\\\"/>\\n\n        <button string=\\\"Reopen\\\" method=\\\"reopen\\\" icon=\\\"refresh\\\" states=\\\"done\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"invoices\\\" click_action=\\\"view_invoice\\\"/>\\n\n        <field name=\\\"pickings\\\"/>\\n\n        <field name=\\\"gradings\\\"/>\\n\n        <field name=\\\"sale_orders\\\"/>\\n\n        <field name=\\\"documents\\\" show_inline=\\\"1\\\"/>\\n\n        <field name=\\\"emails\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"purchase_line_search\": {\"module\": \"netforce_purchase\", \"name\": \"purchase_line_search\", \"type\": \"search\", \"model\": \"purchase.order.line\", \"layout\": \"\n<search model=\\\"purchase.order.line\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <!--<field name=\\\"product_categs\\\" child_of=\\\"1\\\"/>-->\\n    \n    <field name=\\\"product_categ_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</search>\\n\"}, \"purchase_return_form\": {\"module\": \"netforce_purchase\", \"name\": \"purchase_return_form\", \"type\": \"form\", \"model\": \"purchase.return\", \"layout\": \"\n<form model=\\\"purchase.return\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"confirmed\\\",\\\"done\\\",\\\"voided\\\"]]]}' show_company=\\\"1\\\" show_save=\\\"1\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_purchase_return_form\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\" align=\\\"right\\\">\\n            \n            <item string=\\\"Copy To Goods Issue\\\" method=\\\"copy_to_picking\\\" states=\\\"confirmed\\\"/>\\n\n            <item string=\\\"Copy To Credit Note\\\" method=\\\"copy_to_credit_note\\\" states=\\\"confirmed\\\"/>\\n\n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"confirmed,done\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure you want to void this purchase return?\\\" states=\\\"confirmed,done\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"contact_id\\\" span=\\\"2\\\" create=\\\"1\\\" onchange=\\\"onchange_contact\\\"/>\\n\n                <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"is_delivered\\\" span=\\\"1\\\"/>\\n\n                <field name=\\\"is_paid\\\" span=\\\"1\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"currency_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"tax_type\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"price_list_id\\\" span=\\\"2\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"bill_address_id\\\" span=\\\"2\\\" condition='[[\\\"settings_id\\\",\\\"=\\\",1]]'/>\\n\n                <field name=\\\"ship_address_id\\\" span=\\\"2\\\" condition='[[\\\"settings_id\\\",\\\"=\\\",1]]'/>\\n\n                <field name=\\\"orig_purchase_id\\\" span=\\\"2\\\"/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n                \n                <list onchange=\\\"update_amounts\\\">\\n                    \n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n                    <field name=\\\"description\\\"/>\\n\n                    <field name=\\\"qty\\\" onchange=\\\"onchange_qty\\\"/>\\n\n                    <field name=\\\"uom_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"unit_price\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"tax_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"discount_amount\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"amount\\\"/>\\n\n                    <field name=\\\"location_id\\\"/>\\n\n                    <field name=\\\"ship_method_id\\\"/>\\n\n                    <field name=\\\"qty_issued\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n                \n                <field name=\\\"amount_subtotal\\\"/>\\n\n                <field name=\\\"amount_tax\\\"/>\\n\n                <field name=\\\"amount_total\\\"/>\\n\n            </group>\\n\n            <newline/>\\n\n            <field name=\\\"payment_terms\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"other_info\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other Info\\\">\\n            \n            <field name=\\\"user_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"sequence_id\\\" condition='[[\\\"type\\\",\\\"=\\\",\\\"purchase_return\\\"]]' onchange=\\\"onchange_sequence\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"ship_term_id\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Confirm\\\" method=\\\"confirm\\\" type=\\\"success\\\" states=\\\"draft\\\" perm=\\\"approve_purchase\\\"/>\\n\n        <button string=\\\"Completed\\\" method=\\\"done\\\" type=\\\"success\\\" states=\\\"confirmed\\\"/>\\n\n        <button string=\\\"Reopen\\\" method=\\\"reopen\\\" icon=\\\"refresh\\\" states=\\\"done\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"invoices\\\" click_action=\\\"view_invoice\\\"/>\\n\n        <field name=\\\"pickings\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"emails\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"report_purchase_gen3\": {\"module\": \"netforce_purchase\", \"name\": \"report_purchase_gen3\", \"type\": \"form\", \"model\": \"report.purchase.gen3\", \"layout\": \"\n<form model=\\\"report.purchase.gen3\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"product_categ_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"supplier_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"product_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"filter_min_stock\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"purchase_line_pivot\": {\"module\": \"netforce_purchase\", \"name\": \"purchase_line_pivot\", \"type\": \"pivot\", \"model\": \"purchase.order.line\", \"layout\": \"\n<pivot model=\\\"purchase.order.line\\\" rows=\\\"product_id.name\\\" cols=\\\"order_id.state\\\" vals=\\\"amount,qty\\\" agg_name=\\\"sum\\\" order=\\\"order_id.number\\\">\\n    \n    <field name=\\\"product_id.name\\\" string=\\\"Product\\\"/>\\n\n    <field name=\\\"product_id.categ_id.name\\\" string=\\\"Product Category\\\"/>\\n\n    <field name=\\\"order_id.number\\\" string=\\\"PO Number\\\"/>\\n\n    <field name=\\\"order_id.contact_id.name\\\" string=\\\"Supplier\\\"/>\\n\n    <field name=\\\"order_id.contact_id.categ_id.name\\\" string=\\\"Supplier Category\\\"/>\\n\n    <field name=\\\"order_id.state\\\"/>\\n\n    <field name=\\\"order_id.user_id.name\\\" string=\\\"Responsible User\\\"/>\\n\n    <field name=\\\"order_id.date\\\" string=\\\"Date\\\"/>\\n\n    <field name=\\\"order_id.date_month\\\"/>\\n\n    <field name=\\\"order_id.date_week\\\"/>\\n\n    <field name=\\\"amount\\\" string=\\\"Line Total\\\"/>\\n\n    <field name=\\\"amount_cur\\\" string=\\\"Line Total (Converted)\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"track_id.name\\\" string=\\\"Tracking Category\\\"/>\\n\n    <field name=\\\"order_id.currency_id.code\\\" string=\\\"Currency\\\"/>\\n\n</pivot>\\n\"}, \"purch_type_list\": {\"module\": \"netforce_purchase\", \"name\": \"purch_type_list\", \"type\": \"list\", \"model\": \"purchase.type\", \"layout\": \"\n<list model=\\\"purchase.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</list>\\n\"}, \"purch_type_form\": {\"module\": \"netforce_purchase\", \"name\": \"purch_type_form\", \"type\": \"form\", \"model\": \"purchase.type\", \"layout\": \"\n<form model=\\\"purchase.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"commission_po\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"purchase_return_list\": {\"module\": \"netforce_purchase\", \"name\": \"purchase_return_list\", \"type\": \"list\", \"model\": \"purchase.return\", \"layout\": \"\n<list model=\\\"purchase.return\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_purchase_return_form\\\" action_options='{\\\"convert\\\":\\\"pdf\\\"}'/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"is_delivered\\\"/>\\n\n    <field name=\\\"is_paid\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"currency_id\\\"/>\\n\n</list>\\n\"}, \"purchase_list\": {\"module\": \"netforce_purchase\", \"name\": \"purchase_list\", \"type\": \"list\", \"model\": \"purchase.order\", \"priority\": 1, \"layout\": \"\n<list model=\\\"purchase.order\\\" priority=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Purchase Wizard\\\" icon=\\\"plus\\\" action=\\\"purchase_wizard\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <!--<button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_purchase_form\\\" action_options='{\\\"convert\\\":\\\"pdf\\\"}'/>\\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"report_purchase_form2\\\" action_options='{\\\"ids\\\":ids}'/>-->\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_purchase_form3\\\" action_options='{\\\"ids\\\":ids}'/>\\n\n        <button string=\\\"Merge Orders\\\" method=\\\"merge_orders\\\" confirm=\\\"Are you sure?\\\"/>\\n\n        <button string=\\\"To Draft\\\" method=\\\"to_draft\\\" confirm=\\\"Are you sure?\\\"/>\\n\n        <button string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure?\\\"/>\\n\n        <button string=\\\"Transfer\\\" action=\\\"stock_transfer\\\" action_options='{\\\"context\\\":{\\\"ids\\\":ids}}'/>\\n\n        <button string=\\\"Update Stored Fields\\\" method=\\\"function_store\\\" show_progress=\\\"1\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"is_delivered\\\"/>\\n\n    <!--<field name=\\\"delivery_status\\\"/>-->\\n    \n    <field name=\\\"is_paid\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"currency_id\\\"/>\\n\n    <field name=\\\"procurement_employee_id\\\"/>\\n\n</list>\\n\"}, \"purchase_menu\": {\"module\": \"netforce_purchase\", \"name\": \"purchase_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Purchasing\\\">\\n    \n    <item string=\\\"Dashboard\\\" icon=\\\"fa_chart_pie\\\" action=\\\"purchase_board\\\"/>\\n\n    <item string=\\\"Purchasing\\\" icon=\\\"fa_shopping_cart\\\">\\n        \n        <item string=\\\"Purchase Orders\\\" action=\\\"purchase\\\"/>\\n\n        <item string=\\\"Purchase Requests\\\" action=\\\"purchase_request\\\"/>\\n\n        <item string=\\\"Purchase Returns\\\" action=\\\"purchase_return\\\"/>\\n</item>\\n\n    <item string=\\\"Reports\\\" icon=\\\"fa_chart_bar\\\">\\n        \n        <item string=\\\"Purchase Order Generator\\\" action=\\\"report_purchase_gen3\\\"/>\\n\n        <item string=\\\"Purchase Order Generator (TNP1)\\\" action=\\\"report_purchase_gen2\\\"/>\\n\n        <item string=\\\"Purchase Order Generator (TNP2)\\\" action=\\\"report_purchase_gen\\\"/>\\n\n        <divider/>\\n\n        <item string=\\\"Purchase Order Analysis\\\" action=\\\"purch_analysis\\\"/>\\n\n        <item string=\\\"Purchase Line Analysis\\\" action=\\\"purch_line_analysis\\\"/>\\n\n        <divider/>\\n\n        <item string=\\\"Commission Purchase Report\\\" action=\\\"report_commission_po\\\"/>\\n\n        <divider/>\\n\n        <item string=\\\"Purchase Goods Receipt Report\\\" action=\\\"report_purchase_picking\\\"/>    \\n</item>\\n\n    <item string=\\\"Settings\\\" icon=\\\"fa_cog\\\">\\n        \n        <item string=\\\"Purchase Settings\\\" action=\\\"purchase_settings\\\"/>\\n\n        <item string=\\\"Purchase Types\\\" action=\\\"purch_type\\\"/>\\n</item>\\n\n</menu>\\n\"}, \"purchase_wizard\": {\"module\": \"netforce_purchase\", \"name\": \"purchase_wizard\", \"type\": \"form\", \"model\": \"purchase.wizard\", \"layout\": \"\n<form model=\\\"purchase.wizard\\\">\\n    \n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"product_supplier_id\\\" condition='[[\\\"product_id\\\",\\\"=\\\",product_id]]'/>\\n\n    <foot>\\n        \n        <button string=\\\"Make PO\\\" method=\\\"make_po\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"report_purchase_picking\": {\"module\": \"netforce_purchase\", \"name\": \"report_purchase_picking\", \"type\": \"form\", \"model\": \"report.purchase.picking\", \"layout\": \"\n<form model=\\\"report.purchase.picking\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"project_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"stock_transfer\": {\"module\": \"netforce_purchase\", \"name\": \"stock_transfer\", \"type\": \"form\", \"model\": \"stock.transfer\", \"layout\": \"\n<form model=\\\"stock.transfer\\\">\\n    \n    <field name=\\\"ids\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Transfer\\\" method=\\\"transfer\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"demand_form\": {\"module\": \"netforce_mfg\", \"name\": \"demand_form\", \"type\": \"form\", \"model\": \"demand\", \"layout\": \"\n<form model=\\\"demand\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"customer_id\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"priority\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"production_plan_form\": {\"module\": \"netforce_mfg\", \"name\": \"production_plan_form\", \"type\": \"form\", \"model\": \"production.plan\", \"layout\": \"\n<form model=\\\"production.plan\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"plan_qty\\\"/>\\n\n    <field name=\\\"actual_qty\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"stock_moves\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"production_comp_pivot\": {\"module\": \"netforce_mfg\", \"name\": \"production_comp_pivot\", \"type\": \"pivot\", \"model\": \"production.component\", \"layout\": \"\n<pivot model=\\\"production.component\\\" rows=\\\"product_id.default_supplier_id.name,product_id.name,uom_id.name\\\" cols=\\\"order_id.due_date_week\\\" agg_name=\\\"sum\\\" vals=\\\"qty_planned\\\">\\n    \n    <field name=\\\"product_id.code\\\" string=\\\"RM Product Code\\\"/>\\n\n    <field name=\\\"product_id.name\\\" string=\\\"RM Product Name\\\"/>\\n\n    <field name=\\\"product_id.categ_id.name\\\" string=\\\"RM Product Category\\\"/>\\n\n    <field name=\\\"product_id.cost_price\\\" string=\\\"RM Cost Price\\\"/>\\n\n    <field name=\\\"qty_planned\\\" string=\\\"RM Planned Qty\\\"/>\\n\n    <field name=\\\"uom_id.name\\\" string=\\\"RM UoM\\\"/>\\n\n    <field name=\\\"order_id.number\\\" string=\\\"Order Number\\\"/>\\n\n    <field name=\\\"order_id.product_id.code\\\" string=\\\"FG Product Code\\\"/>\\n\n    <field name=\\\"order_id.product_id.name\\\" string=\\\"FG Product Name\\\"/>\\n\n    <field name=\\\"order_id.product_id.categ_id.name\\\" string=\\\"FG Product Category\\\"/>\\n\n    <field name=\\\"order_id.state\\\"/>\\n\n    <field name=\\\"order_id.due_date\\\"/>\\n\n    <field name=\\\"order_id.due_date_week\\\"/>\\n\n    <field name=\\\"order_id.due_date_month\\\"/>\\n\n    <field name=\\\"order_id.order_date\\\"/>\\n\n    <field name=\\\"order_id.uom_id.name\\\" string=\\\"FG UoM\\\"/>\\n\n</pivot>\\n\"}, \"routing_list\": {\"module\": \"netforce_mfg\", \"name\": \"routing_list\", \"type\": \"list\", \"model\": \"routing\", \"layout\": \"\n<list model=\\\"routing\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n</list>\\n\"}, \"report_safe_out\": {\"module\": \"netforce_mfg\", \"name\": \"report_safe_out\", \"type\": \"form\", \"model\": \"report.safe.out\", \"layout\": \"\n<form model=\\\"report.safe.out\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"barcode_safe_out\": {\"module\": \"netforce_mfg\", \"name\": \"barcode_safe_out\", \"type\": \"form\", \"model\": \"barcode.safe.out\", \"layout\": \"\n<form model=\\\"barcode.safe.out\\\" title=\\\"Barcode: Safe To DC\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Print Barcodes\\\" icon=\\\"print\\\" method=\\\"run_report\\\"/>\\n\n    </head>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"location_from_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"location_to_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"journal_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <separator/>\\n\n        <field name=\\\"product_categ_id\\\" span=\\\"2\\\"/>\\n\n        <button string=\\\"Fill Products\\\" icon=\\\"align-justify\\\" method=\\\"fill_products\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"production_orders\\\" condition='[[\\\"state\\\",\\\"in\\\",[\\\"waiting_material\\\",\\\"ready\\\",\\\"in_progress\\\"]]]'/>\\n\n        <separator/>\\n\n        <field name=\\\"container\\\" span=\\\"2\\\"/>\\n\n        <button string=\\\"Fill Containers\\\" icon=\\\"align-justify\\\" method=\\\"container_fill\\\"/>\\n\n        <newline/>\\n\n    </group>\\n\n    <separator string=\\\"Products\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"container_from_id\\\"/>\\n\n            <field name=\\\"container_to_id\\\"/>\\n\n            <field name=\\\"production_id\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <separator/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"approved_by_id\\\"/>\\n\n    <button string=\\\"Approve\\\" icon=\\\"ok\\\" method=\\\"approve_popup\\\"/>\\n\n    <button string=\\\"Disapprove\\\" icon=\\\"remove\\\" method=\\\"disapprove\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Create\\\" method=\\\"validate\\\" type=\\\"success\\\" icon=\\\"ok\\\"/>\\n\n        <button string=\\\"Clear\\\" method=\\\"clear\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"report_safe_in\": {\"module\": \"netforce_mfg\", \"name\": \"report_safe_in\", \"type\": \"form\", \"model\": \"report.safe.in\", \"layout\": \"\n<form model=\\\"report.safe.in\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"barcode_issue_rm\": {\"module\": \"netforce_mfg\", \"name\": \"barcode_issue_rm\", \"type\": \"form\", \"model\": \"barcode.issue.rm\", \"layout\": \"\n<form model=\\\"barcode.issue.rm\\\" title=\\\"Barcode: Issue Raw Materials\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"location_from_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"journal_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"employee_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"production_id\\\" span=\\\"2\\\" required=\\\"1\\\" onchange=\\\"onchange_production\\\"/>\\n\n        <field name=\\\"location_to_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <button string=\\\"Fill Products\\\" icon=\\\"align-justify\\\" method=\\\"fill_products\\\"/>\\n\n    </group>\\n\n    <separator string=\\\"Products\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n            <field name=\\\"qty_stock\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <separator/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Create\\\" method=\\\"validate\\\" type=\\\"success\\\" icon=\\\"ok\\\"/>\\n\n        <button string=\\\"Clear\\\" method=\\\"clear\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"production_list\": {\"module\": \"netforce_mfg\", \"name\": \"production_list\", \"type\": \"list\", \"model\": \"production.order\", \"priority\": 1, \"layout\": \"\n<list model=\\\"production.order\\\" priority=\\\"1\\\" colors='{\\\"#ccc\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]],\\\"#fc9\\\":[[\\\"state\\\",\\\"=\\\",\\\"waiting_confirm\\\"]],\\\"#dbe\\\":[[\\\"state\\\",\\\"=\\\",\\\"waiting_suborder\\\"]],\\\"#ff9\\\":[[\\\"state\\\",\\\"=\\\",\\\"waiting_material\\\"]],\\\"#9f9\\\":[[\\\"state\\\",\\\"=\\\",\\\"ready\\\"]],\\\"#99f\\\":[[\\\"state\\\",\\\"=\\\",\\\"in_progress\\\"]],\\\"#999\\\":[[\\\"state\\\",\\\"=\\\",\\\"split\\\"]],\\\"due_date,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"#9f9\\\":[[\\\"qc_checked\\\",\\\"=\\\",true]]}'>\\n    \n    <head>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_production_form\\\"/>\\n\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"report_production_form2\\\" action_options='{\\\"ids\\\":ids}'/>\\n\n        <button string=\\\"To Draft\\\" method=\\\"to_draft\\\" confirm=\\\"Are you sure?\\\"/>\\n\n        <button string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure?\\\"/>\\n\n        <button string=\\\"Copy To Purchase Orders\\\" method=\\\"copy_to_purchase\\\"/>\\n\n        <button string=\\\"Void\\\" method=\\\"void\\\"/>\\n\n        <button string=\\\"Void MO and Related\\\" method=\\\"void_related\\\"/>\\n\n        <button string=\\\"Update Stock Dates\\\" method=\\\"update_stock_dates\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date_created\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"customer_id\\\"/>\\n\n    <field name=\\\"qty_planned\\\"/>\\n\n    <field name=\\\"qty_received\\\"/>\\n\n    <field name=\\\"received_date\\\"/>\\n\n    <field name=\\\"production_location_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <button string=\\\"Receive FG\\\" action=\\\"receive_fg\\\" icon=\\\"arrow-right\\\" attrs='{\\\"invisible\\\":[[\\\"qc_checked\\\",\\\"=\\\",true]]}'/>\\n\n    <button string=\\\"QC Checked\\\" method=\\\"qc_check\\\" icon=\\\"ok\\\" type=\\\"success\\\" attrs='{\\\"invisible\\\":[[\\\"qc_checked\\\",\\\"=\\\",true]]}'/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"qc_checked\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"production_widget\": {\"module\": \"netforce_mfg\", \"name\": \"production_widget\", \"type\": \"list\", \"model\": \"production.order\", \"layout\": \"\n<list model=\\\"production.order\\\">\\n    \n    <head>\\n    \n        <button string=\\\"New Production Order\\\" icon=\\\"plus-sign\\\" action=\\\"production\\\" action_options='{\\\"mode\\\":\\\"form\\\"}' noselect=\\\"1\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"order_date\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"qty_planned\\\"/>\\n\n</list>\\n\"}, \"mfg_menu\": {\"module\": \"netforce_mfg\", \"name\": \"mfg_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Manufacturing\\\">\\n    \n    <item string=\\\"Dashboard\\\" icon=\\\"fa_chart_pie\\\" action=\\\"mfg_board\\\"/>\\n\n    <item string=\\\"Production\\\" icon=\\\"fa_box_open\\\" dropdown=\\\"1\\\">\\n        \n        <item string=\\\"Production Orders\\\" action=\\\"production\\\"/>\\n\n        <item string=\\\"Production Periods\\\" action=\\\"production_period\\\"/>\\n\n        <item string=\\\"Production Plan\\\" action=\\\"production_plan\\\"/>\\n</item>\\n\n    <item string=\\\"Settings\\\" icon=\\\"fa_cog\\\">\\n        \n        <item string=\\\"Settings\\\" action=\\\"mfg_settings\\\"/>\\n\n        <item string=\\\"Bill Of Materials\\\" action=\\\"bom\\\"/>\\n\n        <item string=\\\"Workcenters\\\" action=\\\"workcenter\\\"/>\\n\n        <item string=\\\"Routings\\\" action=\\\"routing\\\"/>\\n\n        <item string=\\\"Teams\\\" action=\\\"mfg_team\\\"/>\\n</item>\\n\n    <item string=\\\"Report\\\" icon=\\\"fa_chart_bar\\\">\\n        \n        <item string=\\\"Production Analysis\\\" action=\\\"production_analysis\\\"/>\\n\n        <item string=\\\"Production Component Analysis\\\" action=\\\"production_comp_analysis\\\"/>\\n</item>\\n\n</menu>\\n\"}, \"report_production_order\": {\"module\": \"netforce_mfg\", \"name\": \"report_production_order\", \"type\": \"form\", \"model\": \"report.production.order\", \"layout\": \"\n<form model=\\\"report.production.order\\\">\\n    \n    <group>\\n        \n        <field name=\\\"date_from\\\"/>\\n\n        <field name=\\\"date_to\\\"/>\\n\n        <field name=\\\"product_id\\\"/>\\n\n        <field name=\\\"production_location_id\\\"/>\\n\n        <field name=\\\"state\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"report_production_qc\": {\"module\": \"netforce_mfg\", \"name\": \"report_production_qc\", \"type\": \"form\", \"model\": \"report.production.qc\", \"layout\": \"\n<form model=\\\"report.production.qc\\\">\\n    \n    <group>\\n        \n        <field name=\\\"date_from\\\"/>\\n\n        <field name=\\\"date_to\\\"/>\\n\n        <field name=\\\"product_id\\\"/>\\n\n        <field name=\\\"production_location_id\\\"/>\\n\n        <field name=\\\"result\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"split_production\": {\"module\": \"netforce_mfg\", \"name\": \"split_production\", \"type\": \"form\", \"model\": \"split.production\", \"layout\": \"\n<form model=\\\"split.production\\\" title=\\\"Split Production Order\\\">\\n    \n    <field name=\\\"order_id\\\" onchange=\\\"onchange_order\\\"/>\\n\n    <field name=\\\"order_to_id\\\" condition='[[\\\"id\\\",\\\"in\\\",order_to_list]]'/>\\n\n    <newline/>\\n\n    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\" condition='[[\\\"id\\\",\\\"in\\\",product_list]]'/>\\n\n    <field name=\\\"journal_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"ratio_method\\\" />\\n\n    <field name=\\\"container_id\\\" readonly=\\\"1\\\"/>\\n\n    <group attrs='{\\\"invisible\\\":[[\\\"ratio_method\\\",\\\"!=\\\",\\\"planned\\\"]]}'>\\n        \n        <field name=\\\"planned_qty\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"remain_planned_qty\\\"/>\\n\n    </group>\\n\n    <group attrs='{\\\"invisible\\\":[[\\\"ratio_method\\\",\\\"!=\\\",\\\"actual\\\"]]}'>\\n        \n        <field name=\\\"actual_qty\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"remain_actual_qty\\\"/>\\n\n    </group>\\n\n    <newline/>\\n\n    <field name=\\\"product_list\\\" invisible=\\\"1\\\" view=\\\"field_code\\\"/>\\n\n    <field name=\\\"order_to_list\\\" invisible=\\\"1\\\" view=\\\"field_code\\\"/>\\n\n    <separator string=\\\"Split Into\\\"/>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"split_qty\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"split_qty2\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"team_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"remark\\\" span=\\\"2\\\"/>\\n\n        <button string=\\\"Split\\\" method=\\\"add_lines\\\"/>\\n\n        <button string=\\\"Clear\\\" method=\\\"clear_lines\\\"/>\\n\n    </group>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\" readonly=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"team_id\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"qty\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"qty2\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"remark\\\" readonly=\\\"1\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <separator string=\\\"Approval\\\"/>\\n\n    <field name=\\\"approved_by_id\\\"/>\\n\n    <button string=\\\"Approve\\\" icon=\\\"ok\\\" action=\\\"production_approve_split\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Split Order\\\" method=\\\"do_split\\\" type=\\\"success\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"workcenter_form\": {\"module\": \"netforce_mfg\", \"name\": \"workcenter_form\", \"type\": \"form\", \"model\": \"workcenter\", \"layout\": \"\n<form model=\\\"workcenter\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"asset_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"barcode_safe_in\": {\"module\": \"netforce_mfg\", \"name\": \"barcode_safe_in\", \"type\": \"form\", \"model\": \"barcode.safe.in\", \"layout\": \"\n<form model=\\\"barcode.safe.in\\\" title=\\\"Barcode: DC To Safe\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Print Barcodes\\\" icon=\\\"print\\\" method=\\\"run_report\\\"/>\\n\n    </head>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"location_from_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"location_to_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"product_categ_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"journal_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <button string=\\\"Fill Products\\\" icon=\\\"align-justify\\\" method=\\\"fill_products\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"container\\\" span=\\\"2\\\" search_mode=\\\"suffix\\\"/>\\n\n        <button string=\\\"Container fill\\\" icon=\\\"align-justify\\\" method=\\\"container_fill\\\"/>\\n\n    </group>\\n\n    <separator string=\\\"Products\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"qty2\\\"/>\\n\n            <field name=\\\"container_from_id\\\"/>\\n\n            <field name=\\\"container_to_id\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <separator/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"approved_by_id\\\"/>\\n\n    <button string=\\\"Approve\\\" icon=\\\"ok\\\" method=\\\"approve_popup\\\"/>\\n\n    <button string=\\\"Disapprove\\\" icon=\\\"remove\\\" method=\\\"disapprove\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Create\\\" method=\\\"validate\\\" type=\\\"success\\\" icon=\\\"ok\\\"/>\\n\n        <button string=\\\"Clear\\\" method=\\\"clear\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"prod_oper_list\": {\"module\": \"netforce_mfg\", \"name\": \"prod_oper_list\", \"type\": \"list\", \"model\": \"production.operation\", \"layout\": \"\n<list model=\\\"production.operation\\\">\\n    \n    <field name=\\\"order_id\\\"/>\\n\n    <field name=\\\"workcenter_id\\\"/>\\n\n    <field name=\\\"hours\\\"/>\\n\n</list>\"}, \"mfg_board\": {\"module\": \"netforce_mfg\", \"name\": \"mfg_board\", \"type\": \"board\", \"layout\": \"\n<board>\\n    \n    <vpanel>\\n        \n        <widget string=\\\"Released Production Orders\\\" action=\\\"production_widget\\\"/>\\n\n    </vpanel>\\n\n    <vpanel>\\n        \n        <widget string=\\\"Overdue Production Orders\\\" action=\\\"production_overdue_widget\\\"/>\\n\n    </vpanel>\\n\n</board>\\n\"}, \"production_form\": {\"module\": \"netforce_mfg\", \"name\": \"production_form\", \"type\": \"form\", \"model\": \"production.order\", \"layout\": \"\n<form model=\\\"production.order\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"done\\\",\\\"voided\\\",\\\"split\\\"]]]}' show_company=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_production_form\\\"/>\\n\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"report_production_form2\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Receive FG\\\" action=\\\"receive_fg\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n            <item string=\\\"Adjust RM Issued Qty\\\" action=\\\"adjust_rm\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n            <divider/>\\n\n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"Copy To RM Goods Transfer\\\" method=\\\"copy_to_pick_out\\\"/>\\n\n            <item string=\\\"Copy To RM Goods Transfer (Completed)\\\" method=\\\"copy_to_pick_out_done\\\"/>\\n\n            <item string=\\\"Copy To FG Goods Transfer\\\" method=\\\"copy_to_pick_in\\\"/>\\n\n            <item string=\\\"Copy To FG Goods Transfer (Completed)\\\" method=\\\"copy_to_pick_in_done\\\"/>\\n\n            <item string=\\\"Copy To Grading\\\" method=\\\"copy_to_grading\\\"/>\\n\n            <item string=\\\"Copy To Purchase Orders\\\" method=\\\"copy_to_purchase\\\"/>\\n\n            <item string=\\\"Copy To Supplier Invoice\\\" method=\\\"copy_to_invoice\\\"/>\\n\n            <item string=\\\"Copy To Customer Invoice (Labor)\\\" method=\\\"copy_to_cust_invoice_labor\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"confirmed,in_progress,done\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" states=\\\"confirmed,in_progress,done\\\" confirm=\\\"Are you sure you want to void this production order?\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"order_date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"due_date\\\" span=\\\"2\\\" show_required=\\\"1\\\"/>\\n\n        <field name=\\\"customer_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"related_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"sale_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"product_id\\\" span=\\\"2\\\" onchange=\\\"onchange_product\\\"/>\\n\n        <field name=\\\"qty_planned\\\" span=\\\"2\\\" onchange=\\\"onchange_bom\\\"/>\\n\n        <field name=\\\"uom_id\\\" span=\\\"2\\\" onchange=\\\"onchange_bom\\\"/>\\n\n        <field name=\\\"qty_received\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"qty2_received\\\" span=\\\"2\\\"/>\\n\n        <!--<field name=\\\"qty_received_uos\\\" span=\\\"2\\\"/>-->\\n        \n        <field name=\\\"team_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"bom_id\\\" span=\\\"2\\\" condition='[[\\\"product_id\\\",\\\"=\\\",product_id]]' onchange=\\\"onchange_bom\\\"/>\\n\n        <field name=\\\"routing_id\\\" span=\\\"2\\\" onchange=\\\"onchange_routing\\\"/>\\n\n        <field name=\\\"production_location_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"location_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"container_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"lot_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"supplier_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"period_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"parent_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"ref\\\"/>\\n\n    </group>\\n\n    <tabs>\\n        \n        <tab string=\\\"Components\\\">\\n            \n            <field name=\\\"components\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"product_id\\\"/>\\n\n                    <field name=\\\"qty_planned\\\" onchange=\\\"onchange_planned_qty_line\\\"/>\\n\n                    <field name=\\\"uom_id\\\"/>\\n\n                    <field name=\\\"location_id\\\"/>\\n\n                    <field name=\\\"container_id\\\"/>\\n\n                    <field name=\\\"lot_id\\\"/>\\n\n                    <field name=\\\"qty_stock\\\"/>\\n\n                    <field name=\\\"qty_issued\\\"/>\\n\n                    <field name=\\\"issue_method\\\"/>\\n\n                    <field name=\\\"cost_price\\\"/>\\n\n                    <field name=\\\"cost_amount\\\"/>\\n\n                    <field name=\\\"notes\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <group columns=\\\"2\\\">\\n                \n                <field span=\\\"8\\\" name=\\\"remark\\\"/>\\n\n            </group>\\n\n        </tab>\\n\n        <tab string=\\\"Operations\\\">\\n            \n            <field name=\\\"operations\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"workcenter_id\\\"/>\\n\n                    <field name=\\\"employee_id\\\"/>\\n\n                    <field name=\\\"planned_duration\\\"/>\\n\n                    <field name=\\\"time_start\\\"/>\\n\n                    <field name=\\\"time_stop\\\"/>\\n\n                    <field name=\\\"actual_duration\\\"/>\\n\n                    <field name=\\\"notes\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <separator/>\\n\n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"time_start\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"time_stop\\\" span=\\\"2\\\"/>\\n\n            </group>\\n\n        </tab>\\n\n        <tab string=\\\"Gradings\\\">\\n            \n            <field name=\\\"gradings\\\" no_label=\\\"1\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"QC\\\">\\n            \n            <field name=\\\"qc_checked\\\"/>\\n\n            <!--<field name=\\\"qc_results\\\" nolabel=\\\"1\\\">\\n                <list>\\n                    <field name=\\\"product_id\\\"/>\\n                    <field name=\\\"lot_id\\\"/>\\n                    <field name=\\\"total_qty\\\"/>\\n                    <field name=\\\"sample_qty\\\"/>\\n                    <field name=\\\"test1\\\"/>\\n                    <field name=\\\"test2\\\"/>\\n                    <field name=\\\"test3\\\"/>\\n                    <field name=\\\"test4\\\"/>\\n                    <field name=\\\"test5\\\"/>\\n                    <field name=\\\"result\\\"/>\\n                </list>\\n            </field>-->\\n        \n    </tab>\\n\n    <tab string=\\\"Costing\\\">\\n            \n        <field name=\\\"total_rm_cost\\\"/>\\n\n        <separator/>\\n\n        <field name=\\\"total_cost\\\"/>\\n\n        <field name=\\\"unit_cost\\\"/>\\n\n        <separator/>\\n\n        <field name=\\\"track_id\\\"/>\\n\n        <field name=\\\"track_balance\\\"/>\\n\n        <field name=\\\"track_entries\\\" nolabel=\\\"1\\\">\\n                \n            <list>\\n                    \n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"related_id\\\"/>\\n\n                <field name=\\\"product_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"qty\\\"/>\\n\n                <field name=\\\"uom_id\\\"/>\\n\n                <field name=\\\"amount\\\"/>\\n\n            </list>\\n\n        </field>\\n\n    </tab>\\n\n</tabs>\\n\n<field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n<foot>\\n        \n    <button string=\\\"Confirm\\\" method=\\\"confirm\\\" size=\\\"large\\\" type=\\\"success\\\" states=\\\"draft\\\"/>\\n\n    <button string=\\\"In Progress\\\" method=\\\"in_progress\\\" size=\\\"large\\\" type=\\\"success\\\" states=\\\"confirmed\\\" icon=\\\"arrow-right\\\"/>\\n\n    <button string=\\\"Completed\\\" method=\\\"done\\\" size=\\\"large\\\" type=\\\"success\\\" states=\\\"in_progress\\\" icon=\\\"ok\\\"/>\\n\n</foot>\\n\n<related>\\n        \n    <field name=\\\"sub_orders\\\"/>\\n\n    <field name=\\\"pickings\\\"/>\\n\n    <field name=\\\"sale_lines\\\"/>\\n\n    <field name=\\\"purchase_orders\\\"/>\\n\n    <field name=\\\"invoices\\\"/>\\n\n    <field name=\\\"documents\\\">\\n            \n        <list>\\n                \n            <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n            <field name=\\\"categ_id\\\"/>\\n\n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"date\\\"/>\\n\n        </list>\\n\n        <form>\\n                \n            <field name=\\\"categ_id\\\"/>\\n\n            <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n            <field name=\\\"date\\\"/>\\n\n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n        </form>\\n\n    </field>\\n\n    <field name=\\\"emails\\\"/>\\n\n    <field name=\\\"comments\\\"/>\\n\n</related>\\n\n</form>\\n\"}, \"mfg_settings\": {\"module\": \"netforce_mfg\", \"name\": \"mfg_settings\", \"type\": \"form\", \"model\": \"settings\", \"layout\": \"\n<form model=\\\"settings\\\" title=\\\"Manufacturing Settings\\\">\\n    \n    <separator string=\\\"Manufacturing Workflow\\\"/>\\n\n    <field name=\\\"mfg_order_create_fg\\\"/>\\n\n    <separator string=\\\"Permissions\\\"/>\\n\n    <field name=\\\"approve_production\\\"/>\\n\n</form>\\n\"}, \"production_pivot\": {\"module\": \"netforce_mfg\", \"name\": \"production_pivot\", \"type\": \"pivot\", \"model\": \"production.order\", \"layout\": \"\n<pivot model=\\\"production.order\\\" rows=\\\"product_id.name,uom_id.name\\\" cols=\\\"due_date_week\\\" agg_name=\\\"sum\\\" vals=\\\"qty_planned\\\">\\n    \n    <field name=\\\"number\\\" string=\\\"Order Number\\\"/>\\n\n    <field name=\\\"product_id.code\\\" string=\\\"Product Code\\\"/>\\n\n    <field name=\\\"product_id.name\\\" string=\\\"Product Name\\\"/>\\n\n    <field name=\\\"product_id.categ_id.name\\\" string=\\\"Product Category\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"due_date_week\\\"/>\\n\n    <field name=\\\"due_date_month\\\"/>\\n\n    <field name=\\\"order_date\\\"/>\\n\n    <field name=\\\"qty_planned\\\"/>\\n\n    <field name=\\\"uom_id.name\\\" string=\\\"UoM\\\"/>\\n\n</pivot>\\n\"}, \"report_production_component\": {\"module\": \"netforce_mfg\", \"name\": \"report_production_component\", \"type\": \"form\", \"model\": \"report.production.component\", \"layout\": \"\n<form model=\\\"report.production.component\\\">\\n    \n    <group>\\n        \n        <field name=\\\"date_from\\\"/>\\n\n        <field name=\\\"date_to\\\"/>\\n\n        <field name=\\\"product_id\\\"/>\\n\n        <field name=\\\"categ_id\\\"/>\\n\n        <field name=\\\"sale_id\\\"/>\\n\n        <field name=\\\"production_location_id\\\"/>\\n\n        <field name=\\\"show_empty\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"mfg_team_form\": {\"module\": \"netforce_mfg\", \"name\": \"mfg_team_form\", \"type\": \"form\", \"model\": \"mfg.team\", \"layout\": \"\n<form model=\\\"mfg.team\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</form>\\n\"}, \"production_period_form\": {\"module\": \"netforce_mfg\", \"name\": \"production_period_form\", \"type\": \"form\", \"model\": \"production.period\", \"layout\": \"\n<form model=\\\"production.period\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Update Period Costs\\\" method=\\\"update_period_costs\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n    <field name=\\\"costs\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"amount\\\"/>\\n\n            <field name=\\\"alloc_amount\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"alloc_total\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"production_orders\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"bom_list\": {\"module\": \"netforce_mfg\", \"name\": \"bom_list\", \"type\": \"list\", \"model\": \"bom\", \"layout\": \"\n<list model=\\\"bom\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_bom_form2\\\" action_options='{\\\"ids\\\":ids}'/>\\n\n        <button string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n        <button string=\\\"Update Product Cost\\\" method=\\\"update_product_cost\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"routing_id\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n</list>\\n\"}, \"mfg_team_list\": {\"module\": \"netforce_mfg\", \"name\": \"mfg_team_list\", \"type\": \"list\", \"model\": \"mfg.team\", \"layout\": \"\n<list model=\\\"mfg.team\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</list>\\n\"}, \"production_overdue_widget\": {\"module\": \"netforce_mfg\", \"name\": \"production_overdue_widget\", \"type\": \"list\", \"model\": \"production.order\", \"layout\": \"\n<list model=\\\"production.order\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n    <field name=\\\"order_date\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"qty_planned\\\"/>\\n\n</list>\"}, \"barcode_issue_mfg\": {\"module\": \"netforce_mfg\", \"name\": \"barcode_issue_mfg\", \"type\": \"form\", \"model\": \"barcode.issue.mfg\", \"layout\": \"\n<form model=\\\"barcode.issue.mfg\\\" title=\\\"Barcode: DC To Production\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"location_from_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"production_id\\\" span=\\\"2\\\" required=\\\"1\\\" onchange=\\\"onchange_production\\\"/>\\n\n        <field name=\\\"journal_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"employee_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"location_to_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <button string=\\\"Fill Products\\\" icon=\\\"align-justify\\\" method=\\\"fill_products\\\"/>\\n\n    </group>\\n\n    <separator string=\\\"Products\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n            <field name=\\\"container_from_id\\\"/>\\n\n            <field name=\\\"qty_stock\\\"/>\\n\n            <field name=\\\"qty_planned\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"qty2_stock\\\"/>\\n\n            <field name=\\\"qty2\\\"/>\\n\n            <field name=\\\"location_loss_id\\\"/>\\n\n            <field name=\\\"container_loss_id\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <separator/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Create\\\" method=\\\"validate\\\" type=\\\"success\\\" icon=\\\"ok\\\"/>\\n\n        <button string=\\\"Clear\\\" method=\\\"clear\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"production_period_list\": {\"module\": \"netforce_mfg\", \"name\": \"production_period_list\", \"type\": \"list\", \"model\": \"production.period\", \"layout\": \"\n<list model=\\\"production.period\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"alloc_total\\\"/>\\n\n</list>\\n\"}, \"barcode_receive_mfg\": {\"module\": \"netforce_mfg\", \"name\": \"barcode_receive_mfg\", \"type\": \"form\", \"model\": \"barcode.receive.mfg\", \"layout\": \"\n<form model=\\\"barcode.receive.mfg\\\" title=\\\"Barcode: Production To DC\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"location_to_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"production_id\\\" span=\\\"2\\\" required=\\\"1\\\" onchange=\\\"onchange_production\\\"/>\\n\n        <field name=\\\"journal_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"employee_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"location_from_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <button string=\\\"Fill Products\\\" icon=\\\"align-justify\\\" method=\\\"fill_products\\\"/>\\n\n    </group>\\n\n    <separator string=\\\"Products\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n            <field name=\\\"qty_issued\\\"/>\\n\n            <field name=\\\"qty_planned\\\"/>\\n\n            <field name=\\\"qty\\\" onchange=\\\"onchange_qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"qty2\\\"/>\\n\n            <field name=\\\"container_to_id\\\" create=\\\"1\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <separator/>\\n\n    <group span=\\\"7\\\">\\n        \n        <field name=\\\"state\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"approved_by_id\\\"/>\\n\n        <button string=\\\"Approve\\\" icon=\\\"ok\\\" method=\\\"approve_popup\\\"/>\\n\n        <button string=\\\"Disapprove\\\" icon=\\\"remove\\\" method=\\\"disapprove\\\"/>\\n\n    </group>\\n\n    <group span=\\\"5\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"total_qty_issued\\\"/>\\n\n        <field name=\\\"total_qty_received\\\"/>\\n\n        <field name=\\\"total_qty_diff\\\"/>\\n\n        <field name=\\\"max_qty_loss\\\"/>\\n\n    </group>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Create\\\" method=\\\"validate\\\" type=\\\"success\\\" icon=\\\"ok\\\"/>\\n\n        <button string=\\\"Clear\\\" method=\\\"clear\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"bom_form\": {\"module\": \"netforce_mfg\", \"name\": \"bom_form\", \"type\": \"form\", \"model\": \"bom\", \"layout\": \"\n<form model=\\\"bom\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"report_bom_form2\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"Update Product Cost\\\" method=\\\"update_product_cost\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"type\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"routing_id\\\" span=\\\"2\\\"/>\\n\n            </group>\\n\n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"product_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"qty\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"uom_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"location_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"production_location_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"virt_production_location_id\\\" span=\\\"2\\\"/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n                    <field name=\\\"weight\\\"/>\\n\n                    <field name=\\\"qty\\\"/>\\n\n                    <field name=\\\"uom_id\\\"/>\\n\n                    <field name=\\\"location_id\\\"/>\\n\n                    <field name=\\\"container\\\"/>\\n\n                    <field name=\\\"lot\\\"/>\\n\n                    <field name=\\\"issue_method\\\"/>\\n\n                    <field name=\\\"qty2\\\" onchange=\\\"onchange_qty2\\\"/>\\n\n                    <field name=\\\"cost_amount\\\"/>\\n\n                    <field name=\\\"forecast_cost_amount\\\"/>\\n\n                    <field name=\\\"labor_amount\\\"/>\\n\n                    <field name=\\\"notes\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <newline/>\\n\n            <field name=\\\"max_qty_loss\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Costing\\\">\\n            \n            <field name=\\\"rm_cost_amount\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"direct_labor_amount\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"total_direct_labor\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"factory_overhead_amount\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"total_factory_overhead\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"other_overhead_amount\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"total_other_overhead\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"waste_amount\\\"/>\\n\n            <field name=\\\"waste_percent\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"extra_amount\\\"/>\\n\n            <field name=\\\"extra_percent\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"cost_amount_total\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <related>\\n        \n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"barcode_return_rm\": {\"module\": \"netforce_mfg\", \"name\": \"barcode_return_rm\", \"type\": \"form\", \"model\": \"barcode.return.rm\", \"layout\": \"\n<form model=\\\"barcode.return.rm\\\" title=\\\"Barcode: Return Raw Materials\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"location_to_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"journal_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"production_id\\\" span=\\\"2\\\" required=\\\"1\\\" onchange=\\\"onchange_production\\\"/>\\n\n        <field name=\\\"location_from_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <button string=\\\"Fill Products\\\" icon=\\\"align-justify\\\" method=\\\"fill_products\\\"/>\\n\n    </group>\\n\n    <separator string=\\\"Products\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <separator/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Create\\\" method=\\\"validate\\\" type=\\\"success\\\" icon=\\\"ok\\\"/>\\n\n        <button string=\\\"Clear\\\" method=\\\"clear\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"barcode_return_fg\": {\"module\": \"netforce_mfg\", \"name\": \"barcode_return_fg\", \"type\": \"form\", \"model\": \"barcode.return.fg\", \"layout\": \"\n<form model=\\\"barcode.return.fg\\\" title=\\\"Barcode: Return Finished Goods\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"location_from_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"journal_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"production_id\\\" span=\\\"2\\\" required=\\\"1\\\" onchange=\\\"onchange_production\\\"/>\\n\n        <field name=\\\"location_to_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <button string=\\\"Fill Products\\\" icon=\\\"align-justify\\\" method=\\\"fill_products\\\"/>\\n\n    </group>\\n\n    <separator string=\\\"Products\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <separator/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Create\\\" method=\\\"validate\\\" type=\\\"success\\\" icon=\\\"ok\\\"/>\\n\n        <button string=\\\"Clear\\\" method=\\\"clear\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"workcenter_list\": {\"module\": \"netforce_mfg\", \"name\": \"workcenter_list\", \"type\": \"list\", \"model\": \"workcenter\", \"layout\": \"\n<list model=\\\"workcenter\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"asset_id\\\"/>\\n\n</list>\\n\"}, \"routing_form\": {\"module\": \"netforce_mfg\", \"name\": \"routing_form\", \"type\": \"form\", \"model\": \"routing\", \"layout\": \"\n<form model=\\\"routing\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"sequence\\\"/>\\n\n            <field name=\\\"workcenter_id\\\"/>\\n\n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"duration\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <related>\\n        \n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\" preview=\\\"1\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"contact_id\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"barcode_receive_fg\": {\"module\": \"netforce_mfg\", \"name\": \"barcode_receive_fg\", \"type\": \"form\", \"model\": \"barcode.receive.fg\", \"layout\": \"\n<form model=\\\"barcode.receive.fg\\\" title=\\\"Barcode: Receive Finished Goods\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"location_to_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"journal_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"employee_id\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"production_id\\\" span=\\\"2\\\" required=\\\"1\\\" onchange=\\\"onchange_production\\\"/>\\n\n        <field name=\\\"location_from_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <button string=\\\"Fill Products\\\" icon=\\\"align-justify\\\" method=\\\"fill_products\\\"/>\\n\n    </group>\\n\n    <separator string=\\\"Received Finished Goods\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <separator string=\\\"Issued Raw Materials\\\"/>\\n\n    <field name=\\\"issued_lines\\\" nolabel=\\\"1\\\" readonly=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <separator/>\\n\n    <group span=\\\"7\\\">\\n        \n        <field name=\\\"state\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"approved_by_id\\\"/>\\n\n        <button string=\\\"Approve\\\" icon=\\\"ok\\\" action=\\\"approve_barcode_receive_fg\\\"/>\\n\n    </group>\\n\n    <group span=\\\"4\\\">\\n        \n        <field name=\\\"total_qty_issued\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"total_qty_received\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"total_qty_diff\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"max_qty_loss\\\" span=\\\"4\\\"/>\\n\n    </group>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Create\\\" method=\\\"validate\\\" type=\\\"success\\\" icon=\\\"ok\\\"/>\\n\n        <button string=\\\"Clear\\\" method=\\\"clear\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"barcode_ops\": {\"module\": \"netforce_mfg\", \"name\": \"barcode_ops\", \"type\": \"form\", \"model\": \"barcode.ops\", \"layout\": \"\n<form model=\\\"barcode.ops\\\" title=\\\"Barcode Operations Update\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"production_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n        <field name=\\\"workcenter_id\\\" span=\\\"2\\\" required=\\\"1\\\"/>\\n\n    </group>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Start\\\" method=\\\"start\\\" type=\\\"success\\\" icon=\\\"ok\\\"/>\\n\n        <button string=\\\"Stop\\\" method=\\\"stop\\\" type=\\\"danger\\\" icon=\\\"remove\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"production_plan_list\": {\"module\": \"netforce_mfg\", \"name\": \"production_plan_list\", \"type\": \"list\", \"model\": \"production.plan\", \"layout\": \"\n<list model=\\\"production.plan\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Update Production Plan\\\" method=\\\"update_plan\\\" icon=\\\"refresh\\\" show_progress=\\\"1\\\"/>\\n\n    </top>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"plan_qty\\\"/>\\n\n    <field name=\\\"actual_qty\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n</list>\\n\"}, \"receive_fg\": {\"module\": \"netforce_mfg\", \"name\": \"receive_fg\", \"type\": \"form\", \"layout\": \"\n<form>\\n    \n    <field name=\\\"receive_fg_qty\\\" required=\\\"1\\\"/>\\n\n    <field name=\\\"receive_fg_done\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Confirm\\\" method=\\\"receive_fg_confirm\\\" type=\\\"success\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"bom_line_list\": {\"module\": \"netforce_mfg\", \"name\": \"bom_line_list\", \"type\": \"list\", \"model\": \"bom.line\", \"layout\": \"\n<list model=\\\"bom.line\\\">\\n    \n    <field name=\\\"bom_id\\\"/>\\n\n    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n    <field name=\\\"weight\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"container\\\"/>\\n\n    <field name=\\\"lot\\\"/>\\n\n    <field name=\\\"issue_method\\\"/>\\n\n    <field name=\\\"qty2\\\" onchange=\\\"onchange_qty2\\\"/>\\n\n    <field name=\\\"cost_amount\\\"/>\\n\n    <field name=\\\"notes\\\"/>\\n\n</list>\\n\"}, \"adjust_rm\": {\"module\": \"netforce_mfg\", \"name\": \"adjust_rm\", \"type\": \"form\", \"layout\": \"\n<form>\\n    \n    <field name=\\\"adjust_rm_product_id\\\" required=\\\"1\\\"/>\\n\n    <field name=\\\"adjust_rm_qty\\\" required=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Confirm\\\" method=\\\"adjust_rm_confirm\\\" type=\\\"success\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"prod_comp_list\": {\"module\": \"netforce_mfg\", \"name\": \"prod_comp_list\", \"type\": \"list\", \"model\": \"production.component\", \"layout\": \"\n<list model=\\\"production.component\\\">\\n    \n    <field name=\\\"order_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"qty_planned\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"qty_issued\\\"/>\\n\n    <field name=\\\"issue_method\\\"/>\\n\n</list>\"}, \"campaign_list\": {\"module\": \"netforce_marketing\", \"name\": \"campaign_list\", \"type\": \"list\", \"model\": \"mkt.campaign\", \"layout\": \"\n<list model=\\\"mkt.campaign\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"target_lists\\\"/>\\n\n    <field name=\\\"min_target_life\\\"/>\\n\n    <field name=\\\"num_targets\\\"/>\\n\n    <field name=\\\"num_create\\\"/>\\n\n    <field name=\\\"percent_sent\\\"/>\\n\n    <field name=\\\"percent_delivered\\\"/>\\n\n    <field name=\\\"percent_bounced\\\"/>\\n\n    <field name=\\\"percent_rejected\\\"/>\\n\n    <field name=\\\"percent_opened\\\"/>\\n\n    <field name=\\\"percent_clicked\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"target_list_form\": {\"module\": \"netforce_marketing\", \"name\": \"target_list_form\", \"type\": \"form\", \"model\": \"mkt.target.list\", \"layout\": \"\n<form model=\\\"mkt.target.list\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Remove duplicate emails\\\" method=\\\"remove_duplicate_emails\\\"/>\\n\n            <item string=\\\"Verify emails\\\" method=\\\"verify_emails\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"num_targets\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"num_emails_verified\\\"/>\\n\n    <field name=\\\"num_emails_error\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"targets\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"mkt_menu\": {\"module\": \"netforce_marketing\", \"name\": \"mkt_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Marketing\\\">\\n    \n    <item string=\\\"Dashboard\\\" action=\\\"mkt_board\\\"/>\\n\n    <item string=\\\"Marketing\\\">\\n        \n        <item string=\\\"Target Lists\\\" action=\\\"target_list\\\"/>\\n\n        <item string=\\\"Targets\\\" action=\\\"target\\\"/>\\n\n        <item string=\\\"Campaigns\\\" action=\\\"campaign\\\"/>\\n</item>\\n\n</menu>\\n\"}, \"mkt_main_menu\": {\"module\": \"netforce_marketing\", \"name\": \"mkt_main_menu\", \"type\": \"inherit\", \"inherit\": \"main_menu\", \"layout\": \"\n<inherit inherit=\\\"main_menu\\\">\\n    \n    <!--<item string=\\\"General\\\" position=\\\"before\\\">\\n        <item string=\\\"Marketing\\\" action=\\\"mkt_board\\\"/>\\n    </item>-->\\n\n</inherit>\\n\"}, \"target_list_list\": {\"module\": \"netforce_marketing\", \"name\": \"target_list_list\", \"type\": \"list\", \"model\": \"mkt.target.list\", \"layout\": \"\n<list model=\\\"mkt.target.list\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"num_targets\\\"/>\\n\n    <field name=\\\"num_emails_verified\\\"/>\\n\n    <field name=\\\"num_emails_error\\\"/>\\n\n</list>\\n\"}, \"mkt_activity_list\": {\"module\": \"netforce_marketing\", \"name\": \"mkt_activity_list\", \"type\": \"list\", \"model\": \"mkt.activity\", \"layout\": \"\n<list model=\\\"mkt.activity\\\">\\n    \n    <field name=\\\"target_id\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"subject\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\"}, \"target_list\": {\"module\": \"netforce_marketing\", \"name\": \"target_list\", \"type\": \"list\", \"model\": \"mkt.target\", \"layout\": \"\n<list model=\\\"mkt.target\\\" colors='{\\\"#cfc\\\":[[\\\"email_status\\\",\\\"=\\\",\\\"verified\\\"]],\\\"#fcc\\\":[[\\\"email_status\\\",\\\"in\\\",[\\\"error_syntax\\\",\\\"error_dns\\\",\\\"error_smtp\\\"]]]}'>\\n    \n    <field name=\\\"list_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"target_life\\\"/>\\n\n    <field name=\\\"first_name\\\"/>\\n\n    <field name=\\\"last_name\\\"/>\\n\n    <field name=\\\"company\\\"/>\\n\n    <field name=\\\"country_id\\\"/>\\n\n    <field name=\\\"phone\\\"/>\\n\n    <field name=\\\"email\\\"/>\\n\n    <field name=\\\"email_status\\\"/>\\n\n</list>\\n\"}, \"mkt_activity_form\": {\"module\": \"netforce_marketing\", \"name\": \"mkt_activity_form\", \"type\": \"form\", \"model\": \"mkt.activity\", \"layout\": \"\n<form model=\\\"mkt.activity\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"target_id\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"subject\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"body\\\" attrs='{\\\"invisible\\\":[[\\\"type\\\",\\\"=\\\",\\\"sms\\\"]]}' width=\\\"900\\\" height=\\\"350\\\" wysi=\\\"1\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\"}, \"campaign_form\": {\"module\": \"netforce_marketing\", \"name\": \"campaign_form\", \"type\": \"form\", \"model\": \"mkt.campaign\", \"layout\": \"\n<form model=\\\"mkt.campaign\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Create Emails\\\" method=\\\"create_emails\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"email_tmpl_id\\\"/>\\n\n    <field name=\\\"mailbox_id\\\"/>\\n\n    <field name=\\\"limit_day\\\"/>\\n\n    <field name=\\\"limit_hour\\\"/>\\n\n    <field name=\\\"target_lists\\\"/>\\n\n    <field name=\\\"min_target_life\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <separator string=\\\"Campaign Statistics\\\"/>\\n\n    <field name=\\\"num_targets\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"num_create\\\"/>\\n\n    <field name=\\\"percent_create\\\"/>\\n\n    <field name=\\\"num_create_day\\\"/>\\n\n    <field name=\\\"num_create_hour\\\"/>\\n\n    <field name=\\\"num_sent\\\"/>\\n\n    <field name=\\\"percent_sent\\\"/>\\n\n    <field name=\\\"num_delivered\\\"/>\\n\n    <field name=\\\"percent_delivered\\\"/>\\n\n    <field name=\\\"num_bounced\\\"/>\\n\n    <field name=\\\"percent_bounced\\\"/>\\n\n    <field name=\\\"num_rejected\\\"/>\\n\n    <field name=\\\"percent_rejected\\\"/>\\n\n    <field name=\\\"num_opened\\\"/>\\n\n    <field name=\\\"percent_opened\\\"/>\\n\n    <field name=\\\"num_clicked\\\"/>\\n\n    <field name=\\\"percent_clicked\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Create Emails\\\" method=\\\"create_emails\\\" type=\\\"success\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"emails\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"mkt_board\": {\"module\": \"netforce_marketing\", \"name\": \"mkt_board\", \"type\": \"board\", \"layout\": \"\n<board>\\n    \n    <hpanel>\\n        \n        <widget string=\\\"Active Campaigns\\\" action=\\\"campaign_widget\\\" span=\\\"12\\\"/>\\n\n    </hpanel>\\n\n</board>\\n\"}, \"target_form\": {\"module\": \"netforce_marketing\", \"name\": \"target_form\", \"type\": \"form\", \"model\": \"mkt.target\", \"layout\": \"\n<form model=\\\"mkt.target\\\">\\n    \n    <field name=\\\"list_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"first_name\\\"/>\\n\n    <field name=\\\"last_name\\\"/>\\n\n    <field name=\\\"company\\\"/>\\n\n    <field name=\\\"country_id\\\"/>\\n\n    <field name=\\\"phone\\\"/>\\n\n    <field name=\\\"email\\\"/>\\n\n    <field name=\\\"website\\\"/>\\n\n    <field name=\\\"street\\\"/>\\n\n    <field name=\\\"city\\\"/>\\n\n    <field name=\\\"province_id\\\"/>\\n\n    <field name=\\\"zip\\\"/>\\n\n    <field name=\\\"fax\\\"/>\\n\n    <field name=\\\"mobile\\\"/>\\n\n    <field name=\\\"birthday\\\"/>\\n\n    <separator string=\\\"Email Verification\\\"/>\\n\n    <field name=\\\"email_status\\\"/>\\n\n    <field name=\\\"email_error\\\" attrs='{\\\"invisible\\\":[[\\\"email_status\\\",\\\"not in\\\",[\\\"error_syntax\\\",\\\"error_dns\\\",\\\"error_smtp\\\"]]]}'/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"employee_search\": {\"module\": \"netforce_hr\", \"name\": \"employee_search\", \"type\": \"search\", \"model\": \"hr.employee\", \"layout\": \"\n<search model=\\\"hr.employee\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"first_name\\\"/>\\n\n    <field name=\\\"last_name\\\"/>\\n\n    <field name=\\\"position\\\"/>\\n\n    <field name=\\\"department_id\\\"/>\\n\n    <field name=\\\"work_status\\\"/>\\n\n</search>\"}, \"leave_form\": {\"module\": \"netforce_hr\", \"name\": \"leave_form\", \"type\": \"form\", \"model\": \"hr.leave\", \"layout\": \"\n<form model=\\\"hr.leave\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"approved\\\",\\\"rejected\\\"]]]}' show_company=\\\"1\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"waiting_approval,approved,rejected\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <separator string=\\\"General Information\\\"/>\\n\n        <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"employee_id\\\" span=\\\"2\\\" onchange=\\\"onchange_employee\\\"/>\\n\n        <field name=\\\"schedule_id\\\" onchange=\\\"onchange_schedule\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"leave_type_id\\\" span=\\\"2\\\" onchange=\\\"onchange_type\\\" domain='[[\\\"employees.id\\\",\\\"=\\\",employee_id]]'/>\\n\n        <field name=\\\"period_id\\\" span=\\\"2\\\" domain='[[\\\"leave_type_id.id\\\",\\\"=\\\",leave_type_id]]'/>\\n\n        <!--<field name=\\\"period_id\\\" span=\\\"2\\\" domain='[[\\\"leave_type_id.id\\\",\\\"=\\\",leave_type_id],[\\\"date_to\\\",\\\"&lt;=\\\",date_to]]'/>-->\\n    \n    </group>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"date_from\\\" invisible=\\\"1\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" invisible=\\\"1\\\" span=\\\"2\\\"/>\\n\n        <separator string=\\\"Leaving Information\\\"/>\\n\n        <field name=\\\"start_date\\\" onchange=\\\"onchange_date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"end_date\\\" onchange=\\\"onchange_date\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"days_requested\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"days_remaining\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"leave_reason\\\" span=\\\"4\\\"/>\\n\n    </group>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Submit for approval\\\" method=\\\"submit_for_approval\\\" size=\\\"large\\\" states=\\\"draft\\\"/>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" size=\\\"large\\\" type=\\\"success\\\" states=\\\"waiting_approval\\\" perm=\\\"hr_approve\\\"/>\\n\n        <button string=\\\"Reject\\\" method=\\\"reject\\\" size=\\\"large\\\" type=\\\"danger\\\" states=\\\"waiting_approval\\\" perm=\\\"hr_approve\\\"/>\\n\n        <button string=\\\"Reopen\\\" method=\\\"do_reopen\\\" size=\\\"large\\\" icon=\\\"repeat\\\" states=\\\"approved,rejected\\\" perm=\\\"hr_approve\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"expiry_date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"expiry_date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"payroll_settings\": {\"module\": \"netforce_hr\", \"name\": \"payroll_settings\", \"type\": \"form\", \"model\": \"hr.payroll.settings\", \"layout\": \"\n<form model=\\\"hr.payroll.settings\\\" title=\\\"Payroll Settings\\\">\\n    \n    <separator string=\\\"Social Security\\\"/>\\n\n    <field name=\\\"social_rate\\\"/>\\n\n    <field name=\\\"social_number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"social_min_wage\\\" help=\\\"No need to pay SSO, if Wage or Salary is less than Min Wage.\\\"/>\\n\n    <field name=\\\"social_max_wage\\\" help=\\\"Get the maximux on base this wage, if your salary is more than this.\\\"/>\\n\n    <separator string=\\\"Provident Fund\\\"/>\\n\n    <field name=\\\"prov_no\\\"/>\\n\n    <field name=\\\"prov_name\\\"/>\\n\n    <separator string=\\\"Accounting\\\"/>\\n\n    <field name=\\\"journal_id\\\"/>\\n\n    <field name=\\\"bank_account_id\\\"/>\\n\n    <separator string=\\\"Company Address\\\"/>\\n\n    <group>\\n        \n        <field name=\\\"company\\\" span=\\\"4\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"depart_name\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"depart_room_number\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"depart_stage\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"depart_village\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"depart_number\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"depart_sub_number\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"depart_soi\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"depart_road\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"depart_sub_district\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"depart_district\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"depart_province\\\" span=\\\"4\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"depart_zip\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"depart_tel\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"depart_fax\\\" span=\\\"4\\\"/>\\n\n    </group>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"department_list\": {\"module\": \"netforce_hr\", \"name\": \"department_list\", \"type\": \"list\", \"model\": \"hr.department\", \"layout\": \"\n<list model=\\\"hr.department\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</list>\"}, \"hr_board\": {\"module\": \"netforce_hr\", \"name\": \"hr_board\", \"type\": \"board\", \"layout\": \"\n<board>\\n    \n    <vpanel>\\n        \n        <widget string=\\\"Current Attendance\\\" action=\\\"attend_widget\\\"/>\\n\n        <!--<widget string=\\\"Attendance History\\\" action=\\\"attend_hist_widget\\\"/>-->\\n    \n    </vpanel>\\n\n    <vpanel>\\n        \n        <widget string=\\\"Leave Request\\\" action=\\\"leave_widget\\\"/>\\n\n    </vpanel>\\n\n</board>\\n\"}, \"leave_type_list\": {\"module\": \"netforce_hr\", \"name\": \"leave_type_list\", \"type\": \"list\", \"model\": \"hr.leave.type\", \"layout\": \"\n<list model=\\\"hr.leave.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</list>\\n\"}, \"schedule_list\": {\"module\": \"netforce_hr\", \"name\": \"schedule_list\", \"type\": \"list\", \"model\": \"hr.schedule\", \"layout\": \"\n<list model=\\\"hr.schedule\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"working_hour\\\"/>\\n\n</list>\\n\"}, \"tax_year_form\": {\"module\": \"netforce_hr\", \"name\": \"tax_year_form\", \"type\": \"form\", \"model\": \"hr.tax.year\", \"layout\": \"\n<form model=\\\"hr.tax.year\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"name\\\" span=\\\"2\\\"/>\\n\n        <separator string=\\\"Tax Deductions\\\"/>\\n\n        <field name=\\\"pc_gross_income\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"not_exceed\\\" span=\\\"2\\\"/>\\n\n        <separator string=\\\"Tax Allowances\\\"/>\\n\n        <field name=\\\"tax_payer\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n    <separator string=\\\"Tax Rates\\\"/>\\n\n    <field name=\\\"tax_rates\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"min_income\\\"/>\\n\n            <field name=\\\"max_income\\\"/>\\n\n            <field name=\\\"rate\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"schedule_form\": {\"module\": \"netforce_hr\", \"name\": \"schedule_form\", \"type\": \"form\", \"model\": \"hr.schedule\", \"layout\": \"\n<form model=\\\"hr.schedule\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Generate DayOfWeek\\\" method=\\\"gen_dow\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"working_hour\\\"/>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                \n                    <field name=\\\"dow\\\"/>\\n\n                    <field name=\\\"time_start\\\"/>\\n\n                    <field name=\\\"time_stop\\\"/>\\n\n                </list>\\n\n            </field>\\n\n        </tab>\\n\n        <tab string=\\\"Planning\\\">\\n            \n            <field name=\\\"mon\\\"/>\\n\n            <field name=\\\"tue\\\"/>\\n\n            <field name=\\\"wed\\\"/>\\n\n            <field name=\\\"thu\\\"/>\\n\n            <field name=\\\"fri\\\"/>\\n\n            <field name=\\\"sat\\\"/>\\n\n            <field name=\\\"sun\\\"/>\\n\n            <field name=\\\"working_times\\\" nolabel=\\\"1\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"time_start\\\"/>\\n\n                    <field name=\\\"time_stop\\\"/>\\n\n                    <field name=\\\"time_total\\\"/>\\n\n                </list>\\n\n            </field>\\n\n        </tab>\\n\n    </tabs>\\n\n    <related>\\n        \n        <field name=\\\"employees\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"employee_form\": {\"module\": \"netforce_hr\", \"name\": \"employee_form\", \"type\": \"form\", \"model\": \"hr.employee\", \"layout\": \"\n<form model=\\\"hr.employee\\\" show_company=\\\"1\\\">\\n    \n    <head>\\n        \n        <field name=\\\"work_status\\\"/>\\n\n    </head>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"department_id\\\"/>\\n\n    <field name=\\\"first_name\\\"/>\\n\n    <field name=\\\"last_name\\\"/>\\n\n    <field name=\\\"title\\\" onchange=\\\"onchange_gender\\\"/>\\n\n    <field name=\\\"position\\\"/>\\n\n    <field name=\\\"work_status\\\"/>\\n\n    <field name=\\\"work_type\\\"/>\\n\n    <field name=\\\"hire_date\\\"/>\\n\n    <field name=\\\"resign_date\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"approver_id\\\"/>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group span=\\\"6\\\" columns=\\\"1\\\">\\n                \n                <field name=\\\"birth_date\\\"/>\\n\n                <field name=\\\"age\\\"/>\\n\n                <field name=\\\"gender\\\"/>\\n\n                <field name=\\\"marital_status\\\"/>\\n\n                <field name=\\\"id_no\\\" onchange=\\\"onchange_id_no\\\"/>\\n\n                <field name=\\\"picture\\\"/>\\n\n                <field name=\\\"email\\\"/>\\n\n            </group>\\n\n            <group span=\\\"6\\\" columns=\\\"1\\\">\\n                \n                <field name=\\\"phone\\\"/>\\n\n                <field name=\\\"drive_license_type\\\"/>\\n\n                <field name=\\\"drive_license_no\\\"/>\\n\n                <field name=\\\"country_id\\\"/>\\n\n                <field name=\\\"bank_account\\\"/>\\n\n                <field name=\\\"salary\\\"/>\\n\n                <field name=\\\"schedule_id\\\"/>\\n\n            </group>\\n\n            <separator string=\\\"Address\\\"/>\\n\n            <field name=\\\"addresses\\\" view=\\\"form_list\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Payroll\\\">\\n            \n            <field name=\\\"payslip_template_id\\\" domain='[[\\\"name\\\",\\\"=\\\",code]]'/>\\n\n            <separator string=\\\"YTD\\\"/>\\n\n            <field name=\\\"year_income\\\"/>\\n\n            <field name=\\\"year_deduct\\\"/>\\n\n            <field name=\\\"year_tax\\\"/>\\n\n            <field name=\\\"year_soc\\\"/>\\n\n            <field name=\\\"year_prov\\\"/>\\n\n            <separator string=\\\"Report Config\\\"/>\\n\n            <field name=\\\"name_th\\\"/>\\n\n            <field name=\\\"name_last_th\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"depart_name\\\"/>\\n\n            <field name=\\\"depart_room_number\\\"/>\\n\n            <field name=\\\"depart_stage\\\"/>\\n\n            <field name=\\\"depart_village\\\"/>\\n\n            <field name=\\\"depart_number\\\"/>\\n\n            <field name=\\\"depart_sub_number\\\"/>\\n\n            <field name=\\\"depart_soi\\\"/>\\n\n            <field name=\\\"depart_road\\\"/>\\n\n            <field name=\\\"depart_sub_district\\\"/>\\n\n            <field name=\\\"depart_district\\\"/>\\n\n            <field name=\\\"depart_province\\\"/>\\n\n            <field name=\\\"depart_zip\\\"/>\\n\n            <field name=\\\"depart_tel\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Personal Income Tax\\\">\\n            \n            <field name=\\\"tax_no\\\"/>\\n\n            <field name=\\\"tax_register\\\"/>\\n\n            <!--<field name=\\\"tax_profile_id\\\"/>-->\\n        \n        </tab>\\n\n        <tab string=\\\"Social Security\\\">\\n            \n            <field name=\\\"social_no\\\"/>\\n\n            <field name=\\\"social_register\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Provident Fund\\\">\\n            \n            <field name=\\\"prov_fund_no\\\"/>\\n\n            <field name=\\\"prov_open_date\\\"/>\\n\n            <field name=\\\"prov_rate_employer\\\"/>\\n\n            <field name=\\\"prov_rate_employee\\\"/>\\n\n            <field name=\\\"prov_regis\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Leaves\\\" perm=\\\"hr_employee_leave\\\">\\n            \n            <group>\\n                \n                <field name=\\\"leave_types\\\" nolabel=\\\"1\\\" span=\\\"11\\\"/>\\n\n            </group>\\n\n        </tab>\\n\n        <tab string=\\\"Attendance Config\\\">\\n            \n            <field name=\\\"attendance_code\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"tax_profiles\\\"/>\\n\n        <field name=\\\"payslips\\\">\\n            \n            <list colors='{\\\"#cfc\\\":[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]]}'>\\n                \n                <field name=\\\"run_id\\\"/>\\n\n                <field name=\\\"due_date\\\"/>\\n\n                <field name=\\\"amount_salary\\\" sum=\\\"1\\\"/>\\n\n                <field name=\\\"amount_bonus\\\" sum=\\\"1\\\"/>\\n\n                <field name=\\\"amount_overtime\\\" sum=\\\"1\\\"/>\\n\n                <field name=\\\"amount_allow\\\" sum=\\\"1\\\"/>\\n\n                <field name=\\\"amount_tax\\\" sum=\\\"1\\\"/>\\n\n                <field name=\\\"amount_social\\\" sum=\\\"1\\\"/>\\n\n                <field name=\\\"amount_provident\\\" sum=\\\"1\\\"/>\\n\n                <field name=\\\"amount_other_expense\\\" sum=\\\"1\\\"/>\\n\n                <field name=\\\"amount_net\\\" sum=\\\"1\\\"/>\\n\n                <field name=\\\"state\\\"/>\\n\n            </list>\\n\n        </field>\\n\n        <field name=\\\"leaves\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"expiry_date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"expiry_date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"contract_list\": {\"module\": \"netforce_hr\", \"name\": \"contract_list\", \"type\": \"list\", \"model\": \"hr.contract\", \"layout\": \"\n<list model=\\\"hr.contract\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n</list>\"}, \"payitem_profile_list\": {\"module\": \"netforce_hr\", \"name\": \"payitem_profile_list\", \"type\": \"list\", \"model\": \"hr.payitem.profile\", \"layout\": \"\n<list model=\\\"hr.payitem.profile\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</list>\\n\"}, \"holiday_list\": {\"module\": \"netforce_hr\", \"name\": \"holiday_list\", \"type\": \"list\", \"model\": \"hr.holiday\", \"layout\": \"\n<list model=\\\"hr.holiday\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"generic\\\"/>\\n\n</list>\\n\"}, \"attend_config_form\": {\"module\": \"netforce_hr\", \"name\": \"attend_config_form\", \"type\": \"form\", \"model\": \"hr.attendance.config\", \"layout\": \"\n<form model=\\\"hr.attendance.config\\\">\\n\\n    \n    <head>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n        </button>\\n\n    </head>\\n\\n\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"ip_address\\\"/>\\n\n    <field name=\\\"url_download\\\"/>\\n\n    <field name=\\\"user\\\"/>\\n\n    <field name=\\\"password\\\" password=\\\"true\\\"/>\\n\n    <field name=\\\"port\\\"/>\\n\n    <field name=\\\"os_type\\\"/>\\n\n    <foot>\\n         \n        <button string=\\\"Test\\\" type=\\\"success\\\" method=\\\"test\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"payslip_form\": {\"module\": \"netforce_hr\", \"name\": \"payslip_form\", \"type\": \"form\", \"model\": \"hr.payslip\", \"layout\": \"\n<form model=\\\"hr.payslip\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"approved\\\",\\\"paid\\\",\\\"posted\\\"]]]}' show_company=\\\"1\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"print_payslip\\\"/>\\n\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"print_payslip2\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"To Draft\\\" states=\\\"approved,paid,posted\\\" method=\\\"to_draft\\\" confirm=\\\"Are you sure?\\\"/>\\n\n            <item string=\\\"View Tax Computation\\\" action=\\\"report_payslip_tax\\\"/>\\n\n            <item string=\\\"View Journal\\\" states=\\\"posted\\\" method=\\\"view_journal\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"employee_id\\\" span=\\\"2\\\" onchange=\\\"onchange_employee\\\"/>\\n\n        <field name=\\\"run_id\\\" span=\\\"2\\\" onchange=\\\"onchange_payrun\\\"/>\\n\n        <field name=\\\"date_from\\\" onchange=\\\"onchange_date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" onchange=\\\"onchange_date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"due_date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"department_id\\\" span=\\\"2\\\"/>\\n\n        <!--\\n        <field name=\\\"currency_id\\\" onchange=\\\"onchange_rate\\\" span=\\\"2\\\"/>\\n        <field name=\\\"currency_rate\\\" attrs='{\\\"invisible\\\":[[\\\"currency_id\\\",\\\"=\\\",null]]}' span=\\\"2\\\"/>\\n        -->\\n    \n    </group>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"payitem_id\\\" onchange=\\\"onchange_item\\\"/>\\n\n            <field name=\\\"pay_type\\\"/>\\n\n            <field name=\\\"qty\\\" onchange=\\\"update_amounts\\\"/>\\n\n            <field name=\\\"rate\\\" onchange=\\\"update_amounts\\\" scale=\\\"2\\\"/>\\n\n            <field name=\\\"amount\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <group span=\\\"7\\\" columns=\\\"1\\\">\\n    </group>\\n\n    <group span=\\\"5\\\" columns=\\\"1\\\">\\n        \n        <!--<field name=\\\"amount_wage\\\"/>-->\\n        \n        <!--<field name=\\\"amount_allow\\\"/>-->\\n        \n        <field name=\\\"amount_income\\\"/>\\n\n        <field name=\\\"amount_deduct\\\"/>\\n\n        <field name=\\\"amount_tax\\\"/>\\n\n        <field name=\\\"amount_pay_other\\\"/>\\n\n        <!--<field name=\\\"amount_post_allow\\\"/>-->\\n        \n        <!--<field name=\\\"amount_post_deduct\\\"/>-->\\n        \n        <field name=\\\"amount_net\\\"/>\\n\n    </group>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n    <foot>\\n        \n        <button string=\\\"Approve\\\" type=\\\"default\\\" icon=\\\"ok\\\" states=\\\"draft\\\" method=\\\"approve\\\"/>\\n\n        <button string=\\\"Pay\\\" type=\\\"success\\\" states=\\\"approved\\\" icon=\\\"ok\\\" method=\\\"pay\\\"/>\\n\n        <button string=\\\"Post\\\" states=\\\"paid\\\" type=\\\"success\\\" action=\\\"payslip_journal\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"leave_period_search\": {\"module\": \"netforce_hr\", \"name\": \"leave_period_search\", \"type\": \"search\", \"model\": \"hr.leave.period\", \"layout\": \"\n<search model=\\\"hr.leave.period\\\">\\n    \n    <field name=\\\"leave_type_id\\\"/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <field name=\\\"max_days\\\"/>\\n\n</search>\"}, \"leave_period_form\": {\"module\": \"netforce_hr\", \"name\": \"leave_period_form\", \"type\": \"form\", \"model\": \"hr.leave.period\", \"layout\": \"\n<form model=\\\"hr.leave.period\\\">\\n    \n    <field name=\\\"leave_type_id\\\"/>\\n\n    <field name=\\\"max_days\\\"/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <field name=\\\"max_date\\\"/>\\n\n</form>\\n\"}, \"report_wht50\": {\"module\": \"netforce_hr\", \"name\": \"report_wht50\", \"type\": \"form\", \"model\": \"report.wht50\", \"layout\": \"\n<form model=\\\"report.wht50\\\" title=\\\"WHT50: Personal Income Tax Report\\\">\\n    \n    <field name=\\\"year\\\" mode=\\\"year\\\" span=\\\"4\\\"/>\\n\n    <field name=\\\"doc_date\\\" span=\\\"4\\\"/>\\n\n    <field name=\\\"show_doc_date\\\" span=\\\"4\\\"/>\\n\n    <field name=\\\"employee_id\\\" span=\\\"4\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Print\\\" method=\\\"print_wht50\\\" icon=\\\"print\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"payrun_form\": {\"module\": \"netforce_hr\", \"name\": \"payrun_form\", \"type\": \"form\", \"model\": \"hr.payrun\", \"layout\": \"\n<form model=\\\"hr.payrun\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"approved\\\",\\\"paid\\\",\\\"posted\\\"]]]}' show_company=\\\"1\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"month\\\" onchange=\\\"onchange_month\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_pay\\\" onchange=\\\"onchange_paydate\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"department_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n    <head>\\n        \n        <button string=\\\"Print\\\" dropdown=\\\"1\\\" icon=\\\"print\\\">\\n            \n            <item string=\\\"PaySlips\\\" action=\\\"print_slip\\\" action_options=\\\"convert=pdf\\\"/>\\n\n            <item string=\\\"Bank Report\\\" action=\\\"report_bank\\\"/>\\n\n        </button>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"To Draft\\\" states=\\\"approved,paid,posted\\\" method=\\\"to_draft\\\" confirm=\\\"Are you sure?\\\"/>\\n\n            <!--<item string=\\\"Copy Journal Entry\\\" states=\\\"paid\\\" action=\\\"payrun_journal\\\"/>-->\\n            \n            <item string=\\\"View Journal\\\" states=\\\"posted\\\" method=\\\"view_journal\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <separator string=\\\"Payslips\\\"/>\\n\n    <field name=\\\"payslips\\\" nolabel=\\\"1\\\" view_cls=\\\"form_list_view\\\">\\n        \n        <list colors='{\\\"#cfc\\\":[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]],\\\"#9f9\\\":[[\\\"state\\\",\\\"=\\\",\\\"paid\\\"]],\\\"#ACD2E9\\\":[[\\\"state\\\",\\\"=\\\",\\\"posted\\\"]]}'>\\n            \n            <field name=\\\"due_date\\\"/>\\n\n            <field name=\\\"employee_id\\\"/>\\n\n            <field name=\\\"amount_salary\\\"/>\\n\n            <field name=\\\"amount_bonus\\\"/>\\n\n            <field name=\\\"amount_overtime\\\"/>\\n\n            <field name=\\\"amount_allow\\\"/>\\n\n            <field name=\\\"amount_tax\\\"/>\\n\n            <field name=\\\"amount_social\\\"/>\\n\n            <field name=\\\"amount_provident\\\"/>\\n\n            <field name=\\\"amount_other_expense\\\"/>\\n\n            <field name=\\\"amount_net\\\"/>\\n\n            <field name=\\\"state\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <group span=\\\"6\\\" columns=\\\"1\\\">\\n        \n        <button string=\\\"Generate Payslips\\\" states=\\\"draft\\\" method=\\\"gen_payslips\\\" icon=\\\"arrow-right\\\"/>\\n\n    </group>\\n\n    <group span=\\\"6\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"amount_employee\\\"/>\\n\n        <field name=\\\"amount_other\\\"/>\\n\n        <field name=\\\"amount_total\\\"/>\\n\n    </group>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n    <foot>\\n        \n        <button string=\\\"Approve\\\" method=\\\"approve\\\" states=\\\"draft\\\" icon=\\\"ok\\\" type=\\\"default\\\"/>\\n\n        <button string=\\\"Pay\\\" method=\\\"pay\\\" states=\\\"approved\\\" icon=\\\"ok\\\" type=\\\"success\\\"/>\\n\n        <button string=\\\"Post\\\" states=\\\"paid\\\" action=\\\"payrun_journal\\\" type=\\\"success\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"report_sso\": {\"module\": \"netforce_hr\", \"name\": \"report_sso\", \"type\": \"form\", \"model\": \"report.sso\", \"layout\": \"\n<form model=\\\"report.sso\\\" title=\\\"Social Security Report\\\">\\n    \n    <field name=\\\"month\\\" mode=\\\"month\\\" span=\\\"4\\\"/>\\n\n    <field name=\\\"doc_date\\\" span=\\\"4\\\"/>\\n\n    <field name=\\\"show_doc_date\\\" span=\\\"4\\\"/>\\n\n    <field name=\\\"name_pay\\\" span=\\\"4\\\"/>\\n\n    <field name=\\\"position\\\" span=\\\"4\\\"/>\\n\n    <field name=\\\"show_name\\\" span=\\\"4\\\"/>\\n\n    <field name=\\\"option\\\" span=\\\"4\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Print Cover\\\" method=\\\"print_cover\\\" icon=\\\"print\\\"/>\\n\n        <button string=\\\"Print Attachment\\\" method=\\\"print_attach\\\" icon=\\\"print\\\"/>\\n\n        <button string=\\\"Print Excel\\\" method=\\\"print_xls\\\" icon=\\\"print\\\"/>\\n\n        <!--<button string=\\\"Export TXT\\\" method=\\\"print_attach\\\" icon=\\\"arrow-right\\\"/>-->\\n    \n    </foot>\\n\n</form>\\n\"}, \"payslip_list\": {\"module\": \"netforce_hr\", \"name\": \"payslip_list\", \"type\": \"list\", \"model\": \"hr.payslip\", \"layout\": \"\n<list model=\\\"hr.payslip\\\" colors='{\\\"#cfc\\\":[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]],\\\"#9f9\\\":[[\\\"state\\\",\\\"=\\\",\\\"paid\\\"]]}'>\\n    \n    <head>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"print_payslip\\\"/>\\n\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"print_payslip2\\\" action_options='{\\\"ids\\\":ids}'/>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" icon=\\\"ok\\\" type=\\\"default\\\"/>\\n\n        <button string=\\\"To Draft\\\" method=\\\"to_draft\\\" icon=\\\"repeat\\\" type=\\\"default\\\"/>\\n\n    </head>\\n\n    <field name=\\\"run_id\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <field name=\\\"amount_salary\\\"/>\\n\n    <field name=\\\"amount_bonus\\\"/>\\n\n    <field name=\\\"amount_overtime\\\"/>\\n\n    <field name=\\\"amount_allow\\\"/>\\n\n    <field name=\\\"amount_tax\\\"/>\\n\n    <field name=\\\"amount_social\\\"/>\\n\n    <field name=\\\"amount_provident\\\"/>\\n\n    <field name=\\\"amount_other_expense\\\"/>\\n\n    <field name=\\\"amount_net\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"leave_list\": {\"module\": \"netforce_hr\", \"name\": \"leave_list\", \"type\": \"list\", \"model\": \"hr.leave\", \"layout\": \"\n<list model=\\\"hr.leave\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <!--<field name=\\\"date\\\"/>-->\\n    \n    <field name=\\\"employee_id\\\"/>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"end_date\\\"/>\\n\n    <field name=\\\"leave_type_id\\\"/>\\n\n    <field name=\\\"days_requested\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"sso_quits\": {\"module\": \"netforce_hr\", \"name\": \"sso_quits\", \"type\": \"form\", \"model\": \"sso.quits\", \"layout\": \"\n<form model=\\\"sso.quits\\\" title=\\\"SSO Employee Quits Job \\\">\\n    \n    <field name=\\\"month\\\" mode=\\\"month\\\" span=\\\"4\\\" onchange=\\\"onchange_month\\\"/>\\n\n    <field name=\\\"doc_date\\\" span=\\\"4\\\"/>\\n\n    <field name=\\\"show_doc_date\\\" span=\\\"4\\\"/>\\n\n    <separator string=\\\"Employee\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"employee_id\\\" onchange=\\\"onchange_employee\\\"/>\\n\n            <field name=\\\"id_no\\\"/>\\n\n            <field name=\\\"resign_date\\\"/>\\n\n            <field name=\\\"reason\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" method=\\\"print_attach\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"sso_regist\": {\"module\": \"netforce_hr\", \"name\": \"sso_regist\", \"type\": \"form\", \"model\": \"sso.regist\", \"layout\": \"\n<form model=\\\"sso.regist\\\" title=\\\"SSO Employee Registration\\\">\\n    \n    <field name=\\\"month\\\" mode=\\\"month\\\" span=\\\"4\\\" onchange=\\\"onchange_month\\\"/>\\n\n    <field name=\\\"doc_date\\\" span=\\\"4\\\"/>\\n\n    <field name=\\\"show_doc_date\\\" span=\\\"4\\\"/>\\n\n    <separator string=\\\"Employee\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"employee_id\\\" onchange=\\\"onchange_employee\\\"/>\\n\n            <field name=\\\"id_no\\\"/>\\n\n            <field name=\\\"hire_date\\\"/>\\n\n            <field name=\\\"old_company\\\"/>\\n\n            <field name=\\\"other_old_company\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Print Cover\\\" icon=\\\"print\\\" method=\\\"print_cover\\\"/>\\n\n        <button string=\\\"Print Attach\\\" icon=\\\"print\\\" method=\\\"print_attach\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"hr_menu\": {\"module\": \"netforce_hr\", \"name\": \"hr_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"HR\\\">\\n    \n    <item string=\\\"Dashboard\\\" action=\\\"hr_board\\\"/>\\n\n    <item string=\\\"Employees\\\" action=\\\"employee\\\" perm=\\\"hr_employee\\\"/>\\n\n    <item string=\\\"Leave\\\">\\n        \n        <item string=\\\"New Leave\\\" action=\\\"leave\\\" action_options='{\\\"mode\\\":\\\"form\\\"}'/>\\n\n        <item string=\\\"Leave Requests\\\" action=\\\"leave\\\"/>\\n\n        <item string=\\\"Holidays\\\" action=\\\"holiday\\\"/>\\n</item>\\n\n    <item string=\\\"Attendance\\\">\\n        \n        <item string=\\\"Sign In/Out\\\" action=\\\"attend\\\"/>\\n\n        <item string=\\\"Import Attendance\\\" action=\\\"import_attend\\\"/>\\n\n        <item string=\\\"Machine Config\\\" action=\\\"attend_config\\\"/>\\n</item>\\n\n    <item string=\\\"Payroll\\\" perm=\\\"hr_admin\\\">\\n        \n        <item string=\\\"Pay Runs\\\" action=\\\"payrun\\\"/>\\n\n        <item string=\\\"Pay Slips\\\" action=\\\"payslip\\\"/>\\n\n        <divider/>\\n\n        <header string=\\\"Monthly Reports\\\"/>\\n\n        <item string=\\\"PND1: Personal Income Tax\\\" action=\\\"report_pnd1\\\"/>\\n\n        <item string=\\\"Social Security\\\" action=\\\"report_sso\\\"/>\\n\n        <item string=\\\"Providend Fund\\\" action=\\\"report_provident\\\"/>\\n\n        <divider/>\\n\n        <header string=\\\"Yearly Reports\\\"/>\\n\n        <item string=\\\"PND1 Kor: Personal Income Tax\\\" action=\\\"report_pnd1_kor\\\"/>\\n\n        <item string=\\\"WHT50: Personal Income Tax\\\" action=\\\"report_wht50\\\"/>\\n\n        <item string=\\\"PND91: Personal Income Tax\\\" action=\\\"report_pnd91\\\"/>\\n</item>\\n\n    <item string=\\\"Reports\\\">\\n        \n        <item string=\\\"Leave Analysis\\\" action=\\\"report_leave\\\"/>\\n\n        <item string=\\\"Leave Summary\\\" action=\\\"report_leave_summary\\\"/>\\n\n        <divider/>\\n\n        <item string=\\\"Payroll Summary\\\" action=\\\"report_payroll_summary\\\"/>\\n\n        <divider/>\\n\n        <item string=\\\"Attendance Summary\\\" action=\\\"report_attendance_summary\\\"/>\\n\n        <divider/>\\n\n        <header string=\\\"Social Security Reports\\\"/>\\n\n        <item string=\\\"SSO Employee Registration\\\" action=\\\"sso_regist\\\"/>\\n\n        <item string=\\\"SSO Employee Quits Job\\\" action=\\\"sso_quits\\\"/>\\n</item>\\n\n    <!--\\n    <item string=\\\"Other\\\">\\n        <item string=\\\"Room Reservations\\\" action=\\\"room_reserve\\\"/>\\n    </item>\\n    -->\\n    \n    <item string=\\\"Settings\\\" perm=\\\"hr_admin\\\">\\n        \n        <item string=\\\"Payroll Settings\\\" action=\\\"payroll_settings\\\"/>\\n\n        <item string=\\\"Payslip Templates\\\" action=\\\"payslip_template\\\"/>\\n\n        <item string=\\\"Departments\\\" action=\\\"department\\\"/>\\n\n        <item string=\\\"Rooms\\\" action=\\\"room\\\"/>\\n\n        <item string=\\\"Leave Types\\\" action=\\\"leave_type\\\"/>\\n\n        <item string=\\\"Leave Periods\\\" action=\\\"leave_period\\\"/>\\n\n        <item string=\\\"Work Schedules\\\" action=\\\"hr_schedule\\\"/>\\n\n        <item string=\\\"Tax Year\\\" action=\\\"tax_year\\\"/>\\n\n        <item string=\\\"Tax Profiles\\\" action=\\\"tax_profile\\\"/>\\n\n        <item string=\\\"Pay Items\\\" action=\\\"payitem\\\"/>\\n\n        <item string=\\\"Pay Item Profiles\\\" action=\\\"payitem_profile\\\"/>\\n</item>\\n\n</menu>\\n\"}, \"room_reserve_calendar\": {\"module\": \"netforce_hr\", \"name\": \"room_reserve_calendar\", \"type\": \"calendar\", \"model\": \"room.reserve\", \"layout\": \"\n<calendar model=\\\"room.reserve\\\" date_field=\\\"date\\\" colors='{\\\"#090\\\":[[\\\"state\\\",\\\"in\\\",[\\\"approved\\\"]]],\\\"#999\\\":[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]],\\\"#c00\\\":[[\\\"state\\\",\\\"=\\\",\\\"canceled\\\"]]}'>\\n    \n    <field name=\\\"employee_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"from_time\\\"/>\\n\n    <field name=\\\"to_time\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</calendar>\"}, \"import_attend\": {\"module\": \"netforce_hr\", \"name\": \"import_attend\", \"type\": \"form\", \"model\": \"hr.import.attendance\", \"layout\": \"\n<form model=\\\"hr.import.attendance\\\" title=\\\"Import New Attendance\\\">\\n\\n    \n    <field name=\\\"import_type\\\"/>\\n\\n\n    <group attrs='{\\\"invisible\\\": [[\\\"import_type\\\",\\\"=\\\",\\\"csv\\\"]]}'>\\n        \n        <field name=\\\"date\\\"/>\\n\n        <field name=\\\"machine_id\\\" />\\n\n    </group>\\n\\n\n    <group attrs='{\\\"invisible\\\": [[\\\"import_type\\\",\\\"=\\\",\\\"auto\\\"]]}'>\\n\\n        \n        <field name=\\\"file\\\" attrs='{\\\"required\\\":[[\\\"import_type\\\",\\\"=\\\",\\\"csv\\\"]]}' />\\n\n        <field name=\\\"encoding\\\" />\\n\\n\n    </group>\\n\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Import\\\" method=\\\"import_data\\\" type=\\\"primary\\\"/>\\n\\n\n    </foot>\\n\n</form>\\n\"}, \"leave_widget\": {\"module\": \"netforce_hr\", \"name\": \"leave_widget\", \"type\": \"list\", \"model\": \"hr.leave\", \"layout\": \"\n<list model=\\\"hr.leave\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"leave_type_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\"}, \"holiday_form\": {\"module\": \"netforce_hr\", \"name\": \"holiday_form\", \"type\": \"form\", \"model\": \"hr.holiday\", \"layout\": \"\n<form model=\\\"hr.holiday\\\">\\n    \n    <group>\\n        \n        <field name=\\\"date\\\"/>\\n\n        <field name=\\\"name\\\"/>\\n\n        <field name=\\\"description\\\"/>\\n\n        <field name=\\\"generic\\\"/>\\n\n    </group>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"payslip_tax_form\": {\"module\": \"netforce_hr\", \"name\": \"payslip_tax_form\", \"type\": \"form\", \"model\": \"hr.payslip.tax\", \"layout\": \"\n<form model=\\\"hr.payslip.tax\\\">\\n    \n    <field name=\\\"payslip_id\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n</form>\"}, \"employee_export\": {\"module\": \"netforce_hr\", \"name\": \"employee_export\", \"type\": \"export\", \"model\": \"hr.employee\", \"layout\": \"\n<export model=\\\"hr.employee\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"department_id\\\"/>\\n\n    <field name=\\\"first_name\\\"/>\\n\n    <field name=\\\"last_name\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"position\\\"/>\\n\n    <field name=\\\"work_status\\\"/>\\n\n    <field name=\\\"work_type\\\"/>\\n\n    <field name=\\\"hire_date\\\"/>\\n\n    <field name=\\\"resign_date\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"approver_id\\\"/>\\n\n    <field name=\\\"birth_date\\\"/>\\n\n    <field name=\\\"age\\\"/>\\n\n    <field name=\\\"gender\\\"/>\\n\n    <field name=\\\"marital_status\\\"/>\\n\n    <field name=\\\"id_no\\\"/>\\n\n    <field name=\\\"phone\\\"/>\\n\n    <field name=\\\"drive_license_type\\\"/>\\n\n    <field name=\\\"drive_license_no\\\"/>\\n\n    <field name=\\\"country_id\\\"/>\\n\n    <field name=\\\"bank_account\\\"/>\\n\n    <field name=\\\"salary\\\"/>\\n\n</export>\"}, \"leave_period_list\": {\"module\": \"netforce_hr\", \"name\": \"leave_period_list\", \"type\": \"list\", \"model\": \"hr.leave.period\", \"layout\": \"\n<list model=\\\"hr.leave.period\\\">\\n    \n    <field name=\\\"leave_type_id\\\"/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <field name=\\\"max_days\\\"/>\\n\n</list>\"}, \"report_provident\": {\"module\": \"netforce_hr\", \"name\": \"report_provident\", \"type\": \"form\", \"model\": \"report.provident\", \"layout\": \"\n<form model=\\\"report.provident\\\" title=\\\"Provident Fund Report\\\">\\n    \n    <field name=\\\"month\\\" span=\\\"3\\\" mode=\\\"month\\\"/>\\n\n    <field name=\\\"doc_date\\\" span=\\\"4\\\" />\\n\n    <field name=\\\"show_doc_date\\\" span=\\\"3\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Print\\\" method=\\\"print_provident\\\" icon=\\\"print\\\"/>\\n\n        <button string=\\\"Print Excel\\\" method=\\\"print_xls\\\" icon=\\\"print\\\"/>\\n\n        <!-- <button string=\\\"Export TXT\\\" method=\\\"print_attach\\\" icon=\\\"arrow-right\\\"/> -->\\n    \n    </foot>\\n\n</form>\\n\"}, \"tax_profile_list\": {\"module\": \"netforce_hr\", \"name\": \"tax_profile_list\", \"type\": \"list\", \"model\": \"hr.tax.profile\", \"layout\": \"\n<list model=\\\"hr.tax.profile\\\">\\n    \n    <field name=\\\"employee_id\\\"/>\\n\n    <field name=\\\"tax_year_id\\\"/>\\n\n</list>\\n\"}, \"tax_profile_form\": {\"module\": \"netforce_hr\", \"name\": \"tax_profile_form\", \"type\": \"form\", \"model\": \"hr.tax.profile\", \"layout\": \"\n<form model=\\\"hr.tax.profile\\\" show_company=\\\"1\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <field name=\\\"tax_year_id\\\"/>\\n\n    <field name=\\\"income_accum\\\"/>\\n\n    <field name=\\\"deduction_accum\\\"/>\\n\n    <field name=\\\"sso_accum\\\"/>\\n\n    <field name=\\\"provident_accum\\\"/>\\n\n    <!--<field name=\\\"tax_accum\\\"/>-->\\n        \n    <separator string=\\\"Spouse Details\\\"/>\\n\n    <field name=\\\"spouse_first_name\\\"/>\\n\n    <field name=\\\"spouse_last_name\\\"/>\\n\n    <field name=\\\"spouse_title\\\"/>\\n\n    <field name=\\\"spouse_birth_date\\\"/>\\n\n    <field name=\\\"spouse_tax_no\\\"/>\\n\n    <field name=\\\"spouse_status\\\"/>\\n\n    <field name=\\\"spouse_filing_status\\\"/>\\n\n    <separator string=\\\"Tax Computation (A)\\\"/>\\n\n    <field name=\\\"education_donation\\\"/>\\n\n    <field name=\\\"other_donation\\\"/>\\n\n    <field name=\\\"wht_amount\\\"/>\\n\n    <separator string=\\\"Exempted Income (B)\\\"/>\\n\n    <field name=\\\"gov_pension_fund\\\"/>\\n\n    <field name=\\\"teacher_fund\\\"/>\\n\n    <field name=\\\"old_disabled\\\"/>\\n\n    <field name=\\\"old_disabled_spouse\\\"/>\\n\n    <field name=\\\"severance_pay\\\"/>\\n\n    <separator string=\\\"Allowances and Exemptions after Deduction of Expenses (C)\\\"/>\\n\n    <field name=\\\"num_child1\\\" help=\\\"Non-study, study foreign\\\" onchange=\\\"onchange_num_child\\\"/>\\n\n    <field name=\\\"num_child2\\\" help=\\\"Study in Thailand\\\" onchange=\\\"onchange_num_child\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"father_id_no\\\"/>\\n\n    <field name=\\\"mother_id_no\\\"/>\\n\n    <field name=\\\"spouse_father_id_no\\\"/>\\n\n    <field name=\\\"spouse_mother_id_no\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"disabled_support\\\"/>\\n\n    <field name=\\\"parent_health_insurance\\\"/>\\n\n    <field name=\\\"life_insurance\\\"/>\\n\n    <field name=\\\"retirement_mutual_fund\\\"/>\\n\n    <field name=\\\"long_term_equity_fund\\\"/>\\n\n    <field name=\\\"interest_residence\\\"/>\\n\n    <field name=\\\"other_deduct\\\"/>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"leave_list_report\": {\"module\": \"netforce_hr\", \"name\": \"leave_list_report\", \"type\": \"list\", \"model\": \"hr.leave\", \"layout\": \"\n<list model=\\\"hr.leave\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"end_date\\\"/>\\n\n    <field name=\\\"leave_type_id\\\"/>\\n\n    <field name=\\\"period_id\\\"/>\\n\n    <field name=\\\"days_requested\\\"/>\\n\n    <field name=\\\"days_remaining\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\"}, \"contract_form\": {\"module\": \"netforce_hr\", \"name\": \"contract_form\", \"type\": \"form\", \"model\": \"hr.contract\", \"layout\": \"\n<form model=\\\"hr.contract\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n</form>\"}, \"room_form\": {\"module\": \"netforce_hr\", \"name\": \"room_form\", \"type\": \"form\", \"model\": \"room\", \"layout\": \"\n<form model=\\\"room\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\"}, \"report_attendance_summary\": {\"module\": \"netforce_hr\", \"name\": \"report_attendance_summary\", \"type\": \"form\", \"model\": \"report.attendance.summary\", \"layout\": \"\n<form model=\\\"report.attendance.summary\\\">\\n    \n    <field name=\\\"date_from\\\" span=\\\"3\\\"/>\\n\n    <field name=\\\"date_to\\\" span=\\\"3\\\"/>\\n\n</form>\\n\"}, \"report_pnd1\": {\"module\": \"netforce_hr\", \"name\": \"report_pnd1\", \"type\": \"form\", \"model\": \"report.pnd1\", \"layout\": \"\n<form model=\\\"report.pnd1\\\" title=\\\"PND1: Personal Income Tax Report\\\">\\n    \n    <field name=\\\"month\\\" span=\\\"3\\\" mode=\\\"month\\\"/>\\n\n    <field name=\\\"doc_date\\\" span=\\\"4\\\" />\\n\n    <field name=\\\"show_doc_date\\\" span=\\\"3\\\"/>\\n\n    <field name=\\\"name_pay\\\" span=\\\"3\\\"/>\\n\n    <field name=\\\"position\\\" span=\\\"3\\\"/>\\n\n    <field name=\\\"show_name\\\" span=\\\"3\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Print Cover\\\" method=\\\"print_cover\\\" icon=\\\"print\\\"/>\\n\n        <button string=\\\"Print Attachment\\\" method=\\\"print_attach\\\" icon=\\\"print\\\"/>\\n\n        <button string=\\\"Print Excel\\\" method=\\\"print_xls\\\" icon=\\\"print\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"report_payroll_summary\": {\"module\": \"netforce_hr\", \"name\": \"report_payroll_summary\", \"type\": \"form\", \"model\": \"report.payroll.summary\", \"layout\": \"\n<form model=\\\"report.payroll.summary\\\">\\n    \n    <field name=\\\"date\\\" mode=\\\"month\\\" onchange=\\\"onchange_date\\\" span=\\\"3\\\"/>\\n\n    <field name=\\\"date_from\\\" span=\\\"3\\\"/>\\n\n    <field name=\\\"date_to\\\" span=\\\"3\\\"/>\\n\n    <field name=\\\"emp_type\\\" span=\\\"3\\\"/>\\n\n</form>\\n\"}, \"room_reserve_form\": {\"module\": \"netforce_hr\", \"name\": \"room_reserve_form\", \"type\": \"form\", \"model\": \"room.reserve\", \"layout\": \"\n<form model=\\\"room.reserve\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"waiting_approval\\\",\\\"approved\\\",\\\"canceled\\\"]]]}'>\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"request_date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"user_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"room_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"from_time\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"to_time\\\" span=\\\"2\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"details\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"contact_id\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n    <foot>\\n        \n        <button string=\\\"Submit for approval\\\" states=\\\"draft\\\" method=\\\"submit\\\" icon=\\\"arrow-right\\\"/>\\n\n        <button string=\\\"Approve\\\" states=\\\"waiting_approval\\\" type=\\\"success\\\" method=\\\"approve\\\"/>\\n\n        <button string=\\\"Reject\\\" states=\\\"waiting_approval\\\" type=\\\"danger\\\" method=\\\"reject\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\"}, \"leave_search\": {\"module\": \"netforce_hr\", \"name\": \"leave_search\", \"type\": \"search\", \"model\": \"hr.leave\", \"layout\": \"\n<search model=\\\"hr.leave\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <field name=\\\"employee_work_status\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"leave_type_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</search>\\n\"}, \"payslip_template_form\": {\"module\": \"netforce_hr\", \"name\": \"payslip_template_form\", \"type\": \"form\", \"model\": \"hr.payslip.template\", \"layout\": \"\n<form model=\\\"hr.payslip.template\\\">\\n    \n    <field name=\\\"payitem_profile_id\\\" onchange=\\\"onchange_profile\\\"/>\\n\n    <field name=\\\"employee_id\\\" onchange=\\\"onchange_employee\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"payitem_id\\\" onchange=\\\"onchange_item_line\\\"/>\\n\n            <field name=\\\"currency_id\\\" onchange=\\\"onchange_line\\\"/>\\n\n            <field name=\\\"qty\\\" onchange=\\\"onchange_line\\\"/>\\n\n            <field name=\\\"rate\\\" onchange=\\\"onchange_line\\\"/>\\n\n            <field name=\\\"currency_rate\\\"/>\\n\n            <field name=\\\"amount\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <field name=\\\"description\\\"/>\\n\n</form>\\n\"}, \"report_pnd91\": {\"module\": \"netforce_hr\", \"name\": \"report_pnd91\", \"type\": \"form\", \"model\": \"report.pnd91\", \"layout\": \"\n<form model=\\\"report.pnd91\\\" title=\\\"PND91: Personal Income Tax Report\\\">\\n    \n    <field name=\\\"year\\\" mode=\\\"year\\\"/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Print Cover\\\" method=\\\"print_pnd91_cover\\\" icon=\\\"print\\\"/>\\n\n        <button string=\\\"Print Attachment\\\" method=\\\"print_pnd91_attach\\\" icon=\\\"print\\\"/>\\n\n    </foot>\\n\n</form>\"}, \"payitem_form\": {\"module\": \"netforce_hr\", \"name\": \"payitem_form\", \"type\": \"form\", \"model\": \"hr.payitem\", \"layout\": \"\n<form model=\\\"hr.payitem\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <separator string=\\\"Accounting\\\"/>\\n\n    <field name=\\\"account_id\\\" domain='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]'/>\\n\n    <field name=\\\"acc_type\\\"/>\\n\n    <group attrs='{\\\"invisible\\\":[[\\\"type\\\",\\\"!=\\\",\\\"wage\\\"]]}'>\\n        \n        <separator string=\\\"Wage Type\\\"/>\\n\n        <field name=\\\"wage_type\\\"/>\\n\n        <group attrs='{\\\"invisible\\\":[[\\\"wage_type\\\",\\\"!=\\\",\\\"overtime\\\"]]}'>\\n            \n            <field name=\\\"times\\\"/>\\n\n        </group>\\n\n        <group attrs='{\\\"invisible\\\":[[\\\"wage_type\\\",\\\"!=\\\",\\\"bonus\\\"]]}'>\\n            \n            <field name=\\\"months\\\"/>\\n\n        </group>\\n\n    </group>\\n\n    <group attrs='{\\\"invisible\\\":[[\\\"type\\\",\\\"!=\\\",\\\"tax\\\"]]}'>\\n        \n        <separator string=\\\"Tax Computation\\\"/>\\n\n        <field name=\\\"tax_type\\\"/>\\n\n    </group>\\n\n    <group attrs='{\\\"invisible\\\":[[\\\"type\\\",\\\"!=\\\",\\\"deduct\\\"]]}'>\\n        \n        <separator string=\\\"Deduction Type\\\"/>\\n\n        <field name=\\\"deduct_type\\\"/>\\n\n    </group>\\n\n    <group attrs='{\\\"invisible\\\":[[\\\"type\\\",\\\"!=\\\",\\\"contrib\\\"]]}'>\\n        \n        <separator string=\\\"Contrib Type\\\"/>\\n\n        <field name=\\\"contrib_type\\\"/>\\n\n    </group>\\n\n    <separator string=\\\"Preferences\\\"/>\\n\n    <field name=\\\"show_default\\\"/>\\n\n    <group span=\\\"4\\\" attrs='{\\\"invisible\\\":[[\\\"type\\\",\\\"in\\\",[\\\"tax\\\",\\\"contrib\\\"]]]}'>\\n        \n        <field name=\\\"include_tax\\\" attrs='{\\\"invisible\\\":[[\\\"type\\\",\\\"=\\\",\\\"tax\\\"]]}'/>\\n\n        <field name=\\\"include_sso\\\" attrs='{\\\"invisible\\\":[[\\\"contrib_type\\\",\\\"in\\\",[\\\"sso\\\",\\\"tax\\\"]]]}'/>\\n\n        <field name=\\\"include_pnd1\\\" attrs='{\\\"invisible\\\":[[\\\"type\\\",\\\"=\\\",\\\"tax\\\"]]}'/>\\n\n        <field name=\\\"fix_income\\\" attrs='{\\\"invisible\\\":[[\\\"type\\\",\\\"in\\\",[\\\"tax\\\",\\\"deduct\\\",\\\"contrib\\\"]]]}'/>\\n\n    </group>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"payitem_list\": {\"module\": \"netforce_hr\", \"name\": \"payitem_list\", \"type\": \"list\", \"model\": \"hr.payitem\", \"layout\": \"\n<list model=\\\"hr.payitem\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"account_id\\\"/>\\n\n</list>\\n\"}, \"payitem_profile_form\": {\"module\": \"netforce_hr\", \"name\": \"payitem_profile_form\", \"type\": \"form\", \"model\": \"hr.payitem.profile\", \"layout\": \"\n<form model=\\\"hr.payitem.profile\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"name\\\" span=\\\"4\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"pay_items\\\" span=\\\"12\\\"/>\\n\n    </group>\\n\n</form>\\n\"}, \"attend_config_list\": {\"module\": \"netforce_hr\", \"name\": \"attend_config_list\", \"type\": \"list\", \"model\": \"hr.attendance.config\", \"layout\": \"\n<list model=\\\"hr.attendance.config\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"user\\\"/>\\n\n    <field name=\\\"ip_address\\\"/>\\n\n    <field name=\\\"port\\\"/>\\n\n</list>\"}, \"room_list\": {\"module\": \"netforce_hr\", \"name\": \"room_list\", \"type\": \"list\", \"model\": \"room\", \"layout\": \"\n<list model=\\\"room\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</list>\"}, \"payrun_journal\": {\"module\": \"netforce_hr\", \"name\": \"payrun_journal\", \"type\": \"form\", \"model\": \"hr.payrun.journal\", \"layout\": \"\n<form model=\\\"hr.payrun.journal\\\">\\n    \n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n            \n            <list>\\n                \n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"account_id\\\"/>\\n\n                <field name=\\\"debit\\\" onchange=\\\"onchange_line\\\"/>\\n\n                <field name=\\\"credit\\\" onchange=\\\"onchange_line\\\"/>\\n\n            </list>\\n\n        </field>\\n\n        <field name=\\\"payrun_id\\\" invisible=\\\"1\\\"/>\\n\n    </group>\\n\n    <group span=\\\"6\\\" columns=\\\"1\\\"></group>\\n\n    <group span=\\\"6\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"total_debit\\\"/>\\n\n        <field name=\\\"total_credit\\\"/>\\n\n    </group>\\n\n    <foot>\\n        \n        <button string=\\\"Validate\\\" type=\\\"success\\\" method=\\\"post\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"hr_notification\": {\"module\": \"netforce_hr\", \"name\": \"hr_notification\", \"type\": \"form\", \"model\": \"hr.notification\", \"layout\": \"\n<form model=\\\"hr.notification\\\" title=\\\"Notification Settings\\\">\\n    \n    <tabs>\\n        \n        <tab string=\\\"Trigger Event\\\">\\n            \n            <field name=\\\"birthday_ntf\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Templates\\\">\\n            \n            <group form_layout=\\\"stacked\\\" span=\\\"6\\\">\\n                \n                <separator string=\\\"Birthday\\\"/>\\n\n                <field name=\\\"subject\\\" span=\\\"12\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"description\\\" span=\\\"12\\\" height=\\\"150\\\"/>\\n\n            </group>\\n\n            <group span=\\\"6\\\" cols=\\\"1\\\">\\n            </group>\\n\n        </tab>\\n\n    </tabs>\\n\n</form>\\n\"}, \"payslip_journal\": {\"module\": \"netforce_hr\", \"name\": \"payslip_journal\", \"type\": \"form\", \"model\": \"hr.payslip.journal\", \"layout\": \"\n<form model=\\\"hr.payslip.journal\\\">\\n        \n    <field name=\\\"lines\\\" nolabel=\\\"1\\\">\\n            \n        <list>\\n                \n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"account_id\\\"/>\\n\n            <field name=\\\"debit\\\" onchange=\\\"onchange_line\\\"/>\\n\n            <field name=\\\"credit\\\" onchange=\\\"onchange_line\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <field name=\\\"payslip_id\\\" invisible=\\\"1\\\"/>\\n\n    <group span=\\\"6\\\" columns=\\\"1\\\"></group>\\n\n    <group span=\\\"6\\\" columns=\\\"1\\\">\\n        \n        <field name=\\\"total_debit\\\"/>\\n\n        <field name=\\\"total_credit\\\"/>\\n\n    </group>\\n\n    <foot>\\n        \n        <button string=\\\"Validate\\\" type=\\\"success\\\" method=\\\"post\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"attend_widget\": {\"module\": \"netforce_hr\", \"name\": \"attend_widget\", \"type\": \"list\", \"model\": \"hr.employee\", \"priority\": 20, \"layout\": \"\n<list model=\\\"hr.employee\\\" priority=\\\"20\\\">\\n    \n    <field name=\\\"first_name\\\"/>\\n\n    <field name=\\\"last_name\\\"/>\\n\n    <field name=\\\"time_in\\\"/>\\n\n    <field name=\\\"time_out\\\"/>\\n\n    <field name=\\\"attend_state\\\"/>\\n\n</list>\\n\"}, \"tax_year_list\": {\"module\": \"netforce_hr\", \"name\": \"tax_year_list\", \"type\": \"list\", \"model\": \"hr.tax.year\", \"layout\": \"\n<list model=\\\"hr.tax.year\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</list>\\n\"}, \"payslip_template_list\": {\"module\": \"netforce_hr\", \"name\": \"payslip_template_list\", \"type\": \"list\", \"model\": \"hr.payslip.template\", \"layout\": \"\n<list model=\\\"hr.payslip.template\\\">\\n    \n    <field name=\\\"employee_id\\\"/>\\n\n    <!--<field name=\\\"name\\\"/>-->\\n\n</list>\\n\"}, \"leave_type_form\": {\"module\": \"netforce_hr\", \"name\": \"leave_type_form\", \"type\": \"form\", \"model\": \"hr.leave.type\", \"layout\": \"\n<form model=\\\"hr.leave.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\"}, \"room_reserve_list\": {\"module\": \"netforce_hr\", \"name\": \"room_reserve_list\", \"type\": \"list\", \"model\": \"room.reserve\", \"layout\": \"\n<list model=\\\"room.reserve\\\">\\n    \n    <field name=\\\"request_date\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"room_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"from_time\\\"/>\\n\n    <field name=\\\"to_time\\\"/>\\n\n    <field name=\\\"details\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\"}, \"payrun_list\": {\"module\": \"netforce_hr\", \"name\": \"payrun_list\", \"type\": \"list\", \"model\": \"hr.payrun\", \"layout\": \"\n<list model=\\\"hr.payrun\\\" colors='{\\\"#cfc\\\":[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]],\\\"#9f9\\\":[[\\\"state\\\",\\\"=\\\",\\\"paid\\\"]]}'>\\n    \n    <head>\\n        \n        <button string=\\\"To Draft\\\" method=\\\"to_draft\\\" icon=\\\"repeat\\\" type=\\\"default\\\"/>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" icon=\\\"ok\\\" type=\\\"default\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <field name=\\\"date_pay\\\"/>\\n\n    <field name=\\\"num_employees\\\"/>\\n\n    <field name=\\\"amount_employee\\\"/>\\n\n    <field name=\\\"amount_other\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"holiday_calendar\": {\"module\": \"netforce_hr\", \"name\": \"holiday_calendar\", \"type\": \"calendar\", \"model\": \"hr.holiday\", \"layout\": \"\n<calendar model=\\\"hr.holiday\\\" date_field=\\\"date\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</calendar>\"}, \"payslip_tax_list\": {\"module\": \"netforce_hr\", \"name\": \"payslip_tax_list\", \"type\": \"list\", \"model\": \"hr.payslip.tax\", \"layout\": \"\n<list model=\\\"hr.payslip.tax\\\">\\n    \n    <field name=\\\"payslip_id\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"amount\\\" onchange=\\\"onchange_amount\\\"/>\\n\n</list>\"}, \"employee_list\": {\"module\": \"netforce_hr\", \"name\": \"employee_list\", \"type\": \"list\", \"model\": \"hr.employee\", \"layout\": \"\n<list model=\\\"hr.employee\\\" colors='{\\\"#ccc\\\":[[\\\"work_status\\\",\\\"!=\\\",\\\"working\\\"]]}'>\\n    \n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"first_name\\\"/>\\n\n    <field name=\\\"last_name\\\"/>\\n\n    <field name=\\\"position\\\"/>\\n\n    <field name=\\\"department_id\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"work_status\\\"/>\\n\n    <field name=\\\"attendance_code\\\"/>\\n\n    <field name=\\\"picture\\\" preview=\\\"1\\\"/>\\n\n</list>\\n\"}, \"leave_calendar\": {\"module\": \"netforce_hr\", \"name\": \"leave_calendar\", \"type\": \"calendar\", \"model\": \"hr.leave\", \"layout\": \"\n<calendar model=\\\"hr.leave\\\" date_field=\\\"start_date\\\" colors='{\\\"#090\\\":[[\\\"state\\\",\\\"in\\\",[\\\"approved\\\"]]],\\\"#999\\\":[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]],\\\"#c00\\\":[[\\\"state\\\",\\\"=\\\",\\\"rejected\\\"]]}'>\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"leave_type_id\\\"/>\\n\n    <field name=\\\"days_requested\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</calendar>\"}, \"leave_export\": {\"module\": \"netforce_hr\", \"name\": \"leave_export\", \"type\": \"export\", \"model\": \"hr.leave\", \"layout\": \"\n<export model=\\\"hr.leave\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <field name=\\\"leave_type_id\\\"/>\\n\n    <field name=\\\"period_id\\\"/>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"end_date\\\"/>\\n\n    <field name=\\\"time_from\\\"/>\\n\n    <field name=\\\"time_to\\\"/>\\n\n    <field name=\\\"leave_reason\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</export>\"}, \"attend_list\": {\"module\": \"netforce_hr\", \"name\": \"attend_list\", \"type\": \"list\", \"model\": \"hr.attendance\", \"layout\": \"\n<list model=\\\"hr.attendance\\\">\\n    \n    <top replace=\\\"1\\\">\\n        \n        <button string=\\\"Sign In\\\" icon=\\\"plus\\\" action=\\\"attend\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"context\\\":{\\\"action\\\":\\\"sign_in\\\"}}'/>\\n\n        <button string=\\\"Sign Out\\\" icon=\\\"minus\\\" action=\\\"attend\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"context\\\":{\\\"action\\\":\\\"sign_out\\\"}}'/>\\n\n        <button string=\\\"Import Sign In/Out\\\" icon=\\\"eject\\\" action=\\\"import_attend\\\"/>\\n\n    </top>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"action\\\"/>\\n\n    <field name=\\\"mode\\\"/>\\n\n</list>\\n\"}, \"department_form\": {\"module\": \"netforce_hr\", \"name\": \"department_form\", \"type\": \"form\", \"model\": \"hr.department\", \"layout\": \"\n<form model=\\\"hr.department\\\" show_company=\\\"1\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"attend_form\": {\"module\": \"netforce_hr\", \"name\": \"attend_form\", \"type\": \"form\", \"model\": \"hr.attendance\", \"layout\": \"\n<form model=\\\"hr.attendance\\\">\\n    \n    <field name=\\\"employee_id\\\"/>\\n\n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"action\\\"/>\\n\n    <field name=\\\"mode\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"report_pnd1_kor\": {\"module\": \"netforce_hr\", \"name\": \"report_pnd1_kor\", \"type\": \"form\", \"model\": \"report.pnd1.kor\", \"layout\": \"\n<form model=\\\"report.pnd1.kor\\\" title=\\\"PND1 Kor: Personal Income Tax Report\\\">\\n    \n    <field name=\\\"year\\\" mode=\\\"year\\\" span=\\\"3\\\"/>\\n\n    <field name=\\\"doc_date\\\" span=\\\"4\\\"/>\\n\n    <field name=\\\"show_doc_date\\\" span=\\\"3\\\"/>\\n\n    <field name=\\\"name_pay\\\" span=\\\"3\\\"/>\\n\n    <field name=\\\"position\\\" span=\\\"3\\\"/>\\n\n    <field name=\\\"show_name\\\" span=\\\"3\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Print Cover\\\" method=\\\"print_cover\\\" icon=\\\"print\\\"/>\\n\n        <button string=\\\"Print Attachment\\\" method=\\\"print_attach\\\" icon=\\\"print\\\"/>\\n\n        <button string=\\\"Print Excel\\\" method=\\\"print_xls\\\" icon=\\\"print\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"folder_form\": {\"module\": \"netforce_document\", \"name\": \"folder_form\", \"type\": \"form\", \"model\": \"folder\", \"layout\": \"\n<form model=\\\"folder\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"sub_folders\\\"/>\\n\n        <field name=\\\"docs\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"doc_calendar\": {\"module\": \"netforce_document\", \"name\": \"doc_calendar\", \"type\": \"calendar\", \"model\": \"document\", \"layout\": \"\n<calendar model=\\\"document\\\" date_field=\\\"expiry_date\\\" colors='{\\\"#c00\\\":[[\\\"expired\\\",\\\"=\\\",true]]}'>\\n    \n    <field name=\\\"file\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"categ_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"expired\\\" invisible=\\\"1\\\"/>\\n\n</calendar>\\n\"}, \"reminder_form\": {\"module\": \"netforce_document\", \"name\": \"reminder_form\", \"type\": \"form\", \"model\": \"reminder\", \"layout\": \"\n<form model=\\\"reminder\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Send Email\\\" method=\\\"send_email\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"scheduled_date\\\"/>\\n\n    <field name=\\\"doc_id\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"subject\\\"/>\\n\n    <field name=\\\"body\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</form>\\n\"}, \"folder_list\": {\"module\": \"netforce_document\", \"name\": \"folder_list\", \"type\": \"list\", \"model\": \"folder\", \"layout\": \"\n<list model=\\\"folder\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"num_files\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n</list>\\n\"}, \"doc_tmpl_list\": {\"module\": \"netforce_document\", \"name\": \"doc_tmpl_list\", \"type\": \"list\", \"model\": \"document.tmpl\", \"layout\": \"\n<list model=\\\"document.tmpl\\\">\\n    \n    <field name=\\\"file\\\"/>\\n\n    <field name=\\\"categ_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n</list>\"}, \"reminder_list\": {\"module\": \"netforce_document\", \"name\": \"reminder_list\", \"type\": \"list\", \"model\": \"reminder\", \"layout\": \"\n<list model=\\\"reminder\\\" colors='{\\\"#9f9\\\":[[\\\"state\\\",\\\"=\\\",\\\"sent\\\"]]}'>\\n    \n    <field name=\\\"scheduled_date\\\"/>\\n\n    <field name=\\\"doc_id\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"subject\\\"/>\\n\n    <field name=\\\"body\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"doc_tmpl_form\": {\"module\": \"netforce_document\", \"name\": \"doc_tmpl_form\", \"type\": \"form\", \"model\": \"document.tmpl\", \"layout\": \"\n<form model=\\\"document.tmpl\\\">\\n    \n    <field name=\\\"file\\\"/>\\n\n    <field name=\\\"categ_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"attachments\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"user_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"file\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\"}, \"doc_categ_list\": {\"module\": \"netforce_document\", \"name\": \"doc_categ_list\", \"type\": \"list\", \"model\": \"document.categ\", \"layout\": \"\n<list model=\\\"document.categ\\\">\\n    \n    <field name=\\\"full_name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"expire_after\\\"/>\\n\n</list>\"}, \"doc_form\": {\"module\": \"netforce_document\", \"name\": \"doc_form\", \"type\": \"form\", \"model\": \"document\", \"layout\": \"\n<form model=\\\"document\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Create Reminders\\\" method=\\\"create_reminders\\\" confirm=\\\"Are you sure? This will delete existing reminders.\\\"/>\\n\n            <item string=\\\"Delete Pending Reminders\\\" method=\\\"delete_pending_reminders\\\" confirm=\\\"Are you sure?\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"verified\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <group attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"=\\\",\\\"verified\\\"]]}'>\\n        \n        <field name=\\\"title\\\"/>\\n\n        <field name=\\\"date\\\"/>\\n\n        <field name=\\\"expiry_date\\\"/>\\n\n        <separator/>\\n\n        <field name=\\\"contact_id\\\"/>\\n\n        <field name=\\\"related_id\\\"/>\\n\n        <separator/>\\n\n        <field name=\\\"folder_id\\\"/>\\n\n        <field name=\\\"categ_id\\\" onchange=\\\"onchange_categ\\\"/>\\n\n        <field name=\\\"description\\\"/>\\n\n        <separator/>\\n\n        <field name=\\\"files\\\" view=\\\"field_files\\\" onchange=\\\"onchange_files\\\"/>\\n\n    </group>\\n\n    <!--<field name=\\\"share\\\"/>-->\\n    \n    <foot>\\n        \n        <button string=\\\"Verified\\\" method=\\\"to_verified\\\" type=\\\"success\\\" states=\\\"draft\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"notifs\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"doc_menu\": {\"module\": \"netforce_document\", \"name\": \"doc_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Documents\\\">\\n    \n    <item string=\\\"Dashboard\\\" action=\\\"doc_board\\\"/>\\n\n    <item string=\\\"Documents\\\" action=\\\"doc_doc\\\"/>\\n\n    <item string=\\\"Folders\\\" action=\\\"folder\\\"/>\\n\n    <item string=\\\"Settings\\\">\\n        \n        <item string=\\\"Document Categories\\\" action=\\\"doc_categ\\\"/>\\n\n        <item string=\\\"Document Templates\\\" action=\\\"doc_tmpl\\\"/>\\n</item>\\n\n</menu>\\n\"}, \"doc_expiring_list\": {\"module\": \"netforce_document\", \"name\": \"doc_expiring_list\", \"type\": \"list\", \"model\": \"document\", \"priority\": 20, \"layout\": \"\n<list model=\\\"document\\\" colors='{\\\"expiry_date,#f00\\\":[[\\\"expired\\\",\\\"=\\\",true]]}' priority=\\\"20\\\">\\n    \n    <field name=\\\"file\\\" target=\\\"_blank\\\"/>\\n\n    <field name=\\\"categ_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"expiry_date\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"expired\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"doc_list\": {\"module\": \"netforce_document\", \"name\": \"doc_list\", \"type\": \"list\", \"model\": \"document\", \"priority\": 1, \"layout\": \"\n<list model=\\\"document\\\" colors='{\\\"expiry_date,#f00\\\":[[\\\"expired\\\",\\\"=\\\",true]]}' priority=\\\"1\\\">\\n    \n    <field name=\\\"files\\\" format=\\\"files\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"expiry_date\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"folder_id\\\"/>\\n\n    <field name=\\\"categ_id\\\"/>\\n\n    <field name=\\\"next_notif_date\\\"/>\\n\n</list>\\n\"}, \"doc_categ_form\": {\"module\": \"netforce_document\", \"name\": \"doc_categ_form\", \"type\": \"form\", \"model\": \"document.categ\", \"layout\": \"\n<form model=\\\"document.categ\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"expire_after\\\" help=\\\"Examples: 30d, 6m, 1y\\\"/>\\n\n    <field name=\\\"file_name\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"reminder_templates\\\">\\n            \n            <list>\\n                \n                <field name=\\\"scheduled_date\\\"/>\\n\n                <field name=\\\"user_id\\\"/>\\n\n                <field name=\\\"subject\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"scheduled_date\\\"/>\\n\n                <field name=\\\"user_id\\\"/>\\n\n                <field name=\\\"subject\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"doc_board\": {\"module\": \"netforce_document\", \"name\": \"doc_board\", \"type\": \"board\", \"layout\": \"\n<board>\\n    \n    <vpanel>\\n        \n        <widget string=\\\"Documents expiring within 35 days\\\" action=\\\"doc_expiring_widget\\\"/>\\n\n    </vpanel>\\n\n    <vpanel>\\n        \n        <widget string=\\\"Documents per category\\\" action=\\\"doc_categ_widget\\\"/>\\n\n    </vpanel>\\n\n</board>\"}, \"session_list\": {\"module\": \"netforce_cms\", \"name\": \"session_list\", \"type\": \"list\", \"model\": \"visitor.session\", \"layout\": \"\n<list model=\\\"visitor.session\\\">\\n    \n    <field name=\\\"create_time\\\"/>\\n\n    <field name=\\\"id_no\\\"/>\\n\n    <field name=\\\"visitor_id\\\"/>\\n\n    <field name=\\\"num_actions\\\"/>\\n\n</list>\\n\"}, \"cms_menu\": {\"module\": \"netforce_cms\", \"name\": \"cms_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Website\\\">\\n    \n    <item string=\\\"Dashboard\\\" icon=\\\"fa_chart_pie\\\" action=\\\"cms_board\\\"/>\\n\n    <item string=\\\"Content\\\" icon=\\\"fa_align_left\\\">\\n        \n        <item string=\\\"Page Contents\\\" action=\\\"page\\\"/>\\n\n        <item string=\\\"Blogs\\\" action=\\\"blog\\\"/>\\n\n        <item string=\\\"Blog Posts\\\" action=\\\"blog_post\\\"/>\\n\n        <item string=\\\"Blocks\\\" action=\\\"cms_block\\\"/>\\n\n        <item string=\\\"Navigation\\\" action=\\\"linklist\\\"/>\\n\n        <item string=\\\"Form Submissions\\\" action=\\\"form_data\\\"/>\\n</item>\\n\n    <item string=\\\"Design\\\" icon=\\\"fa_edit\\\">\\n        \n        <item string=\\\"Page Builder\\\" action=\\\"page_builder\\\"/>\\n\n        <item string=\\\"Pages\\\" action=\\\"page_layout\\\"/>\\n\n        <item string=\\\"Page Groups\\\" action=\\\"page_group\\\"/>\\n\n        <item string=\\\"Element Groups\\\" action=\\\"el_group\\\"/>\\n\n        <item string=\\\"Page Styles\\\" action=\\\"page_style\\\"/>\\n</item>\\n\n    <item string=\\\"Settings\\\" icon=\\\"fa_cog\\\">\\n        \n        <item string=\\\"Websites\\\" action=\\\"website\\\"/>\\n\n        <item string=\\\"Themes\\\" action=\\\"theme\\\"/>\\n\n        <item string=\\\"Components\\\" action=\\\"component\\\"/>\\n\n        <item string=\\\"Static Files\\\" action=\\\"theme_file\\\"/>\\n\n        <item string=\\\"Rewrite Rules\\\" action=\\\"url_rewrite\\\"/>\\n</item>\\n\n    <item string=\\\"Tracking\\\">\\n        \n        <item string=\\\"Visitors\\\" action=\\\"visitor\\\"/>\\n\n        <item string=\\\"Sessions\\\" action=\\\"visitor_session\\\"/>\\n\n        <item string=\\\"Actions\\\" action=\\\"visitor_action\\\"/>\\n</item>\\n\n</menu>\\n\"}, \"url_rewrite_list\": {\"module\": \"netforce_cms\", \"name\": \"url_rewrite_list\", \"type\": \"list\", \"model\": \"url.rewrite\", \"layout\": \"\n<list model=\\\"url.rewrite\\\">\\n    \n    <field name=\\\"path_from\\\"/>\\n\n    <field name=\\\"path_to\\\"/>\\n\n</list>\\n\"}, \"session_form\": {\"module\": \"netforce_cms\", \"name\": \"session_form\", \"type\": \"form\", \"model\": \"visitor.session\", \"layout\": \"\n<form model=\\\"visitor.session\\\">\\n    \n    <field name=\\\"create_time\\\"/>\\n\n    <field name=\\\"id_no\\\"/>\\n\n    <field name=\\\"visitor_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"actions\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"page_style_list\": {\"module\": \"netforce_cms\", \"name\": \"page_style_list\", \"type\": \"list\", \"model\": \"page.style\", \"layout\": \"\n<list model=\\\"page.style\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</list>\\n\"}, \"theme_form\": {\"module\": \"netforce_cms\", \"name\": \"theme_form\", \"type\": \"form\", \"model\": \"theme\", \"layout\": \"\n<form model=\\\"theme\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"websites\\\"/>\\n\n        <field name=\\\"components\\\"/>\\n\n        <field name=\\\"files\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"cms_settings\": {\"module\": \"netforce_cms\", \"name\": \"cms_settings\", \"type\": \"form\", \"model\": \"cms.settings\", \"layout\": \"\n<form model=\\\"cms.settings\\\" title=\\\"Ecommerce Settings\\\">\\n    \n    <separator string=\\\"General Settings\\\"/>\\n\n    <field name=\\\"shop_name\\\"/>\\n\n    <separator string=\\\"Products\\\"/>\\n\n    <field name=\\\"parent_categ_id\\\"/>\\n\n    <field name=\\\"parent_collection_id\\\"/>\\n\n    <field name=\\\"preview_doc_categ_id\\\"/>\\n\n    <separator string=\\\"Contact\\\"/>\\n\n    <field name=\\\"contact_categ_id\\\"/>\\n\n    <field name=\\\"news_categ_id\\\"/>\\n\n    <field name=\\\"target_list_id\\\"/>\\n\n    <field name=\\\"auto_create_account\\\"/>\\n\n    <separator string=\\\"Users\\\"/>\\n\n    <field name=\\\"user_profile_id\\\"/>\\n\n    <separator string=\\\"Accounting\\\"/>\\n\n    <field name=\\\"sale_account_id\\\"/>\\n\n    <field name=\\\"sale_tax_id\\\"/>\\n\n    <field name=\\\"account_receivable_id\\\"/>\\n\n    <field name=\\\"cash_account_id\\\"/>\\n\n    <field name=\\\"invoice_flag\\\"/>\\n\n    <separator string=\\\"Report Templates\\\"/>\\n\n    <field name=\\\"invoice_template_id\\\"/>\\n\n    <field name=\\\"payment_slip_template_id\\\"/>\\n\n    <separator string=\\\"Google Analytic\\\"/>\\n\n    <field name=\\\"ga_script\\\"/>\\n\n    <separator string=\\\"Bank Transfer Payment Method\\\"/>\\n\n    <field name=\\\"bank_method_id\\\"/>\\n\n    <separator string=\\\"Paypal paymethod\\\"/>\\n\n    <field name=\\\"paypal_flag\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"paypal_user\\\"/>\\n\n    <field name=\\\"paypal_password\\\"/>\\n\n    <field name=\\\"paypal_signature\\\"/>\\n\n    <field name=\\\"paypal_url\\\"/>\\n\n    <field name=\\\"paypal_account_id\\\"/>\\n\n    <field name=\\\"paypal_method_id\\\"/>\\n\n    <separator string=\\\"Paysbuy paymethod\\\"/>\\n\n    <field name=\\\"paysbuy_flag\\\"/>\\n\n    <field name=\\\"paysbuy_id\\\"/>\\n\n    <field name=\\\"paysbuy_username\\\"/>\\n\n    <field name=\\\"paysbuy_securecode\\\"/>\\n\n    <field name=\\\"paysbuy_url\\\"/>\\n\n    <field name=\\\"paysbuy_account_id\\\"/>\\n\n    <field name=\\\"paysbuy_method_id\\\"/>\\n\n    <field name=\\\"paysbuy_account_method_id\\\"/>\\n\n    <field name=\\\"paysbuy_credit_method_id\\\"/>\\n\n    <field name=\\\"paysbuy_paypal_method_id\\\"/>\\n\n    <field name=\\\"paysbuy_american_method_id\\\"/>\\n\n    <field name=\\\"paysbuy_online_method_id\\\"/>\\n\n    <field name=\\\"paysbuy_cash_method_id\\\"/>\\n\n    <field name=\\\"paysbuy_purse_method_id\\\"/>\\n\n    <field name=\\\"paysbuy_installments_method_id\\\"/>\\n\n    <separator string=\\\"SCB creditcard paymethod\\\"/>\\n\n    <field name=\\\"scb_flag\\\"/>\\n\n    <field name=\\\"scb_mid\\\"/>\\n\n    <field name=\\\"scb_terminal\\\"/>\\n\n    <field name=\\\"scb_url\\\"/>\\n\n    <field name=\\\"scb_account_id\\\"/>\\n\n    <field name=\\\"scb_method_id\\\"/>\\n\n    <separator string=\\\"Shipping\\\"/>\\n\n    <field name=\\\"ship_product_id\\\"/>\\n\n    <separator string=\\\"Email Notifications\\\"/>\\n\n    <field name=\\\"order_confirm_email_tmpl_id\\\"/>\\n\n    <field name=\\\"create_account_email_tmpl_id\\\"/>\\n\n    <field name=\\\"reset_pass_email_tmpl_id\\\"/>\\n\n    <field name=\\\"payment_paid_email_tmpl_id\\\"/>\\n\n    <field name=\\\"product_delivery_email_tmpl_id\\\"/>\\n\n</form>\\n\"}, \"template_list\": {\"module\": \"netforce_cms\", \"name\": \"template_list\", \"type\": \"list\", \"model\": \"template\", \"layout\": \"\n<list model=\\\"template\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"theme_id\\\"/>\\n\n    <field name=\\\"module_id\\\"/>\\n\n</list>\\n\"}, \"page_group_list\": {\"module\": \"netforce_cms\", \"name\": \"page_group_list\", \"type\": \"list\", \"model\": \"page.group\", \"layout\": \"\n<list model=\\\"page.group\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</list>\\n\"}, \"block_list\": {\"module\": \"netforce_cms\", \"name\": \"block_list\", \"type\": \"list\", \"model\": \"cms.block\", \"layout\": \"\n<list model=\\\"cms.block\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n</list>\"}, \"component_list\": {\"module\": \"netforce_cms\", \"name\": \"component_list\", \"type\": \"list\", \"model\": \"theme.component\", \"layout\": \"\n<list model=\\\"theme.component\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Sync Components\\\" method=\\\"sync_components\\\" icon=\\\"refresh\\\"/>\\n\n    </head>\\n\n    <field name=\\\"theme_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n</list>\\n\"}, \"block_form\": {\"module\": \"netforce_cms\", \"name\": \"block_form\", \"type\": \"form\", \"model\": \"cms.block\", \"layout\": \"\n<form model=\\\"cms.block\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"html\\\" width=\\\"900\\\" height=\\\"500\\\" view=\\\"field_code\\\" mode=\\\"html\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"component_form\": {\"module\": \"netforce_cms\", \"name\": \"component_form\", \"type\": \"form\", \"model\": \"theme.component\", \"layout\": \"\n<form model=\\\"theme.component\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"theme_id\\\"/>\\n\n    <separator string=\\\"Code (JSX)\\\"/>\\n\n    <field name=\\\"body\\\" width=\\\"100%\\\" height=\\\"600\\\" view=\\\"field_code\\\" mode=\\\"jsx\\\" nolabel=\\\"1\\\" span=\\\"12\\\"/>\\n\n</form>\\n\"}, \"visitor_form\": {\"module\": \"netforce_cms\", \"name\": \"visitor_form\", \"type\": \"form\", \"model\": \"visitor\", \"layout\": \"\n<form model=\\\"visitor\\\">\\n    \n    <field name=\\\"create_time\\\"/>\\n\n    <field name=\\\"id_no\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"user_agent\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"sessions\\\"/>\\n\n        <field name=\\\"actions\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"template_form\": {\"module\": \"netforce_cms\", \"name\": \"template_form\", \"type\": \"form\", \"model\": \"template\", \"layout\": \"\n<form model=\\\"template\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"theme_id\\\"/>\\n\n    <field name=\\\"module_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"template\\\" width=\\\"800\\\" height=\\\"500\\\" view=\\\"field_code\\\" mode=\\\"handlebars\\\"/>\\n\n</form>\\n\"}, \"blog_list\": {\"module\": \"netforce_cms\", \"name\": \"blog_list\", \"type\": \"list\", \"model\": \"cms.blog\", \"layout\": \"\n<list model=\\\"cms.blog\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</list>\"}, \"page_layout_form\": {\"module\": \"netforce_cms\", \"name\": \"page_layout_form\", \"type\": \"form\", \"model\": \"page.layout\", \"layout\": \"\n<form model=\\\"page.layout\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Options\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Transpile\\\" method=\\\"transpile\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Create Checkpoint\\\" method=\\\"create_checkpoint\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"path\\\"/>\\n\n    <field name=\\\"group_id\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"website_id\\\"/>\\n\n    <field name=\\\"show_menu\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"model_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <!-- Chin Added -->\\n    \n    <field name=\\\"version\\\" readonly=\\\"1\\\"/>\\n\n    <field name=\\\"parent_id\\\" readonly=\\\"1\\\"/>\\n\n    <field name=\\\"remarks\\\"/>\\n\n    <!-- End Edit -->\\n    \n    <newline/>\\n\n    <field name=\\\"layout\\\" width=\\\"800\\\" height=\\\"500\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"code\\\" width=\\\"800\\\" height=\\\"500\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"code_trans\\\" width=\\\"800\\\" height=\\\"500\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"checkpoints\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"el_group_list\": {\"module\": \"netforce_cms\", \"name\": \"el_group_list\", \"type\": \"list\", \"model\": \"el.group\", \"layout\": \"\n<list model=\\\"el.group\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</list>\\n\"}, \"cms_main_menu\": {\"module\": \"netforce_cms\", \"name\": \"cms_main_menu\", \"type\": \"inherit\", \"inherit\": \"main_menu\", \"layout\": \"\n<inherit inherit=\\\"main_menu\\\">\\n\n    <!--<item string=\\\"General\\\" position=\\\"before\\\">-->\\n\n    <!--<item string=\\\"Website\\\" action=\\\"cms_board\\\"/>-->\\n\n    <!--</item>-->\\n\n</inherit>\\n\"}, \"linklist_list\": {\"module\": \"netforce_cms\", \"name\": \"linklist_list\", \"type\": \"list\", \"model\": \"cms.linklist\", \"layout\": \"\n<list model=\\\"cms.linklist\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</list>\"}, \"screen_list\": {\"module\": \"netforce_cms\", \"name\": \"screen_list\", \"type\": \"list\", \"model\": \"screen\", \"layout\": \"\n<list model=\\\"screen\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</list>\\n\"}, \"visitor_list\": {\"module\": \"netforce_cms\", \"name\": \"visitor_list\", \"type\": \"list\", \"model\": \"visitor\", \"layout\": \"\n<list model=\\\"visitor\\\" colors='{\\\"#ccc\\\":[[\\\"is_bot\\\",\\\"=\\\",true]],\\\"#cfc\\\":[[\\\"is_paid\\\",\\\"=\\\",true]]}'>\\n    \n    <field name=\\\"create_time\\\"/>\\n\n    <field name=\\\"id_no\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"user_agent\\\"/>\\n\n    <field name=\\\"is_bot\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"is_paid\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"num_sessions\\\"/>\\n\n    <field name=\\\"num_actions\\\"/>\\n\n</list>\\n\"}, \"theme_list\": {\"module\": \"netforce_cms\", \"name\": \"theme_list\", \"type\": \"list\", \"model\": \"theme\", \"layout\": \"\n<list model=\\\"theme\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Import ZIP\\\" action=\\\"import_theme_zip\\\" icon=\\\"download\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <button string=\\\"Export ZIP\\\" method=\\\"export_zip\\\" icon=\\\"upload\\\"/>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n</list>\\n\"}, \"screen_form\": {\"module\": \"netforce_cms\", \"name\": \"screen_form\", \"type\": \"form\", \"model\": \"screen\", \"layout\": \"\n<form model=\\\"screen\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"layout\\\" width=\\\"800\\\" height=\\\"500\\\"/>\\n\n</form>\\n\"}, \"page_style_form\": {\"module\": \"netforce_cms\", \"name\": \"page_style_form\", \"type\": \"form\", \"model\": \"page.style\", \"layout\": \"\n<form model=\\\"page.style\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"styles\\\" width=\\\"800\\\" height=\\\"500\\\"/>\\n\n</form>\\n\"}, \"page_form\": {\"module\": \"netforce_cms\", \"name\": \"page_form\", \"type\": \"form\", \"model\": \"cms.page\", \"layout\": \"\n<form model=\\\"cms.page\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"body\\\" width=\\\"900\\\" height=\\\"500\\\" view=\\\"field_code\\\" mode=\\\"html\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"template\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"meta_description\\\"/>\\n\n    <field name=\\\"meta_keywords\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"blocks\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"visitor_action_list\": {\"module\": \"netforce_cms\", \"name\": \"visitor_action_list\", \"type\": \"list\", \"model\": \"visitor.action\", \"layout\": \"\n<list model=\\\"visitor.action\\\">\\n    \n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"visitor_id\\\"/>\\n\n    <field name=\\\"session_id\\\"/>\\n\n    <field name=\\\"ip_addr\\\"/>\\n\n    <field name=\\\"action_type\\\"/>\\n\n    <field name=\\\"location\\\"/>\\n\n</list>\\n\"}, \"form_data_form\": {\"module\": \"netforce_cms\", \"name\": \"form_data_form\", \"type\": \"form\", \"model\": \"form.data\", \"layout\": \"\n<form model=\\\"form.data\\\">\\n    \n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"data\\\"/>\\n\n</form>\\n\"}, \"form_data_list\": {\"module\": \"netforce_cms\", \"name\": \"form_data_list\", \"type\": \"list\", \"model\": \"form.data\", \"layout\": \"\n<list model=\\\"form.data\\\">\\n    \n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n</list>\\n\"}, \"cms_message_list\": {\"module\": \"netforce_cms\", \"name\": \"cms_message_list\", \"type\": \"list\", \"model\": \"cms.customer.message\", \"layout\": \"\n<list model=\\\"cms.customer.message\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"email\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</list>\\n\"}, \"visitor_action_form\": {\"module\": \"netforce_cms\", \"name\": \"visitor_action_form\", \"type\": \"form\", \"model\": \"visitor.action\", \"layout\": \"\n<form model=\\\"visitor.action\\\">\\n    \n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"ip_addr\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"visitor_id\\\"/>\\n\n    <field name=\\\"session_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"action_type\\\"/>\\n\n    <field name=\\\"details\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"location\\\"/>\\n\n    <field name=\\\"referrer\\\"/>\\n\n</form>\\n\"}, \"el_group_form\": {\"module\": \"netforce_cms\", \"name\": \"el_group_form\", \"type\": \"form\", \"model\": \"el.group\", \"layout\": \"\n<form model=\\\"el.group\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</form>\\n\"}, \"website_list\": {\"module\": \"netforce_cms\", \"name\": \"website_list\", \"type\": \"list\", \"model\": \"website\", \"layout\": \"\n<list model=\\\"website\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"domain\\\"/>\\n\n    <field name=\\\"theme_id\\\"/>\\n\n</list>\\n\"}, \"cms_board\": {\"module\": \"netforce_cms\", \"name\": \"cms_board\", \"type\": \"board\", \"layout\": \"\n<board>\\n    \n    <hpanel>\\n        \n        <widget action=\\\"visitors_per_day\\\" string=\\\"Visitors Per Day\\\" span=\\\"12\\\"/>\\n\n    </hpanel>\\n\n</board>\\n\"}, \"page_layout_list\": {\"module\": \"netforce_cms\", \"name\": \"page_layout_list\", \"type\": \"list\", \"model\": \"page.layout\", \"layout\": \"\n<list model=\\\"page.layout\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Set Completed\\\" method=\\\"set_done\\\"/>\\n\n        <button string=\\\"To Draft\\\" method=\\\"to_draft\\\"/>\\n\n        <button string=\\\"Transpile\\\" method=\\\"transpile\\\"/>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"path\\\"/>\\n\n    <field name=\\\"group_id\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <!--<field name=\\\"website_id\\\"/>\\n    <field name=\\\"show_menu\\\"/>\\n    <field name=\\\"sequence\\\"/>\\n    <field name=\\\"model_id\\\"/>-->\\n    \n    <!-- Chin added -->\\n    \n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"version\\\"/>\\n\n    <field name=\\\"remarks\\\"/>\\n\n    <field name=\\\"create_uid\\\"/>\\n\n    <field name=\\\"create_time\\\"/>\\n\n    <!-- end Edit -->\\n    \n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"page_group_form\": {\"module\": \"netforce_cms\", \"name\": \"page_group_form\", \"type\": \"form\", \"model\": \"page.group\", \"layout\": \"\n<form model=\\\"page.group\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</form>\\n\"}, \"linklist_form\": {\"module\": \"netforce_cms\", \"name\": \"linklist_form\", \"type\": \"form\", \"model\": \"cms.linklist\", \"layout\": \"\n<form model=\\\"cms.linklist\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <separator string=\\\"Items\\\"/>\\n\n    <field name=\\\"items\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"title\\\"/>\\n\n            <field name=\\\"type\\\"/>\\n\n            <field name=\\\"url\\\"/>\\n\n        </list>\\n\n    </field>\\n\n</form>\"}, \"cms_message_form\": {\"module\": \"netforce_cms\", \"name\": \"cms_message_form\", \"type\": \"form\", \"model\": \"cms.customer.message\", \"layout\": \"\n<form model=\\\"cms.customer.message\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"email\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</form>\\n\"}, \"theme_file_form\": {\"module\": \"netforce_cms\", \"name\": \"theme_file_form\", \"type\": \"form\", \"model\": \"theme.file\", \"layout\": \"\n<form model=\\\"theme.file\\\">\\n    \n    <field name=\\\"theme_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"file\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"body\\\" width=\\\"800\\\" height=\\\"500\\\" view=\\\"field_code\\\"/>\\n\n</form>\\n\"}, \"website_form\": {\"module\": \"netforce_cms\", \"name\": \"website_form\", \"type\": \"form\", \"model\": \"website\", \"layout\": \"\n<form model=\\\"website\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"domain\\\"/>\\n\n    <field name=\\\"theme_id\\\"/>\\n\n</form>\\n\"}, \"page_list\": {\"module\": \"netforce_cms\", \"name\": \"page_list\", \"type\": \"list\", \"model\": \"cms.page\", \"layout\": \"\n<list model=\\\"cms.page\\\">\\n    \n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"url_rewrite_form\": {\"module\": \"netforce_cms\", \"name\": \"url_rewrite_form\", \"type\": \"form\", \"model\": \"url.rewrite\", \"layout\": \"\n<form model=\\\"url.rewrite\\\">\\n    \n    <field name=\\\"path_from\\\"/>\\n\n    <field name=\\\"path_to\\\"/>\\n\n</form>\\n\"}, \"blog_post_form\": {\"module\": \"netforce_cms\", \"name\": \"blog_post_form\", \"type\": \"form\", \"model\": \"cms.blog.post\", \"layout\": \"\n<form model=\\\"cms.blog.post\\\">\\n    \n    <field name=\\\"blog_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"body\\\" width=\\\"900\\\" height=\\\"300\\\" view=\\\"field_code\\\" model=\\\"html\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"meta_description\\\"/>\\n\n    <field name=\\\"meta_keywords\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"blocks\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"blog_form\": {\"module\": \"netforce_cms\", \"name\": \"blog_form\", \"type\": \"form\", \"model\": \"cms.blog\", \"layout\": \"\n<form model=\\\"cms.blog\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"posts\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"import_theme_zip\": {\"module\": \"netforce_cms\", \"name\": \"import_theme_zip\", \"type\": \"form\", \"model\": \"import.theme.zip\", \"layout\": \"\n<form model=\\\"import.theme.zip\\\">\\n    \n    <field name=\\\"file\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Import\\\" method=\\\"import_zip\\\" type=\\\"primary\\\" show_progress=\\\"1\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"blog_post_list\": {\"module\": \"netforce_cms\", \"name\": \"blog_post_list\", \"type\": \"list\", \"model\": \"cms.blog.post\", \"layout\": \"\n<list model=\\\"cms.blog.post\\\">\\n    \n    <field name=\\\"blog_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n</list>\\n\"}, \"theme_file_list\": {\"module\": \"netforce_cms\", \"name\": \"theme_file_list\", \"type\": \"list\", \"model\": \"theme.file\", \"layout\": \"\n<list model=\\\"theme.file\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Export Files\\\" method=\\\"export_files\\\"/>\\n\n    </head>\\n\n    <field name=\\\"theme_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"size\\\"/>\\n\n</list>\\n\"}, \"shopee_account_list\": {\"module\": \"netforce_shopee\", \"name\": \"shopee_account_list\", \"type\": \"list\", \"model\": \"shopee.account\", \"layout\": \"\n<list model=\\\"shopee.account\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Get Products\\\" method=\\\"get_products\\\" show_progress=\\\"1\\\"/>\\n\n        <button string=\\\"Download Orders\\\" method=\\\"get_orders\\\" show_progress=\\\"1\\\"/>\\n\n        <button string=\\\"Download Payments\\\" method=\\\"get_payments\\\" show_progress=\\\"1\\\"/>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"shop_idno\\\"/>\\n\n    <!--<field name=\\\"pricelist_id\\\"/>-->\\n    \n    <field name=\\\"stock_journal_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n</list>\\n\"}, \"ecom2_cart_list\": {\"module\": \"netforce_ecom2\", \"name\": \"ecom2_cart_list\", \"type\": \"list\", \"model\": \"ecom2.cart\", \"layout\": \"\n<list model=\\\"ecom2.cart\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"customer_id\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"ship_address_id\\\"/>\\n\n    <field name=\\\"delivery_date\\\"/>\\n\n    <field name=\\\"delivery_slot_id\\\"/>\\n\n    <field name=\\\"comments\\\"/>\\n\n    <field name=\\\"voucher_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n</list>\\n\"}, \"fulfillment_bill_form\": {\"module\": \"netforce_ecom2\", \"name\": \"fulfillment_bill_form\", \"type\": \"form\", \"model\": \"fulfillment.bill\", \"layout\": \"\n<form model=\\\"fulfillment.bill\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"confirmed\\\"]]]}' show_company=\\\"1\\\" show_save=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_fulfillment_bill_form3\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\" align=\\\"right\\\">\\n            \n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\"/>\\n\n            <!--  <item string=\\\"To Void\\\" method=\\\"void\\\"/> -->\\n            \n            <divider/>\\n\n            <item string=\\\"Generate Monthly Bill\\\" method=\\\"generate_bill\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <group form_layout=\\\"stacked\\\">\\n                \n                <field name=\\\"number\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"contact_id\\\" span=\\\"2\\\" onchange=\\\"onchange_contact\\\"/>\\n\n                <field name=\\\"month\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"year\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"memo\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"related_id\\\" span=\\\"2\\\"/>\\n\n                <field name=\\\"currency_id\\\" span=\\\"2\\\"/>\\n\n                <!-- <field name=\\\"currency_rate\\\"/> -->\\n                \n                <field name=\\\"bill_address_id\\\" span=\\\"4\\\"/>\\n\n            </group>\\n\n            <field name=\\\"lines\\\">\\n                \n                <list>\\n                \n                    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n                    <field name=\\\"description\\\"/>\\n\n                    <field name=\\\"qty\\\" onchange=\\\"onchange_unit_price\\\"/>\\n\n                    <field name=\\\"uom_id\\\"/>\\n\n                    <field name=\\\"unit_price\\\" onchange=\\\"onchange_unit_price\\\"/>\\n\n                    <!-- <field name=\\\"discount\\\"/>\\n                <field name=\\\"discount_amount\\\"/> -->\\n                \n                    <field name=\\\"amount\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <group offset=\\\"8\\\" span=\\\"4\\\" columns=\\\"1\\\">\\n                \n                <field name=\\\"qty_total\\\"/>\\n\n                <field name=\\\"amount_total\\\"/>\\n\n                <field name=\\\"remarks\\\"/>\\n\n            </group>\\n\n        </tab>\\n\n    </tabs> \\n\n    <foot>\\n        \n        <button string=\\\"Confirm\\\" method=\\\"to_confirm\\\" attrs='{\\\"invisible\\\":[[\\\"state\\\",\\\"in\\\",[\\\"confirmed\\\"]]]}'/>\\n\n    </foot>\\n\n</form>\\n\"}, \"ecom2_sale_form\": {\"module\": \"netforce_ecom2\", \"name\": \"ecom2_sale_form\", \"type\": \"inherit\", \"inherit\": \"sale_form\", \"layout\": \"\n<inherit inherit=\\\"sale_form\\\">\\n    \n    <field name=\\\"ship_tracking\\\" position=\\\"after\\\">\\n        \n        <newline/>\\n\n        <field name=\\\"ecom_state\\\"/>\\n</field>\\n\n</inherit>\\n\"}, \"shopee_account_form\": {\"module\": \"netforce_shopee\", \"name\": \"shopee_account_form\", \"type\": \"form\", \"model\": \"shopee.account\", \"layout\": \"\n<form model=\\\"shopee.account\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Sync\\\">\\n            \n            <item string=\\\"Refresh Access Token\\\" method=\\\"refresh_access_token\\\"/>\\n\n            <item string=\\\"Get Shop Info\\\" method=\\\"get_info\\\" show_progress=\\\"1\\\"/>\\n\n            <item string=\\\"Get Product Categories\\\" method=\\\"get_categ\\\" show_progress=\\\"1\\\"/>\\n\n            <!--<item string=\\\"Get Shop Categories\\\" method=\\\"get_shop_categ\\\" show_progress=\\\"1\\\"/>-->\\n            \n            <!--<item string=\\\"Get Brands\\\" method=\\\"get_brands\\\" show_progress=\\\"1\\\"/>-->\\n            \n            <!--<item string=\\\"Get Logistic Channels\\\" method=\\\"get_logis\\\" show_progress=\\\"1\\\"/>-->\\n            \n            <item string=\\\"Get Products\\\" method=\\\"get_products\\\" show_progress=\\\"1\\\"/>\\n\n            <divider/>\\n\n            <!--<item string=\\\"Upload Categories\\\" method=\\\"upload_categs\\\" show_progress=\\\"1\\\"/>-->\\n            \n            <!--<item string=\\\"Upload Products\\\" method=\\\"upload_products\\\" show_progress=\\\"1\\\"/>-->\\n            \n            <divider/>\\n\n            <item string=\\\"Download Orders\\\" method=\\\"get_orders\\\" show_progress=\\\"1\\\"/>\\n\n            <item string=\\\"Download Payments\\\" method=\\\"get_payments\\\" show_progress=\\\"1\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <field name=\\\"name\\\"/>\\n\n            <field name=\\\"shop_idno\\\"/>\\n\n            <field name=\\\"region\\\"/>\\n\n            <field name=\\\"status\\\"/>\\n\n            <!--<field name=\\\"sale_channel_id\\\"/>-->\\n            \n            <!--<field name=\\\"pricelist_id\\\"/>-->\\n            \n            <field name=\\\"stock_journal_id\\\"/>\\n\n            <field name=\\\"contact_id\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Accounting\\\">\\n            \n            <field name=\\\"ewallet_account_id\\\"/>\\n\n            <field name=\\\"debtor_account_id\\\"/>\\n\n            <field name=\\\"sale_account_id\\\"/>\\n\n            <field name=\\\"track_id\\\"/>\\n\n            <field name=\\\"payment_adjustment_account_id\\\"/>\\n\n            <field name=\\\"buyer_paid_shipping_fee_account_id\\\"/>\\n\n            <field name=\\\"shopee_charged_shipping_fee_account_id\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Sync\\\">\\n            \n            <field name=\\\"order_last_update_time\\\"/>\\n\n            <field name=\\\"payment_last_update_time\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Settings\\\">\\n            \n            <field name=\\\"require_invoice\\\"/>\\n\n            <field name=\\\"company_id\\\"/>\\n\n            <field name=\\\"invoice_prefix\\\"/>\\n\n            <field name=\\\"payment_prefix\\\"/>\\n\n            <field name=\\\"pick_out_prefix\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"OAuth2\\\">\\n            \n            <field name=\\\"auth_code\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"token\\\"/>\\n\n            <field name=\\\"refresh_token\\\"/>\\n\n            <field name=\\\"token_expiry_time\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <foot>\\n        \n        <button string=\\\"Authorize\\\" method=\\\"authorize\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"sync_records\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"fulfillment_bill\": {\"module\": \"netforce_ecom2\", \"name\": \"fulfillment_bill\", \"type\": \"action\", \"layout\": \"\n<action>\\n    \n    <field name=\\\"string\\\">3PL Billing</field>\\n\n    <field name=\\\"view\\\">multi_view</field>\\n\n    <field name=\\\"model\\\">fulfillment.bill</field>\\n\n    <field name=\\\"list_layout\\\">fulfillment_bill_list</field>\\n\n    <field name=\\\"form_layout\\\">fulfillment_bill_form</field>\\n\n    <field name=\\\"model_string\\\">Fulfillment Billing</field>\\n\n    <field name=\\\"modes\\\">list,form,calendar</field>\\n\n    <field name=\\\"menu\\\">ecom2_menu</field>\\n\n</action>\\n\"}, \"ecom2_cart_form\": {\"module\": \"netforce_ecom2\", \"name\": \"ecom2_cart_form\", \"type\": \"form\", \"model\": \"ecom2.cart\", \"layout\": \"\n<form model=\\\"ecom2.cart\\\" show_company=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_cart_form\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"confirmed\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <field name=\\\"number\\\"/>\\n\n            <field name=\\\"date\\\"/>\\n\n            <field name=\\\"customer_id\\\"/>\\n\n            <field name=\\\"delivery_date\\\"/>\\n\n            <field name=\\\"ship_address_id\\\" condition='[[\\\"contact_id\\\",\\\"=\\\",customer_id]]'/>\\n\n            <field name=\\\"delivery_slot_id\\\"/>\\n\n            <field name=\\\"bill_address_id\\\" condition='[[\\\"contact_id\\\",\\\"=\\\",customer_id]]'/>\\n\n            <field name=\\\"currency_id\\\"/>\\n\n            <field name=\\\"ship_method_id\\\"/>\\n\n            <field name=\\\"pay_method_id\\\"/>\\n\n            <field name=\\\"pay_amount\\\"/>\\n\n            <!--field name=\\\"delivery_delay\\\"/>-->\\n            \n            <field name=\\\"rounding\\\"/>\\n\n            <field name=\\\"lines\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"product_id\\\"/>\\n\n                    <field name=\\\"lot_id\\\"/>\\n\n                    <field name=\\\"weight\\\"/>\\n\n                    <field name=\\\"unit_price\\\"/>\\n\n                    <field name=\\\"qty\\\"/>\\n\n                    <field name=\\\"uom_id\\\"/>\\n\n                    <field name=\\\"discount\\\"/>\\n\n                    <field name=\\\"delivery_date\\\"/>\\n\n                    <field name=\\\"ship_method_id\\\"/>\\n\n                    <field name=\\\"ship_address_id\\\" condition='[[\\\"contact_id\\\",\\\"=\\\",parent.customer_id]]'/>\\n\n                    <field name=\\\"delivery_slot_id\\\"/>\\n\n                    <field name=\\\"packaging_id\\\"/>\\n\n                    <field name=\\\"addons\\\"/>\\n\n                    <field name=\\\"qty_avail\\\"/>\\n\n                    <field name=\\\"delivery_delay\\\"/>\\n\n                    <field name=\\\"delivery_weekdays\\\"/>\\n\n                    <field name=\\\"amount\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <field name=\\\"amount_ship\\\"/>\\n\n            <field name=\\\"amount_voucher\\\"/>\\n\n            <field name=\\\"amount_total\\\"/>\\n\n            <field name=\\\"state\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"comments\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Checkout\\\">\\n            \n            <field name=\\\"email\\\"/>\\n\n            <newline/>\\n\n            <group span=\\\"6\\\" columns=\\\"1\\\">\\n                \n                <separator string=\\\"Billing Details\\\"/>\\n\n                <field name=\\\"bill_first_name\\\"/>\\n\n                <field name=\\\"bill_last_name\\\"/>\\n\n                <field name=\\\"bill_company\\\"/>\\n\n                <field name=\\\"bill_phone\\\"/>\\n\n                <field name=\\\"bill_country\\\"/>\\n\n                <field name=\\\"bill_address\\\"/>\\n\n                <field name=\\\"bill_postal_code\\\"/>\\n\n                <field name=\\\"bill_city\\\"/>\\n\n            </group>\\n\n            <group span=\\\"6\\\" columns=\\\"1\\\">\\n                \n                <separator string=\\\"Shipping Details\\\"/>\\n\n                <field name=\\\"ship_first_name\\\"/>\\n\n                <field name=\\\"ship_last_name\\\"/>\\n\n                <field name=\\\"ship_company\\\"/>\\n\n                <field name=\\\"ship_phone\\\"/>\\n\n                <field name=\\\"ship_country\\\"/>\\n\n                <field name=\\\"ship_address\\\"/>\\n\n                <field name=\\\"ship_postal_code\\\"/>\\n\n                <field name=\\\"ship_city\\\"/>\\n\n            </group>\\n\n        </tab>\\n\n        <tab string=\\\"Other\\\">\\n            \n            <field name=\\\"voucher_id\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"delivery_slots_str\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"transaction_no\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <foot>\\n        \n        <button string=\\\"Confirm Order\\\" method=\\\"confirm\\\" type=\\\"success\\\" icon=\\\"arrow-right\\\" states=\\\"draft\\\"/>\\n\n        <button string=\\\"Cancel Order\\\" method=\\\"cancel_order\\\" type=\\\"danger\\\" icon=\\\"remove\\\" states=\\\"waiting_payment,paid\\\" confirm=\\\"Are you sure?\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"sale_orders\\\"/>\\n\n        <field name=\\\"documents\\\"/>\\n\n        <field name=\\\"logs\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"ecom2_board\": {\"module\": \"netforce_ecom2\", \"name\": \"ecom2_board\", \"type\": \"board\", \"layout\": \"\n<board>\\n</board>\\n\"}, \"ecom2_menu\": {\"module\": \"netforce_ecom2\", \"name\": \"ecom2_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Ecommerce\\\">\\n    \n    <item string=\\\"Dashboard\\\" action=\\\"ecom2_board\\\"/>\\n\n    <item string=\\\"Carts\\\" action=\\\"ecom2_cart\\\"/>\\n\n    <item string=\\\"3PL Billing\\\" action=\\\"fulfillment_bill\\\"/>\\n\n    <item string=\\\"Settings\\\" action=\\\"ecom2_settings\\\"/>\\n\n</menu>\\n\"}, \"fulfillment_bill_list\": {\"module\": \"netforce_ecom2\", \"name\": \"fulfillment_bill_list\", \"type\": \"list\", \"model\": \"fulfillment.bill\", \"priority\": 20, \"layout\": \"\n<list model=\\\"fulfillment.bill\\\" priority=\\\"20\\\">\\n    \n    <top>\\n        \n        <button string=\\\"To Draft\\\" method=\\\"to_draft\\\"/>\\n\n        <button string=\\\"Void\\\" method=\\\"void\\\"/>\\n\n        <button string=\\\"Generate Bill\\\" method=\\\"generate_bill_all\\\"/>\\n\n    </top>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"month\\\"/>\\n\n    <field name=\\\"qty_total\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n</list>\\n\"}, \"ecom2_settings\": {\"module\": \"netforce_ecom2\", \"name\": \"ecom2_settings\", \"type\": \"form\", \"model\": \"ecom2.settings\", \"layout\": \"\n<form model=\\\"ecom2.settings\\\">\\n    \n    <field name=\\\"delivery_slot_discount\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"delivery_max_days\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"delivery_min_hours\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"ecom_num_lots\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"sale_lead_time_nostock\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"work_time_start\\\"/>\\n\n    <field name=\\\"work_time_end\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"ecom_return_url\\\"/>\\n\n    <newline/>\\n\n    <separator string=\\\"Fulfillment Billing Chargeable\\\"/>\\n\n    <field name=\\\"waybill_processing\\\"/>\\n\n    <field name=\\\"waybill_processing_fee\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"extra_ship_addresses\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"ecom2_contact_form\": {\"module\": \"netforce_ecom2\", \"name\": \"ecom2_contact_form\", \"type\": \"inherit\", \"inherit\": \"contact_form\", \"layout\": \"\n<inherit inherit=\\\"contact_form\\\">\\n    \n    <field name=\\\"sale_orders\\\" position=\\\"after\\\">\\n        \n        <field name=\\\"previous_sale_products\\\"/>\\n</field>\\n\n</inherit>\\n\"}, \"shopee_app_form\": {\"module\": \"netforce_ecom2\", \"name\": \"shopee_app_form\", \"type\": \"form\", \"model\": \"shopee.app\", \"layout\": \"\n<form model=\\\"shopee.app\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"partner_id\\\"/>\\n\n    <field name=\\\"partner_key\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"shopee_accounts\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"shopee_app_list\": {\"module\": \"netforce_ecom2\", \"name\": \"shopee_app_list\", \"type\": \"list\", \"model\": \"shopee.app\", \"layout\": \"\n<list model=\\\"shopee.app\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"partner_id\\\"/>\\n\n    <field name=\\\"partner_key\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"addon_form\": {\"module\": \"netforce_addon\", \"name\": \"addon_form\", \"type\": \"form\", \"model\": \"addon\", \"layout\": \"\n<form model=\\\"addon\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"price\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"price_plans\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Install\\\" method=\\\"install_addon\\\" type=\\\"success\\\" states=\\\"not_installed\\\"/>\\n\n        <button string=\\\"Uninstall\\\" method=\\\"uninstall_addon\\\" states=\\\"installed\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"addon_menu\": {\"module\": \"netforce_addon\", \"name\": \"addon_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Addons\\\">\\n    \n    <item string=\\\"Addons\\\" action=\\\"addon\\\"/>\\n\n    <item string=\\\"Billing\\\" action=\\\"billing\\\"/>\\n\n</menu>\\n\"}, \"bill_credit_card_list\": {\"module\": \"netforce_addon\", \"name\": \"bill_credit_card_list\", \"type\": \"list\", \"model\": \"bill.credit.card\", \"layout\": \"\n<list model=\\\"bill.credit.card\\\">\\n    \n    <head replace=\\\"1\\\"/>\\n\n    <field name=\\\"date_added\\\"/>\\n\n</list>\\n\"}, \"price_plan_form\": {\"module\": \"netforce_addon\", \"name\": \"price_plan_form\", \"type\": \"form\", \"model\": \"price.plan\", \"layout\": \"\n<form model=\\\"price.plan\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"price\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"addons\\\"/>\\n\n</form>\\n\"}, \"billing\": {\"module\": \"netforce_addon\", \"name\": \"billing\", \"type\": \"page\", \"model\": \"settings\", \"layout\": \"\n<page model=\\\"settings\\\" title=\\\"Billing\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Change Price Plan\\\" action=\\\"change_price_plan\\\" icon=\\\"refresh\\\"/>\\n\n        <button string=\\\"Add Credit Card\\\" action=\\\"bill_add_card\\\" icon=\\\"plus\\\"/>\\n\n        <button string=\\\"Pay With Paypal\\\" method=\\\"pay_paypal\\\" icon=\\\"arrow-right\\\"/>\\n\n    </head>\\n\n    <field name=\\\"bill_plan_id\\\"/>\\n\n    <field name=\\\"bill_plan_cost\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"bill_addon_cost\\\"/>\\n\n    <field name=\\\"bill_month_cost\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"bill_balance\\\"/>\\n\n    <related_tabs>\\n        \n        <tab string=\\\"Billing Periods\\\" action=\\\"bill_period\\\"/>\\n\n        <tab string=\\\"Credit Cards\\\" action=\\\"bill_credit_card\\\"/>\\n\n    </related_tabs>\\n\n</page>\\n\"}, \"bill_period_list\": {\"module\": \"netforce_addon\", \"name\": \"bill_period_list\", \"type\": \"list\", \"model\": \"bill.period\", \"layout\": \"\n<list model=\\\"bill.period\\\" hide_select=\\\"1\\\">\\n    \n    <head replace=\\\"1\\\"/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <field name=\\\"amount_bill\\\"/>\\n\n    <field name=\\\"amount_paid\\\"/>\\n\n</list>\\n\"}, \"change_price_plan\": {\"module\": \"netforce_addon\", \"name\": \"change_price_plan\", \"type\": \"form\", \"model\": \"settings\", \"layout\": \"\n<form model=\\\"settings\\\">\\n    \n    <field name=\\\"bill_plan_id\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Save\\\" type=\\\"primary\\\" method=\\\"change_price_plan\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"price_plan_list\": {\"module\": \"netforce_addon\", \"name\": \"price_plan_list\", \"type\": \"list\", \"model\": \"price.plan\", \"layout\": \"\n<list model=\\\"price.plan\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"price\\\"/>\\n\n</list>\\n\"}, \"addon_list\": {\"module\": \"netforce_addon\", \"name\": \"addon_list\", \"type\": \"list\", \"model\": \"addon\", \"layout\": \"\n<list model=\\\"addon\\\" colors='{\\\"#cfc\\\":[[\\\"state\\\",\\\"=\\\",\\\"installed\\\"]]}'>\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"plan_price\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"pos_product_m\": {\"module\": \"netforce_mobile\", \"name\": \"pos_product_m\", \"type\": \"grid_m\", \"model\": \"product\", \"layout\": \"\n<grid_m model=\\\"product\\\" image_field=\\\"image\\\" method=\\\"pos_add_to_cart\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</grid_m>\\n\"}, \"opport_lost_m\": {\"module\": \"netforce_mobile\", \"name\": \"opport_lost_m\", \"type\": \"form_m\", \"model\": \"sale.opportunity\", \"priority\": 20, \"layout\": \"\n<form_m model=\\\"sale.opportunity\\\" priority=\\\"20\\\">\\n    \n    <field name=\\\"lost_reason_id\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Lost\\\" method=\\\"lost\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form_m>\\n\"}, \"pick_qc_check_m\": {\"module\": \"netforce_mobile\", \"name\": \"pick_qc_check_m\", \"type\": \"form_m\", \"model\": \"qc.result\", \"layout\": \"\n<form_m model=\\\"qc.result\\\">\\n    \n    <field name=\\\"pick_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"move_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"total_qty\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"sample_qty\\\"/>\\n\n    <field name=\\\"result\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"test1\\\"/>\\n\n    <field name=\\\"test2\\\"/>\\n\n    <field name=\\\"test3\\\"/>\\n\n    <field name=\\\"test4\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"image\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"OK\\\" method=\\\"dummy\\\" type=\\\"primary\\\" size=\\\"large\\\"/>\\n\n    </foot>\\n\n</form_m>\\n\"}, \"reason_code_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"reason_code_form_m\", \"type\": \"form_m\", \"model\": \"reason.code\", \"layout\": \"\n<form_m model=\\\"reason.code\\\">\\n    \n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n</form_m>\\n\"}, \"aln_doc_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"aln_doc_form_m\", \"type\": \"form_m\", \"model\": \"aln.doc\", \"layout\": \"\n<form_m model=\\\"aln.doc\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"client_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"doc_type_id\\\"/>\\n\n    <field name=\\\"job_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"file\\\"/>\\n\n</form_m>\\n\"}, \"transform_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"transform_form_m\", \"type\": \"form_m\", \"model\": \"stock.transform\", \"layout\": \"\n<form_m model=\\\"stock.transform\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <separator string=\\\"From Product\\\"/>\\n\n    <field name=\\\"from_product_id\\\" onchange=\\\"onchange_from_product\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"from_lot_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"from_qty\\\" onchange=\\\"onchange_from_qty\\\"/>\\n\n    <field name=\\\"from_uom_id\\\"/>\\n\n    <separator string=\\\"To Product\\\"/>\\n\n    <field name=\\\"to_product_id\\\" onchange=\\\"onchange_to_product\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"to_lot_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"to_qty\\\"/>\\n\n    <field name=\\\"to_uom_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Validate\\\" method=\\\"validate\\\" type=\\\"success\\\" states=\\\"draft\\\" icon=\\\"ios-checkmark\\\"/>\\n\n        <button string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"done,voided\\\"/>\\n\n        <button string=\\\"Void\\\" method=\\\"void\\\" states=\\\"done\\\" type=\\\"danger\\\" confirm=\\\"Are you sure?\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"stock_moves\\\"/>\\n\n    </related>\\n\n</form_m>\\n\"}, \"quot_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"quot_list_m\", \"type\": \"list_m\", \"model\": \"sale.quot\", \"layout\": \"\n<list_m model=\\\"sale.quot\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n</list_m>\\n\"}, \"stock_count_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"stock_count_form_m\", \"type\": \"form_m\", \"model\": \"stock.count\", \"layout\": \"\n<form_m model=\\\"stock.count\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"lines\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n            <field name=\\\"new_qty\\\"/>\\n\n            <field name=\\\"new_cost_amount\\\"/>\\n\n        </list>\\n\n    </field>\\n\n</form_m>\\n\"}, \"lead_refer_m\": {\"module\": \"netforce_mobile\", \"name\": \"lead_refer_m\", \"type\": \"form_m\", \"model\": \"sale.lead\", \"priority\": 20, \"layout\": \"\n<form_m model=\\\"sale.lead\\\" priority=\\\"20\\\">\\n    \n    <field name=\\\"refer_reason_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"refer_contact_id\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Refer\\\" method=\\\"refer\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form_m>\\n\"}, \"aln_job_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"aln_job_list_m\", \"type\": \"list_m\", \"model\": \"aln.job\", \"layout\": \"\n<list_m model=\\\"aln.job\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"client_id\\\"/>\\n\n    <field name=\\\"job_type_id\\\"/>\\n\n</list_m>\\n\"}, \"payment_method_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"payment_method_form_m\", \"type\": \"form_m\", \"model\": \"payment.method\", \"layout\": \"\n<form_m model=\\\"payment.method\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</form_m>\\n\"}, \"stock_balance_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"stock_balance_form_m\", \"type\": \"form_m\", \"model\": \"stock.balance\", \"layout\": \"\n<form_m model=\\\"stock.balance\\\">\\n    \n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"lot_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"qty_phys\\\"/>\\n\n    <field name=\\\"qty_virt\\\"/>\\n\n</form_m>\\n\"}, \"opport_cancel_m\": {\"module\": \"netforce_mobile\", \"name\": \"opport_cancel_m\", \"type\": \"form_m\", \"model\": \"sale.opportunity\", \"priority\": 20, \"layout\": \"\n<form_m model=\\\"sale.opportunity\\\" priority=\\\"20\\\">\\n    \n    <field name=\\\"cancel_reason_id\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Cancel Sales Opportunity\\\" method=\\\"cancel\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form_m>\\n\"}, \"stock_move_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"stock_move_form_m\", \"type\": \"form_m\", \"model\": \"stock.move\", \"layout\": \"\n<form_m model=\\\"stock.move\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"lot_id\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"location_from_id\\\"/>\\n\n    <field name=\\\"location_to_id\\\"/>\\n\n</form_m>\\n\"}, \"reason_code_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"reason_code_list_m\", \"type\": \"list_m\", \"model\": \"reason.code\", \"layout\": \"\n<list_m model=\\\"reason.code\\\">\\n    \n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n</list_m>\\n\"}, \"lead_source_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"lead_source_list_m\", \"type\": \"list_m\", \"model\": \"lead.source\", \"layout\": \"\n<list_m model=\\\"lead.source\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</list_m>\\n\"}, \"product_categ_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"product_categ_form_m\", \"type\": \"form_m\", \"model\": \"product.categ\", \"layout\": \"\n<form_m model=\\\"product.categ\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"code\\\"/>\\n\n</form_m>\\n\"}, \"project_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"project_form_m\", \"type\": \"form_m\", \"model\": \"project\", \"layout\": \"\n<form_m model=\\\"project\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n</form_m>\\n\"}, \"activity_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"activity_form_m\", \"type\": \"form_m\", \"model\": \"activity\", \"layout\": \"\n<form_m model=\\\"activity\\\">\\n    \n    <field name=\\\"due_date\\\" bold=\\\"1\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"subject\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n</form_m>\\n\"}, \"stock_journal_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"stock_journal_list_m\", \"type\": \"list_m\", \"model\": \"stock.journal\", \"layout\": \"\n<list_m model=\\\"stock.journal\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</list_m>\\n\"}, \"expense_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"expense_list_m\", \"type\": \"list_m\", \"model\": \"hr.expense\", \"layout\": \"\n<list_m model=\\\"hr.expense\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"merchant\\\"/>\\n\n    <field name=\\\"categ_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"currency_id\\\"/>\\n\n</list_m>\\n\"}, \"pos_cart_summary_m\": {\"module\": \"netforce_mobile\", \"name\": \"pos_cart_summary_m\", \"type\": \"form_m\", \"model\": \"ecom2.cart\", \"layout\": \"\n<form_m model=\\\"ecom2.cart\\\">\\n    \n    <field name=\\\"lines\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"amount\\\"/>\\n\n        </list>\\n\n        <form>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"amount\\\"/>\\n\n        </form>\\n\n    </field>\\n\n    <newline/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n</form_m>\\n\"}, \"payment_method_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"payment_method_list_m\", \"type\": \"list_m\", \"model\": \"payment.method\", \"layout\": \"\n<list_m model=\\\"payment.method\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</list_m>\\n\"}, \"transform_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"transform_list_m\", \"type\": \"list_m\", \"model\": \"stock.transform\", \"layout\": \"\n<list_m model=\\\"stock.transform\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"from_product_id\\\"/>\\n\n    <field name=\\\"to_product_id\\\"/>\\n\n</list_m>\\n\"}, \"pick_validate_line_m\": {\"module\": \"netforce_mobile\", \"name\": \"pick_validate_line_m\", \"type\": \"form_m\", \"model\": \"pick.validate.line\", \"layout\": \"\n<form_m model=\\\"pick.validate.line\\\">\\n    \n    <field name=\\\"product_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"lot\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"OK\\\" method=\\\"validate\\\" type=\\\"primary\\\" size=\\\"large\\\"/>\\n\n    </foot>\\n\n</form_m>\\n\"}, \"visitor_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"visitor_form_m\", \"type\": \"form_m\", \"model\": \"visitor\", \"layout\": \"\n<form_m model=\\\"visitor\\\">\\n    \n    <field name=\\\"create_time\\\"/>\\n\n    <field name=\\\"id_no\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"user_agent\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"sessions\\\"/>\\n\n        <field name=\\\"actions\\\"/>\\n\n    </related>\\n\n</form_m>\\n\"}, \"aln_client_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"aln_client_list_m\", \"type\": \"list_m\", \"model\": \"aln.client\", \"layout\": \"\n<list_m model=\\\"aln.client\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</list_m>\\n\"}, \"product_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"product_form_m\", \"type\": \"form_m\", \"model\": \"product\", \"layout\": \"\n<form_m model=\\\"product\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"barcode\\\" view=\\\"field_qrcode\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"categ_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"sale_price\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"description\\\"/>\\n\n</form_m>\\n\"}, \"uom_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"uom_form_m\", \"type\": \"form_m\", \"model\": \"uom\", \"layout\": \"\n<form_m model=\\\"uom\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"code\\\"/>\\n\n</form_m>\\n\"}, \"cart_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"cart_list_m\", \"type\": \"list_m\", \"model\": \"ecom2.cart\", \"layout\": \"\n<list_m model=\\\"ecom2.cart\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"customer_id\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n</list_m>\\n\"}, \"lead_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"lead_list_m\", \"type\": \"list_m\", \"model\": \"sale.lead\", \"layout\": \"\n<list_m model=\\\"sale.lead\\\">\\n    \n    <field name=\\\"date\\\" bold=\\\"1\\\"/>\\n\n    <field name=\\\"age_days\\\" bold=\\\"1\\\" label=\\\"Age\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"title\\\" label=\\\"Subject\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"contact_name\\\" label=\\\"From\\\"/>\\n\n    <newline/>\\n\n    <button title=\\\"Convert\\\" method=\\\"copy_to_opport\\\" type=\\\"success\\\" icon=\\\"ios-checkmark\\\" states=\\\"new\\\"/>\\n\n    <button title=\\\"Refer\\\" action=\\\"lead_refer_m\\\" action_options='{\\\"active_id\\\":id,\\\"mode\\\":\\\"edit\\\"}' type=\\\"warning\\\" icon=\\\"ios-arrow-round-forward\\\" states=\\\"new\\\"/>\\n\n    <button title=\\\"Void\\\" method=\\\"void\\\" type=\\\"danger\\\" icon=\\\"ios-close\\\" states=\\\"new\\\"/>\\n\n    <button title=\\\"Back To New\\\" method=\\\"set_new\\\" states=\\\"converted,referred,voided\\\" icon=\\\"ios-arrow-back\\\"/>\\n\n    <field name=\\\"state\\\" invisible=\\\"1\\\"/>\\n\n</list_m>\\n\"}, \"job_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"job_list_m\", \"type\": \"list_m\", \"model\": \"job\", \"layout\": \"\n<list_m model=\\\"job\\\">\\n    \n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n</list_m>\\n\"}, \"currency_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"currency_form_m\", \"type\": \"form_m\", \"model\": \"currency\", \"layout\": \"\n<form_m model=\\\"currency\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</form_m>\\n\"}, \"deliv_route_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"deliv_route_list_m\", \"type\": \"list_m\", \"model\": \"nd.route\", \"layout\": \"\n<list_m model=\\\"nd.route\\\">\\n    \n    <field name=\\\"delivery_date\\\"/>\\n\n    <field name=\\\"round_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"driver_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list_m>\\n\"}, \"contact_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"contact_form_m\", \"type\": \"form_m\", \"model\": \"contact\", \"layout\": \"\n<form_m model=\\\"contact\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"email\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"mobile\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"opports\\\"/>\\n\n        <field name=\\\"quotations\\\"/>\\n\n        <field name=\\\"sale_orders\\\"/>\\n\n        <field name=\\\"emails\\\"/>\\n\n    </related>\\n\n</form_m>\\n\"}, \"sale_board_m\": {\"module\": \"netforce_mobile\", \"name\": \"sale_board_m\", \"type\": \"board\", \"layout\": \"\n<board>\\n    \n    <hpanel>\\n        \n        <widget action=\\\"sale_day_widget_m\\\" string=\\\"Sales Per Day\\\"/>\\n\n        <widget action=\\\"sale_month_widget_m\\\" string=\\\"Sales per month\\\"/>\\n\n    </hpanel>\\n\n    <hpanel>\\n        \n        <widget action=\\\"sale_prod_categ_widget_m\\\" string=\\\"Sales per product category\\\"/>\\n\n    </hpanel>\\n\n</board>\\n\"}, \"sale_menu_m\": {\"module\": \"netforce_mobile\", \"name\": \"sale_menu_m\", \"type\": \"menu_m\", \"layout\": \"\n<menu_m title=\\\"Sales\\\">\\n    \n    <item title=\\\"Contacts\\\" action=\\\"contact_m\\\"/>\\n\n    <item title=\\\"Leads\\\" action=\\\"lead_m\\\"/>\\n\n    <item title=\\\"Opportunities\\\" action=\\\"opport_m\\\"/>\\n\n    <item title=\\\"Quotations\\\" action=\\\"quot_m\\\"/>\\n\n    <item title=\\\"Sales Orders\\\" action=\\\"sale_order_m\\\"/>\\n\n    <item title=\\\"Activities\\\" action=\\\"activity_m\\\"/>\\n\n</menu_m>\\n\"}, \"work_time_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"work_time_list_m\", \"type\": \"list_m\", \"model\": \"work.time\", \"layout\": \"\n<list_m model=\\\"work.time\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"resource_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"actual_hours\\\"/>\\n\n</list_m>\\n\"}, \"doc_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"doc_list_m\", \"type\": \"list_m\", \"model\": \"document\", \"layout\": \"\n<list_m model=\\\"document\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"file\\\"/>\\n\n</list_m>\\n\"}, \"employee_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"employee_list_m\", \"type\": \"list_m\", \"model\": \"hr.employee\", \"layout\": \"\n<list_m model=\\\"hr.employee\\\">\\n    \n    <field name=\\\"first_name\\\"/>\\n\n    <field name=\\\"last_name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"position\\\"/>\\n\n</list_m>\\n\"}, \"stock_count_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"stock_count_list_m\", \"type\": \"list_m\", \"model\": \"stock.count\", \"layout\": \"\n<list_m model=\\\"stock.count\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n</list_m>\\n\"}, \"pick_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"pick_list_m\", \"type\": \"list_m\", \"model\": \"stock.picking\", \"layout\": \"\n<list_m model=\\\"stock.picking\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n</list_m>\\n\"}, \"aln_doc_type_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"aln_doc_type_form_m\", \"type\": \"form_m\", \"model\": \"aln.doc.type\", \"layout\": \"\n<form_m model=\\\"aln.doc.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</form_m>\\n\"}, \"leave_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"leave_form_m\", \"type\": \"form_m\", \"model\": \"hr.leave\", \"layout\": \"\n<form_m model=\\\"hr.leave\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"end_date\\\"/>\\n\n    <field name=\\\"days_requested\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n</form_m>\\n\"}, \"session_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"session_list_m\", \"type\": \"list_m\", \"model\": \"visitor.session\", \"layout\": \"\n<list_m model=\\\"visitor.session\\\">\\n    \n    <field name=\\\"create_time\\\"/>\\n\n    <field name=\\\"id_no\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"visitor_id\\\"/>\\n\n    <field name=\\\"num_actions\\\" label=\\\"Actions\\\"/>\\n\n</list_m>\\n\"}, \"project_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"project_list_m\", \"type\": \"list_m\", \"model\": \"project\", \"layout\": \"\n<list_m model=\\\"project\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n</list_m>\\n\"}, \"inv_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"inv_form_m\", \"type\": \"form_m\", \"model\": \"account.invoice\", \"layout\": \"\n<form_m model=\\\"account.invoice\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"lines\\\">\\n        \n        <list>\\n            \n            <field name=\\\"description\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"unit_price\\\"/>\\n\n            <field name=\\\"amount\\\"/>\\n\n        </list>\\n\n        <form>\\n            \n            <field name=\\\"description\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"unit_price\\\"/>\\n\n            <field name=\\\"amount\\\"/>\\n\n        </form>\\n\n    </field>\\n\n    <field name=\\\"amount_subtotal\\\"/>\\n\n    <field name=\\\"amount_tax\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <button title=\\\"Approve\\\" method=\\\"approve\\\" type=\\\"success\\\" states=\\\"draft,waiting_approval\\\" confirm=\\\"Are you sure?\\\" icon=\\\"ios-checkmark\\\"/>\\n\n    <button title=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"waiting_payment,voided\\\" icon=\\\"ios-return-left\\\"/>\\n\n</form_m>\\n\"}, \"sale_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"sale_list_m\", \"type\": \"list_m\", \"model\": \"sale.order\", \"layout\": \"\n<list_m model=\\\"sale.order\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n</list_m>\\n\"}, \"expense_categ_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"expense_categ_form_m\", \"type\": \"form_m\", \"model\": \"hr.expense.categ\", \"layout\": \"\n<form_m model=\\\"hr.expense.categ\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</form_m>\\n\"}, \"opport_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"opport_form_m\", \"type\": \"form_m\", \"model\": \"sale.opportunity\", \"layout\": \"\n<form_m model=\\\"sale.opportunity\\\">\\n    \n    <field name=\\\"date\\\" bold=\\\"1\\\"/>\\n\n    <field name=\\\"last_email_days\\\" label=\\\"Age\\\" bold=\\\"1\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"name\\\" label=\\\"Title\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"contact_id\\\" label=\\\"Contact\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"user_id\\\" label=\\\"Assigned To\\\"/>\\n\n    <field name=\\\"stage_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"source_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"email_body\\\" view=\\\"field_html\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"state\\\" label=\\\"Status\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"quotations\\\"/>\\n\n        <field name=\\\"emails\\\"/>\\n\n    </related>\\n\n</form_m>\\n\"}, \"pick_qc_check_out_m\": {\"module\": \"netforce_mobile\", \"name\": \"pick_qc_check_out_m\", \"type\": \"form_m\", \"model\": \"qc.result\", \"layout\": \"\n<form_m model=\\\"qc.result\\\">\\n    \n    <field name=\\\"pick_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"move_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"total_qty\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"sample_qty\\\"/>\\n\n    <field name=\\\"result\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"test5\\\"/>\\n\n    <field name=\\\"test6\\\"/>\\n\n    <field name=\\\"test7\\\"/>\\n\n    <field name=\\\"test8\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"image\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"OK\\\" method=\\\"dummy\\\" type=\\\"primary\\\" size=\\\"large\\\"/>\\n\n    </foot>\\n\n</form_m>\\n\"}, \"work_time_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"work_time_form_m\", \"type\": \"form_m\", \"model\": \"work.time\", \"layout\": \"\n<form_m model=\\\"work.time\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"resource_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"actual_hours\\\"/>\\n\n</form_m>\\n\"}, \"expense_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"expense_form_m\", \"type\": \"form_m\", \"model\": \"hr.expense\", \"layout\": \"\n<form_m model=\\\"hr.expense\\\">\\n    \n    <field name=\\\"merchant\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"image\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"currency_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"categ_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"claim_id\\\"/>\\n\n</form_m>\\n\"}, \"sms_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"sms_form_m\", \"type\": \"form_m\", \"model\": \"sms.message\", \"layout\": \"\n<form_m model=\\\"sms.message\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"phone\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"body\\\"/>\\n\n</form_m>\\n\"}, \"payment_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"payment_list_m\", \"type\": \"list_m\", \"model\": \"account.payment\", \"layout\": \"\n<list_m model=\\\"account.payment\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n</list_m>\\n\"}, \"task_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"task_form_m\", \"type\": \"form_m\", \"model\": \"task\", \"layout\": \"\n<form_m model=\\\"task\\\">\\n    \n    <field name=\\\"date_created\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"resource_id\\\"/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n</form_m>\\n\"}, \"aln_meeting_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"aln_meeting_form_m\", \"type\": \"form_m\", \"model\": \"aln.meeting\", \"layout\": \"\n<form_m model=\\\"aln.meeting\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"client_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"job_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"subject\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"state\\\"/>\\n\n</form_m>\\n\"}, \"production_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"production_form_m\", \"type\": \"form_m\", \"model\": \"production.order\", \"layout\": \"\n<form_m model=\\\"production.order\\\">\\n    \n    <field name=\\\"order_date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"qty_planned\\\"/>\\n\n</form_m>\\n\"}, \"doc_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"doc_form_m\", \"type\": \"form_m\", \"model\": \"document\", \"layout\": \"\n<form_m model=\\\"document\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"file\\\"/>\\n\n</form_m>\\n\"}, \"payment_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"payment_form_m\", \"type\": \"form_m\", \"model\": \"account.payment\", \"layout\": \"\n<form_m model=\\\"account.payment\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n</form_m>\\n\"}, \"expense_claim_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"expense_claim_list_m\", \"type\": \"list_m\", \"model\": \"hr.expense.claim\", \"layout\": \"\n<list_m model=\\\"hr.expense.claim\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"num_expenses\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n</list_m>\\n\"}, \"stock_transfer_m\": {\"module\": \"netforce_mobile\", \"name\": \"stock_transfer_m\", \"type\": \"form_m\", \"model\": \"stock.transfer\", \"layout\": \"\n<form_m model=\\\"stock.transfer\\\">\\n    \n    <field name=\\\"journal_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"lot_no\\\" view=\\\"field_qrcode\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Validate\\\" method=\\\"validate\\\" type=\\\"success\\\" icon=\\\"ios-checkmark\\\"/>\\n\n    </foot>\\n\n</form_m>\\n\"}, \"pick_qc_check_in_m\": {\"module\": \"netforce_mobile\", \"name\": \"pick_qc_check_in_m\", \"type\": \"form_m\", \"model\": \"qc.result\", \"layout\": \"\n<form_m model=\\\"qc.result\\\">\\n    \n    <field name=\\\"pick_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"move_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"total_qty\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"sample_qty\\\"/>\\n\n    <field name=\\\"result\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"test1\\\"/>\\n\n    <field name=\\\"test2\\\"/>\\n\n    <field name=\\\"test3\\\"/>\\n\n    <field name=\\\"test4\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"image\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"OK\\\" method=\\\"dummy\\\" type=\\\"primary\\\" size=\\\"large\\\"/>\\n\n    </foot>\\n\n</form_m>\\n\"}, \"deliv_route_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"deliv_route_form_m\", \"type\": \"form_m\", \"model\": \"nd.route\", \"layout\": \"\n<form_m model=\\\"nd.route\\\">\\n    \n    <field name=\\\"delivery_date\\\"/>\\n\n    <field name=\\\"round_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"driver_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"orders\\\"/>\\n\n    </related>\\n\n</form_m>\\n\"}, \"activity_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"activity_list_m\", \"type\": \"list_m\", \"model\": \"activity\", \"layout\": \"\n<list_m model=\\\"activity\\\">\\n    \n    <field name=\\\"due_date\\\" bold=\\\"1\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"subject\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n</list_m>\\n\"}, \"waste_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"waste_list_m\", \"type\": \"list_m\", \"model\": \"product.waste\", \"layout\": \"\n<list_m model=\\\"product.waste\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n</list_m>\\n\"}, \"aln_job_type_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"aln_job_type_list_m\", \"type\": \"list_m\", \"model\": \"aln.job.type\", \"layout\": \"\n<list_m model=\\\"aln.job.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</list_m>\\n\"}, \"stock_move_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"stock_move_list_m\", \"type\": \"list_m\", \"model\": \"stock.move\", \"layout\": \"\n<list_m model=\\\"stock.move\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"lot_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"location_from_id\\\"/>\\n\n    <field name=\\\"location_to_id\\\"/>\\n\n</list_m>\\n\"}, \"waste_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"waste_form_m\", \"type\": \"form_m\", \"model\": \"product.waste\", \"layout\": \"\n<form_m model=\\\"product.waste\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"lot_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Validate\\\" method=\\\"validate\\\" type=\\\"success\\\" states=\\\"draft\\\" icon=\\\"ios-checkmark\\\"/>\\n\n        <button string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"done,voided\\\"/>\\n\n        <button string=\\\"Void\\\" method=\\\"void\\\" states=\\\"done\\\" type=\\\"danger\\\" confirm=\\\"Are you sure?\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"stock_moves\\\"/>\\n\n    </related>\\n\n</form_m>\\n\"}, \"stock_journal_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"stock_journal_form_m\", \"type\": \"form_m\", \"model\": \"stock.journal\", \"layout\": \"\n<form_m model=\\\"stock.journal\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</form_m>\\n\"}, \"aln_doc_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"aln_doc_list_m\", \"type\": \"list_m\", \"model\": \"aln.doc\", \"layout\": \"\n<list_m model=\\\"aln.doc\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"client_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"doc_type_id\\\"/>\\n\n    <field name=\\\"job_id\\\"/>\\n\n</list_m>\\n\"}, \"action_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"action_list_m\", \"type\": \"list_m\", \"model\": \"visitor.action\", \"layout\": \"\n<list_m model=\\\"visitor.action\\\">\\n    \n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"visitor_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"action_type\\\"/>\\n\n    <field name=\\\"session_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"location\\\"/>\\n\n</list_m>\\n\"}, \"purchase_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"purchase_form_m\", \"type\": \"form_m\", \"model\": \"purchase.order\", \"layout\": \"\n<form_m model=\\\"purchase.order\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"lines\\\">\\n        \n        <list>\\n            \n            <field name=\\\"description\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"unit_price\\\"/>\\n\n            <field name=\\\"amount\\\"/>\\n\n        </list>\\n\n        <form>\\n            \n            <field name=\\\"description\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"unit_price\\\"/>\\n\n            <field name=\\\"amount\\\"/>\\n\n        </form>\\n\n    </field>\\n\n    <field name=\\\"amount_subtotal\\\"/>\\n\n    <field name=\\\"amount_tax\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <button title=\\\"Confirm\\\" method=\\\"confirm\\\" type=\\\"success\\\" states=\\\"draft\\\" icon=\\\"ios-checkmark\\\" confirm=\\\"Are you sure?\\\"/>\\n\n    <button title=\\\"Completed\\\" method=\\\"done\\\" type=\\\"success\\\" states=\\\"confirmed\\\" icon=\\\"ios-checkmark\\\"/>\\n\n    <button title=\\\"Reopen\\\" method=\\\"reopen\\\" states=\\\"done\\\"/>\\n\n    <button title=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"confirmed,done\\\" icon=\\\"ios-return-left\\\"/>\\n\n</form_m>\\n\"}, \"pick_out_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"pick_out_form_m\", \"type\": \"form_m\", \"model\": \"stock.picking\", \"layout\": \"\n<form_m model=\\\"stock.picking\\\" title=\\\"Pack For Customer\\\">\\n    \n    <field name=\\\"type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"journal_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"lines\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <button title=\\\"QC Check\\\" action=\\\"pick_qc_check\\\" action_options='{\\\"context\\\":{\\\"move_id\\\":id},\\\"layout\\\":\\\"pick_qc_check_out_m\\\"}' icon=\\\"ios-arrow-forward\\\" parent_states='pending,approved'/>\\n\n            <button title=\\\"Validate\\\" action=\\\"pick_validate_line\\\" action_options='{\\\"context\\\":{\\\"move_id\\\":id}}' icon=\\\"ios-arrow-forward\\\" parent_states='qc_checked'/>\\n\n        </list>\\n\n        <form>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"location_from_id\\\"/>\\n\n            <field name=\\\"location_to_id\\\"/>\\n\n        </form>\\n\n    </field>\\n\n    <field name=\\\"state\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Accept\\\" method=\\\"qc_check\\\" states=\\\"pending,approved\\\" type=\\\"success\\\" icon=\\\"ios-checkmark\\\" size=\\\"large\\\"/>\\n\n        <button string=\\\"Reject\\\" method=\\\"reject\\\" states=\\\"pending,approved\\\" type=\\\"danger\\\" icon=\\\"ios-close\\\" size=\\\"large\\\"/>\\n\n        <button string=\\\"Validate\\\" method=\\\"do_validate\\\" states=\\\"qc_checked\\\" type=\\\"success\\\" icon=\\\"ios-checkmark\\\" size=\\\"large\\\"/>\\n\n        <button string=\\\"Return Products\\\" method=\\\"copy_to_return\\\" states=\\\"done\\\" type=\\\"warning\\\" size=\\\"large\\\" icon=\\\"ios-refresh\\\" confirm=\\\"Are you sure?\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"qc_results\\\" states=\\\"pending,approved\\\">\\n            \n            <list colors='{\\\"#fcc\\\":[[\\\"result\\\",\\\"=\\\",\\\"reject\\\"]],\\\"#cfc\\\":[[\\\"result\\\",\\\"=\\\",\\\"accept\\\"]]}'>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"total_qty\\\"/>\\n\n                <field name=\\\"sample_qty\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"result\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <field name=\\\"total_qty\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"sample_qty\\\"/>\\n\n                <field name=\\\"result\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"test5\\\"/>\\n\n                <field name=\\\"test6\\\"/>\\n\n                <field name=\\\"test7\\\"/>\\n\n                <field name=\\\"test8\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"image\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"validate_lines\\\" states=\\\"qc_checked\\\">\\n            \n            <list>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"qty\\\"/>\\n\n                <field name=\\\"uom_id\\\"/>\\n\n                <field name=\\\"lot\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"qty\\\"/>\\n\n                <field name=\\\"uom_id\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"lot\\\"/>\\n\n            </form>\\n\n        </field>\\n\n    </related>\\n\n</form_m>\\n\"}, \"inv_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"inv_list_m\", \"type\": \"list_m\", \"model\": \"account.invoice\", \"layout\": \"\n<list_m model=\\\"account.invoice\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n</list_m>\\n\"}, \"stock_lot_form\": {\"module\": \"netforce_mobile\", \"name\": \"stock_lot_form\", \"type\": \"form_m\", \"model\": \"stock.lot\", \"layout\": \"\n<form_m model=\\\"stock.lot\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n</form_m>\\n\"}, \"sale_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"sale_form_m\", \"type\": \"form_m\", \"model\": \"sale.order\", \"layout\": \"\n<form_m model=\\\"sale.order\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"lines\\\">\\n        \n        <list>\\n            \n            <field name=\\\"description\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"unit_price\\\"/>\\n\n            <field name=\\\"amount\\\"/>\\n\n        </list>\\n\n        <form>\\n            \n            <field name=\\\"description\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"unit_price\\\"/>\\n\n            <field name=\\\"amount\\\"/>\\n\n        </form>\\n\n    </field>\\n\n    <field name=\\\"amount_subtotal\\\"/>\\n\n    <field name=\\\"amount_tax\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <button title=\\\"Confirm\\\" method=\\\"confirm\\\" type=\\\"success\\\" states=\\\"draft\\\" icon=\\\"ios-checkmark\\\" confirm=\\\"Are you sure?\\\"/>\\n\n    <button title=\\\"Completed\\\" method=\\\"done\\\" type=\\\"success\\\" states=\\\"confirmed\\\" icon=\\\"ios-checkmark\\\"/>\\n\n    <button title=\\\"Reopen\\\" method=\\\"reopen\\\" states=\\\"done\\\"/>\\n\n    <button title=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"confirmed,done\\\" icon=\\\"ios-return-left\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"documents\\\"/>\\n\n        <field name=\\\"emails\\\"/>\\n\n    </related>\\n\n</form_m>\\n\"}, \"stock_location_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"stock_location_list_m\", \"type\": \"list_m\", \"model\": \"stock.location\", \"layout\": \"\n<list_m model=\\\"stock.location\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</list_m>\\n\"}, \"pos_cart_m\": {\"module\": \"netforce_mobile\", \"name\": \"pos_cart_m\", \"type\": \"form_m\", \"model\": \"ecom2.cart\", \"layout\": \"\n<form_m model=\\\"ecom2.cart\\\">\\n    \n    <field name=\\\"lines\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"amount\\\"/>\\n\n        </list>\\n\n        <form>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"amount\\\"/>\\n\n        </form>\\n\n    </field>\\n\n    <newline/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <newline/>\\n\n    <button title=\\\"Pay\\\" action=\\\"pos_pay_m\\\"/>\\n\n</form_m>\\n\"}, \"lead_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"lead_form_m\", \"type\": \"form_m\", \"model\": \"sale.lead\", \"layout\": \"\n<form_m model=\\\"sale.lead\\\">\\n    \n    <field name=\\\"date\\\" bold=\\\"1\\\"/>\\n\n    <field name=\\\"age_days\\\" bold=\\\"1\\\" label=\\\"Age\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"title\\\" label=\\\"Subject\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"contact_name\\\" label=\\\"From\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"description\\\" view=\\\"field_html\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"state\\\" label=\\\"Status\\\"/>\\n\n</form_m>\\n\"}, \"product_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"product_list_m\", \"type\": \"list_m\", \"model\": \"product\", \"layout\": \"\n<list_m model=\\\"product\\\">\\n    \n    <field name=\\\"code\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"name\\\"/>\\n\n</list_m>\\n\"}, \"sms_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"sms_list_m\", \"type\": \"list_m\", \"model\": \"sms.message\", \"layout\": \"\n<list_m model=\\\"sms.message\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"phone\\\"/>\\n\n</list_m>\\n\"}, \"aln_doc_type_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"aln_doc_type_list_m\", \"type\": \"list_m\", \"model\": \"aln.doc.type\", \"layout\": \"\n<list_m model=\\\"aln.doc.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</list_m>\\n\"}, \"aln_job_type_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"aln_job_type_form_m\", \"type\": \"form_m\", \"model\": \"aln.job.type\", \"layout\": \"\n<form_m model=\\\"aln.job.type\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</form_m>\\n\"}, \"employee_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"employee_form_m\", \"type\": \"form_m\", \"model\": \"hr.employee\", \"layout\": \"\n<form_m model=\\\"hr.employee\\\">\\n    \n    <field name=\\\"first_name\\\"/>\\n\n    <field name=\\\"last_name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"position\\\"/>\\n\n</form_m>\\n\"}, \"stock_location_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"stock_location_form_m\", \"type\": \"form_m\", \"model\": \"stock.location\", \"layout\": \"\n<form_m model=\\\"stock.location\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</form_m>\\n\"}, \"cart_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"cart_form_m\", \"type\": \"form_m\", \"model\": \"ecom2.cart\", \"layout\": \"\n<form_m model=\\\"ecom2.cart\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"customer_id\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n</form_m>\\n\"}, \"pos_pay_m\": {\"module\": \"netforce_mobile\", \"name\": \"pos_pay_m\", \"type\": \"form_m\", \"model\": \"ecom2.cart\", \"layout\": \"\n<form_m model=\\\"ecom2.cart\\\">\\n    \n    <field name=\\\"pay_method_id\\\"/>\\n\n    <field name=\\\"pay_amount\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"change_amount\\\"/>\\n\n    <newline/>\\n\n    <button title=\\\"Back\\\" action=\\\"pos_product_m\\\"/>\\n\n    <button title=\\\"Mark As Paid\\\" method=\\\"pos_payment_received\\\"/>\\n\n</form_m>\\n\"}, \"session_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"session_form_m\", \"type\": \"form_m\", \"model\": \"visitor.session\", \"layout\": \"\n<form_m model=\\\"visitor.session\\\">\\n    \n    <field name=\\\"create_time\\\"/>\\n\n    <field name=\\\"id_no\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"visitor_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"actions\\\"/>\\n\n    </related>\\n\n</form_m>\\n\"}, \"expense_claim_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"expense_claim_form_m\", \"type\": \"form_m\", \"model\": \"hr.expense.claim\", \"layout\": \"\n<form_m model=\\\"hr.expense.claim\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"num_expenses\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <button title=\\\"Add Expense\\\" type=\\\"primary\\\" icon=\\\"ios-add\\\" action='{\\\"view\\\":\\\"form_m\\\",\\\"model\\\":\\\"hr.expense\\\",\\\"target\\\":\\\"sub_action\\\",context:{\\\"defaults\\\":{\\\"claim_id\\\":id,\\\"employee_id\\\":employee_id}}}'/>\\n\n    <related>\\n        \n        <field name=\\\"expenses\\\"/>\\n\n    </related>\\n\n</form_m>\\n\"}, \"action_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"action_form_m\", \"type\": \"form_m\", \"model\": \"visitor.action\", \"layout\": \"\n<form_m model=\\\"visitor.action\\\">\\n    \n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"ip_addr\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"visitor_id\\\"/>\\n\n    <field name=\\\"session_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"action_type\\\"/>\\n\n    <field name=\\\"details\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"location\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"referrer\\\"/>\\n\n</form_m>\\n\"}, \"visitor_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"visitor_list_m\", \"type\": \"list_m\", \"model\": \"visitor\", \"layout\": \"\n<list_m model=\\\"visitor\\\" colors='{\\\"#ccc\\\":[[\\\"is_bot\\\",\\\"=\\\",true]],\\\"#cfc\\\":[[\\\"is_paid\\\",\\\"=\\\",true]]}'>\\n    \n    <field name=\\\"create_time\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"id_no\\\"/>\\n\n    <field name=\\\"num_sessions\\\" label=\\\"Sessions\\\"/>\\n\n    <field name=\\\"num_actions\\\" label=\\\"Actions\\\"/>\\n\n    <field name=\\\"is_bot\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"is_paid\\\" invisible=\\\"1\\\"/>\\n\n</list_m>\\n\"}, \"main_menu_m\": {\"module\": \"netforce_mobile\", \"name\": \"main_menu_m\", \"type\": \"menu_m\", \"layout\": \"\n<menu_m title=\\\"Netforce\\\" show_custom_pages=\\\"1\\\">\\n    \n    <item title=\\\"Contacts\\\" action=\\\"contact_m\\\"/>\\n\n    <item title=\\\"Products\\\" action=\\\"product_m\\\"/>\\n\n    <!--\\n    <header title=\\\"Expenses\\\"/>\\n    <item title=\\\"Expenses\\\" action=\\\"expense_m\\\"/>\\n    <item title=\\\"Expense Claims\\\" action=\\\"expense_claim_m\\\"/>\\n    <item title=\\\"Expense Categories\\\" action=\\\"expense_categ_m\\\"/>\\n    -->\\n    \n    <header title=\\\"Inventory\\\"/>\\n\n    <item title=\\\"Transfer Lots\\\" action=\\\"stock_transfer_m\\\"/>\\n\n    <item title=\\\"Receive From Supplier\\\" action=\\\"pick_in_m\\\"/>\\n\n    <item title=\\\"Pack For Customer\\\" action=\\\"pick_out_m\\\"/>\\n\n    <item title=\\\"Return To Supplier\\\" action=\\\"pick_out_return_m\\\"/>\\n\n    <item title=\\\"Goods Transfers\\\" action=\\\"pick_internal_m\\\"/>\\n\n    <item title=\\\"Product Waste\\\" action=\\\"waste_m\\\"/>\\n\n    <item title=\\\"Product Transforms\\\" action=\\\"transform_m\\\"/>\\n\n    <item title=\\\"Stock Counts\\\" action=\\\"stock_count_m\\\"/>\\n\n    <header title=\\\"Delivery\\\"/>\\n\n    <item title=\\\"Delivery Orders\\\" action=\\\"deliv_order_m\\\"/>\\n\n    <item title=\\\"Delivery Routes\\\" action=\\\"deliv_route_m\\\"/>\\n\n    <header title=\\\"Accounting\\\"/>\\n\n    <item title=\\\"Customer Invoices\\\" action=\\\"cust_inv_m\\\"/>\\n\n    <item title=\\\"Supplier Invoices\\\" action=\\\"sup_inv_m\\\"/>\\n\n    <item title=\\\"Payments\\\" action=\\\"payment_m\\\"/>\\n\n    <header title=\\\"Sales\\\"/>\\n\n    <item title=\\\"Dashboard\\\" action=\\\"sale_board_m\\\"/>\\n\n    <item title=\\\"Leads\\\" action=\\\"lead_m\\\"/>\\n\n    <item title=\\\"Opportunities\\\" action=\\\"opport_m\\\"/>\\n\n    <item title=\\\"Quotations\\\" action=\\\"quot_m\\\"/>\\n\n    <item title=\\\"Sales Orders\\\" action=\\\"sale_order_m\\\"/>\\n\n    <item title=\\\"Sales Activities\\\" action=\\\"activity_m\\\"/>\\n\n    <header title=\\\"POS\\\"/>\\n\n    <item title=\\\"Sell Products\\\" action=\\\"pos_product_m\\\"/>\\n\n    <header title=\\\"Purchasing\\\"/>\\n\n    <item title=\\\"Purchase Orders\\\" action=\\\"purchase_order_m\\\"/>\\n\n    <header title=\\\"Service\\\"/>\\n\n    <item title=\\\"Projects\\\" action=\\\"project_m\\\"/>\\n\n    <item title=\\\"Service Orders\\\" action=\\\"job_m\\\"/>\\n\n    <item title=\\\"Tasks\\\" action=\\\"task_m\\\"/>\\n\n    <item title=\\\"Time Sheets\\\" action=\\\"time_sheet_m\\\"/>\\n\n    <header title=\\\"Website\\\"/>\\n\n    <item title=\\\"Visitors\\\" action=\\\"visitor_m\\\"/>\\n\n    <item title=\\\"Sessions\\\" action=\\\"visitor_session_m\\\"/>\\n\n    <item title=\\\"Actions\\\" action=\\\"visitor_action_m\\\"/>\\n\n    <header title=\\\"Ecommerce\\\"/>\\n\n    <item title=\\\"Carts\\\" action=\\\"cart_m\\\"/>\\n\n    <header title=\\\"Manufacturing\\\"/>\\n\n    <item title=\\\"Production Orders\\\" action=\\\"production_order_m\\\"/>\\n\n    <header title=\\\"HR\\\"/>\\n\n    <item title=\\\"Employees\\\" action=\\\"employee_m\\\"/>\\n\n    <item title=\\\"Leave Requests\\\" action=\\\"leave_m\\\"/>\\n\n    <header title=\\\"Messaging\\\"/>\\n\n    <item title=\\\"Email Messages\\\" action=\\\"email_m\\\"/>\\n\n    <item title=\\\"SMS Messages\\\" action=\\\"sms_m\\\"/>\\n\n    <header title=\\\"Documents\\\"/>\\n\n    <item title=\\\"Documents\\\" action=\\\"document_m\\\"/>\\n\n    <!--<header title=\\\"Asia Law Network (test)\\\"/>\\n    <item title=\\\"Dashboard\\\" action=\\\"aln_board_m\\\"/>\\n    <item title=\\\"Clients\\\" action=\\\"aln_client_m\\\"/>\\n    <item title=\\\"Jobs\\\" action=\\\"aln_job_m\\\"/>\\n    <item title=\\\"Meetings\\\" action=\\\"aln_meeting_m\\\"/>\\n    <item title=\\\"Documents\\\" action=\\\"aln_doc_m\\\"/>-->\\n\n</menu_m>\\n\"}, \"stock_balance_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"stock_balance_list_m\", \"type\": \"list_m\", \"model\": \"stock.balance\", \"layout\": \"\n<list_m model=\\\"stock.balance\\\">\\n    \n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"lot_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"location_id\\\"/>\\n\n    <field name=\\\"qty_phys\\\"/>\\n\n    <field name=\\\"qty_virt\\\"/>\\n\n</list_m>\\n\"}, \"email_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"email_form_m\", \"type\": \"form_m\", \"model\": \"email.message\", \"layout\": \"\n<form_m model=\\\"email.message\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"from_addr\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"to_addrs\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"subject\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"body\\\" view=\\\"field_html\\\"/>\\n\n</form_m>\\n\"}, \"pick_out_return_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"pick_out_return_form_m\", \"type\": \"form_m\", \"model\": \"stock.picking\", \"layout\": \"\n<form_m model=\\\"stock.picking\\\" title=\\\"Return To Supplier\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"lines\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <button title=\\\"QC Check\\\" action=\\\"pick_qc_check\\\" action_options='{\\\"context\\\":{\\\"move_id\\\":id},\\\"layout\\\":\\\"pick_qc_check_in_m\\\"}' icon=\\\"ios-arrow-forward\\\" parent_states='pending,approved'/>\\n\n            <button title=\\\"Validate\\\" action=\\\"pick_validate_line\\\" action_options='{\\\"context\\\":{\\\"move_id\\\":id}}' icon=\\\"ios-arrow-forward\\\" parent_states='qc_checked'/>\\n\n        </list>\\n\n        <form>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"location_from_id\\\"/>\\n\n            <field name=\\\"location_to_id\\\"/>\\n\n        </form>\\n\n    </field>\\n\n    <field name=\\\"state\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Accept\\\" method=\\\"qc_check\\\" states=\\\"pending,approved\\\" type=\\\"success\\\" icon=\\\"ios-checkmark\\\" size=\\\"large\\\"/>\\n\n        <button string=\\\"Reject\\\" method=\\\"reject\\\" states=\\\"pending,approved\\\" type=\\\"danger\\\" icon=\\\"ios-close\\\" size=\\\"large\\\"/>\\n\n        <button string=\\\"Validate\\\" method=\\\"do_validate\\\" states=\\\"qc_checked\\\" type=\\\"success\\\" icon=\\\"ios-checkmark\\\" size=\\\"large\\\"/>\\n\n        <button string=\\\"Return Products\\\" method=\\\"copy_to_return\\\" states=\\\"done\\\" type=\\\"warning\\\" size=\\\"large\\\" icon=\\\"ios-refresh\\\" confirm=\\\"Are you sure?\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"qc_results\\\" states=\\\"pending,approved\\\">\\n            \n            <list colors='{\\\"#fcc\\\":[[\\\"result\\\",\\\"=\\\",\\\"reject\\\"]],\\\"#cfc\\\":[[\\\"result\\\",\\\"=\\\",\\\"accept\\\"]]}'>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"total_qty\\\"/>\\n\n                <field name=\\\"sample_qty\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"result\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <field name=\\\"total_qty\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"sample_qty\\\"/>\\n\n                <field name=\\\"result\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"test5\\\"/>\\n\n                <field name=\\\"test6\\\"/>\\n\n                <field name=\\\"test7\\\"/>\\n\n                <field name=\\\"test8\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"image\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"validate_lines\\\" states=\\\"qc_checked\\\">\\n            \n            <list>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"qty\\\"/>\\n\n                <field name=\\\"uom_id\\\"/>\\n\n                <field name=\\\"lot\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"qty\\\"/>\\n\n                <field name=\\\"uom_id\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"lot\\\"/>\\n\n            </form>\\n\n        </field>\\n\n    </related>\\n\n</form_m>\\n\"}, \"task_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"task_list_m\", \"type\": \"list_m\", \"model\": \"task\", \"layout\": \"\n<list_m model=\\\"task\\\">\\n    \n    <field name=\\\"date_created\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"resource_id\\\"/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n</list_m>\\n\"}, \"pick_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"pick_form_m\", \"type\": \"form_m\", \"model\": \"stock.picking\", \"layout\": \"\n<form_m model=\\\"stock.picking\\\">\\n    \n    <field name=\\\"type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"journal_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"lines\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <button title=\\\"QC Check\\\" action=\\\"pick_qc_check\\\" action_options='{\\\"context\\\":{\\\"move_id\\\":id}}' icon=\\\"ios-arrow-forward\\\" parent_states='pending,approved'/>\\n\n            <button title=\\\"Validate\\\" action=\\\"pick_validate_line\\\" action_options='{\\\"context\\\":{\\\"move_id\\\":id}}' icon=\\\"ios-arrow-forward\\\" parent_states='qc_checked'/>\\n\n        </list>\\n\n        <form>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"location_from_id\\\"/>\\n\n            <field name=\\\"location_to_id\\\"/>\\n\n        </form>\\n\n    </field>\\n\n    <field name=\\\"state\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Accept\\\" method=\\\"qc_check\\\" states=\\\"pending,approved\\\" type=\\\"success\\\" icon=\\\"ios-checkmark\\\" size=\\\"large\\\"/>\\n\n        <button string=\\\"Reject\\\" method=\\\"reject\\\" states=\\\"pending,approved\\\" type=\\\"danger\\\" icon=\\\"ios-close\\\" size=\\\"large\\\"/>\\n\n        <button string=\\\"Validate\\\" method=\\\"do_validate\\\" states=\\\"qc_checked\\\" type=\\\"success\\\" icon=\\\"ios-checkmark\\\" size=\\\"large\\\"/>\\n\n        <button string=\\\"Return Products\\\" method=\\\"copy_to_return\\\" states=\\\"done\\\" type=\\\"warning\\\" size=\\\"large\\\" icon=\\\"ios-refresh\\\" confirm=\\\"Are you sure?\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"qc_results\\\" states=\\\"pending,approved\\\">\\n            \n            <list colors='{\\\"#fcc\\\":[[\\\"result\\\",\\\"=\\\",\\\"reject\\\"]],\\\"#cfc\\\":[[\\\"result\\\",\\\"=\\\",\\\"accept\\\"]]}'>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"total_qty\\\"/>\\n\n                <field name=\\\"sample_qty\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"result\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <field name=\\\"total_qty\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"sample_qty\\\"/>\\n\n                <field name=\\\"result\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"test1\\\"/>\\n\n                <field name=\\\"test2\\\"/>\\n\n                <field name=\\\"test3\\\"/>\\n\n                <field name=\\\"test4\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"image\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"validate_lines\\\" states=\\\"qc_checked\\\">\\n            \n            <list>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"qty\\\"/>\\n\n                <field name=\\\"uom_id\\\"/>\\n\n                <field name=\\\"lot\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"qty\\\"/>\\n\n                <field name=\\\"uom_id\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"lot\\\"/>\\n\n            </form>\\n\n        </field>\\n\n    </related>\\n\n</form_m>\\n\"}, \"pick_in_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"pick_in_form_m\", \"type\": \"form_m\", \"model\": \"stock.picking\", \"layout\": \"\n<form_m model=\\\"stock.picking\\\" title=\\\"Receive From Supplier\\\">\\n    \n    <field name=\\\"type\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"journal_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"lines\\\">\\n        \n        <list>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <button title=\\\"QC Check\\\" action=\\\"pick_qc_check\\\" action_options='{\\\"context\\\":{\\\"move_id\\\":id},\\\"layout\\\":\\\"pick_qc_check_in_m\\\"}' icon=\\\"ios-arrow-forward\\\" parent_states='pending,approved'/>\\n\n            <button title=\\\"Validate\\\" action=\\\"pick_validate_line\\\" action_options='{\\\"context\\\":{\\\"move_id\\\":id}}' icon=\\\"ios-arrow-forward\\\" parent_states='qc_checked'/>\\n\n        </list>\\n\n        <form>\\n            \n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"lot_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"location_from_id\\\"/>\\n\n            <field name=\\\"location_to_id\\\"/>\\n\n        </form>\\n\n    </field>\\n\n    <field name=\\\"state\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Accept\\\" method=\\\"qc_check\\\" states=\\\"pending,approved\\\" type=\\\"success\\\" icon=\\\"ios-checkmark\\\" size=\\\"large\\\"/>\\n\n        <button string=\\\"Reject\\\" method=\\\"reject\\\" states=\\\"pending,approved\\\" type=\\\"danger\\\" icon=\\\"ios-close\\\" size=\\\"large\\\"/>\\n\n        <button string=\\\"Validate\\\" method=\\\"do_validate\\\" states=\\\"qc_checked\\\" type=\\\"success\\\" icon=\\\"ios-checkmark\\\" size=\\\"large\\\"/>\\n\n        <button string=\\\"Return Products\\\" method=\\\"copy_to_return\\\" states=\\\"done\\\" type=\\\"warning\\\" size=\\\"large\\\" icon=\\\"ios-refresh\\\" confirm=\\\"Are you sure?\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"qc_results\\\" states=\\\"pending,approved\\\">\\n            \n            <list colors='{\\\"#fcc\\\":[[\\\"result\\\",\\\"=\\\",\\\"reject\\\"]],\\\"#cfc\\\":[[\\\"result\\\",\\\"=\\\",\\\"accept\\\"]]}'>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"total_qty\\\"/>\\n\n                <field name=\\\"sample_qty\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"result\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <field name=\\\"total_qty\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"sample_qty\\\"/>\\n\n                <field name=\\\"result\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"test1\\\"/>\\n\n                <field name=\\\"test2\\\"/>\\n\n                <field name=\\\"test3\\\"/>\\n\n                <field name=\\\"test4\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"image\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"validate_lines\\\" states=\\\"qc_checked\\\">\\n            \n            <list>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"qty\\\"/>\\n\n                <field name=\\\"uom_id\\\"/>\\n\n                <field name=\\\"lot\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"qty\\\"/>\\n\n                <field name=\\\"uom_id\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"lot\\\"/>\\n\n            </form>\\n\n        </field>\\n\n    </related>\\n\n</form_m>\\n\"}, \"expense_categ_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"expense_categ_list_m\", \"type\": \"list_m\", \"model\": \"hr.expense.categ\", \"layout\": \"\n<list_m model=\\\"hr.expense.categ\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</list_m>\\n\"}, \"deliv_order_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"deliv_order_form_m\", \"type\": \"form_m\", \"model\": \"nd.order\", \"layout\": \"\n<form_m model=\\\"nd.order\\\">\\n    \n    <field name=\\\"delivery_date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"customer_id\\\"/>\\n\n    <field name=\\\"route_id\\\"/>\\n\n    <field name=\\\"lines\\\">\\n        \n        <list>\\n            \n            <field name=\\\"image\\\"/>\\n\n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n        </list>\\n\n        <form>\\n            \n            <field name=\\\"image\\\"/>\\n\n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"qty\\\"/>\\n\n        </form>\\n\n    </field>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <button title=\\\"Pick Up\\\" method=\\\"set_in_progress\\\" states=\\\"waiting\\\" icon=\\\"ios-arrow-forward\\\"/>\\n\n    <button title=\\\"Completed\\\" method=\\\"set_done\\\" type=\\\"success\\\" states=\\\"in_progress\\\" icon=\\\"ios-checkmark\\\"/>\\n\n    <button title=\\\"Can Not Deliver\\\" method=\\\"set_error\\\" type=\\\"danger\\\" states=\\\"in_progress\\\" icon=\\\"ios-close\\\"/>\\n\n    <button title=\\\"Waiting\\\" method=\\\"set_waiting\\\" states=\\\"in_progress\\\" icon=\\\"ios-arrow-back\\\"/>\\n\n    <button title=\\\"Reopen\\\" method=\\\"set_in_progress\\\" states=\\\"done,error\\\" icon=\\\"ios-arrow-back\\\"/>\\n\n</form_m>\\n\"}, \"contact_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"contact_list_m\", \"type\": \"list_m\", \"model\": \"contact\", \"layout\": \"\n<list_m model=\\\"contact\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"email\\\"/>\\n\n    <field name=\\\"mobile\\\"/>\\n\n</list_m>\\n\"}, \"aln_client_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"aln_client_form_m\", \"type\": \"form_m\", \"model\": \"aln.client\", \"layout\": \"\n<form_m model=\\\"aln.client\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"jobs\\\"/>\\n\n        <field name=\\\"meetings\\\"/>\\n\n        <field name=\\\"documents\\\"/>\\n\n    </related>\\n\n</form_m>\\n\"}, \"lead_source_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"lead_source_form_m\", \"type\": \"form_m\", \"model\": \"lead.source\", \"layout\": \"\n<form_m model=\\\"lead.source\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"description\\\"/>\\n\n</form_m>\\n\"}, \"quot_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"quot_form_m\", \"type\": \"form_m\", \"model\": \"sale.quot\", \"layout\": \"\n<form_m model=\\\"sale.quot\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"lines\\\">\\n        \n        <list>\\n            \n            <field name=\\\"description\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"unit_price\\\"/>\\n\n            <field name=\\\"amount\\\"/>\\n\n        </list>\\n\n        <form>\\n            \n            <field name=\\\"description\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"unit_price\\\"/>\\n\n            <field name=\\\"amount\\\"/>\\n\n        </form>\\n\n    </field>\\n\n    <field name=\\\"amount_subtotal\\\"/>\\n\n    <field name=\\\"amount_tax\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <button title=\\\"Approve\\\" method=\\\"approve\\\" type=\\\"success\\\" states=\\\"draft,waiting_approval\\\" confirm=\\\"Are you sure?\\\" icon=\\\"ios-checkmark\\\"/>\\n\n    <button title=\\\"Won\\\" method=\\\"do_won\\\" type=\\\"success\\\" states=\\\"approved\\\" icon=\\\"ios-checkmark\\\"/>\\n\n    <button title=\\\"Lost\\\" method=\\\"do_lost\\\" type=\\\"danger\\\" states=\\\"approved\\\" icon=\\\"ios-close\\\"/>\\n\n    <button title=\\\"Reopen\\\" method=\\\"do_reopen\\\" states=\\\"won,lost\\\" icon=\\\"ios-return-left\\\"/>\\n\n    <button title=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"approved,won,lost\\\" icon=\\\"ios-return-left\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"documents\\\"/>\\n\n        <field name=\\\"emails\\\"/>\\n\n    </related>\\n\n</form_m>\\n\"}, \"aln_meeting_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"aln_meeting_list_m\", \"type\": \"list_m\", \"model\": \"aln.meeting\", \"layout\": \"\n<list_m model=\\\"aln.meeting\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"client_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"subject\\\"/>\\n\n</list_m>\\n\"}, \"currency_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"currency_list_m\", \"type\": \"list_m\", \"model\": \"currency\", \"layout\": \"\n<list_m model=\\\"currency\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n</list_m>\\n\"}, \"email_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"email_list_m\", \"type\": \"list_m\", \"model\": \"email.message\", \"layout\": \"\n<list_m model=\\\"email.message\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"from_addr\\\" label=\\\"From\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"to_addrs\\\" label=\\\"To\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"subject\\\"/>\\n\n</list_m>\\n\"}, \"leave_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"leave_list_m\", \"type\": \"list_m\", \"model\": \"hr.leave\", \"layout\": \"\n<list_m model=\\\"hr.leave\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"end_date\\\"/>\\n\n    <field name=\\\"days_requested\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"employee_id\\\"/>\\n\n</list_m>\\n\"}, \"deliv_order_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"deliv_order_list_m\", \"type\": \"list_m\", \"model\": \"nd.order\", \"layout\": \"\n<list_m model=\\\"nd.order\\\" colors='{\\\"#ccf\\\":[[\\\"state\\\",\\\"=\\\",\\\"in_progress\\\"]],\\\"#cfc\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]],\\\"#fcc\\\":[[\\\"state\\\",\\\"=\\\",\\\"error\\\"]]}'>\\n    \n    <field name=\\\"delivery_date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"customer_id\\\"/>\\n\n    <field name=\\\"route_id\\\"/>\\n\n    <newline/>\\n\n    <button title=\\\"Pick Up\\\" method=\\\"set_in_progress\\\" states=\\\"waiting\\\" icon=\\\"ios-arrow-forward\\\"/>\\n\n    <button title=\\\"Completed\\\" method=\\\"set_done\\\" type=\\\"success\\\" states=\\\"in_progress\\\" icon=\\\"ios-checkmark\\\" confirm=\\\"Confirm delivery?\\\"/>\\n\n    <button title=\\\"Can Not Deliver\\\" method=\\\"set_error\\\" type=\\\"danger\\\" states=\\\"in_progress\\\" icon=\\\"ios-close\\\"/>\\n\n    <button title=\\\"Waiting\\\" method=\\\"set_waiting\\\" states=\\\"in_progress\\\" icon=\\\"ios-arrow-back\\\"/>\\n\n    <button title=\\\"Reopen\\\" method=\\\"set_in_progress\\\" states=\\\"done,error\\\" icon=\\\"ios-arrow-back\\\"/>\\n\n    <field name=\\\"state\\\" invisible=\\\"1\\\"/>\\n\n</list_m>\\n\"}, \"purchase_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"purchase_list_m\", \"type\": \"list_m\", \"model\": \"purchase.order\", \"layout\": \"\n<list_m model=\\\"purchase.order\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n</list_m>\\n\"}, \"aln_job_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"aln_job_form_m\", \"type\": \"form_m\", \"model\": \"aln.job\", \"layout\": \"\n<form_m model=\\\"aln.job\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"client_id\\\"/>\\n\n    <field name=\\\"job_type_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"meetings\\\"/>\\n\n        <field name=\\\"documents\\\"/>\\n\n    </related>\\n\n</form_m>\\n\"}, \"opport_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"opport_list_m\", \"type\": \"list_m\", \"model\": \"sale.opportunity\", \"layout\": \"\n<list_m model=\\\"sale.opportunity\\\">\\n    \n    <field name=\\\"date\\\" bold=\\\"1\\\"/>\\n\n    <field name=\\\"last_email_days\\\" label=\\\"Age\\\" bold=\\\"1\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"name\\\" label=\\\"Title\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"contact_id\\\" label=\\\"Contact\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"user_id\\\" label=\\\"Assigned To\\\"/>\\n\n    <field name=\\\"stage_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"source_id\\\" label=\\\"Lead Source\\\"/>\\n\n    <newline/>\\n\n    <button title=\\\"Won\\\" method=\\\"won\\\" states=\\\"open\\\" type=\\\"success\\\" icon=\\\"ios-checkmark\\\"/>\\n\n    <button title=\\\"Pause\\\" method=\\\"pause\\\" states=\\\"open\\\" icon=\\\"ios-pause\\\"/>\\n\n    <button title=\\\"Cancel\\\" action=\\\"opport_cancel_m\\\" action_options='{\\\"active_id\\\":id,\\\"mode\\\":\\\"edit\\\"}' states=\\\"open\\\" type=\\\"warning\\\" icon=\\\"ios-close\\\"/>\\n\n    <button title=\\\"Lost\\\" action=\\\"opport_lost_m\\\" action_options='{\\\"active_id\\\":id,\\\"mode\\\":\\\"edit\\\"}' states=\\\"open\\\" type=\\\"danger\\\" icon=\\\"ios-close\\\"/>\\n\n    <button title=\\\"Re-open\\\" method=\\\"reopen\\\" states=\\\"won,lost,canceled,paused\\\" icon=\\\"ios-arrow-back\\\"/>\\n\n    <field name=\\\"state\\\" invisible=\\\"1\\\"/>\\n\n</list_m>\\n\"}, \"production_list_m\": {\"module\": \"netforce_mobile\", \"name\": \"production_list_m\", \"type\": \"list_m\", \"model\": \"production.order\", \"layout\": \"\n<list_m model=\\\"production.order\\\">\\n    \n    <field name=\\\"order_date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"qty_planned\\\"/>\\n\n</list_m>\\n\"}, \"stock_lot_list\": {\"module\": \"netforce_mobile\", \"name\": \"stock_lot_list\", \"type\": \"list_m\", \"model\": \"stock.lot\", \"layout\": \"\n<list_m model=\\\"stock.lot\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n</list_m>\\n\"}, \"job_form_m\": {\"module\": \"netforce_mobile\", \"name\": \"job_form_m\", \"type\": \"form_m\", \"model\": \"job\", \"layout\": \"\n<form_m model=\\\"job\\\">\\n    \n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n</form_m>\\n\"}, \"pos_table_list\": {\"module\": \"netforce_pos\", \"name\": \"pos_table_list\", \"type\": \"list\", \"model\": \"pos.table\", \"layout\": \"\n<list model=\\\"pos.table\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n</list>\\n\"}, \"pos_production_list\": {\"module\": \"netforce_pos\", \"name\": \"pos_production_list\", \"type\": \"list\", \"model\": \"production.order\", \"layout\": \"\n<list model=\\\"production.order\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"order_date\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"qty_planned\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"pos_validate_add\": {\"module\": \"netforce_pos\", \"name\": \"pos_validate_add\", \"type\": \"form\", \"layout\": \"\n<form>\\n    \n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"lot_no\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"qty2\\\" string=\\\"Weight (Kg)\\\" view=\\\"field_weight\\\"/>\\n\n    <field name=\\\"pick_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"New Lot\\\" icon=\\\"plus\\\"/>\\n\n        <button string=\\\"Print Label\\\" icon=\\\"print\\\"/>\\n\n        <button string=\\\"Add\\\" type=\\\"primary\\\" icon=\\\"ok\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"pos_pick_in_list\": {\"module\": \"netforce_pos\", \"name\": \"pos_pick_in_list\", \"type\": \"list\", \"model\": \"stock.picking\", \"layout\": \"\n<list model=\\\"stock.picking\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"pos_pick_internal_list\": {\"module\": \"netforce_pos\", \"name\": \"pos_pick_internal_list\", \"type\": \"list\", \"model\": \"stock.picking\", \"layout\": \"\n<list model=\\\"stock.picking\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"pos_settings\": {\"module\": \"netforce_pos\", \"name\": \"pos_settings\", \"type\": \"form\", \"model\": \"pos.settings\", \"layout\": \"\n<form model=\\\"pos.settings\\\" title=\\\"POS Settings\\\">\\n    \n    <field name=\\\"pos_contact_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"pos_sale_account_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"pos_location_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"pos_pay_method_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"pos_table_required\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"pos_bills\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"pos_logo\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"pos_save_receipts\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"pos_lock_date\\\"/>\\n\n</form>\\n\"}, \"pos_menu\": {\"module\": \"netforce_pos\", \"name\": \"pos_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"POS\\\">\\n    \n    <item string=\\\"Dashboard\\\" action=\\\"pos_board\\\"/>\\n\n    <item string=\\\"Sales\\\" action=\\\"pos_sale\\\"/>\\n\n    <item string=\\\"Goods Receipt\\\" action=\\\"pos_receive_list\\\"/>\\n\n    <item string=\\\"Goods Issue\\\" action=\\\"pos_pack_list\\\"/>\\n\n    <item string=\\\"Goods Transfer\\\" action=\\\"pos_trans_list\\\"/>\\n\n    <item string=\\\"Settings\\\">\\n        \n        <item string=\\\"POS Settings\\\" action=\\\"pos_settings\\\"/>\\n\n        <item string=\\\"Tables\\\" action=\\\"pos_table\\\"/>\\n</item>\\n\n</menu>\\n\"}, \"pos_cart_form\": {\"module\": \"netforce_pos\", \"name\": \"pos_cart_form\", \"type\": \"inherit\", \"inherit\": \"ecom2_cart_form\", \"layout\": \"\n<inherit inherit=\\\"ecom2_cart_form\\\">\\n    \n    <field name=\\\"transaction_no\\\" position=\\\"after\\\">\\n        \n        <separator/>\\n\n        <field name=\\\"pos_table_id\\\"/>\\n\n        <newline/>\\n\n        <field name=\\\"pos_pay_amounts\\\"/>\\n</field>\\n\n</inherit>\\n\"}, \"pos_purchase_list\": {\"module\": \"netforce_pos\", \"name\": \"pos_purchase_list\", \"type\": \"list\", \"model\": \"purchase.order\", \"layout\": \"\n<list model=\\\"purchase.order\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"pos_table_form\": {\"module\": \"netforce_pos\", \"name\": \"pos_table_form\", \"type\": \"form\", \"model\": \"pos.table\", \"layout\": \"\n<form model=\\\"pos.table\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"carts\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"pos_cart_list\": {\"module\": \"netforce_pos\", \"name\": \"pos_cart_list\", \"type\": \"inherit\", \"inherit\": \"ecom2_cart_list\", \"layout\": \"\n<inherit inherit=\\\"ecom2_cart_list\\\">\\n    \n    <field name=\\\"customer_id\\\" position=\\\"after\\\">\\n        \n        <field name=\\\"pos_table_id\\\"/>\\n</field>\\n\n</inherit>\\n\"}, \"pos_sale_list\": {\"module\": \"netforce_pos\", \"name\": \"pos_sale_list\", \"type\": \"list\", \"model\": \"sale.order\", \"layout\": \"\n<list model=\\\"sale.order\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"amount_total\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"pos_board\": {\"module\": \"netforce_pos\", \"name\": \"pos_board\", \"type\": \"board\", \"layout\": \"\n<board>\\n    \n    <hpanel>\\n    </hpanel>\\n\n</board>\\n\"}, \"pos_pick_out_list\": {\"module\": \"netforce_pos\", \"name\": \"pos_pick_out_list\", \"type\": \"list\", \"model\": \"stock.picking\", \"layout\": \"\n<list model=\\\"stock.picking\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"pos_pick_in_form\": {\"module\": \"netforce_pos\", \"name\": \"pos_pick_in_form\", \"type\": \"form\", \"model\": \"stock.picking\", \"layout\": \"\n<form model=\\\"stock.picking\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"lines\\\">\\n            \n            <list>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <field name=\\\"lot_id\\\"/>\\n\n                <field name=\\\"qty\\\"/>\\n\n                <field name=\\\"uom_id\\\"/>\\n\n                <field name=\\\"qty2\\\"/>\\n\n                <field name=\\\"location_from_id\\\"/>\\n\n                <field name=\\\"location_to_id\\\"/>\\n\n                <field name=\\\"state\\\"/>\\n\n                <button string=\\\"Validate\\\" action=\\\"pos_validate_add\\\" icon=\\\"arrow-right\\\"/>\\n\n                <!--<button string=\\\"Print\\\" action=\\\"pos_print_label\\\" icon=\\\"print\\\"/>-->\\n            \n            </list>\\n\n            <form>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <field name=\\\"lot_id\\\"/>\\n\n                <field name=\\\"qty\\\"/>\\n\n                <field name=\\\"uom_id\\\"/>\\n\n                <field name=\\\"qty2\\\"/>\\n\n                <separator/>\\n\n                <field name=\\\"location_from_id\\\"/>\\n\n                <field name=\\\"location_to_id\\\"/>\\n\n                <separator/>\\n\n                <field name=\\\"state\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"validate_lines\\\" string=\\\"Stock Movements\\\">\\n            \n            <list>\\n                \n                <head>\\n                    \n                    <button string=\\\"Completed\\\" type=\\\"success\\\" icon=\\\"ok\\\" method=\\\"validate_done\\\"/>\\n\n                </head>\\n\n                <field name=\\\"product_id\\\"/>\\n\n                <field name=\\\"lot_no\\\"/>\\n\n                <field name=\\\"qty\\\"/>\\n\n                <field name=\\\"uom_id\\\"/>\\n\n                <field name=\\\"qty2\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"product_id\\\"/>\\n\n                <field name=\\\"lot_no\\\"/>\\n\n                <field name=\\\"qty\\\"/>\\n\n                <field name=\\\"uom_id\\\"/>\\n\n                <field name=\\\"qty2\\\"/>\\n\n            </form>\\n\n        </field>\\n\n    </related>\\n\n</form>\\n\"}, \"nd_delivery_pivot\": {\"module\": \"netforce_delivery\", \"name\": \"nd_delivery_pivot\", \"type\": \"pivot\", \"model\": \"nd.order.line\", \"layout\": \"\n<pivot model=\\\"nd.order.line\\\" rows=\\\"order_id.route_id.driver_id.name\\\" cols=\\\"order_id.state\\\" vals=\\\"order_id.number\\\" agg_name=\\\"Count Unique Values\\\" search=\\\"order_id.delivery_date,order_id.customer_id,order_id.driver_id,product_id,product_id.categ_id,order_id.state\\\">\\n    \n    <field name=\\\"order_id.number\\\"/>\\n\n    <field name=\\\"order_id.delivery_date\\\"/>\\n\n    <field name=\\\"order_id.month\\\"/>\\n\n    <field name=\\\"order_id.week\\\"/>\\n\n    <field name=\\\"order_id.customer_id.code\\\"/>\\n\n    <field name=\\\"order_id.customer_id.first_name\\\"/>\\n\n    <field name=\\\"order_id.route_id.driver_id.name\\\"/>\\n\n    <field name=\\\"order_id.route_id.round_id.period_id.name\\\"/>\\n\n    <field name=\\\"order_id.state\\\"/>\\n\n    <field name=\\\"product_id.name\\\"/>\\n\n    <field name=\\\"product_id.categ_id.name\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n</pivot>\\n\"}, \"nd_report_return\": {\"module\": \"netforce_delivery\", \"name\": \"nd_report_return\", \"type\": \"form\", \"model\": \"nd.report.return\", \"layout\": \"\n<form model=\\\"nd.report.return\\\">\\n    \n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n</form>\\n\"}, \"nd_order_return_list\": {\"module\": \"netforce_delivery\", \"name\": \"nd_order_return_list\", \"type\": \"list\", \"model\": \"nd.order.return\", \"layout\": \"\n<list model=\\\"nd.order.return\\\">\\n    \n    <field name=\\\"image\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n</list>\\n\"}, \"nd_poll_option_form\": {\"module\": \"netforce_delivery\", \"name\": \"nd_poll_option_form\", \"type\": \"form\", \"model\": \"nd.poll.option\", \"layout\": \"\n<form model=\\\"nd.poll.option\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</form>\\n\"}, \"nd_poll_answer_list\": {\"module\": \"netforce_delivery\", \"name\": \"nd_poll_answer_list\", \"type\": \"list\", \"model\": \"nd.poll.answer\", \"layout\": \"\n<list model=\\\"nd.poll.answer\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"order_id\\\"/>\\n\n    <field name=\\\"poll_id\\\"/>\\n\n    <field name=\\\"option_id\\\"/>\\n\n</list>\\n\"}, \"nd_tag_list\": {\"module\": \"netforce_delivery\", \"name\": \"nd_tag_list\", \"type\": \"list\", \"model\": \"nd.tag\", \"layout\": \"\n<list model=\\\"nd.tag\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"color\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</list>\\n\"}, \"nd_work_period_form\": {\"module\": \"netforce_delivery\", \"name\": \"nd_work_period_form\", \"type\": \"form\", \"model\": \"nd.work.period\", \"layout\": \"\n<form model=\\\"nd.work.period\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"time_from\\\"/>\\n\n    <field name=\\\"time_to\\\"/>\\n\n</form>\\n\"}, \"nd_poll_answer_form\": {\"module\": \"netforce_delivery\", \"name\": \"nd_poll_answer_form\", \"type\": \"form\", \"model\": \"nd.poll.answer\", \"layout\": \"\n<form model=\\\"nd.poll.answer\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"order_id\\\"/>\\n\n    <field name=\\\"poll_id\\\"/>\\n\n    <field name=\\\"option_id\\\"/>\\n\n</form>\\n\"}, \"nd_report_driver_pay\": {\"module\": \"netforce_delivery\", \"name\": \"nd_report_driver_pay\", \"type\": \"form\", \"model\": \"nd.report.driver.pay\", \"layout\": \"\n<form model=\\\"nd.report.driver.pay\\\">\\n    \n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <field name=\\\"driver_id\\\"/>\\n\n</form>\\n\"}, \"nd_job_form\": {\"module\": \"netforce_delivery\", \"name\": \"nd_job_form\", \"type\": \"form\", \"model\": \"nd.job\", \"layout\": \"\n<form model=\\\"nd.job\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"driver_id\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"num_tasks\\\"/>\\n\n    <field name=\\\"comments\\\"/>\\n\n    <field name=\\\"bonus_amount\\\"/>\\n\n    <separator string=\\\"Bonus Conditions\\\"/>\\n\n    <field name=\\\"bonus_min_deliveries\\\"/>\\n\n    <field name=\\\"bonus_min_on_time_percent\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"tasks\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"nd_work_period_list\": {\"module\": \"netforce_delivery\", \"name\": \"nd_work_period_list\", \"type\": \"list\", \"model\": \"nd.work.period\", \"layout\": \"\n<list model=\\\"nd.work.period\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"time_from\\\"/>\\n\n    <field name=\\\"time_to\\\"/>\\n\n</list>\\n\"}, \"nd_report_template_form\": {\"module\": \"netforce_delivery\", \"name\": \"nd_report_template_form\", \"type\": \"form\", \"model\": \"nd.report.template\", \"layout\": \"\n<form model=\\\"nd.report.template\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"orientation\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"body\\\" width=\\\"700\\\" height=\\\"500\\\" view=\\\"field_code\\\"/>\\n\n</form>\\n\"}, \"nd_order_line_list\": {\"module\": \"netforce_delivery\", \"name\": \"nd_order_line_list\", \"type\": \"list\", \"model\": \"nd.order.line\", \"layout\": \"\n<list model=\\\"nd.order.line\\\">\\n    \n    <field name=\\\"image\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n</list>\\n\"}, \"nd_create_route\": {\"module\": \"netforce_delivery\", \"name\": \"nd_create_route\", \"type\": \"form\", \"model\": \"nd.create.route\", \"layout\": \"\n<form model=\\\"nd.create.route\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Create Routes\\\" method=\\\"create_routes\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"nd_order_return_form\": {\"module\": \"netforce_delivery\", \"name\": \"nd_order_return_form\", \"type\": \"form\", \"model\": \"nd.order.return\", \"layout\": \"\n<form model=\\\"nd.order.return\\\">\\n    \n    <field name=\\\"product_id\\\" condition='[[\\\"need_return\\\",\\\"=\\\",true]]'/>\\n\n    <field name=\\\"qty\\\"/>\\n\n</form>\\n\"}, \"nd_round_list\": {\"module\": \"netforce_delivery\", \"name\": \"nd_round_list\", \"type\": \"list\", \"model\": \"nd.round\", \"layout\": \"\n<list model=\\\"nd.round\\\">\\n    \n    <field name=\\\"period_id\\\"/>\\n\n    <field name=\\\"seq_from\\\"/>\\n\n    <field name=\\\"seq_to\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n</list>\\n\"}, \"nd_tag_form\": {\"module\": \"netforce_delivery\", \"name\": \"nd_tag_form\", \"type\": \"form\", \"model\": \"nd.tag\", \"layout\": \"\n<form model=\\\"nd.tag\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"color\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</form>\\n\"}, \"nd_poll_form\": {\"module\": \"netforce_delivery\", \"name\": \"nd_poll_form\", \"type\": \"form\", \"model\": \"nd.poll\", \"layout\": \"\n<form model=\\\"nd.poll\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"options\\\">\\n            \n            <list>\\n                \n                <field name=\\\"name\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"name\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"answers\\\">\\n            \n            <list>\\n                \n                <field name=\\\"order_id\\\"/>\\n\n                <field name=\\\"option_id\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"order_id\\\"/>\\n\n                <field name=\\\"option_id\\\"/>\\n\n            </form>\\n\n        </field>\\n\n    </related>\\n\n</form>\\n\"}, \"nd_order_columns\": {\"module\": \"netforce_delivery\", \"name\": \"nd_order_columns\", \"type\": \"columns\", \"model\": \"nd.order\", \"layout\": \"\n<columns model=\\\"nd.order\\\" row_field=\\\"period_id\\\" column_field=\\\"driver_id\\\" group_field=\\\"route_id\\\" colors='{\\\"#cfc\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"],[\\\"deliver_perf\\\",\\\"=\\\",\\\"on_time\\\"]],\\\"#f99\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"],[\\\"deliver_perf\\\",\\\"=\\\",\\\"late\\\"]],\\\"#ff9\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"],[\\\"deliver_perf\\\",\\\"=\\\",\\\"early\\\"]],\\\"#ccf\\\":[[\\\"state\\\",\\\"=\\\",\\\"in_progress\\\"]],\\\"#f66\\\":[[\\\"state\\\",\\\"=\\\",\\\"error\\\"]]}' action=\\\"nd_order_popup\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Time Sort\\\" method=\\\"time_sort\\\"/>\\n\n        <button string=\\\"Geo Sort\\\" method=\\\"geo_sort\\\"/>\\n\n        <button string=\\\"Split Route\\\" method=\\\"split_route\\\"/>\\n\n    </head>\\n\n    <field name=\\\"dest_short\\\"/>\\n\n    <field name=\\\"street_address\\\" tooltip_field=\\\"address_tooltip\\\"/>\\n\n    <field name=\\\"eta_short\\\"/>\\n\n    <field name=\\\"tags_json\\\" view=\\\"labels\\\"/>\\n\n    <field name=\\\"state\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"deliver_perf\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"address_tooltip\\\" invisible=\\\"1\\\"/>\\n\n</columns>\\n\"}, \"nd_poll_option_list\": {\"module\": \"netforce_delivery\", \"name\": \"nd_poll_option_list\", \"type\": \"list\", \"model\": \"nd.poll.option\", \"layout\": \"\n<list model=\\\"nd.poll.option\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</list>\\n\"}, \"nd_round_form\": {\"module\": \"netforce_delivery\", \"name\": \"nd_round_form\", \"type\": \"form\", \"model\": \"nd.round\", \"layout\": \"\n<form model=\\\"nd.round\\\">\\n    \n    <field name=\\\"period_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"seq_from\\\"/>\\n\n    <field name=\\\"seq_to\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n</form>\\n\"}, \"nd_order_form\": {\"module\": \"netforce_delivery\", \"name\": \"nd_order_form\", \"type\": \"form\", \"model\": \"nd.order\", \"layout\": \"\n<form model=\\\"nd.order\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"nd_order_print\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <field name=\\\"number\\\"/>\\n\n            <field name=\\\"delivery_date\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"driver_id\\\"/>\\n\n            <field name=\\\"ref\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"from_region_id\\\"/>\\n\n            <field name=\\\"to_region_id\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"sender_id\\\"/>\\n\n            <field name=\\\"sender_name\\\"/>\\n\n            <field name=\\\"recipient_id\\\"/>\\n\n            <field name=\\\"recipient_name\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"qty\\\"/>\\n\n            <field name=\\\"uom_id\\\"/>\\n\n            <field name=\\\"product_id\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"cash_collect_amount\\\"/>\\n\n            <field name=\\\"notes\\\"/>\\n\n            <field name=\\\"state\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other Info\\\">\\n            \n            <field name=\\\"time_from\\\" view=\\\"field_time\\\"/>\\n\n            <field name=\\\"time_to\\\" view=\\\"field_time\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"customer_id\\\"/>\\n\n            <field name=\\\"ship_address_id\\\"/>\\n\n            <separator string=\\\"Route Assignment\\\"/>\\n\n            <field name=\\\"route_id\\\" condition='[[\\\"filter_order_id\\\",\\\"=\\\",id]]'/>\\n\n            <field name=\\\"sequence\\\"/>\\n\n            <separator string=\\\"Planned Times\\\"/>\\n\n            <field name=\\\"est_deliver_time\\\"/>\\n\n            <field name=\\\"est_drive_duration\\\"/>\\n\n            <field name=\\\"est_wait_duration\\\"/>\\n\n            <separator string=\\\"Actual Times\\\"/>\\n\n            <field name=\\\"act_deliver_time\\\"/>\\n\n            <field name=\\\"error_time\\\"/>\\n\n            <separator string=\\\"Photos\\\"/>\\n\n            <field name=\\\"require_dropoff_image\\\"/>\\n\n            <field name=\\\"require_return_image\\\"/>\\n\n            <field name=\\\"dropoff_image\\\"/>\\n\n            <field name=\\\"return_image\\\"/>\\n\n            <separator string=\\\"Coordinates\\\"/>\\n\n            <field name=\\\"require_dropoff_coords\\\"/>\\n\n            <field name=\\\"dropoff_coords\\\"/>\\n\n            <separator string=\\\"Customer Poll\\\"/>\\n\n            <field name=\\\"poll_id\\\"/>\\n\n            <field name=\\\"poll2_id\\\"/>\\n\n            <separator string=\\\"Other Info\\\"/>\\n\n            <field name=\\\"tags\\\"/>\\n\n            <field name=\\\"hide\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <related>\\n        \n        <field name=\\\"lines\\\"/>\\n\n        <field name=\\\"track_entries\\\"/>\\n\n        <field name=\\\"returns\\\"/>\\n\n        <field name=\\\"poll_answers\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"nd_order_map\": {\"module\": \"netforce_delivery\", \"name\": \"nd_order_map\", \"type\": \"map\", \"model\": \"nd.order\", \"layout\": \"\n<map model=\\\"nd.order\\\" group_field=\\\"route_id\\\" coords_field=\\\"coords\\\" title_field=\\\"number\\\" short_title_field=\\\"sequence\\\">\\n    \n    <field name=\\\"delivery_date\\\"/>\\n\n    <field name=\\\"time_from\\\"/>\\n\n    <field name=\\\"time_to\\\"/>\\n\n    <field name=\\\"ship_address_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n</map>\\n\"}, \"nd_order_list\": {\"module\": \"netforce_delivery\", \"name\": \"nd_order_list\", \"type\": \"list\", \"model\": \"nd.order\", \"layout\": \"\n<list model=\\\"nd.order\\\" colors='{\\\"#cfc\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"],[\\\"deliver_perf\\\",\\\"=\\\",\\\"on_time\\\"]],\\\"#f99\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"],[\\\"deliver_perf\\\",\\\"=\\\",\\\"late\\\"]],\\\"#ff9\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"],[\\\"deliver_perf\\\",\\\"=\\\",\\\"early\\\"]],\\\"#ccf\\\":[[\\\"state\\\",\\\"=\\\",\\\"in_progress\\\"]],\\\"#f66\\\":[[\\\"state\\\",\\\"=\\\",\\\"error\\\"]]}'>\\n    \n    <top>\\n        \n        <button string=\\\"Auto Assign Routes\\\" method=\\\"auto_assign\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"nd_order_print\\\" action_options='{\\\"ids\\\":ids}'/>\\n\n        <button string=\\\"Completed\\\" method=\\\"set_done\\\" icon=\\\"ok\\\" type=\\\"success\\\"/>\\n\n        <button string=\\\"Reset Route\\\" method=\\\"reset_route\\\"/>\\n\n        <button string=\\\"Send Updates\\\" method=\\\"send_update_notif\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"delivery_date\\\"/>\\n\n    <field name=\\\"driver_id\\\"/>\\n\n    <field name=\\\"from_region_id\\\"/>\\n\n    <field name=\\\"to_region_id\\\"/>\\n\n    <field name=\\\"sender_id\\\"/>\\n\n    <field name=\\\"sender_name\\\"/>\\n\n    <field name=\\\"recipient_id\\\"/>\\n\n    <field name=\\\"recipient_name\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n    <field name=\\\"uom_id\\\"/>\\n\n    <field name=\\\"cash_collect_amount\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"ref\\\"/>\\n\n</list>\\n\"}, \"nd_task_form\": {\"module\": \"netforce_delivery\", \"name\": \"nd_task_form\", \"type\": \"form\", \"model\": \"nd.task\", \"layout\": \"\n<form model=\\\"nd.task\\\">\\n    \n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"est_duration\\\"/>\\n\n    <field name=\\\"est_start_time\\\"/>\\n\n    <field name=\\\"est_end_time\\\"/>\\n\n    <field name=\\\"details\\\"/>\\n\n    <field name=\\\"require_gps\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"route_id\\\"/>\\n\n    <field name=\\\"order_id\\\"/>\\n\n</form>\\n\"}, \"nd_report_template_list\": {\"module\": \"netforce_delivery\", \"name\": \"nd_report_template_list\", \"type\": \"list\", \"model\": \"nd.report.template\", \"layout\": \"\n<list model=\\\"nd.report.template\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"orientation\\\"/>\\n\n</list>\\n\"}, \"nd_route_list\": {\"module\": \"netforce_delivery\", \"name\": \"nd_route_list\", \"type\": \"list\", \"model\": \"nd.route\", \"layout\": \"\n<list model=\\\"nd.route\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Auto Create Routes\\\" action=\\\"nd_create_route\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"nd_route_print\\\"/>\\n\n        <button string=\\\"Calc ETAs\\\" method=\\\"calc_times\\\"/>\\n\n        <button string=\\\"Create Jobs\\\" method=\\\"create_jobs\\\"/>\\n\n    </head>\\n\n    <field name=\\\"delivery_date\\\"/>\\n\n    <field name=\\\"driver_id\\\"/>\\n\n    <field name=\\\"period_id\\\"/>\\n\n    <field name=\\\"num_orders\\\"/>\\n\n    <field name=\\\"seq_from\\\"/>\\n\n    <field name=\\\"seq_to\\\"/>\\n\n    <field name=\\\"est_pickup_time\\\"/>\\n\n    <field name=\\\"est_return_time\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"pickup_image\\\"/>\\n\n    <field name=\\\"return_image\\\"/>\\n\n</list>\\n\"}, \"nd_task_list\": {\"module\": \"netforce_delivery\", \"name\": \"nd_task_list\", \"type\": \"list\", \"model\": \"nd.task\", \"layout\": \"\n<list model=\\\"nd.task\\\">\\n    \n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"est_duration\\\"/>\\n\n    <field name=\\\"est_start_time\\\"/>\\n\n    <field name=\\\"est_end_time\\\"/>\\n\n    <field name=\\\"require_gps\\\"/>\\n\n    <field name=\\\"route_id\\\"/>\\n\n    <field name=\\\"order_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"nd_order_line_form\": {\"module\": \"netforce_delivery\", \"name\": \"nd_order_line_form\", \"type\": \"form\", \"model\": \"nd.order.line\", \"layout\": \"\n<form model=\\\"nd.order.line\\\">\\n    \n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"qty\\\"/>\\n\n</form>\\n\"}, \"nd_job_list\": {\"module\": \"netforce_delivery\", \"name\": \"nd_job_list\", \"type\": \"list\", \"model\": \"nd.job\", \"layout\": \"\n<list model=\\\"nd.job\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"driver_id\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"bonus_amount\\\"/>\\n\n    <field name=\\\"num_tasks\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"nd_driver_list\": {\"module\": \"netforce_delivery\", \"name\": \"nd_driver_list\", \"type\": \"list\", \"model\": \"nd.driver\", \"layout\": \"\n<list model=\\\"nd.driver\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"mobile\\\"/>\\n\n    <field name=\\\"num_rounds\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <field name=\\\"track_id\\\"/>\\n\n</list>\\n\"}, \"nd_route_form\": {\"module\": \"netforce_delivery\", \"name\": \"nd_route_form\", \"type\": \"form\", \"model\": \"nd.route\", \"layout\": \"\n<form model=\\\"nd.route\\\">\\n    \n    <field name=\\\"delivery_date\\\"/>\\n\n    <field name=\\\"driver_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"round_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"pickup_address_id\\\"/>\\n\n    <field name=\\\"return_address_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"est_pickup_time\\\"/>\\n\n    <field name=\\\"est_return_time\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"est_distance\\\"/>\\n\n    <field name=\\\"est_duration\\\"/>\\n\n    <field name=\\\"act_duration\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"pickup_image\\\"/>\\n\n    <field name=\\\"return_image\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"require_pickup_image\\\"/>\\n\n    <field name=\\\"require_return_image\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"blind_mode\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"seq_from\\\"/>\\n\n    <field name=\\\"seq_to\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"period_id\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Get Directions\\\" method=\\\"get_directions\\\" icon=\\\"refresh\\\"/>\\n\n        <button string=\\\"Confirm Job\\\" method=\\\"confirm\\\" icon=\\\"ok\\\" type=\\\"success\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <!--<view name=\\\"nd_route_map\\\"/>-->\\n        \n        <field name=\\\"orders\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"nd_order_popup\": {\"module\": \"netforce_delivery\", \"name\": \"nd_order_popup\", \"type\": \"form\", \"model\": \"nd.order\", \"layout\": \"\n<form model=\\\"nd.order\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"delivery_date\\\"/>\\n\n    <field name=\\\"sale_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"time_from\\\" view=\\\"field_time\\\"/>\\n\n    <field name=\\\"time_to\\\" view=\\\"field_time\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"customer_id\\\"/>\\n\n    <field name=\\\"ship_address_id\\\"/>\\n\n    <separator string=\\\"Route Assignment\\\"/>\\n\n    <field name=\\\"route_id\\\" condition='[[\\\"filter_order_id\\\",\\\"=\\\",id]]'/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <separator string=\\\"Planned Times\\\"/>\\n\n    <field name=\\\"est_deliver_time\\\"/>\\n\n    <field name=\\\"est_drive_duration\\\"/>\\n\n    <field name=\\\"est_wait_duration\\\"/>\\n\n    <separator string=\\\"Actual Times\\\"/>\\n\n    <field name=\\\"act_deliver_time\\\"/>\\n\n    <field name=\\\"error_time\\\"/>\\n\n    <separator string=\\\"Photos\\\"/>\\n\n    <field name=\\\"require_dropoff_image\\\"/>\\n\n    <field name=\\\"require_return_image\\\"/>\\n\n    <field name=\\\"dropoff_image\\\"/>\\n\n    <field name=\\\"return_image\\\"/>\\n\n    <separator string=\\\"Coordinates\\\"/>\\n\n    <field name=\\\"require_dropoff_coords\\\"/>\\n\n    <field name=\\\"dropoff_coords\\\"/>\\n\n    <separator string=\\\"Notifications\\\"/>\\n\n    <field name=\\\"template_set_id\\\"/>\\n\n    <separator string=\\\"Customer Poll\\\"/>\\n\n    <field name=\\\"poll_id\\\"/>\\n\n    <field name=\\\"poll2_id\\\"/>\\n\n    <separator string=\\\"Other Info\\\"/>\\n\n    <field name=\\\"tags\\\"/>\\n\n    <field name=\\\"hide\\\"/>\\n\n</form>\\n\"}, \"nd_poll_list\": {\"module\": \"netforce_delivery\", \"name\": \"nd_poll_list\", \"type\": \"list\", \"model\": \"nd.poll\", \"layout\": \"\n<list model=\\\"nd.poll\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"num_options\\\"/>\\n\n    <field name=\\\"num_answers\\\"/>\\n\n</list>\\n\"}, \"nd_order_pivot\": {\"module\": \"netforce_delivery\", \"name\": \"nd_order_pivot\", \"type\": \"pivot\", \"model\": \"nd.order\", \"layout\": \"\n<pivot model=\\\"nd.order\\\" rows=\\\"driver_id\\\" cols=\\\"state\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"delivery_date\\\"/>\\n\n    <field name=\\\"customer_id\\\"/>\\n\n    <field name=\\\"driver_id\\\"/>\\n\n    <field name=\\\"route_id\\\"/>\\n\n    <field name=\\\"round_id\\\"/>\\n\n    <field name=\\\"period_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</pivot>\\n\"}, \"nd_settings\": {\"module\": \"netforce_delivery\", \"name\": \"nd_settings\", \"type\": \"form\", \"model\": \"settings\", \"layout\": \"\n<form model=\\\"settings\\\">\\n    \n    <field name=\\\"delivery_pickup_address_id\\\"/>\\n\n</form>\\n\"}, \"nd_menu\": {\"module\": \"netforce_delivery\", \"name\": \"nd_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Delivery\\\">\\n    \n    <item string=\\\"Dashboard\\\" action=\\\"nd_board\\\"/>\\n\n    <item string=\\\"Map\\\" action=\\\"nd_map\\\"/>\\n\n    <item string=\\\"Delivery Orders\\\" action=\\\"nd_order\\\"/>\\n\n    <item string=\\\"Delivery Routes\\\" action=\\\"nd_route\\\"/>\\n\n    <item string=\\\"Delivery Jobs\\\" action=\\\"nd_job\\\"/>\\n\n    <item string=\\\"Reports\\\">\\n        \n        <item string=\\\"Delivery Analysis\\\" action=\\\"nd_delivery_pivot\\\"/>\\n\n        <item string=\\\"Driver Payable Report\\\" action=\\\"nd_report_driver_pay\\\"/>\\n\n        <item string=\\\"Product Returns Report\\\" action=\\\"nd_report_return\\\"/>\\n</item>\\n\n    <item string=\\\"Settings\\\">\\n        \n        <item string=\\\"Drivers\\\" action=\\\"nd_driver\\\"/>\\n\n        <item string=\\\"Delivery Periods\\\" action=\\\"nd_work_period\\\"/>\\n\n        <item string=\\\"Tags\\\" action=\\\"nd_tag\\\"/>\\n\n        <item string=\\\"Customer Feedback\\\" action=\\\"nd_poll\\\"/>\\n\n        <item string=\\\"Delivery Settings\\\" action=\\\"nd_settings\\\"/>\\n</item>\\n\n</menu>\\n\"}, \"nd_driver_form\": {\"module\": \"netforce_delivery\", \"name\": \"nd_driver_form\", \"type\": \"form\", \"model\": \"nd.driver\", \"layout\": \"\n<form model=\\\"nd.driver\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"mobile\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"coords\\\"/>\\n\n    <field name=\\\"bat_level\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"track_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"rounds\\\"/>\\n\n        <field name=\\\"jobs\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"nd_board\": {\"module\": \"netforce_delivery\", \"name\": \"nd_board\", \"type\": \"board\", \"layout\": \"\n<board>\\n    \n    <hpanel>\\n        \n        <widget action=\\\"nd_delivery_day\\\" string=\\\"Deliveries Per Day\\\" span=\\\"12\\\"/>\\n\n    </hpanel>\\n\n</board>\\n\"}, \"jc_task_stage_list\": {\"module\": \"netforce_job_control\", \"name\": \"jc_task_stage_list\", \"type\": \"list\", \"model\": \"task.stage\", \"layout\": \"\n<list model=\\\"task.stage\\\">\\n    \n    <field name=\\\"service_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n</list>\"}, \"jc_task_stage_form\": {\"module\": \"netforce_job_control\", \"name\": \"jc_task_stage_form\", \"type\": \"form\", \"model\": \"task.stage\", \"layout\": \"\n<form model=\\\"task.stage\\\">\\n    \n    <field name=\\\"service_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\"}, \"jc_service_list\": {\"module\": \"netforce_job_control\", \"name\": \"jc_service_list\", \"type\": \"list\", \"model\": \"jc.service\", \"layout\": \"\n<list model=\\\"jc.service\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"categ_id\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"group_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n</list>\"}, \"jc_task_pivot\": {\"module\": \"netforce_job_control\", \"name\": \"jc_task_pivot\", \"type\": \"pivot\", \"model\": \"jc.task\", \"layout\": \"\n<pivot model=\\\"jc.task\\\" rows=\\\"job_id.contact_id.name,job_id.number\\\" agg_name=\\\"count\\\">\\n    \n    <field name=\\\"name\\\" string=\\\"Task Name\\\"/>\\n\n    <field name=\\\"state\\\" string=\\\"Task Status\\\"/>\\n\n    <field name=\\\"job_id.number\\\" string=\\\"Job Number\\\"/>\\n\n    <field name=\\\"job_id.contact_id.name\\\" string=\\\"Customer\\\"/>\\n\n    <field name=\\\"job_id.contact_id.categ_id.name\\\" string=\\\"Customer Category\\\"/>\\n\n    <field name=\\\"job_id.state\\\" string=\\\"Job Status\\\"/>\\n\n    <field name=\\\"job_id.user_id.name\\\" string=\\\"Responsible User\\\"/>\\n\n    <field name=\\\"job_id.due_date\\\"/>\\n\n</pivot>\\n\"}, \"jc_unass_job_widget\": {\"module\": \"netforce_job_control\", \"name\": \"jc_unass_job_widget\", \"type\": \"list\", \"model\": \"jc.job\", \"layout\": \"\n<list model=\\\"jc.job\\\" colors='{\\\"due_date,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"days_late,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"#9f9\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]}' noselect=\\\"1\\\">\\n    \n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"request_by_id\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</list>\"}, \"jc_over_task_widget\": {\"module\": \"netforce_job_control\", \"name\": \"jc_over_task_widget\", \"type\": \"list\", \"model\": \"jc.job\", \"layout\": \"\n<list model=\\\"jc.job\\\" colors='{\\\"deadline,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"days_late,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]]}' noselect=\\\"1\\\">\\n    \n    <field name=\\\"job_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"deadline\\\"/>\\n\n    <field name=\\\"days_late\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</list>\"}, \"jc_required_doc_list\": {\"module\": \"netforce_job_control\", \"name\": \"jc_required_doc_list\", \"type\": \"list\", \"model\": \"jc.required.doc\", \"layout\": \"\n<list model=\\\"jc.required.doc\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</list>\"}, \"jc_task_list\": {\"module\": \"netforce_job_control\", \"name\": \"jc_task_list\", \"type\": \"list\", \"model\": \"jc.task\", \"layout\": \"\n<list model=\\\"jc.task\\\" colors='{\\\"#f99\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"#9f9\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]}'>\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"job_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"service_id\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"deadline\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</list>\"}, \"jc_time_entry_slots\": {\"module\": \"netforce_job_control\", \"name\": \"jc_time_entry_slots\", \"type\": \"slots\", \"model\": \"time.entry\", \"layout\": \"\n<slots model=\\\"time.entry\\\" group_model=\\\"jc.job\\\" group_condition='[[\\\"state\\\",\\\"=\\\",\\\"in_progress\\\"]]' group_order=\\\"contact_id.name\\\" date_field=\\\"date\\\" group_field=\\\"jc_job_id\\\" agg_field=\\\"actual_hours\\\" click_action=\\\"time_popup\\\">\\n</slots>\\n\"}, \"jc_time_entry_list\": {\"module\": \"netforce_job_control\", \"name\": \"jc_time_entry_list\", \"type\": \"list\", \"model\": \"time.entry\", \"priority\": 1, \"layout\": \"\n<list model=\\\"time.entry\\\" priority=\\\"1\\\" show_search=\\\"1\\\" colors='{\\\"#ccc\\\":[[\\\"state\\\",\\\"=\\\",\\\"merged\\\"]],\\\"#cfc\\\":[[\\\"state\\\",\\\"=\\\",\\\"approved\\\"]],\\\"#ccf\\\":[[\\\"state\\\",\\\"=\\\",\\\"invoiced\\\"]]}'>\\n    \n    <top>\\n        \n        <button string=\\\"Send Notifications\\\" method=\\\"send_notifs\\\" icon=\\\"envelope\\\"/>\\n\n    </top>\\n\n    <head>\\n        \n        <button string=\\\"Submit\\\" method=\\\"submit\\\" type=\\\"primary\\\" icon=\\\"arrow-right\\\" hide_profile=\\\"ADMIN\\\"/>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve\\\" type=\\\"success\\\" icon=\\\"ok\\\" hide_profile=\\\"LAWYER\\\"/>\\n\n        <button string=\\\"To Draft\\\" method=\\\"to_draft\\\" icon=\\\"arrow-left\\\" hide_profile=\\\"LAWYER\\\"/>\\n\n        <button string=\\\"Merge\\\" method=\\\"merge\\\"/>\\n\n        <button string=\\\"Copy To Invoice\\\" method=\\\"copy_to_invoice\\\" hide_profile=\\\"LAWYER\\\"/>\\n\n    </head>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"jc_job_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"actual_hours\\\" view=\\\"field_duration\\\" view_options='{\\\"no_timer\\\":true,\\\"hide_format\\\":true,\\\"auto_save\\\":true}' show_total=\\\"1\\\" total_format=\\\"hours\\\"/>\\n\n    <field name=\\\"bill_hours\\\" view=\\\"field_duration\\\" view_options='{\\\"no_timer\\\":true,\\\"hide_format\\\":true,\\\"auto_save\\\":true}' show_total=\\\"1\\\" total_format=\\\"hours\\\"/>\\n\n    <field name=\\\"amount\\\" show_total=\\\"1\\\"/>\\n\n    <field name=\\\"notes\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"timer_start\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"job_bill_type\\\" invisible=\\\"1\\\"/>\\n\n    <group>\\n        \n        <button string=\\\"Submit\\\" type=\\\"primary\\\" icon=\\\"arrow-right\\\" method=\\\"submit\\\" states=\\\"draft\\\" attrs='{\\\"invisible\\\":[[\\\"job_bill_type\\\",\\\"=\\\",\\\"flat\\\"]]}' hide_profile=\\\"ADMIN\\\"/>\\n\n        <button string=\\\"Approve\\\" type=\\\"success\\\" icon=\\\"ok\\\" method=\\\"approve\\\" states=\\\"draft,submitted\\\" attrs='{\\\"invisible\\\":[[\\\"job_bill_type\\\",\\\"=\\\",\\\"flat\\\"]]}' hide_profile=\\\"LAWYER\\\"/>\\n\n        <button string=\\\"To Draft\\\" icon=\\\"arrow-left\\\" method=\\\"to_draft\\\" states=\\\"submitted\\\" attrs='{\\\"invisible\\\":[[\\\"job_bill_type\\\",\\\"=\\\",\\\"flat\\\"]]}' hide_profile=\\\"LAWYER\\\"/>\\n\n    </group>\\n\n</list>\\n\"}, \"jc_issue_list\": {\"module\": \"netforce_job_control\", \"name\": \"jc_issue_list\", \"type\": \"list\", \"model\": \"jc.issue\", \"layout\": \"\n<list model=\\\"jc.issue\\\" colors='{\\\"#cfc\\\":[[\\\"state\\\",\\\"=\\\",\\\"closed\\\"]],\\\"#fcc\\\":[[\\\"overdue\\\",\\\"=\\\",true]]}'>\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"report_by_id\\\"/>\\n\n    <field name=\\\"assigned_to_id\\\"/>\\n\n    <field name=\\\"priority\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</list>\"}, \"jc_project_list\": {\"module\": \"netforce_job_control\", \"name\": \"jc_project_list\", \"type\": \"list\", \"model\": \"jc.project\", \"layout\": \"\n<list model=\\\"jc.project\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\"}, \"jc_time_entry_form\": {\"module\": \"netforce_job_control\", \"name\": \"jc_time_entry_form\", \"type\": \"form\", \"model\": \"time.entry\", \"priority\": 1, \"layout\": \"\n<form model=\\\"time.entry\\\" priority=\\\"1\\\" hide_top=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Options\\\">\\n            \n            <item string=\\\"Duplicate\\\" method=\\\"copy\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"jc_job_id\\\" condition='[[\\\"involved_user_id\\\",\\\"=\\\",user_id]]' onchange=\\\"onchange_job\\\" required=\\\"1\\\"/>\\n\n    <field name=\\\"user_id\\\" onchange=\\\"onchange_user\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"start_time\\\" onchange=\\\"onchange_start_time\\\"/>\\n\n    <field name=\\\"actual_hours\\\" view=\\\"field_duration\\\" onchange=\\\"onchange_actual_hours\\\"/>\\n\n    <field name=\\\"end_time\\\" onchange=\\\"onchange_end_time\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"description\\\" required=\\\"1\\\"/>\\n\n    <field name=\\\"notes\\\" help=\\\"Eg. traveling time\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"product_id\\\" condition='[[\\\"bill_user_id\\\",\\\"=\\\",user_id]]' onchange=\\\"onchange_product\\\"/>\\n\n    <field name=\\\"bill_type\\\" invisible=\\\"1\\\"/>\\n\n    <group attrs='{\\\"invisible\\\":[[\\\"bill_type\\\",\\\"!=\\\",\\\"hour\\\"]]}' columns=\\\"1\\\" span=\\\"6\\\">\\n        \n        <field name=\\\"rate\\\"/>\\n\n    </group>\\n\n    <group attrs='{\\\"invisible\\\":[[\\\"bill_type\\\",\\\"!=\\\",\\\"hour\\\"]]}'>\\n        \n        <field name=\\\"bill_hours\\\" view=\\\"field_duration\\\" view_options='{\\\"no_timer\\\":true,\\\"hide_format\\\":true}' onchange=\\\"onchange_bill_hours\\\"/>\\n\n        <field name=\\\"amount\\\"/>\\n\n    </group>\\n\n    <group attrs='{\\\"invisible\\\":[[\\\"bill_type\\\",\\\"=\\\",\\\"hour\\\"]]}' columns=\\\"1\\\" span=\\\"6\\\">\\n        \n        <field name=\\\"flat_fee\\\"/>\\n\n    </group>\\n\n    <separator/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"invoice_id\\\" readonly=\\\"1\\\"/>\\n\n    <field name=\\\"timer_start\\\" invisible=\\\"1\\\"/>\\n\n</form>\\n\"}, \"jc_time_entry_search\": {\"module\": \"netforce_job_control\", \"name\": \"jc_time_entry_search\", \"type\": \"search\", \"model\": \"time.entry\", \"layout\": \"\n<search model=\\\"time.entry\\\">\\n    \n    <field name=\\\"client_id\\\"/>\\n\n    <field name=\\\"jc_job_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"notes\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</search>\\n\"}, \"jc_issue_widget\": {\"module\": \"netforce_job_control\", \"name\": \"jc_issue_widget\", \"type\": \"list\", \"layout\": \"\n<list colors='{\\\"#fcc\\\":[[\\\"overdue\\\",\\\"=\\\",true]]}'>\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"assigned_to_id\\\"/>\\n\n    <field name=\\\"priority\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</list>\"}, \"jc_job_form\": {\"module\": \"netforce_job_control\", \"name\": \"jc_job_form\", \"type\": \"form\", \"model\": \"jc.job\", \"layout\": \"\n<form model=\\\"jc.job\\\" show_company=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"jc_print_job\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy Job\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"Create Tasks\\\" method=\\\"create_tasks\\\"/>\\n\n            <item string=\\\"Create Next Job\\\" method=\\\"create_next\\\"/>\\n\n            <!--<divider/>\\n            <item string=\\\"Copy To Customer Invoice\\\" method=\\\"copy_to_invoice\\\"/>-->\\n        \n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"person_id\\\" domain='[[\\\"relations.to_partner_id\\\",\\\"=\\\",contact_id]]'/>\\n\n    <field name=\\\"product_id\\\" onchange=\\\"onchange_product\\\"/>\\n\n    <field name=\\\"service_id\\\"/>\\n\n    <field name=\\\"template_id\\\" onchange=\\\"onchange_template\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"request_by_id\\\"/>\\n\n    <field name=\\\"state\\\" onchange=\\\"onchange_state\\\"/>\\n\n    <field name=\\\"bill_type\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"last_fup\\\"/>\\n\n    <field name=\\\"est_hours\\\"/>\\n\n    <field name=\\\"percent_done\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n    <field name=\\\"users\\\" view=\\\"field_multi_select\\\"/>\\n\n    <group attrs='{\\\"invisible\\\":[[\\\"state\\\",\\\"!=\\\",\\\"canceled\\\"]]}'>\\n        \n        <field name=\\\"cancel_reason\\\"/>\\n\n        <field name=\\\"cancel_periodic\\\"/>\\n\n    </group>\\n\n    <!--\\n    <separator string=\\\"Invoicing\\\"/>\\n    <field name=\\\"deposit_amount\\\"/>\\n    <newline/>\\n    <field name=\\\"invoice_id\\\" action=\\\"view_invoice\\\"/>\\n    <newline/>\\n    <field name=\\\"percent_invoiced\\\"/>\\n    <field name=\\\"percent_paid\\\"/>\\n    -->\\n    \n    <separator string=\\\"Payment Installments\\\"/>\\n\n    <field name=\\\"bill_amount\\\"/>\\n\n    <field name=\\\"deposit_amount\\\"/>\\n\n    <field name=\\\"payment_plans\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"amount\\\"/>\\n\n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"period\\\"/>\\n\n            <field name=\\\"invoice_id\\\"/>\\n\n            <field name=\\\"state\\\" readonly=\\\"1\\\"/>\\n\n            <button string=\\\"Create Invoice\\\" method=\\\"create_invoice\\\" icon=\\\"arrow-right\\\" states=\\\"waiting\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <field name=\\\"percent_invoiced\\\"/>\\n\n    <field name=\\\"percent_paid\\\"/>\\n\n    <field name=\\\"company_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Completed\\\" method=\\\"set_done\\\" type=\\\"success\\\" states=\\\"in_progress\\\" icon=\\\"ok\\\" confirm=\\\"Please confirm that all time entries and expenses have been recorded.\\\"/>\\n\n        <!--<button string=\\\"Confirm\\\" method=\\\"confirm\\\" type=\\\"success\\\" states=\\\"new\\\" icon=\\\"arrow-right\\\"/>-->\\n    \n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"status_history\\\">\\n            \n            <list>\\n                \n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"tasks\\\">\\n            \n            <list colors='{\\\"deadline,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"days_late,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"#9f9\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]}'>\\n                \n                <head>\\n                    \n                    <button string=\\\"Mark as completed\\\" type=\\\"success\\\" icon=\\\"ok\\\" method=\\\"set_done\\\"/>\\n\n                </head>\\n\n                <field name=\\\"name\\\"/>\\n\n                <field name=\\\"user_id\\\"/>\\n\n                <field name=\\\"deadline\\\"/>\\n\n                <field name=\\\"state\\\"/>\\n\n                <field name=\\\"est_hours\\\"/>\\n\n                <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"name\\\"/>\\n\n                <field name=\\\"user_id\\\"/>\\n\n                <field name=\\\"deadline\\\"/>\\n\n                <newline/>\\n\n                <field name=\\\"state\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"est_hours\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"time_entries_other\\\">\\n            \n            <form>\\n                \n                <field name=\\\"jc_job_id\\\" condition='[[\\\"involved_user_id\\\",\\\"=\\\",user_id]]' onchange=\\\"onchange_job\\\" required=\\\"1\\\"/>\\n\n                <field name=\\\"user_id\\\" onchange=\\\"onchange_user\\\"/>\\n\n                <separator/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"start_time\\\" onchange=\\\"onchange_start_time\\\"/>\\n\n                <field name=\\\"actual_hours\\\" view=\\\"field_duration\\\" onchange=\\\"onchange_actual_hours\\\"/>\\n\n                <field name=\\\"end_time\\\" onchange=\\\"onchange_end_time\\\"/>\\n\n                <separator/>\\n\n                <field name=\\\"description\\\" required=\\\"1\\\"/>\\n\n                <field name=\\\"notes\\\" help=\\\"Eg. traveling time\\\"/>\\n\n                <separator/>\\n\n                <field name=\\\"product_id\\\" condition='[[\\\"bill_user_id\\\",\\\"=\\\",user_id]]' onchange=\\\"onchange_product\\\"/>\\n\n                <field name=\\\"bill_type\\\" invisible=\\\"1\\\"/>\\n\n                <group attrs='{\\\"invisible\\\":[[\\\"bill_type\\\",\\\"!=\\\",\\\"hour\\\"]]}' columns=\\\"1\\\" span=\\\"6\\\">\\n                    \n                    <field name=\\\"rate\\\"/>\\n\n                </group>\\n\n                <group attrs='{\\\"invisible\\\":[[\\\"bill_type\\\",\\\"!=\\\",\\\"hour\\\"]]}'>\\n                    \n                    <field name=\\\"bill_hours\\\" view=\\\"field_duration\\\" view_options='{\\\"no_timer\\\":true,\\\"hide_format\\\":true}' onchange=\\\"onchange_bill_hours\\\"/>\\n\n                    <field name=\\\"amount\\\"/>\\n\n                </group>\\n\n                <group attrs='{\\\"invisible\\\":[[\\\"bill_type\\\",\\\"=\\\",\\\"hour\\\"]]}' columns=\\\"1\\\" span=\\\"6\\\">\\n                    \n                    <field name=\\\"flat_fee\\\"/>\\n\n                </group>\\n\n                <separator/>\\n\n                <field name=\\\"state\\\"/>\\n\n                <field name=\\\"invoice_id\\\" readonly=\\\"1\\\"/>\\n\n                <field name=\\\"timer_start\\\" invisible=\\\"1\\\"/>\\n\n            </form>\\n\n            <list>\\n                \n                <search>\\n                    \n                    <field name=\\\"date\\\"/>\\n\n                    <field name=\\\"state\\\"/>\\n\n                </search>\\n\n                <head>\\n                    \n                    <button string=\\\"Submit\\\" method=\\\"submit\\\" type=\\\"primary\\\" icon=\\\"arrow-right\\\" hide_profile=\\\"ADMIN\\\"/>\\n\n                    <button string=\\\"Approve\\\" method=\\\"approve\\\" type=\\\"success\\\" icon=\\\"ok\\\" hide_profile=\\\"LAWYER\\\"/>\\n\n                    <button string=\\\"To Draft\\\" method=\\\"to_draft\\\" icon=\\\"arrow-left\\\" hide_profile=\\\"LAWYER\\\"/>\\n\n                    <button string=\\\"Merge\\\" method=\\\"merge\\\"/>\\n\n                    <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"jc_print_time\\\" action_options='{\\\"ids\\\":ids}'/>\\n\n                    <button string=\\\"Copy To Invoice\\\" method=\\\"copy_to_invoice\\\" hide_profile=\\\"LAWYER\\\"/>\\n\n                </head>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"user_id\\\"/>\\n\n                <field name=\\\"bill_hours\\\" view=\\\"field_duration\\\" view_options='{\\\"no_timer\\\":true,\\\"hide_format\\\":true,\\\"auto_save\\\":true}' show_total=\\\"1\\\" total_format=\\\"hours\\\"/>\\n\n                <field name=\\\"amount\\\" show_total=\\\"1\\\"/>\\n\n                <field name=\\\"notes\\\"/>\\n\n                <field name=\\\"state\\\"/>\\n\n                <field name=\\\"timer_start\\\" invisible=\\\"1\\\"/>\\n\n                <field name=\\\"job_bill_type\\\" invisible=\\\"1\\\"/>\\n\n                <group>\\n                    \n                    <button string=\\\"Submit\\\" type=\\\"primary\\\" icon=\\\"arrow-right\\\" method=\\\"submit\\\" states=\\\"draft\\\" attrs='{\\\"invisible\\\":[[\\\"job_bill_type\\\",\\\"=\\\",\\\"flat\\\"]]}' hide_profile=\\\"ADMIN\\\"/>\\n\n                    <button string=\\\"Approve\\\" type=\\\"success\\\" icon=\\\"ok\\\" method=\\\"approve\\\" states=\\\"draft,submitted\\\" attrs='{\\\"invisible\\\":[[\\\"job_bill_type\\\",\\\"=\\\",\\\"flat\\\"]]}' hide_profile=\\\"LAWYER\\\"/>\\n\n                    <button string=\\\"To Draft\\\" icon=\\\"arrow-left\\\" method=\\\"to_draft\\\" states=\\\"submitted\\\" attrs='{\\\"invisible\\\":[[\\\"job_bill_type\\\",\\\"=\\\",\\\"flat\\\"]]}' hide_profile=\\\"LAWYER\\\"/>\\n\n                </group>\\n\n            </list>\\n\n        </field>\\n\n        <field name=\\\"time_entries_invoiced\\\">\\n            \n            <list hide_buttons=\\\"1\\\" hide_select=\\\"1\\\" pill_field=\\\"invoice_id\\\">\\n                \n                <search>\\n                    \n                    <field name=\\\"date\\\"/>\\n\n                    <field name=\\\"invoice_id\\\"/>\\n\n                </search>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"user_id\\\"/>\\n\n                <field name=\\\"bill_hours\\\" view=\\\"field_duration\\\" view_options='{\\\"readonly\\\":true}' show_total=\\\"1\\\" total_format=\\\"hours\\\"/>\\n\n                <field name=\\\"amount\\\" show_total=\\\"1\\\"/>\\n\n                <field name=\\\"notes\\\"/>\\n\n                <field name=\\\"state\\\"/>\\n\n                <field name=\\\"invoice_id\\\"/>\\n\n                <field name=\\\"timer_start\\\" invisible=\\\"1\\\"/>\\n\n            </list>\\n\n        </field>\\n\n        <field name=\\\"time_entries_merged\\\"/>\\n\n        <field name=\\\"expenses\\\"/>\\n\n        <field name=\\\"invoiced_expenses\\\"/>\\n\n        <field name=\\\"documents\\\" show_inline=\\\"1\\\"/>\\n\n        <field name=\\\"required_docs\\\"/>\\n\n        <field name=\\\"folders\\\"/>\\n\n        <field name=\\\"invoices\\\"/>\\n\n        <field name=\\\"payments\\\"/>\\n\n        <field name=\\\"emails\\\"/>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"jc_task_form\": {\"module\": \"netforce_job_control\", \"name\": \"jc_task_form\", \"type\": \"form\", \"model\": \"jc.task\", \"layout\": \"\n<form model=\\\"jc.task\\\" show_company=\\\"1\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"job_id\\\" link=\\\"job\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"deadline\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"jc_over_job_widget\": {\"module\": \"netforce_job_control\", \"name\": \"jc_over_job_widget\", \"type\": \"list\", \"model\": \"jc.job\", \"layout\": \"\n<list model=\\\"jc.job\\\" colors='{\\\"due_date,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"days_late,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"#9f9\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]}' noselect=\\\"1\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"days_late\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</list>\"}, \"jc_period_list\": {\"module\": \"netforce_job_control\", \"name\": \"jc_period_list\", \"type\": \"list\", \"model\": \"jc.service.period\", \"layout\": \"\n<list model=\\\"jc.service.period\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n</list>\"}, \"jc_job_pivot\": {\"module\": \"netforce_job_control\", \"name\": \"jc_job_pivot\", \"type\": \"pivot\", \"model\": \"jc.job\", \"layout\": \"\n<pivot model=\\\"jc.job\\\" rows=\\\"contact_id.name,number\\\" agg_name=\\\"count\\\">\\n    \n    <field name=\\\"number\\\" string=\\\"Job Number\\\"/>\\n\n    <field name=\\\"contact_id.name\\\" string=\\\"Customer\\\"/>\\n\n    <field name=\\\"contact_id.categ_id.name\\\" string=\\\"Customer Category\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"user_id.name\\\" string=\\\"Responsible User\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n</pivot>\\n\"}, \"jc_job_list\": {\"module\": \"netforce_job_control\", \"name\": \"jc_job_list\", \"type\": \"list\", \"model\": \"jc.job\", \"priority\": 1, \"layout\": \"\n<list model=\\\"jc.job\\\" colors='{\\\"due_date,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"days_late,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"#9f9\\\":[[\\\"state\\\",\\\"in\\\",[\\\"done\\\",\\\"verified\\\",\\\"invoiced\\\"]]],\\\"#ccc\\\":[[\\\"state\\\",\\\"=\\\",\\\"canceled\\\"]],\\\"percent_paid,#0c0\\\":[[\\\"percent_paid\\\",\\\"=\\\",100]],\\\"percent_invoiced,#0c0\\\":[[\\\"percent_invoiced\\\",\\\"=\\\",100]],\\\"#f0f\\\":[[\\\"is_duplicate\\\",\\\"=\\\",true],[\\\"state\\\",\\\"=\\\",\\\"in_progress\\\"]]}' priority=\\\"1\\\">\\n    \n    <top>\\n        \n        <!--<button string=\\\"Check duplicates\\\" action=\\\"check_dup\\\"/>-->\\n        \n        <!--<button string=\\\"Migrate old data\\\" method=\\\"migrate\\\" show_progress=\\\"1\\\"/>-->\\n        \n        <button string=\\\"Migrate service->product\\\" method=\\\"migrate_prod\\\"/>\\n\n    </top>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"current_work\\\"/>\\n\n    <field name=\\\"last_fup\\\"/>\\n\n    <field name=\\\"percent_done\\\" suffix=\\\"%\\\"/>\\n\n    <field name=\\\"percent_invoiced\\\" suffix=\\\"%\\\"/>\\n\n    <field name=\\\"percent_paid\\\" suffix=\\\"%\\\"/>\\n\n    <field name=\\\"deposit_amount\\\"/>\\n\n    <field name=\\\"uninvoiced_time_amount\\\"/>\\n\n    <field name=\\\"company_id\\\"/>\\n\n    <field name=\\\"state\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"is_duplicate\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"jc_main_menu\": {\"module\": \"netforce_job_control\", \"name\": \"jc_main_menu\", \"type\": \"inherit\", \"inherit\": \"main_menu\", \"layout\": \"\n<inherit inherit=\\\"main_menu\\\">\\n    \n    <item string=\\\"Addons\\\" position=\\\"after\\\">\\n        \n        <item string=\\\"Job Control\\\" action=\\\"jc_service_board\\\" addon=\\\"JOB_CONTROL\\\"/>\\n</item>\\n\n</inherit>\\n\"}, \"jc_pending_task_widget\": {\"module\": \"netforce_job_control\", \"name\": \"jc_pending_task_widget\", \"type\": \"list\", \"model\": \"jc.task\", \"layout\": \"\n<list model=\\\"jc.task\\\">\\n    \n    <head>\\n        \n        <button string=\\\"New Task\\\" icon=\\\"plus-sign\\\" noselect=\\\"1\\\" action=\\\"task\\\" action_options=\\\"mode=form\\\"/>\\n\n    </head>\\n\n    <field name=\\\"service_id\\\"/>\\n\n    <field name=\\\"subject\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"deadline\\\"/>\\n\n</list>\"}, \"jc_project_form\": {\"module\": \"netforce_job_control\", \"name\": \"jc_project_form\", \"type\": \"form\", \"model\": \"jc.project\", \"layout\": \"\n<form model=\\\"jc.project\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"end_date\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"jobs\\\"/>\\n\n        <field name=\\\"tasks\\\"/>\\n\n        <field name=\\\"work_time\\\"/>\\n\n        <field name=\\\"documents\\\">\\n            \n            <list>\\n                \n                <field name=\\\"file\\\" target=\\\"_blank\\\"/>\\n\n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"expiry_date\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"categ_id\\\"/>\\n\n                <field name=\\\"file\\\" target=\\\"_blank\\\" onchange=\\\"onchange_file\\\"/>\\n\n                <field name=\\\"date\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"expiry_date\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\"}, \"jc_service_board_user\": {\"module\": \"netforce_job_control\", \"name\": \"jc_service_board_user\", \"type\": \"board\", \"layout\": \"\n<board>\\n    \n    <hpanel>\\n        \n        <widget string=\\\"My Pending Jobs\\\" action=\\\"jc_user_pending_job_widget\\\"/>\\n\n        <widget string=\\\"My Pending Tasks\\\" action=\\\"jc_user_pending_task_widget\\\"/>\\n\n    </hpanel>\\n\n</board>\\n\"}, \"jc_time_popup_stop\": {\"module\": \"netforce_job_control\", \"name\": \"jc_time_popup_stop\", \"type\": \"form\", \"model\": \"time.entry\", \"layout\": \"\n<form model=\\\"time.entry\\\" form_layout=\\\"stacked\\\" show_save=\\\"1\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"client_id\\\"/>\\n\n    <field name=\\\"jc_job_id\\\"/>\\n\n    <field name=\\\"notes\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"actual_hours\\\" view=\\\"field_duration\\\"/>\\n\n    <field name=\\\"timer_start\\\" invisible=\\\"1\\\"/>\\n\n</form>\\n\"}, \"jc_required_doc_form\": {\"module\": \"netforce_job_control\", \"name\": \"jc_required_doc_form\", \"type\": \"form\", \"model\": \"jc.required.doc\", \"layout\": \"\n<form model=\\\"jc.required.doc\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</form>\"}, \"jc_job_calendar\": {\"module\": \"netforce_job_control\", \"name\": \"jc_job_calendar\", \"type\": \"calendar\", \"model\": \"jc.job\", \"layout\": \"\n<calendar model=\\\"jc.job\\\" date_field=\\\"due_date\\\" colors='{\\\"#090\\\":[[\\\"state\\\",\\\"in\\\",[\\\"done\\\",\\\"verified\\\",\\\"invoiced\\\"]]],\\\"#c00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"#999\\\":[[\\\"state\\\",\\\"=\\\",\\\"canceled\\\"]]}'>\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"current_work\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</calendar>\"}, \"jc_user_pending_job_widget\": {\"module\": \"netforce_job_control\", \"name\": \"jc_user_pending_job_widget\", \"type\": \"list\", \"model\": \"jc.job\", \"layout\": \"\n<list model=\\\"jc.job\\\" colors='{\\\"due_date,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"days_late,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"#9f9\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]}' no_select=\\\"1\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"jc_unass_task_widget\": {\"module\": \"netforce_job_control\", \"name\": \"jc_unass_task_widget\", \"type\": \"list\", \"model\": \"jc.task\", \"layout\": \"\n<list model=\\\"jc.task\\\" colors='{\\\"#f99\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"#9f9\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]}'>\\n    \n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"service_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"deadline\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</list>\"}, \"jc_service_tree\": {\"module\": \"netforce_job_control\", \"name\": \"jc_service_tree\", \"type\": \"tree\", \"model\": \"jc.service\", \"layout\": \"\n<tree model=\\\"jc.service\\\" child_field=\\\"children\\\">\\n    \n    <field name=\\\"full_name\\\" nowrap=\\\"1\\\"/>\\n\n    <field name=\\\"partner_id\\\" nowrap=\\\"1\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"stage_id\\\"/>\\n\n    <field name=\\\"num_tasks\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <button string=\\\"View Details\\\" action=\\\"service_tree\\\" action_options=\\\"mode=page\\\"/>\\n\n</tree>\"}, \"jc_service_categ_form\": {\"module\": \"netforce_job_control\", \"name\": \"jc_service_categ_form\", \"type\": \"form\", \"model\": \"jc.service.categ\", \"layout\": \"\n<form model=\\\"jc.service.categ\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"job_sequence_id\\\"/>\\n\n    <field name=\\\"manager_group_id\\\" help=\\\"Jobs of this service category will appear in the dashboard of manager users\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"jc_all_pending_job_widget\": {\"module\": \"netforce_job_control\", \"name\": \"jc_all_pending_job_widget\", \"type\": \"list\", \"model\": \"jc.job\", \"layout\": \"\n<list model=\\\"jc.job\\\" colors='{\\\"due_date,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"days_late,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"#9f9\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]}' no_select=\\\"1\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"jc_job_template_form\": {\"module\": \"netforce_job_control\", \"name\": \"jc_job_template_form\", \"type\": \"form\", \"model\": \"jc.job.template\", \"layout\": \"\n<form model=\\\"jc.job.template\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n        </button>\\n\n    </head>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"job_name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"est_hours\\\"/>\\n\n    <field name=\\\"periodicity\\\"/>\\n\n    <field name=\\\"auto_complete\\\"/>\\n\n    <field name=\\\"assign_from_client\\\"/>\\n\n    <field name=\\\"update_due_date\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"task_templates\\\">\\n            \n            <list>\\n                \n                <field name=\\\"name\\\"/>\\n\n                <field name=\\\"user_id\\\"/>\\n\n                <field name=\\\"assign_from_job\\\"/>\\n\n                <field name=\\\"deadline\\\"/>\\n\n                <field name=\\\"sequence\\\"/>\\n\n                <field name=\\\"wait_for\\\"/>\\n\n                <field name=\\\"est_hours\\\"/>\\n\n            </list>\\n\n            <form>\\n                \n                <field name=\\\"name\\\"/>\\n\n                <field name=\\\"description\\\"/>\\n\n                <field name=\\\"deadline\\\"/>\\n\n                <field name=\\\"user_id\\\"/>\\n\n                <field name=\\\"assign_from_job\\\"/>\\n\n                <field name=\\\"sequence\\\"/>\\n\n                <field name=\\\"wait_for\\\"/>\\n\n                <field name=\\\"est_hours\\\"/>\\n\n            </form>\\n\n        </field>\\n\n        <!--<field name=\\\"required_docs\\\"/>-->\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"jc_time_calendar\": {\"module\": \"netforce_job_control\", \"name\": \"jc_time_calendar\", \"type\": \"calendar\", \"model\": \"time.entry\", \"layout\": \"\n<calendar model=\\\"time.entry\\\" hide_top=\\\"1\\\" action=\\\"time_popup\\\">\\n    \n    <model name=\\\"time.entry\\\" title=\\\"Time Entries\\\" action=\\\"time_popup\\\" time_field=\\\"start_time\\\" duration_field=\\\"actual_hours\\\">\\n        \n        <field name=\\\"user_id\\\"/>\\n\n        <field name=\\\"client_id\\\"/>\\n\n        <field name=\\\"jc_job_id\\\"/>\\n\n        <field name=\\\"date\\\" invisible=\\\"1\\\"/>\\n\n        <field name=\\\"start_time\\\" invisible=\\\"1\\\"/>\\n\n        <field name=\\\"actual_hours\\\" invisible=\\\"1\\\"/>\\n\n        <field name=\\\"state\\\" invisible=\\\"1\\\"/>\\n\n    </model>\\n\n</calendar>\\n\"}, \"jc_all_pending_task_widget\": {\"module\": \"netforce_job_control\", \"name\": \"jc_all_pending_task_widget\", \"type\": \"list\", \"model\": \"jc.task\", \"layout\": \"\n<list model=\\\"jc.task\\\" colors='{\\\"deadline,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]]}' noselect=\\\"1\\\" action=\\\"view_task\\\">\\n    \n    <field name=\\\"job_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"deadline\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"jc_user_pending_task_widget\": {\"module\": \"netforce_job_control\", \"name\": \"jc_user_pending_task_widget\", \"type\": \"list\", \"model\": \"jc.task\", \"layout\": \"\n<list model=\\\"jc.task\\\" colors='{\\\"deadline,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]]}' noselect=\\\"1\\\" action=\\\"view_task\\\">\\n    \n    <field name=\\\"job_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"deadline\\\"/>\\n\n    <field name=\\\"overdue\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"jc_service_board\": {\"module\": \"netforce_job_control\", \"name\": \"jc_service_board\", \"type\": \"board\", \"layout\": \"\n<board>\\n    \n    <hpanel>\\n        \n        <widget string=\\\"All Pending Jobs\\\" action=\\\"jc_all_pending_job_widget\\\"/>\\n\n        <widget string=\\\"All Pending Tasks\\\" action=\\\"jc_all_pending_task_widget\\\"/>\\n\n    </hpanel>\\n\n</board>\\n\"}, \"jc_service_categ_list\": {\"module\": \"netforce_job_control\", \"name\": \"jc_service_categ_list\", \"type\": \"list\", \"model\": \"jc.service.categ\", \"layout\": \"\n<list model=\\\"jc.service.categ\\\">\\n    \n    <field name=\\\"full_name\\\"/>\\n\n    <field name=\\\"job_sequence_id\\\"/>\\n\n    <field name=\\\"manager_group_id\\\"/>\\n\n</list>\\n\"}, \"jc_service_search\": {\"module\": \"netforce_job_control\", \"name\": \"jc_service_search\", \"type\": \"search\", \"model\": \"jc.service\", \"layout\": \"\n<search model=\\\"jc.service\\\">\\n    \n    <field name=\\\"categ_id\\\" select=\\\"1\\\"/>\\n\n    <field name=\\\"partner_id\\\" select=\\\"1\\\"/>\\n\n</search>\"}, \"jc_task_search\": {\"module\": \"netforce_job_control\", \"name\": \"jc_task_search\", \"type\": \"search\", \"model\": \"jc.task\", \"layout\": \"\n<search model=\\\"jc.task\\\">\\n    \n    <field name=\\\"user_id\\\" select=\\\"1\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"deadline\\\"/>\\n\n</search>\"}, \"jc_issue_form\": {\"module\": \"netforce_job_control\", \"name\": \"jc_issue_form\", \"type\": \"form\", \"model\": \"jc.issue\", \"layout\": \"\n<form model=\\\"jc.issue\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"report_by_id\\\"/>\\n\n    <field name=\\\"assigned_to_id\\\"/>\\n\n    <field name=\\\"name\\\" size=\\\"xlarge\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"details\\\" width=\\\"900\\\" height=\\\"350\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"priority\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"attach\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\"}, \"jc_service_menu\": {\"module\": \"netforce_job_control\", \"name\": \"jc_service_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Job Control\\\">\\n    \n    <item string=\\\"Dashboards\\\">\\n        \n        <item string=\\\"Manager Dashboard\\\" action=\\\"jc_service_board\\\" perm=\\\"service_manager\\\"/>\\n\n        <item string=\\\"User Dashboard\\\" action=\\\"jc_service_board_user\\\"/>\\n</item>\\n\n    <item string=\\\"Jobs\\\" action=\\\"jc_job\\\"/>\\n\n    <item string=\\\"Time Entries\\\" action=\\\"jc_time_entry\\\"/>\\n\n    <item string=\\\"Expenses\\\" action=\\\"jc_expense\\\"/>\\n\n    <item string=\\\"Reports\\\">\\n        \n        <item string=\\\"Job Analysis\\\" action=\\\"jc_job_analysis\\\"/>\\n\n        <item string=\\\"Task Analysis\\\" action=\\\"jc_task_analysis\\\"/>\\n\n        <item string=\\\"Time Analysis\\\" action=\\\"jc_time_analysis\\\"/>\\n</item>\\n\n    <item string=\\\"Settings\\\">\\n        \n        <item string=\\\"Job Templates\\\" action=\\\"jc_job_template\\\"/>\\n\n        <item string=\\\"Services (DEPRECATED)\\\" action=\\\"jc_service\\\"/>\\n</item>\\n\n</menu>\\n\"}, \"jc_time_pending\": {\"module\": \"netforce_job_control\", \"name\": \"jc_time_pending\", \"type\": \"list\", \"model\": \"time.entry\", \"layout\": \"\n<list model=\\\"time.entry\\\" hide_page=\\\"1\\\" hide_select=\\\"1\\\" action=\\\"time_popup_stop\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"jc_job_id\\\"/>\\n\n    <field name=\\\"notes\\\"/>\\n\n    <field name=\\\"actual_hours\\\" view=\\\"field_duration\\\" view_options='{\\\"no_input\\\":true}'/>\\n\n    <field name=\\\"timer_start\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"jc_job_template_list\": {\"module\": \"netforce_job_control\", \"name\": \"jc_job_template_list\", \"type\": \"list\", \"model\": \"jc.job.template\", \"layout\": \"\n<list model=\\\"jc.job.template\\\">\\n    \n    <field name=\\\"product_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"job_name\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"periodicity\\\"/>\\n\n</list>\\n\"}, \"jc_shared_job_widget\": {\"module\": \"netforce_job_control\", \"name\": \"jc_shared_job_widget\", \"type\": \"list\", \"model\": \"jc.job\", \"layout\": \"\n<list model=\\\"jc.job\\\" colors='{\\\"due_date,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"days_late,#f00\\\":[[\\\"overdue\\\",\\\"=\\\",true]],\\\"#9f9\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]}' noselect=\\\"1\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n</list>\"}, \"jc_time_popup\": {\"module\": \"netforce_job_control\", \"name\": \"jc_time_popup\", \"type\": \"form\", \"model\": \"time.entry\", \"layout\": \"\n<form model=\\\"time.entry\\\" form_layout=\\\"stacked\\\" show_save=\\\"1\\\" show_delete=\\\"1\\\" body_color=\\\"#e8f1ff\\\" foot_color=\\\"#d7e7ff\\\" columns=\\\"2\\\">\\n    \n    <field name=\\\"jc_job_id\\\" condition='[[\\\"involved_user_id\\\",\\\"=\\\",user_id]]' onchange=\\\"onchange_job\\\" required=\\\"1\\\"/>\\n\n    <field name=\\\"user_id\\\" onchange=\\\"onchange_user\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"start_time\\\" onchange=\\\"onchange_start_time\\\"/>\\n\n    <field name=\\\"actual_hours\\\" view=\\\"field_duration\\\" onchange=\\\"onchange_actual_hours\\\"/>\\n\n    <field name=\\\"end_time\\\" onchange=\\\"onchange_end_time\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"description\\\" required=\\\"1\\\"/>\\n\n    <field name=\\\"notes\\\" help=\\\"Eg. traveling time\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"product_id\\\" condition='[[\\\"bill_user_id\\\",\\\"=\\\",user_id]]' onchange=\\\"onchange_product\\\"/>\\n\n    <field name=\\\"bill_type\\\" invisible=\\\"1\\\"/>\\n\n    <group attrs='{\\\"invisible\\\":[[\\\"bill_type\\\",\\\"!=\\\",\\\"hour\\\"]]}' columns=\\\"1\\\" span=\\\"6\\\">\\n        \n        <field name=\\\"rate\\\"/>\\n\n    </group>\\n\n    <group attrs='{\\\"invisible\\\":[[\\\"bill_type\\\",\\\"!=\\\",\\\"hour\\\"]]}'>\\n        \n        <field name=\\\"bill_hours\\\" view=\\\"field_duration\\\" view_options='{\\\"no_timer\\\":true,\\\"hide_format\\\":true}' onchange=\\\"onchange_bill_hours\\\"/>\\n\n        <field name=\\\"amount\\\"/>\\n\n    </group>\\n\n    <group attrs='{\\\"invisible\\\":[[\\\"bill_type\\\",\\\"=\\\",\\\"hour\\\"]]}' columns=\\\"1\\\" span=\\\"6\\\">\\n        \n        <field name=\\\"flat_fee\\\"/>\\n\n    </group>\\n\n    <separator/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"invoice_id\\\" readonly=\\\"1\\\"/>\\n\n    <field name=\\\"timer_start\\\" invisible=\\\"1\\\"/>\\n\n</form>\\n\"}, \"jc_job_search\": {\"module\": \"netforce_job_control\", \"name\": \"jc_job_search\", \"type\": \"search\", \"model\": \"jc.job\", \"layout\": \"\n<search model=\\\"jc.job\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"contact_id\\\" select=\\\"1\\\"/>\\n\n    <field name=\\\"product_id\\\" select=\\\"1\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"user_id\\\" select=\\\"1\\\"/>\\n\n    <field name=\\\"priority\\\"/>\\n\n</search>\\n\"}, \"jc_service_form\": {\"module\": \"netforce_job_control\", \"name\": \"jc_service_form\", \"type\": \"form\", \"model\": \"jc.service\", \"layout\": \"\n<form model=\\\"jc.service\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"categ_id\\\"/>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"group_id\\\"/>\\n\n    <field name=\\\"product_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\"}, \"jc_time_list\": {\"module\": \"netforce_job_control\", \"name\": \"jc_time_list\", \"type\": \"list\", \"model\": \"work.time\", \"priority\": 20, \"layout\": \"\n<list model=\\\"work.time\\\" priority=\\\"20\\\">\\n    \n    <field name=\\\"service_id\\\"/>\\n\n    <field name=\\\"task_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"hours\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</list>\\n\"}, \"jc_timesheet_form\": {\"module\": \"netforce_job_control\", \"name\": \"jc_timesheet_form\", \"type\": \"form\", \"model\": \"jc.timesheet\", \"layout\": \"\n<form model=\\\"jc.timesheet\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <group form_layout=\\\"stacked\\\">\\n        \n        <field name=\\\"user_id\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_from\\\" span=\\\"2\\\"/>\\n\n        <field name=\\\"date_to\\\" span=\\\"2\\\"/>\\n\n    </group>\\n\n    <field name=\\\"lines\\\" span=\\\"12\\\" nolabel=\\\"1\\\">\\n        \n        <list>\\n            \n            <field name=\\\"date\\\"/>\\n\n            <field name=\\\"service_id\\\"/>\\n\n            <field name=\\\"task_id\\\"/>\\n\n            <field name=\\\"hours\\\"/>\\n\n            <field name=\\\"description\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <foot>\\n        \n        <button string=\\\"Approve\\\" method=\\\"approve\\\" type=\\\"success\\\" states=\\\"draft\\\"/>\\n\n    </foot>\\n\n</form>\"}, \"jc_service_stage_form\": {\"module\": \"netforce_job_control\", \"name\": \"jc_service_stage_form\", \"type\": \"form\", \"model\": \"jc.service.stage\", \"layout\": \"\n<form model=\\\"jc.service.stage\\\">\\n    \n    <field name=\\\"categ_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\"}, \"jc_timesheet_list\": {\"module\": \"netforce_job_control\", \"name\": \"jc_timesheet_list\", \"type\": \"list\", \"model\": \"jc.timesheet\", \"layout\": \"\n<list model=\\\"jc.timesheet\\\">\\n    \n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\"}, \"jc_period_form\": {\"module\": \"netforce_job_control\", \"name\": \"jc_period_form\", \"type\": \"form\", \"model\": \"jc.service.period\", \"layout\": \"\n<form model=\\\"jc.service.period\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"comments\\\"/>\\n\n    </related>\\n\n</form>\"}, \"jc_service_stage_list\": {\"module\": \"netforce_job_control\", \"name\": \"jc_service_stage_list\", \"type\": \"list\", \"model\": \"jc.service.stage\", \"layout\": \"\n<list model=\\\"jc.service.stage\\\">\\n    \n    <field name=\\\"categ_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"sequence\\\"/>\\n\n</list>\"}, \"jc_time_pivot\": {\"module\": \"netforce_job_control\", \"name\": \"jc_time_pivot\", \"type\": \"pivot\", \"model\": \"time.entry\", \"layout\": \"\n<pivot model=\\\"time.entry\\\" rows=\\\"jc_job_id.contact_id.name,job_id.number\\\" cols=\\\"user_id.name\\\" agg_name=\\\"sum\\\" vals=\\\"actual_hours\\\">\\n    \n    <field name=\\\"user_id.name\\\" string=\\\"User Name\\\"/>\\n\n    <field name=\\\"state\\\" string=\\\"Time Entry Status\\\"/>\\n\n    <field name=\\\"date\\\" string=\\\"Date\\\"/>\\n\n    <field name=\\\"date_week\\\" string=\\\"Week\\\"/>\\n\n    <field name=\\\"date_month\\\" string=\\\"Month\\\"/>\\n\n    <field name=\\\"jc_job_id.number\\\" string=\\\"Job Number\\\"/>\\n\n    <field name=\\\"jc_job_id.contact_id.name\\\" string=\\\"Customer\\\"/>\\n\n    <field name=\\\"jc_job_id.contact_id.categ_id.name\\\" string=\\\"Customer Category\\\"/>\\n\n    <field name=\\\"jc_job_id.state\\\" string=\\\"Job Status\\\"/>\\n\n    <field name=\\\"actual_hours\\\"/>\\n\n    <field name=\\\"bill_hours\\\"/>\\n\n</pivot>\\n\"}, \"jc_batch_job\": {\"module\": \"netforce_job_control\", \"name\": \"jc_batch_job\", \"type\": \"form\", \"model\": \"jc.batch.job\", \"layout\": \"\n<form model=\\\"jc.batch.job\\\" height=\\\"200\\\">\\n    \n    <label string=\\\"This will create jobs for all your clients, using the job templates configured in each client.\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Create Jobs\\\" method=\\\"create_jobs\\\" type=\\\"primary\\\" icon=\\\"arrow-right\\\"/>\\n\n    </foot>\\n\n</form>\"}, \"bank_feed_enter_token\": {\"module\": \"netforce_bank_feed\", \"name\": \"bank_feed_enter_token\", \"type\": \"form\", \"model\": \"bank.feed.enter.token\", \"layout\": \"\n<form model=\\\"bank.feed.enter.token\\\">\\n    \n    <field name=\\\"token\\\"/>\\n\n    <field name=\\\"proc_id\\\" invisible=\\\"1\\\"/>\\n\n    <field name=\\\"feed_id\\\" invisible=\\\"1\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Continue\\\" icon=\\\"arrow-right\\\" method=\\\"do_import\\\" type=\\\"primary\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"bank_feed_form\": {\"module\": \"netforce_bank_feed\", \"name\": \"bank_feed_form\", \"type\": \"form\", \"model\": \"bank.feed\", \"layout\": \"\n<form model=\\\"bank.feed\\\">\\n    \n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"account_id\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"username\\\"/>\\n\n    <field name=\\\"password\\\" password=\\\"1\\\"/>\\n\n    <field name=\\\"account_no\\\"/>\\n\n    <field name=\\\"company\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Import Statements\\\" icon=\\\"refresh\\\" method=\\\"import_statements\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"bank_feed_account_menu\": {\"module\": \"netforce_bank_feed\", \"name\": \"bank_feed_account_menu\", \"type\": \"inherit\", \"inherit\": \"account_menu\", \"layout\": \"\n<inherit inherit=\\\"account_menu\\\">\\n    \n    <item string=\\\"Conversion Balances\\\" position=\\\"after\\\">\\n        \n        <item string=\\\"Bank Feeds\\\" action=\\\"bank_feed\\\"/>\\n</item>\\n\n</inherit>\\n\"}, \"bank_feed_list\": {\"module\": \"netforce_bank_feed\", \"name\": \"bank_feed_list\", \"type\": \"list\", \"model\": \"bank.feed\", \"layout\": \"\n<list model=\\\"bank.feed\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Import Statements\\\" method=\\\"import_statements\\\"/>\\n\n    </head>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"account_id\\\"/>\\n\n    <field name=\\\"username\\\"/>\\n\n    <field name=\\\"account_no\\\"/>\\n\n    <field name=\\\"company\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"shopee_product_list\": {\"module\": \"netforce_shopee\", \"name\": \"shopee_product_list\", \"type\": \"list\", \"model\": \"shopee.product\", \"layout\": \"\n<list model=\\\"shopee.product\\\" colors='{\\\"#f66\\\":[[\\\"show_warning\\\",\\\"=\\\",true]]}'>\\n    \n    <head>\\n        \n        <button string=\\\"Update Variants\\\" method=\\\"get_model_list\\\"/>\\n\n        <button string=\\\"Update SKU\\\" method=\\\"update_product_sku\\\"/>\\n\n        <button string=\\\"Map System Product\\\" method=\\\"map_product\\\"/>\\n\n        <button string=\\\"Update Shopee Stock\\\" method=\\\"update_stock\\\"/>\\n\n        <button string=\\\"Refresh\\\" method=\\\"function_store\\\"/>\\n\n    </head>\\n\n    <field name=\\\"account_id\\\"/>\\n\n    <field name=\\\"item_sku\\\"/>\\n\n    <field name=\\\"item_name\\\"/>\\n\n    <field name=\\\"has_model\\\"/>\\n\n    <field name=\\\"item_status\\\"/>\\n\n    <field name=\\\"show_warning\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"shopee_ship_method_form\": {\"module\": \"netforce_shopee\", \"name\": \"shopee_ship_method_form\", \"type\": \"inherit\", \"inherit\": \"ship_method_form\", \"layout\": \"\n<inherit inherit=\\\"ship_method_form\\\">\\n    \n    <related position=\\\"append\\\">\\n        \n        <field name=\\\"sync_records\\\"/>\\n\n    </related>\\n\n</inherit>\\n\"}, \"shopee_sale_form\": {\"module\": \"netforce_shopee\", \"name\": \"shopee_sale_form\", \"type\": \"inherit\", \"inherit\": \"sale_form\", \"layout\": \"\n<inherit inherit=\\\"sale_form\\\">\\n    \n    <related position=\\\"append\\\">\\n        \n        <field name=\\\"sync_records\\\"/>\\n\n    </related>\\n\n</inherit>\\n\"}, \"sync_record_form\": {\"module\": \"netforce_shopee\", \"name\": \"sync_record_form\", \"type\": \"form\", \"model\": \"sync.record\", \"layout\": \"\n<form model=\\\"sync.record\\\">\\n    \n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"sync_id\\\"/>\\n\n    <field name=\\\"account_id\\\"/>\\n\n</form>\\n\"}, \"sync_record_list\": {\"module\": \"netforce_shopee\", \"name\": \"sync_record_list\", \"type\": \"list\", \"model\": \"sync.record\", \"layout\": \"\n<list model=\\\"sync.record\\\">\\n    \n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"related_id\\\"/>\\n\n    <field name=\\\"sync_id\\\"/>\\n\n    <field name=\\\"account_id\\\"/>\\n\n</list>\\n\"}, \"shopee_settings_form\": {\"module\": \"netforce_shopee\", \"name\": \"shopee_settings_form\", \"type\": \"form\", \"model\": \"shopee.settings\", \"layout\": \"\n<form model=\\\"shopee.settings\\\" title=\\\"Shopee Settings\\\">\\n    \n    <!--<field name=\\\"include_contact\\\"/>\\n    <field name=\\\"include_account\\\"/>\\n    <field name=\\\"include_inventory\\\"/>\\n    <field name=\\\"include_sale\\\"/>-->\\n    \n    <field name=\\\"enable_webhook\\\"/>\\n\n    <separator string=\\\"Inventory\\\"/>\\n\n    <field name=\\\"order_auto_copy_to_picking\\\"/>\\n\n    <field name=\\\"default_uom_id\\\"/>\\n\n    <field name=\\\"use_order_num_for_picking\\\"/>\\n\n    <field name=\\\"order_auto_complete_picking\\\"/>\\n\n    <field name=\\\"check_stock\\\"/>\\n\n    <separator string=\\\"Accounting\\\"/>\\n\n    <field name=\\\"order_auto_copy_to_invoice\\\"/>\\n\n    <field name=\\\"order_auto_post_invoice\\\"/>\\n\n    <separator string=\\\"Sale\\\"/>\\n\n    <field name=\\\"order_auto_copy_to_sale\\\"/>\\n\n    <separator/>\\n\n</form>\\n\"}, \"shopee_product_categ_list\": {\"module\": \"netforce_shopee\", \"name\": \"shopee_product_categ_list\", \"type\": \"list\", \"model\": \"shopee.product.categ\", \"layout\": \"\n<list model=\\\"shopee.product.categ\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Download Shopee Product Categories\\\" method=\\\"get_categ\\\" show_progress=\\\"1\\\"/>\\n\n    </top>\\n\n    <field name=\\\"sync_id\\\"/>\\n\n    <field name=\\\"original_category_name\\\"/>\\n\n    <field name=\\\"display_category_name\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"has_children\\\"/>\\n\n</list>\\n\"}, \"shopee_webhook_form\": {\"module\": \"netforce_shopee\", \"name\": \"shopee_webhook_form\", \"type\": \"form\", \"model\": \"shopee.webhook\", \"layout\": \"\n<form model=\\\"shopee.webhook\\\">\\n    \n    <top>`\\n        \n        <button string=\\\"Options\\\">\\n            \n            <item string=\\\"Handle Webhook\\\" method=\\\"handle_webhook\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"body\\\"/>\\n\n    <field name=\\\"processed_time\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"error\\\"/>\\n\n</form>\\n\"}, \"product_shopee_details_list\": {\"module\": \"netforce_shopee\", \"name\": \"product_shopee_details_list\", \"type\": \"list\", \"model\": \"product.shopee.details\", \"layout\": \"\n<list model=\\\"product.shopee.details\\\">\\n    \n    <field name=\\\"account_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"categ_id\\\" condition='[[\\\"is_shopee\\\",\\\"=\\\",\\\"1\\\"]]'/>\\n\n    <field name=\\\"brand_id\\\" condition='[[\\\"categs\\\",\\\"=\\\",categ_id]]'/>\\n\n    <field name=\\\"ship_methods\\\"/>\\n\n</list>\\n\"}, \"shopee_pick_out_form\": {\"module\": \"netforce_shopee\", \"name\": \"shopee_pick_out_form\", \"type\": \"inherit\", \"inherit\": \"pick_out_form\", \"layout\": \"\n<inherit inherit=\\\"pick_out_form\\\">\\n    \n    <tab string=\\\"Shipping\\\" position=\\\"append\\\">\\n        \n        <separator string=\\\"Airway Billing Details\\\"/>\\n\n        <field name=\\\"recipient_first_name\\\"/>\\n\n        <field name=\\\"recipient_last_name\\\"/>\\n\n        <field name=\\\"recipient_address\\\"/>\\n\n        <field name=\\\"recipient_address2\\\"/>\\n\n        <field name=\\\"recipient_city\\\"/>\\n\n        <field name=\\\"recipient_postcode\\\"/>\\n\n        <field name=\\\"recipient_province\\\"/>\\n\n        <field name=\\\"recipient_country\\\"/>\\n\n        <field name=\\\"recipient_phone\\\"/>\\n\n        <separator/>\\n\n        <field name=\\\"shopee_logistics_channel_id\\\"/>\\n\n        <field name=\\\"shopee_service_code\\\"/>\\n\n        <field name=\\\"shopee_first_mile_name\\\"/>\\n\n        <field name=\\\"shopee_last_mile_name\\\"/>\\n\n        <field name=\\\"shopee_zone\\\"/>\\n\n        <field name=\\\"shopee_warehouse_address\\\"/>\\n\n        <field name=\\\"shopee_warehouse_id\\\"/>\\n\n        <separator string=\\\"Sort Codes\\\"/>\\n\n        <field name=\\\"shopee_first_recipient_sort_code\\\"/>\\n\n        <field name=\\\"shopee_second_recipient_sort_code\\\"/>\\n\n        <field name=\\\"shopee_third_recipient_sort_code\\\"/>\\n\n        <field name=\\\"shopee_first_sender_sort_code\\\"/>\\n\n        <field name=\\\"shopee_second_sender_sort_code\\\"/>\\n\n        <field name=\\\"shopee_third_sender_sort_code\\\"/>\\n\n        <field name=\\\"shopee_return_first_sort_code\\\"/>\\n\n    </tab>\\n\n</inherit>\\n\"}, \"shopee_order_form\": {\"module\": \"netforce_shopee\", \"name\": \"shopee_order_form\", \"type\": \"form\", \"model\": \"shopee.order\", \"layout\": \"\n<form model=\\\"shopee.order\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Options\\\">\\n            \n            <item string=\\\"Get Shipping Parameter\\\" method=\\\"get_shipping_parameter\\\"/>\\n\n            <item string=\\\"Ship Order\\\" method=\\\"ship_order\\\"/>\\n\n            <item string=\\\"Get Tracking Number\\\" method=\\\"get_tracking_number\\\"/>\\n\n            <item string=\\\"Get Shipping Document Info\\\" method=\\\"get_shipping_document_info\\\"/>\\n\n            <!--<item string=\\\"Copy to Sale Order\\\" method=\\\"copy_to_sale\\\"/>-->\\n            \n            <item string=\\\"Copy to Goods Issue\\\" method=\\\"copy_to_picking\\\"/>\\n\n            <item string=\\\"Get Escrow Detail\\\" method=\\\"get_escrow_detail\\\"/>\\n\n            <item string=\\\"Copy to Customer Invoice\\\" method=\\\"copy_to_invoice\\\"/>\\n\n            <item string=\\\"Pay Invoice\\\" method=\\\"pay_invoice\\\"/>\\n\n            <item string=\\\"Refresh Order\\\" method=\\\"refresh_order\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <field name=\\\"account_id\\\"/>\\n\n            <field name=\\\"order_sn\\\"/>\\n\n            <field name=\\\"order_status\\\"/>\\n\n            <field name=\\\"order_create_time\\\"/>\\n\n            <field name=\\\"region\\\"/>\\n\n            <field name=\\\"currency\\\"/>\\n\n            <field name=\\\"cod\\\"/>\\n\n            <field name=\\\"total_amount\\\"/>\\n\n            <field name=\\\"shipping_carrier\\\"/>\\n\n            <field name=\\\"payment_method\\\"/>\\n\n            <field name=\\\"estimated_shipping_fee\\\"/>\\n\n            <field name=\\\"message_to_seller\\\"/>\\n\n            <field name=\\\"days_to_ship\\\"/>\\n\n            <field name=\\\"ship_by_date\\\"/>\\n\n            <field name=\\\"actual_shipping_fee\\\"/>\\n\n            <field name=\\\"weight\\\"/>\\n\n            <field name=\\\"items\\\">\\n                \n                <list>\\n                    \n                    <field name=\\\"item_id\\\"/>\\n\n                    <field name=\\\"item_sku\\\"/>\\n\n                    <field name=\\\"item_name\\\"/>\\n\n                    <field name=\\\"model_id\\\"/>\\n\n                    <field name=\\\"model_name\\\"/>\\n\n                    <field name=\\\"model_quantity_purchased\\\"/>\\n\n                    <field name=\\\"model_original_price\\\"/>\\n\n                    <field name=\\\"model_discounted_price\\\"/>\\n\n                    <field name=\\\"wholesale\\\"/>\\n\n                    <field name=\\\"weight\\\"/>\\n\n                </list>\\n\n            </field>\\n\n        </tab>\\n\n        <tab string=\\\"Buyer Info\\\">\\n            \n            <field name=\\\"buyer_user_id\\\"/>\\n\n            <field name=\\\"buyer_username\\\"/>\\n\n            <field name=\\\"recipient_address_name\\\"/>\\n\n            <field name=\\\"recipient_address_phone\\\"/>\\n\n            <field name=\\\"recipient_address_town\\\"/>\\n\n            <field name=\\\"recipient_address_district\\\"/>\\n\n            <field name=\\\"recipient_address_city\\\"/>\\n\n            <field name=\\\"recipient_address_state\\\"/>\\n\n            <field name=\\\"recipient_address_region\\\"/>\\n\n            <field name=\\\"recipient_address_zipcode\\\"/>\\n\n            <field name=\\\"recipient_address_full_address\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Other Info\\\">\\n            \n            <field name=\\\"goods_to_declare\\\"/>\\n\n            <field name=\\\"note\\\"/>\\n\n            <field name=\\\"note_update_time\\\"/>\\n\n            <field name=\\\"pay_time\\\"/>\\n\n            <field name=\\\"dropshipper\\\"/>\\n\n            <field name=\\\"credit_card_number\\\"/>\\n\n            <field name=\\\"dropshipper_phone\\\"/>\\n\n            <field name=\\\"split_up\\\"/>\\n\n            <field name=\\\"buyer_cancel_reason\\\"/>\\n\n            <field name=\\\"cancel_by\\\"/>\\n\n            <field name=\\\"cancel_reason\\\"/>\\n\n            <field name=\\\"actual_shipping_fee_confirmed\\\"/>\\n\n            <field name=\\\"buyer_cpf_id\\\"/>\\n\n            <field name=\\\"fulfillment_flag\\\"/>\\n\n            <field name=\\\"pickup_done_time\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Shipping Info\\\">\\n            \n            <field name=\\\"dropoff\\\"/>\\n\n            <field name=\\\"dropoff_info_needed\\\"/>\\n\n            <field name=\\\"dropoff_info\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"pickup\\\"/>\\n\n            <field name=\\\"pickup_info_needed\\\"/>\\n\n            <field name=\\\"pickup_info\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"non_integrated\\\"/>\\n\n            <field name=\\\"non_integrated_info_needed\\\"/>\\n\n            <field name=\\\"non_integrated_info\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"tracking_number\\\"/>\\n\n            <field name=\\\"package_number\\\"/>\\n\n            <field name=\\\"logistics_channel_id\\\"/>\\n\n            <field name=\\\"service_code\\\"/>\\n\n            <field name=\\\"first_mile_name\\\"/>\\n\n            <field name=\\\"last_mile_name\\\"/>\\n\n            <field name=\\\"zone\\\"/>\\n\n            <field name=\\\"warehouse_address\\\"/>\\n\n            <field name=\\\"warehouse_id\\\"/>\\n\n            <separator string=\\\"Sort Codes\\\"/>\\n\n            <field name=\\\"first_recipient_sort_code\\\"/>\\n\n            <field name=\\\"second_recipient_sort_code\\\"/>\\n\n            <field name=\\\"third_recipient_sort_code\\\"/>\\n\n            <field name=\\\"first_sender_sort_code\\\"/>\\n\n            <field name=\\\"second_sender_sort_code\\\"/>\\n\n            <field name=\\\"third_sender_sort_code\\\"/>\\n\n            <field name=\\\"return_first_sort_code\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Invoice Info\\\">\\n            \n            <field name=\\\"invoice_data_number\\\"/>\\n\n            <field name=\\\"invoice_data_series_number\\\"/>\\n\n            <field name=\\\"invoice_data_access_key\\\"/>\\n\n            <field name=\\\"invoice_data_issue_date\\\"/>\\n\n            <field name=\\\"invoice_data_total_value\\\"/>\\n\n            <field name=\\\"invoice_data_products_total_value\\\"/>\\n\n            <field name=\\\"invoice_data_tax_code\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Escrow Details\\\">\\n            \n            <field name=\\\"escrow_release_time\\\"/>\\n\n            <field name=\\\"escrow_amount\\\"/>\\n\n            <field name=\\\"buyer_total_amount\\\"/>\\n\n            <field name=\\\"original_price\\\"/>\\n\n            <field name=\\\"seller_discount\\\"/>\\n\n            <field name=\\\"shopee_discount\\\"/>\\n\n            <field name=\\\"voucher_from_seller\\\"/>\\n\n            <field name=\\\"voucher_from_shopee\\\"/>\\n\n            <field name=\\\"coins\\\"/>\\n\n            <field name=\\\"buyer_paid_shipping_fee\\\"/>\\n\n            <field name=\\\"buyer_transaction_fee\\\"/>\\n\n            <field name=\\\"cross_border_tax\\\"/>\\n\n            <field name=\\\"payment_promotion\\\"/>\\n\n            <field name=\\\"commission_fee\\\"/>\\n\n            <field name=\\\"service_fee\\\"/>\\n\n            <field name=\\\"seller_transaction_fee\\\"/>\\n\n            <field name=\\\"seller_lost_compensation\\\"/>\\n\n            <field name=\\\"seller_coin_cash_back\\\"/>\\n\n            <field name=\\\"escrow_tax\\\"/>\\n\n            <field name=\\\"final_shipping_fee\\\"/>\\n\n            <field name=\\\"actual_shipping_fee\\\"/>\\n\n            <field name=\\\"order_chargeable_weight\\\"/>\\n\n            <field name=\\\"shopee_shipping_rebate\\\"/>\\n\n            <field name=\\\"shopee_fee_discount_from_3pl\\\"/>\\n\n            <field name=\\\"seller_shipping_discount\\\"/>\\n\n            <field name=\\\"estimated_shipping_fee\\\"/>\\n\n            <field name=\\\"seller_voucher_code\\\"/>\\n\n            <field name=\\\"drc_adjustable_refund\\\"/>\\n\n            <field name=\\\"cost_of_goods_sold\\\"/>\\n\n            <field name=\\\"original_cost_of_goods_sold\\\"/>\\n\n            <field name=\\\"original_shopee_discount\\\"/>\\n\n            <field name=\\\"seller_return_refund\\\"/>\\n\n            <field name=\\\"escrow_amount_pri\\\"/>\\n\n            <field name=\\\"buyer_total_amount_pri\\\"/>\\n\n            <field name=\\\"original_price_pri\\\"/>\\n\n            <field name=\\\"seller_return_refund_pri\\\"/>\\n\n            <field name=\\\"commission_fee_pri\\\"/>\\n\n            <field name=\\\"drc_adjustable_refund_pri\\\"/>\\n\n            <field name=\\\"pri_currency\\\"/>\\n\n            <field name=\\\"aff_currency\\\"/>\\n\n            <field name=\\\"exchange_rate\\\"/>\\n\n            <field name=\\\"reverse_shipping_fee\\\"/>\\n\n            <field name=\\\"final_product_protection\\\"/>\\n\n            <field name=\\\"credit_card_promotion\\\"/>\\n\n            <field name=\\\"credit_card_transaction_fee\\\"/>\\n\n            <field name=\\\"final_product_vat_tax\\\"/>\\n\n        </tab>\\n\n        <tab string=\\\"Troubleshooting\\\">\\n            \n            <field name=\\\"logs\\\"/>\\n\n            <field name=\\\"ignore_warning\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <related>\\n        \n        <field name=\\\"sync_records\\\"/>\\n\n        <field name=\\\"sale_orders\\\"/>\\n\n        <field name=\\\"pickings\\\"/>\\n\n        <field name=\\\"invoices\\\"/>\\n\n        <field name=\\\"payments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"shopee_product_categ_form\": {\"module\": \"netforce_shopee\", \"name\": \"shopee_product_categ_form\", \"type\": \"form\", \"model\": \"shopee.product.categ\", \"layout\": \"\n<form model=\\\"shopee.product.categ\\\">\\n    \n    <field name=\\\"sync_id\\\"/>\\n\n    <field name=\\\"original_category_name\\\"/>\\n\n    <field name=\\\"display_category_name\\\"/>\\n\n    <field name=\\\"parent_id\\\"/>\\n\n    <field name=\\\"has_children\\\"/>\\n\n</form>\\n\"}, \"shopee_menu\": {\"module\": \"netforce_shopee\", \"name\": \"shopee_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Shopee\\\">\\n    \n    <item string=\\\"Shopee Products\\\" action=\\\"shopee_product\\\"/>\\n\n    <item string=\\\"Shopee Accounts\\\" action=\\\"shopee_account\\\"/>\\n\n    <item string=\\\"Shopee Orders\\\" action=\\\"shopee_order\\\"/>\\n\n    <item string=\\\"Settings\\\">\\n        \n        <item string=\\\"Shopee Settings\\\" action=\\\"shopee_settings\\\"/>\\n\n        <item string=\\\"Shopee Product Categories\\\" action=\\\"shopee_product_categ\\\"/>\\n</item>\\n\n    <item string=\\\"Others\\\">\\n        \n        <item string=\\\"Webhook\\\" action=\\\"shopee_webhook\\\"/>\\n</item>\\n\n</menu>\\n\"}, \"shopee_custom_prod_form\": {\"module\": \"netforce_shopee\", \"name\": \"shopee_custom_prod_form\", \"type\": \"inherit\", \"inherit\": \"product_form\", \"layout\": \"\n<inherit inherit=\\\"product_form\\\">\\n    \n    <tab string=\\\"Other\\\" position=\\\"append\\\">\\n        \n        <field name=\\\"shopee_sync_stock\\\"/>\\n\n    </tab>\\n\n</inherit>\\n\"}, \"shopee_main_menu\": {\"module\": \"netforce_shopee\", \"name\": \"shopee_main_menu\", \"type\": \"inherit\", \"inherit\": \"main_menu\", \"layout\": \"\n<inherit inherit=\\\"main_menu\\\">\\n    \n    <item string=\\\"Ecommerce\\\" position=\\\"after\\\">\\n        \n        <item string=\\\"Shopee\\\" action=\\\"shopee_account\\\"/>\\n</item>\\n\n</inherit>\\n\"}, \"shopee_product_variation_form\": {\"module\": \"netforce_shopee\", \"name\": \"shopee_product_variation_form\", \"type\": \"form\", \"model\": \"shopee.product.variation\", \"layout\": \"\n<form model=\\\"shopee.product.variation\\\">\\n    \n    <field name=\\\"index\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"option_list\\\">\\n        \n        <list>\\n            \n            <field name=\\\"index\\\"/>\\n\n            <field name=\\\"value\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <field name=\\\"options\\\"/>\\n\n</form>\\n\"}, \"shopee_product_form\": {\"module\": \"netforce_shopee\", \"name\": \"shopee_product_form\", \"type\": \"form\", \"model\": \"shopee.product\", \"layout\": \"\n<form model=\\\"shopee.product\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Options\\\">\\n            \n            <item string=\\\"Get Variants\\\" method=\\\"get_model_list\\\"/>\\n\n            <item string=\\\"Map System Product\\\" method=\\\"map_product\\\"/>\\n\n            <item string=\\\"Update Shopee Stock\\\" method=\\\"update_stock\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"item_status\\\"/>\\n\n    </head>\\n\n    <tabs>\\n        \n        <tab string=\\\"General\\\">\\n            \n            <field name=\\\"account_id\\\"/>\\n\n            <field name=\\\"sync_id\\\"/>\\n\n            <field name=\\\"item_status\\\"/>\\n\n            <field name=\\\"item_sku\\\"/>\\n\n            <field name=\\\"item_name\\\"/>\\n\n            <field name=\\\"product_id\\\"/>\\n\n            <field name=\\\"category_id\\\" condition='[[\\\"has_children\\\",\\\"=\\\",false]]'/>\\n\n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"has_model\\\"/>\\n\n            <group attrs='{\\\"invisible\\\":[[\\\"hase_model\\\",\\\"=\\\",\\\"1\\\"]]}'>\\n                \n                <field name=\\\"current_price\\\"/>\\n\n                <field name=\\\"normal_stock\\\"/>\\n\n            </group>\\n\n            <group attrs='{\\\"invisible\\\":[[\\\"has_model\\\",\\\"=\\\",\\\"0\\\"]]}'>\\n                \n                <separator string=\\\"Variants\\\"/>\\n\n                <field name=\\\"models\\\">\\n                    \n                    <list colors='{\\\"#f66\\\":[[\\\"show_warning\\\",\\\"=\\\",true]]}'>\\n                        \n                        <field name=\\\"sync_id\\\"/>\\n\n                        <field name=\\\"model_sku\\\"/>\\n\n                        <field name=\\\"current_price\\\"/>\\n\n                        <field name=\\\"normal_stock\\\"/>\\n\n                        <field name=\\\"product_id\\\"/>\\n\n                        <field name=\\\"tier_index\\\"/>\\n\n                        <field name=\\\"tier_info\\\"/>\\n\n                        <field name=\\\"show_warning\\\" invisible=\\\"1\\\"/>\\n\n                    </list>\\n\n                </field>\\n\n            </group>\\n\n        </tab>\\n\n    </tabs>\\n\n    <related>\\n        \n        <field name=\\\"tier_variation\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"shopee_contact_form\": {\"module\": \"netforce_shopee\", \"name\": \"shopee_contact_form\", \"type\": \"inherit\", \"inherit\": \"contact_form\", \"layout\": \"\n<inherit inherit=\\\"contact_form\\\">\\n    \n    <related position=\\\"append\\\">\\n        \n        <field name=\\\"sync_records\\\"/>\\n\n    </related>\\n\n</inherit>\\n\"}, \"shopee_webhook_list\": {\"module\": \"netforce_shopee\", \"name\": \"shopee_webhook_list\", \"type\": \"list\", \"model\": \"shopee.webhook\", \"layout\": \"\n<list model=\\\"shopee.webhook\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Handle Webhook\\\" method=\\\"handle_webhook\\\" show_progress=\\\"1\\\"/>\\n\n    </head>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"body\\\"/>\\n\n    <field name=\\\"processed_time\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</list>\\n\"}, \"shopee_order_list\": {\"module\": \"netforce_shopee\", \"name\": \"shopee_order_list\", \"type\": \"list\", \"model\": \"shopee.order\", \"layout\": \"\n<list model=\\\"shopee.order\\\" colors='{\\\"#f66\\\":[[\\\"show_warning\\\",\\\"=\\\",true]]}'>\\n    \n    <head>\\n        \n        <!--<button string=\\\"Get Shipping Parameter\\\" method=\\\"get_shipping_parameter\\\"/>-->\\n        \n        <button string=\\\"Ship Order\\\" method=\\\"ship_order\\\" show_progress=\\\"1\\\"/>\\n\n        <!--<button string=\\\"Get Tracking Number\\\" method=\\\"get_tracking_number\\\" show_progress=\\\"1\\\"/>-->\\n        \n        <!--<button string=\\\"Get Shipping Document Info\\\" method=\\\"get_shipping_document_info\\\" show_progress=\\\"1\\\"/>-->\\n        \n        <!--<button string=\\\"Copy to Sale Order\\\" method=\\\"copy_to_sale\\\"/>-->\\n        \n        <!--<button string=\\\"Copy to Goods Issue\\\" method=\\\"copy_to_picking\\\"/>-->\\n        \n        <button string=\\\"Copy to Goods Issue (Skip Error)\\\" method=\\\"copy_to_picking_skip_error\\\" show_progress=\\\"1\\\"/>\\n\n        <button string=\\\"Copy to Customer Invoice\\\" method=\\\"copy_to_invoice\\\" show_progress=\\\"1\\\"/>\\n\n        <button string=\\\"Match Invoice\\\" method=\\\"match_invoice\\\"/>\\n\n        <button string=\\\"Match GI\\\" method=\\\"match_picking\\\"/>\\n\n        <button string=\\\"Refresh Orders\\\" method=\\\"refresh_order\\\" show_progress=\\\"1\\\"/>\\n\n        <button string=\\\"Refresh Warnings\\\" method=\\\"function_store\\\"/>\\n\n        <button string=\\\"Ignore Warning\\\" method=\\\"ignore_warning\\\"/>\\n\n    </head>\\n\n    <field name=\\\"account_id\\\"/>\\n\n    <field name=\\\"order_sn\\\"/>\\n\n    <field name=\\\"region\\\"/>\\n\n    <field name=\\\"weight\\\"/>\\n\n    <field name=\\\"total_amount\\\"/>\\n\n    <field name=\\\"order_create_time\\\"/>\\n\n    <field name=\\\"ship_by_date\\\"/>\\n\n    <field name=\\\"shipping_carrier\\\"/>\\n\n    <field name=\\\"tracking_number\\\"/>\\n\n    <field name=\\\"order_status\\\"/>\\n\n    <field name=\\\"show_warning\\\" invisible=\\\"1\\\"/>\\n\n</list>\\n\"}, \"shopee_product_variation_list\": {\"module\": \"netforce_shopee\", \"name\": \"shopee_product_variation_list\", \"type\": \"list\", \"model\": \"shopee.product.variation\", \"layout\": \"\n<list model=\\\"shopee.product.variation\\\">\\n    \n    <field name=\\\"index\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"options\\\"/>\\n\n</list>\\n\"}, \"shopee_prod_categ_search\": {\"module\": \"netforce_shopee\", \"name\": \"shopee_prod_categ_search\", \"type\": \"inherit\", \"inherit\": \"prod_categ_search\", \"layout\": \"\n<inherit inherit=\\\"prod_categ_search\\\">\\n    \n    <field name=\\\"parent_id\\\" position=\\\"after\\\">\\n        \n        <field name=\\\"is_shopee\\\"/>\\n</field>\\n\n</inherit>\\n\"}, \"qb_main_menu\": {\"module\": \"netforce_quickbooks\", \"name\": \"qb_main_menu\", \"type\": \"inherit\", \"inherit\": \"main_menu\", \"layout\": \"\n<inherit inherit=\\\"main_menu\\\">\\n    \n    <item string=\\\"General\\\" position=\\\"after\\\">\\n        \n        <item string=\\\"Quickbooks Sync\\\" action=\\\"qb_import\\\"/>\\n</item>\\n\n</inherit>\\n\"}, \"qb_menu\": {\"module\": \"netforce_quickbooks\", \"name\": \"qb_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Quickbooks Sync\\\">\\n    \n    <item string=\\\"Import\\\" action=\\\"qb_import\\\"/>\\n\n</menu>\\n\"}, \"qb_import\": {\"module\": \"netforce_quickbooks\", \"name\": \"qb_import\", \"type\": \"form\", \"layout\": \"\n<form title=\\\"Quickbooks Import\\\">\\n    \n    <field name=\\\"file\\\"/>\\n\n    <foot replace=\\\"1\\\">\\n        \n        <button string=\\\"Import Data\\\" type=\\\"primary\\\" icon=\\\"arrow-right\\\" method=\\\"do_import\\\" show_progress=\\\"1\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"firebase_menu\": {\"module\": \"netforce_firebase\", \"name\": \"firebase_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Firebase\\\">\\n    \n    <item string=\\\"Firebase Accounts\\\" action=\\\"firebase_account\\\"/>\\n\n</menu>\\n\"}, \"firebase_account_form\": {\"module\": \"netforce_firebase\", \"name\": \"firebase_account_form\", \"type\": \"form\", \"model\": \"firebase.account\", \"layout\": \"\n<form model=\\\"firebase.account\\\">\\n    \n    <tabs>\\n\\t    \n        <tab string=\\\"General\\\">\\n\\t\\t    \n            <field name=\\\"name\\\"/>\\n\\t\\t\n            <field name=\\\"db_url\\\"/>\\n\\t\n        </tab>\\n\\t\n        <tab string=\\\"Auth\\\">\\n\\t\n            <field name=\\\"key_json\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <related>\\n        \n        <field name=\\\"sync_models\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"firebase_account_list\": {\"module\": \"netforce_firebase\", \"name\": \"firebase_account_list\", \"type\": \"list\", \"model\": \"firebase.account\", \"layout\": \"\n<list model=\\\"firebase.account\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"db_url\\\"/>\\n\n</list>\\n\"}, \"firebase_main_menu\": {\"module\": \"netforce_firebase\", \"name\": \"firebase_main_menu\", \"type\": \"inherit\", \"inherit\": \"main_menu\", \"layout\": \"\n<inherit inherit=\\\"main_menu\\\">\\n    \n    <item string=\\\"Website\\\" position=\\\"after\\\">\\n        \n        <item string=\\\"Firebase\\\" action=\\\"firebase_account\\\"/>\\n</item>\\n\n</inherit>\\n\"}, \"sync_model_list\": {\"module\": \"netforce_firebase\", \"name\": \"sync_model_list\", \"type\": \"list\", \"model\": \"sync.model\", \"layout\": \"\n<list model=\\\"sync.model\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Upload To Firebase\\\" method=\\\"upload_firebase\\\" type=\\\"primary\\\" icon=\\\"arrow-right\\\" show_progress=\\\"1\\\"/>\\n\n        <button string=\\\"Clear Firebase\\\" method=\\\"clear_firebase\\\" show_progress=\\\"1\\\"/>\\n\n    </head>\\n\n    <field name=\\\"firebase_account_id\\\"/>\\n\n    <field name=\\\"model_id\\\"/>\\n\n    <field name=\\\"path\\\"/>\\n\n    <field name=\\\"fields\\\"/>\\n\n    <field name=\\\"filter\\\"/>\\n\n    <field name=\\\"enable_realtime\\\"/>\\n\n    <field name=\\\"last_sync_time\\\"/>\\n\n</list>\\n\"}, \"sync_model_form\": {\"module\": \"netforce_firebase\", \"name\": \"sync_model_form\", \"type\": \"form\", \"model\": \"sync.model\", \"layout\": \"\n<form model=\\\"sync.model\\\">\\n    \n    <field name=\\\"firebase_account_id\\\"/>\\n\n    <field name=\\\"model_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"path\\\"/>\\n\n    <field name=\\\"fields\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"filter\\\"/>\\n\n    <field name=\\\"enable_realtime\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"last_sync_time\\\"/>\\n\n</form>\\n\"}, \"chatgpt_message_form\": {\"module\": \"netforce_chatgpt\", \"name\": \"chatgpt_message_form\", \"type\": \"form\", \"model\": \"chatgpt.message\", \"layout\": \"\n<form model=\\\"chatgpt.message\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Options\\\">\\n            \n            <item string=\\\"Process SQL\\\" method=\\\"process_sql\\\"/>\\n\n            <item string=\\\"Process Plot\\\" method=\\\"process_plot\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <field name=\\\"conv_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"role\\\"/>\\n\n    <field name=\\\"content\\\"/>\\n\n    <field name=\\\"image\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"error\\\"/>\\n\n    <field name=\\\"orig_content\\\"/>\\n\n    <!--<field name=\\\"name\\\"/>-->\\n\n</form>\\n\"}, \"chatgpt_conv_form\": {\"module\": \"netforce_chatgpt\", \"name\": \"chatgpt_conv_form\", \"type\": \"form\", \"model\": \"chatgpt.conv\", \"layout\": \"\n<form model=\\\"chatgpt.conv\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"account_id\\\"/>\\n\n    <field name=\\\"model\\\"/>\\n\n    <field name=\\\"prompt_id\\\"/>\\n\n    <foot>\\n        \n        <button string=\\\"Get Reply\\\" method=\\\"get_reply\\\" type=\\\"success\\\" icon=\\\"arrow-right\\\"/>\\n\n    </foot>\\n\n    <related>\\n        \n        <field name=\\\"messages\\\" show_inline=\\\"1\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"chatgpt_conv_list\": {\"module\": \"netforce_chatgpt\", \"name\": \"chatgpt_conv_list\", \"type\": \"list\", \"model\": \"chatgpt.conv\", \"layout\": \"\n<list model=\\\"chatgpt.conv\\\">\\n    \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"account_id\\\"/>\\n\n    <field name=\\\"model\\\"/>\\n\n    <field name=\\\"prompt_id\\\"/>\\n\n</list>\\n\"}, \"chatgpt_prompt_form\": {\"module\": \"netforce_chatgpt\", \"name\": \"chatgpt_prompt_form\", \"type\": \"form\", \"model\": \"chatgpt.prompt\", \"layout\": \"\n<form model=\\\"chatgpt.prompt\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"content\\\" width=\\\"800\\\" height=\\\"500\\\"/>\\n\n</form>\\n\"}, \"chatgpt_account_list\": {\"module\": \"netforce_chatgpt\", \"name\": \"chatgpt_account_list\", \"type\": \"list\", \"model\": \"chatgpt.account\", \"layout\": \"\n<list model=\\\"chatgpt.account\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</list>\\n\"}, \"chatgpt_main_menu\": {\"module\": \"netforce_chatgpt\", \"name\": \"chatgpt_main_menu\", \"type\": \"inherit\", \"inherit\": \"main_menu\", \"layout\": \"\n<inherit inherit=\\\"main_menu\\\">\\n    \n    <item string=\\\"Website\\\" position=\\\"after\\\">\\n        \n        <item string=\\\"ChatGPT\\\" action=\\\"chatgpt_account\\\"/>\\n</item>\\n\n</inherit>\\n\"}, \"chatgpt_message_list\": {\"module\": \"netforce_chatgpt\", \"name\": \"chatgpt_message_list\", \"type\": \"list\", \"model\": \"chatgpt.message\", \"layout\": \"\n<list model=\\\"chatgpt.message\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Process Message\\\" method=\\\"process_message\\\" icon=\\\"arrow-right\\\"/>\\n\n    </head>\\n\n    <field name=\\\"conv_id\\\"/>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"role\\\"/>\\n\n    <field name=\\\"content\\\"/>\\n\n    <field name=\\\"image\\\"/>\\n\n    <!--<field name=\\\"name\\\"/>-->\\n\n</list>\\n\"}, \"chatgpt_menu\": {\"module\": \"netforce_chatgpt\", \"name\": \"chatgpt_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"ChatGPT\\\">\\n    \n    <item string=\\\"ChatGPT Accounts\\\" action=\\\"chatgpt_account\\\"/>\\n\n    <item string=\\\"ChatGPT Prompts\\\" action=\\\"chatgpt_prompt\\\"/>\\n\n    <item string=\\\"ChatGPT Conversations\\\" action=\\\"chatgpt_conv\\\"/>\\n\n    <item string=\\\"ChatGPT Messages\\\" action=\\\"chatgpt_message\\\"/>\\n\n</menu>\\n\"}, \"chatgpt_account_form\": {\"module\": \"netforce_chatgpt\", \"name\": \"chatgpt_account_form\", \"type\": \"form\", \"model\": \"chatgpt.account\", \"layout\": \"\n<form model=\\\"chatgpt.account\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"api_key\\\" password=\\\"1\\\"/>\\n\n</form>\\n\"}, \"chatgpt_prompt_list\": {\"module\": \"netforce_chatgpt\", \"name\": \"chatgpt_prompt_list\", \"type\": \"list\", \"model\": \"chatgpt.prompt\", \"layout\": \"\n<list model=\\\"chatgpt.prompt\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"content\\\"/>\\n\n</list>\\n\"}, \"trial_menu\": {\"module\": \"netforce_trial\", \"name\": \"trial_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Trials\\\">\\n    \n    <item string=\\\"Dashboard\\\" action=\\\"trial_board\\\"/>\\n\n    <item string=\\\"Trials\\\" action=\\\"trial\\\"/>\\n\n    <item string=\\\"Bug Reports\\\" action=\\\"bug_report\\\"/>\\n\n</menu>\\n\"}, \"trial_form\": {\"module\": \"netforce_trial\", \"name\": \"trial_form\", \"type\": \"form\", \"model\": \"trial\", \"layout\": \"\n<form model=\\\"trial\\\">\\n    \n    <field name=\\\"create_time\\\"/>\\n\n    <field name=\\\"ip_addr\\\"/>\\n\n    <field name=\\\"first_name\\\"/>\\n\n    <field name=\\\"last_name\\\"/>\\n\n    <field name=\\\"email\\\"/>\\n\n    <field name=\\\"password\\\"/>\\n\n    <field name=\\\"company\\\"/>\\n\n    <field name=\\\"domain\\\"/>\\n\n    <field name=\\\"phone\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"opport_id\\\"/>\\n\n    <related>\\n        \n        <field name=\\\"emails\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"trial_main_menu\": {\"module\": \"netforce_trial\", \"name\": \"trial_main_menu\", \"type\": \"inherit\", \"inherit\": \"main_menu\", \"layout\": \"\n<inherit inherit=\\\"main_menu\\\">\\n    \n    <item string=\\\"Addons\\\" position=\\\"after\\\">\\n        \n        <item string=\\\"Trials\\\" action=\\\"trial_board\\\" addon=\\\"TRIAL\\\"/>\\n</item>\\n\n</inherit>\\n\"}, \"trial_board\": {\"module\": \"netforce_trial\", \"name\": \"trial_board\", \"type\": \"board\", \"layout\": \"\n<board>\\n</board>\\n\"}, \"trial_opport_form\": {\"module\": \"netforce_trial\", \"name\": \"trial_opport_form\", \"type\": \"inherit\", \"inherit\": \"opport_form\", \"layout\": \"\n<inherit inherit=\\\"opport_form\\\">\\n    \n    <field name=\\\"emails\\\" position=\\\"after\\\">\\n        \n        <!--<field name=\\\"trials\\\"/>-->\\n    </field>\\n\n</inherit>\\n\"}, \"trial_list\": {\"module\": \"netforce_trial\", \"name\": \"trial_list\", \"type\": \"list\", \"model\": \"trial\", \"layout\": \"\n<list model=\\\"trial\\\">\\n    \n    <head>\\n        \n        <button string=\\\"Copy To Opportunity\\\" method=\\\"copy_to_opport\\\"/>\\n\n    </head>\\n\n    <field name=\\\"create_time\\\"/>\\n\n    <field name=\\\"ip_addr\\\"/>\\n\n    <field name=\\\"first_name\\\"/>\\n\n    <field name=\\\"last_name\\\"/>\\n\n    <field name=\\\"email\\\"/>\\n\n    <field name=\\\"phone\\\"/>\\n\n    <field name=\\\"company\\\"/>\\n\n    <field name=\\\"domain\\\"/>\\n\n    <field name=\\\"opport_id\\\"/>\\n\n</list>\\n\"}, \"ed_time_list\": {\"module\": \"netforce_uni\", \"name\": \"ed_time_list\", \"type\": \"list\", \"model\": \"ed.time\", \"layout\": \"\n<list model=\\\"ed.time\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"time_from\\\"/>\\n\n    <field name=\\\"time_to\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"group_id\\\"/>\\n\n    <field name=\\\"course_id\\\"/>\\n\n</list>\\n\"}, \"ed_period_list\": {\"module\": \"netforce_uni\", \"name\": \"ed_period_list\", \"type\": \"list\", \"model\": \"ed.period\", \"layout\": \"\n<list model=\\\"ed.period\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n</list>\\n\"}, \"ed_teacher_form\": {\"module\": \"netforce_uni\", \"name\": \"ed_teacher_form\", \"type\": \"form\", \"model\": \"ed.teacher\", \"layout\": \"\n<form model=\\\"ed.teacher\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n</form>\\n\"}, \"ed_notice_form\": {\"module\": \"netforce_uni\", \"name\": \"ed_notice_form\", \"type\": \"form\", \"model\": \"ed.notice\", \"layout\": \"\n<form model=\\\"ed.notice\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"group_id\\\"/>\\n\n    <field name=\\\"message\\\"/>\\n\n</form>\\n\"}, \"ed_fee_list\": {\"module\": \"netforce_uni\", \"name\": \"ed_fee_list\", \"type\": \"list\", \"model\": \"ed.fee\", \"layout\": \"\n<list model=\\\"ed.fee\\\">\\n    \n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"amount_paid\\\"/>\\n\n    <field name=\\\"amount_due\\\"/>\\n\n    <field name=\\\"student_id\\\"/>\\n\n</list>\\n\"}, \"ed_payment_list\": {\"module\": \"netforce_uni\", \"name\": \"ed_payment_list\", \"type\": \"list\", \"model\": \"ed.payment\", \"layout\": \"\n<list model=\\\"ed.payment\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"student_id\\\"/>\\n\n    <field name=\\\"fee_id\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n</list>\\n\"}, \"ed_eval_form\": {\"module\": \"netforce_uni\", \"name\": \"ed_eval_form\", \"type\": \"form\", \"model\": \"ed.eval\", \"layout\": \"\n<form model=\\\"ed.eval\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"course_id\\\"/>\\n\n    <field name=\\\"teacher_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"max_score\\\"/>\\n\n    <separator string=\\\"Results\\\"/>\\n\n    <field name=\\\"results\\\" view=\\\"field_o2m_inline\\\" nolabel=\\\"1\\\" span=\\\"12\\\">\\n        \n        <list>\\n            \n            <field name=\\\"student_id\\\"/>\\n\n            <field name=\\\"score\\\"/>\\n\n        </list>\\n\n        <form save_title=\\\"Add Result\\\" save_icon=\\\"plus\\\">\\n            \n            <field name=\\\"student_id\\\"/>\\n\n            <field name=\\\"score\\\"/>\\n\n        </form>\\n\n    </field>\\n\n</form>\\n\"}, \"ed_group_form\": {\"module\": \"netforce_uni\", \"name\": \"ed_group_form\", \"type\": \"form\", \"model\": \"ed.group\", \"layout\": \"\n<form model=\\\"ed.group\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"students\\\"/>\\n\n</form>\\n\"}, \"ed_menu\": {\"module\": \"netforce_uni\", \"name\": \"ed_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"UTAR\\\">\\n    \n    <item string=\\\"Dashboard\\\" action=\\\"ed_board\\\"/>\\n\n    <item string=\\\"USSDC FORM\\\" action=\\\"ed_ussdc\\\"/>\\n\n    <item string=\\\"ANALYSIS FORM\\\" action=\\\"ed_analysis\\\"/>\\n\n</menu>\\n\"}, \"ed_group_list\": {\"module\": \"netforce_uni\", \"name\": \"ed_group_list\", \"type\": \"list\", \"model\": \"ed.group\", \"layout\": \"\n<list model=\\\"ed.group\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"num_students\\\"/>\\n\n</list>\\n\"}, \"ed_calendar_form\": {\"module\": \"netforce_uni\", \"name\": \"ed_calendar_form\", \"type\": \"form\", \"model\": \"ed.calendar\", \"layout\": \"\n<form model=\\\"ed.calendar\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n</form>\\n\"}, \"ed_meal_form\": {\"module\": \"netforce_uni\", \"name\": \"ed_meal_form\", \"type\": \"form\", \"model\": \"ed.meal\", \"layout\": \"\n<form model=\\\"ed.meal\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"time\\\" view=\\\"field_time\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"image\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"group_id\\\"/>\\n\n</form>\\n\"}, \"ed_period_form\": {\"module\": \"netforce_uni\", \"name\": \"ed_period_form\", \"type\": \"form\", \"model\": \"ed.period\", \"layout\": \"\n<form model=\\\"ed.period\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n</form>\\n\"}, \"ed_analysis_list\": {\"module\": \"netforce_uni\", \"name\": \"ed_analysis_list\", \"type\": \"list\", \"model\": \"ed.attend\", \"layout\": \"\n<list model=\\\"ed.attend\\\">\\n    \n    <field name=\\\"programme\\\"/>\\n\n    <field name=\\\"organizer\\\"/>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"end_date\\\"/>\\n\n    <field name=\\\"student_name\\\"/>\\n\n    <field name=\\\"student_id_no\\\"/>\\n\n    <field name=\\\"student_points\\\"/>\\n\n</list>\\n\"}, \"ed_eval_result_form\": {\"module\": \"netforce_uni\", \"name\": \"ed_eval_result_form\", \"type\": \"form\", \"model\": \"ed.eval.result\", \"layout\": \"\n<form model=\\\"ed.eval.result\\\">\\n    \n    <field name=\\\"eval_id\\\"/>\\n\n    <field name=\\\"student_id\\\"/>\\n\n    <field name=\\\"score\\\"/>\\n\n</form>\\n\"}, \"ed_calendar\": {\"module\": \"netforce_uni\", \"name\": \"ed_calendar\", \"type\": \"calendar\", \"layout\": \"\n<calendar>\\n    \n    <model name=\\\"ed.calendar\\\" colors='{\\\"green\\\":[[\\\"type\\\",\\\"=\\\",\\\"school_term\\\"]],\\\"orange\\\":[[\\\"type\\\",\\\"=\\\",\\\"school_holiday\\\"]],\\\"red\\\":[[\\\"type\\\",\\\"=\\\",\\\"public_holiday\\\"]]}'>\\n        \n        <field name=\\\"type\\\"/>\\n\n        <field name=\\\"title\\\"/>\\n\n        <field name=\\\"date\\\" invisible=\\\"1\\\"/>\\n\n    </model>\\n\n</calendar>\\n\"}, \"ed_payment_form\": {\"module\": \"netforce_uni\", \"name\": \"ed_payment_form\", \"type\": \"form\", \"model\": \"ed.payment\", \"layout\": \"\n<form model=\\\"ed.payment\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"student_id\\\"/>\\n\n    <field name=\\\"fee_id\\\"/>\\n\n    <field name=\\\"amount\\\"/>\\n\n</form>\\n\"}, \"ed_ussdc_list\": {\"module\": \"netforce_uni\", \"name\": \"ed_ussdc_list\", \"type\": \"list\", \"model\": \"ed.student\", \"layout\": \"\n<list model=\\\"ed.student\\\">\\n    \n    <field name=\\\"programme\\\"/>\\n\n    <field name=\\\"activity_category_new\\\"/>\\n\n    <field name=\\\"faculty\\\"/>\\n\n    <field name=\\\"student_club\\\"/>\\n\n    <field name=\\\"start_date_new\\\"/>\\n\n    <field name=\\\"end_date_new\\\"/>\\n\n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"venue\\\"/>\\n\\n\n</list>\\n\"}, \"ed_course_form\": {\"module\": \"netforce_uni\", \"name\": \"ed_course_form\", \"type\": \"form\", \"model\": \"ed.course\", \"layout\": \"\n<form model=\\\"ed.course\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"period_id\\\"/>\\n\n    <field name=\\\"group_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"description\\\"/>\\n\n</form>\\n\"}, \"ed_board\": {\"module\": \"netforce_uni\", \"name\": \"ed_board\", \"type\": \"board\", \"layout\": \"\n<board>\\n</board>\\n\"}, \"ed_ussdc_form\": {\"module\": \"netforce_uni\", \"name\": \"ed_ussdc_form\", \"type\": \"form\", \"model\": \"ed.student\", \"layout\": \"\n<form model=\\\"ed.student\\\" attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"in\\\",[\\\"pending\\\",\\\"voided\\\"]]]}' show_company=\\\"1\\\">\\n    \n    <top>\\n        \n        <button string=\\\"Options\\\">\\n            \n            <item string=\\\"Print\\\" method=\\\"change_status_approve\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"change_status_draft\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"email\\\"/>\\n\n    <field name=\\\"activity_category_new\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"faculty\\\"/>\\n\n    <field name=\\\"student_club\\\"/>\\n\n    <field name=\\\"programme\\\"/>\\n\n    <field name=\\\"start_date_new\\\"/>\\n\n    <field name=\\\"end_date_new\\\"/>\\n\n    <field name=\\\"duration\\\"/>\\n\n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"venue\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"attachment\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"submitted_by_name\\\"/>\\n\n    <field name=\\\"submitted_by_email\\\"/>\\n\n    <field name=\\\"submitted_by_contact\\\"/>\\n\n    <foot states=\\\"draft\\\">\\n        \n        <button string=\\\"Confirm\\\" method=\\\"change_status_approve\\\" states=\\\"draft\\\"/>\\n\n    </foot>\\n\n</form>\\n\"}, \"ed_event_list\": {\"module\": \"netforce_uni\", \"name\": \"ed_event_list\", \"type\": \"list\", \"model\": \"ed.event\", \"layout\": \"\n<list model=\\\"ed.event\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"time_from\\\"/>\\n\n    <field name=\\\"time_to\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n</list>\\n\"}, \"ed_notice_list\": {\"module\": \"netforce_uni\", \"name\": \"ed_notice_list\", \"type\": \"list\", \"model\": \"ed.notice\", \"layout\": \"\n<list model=\\\"ed.notice\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"group_id\\\"/>\\n\n</list>\\n\"}, \"ed_calendar_list\": {\"module\": \"netforce_uni\", \"name\": \"ed_calendar_list\", \"type\": \"list\", \"model\": \"ed.calendar\", \"layout\": \"\n<list model=\\\"ed.calendar\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n</list>\\n\"}, \"ed_teacher_list\": {\"module\": \"netforce_uni\", \"name\": \"ed_teacher_list\", \"type\": \"list\", \"model\": \"ed.teacher\", \"layout\": \"\n<list model=\\\"ed.teacher\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\\n\n</list>\\n\"}, \"ed_course_list\": {\"module\": \"netforce_uni\", \"name\": \"ed_course_list\", \"type\": \"list\", \"model\": \"ed.course\", \"layout\": \"\n<list model=\\\"ed.course\\\">\\n    \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"period_id\\\"/>\\n\n    <field name=\\\"group_id\\\"/>\\n\n</list>\\n\"}, \"ed_meal_list\": {\"module\": \"netforce_uni\", \"name\": \"ed_meal_list\", \"type\": \"list\", \"model\": \"ed.meal\", \"layout\": \"\n<list model=\\\"ed.meal\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"image\\\"/>\\n\n    <field name=\\\"group_id\\\"/>\\n\n</list>\\n\"}, \"ed_main_menu\": {\"module\": \"netforce_uni\", \"name\": \"ed_main_menu\", \"type\": \"inherit\", \"inherit\": \"main_menu\", \"layout\": \"\n<inherit inherit=\\\"main_menu\\\">\\n    \n    <item string=\\\"General\\\" position=\\\"after\\\">\\n        \n        <item string=\\\"UTAR\\\" action=\\\"ed_board\\\" addon=\\\"EDU\\\"/>\\n</item>\\n\n</inherit>\\n\"}, \"ed_homework_list\": {\"module\": \"netforce_uni\", \"name\": \"ed_homework_list\", \"type\": \"list\", \"model\": \"ed.homework\", \"layout\": \"\n<list model=\\\"ed.homework\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"group_id\\\"/>\\n\n    <field name=\\\"course_id\\\"/>\\n\n</list>\\n\"}, \"ed_meeting_form\": {\"module\": \"netforce_uni\", \"name\": \"ed_meeting_form\", \"type\": \"form\", \"model\": \"ed.meeting\", \"layout\": \"\n<form model=\\\"ed.meeting\\\">\\n    \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"time\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"teacher_id\\\"/>\\n\n    <field name=\\\"course_id\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"student_id\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"state\\\"/>\\n\n</form>\\n\"}, \"ed_time_form\": {\"module\": \"netforce_uni\", \"name\": \"ed_time_form\", \"type\": \"form\", \"model\": \"ed.time\", \"layout\": \"\n<form model=\\\"ed.time\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"time_from\\\" view=\\\"field_time\\\"/>\\n\n    <field name=\\\"time_to\\\" view=\\\"field_time\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"group_id\\\"/>\\n\n    <field name=\\\"course_id\\\"/>\\n\n</form>\\n\"}, \"ed_media_form\": {\"module\": \"netforce_uni\", \"name\": \"ed_media_form\", \"type\": \"form\", \"model\": \"ed.media\", \"layout\": \"\n<form model=\\\"ed.media\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"file\\\"/>\\n\n    <field name=\\\"group_id\\\"/>\\n\n    <field name=\\\"event_id\\\"/>\\n\n</form>\\n\"}, \"ed_meeting_list\": {\"module\": \"netforce_uni\", \"name\": \"ed_meeting_list\", \"type\": \"list\", \"model\": \"ed.meeting\", \"layout\": \"\n<list model=\\\"ed.meeting\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"time\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n    <field name=\\\"teacher_id\\\"/>\\n\n    <field name=\\\"course_id\\\"/>\\n\n    <field name=\\\"student_id\\\"/>\\n\n</list>\\n\"}, \"ed_fee_form\": {\"module\": \"netforce_uni\", \"name\": \"ed_fee_form\", \"type\": \"form\", \"model\": \"ed.fee\", \"layout\": \"\n<form model=\\\"ed.fee\\\">\\n    \n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"amount\\\"/>\\n\n    <field name=\\\"amount_paid\\\"/>\\n\n    <field name=\\\"amount_due\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"student_id\\\"/>\\n\n    <related>\\n        \n        <action name=\\\"share\\\"/>\\n\n        <field name=\\\"payments\\\"/>\\n\n    </related>\\n\n</form>\\n\"}, \"ed_event_form\": {\"module\": \"netforce_uni\", \"name\": \"ed_event_form\", \"type\": \"form\", \"model\": \"ed.event\", \"layout\": \"\n<form model=\\\"ed.event\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"time_from\\\"/>\\n\n    <field name=\\\"time_to\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"description\\\"/>\\n\n</form>\\n\"}, \"ed_eval_result_list\": {\"module\": \"netforce_uni\", \"name\": \"ed_eval_result_list\", \"type\": \"list\", \"model\": \"ed.eval.result\", \"layout\": \"\n<list model=\\\"ed.eval.result\\\">\\n    \n    <field name=\\\"eval_id\\\"/>\\n\n    <field name=\\\"student_id\\\"/>\\n\n    <field name=\\\"score\\\"/>\\n\n</list>\\n\"}, \"ed_media_list\": {\"module\": \"netforce_uni\", \"name\": \"ed_media_list\", \"type\": \"list\", \"model\": \"ed.media\", \"layout\": \"\n<list model=\\\"ed.media\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"file\\\"/>\\n\n    <field name=\\\"group_id\\\"/>\\n\n    <field name=\\\"event_id\\\"/>\\n\n</list>\\n\"}, \"ed_analysis_form\": {\"module\": \"netforce_uni\", \"name\": \"ed_analysis_form\", \"type\": \"form\", \"model\": \"ed.attend\", \"layout\": \"\n<form model=\\\"ed.attend\\\">\\n    \n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"end_date\\\"/>\\n\n    <field name=\\\"organizer\\\"/>\\n\n    <field name=\\\"programme\\\"/>\\n\n    <separator/>\\n\n    <field name=\\\"student_name\\\"/>\\n\n    <field name=\\\"student_id_no\\\"/>\\n\n    <field name=\\\"student_components\\\"/>\\n\n    <field name=\\\"student_components_id\\\"/>\\n\n    <field name=\\\"student_points\\\"/>\\n\n</form>\\n\"}, \"ed_homework_form\": {\"module\": \"netforce_uni\", \"name\": \"ed_homework_form\", \"type\": \"form\", \"model\": \"ed.homework\", \"layout\": \"\n<form model=\\\"ed.homework\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"group_id\\\"/>\\n\n    <field name=\\\"course_id\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"files\\\" view=\\\"field_files\\\"/>\\n\n</form>\\n\"}, \"ed_eval_list\": {\"module\": \"netforce_uni\", \"name\": \"ed_eval_list\", \"type\": \"list\", \"model\": \"ed.eval\", \"layout\": \"\n<list model=\\\"ed.eval\\\">\\n    \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"max_score\\\"/>\\n\n</list>\\n\"}, \"analysis_menu\": {\"name\": \"analysis_menu\", \"type\": \"menu\", \"layout\": \"\n<inherit>\\n  \n    <item string=\\\"Analysis Report\\\" icon=\\\"fa_poll\\\" action=\\\"page_render\\\" action_options='{\\\"page\\\":\\\"analysis_reports\\\",\\\"menu\\\":\\\"analysis_menu\\\",\\\"target\\\":\\\"new_window\\\"}'/>\\n\n    <item string=\\\"Gross Profit\\\" action=\\\"page_render\\\" action_options='{\\\"page\\\":\\\"profit_loss\\\",\\\"menu\\\":\\\"analysis_menu\\\"}'/>\\n\n</inherit>\", \"inherit\": \"custom_main_menu\"}, \"client_db_tracker_change_type_form\": {\"name\": \"client_db_tracker_change_type_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"name\\\"/>\\n\n</form>\", \"model\": \"client.db.tracker.change.type\"}, \"client_db_tracker_change_type_list\": {\"name\": \"client_db_tracker_change_type_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"name\\\"/>\\n\n</list>\", \"model\": \"client.db.tracker.change.type\"}, \"client_db_tracker_database_form\": {\"name\": \"client_db_tracker_database_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"domain\\\"/>\\n\n    <field name=\\\"server\\\"/>\\n\n</form>\", \"model\": \"client.db.tracker.database\"}, \"client_db_tracker_database_list\": {\"name\": \"client_db_tracker_database_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"domain\\\"/>\\n\n    <field name=\\\"server\\\"/>\\n\n</list>\", \"model\": \"client.db.tracker.database\"}, \"client_db_tracker_features_form\": {\"name\": \"client_db_tracker_features_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"name\\\"/>\\n\n</form>\", \"model\": \"client.db.tracker.features\"}, \"client_db_tracker_features_list\": {\"name\": \"client_db_tracker_features_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"name\\\"/>\\n\n</list>\", \"model\": \"client.db.tracker.features\"}, \"client_db_tracker_form\": {\"name\": \"client_db_tracker_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"person_in_charge\\\"/>\\n\n    <field name=\\\"url\\\"/>\\n\n    <field name=\\\"client\\\"/>\\n\n    <field name=\\\"image\\\" view=\\\"field_files\\\"/>\\n\n    <field name=\\\"function\\\" nolabel=\\\"1\\\" reorder_field=\\\"sequence\\\">\\n    \n        <list>\\n      \n            <field name=\\\"date_added\\\"/>\\n\n            <field name=\\\"new_function_name\\\"/>\\n\n            <field name =\\\"desc\\\"/>\\n\n            <field name=\\\"db_model_name\\\"/>\\n\n            <field name=\\\"features\\\"/>\\n\n            <field name=\\\"database\\\"/>\\n\n            <field name=\\\"server\\\"/>\\n\n            <field name=\\\"change_type\\\"/>\\n\n        </list>\\n\n    </field>\\n\n</form>\", \"model\": \"client.db.tracker\"}, \"client_db_tracker_list\": {\"name\": \"client_db_tracker_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"date\\\"/>\\n\n    <field name=\\\"client\\\"/>\\n\n    <field name = \\\"person_in_charge\\\"/>\\n\n</list>\", \"model\": \"client.db.tracker\"}, \"client_db_tracker_menu\": {\"name\": \"client_db_tracker_menu\", \"type\": \"menu\", \"layout\": \"\n<!--<inherit>\\n  <item string=\\\"Tracker\\\" action=\\\"client_db_tracker_menu\\\" />\\n  <item string=\\\"Settings\\\">\\n    <item string=\\\"Server\\\" action=\\\"client_db_tracker_server\\\"/>\\n    <item string=\\\"Database\\\" action=\\\"client_db_tracker_database\\\"/>\\n    <item string=\\\"Features\\\" action=\\\"client_db_tracker_features\\\"/>\\n    <item string=\\\"Change Type\\\" action=\\\"client_db_tracker_change_type\\\"/>\\n  </item>\\n</inherit>-->\\n\\n\", \"inherit\": \"main_menu\"}, \"client_db_tracker_server_form\": {\"name\": \"client_db_tracker_server_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"name\\\"/>\\n\n</form>\", \"model\": \"client.db.tracker.server\"}, \"client_db_tracker_server_list\": {\"name\": \"client_db_tracker_server_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"name\\\"/>\\n\n</list>\", \"model\": \"client.db.tracker.server\"}, \"control_menu\": {\"name\": \"control_menu\", \"type\": \"menu\", \"layout\": \"\n<inherit>\\n  \n    <item string=\\\"Review Finance Vs Stock Value\\\" action=\\\"page_render\\\" action_options='{\\\"page\\\":\\\"notification_for_review_finance_vs_stock_value\\\",\\\"menu\\\":\\\"control_menu\\\"}'/>\\n\n    <item string=\\\"Notification Settings\\\" action=\\\"page_render\\\" action_options='{\\\"page\\\":\\\"notification_settings\\\",\\\"menu\\\":\\\"control_menu\\\"}'/>\\n\n    <item string=\\\"Purchase Order Review\\\" action=\\\"page_render\\\" action_options='{\\\"page\\\":\\\"po_review\\\",\\\"menu\\\":\\\"control_menu\\\"}'/>\\n\n    <item string=\\\"Supplier Invoice Analysis\\\" action=\\\"page_render\\\" action_options='{\\\"page\\\":\\\"si_analysis\\\",\\\"menu\\\":\\\"control_menu\\\"}'/>\\n\n    <item string=\\\"Review CI vs GI\\\" action=\\\"page_render\\\" action_options='{\\\"page\\\":\\\"review_CI_vs_GI\\\",\\\"menu\\\":\\\"main_menu\\\"}'/>\\n\n</inherit>\", \"inherit\": \"main_menu\"}, \"credit_print_form\": {\"name\": \"credit_print_form\", \"type\": \"form\", \"layout\": \"\n<inherit>\\n  \n    <button string=\\\"Print\\\" position=\\\"replace\\\">\\n\\t\n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_cust_invoice_form3\\\" action_options='{\\\"active_id\\\":id}'/>\\n</button>\\n\n    <button string=\\\"Print (New)\\\" position=\\\"replace\\\">\\n  </button>\\n\n</inherit>\", \"inherit\": \"cust_credit_form\"}, \"custom_company_form\": {\"name\": \"custom_company_form\", \"type\": null, \"layout\": \"\n<inherit>\\n  \n    <field name=\\\"contact_id\\\" position=\\\"after\\\">\\n    \n        <field name=\\\"logo\\\"/>\\n</field>\\n\n</inherit>\", \"inherit\": \"company_form\"}, \"custom_cust_invoice_form\": {\"name\": \"custom_cust_invoice_form\", \"type\": \"form\", \"layout\": \"\n<inherit>\\n  \n    <button string=\\\"Options\\\" position=\\\"replace\\\">\\n    \n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n      \n            <item string=\\\"Copy\\\" method=\\\"copy\\\"/>\\n\n            <item string=\\\"Copy To Credit Note\\\" method=\\\"copy_to_credit_note\\\" states=\\\"paid,waiting_payment\\\"/>\\n\n            <item string=\\\"Copy To Debit Note\\\" method=\\\"copy_to_debit_note\\\" states=\\\"paid,waiting_payment\\\"/>\\n\n            <item string=\\\"Copy To Customer Supplier Invoice\\\" method=\\\"copy_to_cust_supp_invoice\\\"/>\\n\n            <item string=\\\"Copy To Goods Issue\\\" method=\\\"copy_to_pick_out\\\"/>\\n\n            <item string=\\\"Copy To Sales Order\\\" method=\\\"copy_to_sale\\\"/>\\n\n            <item string=\\\"Copy Lines To Project\\\" method=\\\"copy_lines_to_project\\\"/>\\n\n            <item string=\\\"Void\\\" method=\\\"void\\\" confirm=\\\"Are you sure you want to void this invoice?\\\" states=\\\"draft,waiting_payment\\\"/>\\n\n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" states=\\\"waiting_payment,voided,paid\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"Online Payment\\\" method=\\\"pay_online\\\" states=\\\"waiting_payment\\\"/>\\n\n            <divider/>\\n\n            <item string=\\\"View Journal Entry\\\" method=\\\"view_journal_entry\\\" states=\\\"waiting_payment,paid\\\"/>\\n\n        </button>\\n\n    </button>\\n\\n\n    <field name=\\\"pickings\\\" position=\\\"after\\\">\\n    \n        <field name=\\\"project\\\"/>\\n</field>\\n\n</inherit>\\n\", \"inherit\": \"cust_invoice_form\"}, \"custom_cust_invoice_list\": {\"name\": \"custom_cust_invoice_list\", \"type\": null, \"layout\": \"\n<inherit>\\n  \n    <!--<button string=\\\"New Repeating Invoice\\\" position=\\\"replace\\\">\\n  </button>-->\\n  \n    <button string=\\\"Renumber Invoices\\\" position=\\\"replace\\\">\\n  </button>\\n\n</inherit>\\n\", \"inherit\": \"cust_invoice_list\", \"model\": \"account.invoice\"}, \"custom_employee_form\": {\"name\": \"custom_employee_form\", \"type\": \"form\", \"layout\": \"\n<inherit>\\n  \n    <field name=\\\"resign_date\\\" position=\\\"after\\\">\\n    \n        <field name=\\\"annual_leave\\\"/>\\n</field>\\n\n    <field name=\\\"annual_leave\\\" position=\\\"after\\\">\\n    \n        <field name=\\\"sick_leave\\\"/>\\n</field>\\n\n</inherit>\", \"inherit\": \"employee_form\"}, \"customer_account_statement_menu\": {\"name\": \"customer_account_statement_menu\", \"type\": \"menu\", \"layout\": \"\n<inherit>\\n    \n    <item string=\\\"Account Transactions\\\" position=\\\"after\\\">\\n      \n        <item string=\\\"Customer Statement\\\" action=\\\"cust_account_statement\\\"/>\\n</item>\\n  \\n\n    <item string=\\\"Customer Invoices\\\" position=\\\"after\\\">\\n      \n        <item string=\\\"Invoice Downloader\\\" action=\\\"page_render\\\" action_options='{\\\"page\\\":\\\"invoice_downloader\\\",\\\"menu\\\":\\\"account_menu\\\"}'/>\\n</item>\\n  \\n\n</inherit>\", \"inherit\": \"account_menu\"}, \"custom_general_menu\": {\"name\": \"custom_general_menu\", \"type\": \"menu\", \"layout\": \"\n<inherit>\\n  \n    <item string=\\\"Record History\\\" position=\\\"after\\\">\\n    \n        <item string=\\\"Create Database\\\" action=\\\"page_render\\\" action_options='{\\\"page\\\":\\\"new_db\\\", \\\"menu\\\":\\\"gen_menu\\\"}'/>\\n\n        <item string=\\\"Delete Database\\\" action=\\\"page_render\\\" action_options='{\\\"page\\\":\\\"delete_db\\\", \\\"menu\\\":\\\"gen_menu\\\"}'/>\\n</item>\\n\n</inherit>\", \"inherit\": \"gen_menu\"}, \"custom_issue_list\": {\"name\": \"custom_issue_list\", \"type\": \"list\", \"layout\": \"\n<inherit>\\n  \n    <!--<field name=\\\"state\\\" position=\\\"after\\\">\\n    <field name=\\\"support_pic\\\"/>\\n  </field>-->\\n\n</inherit>\", \"inherit\": \"issue_list\", \"model\": \"issue\"}, \"custom_issue_search\": {\"name\": \"custom_issue_search\", \"type\": \"search\", \"layout\": \"\n<search>\\n  \n    <field name=\\\"type\\\"/>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"priority\\\"/>\\n\n    <field name=\\\"project_id\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"support_pic\\\"/>\\n\n</search>\", \"model\": \"issue\"}, \"custom_leave_form\": {\"name\": \"custom_leave_form\", \"type\": \"form\", \"layout\": \"\n<!--<inherit>\\n  <button string=\\\"Submit for approval\\\" position=\\\"before\\\">\\n    <button string=\\\"Submit\\\" icon=\\\"arrow-right\\\" method=\\\"send_email_leave\\\"/>\\n  </button>\\n</inherit>-->\", \"inherit\": \"leave_form\"}, \"custom_main_menu\": {\"name\": \"custom_main_menu\", \"type\": \"menu\", \"layout\": \"\n<inherit>\\n  \n    <item string=\\\"Contacts\\\" position=\\\"before\\\">\\n    \n        <item string=\\\"Help\\\" icon=\\\"fa_info\\\" action=\\\"help2\\\"/>\\n</item>\\n\n    <item string=\\\"Help\\\" position=\\\"after\\\">\\n    \n        <item string=\\\"Analysis Report\\\" icon=\\\"fa_poll\\\" action=\\\"analysis\\\"/>\\n</item>\\n\n    <item string=\\\"Purchasing\\\" position=\\\"after\\\">\\n    \n        <item string=\\\"Project Management\\\" icon=\\\"fa_project_diagram\\\" action=\\\"pm_task\\\" action_options='{\\\"active_tab\\\":3}'/>\\n</item>\\n\n    <item string=\\\"HR\\\" position=\\\"after\\\">\\n    \n        <item string=\\\"HR2\\\" action=\\\"hr2_menu\\\"/>\\n</item>\\n\n    <item string=\\\"Contacts\\\" position=\\\"after\\\">\\n    \n        <item string=\\\"Price Calculator\\\" icon=\\\"fa_calculator\\\" action=\\\"price_calc\\\"/>\\n</item>\\n\n    <item string=\\\"Products\\\" position=\\\"after\\\">\\n    \n        <item string=\\\"Control\\\" icon=\\\"fa_tools\\\" action=\\\"control\\\"/>\\n</item>\\n                                                                  \\n\n    <!--<item string=\\\"General\\\" position=\\\"before\\\">\\n    <item string=\\\"Mini Project\\\" action=\\\"db_mini_project\\\"/>\\n  </item>-->\\n\n</inherit>\", \"inherit\": \"main_menu\"}, \"custom_page_layout_form\": {\"name\": \"custom_page_layout_form\", \"type\": null, \"layout\": \"\n<inherit>\\n  \n    <field name=\\\"name\\\" position=\\\"replace\\\">\\n    \n        <field name=\\\"name\\\" unique=\\\"1\\\"/>\\n</field>\\n\n</inherit>\", \"inherit\": \"page_layout_form\"}, \"custom_page_layout_search\": {\"name\": \"custom_page_layout_search\", \"type\": \"search\", \"layout\": \"\n<search>\\n  \n    <field name=\\\"group_id\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"state\\\"/>\\n\n</search>\", \"model\": \"page.layout\"}, \"custom_payment_form\": {\"name\": \"custom_payment_form\", \"type\": \"inherit\", \"layout\": \"\n<inherit>\\n  \n    <field name=\\\"track_id\\\" position=\\\"after\\\">\\n    \n        <field name=\\\"supplier_invoice\\\" span=\\\"2\\\"/>\\n</field>\\n\n</inherit>\", \"inherit\": \"payment_form\", \"model\": \"account.payment\"}, \"custom_pick_in_form\": {\"name\": \"custom_pick_in_form\", \"type\": null, \"layout\": \"\n<inherit>\\n  \n    <button string=\\\"Print (New)\\\" position=\\\"replace\\\">\\n\\t\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"report_pick_in_form3\\\" action_options='{\\\"active_id\\\":id}'/>\\n</button>\\n\n</inherit>\", \"inherit\": \"pick_in_form\"}, \"custom_pick_out_form\": {\"name\": \"custom_pick_out_form\", \"type\": \"inherit\", \"layout\": \"\n<inherit>\\n  \n    <field name=\\\"num_pallets\\\" position=\\\"after\\\">\\n    \n        <field name=\\\"exp_ship_date\\\"/>\\n</field>\\n\n</inherit>\", \"inherit\": \"pick_out_form\"}, \"custom_product_form\": {\"name\": \"custom_product_form\", \"type\": \"inherit\", \"layout\": \"\n<inherit>\\n  \n    <field name=\\\"price_notes\\\" position=\\\"before\\\">\\n    \n        <field name=\\\"lite_package\\\"/>\\n</field>\\n\n    <field name=\\\"lite_package\\\" position=\\\"after\\\">\\n    \n        <field name=\\\"std_package\\\"/>\\n</field>\\n\n</inherit>\", \"inherit\": \"product_form\", \"model\": \"product\"}, \"custom_product_list\": {\"name\": \"custom_product_list\", \"type\": null, \"layout\": \"\n<inherit>\\n  \n    <button string=\\\"Print (old)\\\" position=\\\"replace\\\">\\n  </button>\\n\n    <button string=\\\"Print Labels\\\" position=\\\"replace\\\">\\n  </button>\\n\n    <button string=\\\"Create Thumbnails\\\" position=\\\"replace\\\">\\n  </button>\\n\n    <button string=\\\"Download Remote Images\\\" position=\\\"replace\\\">\\n  </button>\\n\n</inherit>\\n\", \"inherit\": \"product_list\", \"model\": \"as.product\"}, \"custom_project_form\": {\"name\": \"custom_project_form\", \"type\": \"inherit\", \"layout\": \"\n<inherit>\\n  \n    <item string=\\\"Create Tracking Code\\\" position=\\\"after\\\">\\n    \n        <item string=\\\"Open Issue Tracker Page\\\" method=\\\"open_tracker_page\\\"/>\\n</item>\\n\n    <field name=\\\"contact_id\\\" position=\\\"after\\\">\\n    \n        <field name=\\\"support_email\\\"/>\\n</field>\\n\n</inherit>\", \"inherit\": \"project_form\", \"model\": \"project\"}, \"custom_purchase_list\": {\"name\": \"custom_purchase_list\", \"type\": null, \"layout\": \"\n<inherit>\\n  \n    <button string=\\\"Purchase Wizard\\\" position=\\\"replace\\\">\\n  </button>\\n\n</inherit>\\n\", \"inherit\": \"purchase_list\", \"model\": \"purchase.order\"}, \"custom_sale_list\": {\"name\": \"custom_sale_list\", \"type\": null, \"layout\": \"\n<inherit>\\n  \n    <button string=\\\"Set Tax Inclusive\\\" position=\\\"replace\\\">\\n  </button>\\n\n    <button string=\\\"Set Tax Inclusive\\\" position=\\\"replace\\\">\\n  </button>\\n\n</inherit>\\n\", \"inherit\": \"sale_list\", \"model\": \"sale.order\"}, \"custom_stock_balance_list\": {\"name\": \"custom_stock_balance_list\", \"type\": null, \"layout\": \"\n<!--<inherit>\\n  <button string=\\\"Update All Balances\\\" position=\\\"replace\\\">\\n  </button>\\n</inherit>-->\\n\", \"inherit\": \"stock_balance_list\", \"model\": \"stock.balance\"}, \"custom_stock_count_form\": {\"name\": \"custom_stock_count_form\", \"type\": \"inherit\", \"layout\": \"\n<inherit>\\n  \n    <button string=\\\"Print PDF\\\" position=\\\"replace\\\">\\n\\t\n        <button string=\\\"Print (New)\\\" icon=\\\"print\\\" action=\\\"report_stock_count_form3\\\" action_options='{\\\"active_id\\\":id}'/>\\n</button>\\n\n</inherit>\", \"inherit\": \"stock_count_form\"}, \"custom_stock_menu\": {\"name\": \"custom_stock_menu\", \"type\": \"menu\", \"layout\": \"\n<inherit>\\n  \n    <item string=\\\"Goods Issue\\\" position=\\\"after\\\">\\n    \n        <!--\\n    <item string=\\\"Validate\\\" action=\\\"page_render\\\" action_options='{\\\"page\\\":\\\"zeek_gi\\\",\\\"menu\\\":\\\"main_menu\\\"}'/>\\n-->\\n    \n        <!--<item string=\\\"Picking Dashboard\\\" action=\\\"page_render\\\" action_options='{\\\"page\\\":\\\"picking_list\\\",\\\"menu\\\":\\\"stock_menu\\\"}'/>-->\\n    \n        <item string=\\\"Validate\\\" action=\\\"page_render\\\" action_options='{\\\"page\\\":\\\"01_zeek_draft_gi\\\",\\\"menu\\\":\\\"stock_menu\\\"}'/>\\n\n        <item string=\\\"POS GR\\\" action=\\\"page_render\\\" action_options='{\\\"page\\\":\\\"new_gr\\\",\\\"menu\\\":\\\"stock_menu\\\"}'/>\\n</item>\\n\n    <item string=\\\"Stock Invoice Report\\\" position=\\\"after\\\">\\n    \n        <item string=\\\"Stock Margin Report\\\" action=\\\"page_render\\\" action_options='{\\\"page\\\": \\\"report_stock_margin\\\", \\\"menu\\\": \\\"stock_menu\\\"}'/>\\n</item>\\n\n    <item string=\\\"Inventory\\\" position=\\\"before\\\">\\n    \n        <item string=\\\"Picking Dashboard\\\" action=\\\"page_render\\\" action_options='{\\\"page\\\":\\\"picking_list\\\",\\\"menu\\\":\\\"stock_menu\\\"}'/>\\n\n        <!--<item string=\\\"Validate\\\" action=\\\"page_render\\\" action_options='{\\\"page\\\":\\\"01_zeek_draft_gi\\\",\\\"menu\\\":\\\"stock_menu\\\"}'/>-->\\n  </item>\\n\n</inherit>\", \"inherit\": \"stock_menu\"}, \"custom_supp_invoice_list\": {\"name\": \"custom_supp_invoice_list\", \"type\": null, \"layout\": \"\n<inherit>\\n  \n    <button string=\\\"New Repeating Invoice\\\" position=\\\"replace\\\">\\n  </button>\\n\n</inherit>\\n\", \"inherit\": \"supp_invoice_list\", \"model\": \"account.invoice\"}, \"db_mini_project_menu\": {\"name\": \"db_mini_project_menu\", \"type\": \"menu\", \"layout\": \"\n<!--<inherit>\\n  <item string=\\\"DB Mini Project\\\">\\n    <item string=\\\"Afiqah's Mini Project\\\"/>\\n  </item>\\n</inherit>-->\", \"inherit\": \"main_menu\"}, \"form\": {\"name\": \"form\", \"type\": \"form\", \"layout\": null, \"model\": \"testing\"}, \"help2_main_menu\": {\"name\": \"help2_main_menu\", \"type\": \"menu\", \"layout\": \"\n<!--<inherit>\\n  <item string=\\\"General\\\" position=\\\"after\\\">\\n    <item string=\\\"Help\\\">\\n      <item string=\\\"Tutorial\\\"/>\\n    </item>\\n</item>\\n</inherit>-->\", \"inherit\": \"main_menu\"}, \"help2_menu\": {\"name\": \"help2_menu\", \"type\": \"menu\", \"layout\": \"\n<menu string=\\\"Help\\\">\\n  \n    <item string=\\\"Tutorial\\\" icon=\\\"fa_play_circle\\\" action=\\\"tutorial\\\"/>\\n\n    <!--<item string=\\\"Issue Log\\\" action=\\\"issue_log\\\"/>-->\\n  \n    <item string=\\\"Issue Log (David)\\\" action=\\\"issue_david\\\"/>\\n\n    <item string=\\\"Issue Log (Internal)\\\" action=\\\"issue_internal\\\"/>\\n\n    <!--<item string=\\\"Issue Log Test\\\" action=\\\"issue_new\\\"/>-->\\n  \n    <item string=\\\"Issue Logs\\\" icon=\\\"fa_file_alt\\\" action=\\\"issuelog\\\"/>\\n\n    <item string=\\\"FAQ\\\" icon=\\\"fa_question\\\" action=\\\"faq\\\"/>\\n\n</menu>\"}, \"hr2_bank_form\": {\"name\": \"hr2_bank_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"bank_name\\\"/>\\n\n    <field name=\\\"city\\\"/>\\n\n    <field name=\\\"branch\\\"/>\\n\n    <field name=\\\"swift_code\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n</form>\", \"model\": \"hr2.bank\"}, \"hr2_bank_list\": {\"name\": \"hr2_bank_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"bank_name\\\"/>\\n\n    <field name=\\\"city\\\"/>\\n\n    <field name=\\\"branch\\\"/>\\n\n    <field name=\\\"swift_code\\\"/>\\n\n</list>\", \"model\": \"hr2.bank\"}, \"hr2_deduction_form\": {\"name\": \"hr2_deduction_form\", \"type\": \"form\", \"layout\": \"\n<form attrs='{\\\"readonly\\\":[[\\\"status\\\",\\\"=\\\",\\\"official\\\"]]}'>\\n  \n    <top>\\n    \n        <button string=\\\"Confirm\\\" method=\\\"confirm\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\" align=\\\"right\\\">\\n      \n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\"/>\\n\n            <item string=\\\"Copy to Next Year\\\" method=\\\"copy_to_next_year\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n    \n        <field name=\\\"status\\\"/>\\n\n    </head>\\n\n    <field name=\\\"year\\\"/>\\n\n    <field name=\\\"status\\\"/>\\n\n    <tabs>\\n    \n        <tab string=\\\"EPF Rate\\\">\\n      \n            <separator string=\\\"EPF Deduction\\\"/>\\n\n            <field name=\\\"epf_deduction\\\" nolabel=\\\"1\\\" reorder_fields=\\\"sequence\\\">\\n        \n                <list>\\n          \n                    <field name=\\\"no\\\"/>\\n\n                    <field name=\\\"min_income\\\"/>\\n\n                    <field name=\\\"max_income\\\"/>\\n\n                    <field name=\\\"employee_rate\\\"/>\\n\n                    <field name=\\\"employer_rate\\\"/>\\n\n                    <field name=\\\"total_epf_rate\\\"/>\\n\n                </list>\\n\n            </field>\\n\n        </tab>\\n\\n\n        <tab string=\\\"SOCSO Rate\\\">\\n      \n            <separator string=\\\"SOCSO Deduction\\\"/>\\n\n            <field name=\\\"socso_deduction\\\" nolabel=\\\"1\\\" reorder_fields=\\\"sequence\\\">\\n        \n                <list>\\n          \n                    <field name=\\\"no\\\"/>\\n\n                    <field name=\\\"min_income\\\"/>\\n\n                    <field name=\\\"max_income\\\"/>\\n\n                    <field name=\\\"employee_rate\\\"/>\\n\n                    <field name=\\\"employer_rate\\\"/>\\n\n                    <field name=\\\"total_rate\\\"/>\\n\n                </list>\\n\n            </field>\\n\n        </tab>\\n\\n\n        <tab string=\\\"EIS Rate\\\">\\n      \n            <separator string=\\\"EIS Deduction\\\"/>\\n\n            <field name=\\\"eis_deduction\\\" nolabel=\\\"1\\\" reorder_fields=\\\"sequence\\\">\\n        \n                <list>\\n          \n                    <field name=\\\"no\\\"/>\\n\n                    <field name=\\\"min_income\\\"/>\\n\n                    <field name=\\\"max_income\\\"/>\\n\n                    <field name=\\\"employee_rate\\\"/>\\n\n                    <field name=\\\"employer_rate\\\"/>\\n\n                    <field name=\\\"total_rate\\\"/>\\n\n                </list>\\n\n            </field>\\n\n        </tab>\\n\\n\n        <tab string=\\\"MTD Rate\\\">\\n      \n            <separator string=\\\"MTD Deduction - Normal/Additional Remuneration\\\"/> \\n\n            <separator string=\\\"MTD = [ ( P - M ) x R + B - ( Z + X ) ] / ( n + 1 )\\\"/>\\n\n            <field name=\\\"mtd_deduction_nar\\\" nolabel=\\\"1\\\" reorder_fields=\\\"sequence\\\">\\n        \n                <list>\\n          \n                    <field name=\\\"nar_no\\\"/>\\n\n                    <field name=\\\"nar_p\\\"/>\\n\n                    <field name=\\\"nar_p_min\\\"/>\\n\n                    <field name=\\\"nar_p_max\\\"/>\\n\n                    <field name=\\\"nar_m\\\"/>\\n\n                    <field name=\\\"nar_r\\\"/>\\n\n                    <field name=\\\"nar_b1\\\"/>\\n\n                    <field name=\\\"nar_b2\\\"/>\\n\n                </list>\\n\n            </field>\\n\n            <separator string=\\\"MTD Deduction - REP (Returning Expert Program)\\\"/>\\n\n            <separator string=\\\"MTD = [ ( P x R - T ) - ( Z + X ) ] / ( n + 1 )\\\"/>\\n\n            <field name=\\\"mtd_deduction_rep\\\" nolabel=\\\"1\\\" reorder_fields=\\\"sequence\\\">\\n        \n                <list>\\n          \n                    <field name=\\\"rep_no\\\"/>\\n\n                    <field name=\\\"rep_p\\\"/>\\n\n                    <field name=\\\"rep_p_min\\\"/>\\n\n                    <field name=\\\"rep_p_max\\\"/>\\n\n                    <field name=\\\"rep_r\\\"/>\\n\n                    <field name=\\\"rep_t1\\\"/>\\n\n                    <field name=\\\"rep_t2\\\"/>\\n\n                </list>\\n\n            </field>\\n      \\n\n            <separator string=\\\"MTD Deduction - IRDA (Knowledge Worker at Specified Region)\\\"/>\\n\n            <separator string=\\\"MTD = [ ( P x R - ( Z + X ) ] / ( n + 1 )\\\"/>\\n\n            <field name=\\\"irda_rate\\\"/>\\n      \\n\n            <separator string=\\\"MTD Deduction - Non-Resident\\\"/>\\n\n            <separator string=\\\"MTD = [ ( P x R - ( Z + X ) ] / ( n + 1 )\\\"/>\\n\n            <field name=\\\"non_resident_rate\\\"/>\\n\n        </tab>\\n\\n\n    </tabs>\\n\n</form>\\n\\n\n<!--\\n<form>\\n  <tabs>\\n    <tab string=\\\"Deduction\\\">\\n      <field name=\\\"deduction_type\\\"/>\\n    </tab>\\n\\n    <tab string=\\\"EPF Rate\\\" attrs='{\\\"invisible\\\":[[\\\"deduction_type\\\",\\\"not in\\\",[1]]]}'>\\n      <field name=\\\"deduction_type\\\"/>\\n     <separator string=\\\"EPF Deduction\\\"/>\\n      <field name=\\\"epf_deduction\\\" nolabel=\\\"1\\\" reorder_fields=\\\"sequence\\\">\\n        <list>\\n          <field name=\\\"no\\\"/>\\n          <field name=\\\"min_income\\\"/>\\n          <field name=\\\"max_income\\\"/>\\n          <field name=\\\"employee_rate\\\"/>\\n          <field name=\\\"employer_rate\\\"/>\\n          <field name=\\\"total_epf_rate\\\"/>\\n        </list>\\n      </field>\\n    </tab>\\n\\n    <tab string=\\\"SOCSO Rate\\\" attrs='{\\\"invisible\\\":[[\\\"deduction_type\\\",\\\"not in\\\",[2]]]}'>\\n      <field name=\\\"deduction_type\\\"/>\\n     <separator string=\\\"SOCSO Deduction\\\"/>\\n      <field name=\\\"socso_deduction\\\" nolabel=\\\"1\\\" reorder_fields=\\\"sequence\\\">\\n        <list>\\n          <field name=\\\"no\\\"/>\\n          <field name=\\\"min_income\\\"/>\\n          <field name=\\\"max_income\\\"/>\\n          <field name=\\\"employee_rate\\\"/>\\n          <field name=\\\"employer_rate\\\"/>\\n          <field name=\\\"total_rate\\\"/>\\n        </list>\\n      </field>\\n    </tab>\\n\\n    <tab string=\\\"EIS Rate\\\" attrs='{\\\"invisible\\\":[[\\\"deduction_type\\\",\\\"not in\\\",[3]]]}'>\\n      <field name=\\\"deduction_type\\\"/>\\n     <separator string=\\\"EIS Deduction\\\"/>\\n      <field name=\\\"eis_deduction\\\" nolabel=\\\"1\\\" reorder_fields=\\\"sequence\\\">\\n        <list>\\n          <field name=\\\"no\\\"/>\\n          <field name=\\\"min_income\\\"/>\\n          <field name=\\\"max_income\\\"/>\\n          <field name=\\\"employee_rate\\\"/>\\n          <field name=\\\"employer_rate\\\"/>\\n          <field name=\\\"total_rate\\\"/>\\n        </list>\\n      </field>\\n    </tab>\\n\\n    <tab string=\\\"MTD Rate\\\" attrs='{\\\"invisible\\\":[[\\\"deduction_type\\\",\\\"not in\\\",[4]]]}'>\\n      <field name=\\\"deduction_type\\\"/>\\n     <separator string=\\\"MTD Deduction - Normal/Additional Remuneration\\\"/>\\n     <field name=\\\"mtd_deduction_nar\\\" nolabel=\\\"1\\\" reorder_fields=\\\"sequence\\\">\\n        <list>\\n          <field name=\\\"nar_no\\\"/>\\n          <field name=\\\"nar_p\\\"/>\\n          <field name=\\\"nar_p_min\\\"/>\\n          <field name=\\\"nar_p_max\\\"/>\\n          <field name=\\\"nar_m\\\"/>\\n          <field name=\\\"nar_r\\\"/>\\n          <field name=\\\"nar_b1\\\"/>\\n          <field name=\\\"nar_b2\\\"/>\\n        </list>\\n      </field>\\n     <separator string=\\\"MTD Deduction - REP (Returning Expert Program)\\\"/>\\n     <field name=\\\"mtd_deduction_rep\\\" nolabel=\\\"1\\\" reorder_fields=\\\"sequence\\\">\\n        <list>\\n          <field name=\\\"rep_no\\\"/>\\n          <field name=\\\"rep_p\\\"/>\\n          <field name=\\\"rep_p_min\\\"/>\\n          <field name=\\\"rep_p_max\\\"/>\\n          <field name=\\\"rep_r\\\"/>\\n          <field name=\\\"rep_t1\\\"/>\\n          <field name=\\\"rep_t2\\\"/>\\n        </list>\\n      </field>\\n    </tab>\\n\\n  </tabs>\\n</form>\\n\\n-->\", \"model\": \"hr2.deduction\"}, \"hr2_deduction_list\": {\"name\": \"hr2_deduction_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"year\\\"/>\\n\n</list>\", \"model\": \"hr2.deduction\"}, \"hr2_deduction_type_form\": {\"name\": \"hr2_deduction_type_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"deduction_type\\\"/>\\n\n</form>\", \"model\": \"hr2.deduction.type\"}, \"hr2_deduction_type_list\": {\"name\": \"hr2_deduction_type_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"deduction_type\\\"/>\\n\n</list>\", \"model\": \"hr2.deduction.type\"}, \"hr2_department_form\": {\"name\": \"hr2_department_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"department_name\\\"/>\\n\n</form>\", \"model\": \"hr2.department\"}, \"hr2_department_list\": {\"name\": \"hr2_department_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"department_name\\\"/>\\n\n</list>\", \"model\": \"hr2.department\"}, \"hr2_employee_form\": {\"name\": \"hr2_employee_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <top>\\n    \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"print_hr_form\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n    </top>\\n\n    <head>\\n    \n        <field name=\\\"work_status\\\"/>\\n\n    </head>\\n\n    <tabs>\\n    \n        <tab string=\\\"Working Details\\\">\\n      \n            <field name=\\\"number\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"department\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"first_name\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"surname\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"full_name\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"user_id\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"title\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"job_title\\\" span=\\\"6\\\"/>\\n\n            <!--<field name=\\\"position\\\" span=\\\"6\\\"/>-->\\n      \n            <field name=\\\"type_of_position\\\" span=\\\"6\\\" required=\\\"1\\\"/>\\n\n            <field name=\\\"work_status\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"hire_date\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"resign_date\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"time_tracker_required\\\" span=\\\"6\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"salary\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"allowance\\\" span=\\\"6\\\" required=\\\"1\\\"/>\\n\n            <field name=\\\"benefit_in_kind\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"value_of_living_accommodation\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"bank_name\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"socso_no\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"bank_acc_no\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"epf_no\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"employee_contribution\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"income_tax_no\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"employer_contribution\\\" span=\\\"6\\\"/>\\n\\n\n            <separator string=\\\"Personal Details\\\"/>\\n\n            <field name=\\\"home_address\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"city\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"state\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"postcode\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"nationality\\\" span=\\\"6\\\"/>\\n\n            <!--<field name=\\\"religion\\\" span=\\\"6\\\"/>-->\\n      \n            <field name=\\\"birth_date\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"age\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"gender\\\" span=\\\"6\\\"/>\\n\n            <!--<field name=\\\"marital_status\\\" span=\\\"6\\\"/>-->\\n      \n            <field name=\\\"ic_no\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"passport_no\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"picture\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"email\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"mobile_phone\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"driving_license\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"home_no\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"driving_license_no\\\" span=\\\"6\\\"/>\\n\n            <!--<field name=\\\"days_remaining\\\" span=\\\"6\\\"/>-->\\n      \n            <separator string=\\\"Emergency Contact\\\"/>\\n\n            <field name=\\\"ec_primary_contact\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"ec_address\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"ec_city\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"ec_state\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"ec_postcode\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"ec_relationship\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"ec_mobile_phone\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"ec_alternate_no\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"ec_email\\\" span=\\\"6\\\"/>\\n\n        </tab>\\n\\n\n        <tab string=\\\"Job Description\\\">\\n      \n            <field name=\\\"job_summary\\\"/>\\n\n            <field name=\\\"report_to\\\" no_create=\\\"1\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"lines\\\" nolabel=\\\"1\\\" reorder_field=\\\"sequence\\\">\\n        \n                <list>\\n          \n                    <field name=\\\"no\\\"/>\\n\n                    <field name=\\\"objectives\\\"/>\\n\n                    <field name=\\\"description\\\"/>\\n\n                </list>\\n\n            </field>\\n\n        </tab>\\n\\n\n        <tab string=\\\"Rates Record\\\">\\n      \n            <field name=\\\"rates\\\" string=\\\"Rates\\\" reorder_field=\\\"date\\\">\\n        \n                <list>\\n          \n                    <field name=\\\"date\\\"/>\\n\n                    <field name=\\\"rate\\\"/>\\n\n                    <field name=\\\"remarks\\\"/>\\n\n                </list>\\n\n            </field>\\n\n        </tab>\\n\\n\n        <tab string=\\\"Payroll (PCB) and Taxation\\\">\\n\\n      \n            <separator string=\\\"Payroll Info\\\"/>\\n\n            <field name=\\\"year\\\" span=\\\"6\\\" required=\\\"1\\\"/>\\n\n            <field name=\\\"tax_resident\\\" span=\\\"6\\\" required=\\\"1\\\"/>\\n\n            <field name=\\\"employment_category\\\" span=\\\"6\\\"/> \\n\n            <field name=\\\"tax_scheme\\\" span=\\\"6\\\"/>\\n      \\n\n            <separator string=\\\"EPF\\\"/>\\n\n            <field name=\\\"epf_rate\\\" span=\\\"6\\\" condition='[[\\\"year_id\\\",\\\"=\\\",year]]' required=\\\"1\\\"/>\\n\n            <field name=\\\"epf_rate_extra\\\" span=\\\"6\\\"/>\\n\\n\n            <separator string=\\\"Record from Previous Company\\\"/>\\n\n            <field name=\\\"prev_gross_income_total\\\" span=\\\"6\\\" required=\\\"1\\\"/>\\n\n            <field name=\\\"prev_pcb_paid_total\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"prev_epf_relief_total_deduction\\\" span=\\\"6\\\"/>\\n\\n\n            <separator string=\\\"Current Record\\\"/>\\n\n            <field name=\\\"pcb_paid_total\\\" span=\\\"6\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"epf_relief_total_deduction\\\" span=\\\"6\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"latest_epf_relief_deduction\\\" span=\\\"6\\\" readonly=\\\"1\\\"/>\\n\\t\n            <button string=\\\"Clear Current Record\\\" method=\\\"clear_current_record\\\" confirm=\\\"Are you sure?\\\" type=\\\"danger\\\"/>\\n\\n\n            <separator string=\\\"Marriage Status\\\"/>\\n\n            <field name=\\\"marriage_status\\\" span=\\\"6\\\" required=\\\"1\\\"/>\\n\n            <field name=\\\"has_child\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"employee_disabled\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"spouse_disabled\\\" span=\\\"6\\\"/>\\n\\n\n            <separator string=\\\"Muslim Only\\\"/>\\n\n            <field name=\\\"pay_zakat\\\" span=\\\"6\\\"/>\\n\n        </tab>\\n\\n\n        <tab string=\\\"Child Info\\\" attrs='{\\\"invisible\\\":[[\\\"has_child\\\",\\\"!=\\\",\\\"1\\\"]]}'> \\n      \n            <separator string=\\\"Number of Legitimate Children (100%)\\\"/>\\n\n            <field name=\\\"legit_child_underage\\\"/>\\n\n            <field name=\\\"legit_child_underage_disabled\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"legit_child_study_A_level\\\"/>\\n\n            <field name=\\\"legit_child_study_fulltime\\\"/>\\n\n            <field name=\\\"legit_child_study_fulltime_disabled\\\"/>\\n\n            <newline/>\\n\n            <separator string=\\\"Number of Step Children (50%)\\\"/>\\n\n            <field name=\\\"step_child_underage\\\"/>\\n\n            <field name=\\\"step_child_underage_disabled\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"step_child_study_A_level\\\"/>\\n\n            <field name=\\\"step_child_study_fulltime\\\"/>\\n\n            <field name=\\\"step_child_study_fulltime_disabled\\\"/>\\n\n            <newline/>\\n\n        </tab>\\n\\n\n        <tab string=\\\"Cumulative Tax Relief\\\">\\n      \n            <field name=\\\"self_education\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"self_improvement\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"self_education_and_improvement_total\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"life_insurance_epf_civil_servant\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"life_insurance_epf_not_civil_servant\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"medical_expenses_parents\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"father_relief\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"mother_relief\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"father_mother_relief_total\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"medical_expenses_serious_diseases\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"medical_examination_complete\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"vaccination_expenses\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"self_medical_relief_total\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"support_equipment_disable_person\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"net_deposit_sspn\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"alimony_former_wife\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"education_medical_insurance\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"PRS_deferred_annuities\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"contribution_socso\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"expenses_life_style\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"expenses_sports\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"purchase_breastfeeding_equipment\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"fee_child_care_kindergartens\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"fee_tourism\\\" readonly=\\\"1\\\"/>\\n\n            <button string=\\\"Clear Tax Relief Record\\\" method=\\\"clear_relief_record\\\" confirm=\\\"Are you sure?\\\" type=\\\"danger\\\"/>\\n\n        </tab>\\n    \\n\n        <tab string=\\\"Cumulative Tax Rebate\\\">\\n      \n            <field name=\\\"zakat_paid_total\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"religious_travel_levy_exemption_total\\\" readonly=\\\"1\\\"/>\\n\n            <button string=\\\"Clear Tax Rebate Record\\\" method=\\\"clear_rebate_record\\\" confirm=\\\"Are you sure?\\\" type=\\\"danger\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n    <foot>\\n    \n        <button string=\\\"Create Leave Records\\\" method=\\\"create_employee_leaves\\\"/>\\n\n    </foot>\\n\n    <related>\\n    \n        <field name=\\\"pcb_record\\\"/>\\n\n    </related>\\n\n</form>\", \"model\": \"hr2.employee\"}, \"hr2_employee_leaves_form\": {\"name\": \"hr2_employee_leaves_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <head>\\n  \n        <button string=\\\"Update Employee's Info\\\" method=\\\"refresh_annual_leaves\\\"/>\\n\n    </head>\\n\\n\\n\n    <field name=\\\"number\\\" span=\\\"6\\\" required=\\\"1\\\"/>\\n\n    <field name=\\\"leaves_period\\\" span=\\\"6\\\" required=\\\"1\\\"/>\\n\n    <field name=\\\"leave_type\\\" span=\\\"6\\\" required=\\\"1\\\"/>\\n    \\n\n    <separator string=\\\"Employee's Information\\\"/>\\n\n    <field name=\\\"employee\\\" required=\\\"1\\\"/>\\t\\n\n    <field name=\\\"type_of_position\\\" required=\\\"1\\\"/>\\n\n    <field name=\\\"hire_date\\\" required=\\\"1\\\"/>\\n\n    <field name=\\\"resign_date\\\"/>\\n\n    <field name=\\\"status\\\" required=\\\"1\\\"/>\\n\\n\n    <separator string=\\\"Summary of Leaves\\\"/>\\n\n    <field name=\\\"base_leaves\\\"/>\\n\n    <field name=\\\"leaves_carry_forward\\\"  readonly=\\\"1\\\"/>\\n\n    <field name=\\\"leaves_adjust\\\"/>\\n\n    <field name=\\\"day_obtained\\\" span=\\\"6\\\"/>\\n\n    <field name=\\\"day_used\\\" span=\\\"6\\\"/>\\n\n    <field name=\\\"day_remaining\\\"  span=\\\"6\\\"/>\\n\\n\\n\n    <!--\\n    <related>\\n    <field name=\\\"leave_requests\\\"/>\\n  </related>\\n-->\\n\n</form>\\n\", \"model\": \"hr2.employee.leaves\"}, \"hr2_employee_leaves_list\": {\"name\": \"hr2_employee_leaves_list\", \"type\": \"list\", \"layout\": \"\\n\n<list>\\n    \n    <top>\\n    \n        <button string=\\\"Transfer to Next Year\\\" method=\\\"carry_forward\\\"/>\\n\n    </top>\\n\n    <search>\\n     \n        <field name=\\\"employee\\\" />\\n\n        <field name=\\\"leave_type\\\" />\\n\n        <field name=\\\"leaves_period\\\" />\\n\n    </search>\\n  \\n\n    <field name=\\\"number\\\" />\\n\n    <field name=\\\"employee\\\" />\\n\n    <field name=\\\"type_of_position\\\" />\\n\n    <field name=\\\"leave_type\\\" />\\n\n    <field name=\\\"leaves_period\\\" />\\n  \\n\n    <!--\\n   <field name=\\\"day_obtained\\\"/>\\n  <field name=\\\"day_used\\\"/>\\n  <field name=\\\"day_remaining\\\"/>\\n  <field name=\\\"status\\\" />\\n-->\\n\\n\n</list>\", \"model\": \"hr2.employee.leaves\"}, \"hr2_employee_list\": {\"name\": \"hr2_employee_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <top>\\n    \n        <button string=\\\"Employee Form\\\" action=\\\"page_render\\\" action_options='{\\\"page_id\\\":59,\\\"target\\\":\\\"new_window\\\"}'/>\\n\n    </top>\\n\n    <search>\\n    \n        <field name=\\\"first_name\\\"/>  \\n\n    </search>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"title\\\"/>\\n\n    <field name=\\\"first_name\\\"/>\\n\n    <field name=\\\"surname\\\"/>\\n\n    <field name=\\\"job_title\\\"/>\\n\n    <field name=\\\"department\\\"/>\\n\n    <field name=\\\"user_id\\\"/>\\n\n    <field name=\\\"time_tracker_required\\\"/>\\n\n    <field name=\\\"work_status\\\"/>\\n\n</list>\", \"model\": \"hr2.employee\"}, \"hr2_employment_category_form\": {\"name\": \"hr2_employment_category_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"name\\\"/>\\n\n</form>\", \"model\": \"hr2.employment.category\"}, \"hr2_employment_category_list\": {\"name\": \"hr2_employment_category_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"name\\\"/>\\n\n</list>\\n\", \"model\": \"hr2.employment.category\"}, \"hr2_job_objectives_form\": {\"name\": \"hr2_job_objectives_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"job_objective\\\"/>\\n\n</form>\", \"model\": \"hr2.job.objectives\"}, \"hr2_job_objectives_list\": {\"name\": \"hr2_job_objectives_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"job_objective\\\"/>\\n\n</list>\", \"model\": \"hr2.job.objectives\"}, \"hr2_job_title_form\": {\"name\": \"hr2_job_title_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"job_title\\\"/>\\n\n</form>\", \"model\": \"hr2.job.title\"}, \"hr2_job_title_list\": {\"name\": \"hr2_job_title_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"job_title\\\"/>\\n\n</list>\", \"model\": \"hr2.job.title\"}, \"hr2_leave_period\": {\"name\": \"hr2_leave_period\", \"type\": \"inherit\", \"layout\": \"\n<inherit>\\n  \n    <field name=\\\"max_date\\\" position=\\\"after\\\">\\n  \\t\n        <field name=\\\"year\\\"/>\\n</field>\\n\n</inherit>\\n\", \"inherit\": \"hr_leave_period_form\"}, \"hr2_leave_request_form\": {\"name\": \"hr2_leave_request_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <head>\\n        \n        <field name=\\\"state\\\"/>\\n    \\t\n        <button string=\\\"Calculate\\\" method=\\\"calc_new\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\">\\n            \n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\" confirm=\\\"Are you sure you want to send this to draft?\\\" states=\\\"await,approved,rejected\\\"/>\\n\n        </button>\\n    \\n\n    </head>\\n\n    <separator string=\\\"General Information\\\"/>\\n\n    <field name=\\\"code\\\" required=\\\"1\\\"/>\\n\n    <field name=\\\"request_date\\\" required=\\\"1\\\"/>\\n\n    <field name=\\\"employee\\\" required=\\\"1\\\"/>\\n\n    <field name=\\\"working_schedule\\\" required=\\\"1\\\" onchange=\\\"onchange_schedule\\\"/>\\n\n    <field name=\\\"leave_type\\\" required=\\\"1\\\" onchange=\\\"onchange_leave_type\\\"/>\\n\n    <field name=\\\"leave_period\\\" required=\\\"1\\\"/>\\n\n    <separator string=\\\"Leaving Information\\\"/>\\n\n    <field name=\\\"start_date\\\" required=\\\"1\\\" onchange=\\\"onchange_start_date\\\"/>\\n\n    <field name=\\\"end_date\\\" required=\\\"1\\\" onchange=\\\"onchange_end_date\\\"/>\\n\n    <field name=\\\"days_requested\\\" readonly=\\\"1\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"days_obtained\\\" readonly=\\\"1\\\" />\\n\n    <field name=\\\"days_remaining\\\" readonly=\\\"1\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"leave_reason\\\"/>\\n\n    <!--<field name=\\\"state\\\"/>-->\\n \n    <foot>\\n  \n        <button string=\\\"Submit\\\" icon=\\\"arrow-right\\\" method=\\\"submit_for_approval\\\" attrs='{\\\"visible\\\":[[\\\"state\\\",\\\"not in\\\",[\\\"await\\\",\\\"approved\\\",\\\"rejected\\\"]]]}'/>\\n\n        <button string=\\\"Approve\\\" method=\\\"approve_leave\\\" attrs='{\\\"visible\\\":[[\\\"state\\\",\\\"in\\\",[\\\"await\\\"]]]}'/>\\n\n        <button string=\\\"Reject\\\" method=\\\"reject_leave\\\" attrs='{\\\"visible\\\":[[\\\"state\\\",\\\"in\\\",[\\\"await\\\"]]]}'/>\\n\n    </foot>\\n\n</form>\", \"model\": \"hr2.leave.request\"}, \"hr2_leave_request_list\": {\"name\": \"hr2_leave_request_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <search>\\n    \n        <field name=\\\"employee\\\"/>\\n\n        <field name=\\\"leave_type\\\"/>\\n\n        <field name=\\\"request_date\\\"/>\\n\n        <field name=\\\"state\\\"/>\\n\n    </search>\\n\n    <field name=\\\"code\\\"/>\\n\n    <field name=\\\"request_date\\\"/>\\n\n    <field name=\\\"employee\\\"/>\\n\n    <field name=\\\"leave_type\\\"/>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"end_date\\\"/>\\n\n    <!--<field name=\\\"days_obtained\\\"/>-->\\n  \n    <!--<field name=\\\"days_requested\\\"/>-->\\n  \n    <!--<field name=\\\"days_remaining\\\"/>-->\\n  \n    <field name=\\\"state\\\"/>\\n\n</list>\", \"model\": \"hr2.leave.request\"}, \"hr2_menu\": {\"name\": \"hr2_menu\", \"type\": \"menu\", \"layout\": \"\n<inherit>\\n  \n    <item string=\\\"Employees\\\" action=\\\"hr2_employee\\\"/>\\n\n    <item string=\\\"Leave\\\">\\n  \\t\n        <!--<item string=\\\"New Leave\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"form_layout\\\":\\\"hr2_leave_request_form\\\",\\\"context\\\":{\\\"defaults\\\":{\\\"type\\\":\\\"leave\\\"}}}'/>-->\\n  \\t\n        <item string=\\\"New Leave\\\" action=\\\"hr2_leave_request\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"target\\\":\\\"new_form\\\"}'/>\\n\n        <item string=\\\"Leave Requests\\\" action=\\\"hr2_leave_request\\\"/>\\n  \\t\n        <item string=\\\"Holidays\\\" action=\\\"holiday\\\"/>\\n\n        <item string=\\\"Leaves Records\\\" action=\\\"hr2_employee_leaves\\\"/>\\n</item>\\n\n    <item string=\\\"Payroll\\\">\\n    \n        <item string=\\\"Payroll\\\" action=\\\"hr2_payroll\\\"/>\\n\n        <item string=\\\"PCB Form\\\" action=\\\"hr2_pcb\\\"/>\\n\n        <item string=\\\"Deduction\\\" action=\\\"hr2_deduction\\\"/>\\n\n        <item string=\\\"Pay Slip\\\" action=\\\"hr2_pay_slip\\\"/>\\n</item>\\n  \\n\n    <!--Added by Sheng Hang-->\\n  \n    <item string=\\\"Payroll2\\\">\\n    \n        <item string=\\\"Net Salary\\\" action=\\\"hr2_net_salary\\\"/>\\n</item>\\n  \\n\n    <item string=\\\"Settings\\\">\\n    \n        <item string=\\\"Department\\\" action=\\\"hr2_department\\\"/>\\n\n        <item string=\\\"Bank\\\" action=\\\"hr2_bank\\\"/>\\n\n        <item string=\\\"Job Title\\\" action=\\\"hr2_job_title\\\"/>\\n\n        <item string=\\\"Job Objectives\\\" action=\\\"hr2_job_objectives\\\"/>\\n\n        <item string=\\\"Employment Category\\\" action=\\\"hr2_employment_category\\\"/>\\n\n        <item string=\\\"Leave Types\\\" action=\\\"leave_type\\\"/>\\n\n        <item string=\\\"Leave Periods\\\" action=\\\"leave_period\\\"/>\\n\n        <item string=\\\"Work Schedule\\\" action=\\\"hr_schedule\\\"/>\\n\n        <item string=\\\"Deduction Type\\\" action=\\\"hr2_deduction_type\\\"/>\\n\n        <item string=\\\"Type Of Position\\\" action=\\\"hr2_type_of_position\\\"/>\\n    \\n\n        <!--Added by Sheng Hang-->\\n    \n        <item string=\\\"EPF Rate\\\" action=\\\"hr2_salary_epf\\\"/>\\n\n        <item string=\\\"Year\\\" action=\\\"hr2_salary_year\\\"/>\\n\n        <item string=\\\"Marriage Status\\\" action=\\\"hr2_marriage_status\\\"/>\\n    \\n\n        <!--Added by Max-->\\n    \n        <item string=\\\"Tax Relief Limit\\\" action=\\\"hr2_tax_relief\\\"/>\\n</item>\\n\n</inherit>\", \"inherit\": \"main_menu\"}, \"hr2_net_salary_print\": {\"name\": \"hr2_net_salary_print\", \"type\": \"form\", \"layout\": \"\n<inherit>\\n  \n    <top>\\n      \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"print_hr2_net_salary_form\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n    </top>\\n\n</inherit>\", \"inherit\": \"hr2.salary_form\"}, \"hr2_objectives_list\": {\"name\": \"hr2_objectives_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"job_objective\\\"/>\\n\n</list>\", \"model\": \"hr2.job.objectives\"}, \"hr2_payroll_form\": {\"name\": \"hr2_payroll_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"number\\\" span=\\\"6\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"working_month\\\" span=\\\"6\\\"/>\\n\n    <field name=\\\"working_days\\\" onchange=\\\"onchange_salary\\\"/>\\n\n    <field name=\\\"paid_by\\\" span=\\\"6\\\"/>\\n\n    <field name=\\\"payment_date\\\" span=\\\"6\\\"/>\\n\n    <field name=\\\"period_from\\\" span=\\\"6\\\"/>\\n\n    <field name=\\\"period_to\\\" span=\\\"6\\\"/>\\n\n    <newline/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\" reorder_field=\\\"sequence\\\">\\n    \n        <list>\\n      \n            <field name=\\\"sequence\\\"/>\\n\n            <field name=\\\"first_name\\\" onchange=\\\"onchange_salary\\\"/>\\n\n            <field name=\\\"employee_code\\\"/>\\n\n            <field name=\\\"employee_name\\\"/>\\n\n            <field name=\\\"ic_passport_no\\\"/>\\n\n            <field name=\\\"type_of_position\\\" onchange=\\\"onchange_salary\\\"/>\\n\n            <field name=\\\"attended_days\\\" onchange=\\\"onchange_salary\\\"/>\\n\n            <field name=\\\"rate\\\" onchange=\\\"onchange_salary\\\"/>\\n\n            <field name=\\\"salary_per_month\\\" onchange=\\\"onchange_salary\\\"/>\\n\n            <field name=\\\"gross_salary\\\" onchange=\\\"onchange_salary\\\"/>\\n\n            <field name=\\\"epf_ee\\\" onchange=\\\"onchange_salary\\\"/>\\n\n            <field name=\\\"socso_ee\\\" onchange=\\\"onchange_salary\\\"/>\\n\n            <field name=\\\"sip_ee\\\" onchange=\\\"onchange_salary\\\"/>\\n\n            <field name=\\\"allowance\\\"/>\\n\n            <field name=\\\"over_time\\\"/>\\n\n            <field name=\\\"epf_er\\\" onchange=\\\"onchange_salary\\\"/>\\n\n            <field name=\\\"socso_er\\\" onchange=\\\"onchange_salary\\\"/>\\n\n            <field name=\\\"sip_er\\\" onchange=\\\"onchange_salary\\\"/>\\n\n            <field name=\\\"total_epf\\\" onchange=\\\"onchange_salary\\\"/>\\n\n            <field name=\\\"total_socso\\\" onchange=\\\"onchange_salary\\\"/>\\n\n            <field name=\\\"total_sip\\\" onchange=\\\"onchange_salary\\\"/>\\n\n            <field name=\\\"total_regulatory\\\" onchange=\\\"onchange_salary\\\"/>\\n\n            <field name=\\\"net_payment\\\" onchange=\\\"onchange_salary\\\"/>\\n\n            <field name=\\\"net_cost\\\" onchange=\\\"onchange_salary\\\"/>\\n\n            <field name=\\\"pcb\\\"/>\\n\n        </list>\\n\n    </field>\\n\n    <button string=\\\"Generate Pay Slips\\\" method=\\\"oncreate_pay_slip\\\" span=\\\"2\\\"/>\\n\n    <button string=\\\"Refresh Pay Slips List\\\" span=\\\"2\\\" />\\n\n</form>\", \"model\": \"hr2.payroll\"}, \"hr2_payroll_list\": {\"name\": \"hr2_payroll_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"working_month\\\"/>\\n\n    <field name=\\\"working_days\\\"/>\\n\n    <field name=\\\"paid_by\\\"/>\\n\n    <field name=\\\"period_from\\\"/>\\n\n    <field name=\\\"period_to\\\"/>\\n\n</list>\", \"model\": \"hr2.payroll\"}, \"hr2_pay_slip_form\": {\"name\": \"hr2_pay_slip_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n   \n    <top>\\n    \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"print_hr2_pay_slip_form\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n    </top>\\n\n    <field name=\\\"number\\\"/>\\n\n    <!--<field name=\\\"pay_roll\\\" position=\\\"replace\\\"/>-->\\n  \n    <!--<field name=\\\"employee_name\\\" onchange=\\\"onchange_employee\\\"/>-->\\n  \n    <field name=\\\"employee_name2\\\"/>\\n\n    <!--<field name=\\\"job_title\\\"/>-->\\n  \n    <field name=\\\"position\\\"/>\\n\n    <field name=\\\"phone_no\\\"/>\\n\n    <field name=\\\"gender\\\"/>\\n\n    <field name=\\\"ic_passport_no\\\"/>\\n\n    <field name=\\\"pay_period_from\\\"/>\\n\n    <field name=\\\"pay_period_to\\\"/>\\n\n    <field name=\\\"date_issue\\\"/>\\n\n    <separator string=\\\"Earning/Income (RM)\\\"/>\\n\n    <field name=\\\"basic_pay\\\"/>\\n\n    <field name=\\\"allowance\\\"/>\\n\n    <field name=\\\"overtime\\\"/>\\n\n    <field name=\\\"total_earning\\\"/>\\n\n    <separator string=\\\"Deduction (RM)\\\"/>\\n\n    <field name=\\\"epf_employee\\\"/>\\n\n    <field name=\\\"socso_employee\\\"/>\\n\n    <field name=\\\"sip_employee\\\"/>\\n\n    <field name=\\\"pcb\\\"/>\\n\n    <field name=\\\"others\\\"/>\\n\n    <field name=\\\"total_deduction\\\"/>\\n\n    <separator string=\\\"Nett Pay (RM)\\\"/>\\n\n    <field name=\\\"nett_pay\\\"/>\\n\n    <separator string=\\\"Employer's Contribution (RM)\\\"/>\\n\n    <field name=\\\"epf_employer\\\"/>\\n\n    <field name=\\\"socso_employer\\\"/>\\n\n    <field name=\\\"epf_no\\\"/>\\n\n    <field name=\\\"sip_employer\\\"/>\\n  \\n\n    <!--<field name=\\\"approved_by\\\"/>\\n  <field name=\\\"employee_signature\\\"/>-->\\n\n</form>\", \"model\": \"hr2.pay.slip\"}, \"hr2_pay_slip_list\": {\"name\": \"hr2_pay_slip_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"number\\\"/>\\n\n    <!--<field name=\\\"pay_roll\\\"/>-->\\n  \n    <field name=\\\"employee_name2\\\"/>\\n\n    <field name=\\\"pay_period_from\\\"/>\\n\n    <field name=\\\"pay_period_to\\\"/>\\n\n    <field name=\\\"date_issue\\\"/>\\n\n</list>\", \"model\": \"hr2.pay.slip\"}, \"hr2_pay_slip_print\": {\"name\": \"hr2_pay_slip_print\", \"type\": \"form\", \"layout\": \"\n<inherit>\\n  \n    <top>\\n      \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"print_hr2_pay_slip_form\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n    </top>\\n\n</inherit>\", \"inherit\": \"hr2_pay_slip_form\"}, \"hr2_pcb_form\": {\"name\": \"hr2_pcb_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <top>\\n    \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"print_hr2_pcb_form\\\" action_options='{\\\"active_id\\\":id}'/>\\n\n    </top>\\n\n    <tabs>\\n    \n        <tab string=\\\"Personal Details\\\">\\n      \n            <field name=\\\"number\\\" span=\\\"6\\\"/>\\n\n            <separator/>\\n\n            <field name=\\\"full_name\\\"/>\\n\n            <field name=\\\"id_no\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"employment_category\\\"/>\\n\n            <field name=\\\"type_of_residency\\\"/>\\n\n            <field name=\\\"mtd_formula\\\"/>\\n\n            <field name=\\\"status_category\\\"/>\\n\n            <field name=\\\"disabled_individual\\\"/>\\n\n            <field name=\\\"disabled_spouse\\\"/>\\n\n            <field name=\\\"month\\\"/>\\n\n            <field name=\\\"year\\\"/>\\n\n            <separator string=\\\"Children - No of children claimed by ownself\\\"/>\\n\n            <field name=\\\"child_under_18_50\\\" span=\\\"4\\\"/>\\n\n            <field name=\\\"child_under_18_100\\\" span=\\\"4\\\"/>\\n\n            <field name=\\\"child_under_18_total\\\" span=\\\"4\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"child_18_study_50\\\" span=\\\"4\\\"/>\\n\n            <field name=\\\"child_18_study_100\\\" span=\\\"4\\\"/>\\n\n            <field name=\\\"child_18_study_total\\\" span=\\\"4\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"child_18_full_time_50\\\" span=\\\"4\\\"/>\\n\n            <field name=\\\"child_18_full_time_100\\\" span=\\\"4\\\"/>\\n\n            <field name=\\\"child_18_full_time_total\\\" span=\\\"4\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"disabled_child_50\\\" span=\\\"4\\\"/>\\n\n            <field name=\\\"disabled_child_100\\\" span=\\\"4\\\"/>\\n\n            <field name=\\\"disabled_child_total\\\" span=\\\"4\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"disabled_child_study_50\\\" span=\\\"4\\\"/>\\n\n            <field name=\\\"disabled_child_study_100\\\" span=\\\"4\\\"/>\\n\n            <field name=\\\"disabled_child_study_total\\\" span=\\\"4\\\"/>\\n\n        </tab>\\n    \\n\n        <tab string=\\\"Previous Employer\\\" attrs='{\\\"invisible\\\":[[\\\"employment_category\\\",\\\"not in\\\",[1]]]}'>\\n     \n            <separator string=\\\"Accumulated Remuneration/MTD/Rebate/Deduction until before current month for current year\\n                         (including from previous employer)\\\"/>\\n\n            <field name=\\\"prev_acc_rem_bik_vola\\\"/>\\n\n            <field name=\\\"prev_acc_epf\\\"/>\\n\n            <field name=\\\"prev_net_acc_rem\\\"/>\\n\n            <field name=\\\"prev_acc_mtd\\\"/>\\n\n            <field name=\\\"prev_total_acc_zakat\\\"/>\\n\n            <separator string=\\\"Other Accumulated Deductions\\\"/> \\n\n            <field name=\\\"prev_med_exp\\\"/>\\n\n            <field name=\\\"prev_father_relief\\\"/>\\n\n            <field name=\\\"prev_mother_relief\\\"/>\\n\n            <field name=\\\"prev_support_disabled\\\"/>\\n\n            <field name=\\\"prev_edu_fees\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"prev_med_exp_serious\\\"/>\\n\n            <field name=\\\"prev_com_med_exam\\\"/>\\n\n            <field name=\\\"prev_total_a_b\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"prev_net_dep_sspn\\\"/>\\n\n            <field name=\\\"prev_alimony\\\"/>\\n\n            <field name=\\\"prev_ins_ret_civ_ser\\\"/>\\n\n            <field name=\\\"prev_ins_oth_ret_civ_ser\\\"/>\\n\n            <field name=\\\"prev_edu_med_ins_prem\\\"/>\\n\n            <field name=\\\"prev_def_annuity\\\"/>\\n\n            <field name=\\\"prev_socso_cont\\\"/>\\n\n            <field name=\\\"prev_purch\\\"/>\\n\n            <field name=\\\"prev_purch_bre_equip\\\"/>\\n\n            <field name=\\\"prev_fee_child_care\\\"/>\\n\n            <field name=\\\"prev_total_acc_deduct\\\"/>\\n\n        </tab>\\n    \\n\n        <tab string=\\\"Current Month's Remuneration\\\" attrs='{\\\"invisible\\\":[[\\\"employment_category\\\",\\\"not in\\\",[1,2]]]}'>\\n     \n            <separator string=\\\"Current Month's Remuneration\\\"/>\\n\n            <field name=\\\"cur_mon_rem\\\"/>\\n\n            <field name=\\\"cur_mon_epf\\\"/>\\n\n            <field name=\\\"cur_total_net_rem\\\"/>\\n\\t\n            <field name=\\\"cur_bik\\\"/>\\n\\t\n            <field name=\\\"cur_vola\\\"/>\\n\n            <separator string=\\\"Current Month's Additional Remuneration\\\"/>\\n\n            <field name=\\\"cur_bonus\\\"/>\\n\n            <field name=\\\"cur_arrears\\\"/>\\n\n            <field name=\\\"cur_commission\\\"/>\\n\n            <field name=\\\"cur_gratuity\\\"/>\\n\n            <field name=\\\"cur_compensation\\\"/>\\n\n            <field name=\\\"cur_director_fee\\\"/>\\n\n            <field name=\\\"cur_inc_tax_on_behalf\\\"/>\\n\n            <field name=\\\"cur_others\\\"/>\\n\n            <field name=\\\"cur_total_add_rem\\\"/>\\n\n            <field name=\\\"cur_add_rem_epf\\\"/>\\n\n            <field name=\\\"cur_total_net_add_rem\\\"/>\\n\n        </tab>\\n    \\n\n        <tab string=\\\"Current Month's Deduction and Rebate Information\\\" attrs='{\\\"invisible\\\":[[\\\"employment_category\\\",\\\"not in\\\",[1,2]]]}'>\\n     \n            <separator string=\\\"Current Month's Deduction\\\"/>\\n\n            <field name=\\\"cur_med_exp\\\"/>\\n\n            <field name=\\\"cur_father_relief\\\"/>\\n\n            <field name=\\\"cur_mother_relief\\\"/>\\n\n            <field name=\\\"cur_support_disabled\\\"/>\\n\n            <field name=\\\"cur_edu_fees\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"cur_med_exp_serious\\\"/>\\n\n            <field name=\\\"cur_com_med_exam\\\"/>\\n\n            <field name=\\\"cur_total_a_b\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"cur_net_dep_sspn\\\"/>\\n\n            <field name=\\\"cur_alimony\\\"/>\\n\n            <field name=\\\"cur_ins_ret_civ_ser\\\"/>\\n\n            <field name=\\\"cur_ins_oth_ret_civ_ser\\\"/>\\n\n            <field name=\\\"cur_edu_med_ins_prem\\\"/>\\n\n            <field name=\\\"cur_def_annuity\\\"/>\\n\n            <field name=\\\"cur_socso_cont\\\"/>\\n\n            <field name=\\\"cur_purch\\\"/>\\n\n            <field name=\\\"cur_purch_bre_equip\\\"/>\\n\n            <field name=\\\"cur_fee_child_care\\\"/>\\n\n            <field name = \\\"cur_total_deduct\\\"/>\\n\n            <separator string=\\\"Current Month's Rebate Information\\\"/>\\n\n            <field name=\\\"cur_zakat\\\"/>\\n\n        </tab>\\n    \\n\n        <tab string = \\\"MTD Calculation\\\" attrs='{\\\"invisible\\\":[[\\\"employment_category\\\",\\\"not in\\\",[1,2]]]}' >\\n     \n            <separator string=\\\"MTD CALCULATION - RESIDENT, REP, IRDA\\\"/>\\n\n            <separator string=\\\"STEP 1 : MTD to yearly net remuneration exclude the additional remuneration\\\"/>\\n\n            <field name=\\\"Y\\\"/>\\n\n            <field name=\\\"K\\\"/>\\n\n            <field name=\\\"E\\\"/>\\n\n            <field name=\\\"Y1\\\"/>\\n\n            <field name=\\\"K1\\\"/>\\n\n            <field name=\\\"Y2\\\"/>\\n\n            <field name=\\\"K2\\\"/>\\n\n            <field name=\\\"D\\\"/>\\n\n            <field name=\\\"S\\\"/>\\n\n            <field name=\\\"Du\\\"/>\\n\n            <field name=\\\"Su\\\"/>\\n\n            <field name=\\\"n\\\"/>\\n\n            <field name=\\\"Q\\\"/>\\n\n            <field name=\\\"C\\\"/>\\n\n            <field name=\\\"QC\\\"/>\\n\n            <field name=\\\"ELP\\\"/>\\n\n            <field name=\\\"LP1\\\"/>\\n      \\n\n            <separator string=\\\"Resident\\\"/>\\n\n            <field name=\\\"P_resident\\\"/>\\n\n            <field name=\\\"M\\\"/>\\n\n            <field name=\\\"R_resident\\\"/>\\n\n            <field name=\\\"B\\\"/>\\n\n            <field name=\\\"Z_resident\\\"/>\\n\n            <field name=\\\"X_resident\\\"/>\\n\n            <field name=\\\"curMonthMTD_resident\\\"/>\\n\n            <field name=\\\"netMTD_resident\\\"/>\\n      \\n\n            <separator string=\\\"REP - Returning Expert Program\\\"/>\\n\n            <field name=\\\"P_REP\\\"/>\\n\n            <field name=\\\"R_REP\\\"/>\\n\n            <field name=\\\"T\\\"/>\\n\n            <field name=\\\"Z_REP\\\"/>\\n\n            <field name=\\\"X_REP\\\"/>\\n\n            <field name=\\\"curMonthMTD_REP\\\"/>\\n\n            <field name=\\\"netMTD_REP\\\"/>\\n      \\n\n            <separator string=\\\"IRDA - Knowledge Worker\\\"/>\\n\n            <field name=\\\"P_IRDA\\\"/>\\n\n            <field name=\\\"R_IRDA\\\"/>\\n\n            <field name=\\\"Z_IRDA\\\"/>\\n\n            <field name=\\\"X_IRDA\\\"/>\\n\n            <field name=\\\"curMonthMTD_IRDA\\\"/>\\n\n            <field name=\\\"netMTD_IRDA\\\"/>\\n      \\n\n            <separator string=\\\"STEP 2 : Yearly MTD\\\"/>\\n\n            <field name=\\\"mtdb\\\"/>\\n\n            <separator string=\\\"STEP 3 : Yearly Tax\\\"/>\\n\n            <field name=\\\"Yt\\\"/>\\n\n            <field name=\\\"Kt\\\"/>\\n\n            <field name=\\\"P_CS\\\"/>\\n\n            <field name=\\\"CS\\\"/>\\n\n            <separator string=\\\"STEP 4 : Additional Remuneration MTD\\\"/>\\n\n            <field name=\\\"mtdC\\\"/>\\n\n            <separator string=\\\"STEP 5 : MTD Current Month\\\"/>\\n\n            <field name=\\\"mtd\\\"/>\\n\n            <field name=\\\"mtd_round\\\"/>\\n\n            <separator string=\\\"MTD CALCULATION - NON RESIDENT\\\"/>\\n\n            <field name=\\\"R_nonres\\\"/>\\n\n            <field name=\\\"non_res_cur_rem\\\"/>\\n\n            <field name=\\\"non_res_bik\\\"/>\\n\n            <field name=\\\"non_res_vola\\\"/>\\n\n            <field name=\\\"non_res_add_rem\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"non_res_mtd\\\"/>\\n\n            <field name=\\\"mtd_round_none\\\"/>\\n\n        </tab>\\n\n    </tabs>\\n\n</form>\", \"model\": \"hr2.pcb\"}, \"hr2_pcb_list\": {\"name\": \"hr2_pcb_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <top>\\n    \n        <button string=\\\"PCB Form\\\" action=\\\"page_render\\\" action_options='{\\\"page_id\\\":105,\\\"target\\\":\\\"new_window\\\"}'/>\\n\n    </top>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"full_name\\\"/>\\n\n    <field name=\\\"month\\\"/>\\n\n    <field name=\\\"year\\\"/>\\n\n    <field name=\\\"employment_category\\\"/>\\n\n    <field name=\\\"type_of_residency\\\"/>\\n\n    <field name=\\\"mtd_formula\\\"/>\\n\n    <field name=\\\"status_category\\\"/>\\n\n</list>\", \"model\": \"hr2.pcb\"}, \"hr2_salary_epf_form\": {\"name\": \"hr2_salary_epf_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"percentage\\\"/>\\n\n    <field name=\\\"value\\\"/>\\n\n    <field name=\\\"year_id\\\"/>\\n\n</form>\", \"model\": \"hr2.salary.epf\"}, \"hr2_salary_epf_list\": {\"name\": \"hr2_salary_epf_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"percentage\\\"/>\\n\n    <field name=\\\"value\\\"/>\\n\n    <field name=\\\"year_id\\\"/>\\n\n</list>\", \"model\": \"hr2.salary.epf\"}, \"hr2.salary_form\": {\"name\": \"hr2.salary_form\", \"type\": \"form\", \"layout\": \"\n<form attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]}'>\\n  \n    <top>\\n    \n        <!--\\n    <button string=\\\"Calculate\\\" method=\\\"calculate_pcb\\\"/>\\n    <button string=\\\"Submit\\\" method=\\\"validate\\\"/>\\n\\t-->\\n    \n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"print_hr2_net_salary_form\\\" \\n            action_options='{\\\"active_id\\\":id}'/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\" align=\\\"right\\\">\\n      \n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n    \n        <field name=\\\"state\\\"/>\\n\n    </head>\\n\n    <tabs>\\n    \n        <tab string=\\\"Main\\\">\\n      \n            <field name=\\\"number\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"date_issue\\\" readonly=\\\"1\\\"/>\\n\n            <newline/>\\n\\n\n            <field name=\\\"name\\\" required=\\\"1\\\" condition='[[\\\"work_status\\\",\\\"=\\\",\\\"Working\\\"]]' onchange=\\\"onchange_employee\\\"/>\\n\n            <field name=\\\"month\\\" required=\\\"1\\\" onchange=\\\"onchange_month\\\"/>\\n\n            <field name=\\\"year\\\"/>\\n\n            <newline/>\\n\\n\n            <separator string=\\\"User Info\\\"/>\\n\n            <field name=\\\"gender\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"national_id_number\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"tax_resident\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"job_title\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"phone_no\\\" readonly=\\\"1\\\"/>\\n\\n\n            <separator string=\\\"EPF Contribution Info\\\"/>\\n\n            <field name=\\\"epf_rate\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"epf_rate_extra\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"prev_epf_relief_total_deduction\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"epf_relief_total_deduction\\\" readonly=\\\"1\\\"/>\\n\n            <newline/>\\n\\n\n            <separator string=\\\"Family Info\\\"/>\\n\n            <field name=\\\"marriage_status\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"employee_disabled\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"spouse_disabled\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"has_child\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"pay_zakat\\\" readonly=\\\"1\\\"/>\\n\n            <newline/>\\n\\n\n            <separator string=\\\"Remuneration Info\\\"/>\\n\n            <field name=\\\"salary_per_month\\\" onchange=\\\"onchange_salary\\\"/>\\n\n            <field name=\\\"benefit_in_kind\\\" onchange=\\\"onchange_salary\\\"/>\\n\n            <field name=\\\"value_of_living_accommodation\\\" onchange=\\\"onchange_salary\\\"/>\\n\n            <field name=\\\"epf_amt\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"socso_amt\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"eis_amt\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"total_deduction_epf_scoso_eis\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"salary_after_epf_socso_eis_deduction\\\" readonly=\\\"1\\\"/> \\n\n            <newline/>\\n\\n\n            <separator string=\\\"Additional Income (Fill-up and click 'Calculate')\\\"/>\\n\n            <field name=\\\"bonus\\\"/>\\n\n            <field name=\\\"arrears\\\"/>\\n\n            <field name=\\\"commissions\\\"/>\\n\n            <field name=\\\"gratuity\\\"/>\\n\n            <field name=\\\"compensation\\\"/>\\n\n            <field name=\\\"director_fee\\\"/>\\n\n            <field name=\\\"income_tax_paid_by_employers_on_behalf_of_employee\\\"/>\\n\n            <field name=\\\"other_additional_income\\\"/>\\n\n            <newline/>\\n\\n\n            <separator string=\\\"Previous Data &amp; Latest PCB Records\\\"/>\\n\n            <field name=\\\"employment_category\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"prev_gross_income_total\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"prev_pcb_paid_total\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"pcb_paid_total\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"cumulative_pcb_paid\\\" readonly=\\\"1\\\"/>\\n\n            <newline/>\\n\\n\n            <!-- <separator string=\\\"Annual Income &amp; Tax Relief\\\"/> -->\\n      \n            <separator string=\\\"Annual Income\\\"/>\\n\n            <field name=\\\"expected_annual_salary\\\" readonly=\\\"1\\\" string=\\\"Expected Annual Remuneration\\\"/>\\n\n            <field name=\\\"cumulative_gross_additional_income\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"expected_total_annual_income\\\" readonly=\\\"1\\\"/>\\n\\n\n            <separator string=\\\"Annual Tax after Tax Relief\\\"/>\\n\n            <field name=\\\"total_tax_relief\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"expected_annual_income_after_tax_relief\\\" readonly=\\\"1\\\"/>  \\n\n            <field name=\\\"total_yearly_tax\\\" readonly=\\\"1\\\"/>\\n      \\n\n            <separator string=\\\"Annual Tax after Tax Rebate\\\"/> \\n\n            <field name=\\\"prev_tax_rebate_total\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"tax_rebate_total\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"net_total_yearly_tax\\\" readonly=\\\"1\\\"/>\\n\\n\n            <separator string=\\\"PCB &amp; Net Salary Calculation\\\"/>\\n\n            <field name=\\\"salary_before_pcb_deduction\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"pcb_to_pay\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"total_deduction_epf_scoso_eis\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"total_deduction\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"net_salary\\\" readonly=\\\"1\\\"/>\\n\n        </tab>\\n\\n\n        <tab string=\\\"Children Tax Relief\\\" attrs='{\\\"invisible\\\":[[\\\"has_child\\\",\\\"!=\\\",\\\"yes\\\"]]}'>\\n      \n            <separator string=\\\"Number of Legitimate Children (100%)\\\"/>\\n\n            <field name=\\\"legit_child_underage\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"legit_child_underage_disabled\\\" readonly=\\\"1\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"legit_child_study_A_level\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"legit_child_study_fulltime\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"legit_child_study_fulltime_disabled\\\" readonly=\\\"1\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"legit_child_tax_total\\\" readonly=\\\"1\\\"/>\\n\\n\n            <separator string=\\\"Number of Step Children (50%)\\\"/>\\n\n            <field name=\\\"step_child_underage\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"step_child_underage_disabled\\\" readonly=\\\"1\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"step_child_study_A_level\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"step_child_study_fulltime\\\" readonly=\\\"1\\\"/>\\n\n            <field name=\\\"step_child_study_fulltime_disabled\\\" readonly=\\\"1\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"step_child_tax_total\\\" readonly=\\\"1\\\"/>\\n\\n\n            <separator string=\\\"Total Tax Relief from Children\\\"/>\\n\n            <field name=\\\"total_child_tax\\\" readonly=\\\"1\\\"/>\\n\n        </tab>\\n\\n\n        <tab string=\\\"Optional Tax Relief\\\">\\n      \n            <separator string=\\\"Medical (Parents)\\\"/>\\n\n            <field name=\\\"medical_expenses_parents\\\" span=\\\"6\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"father_relief\\\" span=\\\"4\\\"/>\\n\n            <field name=\\\"mother_relief\\\" span=\\\"4\\\"/>\\n\n            <field name=\\\"father_mother_relief_total\\\" span=\\\"4\\\" readonly=\\\"1\\\"/>\\n\\n\n            <separator string=\\\"Medical (Own Family)\\\"/>\\n\n            <field name=\\\"medical_expenses_serious_diseases\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"medical_examination_complete\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"vaccination_expenses\\\" span=\\\"6\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"self_medical_relief_total\\\" span=\\\"6\\\" readonly=\\\"1\\\"/>\\n\\n\n            <separator string=\\\"Education\\\"/>\\n\n            <field name=\\\"self_education\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"self_improvement\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"self_education_and_improvement_total\\\" span=\\\"6\\\" readonly=\\\"1\\\"/>\\n\\n\n            <separator string=\\\"Life Insurance\\\"/>\\n\n            <field name=\\\"life_insurance_epf_civil_servant\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"life_insurance_epf_not_civil_servant\\\" span=\\\"6\\\"/>\\n\\n\n            <separator string=\\\"Others\\\"/>\\n\n            <field name=\\\"support_equipment_disable_person\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"net_deposit_sspn\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"alimony_former_wife\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"education_medical_insurance\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"PRS_deferred_annuities\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"contribution_socso\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"expenses_life_style\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"expenses_sports\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"purchase_breastfeeding_equipment\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"fee_child_care_kindergartens\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"fee_tourism\\\" span=\\\"6\\\"/>\\n\\n\n            <separator string=\\\"\\\"/>\\n\n            <field name=\\\"total_allowed_optional_deduction\\\" readonly=\\\"1\\\"/>\\n\n            <button string=\\\"Check Optional Relief Limit\\\" method=\\\"check_optional_relief_limit\\\" span=\\\"2\\\"/>\\n\n            <button string=\\\"Check Cumulative Optional Relief\\\" method=\\\"check_cumulative_optional_relief\\\" span=\\\"2\\\"/>\\n\n        </tab>\\n\\n\n        <tab string=\\\"Tax Rebates\\\"> \\n      \n            <separator string=\\\"Zakat or Fitrah\\\"/>\\n\n            <field name=\\\"zakat_amt\\\" onchange=\\\"onchange_zakat_amt\\\"/>\\n\n            <field name=\\\"zakat_paid_total\\\" readonly=\\\"1\\\"/>\\n\\n\n            <separator string=\\\"Other Tax Rebate\\\"/>\\n\n            <field name=\\\"religious_travel_levy_exemption\\\"/>\\n\n            <field name=\\\"religious_travel_levy_exemption_total\\\" readonly=\\\"1\\\"/>\\n      \\n\n            <button string=\\\"Check Cumulative Tax Rebate\\\" method=\\\"check_cumulative_tax_rebate\\\"/>\\n\n        </tab>\\n\\n\n        <!-- \\n    <tab string=\\\"Optional Tax Relief (DEPRECATED)\\\">\\n      <separator string=\\\"Medical\\\"/>\\n      <field name=\\\"cur_med_exp\\\"/>\\n      <field name=\\\"cur_father_relief\\\"/>\\n      <field name=\\\"cur_mother_relief\\\"/>\\n      <newline/>\\n      <field name=\\\"cur_med_exp_srs\\\"/>\\n      <field name=\\\"cur_comp_med_exm\\\"/>\\n      <field name=\\\"cur_med_exp_vac\\\"/>\\n      <newline/>\\n      <field name=\\\"cur_med_total_abc\\\"/>\\n      <newline/>\\n      <separator string=\\\"Education\\\"/>\\n      <field name=\\\"cur_edu_fees\\\"/>\\n      <field name=\\\"cur_course_fees_imp\\\"/>\\n      <field name=\\\"cur_edu_total_ab\\\"/>\\n      <newline/>\\n      <separator string=\\\"Life Insurance\\\"/>\\n      <field name=\\\"cur_life_ins_rts\\\"/>\\n      <field name=\\\"cur_life_ins_oth_rts\\\"/>\\n      <newline/>\\n      <separator string=\\\"Others\\\"/>\\n      <field name=\\\"cur_sp_eqp_dsb\\\"/>\\n      <field name=\\\"cur_net_dps_sspn\\\"/>\\n      <field name=\\\"cur_pymt_alimony\\\"/>\\n      <field name=\\\"cur_edu_med_ins\\\"/>\\n      <field name=\\\"cur_prs_da\\\"/>\\n      <field name=\\\"cur_socso_con\\\"/>\\n      <field name=\\\"cur_exp_lifestyle\\\"/>\\n      <field name=\\\"cur_exp_sport\\\"/>\\n      <newline/>\\n      <field name=\\\"cur_eqp_bf\\\"/>\\n      <field name=\\\"cur_fee_child_care\\\"/>\\n      <field name=\\\"cur_fees_tourist\\\"/>\\n      <newline/>\\n      <separator string=\\\"\\\"/>\\n      <field name=\\\"cur_total_tax_deduction\\\"/>\\n    </tab>\\n-->\\n  \n    </tabs>\\n\\n\n    <foot>\\n    \n        <!--\\n    <button string=\\\"Calculate\\\" icon=\\\"arrow-right\\\" method=\\\"calculate_pcb\\\"/>\\n    <button string=\\\"Submit\\\" method=\\\"validate\\\"/>\\n\\t-->\\n    \n        <button string=\\\"Confirm &amp; Calculate\\\" method=\\\"calculate_validate\\\"/>\\n\n    </foot>\\n\n</form>\\n\\n\n<!-- \\n<form attrs='{\\\"readonly\\\":[[\\\"state\\\",\\\"=\\\",\\\"done\\\"]]}'>\\n  <top>\\n    <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"print_hr2_net_salary_form\\\" \\n            action_options='{\\\"active_id\\\":id}'/>\\n    <button string=\\\"Options\\\" dropdown=\\\"1\\\" align=\\\"right\\\">\\n      <item string=\\\"To Draft\\\" method=\\\"to_draft\\\"/>\\n    </button>\\n  </top>\\n  <head>\\n    <field name=\\\"state\\\"/>\\n  </head>\\n\\n  <tabs>\\n    <tab string=\\\"Main\\\">\\n      <field name=\\\"number\\\"/>\\n      <field name=\\\"date_issue\\\"/>\\n      <newline/>\\n      <field name=\\\"name\\\" required=\\\"1\\\" onchange=\\\"onchange_employee_new\\\"/>\\n      <field name=\\\"tax_resident\\\"/>\\n      <field name=\\\"gender\\\"/>\\n      <field name=\\\"ic_ps_no\\\"/>\\n\\n      <field name=\\\"job_title\\\"/>\\n      <field name=\\\"phone_no\\\"/>\\n      <field name=\\\"month\\\" required=\\\"1\\\" onchange=\\\"onchange_month\\\"/>\\n      <field name=\\\"epf_rate\\\"/>\\n      <field name=\\\"year\\\"/>\\n      <field name=\\\"epf_add_rate\\\"/> \\n\\n      <newline/>\\n      <separator string=\\\"User Info\\\"/>\\n      <field name=\\\"marriage_status\\\"/>\\n      <newline/>\\n      <field name=\\\"dsb_in\\\"/>\\n      <field name=\\\"dsb_sp\\\"/>\\n\\n      <field name=\\\"a_epf_n_oaf\\\"/>\\n      <field name=\\\"epf_n_oaf\\\"/> \\n\\n      <field name=\\\"child_own\\\"/>\\n      <field name=\\\"total_tax\\\"/>\\n\\n      <newline/>\\n      <separator string=\\\"Salary Info\\\"/>\\n      <field name=\\\"salary_per_month\\\"/>\\n\\n      <field name=\\\"epf_ee\\\" />\\n      <field name=\\\"socso_ee\\\"/>\\n      <field name=\\\"eis_ee\\\"/> \\n      <field name=\\\"deduction_after_epf_socso_eis\\\"/>\\n\\n      <newline/>\\n      <separator string=\\\"Additional Income\\\"/>\\n      <field name=\\\"bonus\\\"/>\\n      <field name=\\\"director_fee\\\"/>\\n      <newline/>\\n      <separator string=\\\"Previous Data &amp; Latest PCB Records\\\"/>\\n      <field name=\\\"employment_category\\\" readonly=\\\"1\\\"/>\\n      <field name=\\\"gross_income_paid_prv\\\"/>\\n      <field name=\\\"pcb_paid_prev\\\"/>\\n      <field name=\\\"pcb_paid\\\"/> \\n\\n      <newline/>\\n      <separator string=\\\"PCB &amp; Net Salary Calculation\\\"/>\\n      <field name=\\\"exp_annual_salary\\\"/>\\n      <field name=\\\"exp_annual_salary_af\\\"/>\\n      <field name=\\\"gross_add_income\\\"/> \\n      <field name=\\\"total_yearly_tax\\\"/>\\n      <field name=\\\"pcb\\\"/>\\n      <field name=\\\"total_deduction\\\"/>\\n      <field name=\\\"net_salary\\\"/>\\n    </tab>\\n\\n    <tab string=\\\"Children Tax Info\\\" attrs='{\\\"invisible\\\":[[\\\"child_own\\\",\\\"not in\\\",[\\\"Yes\\\"]]]}'>\\n      <separator string=\\\"Legitimate Child (100%)\\\"/>\\n      <field name=\\\"child_under_18_legi_100\\\"/>\\n      <field name=\\\"child_disable_legi_100\\\"/>\\n      <newline/>\\n      <field name=\\\"child_study_18_legi_100\\\"/>\\n      <field name=\\\"child_disable_study_legi_100\\\"/>\\n      <newline/>\\n      <field name=\\\"total_legi_child_tax\\\"/>\\n\\n      <separator string=\\\"Step Child (50%)\\\"/>\\n      <field name=\\\"child_under_18_step_50\\\"/>\\n      <field name=\\\"child_disable_step_50\\\"/>\\n      <newline/>\\n      <field name=\\\"child_study_18_step_50\\\"/>\\n      <field name=\\\"child_disable_study_step_50\\\"/>\\n      <newline/>\\n      <field name=\\\"total_step_child_tax\\\"/>\\n\\n      <separator string=\\\"\\\"/>\\n      <field name=\\\"total_child_tax\\\"/>\\n    </tab>\\n\\n    <tab string=\\\"Optional Tax Relief\\\">\\n      <separator string=\\\"Medical\\\"/>\\n      <field name=\\\"cur_med_exp\\\"/>\\n      <field name=\\\"cur_father_relief\\\"/>\\n      <field name=\\\"cur_mother_relief\\\"/>\\n      <newline/>\\n      <field name=\\\"cur_med_exp_srs\\\"/>\\n      <field name=\\\"cur_comp_med_exm\\\"/>\\n      <field name=\\\"cur_med_exp_vac\\\"/>\\n      <newline/>\\n      <field name=\\\"cur_med_total_abc\\\"/>\\n      <newline/>\\n      <separator string=\\\"Education\\\"/>\\n      <field name=\\\"cur_edu_fees\\\"/>\\n      <field name=\\\"cur_course_fees_imp\\\"/>\\n      <field name=\\\"cur_edu_total_ab\\\"/>\\n      <newline/>\\n      <separator string=\\\"Life Insurance\\\"/>\\n      <field name=\\\"cur_life_ins_rts\\\"/>\\n      <field name=\\\"cur_life_ins_oth_rts\\\"/>\\n      <newline/>\\n      <separator string=\\\"Others\\\"/>\\n      <field name=\\\"cur_sp_eqp_dsb\\\"/>\\n      <field name=\\\"cur_net_dps_sspn\\\"/>\\n      <field name=\\\"cur_pymt_alimony\\\"/>\\n      <field name=\\\"cur_edu_med_ins\\\"/>\\n      <field name=\\\"cur_prs_da\\\"/>\\n      <field name=\\\"cur_socso_con\\\"/>\\n      <field name=\\\"cur_exp_lifestyle\\\"/>\\n      <field name=\\\"cur_exp_sport\\\"/>\\n      <newline/>\\n      <field name=\\\"cur_eqp_bf\\\"/>\\n      <field name=\\\"cur_fee_child_care\\\"/>\\n      <field name=\\\"cur_fees_tourist\\\"/>\\n      <newline/>\\n      <separator string=\\\"\\\"/>\\n      <field name=\\\"cur_total_tax_deduction\\\"/>\\n    </tab>\\n\\n  </tabs>\\n\\n  <foot>\\n    <button string=\\\"Calculate\\\" icon=\\\"arrow-right\\\" method=\\\"calculate_pcb\\\"/>\\n    <button string=\\\"Submit\\\" method=\\\"validate\\\"/>\\n  </foot>\\n</form> -->\", \"model\": \"hr2.salary\"}, \"hr2.salary_list\": {\"name\": \"hr2.salary_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <search>\\n    \n        <field name=\\\"name\\\"/>\\n\n        <field name=\\\"month\\\"/>\\n\n        <field name=\\\"year\\\"/>\\n\n        <field name=\\\"state\\\"/>\\n\n    </search>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"month\\\"/>\\n\n    <field name=\\\"year\\\"/>\\n\n    <field name=\\\"salary_per_month\\\"/>\\n\n    <field name=\\\"expected_annual_salary\\\"/>\\n\n    <field name=\\\"cumulative_gross_additional_income\\\"/>\\n\n    <field name=\\\"expected_total_annual_income\\\"/>\\n\n    <field name=\\\"total_tax_relief\\\"/>\\n\n    <field name=\\\"expected_annual_income_after_tax_relief\\\"/>\\n\n    <field name=\\\"total_yearly_tax\\\"/>\\n\n    <field name=\\\"cumulative_pcb_paid\\\"/>\\n\n    <field name=\\\"pcb_to_pay\\\"/>\\n\n    <field name=\\\"net_salary\\\"/>\\n\n</list>\\n\\n\", \"model\": \"hr2.salary\"}, \"hr2_salary_marriage_status_form\": {\"name\": \"hr2_salary_marriage_status_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"category\\\"/>\\n\n    <field name=\\\"tax_relief\\\"/>\\n\n</form>\", \"model\": \"hr2.salary.marriage.status\"}, \"hr2_salary_marriage_status_list\": {\"name\": \"hr2_salary_marriage_status_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"category\\\"/>\\n\n    <field name=\\\"tax_relief\\\"/>\\n\n</list>\", \"model\": \"hr2.salary.marriage.status\"}, \"hr2_salary_year_form\": {\"name\": \"hr2_salary_year_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n   \n    <field name=\\\"name\\\"/>\\n\n</form>\", \"model\": \"hr2.salary.year\"}, \"hr2_type_of_position_form\": {\"name\": \"hr2_type_of_position_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"type_of_position\\\"/>\\n\n</form>\", \"model\": \"hr2.type.of.position\"}, \"hr2_type_of_position_list\": {\"name\": \"hr2_type_of_position_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"type_of_position\\\"/>\\n\n</list>\", \"model\": \"hr2.type.of.position\"}, \" hr_salary_year_list\": {\"name\": \" hr_salary_year_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"name\\\"/>\\n\n</list>\", \"model\": \"hr2.salary.year\"}, \"inv_print_old\": {\"name\": \"inv_print_old\", \"type\": \"form\", \"layout\": \"\n<inherit>\\n  \n    <button string=\\\"Print\\\" position=\\\"replace\\\">\\n\\t\n        <button string=\\\"Print\\\" icon=\\\"print\\\" action=\\\"report_cust_invoice_form3\\\" action_options='{\\\"active_id\\\":id}'/>\\n</button>\\n\n    <button string=\\\"Print\\\" position=\\\"after\\\">\\n\\t\n        <button string=\\\"Print Old\\\" icon=\\\"print\\\" action=\\\"report_cust_invoice_form2\\\" action_options='{\\\"active_id\\\":id}'/>\\n</button>\\n\n</inherit>\", \"inherit\": \"cust_invoice_form\"}, \"list\": {\"name\": \"list\", \"type\": \"list\", \"layout\": null, \"model\": \"testing\"}, \"menu\": {\"name\": \"menu\", \"type\": \"menu\", \"layout\": null, \"model\": \"testing\"}, \"pm_project_form\": {\"name\": \"pm_project_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <top>\\n    \n        <button string=\\\"Create New Task\\\" method=\\\"copy_to_task\\\"/>\\n\n    </top>\\n  \\n\n    <field name=\\\"number\\\" required =\\\"1\\\"/>\\n\n    <field name=\\\"proj_title\\\" required =\\\"1\\\"/>\\n\n    <field name=\\\"proj_status\\\" required =\\\"1\\\"/>\\n\n    <field name=\\\"project_id\\\" method=\\\"get_project\\\"/>\\n\n    <field name=\\\"database\\\" onchange=\\\"onchange_db\\\" required =\\\"1\\\"/>\\n\n    <field name=\\\"servers\\\"/>\\n\n    <field name=\\\"person_in_charge\\\" condition='[[\\\"work_status\\\",\\\"=\\\",\\\"Working\\\"]]'/>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name=\\\"phase\\\"/>\\n\n    <field name=\\\"pay_status\\\"/>\\n\n    <field name=\\\"total_percentage\\\"/>\\n\n    <separator />\\n\n    <field name=\\\"invoice_id\\\"/>\\n\n    <field name=\\\"contact_id\\\"/>\\n\n    <field name=\\\"inv_amount\\\"/>\\n\n    <field name=\\\"expected_hours\\\"/>\\n\n    <field name=\\\"live_hours\\\"/>\\n\n    <field name=\\\"current_cost\\\"/>\\n\n    <!--\\n  <button string=\\\"Create New Task\\\" method=\\\"copy_to_task\\\" span=\\\"2\\\" columns=\\\"4\\\"/>            \\n  <separator />\\n\\n  <field name=\\\"lines\\\" nolabel=\\\"1\\\" reorder_field=\\\"sequence\\\">\\n    <list>\\n      <field name=\\\"task_id\\\" onchange =\\\"onchange_project_task\\\" condition = '[[\\\"state\\\",\\\"=\\\",\\\"new\\\"]]'/>\\n      <field name=\\\"pic\\\" readonly=\\\"1\\\"/>\\n      <field name=\\\"name\\\" readonly=\\\"1\\\"/>\\n      <field name=\\\"description\\\" readonly=\\\"1\\\"/>\\n      <field name=\\\"date_start\\\" readonly=\\\"1\\\"/>\\n      <field name=\\\"act_date_start\\\" readonly=\\\"1\\\"/>\\n      <field name=\\\"date_end\\\" readonly=\\\"1\\\"/>\\n      <field name=\\\"act_date_end\\\" readonly=\\\"1\\\"/>\\n      <field name=\\\"day\\\" readonly=\\\"1\\\"/>\\n      <field name=\\\"status\\\" />\\n      <field name=\\\"percentage\\\"/>\\n      <foot>\\n       <button string=\\\"Create New Task\\\" method=\\\"copy_to_task\\\"/>\\n      </foot>\\n    </list>\\n  </field>-->\\n  \\n  \n<related>\\n    \n    <field name=\\\"proj_tasks\\\"/>\\n\n</related>\\n\\n\n</form>\", \"model\": \"pm.project\"}, \"pm_project_list\": {\"name\": \"pm_project_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <search>\\n    \n        <field name=\\\"database\\\"/>\\n\n        <field name=\\\"proj_title\\\"/>\\n\n        <field name =\\\"person_in_charge\\\" condition='[[\\\"work_status\\\",\\\"=\\\",\\\"Working\\\"]]'/>\\n\n        <field name=\\\"proj_status\\\"/>\\n\n        <field name=\\\"invoice_id\\\"/>\\n\n        <field name=\\\"contact_id\\\"/>\\n\n    </search>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"database\\\"/>\\n\n    <field name=\\\"proj_title\\\"/>\\n\n    <field name=\\\"invoice_id\\\"/>\\n\n    <field name=\\\"start_date\\\"/>\\n\n    <field name=\\\"due_date\\\"/>\\n\n    <field name =\\\"person_in_charge\\\"/>\\n\n    <field name=\\\"age\\\"/>\\n\n    <field name=\\\"phase\\\"/>\\n\n    <field name=\\\"pay_status\\\"/>\\n\n    <field name=\\\"proj_status\\\"/>\\n\n</list>\", \"model\": \"pm.project\"}, \"pm_project_menu\": {\"name\": \"pm_project_menu\", \"type\": \"menu\", \"layout\": \"\n<inherit>\\n  \n    <item string =\\\"Project\\\" icon=\\\"fa_tasks\\\">\\n    \n        <item string =\\\"Project List\\\" action=\\\"pm_project\\\"/>\\n\n        <item string =\\\"Task List\\\" action=\\\"pm_task\\\" action_options='{\\\"active_tab\\\":3}'/>\\n\n        <item string =\\\"Sub Task List\\\" action=\\\"pm_sub_task\\\"/>\\n\n        <item string =\\\"Task Summary\\\" action=\\\"page_render\\\" action_options='{\\\"page\\\":\\\"saber.pm.task.sample\\\",\\\"menu\\\":\\\"pm_project_menu\\\"}'/>\\n\n        <item string=\\\"Time Tracker\\\" action=\\\"time_tracker\\\"/>\\n\n        <item string =\\\"Time Tracker Summary\\\" action=\\\"page_render\\\" action_options='{\\\"page\\\":\\\"t_tracker_summary\\\",\\\"menu\\\":\\\"pm_project_menu\\\"}'/>\\n</item>\\n\n    <item string =\\\"Client DB Tracker\\\" >\\n    \n        <item string=\\\"Tracker\\\" action=\\\"client_db_tracker_menu\\\" />\\n</item>\\n\n    <item string=\\\"Settings\\\" icon=\\\"fa_cog\\\">\\n    \n        <item string=\\\"Server\\\" action=\\\"client_db_tracker_server\\\"/>\\n\n        <item string=\\\"Database\\\" action=\\\"client_db_tracker_database\\\"/>\\n\n        <item string=\\\"Features\\\" action=\\\"client_db_tracker_features\\\"/>\\n\n        <item string=\\\"Change Type\\\" action=\\\"client_db_tracker_change_type\\\"/>\\n\n        <item string=\\\"Task Name\\\" action=\\\"pm_task_name\\\"/>\\n\n        <item string=\\\"Task Category\\\" action=\\\"pm_task_categ\\\"/>\\n</item>\\n\n</inherit>\\n\", \"inherit\": \"main_menu\"}, \"pm_sub_task_list\": {\"name\": \"pm_sub_task_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name =\\\"builder\\\"/> \\n\n    <field name =\\\"tester\\\"/> \\n\n</list>\", \"model\": \"pm.sub.task\"}, \"pm_task_categ_form\": {\"name\": \"pm_task_categ_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"name\\\"/>\\n\n</form>\", \"model\": \"pm.task.categ\"}, \"pm_task_categ_list\": {\"name\": \"pm_task_categ_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"name\\\"/>\\n\n</list>\", \"model\": \"pm.task.categ\"}, \"pm_task_form\": {\"name\": \"pm_task_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"number\\\" required =\\\"1\\\"/>\\n\n    <field name=\\\"name\\\" required =\\\"1\\\"/>\\n\n    <field name=\\\"task_categ\\\"/>\\n\n    <field name=\\\"proj_number\\\" required =\\\"1\\\" condition='[[\\\"proj_status\\\",\\\"!=\\\",\\\"completed\\\"]]'/>\n    <!-- onchange=\\\"onchange_project\\\"/> -->\\n  \n    <!--<field name=\\\"proj_title\\\" required =\\\"1\\\"/>-->\\n  \n    <!--<field name=\\\"project_id\\\"/>-->\\n  \n    <field name=\\\"database\\\" required =\\\"1\\\"/>\\n\n    <field name=\\\"stage\\\"/>\\n\n    <field name=\\\"state\\\" required =\\\"1\\\"/>\\n\n    <field name=\\\"date_start\\\" onchange=\\\"onchange_date\\\"/>\\n\n    <field name=\\\"act_date_start\\\"/>\\n\n    <field name=\\\"date_end\\\" />\\n\n    <field name=\\\"act_date_end\\\"/>\\n\n    <field name=\\\"pic\\\" condition='[[\\\"work_status\\\",\\\"=\\\",\\\"Working\\\"]]'/>\\n\n    <field name=\\\"total_percentage\\\"/>\\n\n    <field name=\\\"main_desc\\\"/>\\n\n    <field name=\\\"file_location\\\"/>\\n  \\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\" reorder_field=\\\"sequence\\\">\\n    \n        <list>\\n      \n            <field name=\\\"sub_id\\\"/>\\n\n            <field name=\\\"name\\\"/>\\n\n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"type\\\"/>\\n\n            <field name=\\\"time_start\\\"/>\\n\n            <field name=\\\"act_date_start\\\"/>\\n\n            <field name=\\\"time_end\\\" required=\\\"1\\\"/>\\n\n            <field name=\\\"act_date_end\\\"/>\\n\n            <field name=\\\"duration\\\"/>\\n\n            <field name=\\\"act_duration\\\"/>\\n\n            <field name=\\\"status\\\" onchange=\\\"onchange_status\\\"/>\\n\n            <field name=\\\"percentage\\\" onchange=\\\"onchange_pctg\\\"/>\\n\n            <field name=\\\"builder\\\" condition='[[\\\"work_status\\\",\\\"=\\\",\\\"Working\\\"]]' required =\\\"1\\\"/>\\n\n            <field name=\\\"tester\\\" condition='[[\\\"work_status\\\",\\\"=\\\",\\\"Working\\\"]]'/>\\n\n        </list>\\n\n    </field>\\n\n</form>\", \"model\": \"pm.task\"}, \"pm_task_list\": {\"name\": \"pm_task_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <top>\\n    \n        <button string=\\\"Planner\\\" action=\\\"to_planner\\\"/>\\n\n    </top>\\n  \\n\n    <!--<tab string=\\\"In Progress\\\" position=\\\"after\\\">\\n    <tab string=\\\"On Going\\\"/>\\n  </tab>-->\\n  \\n  \n    <search>\\n    \n        <field name=\\\"database\\\"/>\\n\n        <field name =\\\"pic\\\" condition='[[\\\"work_status\\\",\\\"=\\\",\\\"Working\\\"]]'/>\\n\n        <field name=\\\"proj_number\\\"/>\\n\n        <field name=\\\"name\\\"/>\\n\n        <field name=\\\"number\\\"/>\\n\n    </search>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"database\\\"/>\\n\n    <field name=\\\"proj_number\\\"/>\\n\n    <field name=\\\"stage\\\"/>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name =\\\"date_start\\\"/> \\n\n    <field name =\\\"date_end\\\"/> \\n\n    <field name =\\\"day\\\"/> \\n\n    <field name =\\\"pic\\\"/> \\n    \\n\n</list>\", \"model\": \"pm.task\"}, \"pm_task_name_form\": {\"name\": \"pm_task_name_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"task_categ\\\"/>\\n\n</form>\", \"model\": \"pm.project.task.name\"}, \"pm_task_name_list\": {\"name\": \"pm_task_name_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"task_categ\\\"/>\\n\n</list>\", \"model\": \"pm.project.task.name\"}, \"pm_time_tracker_form\": {\"name\": \"pm_time_tracker_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"project\\\"/>\\n\n    <!--<field name=\\\"client_name\\\"/>-->\\n  \n    <field name=\\\"date_from\\\"/>\\n\n    <field name=\\\"date_to\\\"/>\\n\n    <field name=\\\"total_hours\\\"/>\\n\n    <field name=\\\"total_cost\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\" reorder_field=\\\"sequence\\\">\\n    \n        <list>\\n      \n            <field name=\\\"name\\\"/>\\n\n            <field name=\\\"date\\\"/>\\n\n            <field name=\\\"client\\\"/>\\n\n            <!-- <field name=\\\"task\\\" condition=\\\"[ ['state','=','ready' ] ]\\\"/> -->\\n      \n            <field name=\\\"task\\\" condition=\\\"[ ['state','in',['ready','in_prog','on_going'] ] ]\\\"/> \\n\n            <field name=\\\"hours\\\" onchange=\\\"calc_cost\\\"/>\\n\n            <field name=\\\"rate\\\" onchange=\\\"calc_cost\\\"/>\\n\n            <field name=\\\"cost\\\"/>\\n\n            <field name=\\\"remarks\\\"/>\\n\n        </list>\\n\n    </field>\\n\n</form>\", \"model\": \"pm.time.tracker\"}, \"pm_time_tracker_list\": {\"name\": \"pm_time_tracker_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <top>\\n    \n        <button string=\\\"Delete Lines without Tracker\\\" method=\\\"delete_lines_without_trackers\\\"/>\\n\n        <button string=\\\"Time Tracker Form\\\" action=\\\"page_render\\\" action_options='{\\\"page_id\\\":483,\\\"target\\\":\\\"new_window\\\"}'/>\\n\n        <button string=\\\"Send Time Tracker Alert\\\" method=\\\"send_alert\\\"/>\\n\n    </top>\\n  \\n\n    <search>\\n    \n        <field name=\\\"project\\\"/>\\n\n        <field name=\\\"date_from\\\"/>\\n\n        <field name=\\\"date_to\\\"/>\\n\n    </search>\\n  \\n\n    <head>\\n    \n        <button string=\\\"Update Costs\\\" method=\\\"update_costs\\\"/>\\n\n        <button string=\\\"Update Costs (Force Update)\\\" method=\\\"update_costs_force\\\"/>\\n\n    </head>\\n\n    <field name=\\\"number\\\"/>\\n\n    <field name=\\\"project\\\"/>\\n\n    <!--<field name=\\\"client_name\\\"/>-->\\n\n</list>\", \"model\": \"pm.time.tracker\"}, \"price_calc_breakdown_form\": {\"name\": \"price_calc_breakdown_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"lines\\\" nolabel=\\\"1\\\" reorder_field=\\\"sequence\\\">\\n    \n        <list>\\n       \n            <field name=\\\"description\\\"/>\\n\n            <field name=\\\"list_price_myr\\\"/>\\n\n            <field name=\\\"lite_package\\\"/>\\n\n            <field name=\\\"std_package\\\"/>\\n\n        </list>\\n\n    </field>\\n\n</form>\", \"model\": \"price.calc.breakdown\"}, \"price_calc_breakdown_list\": {\"name\": \"price_calc_breakdown_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"list_price_myr\\\"/>\\n\n    <field name=\\\"lite_package\\\"/>\\n\n    <field name=\\\"std_package\\\"/>\\n\n</list>\", \"model\": \"price.calc.breakdown\"}, \"price_calc_feature_form\": {\"name\": \"price_calc_feature_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <group form_layout=\\\"stacked\\\">\\n    \n        <field name=\\\"module\\\"/>\\n\n        <field name=\\\"description\\\"/>\\n\n        <separator string=\\\"Package\\\"/>\\n\n        <field name=\\\"lite_package\\\" span=\\\"3\\\"/>\\n\n        <field name=\\\"std_package\\\" span=\\\"3\\\"/>\\n\n        <field name=\\\"unit\\\" span=\\\"3\\\"/>\\n\n        <separator string=\\\"Price/Month\\\"/>\\n\n        <field name=\\\"lite_package_price\\\" span=\\\"3\\\"/>\\n\n        <field name=\\\"std_package_price\\\" span=\\\"3\\\"/>\\n\n        <field name=\\\"currency\\\" span=\\\"3\\\"/>\\n\n    </group>\\n\n</form>\", \"model\": \"price_calc_feature\"}, \"price_calc_feature_list\": {\"name\": \"price_calc_feature_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <search>\\n    \n        <field name=\\\"module\\\"/>\\n\n        <field name=\\\"description\\\"/>\\n\n        <field name=\\\"lite_package\\\"/>\\n\n        <field name=\\\"std_package\\\"/>\\n\n        <field name=\\\"unit\\\"/>\\n\n    </search>\\n\n    <field name=\\\"module\\\"/>\\n\n    <field name=\\\"description\\\"/>\\n\n    <field name=\\\"lite_package\\\"/>\\n\n    <field name=\\\"std_package\\\"/>\\n\n    <field name=\\\"unit\\\"/>\\n\n</list>\", \"model\": \"price_calc_feature\"}, \"price_calc_form\": {\"name\": \"price_calc_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <separator string=\\\"Contact Details\\\"/>\\n\n    <group form_layout=\\\"stacked\\\">\\n    \n        <field name=\\\"name\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"email\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"phone_number\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"address_location_country\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"currency\\\" span=\\\"4\\\"/>\\n\n        <separator string=\\\"Basic Information Required\\\"/>\\n\n        <field name=\\\"employees\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"companies\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"users\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"locations\\\" span=\\\"4\\\"/>\\n\n        <field name=\\\"customised_documents\\\" span=\\\"4\\\"/>\\n\n    </group> \\n\n    <newline/>\\n  \\t\n    <field name=\\\"migrate\\\" span=\\\"4\\\"/>\\n  \\t\n    <field name=\\\"ftf_training\\\" span=\\\"4\\\"/>\\n  \\t\n    <separator string=\\\"Modules/Features:\\\"/>\\n  \\t\n    <field name=\\\"accounting\\\" span=\\\"4\\\"/>\\n  \\t\n    <field name=\\\"inventory\\\" span=\\\"4\\\"/>\\n\n    <newline/>\\n  \\t\n    <field name=\\\"sales_crm\\\" span=\\\"4\\\"/>\\n  \\t\n    <field name=\\\"purchasing\\\" span=\\\"4\\\"/>\\n\n    <newline/>\\n  \\t\n    <field name=\\\"manufacturing\\\" span=\\\"4\\\"/>\\n  \\t\n    <field name=\\\"human_resource\\\" span=\\\"4\\\"/>\\n\n    <newline/>\\n  \\t\n    <field name=\\\"pos\\\" span=\\\"4\\\"/>          \\n  \\t\n    <separator string=\\\"How many of the following do you have:\\\"/>\\n\n    <field name=\\\"master_products_sku_avg\\\"/>\\n  \\t\n    <field name=\\\"master_products_sku_max\\\"/>\\n  \\t\n    <field name=\\\"bom_avg\\\"/>\\n  \\t\n    <field name=\\\"bom_max\\\"/>\\n\n    <separator string=\\\"How many of the following do you produce per day:\\\"/>\\n\n    <field name=\\\"customer_invoices_avg\\\"/>\\n  \\t\n    <field name=\\\"customer_invoices_max\\\"/>\\n\n    <field name=\\\"customer_credit_notes_avg\\\"/>\\n  \\t\n    <field name=\\\"customer_credit_notes_max\\\"/>\\n\n    <field name=\\\"customer_debit_notes_avg\\\"/>\\n  \\t\n    <field name=\\\"customer_debit_notes_max\\\"/>\\n\n    <field name=\\\"supplier_invoices_avg\\\"/>\\n  \\t\n    <field name=\\\"supplier_invoices_max\\\"/>\\n\n    <field name=\\\"supplier_credit_notes_avg\\\"/>\\n  \\t\n    <field name=\\\"supplier_credit_notes_max\\\"/>\\n\n    <field name=\\\"supplier_debit_notes_avg\\\"/>\\n  \\t\n    <field name=\\\"supplier_debit_notes_max\\\"/>\\n\n    <field name=\\\"invoices_print_day_avg\\\"/>\\n  \\t\n    <field name=\\\"invoices_print_day_max\\\"/>\\n\n    <field name=\\\"customer_payments_record_day_avg\\\"/>\\n  \\t\n    <field name=\\\"customer_payments_record_day_max\\\"/>\\n\n    <separator string=\\\"How many of the following do you record per day:\\\"/>\\n\n    <field name=\\\"goods_receipt_avg\\\"/>\\n  \\t\n    <field name=\\\"goods_receipt_max\\\"/>\\n\n    <field name=\\\"goods_issue_avg\\\"/>\\n  \\t\n    <field name=\\\"goods_issue_max\\\"/>\\n\n    <field name=\\\"goods_transfer_avg\\\"/>\\n  \\t\n    <field name=\\\"goods_transfer_max\\\"/>\\n\n    <field name=\\\"landed_cost_avg\\\"/>\\n  \\t\n    <field name=\\\"landed_cost_max\\\"/>\\n\n    <field name=\\\"sales_inquiries_receive_day_avg\\\"/>\\n  \\t\n    <field name=\\\"sales_inquiries_receive_day_max\\\"/>\\n\n    <field name=\\\"sales_quotation_prepared_day_avg\\\"/>\\n  \\t\n    <field name=\\\"sales_quotation_prepared_day_max\\\"/>\\n\n    <field name=\\\"sales_quotation_print_day_avg\\\"/>\\n  \\t\n    <field name=\\\"sales_quotation_print_day_max\\\"/>\\n\n    <field name=\\\"sales_order_receive_day_avg\\\"/>\\n  \\t\n    <field name=\\\"sales_order_receive_day_max\\\"/>\\n\n    <field name=\\\"purchase_request_make_day_avg\\\"/>\\n  \\t\n    <field name=\\\"purchase_request_make_day_max\\\"/>\\n\n    <separator string=\\\"How many of the following do you produce per day:\\\"/>\\n\n    <field name=\\\"purchase_order_avg\\\"/>\\n  \\t\n    <field name=\\\"purchase_order_max\\\"/>\\n\n    <field name=\\\"goods_receipt_avg\\\"/>\\n  \\t\n    <field name=\\\"goods_receipt_max\\\"/>\\n\n    <group offset=\\\"6\\\" span=\\\"6\\\" columns=\\\"1\\\">\\n  \\t\n        <field name=\\\"total\\\"/>\\n\n    </group>\\n  \\t\n    <separator string=\\\"Price\\\"/>\\n  \\t\n    <field name=\\\"month_sub\\\"/>\\n  \\t\n    <field name=\\\"total_price\\\"/>\\n\n</form>\", \"model\": \"price.calc\"}, \"price_calc_list\": {\"name\": \"price_calc_list\", \"type\": \"list\", \"layout\": \"\n<list> \\n  \n    <top>\\n    \n        <button string=\\\"Price Calculator Form\\\" action=\\\"page_render\\\" action_options='{\\\"page_id\\\":98,\\\"target\\\":\\\"new_window\\\"}'/>\\n\n    </top>\\n\n    <search>\\n    \n        <field name=\\\"name\\\"/>\\n\n        <field name=\\\"email\\\"/>\\n\n        <field name=\\\"phone_number\\\"/>\\n\n        <field name=\\\"address_location_country\\\"/>\\n\n    </search>\\n\n    <field name=\\\"name\\\"/>\\n\n    <field name=\\\"email\\\"/>\\n\n    <field name=\\\"phone_number\\\"/>\\n\n    <field name=\\\"address_location_country\\\"/>\\n\n</list>\", \"model\": \"price.calc\"}, \"price_calc_menu\": {\"name\": \"price_calc_menu\", \"type\": \"menu\", \"layout\": \"\n<inherit>\\n  \n    <item string=\\\"Price Calculator\\\" icon=\\\"fa_calculator\\\" action=\\\"price_calc\\\"/>\\n\n    <item string=\\\"Settings\\\" icon=\\\"fa_cog\\\">\\n  \\t\n        <item string=\\\"Type of Module\\\" action=\\\"type_of_module\\\"/>\\n\n        <item string=\\\"Features\\\" action=\\\"price_calc_feature_menu\\\"/>\\n\n        <item string=\\\"Price Calculator Adjustment\\\" action=\\\"price_calc_ad\\\"/>\\n\n        <!--<item string=\\\"Calculation Breakdown\\\" action=\\\"price_calc_breakdown\\\"/>-->\\n  </item>\\n\n</inherit>\", \"inherit\": \"main_menu\"}, \"price_calculator_adjustment\": {\"name\": \"price_calculator_adjustment\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"date_created\\\"/>\\n\n    <group form_layout=\\\"Bill of Materials\\\">\\n    \n        <separator string=\\\"Bill of Materials\\\"/>\\n\n        <field name=\\\"lite_bom_max\\\" string=\\\"Lite Package\\\"/>\\n\n        <field name=\\\"std_bom_max\\\" string=\\\"Standard Package\\\"/>\\n\n        <separator string=\\\"Employees Number\\\"/>\\n\n        <field name=\\\"lite_employee_max\\\" string=\\\"Lite Package\\\"/>\\n\n        <field name=\\\"std_employee_max\\\" string=\\\"Standard Package\\\"/>\\n\n        <separator string=\\\"Transactions per Day\\\"/>\\n\n        <field name=\\\"lite_transaction_max\\\" string=\\\"Lite Package\\\"/>\\n\n        <field name=\\\"std_transaction_max\\\" string=\\\"Standard Package\\\"/>\\n\n        <separator string=\\\"Maximum Product Code\\\"/>\\n\n        <field name=\\\"lite_product_code_max\\\" string=\\\"Lite Package\\\"/>\\n\n        <field name=\\\"std_product_code_max\\\" string=\\\"Standard Package\\\"/>\\n\n    </group>\\n\n</form>\\n\", \"model\": \"price_calculator_ad\"}, \"price_calculator_adjustment_list\": {\"name\": \"price_calculator_adjustment_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <search>\\n    \n        <field name=\\\"date_created\\\"/>\\n\n    </search>\\n\n    <field name=\\\"date_created\\\"/>\\n  \\t\n    <field name=\\\"lite_bom_max\\\" string=\\\"Lite Package\\\"/>\\n\n    <field name=\\\"std_bom_max\\\" string=\\\"Standard Package\\\"/>\\n\n</list>\", \"model\": \"price_calculator_ad\"}, \"purchase_print_old\": {\"name\": \"purchase_print_old\", \"type\": \"form\", \"layout\": \"\n<inherit>\\n  \n    <button string=\\\"Print\\\" position=\\\"before\\\">\\n      \n        <button string=\\\"Print (Old)\\\" icon=\\\"print\\\" action=\\\"report_purchase_form2\\\" action_options='{\\\"active_id\\\":id}'/>\\n</button>\\n\n</inherit>\", \"inherit\": \"purchase_form\"}, \"quot_print_old\": {\"name\": \"quot_print_old\", \"type\": \"form\", \"layout\": \"\n<inherit>\\n  \n    <button string=\\\"Print\\\" position=\\\"before\\\">\\n      \n        <button string=\\\"Print (old)\\\" icon=\\\"print\\\" action=\\\"report_quot_form2\\\" action_options='{\\\"active_id\\\":id}'/>\\n</button>\\n\n</inherit>\", \"inherit\": \"quot_form\"}, \"sb_issue_form\": {\"name\": \"sb_issue_form\", \"type\": \"inherit\", \"layout\": \"\n<inherit>\\n  \n    <field name=\\\"url\\\" position=\\\"replace\\\">\\n    \n        <field name=\\\"url\\\" required=\\\"1\\\"/>\\n</field>\\n\n    <!--<field name=\\\"response\\\" position=\\\"after\\\">\\n    <field name=\\\"support_pic\\\"/>\\n  </field>-->\\n  \n    <field name=\\\"support_pic\\\" position=\\\"after\\\">\\n    \n        <separator/>\\n\n        <field name=\\\"issuer\\\"/>\\n\n        <field name=\\\"client_email\\\"/>\\n</field>\\n\n</inherit>\", \"inherit\": \"issue_form\", \"model\": \"issue\"}, \"tax_relief_form\": {\"name\": \"tax_relief_form\", \"type\": \"form\", \"layout\": \"\n<form attrs='{\\\"readonly\\\":[[\\\"status\\\",\\\"=\\\",\\\"official\\\"]]}'>\\n  \n    <top>\\n    \n        <button string=\\\"Confirm\\\" method=\\\"confirm\\\"/>\\n\n        <button string=\\\"Options\\\" dropdown=\\\"1\\\" align=\\\"right\\\">\\n      \n            <item string=\\\"To Draft\\\" method=\\\"to_draft\\\"/>\\n\n            <item string=\\\"Copy To Next Year\\\" method=\\\"copy_to_next_year\\\"/>\\n\n        </button>\\n\n    </top>\\n\n    <head>\\n    \n        <field name=\\\"status\\\"/>\\n\n    </head>\\n\n    <field name=\\\"year\\\"/>\\n\n    <field name=\\\"file_tax_void\\\"/> \\n\n    <tabs>\\n    \n        <tab string=\\\"Main\\\">\\n      \n            <separator string=\\\"Individual &amp; Spouse \\\"/>\\n\n            <field name=\\\"employee_disabled\\\"/>\\n\n            <field name=\\\"spouse_disabled\\\"/>\\n\\n\n            <separator string=\\\"Legitimate Children\\\"/>\\n\n            <field name=\\\"legit_child_underage\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"legit_child_study_A_level\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"legit_child_underage_disabled\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"legit_child_study_fulltime\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"legit_child_study_fulltime_disabled\\\" span=\\\"6\\\"/>\\n\\n\n            <separator string=\\\"Step Children\\\"/>\\n\n            <field name=\\\"step_child_underage\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"step_child_study_A_level\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"step_child_underage_disabled\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"step_child_study_fulltime\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"step_child_study_fulltime_disabled\\\" span=\\\"6\\\"/>\\n      \\n\n            <separator string=\\\"Others\\\"/>\\n\n            <field name=\\\"total_epf_relief\\\" span=\\\"6\\\"/>\\n\n        </tab>\\n\\n\n        <tab string=\\\"Optional Relief\\\">\\n      \n            <separator string=\\\"Medical (Parents)\\\"/>\\n\n            <field name=\\\"medical_expenses_parents\\\" span=\\\"6\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"father_relief\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"mother_relief\\\" span=\\\"6\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"father_mother_relief_total\\\" span=\\\"6\\\"/>\\n\n            <newline/>\\n\n            <separator string=\\\"Medical (Own Family)\\\"/>\\n\n            <field name=\\\"medical_expenses_serious_diseases\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"medical_examination_complete\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"vaccination_expenses\\\" span=\\\"6\\\"/>\\n\n            <newline/>\\n\n            <field name=\\\"self_medical_relief_total\\\" span=\\\"6\\\"/>\\n\\n\n            <separator string=\\\"Education\\\"/>\\n\n            <field name=\\\"self_education\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"self_improvement\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"self_education_and_improvement_total\\\" span=\\\"6\\\"/>\\n\\n\n            <separator string=\\\"Life Insurance\\\"/>\\n\n            <field name=\\\"life_insurance_epf_civil_servant\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"life_insurance_epf_not_civil_servant\\\" span=\\\"6\\\"/>\\n\\n\n            <separator string=\\\"Others\\\"/>\\n\n            <field name=\\\"support_equipment_disable_person\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"net_deposit_sspn\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"alimony_former_wife\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"education_medical_insurance\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"PRS_deferred_annuities\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"contribution_socso\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"expenses_life_style\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"expenses_sports\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"purchase_breastfeeding_equipment\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"fee_child_care_kindergartens\\\" span=\\\"6\\\"/>\\n\n            <field name=\\\"fee_tourism\\\" span=\\\"6\\\"/>\\n\n        </tab>\\n\\n\n    </tabs>\\n\n</form>\", \"model\": \"hr2.tax.relief\"}, \"tax_relief_list\": {\"name\": \"tax_relief_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <search>\\n    \n        <field name=\\\"year\\\"/>\\n\n    </search>\\n\n    <field name=\\\"status\\\"/>\\n\n    <field name=\\\"year\\\"/>\\n\n</list>\", \"model\": \"hr2.tax.relief\"}, \"type_of_module_form\": {\"name\": \"type_of_module_form\", \"type\": \"form\", \"layout\": \"\n<form>\\n  \n    <field name=\\\"name\\\"/>\\n\n</form>\", \"model\": \"type.of.module\"}, \"type_of_module_list\": {\"name\": \"type_of_module_list\", \"type\": \"list\", \"layout\": \"\n<list>\\n  \n    <field name=\\\"name\\\"/>\\n\n</list>\", \"model\": \"type.of.module\"}}, \"models\": {\"email.account\": {\"string\": \"Email Account\", \"name_field\": \"name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Account Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"nf_mail\", \"Netforce Mail\"], [\"imap\", \"IMAP\"], [\"pop\", \"POP\"], [\"smtp\", \"SMTP\"], [\"mailgun\", \"Mailgun\"]], \"required\": true, \"search\": true, \"store\": true}, \"host\": {\"string\": \"Host\", \"type\": \"char\", \"store\": true}, \"port\": {\"string\": \"Port\", \"type\": \"integer\", \"store\": true}, \"user\": {\"string\": \"User\", \"type\": \"char\", \"store\": true}, \"password\": {\"string\": \"Password\", \"type\": \"char\", \"store\": true}, \"security\": {\"string\": \"Security\", \"type\": \"selection\", \"selection\": [[\"starttls\", \"STARTTLS\"], [\"ssl\", \"SSL\"]], \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"mailboxes\": {\"string\": \"Mailboxes\", \"type\": \"one2many\", \"relation\": \"email.mailbox\", \"relfield\": \"account_id\"}}}, \"email.template\": {\"string\": \"Email Template\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Template Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"from_addr\": {\"string\": \"From\", \"type\": \"char\", \"required\": true, \"store\": true}, \"reply_to\": {\"string\": \"Reply To\", \"type\": \"char\", \"search\": true, \"store\": true}, \"to_addrs\": {\"string\": \"To\", \"type\": \"char\", \"required\": true, \"store\": true}, \"cc_addrs\": {\"string\": \"Cc\", \"type\": \"char\", \"store\": true}, \"subject\": {\"string\": \"Subject\", \"type\": \"char\", \"required\": true, \"store\": true}, \"content_type\": {\"string\": \"Content Type\", \"type\": \"selection\", \"selection\": [[\"plain\", \"Plain Text\"], [\"html\", \"HTML\"]], \"store\": true}, \"body\": {\"string\": \"Body\", \"type\": \"text\", \"required\": true, \"store\": true}, \"attachments\": {\"string\": \"Attachments\", \"type\": \"char\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"related\": {\"string\": \"Related Document\", \"type\": \"char\", \"store\": true}, \"contact\": {\"string\": \"Contact\", \"type\": \"char\", \"store\": true}}}, \"email.message\": {\"string\": \"Email Message\", \"name_field\": \"message_id\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"in\", \"Incoming\"], [\"out\", \"Outgoing\"]], \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"datetime\", \"required\": true, \"readonly\": true, \"search\": true, \"store\": true}, \"from_addr\": {\"string\": \"From\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"reply_to\": {\"string\": \"Reply To\", \"type\": \"char\", \"search\": true, \"store\": true}, \"to_addrs\": {\"string\": \"To\", \"type\": \"char\", \"search\": true, \"store\": true}, \"cc_addrs\": {\"string\": \"Cc\", \"type\": \"char\", \"search\": true, \"store\": true}, \"subject\": {\"string\": \"Subject\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"content_type\": {\"string\": \"Content Type\", \"type\": \"selection\", \"selection\": [[\"plain\", \"Plain Text\"], [\"html\", \"HTML\"]], \"store\": true}, \"body\": {\"string\": \"Body\", \"type\": \"text\", \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"to_send\", \"To Send\"], [\"sent\", \"Sent\"], [\"delivered\", \"Delivered\"], [\"bounced\", \"Bounced\"], [\"rejected\", \"Rejected\"], [\"received\", \"Received\"], [\"error\", \"Error\"]], \"required\": true, \"search\": true, \"store\": true}, \"message_id\": {\"string\": \"Message ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"mailbox_message_uid\": {\"string\": \"Mailbox Message UID\", \"type\": \"char\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"name_id\": {\"string\": \"Contact Person\", \"type\": \"reference\", \"selection\": [[\"contact\", \"Contact\"], [\"sale.lead\", \"Sales Lead\"], [\"mkt.target\", \"Marketing Target\"]], \"search\": true, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.lead\", \"Sales Lead\"], [\"sale.opportunity\", \"Sales Opportunity\"], [\"sale.quot\", \"Quotation\"], [\"sale.order\", \"Sales Order\"], [\"job\", \"Service Order\"], [\"purchase.order\", \"Purchase Order\"], [\"account.invoice\", \"Invoice\"], [\"mkt.campaign\", \"Marketing Campaign\"], [\"ecom.cart\", \"Ecommerce Cart\"]], \"store\": true}, \"attachments\": {\"string\": \"Attachments\", \"type\": \"one2many\", \"relation\": \"email.attach\", \"relfield\": \"email_id\"}, \"events\": {\"string\": \"Email Events\", \"type\": \"one2many\", \"relation\": \"email.event\", \"relfield\": \"email_id\"}, \"opened\": {\"string\": \"Opened\", \"type\": \"boolean\", \"readonly\": true, \"search\": true, \"store\": true}, \"clicked\": {\"string\": \"Link Clicked\", \"type\": \"boolean\", \"readonly\": true, \"search\": true, \"store\": true}, \"in_reject_list\": {\"string\": \"Black Listed\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"check_reject_list\"}, \"parent_uid\": {\"string\": \"Parent Unique ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"parent_id\": {\"string\": \"Parent\", \"type\": \"many2one\", \"relation\": \"email.message\", \"store\": true}, \"mailbox_id\": {\"string\": \"Mailbox\", \"type\": \"many2one\", \"relation\": \"email.mailbox\", \"required\": true, \"search\": true, \"store\": true}, \"open_detect\": {\"string\": \"Open Detect\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_open_detect\"}, \"num_attach\": {\"string\": \"# Attach.\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_attach\"}, \"error_message\": {\"string\": \"Error Message\", \"type\": \"text\", \"store\": true}, \"template_id\": {\"string\": \"Email Template\", \"type\": \"many2one\", \"relation\": \"email.template\", \"store\": true}, \"source\": {\"string\": \"Email Source\", \"type\": \"text\", \"store\": true}, \"orig_from_addr\": {\"string\": \"Original From\", \"type\": \"char\", \"store\": true}, \"is_spam\": {\"string\": \"Is Spam\", \"type\": \"boolean\", \"store\": true}}}, \"email.attach\": {\"string\": \"Email Attachment\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"email_id\": {\"string\": \"Email\", \"type\": \"many2one\", \"relation\": \"email.message\", \"required\": true, \"store\": true}, \"file\": {\"string\": \"File\", \"type\": \"file\", \"required\": true, \"store\": true}}}, \"email.event\": {\"string\": \"Email Event\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"email_id\": {\"string\": \"Email\", \"type\": \"many2one\", \"relation\": \"email.message\", \"required\": true, \"store\": true}, \"type\": {\"string\": \"Event Type\", \"type\": \"selection\", \"selection\": [[\"accepted\", \"Accepted\"], [\"rejected\", \"Rejected\"], [\"delivered\", \"Delivered\"], [\"failed\", \"Failed\"], [\"opened\", \"Opened\"], [\"clicked\", \"Clicked\"], [\"unsubscribed\", \"Unsubscribed\"], [\"complained\", \"Complained\"], [\"stored\", \"Stored\"]], \"required\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"datetime\", \"required\": true, \"store\": true}, \"ip_addr\": {\"string\": \"IP Address\", \"type\": \"char\", \"store\": true}, \"location\": {\"string\": \"Location\", \"type\": \"char\", \"store\": true}, \"user_agent\": {\"string\": \"User Agent\", \"type\": \"char\", \"store\": true}, \"url\": {\"string\": \"URL\", \"type\": \"char\", \"store\": true}, \"details\": {\"string\": \"Details\", \"type\": \"text\", \"store\": true}}}, \"email.reject\": {\"string\": \"Reject Email\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"email\": {\"string\": \"Email\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"reason\": {\"string\": \"Reason\", \"type\": \"selection\", \"selection\": [[\"bounced\", \"Bounced\"], [\"rejected\", \"Rejected\"], [\"unsubscribed\", \"Unsubscribed\"], [\"complained\", \"Complained\"], [\"other\", \"Other\"]], \"search\": true, \"store\": true}, \"details\": {\"string\": \"Details\", \"type\": \"text\", \"store\": true}, \"date\": {\"string\": \"Date Created\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}}}, \"sms.account\": {\"string\": \"SMS Account\", \"name_field\": \"name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Account Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"aws\", \"Amazon SNS\"], [\"twilio\", \"Twilio\"], [\"nexmo\", \"Nexmo\"], [\"thaibulksms\", \"Thai Bulk SMS\"], [\"smsmkt\", \"SMSMKT\"]], \"required\": true, \"store\": true}, \"sender\": {\"string\": \"Sender\", \"type\": \"char\", \"store\": true}, \"username\": {\"string\": \"User\", \"type\": \"char\", \"required\": true, \"store\": true}, \"password\": {\"string\": \"Password\", \"type\": \"char\", \"required\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"skip_verif\": {\"string\": \"Skip SMS Verification\", \"type\": \"boolean\", \"store\": true}}}, \"sms.message\": {\"string\": \"SMS Message\", \"name_field\": \"sender\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"account_id\": {\"string\": \"SMS Account\", \"type\": \"many2one\", \"relation\": \"sms.account\", \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"phone\": {\"string\": \"Phone Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"body\": {\"string\": \"Body\", \"type\": \"text\", \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"to_send\", \"To Send\"], [\"sent\", \"Sent\"], [\"error\", \"Error\"]], \"required\": true, \"search\": true, \"store\": true}, \"error\": {\"string\": \"Error Message\", \"type\": \"text\", \"store\": true}, \"num_chars\": {\"string\": \"Number Of Characters\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_chars\"}}}, \"sms.template\": {\"string\": \"SMS Template\", \"name_field\": \"sender\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Template Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"phone\": {\"string\": \"Phone Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"body\": {\"string\": \"Body\", \"type\": \"text\", \"search\": true, \"store\": true}, \"account_id\": {\"string\": \"SMS Account\", \"type\": \"many2one\", \"relation\": \"sms.account\", \"store\": true}}}, \"message\": {\"string\": \"Message\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"from_id\": {\"string\": \"From User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"required\": true, \"search\": true, \"store\": true}, \"to_id\": {\"string\": \"To User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"subject\": {\"string\": \"Subject\", \"type\": \"char\", \"search\": true, \"store\": true}, \"body\": {\"string\": \"Message Body\", \"type\": \"text\", \"required\": true, \"search\": true, \"store\": true}, \"attach\": {\"string\": \"Attachment\", \"type\": \"file\", \"store\": true}, \"ref_uuid\": {\"string\": \"Reference UUID\", \"type\": \"char\", \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [], \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"new\", \"New\"], [\"opened\", \"Opened\"]], \"required\": true, \"search\": true, \"store\": true}, \"open_dummy\": {\"string\": \"Open Dummy\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_open_dummy\"}}}, \"message.tmpl\": {\"string\": \"Message Template\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Template Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"from_user\": {\"string\": \"From User\", \"type\": \"char\", \"required\": true, \"store\": true}, \"to_user\": {\"string\": \"To User\", \"type\": \"char\", \"store\": true}, \"subject\": {\"string\": \"Subject\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"body\": {\"string\": \"Message Body\", \"type\": \"text\", \"required\": true, \"search\": true, \"store\": true}}}, \"email.mailbox\": {\"string\": \"Email Mailbox\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Mailbox Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"type\": {\"string\": \"Mailbox Type\", \"type\": \"selection\", \"selection\": [[\"in\", \"Inbox\"], [\"out\", \"Outbox\"]], \"required\": true, \"store\": true}, \"account_id\": {\"string\": \"Email Account\", \"type\": \"many2one\", \"relation\": \"email.account\", \"store\": true}, \"account_mailbox\": {\"string\": \"Account Mailbox\", \"type\": \"char\", \"store\": true}, \"last_msg_uid\": {\"string\": \"Last Message UID\", \"type\": \"char\", \"store\": true}, \"last_msg_date\": {\"string\": \"Last Message Date\", \"type\": \"date\", \"store\": true}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"store\": true}}}, \"email.rule\": {\"string\": \"Email Rule\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"mailbox_id\": {\"string\": \"Mailbox\", \"type\": \"many2one\", \"relation\": \"email.mailbox\", \"store\": true}, \"from_addr\": {\"string\": \"From Expression\", \"type\": \"char\", \"store\": true}, \"to_addr\": {\"string\": \"To Expression\", \"type\": \"char\", \"store\": true}, \"subject\": {\"string\": \"Subject Expression\", \"type\": \"char\", \"store\": true}, \"body\": {\"string\": \"Body Expression\", \"type\": \"text\", \"store\": true}, \"action\": {\"string\": \"Action\", \"type\": \"selection\", \"selection\": [[\"spam\", \"Mark as spam\"], [\"copy_to_lead\", \"Copy To Lead\"], [\"convert_lead\", \"Convert Lead\"]], \"store\": true}, \"action_params\": {\"string\": \"Action Params\", \"type\": \"text\", \"store\": true}}}, \"voice.call\": {\"string\": \"Voice Call\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"phone_from\": {\"string\": \"From Phone\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"phone_to\": {\"string\": \"To Phone\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"planned\", \"Planned\"], [\"in_progress\", \"In Progress\"], [\"done\", \"Completed\"], [\"error\", \"Failed\"]], \"required\": true, \"search\": true, \"store\": true}, \"state_details\": {\"string\": \"Status Details\", \"type\": \"text\", \"search\": true, \"store\": true}, \"plan_time\": {\"string\": \"Planned Time\", \"type\": \"datetime\", \"store\": true}, \"start_time\": {\"string\": \"Start Time\", \"type\": \"datetime\", \"store\": true}, \"end_time\": {\"string\": \"End Time\", \"type\": \"datetime\", \"store\": true}, \"duration\": {\"string\": \"Duration (seconds)\", \"type\": \"integer\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.order\", \"Sales Order\"]], \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"file\": {\"string\": \"Recording\", \"type\": \"file\", \"store\": true}, \"call_id\": {\"string\": \"Call ID\", \"type\": \"char\", \"search\": true, \"store\": true}}}, \"voice.account\": {\"string\": \"Voice Account\", \"name_field\": \"name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Account Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"nexmo\", \"Nexmo\"]], \"required\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}}}, \"verif.request\": {\"string\": \"Verification Request\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"time\": {\"string\": \"Time\", \"type\": \"datetime\", \"required\": true, \"store\": true}, \"phone\": {\"string\": \"Phone\", \"type\": \"char\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"new\", \"New\"], [\"sent\", \"Sent\"], [\"verified\", \"Verified\"]], \"required\": true, \"store\": true}, \"verif_code\": {\"string\": \"Verif Code\", \"type\": \"char\", \"store\": true}, \"ref\": {\"string\": \"Reference\", \"type\": \"char\", \"store\": true}}}, \"chat.channel\": {\"string\": \"Chat Channel\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Channel Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Channel Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"description\": {\"string\": \"Channel Description\", \"type\": \"char\", \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"Created By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"messages\": {\"string\": \"Messages\", \"type\": \"one2many\", \"relation\": \"chat.message\", \"relfield\": \"channel_id\"}, \"num_messages\": {\"string\": \"Num Messages\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_messages\"}, \"num_members\": {\"string\": \"Num Members\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_members\"}, \"members\": {\"string\": \"Members\", \"type\": \"many2many\", \"relation\": \"base.user\", \"readonly\": true, \"function\": \"get_members\"}, \"last_message_id\": {\"string\": \"Last Message\", \"type\": \"many2one\", \"relation\": \"chat.message\", \"readonly\": true, \"function\": \"get_last_message\"}, \"num_unread\": {\"string\": \"Unread Messages\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_unread\"}, \"last_message_time\": {\"string\": \"Last Message Time\", \"type\": \"datetime\", \"store\": true}}}, \"chat.message\": {\"string\": \"Chat Message\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"time\": {\"string\": \"Time\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"channel_id\": {\"string\": \"Channel\", \"type\": \"many2one\", \"relation\": \"chat.channel\", \"required\": true, \"store\": true}, \"message\": {\"string\": \"Message\", \"type\": \"text\", \"required\": true, \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"Created By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"to_user_id\": {\"string\": \"Sent To\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"read_user_ids\": {\"string\": \"Read By\", \"type\": \"array\", \"store\": true}}}, \"device.token\": {\"string\": \"Device Token\", \"name_field\": \"unique_id\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"unique_id\": {\"string\": \"UniqueID\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"token\": {\"string\": \"Notif Token\", \"type\": \"char\", \"search\": true, \"store\": true}, \"model\": {\"string\": \"Model\", \"type\": \"char\", \"search\": true, \"store\": true}, \"brand\": {\"string\": \"Brand\", \"type\": \"char\", \"search\": true, \"store\": true}, \"is_tablet\": {\"string\": \"Is Tablet\", \"type\": \"boolean\", \"store\": true}, \"system_name\": {\"string\": \"System Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"system_version\": {\"string\": \"System Version\", \"type\": \"char\", \"search\": true, \"store\": true}, \"timezone\": {\"string\": \"Timezone\", \"type\": \"char\", \"search\": true, \"store\": true}, \"locale\": {\"string\": \"Locale\", \"type\": \"char\", \"search\": true, \"store\": true}, \"carrier\": {\"string\": \"Carrier\", \"type\": \"char\", \"search\": true, \"store\": true}, \"app_name\": {\"string\": \"App Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"push_notifs\": {\"string\": \"Push Notifications\", \"type\": \"one2many\", \"relation\": \"push.notif\", \"relfield\": \"device_id\"}}}, \"device.location\": {\"string\": \"Device Location\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"time\": {\"string\": \"Time\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"device_id\": {\"string\": \"Device\", \"type\": \"many2one\", \"relation\": \"device.token\", \"search\": true, \"store\": true}, \"coords\": {\"string\": \"Coordinates\", \"type\": \"char\", \"search\": true, \"store\": true}}}, \"push.notif\": {\"string\": \"Push Notif\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"time\": {\"string\": \"Time\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"device_id\": {\"string\": \"Device\", \"type\": \"many2one\", \"relation\": \"device.token\", \"search\": true, \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"search\": true, \"store\": true}, \"message\": {\"string\": \"Message\", \"type\": \"text\", \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"to_send\", \"To Send\"], [\"sent\", \"Sent\"], [\"error\", \"Error\"]], \"required\": true, \"store\": true}, \"error\": {\"string\": \"Error\", \"type\": \"text\", \"store\": true}}}, \"notif\": {\"string\": \"Notification\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"time\": {\"string\": \"Time\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"required\": true, \"search\": true, \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"pending\", \"Pending\"], [\"dismissed\", \"Dismissed\"]], \"required\": true, \"search\": true, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [], \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [], \"store\": true}, \"show_board\": {\"string\": \"Show On Dashboard\", \"type\": \"boolean\"}, \"is_overdue\": {\"string\": \"Is Overdue\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_is_overdue\"}, \"bg_task_id\": {\"string\": \"Background Task\", \"type\": \"many2one\", \"relation\": \"bg.task\", \"store\": true}}}, \"broadcast\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"channel_id\": {\"string\": \"Channel\", \"type\": \"many2one\", \"relation\": \"chat.channel\", \"required\": true, \"store\": true}, \"profile_id\": {\"string\": \"Profile\", \"type\": \"many2one\", \"relation\": \"profile\", \"required\": true, \"store\": true}, \"message\": {\"string\": \"Message\", \"type\": \"text\", \"store\": true}}}, \"tag\": {\"name_field\": \"name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Tag Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"type_id\": {\"string\": \"Tag Type\", \"type\": \"many2one\", \"relation\": \"tag.type\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"uuid\": {\"string\": \"UUID\", \"type\": \"char\", \"store\": true}}}, \"tag.type\": {\"name_field\": \"name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"product\", \"Products\"], [\"contact\", \"Contacts\"], [\"post\", \"Posts\"], [\"other\", \"Other\"]], \"required\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"uuid\": {\"string\": \"UUID\", \"type\": \"char\", \"store\": true}}}, \"base.user\": {\"string\": \"User\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"login\": {\"string\": \"Login\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"password\": {\"string\": \"Password\", \"type\": \"char\", \"store\": true}, \"email\": {\"string\": \"Email\", \"type\": \"char\", \"search\": true, \"store\": true}, \"mobile\": {\"string\": \"Mobile\", \"type\": \"char\", \"store\": true}, \"role_id\": {\"string\": \"Role\", \"type\": \"many2one\", \"relation\": \"role\", \"store\": true}, \"profile_id\": {\"string\": \"Profile\", \"type\": \"many2one\", \"relation\": \"profile\", \"required\": true, \"search\": true, \"store\": true}, \"lastlog\": {\"string\": \"Last login\", \"type\": \"datetime\", \"store\": true}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"online_status\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"offline\", \"Offline\"], [\"online\", \"Online\"]], \"readonly\": true, \"function\": \"get_online_status\"}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"pin_code\": {\"string\": \"PIN Code\", \"type\": \"char\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"required\": true, \"search\": true, \"store\": true}, \"company2_id\": {\"string\": \"Company #2\", \"type\": \"many2one\", \"relation\": \"company\", \"search\": true, \"store\": true}, \"password_reset_code\": {\"string\": \"Password Reset Code\", \"type\": \"char\", \"store\": true}, \"num_unread_messages\": {\"string\": \"# Unread Messages\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_unread_messages\"}, \"image\": {\"string\": \"Picture\", \"type\": \"file\", \"store\": true}, \"first_name\": {\"string\": \"First Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"last_name\": {\"string\": \"Last Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"full_name\": {\"string\": \"Full Name\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_full_name\"}, \"device_tokens\": {\"string\": \"Device Tokens\", \"type\": \"one2many\", \"relation\": \"device.token\", \"relfield\": \"user_id\"}, \"show_timer\": {\"string\": \"Show Timer\", \"type\": \"boolean\", \"store\": true}, \"hourly_rate\": {\"string\": \"Hourly Rate\", \"type\": \"decimal\", \"store\": true}, \"num_new_notifs\": {\"string\": \"# New Notifs\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_new_notifs\"}, \"otp_secret\": {\"string\": \"OTP Secret\", \"type\": \"char\", \"store\": true}, \"otp_enabled\": {\"string\": \"OTP Enabled\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_otp_enabled\"}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"products\": {\"string\": \"Other Products\", \"type\": \"many2many\", \"relation\": \"product\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"wait_approve\", \"Awaiting Approval\"], [\"approved\", \"Approved\"], [\"rejected\", \"Rejected\"]], \"store\": true}, \"sig_image\": {\"string\": \"Signature Image\", \"type\": \"file\", \"store\": true}, \"regions\": {\"string\": \"Regions\", \"type\": \"many2many\", \"relation\": \"region\"}, \"prevent_multi_login\": {\"string\": \"Prevent Concurrent Logins\", \"type\": \"boolean\", \"store\": true}}}, \"permission\": {\"string\": \"Permission\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"required\": true, \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"profile\": {\"string\": \"Profile\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"store\": true}, \"perms\": {\"string\": \"Model Permissions\", \"type\": \"one2many\", \"relation\": \"profile.access\", \"relfield\": \"profile_id\"}, \"field_perms\": {\"string\": \"Field Permissions\", \"type\": \"one2many\", \"relation\": \"field.access\", \"relfield\": \"profile_id\"}, \"menu_perms\": {\"string\": \"Menu Permissions\", \"type\": \"one2many\", \"relation\": \"menu.access\", \"relfield\": \"profile_id\"}, \"other_perms\": {\"string\": \"Other Permissions\", \"type\": \"many2many\", \"relation\": \"permission\"}, \"home_action\": {\"string\": \"Login Action\", \"type\": \"char\", \"store\": true}, \"home_action_mobile\": {\"string\": \"Login Action Mobile\", \"type\": \"char\", \"store\": true}, \"login_company_id\": {\"string\": \"Login Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"prevent_login\": {\"string\": \"Prevent Login\", \"type\": \"boolean\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"default_model_perms\": {\"string\": \"Default Model Permissions\", \"type\": \"selection\", \"selection\": [[\"full\", \"Full Access\"], [\"no_delete\", \"Full Access Except Delete\"], [\"readonly\", \"Read-only Access\"], [\"no\", \"No Access\"]], \"store\": true}, \"default_menu_access\": {\"string\": \"Default Menu Access\", \"type\": \"selection\", \"selection\": [[\"visible\", \"Visible\"], [\"hidden\", \"Hidden\"]], \"store\": true}, \"require_approve\": {\"string\": \"Require Approval\", \"type\": \"boolean\", \"store\": true}}}, \"model\": {\"string\": \"Model\", \"name_field\": \"string\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Model Code\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"string\": {\"string\": \"Model Label\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"fields\": {\"string\": \"Fields\", \"type\": \"one2many\", \"relation\": \"field\", \"relfield\": \"model_id\"}, \"custom\": {\"string\": \"Custom Model\", \"type\": \"boolean\", \"store\": true}, \"order\": {\"string\": \"Order\", \"type\": \"char\", \"store\": true}, \"name_field\": {\"string\": \"Name Field\", \"type\": \"char\", \"store\": true}, \"code_js\": {\"string\": \"Code\", \"type\": \"text\", \"store\": true}, \"code_trans\": {\"string\": \"Code (Transpiled)\", \"type\": \"text\", \"store\": true}, \"next_record_id\": {\"string\": \"Next Record ID\", \"type\": \"integer\", \"store\": true}, \"audit_log\": {\"string\": \"Audit Log\", \"type\": \"boolean\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"done\", \"Completed\"]], \"store\": true}, \"layouts\": {\"string\": \"Layouts\", \"type\": \"one2many\", \"relation\": \"view.layout\", \"relfield\": \"model_id\"}}}, \"field\": {\"string\": \"Field\", \"name_field\": \"string\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"model_id\": {\"string\": \"Model\", \"type\": \"many2one\", \"relation\": \"model\", \"required\": true, \"search\": true, \"store\": true}, \"name\": {\"string\": \"Field Code\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"string\": {\"string\": \"Field Label\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"char\", \"Char\"], [\"text\", \"Text\"], [\"decimal\", \"Decimal\"], [\"integer\", \"Integer\"], [\"date\", \"Date\"], [\"datetime\", \"Datetime\"], [\"selection\", \"Selection\"], [\"boolean\", \"Boolean\"], [\"file\", \"File\"], [\"many2one\", \"Many2One\"], [\"one2many\", \"One2Many\"], [\"many2many\", \"Many2Many\"], [\"reference\", \"Reference\"]], \"search\": true, \"store\": true}, \"relation_id\": {\"string\": \"Relation\", \"type\": \"many2one\", \"relation\": \"model\", \"store\": true}, \"relfield_id\": {\"string\": \"Relation Field\", \"type\": \"many2one\", \"relation\": \"field\", \"store\": true}, \"required\": {\"string\": \"Required\", \"type\": \"boolean\", \"store\": true}, \"readonly\": {\"string\": \"Readonly\", \"type\": \"boolean\", \"store\": true}, \"unique\": {\"string\": \"Unique\", \"type\": \"boolean\", \"store\": true}, \"store\": {\"string\": \"Stored\", \"type\": \"boolean\", \"store\": true}, \"function\": {\"string\": \"Function\", \"type\": \"char\", \"search\": true, \"store\": true}, \"function_multi\": {\"string\": \"Multi Function\", \"type\": \"boolean\", \"store\": true}, \"selection\": {\"string\": \"Selection\", \"type\": \"char\", \"store\": true}, \"default\": {\"string\": \"Default\", \"type\": \"char\", \"store\": true}, \"search\": {\"string\": \"Search\", \"type\": \"boolean\", \"store\": true}, \"stored\": {\"string\": \"Stored\", \"type\": \"boolean\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"condition\": {\"string\": \"Condition\", \"type\": \"char\", \"store\": true}, \"module_id\": {\"string\": \"Module\", \"type\": \"many2one\", \"relation\": \"module\", \"store\": true}, \"delete_cascade\": {\"string\": \"On Delete Cascade\", \"type\": \"boolean\", \"store\": true}}}, \"profile.access\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"profile_id\": {\"string\": \"Profile\", \"type\": \"many2one\", \"relation\": \"profile\", \"required\": true, \"store\": true}, \"model_id\": {\"string\": \"Model\", \"type\": \"many2one\", \"relation\": \"model\", \"required\": true, \"store\": true}, \"perm_read\": {\"string\": \"Read\", \"type\": \"boolean\", \"store\": true}, \"perm_create\": {\"string\": \"Create\", \"type\": \"boolean\", \"store\": true}, \"perm_write\": {\"string\": \"Write\", \"type\": \"boolean\", \"store\": true}, \"perm_delete\": {\"string\": \"Delete\", \"type\": \"boolean\", \"store\": true}, \"view_all\": {\"string\": \"View All\", \"type\": \"boolean\", \"store\": true}, \"modif_all\": {\"string\": \"Modify All\", \"type\": \"boolean\", \"store\": true}}}, \"field.access\": {\"string\": \"Field Access\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"profile_id\": {\"string\": \"Profile\", \"type\": \"many2one\", \"relation\": \"profile\", \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"model_id\": {\"string\": \"Model\", \"type\": \"many2one\", \"relation\": \"model\", \"required\": true, \"search\": true, \"store\": true}, \"field_id\": {\"string\": \"Field\", \"type\": \"many2one\", \"relation\": \"field\", \"search\": true, \"store\": true}, \"access\": {\"string\": \"Access\", \"type\": \"selection\", \"selection\": [[\"readwrite\", \"Read/Write\"], [\"readonly\", \"Read-Only\"], [\"hidden\", \"Hidden\"]], \"store\": true}}}, \"field.access.add\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"field_access_id\": {\"string\": \"Field Access\", \"type\": \"many2one\", \"relation\": \"field.access\", \"required\": true, \"store\": true}, \"profile_id\": {\"string\": \"Profile\", \"type\": \"many2one\", \"relation\": \"profile\", \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"model_id\": {\"string\": \"Model\", \"type\": \"many2one\", \"relation\": \"model\", \"required\": true, \"search\": true, \"store\": true}, \"field_id\": {\"string\": \"Field\", \"type\": \"many2one\", \"relation\": \"field\", \"search\": true, \"store\": true}, \"access\": {\"string\": \"Access\", \"type\": \"selection\", \"selection\": [[\"readwrite\", \"Read/Write\"], [\"readonly\", \"Read-Only\"], [\"hidden\", \"Hidden\"]], \"store\": true}}}, \"share.access\": {\"string\": \"Sharing Setting\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"model_id\": {\"string\": \"Model\", \"type\": \"many2one\", \"relation\": \"model\", \"required\": true, \"search\": true, \"store\": true}, \"default_access\": {\"string\": \"Default Access\", \"type\": \"selection\", \"selection\": [[\"private\", \"Private\"], [\"public_ro\", \"Public Read Only\"], [\"public_rw\", \"Public Read/Write\"], [\"custom\", \"Custom Filter\"]], \"required\": true, \"search\": true, \"store\": true}, \"grant_parent\": {\"string\": \"Grant Access Using Hierarchies\", \"type\": \"boolean\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"search\": true, \"store\": true}, \"condition\": {\"string\": \"Filter Expression\", \"type\": \"text\", \"store\": true}, \"filter_type\": {\"string\": \"Filter Type\", \"type\": \"selection\", \"selection\": [[\"rw\", \"Read/Write\"], [\"w\", \"Write Only\"]], \"store\": true}, \"profile_id\": {\"string\": \"Profile\", \"type\": \"many2one\", \"relation\": \"profile\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"store\": true}, \"select_profile\": {\"string\": \"Apply To Profile\", \"type\": \"selection\", \"selection\": [[\"all\", \"All Profiles\"], [\"include\", \"Include List\"], [\"exclude\", \"Exclude List\"]], \"store\": true}, \"profiles\": {\"string\": \"Include Profiles\", \"type\": \"many2many\", \"relation\": \"profile\"}, \"excl_profiles\": {\"string\": \"Exclude Profiles\", \"type\": \"many2many\", \"relation\": \"profile\"}, \"profile_names\": {\"string\": \"Apply To Profiles\", \"type\": \"text\", \"readonly\": true, \"function\": \"_get_profile_names\"}}}, \"role\": {\"string\": \"Role\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"parent_id\": {\"string\": \"Parent\", \"type\": \"many2one\", \"relation\": \"role\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"store\": true}}}, \"login\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"db_name\": {\"string\": \"Database\", \"type\": \"selection\", \"selection\": [], \"required\": true, \"store\": true}, \"login\": {\"string\": \"Login\", \"type\": \"char\", \"required\": true, \"store\": true}, \"password\": {\"string\": \"Password\", \"type\": \"char\", \"required\": true, \"store\": true}, \"show_dbs\": {\"string\": \"Show DBs\", \"type\": \"boolean\", \"store\": true}, \"company_logo\": {\"string\": \"Company Logo\", \"type\": \"char\", \"store\": true}}}, \"product.categ\": {\"string\": \"Product Category\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true, \"translate\": true}, \"code\": {\"string\": \"Short Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"parent_id\": {\"string\": \"Parent Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true, \"translate\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"products\": {\"string\": \"Products\", \"type\": \"one2many\", \"relation\": \"product\", \"relfield\": \"categ_id\"}, \"image\": {\"string\": \"Image\", \"type\": \"file\", \"store\": true}, \"sub_categories\": {\"string\": \"Sub Categories\", \"type\": \"one2many\", \"relation\": \"product.categ\", \"relfield\": \"parent_id\"}, \"num_products\": {\"string\": \"Number of products\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_products\"}, \"gross_profit\": {\"string\": \"Gross Profit (%)\", \"type\": \"decimal\", \"store\": true}, \"sale_account_id\": {\"string\": \"Sales Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"sale_return_account_id\": {\"string\": \"Sales Returns Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"sale_tax_id\": {\"string\": \"Sales Tax\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"store\": true}, \"purchase_account_id\": {\"string\": \"Purchase Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"purchase_return_account_id\": {\"string\": \"Purchase Returns Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"purchase_tax_id\": {\"string\": \"Purchase Tax\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"store\": true}, \"cost_method\": {\"string\": \"Costing Method\", \"type\": \"selection\", \"selection\": [[\"standard\", \"Standard Cost\"], [\"average\", \"Weighted Average\"], [\"fifo\", \"FIFO\"], [\"lifo\", \"LIFO\"]], \"store\": true}, \"cogs_account_id\": {\"string\": \"Cost Of Goods Sold Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"stock_account_id\": {\"string\": \"Inventory Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"brands\": {\"string\": \"Brands\", \"type\": \"many2many\", \"relation\": \"product.brand\"}, \"locations\": {\"string\": \"Warehouses\", \"type\": \"one2many\", \"relation\": \"product.location\", \"relfield\": \"product_categ_id\"}}}, \"settings\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Display Name\", \"type\": \"char\", \"store\": true}, \"legal_name\": {\"string\": \"Legal Name\", \"type\": \"char\", \"store\": true}, \"company_type_id\": {\"string\": \"Organization Type\", \"type\": \"many2one\", \"relation\": \"company.type\", \"store\": true}, \"currency_id\": {\"string\": \"Default Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"store\": true}, \"account_receivable_id\": {\"string\": \"Account Receivable\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"tax_receivable_id\": {\"string\": \"Account Receivable Tax\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"store\": true}, \"account_payable_id\": {\"string\": \"Account Payable\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"tax_payable_id\": {\"string\": \"Account Payable Tax\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"store\": true}, \"year_end_day\": {\"string\": \"Financial Year End (Day)\", \"type\": \"selection\", \"selection\": [[\"1\", \"1\"], [\"2\", \"2\"], [\"3\", \"3\"], [\"4\", \"4\"], [\"5\", \"5\"], [\"6\", \"6\"], [\"7\", \"7\"], [\"8\", \"8\"], [\"9\", \"9\"], [\"10\", \"10\"], [\"11\", \"11\"], [\"12\", \"12\"], [\"13\", \"13\"], [\"14\", \"14\"], [\"15\", \"15\"], [\"16\", \"16\"], [\"17\", \"17\"], [\"18\", \"18\"], [\"19\", \"19\"], [\"20\", \"20\"], [\"21\", \"21\"], [\"22\", \"22\"], [\"23\", \"23\"], [\"24\", \"24\"], [\"25\", \"25\"], [\"26\", \"26\"], [\"27\", \"27\"], [\"28\", \"28\"], [\"29\", \"29\"], [\"30\", \"30\"], [\"31\", \"31\"]], \"store\": true}, \"year_end_month\": {\"string\": \"Financial Year End (Month)\", \"type\": \"selection\", \"selection\": [[\"1\", \"January\"], [\"2\", \"February\"], [\"3\", \"March\"], [\"4\", \"April\"], [\"5\", \"May\"], [\"6\", \"June\"], [\"7\", \"July\"], [\"8\", \"August\"], [\"9\", \"September\"], [\"10\", \"October\"], [\"11\", \"November\"], [\"12\", \"December\"]], \"store\": true}, \"lock_date\": {\"string\": \"Accounting Lock Date\", \"type\": \"date\", \"store\": true}, \"stock_lock_date\": {\"string\": \"Inventory Lock Date\", \"type\": \"date\", \"store\": true}, \"tax_lock_date\": {\"string\": \"Tax Lock Date\", \"type\": \"date\", \"store\": true}, \"nf_email\": {\"string\": \"Email to Netforce\", \"type\": \"char\", \"store\": true}, \"share_settings\": {\"string\": \"Sharing Settings\", \"type\": \"one2many\", \"relation\": \"share.access\", \"relfield\": \"settings_id\"}, \"currency_gain_id\": {\"string\": \"Currency Gain Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"currency_loss_id\": {\"string\": \"Currency Loss Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"unpaid_claim_id\": {\"string\": \"Unpaid Expense Claims Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"retained_earnings_account_id\": {\"string\": \"Retained Earnings Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"logo\": {\"string\": \"Company Logo\", \"type\": \"file\", \"store\": true}, \"package\": {\"string\": \"Package\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"version\": {\"string\": \"Version\", \"type\": \"char\", \"store\": true}, \"tax_no\": {\"string\": \"Tax ID Number\", \"type\": \"char\", \"store\": true}, \"branch_no\": {\"string\": \"Branch Number\", \"type\": \"char\", \"store\": true}, \"addresses\": {\"string\": \"Addresses\", \"type\": \"one2many\", \"relation\": \"address\", \"relfield\": \"settings_id\", \"readonly\": true, \"function\": \"get_addresses\"}, \"date_format\": {\"string\": \"Date Format\", \"type\": \"char\", \"store\": true}, \"use_buddhist_date\": {\"string\": \"Use Buddhist Date\", \"type\": \"boolean\", \"store\": true}, \"phone\": {\"string\": \"Phone\", \"type\": \"char\", \"store\": true}, \"fax\": {\"string\": \"Fax\", \"type\": \"char\", \"store\": true}, \"website\": {\"string\": \"Website\", \"type\": \"char\", \"store\": true}, \"root_url\": {\"string\": \"Root URL\", \"type\": \"char\", \"store\": true}, \"sale_journal_id\": {\"string\": \"Sales Journal\", \"type\": \"many2one\", \"relation\": \"account.journal\", \"store\": true}, \"purchase_journal_id\": {\"string\": \"Purchase Journal\", \"type\": \"many2one\", \"relation\": \"account.journal\", \"store\": true}, \"pay_in_journal_id\": {\"string\": \"Receipts Journal\", \"type\": \"many2one\", \"relation\": \"account.journal\", \"store\": true}, \"pay_out_journal_id\": {\"string\": \"Disbursements Journal\", \"type\": \"many2one\", \"relation\": \"account.journal\", \"store\": true}, \"general_journal_id\": {\"string\": \"General Journal\", \"type\": \"many2one\", \"relation\": \"account.journal\", \"store\": true}, \"default_address_id\": {\"string\": \"Default Address\", \"type\": \"many2one\", \"relation\": \"address\", \"readonly\": true, \"function\": \"get_default_address\"}, \"ar_revenue_id\": {\"string\": \"Revenue Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"input_report_id\": {\"string\": \"Input Vat Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"output_report_id\": {\"string\": \"Output Vat Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"wht3_report_id\": {\"string\": \"WHT3 Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"wht53_report_id\": {\"string\": \"WHT53 Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"sale_copy_picking\": {\"string\": \"Auto-copy sales orders to goods issue\", \"type\": \"boolean\", \"store\": true}, \"sale_copy_reserve_picking\": {\"string\": \"Auto-copy sales orders to reservation goods transfer\", \"type\": \"boolean\", \"store\": true}, \"sale_copy_invoice\": {\"string\": \"Auto-copy sales orders to customer invoice\", \"type\": \"boolean\", \"store\": true}, \"sale_copy_production\": {\"string\": \"Auto-copy sales orders to production\", \"type\": \"boolean\", \"store\": true}, \"sale_split_service\": {\"string\": \"Split Sales Orders (service/non-service)\", \"type\": \"boolean\", \"store\": true}, \"rounding_account_id\": {\"string\": \"Rounding Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"production_waiting_suborder\": {\"string\": \"Wait Sub-Order\", \"type\": \"boolean\", \"store\": true}, \"anon_profile_id\": {\"string\": \"Anonymous User Profile\", \"type\": \"many2one\", \"relation\": \"profile\", \"store\": true}, \"pick_in_journal_id\": {\"string\": \"Goods Receipt Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"pick_out_journal_id\": {\"string\": \"Goods Issue Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"pick_internal_journal_id\": {\"string\": \"Goods Transfer Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"pick_out_return_journal_id\": {\"string\": \"Return To Supplier Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"pick_in_return_journal_id\": {\"string\": \"Return From Customer Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"stock_count_journal_id\": {\"string\": \"Stock Count Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"landed_cost_journal_id\": {\"string\": \"Landed Cost Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"transform_journal_id\": {\"string\": \"Transform Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"waste_journal_id\": {\"string\": \"Product Waste Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"production_journal_id\": {\"string\": \"Production Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"product_borrow_journal_id\": {\"string\": \"Borrow Request Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"stock_cost_mode\": {\"string\": \"Inventory Costing Mode\", \"type\": \"selection\", \"selection\": [[\"periodic\", \"Periodic\"], [\"perpetual\", \"Perpetual\"]], \"store\": true}, \"landed_cost_variance_account_id\": {\"string\": \"Landed Cost Variance Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"est_ship_account_id\": {\"string\": \"Estimate Shipping Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"est_duty_account_id\": {\"string\": \"Estimate Duty Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"act_ship_account_id\": {\"string\": \"Actual Shipping Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"act_duty_account_id\": {\"string\": \"Actual Duty Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"menu_icon\": {\"string\": \"Menu Icon\", \"type\": \"file\", \"store\": true}, \"stock_cost_auto_compute\": {\"string\": \"Auto Compute Cost\", \"type\": \"boolean\", \"store\": true}, \"purchase_copy_picking\": {\"string\": \"Auto-copy purchase orders to goods receipt\", \"type\": \"boolean\", \"store\": true}, \"purchase_copy_invoice\": {\"string\": \"Auto-copy purchase orders to supplier invoice\", \"type\": \"boolean\", \"store\": true}, \"lot_expiry_journal_id\": {\"string\": \"Lot Expiry Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"life_75_journal_id\": {\"string\": \"75% Life Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"life_50_journal_id\": {\"string\": \"50% Life Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"forecast_journal_id\": {\"string\": \"Forecast Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"google_api_key\": {\"string\": \"Google API Key\", \"type\": \"char\", \"store\": true}, \"bank_reconcile_max_days\": {\"string\": \"Bank Reconcile Max Days\", \"type\": \"integer\", \"store\": true}, \"require_qc_in\": {\"string\": \"Require QC for goods receipts\", \"type\": \"boolean\", \"store\": true}, \"require_qc_out\": {\"string\": \"Require QC for goods issues\", \"type\": \"boolean\", \"store\": true}, \"commission_parent\": {\"string\": \"Commission % To Seller Parent\", \"type\": \"decimal\", \"store\": true}, \"commission_grand_parent\": {\"string\": \"Commission % To Seller Grand Parent\", \"type\": \"decimal\", \"store\": true}, \"commission_remain\": {\"string\": \"Remaining Commission % To Seller\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_commission_remain\"}, \"purchase_check_received_qty\": {\"string\": \"Check Extra Received Qty %\", \"type\": \"decimal\", \"store\": true}, \"purchase_min_approvals\": {\"string\": \"Purchase order minimum number of approvals\", \"type\": \"integer\", \"store\": true}, \"pr_require_supplier\": {\"string\": \"Require Supplier In Purchase Requests\", \"type\": \"boolean\", \"store\": true}, \"sale_check_delivered_qty\": {\"string\": \"Check Extra Shipped Qty %\", \"type\": \"decimal\", \"store\": true}, \"pick_out_create_invoice\": {\"string\": \"Create invoice when goods issue is validated\", \"type\": \"boolean\", \"store\": true}, \"approve_invoice\": {\"string\": \"Approve Invoices\", \"type\": \"boolean\", \"store\": true}, \"approve_payment\": {\"string\": \"Approve Payments\", \"type\": \"boolean\", \"store\": true}, \"approve_pick_in\": {\"string\": \"Approve GR\", \"type\": \"boolean\", \"store\": true}, \"approve_pick_internal\": {\"string\": \"Approve GT\", \"type\": \"boolean\", \"store\": true}, \"approve_pick_out\": {\"string\": \"Approve GI\", \"type\": \"boolean\", \"store\": true}, \"approve_quot\": {\"string\": \"Approve Quotations\", \"type\": \"boolean\", \"store\": true}, \"approve_sale\": {\"string\": \"Approve Sales Orders\", \"type\": \"boolean\", \"store\": true}, \"approve_sale_reserve\": {\"string\": \"Approve Sales Reservations\", \"type\": \"boolean\", \"store\": true}, \"approve_purchase\": {\"string\": \"Approve Purchase Orders\", \"type\": \"boolean\", \"store\": true}, \"approve_purchase_request\": {\"string\": \"Approve Purchase Requests\", \"type\": \"boolean\", \"store\": true}, \"approve_production\": {\"string\": \"Approve Production Orders\", \"type\": \"boolean\", \"store\": true}, \"check_neg_stock\": {\"string\": \"Check Negative Stock\", \"type\": \"boolean\", \"store\": true}, \"unique_barcode\": {\"string\": \"Unique Barcodes\", \"type\": \"boolean\", \"store\": true}, \"freight_charge_cust_id\": {\"string\": \"Freight Charge (Customer) Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"freight_charge_cust_track_id\": {\"string\": \"Freight Charge (Customer) Track-1\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"1\"]], \"store\": true}, \"freight_charge_cust_track2_id\": {\"string\": \"Freight Charge (Customer) Track-2\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"2\"]], \"store\": true}, \"freight_charge_supp_id\": {\"string\": \"Freight Charge (Supplier) Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"freight_charge_supp_track_id\": {\"string\": \"Freight Charge (Supplier) Track-1\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"1\"]], \"store\": true}, \"freight_charge_supp_track2_id\": {\"string\": \"Freight Charge (Supplier) Track-2\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"2\"]], \"store\": true}, \"year_end_track_id\": {\"string\": \"Year End Track-1\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"1\"]], \"store\": true}, \"year_end_track2_id\": {\"string\": \"Year End Track-2\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"2\"]], \"store\": true}, \"sale_activity_email_template_id\": {\"string\": \"Email Template for Sales Activity Notification\", \"type\": \"many2one\", \"relation\": \"email.template\", \"store\": true}, \"total_stockcount_per_year\": {\"string\": \"Total Stock-Count per Year\", \"type\": \"integer\", \"store\": true}, \"cycle_stockcount_abc\": {\"string\": \"Cycle Stock-Count by ABC Analysis\", \"type\": \"boolean\", \"store\": true}, \"cycle_stockcount_xyz\": {\"string\": \"Cycle Stock-Count by XYZ Analysis\", \"type\": \"boolean\", \"store\": true}, \"a_by_percentage\": {\"string\": \"Category A by percentage\", \"type\": \"integer\", \"store\": true}, \"b_by_percentage\": {\"string\": \"Category B by percentage\", \"type\": \"integer\", \"store\": true}, \"c_by_percentage\": {\"string\": \"Category C by percentage\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_c_percentage\"}, \"x_by_percentage\": {\"string\": \"Category X by percentage\", \"type\": \"integer\", \"store\": true}, \"y_by_percentage\": {\"string\": \"Category Y by percentage\", \"type\": \"integer\", \"store\": true}, \"z_by_percentage\": {\"string\": \"Category Z by percentage\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_z_percentage\"}, \"x2z_ratio\": {\"string\": \"Stock-Count Frequency Ratio (X to Z)\", \"type\": \"integer\", \"store\": true}, \"y2z_ratio\": {\"string\": \"Stock-Count Frequency Ratio (Y to Z)\", \"type\": \"integer\", \"store\": true}, \"z_total_stockcount_per_year\": {\"string\": \"Total Stock-Count per Year (Z)\", \"type\": \"integer\", \"store\": true}, \"y_total_stockcount_per_year\": {\"string\": \"Total Stock-Count per Year (Y)\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_y_total_stockcount\"}, \"x_total_stockcount_per_year\": {\"string\": \"Total Stock-Count per Year (X)\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_x_total_stockcount\"}, \"xyz_period\": {\"string\": \"Assign XYZ by past data\", \"type\": \"selection\", \"selection\": [[\"3\", \"Last 3 Months\"], [\"6\", \"Last 6 Months\"], [\"12\", \"Last 12 Months\"]], \"store\": true}, \"stock_transform_check_cost\": {\"string\": \"Check Product Transform Costs\", \"type\": \"boolean\", \"store\": true}, \"mfg_order_create_fg\": {\"string\": \"Create FG Receipt When MO Completed\", \"type\": \"boolean\", \"store\": true}, \"bill_num_users\": {\"string\": \"Billable Users\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_users\"}, \"bill_num_addons\": {\"string\": \"Installed Addons\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_addons\"}, \"bill_plan_id\": {\"string\": \"Price Plan\", \"type\": \"many2one\", \"relation\": \"price.plan\", \"store\": true}, \"bill_plan_cost\": {\"string\": \"Price Plan Cost (USD)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_month_cost\"}, \"bill_addon_cost\": {\"string\": \"Extra Addon Cost (USD)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_month_cost\"}, \"bill_month_cost\": {\"string\": \"Total Monthly Cost (USD)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_month_cost\"}, \"bill_balance\": {\"string\": \"Account Balance (USD)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_bill_balance\"}, \"bill_cust_id\": {\"string\": \"Customer ID\", \"type\": \"char\", \"store\": true}, \"pos_contact_id\": {\"string\": \"POS Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"pos_sale_account_id\": {\"string\": \"POS Sales Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"pos_location_id\": {\"string\": \"POS Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"pos_bills\": {\"string\": \"Bill Amounts\", \"type\": \"char\", \"store\": true}, \"pos_table_required\": {\"string\": \"POS Table Required\", \"type\": \"boolean\", \"store\": true}, \"pos_logo\": {\"string\": \"POS Logo\", \"type\": \"file\", \"store\": true}, \"pos_save_receipts\": {\"string\": \"Save POS Receipts\", \"type\": \"boolean\", \"store\": true}, \"pos_pay_method_id\": {\"string\": \"POS Payment Method\", \"type\": \"many2one\", \"relation\": \"payment.method\", \"store\": true}, \"pos_lock_date\": {\"string\": \"POS Lock Date\", \"type\": \"date\", \"store\": true}}}, \"uom\": {\"string\": \"Unit of Measure\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true, \"translate\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"unit\", \"Unit\"], [\"time\", \"Time\"], [\"length\", \"Length\"], [\"weight\", \"Weight\"], [\"volume\", \"Volume\"], [\"other\", \"Other\"]], \"search\": true, \"store\": true}, \"ratio\": {\"string\": \"Ratio\", \"type\": \"decimal\", \"scale\": 9, \"required\": true, \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"search_product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\"}}}, \"uom.conv\": {\"string\": \"UoM Conversion Factor\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"uom_from_id\": {\"string\": \"From UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"uom_to_id\": {\"string\": \"To UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"factor\": {\"string\": \"Conversion Factor\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"search\": true, \"store\": true}, \"product_categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"search\": true, \"store\": true}}}, \"cron.job\": {\"string\": \"Cron Job\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Description\", \"type\": \"char\", \"required\": true, \"store\": true}, \"date\": {\"string\": \"Scheduled Date\", \"type\": \"datetime\", \"store\": true}, \"model\": {\"string\": \"Model\", \"type\": \"char\", \"store\": true}, \"method\": {\"string\": \"Method\", \"type\": \"char\", \"store\": true}, \"args\": {\"string\": \"Arguments\", \"type\": \"text\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"active\", \"Active\"], [\"inactive\", \"Inactive\"]], \"required\": true, \"store\": true}, \"interval_num\": {\"string\": \"Interval Number\", \"type\": \"integer\", \"store\": true}, \"interval_type\": {\"string\": \"Interval Unit\", \"type\": \"selection\", \"selection\": [[\"second\", \"Second\"], [\"minute\", \"Minute\"], [\"hour\", \"Hour\"], [\"day\", \"Day\"]], \"store\": true}, \"call_num\": {\"string\": \"Number Of Calls\", \"type\": \"integer\", \"store\": true}, \"date_start\": {\"string\": \"Start Date\", \"type\": \"datetime\", \"store\": true}, \"date_stop\": {\"string\": \"Stop Date\", \"type\": \"datetime\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"last_error_time\": {\"string\": \"Last Error Time\", \"type\": \"datetime\", \"store\": true}, \"error_message\": {\"string\": \"Error Message\", \"type\": \"text\", \"store\": true}, \"timeout\": {\"string\": \"Timeout (s)\", \"type\": \"integer\", \"store\": true}, \"tasks\": {\"string\": \"Task Queue\", \"type\": \"one2many\", \"relation\": \"bg.task\", \"relfield\": \"cron_job_id\"}}}, \"activity\": {\"string\": \"Activity\", \"name_field\": \"subject\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"type\": {\"string\": \"Activity Type\", \"type\": \"selection\", \"selection\": [[\"task\", \"Task\"], [\"event\", \"Event\"], [\"meeting\", \"Meeting\"], [\"call\", \"Call\"]], \"required\": true, \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"Assigned To\", \"type\": \"many2one\", \"relation\": \"base.user\", \"required\": true, \"search\": true, \"store\": true}, \"subject\": {\"string\": \"Subject\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"due_date\": {\"string\": \"Due Date\", \"type\": \"date\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"body\": {\"string\": \"Body\", \"type\": \"text\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"new\", \"Not Started\"], [\"in_progress\", \"In Progress\"], [\"done\", \"Completed\"], [\"waiting\", \"Waiting on someone else\"], [\"deferred\", \"Deferred\"]], \"required\": true, \"store\": true}, \"priority\": {\"string\": \"Priority\", \"type\": \"selection\", \"selection\": [[\"high\", \"High\"], [\"normal\", \"Normal\"], [\"low\", \"Low\"]], \"store\": true}, \"phone\": {\"string\": \"Phone\", \"type\": \"char\", \"store\": true}, \"email\": {\"string\": \"Email\", \"type\": \"char\", \"store\": true}, \"event_start\": {\"string\": \"Start\", \"type\": \"datetime\", \"store\": true}, \"event_end\": {\"string\": \"End\", \"type\": \"datetime\", \"store\": true}, \"location\": {\"string\": \"Location\", \"type\": \"char\", \"store\": true}, \"email_uid\": {\"string\": \"Email UID\", \"type\": \"char\", \"store\": true}, \"email_account_id\": {\"string\": \"Email Account\", \"type\": \"many2one\", \"relation\": \"email.account\", \"store\": true}, \"work_times\": {\"string\": \"Work Time\", \"type\": \"one2many\", \"relation\": \"work.time\", \"relfield\": \"activity_id\"}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"contact\", \"Contact\"], [\"sale.opportunity\", \"Opportunity\"], [\"sale.quot\", \"Quotation\"], [\"sale.order\", \"Sales Order\"], [\"job\", \"Service Order\"], [\"issue\", \"Issue\"]], \"store\": true}, \"name_id\": {\"string\": \"Name\", \"type\": \"reference\", \"selection\": [[\"contact\", \"Contact\"], [\"sale.lead\", \"Lead\"]], \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"overdue\": {\"string\": \"Overdue\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_overdue\"}}}, \"translation\": {\"string\": \"Translation\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"lang_id\": {\"string\": \"Language\", \"type\": \"many2one\", \"relation\": \"language\", \"required\": true, \"search\": true, \"store\": true}, \"original\": {\"string\": \"Original String\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"translation\": {\"string\": \"Translation\", \"type\": \"char\", \"search\": true, \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"translation.field\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"model\": {\"string\": \"Model\", \"type\": \"char\", \"required\": true, \"store\": true}, \"field\": {\"string\": \"Field\", \"type\": \"char\", \"required\": true, \"store\": true}, \"rec_id\": {\"string\": \"Record ID\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"lang\": {\"string\": \"Language\", \"type\": \"selection\", \"selection\": [[\"zh_CN\", \"Chinese\"], [\"en_US\", \"English\"], [\"my_MM\", \"Myanmar\"], [\"th_TH\", \"Thai\"]], \"required\": true, \"store\": true}, \"translation\": {\"string\": \"Translation\", \"type\": \"text\", \"store\": true}}}, \"import.data\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"model\": {\"string\": \"Model\", \"type\": \"char\", \"required\": true, \"store\": true}, \"next\": {\"string\": \"Next\", \"type\": \"char\", \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"store\": true}, \"file\": {\"string\": \"File to import\", \"type\": \"file\", \"required\": true, \"store\": true}}}, \"sequence\": {\"string\": \"Sequence\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"cust_invoice\", \"Customer Invoice\"], [\"supp_invoice\", \"Supplier Invoice\"], [\"cust_credit\", \"Customer Credit Note\"], [\"supp_credit\", \"Supplier Credit Note\"], [\"cust_debit\", \"Customer Debit Note\"], [\"supp_debit\", \"Supplier Debit Note\"], [\"pay_in\", \"Incoming Payment\"], [\"pay_out\", \"Outgoing Payment\"], [\"transfer\", \"Transfer\"], [\"tax_no\", \"Tax No\"], [\"wht_no\", \"WHT No\"], [\"account_move\", \"Journal Entry\"], [\"bill_note\", \"Billing Note\"], [\"pick_in\", \"Goods Receipt\"], [\"pick_internal\", \"Goods Transfer\"], [\"pick_out\", \"Goods Issue\"], [\"stock_count\", \"Stock Count\"], [\"stock_move\", \"Stock Movement\"], [\"stock_lot\", \"Lot / Serial Number\"], [\"stock_container\", \"Container\"], [\"waste\", \"Product Waste\"], [\"stock_transform\", \"Product Transforms\"], [\"stock_grade\", \"Product Gradings\"], [\"landed_cost\", \"Landed Costs\"], [\"shipping_rates\", \"Shipping Rates\"], [\"delivery_order\", \"Delivery Orders\"], [\"delivery_route\", \"Delivery Routes\"], [\"sale_lead\", \"Sales Lead\"], [\"sale_opport\", \"Sales Opportunity\"], [\"sale_quot\", \"Sales Quotations\"], [\"sale_order\", \"Sales Order\"], [\"sale_return\", \"Sales Return\"], [\"ecom_sale_order\", \"Ecommerce Sales Order\"], [\"sale_forecast\", \"Sales Forecast\"], [\"purchase_order\", \"Purchase Order\"], [\"purchase_return\", \"Purchase Return\"], [\"purchase_request\", \"Purchase Request\"], [\"pos_closure\", \"POS Register Closure\"], [\"production\", \"Production Order\"], [\"bom\", \"Bill of Material\"], [\"production_plan\", \"Production Plan\"], [\"service_item\", \"Service Item\"], [\"job\", \"Service Order\"], [\"task\", \"Task\"], [\"service_contract\", \"Service Contract\"], [\"issue\", \"Issue\"], [\"employee\", \"Employee\"], [\"payrun\", \"Payrun\"], [\"leave_request\", \"Leave Request\"], [\"expense\", \"Expense Claim\"], [\"fixed_asset\", \"Fixed Asset\"], [\"claim\", \"Product Claims\"], [\"borrow\", \"Product Borrowings\"], [\"contact\", \"Contact Number\"], [\"product\", \"Product\"], [\"ecom_cart\", \"Cart Number\"], [\"other\", \"Other\"]], \"required\": true, \"search\": true, \"store\": true}, \"prefix\": {\"string\": \"Prefix\", \"type\": \"char\", \"search\": true, \"store\": true}, \"padding\": {\"string\": \"Number Padding\", \"type\": \"integer\", \"store\": true}, \"running\": {\"string\": \"Running Numbers\", \"type\": \"one2many\", \"relation\": \"sequence.running\", \"relfield\": \"sequence_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"model_id\": {\"string\": \"Model\", \"type\": \"many2one\", \"relation\": \"model\", \"store\": true}}}, \"sequence.running\": {\"string\": \"Running Number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"sequence_id\": {\"string\": \"Sequence\", \"type\": \"many2one\", \"relation\": \"sequence\", \"required\": true, \"store\": true}, \"prefix\": {\"string\": \"Prefix\", \"type\": \"char\", \"store\": true}, \"next\": {\"string\": \"Next Number\", \"type\": \"integer\", \"required\": true, \"store\": true}}}, \"country\": {\"string\": \"Country\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true, \"translate\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"provinces\": {\"string\": \"Provinces\", \"type\": \"one2many\", \"relation\": \"province\", \"relfield\": \"country_id\"}, \"postal_codes\": {\"string\": \"Postal Codes\", \"type\": \"one2many\", \"relation\": \"postal.code\", \"relfield\": \"country_id\"}, \"phone_prefix\": {\"string\": \"Phone Prefix\", \"type\": \"char\", \"store\": true}, \"flag\": {\"string\": \"Flag\", \"type\": \"file\", \"store\": true}, \"timezone\": {\"string\": \"Timezone\", \"type\": \"char\", \"store\": true}}}, \"province\": {\"string\": \"Province\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"country_id\": {\"string\": \"Country\", \"type\": \"many2one\", \"relation\": \"country\", \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true, \"translate\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"districts\": {\"string\": \"Districts\", \"type\": \"one2many\", \"relation\": \"district\", \"relfield\": \"province_id\"}, \"postal_codes\": {\"string\": \"Postal Codes\", \"type\": \"one2many\", \"relation\": \"postal.code\", \"relfield\": \"province_id\"}}}, \"district\": {\"string\": \"District\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"province_id\": {\"string\": \"Province\", \"type\": \"many2one\", \"relation\": \"province\", \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true, \"translate\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"subdistricts\": {\"string\": \"Subdistricts\", \"type\": \"one2many\", \"relation\": \"subdistrict\", \"relfield\": \"district_id\"}, \"postal_codes\": {\"string\": \"Postal Codes\", \"type\": \"one2many\", \"relation\": \"postal.code\", \"relfield\": \"district_id\"}}}, \"subdistrict\": {\"string\": \"Subdistrict\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"district_id\": {\"string\": \"District\", \"type\": \"many2one\", \"relation\": \"district\", \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true, \"translate\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"postal_codes\": {\"string\": \"Postal Codes\", \"type\": \"one2many\", \"relation\": \"postal.code\", \"relfield\": \"subdistrict_id\"}}}, \"postal.code\": {\"string\": \"Postal Code\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"country_id\": {\"string\": \"Country\", \"type\": \"many2one\", \"relation\": \"country\", \"search\": true, \"store\": true}, \"province_id\": {\"string\": \"Province\", \"type\": \"many2one\", \"relation\": \"province\", \"search\": true, \"store\": true}, \"district_id\": {\"string\": \"District\", \"type\": \"many2one\", \"relation\": \"district\", \"search\": true, \"store\": true}, \"subdistrict_id\": {\"string\": \"Subdistrict\", \"type\": \"many2one\", \"relation\": \"subdistrict\", \"search\": true, \"store\": true}}}, \"language\": {\"string\": \"Language\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"required\": true, \"store\": true}, \"num_translations\": {\"string\": \"Number of translations\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_translations\"}, \"translations\": {\"string\": \"Translations\", \"type\": \"one2many\", \"relation\": \"translation\", \"relfield\": \"lang_id\"}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}}}, \"feedback\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"datetime\", \"required\": true, \"store\": true}, \"from_id\": {\"string\": \"From User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"required\": true, \"store\": true}, \"feeling\": {\"string\": \"Feeling\", \"type\": \"selection\", \"selection\": [[\"good\", \"Good\"], [\"indifferent\", \"Indifferent\"], [\"bad\", \"Bad\"]], \"store\": true}, \"message\": {\"string\": \"Message\", \"type\": \"text\", \"required\": true, \"store\": true}}}, \"attach\": {\"string\": \"Attachment\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"file\": {\"string\": \"File\", \"type\": \"file\", \"required\": true, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"document\", \"Document\"]], \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"search\": true, \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"log\": {\"string\": \"Log Entry\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"ip_addr\": {\"string\": \"IP Address\", \"type\": \"char\", \"search\": true, \"store\": true}, \"country_id\": {\"string\": \"Country\", \"type\": \"many2one\", \"relation\": \"country\", \"readonly\": true, \"store\": true}, \"message\": {\"string\": \"Message\", \"type\": \"text\", \"required\": true, \"search\": true, \"store\": true}, \"details\": {\"string\": \"Details\", \"type\": \"text\", \"search\": true, \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [], \"store\": true}, \"txid\": {\"string\": \"Transaction ID\", \"type\": \"char\", \"search\": true, \"store\": true}, \"fields_changed\": {\"string\": \"Fields Changed\", \"type\": \"text\", \"readonly\": true, \"function\": \"get_fields_changed\"}, \"entry_point\": {\"string\": \"Entry Point\", \"type\": \"char\", \"search\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"info\", \"Info\"], [\"warning\", \"Warning\"], [\"error\", \"Error\"]], \"search\": true, \"store\": true}, \"client_name\": {\"string\": \"Client Name\", \"type\": \"char\", \"search\": true, \"store\": true}}}, \"view\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"model\": {\"string\": \"Model\", \"type\": \"char\", \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"list\", \"List\"], [\"form\", \"Form\"], [\"search\", \"Search\"], [\"m_list\", \"Mobile List\"], [\"m_form\", \"Mobile Form\"], [\"m_menu\", \"Mobile Menu\"]], \"store\": true}, \"layout\": {\"string\": \"Layout\", \"type\": \"text\", \"required\": true, \"store\": true}}}, \"change.passwd\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"key\": {\"string\": \"Key\", \"type\": \"char\", \"required\": true, \"store\": true}, \"new_password\": {\"string\": \"Enter new password:\", \"type\": \"char\", \"required\": true, \"store\": true}, \"new_password_repeat\": {\"string\": \"Confirm new password:\", \"type\": \"char\", \"required\": true, \"store\": true}}}, \"forgot.passwd\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"email\": {\"string\": \"Enter your email:\", \"type\": \"char\", \"required\": true, \"store\": true}, \"key\": {\"string\": \"Key\", \"type\": \"char\", \"store\": true}}}, \"user.group\": {\"string\": \"Group\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Group Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"Owner\", \"type\": \"many2one\", \"relation\": \"base.user\", \"required\": true, \"store\": true}, \"users\": {\"string\": \"Users\", \"type\": \"many2many\", \"relation\": \"base.user\"}, \"num_users\": {\"string\": \"# Users\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_users\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"report.template\": {\"string\": \"Report Template\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Template Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"type\": {\"string\": \"Template Type\", \"type\": \"selection\", \"selection\": [[\"cust_invoice\", \"Customer Invoice\"], [\"cust_credit_note\", \"Customer Credit Note\"], [\"supp_invoice\", \"Supplier Invoice\"], [\"payment\", \"Payment\"], [\"account_move\", \"Journal Entry\"], [\"sale_quot\", \"Quotation\"], [\"sale_order\", \"Sales Order\"], [\"sale_return\", \"Sales Return\"], [\"purch_order\", \"Purchase Order\"], [\"purchase_request\", \"Purchase Request\"], [\"prod_order\", \"Production Order\"], [\"goods_receipt\", \"Goods Receipt\"], [\"goods_transfer\", \"Goods Transfer\"], [\"goods_issue\", \"Goods Issue\"], [\"stock_move\", \"Stock Movement\"], [\"pay_slip\", \"Pay Slip\"], [\"tax_detail\", \"Tax Detail\"], [\"expense_claim\", \"Expense Claim\"], [\"landed_cost\", \"Landed Cost\"], [\"delivery_route\", \"Delivery Route\"], [\"other\", \"Other\"]], \"required\": true, \"search\": true, \"store\": true}, \"format\": {\"string\": \"Template Format\", \"type\": \"selection\", \"selection\": [[\"jsx\", \"JSX\"], [\"hbs\", \"HBS\"], [\"odt\", \"ODT\"], [\"docx\", \"DOCX\"], [\"xlsx\", \"XLSX\"], [\"jrxml\", \"JRXML\"], [\"nfjson\", \"NFJSON\"]], \"required\": true, \"search\": true, \"store\": true}, \"file\": {\"string\": \"Template File\", \"type\": \"file\", \"store\": true}, \"body\": {\"string\": \"Template Body\", \"type\": \"text\", \"store\": true}, \"orientation\": {\"string\": \"Orientation\", \"type\": \"selection\", \"selection\": [[\"portrait\", \"Portrait\"], [\"landscape\", \"Landscape\"]], \"store\": true}, \"printer_name\": {\"string\": \"Printer Name\", \"type\": \"char\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"field_names\": {\"string\": \"Template Fields\", \"type\": \"text\", \"store\": true}, \"convert_pdf\": {\"string\": \"Convert To PDF\", \"type\": \"boolean\", \"store\": true}, \"multi_render\": {\"string\": \"Multi Render\", \"type\": \"boolean\", \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"out_filename\": {\"string\": \"Output Filename\", \"type\": \"char\", \"store\": true}, \"header\": {\"string\": \"Header\", \"type\": \"text\", \"store\": true}, \"footer\": {\"string\": \"Footer\", \"type\": \"text\", \"store\": true}, \"logs\": {\"string\": \"Logs\", \"type\": \"one2many\", \"relation\": \"log\", \"relfield\": \"related_id\"}, \"model_id\": {\"string\": \"Model\", \"type\": \"many2one\", \"relation\": \"model\", \"store\": true}, \"user_id\": {\"string\": \"Created By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}}}, \"address\": {\"name_field\": \"address_text\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"type\": {\"string\": \"Address Type\", \"type\": \"selection\", \"selection\": [[\"billing\", \"Billing\"], [\"shipping\", \"Shipping\"], [\"mailing\", \"Mailing\"], [\"reporting\", \"Reporting\"], [\"other\", \"Other\"]], \"required\": true, \"store\": true}, \"first_name\": {\"string\": \"First Name\", \"type\": \"char\", \"store\": true, \"translate\": true}, \"last_name\": {\"string\": \"Last Name\", \"type\": \"char\", \"store\": true, \"translate\": true}, \"company\": {\"string\": \"Company\", \"type\": \"char\", \"store\": true, \"translate\": true}, \"unit_no\": {\"string\": \"Unit No\", \"type\": \"char\", \"store\": true}, \"floor\": {\"string\": \"Floor\", \"type\": \"char\", \"store\": true}, \"bldg_name\": {\"string\": \"Bldg Name\", \"type\": \"char\", \"store\": true}, \"bldg_no\": {\"string\": \"Bldg No\", \"type\": \"char\", \"store\": true}, \"village\": {\"string\": \"Village\", \"type\": \"char\", \"store\": true}, \"soi\": {\"string\": \"Soi\", \"type\": \"char\", \"store\": true}, \"moo\": {\"string\": \"Moo\", \"type\": \"char\", \"store\": true}, \"street\": {\"string\": \"Street\", \"type\": \"char\", \"store\": true}, \"sub_district\": {\"string\": \"Sub-district\", \"type\": \"char\", \"store\": true}, \"district\": {\"string\": \"District\", \"type\": \"char\", \"store\": true}, \"address\": {\"string\": \"Address\", \"type\": \"char\", \"required\": true, \"store\": true, \"translate\": true}, \"address2\": {\"string\": \"Address2\", \"type\": \"char\", \"store\": true, \"translate\": true}, \"city\": {\"string\": \"City\", \"type\": \"char\", \"store\": true, \"translate\": true}, \"postal_code\": {\"string\": \"Postal Code\", \"type\": \"char\", \"store\": true}, \"province\": {\"string\": \"Province\", \"type\": \"char\", \"store\": true}, \"province_id\": {\"string\": \"Province\", \"type\": \"many2one\", \"relation\": \"province\", \"store\": true}, \"district_id\": {\"string\": \"District\", \"type\": \"many2one\", \"relation\": \"district\", \"store\": true}, \"subdistrict_id\": {\"string\": \"Subdistrict\", \"type\": \"many2one\", \"relation\": \"subdistrict\", \"store\": true}, \"country_id\": {\"string\": \"Country\", \"type\": \"many2one\", \"relation\": \"country\", \"store\": true}, \"phone\": {\"string\": \"Phone\", \"type\": \"char\", \"store\": true}, \"fax\": {\"string\": \"Fax\", \"type\": \"char\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"settings_id\": {\"string\": \"Settings\", \"type\": \"many2one\", \"relation\": \"settings\", \"store\": true}, \"lead_id\": {\"string\": \"Lead\", \"type\": \"many2one\", \"relation\": \"sale.lead\", \"store\": true}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [], \"store\": true}, \"address_text\": {\"string\": \"Address Text\", \"type\": \"text\", \"readonly\": true, \"function\": \"get_address_text\"}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"decimal\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"text\", \"store\": true}, \"coords\": {\"string\": \"Coordinates\", \"type\": \"char\", \"store\": true}, \"mobile\": {\"string\": \"Mobile\", \"type\": \"char\", \"store\": true}, \"name\": {\"string\": \"Address Name\", \"type\": \"char\", \"store\": true}, \"contact_name\": {\"string\": \"Contact Name\", \"type\": \"char\", \"store\": true}, \"is_active_company_address\": {\"string\": \"Is Active Company Address\", \"type\": \"boolean\"}}}, \"bank.account\": {\"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"bank_id\": {\"string\": \"Bank\", \"type\": \"many2one\", \"relation\": \"bank\", \"required\": true, \"store\": true}, \"branch\": {\"string\": \"Branch\", \"type\": \"char\", \"store\": true}, \"number\": {\"string\": \"Account Number\", \"type\": \"char\", \"required\": true, \"store\": true}, \"name\": {\"string\": \"Account Name\", \"type\": \"char\", \"store\": true}, \"signatory\": {\"string\": \"Signatory\", \"type\": \"char\", \"store\": true}, \"online\": {\"string\": \"Online\", \"type\": \"boolean\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [], \"store\": true}}}, \"company.type\": {\"string\": \"Company Type\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}}}, \"bank\": {\"string\": \"Bank\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"swift_code\": {\"string\": \"Swift Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}}}, \"share.record\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [], \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"required\": true, \"store\": true}, \"access\": {\"string\": \"Access\", \"type\": \"selection\", \"selection\": [[\"r\", \"Read Only\"], [\"rw\", \"Read/Write\"]], \"required\": true, \"store\": true}}}, \"ws.listener\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"last_check_time\": {\"string\": \"Last Check Time\", \"type\": \"datetime\", \"required\": true, \"store\": true}}}, \"ws.event\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"listener_id\": {\"string\": \"Listener\", \"type\": \"many2one\", \"relation\": \"ws.listener\", \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"ctime\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"required\": true, \"store\": true}}}, \"inline.help\": {\"string\": \"Help Item\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"action\": {\"string\": \"Action Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"title\": {\"string\": \"Help Title\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"content\": {\"string\": \"Help Content\", \"type\": \"text\", \"required\": true, \"search\": true, \"store\": true}, \"hide\": {\"string\": \"Hide\", \"type\": \"boolean\", \"store\": true}, \"create_date\": {\"string\": \"Date Created\", \"type\": \"datetime\", \"store\": true}, \"modif_date\": {\"string\": \"Date Modified\", \"type\": \"datetime\", \"store\": true}}}, \"wkf.rule\": {\"string\": \"Workflow Rule\", \"name_field\": \"description\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"trigger_model_id\": {\"string\": \"Trigger Model\", \"type\": \"many2one\", \"relation\": \"model\", \"required\": true, \"search\": true, \"store\": true}, \"trigger_event\": {\"string\": \"Trigger Event\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"condition_method\": {\"string\": \"Condition Method\", \"type\": \"char\", \"store\": true}, \"condition_args\": {\"string\": \"Condition Arguments\", \"type\": \"text\", \"store\": true}, \"action_model_id\": {\"string\": \"Action Model\", \"type\": \"many2one\", \"relation\": \"model\", \"search\": true, \"store\": true}, \"action_method\": {\"string\": \"Action Method\", \"type\": \"char\", \"store\": true}, \"action_args\": {\"string\": \"Action Arguments\", \"type\": \"text\", \"store\": true}, \"description\": {\"string\": \"Rule Description\", \"type\": \"text\", \"search\": true, \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"active\", \"Active\"], [\"inactive\", \"Inactive\"]], \"required\": true, \"search\": true, \"store\": true}, \"error\": {\"string\": \"Error Message\", \"type\": \"text\", \"store\": true}, \"tasks\": {\"string\": \"Task Queue\", \"type\": \"one2many\", \"relation\": \"bg.task\", \"relfield\": \"wkf_rule_id\"}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"action_stop\": {\"string\": \"Stop Rule Execution\", \"type\": \"boolean\", \"store\": true}}}, \"create_db\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"super_password\": {\"string\": \"Super Admin Password\", \"type\": \"char\", \"required\": true, \"store\": true}, \"db_name\": {\"string\": \"Database Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"admin_password\": {\"string\": \"Admin Password\", \"type\": \"char\", \"required\": true, \"store\": true}, \"use_demo\": {\"string\": \"Use demo data\", \"type\": \"boolean\", \"store\": true}}}, \"copy_db\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"super_password\": {\"string\": \"Super Admin Password\", \"type\": \"char\", \"required\": true, \"store\": true}, \"dbname\": {\"string\": \"Database Name\", \"type\": \"selection\", \"selection\": [], \"required\": true, \"store\": true}, \"new_dbname\": {\"string\": \"New Database Name\", \"type\": \"char\", \"required\": true, \"store\": true}}}, \"upgrade_db\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"super_password\": {\"string\": \"Super Admin Password\", \"type\": \"char\", \"required\": true, \"store\": true}, \"dbname\": {\"string\": \"Database Name\", \"type\": \"selection\", \"selection\": [], \"required\": true, \"store\": true}}}, \"delete_db\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"super_password\": {\"string\": \"Super Admin Password\", \"type\": \"char\", \"required\": true, \"store\": true}, \"dbname\": {\"string\": \"Database Name\", \"type\": \"selection\", \"selection\": [], \"required\": true, \"store\": true}}}, \"field.cache\": {\"string\": \"Field Cache\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"model\": {\"string\": \"Model\", \"type\": \"char\", \"store\": true}, \"field\": {\"string\": \"Field\", \"type\": \"char\", \"store\": true}, \"record_id\": {\"string\": \"Record ID\", \"type\": \"integer\", \"store\": true}, \"value\": {\"string\": \"Value\", \"type\": \"text\", \"store\": true}, \"ctime\": {\"string\": \"Time Created\", \"type\": \"datetime\", \"store\": true}}}, \"user.pref\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"password\": {\"string\": \"Password\", \"type\": \"char\", \"required\": true, \"store\": true}, \"email\": {\"string\": \"Email\", \"type\": \"char\", \"store\": true}, \"mobile\": {\"string\": \"Mobile\", \"type\": \"char\", \"store\": true}, \"image\": {\"string\": \"Picture\", \"type\": \"file\", \"store\": true}}}, \"company\": {\"string\": \"Company\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Company Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true, \"translate\": true}, \"code\": {\"string\": \"Company Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"parent_id\": {\"string\": \"Parent\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"logo\": {\"string\": \"Logo\", \"type\": \"file\", \"store\": true}}}, \"select.company\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"company\": {\"string\": \"Company\", \"type\": \"selection\", \"selection\": [], \"required\": true, \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}}}, \"field.value\": {\"string\": \"Field Value\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"model\": {\"string\": \"Model\", \"type\": \"char\", \"search\": true, \"store\": true}, \"field\": {\"string\": \"Field\", \"type\": \"char\", \"store\": true}, \"record_id\": {\"string\": \"Record ID\", \"type\": \"integer\", \"search\": true, \"store\": true}, \"value\": {\"string\": \"Value\", \"type\": \"text\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"language\": {\"string\": \"Language\", \"type\": \"char\", \"store\": true}, \"model_id\": {\"string\": \"Model\", \"type\": \"many2one\", \"relation\": \"model\", \"search\": true, \"store\": true}, \"inst_id\": {\"string\": \"Model Instance\", \"type\": \"many2one\", \"relation\": \"model.inst\", \"search\": true, \"store\": true}, \"field_id\": {\"string\": \"Field\", \"type\": \"many2one\", \"relation\": \"field\", \"store\": true}, \"history_id\": {\"string\": \"History\", \"type\": \"many2one\", \"relation\": \"record.history\", \"store\": true}}}, \"field.default\": {\"string\": \"Field Default\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"required\": true, \"search\": true, \"store\": true}, \"model\": {\"string\": \"Model\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"field\": {\"string\": \"Field\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"value\": {\"string\": \"Value\", \"type\": \"text\", \"store\": true}}}, \"view.layout\": {\"string\": \"Layout\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"inherit\": {\"string\": \"Inherit\", \"type\": \"char\", \"search\": true, \"store\": true}, \"model_id\": {\"string\": \"Model\", \"type\": \"many2one\", \"relation\": \"model\", \"search\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"list\", \"List\"], [\"form\", \"Form\"], [\"search\", \"Search\"], [\"menu\", \"Menu\"], [\"board\", \"Dashboard\"], [\"page\", \"Page\"], [\"grid\", \"Grid\"], [\"calendar\", \"Calendar\"], [\"gantt\", \"Gantt\"], [\"inherit\", \"Inherit\"]], \"search\": true, \"store\": true}, \"layout\": {\"string\": \"Layout\", \"type\": \"text\", \"search\": true, \"store\": true}, \"priority\": {\"string\": \"Priority\", \"type\": \"integer\", \"store\": true}, \"module_id\": {\"string\": \"Module\", \"type\": \"many2one\", \"relation\": \"module\", \"store\": true}}}, \"action\": {\"string\": \"Action\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"string\": {\"string\": \"Title\", \"type\": \"char\", \"search\": true, \"store\": true}, \"view\": {\"string\": \"View\", \"type\": \"selection\", \"selection\": [[\"multi_view\", \"Multi\"], [\"board\", \"Dashboard\"], [\"list_view\", \"List\"], [\"form_view\", \"Form\"], [\"page\", \"Page\"], [\"print_wizard2\", \"Print\"], [\"calendar\", \"Calendar\"], [\"gantt\", \"Gantt\"]], \"search\": true, \"store\": true}, \"view_layout_id\": {\"string\": \"Layout\", \"type\": \"many2one\", \"relation\": \"view.layout\", \"store\": true}, \"model_id\": {\"string\": \"Model\", \"type\": \"many2one\", \"relation\": \"model\", \"store\": true}, \"menu_id\": {\"string\": \"Menu (old)\", \"type\": \"many2one\", \"relation\": \"view.layout\", \"condition\": [[\"type\", \"=\", \"menu\"]], \"store\": true}, \"menu\": {\"string\": \"Menu\", \"type\": \"char\", \"store\": true}, \"options\": {\"string\": \"Options\", \"type\": \"text\", \"store\": true}, \"module_id\": {\"string\": \"Module\", \"type\": \"many2one\", \"relation\": \"module\", \"store\": true}}}, \"update.ui\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"update.db\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"print.wizard\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"model\": {\"string\": \"Model\", \"type\": \"char\", \"required\": true, \"store\": true}, \"ids\": {\"string\": \"IDs\", \"type\": \"text\", \"required\": true, \"store\": true}, \"method\": {\"string\": \"Method\", \"type\": \"char\", \"store\": true}, \"template_type\": {\"string\": \"Template Type\", \"type\": \"char\", \"store\": true}, \"template_name\": {\"string\": \"Template Name\", \"type\": \"char\", \"store\": true}, \"template_id\": {\"string\": \"Report Template\", \"type\": \"many2one\", \"relation\": \"report.template\", \"required\": true, \"store\": true}}}, \"send.wizard\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"model\": {\"string\": \"Model\", \"type\": \"char\", \"required\": true, \"store\": true}, \"ids\": {\"string\": \"IDs\", \"type\": \"text\", \"required\": true, \"store\": true}, \"template_type\": {\"string\": \"Template Type\", \"type\": \"char\", \"store\": true}, \"template_id\": {\"string\": \"Report Template\", \"type\": \"many2one\", \"relation\": \"report.template\", \"required\": true, \"store\": true}, \"email_template_id\": {\"string\": \"Email Template\", \"type\": \"many2one\", \"relation\": \"email.template\", \"required\": true, \"store\": true}}}, \"approve.wizard\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"approve_model\": {\"string\": \"Approve Model\", \"type\": \"char\", \"store\": true}, \"approve_id\": {\"string\": \"Approve ID\", \"type\": \"integer\", \"store\": true}, \"approve_method\": {\"string\": \"Approve Method\", \"type\": \"char\", \"store\": true}, \"approver_id\": {\"string\": \"Approver\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"pin_code\": {\"string\": \"PIN Code\", \"type\": \"char\", \"store\": true}}}, \"template\": {\"string\": \"Template\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"template\": {\"string\": \"Template\", \"type\": \"text\", \"store\": true}, \"theme_id\": {\"string\": \"Theme\", \"type\": \"many2one\", \"relation\": \"theme\", \"store\": true}, \"module_id\": {\"string\": \"Module\", \"type\": \"many2one\", \"relation\": \"module\", \"store\": true}}}, \"theme\": {\"string\": \"Theme\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Theme Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"components\": {\"string\": \"Components\", \"type\": \"one2many\", \"relation\": \"theme.component\", \"relfield\": \"theme_id\"}, \"files\": {\"string\": \"Static Files\", \"type\": \"one2many\", \"relation\": \"theme.file\", \"relfield\": \"theme_id\"}, \"bundles\": {\"string\": \"JS Bundles\", \"type\": \"one2many\", \"relation\": \"theme.bundle\", \"relfield\": \"theme_id\"}, \"static_gens\": {\"string\": \"Static HTML Generators\", \"type\": \"one2many\", \"relation\": \"theme.static.gen\", \"relfield\": \"theme_id\"}, \"websites\": {\"string\": \"Websites\", \"type\": \"one2many\", \"relation\": \"website\", \"relfield\": \"theme_id\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"active\", \"Active\"], [\"inactive\", \"Inactive\"]], \"required\": true, \"store\": true}}}, \"module\": {\"string\": \"Module\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"version\": {\"string\": \"Version\", \"type\": \"char\", \"store\": true}, \"author\": {\"string\": \"Author\", \"type\": \"char\", \"store\": true}, \"models\": {\"string\": \"Models\", \"type\": \"one2many\", \"relation\": \"model\", \"relfield\": \"module_id\"}, \"fields\": {\"string\": \"Fields\", \"type\": \"one2many\", \"relation\": \"field\", \"relfield\": \"module_id\"}, \"view_layouts\": {\"string\": \"View Layouts\", \"type\": \"one2many\", \"relation\": \"view.layout\", \"relfield\": \"module_id\"}, \"actions\": {\"string\": \"Actions\", \"type\": \"one2many\", \"relation\": \"action\", \"relfield\": \"module_id\"}, \"templates\": {\"string\": \"Templates\", \"type\": \"one2many\", \"relation\": \"template\", \"relfield\": \"module_id\"}, \"scripts\": {\"string\": \"Scripts\", \"type\": \"one2many\", \"relation\": \"script\", \"relfield\": \"module_id\"}}}, \"import.module\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"file\": {\"string\": \"Zip File\", \"type\": \"file\", \"store\": true}}}, \"script\": {\"string\": \"Script\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"language\": {\"string\": \"Language\", \"type\": \"selection\", \"selection\": [[\"js\", \"Javascript\"], [\"py\", \"Python\"]], \"required\": true, \"store\": true}, \"module_id\": {\"string\": \"Module\", \"type\": \"many2one\", \"relation\": \"module\", \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"text\", \"store\": true}}}, \"import.inline.help\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"folder_id\": {\"string\": \"Folder ID\", \"type\": \"char\", \"store\": true}, \"auth_code\": {\"string\": \"Authorization Code\", \"type\": \"char\", \"store\": true}}}, \"reason.code\": {\"string\": \"Reason Code\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"type\": {\"string\": \"Reason Type\", \"type\": \"selection\", \"selection\": [[\"fault\", \"Fault Code\"], [\"service_multi_visit\", \"Service Multi-Visit\"], [\"service_late_response\", \"Service Late Response\"], [\"lost_sale_opport\", \"Lost Sales Opportunity\"], [\"cancel_sale_opport\", \"Canceled Sales Opportunity\"], [\"sale_return\", \"Sales Return\"], [\"lead_refer\", \"Referred Lead\"]], \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"menu.access\": {\"string\": \"Menu Access\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"profile_id\": {\"string\": \"Profile\", \"type\": \"many2one\", \"relation\": \"profile\", \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"action\": {\"string\": \"Action\", \"type\": \"char\", \"search\": true, \"store\": true}, \"menu\": {\"string\": \"Menu\", \"type\": \"char\", \"search\": true, \"store\": true}, \"parent_menu\": {\"string\": \"Parent Menu\", \"type\": \"char\", \"search\": true, \"store\": true}, \"button\": {\"string\": \"Button\", \"type\": \"char\", \"search\": true, \"store\": true}, \"label\": {\"string\": \"Label\", \"type\": \"char\", \"search\": true, \"store\": true}, \"access\": {\"string\": \"Access\", \"type\": \"selection\", \"selection\": [[\"visible\", \"Visible\"], [\"hidden\", \"Hidden\"]], \"store\": true}}}, \"menu.access.add\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"menu_access_id\": {\"string\": \"Menu Access\", \"type\": \"many2one\", \"relation\": \"menu.access\", \"required\": true, \"store\": true}, \"profile_id\": {\"string\": \"Profile\", \"type\": \"many2one\", \"relation\": \"profile\", \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"action\": {\"string\": \"Action\", \"type\": \"char\", \"search\": true, \"store\": true}, \"menu\": {\"string\": \"Menu\", \"type\": \"char\", \"search\": true, \"store\": true}, \"parent_menu\": {\"string\": \"Parent Menu\", \"type\": \"char\", \"search\": true, \"store\": true}, \"button\": {\"string\": \"Button\", \"type\": \"char\", \"search\": true, \"store\": true}, \"label\": {\"string\": \"Label\", \"type\": \"char\", \"search\": true, \"store\": true}, \"access\": {\"string\": \"Access\", \"type\": \"selection\", \"selection\": [[\"hidden\", \"Hidden\"], [\"visible\", \"Visible\"]], \"store\": true}}}, \"ui.params\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"report.custom\": {\"name_field\": \"Custom Report\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Report Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"code\": {\"string\": \"Report Code\", \"type\": \"char\", \"store\": true}, \"config\": {\"string\": \"Configuration Data\", \"type\": \"text\", \"store\": true}}}, \"bg.task\": {\"string\": \"Background Task\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Scheduled Date\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"model\": {\"string\": \"Model\", \"type\": \"char\", \"search\": true, \"store\": true}, \"method\": {\"string\": \"Method\", \"type\": \"char\", \"search\": true, \"store\": true}, \"args\": {\"string\": \"Arguments\", \"type\": \"text\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"waiting\", \"Waiting\"], [\"done\", \"Done\"], [\"canceled\", \"Canceled\"], [\"error\", \"Error\"]], \"required\": true, \"search\": true, \"store\": true}, \"error_message\": {\"string\": \"Error Message\", \"type\": \"text\", \"store\": true}, \"result\": {\"string\": \"Result\", \"type\": \"text\", \"store\": true}, \"timeout\": {\"string\": \"Timeout (s)\", \"type\": \"integer\", \"store\": true}, \"cron_job_id\": {\"string\": \"Cron Job\", \"type\": \"many2one\", \"relation\": \"cron.job\", \"search\": true, \"store\": true}, \"wkf_rule_id\": {\"string\": \"Workflow Rules\", \"type\": \"many2one\", \"relation\": \"wkf.rule\", \"store\": true}, \"start_time\": {\"string\": \"Start Time\", \"type\": \"datetime\", \"store\": true}, \"end_time\": {\"string\": \"End Time\", \"type\": \"datetime\", \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}}}, \"config\": {\"string\": \"Config\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"char\", \"search\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"label\": {\"string\": \"Label\", \"type\": \"char\", \"search\": true, \"store\": true}, \"value\": {\"string\": \"Value\", \"type\": \"text\", \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}}}, \"bug.report\": {\"string\": \"Bug Report\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"required\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"email\": {\"string\": \"Email\", \"type\": \"char\", \"store\": true}, \"url\": {\"string\": \"URL\", \"type\": \"char\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"open\", \"Open\"], [\"closed\", \"Closed\"]], \"required\": true, \"search\": true, \"store\": true}}}, \"layout\": {\"string\": \"Layout\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"layout\": {\"string\": \"Layout\", \"type\": \"text\", \"store\": true}}}, \"help.video\": {\"string\": \"Video Tutorial\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"code\": {\"string\": \"Video Code\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"required\": true, \"store\": true}, \"popup_title\": {\"string\": \"Popup Title\", \"type\": \"char\", \"required\": true, \"store\": true}, \"url\": {\"string\": \"Youtube URL\", \"type\": \"char\", \"search\": true, \"store\": true}}}, \"help.tooltip\": {\"string\": \"Tooltip\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"code\": {\"string\": \"Tooltip Code\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"char\", \"search\": true, \"store\": true}, \"placement\": {\"string\": \"Placement\", \"type\": \"selection\", \"selection\": [[\"top\", \"Top\"], [\"right\", \"Right\"], [\"bottom\", \"Bottom\"], [\"left\", \"Left\"]], \"search\": true, \"store\": true}}}, \"help.overlay\": {\"string\": \"Overlay\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"code\": {\"string\": \"Overlay Code\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}}}, \"setup\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"company_type\": {\"string\": \"Company Type\", \"type\": \"selection\", \"selection\": [[\"company_vat\", \"Company (VAT Registered)\"], [\"company_novat\", \"Company (No VAT)\"], [\"freelance\", \"Freelance\"]], \"store\": true}, \"company_name\": {\"string\": \"Company Name\", \"type\": \"char\", \"store\": true}, \"phone\": {\"string\": \"Phone\", \"type\": \"char\", \"store\": true}, \"address\": {\"string\": \"Address\", \"type\": \"text\", \"store\": true}, \"tax_id\": {\"string\": \"Tax ID\", \"type\": \"char\", \"store\": true}, \"branch_no\": {\"string\": \"Branch No.\", \"type\": \"char\", \"store\": true}}}, \"record.access\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"model\": {\"string\": \"Model\", \"type\": \"char\", \"required\": true, \"store\": true}, \"record_id\": {\"string\": \"Record ID\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"email\": {\"string\": \"Email\", \"type\": \"char\", \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"group_id\": {\"string\": \"Group\", \"type\": \"many2one\", \"relation\": \"user.group\", \"store\": true}, \"access\": {\"string\": \"Access\", \"type\": \"selection\", \"selection\": [[\"r\", \"Read Only\"], [\"rw\", \"Read/Write\"]], \"store\": true}, \"role_id\": {\"string\": \"Role\", \"type\": \"many2one\", \"relation\": \"role\", \"store\": true}}}, \"reset.passwd\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"new_password\": {\"string\": \"New Password\", \"type\": \"char\", \"required\": true, \"store\": true}, \"new_password_repeat\": {\"string\": \"Confirm Password\", \"type\": \"char\", \"required\": true, \"store\": true}, \"notif\": {\"string\": \"Notify User\", \"type\": \"boolean\", \"store\": true}}}, \"image\": {\"string\": \"Image\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"image\": {\"string\": \"Image\", \"type\": \"file\", \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [], \"store\": true}}}, \"menu\": {\"string\": \"Menu\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"string\": {\"string\": \"Menu Label\", \"type\": \"char\", \"required\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"parent_id\": {\"string\": \"Menu\", \"type\": \"many2one\", \"relation\": \"menu\", \"store\": true}, \"action\": {\"string\": \"Action\", \"type\": \"char\", \"store\": true}}}, \"approval\": {\"string\": \"Approval\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Request Date\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"approve_date\": {\"string\": \"Approve Date\", \"type\": \"datetime\", \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"Approved By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"required\": true, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"purchase.order\", \"Purchase Order\"]], \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"pending\", \"Awaiting Approval\"], [\"approved\", \"Approved\"], [\"rejected\", \"Rejected\"], [\"cancel\", \"Cancelled\"]], \"store\": true}, \"wkf_step_id\": {\"string\": \"Workflow Step\", \"type\": \"many2one\", \"relation\": \"approve.wkf.step\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"required\": true, \"store\": true}}}, \"approve.wkf\": {\"string\": \"Approval Workflow\", \"name_field\": \"name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Workflow Name\", \"type\": \"char\", \"store\": true}, \"type\": {\"string\": \"Approval Type\", \"type\": \"selection\", \"selection\": [[\"expense\", \"Expense Approval\"], [\"leave\", \"Leave Approval\"]], \"required\": true, \"search\": true, \"store\": true}, \"steps\": {\"string\": \"Workflow Steps\", \"type\": \"one2many\", \"relation\": \"approve.wkf.step\", \"relfield\": \"wkf_id\"}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"group_id\": {\"string\": \"Group\", \"type\": \"many2one\", \"relation\": \"user.group\", \"search\": true, \"store\": true}, \"min_amount\": {\"string\": \"Minimum Amount\", \"type\": \"decimal\", \"store\": true}, \"max_amount\": {\"string\": \"Maximum Amount\", \"type\": \"decimal\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"required\": true, \"search\": true, \"store\": true}}}, \"approve.wkf.step\": {\"name_field\": \"sequence\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"wkf_id\": {\"string\": \"Workflow\", \"type\": \"many2one\", \"relation\": \"approve.wkf\", \"required\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"user_type\": {\"string\": \"User Type\", \"type\": \"selection\", \"selection\": [[\"select\", \"Select User\"], [\"pic\", \"PIC\"], [\"mic\", \"MIC\"]], \"required\": true, \"store\": true}, \"approve_user_id\": {\"string\": \"Approve By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"required\": true, \"store\": true}}}, \"search\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"board.user\": {\"string\": \"Dashboard\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Dashboard Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"layout\": {\"string\": \"Layout\", \"type\": \"text\", \"store\": true}}}, \"model.inst\": {\"string\": \"Model Instance\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"model_id\": {\"string\": \"Model\", \"type\": \"many2one\", \"relation\": \"model\", \"search\": true, \"store\": true}, \"model\": {\"string\": \"Model Code\", \"type\": \"char\", \"store\": true}, \"record_id\": {\"string\": \"Record ID\", \"type\": \"integer\", \"search\": true, \"store\": true}, \"field_values\": {\"string\": \"Field Values\", \"type\": \"one2many\", \"relation\": \"field.value\", \"relfield\": \"inst_id\"}, \"field_values_str\": {\"string\": \"Field Values\", \"type\": \"text\", \"readonly\": true, \"function\": \"get_field_values_str\"}}}, \"report\": {\"string\": \"Report\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Report Code\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"title\": {\"string\": \"Report Title\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"query_type\": {\"string\": \"Query Type\", \"type\": \"selection\", \"selection\": [[\"model\", \"Model\"], [\"sql\", \"SQL\"]], \"store\": true}, \"model_id\": {\"string\": \"Model\", \"type\": \"many2one\", \"relation\": \"model\", \"store\": true}, \"query\": {\"string\": \"Query\", \"type\": \"text\", \"store\": true}, \"template_type\": {\"string\": \"Template Type\", \"type\": \"selection\", \"selection\": [[\"html\", \"HTML\"], [\"docx\", \"DOCX\"], [\"chart\", \"Chart\"]], \"store\": true}, \"template\": {\"string\": \"Template\", \"type\": \"text\", \"store\": true}, \"template_file\": {\"string\": \"Template File\", \"type\": \"file\", \"store\": true}, \"params\": {\"string\": \"Report Parameters\", \"type\": \"one2many\", \"relation\": \"report.param\", \"relfield\": \"report_id\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"wait_approval\", \"Pending Approval\"], [\"approved\", \"Approved\"]], \"required\": true, \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"required\": true, \"store\": true}, \"group_fields\": {\"string\": \"Group Fields\", \"type\": \"char\", \"store\": true}, \"calc_fields\": {\"string\": \"Calculated Fields\", \"type\": \"one2many\", \"relation\": \"report.field\", \"relfield\": \"report_id\"}, \"method\": {\"string\": \"Method\", \"type\": \"char\", \"store\": true}, \"args\": {\"string\": \"Arguments\", \"type\": \"text\", \"store\": true}, \"chart_type\": {\"string\": \"Chart Type\", \"type\": \"selection\", \"selection\": [[\"bar\", \"Bar Chart\"], [\"pie\", \"Pie Chart\"], [\"line\", \"Line chart\"]], \"store\": true}, \"xaxis_field\": {\"string\": \"X-axis field\", \"type\": \"char\", \"store\": true}, \"yaxis_field\": {\"string\": \"Y-axis field\", \"type\": \"char\", \"store\": true}, \"yaxis_label\": {\"string\": \"Y-axis label\", \"type\": \"char\", \"store\": true}}}, \"report.param\": {\"string\": \"Report Parameter\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"report_id\": {\"string\": \"Report\", \"type\": \"many2one\", \"relation\": \"report\", \"required\": true, \"store\": true}, \"name\": {\"string\": \"Code\", \"type\": \"char\", \"required\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"char\", \"Char\"], [\"decimal\", \"Decimal\"], [\"date\", \"Date\"], [\"many2one\", \"Many2One\"]], \"required\": true, \"store\": true}, \"label\": {\"string\": \"Label\", \"type\": \"char\", \"required\": true, \"store\": true}, \"relation_id\": {\"string\": \"Relation\", \"type\": \"many2one\", \"relation\": \"model\", \"store\": true}, \"required\": {\"string\": \"Required\", \"type\": \"boolean\", \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}}}, \"report.field\": {\"string\": \"Report Calculated Fields\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"report_id\": {\"string\": \"Report\", \"type\": \"many2one\", \"relation\": \"report\", \"required\": true, \"store\": true}, \"name\": {\"string\": \"Field Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"expr\": {\"string\": \"Expression\", \"type\": \"char\", \"store\": true}}}, \"test\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"record.history\": {\"string\": \"Record History\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"time\": {\"string\": \"Date/Time\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"model\": {\"string\": \"Model\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"record_id\": {\"string\": \"Record ID\", \"type\": \"integer\", \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"field_values\": {\"string\": \"Field Values\", \"type\": \"one2many\", \"relation\": \"field.value\", \"relfield\": \"history_id\"}, \"num_fields\": {\"string\": \"Fields Changed\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_fields\"}}}, \"access.token\": {\"string\": \"Access Token\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"time\": {\"string\": \"Login Time\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"ip_addr\": {\"string\": \"IP Address\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"required\": true, \"search\": true, \"store\": true}, \"client_name\": {\"string\": \"Client Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"token\": {\"string\": \"Token\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"logout_time\": {\"string\": \"Logout Time\", \"type\": \"datetime\", \"search\": true, \"store\": true}, \"expire_time\": {\"string\": \"Expiry Time\", \"type\": \"datetime\", \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"active\", \"Active\"], [\"logout\", \"Logged Out\"], [\"expired\", \"Expired\"]], \"required\": true, \"search\": true, \"store\": true}}}, \"database\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"queue\": {\"string\": \"External Queue\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"amqp\", \"AMQP\"], [\"stomp\", \"STOMP\"], [\"firebase\", \"Firebase Realtime Database\"]], \"required\": true, \"store\": true}, \"url\": {\"string\": \"URL\", \"type\": \"char\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"char\", \"store\": true}, \"model\": {\"string\": \"Model\", \"type\": \"char\", \"store\": true}, \"method\": {\"string\": \"Method\", \"type\": \"char\", \"store\": true}, \"messages\": {\"string\": \"Messages\", \"type\": \"one2many\", \"relation\": \"queue.message\", \"relfield\": \"queue_id\"}, \"firebase_account_id\": {\"string\": \"Firebase Account\", \"type\": \"many2one\", \"relation\": \"firebase.account\", \"store\": true}, \"root\": {\"string\": \"Root\", \"type\": \"char\", \"store\": true}}}, \"queue.message\": {\"string\": \"Queue Message\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"queue_id\": {\"string\": \"Queue\", \"type\": \"many2one\", \"relation\": \"queue\", \"required\": true, \"search\": true, \"store\": true}, \"time_received\": {\"string\": \"Received Time\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"time_processed\": {\"string\": \"Processed Time\", \"type\": \"datetime\", \"store\": true}, \"body\": {\"string\": \"Body\", \"type\": \"text\", \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"new\", \"New\"], [\"processed\", \"Processed\"], [\"error\", \"Error\"]], \"required\": true, \"search\": true, \"store\": true}, \"result\": {\"string\": \"Result\", \"type\": \"text\", \"search\": true, \"store\": true}, \"error\": {\"string\": \"Error\", \"type\": \"text\", \"search\": true, \"store\": true}}}, \"metric\": {\"string\": \"Metric\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"char\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"search\": true, \"store\": true}, \"value\": {\"string\": \"Value\", \"type\": \"decimal\", \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"counter\", \"Counter\"], [\"gauge\", \"Gauge\"]], \"store\": true}, \"method\": {\"string\": \"Method\", \"type\": \"char\", \"store\": true}, \"args\": {\"string\": \"Arguments\", \"type\": \"text\", \"store\": true}, \"time\": {\"string\": \"Update Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"active\", \"Active\"], [\"inactive\", \"Inactive\"]], \"store\": true}}}, \"contact.categ\": {\"string\": \"Contact Category\", \"name_field\": \"name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Category Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true, \"translate\": true}, \"code\": {\"string\": \"Category Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"parent_id\": {\"string\": \"Parent\", \"type\": \"many2one\", \"relation\": \"contact.categ\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true, \"translate\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"full_name\": {\"string\": \"Full Name\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_full_name\"}, \"account_receivable_id\": {\"string\": \"Account Receivable\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"account_payable_id\": {\"string\": \"Account Payable\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"sale_tax_id\": {\"string\": \"Sales Tax\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"store\": true}, \"purchase_tax_id\": {\"string\": \"Purchase Tax\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"store\": true}, \"sequence_id\": {\"string\": \"Contact Sequence\", \"type\": \"many2one\", \"relation\": \"sequence\", \"store\": true}, \"sale_discount_percent\": {\"string\": \"Sales Discount (%)\", \"type\": \"decimal\", \"store\": true}}}, \"contact\": {\"string\": \"Contact\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_sync_id\"}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"type\": {\"string\": \"Contact Type\", \"type\": \"selection\", \"selection\": [[\"person\", \"Individual\"], [\"org\", \"Organization\"]], \"required\": true, \"search\": true, \"store\": true}, \"customer\": {\"string\": \"Is Customer\", \"type\": \"boolean\", \"search\": true, \"store\": true}, \"supplier\": {\"string\": \"Is Supplier\", \"type\": \"boolean\", \"search\": true, \"store\": true}, \"end_cust\": {\"string\": \"Is End Customer\", \"type\": \"boolean\", \"search\": true, \"store\": true}, \"agent\": {\"string\": \"Is Agent\", \"type\": \"boolean\", \"search\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true, \"translate\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"phone\": {\"string\": \"Phone\", \"type\": \"char\", \"search\": true, \"store\": true}, \"fax\": {\"string\": \"Fax\", \"type\": \"char\", \"store\": true}, \"website\": {\"string\": \"Website\", \"type\": \"char\", \"store\": true}, \"industry\": {\"string\": \"Industry\", \"type\": \"char\", \"store\": true}, \"employees\": {\"string\": \"Employees\", \"type\": \"char\", \"store\": true}, \"revenue\": {\"string\": \"Annual Revenue\", \"type\": \"char\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"tax_no\": {\"string\": \"Tax ID Number\", \"type\": \"char\", \"store\": true}, \"id_card_no\": {\"string\": \"ID Card Number\", \"type\": \"char\", \"store\": true}, \"tax_branch_no\": {\"string\": \"Tax Branch ID\", \"type\": \"char\", \"store\": true}, \"bank_account_no\": {\"string\": \"Bank Account Number\", \"type\": \"char\", \"store\": true}, \"bank_account_name\": {\"string\": \"Bank Account Name\", \"type\": \"char\", \"store\": true}, \"bank_account_details\": {\"string\": \"Bank Account Details\", \"type\": \"char\", \"store\": true}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"store\": true}, \"account_receivable_id\": {\"string\": \"Account Receivable\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"account_payable_id\": {\"string\": \"Account Payable\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"sale_tax_id\": {\"string\": \"Sales Tax\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"store\": true}, \"purchase_tax_id\": {\"string\": \"Purchase Tax\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"store\": true}, \"currency_id\": {\"string\": \"Default Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"store\": true}, \"payables_due\": {\"string\": \"Payables Due\", \"type\": \"decimal\", \"store\": true}, \"payables_overdue\": {\"string\": \"Payables Overdue\", \"type\": \"decimal\", \"store\": true}, \"receivables_due\": {\"string\": \"Receivables Due\", \"type\": \"decimal\", \"store\": true}, \"receivables_overdue\": {\"string\": \"Receivables Overdue\", \"type\": \"decimal\", \"store\": true}, \"payable_credit\": {\"string\": \"Payable Credit\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_credit\"}, \"receivable_credit\": {\"string\": \"Receivable Credit\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_credit\"}, \"payable_balance\": {\"string\": \"Payable Balance\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_payable_balance\"}, \"receivable_balance\": {\"string\": \"Receivable Balance\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_receivable_balance\"}, \"invoices\": {\"string\": \"Invoices\", \"type\": \"one2many\", \"relation\": \"account.invoice\", \"relfield\": \"contact_id\"}, \"sale_price_list_id\": {\"string\": \"Sales Price List\", \"type\": \"many2one\", \"relation\": \"price.list\", \"condition\": [[\"type\", \"=\", \"sale\"]], \"store\": true}, \"purchase_price_list_id\": {\"string\": \"Purchasing Price List\", \"type\": \"many2one\", \"relation\": \"price.list\", \"condition\": [[\"type\", \"=\", \"purchase\"]], \"store\": true}, \"categ_id\": {\"string\": \"Contact Category\", \"type\": \"many2one\", \"relation\": \"contact.categ\", \"search\": true, \"store\": true}, \"payment_terms\": {\"string\": \"Payment Terms\", \"type\": \"char\", \"store\": true}, \"pay_term_id\": {\"string\": \"Payment Terms\", \"type\": \"many2one\", \"relation\": \"payment.term\", \"store\": true}, \"sale_pay_term_id\": {\"string\": \"Sales Payment Terms\", \"type\": \"many2one\", \"relation\": \"payment.term\", \"store\": true}, \"purchase_pay_term_id\": {\"string\": \"Purchase Payment Terms\", \"type\": \"many2one\", \"relation\": \"payment.term\", \"store\": true}, \"opports\": {\"string\": \"Open Opportunities\", \"type\": \"one2many\", \"relation\": \"sale.opportunity\", \"relfield\": \"contact_id\", \"condition\": [[\"state\", \"=\", \"open\"]]}, \"addresses\": {\"string\": \"Addresses\", \"type\": \"one2many\", \"relation\": \"address\", \"relfield\": \"contact_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"bank_accounts\": {\"string\": \"Bank Accounts\", \"type\": \"one2many\", \"relation\": \"bank.account\", \"relfield\": \"contact_id\"}, \"bank_account_id\": {\"string\": \"Default Bank Account\", \"type\": \"many2one\", \"relation\": \"bank.account\", \"readonly\": true, \"function\": \"get_bank_account\"}, \"last_name\": {\"string\": \"Last Name\", \"type\": \"char\", \"store\": true}, \"first_name\": {\"string\": \"First Name\", \"type\": \"char\", \"store\": true}, \"first_name2\": {\"string\": \"Middle Name\", \"type\": \"char\", \"store\": true}, \"first_name3\": {\"string\": \"Surname\", \"type\": \"char\", \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"store\": true}, \"position\": {\"string\": \"Position\", \"type\": \"char\", \"store\": true}, \"report_to_id\": {\"string\": \"Reports To\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"mobile\": {\"string\": \"Mobile\", \"type\": \"char\", \"search\": true, \"store\": true}, \"email\": {\"string\": \"Email\", \"type\": \"char\", \"search\": true, \"store\": true}, \"home_phone\": {\"string\": \"Home Phone\", \"type\": \"char\", \"store\": true}, \"other_phone\": {\"string\": \"Other Phone\", \"type\": \"char\", \"store\": true}, \"assistant\": {\"string\": \"Assistant\", \"type\": \"char\", \"store\": true}, \"assistant_phone\": {\"string\": \"Assistant Phone\", \"type\": \"char\", \"store\": true}, \"birth_date\": {\"string\": \"Birth Date\", \"type\": \"date\", \"store\": true}, \"department\": {\"string\": \"Department\", \"type\": \"char\", \"store\": true}, \"job_templates\": {\"string\": \"Job Template\", \"type\": \"many2many\", \"relation\": \"job.template\"}, \"projects\": {\"string\": \"Projects\", \"type\": \"one2many\", \"relation\": \"project\", \"relfield\": \"contact_id\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"contact_id\"}, \"assigned_to_id\": {\"string\": \"Assigned To\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"lead_source\": {\"string\": \"Lead source\", \"type\": \"char\", \"store\": true}, \"lead_source_id\": {\"string\": \"Lead Source\", \"type\": \"many2one\", \"relation\": \"lead.source\", \"store\": true}, \"inquiry_type\": {\"string\": \"Type of inquiry\", \"type\": \"char\", \"store\": true}, \"relations\": {\"string\": \"Relations\", \"type\": \"one2many\", \"relation\": \"contact.relation\", \"relfield\": \"from_contact_id\", \"readonly\": true, \"function\": \"_get_relations\"}, \"contact_id\": {\"string\": \"Parent\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"emails\": {\"string\": \"Emails\", \"type\": \"one2many\", \"relation\": \"email.message\", \"relfield\": \"name_id\"}, \"default_address_id\": {\"string\": \"Default Address\", \"type\": \"many2one\", \"relation\": \"address\", \"readonly\": true, \"function\": \"get_default_address\"}, \"quotations\": {\"string\": \"Quotations\", \"type\": \"one2many\", \"relation\": \"sale.quot\", \"relfield\": \"contact_id\"}, \"sale_orders\": {\"string\": \"Sales Orders\", \"type\": \"one2many\", \"relation\": \"sale.order\", \"relfield\": \"contact_id\"}, \"purchase_orders\": {\"string\": \"Purchase Orders\", \"type\": \"one2many\", \"relation\": \"purchase.order\", \"relfield\": \"contact_id\"}, \"country_id\": {\"string\": \"Country\", \"type\": \"many2one\", \"relation\": \"country\", \"search\": true, \"store\": true}, \"region\": {\"string\": \"Region\", \"type\": \"char\", \"store\": true}, \"service_items\": {\"string\": \"Service Items\", \"type\": \"one2many\", \"relation\": \"service.item\", \"relfield\": \"contact_id\", \"condition\": [[\"parent_id\", \"=\", null]]}, \"contracts\": {\"string\": \"Contracts\", \"type\": \"one2many\", \"relation\": \"service.contract\", \"relfield\": \"contact_id\"}, \"branch\": {\"string\": \"Branch\", \"type\": \"char\", \"store\": true}, \"industry_id\": {\"string\": \"Industry\", \"type\": \"many2one\", \"relation\": \"industry\", \"search\": true, \"store\": true}, \"region_id\": {\"string\": \"Region\", \"type\": \"many2one\", \"relation\": \"region\", \"search\": true, \"store\": true}, \"commission_po_percent\": {\"string\": \"Commission Purchase Percentage\", \"type\": \"decimal\", \"store\": true}, \"business_area_id\": {\"string\": \"Business Area\", \"type\": \"many2one\", \"relation\": \"business.area\", \"search\": true, \"store\": true}, \"fleet_size_id\": {\"string\": \"Fleet Size\", \"type\": \"many2one\", \"relation\": \"fleet.size\", \"search\": true, \"store\": true}, \"groups\": {\"string\": \"Groups\", \"type\": \"many2many\", \"relation\": \"contact.group\", \"search\": true}, \"sale_journal_id\": {\"string\": \"Sales Journal\", \"type\": \"many2one\", \"relation\": \"account.journal\", \"store\": true}, \"purchase_journal_id\": {\"string\": \"Purchase Journal\", \"type\": \"many2one\", \"relation\": \"account.journal\", \"store\": true}, \"pay_in_journal_id\": {\"string\": \"Receipts Journal\", \"type\": \"many2one\", \"relation\": \"account.journal\", \"store\": true}, \"pay_out_journal_id\": {\"string\": \"Disbursements Journal\", \"type\": \"many2one\", \"relation\": \"account.journal\", \"store\": true}, \"pick_in_journal_id\": {\"string\": \"Goods Receipt Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"pick_out_journal_id\": {\"string\": \"Goods Issue Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"coupons\": {\"string\": \"Coupons\", \"type\": \"one2many\", \"relation\": \"sale.coupon\", \"relfield\": \"contact_id\"}, \"companies\": {\"string\": \"Companies\", \"type\": \"many2many\", \"relation\": \"company\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"request_product_groups\": {\"string\": \"Request Product Groups\", \"type\": \"many2many\", \"relation\": \"product.group\"}, \"exclude_product_groups\": {\"string\": \"Exclude Product Groups\", \"type\": \"many2many\", \"relation\": \"product.group\"}, \"picture\": {\"string\": \"Picture\", \"type\": \"file\", \"store\": true}, \"users\": {\"string\": \"Users\", \"type\": \"one2many\", \"relation\": \"base.user\", \"relfield\": \"contact_id\"}, \"ship_free\": {\"string\": \"Free Shipping\", \"type\": \"boolean\", \"store\": true}, \"contact_person_id\": {\"string\": \"Primary Contact Person\", \"type\": \"many2one\", \"relation\": \"contact\", \"condition\": [[\"type\", \"=\", \"person\"]], \"store\": true}, \"org_id\": {\"string\": \"Organization\", \"type\": \"many2one\", \"relation\": \"contact\", \"condition\": [[\"type\", \"=\", \"org\"]], \"store\": true}, \"contact_persons\": {\"string\": \"Contact Persons\", \"type\": \"one2many\", \"relation\": \"contact\", \"relfield\": \"org_id\"}, \"sale_discount\": {\"string\": \"Customer Discount (%)\", \"type\": \"decimal\", \"store\": true}, \"min_life_remain_percent\": {\"string\": \"Min Shelf Life Remaining (%)\", \"type\": \"integer\", \"store\": true}, \"min_shelf_life\": {\"string\": \"Min Shelf Life\", \"type\": \"selection\", \"selection\": [[\"50\", \"50%\"], [\"75\", \"75%\"]], \"store\": true}, \"max_lots_per_sale\": {\"string\": \"Max Lots Per Sale\", \"type\": \"integer\", \"store\": true}, \"commission_parent_id\": {\"string\": \"Commission Parent\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"commission_amount\": {\"string\": \"Commission Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_commission_amount\"}, \"seller_contact_id\": {\"string\": \"Sales Person\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"gender\": {\"string\": \"Gender\", \"type\": \"selection\", \"selection\": [[\"m\", \"Male\"], [\"f\", \"Female\"]], \"store\": true}, \"refer_id\": {\"string\": \"Referred By\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"line_account\": {\"string\": \"Line Account\", \"type\": \"char\", \"store\": true}, \"facebook_account\": {\"string\": \"Facebook Account\", \"type\": \"char\", \"store\": true}, \"track_id\": {\"string\": \"Tracking\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"active\", \"Active\"], [\"inactive\", \"Inactive\"]], \"search\": true, \"store\": true}, \"sale_pay_term_days\": {\"string\": \"Sales Payment Term\", \"type\": \"integer\", \"store\": true}, \"sale_max_credit\": {\"string\": \"Sales Max Credit\", \"type\": \"decimal\", \"store\": true}, \"sale_pay_method_id\": {\"string\": \"Sales Payment Method\", \"type\": \"many2one\", \"relation\": \"payment.method\", \"store\": true}, \"ship_method_id\": {\"string\": \"Shipping Method\", \"type\": \"many2one\", \"relation\": \"ship.method\", \"store\": true}, \"default_ship_address_id\": {\"string\": \"Default Shipping Address\", \"type\": \"many2one\", \"relation\": \"address\", \"readonly\": true, \"function\": \"get_default_ship_address\"}, \"default_bill_address_id\": {\"string\": \"Default Billing Address\", \"type\": \"many2one\", \"relation\": \"address\", \"readonly\": true, \"function\": \"get_default_bill_address\"}, \"folder_id\": {\"string\": \"Folder\", \"type\": \"many2one\", \"relation\": \"folder\", \"store\": true}, \"contact_person_emails\": {\"string\": \"Contact Person Emails\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_contact_person_emails\"}, \"invoice_print_template_id\": {\"string\": \"Invoice Print Template\", \"type\": \"many2one\", \"relation\": \"page.layout\", \"condition\": [[\"model_id.name\", \"=\", \"account.invoice\"]], \"store\": true}, \"previous_sale_products\": {\"string\": \"Previously Ordered Products\", \"type\": \"many2many\", \"relation\": \"product\", \"readonly\": true, \"function\": \"get_previous_sale_products\"}, \"sync_records\": {\"string\": \"Sync Records\", \"type\": \"one2many\", \"relation\": \"sync.record\", \"relfield\": \"related_id\"}}}, \"report.contact\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"contact.relation.type\": {\"string\": \"Relation Type\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"contact.relation\": {\"string\": \"Contact Relation\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"from_contact_id\": {\"string\": \"From Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"store\": true}, \"to_contact_id\": {\"string\": \"To Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"store\": true}, \"rel_type_id\": {\"string\": \"Relation Type\", \"type\": \"many2one\", \"relation\": \"contact.relation.type\", \"required\": true, \"store\": true}, \"details\": {\"string\": \"Details\", \"type\": \"text\", \"store\": true}}}, \"region\": {\"string\": \"Region\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"industry\": {\"string\": \"Industry\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"parent_id\": {\"string\": \"Parent\", \"type\": \"many2one\", \"relation\": \"industry\", \"store\": true}}}, \"business.area\": {\"string\": \"Business Area\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"categ_id\": {\"string\": \"Contact Category\", \"type\": \"many2one\", \"relation\": \"contact.categ\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"fleet.size\": {\"string\": \"Fleet Size\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"contact.group\": {\"string\": \"Contact Group\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Group Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Group Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"sale_price_list_id\": {\"string\": \"Sales Price List\", \"type\": \"many2one\", \"relation\": \"price.list\", \"condition\": [[\"type\", \"=\", \"sale\"]], \"store\": true}, \"parent_id\": {\"string\": \"Parent\", \"type\": \"many2one\", \"relation\": \"contact.group\", \"store\": true}}}, \"merge.contact\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"from_contact_id\": {\"string\": \"Delete Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"store\": true}, \"to_contact_id\": {\"string\": \"Merge With Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"store\": true}}}, \"issue\": {\"string\": \"Issue\", \"name_field\": \"title\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"project_id\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"project\", \"required\": true, \"search\": true, \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"date_created\": {\"string\": \"Date Created\", \"type\": \"date\", \"required\": true, \"store\": true}, \"age_days\": {\"string\": \"Age (Days)\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_age_days\"}, \"date_planned\": {\"string\": \"Planned Close Date\", \"type\": \"date\", \"store\": true}, \"date_closed\": {\"string\": \"Date Closed\", \"type\": \"date\", \"store\": true}, \"description\": {\"string\": \"Problem Description (English)\", \"type\": \"text\", \"store\": true}, \"description2\": {\"string\": \"Problem Description (Thai)\", \"type\": \"text\", \"store\": true}, \"screenshot\": {\"string\": \"Screenshot (old)\", \"type\": \"file\", \"store\": true}, \"url\": {\"string\": \"URL\", \"type\": \"char\", \"store\": true}, \"priority\": {\"string\": \"Priority\", \"type\": \"selection\", \"selection\": [[\"0\", \"Low\"], [\"1\", \"Medium\"], [\"2\", \"High\"]], \"required\": true, \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"new\", \"New\"], [\"incomplete\", \"Incomplete\"], [\"planned\", \"Planned\"], [\"closed\", \"Closed\"]], \"required\": true, \"store\": true}, \"response\": {\"string\": \"Support Response\", \"type\": \"text\", \"store\": true}, \"screenshots\": {\"string\": \"Screenshots\", \"type\": \"one2many\", \"relation\": \"image\", \"relfield\": \"related_id\"}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"decimal\", \"store\": true}, \"type\": {\"string\": \"Issue Type\", \"type\": \"selection\", \"selection\": [[\"bug\", \"Bug\"], [\"change\", \"Modification Request\"], [\"new_feature\", \"New Feature Request\"], [\"question\", \"Question\"]], \"required\": true, \"search\": true, \"store\": true}, \"support_pic\": {\"string\": \"Support PIC\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"issuer\": {\"string\": \"Issuer\", \"type\": \"char\", \"store\": true}, \"client_email\": {\"string\": \"Emails\", \"type\": \"char\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"char\", \"store\": true}}}, \"issue.type\": {\"string\": \"Issue Type\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}}}, \"report.issue\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"product.custom.option\": {\"string\": \"Custom Option\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true, \"translate\": true}, \"seq\": {\"string\": \"Sequence\", \"type\": \"char\", \"required\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"text\", \"Text\"], [\"selection\", \"Selection\"]], \"required\": true, \"store\": true}, \"required\": {\"string\": \"Required\", \"type\": \"boolean\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"price\": {\"string\": \"Price\", \"type\": \"decimal\", \"store\": true}, \"values\": {\"string\": \"Values\", \"type\": \"one2many\", \"relation\": \"product.custom.option.value\", \"relfield\": \"cust_opt_id\"}}}, \"product.custom.option.value\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"cust_opt_id\": {\"string\": \"Custom Option\", \"type\": \"many2one\", \"relation\": \"product.custom.option\", \"required\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true, \"translate\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"image\": {\"string\": \"Image\", \"type\": \"file\", \"store\": true}, \"price\": {\"string\": \"Price\", \"type\": \"decimal\", \"store\": true}}}, \"product\": {\"string\": \"Product\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true, \"translate\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"barcode\": {\"string\": \"Barcode\", \"type\": \"char\", \"search\": true, \"store\": true}, \"type\": {\"string\": \"Product Type\", \"type\": \"selection\", \"selection\": [[\"stock\", \"Stockable\"], [\"consumable\", \"Consumable\"], [\"service\", \"Service\"], [\"master\", \"Master\"], [\"bundle\", \"Bundle\"]], \"required\": true, \"search\": true, \"store\": true}, \"uom_id\": {\"string\": \"Default UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"search\": true, \"store\": true}, \"parent_id\": {\"string\": \"Master Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true, \"translate\": true}, \"purchase_price\": {\"string\": \"Purchase Price\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"sale_price\": {\"string\": \"List Price (Sales Invoice UoM)\", \"type\": \"decimal\", \"scale\": 6, \"search\": true, \"store\": true}, \"min_sale_price\": {\"string\": \"Minimum Sales Price\", \"type\": \"decimal\", \"store\": true}, \"sale_price_order_uom\": {\"string\": \"List Price (Sales Order UoM)\", \"type\": \"decimal\", \"scale\": 6, \"readonly\": true, \"function\": \"get_sale_price_order_uom\"}, \"tags\": {\"string\": \"Tags\", \"type\": \"many2many\", \"relation\": \"tag\"}, \"image\": {\"string\": \"Image\", \"type\": \"file\", \"store\": true}, \"cost_method\": {\"string\": \"Costing Method\", \"type\": \"selection\", \"selection\": [[\"standard\", \"Standard Cost\"], [\"average\", \"Weighted Average\"], [\"fifo\", \"FIFO\"], [\"lifo\", \"LIFO\"], [\"lot\", \"Specific Lot\"], [\"purchase_fg\", \"Purchased FG\"]], \"store\": true}, \"cost_price\": {\"string\": \"Cost Price\", \"type\": \"decimal\", \"scale\": 4, \"store\": true}, \"stock_in_account_id\": {\"string\": \"Stock Input Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"stock_out_account_id\": {\"string\": \"Stock Output Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"cogs_account_id\": {\"string\": \"Cost Of Goods Sold Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"stock_account_id\": {\"string\": \"Inventory Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"purchase_account_id\": {\"string\": \"Purchase Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"purchase_return_account_id\": {\"string\": \"Purchase Returns Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"purchase_tax_id\": {\"string\": \"Purchase Tax\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"store\": true}, \"sale_account_id\": {\"string\": \"Sales Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"sale_return_account_id\": {\"string\": \"Sales Returns Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"sale_promotion_account_id\": {\"string\": \"Sales Promotion Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"sale_tax_id\": {\"string\": \"Sales Tax\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"store\": true}, \"sale_promotion_tax_id\": {\"string\": \"Promotion Tax\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"store\": true}, \"location_id\": {\"string\": \"Warehouse\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"bin_location\": {\"string\": \"Bin Location\", \"type\": \"char\", \"store\": true}, \"update_balance\": {\"string\": \"Update Balance\", \"type\": \"boolean\", \"store\": true}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"categs\": {\"string\": \"Other Categories\", \"type\": \"many2many\", \"relation\": \"product.categ\"}, \"attributes\": {\"string\": \"Attributes\", \"type\": \"one2many\", \"relation\": \"product.attribute.value\", \"relfield\": \"product_id\"}, \"variants\": {\"string\": \"Variants\", \"type\": \"one2many\", \"relation\": \"product\", \"relfield\": \"parent_id\"}, \"custom_options\": {\"string\": \"Custom Options\", \"type\": \"many2many\", \"relation\": \"product.custom.option\"}, \"images\": {\"string\": \"Images\", \"type\": \"one2many\", \"relation\": \"product.image\", \"relfield\": \"product_id\"}, \"store_type_id\": {\"string\": \"Storage Type\", \"type\": \"many2one\", \"relation\": \"store.type\", \"store\": true}, \"brand_id\": {\"string\": \"Brand\", \"type\": \"many2one\", \"relation\": \"product.brand\", \"search\": true, \"store\": true}, \"related_products\": {\"string\": \"Related Products\", \"type\": \"many2many\", \"relation\": \"product\"}, \"min_sale_qty\": {\"string\": \"Min Sale Qty\", \"type\": \"decimal\", \"store\": true}, \"sale_unit_qty\": {\"string\": \"Sale Unit Qty\", \"type\": \"decimal\", \"store\": true}, \"shelf_life\": {\"string\": \"Shelf Life (Days)\", \"type\": \"decimal\", \"store\": true}, \"weight\": {\"string\": \"Weight (Kg)\", \"type\": \"decimal\", \"store\": true}, \"volume\": {\"string\": \"Volume (M^3)\", \"type\": \"decimal\", \"store\": true}, \"width\": {\"string\": \"Width\", \"type\": \"decimal\", \"store\": true}, \"height\": {\"string\": \"Height\", \"type\": \"decimal\", \"store\": true}, \"length\": {\"string\": \"Length\", \"type\": \"decimal\", \"store\": true}, \"packing_size\": {\"string\": \"Packing Size\", \"type\": \"char\", \"store\": true}, \"details\": {\"string\": \"Product Details\", \"type\": \"text\", \"store\": true, \"translate\": true}, \"details2\": {\"string\": \"Product Details (2)\", \"type\": \"text\", \"store\": true, \"translate\": true}, \"details2_label\": {\"string\": \"Product Details Label (2)\", \"type\": \"char\", \"store\": true}, \"details3\": {\"string\": \"Product Details (3)\", \"type\": \"text\", \"store\": true, \"translate\": true}, \"details3_label\": {\"string\": \"Product Details Label (3)\", \"type\": \"char\", \"store\": true}, \"details4\": {\"string\": \"Product Details (4)\", \"type\": \"text\", \"store\": true, \"translate\": true}, \"details4_label\": {\"string\": \"Product Details Label (4)\", \"type\": \"char\", \"store\": true}, \"other_url\": {\"string\": \"Product URL\", \"type\": \"char\", \"store\": true}, \"purchase_currency_id\": {\"string\": \"Purchase Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"store\": true}, \"purchase_currency_rate\": {\"string\": \"Purchase Currency Rate\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"purchase_duty_percent\": {\"string\": \"Import Duty (%)\", \"type\": \"decimal\", \"store\": true}, \"purchase_ship_percent\": {\"string\": \"Shipping Charge (%)\", \"type\": \"decimal\", \"store\": true}, \"landed_cost\": {\"string\": \"Landed Cost\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_landed_cost\"}, \"landed_cost_conv\": {\"string\": \"Landed Cost (Conv)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_landed_cost\"}, \"gross_profit\": {\"string\": \"Gross Profit (%)\", \"type\": \"decimal\", \"store\": true}, \"auto_list_price\": {\"string\": \"Auto List Price\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_auto_list_price\"}, \"max_discount\": {\"string\": \"Max Discount (%)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_max_discount\"}, \"price_index\": {\"string\": \"Price Index\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_price_index\"}, \"price_notes\": {\"string\": \"Notes\", \"type\": \"text\", \"store\": true}, \"price_date\": {\"string\": \"Price Date\", \"type\": \"date\", \"store\": true}, \"pricelist_items\": {\"string\": \"Pricelist Items\", \"type\": \"one2many\", \"relation\": \"price.list.item\", \"relfield\": \"product_id\"}, \"procure_method\": {\"string\": \"Procurement Method\", \"type\": \"selection\", \"selection\": [[\"mto\", \"Make To Order\"], [\"mts\", \"Make To Stock\"]], \"store\": true}, \"supply_method\": {\"string\": \"Supply Method\", \"type\": \"selection\", \"selection\": [[\"purchase\", \"Purchase\"], [\"production\", \"Production\"], [\"customer\", \"Receive From Customer\"]], \"store\": true}, \"can_sell\": {\"string\": \"Can Sell\", \"type\": \"boolean\", \"store\": true}, \"can_purchase\": {\"string\": \"Can Purchase\", \"type\": \"boolean\", \"store\": true}, \"id\": {\"string\": \"Database ID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"supplier_product_code\": {\"string\": \"Supplier Product Code\", \"type\": \"char\", \"store\": true}, \"require_qty2\": {\"string\": \"Require Secondary Qty\", \"type\": \"boolean\", \"store\": true}, \"qty2_factor\": {\"string\": \"UoM -> Secondary Qty Factor\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"replacements\": {\"string\": \"Replacement Products\", \"type\": \"many2many\", \"relation\": \"product\"}, \"suppliers\": {\"string\": \"Suppliers\", \"type\": \"one2many\", \"relation\": \"product.supplier\", \"relfield\": \"product_id\"}, \"default_supplier_id\": {\"string\": \"Default Supplier\", \"type\": \"many2one\", \"relation\": \"product.supplier\", \"readonly\": true, \"function\": \"get_default_supplier\"}, \"customers\": {\"string\": \"Customers\", \"type\": \"one2many\", \"relation\": \"product.customer\", \"relfield\": \"product_id\"}, \"max_qty_loss\": {\"string\": \"Max Qty Loss\", \"type\": \"decimal\", \"store\": true}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"ship_methods\": {\"string\": \"Shipping Methods\", \"type\": \"many2many\", \"relation\": \"ship.method\"}, \"ecom_discount_percent\": {\"string\": \"Ecom. Discount Percent\", \"type\": \"decimal\", \"store\": true}, \"ecom_special_price\": {\"string\": \"Ecom. Special Price\", \"type\": \"decimal\", \"store\": true}, \"variant_attributes\": {\"string\": \"Variant Attributes\", \"type\": \"json\", \"readonly\": true, \"function\": \"get_variant_attributes\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"sale_channels\": {\"string\": \"Sales Channels\", \"type\": \"many2many\", \"relation\": \"sale.channel\", \"search\": true}, \"customer_price\": {\"string\": \"Customer Price\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_customer_price\"}, \"customer_has_discount\": {\"string\": \"Customer Has Discount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_customer_price\"}, \"customer_discount_text\": {\"string\": \"Customer Discount Text\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_customer_price\"}, \"customer_discount_percent\": {\"string\": \"Customer Discount Percent\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_customer_price\"}, \"sale_company_id\": {\"string\": \"Sold By\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"groups\": {\"string\": \"Groups\", \"type\": \"many2many\", \"relation\": \"product.group\"}, \"payment_methods\": {\"string\": \"Payment Methods\", \"type\": \"many2many\", \"relation\": \"payment.method\"}, \"locations\": {\"string\": \"Warehouses\", \"type\": \"one2many\", \"relation\": \"product.location\", \"relfield\": \"product_id\"}, \"stock_qty\": {\"string\": \"Total Stock Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_stock_qty\"}, \"stock_lots\": {\"string\": \"Lots In Stock\", \"type\": \"many2many\", \"relation\": \"stock.lot\", \"readonly\": true, \"function\": \"get_stock_lots\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"approved\", \"Approved\"]], \"store\": true}, \"sale_uom_id\": {\"string\": \"Sales Order UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"sale_invoice_uom_id\": {\"string\": \"Sales Invoice UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"sale_to_stock_uom_factor\": {\"string\": \"Sales Order -> Stock Uom Conversion Factor\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"sale_to_invoice_uom_factor\": {\"string\": \"Sales Order -> Sales Invoice Uom Conversion Factor\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"sale_use_qty2_for_amount\": {\"string\": \"Use Qty2 for Sales Order Amount Calculation\", \"type\": \"boolean\", \"store\": true}, \"purchase_uom_id\": {\"string\": \"Purchase Order UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"purchase_invoice_uom_id\": {\"string\": \"Purchase Invoice UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"purchase_to_stock_uom_factor\": {\"string\": \"Purchase Order -> Stock Uom Conversion Factor\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"purchase_to_invoice_uom_factor\": {\"string\": \"Purchase Order -> Purchase Invoice Uom Conversion Factor\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"purchase_lead_time\": {\"string\": \"Purchasing Lead Time (Days)\", \"type\": \"integer\", \"store\": true}, \"purchase_min_qty\": {\"string\": \"Purchase Minimum Qty\", \"type\": \"decimal\", \"store\": true}, \"purchase_qty_multiple\": {\"string\": \"Purchase Qty Multiple\", \"type\": \"decimal\", \"store\": true}, \"purchase_use_qty2_for_amount\": {\"string\": \"Use Qty2 for Purchase Order Amount Calculation\", \"type\": \"boolean\", \"store\": true}, \"mfg_lead_time\": {\"string\": \"Manufacturing Lead Time (Days)\", \"type\": \"integer\", \"store\": true}, \"mfg_min_qty\": {\"string\": \"Manufacturing Minimum Qty\", \"type\": \"decimal\", \"store\": true}, \"mfg_qty_multiple\": {\"string\": \"Manufacturing Qty Multiple\", \"type\": \"decimal\", \"store\": true}, \"sale_price_uom_id\": {\"string\": \"List Price UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"events\": {\"string\": \"Events\", \"type\": \"many2many\", \"relation\": \"sale.event\"}, \"is_published\": {\"string\": \"Publish Product\", \"type\": \"boolean\", \"store\": true}, \"require_lot\": {\"string\": \"Require Lot\", \"type\": \"boolean\", \"store\": true}, \"require_unique_lot\": {\"string\": \"Require Unique Lot\", \"type\": \"boolean\", \"store\": true}, \"lot_select\": {\"string\": \"Lot Selection Order\", \"type\": \"selection\", \"selection\": [[\"fifo\", \"FIFO\"], [\"fefo\", \"FEFO\"], [\"qty\", \"Qty In Stock\"]], \"store\": true}, \"auto_lot\": {\"string\": \"Auto Generate Lot\", \"type\": \"boolean\", \"store\": true}, \"prevent_new_lot\": {\"string\": \"Prevent New Lots\", \"type\": \"boolean\", \"store\": true}, \"components\": {\"string\": \"Bundle Components\", \"type\": \"one2many\", \"relation\": \"product.component\", \"relfield\": \"product_id\"}, \"approve_date\": {\"string\": \"Approve Date\", \"type\": \"datetime\", \"store\": true}, \"service_items\": {\"string\": \"Service Items\", \"type\": \"one2many\", \"relation\": \"service.item\", \"relfield\": \"product_id\"}, \"lots\": {\"string\": \"Lots\", \"type\": \"one2many\", \"relation\": \"stock.lot\", \"relfield\": \"product_id\"}, \"stock_plan_horizon\": {\"string\": \"Inventory Planning Horizon (days)\", \"type\": \"integer\", \"store\": true}, \"ecom_hide_qty\": {\"string\": \"Hide Stock Qty From Website\", \"type\": \"boolean\", \"store\": true}, \"ecom_hide_unavail\": {\"string\": \"Hide From Website When Out Of Stock\", \"type\": \"boolean\", \"store\": true}, \"ecom_no_order_unavail\": {\"string\": \"Prevent Orders When Out Of Stock\", \"type\": \"boolean\", \"store\": true}, \"ecom_select_lot\": {\"string\": \"Customers Can Select Lot When Ordering\", \"type\": \"boolean\", \"store\": true}, \"product_origin\": {\"string\": \"Product Origin\", \"type\": \"char\", \"store\": true}, \"stock_balances\": {\"string\": \"Stock Balances\", \"type\": \"one2many\", \"relation\": \"stock.balance\", \"relfield\": \"product_id\"}, \"check_neg_stock\": {\"string\": \"Check Negative Stock\", \"type\": \"boolean\", \"store\": true}, \"check_lot_neg_stock\": {\"string\": \"Check Lot Negative Stock\", \"type\": \"boolean\", \"store\": true}, \"sale_lead_time_nostock\": {\"string\": \"Sale Lead Time When Out Of Stock (Days)\", \"type\": \"integer\", \"store\": true}, \"delivery_weekdays\": {\"string\": \"Delivery Weekday Constraints\", \"type\": \"char\", \"store\": true}, \"need_return\": {\"string\": \"Has to be returned\", \"type\": \"boolean\", \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"publish_pos\": {\"string\": \"Show On POS\", \"type\": \"boolean\", \"store\": true}, \"old_sale_price\": {\"string\": \"Old Sales Price\", \"type\": \"decimal\", \"store\": true}, \"discount_text\": {\"string\": \"Discount Text\", \"type\": \"char\", \"store\": true}, \"min_life_remain_percent\": {\"string\": \"Min Shelf Life Remaining (%)\", \"type\": \"integer\", \"store\": true}, \"max_lots_per_sale\": {\"string\": \"Max Lots Per Sale\", \"type\": \"integer\", \"store\": true}, \"sale_lines\": {\"string\": \"Sales Orders\", \"type\": \"one2many\", \"relation\": \"sale.order.line\", \"relfield\": \"product_id\"}, \"purchase_lines\": {\"string\": \"Purchase Orders\", \"type\": \"one2many\", \"relation\": \"purchase.order.line\", \"relfield\": \"product_id\"}, \"boms\": {\"string\": \"BoMs\", \"type\": \"one2many\", \"relation\": \"bom\", \"relfield\": \"product_id\"}, \"product_gb_id\": {\"string\": \"Grade-B Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"commission_seller\": {\"string\": \"Seller Commission Amount\", \"type\": \"decimal\", \"store\": true}, \"commission_buyer\": {\"string\": \"Buyer Commission Amount\", \"type\": \"decimal\", \"store\": true}, \"profit_after_commission\": {\"string\": \"Profit Amount After Commission\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_profit_after_commission\"}, \"min_qty\": {\"string\": \"Min Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_min_qty\"}, \"max_qty\": {\"string\": \"Max Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_max_qty\"}, \"min_qty_50\": {\"string\": \"Min Qty (50% Shelf Life)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_min_qty_50\"}, \"min_qty_75\": {\"string\": \"Min Qty (75% Shelf Life)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_min_qty_50\"}, \"pos_print_template_id\": {\"string\": \"Print Template\", \"type\": \"many2one\", \"relation\": \"report.template\", \"condition\": [[\"model_id.name\", \"=\", \"stock.move\"]], \"store\": true}, \"pos_create_lot\": {\"string\": \"Create Lot\", \"type\": \"boolean\", \"store\": true}, \"pos_auto_print\": {\"string\": \"Auto Print\", \"type\": \"boolean\", \"store\": true}, \"pos_read_weight\": {\"string\": \"Read Weight\", \"type\": \"boolean\", \"store\": true}, \"pos_auto_add\": {\"string\": \"Auto Add\", \"type\": \"boolean\", \"store\": true}, \"pos_packaging_id\": {\"string\": \"Packaging\", \"type\": \"many2one\", \"relation\": \"stock.packaging\", \"store\": true}, \"pos_container_type_id\": {\"string\": \"Container Type\", \"type\": \"many2one\", \"relation\": \"stock.container.type\", \"store\": true}, \"container_sequence_id\": {\"string\": \"Container Sequence\", \"type\": \"many2one\", \"relation\": \"sequence\", \"store\": true}, \"labor_cost\": {\"string\": \"Labor Cost\", \"type\": \"decimal\", \"store\": true}, \"costs\": {\"string\": \"Costs\", \"type\": \"one2many\", \"relation\": \"product.cost\", \"relfield\": \"product_id\"}, \"bill_user_id\": {\"string\": \"Search Bill User\", \"type\": \"many2one\", \"relation\": \"base.user\"}, \"est_hours\": {\"string\": \"Est. Hours\", \"type\": \"decimal\", \"store\": true}, \"uoms\": {\"string\": \"UoMs\", \"type\": \"many2many\", \"relation\": \"uom\"}, \"landed_cost_track_id\": {\"string\": \"Landed Cost Tracking\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"fulfillment_lines\": {\"string\": \"Fulfillment Lines\", \"type\": \"one2many\", \"relation\": \"product.fulfillment\", \"relfield\": \"fulfillment_product_id\"}, \"fulfillment_in\": {\"string\": \"Fulfillment In\", \"type\": \"one2many\", \"relation\": \"product.fulfillment\", \"relfield\": \"fulfillment_product_id\", \"condition\": [[\"type\", \"=\", \"in\"]]}, \"fulfillment_out\": {\"string\": \"Fulfillment Out\", \"type\": \"one2many\", \"relation\": \"product.fulfillment\", \"relfield\": \"fulfillment_product_id\", \"condition\": [[\"type\", \"=\", \"out\"]]}, \"ref_m2_calc\": {\"string\": \"Ref (M2 Calc)\", \"type\": \"integer\", \"store\": true}, \"coating\": {\"string\": \"Coating\", \"type\": \"char\", \"search\": true, \"store\": true, \"translate\": true}, \"shopee_details\": {\"string\": \"Shopee Details\", \"type\": \"one2many\", \"relation\": \"product.shopee.details\", \"relfield\": \"product_id\"}, \"shopee_sync_stock\": {\"string\": \"Shopee Sync Stock On\", \"type\": \"boolean\", \"store\": true}, \"sync_records\": {\"string\": \"Sync Records\", \"type\": \"one2many\", \"relation\": \"sync.record\", \"relfield\": \"related_id\"}, \"std_package\": {\"string\": \"Std Package\", \"type\": \"decimal\", \"store\": true}, \"lite_package\": {\"string\": \"Lite Package\", \"type\": \"decimal\", \"store\": true}}}, \"report.product\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"product.attribute\": {\"string\": \"Attribute\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Attribute Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Attribute Code\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"options\": {\"string\": \"Options\", \"type\": \"one2many\", \"relation\": \"product.attribute.option\", \"relfield\": \"attribute_id\"}}}, \"product.attribute.value\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"attribute_id\": {\"string\": \"Attribute\", \"type\": \"many2one\", \"relation\": \"product.attribute\", \"required\": true, \"store\": true}, \"value\": {\"string\": \"Value (Old)\", \"type\": \"char\", \"store\": true}, \"option_id\": {\"string\": \"Value\", \"type\": \"many2one\", \"relation\": \"product.attribute.option\", \"store\": true}, \"notes\": {\"string\": \"Notes\", \"type\": \"char\", \"store\": true}}}, \"price.list\": {\"string\": \"Price List\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"sale\", \"Sales\"], [\"purchase\", \"Purchasing\"]], \"required\": true, \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"base_price\": {\"string\": \"Base Price\", \"type\": \"selection\", \"selection\": [[\"product\", \" List Price In Product\"], [\"other_pricelist\", \"Other Price List\"], [\"volume\", \"Product Volume\"]], \"store\": true}, \"other_pricelist_id\": {\"string\": \"Other Price List\", \"type\": \"many2one\", \"relation\": \"price.list\", \"store\": true}, \"discount_percent\": {\"string\": \"Discount (%)\", \"type\": \"decimal\", \"store\": true}, \"discount\": {\"string\": \"Discount\", \"type\": \"decimal\", \"store\": true}, \"lines\": {\"string\": \"Price List Items\", \"type\": \"one2many\", \"relation\": \"price.list.item\", \"relfield\": \"list_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"required\": true, \"search\": true, \"store\": true}, \"rounding\": {\"string\": \"Rounding Multiple\", \"type\": \"decimal\", \"store\": true}, \"rounding_method\": {\"string\": \"Rounding Method\", \"type\": \"selection\", \"selection\": [[\"nearest\", \"Nearest\"], [\"lower\", \"Lower\"], [\"upper\", \"Upper\"]], \"store\": true}, \"sale_channels\": {\"string\": \"Sales Channels\", \"type\": \"one2many\", \"relation\": \"sale.channel\", \"relfield\": \"pricelist_id\"}, \"categs\": {\"string\": \"Product Categories\", \"type\": \"one2many\", \"relation\": \"price.list.categ\", \"relfield\": \"list_id\"}}}, \"price.list.categ\": {\"string\": \"Price List Category\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"list_id\": {\"string\": \"Price List\", \"type\": \"many2one\", \"relation\": \"price.list\", \"required\": true, \"search\": true, \"store\": true}, \"categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"required\": true, \"store\": true}, \"discount_percent\": {\"string\": \"Discount %\", \"type\": \"decimal\", \"store\": true}, \"discount_text\": {\"string\": \"Discount Text\", \"type\": \"char\", \"store\": true}}}, \"price.list.item\": {\"string\": \"Price List Item\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"list_id\": {\"string\": \"Price List\", \"type\": \"many2one\", \"relation\": \"price.list\", \"required\": true, \"search\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"sale\", \"Sales\"], [\"purchase\", \"Purchasing\"]], \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"search\": true, \"store\": true}, \"price\": {\"string\": \"Price\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"discount_percent\": {\"string\": \"Discount %\", \"type\": \"decimal\", \"store\": true}, \"min_qty\": {\"string\": \"Min Qty\", \"type\": \"decimal\", \"store\": true}, \"max_qty\": {\"string\": \"Max Qty\", \"type\": \"decimal\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"discount_text\": {\"string\": \"Discount Text\", \"type\": \"char\", \"store\": true}}}, \"product.image\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"image\": {\"string\": \"Image\", \"type\": \"file\", \"required\": true, \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"rotate_cw\": {\"string\": \"Rotate Clockwise\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"_get_related\"}, \"rotate_footage\": {\"string\": \"Define Column\", \"type\": \"char\", \"readonly\": true, \"function\": \"_get_related\"}, \"rotate_frame\": {\"string\": \"Define Amount of image\", \"type\": \"char\", \"readonly\": true, \"function\": \"_get_related\"}, \"rotate_speed\": {\"string\": \"Define Rotating Speed\", \"type\": \"char\", \"readonly\": true, \"function\": \"_get_related\"}, \"rotate_height\": {\"string\": \"Image Height\", \"type\": \"char\", \"readonly\": true, \"function\": \"cal_dimension\"}, \"rotate_width\": {\"string\": \"Image Width\", \"type\": \"char\", \"readonly\": true, \"function\": \"cal_dimension\"}, \"master_image\": {\"string\": \"Master image\", \"type\": \"char\", \"readonly\": true, \"function\": \"cal_dimension\"}}}, \"product.brand\": {\"string\": \"Brand\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"search\": true, \"store\": true}, \"image\": {\"string\": \"Image\", \"type\": \"file\", \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"store\": true}, \"parent_id\": {\"string\": \"Parent Brand\", \"type\": \"many2one\", \"relation\": \"product.brand\", \"store\": true}, \"sub_brands\": {\"string\": \"Sub Brands\", \"type\": \"one2many\", \"relation\": \"product.brand\", \"relfield\": \"parent_id\"}, \"products\": {\"string\": \"Products\", \"type\": \"one2many\", \"relation\": \"product\", \"relfield\": \"brand_id\"}, \"num_products\": {\"string\": \"Number of products\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_products\"}, \"groups\": {\"string\": \"Group\", \"type\": \"many2many\", \"relation\": \"product.brand.group\"}, \"categs\": {\"string\": \"Categs\", \"type\": \"many2many\", \"relation\": \"product.categ\"}}}, \"pricelist.add\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"pricelist_id\": {\"string\": \"Price List\", \"type\": \"many2one\", \"relation\": \"price.list\", \"required\": true, \"store\": true}, \"product_categs\": {\"string\": \"Product Categories\", \"type\": \"many2many\", \"relation\": \"product.categ\"}}}, \"product.supplier\": {\"string\": \"Product Supplier\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"supplier_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"store\": true}, \"supplier_product_code\": {\"string\": \"Supplier Product Code\", \"type\": \"char\", \"store\": true}, \"supplier_product_name\": {\"string\": \"Supplier Product Name\", \"type\": \"char\", \"store\": true}, \"purchase_price\": {\"string\": \"Purchase Price\", \"type\": \"char\", \"store\": true}}}, \"product.variant.values\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"popup_id\": {\"string\": \"Popup\", \"type\": \"many2one\", \"relation\": \"prod.create.variants\", \"required\": true, \"store\": true}, \"attribute_id\": {\"string\": \"Attribute\", \"type\": \"many2one\", \"relation\": \"product.attribute\", \"required\": true, \"store\": true}, \"values\": {\"string\": \"Values\", \"type\": \"many2many\", \"relation\": \"product.attribute.option\", \"required\": true}}}, \"prod.create.variants\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"related_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"variant_value\": {\"string\": \"Options\", \"type\": \"one2many\", \"relation\": \"product.variant.values\", \"relfield\": \"popup_id\"}}}, \"product.attribute.option\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"attribute_id\": {\"string\": \"Attribute\", \"type\": \"many2one\", \"relation\": \"product.attribute\", \"required\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true, \"translate\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"required\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"image\": {\"string\": \"Image\", \"type\": \"file\", \"store\": true}, \"price\": {\"string\": \"Price\", \"type\": \"float\", \"store\": true}}}, \"product.group\": {\"string\": \"Product Group\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Group Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Group Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"parent_id\": {\"string\": \"Parent\", \"type\": \"many2one\", \"relation\": \"product.group\", \"store\": true}, \"products\": {\"string\": \"Products\", \"type\": \"many2many\", \"relation\": \"product\"}, \"filter_products\": {\"string\": \"Products\", \"type\": \"many2many\", \"relation\": \"product\", \"readonly\": true, \"function\": \"get_filter_products\"}, \"image\": {\"string\": \"Image\", \"type\": \"file\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"color\": {\"string\": \"Color\", \"type\": \"char\", \"store\": true}}}, \"product.location\": {\"string\": \"Product Location\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"product_categ_id\": {\"string\": \"Product Categ\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"location_id\": {\"string\": \"Warehouse\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"required\": true, \"store\": true}, \"bin_location\": {\"string\": \"Bin Location\", \"type\": \"char\", \"store\": true}, \"reserve_location_id\": {\"string\": \"Reservation Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"stock_qty\": {\"string\": \"Stock Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_stock_qty\"}}}, \"product.brand.group\": {\"string\": \"Product Brand Group\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Group Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Group Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"parent_id\": {\"string\": \"Parent\", \"type\": \"many2one\", \"relation\": \"product.brand.group\", \"store\": true}, \"brands\": {\"string\": \"Product Brands\", \"type\": \"many2many\", \"relation\": \"product.brand\"}, \"image\": {\"string\": \"Image\", \"type\": \"file\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}}}, \"product.component\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"component_id\": {\"string\": \"Component Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}}}, \"price.type\": {\"string\": \"Price Type\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"price_format\": {\"string\": \"Price format\", \"type\": \"char\", \"store\": true}, \"price_format_factor\": {\"string\": \"Price format factor\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}}}, \"product.addon\": {\"string\": \"Product Addon\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Addon Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Addon Code\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"sale_price\": {\"string\": \"Sales Price\", \"type\": \"decimal\", \"store\": true}}}, \"product.customer\": {\"string\": \"Product Customer\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"customer_id\": {\"string\": \"Customer\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"store\": true}, \"customer_product_code\": {\"string\": \"Customer Product Code\", \"type\": \"char\", \"store\": true}, \"customer_product_name\": {\"string\": \"Customer Product Name\", \"type\": \"char\", \"store\": true}, \"packaging_id\": {\"string\": \"Packaging\", \"type\": \"many2one\", \"relation\": \"stock.packaging\", \"store\": true}}}, \"cost.type\": {\"string\": \"Cost Type\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"contact_group_id\": {\"string\": \"Customer Group\", \"type\": \"many2one\", \"relation\": \"contact.group\", \"store\": true}, \"amount_type\": {\"string\": \"Amount Type\", \"type\": \"selection\", \"selection\": [[\"unit\", \"Per Unit\"], [\"kg\", \"Per Kg\"], [\"ship\", \"Per Shipment\"]], \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"amount\": {\"string\": \"Default Amount\", \"type\": \"decimal\", \"store\": true}}}, \"product.cost\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"cost_type_id\": {\"string\": \"Cost Type\", \"type\": \"many2one\", \"relation\": \"cost.type\", \"required\": true, \"store\": true}, \"contact_group_id\": {\"string\": \"Customer Group\", \"type\": \"many2one\", \"relation\": \"contact.group\", \"readonly\": true, \"function\": \"_get_related\"}, \"amount_type\": {\"string\": \"Amount Type\", \"type\": \"selection\", \"selection\": [[\"unit\", \"Per Unit\"], [\"kg\", \"Per Kg\"], [\"ship\", \"Per Shipment\"]], \"readonly\": true, \"function\": \"_get_related\"}, \"amount\": {\"string\": \"Cost Amount\", \"type\": \"decimal\", \"store\": true}}}, \"product.fulfillment\": {\"string\": \"Product Fulfillment\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"fulfillment_product_id\": {\"string\": \"Fulfillment Id\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"unit_price\": {\"string\": \"Unit Price\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"in\", \"In\"], [\"out\", \"Out\"]], \"required\": true, \"store\": true}}}, \"account.account\": {\"string\": \"Account\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"code\": {\"string\": \"Account Code\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"name\": {\"string\": \"Account Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true, \"translate\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"_group\", \"Assets\"], [\"cash\", \"Cash\"], [\"cheque\", \"Cheque\"], [\"bank\", \"Bank Account\"], [\"receivable\", \"Receivable\"], [\"cur_asset\", \"Current Asset\"], [\"fixed_asset\", \"Fixed Asset\"], [\"noncur_asset\", \"Non-current Asset\"], [\"sup_deposit\", \"Supplier Deposit\"], [\"_group\", \"Liabilities\"], [\"payable\", \"Payable\"], [\"cust_deposit\", \"Customer Deposit\"], [\"cur_liability\", \"Current Liability\"], [\"noncur_liability\", \"Non-current Liability\"], [\"_group\", \"Equity\"], [\"equity\", \"Equity\"], [\"_group\", \"Expenses\"], [\"cost_sales\", \"Cost of Sales\"], [\"expense\", \"Expense\"], [\"other_expense\", \"Other Expense\"], [\"_group\", \"Income\"], [\"revenue\", \"Revenue\"], [\"other_income\", \"Other Income\"], [\"_group\", \"Other\"], [\"view\", \"View\"], [\"other\", \"Other\"]], \"required\": true, \"search\": true, \"store\": true}, \"parent_id\": {\"string\": \"Parent\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [[\"type\", \"=\", \"view\"]], \"search\": true, \"store\": true}, \"bank_type\": {\"string\": \"Bank Type\", \"type\": \"selection\", \"selection\": [[\"bank\", \"Bank Account\"], [\"credit_card\", \"Credit Card\"], [\"paypal\", \"Paypal\"]], \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"tax_id\": {\"string\": \"Tax\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"store\": true}, \"balance\": {\"string\": \"Accounting Balance\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_balance\"}, \"debit\": {\"string\": \"Debit\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_balance\"}, \"credit\": {\"string\": \"Credit\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_balance\"}, \"balance_statement\": {\"string\": \"Statement Balance\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_balance_statement\"}, \"bank_name\": {\"string\": \"Bank Name\", \"type\": \"char\", \"store\": true}, \"currency_id\": {\"string\": \"Account Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"required\": true, \"store\": true}, \"bank_no\": {\"string\": \"Bank Account Number\", \"type\": \"char\", \"store\": true}, \"creditcard_no\": {\"string\": \"Credit Card Number\", \"type\": \"char\", \"store\": true}, \"balance_90d\": {\"string\": \"Balance 90d\", \"type\": \"json\", \"readonly\": true, \"function\": \"get_balance_90d\"}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"store\": true}, \"unrec_num\": {\"string\": \"Unreconciled Items\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_unrec_num\"}, \"enable_payment\": {\"string\": \"Enable payments to this account\", \"type\": \"boolean\", \"store\": true}, \"enable_adjust\": {\"string\": \"Enable adjustments to this account\", \"type\": \"boolean\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"balance_cur\": {\"string\": \"Accounting Balance (Cur)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_balance\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"fixed_asset_type_id\": {\"string\": \"Fixed Asset Type\", \"type\": \"many2one\", \"relation\": \"account.fixed.asset.type\", \"store\": true}, \"statements\": {\"string\": \"Bank Statements\", \"type\": \"one2many\", \"relation\": \"account.statement\", \"relfield\": \"account_id\"}, \"move_lines\": {\"string\": \"Account Transactions\", \"type\": \"one2many\", \"relation\": \"account.move.line\", \"relfield\": \"account_id\", \"order\": \"move_date desc\"}, \"require_contact\": {\"string\": \"Require Contact\", \"type\": \"boolean\", \"store\": true}, \"require_tax_no\": {\"string\": \"Require Tax No\", \"type\": \"boolean\", \"store\": true}, \"require_track\": {\"string\": \"Require Tracking Category\", \"type\": \"boolean\", \"store\": true}, \"require_track2\": {\"string\": \"Require Secondary Tracking Category\", \"type\": \"boolean\", \"store\": true}, \"company_currency_id\": {\"string\": \"Company Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"readonly\": true, \"function\": \"get_company_currency\"}, \"sequence_id\": {\"string\": \"Sequence\", \"type\": \"many2one\", \"relation\": \"sequence\", \"store\": true}, \"hide_details\": {\"string\": \"Hide Details From Reports\", \"type\": \"boolean\", \"store\": true}}}, \"account.invoice\": {\"string\": \"Invoice\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"out\", \"Receivable\"], [\"in\", \"Payable\"]], \"required\": true, \"store\": true}, \"inv_type\": {\"string\": \"Subtype\", \"type\": \"selection\", \"selection\": [[\"invoice\", \"Invoice\"], [\"credit\", \"Credit Note\"], [\"debit\", \"Debit Note\"]], \"required\": true, \"search\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"search\": true, \"store\": true}, \"sup_inv_number\": {\"string\": \"Supplier Invoice Number\", \"type\": \"char\", \"search\": true, \"store\": true}, \"ref\": {\"string\": \"Ref\", \"type\": \"char\", \"search\": true, \"store\": true}, \"memo\": {\"string\": \"Memo\", \"type\": \"char\", \"search\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"search\": true, \"store\": true}, \"contact_categ_id\": {\"string\": \"Contact Category\", \"type\": \"many2one\", \"relation\": \"contact.categ\", \"readonly\": true, \"search\": true, \"function\": \"get_contact_categ\"}, \"contact_credit\": {\"string\": \"Outstanding Credit\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_contact_credit\"}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"due_date\": {\"string\": \"Due Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"required\": true, \"search\": true, \"store\": true}, \"tax_type\": {\"string\": \"Tax Type\", \"type\": \"selection\", \"selection\": [[\"tax_ex\", \"Tax Exclusive\"], [\"tax_in\", \"Tax Inclusive\"], [\"no_tax\", \"No Tax\"]], \"required\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"waiting_approval\", \"Waiting Approval\"], [\"approved\", \"Approved\"], [\"waiting_payment\", \"Waiting Payment\"], [\"paid\", \"Paid\"], [\"voided\", \"Voided\"], [\"repeat\", \"Repeating\"]], \"readonly\": true, \"search\": true, \"store\": true, \"function\": \"get_state\"}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"account.invoice.line\", \"relfield\": \"invoice_id\"}, \"amount_subtotal\": {\"string\": \"Subtotal\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_tax\": {\"string\": \"Tax Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_total\": {\"string\": \"Total\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_paid\": {\"string\": \"Paid Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_due\": {\"string\": \"Due Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_credit_total\": {\"string\": \"Total Credit\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_credit_remain\": {\"string\": \"Remaining Credit\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_total_cur\": {\"string\": \"Total (Conv)\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_due_cur\": {\"string\": \"Due Amount (Conv)\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_paid_cur\": {\"string\": \"Paid Amount (Conv)\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_credit_remain_cur\": {\"string\": \"Remaining Credit (Conv)\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_rounding\": {\"string\": \"Rounding\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_wht\": {\"string\": \"WHT Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_total_net\": {\"string\": \"Net Total Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_due_net\": {\"string\": \"Net Due Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"wht_percent_text\": {\"string\": \"WHT Percent\", \"type\": \"char\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"qty_total\": {\"string\": \"Total Quantity\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_total\"}, \"attachment\": {\"string\": \"Attachment\", \"type\": \"file\", \"store\": true}, \"payments\": {\"string\": \"Payments\", \"type\": \"one2many\", \"relation\": \"account.payment.line\", \"relfield\": \"invoice_id\", \"condition\": [[\"payment_id.state\", \"=\", \"posted\"]]}, \"move_id\": {\"string\": \"Journal Entry\", \"type\": \"many2one\", \"relation\": \"account.move\", \"store\": true}, \"tax_date_move_id\": {\"string\": \"Tax Date Adjustment Journal Entry\", \"type\": \"many2one\", \"relation\": \"account.move\", \"store\": true}, \"reconcile_move_line_id\": {\"string\": \"Reconcile Item\", \"type\": \"many2one\", \"relation\": \"account.move.line\", \"store\": true}, \"credit_alloc\": {\"string\": \"Credit Allocation\", \"type\": \"one2many\", \"relation\": \"account.credit.alloc\", \"relfield\": \"credit_id\"}, \"credit_notes\": {\"string\": \"Credit Notes\", \"type\": \"one2many\", \"relation\": \"account.credit.alloc\", \"relfield\": \"invoice_id\"}, \"currency_rate\": {\"string\": \"Currency Rate\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"payment_id\": {\"string\": \"Payment\", \"type\": \"many2one\", \"relation\": \"account.payment\", \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.order\", \"Sales Order\"], [\"purchase.order\", \"Purchase Order\"], [\"production.order\", \"Production Order\"], [\"project\", \"Project\"], [\"job\", \"Service Order\"], [\"service.contract\", \"Service Contract\"]], \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"amount_discount\": {\"string\": \"Discount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_discount\"}, \"amount_subtotal_no_discount\": {\"string\": \"Subtotal Before Discount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_discount\"}, \"bill_address_id\": {\"string\": \"Billing Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"fixed_assets\": {\"string\": \"Fixed Assets\", \"type\": \"one2many\", \"relation\": \"account.fixed.asset\", \"relfield\": \"invoice_id\"}, \"tax_no\": {\"string\": \"Tax Invoice No.\", \"type\": \"char\", \"store\": true}, \"tax_date\": {\"string\": \"Tax Date\", \"type\": \"date\", \"store\": true}, \"tax_branch_no\": {\"string\": \"Tax Branch No.\", \"type\": \"char\", \"store\": true}, \"pay_method_id\": {\"string\": \"Payment Method\", \"type\": \"many2one\", \"relation\": \"payment.method\", \"store\": true}, \"pay_term_id\": {\"string\": \"Payment Terms\", \"type\": \"many2one\", \"relation\": \"payment.term\", \"store\": true}, \"journal_id\": {\"string\": \"Journal\", \"type\": \"many2one\", \"relation\": \"account.journal\", \"store\": true}, \"sequence_id\": {\"string\": \"Sequence\", \"type\": \"many2one\", \"relation\": \"sequence\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"search\": true}, \"taxes\": {\"string\": \"Taxes\", \"type\": \"one2many\", \"relation\": \"account.invoice.tax\", \"relfield\": \"invoice_id\"}, \"agg_amount_total\": {\"string\": \"Total Amount (Agg)\", \"type\": \"decimal\"}, \"agg_amount_subtotal\": {\"string\": \"Total Amount w/o Tax (Agg)\", \"type\": \"decimal\"}, \"year\": {\"string\": \"Year\", \"type\": \"char\"}, \"quarter\": {\"string\": \"Quarter\", \"type\": \"char\"}, \"month\": {\"string\": \"Month\", \"type\": \"char\"}, \"week\": {\"string\": \"Week\", \"type\": \"char\"}, \"transaction_no\": {\"string\": \"Transaction ID\", \"type\": \"char\", \"search\": true, \"store\": true}, \"payment_entries\": {\"string\": \"Payment Entries\", \"type\": \"one2many\", \"relation\": \"account.move.line\", \"relfield\": null, \"readonly\": true, \"function\": \"get_payment_entries\"}, \"journal_date\": {\"string\": \"Journal Date\", \"type\": \"date\", \"store\": true}, \"user_id\": {\"string\": \"Owner\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"print_form_no\": {\"string\": \"Printed Invoice Form No.\", \"type\": \"char\", \"search\": true, \"store\": true}, \"remarks\": {\"string\": \"Remarks\", \"type\": \"text\", \"store\": true}, \"product_type\": {\"string\": \"Product Type\", \"type\": \"selection\", \"selection\": [[\"product\", \"Product\"], [\"service\", \"Service\"]], \"readonly\": true, \"function\": \"get_product_type\"}, \"ship_track_no\": {\"string\": \"Shipping Tracking No.\", \"type\": \"char\", \"store\": true}, \"date_week\": {\"string\": \"Week\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_date_agg\"}, \"date_month\": {\"string\": \"Month\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_date_agg\"}, \"bill_note_id\": {\"string\": \"Billing Note\", \"type\": \"many2one\", \"relation\": \"bill.note\", \"store\": true}, \"total_qty\": {\"string\": \"Total Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_qty\"}, \"amount_total_words\": {\"string\": \"Amount Total (Words)\", \"type\": \"text\", \"readonly\": true, \"function\": \"get_amount_total_words\"}, \"ship_term_id\": {\"string\": \"Shipping Terms\", \"type\": \"many2one\", \"relation\": \"ship.term\", \"store\": true}, \"ship_port_id\": {\"string\": \"Shipping Port\", \"type\": \"many2one\", \"relation\": \"ship.port\", \"store\": true}, \"amount_total_ship\": {\"string\": \"Total Amount (Ship)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_price_ship\"}, \"amount_total_words_ship\": {\"string\": \"Amount Total (Words, Ship)\", \"type\": \"text\", \"readonly\": true, \"function\": \"get_price_ship\"}, \"interval_num\": {\"string\": \"Interval Number\", \"type\": \"integer\", \"store\": true}, \"interval_unit\": {\"string\": \"Interval Unit\", \"type\": \"selection\", \"selection\": [[\"day\", \"Day\"], [\"month\", \"Month\"], [\"year\", \"Year\"]], \"search\": true, \"store\": true}, \"next_date\": {\"string\": \"Next Invoice Date\", \"type\": \"date\", \"store\": true}, \"next_due_date\": {\"string\": \"Next Due Date\", \"type\": \"date\", \"store\": true}, \"template_id\": {\"string\": \"Invoice Template\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"store\": true}, \"invoices\": {\"string\": \"Invoices\", \"type\": \"one2many\", \"relation\": \"account.invoice\", \"relfield\": \"template_id\"}, \"orig_invoice_id\": {\"string\": \"Original Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"store\": true}, \"seller_id\": {\"string\": \"Seller\", \"type\": \"many2one\", \"relation\": \"seller\", \"search\": true, \"store\": true}, \"orig_invoice_amount_diff\": {\"string\": \"Original Invoice Diff Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_orig_invoice_amount_diff\"}, \"total_net_weight\": {\"string\": \"Total Net Weight\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_weight\"}, \"total_gross_weight\": {\"string\": \"Total Gross Weight\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_weight\"}, \"brand_id\": {\"string\": \"Brand\", \"type\": \"many2one\", \"relation\": \"product.brand\", \"store\": true}, \"delivery_term_id\": {\"string\": \"Delivery Terms\", \"type\": \"many2one\", \"relation\": \"delivery.term\", \"store\": true}, \"packaging_id\": {\"string\": \"Packaging\", \"type\": \"many2one\", \"relation\": \"stock.packaging\", \"store\": true}, \"pickings\": {\"string\": \"Stock Pickings\", \"type\": \"many2many\", \"relation\": \"stock.picking\", \"readonly\": true, \"function\": \"get_pickings\"}, \"stock_moves\": {\"string\": \"Stock Movements\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"invoice_id\"}, \"bill_index\": {\"string\": \"Bill Index\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_bill_index\"}, \"tax_file_state\": {\"string\": \"Tax Filing Status\", \"type\": \"selection\", \"selection\": [[\"wait_invoice\", \"Awaiting Tax Invoice\"], [\"wait_file\", \"Awaiting Tax Filing\"], [\"done\", \"Completed\"]], \"search\": true, \"store\": true}, \"tax_file_date\": {\"string\": \"Tax Filing Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"procurement_employee_id\": {\"string\": \"Procurement Person\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"search\": true, \"store\": true}, \"time_entries\": {\"string\": \"Time Entries\", \"type\": \"one2many\", \"relation\": \"time.entry\", \"relfield\": \"invoice_id\"}, \"sale_id\": {\"string\": \"Sales Order\", \"type\": \"many2one\", \"relation\": \"sale.order\", \"readonly\": true, \"function\": \"get_sale\"}, \"picking_id\": {\"string\": \"Stock Picking\", \"type\": \"many2one\", \"relation\": \"stock.picking\", \"readonly\": true, \"function\": \"get_picking\"}, \"jc_job_id\": {\"string\": \"Job\", \"type\": \"many2one\", \"relation\": \"jc.job\", \"readonly\": true, \"function\": \"get_jc_job\"}, \"total_bill_hours\": {\"string\": \"Total Bill Hours\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_time_total\"}, \"total_bill_amount\": {\"string\": \"Total Bill Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_time_total\"}, \"time_users\": {\"string\": \"Time Entry Users\", \"type\": \"many2many\", \"relation\": \"base.user\", \"readonly\": true, \"function\": \"get_time_users\"}, \"instructions\": {\"string\": \"Instructions\", \"type\": \"text\", \"readonly\": true, \"function\": \"get_instructions\"}, \"cheque_id\": {\"string\": \"Cheque\", \"type\": \"many2one\", \"relation\": \"account.cheque\", \"readonly\": true, \"function\": \"get_cheque\"}, \"pay_cash\": {\"string\": \"Pay Cash\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_pay_flag\"}, \"pay_bank\": {\"string\": \"Pay Bank\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_pay_flag\"}, \"pay_cheque\": {\"string\": \"Pay Cheque\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_pay_flag\"}, \"sale_categ_id\": {\"string\": \"Sales Category\", \"type\": \"many2one\", \"relation\": \"sale.categ\", \"search\": true, \"store\": true}, \"approve_user_id\": {\"string\": \"Approved By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"amount_change\": {\"string\": \"Change Amount\", \"type\": \"decimal\", \"store\": true}, \"freight_charges\": {\"string\": \"Freight Charges\", \"type\": \"decimal\", \"store\": true}, \"freight_charges_track_id\": {\"string\": \"Freight Charges Track-1\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"1\"]], \"store\": true}, \"freight_charges_track2_id\": {\"string\": \"Freight Charges Track-2\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"2\"]], \"store\": true}, \"project\": {\"string\": \"Project\", \"type\": \"one2many\", \"relation\": \"pm.project\", \"relfield\": \"invoice_id\"}}}, \"account.invoice.line\": {\"string\": \"Invoice Line\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"char\", \"store\": true}, \"sequence_no\": {\"string\": \"Item No.\", \"type\": \"integer\", \"store\": true}, \"invoice_id\": {\"string\": \"Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"store\": true}, \"qty2\": {\"string\": \"Qty2\", \"type\": \"decimal\", \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"uom2_id\": {\"string\": \"UoM2\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"unit_price\": {\"string\": \"Unit Price\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"discount\": {\"string\": \"Disc %\", \"type\": \"decimal\", \"store\": true}, \"discount_amount\": {\"string\": \"Disc Amt\", \"type\": \"decimal\", \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [[\"type\", \"!=\", \"view\"]], \"store\": true}, \"tax_id\": {\"string\": \"Tax Rate\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"invoice_date\": {\"string\": \"Invoice Date\", \"type\": \"date\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"invoice_contact_id\": {\"string\": \"Invoice Partner\", \"type\": \"many2one\", \"relation\": \"contact\", \"readonly\": true, \"function\": \"_get_related\"}, \"invoice_state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"waiting_approval\", \"Waiting Approval\"], [\"waiting_payment\", \"Waiting Payment\"], [\"paid\", \"Paid\"], [\"voided\", \"Voided\"], [\"repeat\", \"Repeating\"]], \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"purch_id\": {\"string\": \"Purchase Order\", \"type\": \"many2one\", \"relation\": \"purchase.order\", \"store\": true}, \"track_id\": {\"string\": \"Track-1\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"1\"]], \"store\": true}, \"track2_id\": {\"string\": \"Track-2\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"2\"]], \"store\": true}, \"amount_discount\": {\"string\": \"Discount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_discount\"}, \"amount_before_discount\": {\"string\": \"Amount Before Discount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_discount\"}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.order\", \"Sales Order\"], [\"purchase.order\", \"Purchase Order\"], [\"production.order\", \"Production Order\"], [\"project\", \"Project\"], [\"job\", \"Service Order\"], [\"service.contract\", \"Service Contract\"], [\"work.time\", \"Work Time\"]], \"store\": true}, \"sale_id\": {\"string\": \"Sale Order\", \"type\": \"many2one\", \"relation\": \"sale.order\", \"store\": true}, \"purchase_id\": {\"string\": \"Purchase Order\", \"type\": \"many2one\", \"relation\": \"purchase.order\", \"store\": true}, \"track_distrib_id\": {\"string\": \"Tracking Distribution\", \"type\": \"many2one\", \"relation\": \"track.distrib\", \"store\": true}, \"unit_price_ship\": {\"string\": \"Unit Price (Ship)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_price_ship\"}, \"amount_ship\": {\"string\": \"Amount (Ship)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_price_ship\"}, \"index\": {\"string\": \"Index\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_index\"}, \"notes\": {\"string\": \"Notes\", \"type\": \"text\", \"store\": true}, \"net_weight\": {\"string\": \"Net Weight\", \"type\": \"decimal\", \"scale\": 3, \"store\": true}, \"packaging_id\": {\"string\": \"Packaging\", \"type\": \"many2one\", \"relation\": \"stock.packaging\", \"store\": true}, \"gross_weight\": {\"string\": \"Gross Weight\", \"type\": \"decimal\", \"scale\": 3, \"store\": true}, \"amount_tax\": {\"string\": \"Tax Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_tax_amount\"}, \"amount_incl_tax\": {\"string\": \"Amount Including Tax\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_tax_amount\"}, \"amount_excl_tax\": {\"string\": \"Amount Excluding Tax\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_tax_amount\"}}}, \"account.journal\": {\"string\": \"Journal\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"sequence_id\": {\"string\": \"Sequence\", \"type\": \"many2one\", \"relation\": \"sequence\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"type\": {\"string\": \"Journal Type\", \"type\": \"selection\", \"selection\": [[\"sale\", \"Sales\"], [\"purchase\", \"Purchases\"], [\"pay_in\", \"Receipts\"], [\"pay_out\", \"Disbursements\"], [\"general\", \"General\"], [\"close\", \"Fiscal Year Closing\"], [\"other\", \"Other\"]], \"store\": true}}}, \"account.move\": {\"string\": \"Journal Entry\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"journal_id\": {\"string\": \"Journal\", \"type\": \"many2one\", \"relation\": \"account.journal\", \"required\": true, \"search\": true, \"store\": true}, \"narration\": {\"string\": \"Narration\", \"type\": \"text\", \"required\": true, \"search\": true, \"store\": true}, \"date\": {\"string\": \"Document Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"date_posted\": {\"string\": \"Posted Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"posted\", \"Posted\"], [\"voided\", \"Voided\"]], \"required\": true, \"search\": true, \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"account.move.line\", \"relfield\": \"move_id\"}, \"order_lines\": {\"string\": \"Ordered Lines\", \"type\": \"many2many\", \"relation\": \"account.move.line\", \"readonly\": true, \"function\": \"get_order_lines\"}, \"total_debit\": {\"string\": \"Total Debit\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"total_credit\": {\"string\": \"Total Credit\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"auto\", \"auto\"], [\"manual\", \"Manual\"]], \"store\": true}, \"ref\": {\"string\": \"Reference\", \"type\": \"char\", \"search\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"default_line_desc\": {\"string\": \"Default narration to line description\", \"type\": \"boolean\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"account.invoice\", \"Invoice\"], [\"account.payment\", \"Payment\"], [\"account.transfer\", \"Transfer\"], [\"expense.claim\", \"Expense Claim\"], [\"service.contract\", \"Service Contract\"], [\"landed.cost\", \"Landed Cost\"], [\"stock.picking\", \"Stock Picking\"], [\"hr.payrun\", \"Pay Run\"]], \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"track_entries\": {\"string\": \"Tracking Entries\", \"type\": \"one2many\", \"relation\": \"account.track.entry\", \"relfield\": \"move_id\"}, \"difference\": {\"string\": \"Difference\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_difference\"}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"readonly\": true, \"search\": true, \"function\": \"get_contact\"}, \"payment_id\": {\"string\": \"Payment\", \"type\": \"many2one\", \"relation\": \"account.payment\", \"readonly\": true, \"function\": \"get_payment\"}, \"user_id\": {\"string\": \"Owner\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}}}, \"account.move.line\": {\"string\": \"Ledger Entry\", \"name_field\": \"move_id\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"move_id\": {\"string\": \"Journal Entry\", \"type\": \"many2one\", \"relation\": \"account.move\", \"required\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"required\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"required\": true, \"search\": true, \"store\": true}, \"debit\": {\"string\": \"Debit\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"credit\": {\"string\": \"Credit\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"statement_line_id\": {\"string\": \"Statement Line\", \"type\": \"many2one\", \"relation\": \"account.statement.line\", \"store\": true}, \"statement_line_search\": {\"string\": \"Statement Line\", \"type\": \"many2one\", \"relation\": \"account.statement.line\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"not_reconciled\", \"Not Reconciled\"], [\"reconciled\", \"Reconciled\"]], \"store\": true}, \"move_date\": {\"string\": \"Date\", \"type\": \"date\", \"readonly\": true, \"search\": true, \"store\": true, \"function\": \"_get_related\"}, \"move_state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"posted\", \"Posted\"], [\"voided\", \"Voided\"]], \"readonly\": true, \"store\": true, \"function\": \"_get_related\"}, \"move_narration\": {\"string\": \"Narration\", \"type\": \"char\", \"readonly\": true, \"function\": \"_get_related\"}, \"move_type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"invoice\", \"Invoice\"], [\"payment\", \"Payment\"], [\"transfer\", \"Transfer\"], [\"picking\", \"Picking\"], [\"stock_count\", \"Stock Count\"], [\"claim\", \"Claim\"], [\"manual\", \"Manual\"]], \"readonly\": true, \"function\": \"_get_related\"}, \"move_ref\": {\"string\": \"Reference\", \"type\": \"char\", \"readonly\": true, \"function\": \"_get_related\"}, \"move_number\": {\"string\": \"Number\", \"type\": \"char\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"account_name\": {\"string\": \"Account Name\", \"type\": \"char\", \"readonly\": true, \"function\": \"_get_related\"}, \"account_code\": {\"string\": \"Account Code\", \"type\": \"char\", \"readonly\": true, \"function\": \"_get_related\"}, \"stock_move_id\": {\"string\": \"Stock Move\", \"type\": \"many2one\", \"relation\": \"stock.move\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"tax_comp_id\": {\"string\": \"Tax Comp.\", \"type\": \"many2one\", \"relation\": \"account.tax.component\", \"store\": true}, \"tax_base\": {\"string\": \"Tax Base\", \"type\": \"decimal\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"search\": true, \"store\": true}, \"due_date\": {\"string\": \"Due Date\", \"type\": \"date\", \"store\": true}, \"track_id\": {\"string\": \"Track-1\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"1\"]], \"store\": true}, \"track2_id\": {\"string\": \"Track-2\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"2\"]], \"store\": true}, \"invoice_id\": {\"string\": \"Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"store\": true}, \"reconcile_id\": {\"string\": \"Reconciliation\", \"type\": \"many2one\", \"relation\": \"account.reconcile\", \"store\": true}, \"bank_reconcile_id\": {\"string\": \"Bank Reconciliation\", \"type\": \"many2one\", \"relation\": \"account.bank.reconcile\", \"store\": true}, \"statement_lines\": {\"string\": \"Statement Lines\", \"type\": \"many2many\", \"relation\": \"account.statement.line\"}, \"is_account_reconciled\": {\"string\": \"Is Reconciled?\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"_is_account_reconciled\"}, \"empty_contact\": {\"string\": \"Empty Contact\", \"type\": \"boolean\", \"search\": true}, \"tax_no\": {\"string\": \"Tax No.\", \"type\": \"char\", \"store\": true}, \"tax_date\": {\"string\": \"Tax Invoice Date\", \"type\": \"date\", \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"amount_cur\": {\"string\": \"Currency Amt\", \"type\": \"decimal\", \"store\": true}}}, \"account.payment\": {\"string\": \"Payment\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"type\": {\"string\": \"Payment Type\", \"type\": \"selection\", \"selection\": [[\"out\", \"Paid\"], [\"in\", \"Received\"]], \"required\": true, \"search\": true, \"store\": true}, \"pay_type\": {\"string\": \"Payment Subtype\", \"type\": \"selection\", \"selection\": [[\"direct\", \"Direct Payment\"], [\"invoice\", \"Invoice Payment\"]], \"required\": true, \"search\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"ref\": {\"string\": \"Ref\", \"type\": \"char\", \"search\": true, \"store\": true}, \"memo\": {\"string\": \"Memo\", \"type\": \"char\", \"search\": true, \"store\": true}, \"tax_type\": {\"string\": \"Tax Type\", \"type\": \"selection\", \"selection\": [[\"tax_ex\", \"Tax Exclusive\"], [\"tax_in\", \"Tax Inclusive\"], [\"no_tax\", \"No Tax\"]], \"required\": true, \"store\": true}, \"account_id\": {\"string\": \"Payment Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"search\": true, \"store\": true}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"required\": true, \"search\": true, \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"account.payment.line\", \"relfield\": \"payment_id\"}, \"direct_lines\": {\"string\": \"Direct Payments\", \"type\": \"one2many\", \"relation\": \"account.payment.line\", \"relfield\": \"payment_id\", \"condition\": [[\"type\", \"=\", \"direct\"]]}, \"invoice_lines\": {\"string\": \"Invoice Payments\", \"type\": \"one2many\", \"relation\": \"account.payment.line\", \"relfield\": \"payment_id\", \"condition\": [[\"type\", \"=\", \"invoice\"]]}, \"invlines\": {\"string\": \"Invoice Payments\", \"type\": \"one2many\", \"relation\": \"account.payment.line\", \"relfield\": \"payment_id\", \"condition\": [[\"type\", \"=\", \"invoice\"]]}, \"prepay_lines\": {\"string\": \"Prepayments\", \"type\": \"one2many\", \"relation\": \"account.payment.line\", \"relfield\": \"payment_id\", \"condition\": [[\"type\", \"=\", \"prepay\"]]}, \"overpay_lines\": {\"string\": \"Overpayments\", \"type\": \"one2many\", \"relation\": \"account.payment.line\", \"relfield\": \"payment_id\", \"condition\": [[\"type\", \"=\", \"overpay\"]]}, \"claim_lines\": {\"string\": \"Claim Payments\", \"type\": \"one2many\", \"relation\": \"account.payment.line\", \"relfield\": \"payment_id\", \"condition\": [[\"type\", \"=\", \"claim\"]]}, \"adjust_lines\": {\"string\": \"Adjustments\", \"type\": \"one2many\", \"relation\": \"account.payment.line\", \"relfield\": \"payment_id\", \"condition\": [[\"type\", \"=\", \"adjust\"]]}, \"amount_subtotal\": {\"string\": \"Subtotal\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_tax\": {\"string\": \"Tax Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_total\": {\"string\": \"Total\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_total_words\": {\"string\": \"Total Words\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_amount_total_words\"}, \"amount_wht\": {\"string\": \"Withholding Tax\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_wht_base\": {\"string\": \"Withholding Tax Base Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_payment\": {\"string\": \"Net Payment Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_adjust\": {\"string\": \"Adjustment Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"move_id\": {\"string\": \"Journal Entry\", \"type\": \"many2one\", \"relation\": \"account.move\", \"store\": true}, \"currency_rate\": {\"string\": \"Currency Rate (Pmt->Com)\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"state\": {\"string\": \"State\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"posted\", \"Posted\"], [\"voided\", \"Voided\"]], \"required\": true, \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"default_line_desc\": {\"string\": \"Default memo to line description\", \"type\": \"boolean\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"tax_no\": {\"string\": \"Tax No\", \"type\": \"char\", \"store\": true}, \"wht_no\": {\"string\": \"WHT No\", \"type\": \"char\", \"search\": true, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.order\", \"Sales Order\"], [\"purchase.order\", \"Purchase Order\"], [\"project\", \"Project\"], [\"job\", \"Service Order\"], [\"service.contract\", \"Service Contract\"], [\"ecom.cart\", \"Cart\"], [\"hr.payrun\", \"Pay Run\"]], \"store\": true}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"store\": true}, \"credit_invoices\": {\"string\": \"Credit Invoices\", \"type\": \"one2many\", \"relation\": \"account.invoice\", \"relfield\": \"payment_id\"}, \"journal_id\": {\"string\": \"Journal\", \"type\": \"many2one\", \"relation\": \"account.journal\", \"store\": true}, \"sequence_id\": {\"string\": \"Number Sequence\", \"type\": \"many2one\", \"relation\": \"sequence\", \"store\": true}, \"transaction_no\": {\"string\": \"Transaction ID\", \"type\": \"char\", \"search\": true, \"store\": true}, \"pay_method_id\": {\"string\": \"Payment Method\", \"type\": \"many2one\", \"relation\": \"payment.method\", \"store\": true}, \"cheque_number\": {\"string\": \"Cheque Number\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_cheque\"}, \"cheque_bank\": {\"string\": \"Cheque Bank\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_cheque\"}, \"cheque_branch\": {\"string\": \"Cheque Branch\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_cheque\"}, \"cheque_date\": {\"string\": \"Cheque Date\", \"type\": \"date\", \"readonly\": true, \"function\": \"get_cheque\"}, \"cheques\": {\"string\": \"Cheques\", \"type\": \"one2many\", \"relation\": \"account.cheque\", \"relfield\": \"related_id\"}, \"image\": {\"string\": \"Picture\", \"type\": \"file\", \"store\": true}, \"wht_cert_pages\": {\"string\": \"WHT Cert Pages\", \"type\": \"json\", \"readonly\": true, \"function\": \"get_wht_cert_pages\"}, \"user_id\": {\"string\": \"Owner\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"track_id\": {\"string\": \"Tracking\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"amount_change\": {\"string\": \"Change Amount\", \"type\": \"decimal\", \"store\": true}, \"date_week\": {\"string\": \"Week\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_date_agg\"}, \"date_month\": {\"string\": \"Month\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_date_agg\"}, \"invoice_entries\": {\"string\": \"Invoice Entries\", \"type\": \"one2many\", \"relation\": \"account.move.line\", \"relfield\": null, \"readonly\": true, \"function\": \"get_invoice_entries\"}, \"invoices\": {\"string\": \"Invoices\", \"type\": \"one2many\", \"relation\": \"account.invoice\", \"relfield\": null, \"readonly\": true, \"function\": \"get_invoices\"}, \"landed_costs\": {\"string\": \"Landed Costs\", \"type\": \"one2many\", \"relation\": \"landed.cost\", \"relfield\": \"payment_id\"}, \"supplier_invoice\": {\"string\": \"Supplier Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"store\": true}}}, \"account.payment.line\": {\"string\": \"Payment Line\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"payment_id\": {\"string\": \"Payment\", \"type\": \"many2one\", \"relation\": \"account.payment\", \"required\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"direct\", \"Direct Payment\"], [\"invoice\", \"Invoice Payment\"], [\"refund\", \"Refund\"], [\"prepay\", \"Prepayment\"], [\"overpay\", \"Overpayment\"], [\"claim\", \"Expense Claim Payment\"], [\"adjust\", \"Adjustment\"]], \"required\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"store\": true}, \"unit_price\": {\"string\": \"Unit Price\", \"type\": \"decimal\", \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [[\"type\", \"!=\", \"view\"]], \"store\": true}, \"tax_id\": {\"string\": \"Tax Rate\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"store\": true}, \"amount\": {\"string\": \"Paid Amount (Pmt Cur)\", \"type\": \"decimal\", \"scale\": 4, \"required\": true, \"store\": true}, \"invoice_id\": {\"string\": \"Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"store\": true}, \"expense_id\": {\"string\": \"Expense Claim\", \"type\": \"many2one\", \"relation\": \"expense.claim\", \"store\": true}, \"track_id\": {\"string\": \"Track-1\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"1\"]], \"store\": true}, \"track2_id\": {\"string\": \"Track-2\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"2\"]], \"store\": true}, \"tax_comp_id\": {\"string\": \"Tax Comp.\", \"type\": \"many2one\", \"relation\": \"account.tax.component\", \"store\": true}, \"tax_base\": {\"string\": \"Tax Base\", \"type\": \"decimal\", \"store\": true}, \"tax_no\": {\"string\": \"Tax No.\", \"type\": \"char\", \"store\": true}, \"tax_date\": {\"string\": \"Tax Invoice Date\", \"type\": \"date\", \"store\": true}, \"amount_invoice\": {\"string\": \"Paid Amount (Inv Cur)\", \"type\": \"decimal\", \"store\": true}, \"invoice_currency_id\": {\"string\": \"Invoice Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"readonly\": true, \"function\": \"_get_related\"}, \"invoice_amount_due\": {\"string\": \"Due Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_related\"}, \"currency_rate\": {\"string\": \"Currency Rate (Pmt->Inv)\", \"type\": \"decimal\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"amount_company\": {\"string\": \"Paid Amount (Company Cur)\", \"type\": \"decimal\", \"store\": true}, \"index\": {\"string\": \"Index\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_index\"}}}, \"invoice.payment\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"amount_overpay\": {\"string\": \"Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_overpay\"}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [\"or\", [\"type\", \"in\", [\"bank\", \"cash\", \"cheque\"]], [\"enable_payment\", \"=\", true]], \"required\": true, \"store\": true}, \"track_id\": {\"string\": \"Tracking\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"ref\": {\"string\": \"Ref\", \"type\": \"char\", \"store\": true}, \"invoice_id\": {\"string\": \"Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"required\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"char\", \"store\": true}}}, \"invoice.refund\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [[\"type\", \"in\", [\"bank\", \"cash\", \"cheque\"]]], \"required\": true, \"store\": true}, \"ref\": {\"string\": \"Ref\", \"type\": \"char\", \"store\": true}, \"invoice_id\": {\"string\": \"Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"required\": true, \"store\": true}}}, \"claim.payment\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [[\"type\", \"=\", \"bank\"]], \"required\": true, \"store\": true}, \"ref\": {\"string\": \"Ref\", \"type\": \"char\", \"store\": true}, \"claim_id\": {\"string\": \"Claim\", \"type\": \"many2one\", \"relation\": \"account.claim\", \"required\": true, \"store\": true}}}, \"account.statement\": {\"string\": \"Statement\", \"name_field\": \"date_start\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"not_reconciled\", \"Not Reconciled\"], [\"reconciled\", \"Reconciled\"]], \"readonly\": true, \"function\": \"get_state\"}, \"date_imported\": {\"string\": \"Imported Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"date_start\": {\"string\": \"Start Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_end\": {\"string\": \"End Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"balance_start\": {\"string\": \"Start Balance\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"balance_end\": {\"string\": \"End Balance\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_end_balance\"}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"required\": true, \"search\": true, \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"account.statement.line\", \"relfield\": \"statement_id\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}}}, \"account.statement.line\": {\"name_field\": \"description\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"statement_id\": {\"string\": \"Statement\", \"type\": \"many2one\", \"relation\": \"account.statement\", \"required\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"not_reconciled\", \"Not Reconciled\"], [\"reconciled\", \"Reconciled\"]], \"required\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"char\", \"search\": true, \"store\": true}, \"spent\": {\"string\": \"Spent\", \"type\": \"decimal\", \"required\": true, \"search\": true, \"store\": true}, \"received\": {\"string\": \"Received\", \"type\": \"decimal\", \"required\": true, \"search\": true, \"store\": true}, \"balance\": {\"string\": \"Balance\", \"type\": \"decimal\", \"required\": true, \"readonly\": true, \"search\": true, \"store\": true}, \"bank_reconcile_id\": {\"string\": \"Bank Reconciliation\", \"type\": \"many2one\", \"relation\": \"account.bank.reconcile\", \"store\": true}, \"move_lines\": {\"string\": \"Account Entries\", \"type\": \"many2many\", \"relation\": \"account.move.line\"}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"readonly\": true, \"function\": \"_get_related\"}, \"account_balance\": {\"string\": \"Accounting Balance\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_account_balance\"}}}, \"account.tax.rate\": {\"string\": \"Tax Rate\", \"name_field\": \"name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"rate\": {\"string\": \"Tax Rate\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_rate\"}, \"wht_rate\": {\"string\": \"WHT Rate\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_rate\"}, \"components\": {\"string\": \"Components\", \"type\": \"one2many\", \"relation\": \"account.tax.component\", \"relfield\": \"tax_rate_id\"}, \"uuid\": {\"string\": \"UUID\", \"type\": \"char\", \"store\": true}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"logs\": {\"string\": \"Logs\", \"type\": \"one2many\", \"relation\": \"log\", \"relfield\": \"related_id\"}, \"instructions\": {\"string\": \"Payment Instructions\", \"type\": \"text\", \"store\": true}}}, \"account.tax.component\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"tax_rate_id\": {\"string\": \"Tax Rate\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"required\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"compound\": {\"string\": \"Compound\", \"type\": \"boolean\", \"store\": true}, \"rate\": {\"string\": \"Rate\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"account_pending_id\": {\"string\": \"Pending Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"type\": {\"string\": \"Tax Type\", \"type\": \"selection\", \"selection\": [[\"vat\", \"SST\"], [\"vat_exempt\", \"SST Exempt\"], [\"vat_defer\", \"Deferred SST\"], [\"wht\", \"Withholding Tax\"]], \"store\": true}, \"trans_type\": {\"string\": \"Transaction Type\", \"type\": \"selection\", \"selection\": [[\"out\", \"Sale\"], [\"in\", \"Purchase\"]], \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"store\": true}, \"contact_type\": {\"string\": \"Contact Type\", \"type\": \"selection\", \"selection\": [[\"company\", \"Company\"], [\"individual\", \"Individual\"]], \"store\": true}}}, \"account.transfer\": {\"string\": \"Transfer\", \"name_field\": \"date\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"account_from_id\": {\"string\": \"From Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [[\"type\", \"!=\", \"view\"]], \"required\": true, \"search\": true, \"store\": true}, \"account_to_id\": {\"string\": \"To Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [[\"type\", \"!=\", \"view\"]], \"required\": true, \"search\": true, \"store\": true}, \"amount\": {\"string\": \"Paid Amount\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"amount_received\": {\"string\": \"Received Amount\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"move_id\": {\"string\": \"Journal Entry\", \"type\": \"many2one\", \"relation\": \"account.move\", \"store\": true}, \"ref\": {\"string\": \"Reference\", \"type\": \"char\", \"search\": true, \"store\": true}, \"track_id\": {\"string\": \"Track-1\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"1\"]], \"store\": true}, \"track2_id\": {\"string\": \"Track-2\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"2\"]], \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"state\": {\"string\": \"State\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"posted\", \"Posted\"], [\"voided\", \"Voided\"]], \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}}}, \"import.statement\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"required\": true, \"store\": true}, \"date_start\": {\"string\": \"From Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_end\": {\"string\": \"To Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"file\": {\"string\": \"CSV File\", \"type\": \"file\", \"required\": true, \"store\": true}, \"encoding\": {\"string\": \"Encoding\", \"type\": \"selection\", \"selection\": [[\"utf-8\", \"UTF-8\"], [\"tis-620\", \"TIS-620\"]], \"required\": true, \"store\": true}}}, \"account.credit.alloc\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"invoice_id\": {\"string\": \"Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"required\": true, \"store\": true}, \"credit_id\": {\"string\": \"Credit Note\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"store\": true}, \"credit_move_id\": {\"string\": \"Credit Journal Entry\", \"type\": \"many2one\", \"relation\": \"account.move\", \"store\": true}, \"credit_type\": {\"string\": \"Credit Type\", \"type\": \"char\", \"readonly\": true, \"function\": \"_get_related\"}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"store\": true}, \"move_id\": {\"string\": \"Journal Entry\", \"type\": \"many2one\", \"relation\": \"account.move\", \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}}}, \"account.alloc.wizard\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"credit_id\": {\"string\": \"Credit Note\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"required\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"char\", \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"account.alloc.wizard.line\", \"relfield\": \"wiz_id\"}, \"amount_credit\": {\"string\": \"Outstanding Credit\", \"type\": \"decimal\", \"readonly\": true, \"store\": true}, \"amount_alloc\": {\"string\": \"Total Amount to Credit\", \"type\": \"decimal\", \"readonly\": true, \"store\": true}, \"amount_remain\": {\"string\": \"Remaining Credit\", \"type\": \"decimal\", \"readonly\": true, \"store\": true}}}, \"account.alloc.wizard.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"wiz_id\": {\"string\": \"Wizard\", \"type\": \"many2one\", \"relation\": \"account.alloc.wizard\", \"required\": true, \"store\": true}, \"move_line_id\": {\"string\": \"Account Entry\", \"type\": \"many2one\", \"relation\": \"account.move.line\", \"required\": true, \"readonly\": true, \"store\": true}, \"move_id\": {\"string\": \"Journal Entry\", \"type\": \"many2one\", \"relation\": \"account.move\", \"required\": true, \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"readonly\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"required\": true, \"readonly\": true, \"store\": true}, \"amount_due\": {\"string\": \"Due Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"store\": true}}}, \"account.credit.wizard\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"invoice_id\": {\"string\": \"Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"required\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"char\", \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"account.credit.wizard.line\", \"relfield\": \"wiz_id\"}, \"amount_due\": {\"string\": \"Amount Due on Invoice\", \"type\": \"decimal\", \"readonly\": true, \"store\": true}, \"amount_alloc\": {\"string\": \"Total Amount to Credit\", \"type\": \"decimal\", \"readonly\": true, \"store\": true}, \"amount_remain\": {\"string\": \"Remaining Due\", \"type\": \"decimal\", \"readonly\": true, \"store\": true}}}, \"account.credit.wizard.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"wiz_id\": {\"string\": \"Wizard\", \"type\": \"many2one\", \"relation\": \"account.credit.wizard\", \"required\": true, \"store\": true}, \"move_line_id\": {\"string\": \"Account Entry\", \"type\": \"many2one\", \"relation\": \"account.move.line\", \"required\": true, \"readonly\": true, \"store\": true}, \"move_id\": {\"string\": \"Journal Entry\", \"type\": \"many2one\", \"relation\": \"account.move\", \"required\": true, \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"readonly\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"required\": true, \"readonly\": true, \"store\": true}, \"amount_credit_remain\": {\"string\": \"Outstanding Credit\", \"type\": \"decimal\", \"readonly\": true, \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"store\": true}}}, \"currency\": {\"string\": \"Currency\", \"name_field\": \"code\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"sign\": {\"string\": \"Sign\", \"type\": \"char\", \"required\": true, \"store\": true}, \"iso_number\": {\"string\": \"ISO Number\", \"type\": \"char\", \"store\": true}, \"rates\": {\"string\": \"Rate History\", \"type\": \"one2many\", \"relation\": \"currency.rate\", \"relfield\": \"currency_id\"}, \"sell_rate\": {\"string\": \"Current Sell Rate\", \"type\": \"decimal\", \"scale\": 6, \"readonly\": true, \"function\": \"get_current_rate\"}, \"buy_rate\": {\"string\": \"Current Buy Rate\", \"type\": \"decimal\", \"scale\": 6, \"readonly\": true, \"function\": \"get_current_rate\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"account_receivable_id\": {\"string\": \"Account Receivable\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"account_payable_id\": {\"string\": \"Account Payable\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"cents_name\": {\"string\": \"Cents Name\", \"type\": \"char\", \"store\": true}}}, \"currency.rate\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"required\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"sell_rate\": {\"string\": \"Sell Rate\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}, \"buy_rate\": {\"string\": \"Buy Rate\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}, \"rate\": {\"string\": \"Rate\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}}}, \"account.expense\": {\"name_field\": \"ref\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"ref\": {\"string\": \"Reference\", \"type\": \"char\", \"required\": true, \"store\": true}, \"attach\": {\"string\": \"Attachment\", \"type\": \"file\", \"store\": true}, \"tax_type\": {\"string\": \"Tax Type\", \"type\": \"selection\", \"selection\": [[\"tax_ex\", \"Tax Exclusive\"], [\"tax_in\", \"Tax Inclusive\"], [\"no_tax\", \"No Tax\"]], \"required\": true, \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"account.expense.line\", \"relfield\": \"expense_id\"}, \"amount_subtotal\": {\"string\": \"Subtotal\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"amount_tax\": {\"string\": \"Tax Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"amount_total\": {\"string\": \"Total\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"claim_id\": {\"string\": \"Claim\", \"type\": \"many2one\", \"relation\": \"account.claim\", \"store\": true}, \"user_id\": {\"string\": \"Receipt Owner\", \"type\": \"many2one\", \"relation\": \"base.user\", \"required\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"waiting_approval\", \"Waiting Approval\"], [\"approved\", \"Approved\"], [\"declined\", \"Declined\"]], \"required\": true, \"store\": true}, \"uuid\": {\"string\": \"UUID\", \"type\": \"char\", \"store\": true}}}, \"account.expense.line\": {\"string\": \"Expense Line\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"expense_id\": {\"string\": \"Expense\", \"type\": \"many2one\", \"relation\": \"account.expense\", \"required\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"char\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"unit_price\": {\"string\": \"Unit Price\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [[\"type\", \"!=\", \"view\"]], \"store\": true}, \"tax_id\": {\"string\": \"Tax Rate\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"store\": true}}}, \"account.claim\": {\"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"store\": true}, \"user_id\": {\"string\": \"Claim Owner\", \"type\": \"many2one\", \"relation\": \"base.user\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date Submitted\", \"type\": \"date\", \"readonly\": true, \"store\": true}, \"due_date\": {\"string\": \"Payment Due Date\", \"type\": \"date\", \"store\": true}, \"amount_total\": {\"string\": \"Total\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_approved\": {\"string\": \"Approved Total\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_paid\": {\"string\": \"Amount Paid\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_due\": {\"string\": \"Amount Due\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"waiting_approval\", \"Waiting Approval\"], [\"waiting_payment\", \"Waiting Payment\"], [\"paid\", \"Paid\"], [\"voided\", \"Voided\"]], \"readonly\": true, \"store\": true, \"function\": \"get_state\"}, \"expenses\": {\"string\": \"Receipts\", \"type\": \"one2many\", \"relation\": \"account.expense\", \"relfield\": \"claim_id\"}, \"payments\": {\"string\": \"Payments\", \"type\": \"one2many\", \"relation\": \"account.payment.line\", \"relfield\": \"claim_id\"}, \"num_receipts\": {\"string\": \"Receipts\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_receipts\"}, \"can_authorize\": {\"string\": \"Can Authorize\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_can_authorize\"}, \"uuid\": {\"string\": \"UUID\", \"type\": \"char\", \"store\": true}, \"move_id\": {\"string\": \"Journal Entry\", \"type\": \"many2one\", \"relation\": \"account.move\", \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}}}, \"reconcile.adjust\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"line_id\": {\"string\": \"Statement Line\", \"type\": \"many2one\", \"relation\": \"account.statement.line\", \"required\": true, \"store\": true}, \"amount\": {\"string\": \"Adjustment Amount\", \"type\": \"decimal\", \"required\": true, \"readonly\": true, \"store\": true}, \"account_id\": {\"string\": \"Adjustment Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"required\": true, \"store\": true}, \"date\": {\"string\": \"Adjustment Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"warning\": {\"string\": \"Warning\", \"type\": \"boolean\", \"readonly\": true, \"store\": true}}}, \"account.reconcile\": {\"string\": \"Account Reconciliation\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"lines\": {\"string\": \"Account Entries\", \"type\": \"one2many\", \"relation\": \"account.move.line\", \"relfield\": \"reconcile_id\", \"condition\": [[\"move_id.state\", \"=\", \"posted\"]]}, \"debit\": {\"string\": \"Total Debit\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"credit\": {\"string\": \"Total Credit\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"balance\": {\"string\": \"Balance\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_total\"}}}, \"account.track.categ\": {\"string\": \"Tracking Category\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"parent_id\": {\"string\": \"Parent\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"full_name\": {\"string\": \"Full Name\", \"type\": \"char\", \"readonly\": true, \"search\": true, \"store\": true, \"function\": \"get_full_name\"}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"required\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"1\", \"Primary\"], [\"2\", \"Secondary\"]], \"required\": true, \"store\": true}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"track_entries\": {\"string\": \"Tracking Entries\", \"type\": \"one2many\", \"relation\": \"account.track.entry\", \"relfield\": \"track_id\"}, \"balance\": {\"string\": \"Tracking Balance\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_balance\"}, \"sub_tracks\": {\"string\": \"Sub Tracking Categories\", \"type\": \"one2many\", \"relation\": \"account.track.categ\", \"relfield\": \"parent_id\"}, \"self_id\": {\"string\": \"Tracking Category\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"readonly\": true, \"function\": \"_get_related\"}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"store\": true}, \"sale_orders\": {\"string\": \"Sales Orders\", \"type\": \"one2many\", \"relation\": \"sale.order\", \"relfield\": \"track_id\"}, \"projects\": {\"string\": \"Projects\", \"type\": \"one2many\", \"relation\": \"project\", \"relfield\": \"track_id\"}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}}}, \"invoice.overpay\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"payment_id\": {\"string\": \"Payment\", \"type\": \"many2one\", \"relation\": \"account.payment\", \"required\": true, \"store\": true}, \"amount_overpay\": {\"string\": \"Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"char\", \"store\": true}}}, \"account.fixed.asset\": {\"string\": \"Fixed Asset\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Item Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true, \"translate\": true}, \"number\": {\"string\": \"Asset Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"fixed_asset_account_id\": {\"string\": \"Fixed Asset Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"search\": true, \"store\": true}, \"date_purchase\": {\"string\": \"Purchase Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"date_dispose\": {\"string\": \"Dispose Date\", \"type\": \"date\", \"store\": true}, \"track_id\": {\"string\": \"Tracking\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"1\"]], \"search\": true, \"store\": true}, \"price_purchase\": {\"string\": \"Purchase Price\", \"type\": \"decimal\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true, \"translate\": true}, \"type_id\": {\"string\": \"Asset Type\", \"type\": \"many2one\", \"relation\": \"account.fixed.asset.type\", \"store\": true}, \"dep_rate\": {\"string\": \"Depreciation Rate (%)\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"dep_method\": {\"string\": \"Depreciation Method\", \"type\": \"selection\", \"selection\": [[\"line\", \"Straight Line\"], [\"decline\", \"Declining Balance\"]], \"search\": true, \"store\": true}, \"accum_dep_account_id\": {\"string\": \"Accum. Depr. Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"search\": true, \"store\": true}, \"dep_exp_account_id\": {\"string\": \"Depr. Exp. Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"pending\", \"Pending\"], [\"registered\", \"Registered\"], [\"disposed\", \"Disposed\"], [\"sold\", \"Sold\"]], \"required\": true, \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"book_val\": {\"string\": \"Book Value\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_book_val\"}, \"last_dep\": {\"string\": \"Last depreciation\", \"type\": \"date\", \"readonly\": true, \"function\": \"_get_book_val\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"invoice_id\": {\"string\": \"Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"store\": true}, \"periods\": {\"string\": \"Depreciation Periods\", \"type\": \"one2many\", \"relation\": \"account.fixed.asset.period\", \"relfield\": \"asset_id\"}, \"salvage_value\": {\"string\": \"Salvage Value\", \"type\": \"decimal\", \"store\": true}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}}}, \"account.fixed.asset.type\": {\"string\": \"Asset Type\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"dep_rate\": {\"string\": \"Depreciation Rate (%)\", \"type\": \"decimal\", \"search\": true, \"store\": true}, \"dep_method\": {\"string\": \"Depreciation Method\", \"type\": \"selection\", \"selection\": [[\"line\", \"Straight Line\"], [\"decline\", \"Declining Balance\"]], \"search\": true, \"store\": true}, \"fixed_asset_account_id\": {\"string\": \"Fixed Asset Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"accum_dep_account_id\": {\"string\": \"Accum. Depr. Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"dep_exp_account_id\": {\"string\": \"Depr. Exp. Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}}}, \"account.fixed.asset.period\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"asset_id\": {\"string\": \"Fixed Asset\", \"type\": \"many2one\", \"relation\": \"account.fixed.asset\", \"required\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"required\": true, \"store\": true}, \"amount\": {\"string\": \"Depr. Amount\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"move_id\": {\"string\": \"Journal Entry\", \"type\": \"many2one\", \"relation\": \"account.move\", \"store\": true}}}, \"account.fixed.asset.depreciation\": {\"string\": \"Depreciation\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_to\": {\"string\": \"To Date\", \"type\": \"date\", \"required\": true, \"store\": true}}}, \"account.fixed.asset.sell\": {\"string\": \"Sell Asset\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"asset_id\": {\"string\": \"Asset\", \"type\": \"many2one\", \"relation\": \"account.fixed.asset\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"sale_acc_id\": {\"string\": \"Account to Debit for Sale\", \"type\": \"many2one\", \"relation\": \"account.account\", \"required\": true, \"store\": true}, \"gain_loss_acc_id\": {\"string\": \"Gain / Loss Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"required\": true, \"store\": true}, \"journal_id\": {\"string\": \"Account Journal\", \"type\": \"many2one\", \"relation\": \"account.journal\", \"required\": true, \"store\": true}, \"price\": {\"string\": \"Sale price (Excluding Tax)\", \"type\": \"decimal\", \"required\": true, \"store\": true}}}, \"account.fixed.asset.dispose\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"asset_id\": {\"string\": \"Asset\", \"type\": \"many2one\", \"relation\": \"account.fixed.asset\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"loss_acc_id\": {\"string\": \"Loss Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"required\": true, \"store\": true}}}, \"year.end\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Year End Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"journal_id\": {\"string\": \"Journal\", \"type\": \"many2one\", \"relation\": \"account.journal\", \"required\": true, \"store\": true}}}, \"print.select.template\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"report_action\": {\"string\": \"Report Action\", \"type\": \"char\", \"required\": true, \"store\": true}, \"refer_id\": {\"string\": \"Refer ID\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"template_type\": {\"string\": \"Template Type\", \"type\": \"char\", \"required\": true, \"store\": true}, \"template_id\": {\"string\": \"Template\", \"type\": \"many2one\", \"relation\": \"report.template\", \"required\": true, \"store\": true}, \"format\": {\"string\": \"File Format\", \"type\": \"selection\", \"selection\": [[\"pdf\", \"PDF\"], [\"odt\", \"ODT\"], [\"docx\", \"DOCX\"], [\"xlsx\", \"XLSX\"]], \"required\": true, \"store\": true}}}, \"account.bank.reconcile\": {\"string\": \"Bank Reconciliation\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"account_lines\": {\"string\": \"Account Entries\", \"type\": \"one2many\", \"relation\": \"account.move.line\", \"relfield\": \"bank_reconcile_id\"}, \"statement_lines\": {\"string\": \"Statement Lines\", \"type\": \"one2many\", \"relation\": \"account.statement.line\", \"relfield\": \"bank_reconcile_id\"}, \"total_account\": {\"string\": \"Total Account\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"total_statement\": {\"string\": \"Total Statement\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_total\"}}}, \"conv.bal\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Conversion Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"accounts\": {\"string\": \"Account Balances\", \"type\": \"one2many\", \"relation\": \"conv.account\", \"relfield\": \"conv_id\"}, \"sale_invoices\": {\"string\": \"Sales Invoices\", \"type\": \"one2many\", \"relation\": \"conv.sale.invoice\", \"relfield\": \"conv_id\"}, \"purch_invoices\": {\"string\": \"Purchase Invoices\", \"type\": \"one2many\", \"relation\": \"conv.purch.invoice\", \"relfield\": \"conv_id\"}, \"total_debit\": {\"string\": \"Total Debit\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"total_credit\": {\"string\": \"Total Credit\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"total_sale\": {\"string\": \"Total Amount Due\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"total_purch\": {\"string\": \"Total Amount Due\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"total_ar\": {\"string\": \"Account Receivable Balance\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"total_ap\": {\"string\": \"Account Payable Balance\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"move_id\": {\"string\": \"Opening Entry\", \"type\": \"many2one\", \"relation\": \"account.move\", \"store\": true}, \"file\": {\"string\": \"CSV File\", \"type\": \"file\", \"store\": true}, \"date_fmt\": {\"string\": \"Date Format\", \"type\": \"char\", \"store\": true}}}, \"conv.account\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"conv_id\": {\"string\": \"Conversion\", \"type\": \"many2one\", \"relation\": \"conv.bal\", \"required\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"required\": true, \"store\": true}, \"debit\": {\"string\": \"Debit\", \"type\": \"decimal\", \"store\": true}, \"credit\": {\"string\": \"Credit\", \"type\": \"decimal\", \"store\": true}, \"amount_cur\": {\"string\": \"Currency Amt\", \"type\": \"decimal\", \"store\": true}}}, \"conv.sale.invoice\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"conv_id\": {\"string\": \"Conversion\", \"type\": \"many2one\", \"relation\": \"conv.bal\", \"required\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"store\": true}, \"ref\": {\"string\": \"Reference\", \"type\": \"char\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"due_date\": {\"string\": \"Due Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"amount_due\": {\"string\": \"Amount Due\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"move_line_id\": {\"string\": \"Move Line\", \"type\": \"many2one\", \"relation\": \"account.move.line\", \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"required\": true, \"store\": true}, \"amount_cur\": {\"string\": \"Currency Amt\", \"type\": \"decimal\", \"store\": true}}}, \"conv.purch.invoice\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"conv_id\": {\"string\": \"Conversion\", \"type\": \"many2one\", \"relation\": \"conv.bal\", \"required\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"store\": true}, \"ref\": {\"string\": \"Reference\", \"type\": \"char\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"due_date\": {\"string\": \"Due Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"amount_due\": {\"string\": \"Amount Due\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"move_line_id\": {\"string\": \"Move Line\", \"type\": \"many2one\", \"relation\": \"account.move.line\", \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"required\": true, \"store\": true}, \"amount_cur\": {\"string\": \"Currency Amt\", \"type\": \"decimal\", \"store\": true}}}, \"auto.reconcile\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"to_date\": {\"string\": \"To Date\", \"type\": \"date\", \"store\": true}}}, \"account.budget\": {\"string\": \"Budget\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Budget Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"date_from\": {\"string\": \"From Date\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"To Date\", \"type\": \"date\", \"store\": true}, \"lines\": {\"string\": \"Budget Items\", \"type\": \"one2many\", \"relation\": \"account.budget.line\", \"relfield\": \"budget_id\"}}}, \"account.budget.line\": {\"string\": \"Budget Line\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"budget_id\": {\"string\": \"Budget\", \"type\": \"many2one\", \"relation\": \"account.budget\", \"required\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"required\": true, \"store\": true}, \"track_id\": {\"string\": \"Tracking\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"contact_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"budget_amount\": {\"string\": \"Budget Amount\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"actual_amount\": {\"string\": \"Actual Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_actual\"}, \"variance\": {\"string\": \"Variance\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_actual\"}, \"variance_percent\": {\"string\": \"Variance %\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_actual\"}, \"paid_amount\": {\"string\": \"Paid Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_paid\"}, \"unpaid_amount\": {\"string\": \"Unpaid Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_paid\"}}}, \"payment.method\": {\"string\": \"Payment Method\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"cash\", \"Cash\"], [\"bank\", \"Bank Transfer\"], [\"cheque\", \"Cheque\"], [\"credit_card\", \"Credit Card\"], [\"paypal\", \"Paypal\"], [\"scb_gateway\", \"SCB Gateway\"], [\"paysbuy\", \"Paysbuy\"]], \"search\": true, \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"paypal_url\": {\"string\": \"Server URL\", \"type\": \"selection\", \"selection\": [[\"test\", \"Test URL\"], [\"production\", \"Production URL\"]], \"store\": true}, \"paypal_user\": {\"string\": \"Username\", \"type\": \"char\", \"store\": true}, \"paypal_password\": {\"string\": \"Password\", \"type\": \"char\", \"store\": true}, \"paypal_signature\": {\"string\": \"Signature\", \"type\": \"char\", \"store\": true}, \"paysbuy_id\": {\"string\": \"Paysbuy ID\", \"type\": \"char\", \"store\": true}, \"paysbuy_username\": {\"string\": \"Username\", \"type\": \"char\", \"store\": true}, \"paysbuy_securecode\": {\"string\": \"Secure Code\", \"type\": \"char\", \"store\": true}, \"paysbuy_resp_back_url\": {\"string\": \"Response back URL\", \"type\": \"char\", \"store\": true}, \"paysbuy_url\": {\"string\": \"Server URL\", \"type\": \"selection\", \"selection\": [[\"test\", \"Test URL\"], [\"production\", \"Production URL\"]], \"store\": true}, \"scb_mid\": {\"string\": \"Merchant ID\", \"type\": \"char\", \"store\": true}, \"service_charge\": {\"string\": \"Service Charge\", \"type\": \"decimal\", \"store\": true}, \"scb_terminal\": {\"string\": \"Terminal ID\", \"type\": \"char\", \"store\": true}, \"scb_url\": {\"string\": \"Server URL\", \"type\": \"selection\", \"selection\": [[\"test\", \"Test URL\"], [\"production\", \"Production URL\"]], \"store\": true}, \"instructions\": {\"string\": \"Payment Instructions\", \"type\": \"text\", \"store\": true}, \"require_report\": {\"string\": \"Require Report\", \"type\": \"boolean\", \"store\": true}}}, \"custom.currency.rate\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"quotation\", \"Quotation\"], [\"sale.order\", \"Sales Order\"]], \"store\": true}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"required\": true, \"store\": true}, \"rate\": {\"string\": \"Rate\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}}}, \"account.balance\": {\"string\": \"Account Balance\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"required\": true, \"store\": true}, \"track_id\": {\"string\": \"Track-1\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"debit\": {\"string\": \"Debit\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"credit\": {\"string\": \"Credit\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"amount_cur\": {\"string\": \"Currency Amt\", \"type\": \"decimal\", \"store\": true}}}, \"account.invoice.tax\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"invoice_id\": {\"string\": \"Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"required\": true, \"store\": true}, \"tax_comp_id\": {\"string\": \"Tax Comp.\", \"type\": \"many2one\", \"relation\": \"account.tax.component\", \"required\": true, \"store\": true}, \"base_amount\": {\"string\": \"Base Amount\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"tax_amount\": {\"string\": \"Tax Amount\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"tax_no\": {\"string\": \"Tax No.\", \"type\": \"char\", \"store\": true}, \"tax_date\": {\"string\": \"Tax Date\", \"type\": \"date\", \"store\": true}}}, \"account.track.entry\": {\"string\": \"Tracking Entries\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"track_id\": {\"string\": \"Tracking Category\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"required\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"unit_price\": {\"string\": \"Unit Price\", \"type\": \"decimal\", \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"account.invoice\", \"Invoice\"], [\"stock.picking\", \"Stock Picking\"], [\"work.time\", \"Work Time\"], [\"expense.claim\", \"Expense Claim\"], [\"nd.order\", \"Delivery Order\"]], \"store\": true}, \"move_id\": {\"string\": \"Journal Entry\", \"type\": \"many2one\", \"relation\": \"account.move\", \"store\": true}, \"invoice_id\": {\"string\": \"Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"store\": true}}}, \"payment.term\": {\"string\": \"Payment Term\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"days\": {\"string\": \"Days\", \"type\": \"integer\", \"store\": true}}}, \"account.cheque\": {\"string\": \"Cheque\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Cheque Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"number\": {\"string\": \"Cheque Number\", \"type\": \"char\", \"required\": true, \"store\": true}, \"bank_id\": {\"string\": \"Bank\", \"type\": \"many2one\", \"relation\": \"bank\", \"store\": true}, \"branch\": {\"string\": \"Branch\", \"type\": \"char\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"waiting\", \"Waiting\"], [\"paid\", \"Paid\"]], \"required\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"account.payment\", \"Payment\"]], \"store\": true}, \"image\": {\"string\": \"Picture\", \"type\": \"file\", \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}}}, \"track.distrib\": {\"string\": \"Tracking Distribution\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_name\"}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"track.distrib.line\", \"relfield\": \"distrib_id\"}}}, \"track.distrib.line\": {\"string\": \"Tracking Distribution Line\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"distrib_id\": {\"string\": \"Distribution\", \"type\": \"many2one\", \"relation\": \"track.distrib\", \"required\": true, \"store\": true}, \"track_id\": {\"string\": \"Tracking Category\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"required\": true, \"store\": true}, \"ratio\": {\"string\": \"Ratio\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"percent\": {\"string\": \"Percent (%)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_percent\"}}}, \"bill.note\": {\"string\": \"Billing Note\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"customer_id\": {\"string\": \"Customer\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"search\": true, \"store\": true}, \"remarks\": {\"string\": \"Remarks\", \"type\": \"text\", \"store\": true}, \"amount_total\": {\"string\": \"Total Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"amount_due\": {\"string\": \"Due Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"invoices\": {\"string\": \"Customer Invoices\", \"type\": \"one2many\", \"relation\": \"account.invoice\", \"relfield\": \"bill_note_id\"}, \"payments\": {\"string\": \"Payments\", \"type\": \"one2many\", \"relation\": \"account.payment\", \"relfield\": \"related_id\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}}}, \"expense\": {\"string\": \"Expense\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"claim_id\": {\"string\": \"Expense Claim\", \"type\": \"many2one\", \"relation\": \"expense.claim\", \"search\": true, \"store\": true}, \"merchant\": {\"string\": \"Merchant Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"store\": true}, \"unit_price\": {\"string\": \"Unit Price\", \"type\": \"decimal\", \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [[\"type\", \"!=\", \"view\"]], \"store\": true}, \"tax_id\": {\"string\": \"Tax Rate\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"store\": true}, \"track_id\": {\"string\": \"Track-1\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"1\"]], \"store\": true}, \"track2_id\": {\"string\": \"Track-2\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"2\"]], \"store\": true}, \"supplier_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"contact\", \"condition\": [[\"supplier\", \"=\", true]], \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"required\": true, \"store\": true}, \"currency_rate\": {\"string\": \"Currency Rate\", \"type\": \"decimal\", \"store\": true}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"required\": true, \"search\": true, \"store\": true}, \"project_id\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"project\", \"store\": true}, \"image\": {\"string\": \"Image\", \"type\": \"file\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"categ_id\": {\"string\": \"Expense Category\", \"type\": \"many2one\", \"relation\": \"expense.categ\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [\"jc.job\", \"Job\"], \"store\": true}, \"invoice_id\": {\"string\": \"Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"store\": true}}}, \"expense.categ\": {\"string\": \"Expense Category\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Category Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"description\": {\"string\": \"Category Description\", \"type\": \"text\", \"store\": true}}}, \"expense.claim\": {\"string\": \"Expense Claim\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"contact_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"contact\", \"search\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"name\": {\"string\": \"Expense Claim Name\", \"type\": \"char\", \"store\": true}, \"date_from\": {\"string\": \"From Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"date_to\": {\"string\": \"To Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"ref\": {\"string\": \"Reference\", \"type\": \"char\", \"search\": true, \"store\": true}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"required\": true, \"search\": true, \"store\": true}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"required\": true, \"store\": true}, \"tax_type\": {\"string\": \"Tax Type\", \"type\": \"selection\", \"selection\": [[\"tax_ex\", \"Tax Exclusive\"], [\"tax_in\", \"Tax Inclusive\"], [\"no_tax\", \"No Tax\"]], \"required\": true, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"project\", \"Project\"], [\"job\", \"Service Order\"]], \"store\": true}, \"amount_total\": {\"string\": \"Total Expense Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"waiting_approval\", \"Waiting Approval\"], [\"approved\", \"Approved\"], [\"paid\", \"Paid\"], [\"declined\", \"Declined\"]], \"required\": true, \"readonly\": true, \"store\": true, \"function\": \"get_state\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"move_id\": {\"string\": \"Journal Entry\", \"type\": \"many2one\", \"relation\": \"account.move\", \"store\": true}, \"payment_lines\": {\"string\": \"Payments\", \"type\": \"one2many\", \"relation\": \"account.payment.line\", \"relfield\": \"expense_id\"}, \"project_id\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"project\", \"store\": true}, \"cash_advance\": {\"string\": \"Cash Advance\", \"type\": \"decimal\", \"store\": true}, \"cash_remain\": {\"string\": \"Cash Remaining\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_cash_remain\"}, \"expenses\": {\"string\": \"Expenses\", \"type\": \"one2many\", \"relation\": \"expense\", \"relfield\": \"claim_id\"}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"num_expenses\": {\"string\": \"Number Of Expenses\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_expenses\"}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"search\": true, \"store\": true}}}, \"tax.period\": {\"string\": \"Tax Period\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"date_from\": {\"string\": \"From Date\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"To Date\", \"type\": \"date\", \"store\": true}}}, \"payment.plan\": {\"string\": \"Payment Plan\", \"name_field\": \"description\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [], \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"char\", \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"invoice_id\": {\"string\": \"Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"store\": true}, \"period\": {\"string\": \"Periodicity\", \"type\": \"selection\", \"selection\": [[\"one\", \"One Time\"], [\"month\", \"Monthly\"], [\"year\", \"Yearly\"]], \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"waiting\", \"Waiting\"], [\"draft_invoice\", \"Draft Invoice Created\"], [\"invoice_sent\", \"Invoice Sent\"], [\"invoice_paid\", \"Invoice Paid\"]], \"readonly\": true, \"function\": \"get_state\"}}}, \"renum.inv\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"To Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"waiting_approval\", \"Waiting Approval\"], [\"waiting_payment\", \"Waiting Payment\"], [\"paid\", \"Paid\"], [\"voided\", \"Voided\"]], \"store\": true}, \"prefix\": {\"string\": \"Current Prefix\", \"type\": \"char\", \"required\": true, \"store\": true}, \"num_from\": {\"string\": \"From Number\", \"type\": \"integer\", \"store\": true}, \"num_to\": {\"string\": \"To Number\", \"type\": \"integer\", \"store\": true}, \"prefix_new\": {\"string\": \"New Prefix\", \"type\": \"char\", \"required\": true, \"store\": true}, \"padding\": {\"string\": \"Padding\", \"type\": \"integer\", \"store\": true}, \"start_num\": {\"string\": \"Starting Number\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"pay_methods\": {\"string\": \"Payment Methods\", \"type\": \"many2many\", \"relation\": \"payment.method\"}, \"min_amount\": {\"string\": \"Min Amount\", \"type\": \"decimal\", \"store\": true}}}, \"report.receivable\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"report.payable\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"report.aged.payables\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"period_days\": {\"string\": \"Period Days\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"num_periods\": {\"string\": \"Number of Periods\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [[\"type\", \"=\", \"receivable\"]], \"store\": true}}}, \"report.aged.receivables\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"period_days\": {\"string\": \"Period Days\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"num_periods\": {\"string\": \"Number of Periods\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [[\"type\", \"=\", \"receivable\"]], \"store\": true}}}, \"report.invoice\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"report.accounts\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"report.profit.loss\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"store\": true}, \"compare_with\": {\"string\": \"Compare With\", \"type\": \"selection\", \"selection\": [[\"month\", \"Previous Month\"], [\"quarter\", \"Previous Quarter\"], [\"year\", \"Previous Year\"]], \"store\": true}, \"compare_periods\": {\"string\": \"Compare Periods\", \"type\": \"selection\", \"selection\": [[\"1\", \"Previous 1 Period\"], [\"2\", \"Previous 2 Periods\"], [\"3\", \"Previous 3 Periods\"], [\"4\", \"Previous 4 Periods\"], [\"5\", \"Previous 5 Periods\"], [\"6\", \"Previous 6 Periods\"], [\"7\", \"Previous 7 Periods\"], [\"8\", \"Previous 8 Periods\"], [\"9\", \"Previous 9 Periods\"], [\"10\", \"Previous 10 Periods\"], [\"11\", \"Previous 11 Periods\"]], \"store\": true}, \"track_id\": {\"string\": \"Tracking\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"track2_id\": {\"string\": \"Tracking-2\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"store\": true}, \"show_ytd\": {\"string\": \"Show YTD\", \"type\": \"boolean\", \"store\": true}, \"convert_currency\": {\"string\": \"Convert Currency\", \"type\": \"boolean\", \"store\": true}, \"account_id\": {\"string\": \"Parent Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}}}, \"report.balance.sheet\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Balance Date\", \"type\": \"date\", \"store\": true}, \"compare_with\": {\"string\": \"Compare With\", \"type\": \"selection\", \"selection\": [[\"month\", \"Previous Month\"], [\"year\", \"Previous Year\"]], \"store\": true}, \"compare_periods\": {\"string\": \"Compare Periods\", \"type\": \"selection\", \"selection\": [[\"1\", \"Previous 1 Period\"], [\"2\", \"Previous 2 Periods\"], [\"3\", \"Previous 3 Periods\"], [\"4\", \"Previous 4 Periods\"], [\"5\", \"Previous 5 Periods\"], [\"6\", \"Previous 6 Periods\"], [\"7\", \"Previous 7 Periods\"], [\"8\", \"Previous 8 Periods\"], [\"9\", \"Previous 9 Periods\"], [\"10\", \"Previous 10 Periods\"], [\"11\", \"Previous 11 Periods\"]], \"store\": true}, \"track_id\": {\"string\": \"Tracking\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"track2_id\": {\"string\": \"Tracking\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"convert_currency\": {\"string\": \"Convert Currency\", \"type\": \"boolean\", \"store\": true}}}, \"report.tb\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"track_id\": {\"string\": \"Tracking\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"track2_id\": {\"string\": \"Tracking-2\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"show_period_totals\": {\"string\": \"Show Period Totals\", \"type\": \"boolean\", \"store\": true}}}, \"report.gl\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"store\": true}, \"select_type\": {\"string\": \"Select Accounts\", \"type\": \"selection\", \"selection\": [[\"all\", \"All\"], [\"range\", \"Account Range\"], [\"list\", \"Account List\"]], \"store\": true}, \"account_from_id\": {\"string\": \"From Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"account_to_id\": {\"string\": \"To Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"accounts\": {\"string\": \"Account List\", \"type\": \"text\", \"store\": true}, \"track_id\": {\"string\": \"Tracking\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"journal_id\": {\"string\": \"Journal\", \"type\": \"many2one\", \"relation\": \"account.journal\", \"store\": true}}}, \"report.gl.details\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"store\": true}, \"select_type\": {\"string\": \"Select Accounts\", \"type\": \"selection\", \"selection\": [[\"all\", \"All\"], [\"range\", \"Account Range\"], [\"list\", \"Account List\"]], \"store\": true}, \"account_from_id\": {\"string\": \"From Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"account_to_id\": {\"string\": \"To Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"accounts\": {\"string\": \"Account List\", \"type\": \"text\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"track_id\": {\"string\": \"Tracking\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"track2_id\": {\"string\": \"Tracking-2\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"hide_zero\": {\"string\": \"Hide zero lines\", \"type\": \"boolean\", \"store\": true}, \"hide_reconciled\": {\"string\": \"Hide Reconciled\", \"type\": \"boolean\", \"store\": true}}}, \"report.account.trans\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [[\"type\", \"!=\", \"view\"]], \"required\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"track_id\": {\"string\": \"Tracking\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"track2_id\": {\"string\": \"Tracking-2\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"char\", \"store\": true}, \"cash_basis\": {\"string\": \"Cash Basis\", \"type\": \"boolean\", \"store\": true}}}, \"report.account.sum\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [[\"type\", \"!=\", \"view\"]], \"required\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"track_id\": {\"string\": \"Tracking\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"track2_id\": {\"string\": \"Tracking-2\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}}}, \"report.journal\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"store\": true}, \"journal_id\": {\"string\": \"Journal\", \"type\": \"many2one\", \"relation\": \"account.journal\", \"store\": true}, \"ref\": {\"string\": \"Reference\", \"type\": \"char\", \"store\": true}, \"filter_by\": {\"string\": \"Filter By\", \"type\": \"selection\", \"selection\": [[\"date\", \"Journal date\"], [\"date_posted\", \"Journal posted date\"]], \"store\": true}, \"order_by\": {\"string\": \"Order By\", \"type\": \"selection\", \"selection\": [[\"number\", \"Journal number\"], [\"date\", \"Journal date\"], [\"date_posted\", \"Journal posted date\"]], \"store\": true}, \"hide_zero\": {\"string\": \"Hide zero lines\", \"type\": \"boolean\", \"store\": true}}}, \"report.bank.sum\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"store\": true}}}, \"report.cash.sum\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"Date From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"Date To\", \"type\": \"date\", \"store\": true}, \"report_action\": {\"string\": \"Report Action\", \"type\": \"json\", \"readonly\": true, \"function\": \"get_action\"}}}, \"report.tax.sum\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"store\": true}, \"by_rate\": {\"string\": \"Show by Tax Rate\", \"type\": \"boolean\", \"store\": true}, \"by_comp\": {\"string\": \"Show by Tax Component\", \"type\": \"boolean\", \"store\": true}}}, \"report.tax.audit\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"tax_comp_id\": {\"string\": \"Tax Component\", \"type\": \"many2one\", \"relation\": \"account.tax.component\", \"store\": true}, \"tax_type\": {\"string\": \"Tax Type\", \"type\": \"selection\", \"selection\": [[\"vat\", \"SST\"], [\"vat_exempt\", \"SST Exempt\"], [\"vat_defer\", \"Deferred SST\"], [\"wht\", \"Withholding Tax\"], [\"specific_business\", \"Specific Business Tax\"]], \"required\": true, \"store\": true}, \"trans_type\": {\"string\": \"Transaction Type\", \"type\": \"selection\", \"selection\": [[\"out\", \"Sale\"], [\"in\", \"Purchase\"]], \"required\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"required\": true, \"store\": true}}}, \"report.tax.month\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"required\": true, \"store\": true}, \"tax_type\": {\"string\": \"Tax Type\", \"type\": \"selection\", \"selection\": [[\"vat\", \"SST\"], [\"vat_exempt\", \"SST Exempt\"], [\"vat_defer\", \"Deferred SST\"], [\"wht\", \"Withholding Tax\"]], \"store\": true}, \"trans_type\": {\"string\": \"Transaction Type\", \"type\": \"selection\", \"selection\": [[\"out\", \"Sale\"], [\"in\", \"Purchase\"]], \"store\": true}}}, \"report.sale.product\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"required\": true, \"store\": true}}}, \"report.product.sales\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"store\": true}}}, \"report.income.contact\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"store\": true}}}, \"report.expense.contact\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"store\": true}}}, \"report.cust.invoice\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"show_details\": {\"string\": \"Show Details\", \"type\": \"boolean\", \"store\": true}}}, \"report.supp.invoice\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"show_details\": {\"string\": \"Show Details\", \"type\": \"boolean\", \"store\": true}}}, \"report.bank.rec\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [[\"type\", \"in\", [\"bank\", \"cash\", \"cheque\"]]], \"required\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}}}, \"report.reconcile\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [[\"type\", \"in\", [\"bank\", \"cash\", \"cheque\"]]], \"required\": true, \"store\": true}, \"date_from\": {\"string\": \"From Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"To Date\", \"type\": \"date\", \"required\": true, \"store\": true}}}, \"report.ar.details\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"period_days\": {\"string\": \"Period Days\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"num_periods\": {\"string\": \"Number of Periods\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [[\"type\", \"=\", \"receivable\"]], \"store\": true}}}, \"report.ap.details\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"period_days\": {\"string\": \"Period Days\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"num_periods\": {\"string\": \"Number of Periods\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [[\"type\", \"=\", \"receivable\"]], \"store\": true}}}, \"report.dep.schedule\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"required\": true, \"store\": true}, \"track_id\": {\"string\": \"Tracking\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}}}, \"report.tb.details\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"track_id\": {\"string\": \"Tracking\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"track2_id\": {\"string\": \"Tracking-2\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}}}, \"report.cust.inv\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"waiting_approval\", \"Waiting Approval\"], [\"waiting_payment\", \"Waiting Payment\"], [\"paid\", \"Paid\"], [\"voided\", \"Voided\"]], \"store\": true}}}, \"report.account.sale\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"required\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [[\"type\", \"in\", [\"revenue\", \"other_income\"]]], \"store\": true}}}, \"report.account.purchase\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"required\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [[\"type\", \"in\", [\"cost_sales\", \"expense\", \"other_expense\"]]], \"store\": true}}}, \"report.cash.flow\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"store\": true}}}, \"report.currency\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From Date\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"To Date\", \"type\": \"date\", \"store\": true}}}, \"report.track.budget\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"track_id\": {\"string\": \"Tracking\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"contact_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}}}, \"project\": {\"string\": \"Project\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Project Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"number\": {\"string\": \"Project Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"contact_id\": {\"string\": \"Customer\", \"type\": \"many2one\", \"relation\": \"contact\", \"search\": true, \"store\": true}, \"start_date\": {\"string\": \"Start Date\", \"type\": \"date\", \"store\": true}, \"end_date\": {\"string\": \"End Date (Expected)\", \"type\": \"date\", \"store\": true}, \"end_date_actual\": {\"string\": \"End Date (Actual)\", \"type\": \"date\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"in_progress\", \"In Progress\"], [\"done\", \"Completed\"], [\"canceled\", \"Canceled\"]], \"required\": true, \"store\": true}, \"jobs\": {\"string\": \"Jobs\", \"type\": \"one2many\", \"relation\": \"job\", \"relfield\": \"project_id\"}, \"tasks\": {\"string\": \"Tasks\", \"type\": \"one2many\", \"relation\": \"task\", \"relfield\": \"project_id\"}, \"work_time\": {\"string\": \"Work Time\", \"type\": \"one2many\", \"relation\": \"work.time\", \"relfield\": \"job_id\"}, \"claims\": {\"string\": \"Claim Bills\", \"type\": \"one2many\", \"relation\": \"product.claim\", \"relfield\": \"project_id\"}, \"borrows\": {\"string\": \"Borrow Requests\", \"type\": \"one2many\", \"relation\": \"product.borrow\", \"relfield\": \"project_id\"}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"issues\": {\"string\": \"Issues\", \"type\": \"one2many\", \"relation\": \"issue\", \"relfield\": \"project_id\"}, \"resources\": {\"string\": \"Resources\", \"type\": \"many2many\", \"relation\": \"service.resource\"}, \"milestones\": {\"string\": \"Milestones\", \"type\": \"one2many\", \"relation\": \"project.milestone\", \"relfield\": \"project_id\"}, \"sale_price\": {\"string\": \"Sales Price\", \"type\": \"decimal\", \"store\": true}, \"track_id\": {\"string\": \"Actual Cost Tracking Code\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"track_entries\": {\"string\": \"Tracking Entries\", \"type\": \"one2many\", \"relation\": \"account.track.entry\", \"relfield\": null, \"function\": \"get_track_entries\"}, \"cost_amount\": {\"string\": \"Cost Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_profit\"}, \"profit_amount\": {\"string\": \"Profit Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_profit\"}, \"margin_percent\": {\"string\": \"Margin %\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_profit\"}, \"sale_orders\": {\"string\": \"Sales Orders\", \"type\": \"one2many\", \"relation\": \"sale.order\", \"relfield\": \"project_id\"}, \"sale_order_id\": {\"string\": \"Sales Order\", \"type\": \"many2one\", \"relation\": \"sale.order\", \"readonly\": true, \"function\": \"get_sale_order\"}, \"invoices\": {\"string\": \"Invoices\", \"type\": \"one2many\", \"relation\": \"account.invoice\", \"relfield\": \"related_id\"}, \"amount_invoice\": {\"string\": \"Invoiced Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount_invoice\"}, \"amount_paid\": {\"string\": \"Paid Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount_invoice\"}, \"amount_unpaid\": {\"string\": \"Unpaid Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount_invoice\"}, \"total_area\": {\"string\": \"Total Area (sqm)\", \"type\": \"decimal\", \"store\": true}, \"sale_price_area\": {\"string\": \"Price Per Sqm\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_sale_price_area\"}, \"sale_categ_id\": {\"string\": \"Sales Category\", \"type\": \"many2one\", \"relation\": \"sale.categ\", \"search\": true, \"store\": true}, \"other_price\": {\"string\": \"Other Price\", \"type\": \"decimal\", \"store\": true}, \"support_email\": {\"string\": \"Support Email\", \"type\": \"char\", \"store\": true}}}, \"service.item\": {\"string\": \"Service Item\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"search\": true, \"store\": true}, \"serial_no\": {\"string\": \"Serial No.\", \"type\": \"char\", \"search\": true, \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"contact_id\": {\"string\": \"Customer\", \"type\": \"many2one\", \"relation\": \"contact\", \"search\": true, \"store\": true}, \"project_id\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"project\", \"search\": true, \"store\": true}, \"priority\": {\"string\": \"Priority\", \"type\": \"selection\", \"selection\": [[\"low\", \"Low\"], [\"medium\", \"Medium\"], [\"high\", \"High\"]], \"store\": true}, \"location\": {\"string\": \"Location of Service Item\", \"type\": \"char\", \"store\": true}, \"cost_price\": {\"string\": \"Sales Unit Cost\", \"type\": \"decimal\", \"store\": true}, \"sale_price\": {\"string\": \"Sales Unit Price\", \"type\": \"decimal\", \"store\": true}, \"sale_date\": {\"string\": \"Sales Date\", \"type\": \"date\", \"store\": true}, \"job_items\": {\"string\": \"Service Order Items\", \"type\": \"one2many\", \"relation\": \"job.item\", \"relfield\": \"service_item_id\"}, \"jobs\": {\"string\": \"Service Orders\", \"type\": \"many2many\", \"relation\": \"job\", \"readonly\": true, \"function\": \"get_jobs\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"components\": {\"string\": \"Components\", \"type\": \"one2many\", \"relation\": \"service.item\", \"relfield\": \"parent_id\"}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"parent_id\": {\"string\": \"Parent\", \"type\": \"many2one\", \"relation\": \"service.item\", \"store\": true}, \"arrival_date\": {\"string\": \"Arrival Date\", \"type\": \"date\", \"store\": true}, \"arrival_inspection_date\": {\"string\": \"Arrival Inspection Date\", \"type\": \"date\", \"store\": true}, \"commission_date\": {\"string\": \"Commissioning Date\", \"type\": \"date\", \"store\": true}, \"warranty_exp_date\": {\"string\": \"Warranty Exp. Date\", \"type\": \"date\", \"store\": true}, \"last_service_date\": {\"string\": \"Next Planned Service Date\", \"type\": \"date\", \"readonly\": true, \"function\": \"get_last_service_date\"}, \"notes\": {\"string\": \"Notes\", \"type\": \"text\", \"store\": true}, \"last_counter\": {\"string\": \"Last Counter\", \"type\": \"integer\", \"store\": true}, \"last_counter_date\": {\"string\": \"Last Counter Date\", \"type\": \"date\", \"store\": true}, \"est_counter_per_year\": {\"string\": \"Estimated Counter Per Year\", \"type\": \"integer\", \"store\": true}, \"est_counter\": {\"string\": \"Estimated Current Counter\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_est_counter\"}, \"job_templates\": {\"string\": \"Service Order Templates\", \"type\": \"many2many\", \"relation\": \"job.template\"}, \"industry_id\": {\"string\": \"Industry\", \"type\": \"many2one\", \"relation\": \"industry\", \"search\": true, \"store\": true}, \"application_id\": {\"string\": \"Application\", \"type\": \"many2one\", \"relation\": \"service.application\", \"search\": true, \"store\": true}, \"addresses\": {\"string\": \"Addresses\", \"type\": \"one2many\", \"relation\": \"address\", \"relfield\": \"related_id\"}, \"last_job_id\": {\"string\": \"Last Job\", \"type\": \"many2one\", \"relation\": \"job\", \"readonly\": true, \"function\": \"get_last_job\"}, \"product_categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"brand_id\": {\"string\": \"Product Brand\", \"type\": \"many2one\", \"relation\": \"product.brand\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"active\", \"Active\"], [\"stock\", \"Stock\"]], \"search\": true, \"store\": true}, \"year\": {\"string\": \"Year\", \"type\": \"char\"}, \"quarter\": {\"string\": \"Quarter\", \"type\": \"char\"}, \"month\": {\"string\": \"Month\", \"type\": \"char\"}, \"week\": {\"string\": \"Week\", \"type\": \"char\"}}}, \"job\": {\"string\": \"Service Order\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"project_id\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"project\", \"search\": true, \"store\": true}, \"contact_id\": {\"string\": \"Customer\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"search\": true, \"store\": true}, \"template_id\": {\"string\": \"Template\", \"type\": \"many2one\", \"relation\": \"job.template\", \"store\": true}, \"service_type_id\": {\"string\": \"Service Type\", \"type\": \"many2one\", \"relation\": \"service.type\", \"search\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"name\": {\"string\": \"Order Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"number\": {\"string\": \"Order Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"due_date\": {\"string\": \"Due Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"close_date\": {\"string\": \"Close Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"priority\": {\"string\": \"Priority\", \"type\": \"selection\", \"selection\": [[\"low\", \"Low\"], [\"medium\", \"Medium\"], [\"high\", \"High\"]], \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"planned\", \"Planned\"], [\"allocated\", \"Allocated\"], [\"in_progress\", \"In Progress\"], [\"done\", \"Completed\"], [\"verified\", \"Verified\"], [\"canceled\", \"Canceled\"]], \"required\": true, \"store\": true}, \"overdue\": {\"string\": \"Overdue\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_overdue\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"tasks\": {\"string\": \"Tasks\", \"type\": \"one2many\", \"relation\": \"task\", \"relfield\": \"job_id\"}, \"days_late\": {\"string\": \"Days Late\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_days_late\"}, \"user_id\": {\"string\": \"Assigned To\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"resource_id\": {\"string\": \"Assigned Resource\", \"type\": \"many2one\", \"relation\": \"service.resource\", \"search\": true, \"store\": true}, \"skill_level_id\": {\"string\": \"Required Skill Level\", \"type\": \"many2one\", \"relation\": \"skill.level\", \"search\": true, \"store\": true}, \"request_by_id\": {\"string\": \"Requested By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"user_board_id\": {\"string\": \"User\", \"type\": \"boolean\"}, \"sharing\": {\"string\": \"Sharing\", \"type\": \"one2many\", \"relation\": \"share.record\", \"relfield\": \"related_id\"}, \"invoice_no\": {\"string\": \"Invoice No.\", \"type\": \"char\", \"store\": true}, \"shared_board\": {\"string\": \"Shared\", \"type\": \"boolean\"}, \"quotation_id\": {\"string\": \"Quotation\", \"type\": \"many2one\", \"relation\": \"sale.quot\", \"store\": true}, \"cancel_reason\": {\"string\": \"Cancel Reason\", \"type\": \"text\", \"store\": true}, \"cancel_periodic\": {\"string\": \"Cancel Periodic\", \"type\": \"boolean\", \"store\": true}, \"next_job_id\": {\"string\": \"Next Order\", \"type\": \"many2one\", \"relation\": \"job\", \"store\": true}, \"emails\": {\"string\": \"Emails\", \"type\": \"one2many\", \"relation\": \"email.message\", \"relfield\": \"related_id\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"invoices\": {\"string\": \"Invoices\", \"type\": \"one2many\", \"relation\": \"account.invoice\", \"relfield\": \"related_id\"}, \"bill_amount\": {\"string\": \"Billable Amount\", \"type\": \"decimal\", \"store\": true}, \"invoice_id\": {\"string\": \"Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"store\": true}, \"is_duplicate\": {\"string\": \"Duplicate\", \"type\": \"boolean\", \"store\": true}, \"work_time\": {\"string\": \"Work Time\", \"type\": \"one2many\", \"relation\": \"work.time\", \"relfield\": \"job_id\"}, \"pickings\": {\"string\": \"Pickings\", \"type\": \"one2many\", \"relation\": \"stock.picking\", \"relfield\": \"related_id\"}, \"stock_moves\": {\"string\": \"Stock Movements\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"related_id\"}, \"parts\": {\"string\": \"Parts\", \"type\": \"one2many\", \"relation\": \"job.part\", \"relfield\": \"job_id\"}, \"other_costs\": {\"string\": \"Other Costs\", \"type\": \"one2many\", \"relation\": \"job.cost\", \"relfield\": \"job_id\"}, \"items\": {\"string\": \"Service Items\", \"type\": \"one2many\", \"relation\": \"job.item\", \"relfield\": \"job_id\"}, \"allocs\": {\"string\": \"Resource Allocations\", \"type\": \"one2many\", \"relation\": \"service.resource.alloc\", \"relfield\": \"job_id\"}, \"time_start\": {\"string\": \"Planned Start Time\", \"type\": \"datetime\", \"store\": true}, \"time_stop\": {\"string\": \"Planned Stop Time\", \"type\": \"datetime\", \"store\": true}, \"location_id\": {\"string\": \"Job Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.order\", \"Sales Order\"], [\"rental.order\", \"Rental Order\"], [\"issue\", \"Issue\"]], \"store\": true}, \"lines\": {\"string\": \"Worksheet\", \"type\": \"one2many\", \"relation\": \"job.line\", \"relfield\": \"job_id\"}, \"complaints\": {\"string\": \"Complaints\", \"type\": \"text\", \"store\": true}, \"cause\": {\"string\": \"Cause\", \"type\": \"text\", \"store\": true}, \"correction\": {\"string\": \"Correction\", \"type\": \"text\", \"store\": true}, \"amount_total\": {\"string\": \"Total Selling\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"amount_contract\": {\"string\": \"Included In Contract\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"amount_job\": {\"string\": \"Not Included In Contract\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"date_open\": {\"string\": \"Actual Start\", \"type\": \"datetime\", \"store\": true}, \"date_close\": {\"string\": \"Actual Stop\", \"type\": \"datetime\", \"store\": true}, \"labor_cost\": {\"string\": \"Labor Cost\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_cost\"}, \"part_cost\": {\"string\": \"Parts Cost\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_cost\"}, \"other_cost\": {\"string\": \"Other Cost\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_cost\"}, \"total_cost\": {\"string\": \"Total Cost\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_cost\"}, \"labor_sell\": {\"string\": \"Labor Selling\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_sell\"}, \"part_sell\": {\"string\": \"Parts Selling\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_sell\"}, \"other_sell\": {\"string\": \"Other Selling\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_sell\"}, \"done_approved_by_id\": {\"string\": \"Approved By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"readonly\": true, \"store\": true}, \"multi_visit_code_id\": {\"string\": \"Multi Visit Reason Code\", \"type\": \"many2one\", \"relation\": \"reason.code\", \"condition\": [[\"type\", \"=\", \"service_multi_visit\"]], \"store\": true}, \"late_response_code_id\": {\"string\": \"Late Response Reason Code\", \"type\": \"many2one\", \"relation\": \"reason.code\", \"condition\": [[\"type\", \"=\", \"service_late_response\"]], \"store\": true}, \"year\": {\"string\": \"Year\", \"type\": \"char\"}, \"quarter\": {\"string\": \"Quarter\", \"type\": \"char\"}, \"month\": {\"string\": \"Month\", \"type\": \"char\"}, \"week\": {\"string\": \"Week\", \"type\": \"char\"}, \"activities\": {\"string\": \"Activities\", \"type\": \"one2many\", \"relation\": \"activity\", \"relfield\": \"related_id\"}, \"track_id\": {\"string\": \"Tracking Code\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"track_entries\": {\"string\": \"Tracking Entries\", \"type\": \"one2many\", \"relation\": \"account.track.entry\", \"relfield\": null, \"function\": \"get_track_entries\"}, \"track_balance\": {\"string\": \"Tracking Balance\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_related\"}}}, \"job.item\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"job_id\": {\"string\": \"Service Order\", \"type\": \"many2one\", \"relation\": \"job\", \"required\": true, \"store\": true}, \"service_item_id\": {\"string\": \"Service Item\", \"type\": \"many2one\", \"relation\": \"service.item\", \"required\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"fault_code_id\": {\"string\": \"Fault Code\", \"type\": \"many2one\", \"relation\": \"fault.code\", \"store\": true}, \"fault_reason_id\": {\"string\": \"Fault Code\", \"type\": \"many2one\", \"relation\": \"reason.code\", \"condition\": [[\"type\", \"=\", \"fault\"]], \"store\": true}, \"counter\": {\"string\": \"Counter\", \"type\": \"integer\", \"store\": true}}}, \"job.part\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"job_id\": {\"string\": \"Job\", \"type\": \"many2one\", \"relation\": \"job\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"qty_planned\": {\"string\": \"Planned Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"location_id\": {\"string\": \"From Warehouse\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"required\": true, \"store\": true}, \"qty_issued\": {\"string\": \"Issued Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_issued\"}, \"unit_price\": {\"string\": \"Sale Unit Price\", \"type\": \"decimal\", \"store\": true}, \"amount\": {\"string\": \"Sale Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}}}, \"job.cost\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"job_id\": {\"string\": \"Job\", \"type\": \"many2one\", \"relation\": \"job\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"unit_price\": {\"string\": \"Unit Price\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}}}, \"task\": {\"string\": \"Task\", \"name_field\": \"title\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"date_created\": {\"string\": \"Date Created\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"project_id\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"project\", \"required\": true, \"search\": true, \"store\": true}, \"milestone_id\": {\"string\": \"Milestone\", \"type\": \"many2one\", \"relation\": \"project.milestone\", \"search\": true, \"store\": true}, \"task_list_id\": {\"string\": \"Task List\", \"type\": \"many2one\", \"relation\": \"task.list\", \"search\": true, \"store\": true}, \"job_id\": {\"string\": \"Service Order\", \"type\": \"many2one\", \"relation\": \"job\", \"search\": true, \"store\": true}, \"contact_id\": {\"string\": \"Customer\", \"type\": \"many2one\", \"relation\": \"contact\", \"readonly\": true, \"function\": \"_get_related\"}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"search\": true, \"store\": true}, \"progress\": {\"string\": \"Progress (%)\", \"type\": \"integer\", \"store\": true}, \"date_start\": {\"string\": \"Start Date\", \"type\": \"date\", \"store\": true}, \"date_end\": {\"string\": \"End Date\", \"type\": \"date\", \"readonly\": true, \"store\": true, \"function\": \"get_end_date\"}, \"duration\": {\"string\": \"Duration (Days)\", \"type\": \"integer\", \"store\": true}, \"due_date\": {\"string\": \"Due Date\", \"type\": \"date\", \"store\": true}, \"done_date\": {\"string\": \"Completion Date\", \"type\": \"date\", \"store\": true}, \"resource_id\": {\"string\": \"Assigned To\", \"type\": \"many2one\", \"relation\": \"service.resource\", \"store\": true}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"emails\": {\"string\": \"Emails\", \"type\": \"one2many\", \"relation\": \"email.message\", \"relfield\": \"related_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"text\", \"store\": true}, \"messages\": {\"string\": \"Messages\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"open\", \"Open\"], [\"closed\", \"Closed\"], [\"reviewed\", \"Reviewed\"]], \"required\": true, \"search\": true, \"store\": true}, \"depends\": {\"string\": \"Task Dependencies\", \"type\": \"one2many\", \"relation\": \"task.depend\", \"relfield\": \"task_id\"}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"job\", \"Job\"]], \"store\": true}, \"depends_json\": {\"string\": \"Task Dependencies (String)\", \"type\": \"text\", \"readonly\": true, \"function\": \"get_depends_json\"}, \"assignments\": {\"string\": \"Assignments\", \"type\": \"one2many\", \"relation\": \"task.assign\", \"relfield\": \"task_id\"}, \"actual_hours\": {\"string\": \"Time Spent (Hours)\", \"type\": \"decimal\", \"scale\": 4, \"store\": true}, \"timer_start\": {\"string\": \"Timer Start\", \"type\": \"datetime\", \"store\": true}, \"plan_hours\": {\"string\": \"Time Budget (Hours)\", \"type\": \"decimal\", \"store\": true}, \"image\": {\"string\": \"Image\", \"type\": \"file\", \"store\": true}, \"details\": {\"string\": \"Details\", \"type\": \"text\", \"search\": true, \"store\": true}, \"priority\": {\"string\": \"Priority\", \"type\": \"selection\", \"selection\": [[\"low\", \"Low\"], [\"medium\", \"Medium\"], [\"high\", \"High\"]], \"store\": true}, \"close_date\": {\"string\": \"Close Date\", \"type\": \"date\", \"store\": true}, \"time_budget\": {\"string\": \"Time Budget (Max Billable Hours)\", \"type\": \"decimal\", \"store\": true}}}, \"task.assign\": {\"string\": \"Task Assignment\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"task_id\": {\"string\": \"Task\", \"type\": \"many2one\", \"relation\": \"task\", \"required\": true, \"search\": true, \"store\": true}, \"resource_id\": {\"string\": \"Assigned To\", \"type\": \"many2one\", \"relation\": \"service.resource\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"est_hours\": {\"string\": \"Est. Workload (hours)\", \"type\": \"decimal\", \"store\": true}}}, \"task.depend\": {\"string\": \"Task Dependency\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"task_id\": {\"string\": \"Task\", \"type\": \"many2one\", \"relation\": \"task\", \"required\": true, \"store\": true}, \"prev_task_id\": {\"string\": \"Previous Task\", \"type\": \"many2one\", \"relation\": \"task\", \"required\": true, \"store\": true}, \"delay\": {\"string\": \"Delay (Days)\", \"type\": \"integer\", \"store\": true}}}, \"task.list\": {\"string\": \"Task List\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"date_created\": {\"string\": \"Date Created\", \"type\": \"date\", \"required\": true, \"store\": true}, \"project_id\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"project\", \"store\": true}, \"milestone_id\": {\"string\": \"Milestone\", \"type\": \"many2one\", \"relation\": \"project.milestone\", \"store\": true}, \"tasks\": {\"string\": \"Tasks\", \"type\": \"one2many\", \"relation\": \"task\", \"relfield\": \"task_list_id\"}}}, \"job.template\": {\"string\": \"Service Order Template\", \"name_field\": \"name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Template Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"period_type\": {\"string\": \"Period Type\", \"type\": \"selection\", \"selection\": [[\"month\", \"Month\"], [\"counter\", \"Service Item Counter\"]], \"store\": true}, \"period_value\": {\"string\": \"Period Value\", \"type\": \"integer\", \"store\": true}, \"lines\": {\"string\": \"Worksheet\", \"type\": \"one2many\", \"relation\": \"job.template.line\", \"relfield\": \"job_template_id\"}, \"amount_total\": {\"string\": \"Total Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"amount_labor\": {\"string\": \"Labor Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"amount_part\": {\"string\": \"Parts Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"amount_other\": {\"string\": \"Other Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"service_type_id\": {\"string\": \"Service Type\", \"type\": \"many2one\", \"relation\": \"service.type\", \"store\": true}, \"skill_level_id\": {\"string\": \"Skill Level\", \"type\": \"many2one\", \"relation\": \"skill.level\", \"search\": true, \"store\": true}}}, \"task.template\": {\"string\": \"Task Template\", \"name_field\": \"description\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"job_template_id\": {\"string\": \"Job Template\", \"type\": \"many2one\", \"relation\": \"job.template\", \"store\": true}, \"task_list_template_id\": {\"string\": \"Task List Template\", \"type\": \"many2one\", \"relation\": \"task.list.template\", \"required\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"required\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"duration\": {\"string\": \"Duration (Days)\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"start_after\": {\"string\": \"Start After (Days)\", \"type\": \"integer\", \"store\": true}}}, \"task.list.template\": {\"string\": \"Task List Template\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"task_templates\": {\"string\": \"Task Templates\", \"type\": \"one2many\", \"relation\": \"task.template\", \"relfield\": \"task_list_template_id\"}}}, \"work.time\": {\"string\": \"Work Time\", \"name_field\": \"date\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"resource_id\": {\"string\": \"Resource\", \"type\": \"many2one\", \"relation\": \"service.resource\", \"required\": true, \"search\": true, \"store\": true}, \"resource_type\": {\"string\": \"Resource Type\", \"type\": \"selection\", \"selection\": [[\"person\", \"Person\"], [\"machine\", \"Machine\"]], \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"project_id\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"project\", \"required\": true, \"search\": true, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"job\", \"Service Order\"], [\"sale.order\", \"Sales Order\"], [\"rental.order\", \"Rental Order\"]], \"search\": true, \"store\": true}, \"job_id\": {\"string\": \"Service Order\", \"type\": \"many2one\", \"relation\": \"job\", \"search\": true, \"store\": true}, \"service_item_id\": {\"string\": \"Service Item\", \"type\": \"many2one\", \"relation\": \"service.item\", \"store\": true}, \"service_type_id\": {\"string\": \"Service Type\", \"type\": \"many2one\", \"relation\": \"service.type\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"actual_hours\": {\"string\": \"Actual Hours\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"bill_hours\": {\"string\": \"Billable Hours\", \"type\": \"decimal\", \"store\": true}, \"work_type_id\": {\"string\": \"Work Type\", \"type\": \"many2one\", \"relation\": \"work.type\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"week\": {\"string\": \"Week\", \"type\": \"date\", \"readonly\": true, \"store\": true, \"function\": \"get_week\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"is_today\": {\"string\": \"Today\", \"type\": \"boolean\"}, \"is_this_week\": {\"string\": \"This Week\", \"type\": \"boolean\"}, \"is_last_week\": {\"string\": \"Last Week\", \"type\": \"boolean\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"waiting_approval\", \"Waiting Approval\"], [\"approved\", \"Approved\"], [\"rejected\", \"Rejected\"]], \"required\": true, \"store\": true}, \"agg_actual_hours_total\": {\"string\": \"Actual Hours Total\", \"type\": \"decimal\"}, \"agg_bill_hours_total\": {\"string\": \"Billable Hours Total\", \"type\": \"decimal\"}, \"track_entries\": {\"string\": \"Tracking Entries\", \"type\": \"one2many\", \"relation\": \"account.track.entry\", \"relfield\": \"related_id\"}, \"track_id\": {\"string\": \"Tracking\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"readonly\": true, \"function\": \"get_track_categ\"}, \"cost_amount\": {\"string\": \"Cost Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_cost_amount\"}, \"invoice_id\": {\"string\": \"Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"store\": true}, \"timer_start\": {\"string\": \"Timer Start\", \"type\": \"datetime\", \"store\": true}}}, \"work.type\": {\"string\": \"Work Type\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"fault.code\": {\"string\": \"Fault Code\", \"name_field\": \"code\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"code\": {\"string\": \"Fault Code\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"char\", \"search\": true, \"store\": true}}}, \"service.type\": {\"string\": \"Service Type\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"search\": true, \"store\": true}, \"parent_id\": {\"string\": \"Parent\", \"type\": \"many2one\", \"relation\": \"service.type\", \"store\": true}}}, \"time.sheet\": {\"string\": \"Time Sheet\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"search\": true, \"store\": true}, \"resource_id\": {\"string\": \"Resource\", \"type\": \"many2one\", \"relation\": \"service.resource\", \"required\": true, \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"waiting_approval\", \"Waiting Approval\"], [\"approved\", \"Approved\"], [\"rejected\", \"Rejected\"]], \"required\": true, \"search\": true, \"store\": true}, \"work_time\": {\"string\": \"Work Time\", \"type\": \"one2many\", \"relation\": \"work.time\", \"relfield\": \"timesheet_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"service.resource\": {\"string\": \"Resource\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"search\": true, \"store\": true}, \"product_categs\": {\"string\": \"Product Categories\", \"type\": \"many2many\", \"relation\": \"product.categ\"}, \"regions\": {\"string\": \"Regions\", \"type\": \"many2many\", \"relation\": \"region\"}, \"skill_level_id\": {\"string\": \"Skill Level\", \"type\": \"many2one\", \"relation\": \"skill.level\", \"store\": true}, \"allocs\": {\"string\": \"Resource Allocations\", \"type\": \"one2many\", \"relation\": \"service.resource.alloc\", \"relfield\": \"resource_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"can_alloc\": {\"string\": \"Can Allocate\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_can_alloc\"}, \"is_avail\": {\"string\": \"Is Available\", \"type\": \"boolean\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"time_sheets\": {\"string\": \"Time Sheets\", \"type\": \"one2many\", \"relation\": \"time.sheet\", \"relfield\": \"resource_id\"}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"type\": {\"string\": \"Resource Type\", \"type\": \"selection\", \"selection\": [[\"person\", \"Person\"], [\"machine\", \"Machine\"]], \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}}}, \"skill.level\": {\"string\": \"Skill Level\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"level\": {\"string\": \"Level\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"service.resource.alloc\": {\"string\": \"Resource Allocation\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"resource_id\": {\"string\": \"Resource\", \"type\": \"many2one\", \"relation\": \"service.resource\", \"required\": true, \"search\": true, \"store\": true}, \"job_id\": {\"string\": \"Service Order\", \"type\": \"many2one\", \"relation\": \"job\", \"required\": true, \"search\": true, \"store\": true}, \"time_start\": {\"string\": \"Planned Start Time\", \"type\": \"datetime\", \"required\": true, \"store\": true}, \"time_stop\": {\"string\": \"Planned Stop Time\", \"type\": \"datetime\", \"required\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"contact_id\": {\"string\": \"Customer\", \"type\": \"many2one\", \"relation\": \"contact\", \"readonly\": true, \"function\": \"get_contact\"}, \"service_item_id\": {\"string\": \"Service Item\", \"type\": \"many2one\", \"relation\": \"service.item\", \"readonly\": true, \"function\": \"get_service_item\"}}}, \"job.part.template\": {\"string\": \"Part Template\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"job_template_id\": {\"string\": \"Job Template\", \"type\": \"many2one\", \"relation\": \"job.template\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"location_id\": {\"string\": \"From Warehouse\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"required\": true, \"store\": true}, \"unit_price\": {\"string\": \"Sale Unit Price\", \"type\": \"decimal\", \"store\": true}, \"amount\": {\"string\": \"Sale Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}}}, \"job.template.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"job_template_id\": {\"string\": \"Job Template\", \"type\": \"many2one\", \"relation\": \"job.template\", \"required\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"labor\", \"Labor\"], [\"part\", \"Parts\"], [\"other\", \"Other\"]], \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"unit_price\": {\"string\": \"Sale Unit Price\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"amount\": {\"string\": \"Sale Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}}}, \"job.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"job_id\": {\"string\": \"Job\", \"type\": \"many2one\", \"relation\": \"job\", \"required\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"labor\", \"Labor\"], [\"part\", \"Parts\"], [\"other\", \"Other\"]], \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"unit_price\": {\"string\": \"Sale Unit Price\", \"type\": \"decimal\", \"store\": true}, \"amount\": {\"string\": \"Sale Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"payment_type\": {\"string\": \"Payment Type\", \"type\": \"selection\", \"selection\": [[\"contract\", \"Included In Contract\"], [\"job\", \"Not Included In Contract\"]], \"store\": true}}}, \"report.service.time\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"service.create.quot\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"store\": true}, \"job_template_id\": {\"string\": \"Service Order Template\", \"type\": \"many2one\", \"relation\": \"job.template\", \"required\": true, \"store\": true}}}, \"service.application\": {\"string\": \"Application\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"industry_id\": {\"string\": \"Industry\", \"type\": \"many2one\", \"relation\": \"industry\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"search\": true, \"store\": true}}}, \"project.milestone\": {\"string\": \"Project Milestone\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"project_id\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"project\", \"required\": true, \"search\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"name\": {\"string\": \"Title\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"search\": true, \"store\": true}, \"plan_date_from\": {\"string\": \"Planned Start Date\", \"type\": \"date\", \"store\": true}, \"plan_date_to\": {\"string\": \"Planned End Date\", \"type\": \"date\", \"store\": true}, \"act_date_from\": {\"string\": \"Actual Start Date\", \"type\": \"date\", \"store\": true}, \"act_date_to\": {\"string\": \"Actual End Date\", \"type\": \"date\", \"store\": true}, \"track_id\": {\"string\": \"Tracking Category\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"track_entries\": {\"string\": \"Actual Cost Tracking Entries\", \"type\": \"one2many\", \"relation\": \"account.track.entry\", \"relfield\": null, \"function\": \"get_track_entries\"}, \"track_balance\": {\"string\": \"Tracking Balance\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_related\"}, \"est_track_id\": {\"string\": \"Estimate Cost Tracking Code\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"est_track_entries\": {\"string\": \"Estimate Cost Tracking Entries\", \"type\": \"one2many\", \"relation\": \"account.track.entry\", \"relfield\": null, \"function\": \"get_est_track_entries\"}, \"est_track_balance\": {\"string\": \"Tracking Balance\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_related\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"planned\", \"Planned\"], [\"in_progress\", \"In Progress\"], [\"done\", \"Completed\"], [\"canceled\", \"Canceled\"]], \"required\": true, \"store\": true}}}, \"create.task.list\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"template_id\": {\"string\": \"Template\", \"type\": \"many2one\", \"relation\": \"task.list.template\", \"required\": true, \"store\": true}, \"project_id\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"project\", \"required\": true, \"store\": true}, \"milestone_id\": {\"string\": \"Milestone\", \"type\": \"many2one\", \"relation\": \"project.milestone\", \"store\": true}}}, \"time.entry\": {\"string\": \"Time Entry\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"client_id\": {\"string\": \"Client\", \"type\": \"many2one\", \"relation\": \"contact\", \"search\": true, \"store\": true}, \"jc_job_id\": {\"string\": \"Related Job\", \"type\": \"many2one\", \"relation\": \"jc.job\", \"search\": true, \"store\": true}, \"job_bill_type\": {\"string\": \"Billing Type\", \"type\": \"selection\", \"selection\": [[\"hour\", \"Hourly\"], [\"flat\", \"Flat Fee\"]], \"readonly\": true, \"function\": \"_get_related\"}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"required\": true, \"store\": true}, \"actual_hours\": {\"string\": \"Duration\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"bill_hours\": {\"string\": \"Billable Hours\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"notes\": {\"string\": \"Remarks\", \"type\": \"text\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Work Description\", \"type\": \"text\", \"required\": true, \"search\": true, \"store\": true}, \"start_time\": {\"string\": \"Start Time\", \"type\": \"time\", \"store\": true}, \"end_time\": {\"string\": \"End Time\", \"type\": \"time\", \"store\": true}, \"timer_start\": {\"string\": \"Timer Start\", \"type\": \"datetime\", \"store\": true}, \"bill_type\": {\"string\": \"Billing Type\", \"type\": \"selection\", \"selection\": [[\"hour\", \"Hourly\"], [\"flat\", \"Flat Fee\"]], \"readonly\": true, \"function\": \"get_bill_type\"}, \"rate\": {\"string\": \"Hourly Rate\", \"type\": \"decimal\", \"store\": true}, \"invoice_id\": {\"string\": \"Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"submitted\", \"Submitted\"], [\"approved\", \"Approved\"], [\"invoiced\", \"Invoiced\"], [\"merged\", \"Merged\"]], \"required\": true, \"search\": true, \"store\": true}, \"date_week\": {\"string\": \"Week\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_date_agg\"}, \"date_month\": {\"string\": \"Month\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_date_agg\"}, \"flat_fee\": {\"string\": \"Amount\", \"type\": \"decimal\", \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"own_user\": {\"string\": \"Own User\", \"type\": \"boolean\"}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"rate_report\": {\"string\": \"Hourly Rate\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_rate_report\"}}}, \"stock.picking\": {\"string\": \"Stock Picking\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"in\", \"Goods Receipt\"], [\"internal\", \"Goods Transfer\"], [\"out\", \"Goods Issue\"]], \"required\": true, \"store\": true}, \"journal_id\": {\"string\": \"Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"required\": true, \"search\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"ref\": {\"string\": \"Ref\", \"type\": \"char\", \"search\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"search\": true, \"store\": true}, \"contact_categ_id\": {\"string\": \"Contact Category\", \"type\": \"many2one\", \"relation\": \"contact.categ\", \"readonly\": true, \"search\": true, \"function\": \"get_contact_categ\"}, \"contact_person_id\": {\"string\": \"Contact Person\", \"type\": \"many2one\", \"relation\": \"contact\", \"condition\": [[\"type\", \"=\", \"person\"]], \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"date_done\": {\"string\": \"Completed Date\", \"type\": \"datetime\", \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"pending\", \"Planned\"], [\"approved\", \"Approved\"], [\"qc_checked\", \"QC Checked\"], [\"done\", \"Completed\"], [\"voided\", \"Voided\"], [\"rejected\", \"Rejected\"]], \"required\": true, \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"picking_id\"}, \"expand_lines\": {\"string\": \"Expanded Stock Movements\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"expand_picking_id\"}, \"move_id\": {\"string\": \"Journal Entry\", \"type\": \"many2one\", \"relation\": \"account.move\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.order\", \"Sales Order\"], [\"purchase.order\", \"Purchase Order\"], [\"project\", \"Project\"], [\"job\", \"Service Order\"], [\"product.claim\", \"Claim Bill\"], [\"product.borrow\", \"Borrow Request\"], [\"stock.picking\", \"Picking\"], [\"production.order\", \"Production Order\"]], \"store\": true}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"store\": true}, \"addresses\": {\"string\": \"Addresses\", \"type\": \"one2many\", \"relation\": \"address\", \"relfield\": \"related_id\"}, \"ship_address_id\": {\"string\": \"Shipping Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"qty_total\": {\"string\": \"Total Quantity\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_total\"}, \"qty_validated\": {\"string\": \"Validated Quantity\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_validated\"}, \"cost_total\": {\"string\": \"Total Cost\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_cost_total\"}, \"container_id\": {\"string\": \"Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"container2_id\": {\"string\": \"Secondary Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"gross_weight\": {\"string\": \"Gross Weight\", \"type\": \"decimal\", \"store\": true}, \"pending_by_id\": {\"string\": \"Pending By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"readonly\": true, \"store\": true}, \"done_by_id\": {\"string\": \"Completed By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"readonly\": true, \"store\": true}, \"done_approved_by_id\": {\"string\": \"Approved By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"readonly\": true, \"store\": true}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"store\": true}, \"ship_method_id\": {\"string\": \"Shipping Method\", \"type\": \"many2one\", \"relation\": \"ship.method\", \"search\": true, \"store\": true}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"ship_cost\": {\"string\": \"Shipping Cost\", \"type\": \"decimal\", \"store\": true}, \"ship_pay_by\": {\"string\": \"Shipping Paid By\", \"type\": \"selection\", \"selection\": [[\"company\", \"Company\"], [\"customer\", \"Customer\"], [\"supplier\", \"Supplier\"]], \"store\": true}, \"landed_costs\": {\"string\": \"Landed Costs\", \"type\": \"many2many\", \"relation\": \"landed.cost\", \"readonly\": true, \"function\": \"get_landed_costs\"}, \"messenger_id\": {\"string\": \"Messenger\", \"type\": \"many2one\", \"relation\": \"messenger\", \"store\": true}, \"avail_messengers\": {\"string\": \"Available Messengers\", \"type\": \"many2many\", \"relation\": \"messenger\"}, \"currency_rate\": {\"string\": \"Currency Rate\", \"type\": \"decimal\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"search\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_related\"}, \"delivery_slot_id\": {\"string\": \"Delivery Slot\", \"type\": \"many2one\", \"relation\": \"delivery.slot\", \"store\": true}, \"ship_state\": {\"string\": \"Shipping Status\", \"type\": \"selection\", \"selection\": [[\"wait_pick\", \"Waiting Pickup\"], [\"in_transit\", \"In Transit\"], [\"delivered\", \"Delivered\"], [\"error\", \"Can not deliver\"]], \"store\": true}, \"from_coords\": {\"string\": \"Source Coordinates\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_from_coords\"}, \"to_coords\": {\"string\": \"Destination Coordinates\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_to_coords\"}, \"delivery_id\": {\"string\": \"Delivery Order\", \"type\": \"many2one\", \"relation\": \"nd.order\", \"store\": true}, \"route_id\": {\"string\": \"Delivery Route\", \"type\": \"many2one\", \"relation\": \"nd.route\", \"readonly\": true, \"function\": \"_get_related\"}, \"ship_tracking\": {\"string\": \"Shipping Tracking\", \"type\": \"char\", \"store\": true}, \"ship_route\": {\"string\": \"Shipping Route\", \"type\": \"char\", \"readonly\": true, \"store\": true, \"function\": \"get_route_text\"}, \"validate_lines\": {\"string\": \"Validations\", \"type\": \"one2many\", \"relation\": \"pick.validate.line\", \"relfield\": \"pick_id\"}, \"qc_results\": {\"string\": \"QC Results\", \"type\": \"one2many\", \"relation\": \"qc.result\", \"relfield\": \"pick_id\"}, \"total_qty\": {\"string\": \"Total Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_qty\"}, \"total_lot_weight\": {\"string\": \"Total Lot Weight\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_lot_weight\"}, \"total_net_weight\": {\"string\": \"Total Net Weight\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_weight\"}, \"total_gross_weight\": {\"string\": \"Total Gross Weight\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_weight\"}, \"packaging_id\": {\"string\": \"Packaging\", \"type\": \"many2one\", \"relation\": \"stock.packaging\", \"store\": true}, \"pallet_id\": {\"string\": \"Pallet\", \"type\": \"many2one\", \"relation\": \"stock.pallet\", \"store\": true}, \"num_pallets\": {\"string\": \"Number Of Pallets\", \"type\": \"integer\", \"store\": true}, \"transform_lines\": {\"string\": \"Transform Lines\", \"type\": \"one2many\", \"relation\": \"stock.transform.line\", \"relfield\": \"picking_id\"}, \"transforms\": {\"string\": \"Product Transforms\", \"type\": \"many2many\", \"relation\": \"stock.transform\", \"readonly\": true, \"function\": \"get_transforms\"}, \"gradings\": {\"string\": \"Gradings\", \"type\": \"one2many\", \"relation\": \"stock.grade.line\", \"relfield\": \"picking_id\"}, \"other_info\": {\"string\": \"Other Info\", \"type\": \"text\", \"store\": true}, \"from_contact_id\": {\"string\": \"From Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"from_address_id\": {\"string\": \"From Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"to_contact_id\": {\"string\": \"To Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"to_address_id\": {\"string\": \"To Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"total_sale_amount\": {\"string\": \"Total Sales Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_sale_amount\"}, \"location_to_id\": {\"string\": \"To Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"invoice_id\": {\"string\": \"Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"store\": true}, \"truck_loaded_weight\": {\"string\": \"Truck Loaded Weight\", \"type\": \"decimal\", \"store\": true}, \"truck_empty_weight\": {\"string\": \"Truck Empty Weight\", \"type\": \"decimal\", \"store\": true}, \"truck_net_weight\": {\"string\": \"Truck Net Weight\", \"type\": \"decimal\", \"store\": true}, \"lines_mixed\": {\"string\": \"Lines (Mixed)\", \"type\": \"json\", \"readonly\": true, \"function\": \"get_lines_mixed\"}, \"first_line_id\": {\"string\": \"First Line\", \"type\": \"many2one\", \"relation\": \"stock.move\", \"readonly\": true, \"function\": \"get_first_line\"}, \"sale_id\": {\"string\": \"Sales Order\", \"type\": \"many2one\", \"relation\": \"sale.order\", \"readonly\": true, \"function\": \"get_sale\"}, \"search_container_id\": {\"string\": \"Container\", \"type\": \"many2one\", \"relation\": \"stock.container\"}, \"location_from_id\": {\"string\": \"From Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"pickings\": {\"string\": \"Stock Pickings\", \"type\": \"one2many\", \"relation\": \"stock.picking\", \"relfield\": \"related_id\"}, \"fulfillment_billing\": {\"string\": \"Include In 3PL Fulfillment Billing\", \"type\": \"boolean\", \"store\": true}, \"project_id\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"project\", \"search\": true, \"store\": true}, \"containers\": {\"string\": \"Containers\", \"type\": \"one2many\", \"relation\": \"pick.container\", \"relfield\": \"picking_id\"}, \"delivery_status\": {\"string\": \"Delivery Status\", \"type\": \"char\"}, \"partial_of_id\": {\"string\": \"partial_of_id\", \"type\": \"many2one\", \"relation\": \"stock.picking\", \"condition\": \"Partial GR of\", \"store\": true}, \"recipient_first_name\": {\"string\": \"First Name\", \"type\": \"char\", \"store\": true}, \"recipient_last_name\": {\"string\": \"Last Name\", \"type\": \"char\", \"store\": true}, \"recipient_phone\": {\"string\": \"Phone\", \"type\": \"char\", \"store\": true}, \"recipient_address\": {\"string\": \"Address\", \"type\": \"char\", \"store\": true}, \"recipient_address2\": {\"string\": \"Address2\", \"type\": \"char\", \"store\": true}, \"recipient_postcode\": {\"string\": \"Postcode\", \"type\": \"char\", \"store\": true}, \"recipient_city\": {\"string\": \"City\", \"type\": \"char\", \"store\": true}, \"recipient_province\": {\"string\": \"Province\", \"type\": \"char\", \"store\": true}, \"recipient_country\": {\"string\": \"Country\", \"type\": \"char\", \"store\": true}, \"shopee_logistics_channel_id\": {\"string\": \"Logistic Channel ID\", \"type\": \"integer\", \"store\": true}, \"shopee_service_code\": {\"string\": \"Service Code\", \"type\": \"char\", \"store\": true}, \"shopee_first_mile_name\": {\"string\": \"First Mile Name\", \"type\": \"char\", \"store\": true}, \"shopee_last_mile_name\": {\"string\": \"Last Mile Name\", \"type\": \"char\", \"store\": true}, \"shopee_zone\": {\"string\": \"Zone\", \"type\": \"char\", \"store\": true}, \"shopee_lane_code\": {\"string\": \"Lane Code\", \"type\": \"char\", \"store\": true}, \"shopee_warehouse_address\": {\"string\": \"Warehouse Address\", \"type\": \"text\", \"store\": true}, \"shopee_warehouse_id\": {\"string\": \"Warehouse ID\", \"type\": \"char\", \"store\": true}, \"shopee_first_recipient_sort_code\": {\"string\": \"First Recipient Sort Code\", \"type\": \"char\", \"store\": true}, \"shopee_second_recipient_sort_code\": {\"string\": \"Second Recipient Sort Code\", \"type\": \"char\", \"store\": true}, \"shopee_third_recipient_sort_code\": {\"string\": \"Third Recipient Sort Code\", \"type\": \"char\", \"store\": true}, \"shopee_first_sender_sort_code\": {\"string\": \"First Sender Sort Code\", \"type\": \"char\", \"store\": true}, \"shopee_second_sender_sort_code\": {\"string\": \"Second Sender Sort Code\", \"type\": \"char\", \"store\": true}, \"shopee_third_sender_sort_code\": {\"string\": \"Third Sender Sort Code\", \"type\": \"char\", \"store\": true}, \"shopee_return_first_sort_code\": {\"string\": \"Return First Sort Code\", \"type\": \"char\", \"store\": true}, \"exp_ship_date\": {\"string\": \"Expected Shipping Date\", \"type\": \"date\", \"store\": true}}}, \"stock.move\": {\"string\": \"Stock Movement\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"ref\": {\"string\": \"Ref\", \"type\": \"char\", \"search\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"condition\": [[\"type\", \"in\", [\"stock\", \"consumable\", \"bundle\"]]], \"required\": true, \"search\": true, \"store\": true}, \"location_from_id\": {\"string\": \"From Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"required\": true, \"search\": true, \"store\": true}, \"location_to_id\": {\"string\": \"To Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"required\": true, \"search\": true, \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"picking_id\": {\"string\": \"Picking\", \"type\": \"many2one\", \"relation\": \"stock.picking\", \"store\": true}, \"picking_type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"in\", \"Goods Receipt\"], [\"internal\", \"Goods Transfer\"], [\"out\", \"Goods Issue\"]], \"readonly\": true, \"function\": \"_get_related\"}, \"location_from_type\": {\"string\": \"Location From Type\", \"type\": \"selection\", \"selection\": [[\"internal\", \"Internal\"], [\"customer\", \"Customers\"], [\"supplier\", \"Suppliers\"], [\"inventory\", \"Inventory Loss\"], [\"production\", \"Production\"], [\"waste\", \"Waste\"], [\"transform\", \"Transform\"], [\"view\", \"View\"], [\"other\", \"Other\"]], \"readonly\": true, \"function\": \"_get_related\"}, \"picking_number\": {\"string\": \"Picking Number\", \"type\": \"char\", \"readonly\": true, \"function\": \"_get_related\"}, \"expand_picking_id\": {\"string\": \"Expanded Picking\", \"type\": \"many2one\", \"relation\": \"stock.picking\", \"store\": true}, \"expand_move_id\": {\"string\": \"Expanded Stock Move\", \"type\": \"many2one\", \"relation\": \"stock.move\", \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"cost_price_cur\": {\"string\": \"Cost Price (Cur)\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"cost_price\": {\"string\": \"Cost Price\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"cost_amount\": {\"string\": \"Cost Amount\", \"type\": \"decimal\", \"store\": true}, \"cost_fixed\": {\"string\": \"Cost Fixed\", \"type\": \"boolean\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"pending\", \"Planned\"], [\"approved\", \"Approved\"], [\"forecast\", \"Forecast\"], [\"done\", \"Completed\"], [\"voided\", \"Voided\"]], \"required\": true, \"store\": true}, \"stock_count_id\": {\"string\": \"Stock Count\", \"type\": \"many2one\", \"relation\": \"stock.count\", \"store\": true}, \"move_id\": {\"string\": \"Journal Entry\", \"type\": \"many2one\", \"relation\": \"account.move\", \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"serial_no\": {\"string\": \"Serial No.\", \"type\": \"char\", \"search\": true, \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"container_id\": {\"string\": \"Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"search\": true, \"store\": true}, \"container2_id\": {\"string\": \"Secondary Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"search\": true, \"store\": true}, \"container_from_id\": {\"string\": \"From Container (OLD)\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"container_to_id\": {\"string\": \"To Container (OLD)\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"packaging_id\": {\"string\": \"Packaging\", \"type\": \"many2one\", \"relation\": \"stock.packaging\", \"store\": true}, \"num_packages\": {\"string\": \"# Packages\", \"type\": \"integer\", \"store\": true}, \"notes\": {\"string\": \"Notes\", \"type\": \"text\", \"store\": true}, \"qty2\": {\"string\": \"Qty2\", \"type\": \"decimal\", \"store\": true}, \"uom2_id\": {\"string\": \"UoM2\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"invoice_id\": {\"string\": \"Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.order\", \"Sales Order\"], [\"purchase.order\", \"Purchase Order\"], [\"job\", \"Service Order\"], [\"account.invoice\", \"Invoice\"], [\"pawn.loan\", \"Loan\"]], \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"search\": true, \"store\": true}, \"journal_id\": {\"string\": \"Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"required\": true, \"search\": true, \"store\": true}, \"alloc_costs\": {\"string\": \"Allocated Costs\", \"type\": \"one2many\", \"relation\": \"landed.cost.alloc\", \"relfield\": \"move_id\"}, \"alloc_cost_amount\": {\"string\": \"Allocated Costs\", \"type\": \"decimal\", \"scale\": 6, \"readonly\": true, \"function\": \"get_alloc_cost_amount\"}, \"track_id\": {\"string\": \"Track\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"addons\": {\"string\": \"Addons\", \"type\": \"many2many\", \"relation\": \"product.addon\"}, \"expire_lot_id\": {\"string\": \"Expiry Lot\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"net_weight\": {\"string\": \"Net Weight\", \"type\": \"decimal\", \"store\": true}, \"gross_weight\": {\"string\": \"Gross Weight\", \"type\": \"decimal\", \"store\": true}, \"index\": {\"string\": \"Index\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_index\"}, \"index_sale\": {\"string\": \"Index (Sale)\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_index_sale\"}, \"date_day\": {\"string\": \"Day\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_date_agg\"}, \"date_week\": {\"string\": \"Week\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_date_agg\"}, \"date_month\": {\"string\": \"Month\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_date_agg\"}, \"sale_price\": {\"string\": \"Sales Price\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"sale_amount\": {\"string\": \"Sales Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_sale_amount\"}, \"validate_lines\": {\"string\": \"Validate Lines\", \"type\": \"one2many\", \"relation\": \"pick.validate.line\", \"relfield\": \"move_id\"}, \"validate_qty\": {\"string\": \"Validated Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_validate_qty\"}, \"validate_num_lots\": {\"string\": \"Validated Lots\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_validate_qty\"}, \"validate_weight\": {\"string\": \"Validated Weight\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_validate_qty\"}, \"avail_lots\": {\"string\": \"Available Lots\", \"type\": \"many2many\", \"relation\": \"stock.lot\", \"readonly\": true, \"function\": \"get_avail_lots\"}, \"purchase_id\": {\"string\": \"Purchase Order\", \"type\": \"many2one\", \"relation\": \"purchase.order\", \"store\": true}, \"supp_lot_no\": {\"string\": \"Supplier Lot No.\", \"type\": \"char\", \"store\": true}, \"exp_date\": {\"string\": \"Exp Date\", \"type\": \"date\", \"store\": true}, \"mfg_date\": {\"string\": \"Mfg Date\", \"type\": \"date\", \"store\": true}, \"supp_inv_no\": {\"string\": \"Supplier Inv No.\", \"type\": \"char\", \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"expand_lines\": {\"string\": \"Expanded Stock Movements\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"expand_move_id\"}, \"sale_id\": {\"string\": \"Sales Order\", \"type\": \"many2one\", \"relation\": \"sale.order\", \"readonly\": true, \"function\": \"get_sale_order\"}, \"sale_line_id\": {\"string\": \"Sales Order Line\", \"type\": \"many2one\", \"relation\": \"sale.order.line\", \"readonly\": true, \"function\": \"get_sale_order_line\"}, \"qty_stock\": {\"string\": \"In Stock\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_stock\"}, \"update_balance\": {\"string\": \"Update Balance\", \"type\": \"boolean\", \"store\": true}, \"year\": {\"string\": \"Year\", \"type\": \"char\"}, \"quarter\": {\"string\": \"Quarter\", \"type\": \"char\"}, \"month\": {\"string\": \"Month\", \"type\": \"char\"}, \"week\": {\"string\": \"Week\", \"type\": \"char\"}, \"master_product_id\": {\"string\": \"Master Product\", \"type\": \"many2one\", \"relation\": \"product\", \"search\": true}, \"received\": {\"string\": \"Received\", \"type\": \"boolean\", \"store\": true}, \"picked\": {\"string\": \"Picked\", \"type\": \"boolean\", \"store\": true}, \"joint_remarks\": {\"string\": \"Joint Remarks\", \"type\": \"text\", \"store\": true}, \"defect_remarks\": {\"string\": \"Defect Remarks\", \"type\": \"text\", \"store\": true}, \"period_id\": {\"string\": \"Stock Period\", \"type\": \"many2one\", \"relation\": \"stock.period\", \"store\": true}}}, \"stock.location\": {\"string\": \"Location\", \"name_field\": \"name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"internal\", \"Internal\"], [\"customer\", \"Customers\"], [\"supplier\", \"Suppliers\"], [\"inventory\", \"Inventory Loss\"], [\"production\", \"Production\"], [\"waste\", \"Waste\"], [\"transform\", \"Transform\"], [\"view\", \"View\"], [\"other\", \"Other\"]], \"required\": true, \"search\": true, \"store\": true}, \"account_id\": {\"string\": \"Inventory Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"search\": true, \"store\": true}, \"track_id\": {\"string\": \"Tracking Category\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"search\": true, \"store\": true}, \"balance\": {\"string\": \"Inventory Cost\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_balance\"}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"products\": {\"string\": \"Product Stock\", \"type\": \"one2many\", \"relation\": \"stock.balance\", \"relfield\": \"location_id\"}, \"stock_moves\": {\"string\": \"Stock Moves\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": null, \"condition\": \"[\\\"or\\\",[\\\"location_from_id\\\",\\\"=\\\",id],[\\\"location_to_id\\\",\\\"=\\\",id]]\"}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"balance_90d\": {\"string\": \"Balance 90d\", \"type\": \"json\", \"readonly\": true, \"function\": \"get_balance_90d\"}, \"parent_id\": {\"string\": \"Parent Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"view\"]], \"search\": true, \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"company2_id\": {\"string\": \"Company #2\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"address_id\": {\"string\": \"Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}}}, \"stock.count\": {\"string\": \"Stock Count\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"memo\": {\"string\": \"Memo\", \"type\": \"char\", \"search\": true, \"store\": true}, \"location_id\": {\"string\": \"Warehouse\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"required\": true, \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"char\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"done\", \"Completed\"], [\"voided\", \"Voided\"]], \"required\": true, \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"stock.count.line\", \"relfield\": \"count_id\"}, \"moves\": {\"string\": \"Stock Movements\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"related_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"journal_id\": {\"string\": \"Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"total_cost_amount\": {\"string\": \"Total New Cost Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_cost_amount\"}, \"total_prev_qty\": {\"string\": \"Total Prev Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_qty\"}, \"total_new_qty\": {\"string\": \"Total New Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_qty\"}, \"num_lines\": {\"string\": \"# Items\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_lines\"}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"search\": true}}}, \"stock.count.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"count_id\": {\"string\": \"Stock Count\", \"type\": \"many2one\", \"relation\": \"stock.count\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"condition\": [[\"type\", \"=\", \"stock\"]], \"required\": true, \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"system_lot_id\": {\"string\": \"System Lot/Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"recon\": {\"string\": \"Recon\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"bin_location\": {\"string\": \"Bin Location\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"prev_qty\": {\"string\": \"Previous Qty\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"readonly\": true, \"store\": true}, \"new_qty\": {\"string\": \"New Qty\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"readonly\": true, \"store\": true}, \"prev_cost_price\": {\"string\": \"Previous Cost Price\", \"type\": \"decimal\", \"scale\": 6, \"readonly\": true, \"function\": \"get_prev_cost_price\"}, \"prev_cost_amount\": {\"string\": \"Previous Cost Amount\", \"type\": \"decimal\", \"store\": true}, \"unit_price\": {\"string\": \"New Cost Price\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"new_cost_amount\": {\"string\": \"New Cost Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_new_cost_amount\"}, \"lot_weight\": {\"string\": \"Lot Weight\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_related\"}, \"cyclecount_id\": {\"string\": \"Cycle Stock Count\", \"type\": \"many2one\", \"relation\": \"cycle.stock.count\", \"store\": true}, \"uom2\": {\"string\": \"UoM2\", \"type\": \"many2one\", \"relation\": \"uom\", \"readonly\": true, \"store\": true}, \"qty2\": {\"string\": \"Qty2\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}}}, \"stock.count.add\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"stock_count_id\": {\"string\": \"Stock Count\", \"type\": \"many2one\", \"relation\": \"stock.count\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"store\": true}, \"sale_invoice_uom_id\": {\"string\": \"Sales Invoice UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"lot_type\": {\"string\": \"Lot Type\", \"type\": \"selection\", \"selection\": [[\"with_lot\", \"With Lot\"], [\"without_lot\", \"Without Lot\"]], \"store\": true}, \"qty_type\": {\"string\": \"New Qty\", \"type\": \"selection\", \"selection\": [[\"previous\", \"Copy Previous Qty\"], [\"reset\", \"Set Qty To Zero\"]], \"store\": true}, \"price_type\": {\"string\": \"New Cost Price\", \"type\": \"selection\", \"selection\": [[\"previous\", \"Copy Previous Cost Price\"], [\"product\", \"Copy Cost Price From Product\"], [\"reset\", \"Set Cost Price To Zero\"]], \"store\": true}}}, \"report.stock\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"stock.orderpoint\": {\"string\": \"Minimum Stock Rule\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"location_id\": {\"string\": \"Warehouse\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"required\": true, \"search\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"search\": true, \"store\": true}, \"product_categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"search\": true, \"store\": true}, \"min_qty\": {\"string\": \"Min Qty\", \"type\": \"decimal\", \"store\": true}, \"min_qty_months\": {\"string\": \"Min Qty Months\", \"type\": \"decimal\", \"store\": true}, \"max_qty\": {\"string\": \"Max Qty\", \"type\": \"decimal\", \"store\": true}, \"max_qty_months\": {\"string\": \"Max Qty Months\", \"type\": \"decimal\", \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"min_qty2\": {\"string\": \"Min Qty2\", \"type\": \"decimal\", \"store\": true}, \"max_qty2\": {\"string\": \"Max Qty2\", \"type\": \"decimal\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"stock.balance\": {\"string\": \"Stock Balance\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"search\": true, \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"search\": true, \"store\": true}, \"location_id\": {\"string\": \"Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"required\": true, \"search\": true, \"store\": true}, \"container_id\": {\"string\": \"Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"search\": true, \"store\": true}, \"container2_id\": {\"string\": \"Secondary Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"search\": true, \"store\": true}, \"qty_phys\": {\"string\": \"Physical Qty\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"search\": true, \"store\": true}, \"qty_virt\": {\"string\": \"Virtual Qty\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"search\": true, \"store\": true}, \"qty_out\": {\"string\": \"Outgoing Qty\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}, \"qty_in\": {\"string\": \"Incoming Qty\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"min_qty\": {\"string\": \"Min Qty\", \"type\": \"decimal\", \"store\": true}, \"below_min\": {\"string\": \"Below Min\", \"type\": \"boolean\", \"search\": true, \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"store\": true}, \"last_change\": {\"string\": \"Last Change\", \"type\": \"datetime\", \"store\": true}, \"supplier_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"contact\", \"search\": true}, \"qty2\": {\"string\": \"Secondary Qty\", \"type\": \"decimal\", \"store\": true}, \"lot_type\": {\"string\": \"Lot Type\", \"type\": \"selection\", \"selection\": [[\"with_lot\", \"With Lot\"], [\"without_lot\", \"Without Lot\"]]}, \"expiry_date\": {\"string\": \"Expiry Date\", \"type\": \"date\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"agg_qty_phys\": {\"string\": \"Physical Qty (Agg)\", \"type\": \"decimal\"}, \"agg_qty_virt\": {\"string\": \"Virtual Qty (Agg)\", \"type\": \"decimal\"}, \"agg_amount\": {\"string\": \"Cost Amount\", \"type\": \"decimal\"}, \"master_product_id\": {\"string\": \"Master Product\", \"type\": \"many2one\", \"relation\": \"product\", \"search\": true}}}, \"stock.barcode\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"station_id\": {\"string\": \"Barcode Station\", \"type\": \"many2one\", \"relation\": \"barcode.station\", \"required\": true, \"store\": true}, \"type\": {\"string\": \"Transaction Type\", \"type\": \"selection\", \"selection\": [[\"in\", \"Goods Receipt\"], [\"internal\", \"Goods Transfer\"], [\"out\", \"Goods Issue\"]], \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.order\", \"Sales Order\"], [\"purchase.order\", \"Purchase Order\"], [\"production.order\", \"Production Order\"], [\"stock.picking\", \"Picking\"]], \"store\": true}, \"location_to_id\": {\"string\": \"To Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"location_from_id\": {\"string\": \"From Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"container_from_id\": {\"string\": \"From Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"container_to_id\": {\"string\": \"To Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"stock.barcode.item\", \"relfield\": \"barcode_id\"}, \"gross_weight\": {\"string\": \"Gross Weight\", \"type\": \"decimal\", \"store\": true}}}, \"pick.validate\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"picking_id\": {\"string\": \"Picking\", \"type\": \"many2one\", \"relation\": \"stock.picking\", \"required\": true, \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"pick.validate.line\", \"relfield\": \"validate_id\"}}}, \"pick.validate.line\": {\"string\": \"Item Validation\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"validate_id\": {\"string\": \"Picking Validation\", \"type\": \"many2one\", \"relation\": \"pick.validate\", \"store\": true}, \"move_id\": {\"string\": \"Stock Move\", \"type\": \"many2one\", \"relation\": \"stock.move\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"readonly\": true, \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"container_id\": {\"string\": \"Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"lot\": {\"string\": \"Lot / Serial Number\", \"type\": \"char\", \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"qty2\": {\"string\": \"Gross Weight\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"container_to_id\": {\"string\": \"To Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"pick_id\": {\"string\": \"Stock Picking\", \"type\": \"many2one\", \"relation\": \"stock.picking\", \"store\": true}, \"lot_no\": {\"string\": \"Lot / Serial Number\", \"type\": \"char\", \"store\": true}, \"container_no\": {\"string\": \"Container Number\", \"type\": \"char\", \"store\": true}, \"packaging_id\": {\"string\": \"Packaging\", \"type\": \"many2one\", \"relation\": \"stock.packaging\", \"store\": true}, \"container_type_id\": {\"string\": \"Container Type\", \"type\": \"many2one\", \"relation\": \"stock.container.type\", \"store\": true}, \"net_weight\": {\"string\": \"Net Weight\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_net_weight\"}}}, \"report.stock.card\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"store\": true}, \"location_id\": {\"string\": \"Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"invoice_id\": {\"string\": \"Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"store\": true}, \"show_pending\": {\"string\": \"Show Pending\", \"type\": \"boolean\", \"store\": true}, \"show_qty2\": {\"string\": \"Show Secondary Qty\", \"type\": \"boolean\", \"store\": true}, \"hide_zero\": {\"string\": \"Hide Zero Lines\", \"type\": \"boolean\", \"store\": true}, \"hide_cost\": {\"string\": \"Hide Cost\", \"type\": \"boolean\", \"store\": true}}}, \"report.stock.summary\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"required\": true, \"store\": true}, \"location_id\": {\"string\": \"Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"master_product_id\": {\"string\": \"Master Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"container_id\": {\"string\": \"Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"prod_code\": {\"string\": \"Product Code\", \"type\": \"char\", \"store\": true}, \"prod_categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"store\": true}, \"brand_id\": {\"string\": \"Product Brand\", \"type\": \"many2one\", \"relation\": \"product.brand\", \"store\": true}, \"show_lot\": {\"string\": \"Show Lot / Serial Number\", \"type\": \"boolean\", \"store\": true}, \"show_container\": {\"string\": \"Show Container\", \"type\": \"boolean\", \"store\": true}, \"show_qty2\": {\"string\": \"Show Secondary Qty\", \"type\": \"boolean\", \"store\": true}, \"show_prod_desc\": {\"string\": \"Show Product Description\", \"type\": \"boolean\", \"store\": true}, \"only_closing\": {\"string\": \"Only Show Closing\", \"type\": \"boolean\", \"store\": true}, \"prod_company_id\": {\"string\": \"Product Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"show_image\": {\"string\": \"Show Images\", \"type\": \"boolean\", \"store\": true}, \"track_id\": {\"string\": \"Tracking\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"show_track\": {\"string\": \"Show Tracking\", \"type\": \"boolean\", \"store\": true}, \"defect_remarks\": {\"string\": \"Defect Remarks\", \"type\": \"boolean\", \"store\": true}, \"joint_remarks\": {\"string\": \"Joint Remarks\", \"type\": \"boolean\", \"store\": true}, \"hide_cost\": {\"string\": \"Hide Cost\", \"type\": \"boolean\", \"store\": true}}}, \"stock.journal\": {\"string\": \"Stock Journal\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"type\": {\"string\": \"Journal Type\", \"type\": \"selection\", \"selection\": [[\"in\", \"Receive From Supplier\"], [\"out\", \"Pack For Customer\"], [\"internal\", \"Goods Transfer\"], [\"out_return\", \"Return To Supplier\"], [\"in_return\", \"Return From Customer\"], [\"waste\", \"Product Waste\"], [\"transform\", \"Product Transforms\"], [\"expiry\", \"Lot Expiry Journal\"], [\"forecast\", \"Forecast Journal\"], [\"production_plan\", \"Production Plan\"], [\"other\", \"Other\"]], \"store\": true}, \"sequence_id\": {\"string\": \"Sequence\", \"type\": \"many2one\", \"relation\": \"sequence\", \"store\": true}, \"location_from_id\": {\"string\": \"Location From\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"search\": true, \"store\": true}, \"location_to_id\": {\"string\": \"Location To\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"search\": true, \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"require_sale\": {\"string\": \"Require Sales Order\", \"type\": \"boolean\", \"store\": true}}}, \"ship.method\": {\"string\": \"Shipping Method\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_sync_id\"}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true, \"translate\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"search\": true, \"store\": true, \"translate\": true}, \"rates\": {\"string\": \"Shipping Rates\", \"type\": \"one2many\", \"relation\": \"ship.rate\", \"relfield\": \"method_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [], \"store\": true}, \"ship_product_id\": {\"string\": \"Shipping Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"exclude_ship_methods\": {\"string\": \"Exclude Shipping Methods\", \"type\": \"many2many\", \"relation\": \"ship.method\"}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"store\": true}, \"ship_amount\": {\"string\": \"Shipping Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_ship_amount\"}, \"sync_records\": {\"string\": \"Sync Records\", \"type\": \"one2many\", \"relation\": \"sync.record\", \"relfield\": \"related_id\"}}}, \"ship.rate\": {\"string\": \"Shipping Rate\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"method_id\": {\"string\": \"Shipping Method\", \"type\": \"many2one\", \"relation\": \"ship.method\", \"required\": true, \"search\": true, \"store\": true}, \"country_id\": {\"string\": \"Country\", \"type\": \"many2one\", \"relation\": \"country\", \"search\": true, \"store\": true}, \"province_id\": {\"string\": \"Province\", \"type\": \"many2one\", \"relation\": \"province\", \"search\": true, \"store\": true}, \"district_id\": {\"string\": \"District\", \"type\": \"many2one\", \"relation\": \"district\", \"search\": true, \"store\": true}, \"postal_code\": {\"string\": \"Postal Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"min_amount\": {\"string\": \"Min Total Amount\", \"type\": \"decimal\", \"store\": true}, \"min_weight\": {\"string\": \"Min Total Weight (Kg)\", \"type\": \"decimal\", \"store\": true}, \"address_name\": {\"string\": \"Address Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"ship_price\": {\"string\": \"Shipping Price\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"ship.term\": {\"string\": \"Shipping Terms\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"unit_price_diff\": {\"string\": \"Unit Price Difference (Amount)\", \"type\": \"decimal\", \"store\": true}, \"unit_price_diff_percent\": {\"string\": \"Unit Price Difference (Percent)\", \"type\": \"decimal\", \"store\": true}}}, \"store.type\": {\"string\": \"Storage Type\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"report.stock.aging\": {\"string\": \"Stock Aging Report\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"location_id\": {\"string\": \"Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"store\": true}, \"period_days\": {\"string\": \"Period Days\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"num_periods\": {\"string\": \"Number of Periods\", \"type\": \"integer\", \"required\": true, \"store\": true}}}, \"report.stock.forecast\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Start Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"location_id\": {\"string\": \"Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"period_days\": {\"string\": \"Period Days\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"num_periods\": {\"string\": \"Number of Periods\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"show_lot\": {\"string\": \"Show Lot / Serial Number\", \"type\": \"boolean\", \"store\": true}, \"show_location\": {\"string\": \"Show Locations\", \"type\": \"boolean\", \"store\": true}}}, \"product.claim\": {\"string\": \"Claim Bill\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"date_received\": {\"string\": \"Received Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"search\": true, \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"search\": true, \"store\": true}, \"project_id\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"project\", \"search\": true, \"store\": true}, \"defect\": {\"string\": \"Defect\", \"type\": \"text\", \"store\": true}, \"note\": {\"string\": \"Note\", \"type\": \"text\", \"store\": true}, \"date_sent_sup\": {\"string\": \"Date sent to supplier\", \"type\": \"date\", \"store\": true}, \"date_received_sup\": {\"string\": \"Date received from supplier\", \"type\": \"date\", \"store\": true}, \"repair_details\": {\"string\": \"Repair Details\", \"type\": \"text\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"approved\", \"Approved\"], [\"done\", \"Completed\"], [\"voided\", \"Voided\"]], \"required\": true, \"store\": true}, \"pickings\": {\"string\": \"Pickings\", \"type\": \"one2many\", \"relation\": \"stock.picking\", \"relfield\": \"related_id\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"warranty\": {\"string\": \"Under Warranty\", \"type\": \"boolean\", \"store\": true}, \"cause_damage\": {\"string\": \"Cause of damage\", \"type\": \"selection\", \"selection\": [[\"user\", \"Damaged by user\"], [\"quality\", \"Failure due to quality\"], [\"unidentified\", \"Unidentified\"]], \"store\": true}, \"repair_process\": {\"string\": \"Repair Process\", \"type\": \"selection\", \"selection\": [[\"repair_local\", \"Repair locally\"], [\"send_supplier\", \"Send back to supplier\"], [\"discard\", \"Discard\"]], \"store\": true}, \"action_token\": {\"string\": \"Action token\", \"type\": \"selection\", \"selection\": [[\"replace_new\", \"Replaced by new one\"], [\"replace_used\", \"Replaced by used one\"], [\"replace_charge\", \"Replaced / charging to customer\"], [\"repair_charge\", \"Repaired / charging to customer\"]], \"store\": true}, \"serial_no\": {\"string\": \"Serial No.\", \"type\": \"char\", \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"warranty_start\": {\"string\": \"Warranty Start\", \"type\": \"date\", \"store\": true}, \"warranty_end\": {\"string\": \"Warranty End\", \"type\": \"date\", \"store\": true}, \"repl_product_id\": {\"string\": \"Replacement Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"repl_qty\": {\"string\": \"Replacement Qty\", \"type\": \"decimal\", \"store\": true}}}, \"product.borrow\": {\"string\": \"Borrow Request\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"employee_id\": {\"string\": \"Taken By\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"required\": true, \"search\": true, \"store\": true}, \"project_id\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"project\", \"search\": true, \"store\": true}, \"borrow_for\": {\"string\": \"Borrow For\", \"type\": \"char\", \"required\": true, \"store\": true}, \"due_date\": {\"string\": \"Due Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"notes\": {\"string\": \"Notes\", \"type\": \"text\", \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"product.borrow.line\", \"relfield\": \"request_id\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"approved\", \"Approved\"], [\"done\", \"Completed\"], [\"voided\", \"Voided\"]], \"required\": true, \"store\": true}, \"pickings\": {\"string\": \"Stock Pickings\", \"type\": \"many2many\", \"relation\": \"stock.picking\", \"readonly\": true, \"function\": \"get_pickings\"}, \"stock_moves\": {\"string\": \"Stock Movements\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"related_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"is_overdue\": {\"string\": \"Overdue\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_overdue\"}, \"is_return_item\": {\"string\": \"Return Item\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_return_item\"}}}, \"product.borrow.line\": {\"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"request_id\": {\"string\": \"Borrow Request\", \"type\": \"many2one\", \"relation\": \"product.borrow\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Requested Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"issued_qty\": {\"string\": \"Issued Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_issued\"}, \"returned_qty\": {\"string\": \"Returned Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_returned\"}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}}}, \"stock.container\": {\"string\": \"Container\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"search\": true, \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"pickings\": {\"string\": \"Pickings\", \"type\": \"one2many\", \"relation\": \"stock.picking\", \"relfield\": \"container_id\"}, \"contents\": {\"string\": \"Contents\", \"type\": \"json\", \"readonly\": true, \"function\": \"get_contents\"}, \"lot_numbers\": {\"string\": \"Lot Numbers Range\", \"type\": \"text\", \"readonly\": true, \"function\": \"get_lot_numbers\"}, \"stock_moves\": {\"string\": \"Stock Moves\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"container_id\"}, \"validate_lines\": {\"string\": \"Validate Lines\", \"type\": \"one2many\", \"relation\": \"pick.validate.line\", \"relfield\": \"container_id\"}, \"stock_balances\": {\"string\": \"Stock Balances\", \"type\": \"one2many\", \"relation\": \"stock.balance\", \"relfield\": \"container_id\"}, \"new_lot_range\": {\"string\": \"Lot Range [NEW]\", \"type\": \"text\", \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"1\", \"Primary\"], [\"2\", \"Secondary\"]], \"required\": true, \"store\": true}}}, \"stock.packaging\": {\"string\": \"Packaging\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"width\": {\"string\": \"Width\", \"type\": \"decimal\", \"store\": true}, \"height\": {\"string\": \"Height\", \"type\": \"decimal\", \"store\": true}, \"length\": {\"string\": \"Length\", \"type\": \"decimal\", \"store\": true}, \"net_weight\": {\"string\": \"Net Weight\", \"type\": \"decimal\", \"store\": true}, \"packaging_weight\": {\"string\": \"Packaging Weight\", \"type\": \"decimal\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"num_items\": {\"string\": \"Number Of Items\", \"type\": \"integer\", \"store\": true}}}, \"stock.lot\": {\"string\": \"Lot / Serial Number\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"received_date\": {\"string\": \"Received Date\", \"type\": \"datetime\", \"search\": true, \"store\": true}, \"mfg_date\": {\"string\": \"Manufacturing Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"expiry_date\": {\"string\": \"Expiry Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"life_75_date\": {\"string\": \"75% Life Date\", \"type\": \"date\", \"readonly\": true, \"search\": true, \"store\": true, \"function\": \"get_life_dates\"}, \"life_50_date\": {\"string\": \"50% Life Date\", \"type\": \"date\", \"readonly\": true, \"search\": true, \"store\": true, \"function\": \"get_life_dates\"}, \"life_remain_percent\": {\"string\": \"Shelf Life Remain (%)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_life_remain\"}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"search\": true, \"store\": true}, \"weight\": {\"string\": \"Weight\", \"type\": \"decimal\", \"store\": true}, \"width\": {\"string\": \"Width\", \"type\": \"decimal\", \"store\": true}, \"length\": {\"string\": \"Length\", \"type\": \"decimal\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"search\": true, \"store\": true}, \"stock_balances\": {\"string\": \"Stock Quantities\", \"type\": \"one2many\", \"relation\": \"stock.balance\", \"relfield\": \"lot_id\"}, \"service_item_id\": {\"string\": \"Service Item\", \"type\": \"many2one\", \"relation\": \"service.item\", \"store\": true}, \"expiry_moves\": {\"string\": \"Expiry Stock Transactions\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"expire_lot_id\"}, \"lot_items\": {\"string\": \"Lot Items\", \"type\": \"one2many\", \"relation\": \"stock.lot.item\", \"relfield\": \"lot_id\"}, \"lot_items_summary\": {\"string\": \"Lot Items\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_lot_items_summary\"}, \"supp_lot_no\": {\"string\": \"Supplier Lot No.\", \"type\": \"char\", \"store\": true}, \"url\": {\"string\": \"URL\", \"type\": \"char\", \"search\": true, \"store\": true}, \"moves\": {\"string\": \"Stock Transactions\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"lot_id\"}, \"validate_lines\": {\"string\": \"Validate Lines\", \"type\": \"one2many\", \"relation\": \"pick.validate.line\", \"relfield\": \"lot_id\"}, \"last_location_id\": {\"string\": \"Last Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"readonly\": true, \"search\": true, \"function\": \"get_last_location\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"active\", \"Active\"], [\"inactive\", \"Inactive\"]], \"store\": true}, \"project_id\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"project\", \"search\": true, \"store\": true}}}, \"barcode.station\": {\"string\": \"Barcode Station\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"location_id\": {\"string\": \"Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}}}, \"barcode.transfer\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"location_from_id\": {\"string\": \"From Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"store\": true}, \"container_from_id\": {\"string\": \"From Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"location_to_id\": {\"string\": \"To Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"store\": true}, \"journal_id\": {\"string\": \"Stock Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"barcode.transfer.line\", \"relfield\": \"wizard_id\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"pending\", \"Pending\"], [\"done\", \"Completed\"]], \"required\": true, \"store\": true}, \"approved_by_id\": {\"string\": \"Approved By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"readonly\": true, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.order\", \"Sales Order\"], [\"purchase.order\", \"Purchase Order\"]], \"store\": true}}}, \"barcode.transfer.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"wizard_id\": {\"string\": \"Wizard\", \"type\": \"many2one\", \"relation\": \"barcode.transfer\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"qty2\": {\"string\": \"Secondary Qty\", \"type\": \"decimal\", \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"container_from_id\": {\"string\": \"From Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"container_to_id\": {\"string\": \"To Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"location_from_id\": {\"string\": \"From Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"location_to_id\": {\"string\": \"To Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.order\", \"Sales Order\"], [\"purchase.order\", \"Purchase Order\"]], \"store\": true}}}, \"barcode.validate\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"picking_id\": {\"string\": \"Picking\", \"type\": \"many2one\", \"relation\": \"stock.picking\", \"condition\": [[\"state\", \"=\", \"pending\"]], \"store\": true}, \"mode\": {\"string\": \"Mode\", \"type\": \"selection\", \"selection\": [[\"backorder\", \"Backorder\"], [\"loss\", \"Inventory Loss\"]], \"store\": true}, \"location_loss_id\": {\"string\": \"Inventory Loss Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"inventory\"]], \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"barcode.validate.line\", \"relfield\": \"wizard_id\"}}}, \"barcode.validate.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"wizard_id\": {\"string\": \"Wizard\", \"type\": \"many2one\", \"relation\": \"barcode.validate\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"qty_planned\": {\"string\": \"Planned Qty\", \"type\": \"decimal\", \"required\": true, \"readonly\": true, \"store\": true}, \"qty_actual\": {\"string\": \"Validated Qty\", \"type\": \"decimal\", \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"container_to_id\": {\"string\": \"Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"location_from_id\": {\"string\": \"From Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"location_to_id\": {\"string\": \"To Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.order\", \"Sales Order\"], [\"purchase.order\", \"Purchase Order\"], [\"production.order\", \"Production Order\"], [\"job\", \"Service Order\"], [\"product.claim\", \"Claim Bill\"], [\"product.borrow\", \"Borrow Request\"], [\"stock.picking\", \"Picking\"]], \"store\": true}}}, \"barcode.receive\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"location_to_id\": {\"string\": \"To Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"store\": true}, \"location_from_id\": {\"string\": \"From Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"!=\", \"internal\"]], \"store\": true}, \"journal_id\": {\"string\": \"Stock Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"purchase.order\", \"Purchase Order\"], [\"sale.order\", \"Sales Order\"]], \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"barcode.receive.line\", \"relfield\": \"wizard_id\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"pending\", \"Pending\"], [\"done\", \"Completed\"]], \"required\": true, \"store\": true}}}, \"barcode.receive.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"wizard_id\": {\"string\": \"Wizard\", \"type\": \"many2one\", \"relation\": \"barcode.receive\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"qty2\": {\"string\": \"Secondary Qty\", \"type\": \"decimal\", \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"container_to_id\": {\"string\": \"To Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}}}, \"barcode.issue\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"location_from_id\": {\"string\": \"From Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"store\": true}, \"location_to_id\": {\"string\": \"To Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"!=\", \"internal\"]], \"store\": true}, \"journal_id\": {\"string\": \"Stock Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.order\", \"Sales Order\"], [\"purchase.order\", \"Purchase Order\"]], \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"barcode.issue.line\", \"relfield\": \"wizard_id\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"pending\", \"Pending\"], [\"done\", \"Completed\"]], \"required\": true, \"store\": true}, \"container_from_id\": {\"string\": \"From Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}}}, \"barcode.issue.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"wizard_id\": {\"string\": \"Wizard\", \"type\": \"many2one\", \"relation\": \"barcode.issue\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"qty2\": {\"string\": \"Qty2\", \"type\": \"decimal\", \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"container_from_id\": {\"string\": \"From Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"container_to_id\": {\"string\": \"To Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"location_from_id\": {\"string\": \"From Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"location_to_id\": {\"string\": \"To Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.order\", \"Sales Order\"], [\"purchase.order\", \"Purchase Order\"]], \"store\": true}, \"notes\": {\"string\": \"Notes\", \"type\": \"text\", \"store\": true}}}, \"report.ship.cost\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"required\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"ship_pay_by\": {\"string\": \"Shipping Paid By\", \"type\": \"selection\", \"selection\": [[\"company\", \"Company\"], [\"customer\", \"Customer\"], [\"supplier\", \"Supplier\"]], \"store\": true}, \"ship_method_id\": {\"string\": \"Shipping Method\", \"type\": \"many2one\", \"relation\": \"ship.method\", \"store\": true}}}, \"report.stock.move\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"pick_type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"in\", \"Goods Receipt\"], [\"internal\", \"Goods Transfer\"], [\"out\", \"Goods Issue\"]], \"required\": true, \"store\": true}, \"date_from\": {\"string\": \"Date From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"Date To\", \"type\": \"date\", \"store\": true}, \"location_from_id\": {\"string\": \"Location From\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"location_to_id\": {\"string\": \"Location To\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"ref\": {\"string\": \"Ref\", \"type\": \"char\", \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.order\", \"Sales Order\"], [\"purchase.order\", \"Purchase Order\"], [\"production.order\", \"Production Order\"], [\"job\", \"Service Order\"], [\"account.invoice\", \"Invoice\"]], \"store\": true}, \"show_loss_only\": {\"string\": \"Show Loss Qty Only\", \"type\": \"boolean\", \"store\": true}}}, \"stock.transform\": {\"string\": \"Product Transform\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"location_id\": {\"string\": \"Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"search\": true, \"store\": true}, \"journal_id\": {\"string\": \"Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"search\": true, \"store\": true}, \"from_product_id\": {\"string\": \"From Product\", \"type\": \"many2one\", \"relation\": \"product\", \"condition\": [[\"type\", \"=\", \"stock\"]], \"search\": true, \"store\": true}, \"from_lot_id\": {\"string\": \"Lot / Serial No.\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"search\": true, \"store\": true}, \"from_qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"store\": true}, \"from_uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"from_location_id\": {\"string\": \"From Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"search\": true, \"store\": true}, \"to_product_id\": {\"string\": \"To Product\", \"type\": \"many2one\", \"relation\": \"product\", \"condition\": [[\"type\", \"=\", \"stock\"]], \"search\": true, \"store\": true}, \"to_lot_id\": {\"string\": \"Lot / Serial No.\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"search\": true, \"store\": true}, \"to_qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"store\": true}, \"to_uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"to_location_id\": {\"string\": \"From Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"confirmed\", \"Confirmed\"], [\"approved\", \"Approved\"], [\"done\", \"Completed\"], [\"voided\", \"Voided\"]], \"required\": true, \"search\": true, \"store\": true}, \"stock_moves\": {\"string\": \"Stock Movements\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"related_id\"}, \"notes\": {\"string\": \"Notes\", \"type\": \"text\", \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"stock.transform.line\", \"relfield\": \"transform_id\"}, \"lines_in\": {\"string\": \"From Products\", \"type\": \"one2many\", \"relation\": \"stock.transform.line\", \"relfield\": \"transform_id\", \"condition\": [[\"type\", \"=\", \"in\"]]}, \"lines_out\": {\"string\": \"To Products\", \"type\": \"one2many\", \"relation\": \"stock.transform.line\", \"relfield\": \"transform_id\", \"condition\": [[\"type\", \"=\", \"out\"]]}, \"lines_service\": {\"string\": \"Service\", \"type\": \"one2many\", \"relation\": \"stock.transform.line\", \"relfield\": \"transform_id\", \"condition\": [[\"type\", \"=\", \"service\"]]}, \"qty_in\": {\"string\": \"Total Input Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_qty\"}, \"qty_out\": {\"string\": \"Total Ouput Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_qty\"}, \"qty_diff\": {\"string\": \"Qty Difference\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_qty\"}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.order\", \"Sales Order\"], [\"purchase.order\", \"Purchase Order\"], [\"production.order\", \"Production Order\"], [\"job\", \"Service Order\"], [\"product.claim\", \"Claim Bill\"], [\"product.borrow\", \"Borrow Request\"], [\"stock.picking\", \"Picking\"]], \"store\": true}, \"picking_id\": {\"string\": \"Goods Receipt\", \"type\": \"many2one\", \"relation\": \"stock.picking\", \"condition\": [[\"type\", \"=\", \"in\"]], \"store\": true}, \"sale_id\": {\"string\": \"Sales Order\", \"type\": \"many2one\", \"relation\": \"sale.order\", \"store\": true}, \"purchase_orders\": {\"string\": \"Purchase Orders\", \"type\": \"one2many\", \"relation\": \"purchase.order\", \"relfield\": \"related_id\"}, \"cost_total_in\": {\"string\": \"Total Cost From Products\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_cost\"}, \"cost_total_out\": {\"string\": \"Total Cost To Products\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_cost\"}, \"ref\": {\"string\": \"Ref\", \"type\": \"char\", \"store\": true}, \"project_id\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"project\", \"search\": true, \"store\": true}, \"date_done\": {\"string\": \"Completed Date\", \"type\": \"datetime\", \"search\": true, \"store\": true}, \"date_start\": {\"string\": \"Date Start\", \"type\": \"datetime\", \"search\": true, \"store\": true}}}, \"stock.transform.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"transform_id\": {\"string\": \"Transform\", \"type\": \"many2one\", \"relation\": \"stock.transform\", \"required\": true, \"search\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"in\", \"From\"], [\"out\", \"To\"], [\"service\", \"Service\"]], \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"To Product\", \"type\": \"many2one\", \"relation\": \"product\", \"condition\": [[\"type\", \"=\", \"stock\"]], \"required\": true, \"search\": true, \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial No.\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"search\": true, \"store\": true}, \"cost_price\": {\"string\": \"Cost Unit Price\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"cost_amount\": {\"string\": \"Cost Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount_price\"}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"uom2_id\": {\"string\": \"UoM2\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"qty2\": {\"string\": \"Qty2\", \"type\": \"decimal\", \"store\": true}, \"weight\": {\"string\": \"Gross Weight\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_gross_weight\"}, \"location_id\": {\"string\": \"Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"search\": true, \"store\": true}, \"picking_id\": {\"string\": \"Goods Receipt\", \"type\": \"many2one\", \"relation\": \"stock.picking\", \"store\": true}, \"supplier_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"move_id\": {\"string\": \"Stock Movement\", \"type\": \"many2one\", \"relation\": \"stock.move\", \"store\": true}, \"confirmed\": {\"string\": \"Confirmed\", \"type\": \"boolean\", \"store\": true}, \"notes\": {\"string\": \"Notes\", \"type\": \"text\", \"store\": true}, \"planned_qty\": {\"string\": \"Planned Qty\", \"type\": \"decimal\", \"store\": true}}}, \"stock.consign\": {\"string\": \"Consignment Stock\", \"name_field\": \"location_id\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"location_id\": {\"string\": \"Stock Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"required\": true, \"search\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"search\": true, \"store\": true}, \"type\": {\"string\": \"Consignment Type\", \"type\": \"selection\", \"selection\": [[\"sale\", \"Sell\"], [\"purchase\", \"Purchase\"]], \"required\": true, \"search\": true, \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"search\": true, \"store\": true}, \"periods\": {\"string\": \"Consignment Periods\", \"type\": \"one2many\", \"relation\": \"stock.consign.period\", \"relfield\": \"consign_id\"}, \"order_type\": {\"string\": \"Create Order\", \"type\": \"selection\", \"selection\": [[\"stock\", \"From Stock\"], [\"sale\", \"From Sales Orders\"], [\"invoice\", \"From Customer Invoices\"]], \"store\": true}, \"new_invoice_lines\": {\"string\": \"New Invoice Lines\", \"type\": \"many2many\", \"relation\": \"account.invoice.line\", \"readonly\": true, \"function\": \"get_new_invoice_lines\"}, \"purchase_orders\": {\"string\": \"Purchase Orders\", \"type\": \"one2many\", \"relation\": \"purchase.order\", \"relfield\": \"related_id\"}}}, \"stock.consign.period\": {\"string\": \"Consignment Period\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"consign_id\": {\"string\": \"Consignment Stock\", \"type\": \"many2one\", \"relation\": \"stock.consign\", \"required\": true, \"store\": true}, \"date_from\": {\"string\": \"From Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"To Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"use_qty\": {\"string\": \"Issued Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_use\"}, \"use_amount\": {\"string\": \"Issued Cost\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_use\"}, \"sale_qty\": {\"string\": \"Sales Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_use\"}, \"sale_amount\": {\"string\": \"Sales Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_use\"}, \"sale_id\": {\"string\": \"Sales Order\", \"type\": \"many2one\", \"relation\": \"sale.order\", \"store\": true}, \"purchase_id\": {\"string\": \"Purchase Order\", \"type\": \"many2one\", \"relation\": \"purchase.order\", \"store\": true}}}, \"landed.cost\": {\"string\": \"Landed Costs\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"ref\": {\"string\": \"Ref\", \"type\": \"char\", \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"posted\", \"Posted\"], [\"reversed\", \"Reversed\"]], \"search\": true, \"store\": true}, \"cost_allocs\": {\"string\": \"Cost Allocations\", \"type\": \"one2many\", \"relation\": \"landed.cost.alloc\", \"relfield\": \"landed_id\"}, \"cost_alloc_method\": {\"string\": \"Cost Allocation Method\", \"type\": \"selection\", \"selection\": [[\"amount\", \"By Amount\"], [\"qty\", \"By Qty\"]], \"store\": true}, \"move_id\": {\"string\": \"Journal Entry\", \"type\": \"many2one\", \"relation\": \"account.move\", \"store\": true}, \"est_ship\": {\"string\": \"Estimate Shipping Cost\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_total\"}, \"est_duty\": {\"string\": \"Estimate Duty Cost\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_total\"}, \"act_ship\": {\"string\": \"Actual Shipping Cost\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_total\"}, \"act_duty\": {\"string\": \"Actual Duty Cost\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_total\"}, \"alloc_amount\": {\"string\": \"Allocate Amount\", \"type\": \"decimal\", \"store\": true}, \"alloc_type\": {\"string\": \"Allocation Type\", \"type\": \"selection\", \"selection\": [[\"amount\", \"Amount\"], [\"qty\", \"Qty\"]], \"store\": true}, \"alloc_cost_type\": {\"string\": \"Cost Type\", \"type\": \"selection\", \"selection\": [[\"est_ship\", \"Est Shipping\"], [\"est_duty\", \"Estimate Duty\"], [\"act_ship\", \"Actual Shipping\"], [\"act_duty\", \"Actual Duty\"]], \"store\": true}, \"reverse_move_id\": {\"string\": \"Reverse Journal Entry\", \"type\": \"many2one\", \"relation\": \"account.move\", \"store\": true}, \"stock_moves\": {\"string\": \"Stock Movements\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"related_id\"}, \"invoice_id\": {\"string\": \"Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"store\": true}, \"payment_id\": {\"string\": \"Payment\", \"type\": \"many2one\", \"relation\": \"account.payment\", \"store\": true}}}, \"landed.cost.alloc\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"landed_id\": {\"string\": \"Landed Cost\", \"type\": \"many2one\", \"relation\": \"landed.cost\", \"required\": true, \"store\": true}, \"move_id\": {\"string\": \"Stock Movement\", \"type\": \"many2one\", \"relation\": \"stock.move\", \"required\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"datetime\", \"readonly\": true, \"function\": \"_get_related\"}, \"picking_id\": {\"string\": \"Goods Receipt\", \"type\": \"many2one\", \"relation\": \"stock.picking\", \"readonly\": true, \"function\": \"_get_related\"}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"readonly\": true, \"function\": \"_get_related\"}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"readonly\": true, \"function\": \"_get_related\"}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_related\"}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"readonly\": true, \"function\": \"_get_related\"}, \"cost_price\": {\"string\": \"Base Cost Price\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_related\"}, \"cost_amount\": {\"string\": \"Base Cost Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_related\"}, \"location_from_id\": {\"string\": \"From Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"readonly\": true, \"function\": \"_get_related\"}, \"location_to_id\": {\"string\": \"To Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"readonly\": true, \"function\": \"_get_related\"}, \"track_id\": {\"string\": \"Track\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"readonly\": true, \"function\": \"_get_related\"}, \"qty_stock_gr\": {\"string\": \"Qty In Stock GR\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_qty_stock\"}, \"qty_stock_lc\": {\"string\": \"Qty In Stock LC\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_qty_stock\"}, \"est_ship\": {\"string\": \"Est. Shipping\", \"type\": \"decimal\", \"store\": true}, \"est_duty\": {\"string\": \"Est. Duty\", \"type\": \"decimal\", \"store\": true}, \"act_ship\": {\"string\": \"Act. Shipping\", \"type\": \"decimal\", \"store\": true}, \"act_duty\": {\"string\": \"Act. Duty\", \"type\": \"decimal\", \"store\": true}, \"amount\": {\"string\": \"Total Alloc. Cost\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_total\"}, \"percent\": {\"string\": \"Cost Percent\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_total\"}}}, \"report.stock.plan\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"product_categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"store\": true}, \"supplier_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"plan_horizon\": {\"string\": \"Planning Horizon (days)\", \"type\": \"integer\", \"store\": true}}}, \"stock.order\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"stock.order.line\", \"relfield\": \"order_id\"}, \"confirm_orders\": {\"string\": \"Confirm Orders\", \"type\": \"boolean\", \"store\": true}}}, \"stock.order.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"order_id\": {\"string\": \"Order\", \"type\": \"many2one\", \"relation\": \"stock.order\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Order Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"Order UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"date\": {\"string\": \"Order Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"supply_method\": {\"string\": \"Supply Method\", \"type\": \"selection\", \"selection\": [[\"purchase\", \"Purchase\"], [\"production\", \"Production\"]], \"readonly\": true, \"function\": \"_get_related\"}, \"supplier_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"contact\", \"readonly\": true, \"function\": \"get_supplier\"}}}, \"delivery.slot\": {\"string\": \"Delivery Slots\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"time_from\": {\"string\": \"From Time\", \"type\": \"char\", \"required\": true, \"store\": true}, \"time_to\": {\"string\": \"To Time\", \"type\": \"char\", \"required\": true, \"store\": true}, \"capacities\": {\"string\": \"Capacities\", \"type\": \"one2many\", \"relation\": \"delivery.slot.capacity\", \"relfield\": \"slot_id\"}}}, \"delivery.slot.capacity\": {\"string\": \"Delivery Slot Capacity\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"slot_id\": {\"string\": \"Delivery Slot\", \"type\": \"many2one\", \"relation\": \"delivery.slot\", \"required\": true, \"store\": true}, \"weekday\": {\"string\": \"Weekday\", \"type\": \"selection\", \"selection\": [[\"0\", \"Monday\"], [\"1\", \"Tuesday\"], [\"2\", \"Wednesday\"], [\"3\", \"Thursday\"], [\"4\", \"Friday\"], [\"5\", \"Saturday\"], [\"6\", \"Sunday\"]], \"store\": true}, \"capacity\": {\"string\": \"Capacity\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"exclude_postal_codes\": {\"string\": \"Exclude Postal Codes\", \"type\": \"text\", \"store\": true}}}, \"messenger\": {\"string\": \"Messenger\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"store\": true}}}, \"qc.result\": {\"string\": \"QC Result\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"pick_id\": {\"string\": \"Stock Picking\", \"type\": \"many2one\", \"relation\": \"stock.picking\", \"search\": true, \"store\": true}, \"production_id\": {\"string\": \"Production Order\", \"type\": \"many2one\", \"relation\": \"production.order\", \"search\": true, \"store\": true}, \"move_id\": {\"string\": \"Stock Move\", \"type\": \"many2one\", \"relation\": \"stock.move\", \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"search\": true, \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial No.\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"search\": true, \"store\": true}, \"total_qty\": {\"string\": \"Total Qty\", \"type\": \"decimal\", \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"sample_qty\": {\"string\": \"Sample Qty\", \"type\": \"decimal\", \"store\": true}, \"test1\": {\"string\": \"Test 1\", \"type\": \"selection\", \"selection\": [[\"1\", \"1\"], [\"0\", \"0\"]], \"store\": true}, \"test2\": {\"string\": \"Test 2\", \"type\": \"selection\", \"selection\": [[\"1\", \"1\"], [\"0\", \"0\"]], \"store\": true}, \"test3\": {\"string\": \"Test 3\", \"type\": \"selection\", \"selection\": [[\"1\", \"1\"], [\"0\", \"0\"]], \"store\": true}, \"test4\": {\"string\": \"Test 4\", \"type\": \"selection\", \"selection\": [[\"1\", \"1\"], [\"0\", \"0\"]], \"store\": true}, \"test5\": {\"string\": \"Test 5\", \"type\": \"selection\", \"selection\": [[\"1\", \"1\"], [\"0\", \"0\"]], \"store\": true}, \"test6\": {\"string\": \"Test 6\", \"type\": \"selection\", \"selection\": [[\"1\", \"1\"], [\"0\", \"0\"]], \"store\": true}, \"test7\": {\"string\": \"Test 7\", \"type\": \"selection\", \"selection\": [[\"1\", \"1\"], [\"0\", \"0\"]], \"store\": true}, \"test8\": {\"string\": \"Test 8\", \"type\": \"selection\", \"selection\": [[\"1\", \"1\"], [\"0\", \"0\"]], \"store\": true}, \"result\": {\"string\": \"QC Result\", \"type\": \"selection\", \"selection\": [[\"accept\", \"Accept\"], [\"reject\", \"Reject\"]], \"required\": true, \"search\": true, \"store\": true}, \"inspector_id\": {\"string\": \"Inspector\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"reviewer_id\": {\"string\": \"Reviewer\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"image\": {\"string\": \"Photo\", \"type\": \"file\", \"store\": true}}}, \"product.waste\": {\"string\": \"Product Waste\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"location_id\": {\"string\": \"Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"required\": true, \"search\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"condition\": [[\"type\", \"=\", \"stock\"]], \"required\": true, \"search\": true, \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial No.\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"search\": true, \"store\": true}, \"qty\": {\"string\": \"Waste Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"done\", \"Completed\"], [\"voided\", \"Voided\"]], \"required\": true, \"search\": true, \"store\": true}, \"notes\": {\"string\": \"Notes\", \"type\": \"text\", \"search\": true, \"store\": true}, \"stock_moves\": {\"string\": \"Stock Movements\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"related_id\"}}}, \"stock.forecast\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"stock.pallet\": {\"string\": \"Pallet\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"width\": {\"string\": \"Width\", \"type\": \"decimal\", \"store\": true}, \"height\": {\"string\": \"Height\", \"type\": \"decimal\", \"store\": true}, \"length\": {\"string\": \"Length\", \"type\": \"decimal\", \"store\": true}, \"weight\": {\"string\": \"Weight\", \"type\": \"decimal\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"stock.container.type\": {\"string\": \"Container Type\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"width\": {\"string\": \"Width\", \"type\": \"decimal\", \"store\": true}, \"height\": {\"string\": \"Height\", \"type\": \"decimal\", \"store\": true}, \"length\": {\"string\": \"Length\", \"type\": \"decimal\", \"store\": true}, \"weight\": {\"string\": \"Weight\", \"type\": \"decimal\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"num_items\": {\"string\": \"Number Of Items\", \"type\": \"integer\", \"store\": true}}}, \"stock.grade\": {\"string\": \"Product Grading\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"ref\": {\"string\": \"Ref\", \"type\": \"char\", \"search\": true, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"purchase.order\", \"Order\"], [\"stock.picking\", \"Picking\"], [\"production.order\", \"Production Order\"]], \"store\": true}, \"location_id\": {\"string\": \"Grading Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"required\": true, \"search\": true, \"store\": true}, \"location_ga_id\": {\"string\": \"Grade-A Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"search\": true, \"store\": true}, \"location_gb_id\": {\"string\": \"Grade-B Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"search\": true, \"store\": true}, \"location_waste_id\": {\"string\": \"Waste Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"search\": true, \"store\": true}, \"notes\": {\"string\": \"Notes\", \"type\": \"text\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"done\", \"Completed\"], [\"voided\", \"Voided\"]], \"required\": true, \"search\": true, \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"stock.grade.line\", \"relfield\": \"grade_id\"}, \"stock_moves\": {\"string\": \"Stock Movements\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"related_id\"}, \"product_id\": {\"string\": \"Graded Product\", \"type\": \"many2one\", \"relation\": \"product\", \"condition\": [[\"type\", \"=\", \"stock\"]], \"required\": true, \"search\": true, \"store\": true}, \"qty\": {\"string\": \"Graded Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"qty_ga\": {\"string\": \"Grade-A Qty\", \"type\": \"decimal\", \"store\": true}, \"qty_waste\": {\"string\": \"Waste Qty\", \"type\": \"decimal\", \"store\": true}, \"qty_loss\": {\"string\": \"Loss Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_loss\"}, \"purchase_id\": {\"string\": \"Purchase Order\", \"type\": \"many2one\", \"relation\": \"purchase.order\", \"store\": true}, \"production_id\": {\"string\": \"Production Order\", \"type\": \"many2one\", \"relation\": \"production.order\", \"store\": true}, \"qty_remain\": {\"string\": \"Remaining Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_remain\"}}}, \"stock.grade.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"grade_id\": {\"string\": \"Grading\", \"type\": \"many2one\", \"relation\": \"stock.grade\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"condition\": [[\"type\", \"=\", \"stock\"]], \"required\": true, \"search\": true, \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"lot_id\": {\"string\": \"Lot\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"search\": true, \"store\": true}, \"product_gb_id\": {\"string\": \"Grade-B Product\", \"type\": \"many2one\", \"relation\": \"product\", \"condition\": [[\"type\", \"=\", \"stock\"]], \"search\": true, \"store\": true}, \"qty_ga\": {\"string\": \"Grade-A Qty\", \"type\": \"decimal\", \"store\": true}, \"qty_gb\": {\"string\": \"Grade-B Qty\", \"type\": \"decimal\", \"store\": true}, \"qty_waste\": {\"string\": \"Waste Qty\", \"type\": \"decimal\", \"store\": true}, \"qty_loss\": {\"string\": \"Loss Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_loss\"}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"stock.picking\", \"Picking\"], [\"production.order\", \"Production Order\"]], \"store\": true}, \"picking_id\": {\"string\": \"Picking\", \"type\": \"many2one\", \"relation\": \"stock.picking\", \"store\": true}, \"purchase_id\": {\"string\": \"Purchase Order\", \"type\": \"many2one\", \"relation\": \"purchase.order\", \"store\": true}, \"production_id\": {\"string\": \"Production Order\", \"type\": \"many2one\", \"relation\": \"production.order\", \"store\": true}, \"qty_remain\": {\"string\": \"Remaining Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_remain\"}, \"location_id\": {\"string\": \"Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"required\": true, \"search\": true, \"store\": true}, \"unit_price\": {\"string\": \"Unit Price\", \"type\": \"decimal\", \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"store\": true}}}, \"report.forecast.details\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"forecast_days\": {\"string\": \"Forecast Days\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"show_shelf_life\": {\"string\": \"Show Shelf Life\", \"type\": \"boolean\", \"store\": true}}}, \"report.forecast.summary\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"forecast_days\": {\"string\": \"Forecast Days\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"show_shelf_life\": {\"string\": \"Show Shelf Life\", \"type\": \"boolean\", \"store\": true}, \"order_only\": {\"string\": \"Only show products to order\", \"type\": \"boolean\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}}}, \"stock.lot.item\": {\"string\": \"Lot Item\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Item Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"received_date\": {\"string\": \"Received Date\", \"type\": \"datetime\", \"search\": true, \"store\": true}, \"lot_id\": {\"string\": \"Lot\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"required\": true, \"store\": true}}}, \"ship.port\": {\"string\": \"Shipping Port\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"country_id\": {\"string\": \"Country\", \"type\": \"many2one\", \"relation\": \"country\", \"store\": true}}}, \"stock.transfer\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"ids\": {\"string\": \"Ids\", \"type\": \"text\", \"store\": true}, \"location_id\": {\"string\": \"To Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"required\": true, \"store\": true}}}, \"gen.lots\": {\"string\": \"Gen Lots\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"sequence_id\": {\"string\": \"Batch Sequence\", \"type\": \"many2one\", \"relation\": \"sequence\", \"condition\": [[\"type\", \"=\", \"stock_lot\"]], \"required\": true, \"store\": true}, \"prefix\": {\"string\": \"Batch Prefix\", \"type\": \"char\", \"required\": true, \"store\": true}, \"num_lots\": {\"string\": \"Number Of Lots\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"padding\": {\"string\": \"Lot Number Padding\", \"type\": \"integer\", \"required\": true, \"store\": true}}}, \"report.stock.invoice\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"store\": true}, \"pick_id\": {\"string\": \"Goods Receipt\", \"type\": \"many2one\", \"relation\": \"stock.picking\", \"store\": true}, \"products\": {\"string\": \"Products\", \"type\": \"many2many\", \"relation\": \"product\"}}}, \"stock.balance.update\": {\"string\": \"Stock Balance Update\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}}}, \"report.stock.expire\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"forecast_days\": {\"string\": \"Forecast Days\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}}}, \"stock.cut\": {\"string\": \"Stock Cutting\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"store\": true}, \"orders\": {\"string\": \"Orders\", \"type\": \"one2many\", \"relation\": \"stock.cut.order\", \"relfield\": \"cut_id\"}, \"stock\": {\"string\": \"Stock\", \"type\": \"one2many\", \"relation\": \"stock.cut.stock\", \"relfield\": \"cut_id\"}, \"patterns\": {\"string\": \"Patterns\", \"type\": \"one2many\", \"relation\": \"stock.cut.pattern\", \"relfield\": \"cut_id\"}, \"total_waste\": {\"string\": \"Total Waste\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_waste\"}}}, \"stock.cut.order\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"cut_id\": {\"string\": \"Cutting\", \"type\": \"many2one\", \"relation\": \"stock.cut\", \"required\": true, \"store\": true}, \"width\": {\"string\": \"Order Width\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Order Qty\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"qty_type\": {\"string\": \"Qty Type\", \"type\": \"selection\", \"selection\": [[\"allow\", \"Allow Extra Qty\"], [\"exact\", \"Exact Qty\"]], \"store\": true}, \"pat_qty\": {\"string\": \"Cut Qty\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_pat_qty\"}}}, \"stock.cut.stock\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"cut_id\": {\"string\": \"Cutting\", \"type\": \"many2one\", \"relation\": \"stock.cut\", \"required\": true, \"store\": true}, \"width\": {\"string\": \"Stock Width\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Stock Qty\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"jumbo\": {\"string\": \"Jumbo\", \"type\": \"boolean\", \"store\": true}, \"pat_qty\": {\"string\": \"Cut Qty\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_pat_qty\"}}}, \"stock.cut.pattern\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"cut_id\": {\"string\": \"Cutting\", \"type\": \"many2one\", \"relation\": \"stock.cut\", \"required\": true, \"store\": true}, \"stock_width\": {\"string\": \"Stock Width\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"num\": {\"string\": \"Repeat Times\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"width1\": {\"string\": \"Width #1\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"qty1\": {\"string\": \"Qty #1\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"width2\": {\"string\": \"Width #2\", \"type\": \"decimal\", \"store\": true}, \"qty2\": {\"string\": \"Qty #2\", \"type\": \"decimal\", \"store\": true}, \"width3\": {\"string\": \"Width #3\", \"type\": \"decimal\", \"store\": true}, \"qty3\": {\"string\": \"Qty #3\", \"type\": \"decimal\", \"store\": true}, \"width4\": {\"string\": \"Width #4\", \"type\": \"decimal\", \"store\": true}, \"qty4\": {\"string\": \"Qty #4\", \"type\": \"decimal\", \"store\": true}, \"width5\": {\"string\": \"Width #5\", \"type\": \"decimal\", \"store\": true}, \"qty5\": {\"string\": \"Qty #5\", \"type\": \"decimal\", \"store\": true}, \"total_cut\": {\"string\": \"Unit Cut\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_waste\"}, \"waste\": {\"string\": \"Unit Waste\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_waste\"}, \"total_waste\": {\"string\": \"Total Waste\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_waste\"}}}, \"port.loading\": {\"string\": \"Port Loading\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"country_id\": {\"string\": \"Country\", \"type\": \"many2one\", \"relation\": \"country\", \"search\": true, \"store\": true}}}, \"port.destination\": {\"string\": \"Port Destination\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"country_id\": {\"string\": \"Country\", \"type\": \"many2one\", \"relation\": \"country\", \"store\": true}}}, \"cycle.stock.count\": {\"string\": \"Cycle Stock Count\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Latest Stock-Count Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"condition\": [[\"type\", \"=\", \"stock\"]], \"required\": true, \"search\": true, \"store\": true}, \"abc_categ\": {\"string\": \"ABC Category\", \"type\": \"selection\", \"selection\": [[\"a_\", \"A\"], [\"b_\", \"B\"], [\"c_\", \"C\"]], \"search\": true, \"store\": true}, \"xyz_categ\": {\"string\": \"XYZ Category\", \"type\": \"selection\", \"selection\": [[\"x_\", \"X\"], [\"y_\", \"Y\"], [\"z_\", \"Z\"]], \"search\": true, \"store\": true}, \"location_id\": {\"string\": \"Stock Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"required\": true, \"search\": true, \"store\": true}, \"record_id\": {\"string\": \"Stock Count Records\", \"type\": \"one2many\", \"relation\": \"stock.count.line\", \"relfield\": \"cyclecount_id\"}, \"qty\": {\"string\": \"Latest Expected Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty\"}, \"status\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"active\", \"Active\"], [\"inactive\", \"active\"]], \"store\": true}}}, \"select.location\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"location_id\": {\"string\": \"Stock Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"required\": true, \"store\": true}}}, \"route.settings\": {\"string\": \"Route Settings\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"putaway\", \"Putaway\"], [\"picking\", \"Picking\"]], \"required\": true, \"search\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"search\": true, \"store\": true}, \"location_id\": {\"string\": \"Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"required\": true, \"search\": true, \"store\": true}}}, \"pick.container\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"picking_id\": {\"string\": \"Picking\", \"type\": \"many2one\", \"relation\": \"stock.picking\", \"store\": true}, \"container_id\": {\"string\": \"Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}}}, \"report.stock.project\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"Date From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"Date To\", \"type\": \"date\", \"store\": true}, \"track_id\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"store\": true}, \"status\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"Delivered\", \"Delivered\"], [\"Not Delivered\", \"Not Delivered\"]], \"store\": true}}}, \"custom.report.stock.expiry\": {\"string\": \"Custom Stock Expiry Report\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"location_id\": {\"string\": \"Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"store\": true}, \"period_days\": {\"string\": \"Period Days\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"num_periods\": {\"string\": \"Number of Periods\", \"type\": \"integer\", \"required\": true, \"store\": true}}}, \"mobile.count\": {\"string\": \"Mobile Count\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"memo\": {\"string\": \"Memo\", \"type\": \"char\", \"search\": true, \"store\": true}, \"location_id\": {\"string\": \"Warehouse\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"required\": true, \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"char\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"done\", \"Completed\"], [\"voided\", \"Voided\"]], \"required\": true, \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"stock.count.line\", \"relfield\": \"count_id\"}, \"moves\": {\"string\": \"Stock Movements\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"related_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"journal_id\": {\"string\": \"Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"total_cost_amount\": {\"string\": \"Total New Cost Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_cost_amount\"}, \"total_prev_qty\": {\"string\": \"Total Prev Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_qty\"}, \"total_new_qty\": {\"string\": \"Total New Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_qty\"}, \"num_lines\": {\"string\": \"# Items\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_lines\"}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"search\": true}}}, \"custom.stock.count.add\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"stock_count_id\": {\"string\": \"Stock Count\", \"type\": \"many2one\", \"relation\": \"stock.count\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"store\": true}, \"sale_invoice_uom_id\": {\"string\": \"Sales Invoice UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"lot_type\": {\"string\": \"Lot Type\", \"type\": \"selection\", \"selection\": [[\"with_lot\", \"With Lot\"], [\"without_lot\", \"Without Lot\"]], \"store\": true}, \"qty_type\": {\"string\": \"New Qty\", \"type\": \"selection\", \"selection\": [[\"previous\", \"Copy Previous Qty\"], [\"reset\", \"Set Qty To Zero\"]], \"store\": true}, \"price_type\": {\"string\": \"New Cost Price\", \"type\": \"selection\", \"selection\": [[\"previous\", \"Copy Previous Cost Price\"], [\"product\", \"Copy Cost Price From Product\"], [\"reset\", \"Set Cost Price To Zero\"]], \"store\": true}}}, \"custom.stock.count.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"count_id\": {\"string\": \"Stock Count\", \"type\": \"many2one\", \"relation\": \"stock.count\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"condition\": [[\"type\", \"=\", \"stock\"]], \"required\": true, \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"bin_location\": {\"string\": \"Bin Location\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"prev_qty\": {\"string\": \"Previous Qty\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"readonly\": true, \"store\": true}, \"new_qty\": {\"string\": \"New Qty\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"readonly\": true, \"store\": true}, \"prev_cost_price\": {\"string\": \"Previous Cost Price\", \"type\": \"decimal\", \"scale\": 6, \"readonly\": true, \"function\": \"get_prev_cost_price\"}, \"prev_cost_amount\": {\"string\": \"Previous Cost Amount\", \"type\": \"decimal\", \"store\": true}, \"unit_price\": {\"string\": \"New Cost Price\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"new_cost_amount\": {\"string\": \"New Cost Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_new_cost_amount\"}, \"lot_weight\": {\"string\": \"Lot Weight\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_related\"}, \"cyclecount_id\": {\"string\": \"Cycle Stock Count\", \"type\": \"many2one\", \"relation\": \"cycle.stock.count\", \"store\": true}}}, \"custom.stock.count.session\": {\"string\": \"Stock Count Session\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"location_id\": {\"string\": \"Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"required\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"confirmed\", \"Confirmed\"]], \"required\": true, \"readonly\": true, \"store\": true}, \"lots\": {\"string\": \"Scanned Lots\", \"type\": \"one2many\", \"relation\": \"custom.stock.count.lot\", \"relfield\": \"session_id\", \"condition\": [[\"user_id\", \"!=\", null]]}, \"lots_remain\": {\"string\": \"Remaining Lots\", \"type\": \"one2many\", \"relation\": \"custom.stock.count.lot\", \"relfield\": \"session_id\", \"condition\": [[\"user_id\", \"=\", null]]}, \"all_lots\": {\"string\": \"All Lots\", \"type\": \"one2many\", \"relation\": \"custom.stock.count.lot\", \"relfield\": \"session_id\"}, \"stock_moves\": {\"string\": \"Stock Movements\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"related_id\"}}}, \"custom.stock.count.lot\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"session_id\": {\"string\": \"Session\", \"type\": \"many2one\", \"relation\": \"custom.stock.count.session\", \"required\": true, \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"required\": true, \"store\": true}, \"user_id\": {\"string\": \"Scanned By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"time\": {\"string\": \"Scanned Time\", \"type\": \"datetime\", \"store\": true}, \"prev_qty\": {\"string\": \"Previous Qty\", \"type\": \"decimal\", \"store\": true}}}, \"stock.compute.cost\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"stock.period\": {\"string\": \"Stock Period\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"date_from\": {\"string\": \"Date From\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"Date To\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"posted\", \"Posted\"]], \"required\": true, \"readonly\": true, \"store\": true}, \"move_id\": {\"string\": \"Journal Entry\", \"type\": \"many2one\", \"relation\": \"account.move\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"stock_moves\": {\"string\": \"Posted Stock Movements\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"period_id\"}, \"num_stock_moves\": {\"string\": \"Number stock movements\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_stock_moves\"}, \"num_posted_stock_moves\": {\"string\": \"Number posted stock movements\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_stock_moves\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}}}, \"sale.quot\": {\"string\": \"Quotation\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"ref\": {\"string\": \"Ref\", \"type\": \"char\", \"search\": true, \"store\": true}, \"contact_id\": {\"string\": \"Customer\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"search\": true, \"store\": true}, \"contact_person_id\": {\"string\": \"Contact Person\", \"type\": \"many2one\", \"relation\": \"contact\", \"condition\": [[\"type\", \"=\", \"person\"]], \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"exp_date\": {\"string\": \"Valid Until\", \"type\": \"date\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"waiting_approval\", \"Awaiting Approval\"], [\"approved\", \"Approved\"], [\"won\", \"Won\"], [\"lost\", \"Lost\"], [\"revised\", \"Revised\"], [\"voided\", \"Voided\"]], \"readonly\": true, \"store\": true, \"function\": \"get_state\"}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"sale.quot.line\", \"relfield\": \"quot_id\"}, \"amount_subtotal\": {\"string\": \"Subtotal\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_tax\": {\"string\": \"Tax Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_total\": {\"string\": \"Total\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_discount\": {\"string\": \"Discount Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"amount_before_discount\": {\"string\": \"Before Discount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"amount_after_discount2\": {\"string\": \"After Discount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"amount_total_words\": {\"string\": \"Total Words\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_amount_total_words\"}, \"qty_total\": {\"string\": \"Total\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_total\"}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"required\": true, \"store\": true}, \"opport_id\": {\"string\": \"Opportunity\", \"type\": \"many2one\", \"relation\": \"sale.opportunity\", \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"Owner\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"tax_type\": {\"string\": \"Tax Type\", \"type\": \"selection\", \"selection\": [[\"tax_ex\", \"Tax Exclusive\"], [\"tax_in\", \"Tax Inclusive\"], [\"no_tax\", \"No Tax\"]], \"required\": true, \"store\": true}, \"sales\": {\"string\": \"Sales Orders\", \"type\": \"one2many\", \"relation\": \"sale.order\", \"relfield\": \"quot_id\"}, \"payment_terms\": {\"string\": \"Payment Terms\", \"type\": \"text\", \"store\": true}, \"pay_term_id\": {\"string\": \"Payment Terms\", \"type\": \"many2one\", \"relation\": \"payment.term\", \"store\": true}, \"other_info\": {\"string\": \"Other Information\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"activities\": {\"string\": \"Activities\", \"type\": \"one2many\", \"relation\": \"sale.activ\", \"relfield\": \"related_id\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"uuid\": {\"string\": \"UUID\", \"type\": \"char\", \"store\": true}, \"price_list_id\": {\"string\": \"Price List\", \"type\": \"many2one\", \"relation\": \"price.list\", \"store\": true}, \"emails\": {\"string\": \"Emails\", \"type\": \"one2many\", \"relation\": \"email.message\", \"relfield\": \"related_id\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"issue\", \"Issue\"]], \"store\": true}, \"ship_term_id\": {\"string\": \"Shipping Terms\", \"type\": \"many2one\", \"relation\": \"ship.term\", \"store\": true}, \"sequence_id\": {\"string\": \"Number Sequence\", \"type\": \"many2one\", \"relation\": \"sequence\", \"store\": true}, \"job_template_id\": {\"string\": \"Service Order Template\", \"type\": \"many2one\", \"relation\": \"job.template\", \"store\": true}, \"lost_sale_code_id\": {\"string\": \"Lost Sale Reason Code\", \"type\": \"many2one\", \"relation\": \"reason.code\", \"condition\": [[\"type\", \"=\", \"lost_sale\"]], \"store\": true}, \"agg_amount_total\": {\"string\": \"Total Amount\", \"type\": \"decimal\"}, \"agg_amount_subtotal\": {\"string\": \"Total Amount w/o Tax\", \"type\": \"decimal\"}, \"year\": {\"string\": \"Year\", \"type\": \"char\"}, \"quarter\": {\"string\": \"Quarter\", \"type\": \"char\"}, \"month\": {\"string\": \"Month\", \"type\": \"char\"}, \"week\": {\"string\": \"Week\", \"type\": \"char\"}, \"est_costs\": {\"string\": \"Costs\", \"type\": \"one2many\", \"relation\": \"quot.cost\", \"relfield\": \"quot_id\"}, \"cost_amount\": {\"string\": \"Cost Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_profit\"}, \"profit_amount\": {\"string\": \"Profit Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_profit\"}, \"margin_percent\": {\"string\": \"Margin %\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_profit\"}, \"currency_rates\": {\"string\": \"Currency Rates\", \"type\": \"one2many\", \"relation\": \"custom.currency.rate\", \"relfield\": \"related_id\"}, \"is_template\": {\"string\": \"Use As Template\", \"type\": \"boolean\", \"store\": true}, \"opport_email_id\": {\"string\": \"Opportunity Email\", \"type\": \"many2one\", \"relation\": \"email.message\", \"readonly\": true, \"function\": \"get_opport_email\"}, \"track_id\": {\"string\": \"Tracking Code\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"discount\": {\"string\": \"Discount %\", \"type\": \"decimal\", \"store\": true}, \"amount_after_discount\": {\"string\": \"Amount After Discount\", \"type\": \"decimal\", \"store\": true}, \"groups\": {\"string\": \"Groups\", \"type\": \"json\", \"readonly\": true, \"function\": \"get_groups\"}, \"sale_categ_id\": {\"string\": \"Sales Category\", \"type\": \"many2one\", \"relation\": \"sale.categ\", \"search\": true, \"store\": true}, \"tax_details\": {\"string\": \"Tax Details\", \"type\": \"json\", \"readonly\": true, \"function\": \"get_tax_details\"}, \"extra_amount\": {\"string\": \"Extra Amount\", \"type\": \"decimal\", \"store\": true}, \"extra_discount\": {\"string\": \"Extra Discount\", \"type\": \"decimal\", \"store\": true}, \"extra_product_id\": {\"string\": \"Extra Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"extra_discount_product_id\": {\"string\": \"Extra Discount Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"project_id\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"project\", \"search\": true, \"store\": true}, \"bill_address_id\": {\"string\": \"Billing Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"ship_address_id\": {\"string\": \"Shipping Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"seller_id\": {\"string\": \"Seller\", \"type\": \"many2one\", \"relation\": \"seller\", \"store\": true}, \"seller_contact_id\": {\"string\": \"Seller Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"inquiry_date\": {\"string\": \"Inquiry Date\", \"type\": \"date\", \"store\": true}, \"validity_id\": {\"string\": \"Validity\", \"type\": \"many2one\", \"relation\": \"valid.period\", \"store\": true}}}, \"sale.quot.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"quot_id\": {\"string\": \"Quotation\", \"type\": \"many2one\", \"relation\": \"sale.quot\", \"required\": true, \"search\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"unit_price\": {\"string\": \"Unit Price\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"discount\": {\"string\": \"Disc %\", \"type\": \"decimal\", \"store\": true}, \"tax_id\": {\"string\": \"Tax Rate\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"amount_discount\": {\"string\": \"Discount Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount_discount\"}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"user_id\": {\"string\": \"Owner\", \"type\": \"many2one\", \"relation\": \"base.user\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"waiting_approval\", \"Awaiting Approval\"], [\"approved\", \"Approved\"], [\"won\", \"Won\"], [\"lost\", \"Lost\"], [\"revised\", \"Revised\"]], \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"product_categs\": {\"string\": \"Product Categories\", \"type\": \"many2many\", \"relation\": \"product.categ\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"agg_amount\": {\"string\": \"Total Amount\", \"type\": \"decimal\"}, \"agg_qty\": {\"string\": \"Total Order Qty\", \"type\": \"decimal\"}, \"sequence\": {\"string\": \"Item No.\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_sequence_old\"}, \"sequence_no\": {\"string\": \"Item No.\", \"type\": \"integer\", \"store\": true}, \"index\": {\"string\": \"Index\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_index\"}, \"cost_price\": {\"string\": \"Cost Price\", \"type\": \"decimal\", \"store\": true}, \"cost_amount\": {\"string\": \"Cost Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_profit\"}, \"profit_amount\": {\"string\": \"Profit Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_profit\"}, \"margin_percent\": {\"string\": \"Margin %\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_profit\"}, \"type\": {\"string\": \"Line Type\", \"type\": \"selection\", \"selection\": [[\"item\", \"Item\"], [\"group\", \"Group\"]], \"store\": true}, \"notes\": {\"string\": \"Notes\", \"type\": \"text\", \"store\": true}, \"amount_tax\": {\"string\": \"Tax Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_tax_amount\"}, \"amount_incl_tax\": {\"string\": \"Amount Including Tax\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_tax_amount\"}, \"amount_excl_tax\": {\"string\": \"Amount Excluding Tax\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_tax_amount\"}}}, \"sale.order\": {\"string\": \"Sales Order\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"ref\": {\"string\": \"Ref\", \"type\": \"char\", \"search\": true, \"store\": true}, \"contact_id\": {\"string\": \"Customer\", \"type\": \"many2one\", \"relation\": \"contact\", \"condition\": [[\"customer\", \"=\", true]], \"required\": true, \"search\": true, \"store\": true}, \"contact_person_id\": {\"string\": \"Contact Person\", \"type\": \"many2one\", \"relation\": \"contact\", \"condition\": [[\"type\", \"=\", \"person\"]], \"search\": true, \"store\": true}, \"date\": {\"string\": \"Order Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"reserved\", \"Reserved\"], [\"confirmed\", \"Confirmed\"], [\"done\", \"Completed\"], [\"voided\", \"Voided\"]], \"required\": true, \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"sale.order.line\", \"relfield\": \"order_id\"}, \"amount_subtotal\": {\"string\": \"Subtotal\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_tax\": {\"string\": \"Tax Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_total\": {\"string\": \"Total Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_total_discount\": {\"string\": \"Total Discount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_subtotal_before_discount\": {\"string\": \"Subtotal Before Discount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_total_words\": {\"string\": \"Total Words\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_amount_total_words\"}, \"amount_total_cur\": {\"string\": \"Total\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"qty_total\": {\"string\": \"Total\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_total\"}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"required\": true, \"store\": true}, \"quot_id\": {\"string\": \"Quotation\", \"type\": \"many2one\", \"relation\": \"sale.quot\", \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"Owner\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"tax_type\": {\"string\": \"Tax Type\", \"type\": \"selection\", \"selection\": [[\"tax_ex\", \"Tax Exclusive\"], [\"tax_in\", \"Tax Inclusive\"], [\"no_tax\", \"No Tax\"]], \"required\": true, \"store\": true}, \"invoice_lines\": {\"string\": \"Invoice Lines\", \"type\": \"one2many\", \"relation\": \"account.invoice.line\", \"relfield\": \"related_id\"}, \"invoices_direct\": {\"string\": \"Invoices\", \"type\": \"one2many\", \"relation\": \"account.invoice\", \"relfield\": \"related_id\"}, \"invoices\": {\"string\": \"Invoices\", \"type\": \"many2many\", \"relation\": \"account.invoice\", \"readonly\": true, \"function\": \"get_invoices\"}, \"pickings\": {\"string\": \"Stock Pickings\", \"type\": \"many2many\", \"relation\": \"stock.picking\", \"readonly\": true, \"function\": \"get_pickings\"}, \"is_delivered\": {\"string\": \"Shipped\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_delivered\"}, \"is_paid\": {\"string\": \"Paid\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_paid\"}, \"is_invoiced\": {\"string\": \"Invoiced\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_invoiced\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"activities\": {\"string\": \"Activities\", \"type\": \"one2many\", \"relation\": \"sale.activ\", \"relfield\": \"related_id\"}, \"location_id\": {\"string\": \"Warehouse\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"search\": true, \"store\": true}, \"price_list_id\": {\"string\": \"Price List\", \"type\": \"many2one\", \"relation\": \"price.list\", \"condition\": [[\"type\", \"=\", \"sale\"]], \"store\": true}, \"payment_terms\": {\"string\": \"Payment Terms\", \"type\": \"text\", \"store\": true}, \"pay_term_id\": {\"string\": \"Payment Terms\", \"type\": \"many2one\", \"relation\": \"payment.term\", \"store\": true}, \"delivery_date\": {\"string\": \"Delivery Date (ETA)\", \"type\": \"date\", \"store\": true}, \"due_date\": {\"string\": \"Shipping Date (ETD)\", \"type\": \"date\", \"store\": true}, \"ship_time\": {\"string\": \"Shipping Time\", \"type\": \"char\", \"store\": true}, \"team_id\": {\"string\": \"Production Team\", \"type\": \"many2one\", \"relation\": \"mfg.team\", \"store\": true}, \"ship_method_id\": {\"string\": \"Shipping Method\", \"type\": \"many2one\", \"relation\": \"ship.method\", \"store\": true}, \"emails\": {\"string\": \"Emails\", \"type\": \"one2many\", \"relation\": \"email.message\", \"relfield\": \"related_id\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"addresses\": {\"string\": \"Addresses\", \"type\": \"one2many\", \"relation\": \"address\", \"relfield\": \"related_id\"}, \"bill_address_id\": {\"string\": \"Billing Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"ship_address_id\": {\"string\": \"Shipping Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"coupon_id\": {\"string\": \"Coupon\", \"type\": \"many2one\", \"relation\": \"sale.coupon\", \"store\": true}, \"purchase_lines\": {\"string\": \"Purchase Orders\", \"type\": \"one2many\", \"relation\": \"purchase.order.line\", \"relfield\": \"sale_id\"}, \"purchase_orders\": {\"string\": \"Purchase Orders\", \"type\": \"one2many\", \"relation\": \"purchase.order\", \"relfield\": \"related_id\"}, \"sale_orders\": {\"string\": \"Sales Orders\", \"type\": \"one2many\", \"relation\": \"sale.order\", \"relfield\": \"related_id\"}, \"production_orders\": {\"string\": \"Production Orders\", \"type\": \"one2many\", \"relation\": \"production.order\", \"relfield\": \"sale_id\"}, \"other_info\": {\"string\": \"Remarks\", \"type\": \"text\", \"store\": true}, \"costs\": {\"string\": \"Costs\", \"type\": \"one2many\", \"relation\": \"sale.cost\", \"relfield\": \"sale_id\"}, \"est_cost_total\": {\"string\": \"Estimated Cost Total\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_profit_old\"}, \"est_profit\": {\"string\": \"Estimated Profit\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_profit_old\"}, \"est_profit_percent\": {\"string\": \"Estimated Profit Percent\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_profit_old\"}, \"act_cost_total\": {\"string\": \"Actual Cost Total\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_profit_old\"}, \"act_profit\": {\"string\": \"Actual Profit\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_profit_old\"}, \"act_profit_percent\": {\"string\": \"Actual Profit Percent\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_profit_old\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"production_status\": {\"string\": \"Production\", \"type\": \"json\", \"readonly\": true, \"function\": \"get_production_status\"}, \"overdue\": {\"string\": \"Overdue\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_overdue\"}, \"ship_term_id\": {\"string\": \"Shipping Terms\", \"type\": \"many2one\", \"relation\": \"ship.term\", \"store\": true}, \"ship_port_id\": {\"string\": \"Shipping Port\", \"type\": \"many2one\", \"relation\": \"ship.port\", \"store\": true}, \"approved_by_id\": {\"string\": \"Approved By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"readonly\": true, \"store\": true}, \"sequence_id\": {\"string\": \"Number Sequence\", \"type\": \"many2one\", \"relation\": \"sequence\", \"store\": true}, \"stock_moves\": {\"string\": \"Stock Movements\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"related_id\"}, \"state_label\": {\"string\": \"Status Label\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_state_label\"}, \"ship_tracking\": {\"string\": \"Tracking Numbers\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_ship_tracking\"}, \"job_template_id\": {\"string\": \"Service Order Template\", \"type\": \"many2one\", \"relation\": \"job.template\", \"store\": true}, \"jobs\": {\"string\": \"Service Orders\", \"type\": \"one2many\", \"relation\": \"job\", \"relfield\": \"related_id\"}, \"agg_amount_total\": {\"string\": \"Total Amount\", \"type\": \"decimal\"}, \"agg_amount_total_cur\": {\"string\": \"Total Amount (Converted)\", \"type\": \"decimal\"}, \"agg_amount_subtotal\": {\"string\": \"Total Amount w/o Tax\", \"type\": \"decimal\"}, \"agg_est_profit\": {\"string\": \"Total Estimated Profit\", \"type\": \"decimal\"}, \"agg_act_profit\": {\"string\": \"Total Actual Profit\", \"type\": \"decimal\"}, \"year\": {\"string\": \"Year\", \"type\": \"char\"}, \"quarter\": {\"string\": \"Quarter\", \"type\": \"char\"}, \"month\": {\"string\": \"Month\", \"type\": \"char\"}, \"week\": {\"string\": \"Week\", \"type\": \"char\"}, \"pay_method_id\": {\"string\": \"Payment Method\", \"type\": \"many2one\", \"relation\": \"payment.method\", \"search\": true, \"store\": true}, \"sale_channel_id\": {\"string\": \"Sales Channel\", \"type\": \"many2one\", \"relation\": \"sale.channel\", \"search\": true, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.quot\", \"Quotation\"], [\"ecom.cart\", \"Ecommerce Cart\"], [\"purchase.order\", \"Purchase Order\"], [\"sale.order\", \"Sales Order\"]], \"store\": true}, \"est_costs\": {\"string\": \"Costs\", \"type\": \"one2many\", \"relation\": \"sale.cost\", \"relfield\": \"sale_id\"}, \"est_cost_amount\": {\"string\": \"Est. Cost Amount\", \"type\": \"float\", \"readonly\": true, \"function\": \"get_est_profit\"}, \"est_profit_amount\": {\"string\": \"Est. Profit Amount\", \"type\": \"float\", \"readonly\": true, \"function\": \"get_est_profit\"}, \"est_margin_percent\": {\"string\": \"Est. Margin %\", \"type\": \"float\", \"readonly\": true, \"function\": \"get_est_profit\"}, \"act_cost_amount\": {\"string\": \"Act. Cost Amount\", \"type\": \"float\", \"readonly\": true, \"function\": \"get_act_profit\"}, \"act_profit_amount\": {\"string\": \"Act. Profit Amount\", \"type\": \"float\", \"readonly\": true, \"function\": \"get_act_profit\"}, \"act_margin_percent\": {\"string\": \"Act. Margin %\", \"type\": \"float\", \"readonly\": true, \"function\": \"get_act_profit\"}, \"act_mfg_cost\": {\"string\": \"Actual Production Cost\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_act_mfg_cost\"}, \"track_id\": {\"string\": \"Tracking Code\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"track_entries\": {\"string\": \"Tracking Entries\", \"type\": \"one2many\", \"relation\": \"account.track.entry\", \"relfield\": null, \"function\": \"get_track_entries\"}, \"track_balance\": {\"string\": \"Tracking Balance\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_related\"}, \"used_promotions\": {\"string\": \"Used Promotions\", \"type\": \"one2many\", \"relation\": \"sale.order.promotion\", \"relfield\": \"sale_id\"}, \"seller_id\": {\"string\": \"Seller\", \"type\": \"many2one\", \"relation\": \"seller\", \"store\": true}, \"seller_contact_id\": {\"string\": \"Seller Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"search\": true}, \"product_categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"search\": true}, \"currency_rates\": {\"string\": \"Currency Rates\", \"type\": \"one2many\", \"relation\": \"custom.currency.rate\", \"relfield\": \"related_id\"}, \"delivery_slot_id\": {\"string\": \"Delivery Slot\", \"type\": \"many2one\", \"relation\": \"delivery.slot\", \"store\": true}, \"transaction_no\": {\"string\": \"Payment Transaction No.\", \"type\": \"char\", \"search\": true, \"store\": true}, \"voucher_id\": {\"string\": \"Voucher\", \"type\": \"many2one\", \"relation\": \"sale.voucher\", \"store\": true}, \"cost_amount\": {\"string\": \"Cost Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_profit\"}, \"profit_amount\": {\"string\": \"Profit Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_profit\"}, \"margin_percent\": {\"string\": \"Margin %\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_profit\"}, \"date_week\": {\"string\": \"Week\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_date_agg\"}, \"date_month\": {\"string\": \"Month\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_date_agg\"}, \"sale_categ_id\": {\"string\": \"Sales Category\", \"type\": \"many2one\", \"relation\": \"sale.categ\", \"search\": true, \"store\": true}, \"project_id\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"project\", \"store\": true}, \"is_voucher_applied\": {\"string\": \"Is Voucher Applied\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_is_voucher_applied\"}, \"transforms\": {\"string\": \"Transforms\", \"type\": \"one2many\", \"relation\": \"stock.transform\", \"relfield\": \"sale_id\"}, \"raw_mats\": {\"string\": \"Raw Materials\", \"type\": \"json\", \"readonly\": true, \"function\": \"get_raw_mats\"}, \"due_date_weekday\": {\"string\": \"Shipping Date (ETD) - Weekday\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_due_date_agg\"}, \"receipt_printed\": {\"string\": \"Receipt Printed\", \"type\": \"boolean\", \"store\": true}, \"report_no\": {\"string\": \"Report No.\", \"type\": \"char\", \"store\": true}, \"orig_sale_id\": {\"string\": \"Original Sales Order\", \"type\": \"many2one\", \"relation\": \"sale.order\", \"store\": true}, \"incl_report\": {\"string\": \"Included In Report\", \"type\": \"boolean\", \"search\": true}, \"quote_id\": {\"string\": \"Quotation\", \"type\": \"many2one\", \"relation\": \"sale.quot\", \"store\": true}, \"gross_weight\": {\"string\": \"Gross Weight\", \"type\": \"decimal\", \"store\": true}, \"net_weight\": {\"string\": \"Net Weight\", \"type\": \"decimal\", \"store\": true}, \"customer_date\": {\"string\": \"Customer Date\", \"type\": \"date\", \"store\": true}, \"agent_id\": {\"string\": \"Notify To\", \"type\": \"many2one\", \"relation\": \"contact\", \"condition\": [[\"agent\", \"=\", true]], \"search\": true, \"store\": true}, \"agent_person_id\": {\"string\": \"Notify To Person\", \"type\": \"many2one\", \"relation\": \"contact\", \"condition\": [[\"type\", \"=\", \"person\"]], \"search\": true, \"store\": true}, \"agent_address_id\": {\"string\": \"Notify To Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"freight_charges\": {\"string\": \"Freight Charges\", \"type\": \"decimal\", \"store\": true}, \"ecom_state\": {\"string\": \"Ecommerce Frontend Status\", \"type\": \"selection\", \"selection\": [[\"wait_packing\", \"Waiting Packing\"], [\"wait_payment\", \"Waiting Payment\"], [\"wait_ship\", \"Waiting Shipment\"], [\"wait_delivery\", \"Waiting Delivery\"], [\"done\", \"Finished\"], [\"canceled\", \"Canceled\"], [\"ship_error\", \"Can not deliver\"]], \"readonly\": true, \"search\": true, \"function\": \"get_ecom_state\"}, \"sync_records\": {\"string\": \"Sync Records\", \"type\": \"one2many\", \"relation\": \"sync.record\", \"relfield\": \"related_id\"}}}, \"sale.order.line\": {\"name_field\": \"order_id\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"order_id\": {\"string\": \"Sales Order\", \"type\": \"many2one\", \"relation\": \"sale.order\", \"required\": true, \"search\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"required\": true, \"search\": true, \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"uom2_id\": {\"string\": \"UoM2\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"unit_price\": {\"string\": \"Unit Price\", \"type\": \"decimal\", \"scale\": 6, \"search\": true, \"store\": true}, \"tax_id\": {\"string\": \"Tax Rate\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"readonly\": true, \"search\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_cur\": {\"string\": \"Amount\", \"type\": \"decimal\", \"readonly\": true, \"search\": true, \"store\": true, \"function\": \"get_amount\"}, \"qty_stock\": {\"string\": \"Qty (Stock UoM)\", \"type\": \"decimal\", \"store\": true}, \"qty_delivered\": {\"string\": \"Shipped Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_delivered\"}, \"qty_invoiced\": {\"string\": \"Invoiced Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_invoiced\"}, \"qty_produced\": {\"string\": \"Produced Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_produced\"}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"user_id\": {\"string\": \"Owner\", \"type\": \"many2one\", \"relation\": \"base.user\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"amount_discount\": {\"string\": \"Discount Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"confirmed\", \"Confirmed\"], [\"done\", \"Completed\"], [\"voided\", \"Voided\"]], \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"qty2\": {\"string\": \"Qty2\", \"type\": \"decimal\", \"store\": true}, \"location_id\": {\"string\": \"Warehouse Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"store\": true}, \"reserve_location_id\": {\"string\": \"Reservation Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"store\": true}, \"product_categs\": {\"string\": \"Product Categories\", \"type\": \"many2many\", \"relation\": \"product.categ\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"product_categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"discount\": {\"string\": \"Disc %\", \"type\": \"decimal\", \"store\": true}, \"discount_amount\": {\"string\": \"Disc Amt\", \"type\": \"decimal\", \"store\": true}, \"qty_avail\": {\"string\": \"Qty In Stock\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_avail\"}, \"agg_amount\": {\"string\": \"Total Amount\", \"type\": \"decimal\"}, \"agg_qty\": {\"string\": \"Total Order Qty\", \"type\": \"decimal\"}, \"remark\": {\"string\": \"Remark\", \"type\": \"char\", \"store\": true}, \"ship_method_id\": {\"string\": \"Shipping Method\", \"type\": \"many2one\", \"relation\": \"ship.method\", \"store\": true}, \"sequence\": {\"string\": \"Item No.\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_sequence_old\"}, \"sequence_no\": {\"string\": \"Item No.\", \"type\": \"integer\", \"store\": true}, \"index\": {\"string\": \"Index\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_index\"}, \"due_date\": {\"string\": \"Due Date\", \"type\": \"date\", \"store\": true}, \"est_cost_amount\": {\"string\": \"Est. Cost Amount\", \"type\": \"float\", \"readonly\": true, \"function\": \"get_est_profit\"}, \"est_profit_amount\": {\"string\": \"Est. Profit Amount\", \"type\": \"float\", \"readonly\": true, \"function\": \"get_est_profit\"}, \"est_margin_percent\": {\"string\": \"Est. Margin %\", \"type\": \"float\", \"readonly\": true, \"function\": \"get_est_profit\"}, \"act_cost_amount\": {\"string\": \"Act. Cost Amount\", \"type\": \"float\", \"readonly\": true, \"function\": \"get_act_profit\"}, \"act_profit_amount\": {\"string\": \"Act. Profit Amount\", \"type\": \"float\", \"readonly\": true, \"store\": true, \"function\": \"get_act_profit\"}, \"act_margin_percent\": {\"string\": \"Act. Margin %\", \"type\": \"float\", \"readonly\": true, \"function\": \"get_act_profit\"}, \"promotion_amount\": {\"string\": \"Prom Amt\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"agg_act_profit\": {\"string\": \"Total Actual Profit\", \"type\": \"decimal\"}, \"production_id\": {\"string\": \"Production Order\", \"type\": \"many2one\", \"relation\": \"production.order\", \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"ship_address_id\": {\"string\": \"Shipping Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"packaging_id\": {\"string\": \"Packaging\", \"type\": \"many2one\", \"relation\": \"stock.packaging\", \"store\": true}, \"delivery_slot_id\": {\"string\": \"Delivery Slot\", \"type\": \"many2one\", \"relation\": \"delivery.slot\", \"store\": true}, \"ship_tracking\": {\"string\": \"Tracking Numbers\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_ship_tracking\"}, \"addons\": {\"string\": \"Addons\", \"type\": \"many2many\", \"relation\": \"product.addon\"}, \"supplier_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"contact\", \"condition\": [[\"supplier\", \"=\", true]], \"store\": true}, \"track_id\": {\"string\": \"Track-1\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"1\"]], \"store\": true}, \"track2_id\": {\"string\": \"Track-2\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"2\"]], \"store\": true}, \"cost_price\": {\"string\": \"Cost Price\", \"type\": \"decimal\", \"store\": true}, \"cost_amount\": {\"string\": \"Cost Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_profit\"}, \"profit_amount\": {\"string\": \"Profit Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_profit\"}, \"margin_percent\": {\"string\": \"Margin %\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_profit\"}, \"type\": {\"string\": \"Line Type\", \"type\": \"selection\", \"selection\": [[\"item\", \"Item\"], [\"group\", \"Group\"]], \"store\": true}, \"notes\": {\"string\": \"Notes\", \"type\": \"text\", \"store\": true}, \"amount_tax\": {\"string\": \"Tax Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_tax_amount\"}, \"amount_incl_tax\": {\"string\": \"Amount Including Tax\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_tax_amount\"}, \"amount_excl_tax\": {\"string\": \"Amount Excluding Tax\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_tax_amount\"}}}, \"report.sale\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"sale.stage\": {\"string\": \"Sales Stage\", \"name_field\": \"name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"char\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"sale.opportunity\": {\"string\": \"Opportunity\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"Opportunity Owner\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"name\": {\"string\": \"Opportunity Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"search\": true, \"store\": true}, \"campaign_id\": {\"string\": \"Marketing Campaign\", \"type\": \"many2one\", \"relation\": \"mkt.campaign\", \"store\": true}, \"date\": {\"string\": \"Open Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"date_close\": {\"string\": \"Close Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"stage_id\": {\"string\": \"Stage\", \"type\": \"many2one\", \"relation\": \"sale.stage\", \"search\": true, \"store\": true}, \"probability\": {\"string\": \"Probability (%)\", \"type\": \"decimal\", \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"search\": true, \"store\": true}, \"lead_source\": {\"string\": \"Lead Source\", \"type\": \"char\", \"search\": true, \"store\": true}, \"source_id\": {\"string\": \"Lead Source\", \"type\": \"many2one\", \"relation\": \"lead.source\", \"store\": true}, \"lead_id\": {\"string\": \"Sales Lead\", \"type\": \"many2one\", \"relation\": \"sale.lead\", \"store\": true}, \"next_step\": {\"string\": \"Next Step\", \"type\": \"char\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"open\", \"Open\"], [\"won\", \"Won\"], [\"lost\", \"Lost\"], [\"paused\", \"Paused\"], [\"canceled\", \"Canceled\"]], \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"products\": {\"string\": \"Products\", \"type\": \"many2many\", \"relation\": \"product\"}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"store\": true}, \"quotations\": {\"string\": \"Quotations\", \"type\": \"one2many\", \"relation\": \"sale.quot\", \"relfield\": \"opport_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"activities\": {\"string\": \"Activities\", \"type\": \"one2many\", \"relation\": \"sale.activ\", \"relfield\": \"related_id\"}, \"emails\": {\"string\": \"Emails\", \"type\": \"one2many\", \"relation\": \"email.message\", \"relfield\": \"related_id\"}, \"competitors\": {\"string\": \"Competitors\", \"type\": \"one2many\", \"relation\": \"opport.compet\", \"relfield\": \"opport_id\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"region_id\": {\"string\": \"Region\", \"type\": \"many2one\", \"relation\": \"region\", \"search\": true, \"store\": true}, \"industry_id\": {\"string\": \"Industry\", \"type\": \"many2one\", \"relation\": \"industry\", \"search\": true, \"store\": true}, \"year\": {\"string\": \"Year\", \"type\": \"char\"}, \"quarter\": {\"string\": \"Quarter\", \"type\": \"char\"}, \"month\": {\"string\": \"Month\", \"type\": \"char\"}, \"week\": {\"string\": \"Week\", \"type\": \"char\"}, \"agg_amount\": {\"string\": \"Total Amount\", \"type\": \"decimal\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"categ_id\": {\"string\": \"Sales Category\", \"type\": \"many2one\", \"relation\": \"sale.categ\", \"store\": true}, \"last_email_days\": {\"string\": \"Days Since Last Email\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_last_email_days\"}, \"lost_reason_id\": {\"string\": \"Lost Reason\", \"type\": \"many2one\", \"relation\": \"reason.code\", \"condition\": [[\"type\", \"=\", \"lost_sale_opport\"]], \"store\": true}, \"cancel_reason_id\": {\"string\": \"Cancel Reason\", \"type\": \"many2one\", \"relation\": \"reason.code\", \"condition\": [[\"type\", \"=\", \"cancel_sale_opport\"]], \"store\": true}, \"email_body\": {\"string\": \"Email Body\", \"type\": \"text\", \"readonly\": true, \"function\": \"get_email_body\"}, \"age_days\": {\"string\": \"Age (Days)\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_age\"}, \"date_week\": {\"string\": \"Week\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_date_agg\"}, \"date_month\": {\"string\": \"Month\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_date_agg\"}, \"remind_date\": {\"string\": \"Next Reminder Date\", \"type\": \"date\", \"store\": true}, \"notifs\": {\"string\": \"Notifications\", \"type\": \"one2many\", \"relation\": \"notif\", \"relfield\": \"related_id\"}, \"trials\": {\"string\": \"Trials\", \"type\": \"one2many\", \"relation\": \"trial\", \"relfield\": \"opport_id\"}}}, \"sale.lead\": {\"string\": \"Lead\", \"name_field\": \"title\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"Lead Owner\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"first_name\": {\"string\": \"First Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"last_name\": {\"string\": \"Last Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"contact_name\": {\"string\": \"Contact Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_name\"}, \"company\": {\"string\": \"Company\", \"type\": \"char\", \"search\": true, \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"new\", \"New\"], [\"converted\", \"Converted\"], [\"referred\", \"Referred\"], [\"voided\", \"Voided\"]], \"required\": true, \"store\": true}, \"phone\": {\"string\": \"Phone\", \"type\": \"char\", \"search\": true, \"store\": true}, \"email\": {\"string\": \"Email\", \"type\": \"char\", \"search\": true, \"store\": true}, \"rating\": {\"string\": \"Rating\", \"type\": \"selection\", \"selection\": [[\"hot\", \"Hot\"], [\"warm\", \"Warm\"], [\"cold\", \"Cold\"]], \"store\": true}, \"street\": {\"string\": \"Street\", \"type\": \"char\", \"store\": true}, \"city\": {\"string\": \"City\", \"type\": \"char\", \"store\": true}, \"province\": {\"string\": \"State/Province\", \"type\": \"char\", \"store\": true}, \"zip\": {\"string\": \"Zip/Postal Code\", \"type\": \"char\", \"store\": true}, \"country_id\": {\"string\": \"Country\", \"type\": \"many2one\", \"relation\": \"country\", \"store\": true}, \"website\": {\"string\": \"Website\", \"type\": \"char\", \"store\": true}, \"employees\": {\"string\": \"No. of Employees\", \"type\": \"char\", \"store\": true}, \"revenue\": {\"string\": \"Annual Revenue\", \"type\": \"char\", \"store\": true}, \"lead_source\": {\"string\": \"Lead Source\", \"type\": \"char\", \"store\": true}, \"source_id\": {\"string\": \"Lead Source\", \"type\": \"many2one\", \"relation\": \"lead.source\", \"search\": true, \"store\": true}, \"industry\": {\"string\": \"Industry\", \"type\": \"char\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"assigned_id\": {\"string\": \"Assigned To\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"activities\": {\"string\": \"Activities\", \"type\": \"one2many\", \"relation\": \"sale.activ\", \"relfield\": \"related_id\"}, \"addresses\": {\"string\": \"Addresses\", \"type\": \"one2many\", \"relation\": \"address\", \"relfield\": \"lead_id\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"emails\": {\"string\": \"Emails\", \"type\": \"one2many\", \"relation\": \"email.message\", \"relfield\": \"related_id\"}, \"year\": {\"string\": \"Year\", \"type\": \"char\"}, \"quarter\": {\"string\": \"Quarter\", \"type\": \"char\"}, \"month\": {\"string\": \"Month\", \"type\": \"char\"}, \"week\": {\"string\": \"Week\", \"type\": \"char\"}, \"sale_opports\": {\"string\": \"Sales Opportunities\", \"type\": \"one2many\", \"relation\": \"sale.opportunity\", \"relfield\": \"lead_id\"}, \"age_days\": {\"string\": \"Age (Days)\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_age_days\"}, \"refer_contact_id\": {\"string\": \"Referred To\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"refer_reason_id\": {\"string\": \"Refer Reason\", \"type\": \"many2one\", \"relation\": \"reason.code\", \"condition\": [[\"type\", \"=\", \"lead_refer\"]], \"store\": true}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"categ_id\": {\"string\": \"Sales Category\", \"type\": \"many2one\", \"relation\": \"sale.categ\", \"store\": true}}}, \"lead.source\": {\"string\": \"Lead Source\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"search\": true, \"store\": true}}}, \"convert.lead\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"lead_id\": {\"string\": \"Lead\", \"type\": \"many2one\", \"relation\": \"sale.lead\", \"required\": true, \"store\": true}, \"user_id\": {\"string\": \"Assigned To\", \"type\": \"many2one\", \"relation\": \"base.user\", \"required\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"store\": true}, \"name\": {\"string\": \"Opportunity Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"uuid\": {\"string\": \"UUID\", \"type\": \"char\", \"store\": true}}}, \"sale.target\": {\"string\": \"Sales Target\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"user_id\": {\"string\": \"Salesman\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"prod_categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"search\": true, \"store\": true}, \"date_from\": {\"string\": \"From Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"To Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"amount_target\": {\"string\": \"Target Amount\", \"type\": \"decimal\", \"store\": true}, \"amount_actual\": {\"string\": \"Actual Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"amount_expected\": {\"string\": \"Expected Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"qty_target\": {\"string\": \"Target Qty\", \"type\": \"decimal\", \"store\": true}, \"qty_actual\": {\"string\": \"Actual Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"qty_expected\": {\"string\": \"Expected Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"track_id\": {\"string\": \"Tracking\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}}}, \"sale.coupon\": {\"string\": \"Coupon\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"master_id\": {\"string\": \"Coupon Master\", \"type\": \"many2one\", \"relation\": \"sale.coupon.master\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"required\": true, \"store\": true}, \"contact_id\": {\"string\": \"Customer\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"available\", \"Available\"], [\"in_use\", \"In Use\"], [\"used\", \"Used\"], [\"expired\", \"Expired\"]], \"required\": true, \"search\": true, \"store\": true}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"required\": true, \"store\": true}, \"use_date\": {\"string\": \"Usage Date\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"expiry_date\": {\"string\": \"Expiry Date\", \"type\": \"datetime\", \"store\": true}, \"use_duration\": {\"string\": \"Usability Duration (minutes)\", \"type\": \"integer\", \"store\": true}, \"hide_date\": {\"string\": \"Hide Date\", \"type\": \"datetime\", \"store\": true}, \"contact_email\": {\"string\": \"Contact Email\", \"type\": \"char\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}}}, \"competitor\": {\"string\": \"Competitor\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"opports\": {\"string\": \"Opportunities\", \"type\": \"one2many\", \"relation\": \"opport.compet\", \"relfield\": \"compet_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"opport.compet\": {\"string\": \"Opportunity Competitor\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"opport_id\": {\"string\": \"Opportunity\", \"type\": \"many2one\", \"relation\": \"sale.opportunity\", \"store\": true}, \"compet_id\": {\"string\": \"Competitor\", \"type\": \"many2one\", \"relation\": \"competitor\", \"store\": true}, \"strengths\": {\"string\": \"Strengths\", \"type\": \"text\", \"store\": true}, \"weaknesses\": {\"string\": \"Weaknesses\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"report.sale.profit\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"store\": true}}}, \"report.sale.profit.details\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"sale_id\": {\"string\": \"Sales Order\", \"type\": \"many2one\", \"relation\": \"sale.order\", \"required\": true, \"store\": true}}}, \"sale.cost\": {\"string\": \"Cost\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"sale_id\": {\"string\": \"Sales Order\", \"type\": \"many2one\", \"relation\": \"sale.order\", \"required\": true, \"store\": true}, \"sequence\": {\"string\": \"Apply To Item No.\", \"type\": \"char\", \"store\": true}, \"product_id\": {\"string\": \"Cost Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"required\": true, \"search\": true, \"store\": true}, \"unit_price\": {\"string\": \"Unit Price\", \"type\": \"decimal\", \"store\": true}, \"list_price\": {\"string\": \"Supplier List Price\", \"type\": \"decimal\", \"store\": true}, \"purchase_price\": {\"string\": \"Purchase Price\", \"type\": \"decimal\", \"store\": true}, \"purchase_duty_percent\": {\"string\": \"Import Duty (%)\", \"type\": \"decimal\", \"store\": true}, \"purchase_ship_percent\": {\"string\": \"Shipping Charge (%)\", \"type\": \"decimal\", \"store\": true}, \"landed_cost\": {\"string\": \"Landed Cost\", \"type\": \"decimal\", \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"amount\": {\"string\": \"Cost Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"store\": true}, \"currency_rate\": {\"string\": \"Currency Rate\", \"type\": \"decimal\", \"store\": true}, \"supplier_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}}}, \"quot.cost\": {\"string\": \"Cost\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"quot_id\": {\"string\": \"Quotation\", \"type\": \"many2one\", \"relation\": \"sale.quot\", \"required\": true, \"store\": true}, \"sequence\": {\"string\": \"Apply To Item No.\", \"type\": \"char\", \"store\": true}, \"product_id\": {\"string\": \"Cost Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"required\": true, \"search\": true, \"store\": true}, \"unit_price\": {\"string\": \"Unit Price\", \"type\": \"decimal\", \"store\": true}, \"list_price\": {\"string\": \"Supplier List Price\", \"type\": \"decimal\", \"store\": true}, \"purchase_price\": {\"string\": \"Purchase Price\", \"type\": \"decimal\", \"store\": true}, \"purchase_duty_percent\": {\"string\": \"Import Duty (%)\", \"type\": \"decimal\", \"store\": true}, \"purchase_ship_percent\": {\"string\": \"Shipping Charge (%)\", \"type\": \"decimal\", \"store\": true}, \"landed_cost\": {\"string\": \"Landed Cost\", \"type\": \"decimal\", \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"amount\": {\"string\": \"Cost Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"store\": true}, \"currency_rate\": {\"string\": \"Currency Rate\", \"type\": \"decimal\", \"store\": true}, \"supplier_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}}}, \"report.unpaid.sale\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"store\": true}, \"pay_method_id\": {\"string\": \"Payment Method\", \"type\": \"many2one\", \"relation\": \"payment.method\", \"store\": true}}}, \"report.sale.payment\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"order_date_from\": {\"string\": \"Order Date From\", \"type\": \"date\", \"store\": true}, \"order_date_to\": {\"string\": \"Order Date To\", \"type\": \"date\", \"store\": true}, \"invoice_date_from\": {\"string\": \"Invoice Date From\", \"type\": \"date\", \"store\": true}, \"invoice_date_to\": {\"string\": \"Invoice Date To\", \"type\": \"date\", \"store\": true}, \"pay_method_id\": {\"string\": \"Payment Method\", \"type\": \"many2one\", \"relation\": \"payment.method\", \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}}}, \"sale.forecast\": {\"string\": \"Sales Forecast\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"date_from\": {\"string\": \"From Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"date_to\": {\"string\": \"To Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"location_id\": {\"string\": \"From Warehouse\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"open\", \"Open\"], [\"closed\", \"Closed\"]], \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"stock_moves\": {\"string\": \"Stock Movements\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"related_id\"}, \"lines\": {\"string\": \"Items\", \"type\": \"one2many\", \"relation\": \"sale.forecast.line\", \"relfield\": \"forecast_id\"}, \"num_lines\": {\"string\": \"Number Of Items\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_lines\"}}}, \"sale.forecast.line\": {\"string\": \"Sales Forecast Line\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"forecast_id\": {\"string\": \"Sales Forecast\", \"type\": \"many2one\", \"relation\": \"sale.forecast\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"search\": true, \"store\": true}, \"plan_qty\": {\"string\": \"Planned Sale Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"actual_qty\": {\"string\": \"Actual Sale Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_actual_qty\"}, \"plan_out_qty\": {\"string\": \"Planned Issue Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_plan_out_qty\"}, \"plan_remain_qty\": {\"string\": \"Planned Remain Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_plan_remain_qty\"}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"customer_id\": {\"string\": \"Customer\", \"type\": \"many2one\", \"relation\": \"contact\", \"search\": true, \"store\": true}, \"location_id\": {\"string\": \"Warehouse\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"min_shelf_life\": {\"string\": \"Min Shelf Life\", \"type\": \"selection\", \"selection\": [[\"50\", \"50%\"], [\"75\", \"75%\"]], \"store\": true}, \"prev_line_id\": {\"string\": \"Previous Forecast\", \"type\": \"many2one\", \"relation\": \"sale.forecast.line\", \"readonly\": true, \"function\": \"get_prev_line\"}, \"prev_plan_qty\": {\"string\": \"Previous Planned Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_prev\"}, \"prev_diff_percent\": {\"string\": \"Previous Diff (%)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_prev\"}}}, \"sale.channel\": {\"string\": \"Sales Channel\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"pricelist_id\": {\"string\": \"Price List\", \"type\": \"many2one\", \"relation\": \"price.list\", \"store\": true}}}, \"sale.promotion\": {\"string\": \"Promotion\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Promotion Title\", \"type\": \"char\", \"required\": true, \"store\": true}, \"code\": {\"string\": \"Promotion Code\", \"type\": \"char\", \"store\": true}, \"date_from\": {\"string\": \"From Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"date_to\": {\"string\": \"To Date\", \"type\": \"date\", \"store\": true}, \"buy_prod_groups\": {\"string\": \"Apply To Product Groups\", \"type\": \"many2many\", \"relation\": \"product.group\"}, \"buy_products\": {\"string\": \"Apply To Products\", \"type\": \"many2many\", \"relation\": \"product\"}, \"buy_min_amount\": {\"string\": \"Minimum Order Amount\", \"type\": \"integer\", \"store\": true}, \"buy_min_qty\": {\"string\": \"Minimum Order Qty\", \"type\": \"integer\", \"store\": true}, \"apply_multi\": {\"string\": \"Allow multiple use per order\", \"type\": \"boolean\", \"store\": true}, \"discount_products\": {\"string\": \"Discount Products\", \"type\": \"many2many\", \"relation\": \"product\"}, \"discount_prod_groups\": {\"string\": \"Discount Product Groups\", \"type\": \"many2many\", \"relation\": \"product.group\"}, \"related_products\": {\"string\": \"Related Products\", \"type\": \"many2many\", \"relation\": \"product\"}, \"related_prod_groups\": {\"string\": \"Related Product Groups\", \"type\": \"many2many\", \"relation\": \"product.group\"}, \"discount_percent_item\": {\"string\": \"Discount Percent Per Item\", \"type\": \"decimal\", \"store\": true}, \"discount_amount_item\": {\"string\": \"Discount Amount Per Item\", \"type\": \"decimal\", \"store\": true}, \"discount_percent_order\": {\"string\": \"Discount Percent Per Order\", \"type\": \"decimal\", \"store\": true}, \"discount_amount_order\": {\"string\": \"Discount Amount Per Order\", \"type\": \"decimal\", \"store\": true}, \"discount_max_qty\": {\"string\": \"Discount Item Max Qty\", \"type\": \"integer\", \"store\": true}, \"product_id\": {\"string\": \"Promotion Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"contact_categs\": {\"string\": \"Customer Categories\", \"type\": \"many2many\", \"relation\": \"contact.categ\"}, \"contact_groups\": {\"string\": \"Customer Groups\", \"type\": \"many2many\", \"relation\": \"contact.group\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"active\", \"Active\"], [\"inactive\", \"Inactive\"]], \"required\": true, \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"cart_offer_message\": {\"string\": \"Add discounted product\", \"type\": \"text\", \"store\": true}, \"cart_confirm_message\": {\"string\": \"Offer taken\", \"type\": \"text\", \"store\": true}, \"can_apply\": {\"string\": \"Can Apply\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"_can_apply\"}, \"is_applied\": {\"string\": \"Is Applied\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"_is_applied\"}, \"coupon_master_id\": {\"string\": \"Require Coupon\", \"type\": \"many2one\", \"relation\": \"sale.coupon.master\", \"store\": true}, \"max_uses_per_customer\": {\"string\": \"Max Uses Per Customer\", \"type\": \"integer\", \"store\": true}, \"max_total_uses\": {\"string\": \"Max Total Uses\", \"type\": \"integer\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"auto_apply\": {\"string\": \"Auto Apply Promotion\", \"type\": \"boolean\", \"store\": true}}}, \"sale.coupon.master\": {\"string\": \"Coupon Master\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Coupon Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"banner_image\": {\"string\": \"Coupon Banner Image\", \"type\": \"file\", \"store\": true}, \"image\": {\"string\": \"Coupon Image\", \"type\": \"file\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"instructions\": {\"string\": \"Instructions\", \"type\": \"text\", \"store\": true}, \"notes\": {\"string\": \"Notes\", \"type\": \"text\", \"store\": true}, \"use_duration\": {\"string\": \"Usability Duration (minutes)\", \"type\": \"integer\", \"store\": true}, \"expiry_date\": {\"string\": \"Expiry Date\", \"type\": \"datetime\", \"store\": true}, \"hide_date\": {\"string\": \"Hide Date\", \"type\": \"datetime\", \"store\": true}, \"contact_categs\": {\"string\": \"Customer Categories\", \"type\": \"many2many\", \"relation\": \"contact.categ\"}, \"contact_groups\": {\"string\": \"Customer Groups\", \"type\": \"many2many\", \"relation\": \"contact.group\"}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"required\": true, \"store\": true}, \"coupons\": {\"string\": \"Coupons\", \"type\": \"one2many\", \"relation\": \"sale.coupon\", \"relfield\": \"master_id\"}, \"promotions\": {\"string\": \"Promotions\", \"type\": \"one2many\", \"relation\": \"sale.promotion\", \"relfield\": \"coupon_master_id\"}}}, \"sale.order.promotion\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"sale_id\": {\"string\": \"Sales Order\", \"type\": \"many2one\", \"relation\": \"sale.order\", \"required\": true, \"store\": true}, \"promotion_id\": {\"string\": \"Promotion\", \"type\": \"many2one\", \"relation\": \"sale.promotion\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Apply To Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"percent\": {\"string\": \"Promotion Percent\", \"type\": \"decimal\", \"store\": true}, \"amount\": {\"string\": \"Promotion Amount\", \"type\": \"decimal\", \"store\": true}}}, \"sale.event\": {\"string\": \"Event\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Event Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Event Code\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"products\": {\"string\": \"Products\", \"type\": \"many2many\", \"relation\": \"product\"}}}, \"seller\": {\"string\": \"Seller\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"search\": true, \"store\": true}, \"commissions\": {\"string\": \"Commissions\", \"type\": \"one2many\", \"relation\": \"seller.commission\", \"relfield\": \"seller_id\"}}}, \"sale.return\": {\"string\": \"Sales Return\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"ref\": {\"string\": \"Ref\", \"type\": \"char\", \"search\": true, \"store\": true}, \"contact_id\": {\"string\": \"Customer\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"confirmed\", \"Confirmed\"], [\"done\", \"Completed\"], [\"voided\", \"Voided\"]], \"required\": true, \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"sale.return.line\", \"relfield\": \"order_id\"}, \"amount_subtotal\": {\"string\": \"Subtotal\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_tax\": {\"string\": \"Tax Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_total\": {\"string\": \"Total\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_total_discount\": {\"string\": \"Total Discount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_total_words\": {\"string\": \"Total Words\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_amount_total_words\"}, \"amount_total_cur\": {\"string\": \"Total\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"qty_total\": {\"string\": \"Total\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_total\"}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"required\": true, \"store\": true}, \"user_id\": {\"string\": \"Owner\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"tax_type\": {\"string\": \"Tax Type\", \"type\": \"selection\", \"selection\": [[\"tax_ex\", \"Tax Exclusive\"], [\"tax_in\", \"Tax Inclusive\"], [\"no_tax\", \"No Tax\"]], \"required\": true, \"store\": true}, \"invoice_lines\": {\"string\": \"Invoice Lines\", \"type\": \"one2many\", \"relation\": \"account.invoice.line\", \"relfield\": \"sale_id\"}, \"invoices\": {\"string\": \"Credit Notes\", \"type\": \"one2many\", \"relation\": \"account.invoice\", \"relfield\": \"related_id\"}, \"pickings\": {\"string\": \"Stock Pickings\", \"type\": \"many2many\", \"relation\": \"stock.picking\", \"readonly\": true, \"function\": \"get_pickings\"}, \"is_delivered\": {\"string\": \"Delivered\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_delivered\"}, \"is_paid\": {\"string\": \"Paid\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_paid\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"activities\": {\"string\": \"Activities\", \"type\": \"one2many\", \"relation\": \"activity\", \"relfield\": \"related_id\"}, \"location_id\": {\"string\": \"Warehouse\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"search\": true, \"store\": true}, \"price_list_id\": {\"string\": \"Price List\", \"type\": \"many2one\", \"relation\": \"price.list\", \"condition\": [[\"type\", \"=\", \"sale\"]], \"store\": true}, \"payment_terms\": {\"string\": \"Payment Terms\", \"type\": \"text\", \"store\": true}, \"delivery_date\": {\"string\": \"Due Date\", \"type\": \"date\", \"store\": true}, \"due_date\": {\"string\": \"Due Date\", \"type\": \"date\", \"store\": true}, \"team_id\": {\"string\": \"Production Team\", \"type\": \"many2one\", \"relation\": \"mfg.team\", \"store\": true}, \"ship_method_id\": {\"string\": \"Shipping Method\", \"type\": \"many2one\", \"relation\": \"ship.method\", \"store\": true}, \"emails\": {\"string\": \"Emails\", \"type\": \"one2many\", \"relation\": \"email.message\", \"relfield\": \"related_id\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"addresses\": {\"string\": \"Addresses\", \"type\": \"one2many\", \"relation\": \"address\", \"relfield\": \"related_id\"}, \"bill_address_id\": {\"string\": \"Billing Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"ship_address_id\": {\"string\": \"Shipping Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"coupon_id\": {\"string\": \"Coupon\", \"type\": \"many2one\", \"relation\": \"sale.coupon\", \"store\": true}, \"purchase_lines\": {\"string\": \"Purchase Orders\", \"type\": \"one2many\", \"relation\": \"purchase.order.line\", \"relfield\": \"sale_id\"}, \"production_orders\": {\"string\": \"Production Orders\", \"type\": \"one2many\", \"relation\": \"production.order\", \"relfield\": \"sale_id\"}, \"other_info\": {\"string\": \"Other Information\", \"type\": \"text\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"production_status\": {\"string\": \"Production\", \"type\": \"json\", \"readonly\": true, \"function\": \"get_production_status\"}, \"ship_term_id\": {\"string\": \"Shipping Terms\", \"type\": \"many2one\", \"relation\": \"ship.term\", \"store\": true}, \"approved_by_id\": {\"string\": \"Approved By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"readonly\": true, \"store\": true}, \"sequence_id\": {\"string\": \"Number Sequence\", \"type\": \"many2one\", \"relation\": \"sequence\", \"store\": true}, \"stock_moves\": {\"string\": \"Stock Movements\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"related_id\"}, \"agg_amount_total\": {\"string\": \"Total Amount\", \"type\": \"decimal\"}, \"agg_amount_subtotal\": {\"string\": \"Total Amount w/o Tax\", \"type\": \"decimal\"}, \"agg_est_profit\": {\"string\": \"Total Estimated Profit\", \"type\": \"decimal\"}, \"agg_act_profit\": {\"string\": \"Total Actual Profit\", \"type\": \"decimal\"}, \"year\": {\"string\": \"Year\", \"type\": \"char\"}, \"quarter\": {\"string\": \"Quarter\", \"type\": \"char\"}, \"month\": {\"string\": \"Month\", \"type\": \"char\"}, \"week\": {\"string\": \"Week\", \"type\": \"char\"}, \"pay_method_id\": {\"string\": \"Payment Method\", \"type\": \"many2one\", \"relation\": \"payment.method\", \"search\": true, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.quot\", \"Quotation\"], [\"ecom.cart\", \"Ecommerce Cart\"], [\"purchase.order\", \"Purchase Order\"]], \"store\": true}, \"orig_sale_id\": {\"string\": \"Original Sales Order\", \"type\": \"many2one\", \"relation\": \"sale.order\", \"store\": true}}}, \"sale.return.line\": {\"name_field\": \"order_id\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"order_id\": {\"string\": \"Sales Return\", \"type\": \"many2one\", \"relation\": \"sale.return\", \"required\": true, \"search\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"required\": true, \"search\": true, \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"unit_price\": {\"string\": \"Unit Price\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"search\": true, \"store\": true}, \"tax_id\": {\"string\": \"Tax Rate\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"readonly\": true, \"search\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_cur\": {\"string\": \"Amount\", \"type\": \"decimal\", \"readonly\": true, \"search\": true, \"store\": true, \"function\": \"get_amount\"}, \"qty_stock\": {\"string\": \"Qty (Stock UoM)\", \"type\": \"decimal\", \"store\": true}, \"qty_received\": {\"string\": \"Received Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_received\"}, \"qty_invoiced\": {\"string\": \"Invoiced Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_invoiced\"}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"user_id\": {\"string\": \"Owner\", \"type\": \"many2one\", \"relation\": \"base.user\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"amount_discount\": {\"string\": \"Discount Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"confirmed\", \"Confirmed\"], [\"done\", \"Completed\"], [\"voided\", \"Voided\"]], \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"qty2\": {\"string\": \"Secondary Qty\", \"type\": \"decimal\", \"store\": true}, \"location_id\": {\"string\": \"Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"store\": true}, \"product_categs\": {\"string\": \"Product Categories\", \"type\": \"many2many\", \"relation\": \"product.categ\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"discount\": {\"string\": \"Disc %\", \"type\": \"decimal\", \"store\": true}, \"discount_amount\": {\"string\": \"Disc Amt\", \"type\": \"decimal\", \"store\": true}, \"qty_avail\": {\"string\": \"Qty In Stock\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_avail\"}, \"agg_amount\": {\"string\": \"Total Amount\", \"type\": \"decimal\"}, \"agg_qty\": {\"string\": \"Total Order Qty\", \"type\": \"decimal\"}, \"remark\": {\"string\": \"Remark\", \"type\": \"char\", \"store\": true}, \"ship_method_id\": {\"string\": \"Shipping Method\", \"type\": \"many2one\", \"relation\": \"ship.method\", \"store\": true}, \"sequence\": {\"string\": \"Item No.\", \"type\": \"char\", \"store\": true}, \"return_type\": {\"string\": \"Return Type\", \"type\": \"selection\", \"selection\": [[\"refund\", \"Refund\"], [\"exchange\", \"Exchange\"]], \"store\": true}, \"reason_code_id\": {\"string\": \"Reason Code\", \"type\": \"many2one\", \"relation\": \"reason.code\", \"condition\": [[\"type\", \"=\", \"sale_return\"]], \"store\": true}}}, \"sale.voucher\": {\"string\": \"Voucher\", \"name_field\": \"code\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"code\": {\"string\": \"Voucher Code\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"char\", \"store\": true}, \"benefit_type\": {\"string\": \"Benefit For Customer\", \"type\": \"selection\", \"selection\": [[\"fixed_discount_order\", \"Fixed Discount On Order\"], [\"free_product\", \"Free Product\"], [\"percent_discount_product\", \"Percent Discount On Product\"], [\"credit\", \"Credits\"]], \"required\": true, \"store\": true}, \"refer_benefit_type\": {\"string\": \"Benefit For Referring Customer\", \"type\": \"selection\", \"selection\": [[\"credit\", \"Credits\"]], \"store\": true}, \"discount_amount\": {\"string\": \"Discount Amount\", \"type\": \"decimal\", \"store\": true}, \"discount_percent\": {\"string\": \"Discount Percent\", \"type\": \"decimal\", \"store\": true}, \"discount_product_groups\": {\"string\": \"Discount Product Groups\", \"type\": \"many2many\", \"relation\": \"product.group\"}, \"discount_product_id\": {\"string\": \"Discount Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"discount_max_qty\": {\"string\": \"Discount Max Qty\", \"type\": \"integer\", \"store\": true}, \"credit_amount\": {\"string\": \"Credit Amount\", \"type\": \"decimal\", \"store\": true}, \"refer_credit_amount\": {\"string\": \"Credit Amount For Referring Customer\", \"type\": \"decimal\", \"store\": true}, \"min_order_amount\": {\"string\": \"Min Order Amount\", \"type\": \"decimal\", \"store\": true}, \"min_order_amount_msg\": {\"string\": \"Error Message\", \"type\": \"text\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"active\", \"Active\"], [\"inactive\", \"Inactive\"]], \"required\": true, \"store\": true}, \"max_orders_per_customer\": {\"string\": \"Max Orders Per Customer\", \"type\": \"integer\", \"store\": true}, \"max_orders_per_customer_msg\": {\"string\": \"Error Message\", \"type\": \"text\", \"store\": true}, \"max_orders\": {\"string\": \"Max Orders Total\", \"type\": \"integer\", \"store\": true}, \"max_orders_msg\": {\"string\": \"Error Message\", \"type\": \"text\", \"store\": true}, \"new_customer\": {\"string\": \"New Customers Only\", \"type\": \"boolean\", \"store\": true}, \"new_customer_msg\": {\"string\": \"Error Message\", \"type\": \"text\", \"store\": true}, \"contact_groups\": {\"string\": \"Customer Groups\", \"type\": \"many2many\", \"relation\": \"contact.group\"}, \"contact_groups_msg\": {\"string\": \"Error Message\", \"type\": \"text\", \"store\": true}, \"product_groups\": {\"string\": \"Critera Product Groups\", \"type\": \"many2many\", \"relation\": \"product.group\"}, \"product_groups_msg\": {\"string\": \"Error Message\", \"type\": \"text\", \"store\": true}, \"cond_product_id\": {\"string\": \"Criteria Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"cond_product_msg\": {\"string\": \"Error Message\", \"type\": \"text\", \"store\": true}, \"cond_product_categ_id\": {\"string\": \"Criteria Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"store\": true}, \"cond_product_categ_msg\": {\"string\": \"Error Message\", \"type\": \"text\", \"store\": true}, \"min_qty\": {\"string\": \"Min Qty\", \"type\": \"decimal\", \"store\": true}, \"min_qty_msg\": {\"string\": \"Error Message\", \"type\": \"text\", \"store\": true}, \"qty_multiple\": {\"string\": \"Qty Multiple\", \"type\": \"decimal\", \"store\": true}, \"qty_multiple_msg\": {\"string\": \"Error Message\", \"type\": \"text\", \"store\": true}, \"customer_id\": {\"string\": \"Customer\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"customer_msg\": {\"string\": \"Error Message\", \"type\": \"text\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"expire_date\": {\"string\": \"Expiration Date\", \"type\": \"date\", \"store\": true}, \"expire_date_msg\": {\"string\": \"Error Message\", \"type\": \"text\", \"store\": true}, \"carts\": {\"string\": \"Carts\", \"type\": \"one2many\", \"relation\": \"ecom2.cart\", \"relfield\": \"voucher_id\"}, \"sale_orders\": {\"string\": \"Sales Orders\", \"type\": \"one2many\", \"relation\": \"sale.order\", \"relfield\": \"voucher_id\"}, \"product_id\": {\"string\": \"Configuration Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}}}, \"sale.categ\": {\"string\": \"Sales Category\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"sale_sequence_id\": {\"string\": \"Sales Order Number Sequence\", \"type\": \"many2one\", \"relation\": \"sequence\", \"condition\": [[\"type\", \"=\", \"sale_order\"]], \"store\": true}}}, \"opport.to.quot\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"opport_id\": {\"string\": \"Sales Opportunity\", \"type\": \"many2one\", \"relation\": \"sale.opportunity\", \"store\": true}, \"template_id\": {\"string\": \"Quotation Template\", \"type\": \"many2one\", \"relation\": \"sale.quot\", \"condition\": [[\"is_template\", \"=\", true]], \"store\": true}}}, \"sale.recurring\": {\"string\": \"Recurring Sales\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"required\": true, \"search\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"search\": true, \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"unit_price\": {\"string\": \"Unit Price\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"supplier_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"contact\", \"condition\": [[\"supplier\", \"=\", true]], \"store\": true}, \"interval_num\": {\"string\": \"Interval Number\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"interval_unit\": {\"string\": \"Interval Unit\", \"type\": \"selection\", \"selection\": [[\"day\", \"Day\"], [\"month\", \"Month\"], [\"year\", \"Year\"]], \"required\": true, \"search\": true, \"store\": true}, \"next_date\": {\"string\": \"Next Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}}}, \"sale.modif\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"order_id\": {\"string\": \"Order\", \"type\": \"many2one\", \"relation\": \"sale.order\", \"required\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"readonly\": true, \"function\": \"_get_related\"}, \"type\": {\"string\": \"Modification Type\", \"type\": \"selection\", \"selection\": [[\"add_prod\", \"Add Product\"], [\"del_prod\", \"Remove Product\"], [\"change_qty\", \"Change Qty\"], [\"change_order\", \"Change Header\"]], \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"store\": true}, \"unit_price\": {\"string\": \"Unit Price\", \"type\": \"decimal\", \"store\": true}, \"location_id\": {\"string\": \"Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"store\": true}, \"due_date\": {\"string\": \"Shipping Date (ETD)\", \"type\": \"date\", \"store\": true}, \"delivery_date\": {\"string\": \"Delivery Date (ETA)\", \"type\": \"date\", \"store\": true}, \"ship_term_id\": {\"string\": \"Shipping Terms\", \"type\": \"many2one\", \"relation\": \"ship.term\", \"store\": true}, \"ship_port_id\": {\"string\": \"Shipping Port\", \"type\": \"many2one\", \"relation\": \"ship.port\", \"store\": true}, \"update_related\": {\"string\": \"Update Related Documents\", \"type\": \"selection\", \"selection\": [[\"\", \"Don't modify\"], [\"recreate\", \"Delete and recreate\"], [\"update\", \"Update (without deleting)\"]], \"store\": true}}}, \"report.sale.commission\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"Date From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"Date To\", \"type\": \"date\", \"store\": true}, \"seller_percent\": {\"string\": \"Seller %\", \"type\": \"decimal\", \"store\": true}, \"parent_percent\": {\"string\": \"Seller Parent %\", \"type\": \"decimal\", \"store\": true}, \"grand_parent_percent\": {\"string\": \"Seller Grand Parent %\", \"type\": \"decimal\", \"store\": true}, \"default_margin\": {\"string\": \"Default Profit Margin %\", \"type\": \"decimal\", \"store\": true}}}, \"delivery.term\": {\"string\": \"Delivery Term\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"search\": true, \"store\": true}}}, \"seller.commission\": {\"string\": \"Seller Commission\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"seller_id\": {\"string\": \"Seller\", \"type\": \"many2one\", \"relation\": \"seller\", \"required\": true, \"search\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"customer_id\": {\"string\": \"Customer\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"customer_group_id\": {\"string\": \"Customer Group\", \"type\": \"many2one\", \"relation\": \"contact.group\", \"store\": true}, \"commission_percent\": {\"string\": \"Commission (%)\", \"type\": \"decimal\", \"store\": true}, \"min_amount\": {\"string\": \"Threshold Amount\", \"type\": \"decimal\", \"store\": true}}}, \"gen.sale.report\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From Date\", \"type\": \"date\", \"required\": true, \"store\": true}}}, \"sale.activ\": {\"string\": \"Activity\", \"name_field\": \"subject\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"type\": {\"string\": \"Activity Type\", \"type\": \"selection\", \"selection\": [[\"meeting\", \"Meeting\"], [\"call\", \"Call\"], [\"event\", \"Event\"], [\"task\", \"Task\"]], \"required\": true, \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"Assigned To\", \"type\": \"many2one\", \"relation\": \"base.user\", \"required\": true, \"search\": true, \"store\": true}, \"subject\": {\"string\": \"Subject\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"due_date\": {\"string\": \"Due Date\", \"type\": \"date\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"body\": {\"string\": \"Body\", \"type\": \"text\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"new\", \"Not Started\"], [\"in_progress\", \"In Progress\"], [\"done\", \"Completed\"], [\"waiting\", \"Waiting on someone else\"], [\"deferred\", \"Deferred\"]], \"required\": true, \"store\": true}, \"priority\": {\"string\": \"Priority\", \"type\": \"selection\", \"selection\": [[\"high\", \"High\"], [\"normal\", \"Normal\"], [\"low\", \"Low\"]], \"store\": true}, \"phone\": {\"string\": \"Phone\", \"type\": \"char\", \"store\": true}, \"email\": {\"string\": \"Email\", \"type\": \"char\", \"store\": true}, \"start_time\": {\"string\": \"Start Time\", \"type\": \"time\", \"store\": true}, \"end_time\": {\"string\": \"End Time\", \"type\": \"time\", \"store\": true}, \"location\": {\"string\": \"Location\", \"type\": \"char\", \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.opportunity\", \"Opportunity\"], [\"sale.quot\", \"Quotation\"], [\"sale.order\", \"Sales Order\"]], \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"notes\": {\"string\": \"Notes\", \"type\": \"text\", \"store\": true}, \"send_reminder\": {\"string\": \"Send Reminder\", \"type\": \"boolean\", \"store\": true}, \"other_users\": {\"string\": \"Other Involved Users\", \"type\": \"many2many\", \"relation\": \"base.user\"}, \"notifs\": {\"string\": \"Notifications\", \"type\": \"one2many\", \"relation\": \"notif\", \"relfield\": \"related_id\"}, \"notif_time\": {\"string\": \"Notification Time\", \"type\": \"datetime\", \"store\": true}, \"notif_email\": {\"string\": \"Notice Email\", \"type\": \"char\", \"store\": true}}}, \"report.sale.unbill\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"order_date_from\": {\"string\": \"Order Date From\", \"type\": \"date\", \"store\": true}, \"order_date_to\": {\"string\": \"Order Date To\", \"type\": \"date\", \"store\": true}, \"contact_id\": {\"string\": \"Customer\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"sale_order\": {\"string\": \"Sale Order\", \"type\": \"char\", \"store\": true}, \"invoice_number\": {\"string\": \"Invoice Number\", \"type\": \"char\", \"store\": true}, \"person_in_charge\": {\"string\": \"Person in charge\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"sale_category\": {\"string\": \"Sale Category\", \"type\": \"many2one\", \"relation\": \"sale.categ\", \"store\": true}, \"show_foreign_currency\": {\"string\": \"Show Foreign Currency\", \"type\": \"boolean\", \"store\": true}}}, \"report.sale.order\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"order_date_from\": {\"string\": \"Order Date From\", \"type\": \"date\", \"store\": true}, \"order_date_to\": {\"string\": \"Order Date To\", \"type\": \"date\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"product_code\": {\"string\": \"Product Code\", \"type\": \"char\", \"store\": true}, \"compare_by\": {\"string\": \"Compare By\", \"type\": \"selection\", \"selection\": [[\"1\", \"Month\"], [\"3\", \"Quarter\"]], \"store\": true}, \"compare_periods\": {\"string\": \"Compare Periods\", \"type\": \"selection\", \"selection\": [[\"1\", \"Previous 1 Period\"], [\"2\", \"Previous 2 Periods\"], [\"3\", \"Previous 3 Periods\"], [\"4\", \"Previous 4 Periods\"], [\"5\", \"Previous 5 Periods\"], [\"6\", \"Previous 6 Periods\"], [\"7\", \"Previous 7 Periods\"], [\"8\", \"Previous 8 Periods\"], [\"9\", \"Previous 9 Periods\"], [\"10\", \"Previous 10 Periods\"], [\"11\", \"Previous 11 Periods\"]], \"store\": true}}}, \"valid.period\": {\"string\": \"Valid Period\", \"name_field\": \"name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"days\": {\"string\": \"Days\", \"type\": \"integer\", \"store\": true}}}, \"purchase.order\": {\"string\": \"Purchase Order\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"ref\": {\"string\": \"Ref\", \"type\": \"char\", \"search\": true, \"store\": true}, \"ref2\": {\"string\": \"Ref2\", \"type\": \"char\", \"search\": true, \"store\": true}, \"contact_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"contact\", \"condition\": [[\"supplier\", \"=\", true]], \"required\": true, \"search\": true, \"store\": true}, \"contact_person_id\": {\"string\": \"Contact Person\", \"type\": \"many2one\", \"relation\": \"contact\", \"search\": true, \"store\": true}, \"customer_id\": {\"string\": \"Customer\", \"type\": \"many2one\", \"relation\": \"contact\", \"condition\": [[\"customer\", \"=\", true]], \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"date_required\": {\"string\": \"Required Date\", \"type\": \"date\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"wait_approve\", \"Awaiting Approval\"], [\"confirmed\", \"Confirmed\"], [\"done\", \"Completed\"], [\"voided\", \"Voided\"]], \"required\": true, \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"purchase.order.line\", \"relfield\": \"order_id\"}, \"amount_subtotal\": {\"string\": \"Subtotal\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_tax\": {\"string\": \"Tax Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_total\": {\"string\": \"Total\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_total_cur\": {\"string\": \"Total (Converted)\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_total_words\": {\"string\": \"Total Words\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_amount_total_words\"}, \"qty_total\": {\"string\": \"Total Quantity\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_total\"}, \"qty_stock_total\": {\"string\": \"Total Quantity (Stock UoM)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_stock_total\"}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"required\": true, \"store\": true}, \"tax_type\": {\"string\": \"Tax Type\", \"type\": \"selection\", \"selection\": [[\"tax_ex\", \"Tax Exclusive\"], [\"tax_in\", \"Tax Inclusive\"], [\"no_tax\", \"No Tax\"]], \"required\": true, \"store\": true}, \"invoice_lines\": {\"string\": \"Invoice Lines\", \"type\": \"one2many\", \"relation\": \"account.invoice.line\", \"relfield\": \"related_id\"}, \"invoices\": {\"string\": \"Invoices\", \"type\": \"many2many\", \"relation\": \"account.invoice\", \"readonly\": true, \"function\": \"get_invoices\"}, \"pickings\": {\"string\": \"Stock Pickings\", \"type\": \"many2many\", \"relation\": \"stock.picking\", \"readonly\": true, \"function\": \"get_pickings\"}, \"is_delivered\": {\"string\": \"Delivered\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_delivered\"}, \"delivery_status\": {\"string\": \"Delivery Status\", \"type\": \"selection\", \"selection\": [[\"completed\", \"C\"], [\"partial_delivery\", \"PD\"], [\"not_delivered\", \"ND\"]], \"readonly\": true, \"store\": true, \"function\": \"get_delivery_status\"}, \"is_paid\": {\"string\": \"Paid\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_paid\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"location_id\": {\"string\": \"Warehouse\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"delivery_date\": {\"string\": \"Delivery Date\", \"type\": \"date\", \"store\": true}, \"ship_method_id\": {\"string\": \"Shipping Method\", \"type\": \"many2one\", \"relation\": \"ship.method\", \"store\": true}, \"payment_terms\": {\"string\": \"Payment Terms\", \"type\": \"text\", \"store\": true}, \"pay_term_id\": {\"string\": \"Payment Terms\", \"type\": \"many2one\", \"relation\": \"payment.term\", \"store\": true}, \"ship_term_id\": {\"string\": \"Shipping Terms\", \"type\": \"many2one\", \"relation\": \"ship.term\", \"store\": true}, \"price_list_id\": {\"string\": \"Price List\", \"type\": \"many2one\", \"relation\": \"price.list\", \"condition\": [[\"type\", \"=\", \"purchase\"]], \"store\": true}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"purchase_type_id\": {\"string\": \"Purchase Type\", \"type\": \"many2one\", \"relation\": \"purchase.type\", \"store\": true}, \"other_info\": {\"string\": \"Other Info\", \"type\": \"text\", \"store\": true}, \"bill_address_id\": {\"string\": \"Billing Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"ship_address_id\": {\"string\": \"Shipping Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"sequence_id\": {\"string\": \"Number Sequence\", \"type\": \"many2one\", \"relation\": \"sequence\", \"store\": true}, \"stock_moves\": {\"string\": \"Stock Movements\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"related_id\"}, \"agg_amount_total\": {\"string\": \"Total Amount\", \"type\": \"decimal\"}, \"year\": {\"string\": \"Year\", \"type\": \"char\"}, \"quarter\": {\"string\": \"Quarter\", \"type\": \"char\"}, \"month\": {\"string\": \"Month\", \"type\": \"char\"}, \"week\": {\"string\": \"Week\", \"type\": \"char\"}, \"agg_amount_subtotal\": {\"string\": \"Total Amount w/o Tax\", \"type\": \"decimal\"}, \"user_id\": {\"string\": \"Owner\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"contact_user_id\": {\"string\": \"Procurement Person\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"procurement_employee_id\": {\"string\": \"Procurement Person\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"search\": true, \"store\": true}, \"emails\": {\"string\": \"Emails\", \"type\": \"one2many\", \"relation\": \"email.message\", \"relfield\": \"related_id\"}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.order\", \"Sales Order\"], [\"stock.consign\", \"Consignment Stock\"]], \"store\": true}, \"sale_orders\": {\"string\": \"Sales Orders\", \"type\": \"one2many\", \"relation\": \"sale.order\", \"relfield\": \"related_id\"}, \"gradings\": {\"string\": \"Gradings\", \"type\": \"one2many\", \"relation\": \"stock.grade\", \"relfield\": \"related_id\"}, \"approvals\": {\"string\": \"Approvals\", \"type\": \"one2many\", \"relation\": \"approval\", \"relfield\": \"related_id\"}, \"purchase_request_id\": {\"string\": \"Purchase Request\", \"type\": \"many2one\", \"relation\": \"purchase.request\", \"store\": true}, \"date_week\": {\"string\": \"Week\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_date_agg\"}, \"date_month\": {\"string\": \"Month\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_date_agg\"}, \"date_approve\": {\"string\": \"Approved Date\", \"type\": \"datetime\", \"readonly\": true, \"search\": true, \"store\": true}, \"project_id\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"project\", \"search\": true, \"store\": true}}}, \"purchase.order.line\": {\"name_field\": \"order_id\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"sequence\": {\"string\": \"Item No.\", \"type\": \"integer\", \"store\": true}, \"order_id\": {\"string\": \"Purchase Order\", \"type\": \"many2one\", \"relation\": \"purchase.order\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"unit_price\": {\"string\": \"Unit Price\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}, \"tax_id\": {\"string\": \"Tax Rate\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_cur\": {\"string\": \"Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"amount_input\": {\"string\": \"Amount Input\", \"type\": \"decimal\", \"store\": true}, \"qty_received\": {\"string\": \"Received Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_received\"}, \"qty_remaining\": {\"string\": \"Remaining Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_received\"}, \"qty_invoiced\": {\"string\": \"Invoiced Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_invoiced\"}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"readonly\": true, \"function\": \"_get_related\"}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"readonly\": true, \"function\": \"_get_related\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"confirmed\", \"Confirmed\"], [\"done\", \"Completed\"], [\"voided\", \"Voided\"]], \"readonly\": true, \"function\": \"_get_related\"}, \"sale_id\": {\"string\": \"Sales Order\", \"type\": \"many2one\", \"relation\": \"sale.order\", \"store\": true}, \"location_id\": {\"string\": \"Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"product_categs\": {\"string\": \"Product Categories\", \"type\": \"many2many\", \"relation\": \"product.categ\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"product_categ_id\": {\"string\": \"Product Category\", \"type\": \"many2many\", \"relation\": \"product.categ\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"agg_amount\": {\"string\": \"Total Amount\", \"type\": \"decimal\"}, \"agg_qty\": {\"string\": \"Total Order Qty\", \"type\": \"decimal\"}, \"ship_method_id\": {\"string\": \"Shipping Method\", \"type\": \"many2one\", \"relation\": \"ship.method\", \"store\": true}, \"discount_amount\": {\"string\": \"Disc Amt\", \"type\": \"decimal\", \"store\": true}, \"qty_stock\": {\"string\": \"Qty (Stock UoM) (OLD)\", \"type\": \"decimal\", \"store\": true}, \"qty_stock_func\": {\"string\": \"Qty (Stock UoM)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_stock\"}, \"index\": {\"string\": \"Index\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_index\"}, \"notes\": {\"string\": \"Notes\", \"type\": \"text\", \"store\": true}, \"track_id\": {\"string\": \"Track-1\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"1\"]], \"store\": true}, \"track2_id\": {\"string\": \"Track-2\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"condition\": [[\"type\", \"=\", \"2\"]], \"store\": true}, \"amount_tax\": {\"string\": \"Tax Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount_tax\"}, \"amount_incl_tax\": {\"string\": \"Amount Including Tax\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount_tax\"}, \"amount_excl_tax\": {\"string\": \"Amount Excluding Tax\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount_tax\"}, \"department_id\": {\"string\": \"Department\", \"type\": \"many2one\", \"relation\": \"hr.department\", \"search\": true, \"store\": true}}}, \"report.purchase\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"purchase.type\": {\"string\": \"Purchase Type\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"parent_id\": {\"string\": \"Parent\", \"type\": \"many2one\", \"relation\": \"purchase.type\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"char\", \"store\": true}, \"commission_po\": {\"string\": \"Commission Purchase\", \"type\": \"boolean\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"report.commission.po\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"store\": true}}}, \"purchase.request\": {\"string\": \"Purchase Request\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"ref\": {\"string\": \"Ref\", \"type\": \"char\", \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"date_required\": {\"string\": \"Required Date\", \"type\": \"date\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"other_info\": {\"string\": \"Other Info\", \"type\": \"text\", \"store\": true}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"waiting_approval\", \"Waiting Approval\"], [\"waiting_po\", \"Waiting PO\"], [\"done\", \"Completed\"], [\"rejected\", \"Rejected\"], [\"voided\", \"Voided\"]], \"required\": true, \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"purchase.request.line\", \"relfield\": \"request_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"request_by_id\": {\"string\": \"Request By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"required\": true, \"readonly\": true, \"store\": true}, \"approve_by_id\": {\"string\": \"Approved By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"readonly\": true, \"store\": true}, \"purchase_orders\": {\"string\": \"Purchase Orders\", \"type\": \"one2many\", \"relation\": \"purchase.order\", \"relfield\": \"purchase_request_id\"}, \"department_id\": {\"string\": \"Department\", \"type\": \"many2one\", \"relation\": \"hr.department\", \"search\": true, \"store\": true}, \"approvals\": {\"string\": \"Approvals\", \"type\": \"one2many\", \"relation\": \"approval\", \"relfield\": \"related_id\"}, \"amount_subtotal\": {\"string\": \"Subtotal\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_tax\": {\"string\": \"Tax Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_total\": {\"string\": \"Total\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_total_cur\": {\"string\": \"Total (Converted)\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}}}, \"purchase.request.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"request_id\": {\"string\": \"Purchase Request\", \"type\": \"many2one\", \"relation\": \"purchase.request\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"description\": {\"string\": \"Description1\", \"type\": \"text\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Request Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"location_id\": {\"string\": \"Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"store\": true}, \"purchase_order_id\": {\"string\": \"Purchase Order\", \"type\": \"many2one\", \"relation\": \"purchase.order\", \"store\": true}, \"supplier_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"qty_order\": {\"string\": \"Order Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_order\"}, \"cost_price\": {\"string\": \"Cost Price\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"customer_id\": {\"string\": \"Customer\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"index\": {\"string\": \"Index\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_index\"}, \"notes\": {\"string\": \"Notes\", \"type\": \"text\", \"store\": true}, \"department_id\": {\"string\": \"Department\", \"type\": \"many2one\", \"relation\": \"hr.department\", \"search\": true, \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}}}, \"purchase.return\": {\"string\": \"Purchase Return\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"ref\": {\"string\": \"Ref\", \"type\": \"char\", \"search\": true, \"store\": true}, \"contact_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"confirmed\", \"Confirmed\"], [\"done\", \"Completed\"], [\"voided\", \"Voided\"]], \"required\": true, \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"purchase.return.line\", \"relfield\": \"order_id\"}, \"amount_subtotal\": {\"string\": \"Subtotal\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_tax\": {\"string\": \"Tax Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_total\": {\"string\": \"Total\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_total_cur\": {\"string\": \"Total\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_total_words\": {\"string\": \"Total Words\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_amount_total_words\"}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"required\": true, \"store\": true}, \"tax_type\": {\"string\": \"Tax Type\", \"type\": \"selection\", \"selection\": [[\"tax_ex\", \"Tax Exclusive\"], [\"tax_in\", \"Tax Inclusive\"], [\"no_tax\", \"No Tax\"]], \"required\": true, \"store\": true}, \"invoices\": {\"string\": \"Credit Notes\", \"type\": \"one2many\", \"relation\": \"account.invoice\", \"relfield\": \"related_id\"}, \"pickings\": {\"string\": \"Stock Pickings\", \"type\": \"many2many\", \"relation\": \"stock.picking\", \"readonly\": true, \"function\": \"get_pickings\"}, \"is_delivered\": {\"string\": \"Delivered\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_delivered\"}, \"is_paid\": {\"string\": \"Paid\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_paid\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"payment_terms\": {\"string\": \"Payment Terms\", \"type\": \"text\", \"store\": true}, \"ship_term_id\": {\"string\": \"Shipping Terms\", \"type\": \"many2one\", \"relation\": \"ship.term\", \"store\": true}, \"price_list_id\": {\"string\": \"Price List\", \"type\": \"many2one\", \"relation\": \"price.list\", \"condition\": [[\"type\", \"=\", \"purchase\"]], \"store\": true}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"other_info\": {\"string\": \"Other Info\", \"type\": \"text\", \"store\": true}, \"bill_address_id\": {\"string\": \"Billing Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"ship_address_id\": {\"string\": \"Shipping Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"sequence_id\": {\"string\": \"Number Sequence\", \"type\": \"many2one\", \"relation\": \"sequence\", \"store\": true}, \"stock_moves\": {\"string\": \"Stock Movements\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"related_id\"}, \"agg_amount_total\": {\"string\": \"Total Amount\", \"type\": \"decimal\"}, \"year\": {\"string\": \"Year\", \"type\": \"char\"}, \"quarter\": {\"string\": \"Quarter\", \"type\": \"char\"}, \"month\": {\"string\": \"Month\", \"type\": \"char\"}, \"week\": {\"string\": \"Week\", \"type\": \"char\"}, \"agg_amount_subtotal\": {\"string\": \"Total Amount w/o Tax\", \"type\": \"decimal\"}, \"user_id\": {\"string\": \"Owner\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"emails\": {\"string\": \"Emails\", \"type\": \"one2many\", \"relation\": \"email.message\", \"relfield\": \"related_id\"}, \"orig_purchase_id\": {\"string\": \"Original Purchase Order\", \"type\": \"many2one\", \"relation\": \"purchase.order\", \"store\": true}}}, \"purchase.return.line\": {\"name_field\": \"order_id\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"order_id\": {\"string\": \"Purchase Return\", \"type\": \"many2one\", \"relation\": \"purchase.return\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"unit_price\": {\"string\": \"Unit Price\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}, \"tax_id\": {\"string\": \"Tax Rate\", \"type\": \"many2one\", \"relation\": \"account.tax.rate\", \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"amount_cur\": {\"string\": \"Amount\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"get_amount\"}, \"qty_issued\": {\"string\": \"Issued Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_issued\"}, \"qty_invoiced\": {\"string\": \"Invoiced Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_invoiced\"}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"readonly\": true, \"function\": \"_get_related\"}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"readonly\": true, \"function\": \"_get_related\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"confirmed\", \"Confirmed\"], [\"done\", \"Completed\"], [\"voided\", \"Voided\"]], \"readonly\": true, \"function\": \"_get_related\"}, \"location_id\": {\"string\": \"Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"store\": true}, \"product_categs\": {\"string\": \"Product Categories\", \"type\": \"many2many\", \"relation\": \"product.categ\", \"readonly\": true, \"search\": true, \"function\": \"_get_related\"}, \"agg_amount\": {\"string\": \"Total Amount\", \"type\": \"decimal\"}, \"agg_qty\": {\"string\": \"Total Order Qty\", \"type\": \"decimal\"}, \"ship_method_id\": {\"string\": \"Shipping Method\", \"type\": \"many2one\", \"relation\": \"ship.method\", \"store\": true}, \"discount_amount\": {\"string\": \"Disc Amt\", \"type\": \"decimal\", \"store\": true}, \"amount_tax\": {\"string\": \"Tax Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount_tax\"}, \"amount_incl_tax\": {\"string\": \"Amount Including Tax\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount_tax\"}, \"amount_excl_tax\": {\"string\": \"Amount Excluding Tax\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount_tax\"}}}, \"report.purchase.gen\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"product_categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"store\": true}, \"supplier_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"contact\", \"condition\": [[\"supplier\", \"=\", true]], \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"filter_min_stock\": {\"string\": \"Show only below min stock\", \"type\": \"boolean\", \"store\": true}, \"num_periods\": {\"string\": \"Number Of Periods\", \"type\": \"integer\", \"store\": true}, \"period_type\": {\"string\": \"Period Type\", \"type\": \"selection\", \"selection\": [[\"month\", \"Month\"], [\"week\", \"Week\"]], \"store\": true}}}, \"report.purchase.gen2\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"product_categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"store\": true}, \"supplier_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"contact\", \"condition\": [[\"supplier\", \"=\", true]], \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"filter_min_stock\": {\"string\": \"Show only below min stock\", \"type\": \"boolean\", \"store\": true}, \"num_months\": {\"string\": \"Number Of Months\", \"type\": \"integer\", \"store\": true}}}, \"report.purchase.gen3\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"product_categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"store\": true}, \"supplier_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"contact\", \"condition\": [[\"supplier\", \"=\", true]], \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"filter_min_stock\": {\"string\": \"Show only below min stock\", \"type\": \"boolean\", \"store\": true}, \"num_months\": {\"string\": \"Number Of Months\", \"type\": \"integer\", \"store\": true}}}, \"purchase.add\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"purchase_id\": {\"string\": \"Purchase Order\", \"type\": \"many2one\", \"relation\": \"purchase.order\", \"required\": true, \"store\": true}, \"master_product_id\": {\"string\": \"Master Product\", \"type\": \"many2one\", \"relation\": \"product\", \"condition\": [[\"type\", \"=\", \"master\"]], \"store\": true}}}, \"purchase.wizard\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"product_supplier_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"product.supplier\", \"required\": true, \"store\": true}}}, \"report.purchase.picking\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"PO Date From\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"PO Date To\", \"type\": \"date\", \"required\": true, \"store\": true}, \"project_id\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"project\", \"store\": true}, \"contact_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}}}, \"bom\": {\"string\": \"Bill of Material\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"product_id\": {\"string\": \"FG Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"search\": true, \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"location_id\": {\"string\": \"FG Warehouse\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"production_location_id\": {\"string\": \"Production Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"virt_production_location_id\": {\"string\": \"Virtual Production Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"production\"]], \"store\": true}, \"routing_id\": {\"string\": \"Routing\", \"type\": \"many2one\", \"relation\": \"routing\", \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"bom.line\", \"relfield\": \"bom_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"max_qty_loss\": {\"string\": \"Max Qty Loss\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"container\": {\"string\": \"FG Container\", \"type\": \"selection\", \"selection\": [[\"sale\", \"From Sales Order\"]], \"store\": true}, \"lot\": {\"string\": \"FG Lot\", \"type\": \"selection\", \"selection\": [[\"production\", \"From Production Order\"]], \"store\": true}, \"rm_product_id\": {\"string\": \"RM Product\", \"type\": \"many2one\", \"relation\": \"product\", \"search\": true}, \"type\": {\"string\": \"BoM Type\", \"type\": \"selection\", \"selection\": [[\"normal\", \"Normal\"], [\"phantom\", \"Phantom\"]], \"required\": true, \"store\": true}, \"rm_cost_amount\": {\"string\": \"Raw Materials Cost\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_cost\"}, \"direct_labor_amount\": {\"string\": \"Direct Labor Amount\", \"type\": \"decimal\", \"store\": true}, \"total_direct_labor\": {\"string\": \"Total RM + Direct Labor\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_cost\"}, \"factory_overhead_amount\": {\"string\": \"Factory Overhead Amount\", \"type\": \"decimal\", \"store\": true}, \"total_factory_overhead\": {\"string\": \"Total Factory Cost\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_cost\"}, \"other_overhead_amount\": {\"string\": \"Finance & Operating Expenses Absorbed\", \"type\": \"decimal\", \"store\": true}, \"total_other_overhead\": {\"string\": \"Total Cost Excl. Wastage\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_cost\"}, \"waste_amount\": {\"string\": \"Wastage Cost Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_cost\"}, \"waste_percent\": {\"string\": \"Wastage Cost Percent (%)\", \"type\": \"decimal\", \"store\": true}, \"extra_amount\": {\"string\": \"Extra Cost Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_cost\"}, \"extra_percent\": {\"string\": \"Extra Cost Percent (%)\", \"type\": \"decimal\", \"store\": true}, \"cost_amount_total\": {\"string\": \"Total Cost Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_cost\"}}}, \"bom.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"bom_id\": {\"string\": \"BoM\", \"type\": \"many2one\", \"relation\": \"bom\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"RM Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"location_id\": {\"string\": \"RM Warehouse\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"container\": {\"string\": \"RM Container\", \"type\": \"selection\", \"selection\": [[\"sale\", \"From Sales Order\"]], \"store\": true}, \"lot\": {\"string\": \"RM Lot\", \"type\": \"selection\", \"selection\": [[\"production\", \"From Production Order\"]], \"store\": true}, \"issue_method\": {\"string\": \"Issue Method\", \"type\": \"selection\", \"selection\": [[\"manual\", \"Manual\"], [\"backflush\", \"Backflush\"], [\"purchase\", \"Purchase\"]], \"store\": true}, \"qty2\": {\"string\": \"Qty2\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"notes\": {\"string\": \"Notes\", \"type\": \"text\", \"store\": true}, \"weight\": {\"string\": \"Unit Weight\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_related\"}, \"cost_amount\": {\"string\": \"RM Cost Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_cost\"}, \"forecast_cost_amount\": {\"string\": \"RM Cost Forecast\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_cost_forecast\"}, \"labor_amount\": {\"string\": \"Labor Amount\", \"type\": \"decimal\", \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}}}, \"production.order\": {\"string\": \"Production Order\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"ref\": {\"string\": \"Reference\", \"type\": \"char\", \"search\": true, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.order\", \"Sales Order\"]], \"store\": true}, \"date_created\": {\"string\": \"Date Created\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"order_date\": {\"string\": \"Start Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"customer_id\": {\"string\": \"Customer\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"due_date\": {\"string\": \"Due Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"due_date_week\": {\"string\": \"Due Date Week\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_date_agg\"}, \"due_date_month\": {\"string\": \"Due Date Month\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_date_agg\"}, \"location_id\": {\"string\": \"FG Warehouse\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"FG Product\", \"type\": \"many2one\", \"relation\": \"product\", \"condition\": [[\"supply_method\", \"=\", \"production\"]], \"required\": true, \"search\": true, \"store\": true}, \"qty_planned\": {\"string\": \"Planned Qty\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}, \"qty_received\": {\"string\": \"Received Qty\", \"type\": \"decimal\", \"scale\": 6, \"readonly\": true, \"function\": \"get_qty_received\"}, \"qty_received_uos\": {\"string\": \"Received Qty (UoS)\", \"type\": \"decimal\", \"scale\": 6, \"readonly\": true, \"function\": \"get_qty_received_uos\"}, \"qty2_received\": {\"string\": \"Received Secondary Qty\", \"type\": \"decimal\", \"scale\": 6, \"readonly\": true, \"function\": \"get_qty_received\"}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"bom_id\": {\"string\": \"Bill of Material\", \"type\": \"many2one\", \"relation\": \"bom\", \"store\": true}, \"routing_id\": {\"string\": \"Routing\", \"type\": \"many2one\", \"relation\": \"routing\", \"store\": true}, \"components\": {\"string\": \"Components\", \"type\": \"one2many\", \"relation\": \"production.component\", \"relfield\": \"order_id\"}, \"operations\": {\"string\": \"Operations\", \"type\": \"one2many\", \"relation\": \"production.operation\", \"relfield\": \"order_id\"}, \"qc_results\": {\"string\": \"QC Results\", \"type\": \"one2many\", \"relation\": \"qc.result\", \"relfield\": \"production_id\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"confirmed\", \"Confirmed\"], [\"in_progress\", \"In Progress\"], [\"done\", \"Completed\"], [\"voided\", \"Voided\"]], \"required\": true, \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"sale_id\": {\"string\": \"Sales Order\", \"type\": \"many2one\", \"relation\": \"sale.order\", \"search\": true, \"store\": true}, \"parent_id\": {\"string\": \"Parent Production Order\", \"type\": \"many2one\", \"relation\": \"production.order\", \"search\": true, \"store\": true}, \"sub_orders\": {\"string\": \"Sub Production Orders\", \"type\": \"one2many\", \"relation\": \"production.order\", \"relfield\": \"parent_id\"}, \"production_location_id\": {\"string\": \"Production Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"overdue\": {\"string\": \"Overdue\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_overdue\"}, \"team_id\": {\"string\": \"Team\", \"type\": \"many2one\", \"relation\": \"mfg.team\", \"search\": true, \"store\": true}, \"time_start\": {\"string\": \"Start Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"time_stop\": {\"string\": \"Finish Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"duration\": {\"string\": \"Duration (Hours)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_duration\"}, \"done_qty_loss_approved_by_id\": {\"string\": \"Approved Qty Loss By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"readonly\": true, \"store\": true}, \"split_approved_by_id\": {\"string\": \"Approved By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"readonly\": true, \"store\": true}, \"container_id\": {\"string\": \"FG Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"lot_id\": {\"string\": \"FG Lot\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"stock_moves\": {\"string\": \"Stock Movements\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"related_id\"}, \"remark\": {\"string\": \"Remark\", \"type\": \"text\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"supplier_id\": {\"string\": \"Supplier\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"pickings\": {\"string\": \"Stock Pickings\", \"type\": \"many2many\", \"relation\": \"stock.picking\", \"readonly\": true, \"function\": \"get_pickings\"}, \"invoices\": {\"string\": \"Invoices\", \"type\": \"one2many\", \"relation\": \"account.invoice\", \"relfield\": \"related_id\"}, \"emails\": {\"string\": \"Emails\", \"type\": \"one2many\", \"relation\": \"email.message\", \"relfield\": \"related_id\"}, \"track_id\": {\"string\": \"Tracking Code\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"track_entries\": {\"string\": \"Tracking Entries\", \"type\": \"one2many\", \"relation\": \"account.track.entry\", \"relfield\": null, \"function\": \"get_track_entries\"}, \"track_balance\": {\"string\": \"Tracking Balance\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_related\"}, \"total_rm_cost\": {\"string\": \"Total RM Cost\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_cost\"}, \"total_cost\": {\"string\": \"Total FG Cost\", \"type\": \"float\", \"readonly\": true, \"function\": \"get_total_cost\"}, \"unit_cost\": {\"string\": \"FG Unit Cost\", \"type\": \"float\", \"readonly\": true, \"function\": \"get_total_cost\"}, \"period_id\": {\"string\": \"Production Period\", \"type\": \"many2one\", \"relation\": \"production.period\", \"store\": true}, \"sale_lines\": {\"string\": \"Sales Order Lines\", \"type\": \"one2many\", \"relation\": \"sale.order.line\", \"relfield\": \"production_id\"}, \"purchase_orders\": {\"string\": \"Purchase Orders\", \"type\": \"one2many\", \"relation\": \"purchase.order\", \"relfield\": \"related_id\"}, \"receive_fg_qty\": {\"string\": \"Received Qty\", \"type\": \"decimal\", \"store\": true}, \"receive_fg_qty_gb\": {\"string\": \"Received Qty (Grade-B)\", \"type\": \"decimal\", \"store\": true}, \"receive_fg_qty_waste\": {\"string\": \"Received Qty (Waste)\", \"type\": \"decimal\", \"store\": true}, \"receive_fg_done\": {\"string\": \"Complete Production Order\", \"type\": \"boolean\", \"store\": true}, \"gradings\": {\"string\": \"Gradings\", \"type\": \"one2many\", \"relation\": \"stock.grade.line\", \"relfield\": \"production_id\"}, \"adjust_rm_product_id\": {\"string\": \"RM Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"adjust_rm_qty\": {\"string\": \"Issued Qty\", \"type\": \"decimal\", \"store\": true}, \"qc_checked\": {\"string\": \"QC Checked\", \"type\": \"boolean\", \"store\": true}, \"received_date\": {\"string\": \"Received Date\", \"type\": \"date\", \"readonly\": true, \"function\": \"get_received_date\"}}}, \"production.component\": {\"string\": \"Production Component\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"order_id\": {\"string\": \"Production Order\", \"type\": \"many2one\", \"relation\": \"production.order\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"RM Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"qty_planned\": {\"string\": \"Planned Qty\", \"type\": \"decimal\", \"scale\": 6, \"required\": true, \"store\": true}, \"qty_issued\": {\"string\": \"Issued Qty\", \"type\": \"decimal\", \"scale\": 6, \"readonly\": true, \"function\": \"get_qty_issued\"}, \"qty_received\": {\"string\": \"Received Qty\", \"type\": \"decimal\", \"scale\": 6, \"readonly\": true, \"function\": \"get_qty_received\"}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"location_id\": {\"string\": \"RM Warehouse\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"required\": true, \"store\": true}, \"issue_method\": {\"string\": \"Issue Method\", \"type\": \"selection\", \"selection\": [[\"manual\", \"Manual\"], [\"backflush\", \"Backflush\"], [\"purchase\", \"Purchase\"]], \"required\": true, \"store\": true}, \"lot_id\": {\"string\": \"RM Lot\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"container_id\": {\"string\": \"RM Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"qty_stock\": {\"string\": \"Qty In Stock\", \"type\": \"decimal\", \"scale\": 6, \"readonly\": true, \"function\": \"get_qty_stock\"}, \"notes\": {\"string\": \"Notes\", \"type\": \"text\", \"store\": true}, \"cost_price\": {\"string\": \"Cost Price\", \"type\": \"decimal\", \"scale\": 6, \"readonly\": true, \"function\": \"get_cost\"}, \"cost_amount\": {\"string\": \"Cost Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_cost\"}}}, \"production.operation\": {\"string\": \"Production Operation\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"order_id\": {\"string\": \"Production Order\", \"type\": \"many2one\", \"relation\": \"production.order\", \"required\": true, \"store\": true}, \"workcenter_id\": {\"string\": \"Workcenter\", \"type\": \"many2one\", \"relation\": \"workcenter\", \"required\": true, \"store\": true}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"store\": true}, \"planned_duration\": {\"string\": \"Planned Duration (Minutes)\", \"type\": \"decimal\", \"store\": true}, \"time_start\": {\"string\": \"Start Time\", \"type\": \"datetime\", \"store\": true}, \"time_stop\": {\"string\": \"Stop Time\", \"type\": \"datetime\", \"store\": true}, \"actual_duration\": {\"string\": \"Actual Duration (Minutes)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_actual_duration\"}, \"notes\": {\"string\": \"Notes\", \"type\": \"text\", \"store\": true}}}, \"workcenter\": {\"string\": \"Workcenter\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"code\": {\"string\": \"Workcenter Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"name\": {\"string\": \"Workcenter Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"location_id\": {\"string\": \"Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"asset_id\": {\"string\": \"Fixed Asset\", \"type\": \"many2one\", \"relation\": \"account.fixed.asset\", \"store\": true}, \"hours_history\": {\"string\": \"Hours History\", \"type\": \"json\", \"readonly\": true, \"function\": \"get_hours_history\"}, \"hours_week\": {\"string\": \"Hours This Week\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_hours\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}}}, \"routing\": {\"string\": \"Routing\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Routing Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"location_id\": {\"string\": \"Production Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"routing.line\", \"relfield\": \"routing_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}}}, \"routing.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"routing_id\": {\"string\": \"Routing\", \"type\": \"many2one\", \"relation\": \"routing\", \"required\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"workcenter_id\": {\"string\": \"Workcenter\", \"type\": \"many2one\", \"relation\": \"workcenter\", \"required\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"char\", \"store\": true}, \"duration\": {\"string\": \"Duration (Minutes)\", \"type\": \"decimal\", \"store\": true}}}, \"mrp.operation\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"order_id\": {\"string\": \"Order\", \"type\": \"many2one\", \"relation\": \"production.order\", \"required\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"workcenter_id\": {\"string\": \"Workcenter\", \"type\": \"many2one\", \"relation\": \"workcenter\", \"required\": true, \"store\": true}, \"hours\": {\"string\": \"Hours\", \"type\": \"decimal\", \"required\": true, \"store\": true}}}, \"barcode.ops\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"production_id\": {\"string\": \"Production Order\", \"type\": \"many2one\", \"relation\": \"production.order\", \"condition\": [[\"state\", \"=\", \"in_progress\"]], \"store\": true}, \"workcenter_id\": {\"string\": \"Workcenter\", \"type\": \"many2one\", \"relation\": \"workcenter\", \"store\": true}}}, \"mfg.team\": {\"string\": \"Team\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Team Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}}}, \"split.production\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"order_id\": {\"string\": \"Production Order\", \"type\": \"many2one\", \"relation\": \"production.order\", \"required\": true, \"store\": true}, \"order_to_id\": {\"string\": \"To Production Order\", \"type\": \"many2one\", \"relation\": \"production.order\", \"required\": true, \"store\": true}, \"product_list\": {\"string\": \"Product List\", \"type\": \"json\", \"store\": true}, \"order_to_list\": {\"string\": \"Production To List\", \"type\": \"json\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"planned_qty\": {\"string\": \"Planned Qty\", \"type\": \"decimal\", \"readonly\": true, \"store\": true}, \"actual_qty\": {\"string\": \"Actual Qty\", \"type\": \"decimal\", \"readonly\": true, \"store\": true}, \"split_qty\": {\"string\": \"Split Qty\", \"type\": \"decimal\", \"store\": true}, \"split_qty2\": {\"string\": \"Split Secondary Qty\", \"type\": \"decimal\", \"store\": true}, \"team_id\": {\"string\": \"Production Team\", \"type\": \"many2one\", \"relation\": \"mfg.team\", \"store\": true}, \"remark\": {\"string\": \"Remark\", \"type\": \"char\", \"store\": true}, \"ratio_method\": {\"string\": \"Ratio Method\", \"type\": \"selection\", \"selection\": [[\"planned\", \"Planned Qty\"], [\"actual\", \"Actual Qty\"]], \"required\": true, \"store\": true}, \"journal_id\": {\"string\": \"Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"required\": true, \"store\": true}, \"container_id\": {\"string\": \"Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"split.production.line\", \"relfield\": \"wizard_id\"}, \"remain_planned_qty\": {\"string\": \"Remain Planned Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_remain_planned_qty\"}, \"remain_actual_qty\": {\"string\": \"Remain Actual Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_remain_actual_qty\"}, \"approved_by_id\": {\"string\": \"Approved By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"readonly\": true, \"store\": true}}}, \"split.production.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"wizard_id\": {\"string\": \"Wizard\", \"type\": \"many2one\", \"relation\": \"split.production\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"ratio_method\": {\"string\": \"Ratio Method\", \"type\": \"char\", \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"qty2\": {\"string\": \"Secondary Qty\", \"type\": \"decimal\", \"store\": true}, \"team_id\": {\"string\": \"Team\", \"type\": \"many2one\", \"relation\": \"mfg.team\", \"store\": true}, \"remark\": {\"string\": \"Remark\", \"type\": \"text\", \"store\": true}}}, \"barcode.issue.mfg\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"location_from_id\": {\"string\": \"From Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"store\": true}, \"production_id\": {\"string\": \"Production Order\", \"type\": \"many2one\", \"relation\": \"production.order\", \"condition\": [[\"state\", \"=\", \"in_progress\"]], \"store\": true}, \"location_to_id\": {\"string\": \"To Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"store\": true}, \"journal_id\": {\"string\": \"Stock Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"barcode.issue.mfg.line\", \"relfield\": \"wizard_id\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"pending\", \"Pending\"], [\"done\", \"Completed\"]], \"required\": true, \"store\": true}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"store\": true}, \"container_from_id\": {\"string\": \"From Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}}}, \"barcode.issue.mfg.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"wizard_id\": {\"string\": \"Wizard\", \"type\": \"many2one\", \"relation\": \"barcode.issue.mfg\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Actual Transfer Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"qty2\": {\"string\": \"Actual Transfer Secondary Qty\", \"type\": \"decimal\", \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"qty_stock\": {\"string\": \"Qty In Stock\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_stock\"}, \"qty2_stock\": {\"string\": \"Secondary Qty In Stock\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_stock\"}, \"container_from_id\": {\"string\": \"From Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"container_to_id\": {\"string\": \"To Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"qty_planned\": {\"string\": \"Planned Transfer Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_planned\"}, \"mode\": {\"string\": \"Mode\", \"type\": \"selection\", \"selection\": [[\"loss\", \"Inventory Loss\"]], \"store\": true}, \"location_loss_id\": {\"string\": \"Inventory Loss Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"container_loss_id\": {\"string\": \"Loss Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}}}, \"barcode.receive.mfg\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"location_to_id\": {\"string\": \"To Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"store\": true}, \"journal_id\": {\"string\": \"Stock Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"production_id\": {\"string\": \"Production Order\", \"type\": \"many2one\", \"relation\": \"production.order\", \"condition\": [[\"state\", \"=\", \"in_progress\"]], \"store\": true}, \"location_from_id\": {\"string\": \"From Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"barcode.receive.mfg.line\", \"relfield\": \"wizard_id\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"pending\", \"Pending\"], [\"done\", \"Completed\"]], \"required\": true, \"store\": true}, \"total_qty_issued\": {\"string\": \"Total Issued Qty\", \"type\": \"decimal\", \"scale\": 6, \"readonly\": true, \"function\": \"get_total_qty\"}, \"total_qty_received\": {\"string\": \"Total Received Qty\", \"type\": \"decimal\", \"scale\": 6, \"readonly\": true, \"function\": \"get_total_qty\"}, \"total_qty_diff\": {\"string\": \"Qty Loss\", \"type\": \"decimal\", \"scale\": 6, \"readonly\": true, \"function\": \"get_total_qty\"}, \"max_qty_loss\": {\"string\": \"Max Qty Loss\", \"type\": \"decimal\", \"scale\": 6, \"readonly\": true, \"function\": \"get_total_qty\"}, \"approved_by_id\": {\"string\": \"Approved By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"readonly\": true, \"store\": true}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"store\": true}}}, \"barcode.receive.mfg.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"wizard_id\": {\"string\": \"Wizard\", \"type\": \"many2one\", \"relation\": \"barcode.receive.mfg\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Actual Receive Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"qty2\": {\"string\": \"Actual Receive Secondary Qty\", \"type\": \"decimal\", \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"qty_planned\": {\"string\": \"Planned Receive Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_planned\"}, \"container_from_id\": {\"string\": \"From Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"container_to_id\": {\"string\": \"To Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"qty_issued\": {\"string\": \"Issued Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_issued\"}}}, \"barcode.safe.out\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"location_from_id\": {\"string\": \"From Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"store\": true}, \"location_to_id\": {\"string\": \"To Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"store\": true}, \"product_categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"store\": true}, \"production_orders\": {\"string\": \"Production Orders\", \"type\": \"many2many\", \"relation\": \"production.order\"}, \"containers\": {\"string\": \"Containers\", \"type\": \"many2many\", \"relation\": \"stock.container\"}, \"journal_id\": {\"string\": \"Stock Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"barcode.safe.out.line\", \"relfield\": \"wizard_id\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"pending\", \"Pending\"], [\"done\", \"Completed\"]], \"required\": true, \"store\": true}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"store\": true}, \"approved_by_id\": {\"string\": \"Approved By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"readonly\": true, \"store\": true}, \"ref\": {\"string\": \"Pick Number\", \"type\": \"char\", \"store\": true}, \"container\": {\"string\": \"Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}}}, \"barcode.safe.out.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"wizard_id\": {\"string\": \"Wizard\", \"type\": \"many2one\", \"relation\": \"barcode.safe.out\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Transfer Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"qty2\": {\"string\": \"Transfer Secondary Qty\", \"type\": \"decimal\", \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"container_from_id\": {\"string\": \"From Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"container_to_id\": {\"string\": \"To Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"production_id\": {\"string\": \"Production Order\", \"type\": \"many2one\", \"relation\": \"production.order\", \"store\": true}}}, \"barcode.safe.in\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"location_from_id\": {\"string\": \"From Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"store\": true}, \"location_to_id\": {\"string\": \"To Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"condition\": [[\"type\", \"=\", \"internal\"]], \"store\": true}, \"product_categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"store\": true}, \"container\": {\"string\": \"Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"journal_id\": {\"string\": \"Stock Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"barcode.safe.in.line\", \"relfield\": \"wizard_id\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"pending\", \"Pending\"], [\"done\", \"Completed\"]], \"required\": true, \"store\": true}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"store\": true}, \"approved_by_id\": {\"string\": \"Approved By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"readonly\": true, \"store\": true}, \"ref\": {\"string\": \"Pick Number\", \"type\": \"char\", \"store\": true}}}, \"barcode.safe.in.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"wizard_id\": {\"string\": \"Wizard\", \"type\": \"many2one\", \"relation\": \"barcode.safe.in\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Transfer Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"qty2\": {\"string\": \"Transfer Secondary Qty\", \"type\": \"decimal\", \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"container_from_id\": {\"string\": \"From Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}, \"container_to_id\": {\"string\": \"To Container\", \"type\": \"many2one\", \"relation\": \"stock.container\", \"store\": true}}}, \"report.safe.in\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"datetime\", \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"datetime\", \"store\": true}}}, \"report.safe.out\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"datetime\", \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"datetime\", \"store\": true}}}, \"report.production.order\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"Order Date From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"Order Date To\", \"type\": \"date\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"waiting_confirm\", \"Waiting Confirmation\"], [\"waiting_suborder\", \"Waiting Suborder\"], [\"waiting_material\", \"Waiting Material\"], [\"ready\", \"Ready To Start\"], [\"in_progress\", \"In Progress\"], [\"done\", \"Completed\"], [\"voided\", \"Voided\"], [\"split\", \"Split\"]], \"store\": true}, \"production_order\": {\"string\": \"Production Order\", \"type\": \"many2one\", \"relation\": \"production.order\", \"store\": true}, \"production_location_id\": {\"string\": \"Production Location\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"sale_order\": {\"string\": \"Sales Order\", \"type\": \"char\", \"store\": true}}}, \"report.production.component\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"Order Date From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"Order Date To\", \"type\": \"date\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"store\": true}, \"sale_id\": {\"string\": \"Sale Order\", \"type\": \"many2one\", \"relation\": \"sale.order\", \"store\": true}, \"production_location_id\": {\"string\": \"Production Loation\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"store\": true}, \"show_empty\": {\"string\": \"Show Empty\", \"type\": \"boolean\", \"store\": true}}}, \"production.plan\": {\"string\": \"Production Plan\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"search\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"search\": true, \"store\": true}, \"customer_id\": {\"string\": \"Customer\", \"type\": \"many2one\", \"relation\": \"contact\", \"search\": true, \"store\": true}, \"date_from\": {\"string\": \"From Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"date_to\": {\"string\": \"To Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"date\": {\"string\": \"Production Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"plan_qty\": {\"string\": \"Planned Production Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"location_id\": {\"string\": \"To Warehouse\", \"type\": \"many2one\", \"relation\": \"stock.location\", \"required\": true, \"store\": true}, \"bom_id\": {\"string\": \"BoM\", \"type\": \"many2one\", \"relation\": \"bom\", \"search\": true, \"store\": true}, \"priority\": {\"string\": \"Priority\", \"type\": \"selection\", \"selection\": [[\"high\", \"High\"], [\"medium\", \"Medium\"], [\"low\", \"Low\"]], \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"open\", \"Open\"], [\"closed\", \"Closed\"]], \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"year\": {\"string\": \"Year\", \"type\": \"char\"}, \"actual_qty\": {\"string\": \"Actual Production Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_actual_qty\"}, \"stock_moves\": {\"string\": \"Stock Movements\", \"type\": \"one2many\", \"relation\": \"stock.move\", \"relfield\": \"related_id\"}}}, \"production.cost\": {\"string\": \"Production Cost\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"order_id\": {\"string\": \"Production Order\", \"type\": \"many2one\", \"relation\": \"production.order\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Cost Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"required\": true, \"store\": true}}}, \"production.period\": {\"string\": \"Production Period\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"date_from\": {\"string\": \"Date From\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"Date To\", \"type\": \"date\", \"required\": true, \"store\": true}, \"production_orders\": {\"string\": \"Production Orders\", \"type\": \"one2many\", \"relation\": \"production.order\", \"relfield\": \"period_id\"}, \"costs\": {\"string\": \"Period Costs\", \"type\": \"one2many\", \"relation\": \"production.period.cost\", \"relfield\": \"period_id\"}, \"amount_total\": {\"string\": \"Period Actual Total\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"alloc_total\": {\"string\": \"Production Order Total\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}}}, \"production.period.cost\": {\"string\": \"Production Period Cost\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"period_id\": {\"string\": \"Production Period\", \"type\": \"many2one\", \"relation\": \"production.period\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Cost Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"amount\": {\"string\": \"Period Actual Amount\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"alloc_amount\": {\"string\": \"Production Order Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_alloc_amount\"}}}, \"mkt.target\": {\"string\": \"Target\", \"name_field\": \"last_name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"list_id\": {\"string\": \"Target List\", \"type\": \"many2one\", \"relation\": \"mkt.target.list\", \"required\": true, \"store\": true}, \"date\": {\"string\": \"Date Created\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"first_name\": {\"string\": \"First Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"last_name\": {\"string\": \"Last Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"company\": {\"string\": \"Company\", \"type\": \"char\", \"search\": true, \"store\": true}, \"email\": {\"string\": \"Email\", \"type\": \"char\", \"search\": true, \"store\": true}, \"street\": {\"string\": \"Street\", \"type\": \"char\", \"store\": true}, \"city\": {\"string\": \"City\", \"type\": \"char\", \"store\": true}, \"province_id\": {\"string\": \"Province\", \"type\": \"many2one\", \"relation\": \"province\", \"search\": true, \"store\": true}, \"zip\": {\"string\": \"Zip\", \"type\": \"char\", \"store\": true}, \"country_id\": {\"string\": \"Country\", \"type\": \"many2one\", \"relation\": \"country\", \"search\": true, \"store\": true}, \"phone\": {\"string\": \"Phone\", \"type\": \"char\", \"store\": true}, \"fax\": {\"string\": \"Fax\", \"type\": \"char\", \"store\": true}, \"mobile\": {\"string\": \"Mobile\", \"type\": \"char\", \"store\": true}, \"website\": {\"string\": \"Website\", \"type\": \"char\", \"store\": true}, \"birthday\": {\"string\": \"Birthday\", \"type\": \"date\", \"store\": true}, \"target_life\": {\"string\": \"Target Life (days)\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_life\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"email_status\": {\"string\": \"Email Status\", \"type\": \"selection\", \"selection\": [[\"error_syntax\", \"Syntax Error\"], [\"error_dns\", \"DNS Error\"], [\"error_smtp\", \"SMTP Error\"], [\"verified\", \"Verified\"]], \"readonly\": true, \"search\": true, \"store\": true}, \"email_error\": {\"string\": \"Email Error Details\", \"type\": \"text\", \"readonly\": true, \"store\": true}}}, \"mkt.target.list\": {\"string\": \"Target List\", \"name_field\": \"name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Target List Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date Created\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"targets\": {\"string\": \"Targets\", \"type\": \"one2many\", \"relation\": \"mkt.target\", \"relfield\": \"list_id\"}, \"num_targets\": {\"string\": \"Number of targets\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num\"}, \"num_emails_verified\": {\"string\": \"Number of verified emails\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num\"}, \"num_emails_error\": {\"string\": \"Number of error emails\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"mkt.campaign\": {\"string\": \"Campaign\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Campaign Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"target_lists\": {\"string\": \"Target Lists\", \"type\": \"many2many\", \"relation\": \"mkt.target.list\"}, \"email_tmpl_id\": {\"string\": \"Email Template\", \"type\": \"many2one\", \"relation\": \"email.template\", \"store\": true}, \"mailbox_id\": {\"string\": \"Email Mailbox\", \"type\": \"many2one\", \"relation\": \"email.mailbox\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"active\", \"Active\"], [\"inactive\", \"Inactive\"]], \"required\": true, \"store\": true}, \"limit_day\": {\"string\": \"Daily Limit\", \"type\": \"integer\", \"store\": true}, \"limit_hour\": {\"string\": \"Hourly Limit\", \"type\": \"integer\", \"store\": true}, \"num_targets\": {\"string\": \"Number targets\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_stats\"}, \"num_create\": {\"string\": \"Number emails created\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_stats\"}, \"percent_create\": {\"string\": \"% created\", \"type\": \"float\", \"readonly\": true, \"function\": \"get_stats\"}, \"num_sent\": {\"string\": \"Number emails sent\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_stats\"}, \"percent_sent\": {\"string\": \"% sent\", \"type\": \"float\", \"readonly\": true, \"function\": \"get_stats\"}, \"num_delivered\": {\"string\": \"Number emails delivered\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_stats\"}, \"percent_delivered\": {\"string\": \"% delivered\", \"type\": \"float\", \"readonly\": true, \"function\": \"get_stats\"}, \"num_bounced\": {\"string\": \"Number emails bounced\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_stats\"}, \"percent_bounced\": {\"string\": \"% bounced\", \"type\": \"float\", \"readonly\": true, \"function\": \"get_stats\"}, \"num_rejected\": {\"string\": \"Number emails rejected\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_stats\"}, \"percent_rejected\": {\"string\": \"% rejected\", \"type\": \"float\", \"readonly\": true, \"function\": \"get_stats\"}, \"num_opened\": {\"string\": \"Number emails opened\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_stats\"}, \"percent_opened\": {\"string\": \"% opened\", \"type\": \"float\", \"readonly\": true, \"function\": \"get_stats\"}, \"num_clicked\": {\"string\": \"Number emails clicked\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_stats\"}, \"percent_clicked\": {\"string\": \"% clicked\", \"type\": \"float\", \"readonly\": true, \"function\": \"get_stats\"}, \"num_create_day\": {\"string\": \"Emails created within day\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_stats\"}, \"num_create_hour\": {\"string\": \"Emails created within hour\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_stats\"}, \"emails\": {\"string\": \"Emails\", \"type\": \"one2many\", \"relation\": \"email.message\", \"relfield\": \"related_id\"}, \"min_target_life\": {\"string\": \"Minimum Target Life (days)\", \"type\": \"integer\", \"store\": true}}}, \"report.mkt\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"hr.employee\": {\"string\": \"Employee\", \"name_field\": \"first_name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"code\": {\"string\": \"Employee Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"department_id\": {\"string\": \"Department\", \"type\": \"many2one\", \"relation\": \"hr.department\", \"search\": true, \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"selection\", \"selection\": [[\"mr\", \"Mr.\"], [\"mrs\", \"Mrs.\"], [\"miss\", \"Miss\"], [\"ms\", \"Ms.\"]], \"store\": true}, \"first_name\": {\"string\": \"First Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true, \"translate\": true}, \"last_name\": {\"string\": \"Last Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true, \"translate\": true}, \"hire_date\": {\"string\": \"Hire Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"work_status\": {\"string\": \"Work Status\", \"type\": \"selection\", \"selection\": [[\"working\", \"Working\"], [\"dismissed\", \"Dismissed\"], [\"resigned\", \"Resigned\"], [\"died\", \"Died\"]], \"store\": true}, \"work_type\": {\"string\": \"Work Type\", \"type\": \"selection\", \"selection\": [[\"monthly\", \"Monthly\"], [\"daily\", \"Daily\"], [\"hourly\", \"Job\"]], \"store\": true}, \"resign_date\": {\"string\": \"Resign Date\", \"type\": \"date\", \"store\": true}, \"position\": {\"string\": \"Position\", \"type\": \"char\", \"search\": true, \"store\": true}, \"birth_date\": {\"string\": \"Birth Date\", \"type\": \"date\", \"store\": true}, \"age\": {\"string\": \"Age\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_age\"}, \"gender\": {\"string\": \"Gender\", \"type\": \"selection\", \"selection\": [[\"male\", \"Male\"], [\"female\", \"Female\"]], \"store\": true}, \"marital_status\": {\"string\": \"Marital Status\", \"type\": \"selection\", \"selection\": [[\"single\", \"Single\"], [\"married\", \"Married\"], [\"divorced\", \"Divorced\"], [\"widowed\", \"Widowed\"]], \"store\": true}, \"addresses\": {\"string\": \"Address\", \"type\": \"one2many\", \"relation\": \"address\", \"relfield\": \"employee_id\"}, \"id_no\": {\"string\": \"ID Card No.\", \"type\": \"char\", \"store\": true}, \"drive_license_type\": {\"string\": \"Driving License\", \"type\": \"selection\", \"selection\": [[\"car\", \"Car\"], [\"motorcycle\", \"Motorcycle\"]], \"store\": true}, \"drive_license_no\": {\"string\": \"Driving License No.\", \"type\": \"char\", \"store\": true}, \"country_id\": {\"string\": \"Country\", \"type\": \"many2one\", \"relation\": \"country\", \"store\": true}, \"bank_account\": {\"string\": \"Bank Account\", \"type\": \"char\", \"store\": true}, \"salary\": {\"string\": \"Salary\", \"type\": \"decimal\", \"store\": true}, \"picture\": {\"string\": \"Picture\", \"type\": \"file\", \"store\": true}, \"tax_no\": {\"string\": \"Taxpayer ID No.\", \"type\": \"char\", \"store\": true}, \"tax_register\": {\"string\": \"Register Tax\", \"type\": \"boolean\", \"store\": true}, \"spouse_first_name\": {\"string\": \"Spouse First Name\", \"type\": \"char\", \"store\": true}, \"spouse_last_name\": {\"string\": \"Spouse Last Name\", \"type\": \"char\", \"store\": true}, \"spouse_title\": {\"string\": \"Spouse Title\", \"type\": \"selection\", \"selection\": [[\"mr\", \"Mr.\"], [\"ms\", \"Ms.\"]], \"store\": true}, \"spouse_birth_date\": {\"string\": \"Spouse Birth Date\", \"type\": \"date\", \"store\": true}, \"spouse_tax_no\": {\"string\": \"Spouse Tax ID No\", \"type\": \"char\", \"store\": true}, \"spouse_status\": {\"string\": \"Spouse Status\", \"type\": \"selection\", \"selection\": [[\"married\", \"Married existed throughout this tax year\"], [\"married_new\", \"Married during this tax year\"], [\"divorced\", \"Divorced during tax year\"], [\"deceased\", \"Deceased during tax year\"]], \"store\": true}, \"spouse_filing_status\": {\"string\": \"Spouse Filing Status\", \"type\": \"selection\", \"selection\": [[\"joint\", \"Has income and file joint return\"], [\"separate\", \"Has income and file separate tax return\"], [\"no_income\", \"Has no income\"]], \"store\": true}, \"num_child1\": {\"string\": \"No. of Children #1 (C3)\", \"type\": \"integer\", \"store\": true}, \"num_child2\": {\"string\": \"No. of Children #2 (C3)\", \"type\": \"integer\", \"store\": true}, \"social_no\": {\"string\": \"Social No.\", \"type\": \"char\", \"store\": true}, \"social_register\": {\"string\": \"Register Soc. Secur.\", \"type\": \"boolean\", \"store\": true}, \"social_calc_method\": {\"string\": \"Calc. Method\", \"type\": \"selection\", \"selection\": [[\"regular\", \"Regular Rate\"], [\"none\", \"Not Participate\"], [\"special\", \"Special Rate\"]], \"store\": true}, \"prov_fund_no\": {\"string\": \"Prov. Fund No.\", \"type\": \"char\", \"store\": true}, \"prov_open_date\": {\"string\": \"Opened Prov. Fund AC Date\", \"type\": \"char\", \"store\": true}, \"prov_rate_employer\": {\"string\": \"Employer Contribution (%)\", \"type\": \"decimal\", \"store\": true}, \"prov_rate_employee\": {\"string\": \"Employee Contribution (%)\", \"type\": \"decimal\", \"store\": true}, \"prov_regis\": {\"string\": \"Register Provident\", \"type\": \"boolean\", \"store\": true}, \"gov_pension_fund\": {\"string\": \"Gov. Pension Fund Amount (B2)\", \"type\": \"decimal\", \"store\": true}, \"teacher_fund\": {\"string\": \"Teacher Aid Fund Amount (B3)\", \"type\": \"decimal\", \"store\": true}, \"old_disabled\": {\"string\": \"Older than 65 or disabled (personal, B4)\", \"type\": \"decimal\", \"store\": true}, \"old_disabled_spouse\": {\"string\": \"Older than 65 or disabled (spouse, B5)\", \"type\": \"decimal\", \"store\": true}, \"severance_pay\": {\"string\": \"Severance Pay (B6)\", \"type\": \"decimal\", \"store\": true}, \"education_donation\": {\"string\": \"Education Donations (A8)\", \"type\": \"decimal\", \"store\": true}, \"other_donation\": {\"string\": \"Other Donations (A10)\", \"type\": \"decimal\", \"store\": true}, \"house_deduct\": {\"string\": \"Exemption for home buyer (A13)\", \"type\": \"decimal\", \"store\": true}, \"wht_amount\": {\"string\": \"Withholding Tax Amount (A15)\", \"type\": \"decimal\", \"store\": true}, \"father_id_no\": {\"string\": \"Father ID No. (C4)\", \"type\": \"char\", \"store\": true}, \"mother_id_no\": {\"string\": \"Mother ID No. (C4)\", \"type\": \"char\", \"store\": true}, \"spouse_father_id_no\": {\"string\": \"Father of spouse ID No. (C4)\", \"type\": \"char\", \"store\": true}, \"spouse_mother_id_no\": {\"string\": \"Mother of spouse ID No. (C4)\", \"type\": \"char\", \"store\": true}, \"disabled_support\": {\"string\": \"Disabled person support (C5)\", \"type\": \"decimal\", \"store\": true}, \"parent_health_insurance\": {\"string\": \"Parent Health Insurance (C6)\", \"type\": \"decimal\", \"store\": true}, \"life_insurance\": {\"string\": \"Life Insurance (C7)\", \"type\": \"decimal\", \"store\": true}, \"retirement_mutual_fund\": {\"string\": \"Retirement Mutual Fund (C9)\", \"type\": \"decimal\", \"store\": true}, \"long_term_equity_fund\": {\"string\": \"Long Term Equity Fund (C10)\", \"type\": \"decimal\", \"store\": true}, \"interest_residence\": {\"string\": \"Interest paid for residence (C11)\", \"type\": \"decimal\", \"store\": true}, \"other_deduct\": {\"string\": \"Other Deductions (C12)\", \"type\": \"decimal\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"store\": true}, \"time_in\": {\"string\": \"Last Sign In\", \"type\": \"datetime\", \"readonly\": true, \"function\": \"get_attend\"}, \"time_out\": {\"string\": \"Last Sign Out\", \"type\": \"datetime\", \"readonly\": true, \"function\": \"get_attend\"}, \"attend_state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"absent\", \"Absent\"], [\"present\", \"Present\"]], \"readonly\": true, \"function\": \"get_attend\"}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"payslips\": {\"string\": \"Payslips\", \"type\": \"one2many\", \"relation\": \"hr.payslip\", \"relfield\": \"employee_id\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"phone\": {\"string\": \"Mobile Phone\", \"type\": \"char\", \"search\": true, \"store\": true}, \"approver_id\": {\"string\": \"Approver\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"leave_types\": {\"string\": \"Leave Types\", \"type\": \"many2many\", \"relation\": \"hr.leave.type\"}, \"attendance_code\": {\"string\": \"Attendance Code\", \"type\": \"char\", \"store\": true}, \"email\": {\"string\": \"Email\", \"type\": \"char\", \"search\": true, \"store\": true}, \"profile_id\": {\"string\": \"Pay Item Profile\", \"type\": \"many2one\", \"relation\": \"hr.payitem.profile\", \"store\": true}, \"schedule_id\": {\"string\": \"Working Schedule\", \"type\": \"many2one\", \"relation\": \"hr.schedule\", \"store\": true}, \"leaves\": {\"string\": \"Leaves\", \"type\": \"one2many\", \"relation\": \"hr.leave\", \"relfield\": \"employee_id\"}, \"tax_profiles\": {\"string\": \"Tax Profiles\", \"type\": \"one2many\", \"relation\": \"hr.tax.profile\", \"relfield\": \"employee_id\"}, \"tax_profile_id\": {\"string\": \"Current Tax Profile\", \"type\": \"many2one\", \"relation\": \"hr.tax.profile\", \"readonly\": true, \"function\": \"_get_tax_profile\"}, \"year_income\": {\"string\": \"Incomes\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_ytd\"}, \"year_deduct\": {\"string\": \"Deductions\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_ytd\"}, \"year_tax\": {\"string\": \"Income Tax\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_ytd\"}, \"year_soc\": {\"string\": \"Social Security\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_ytd\"}, \"year_prov\": {\"string\": \"Provident Fund\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_ytd\"}, \"year_acc_prov\": {\"string\": \"Year Acc Provident Fund\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_ytd\"}, \"name_th\": {\"string\": \"Employee First Name (TH)\", \"type\": \"char\", \"store\": true}, \"name_last_th\": {\"string\": \"Employee Last Name (TH)\", \"type\": \"char\", \"store\": true}, \"depart_room_number\": {\"string\": \"Room No.\", \"type\": \"char\", \"store\": true}, \"depart_stage\": {\"string\": \"Stage\", \"type\": \"char\", \"store\": true}, \"depart_village\": {\"string\": \"Village\", \"type\": \"char\", \"store\": true}, \"depart_name\": {\"string\": \"Department Name\", \"type\": \"char\", \"store\": true}, \"depart_number\": {\"string\": \"Department No.\", \"type\": \"char\", \"store\": true}, \"depart_sub_number\": {\"string\": \"Dpt Sub No.\", \"type\": \"char\", \"store\": true}, \"depart_soi\": {\"string\": \"Soi\", \"type\": \"char\", \"store\": true}, \"depart_road\": {\"string\": \"Road\", \"type\": \"char\", \"store\": true}, \"depart_district\": {\"string\": \"District\", \"type\": \"char\", \"store\": true}, \"depart_sub_district\": {\"string\": \"Sub District\", \"type\": \"char\", \"store\": true}, \"depart_province\": {\"string\": \"Province\", \"type\": \"char\", \"store\": true}, \"depart_zip\": {\"string\": \"Zip\", \"type\": \"char\", \"store\": true}, \"depart_tel\": {\"string\": \"Tel.\", \"type\": \"char\", \"store\": true}, \"report_address_txt\": {\"string\": \"Address Report\", \"type\": \"text\", \"readonly\": true, \"function\": \"_get_report_address\"}, \"note\": {\"string\": \"Note\", \"type\": \"text\", \"store\": true}, \"payslip_template_id\": {\"string\": \"Payslip Template\", \"type\": \"many2one\", \"relation\": \"hr.payslip.template\", \"store\": true}, \"sick_leave\": {\"string\": \"Sick Leaves Remaining\", \"type\": \"char\", \"store\": true}, \"annual_leave\": {\"string\": \"Annual Leaves Remaining\", \"type\": \"char\", \"store\": true}}}, \"hr.leave.type\": {\"string\": \"Leave Type\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"employees\": {\"string\": \"Employees\", \"type\": \"many2many\", \"relation\": \"hr.employee\"}}}, \"hr.attendance\": {\"string\": \"Attendance Event\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"required\": true, \"search\": true, \"store\": true}, \"time\": {\"string\": \"Time\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"action\": {\"string\": \"Action\", \"type\": \"selection\", \"selection\": [[\"sign_in\", \"Sign In\"], [\"sign_out\", \"Sign Out\"]], \"required\": true, \"search\": true, \"store\": true}, \"mode\": {\"string\": \"Mode\", \"type\": \"selection\", \"selection\": [[\"manual\", \"Manual\"], [\"auto\", \"Auto\"], [\"csv\", \"CSV\"]], \"readonly\": true, \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"hr.attendance.config\": {\"string\": \"Attendance Config\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Attendance Config Name\", \"type\": \"char\", \"store\": true}, \"ip_address\": {\"string\": \"Hostname\", \"type\": \"char\", \"store\": true}, \"url_download\": {\"string\": \"Url Download\", \"type\": \"char\", \"store\": true}, \"port\": {\"string\": \"Port\", \"type\": \"integer\", \"store\": true}, \"user\": {\"string\": \"Username\", \"type\": \"char\", \"store\": true}, \"password\": {\"string\": \"Password\", \"type\": \"char\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"os_type\": {\"string\": \"Operating Software\", \"type\": \"selection\", \"selection\": [[\"zk3_0\", \"ZK Web 3.0\"], [\"zk1_5_5\", \"ZK Web 1.5.5\"]], \"store\": true}}}, \"hr.import.attendance\": {\"string\": \"Import Attendance\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"import_type\": {\"string\": \"Import Type\", \"type\": \"selection\", \"selection\": [[\"auto\", \"Auto\"], [\"csv\", \"CSV\"]], \"required\": true, \"store\": true}, \"file\": {\"string\": \"CSV File\", \"type\": \"file\", \"store\": true}, \"machine_id\": {\"string\": \"Machine Config\", \"type\": \"many2one\", \"relation\": \"hr.attendance.config\", \"store\": true}, \"encoding\": {\"string\": \"Encoding\", \"type\": \"selection\", \"selection\": [[\"utf-8\", \"UTF-8\"], [\"tis-620\", \"TIS-620\"]], \"required\": true, \"store\": true}, \"date\": {\"string\": \"Date From\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_fmt\": {\"string\": \"Date Format\", \"type\": \"char\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"hr.payrun\": {\"string\": \"Pay Run\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"date_from\": {\"string\": \"From Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"To Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_pay\": {\"string\": \"Pay Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"month\": {\"string\": \"Month\", \"type\": \"selection\", \"selection\": [[\"1\", \"January\"], [\"2\", \"February\"], [\"3\", \"March\"], [\"4\", \"April\"], [\"5\", \"May\"], [\"6\", \"June\"], [\"7\", \"July\"], [\"8\", \"August\"], [\"9\", \"September\"], [\"10\", \"October\"], [\"11\", \"November\"], [\"12\", \"December\"]], \"store\": true}, \"num_employees\": {\"string\": \"Employees\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_total\"}, \"amount_employee\": {\"string\": \"Employee Payments\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"amount_other\": {\"string\": \"Other Payments\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"amount_total\": {\"string\": \"Total\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"payslips\": {\"string\": \"Payslips\", \"type\": \"one2many\", \"relation\": \"hr.payslip\", \"relfield\": \"run_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"move_id\": {\"string\": \"Journal Entry\", \"type\": \"many2one\", \"relation\": \"account.move\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"approved\", \"Approved\"], [\"paid\", \"Paid\"], [\"posted\", \"Posted\"]], \"required\": true, \"store\": true}, \"department_id\": {\"string\": \"Department\", \"type\": \"many2one\", \"relation\": \"hr.department\", \"search\": true, \"store\": true}}}, \"hr.payslip\": {\"string\": \"Pay Slip\", \"name_field\": \"employee_id\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"run_id\": {\"string\": \"Pay Run\", \"type\": \"many2one\", \"relation\": \"hr.payrun\", \"search\": true, \"store\": true}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"condition\": [[\"work_status\", \"=\", \"working\"]], \"required\": true, \"search\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"due_date\": {\"string\": \"Due Date\", \"type\": \"date\", \"store\": true}, \"amount_wage\": {\"string\": \"Wages\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"amount_allow\": {\"string\": \"Allowances\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_details\"}, \"amount_deduct\": {\"string\": \"Deductions\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"amount_income\": {\"string\": \"Incomes\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"amount_tax\": {\"string\": \"Taxes\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"amount_post_allow\": {\"string\": \"Non-taxable Allowances\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"amount_post_deduct\": {\"string\": \"Post-tax Deductions\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"amount_net\": {\"string\": \"Net Pay\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"amount_pay_other\": {\"string\": \"Other Payments\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"amount_salary\": {\"string\": \"Salary\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_details\"}, \"amount_bonus\": {\"string\": \"Bonus\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_details\"}, \"amount_overtime\": {\"string\": \"Overtime\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_details\"}, \"amount_social\": {\"string\": \"Soc. Fund\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_details\"}, \"amount_provident\": {\"string\": \"Prov. Fund\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_details\"}, \"amount_other_expense\": {\"string\": \"Other Expense\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_details\"}, \"amount_allow_all\": {\"string\": \"Allowances keep\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"hr.payslip.line\", \"relfield\": \"slip_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"approved\", \"Approved\"], [\"paid\", \"Paid\"], [\"posted\", \"Posted\"]], \"required\": true, \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"move_id\": {\"string\": \"Journal Entry\", \"type\": \"many2one\", \"relation\": \"account.move\", \"store\": true}, \"department_id\": {\"string\": \"Department\", \"type\": \"many2one\", \"relation\": \"hr.department\", \"search\": true, \"store\": true}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"store\": true}, \"currency_rate\": {\"string\": \"Currency Rate\", \"type\": \"decimal\", \"readonly\": true, \"store\": true, \"function\": \"_get_currency_rate\"}}}, \"hr.payslip.line\": {\"string\": \"Pay Slip Line\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"slip_id\": {\"string\": \"Pay Slip\", \"type\": \"many2one\", \"relation\": \"hr.payslip\", \"required\": true, \"store\": true}, \"payitem_id\": {\"string\": \"Pay Item\", \"type\": \"many2one\", \"relation\": \"hr.payitem\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"rate\": {\"string\": \"Rate\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"pay_type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"income\", \"Income\"], [\"deduct\", \"Deduct\"], [\"contrib\", \"Contrib\"], [\"other\", \"Other\"]], \"readonly\": true, \"store\": true, \"function\": \"_get_all\"}}}, \"hr.payslip.tax\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"payslip_id\": {\"string\": \"Payslip\", \"type\": \"many2one\", \"relation\": \"hr.payslip\", \"store\": true}, \"name\": {\"string\": \"Description\", \"type\": \"char\", \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"store\": true}}}, \"hr.payslip.template\": {\"string\": \"Payslip Template\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"readonly\": true, \"search\": true, \"store\": true, \"function\": \"_get_name\"}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"condition\": [[\"work_status\", \"=\", \"working\"], [\"payslip_template_id\", \"=\", null]], \"required\": true, \"search\": true, \"store\": true}, \"payitem_profile_id\": {\"string\": \"Pay Item Profile\", \"type\": \"many2one\", \"relation\": \"hr.payitem.profile\", \"required\": true, \"search\": true, \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"hr.payslip.template.line\", \"relfield\": \"template_id\"}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}}}, \"hr.payslip.template.line\": {\"string\": \"Payslip Template Line\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"template_id\": {\"string\": \"Payslip Template\", \"type\": \"many2one\", \"relation\": \"hr.payslip.template\", \"required\": true, \"store\": true}, \"payitem_id\": {\"string\": \"Pay Item\", \"type\": \"many2one\", \"relation\": \"hr.payitem\", \"required\": true, \"store\": true}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"store\": true}, \"currency_rate\": {\"string\": \"Currency Rate\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_amount\"}, \"regular\": {\"string\": \"Regular\", \"type\": \"boolean\", \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"store\": true}, \"rate\": {\"string\": \"Rate\", \"type\": \"decimal\", \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_amount\"}}}, \"hr.payitem\": {\"string\": \"Pay Item\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"type\": {\"string\": \"Pay Item Type\", \"type\": \"selection\", \"selection\": [[\"wage\", \"Wages\"], [\"allow\", \"Allowances\"], [\"deduct\", \"Deductions\"], [\"tax\", \"Tax\"], [\"contrib\", \"Employer Contributions\"]], \"required\": true, \"search\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"acc_type\": {\"string\": \"Account Type\", \"type\": \"selection\", \"selection\": [[\"debit\", \"Debit\"], [\"credit\", \"Credit\"]], \"store\": true}, \"show_default\": {\"string\": \"Show as default for all employees\", \"type\": \"boolean\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"store\": true}, \"include_tax\": {\"string\": \"Include Tax\", \"type\": \"boolean\", \"store\": true}, \"include_sso\": {\"string\": \"Include SSO\", \"type\": \"boolean\", \"store\": true}, \"include_pnd1\": {\"string\": \"Include PND1\", \"type\": \"boolean\", \"store\": true}, \"fix_income\": {\"string\": \"Fix Income\", \"type\": \"boolean\", \"store\": true}, \"tax_type\": {\"string\": \"Tax Type\", \"type\": \"selection\", \"selection\": [[\"thai\", \"Thai Personal Income Tax\"]], \"store\": true}, \"deduct_type\": {\"string\": \"Deduction Type\", \"type\": \"selection\", \"selection\": [[\"thai_social\", \"Thai Social Security Fund\"], [\"provident\", \"Provident Fund\"], [\"loan\", \"Loan\"]], \"store\": true}, \"contrib_type\": {\"string\": \"Contrib Type\", \"type\": \"selection\", \"selection\": [[\"sso\", \"Thai Social Security Fund Accum\"], [\"prov\", \"Provident Fund Accum\"]], \"store\": true}, \"wage_type\": {\"string\": \"Wage Type\", \"type\": \"selection\", \"selection\": [[\"salary\", \"Salary\"], [\"overtime\", \"Overtime\"], [\"bonus\", \"Bonus\"], [\"commission\", \"Commission\"], [\"position\", \"Position Allowance\"]], \"store\": true}, \"times\": {\"string\": \"Times\", \"type\": \"decimal\", \"store\": true}, \"months\": {\"string\": \"Number of Month\", \"type\": \"integer\", \"store\": true}}}, \"hr.payitem.profile\": {\"string\": \"Pay Item Profile\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"pay_items\": {\"string\": \"Pay Items\", \"type\": \"many2many\", \"relation\": \"hr.payitem\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}}}, \"hr.payitem.profile.line\": {\"string\": \"Pay Item Profile\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"profile_id\": {\"string\": \"Profile\", \"type\": \"many2one\", \"relation\": \"hr.payitem.profile\", \"required\": true, \"store\": true}, \"payitem_id\": {\"string\": \"Pay Item\", \"type\": \"many2one\", \"relation\": \"hr.payitem\", \"store\": true}}}, \"hr.report\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"hr.department\": {\"string\": \"Department\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}}}, \"hr.payroll.settings\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"tax_rates\": {\"string\": \"Tax Rates\", \"type\": \"one2many\", \"relation\": \"hr.tax.rate\", \"relfield\": \"settings_id\"}, \"social_rate\": {\"string\": \"Rate (%)\", \"type\": \"decimal\", \"store\": true}, \"social_min_wage\": {\"string\": \"Min Wage Per Month\", \"type\": \"decimal\", \"store\": true}, \"social_max_wage\": {\"string\": \"Max Wage Per Month\", \"type\": \"decimal\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"social_number\": {\"string\": \"SSO Identification No.\", \"type\": \"char\", \"store\": true}, \"prov_name\": {\"string\": \"Provident Fund Name\", \"type\": \"char\", \"store\": true}, \"prov_no\": {\"string\": \"Provident Fund No.\", \"type\": \"char\", \"store\": true}, \"child_alw_limit\": {\"string\": \"Limit to Children\", \"type\": \"integer\", \"store\": true}, \"journal_id\": {\"string\": \"Journal\", \"type\": \"many2one\", \"relation\": \"account.journal\", \"store\": true}, \"bank_account_id\": {\"string\": \"Bank Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"company\": {\"string\": \"Company Name\", \"type\": \"char\", \"store\": true}, \"depart_room_number\": {\"string\": \"Room No.\", \"type\": \"char\", \"store\": true}, \"depart_stage\": {\"string\": \"Stage\", \"type\": \"char\", \"store\": true}, \"depart_village\": {\"string\": \"Village\", \"type\": \"char\", \"store\": true}, \"depart_name\": {\"string\": \"Department Name\", \"type\": \"char\", \"store\": true}, \"depart_number\": {\"string\": \"Department No.\", \"type\": \"char\", \"store\": true}, \"depart_sub_number\": {\"string\": \"Dpt Sub No.\", \"type\": \"char\", \"store\": true}, \"depart_soi\": {\"string\": \"Soi\", \"type\": \"char\", \"store\": true}, \"depart_road\": {\"string\": \"Road\", \"type\": \"char\", \"store\": true}, \"depart_district\": {\"string\": \"District\", \"type\": \"char\", \"store\": true}, \"depart_sub_district\": {\"string\": \"Sub District\", \"type\": \"char\", \"store\": true}, \"depart_province\": {\"string\": \"Province\", \"type\": \"char\", \"store\": true}, \"depart_zip\": {\"string\": \"Zip\", \"type\": \"char\", \"store\": true}, \"depart_tel\": {\"string\": \"Tel.\", \"type\": \"char\", \"store\": true}, \"depart_fax\": {\"string\": \"Fax.\", \"type\": \"char\", \"store\": true}, \"report_address_txt\": {\"string\": \"Address Report\", \"type\": \"text\", \"readonly\": true, \"function\": \"_get_report_address\"}}}, \"hr.tax.rate\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"settings_id\": {\"string\": \"Settings\", \"type\": \"many2one\", \"relation\": \"hr.payroll.settings\", \"store\": true}, \"tax_year_id\": {\"string\": \"Tax Year\", \"type\": \"many2one\", \"relation\": \"hr.tax.year\", \"store\": true}, \"sequence\": {\"string\": \"Step No.\", \"type\": \"integer\", \"store\": true}, \"min_income\": {\"string\": \"Min. Net Income\", \"type\": \"decimal\", \"store\": true}, \"max_income\": {\"string\": \"Max. Net Income\", \"type\": \"decimal\", \"store\": true}, \"rate\": {\"string\": \"Tax Rate\", \"type\": \"decimal\", \"store\": true}}}, \"report.pnd1\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"month\": {\"string\": \"Month\", \"type\": \"date\", \"store\": true}, \"doc_date\": {\"string\": \"Document Date\", \"type\": \"date\", \"store\": true}, \"show_doc_date\": {\"string\": \"Show Doc.Date\", \"type\": \"boolean\", \"store\": true}, \"name_pay\": {\"string\": \"Name\", \"type\": \"char\", \"store\": true}, \"position\": {\"string\": \"Position\", \"type\": \"char\", \"store\": true}, \"show_name\": {\"string\": \"Show name and position\", \"type\": \"boolean\", \"store\": true}}}, \"report.pnd1.kor\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"year\": {\"string\": \"Year\", \"type\": \"date\", \"store\": true}, \"doc_date\": {\"string\": \"Document Date\", \"type\": \"date\", \"store\": true}, \"show_doc_date\": {\"string\": \"Show Doc.Date\", \"type\": \"boolean\", \"store\": true}, \"name_pay\": {\"string\": \"Name\", \"type\": \"char\", \"store\": true}, \"position\": {\"string\": \"Position\", \"type\": \"char\", \"store\": true}, \"show_name\": {\"string\": \"Show name and position\", \"type\": \"boolean\", \"store\": true}}}, \"report.sso\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"month\": {\"string\": \"Month\", \"type\": \"date\", \"store\": true}, \"doc_date\": {\"string\": \"Document Date\", \"type\": \"date\", \"store\": true}, \"show_doc_date\": {\"string\": \"Show Doc.Date\", \"type\": \"boolean\", \"store\": true}, \"option\": {\"string\": \"Cover Sending\", \"type\": \"selection\", \"selection\": [[\"01\", \"Detail of sending to the contribution\"], [\"02\", \"Disk\"], [\"03\", \"Internet\"], [\"04\", \"Others\"]], \"store\": true}, \"name_pay\": {\"string\": \"Name\", \"type\": \"char\", \"store\": true}, \"position\": {\"string\": \"Position\", \"type\": \"char\", \"store\": true}, \"show_name\": {\"string\": \"Show name and position\", \"type\": \"boolean\", \"store\": true}}}, \"report.provident\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"month\": {\"string\": \"Month\", \"type\": \"date\", \"store\": true}, \"doc_date\": {\"string\": \"Document Date\", \"type\": \"date\", \"store\": true}, \"show_doc_date\": {\"string\": \"Show Doc.Date\", \"type\": \"boolean\", \"store\": true}}}, \"report.wht50\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"year\": {\"string\": \"Year\", \"type\": \"date\", \"store\": true}, \"doc_date\": {\"string\": \"Document Date\", \"type\": \"date\", \"store\": true}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"store\": true}, \"show_doc_date\": {\"string\": \"Show Doc.Date\", \"type\": \"boolean\", \"store\": true}}}, \"report.pnd91\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"year\": {\"string\": \"Year\", \"type\": \"date\", \"store\": true}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"store\": true}}}, \"hr.leave\": {\"string\": \"Leave Request\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_name\"}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"store\": true}, \"date\": {\"string\": \"Request Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"required\": true, \"store\": true}, \"employee_work_status\": {\"string\": \"Work Status\", \"type\": \"selection\", \"selection\": [[\"working\", \"Working\"], [\"dismissed\", \"Dismissed\"], [\"resigned\", \"Resigned\"], [\"died\", \"Died\"]], \"store\": true}, \"leave_type_id\": {\"string\": \"Leave Type\", \"type\": \"many2one\", \"relation\": \"hr.leave.type\", \"required\": true, \"store\": true}, \"leave_reason\": {\"string\": \"Leave Reason\", \"type\": \"text\", \"store\": true}, \"start_date\": {\"string\": \"Start Date\", \"type\": \"datetime\", \"required\": true, \"store\": true}, \"end_date\": {\"string\": \"End Date\", \"type\": \"datetime\", \"required\": true, \"store\": true}, \"date_from\": {\"string\": \"Date From\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"Date To\", \"type\": \"date\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"waiting_approval\", \"Awaiting Approval\"], [\"approved\", \"Approved\"], [\"rejected\", \"Rejected\"]], \"store\": true}, \"days_requested\": {\"string\": \"Days Requested\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"cal_days_requested\"}, \"days_remaining\": {\"string\": \"Days Remaining\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"cal_days_remaining\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"period_id\": {\"string\": \"Leave Period\", \"type\": \"many2one\", \"relation\": \"hr.leave.period\", \"required\": true, \"store\": true}, \"schedule_id\": {\"string\": \"Working Schedule\", \"type\": \"many2one\", \"relation\": \"hr.schedule\", \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}}}, \"hr.leave.period\": {\"string\": \"Leave Period\", \"name_field\": \"date_from\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"leave_type_id\": {\"string\": \"Leave Type\", \"type\": \"many2one\", \"relation\": \"hr.leave.type\", \"required\": true, \"search\": true, \"store\": true}, \"date_from\": {\"string\": \"From Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"date_to\": {\"string\": \"To Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"max_date\": {\"string\": \"Max Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"max_days\": {\"string\": \"Max Days\", \"type\": \"decimal\", \"search\": true, \"store\": true}, \"year\": {\"string\": \"Year\", \"type\": \"integer\", \"store\": true}}}, \"hr.holiday\": {\"string\": \"Holiday\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"generic\": {\"string\": \"Generic\", \"type\": \"boolean\", \"store\": true}}}, \"room\": {\"string\": \"Room\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"room.reserve\": {\"string\": \"Room Reservation\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"request_date\": {\"string\": \"Request Date\", \"type\": \"date\", \"required\": true, \"readonly\": true, \"store\": true}, \"user_id\": {\"string\": \"Requested By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"required\": true, \"readonly\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"room_id\": {\"string\": \"Room\", \"type\": \"many2one\", \"relation\": \"room\", \"required\": true, \"search\": true, \"store\": true}, \"date\": {\"string\": \"Reserve Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"from_time\": {\"string\": \"From Time\", \"type\": \"char\", \"required\": true, \"store\": true}, \"to_time\": {\"string\": \"To Time\", \"type\": \"char\", \"required\": true, \"store\": true}, \"details\": {\"string\": \"Details\", \"type\": \"text\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"waiting_approval\", \"Waiting Approval\"], [\"approved\", \"Approved\"], [\"canceled\", \"Canceled\"]], \"required\": true, \"store\": true}}}, \"hr.notification\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"subject\": {\"string\": \"Title\", \"type\": \"char\", \"required\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"birthday_ntf\": {\"string\": \"Birthday Notify\", \"type\": \"boolean\", \"store\": true}}}, \"hr.schedule\": {\"string\": \"Work Schedule\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"working_hour\": {\"string\": \"Working Hour/Day\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_all\"}, \"working_day\": {\"string\": \"Day Status\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_all\"}, \"total_break\": {\"string\": \"Day Status\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_all\"}, \"part1\": {\"string\": \"Part1\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_all\"}, \"working_times\": {\"string\": \"Times\", \"type\": \"one2many\", \"relation\": \"hr.schedule.time\", \"relfield\": \"schedule_id\"}, \"mon\": {\"string\": \"Monday\", \"type\": \"boolean\", \"store\": true}, \"tue\": {\"string\": \"Tuesday\", \"type\": \"boolean\", \"store\": true}, \"wed\": {\"string\": \"Wednesday\", \"type\": \"boolean\", \"store\": true}, \"thu\": {\"string\": \"Thursday\", \"type\": \"boolean\", \"store\": true}, \"fri\": {\"string\": \"Friday\", \"type\": \"boolean\", \"store\": true}, \"sat\": {\"string\": \"Saturday\", \"type\": \"boolean\", \"store\": true}, \"sun\": {\"string\": \"Sunday\", \"type\": \"boolean\", \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"hr.schedule.line\", \"relfield\": \"schedule_id\"}, \"employees\": {\"string\": \"Employees\", \"type\": \"one2many\", \"relation\": \"hr.employee\", \"relfield\": \"schedule_id\"}}}, \"hr.schedule.time\": {\"string\": \"Schedule Time\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"schedule_id\": {\"string\": \"Schedule\", \"type\": \"many2one\", \"relation\": \"hr.schedule\", \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"time_start\": {\"string\": \"Time Start\", \"type\": \"char\", \"store\": true}, \"time_stop\": {\"string\": \"Time Stop\", \"type\": \"char\", \"store\": true}, \"time_total\": {\"string\": \"Working Time (HRS)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}}}, \"hr.schedule.line\": {\"string\": \"Schedule Line\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"schedule_id\": {\"string\": \"Schedule\", \"type\": \"many2one\", \"relation\": \"hr.schedule\", \"store\": true}, \"dow\": {\"string\": \"Day Of Week\", \"type\": \"selection\", \"selection\": [[\"1\", \"Monday\"], [\"2\", \"Tuesday\"], [\"3\", \"Wednesday\"], [\"4\", \"Thursday\"], [\"5\", \"Friday\"], [\"6\", \"Saturday\"], [\"7\", \"Sunday\"]], \"store\": true}, \"time_start\": {\"string\": \"Time Start\", \"type\": \"char\", \"store\": true}, \"time_stop\": {\"string\": \"Time Stop\", \"type\": \"char\", \"store\": true}}}, \"hr.pay.period\": {\"string\": \"Pay Period\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"year\": {\"string\": \"Year\", \"type\": \"datetime\", \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"hr.pay.period.line\", \"relfield\": \"period_id\"}}}, \"hr.pay.period.line\": {\"string\": \"Pay Period Line\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"period_id\": {\"string\": \"Pay Period\", \"type\": \"many2one\", \"relation\": \"hr.pay.period\", \"required\": true, \"store\": true}, \"time_start\": {\"string\": \"Time Start\", \"type\": \"datetime\", \"required\": true, \"store\": true}, \"time_stop\": {\"string\": \"Time Start\", \"type\": \"datetime\", \"required\": true, \"store\": true}}}, \"hr.payslip.journal\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"store\": true}, \"payslip_id\": {\"string\": \"Payslip\", \"type\": \"many2one\", \"relation\": \"hr.payslip\", \"required\": true, \"store\": true}, \"note\": {\"string\": \"Note\", \"type\": \"text\", \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"hr.payslip.journal.line\", \"relfield\": \"payslip_journal_id\"}, \"total_credit\": {\"string\": \"Credit\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_all\"}, \"total_debit\": {\"string\": \"Debit\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_all\"}}}, \"hr.payslip.journal.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"payslip_journal_id\": {\"string\": \"Payslip Journal\", \"type\": \"many2one\", \"relation\": \"hr.payslip.journal\", \"required\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"debit\": {\"string\": \"Debit\", \"type\": \"decimal\", \"store\": true}, \"credit\": {\"string\": \"Credit\", \"type\": \"decimal\", \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [[\"type\", \"!=\", \"view\"]], \"store\": true}, \"contrib\": {\"string\": \"Contribution Employer\", \"type\": \"boolean\", \"store\": true}}}, \"hr.payrun.journal\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"store\": true}, \"payrun_id\": {\"string\": \"Payrun\", \"type\": \"many2one\", \"relation\": \"hr.payrun\", \"required\": true, \"store\": true}, \"note\": {\"string\": \"Note\", \"type\": \"text\", \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"hr.payrun.journal.line\", \"relfield\": \"payrun_journal_id\"}, \"total_credit\": {\"string\": \"Credit\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_all\"}, \"total_debit\": {\"string\": \"Debit\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_all\"}}}, \"hr.payrun.journal.line\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"payrun_journal_id\": {\"string\": \"Payrun Journal\", \"type\": \"many2one\", \"relation\": \"hr.payrun.journal\", \"required\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"debit\": {\"string\": \"Debit\", \"type\": \"decimal\", \"store\": true}, \"credit\": {\"string\": \"Credit\", \"type\": \"decimal\", \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"condition\": [[\"type\", \"!=\", \"view\"]], \"store\": true}}}, \"hr.tax.year\": {\"string\": \"Tax Year\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"tax_payer\": {\"string\": \"Tax Payer\", \"type\": \"decimal\", \"store\": true}, \"pc_gross_income\": {\"string\": \"% Of Gross Income\", \"type\": \"decimal\", \"store\": true}, \"not_exceed\": {\"string\": \"Not Exceeding\", \"type\": \"decimal\", \"store\": true}, \"tax_rates\": {\"string\": \"Tax Rates\", \"type\": \"one2many\", \"relation\": \"hr.tax.rate\", \"relfield\": \"tax_year_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"hr.tax.profile\": {\"string\": \"Tax Profile\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"readonly\": true, \"function\": \"_get_name\"}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"required\": true, \"search\": true, \"store\": true}, \"tax_year_id\": {\"string\": \"Tax Year\", \"type\": \"many2one\", \"relation\": \"hr.tax.year\", \"required\": true, \"search\": true, \"store\": true}, \"income_accum\": {\"string\": \"Income Accum.\", \"type\": \"decimal\", \"store\": true}, \"deduction_accum\": {\"string\": \"Deduction Accum.\", \"type\": \"decimal\", \"store\": true}, \"sso_accum\": {\"string\": \"Secial Security Accum.\", \"type\": \"decimal\", \"store\": true}, \"provident_accum\": {\"string\": \"Provident Fund Accum.\", \"type\": \"decimal\", \"store\": true}, \"tax_accum\": {\"string\": \"Tax Accum.\", \"type\": \"decimal\", \"store\": true}, \"spouse_first_name\": {\"string\": \"Spouse First Name\", \"type\": \"char\", \"store\": true}, \"spouse_last_name\": {\"string\": \"Spouse Last Name\", \"type\": \"char\", \"store\": true}, \"spouse_title\": {\"string\": \"Spouse Title\", \"type\": \"selection\", \"selection\": [[\"mr\", \"Mr.\"], [\"ms\", \"Ms.\"]], \"store\": true}, \"spouse_birth_date\": {\"string\": \"Spouse Birth Date\", \"type\": \"date\", \"store\": true}, \"spouse_tax_no\": {\"string\": \"Spouse Tax ID No\", \"type\": \"char\", \"store\": true}, \"spouse_status\": {\"string\": \"Spouse Status\", \"type\": \"selection\", \"selection\": [[\"married\", \"Married existed throughout this tax year\"], [\"married_new\", \"Married during this tax year\"], [\"divorced\", \"Divorced during tax year\"], [\"deceased\", \"Deceased during tax year\"]], \"store\": true}, \"spouse_filing_status\": {\"string\": \"Spouse Filing Status\", \"type\": \"selection\", \"selection\": [[\"joint\", \"Has income and file joint return\"], [\"separate\", \"Has income and file separate tax return\"], [\"no_income\", \"Has no income\"]], \"store\": true}, \"num_child1\": {\"string\": \"No. of Children #1 (C3)\", \"type\": \"integer\", \"store\": true}, \"num_child2\": {\"string\": \"No. of Children #2 (C3)\", \"type\": \"integer\", \"store\": true}, \"social_no\": {\"string\": \"Social No.\", \"type\": \"char\", \"store\": true}, \"social_register\": {\"string\": \"Register Soc. Secur.\", \"type\": \"boolean\", \"store\": true}, \"social_calc_method\": {\"string\": \"Calc. Method\", \"type\": \"selection\", \"selection\": [[\"regular\", \"Regular Rate\"], [\"none\", \"Not Participate\"], [\"special\", \"Special Rate\"]], \"store\": true}, \"prov_fund_no\": {\"string\": \"Prov. Fund No.\", \"type\": \"char\", \"store\": true}, \"prov_open_date\": {\"string\": \"Opened Prov. Fund A/C Date\", \"type\": \"char\", \"store\": true}, \"prov_rate_employer\": {\"string\": \"Employer Contribution (%)\", \"type\": \"decimal\", \"store\": true}, \"prov_rate_employee\": {\"string\": \"Employee Contribution (%)\", \"type\": \"decimal\", \"store\": true}, \"gov_pension_fund\": {\"string\": \"Gov. Pension Fund Amount (B2)\", \"type\": \"decimal\", \"store\": true}, \"teacher_fund\": {\"string\": \"Teacher Aid Fund Amount (B3)\", \"type\": \"decimal\", \"store\": true}, \"old_disabled\": {\"string\": \"Older than 65 or disabled (personal, B4)\", \"type\": \"decimal\", \"store\": true}, \"old_disabled_spouse\": {\"string\": \"Older than 65 or disabled (spouse, B5)\", \"type\": \"decimal\", \"store\": true}, \"severance_pay\": {\"string\": \"Severance Pay (B6)\", \"type\": \"decimal\", \"store\": true}, \"education_donation\": {\"string\": \"Education Donations (A8)\", \"type\": \"decimal\", \"store\": true}, \"other_donation\": {\"string\": \"Other Donations (A10)\", \"type\": \"decimal\", \"store\": true}, \"house_deduct\": {\"string\": \"Exemption for home buyer (A13)\", \"type\": \"decimal\", \"store\": true}, \"wht_amount\": {\"string\": \"Withholding Tax Amount (A15)\", \"type\": \"decimal\", \"store\": true}, \"father_id_no\": {\"string\": \"Father ID No. (C4)\", \"type\": \"char\", \"store\": true}, \"mother_id_no\": {\"string\": \"Mother ID No. (C4)\", \"type\": \"char\", \"store\": true}, \"spouse_father_id_no\": {\"string\": \"Father of spouse ID No. (C4)\", \"type\": \"char\", \"store\": true}, \"spouse_mother_id_no\": {\"string\": \"Mother of spouse ID No. (C4)\", \"type\": \"char\", \"store\": true}, \"disabled_support\": {\"string\": \"Disabled person support (C5)\", \"type\": \"decimal\", \"store\": true}, \"parent_health_insurance\": {\"string\": \"Parent Health Insurance (C6)\", \"type\": \"decimal\", \"store\": true}, \"life_insurance\": {\"string\": \"Life Insurance (C7)\", \"type\": \"decimal\", \"store\": true}, \"retirement_mutual_fund\": {\"string\": \"Retirement Mutual Fund (C9)\", \"type\": \"decimal\", \"store\": true}, \"long_term_equity_fund\": {\"string\": \"Long Term Equity Fund (C10)\", \"type\": \"decimal\", \"store\": true}, \"interest_residence\": {\"string\": \"Interest paid for residence (C11)\", \"type\": \"decimal\", \"store\": true}, \"other_deduct\": {\"string\": \"Other Deductions (C12)\", \"type\": \"decimal\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}}}, \"report.payroll.summary\": {\"string\": \"Report Payroll Summary\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Month\", \"type\": \"date\", \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"required\": true, \"store\": true}, \"emp_type\": {\"string\": \"Employee Type\", \"type\": \"selection\", \"selection\": [[\"monthly\", \"Monthly\"], [\"daily\", \"Daily\"], [\"hourly\", \"Job\"]], \"store\": true}}}, \"report.attendance.summary\": {\"string\": \"Report Attendance Summary\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"To\", \"type\": \"date\", \"required\": true, \"store\": true}}}, \"sso.regist\": {\"string\": \"Sso Regist\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"month\": {\"string\": \"Month\", \"type\": \"date\", \"store\": true}, \"doc_date\": {\"string\": \"Document Date\", \"type\": \"date\", \"store\": true}, \"show_doc_date\": {\"string\": \"Show Doc.Date\", \"type\": \"boolean\", \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"sso.regist.line\", \"relfield\": \"sso_regist_id\"}}}, \"sso.quits\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"month\": {\"string\": \"Month\", \"type\": \"date\", \"store\": true}, \"doc_date\": {\"string\": \"Document Date\", \"type\": \"date\", \"store\": true}, \"show_doc_date\": {\"string\": \"Show Doc.Date\", \"type\": \"boolean\", \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"sso.quits.line\", \"relfield\": \"sso_quits_id\"}}}, \"sso.regist.line\": {\"string\": \"Sso Regist Line\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"sso_regist_id\": {\"string\": \"Sso Regist\", \"type\": \"many2one\", \"relation\": \"sso.regist\", \"required\": true, \"store\": true}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"store\": true}, \"id_no\": {\"string\": \"ID No.\", \"type\": \"char\", \"store\": true}, \"hire_date\": {\"string\": \"Hire Date\", \"type\": \"date\", \"store\": true}, \"old_company\": {\"string\": \"Old Company\", \"type\": \"char\", \"store\": true}, \"other_old_company\": {\"string\": \"Other Old Company\", \"type\": \"char\", \"store\": true}}}, \"sso.quits.line\": {\"string\": \"Sso Quits Line\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"sso_quits_id\": {\"string\": \"Sso Quits\", \"type\": \"many2one\", \"relation\": \"sso.quits\", \"required\": true, \"store\": true}, \"employee_id\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"store\": true}, \"id_no\": {\"string\": \"ID No.\", \"type\": \"char\", \"store\": true}, \"resign_date\": {\"string\": \"Resign Date\", \"type\": \"date\", \"store\": true}, \"reason\": {\"string\": \"Reason of quits\", \"type\": \"selection\", \"selection\": [[\"1\", \"1 Resign\"], [\"2\", \"2 End of the employment term\"], [\"3\", \"3 Lay off\"], [\"4\", \"4 Retire\"], [\"5\", \"5 Fired\"], [\"6\", \"6 Died\"], [\"7\", \"7 Branch transfer\"]], \"store\": true}}}, \"document\": {\"string\": \"Document\", \"name_field\": \"title\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"required\": true, \"store\": true}, \"file\": {\"string\": \"File\", \"type\": \"file\", \"store\": true}, \"files\": {\"string\": \"Files\", \"type\": \"text\", \"store\": true}, \"folder_id\": {\"string\": \"Folder\", \"type\": \"many2one\", \"relation\": \"folder\", \"search\": true, \"store\": true}, \"categ_id\": {\"string\": \"Category\", \"type\": \"many2one\", \"relation\": \"document.categ\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"search\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"search\": true, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"sale.quot\", \"Quotation\"], [\"sale.order\", \"Sales Order\"], [\"sale.lead\", \"Sales Lead\"], [\"sale.opportunity\", \"Sales Opportunity\"], [\"purchase.order\", \"Purchase Order\"], [\"job\", \"Service Order\"], [\"jc.job\", \"Job\"], [\"project\", \"Project\"], [\"hr.employee\", \"Employee\"], [\"account.invoice\", \"Invoice\"], [\"account.payment\", \"Payment\"], [\"account.track.categ\", \"Tracking Category\"]], \"store\": true}, \"date\": {\"string\": \"Date Created\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"attachments\": {\"string\": \"Attachments\", \"type\": \"one2many\", \"relation\": \"attach\", \"relfield\": \"related_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"expiry_date\": {\"string\": \"Expiry Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"expiring_soon\": {\"string\": \"Expiring Soon\", \"type\": \"boolean\"}, \"expired\": {\"string\": \"Expired\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_expired\"}, \"create_job\": {\"string\": \"Automatically Create Job To Renew\", \"type\": \"boolean\", \"store\": true}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"store\": true}, \"days_remaining\": {\"string\": \"Days Remaining\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_days_remaining\"}, \"reminders\": {\"string\": \"Reminders\", \"type\": \"one2many\", \"relation\": \"reminder\", \"relfield\": \"doc_id\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"verified\", \"Verified\"]], \"store\": true}, \"share\": {\"string\": \"Share With Contact\", \"type\": \"boolean\", \"store\": true}, \"notifs\": {\"string\": \"Notifications\", \"type\": \"one2many\", \"relation\": \"notif\", \"relfield\": \"related_id\"}, \"next_notif_date\": {\"string\": \"Next Notif Date\", \"type\": \"date\", \"readonly\": true, \"function\": \"get_next_notif_date\"}}}, \"document.categ\": {\"string\": \"Document Category\", \"name_field\": \"full_name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Category Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Document Code\", \"type\": \"char\", \"search\": true, \"store\": true}, \"full_name\": {\"string\": \"Category Name\", \"type\": \"char\", \"readonly\": true, \"search\": true, \"store\": true, \"function\": \"get_full_name\"}, \"parent_id\": {\"string\": \"Parent Category\", \"type\": \"many2one\", \"relation\": \"document.categ\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"search\": true, \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"expire_after\": {\"string\": \"Expire After\", \"type\": \"char\", \"store\": true}, \"file_name\": {\"string\": \"Filename Format\", \"type\": \"char\", \"store\": true}, \"reminder_templates\": {\"string\": \"Reminder Templates\", \"type\": \"one2many\", \"relation\": \"reminder.template\", \"relfield\": \"doc_categ_id\"}}}, \"document.tmpl\": {\"string\": \"Document Template\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"file\": {\"string\": \"File\", \"type\": \"file\", \"store\": true}, \"categ_id\": {\"string\": \"Category\", \"type\": \"many2one\", \"relation\": \"document.categ\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"attachments\": {\"string\": \"Attachments\", \"type\": \"one2many\", \"relation\": \"attach\", \"relfield\": \"related_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"doc.report\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"reminder\": {\"string\": \"Reminder\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"scheduled_date\": {\"string\": \"Scheduled Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"doc_id\": {\"string\": \"Document\", \"type\": \"many2one\", \"relation\": \"document\", \"required\": true, \"store\": true}, \"user_id\": {\"string\": \"To User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"required\": true, \"store\": true}, \"subject\": {\"string\": \"Subject\", \"type\": \"char\", \"required\": true, \"store\": true}, \"body\": {\"string\": \"Body\", \"type\": \"text\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"pending\", \"Pending\"], [\"sent\", \"Sent\"]], \"required\": true, \"store\": true}}}, \"reminder.template\": {\"string\": \"Reminder Template\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"doc_categ_id\": {\"string\": \"Document Category\", \"type\": \"many2one\", \"relation\": \"document.categ\", \"required\": true, \"store\": true}, \"scheduled_date\": {\"string\": \"Scheduled Date\", \"type\": \"char\", \"required\": true, \"store\": true}, \"user_id\": {\"string\": \"To User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"required\": true, \"store\": true}, \"subject\": {\"string\": \"Title\", \"type\": \"char\", \"required\": true, \"store\": true}, \"body\": {\"string\": \"Body\", \"type\": \"text\", \"store\": true}}}, \"folder\": {\"string\": \"Folder\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Folder Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"docs\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"folder_id\"}, \"num_files\": {\"string\": \"# Documents\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_files\"}, \"parent_id\": {\"string\": \"Parent\", \"type\": \"many2one\", \"relation\": \"folder\", \"store\": true}, \"sub_folders\": {\"string\": \"Sub Folders\", \"type\": \"one2many\", \"relation\": \"folder\", \"relfield\": \"parent_id\"}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"search\": true, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"jc.job\", \"Job\"]], \"search\": true, \"store\": true}, \"user_id\": {\"string\": \"Created By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"required\": true, \"store\": true}}}, \"cms.linklist\": {\"string\": \"Link List\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"required\": true, \"store\": true}, \"items\": {\"string\": \"Items\", \"type\": \"one2many\", \"relation\": \"cms.linklist.item\", \"relfield\": \"list_id\"}, \"top_items\": {\"string\": \"Top Items\", \"type\": \"one2many\", \"relation\": \"cms.linklist.item\", \"relfield\": \"list_id\", \"condition\": [[\"type\", \"=\", \"menu\"]]}}}, \"cms.linklist.item\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"list_id\": {\"string\": \"Link List\", \"type\": \"many2one\", \"relation\": \"cms.linklist\", \"required\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"required\": true, \"store\": true, \"translate\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"menu\", \"Menu\"], [\"submenu\", \"Submenu\"]], \"required\": true, \"store\": true}, \"url\": {\"string\": \"URL\", \"type\": \"char\", \"required\": true, \"store\": true}, \"sub_items\": {\"string\": \"Sub Items\", \"type\": \"one2many\", \"relation\": \"cms.linklist.item\", \"relfield\": null, \"readonly\": true, \"function\": \"get_sub_items\"}}}, \"cms.page\": {\"string\": \"Page\", \"name_field\": \"title\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true, \"translate\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"body\": {\"string\": \"Body\", \"type\": \"text\", \"store\": true, \"translate\": true}, \"blocks\": {\"string\": \"Blocks\", \"type\": \"one2many\", \"relation\": \"cms.block\", \"relfield\": \"related_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"meta_description\": {\"string\": \"Meta Description\", \"type\": \"char\", \"store\": true}, \"meta_keywords\": {\"string\": \"Meta Keywords\", \"type\": \"char\", \"store\": true}, \"template\": {\"string\": \"Template\", \"type\": \"char\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"active\", \"Active\"], [\"inactive\", \"Inactive\"]], \"required\": true, \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}}}, \"cms.blog\": {\"string\": \"Blog\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"required\": true, \"store\": true}, \"posts\": {\"string\": \"Blog Posts\", \"type\": \"one2many\", \"relation\": \"cms.blog.post\", \"relfield\": \"blog_id\"}}}, \"cms.blog.post\": {\"string\": \"Blog Post\", \"name_field\": \"title\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"blog_id\": {\"string\": \"Blog\", \"type\": \"many2one\", \"relation\": \"cms.blog\", \"required\": true, \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"required\": true, \"store\": true, \"translate\": true}, \"body\": {\"string\": \"Body\", \"type\": \"text\", \"store\": true, \"translate\": true}, \"blocks\": {\"string\": \"Blocks\", \"type\": \"one2many\", \"relation\": \"cms.block\", \"relfield\": \"related_id\"}, \"meta_description\": {\"string\": \"Meta Description\", \"type\": \"char\", \"store\": true}, \"meta_keywords\": {\"string\": \"Meta Keywords\", \"type\": \"char\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}}}, \"cms.block\": {\"string\": \"Block\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"cms.page\", \"Page\"], [\"cms.blog.post\", \"Post\"]], \"store\": true}, \"html\": {\"string\": \"HTML\", \"type\": \"text\", \"search\": true, \"store\": true, \"translate\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"website\": {\"string\": \"Website\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Website Name\", \"type\": \"char\", \"store\": true}, \"domain\": {\"string\": \"Domain\", \"type\": \"char\", \"store\": true}, \"theme_id\": {\"string\": \"Theme\", \"type\": \"many2one\", \"relation\": \"theme\", \"store\": true}, \"aws_bucket\": {\"string\": \"S3 Bucket Name\", \"type\": \"char\", \"store\": true}, \"aws_key_id\": {\"string\": \"AWS Key ID\", \"type\": \"char\", \"store\": true}, \"aws_key_secret\": {\"string\": \"AWS Key Secret\", \"type\": \"char\", \"store\": true}}}, \"theme.component\": {\"string\": \"Component\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"theme_id\": {\"string\": \"Theme\", \"type\": \"many2one\", \"relation\": \"theme\", \"required\": true, \"store\": true}, \"name\": {\"string\": \"Component Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"body\": {\"string\": \"Code (JSX)\", \"type\": \"text\", \"required\": true, \"search\": true, \"store\": true}, \"server_render\": {\"string\": \"Server Rendering\", \"type\": \"boolean\", \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"server\", \"Server\"], [\"browser\", \"Browser\"], [\"mobile\", \"Mobile\"]]}}}, \"theme.file\": {\"string\": \"Static File\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"theme_id\": {\"string\": \"Theme\", \"type\": \"many2one\", \"relation\": \"theme\", \"required\": true, \"store\": true}, \"name\": {\"string\": \"File Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"file\": {\"string\": \"File\", \"type\": \"file\", \"store\": true}, \"body\": {\"string\": \"Text Data\", \"type\": \"text\", \"store\": true}, \"size\": {\"string\": \"Size\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_size\"}, \"compress\": {\"string\": \"Compress\", \"type\": \"boolean\", \"store\": true}, \"compress_file\": {\"string\": \"Compressed File\", \"type\": \"file\", \"store\": true}, \"compress_size\": {\"string\": \"Compressed Size\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_compress_size\"}, \"max_age\": {\"string\": \"Max Age\", \"type\": \"integer\", \"store\": true}}}, \"theme.bundle\": {\"string\": \"JS Bundles\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"theme_id\": {\"string\": \"Theme\", \"type\": \"many2one\", \"relation\": \"theme\", \"required\": true, \"store\": true}, \"name\": {\"string\": \"Target File Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"component_id\": {\"string\": \"Component\", \"type\": \"many2one\", \"relation\": \"theme.component\", \"required\": true, \"store\": true}}}, \"theme.static.gen\": {\"string\": \"Static HTML Generator\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"theme_id\": {\"string\": \"Theme\", \"type\": \"many2one\", \"relation\": \"theme\", \"required\": true, \"store\": true}, \"name\": {\"string\": \"Target File Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"component_id\": {\"string\": \"Component\", \"type\": \"many2one\", \"relation\": \"theme.component\", \"required\": true, \"store\": true}, \"model\": {\"string\": \"Model\", \"type\": \"char\", \"store\": true}, \"method\": {\"string\": \"Method\", \"type\": \"char\", \"store\": true}, \"args\": {\"string\": \"Args\", \"type\": \"text\", \"store\": true}}}, \"url.rewrite\": {\"string\": \"Rewrite Rule\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"path_from\": {\"string\": \"From URL\", \"type\": \"char\", \"required\": true, \"store\": true}, \"path_to\": {\"string\": \"To URL\", \"type\": \"char\", \"required\": true, \"store\": true}}}, \"visitor\": {\"string\": \"Visitor\", \"name_field\": \"id_no\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"id_no\": {\"string\": \"Visitor ID\", \"type\": \"char\", \"required\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"store\": true}, \"user_agent\": {\"string\": \"User Agent\", \"type\": \"char\", \"store\": true}, \"sessions\": {\"string\": \"Sessions\", \"type\": \"one2many\", \"relation\": \"visitor.session\", \"relfield\": \"visitor_id\"}, \"actions\": {\"string\": \"Actions\", \"type\": \"one2many\", \"relation\": \"visitor.action\", \"relfield\": \"visitor_id\"}, \"num_sessions\": {\"string\": \"Num Sessions\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_sessions\"}, \"num_actions\": {\"string\": \"Num Actions\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_actions\"}, \"is_bot\": {\"string\": \"Bot\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_bot\"}, \"is_paid\": {\"string\": \"Paid\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_paid\"}}}, \"visitor.session\": {\"string\": \"Session\", \"name_field\": \"id_no\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"id_no\": {\"string\": \"Session ID\", \"type\": \"char\", \"required\": true, \"store\": true}, \"visitor_id\": {\"string\": \"Visitor\", \"type\": \"many2one\", \"relation\": \"visitor\", \"required\": true, \"store\": true}, \"actions\": {\"string\": \"Actions\", \"type\": \"one2many\", \"relation\": \"visitor.action\", \"relfield\": \"session_id\"}, \"num_actions\": {\"string\": \"Num Actions\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_actions\"}}}, \"visitor.action\": {\"string\": \"Action\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"time\": {\"string\": \"Time\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"visitor_id\": {\"string\": \"Visitor\", \"type\": \"many2one\", \"relation\": \"visitor\", \"required\": true, \"search\": true, \"store\": true}, \"session_id\": {\"string\": \"Session\", \"type\": \"many2one\", \"relation\": \"visitor.session\", \"required\": true, \"search\": true, \"store\": true}, \"action_type\": {\"string\": \"Action Type\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"details\": {\"string\": \"Details\", \"type\": \"text\", \"search\": true, \"store\": true}, \"ip_addr\": {\"string\": \"IP Address\", \"type\": \"char\", \"search\": true, \"store\": true}, \"referrer\": {\"string\": \"Referrer\", \"type\": \"char\", \"search\": true, \"store\": true}, \"location\": {\"string\": \"Location\", \"type\": \"char\", \"search\": true, \"store\": true}}}, \"import.theme.zip\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"file\": {\"string\": \"ZIP File\", \"type\": \"file\", \"required\": true, \"store\": true}}}, \"screen\": {\"string\": \"Screen\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Screen Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"layout\": {\"string\": \"Layout\", \"type\": \"text\", \"store\": true}}}, \"page.layout\": {\"string\": \"Page\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Page Title\", \"type\": \"char\", \"required\": true, \"store\": true}, \"path\": {\"string\": \"Page Code\", \"type\": \"char\", \"required\": true, \"store\": true}, \"layout\": {\"string\": \"Layout\", \"type\": \"text\", \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"text\", \"search\": true, \"store\": true}, \"code_trans\": {\"string\": \"Code (Transpiled)\", \"type\": \"text\", \"store\": true}, \"website_id\": {\"string\": \"Website\", \"type\": \"many2one\", \"relation\": \"website\", \"store\": true}, \"type\": {\"string\": \"Page Type\", \"type\": \"selection\", \"selection\": [[\"report\", \"Report (DEPRECATED)\"], [\"web\", \"Web\"], [\"mobile\", \"Mobile\"], [\"email\", \"Email\"], [\"text\", \"Text\"], [\"html\", \"HTML (DEPRECATED)\"]], \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"show_menu\": {\"string\": \"Show In Menu\", \"type\": \"boolean\", \"store\": true}, \"model_id\": {\"string\": \"Model\", \"type\": \"many2one\", \"relation\": \"model\", \"store\": true}, \"preview_type\": {\"string\": \"Preview Type\", \"type\": \"selection\", \"selection\": [[\"web\", \"Web\"], [\"pdf\", \"PDF\"]], \"store\": true}, \"group_id\": {\"string\": \"Page Group\", \"type\": \"many2one\", \"relation\": \"page.group\", \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"done\", \"Completed\"]], \"store\": true}, \"styles\": {\"string\": \"Styles\", \"type\": \"text\", \"readonly\": true, \"function\": \"get_styles\"}, \"version\": {\"string\": \"Version\", \"type\": \"integer\", \"store\": true}, \"parent_id\": {\"string\": \"Original Page\", \"type\": \"many2one\", \"relation\": \"page.layout\", \"store\": true}, \"checkpoints\": {\"string\": \"Checkpoints\", \"type\": \"one2many\", \"relation\": \"page.layout\", \"relfield\": \"parent_id\"}, \"remarks\": {\"string\": \"Remarks\", \"type\": \"text\", \"store\": true}}}, \"form.data\": {\"string\": \"Form Submission\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"time\": {\"string\": \"Time\", \"type\": \"datetime\", \"store\": true}, \"type\": {\"string\": \"Form Type\", \"type\": \"char\", \"store\": true}, \"data\": {\"string\": \"Data\", \"type\": \"json\", \"store\": true}}}, \"page.group\": {\"string\": \"Page Group\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Group Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"code\": {\"string\": \"Group Code\", \"type\": \"char\", \"store\": true}}}, \"el.group\": {\"string\": \"Element Group\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Group Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"code\": {\"string\": \"Group Code\", \"type\": \"char\", \"required\": true, \"store\": true}}}, \"page.style\": {\"string\": \"Page Style\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Style Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"code\": {\"string\": \"Style Code\", \"type\": \"char\", \"required\": true, \"store\": true}, \"styles\": {\"string\": \"Styles\", \"type\": \"text\", \"store\": true}}}, \"ecom2.cart\": {\"string\": \"Cart\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date Created\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"customer_id\": {\"string\": \"Customer\", \"type\": \"many2one\", \"relation\": \"contact\", \"search\": true, \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"ecom2.cart.line\", \"relfield\": \"cart_id\"}, \"ship_amount_details\": {\"string\": \"Shipping Amount Details\", \"type\": \"json\", \"readonly\": true, \"function\": \"get_ship_amount_details\"}, \"amount_ship\": {\"string\": \"Shipping Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount_ship\"}, \"rounding\": {\"string\": \"Rounding Amount\", \"type\": \"decimal\", \"store\": true}, \"amount_total\": {\"string\": \"Total Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total\"}, \"sale_orders\": {\"string\": \"Sales Orders\", \"type\": \"one2many\", \"relation\": \"sale.order\", \"relfield\": \"related_id\"}, \"delivery_date\": {\"string\": \"Delivery Date\", \"type\": \"date\", \"store\": true}, \"ship_address_id\": {\"string\": \"Shipping Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"bill_address_id\": {\"string\": \"Billing Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"delivery_slot_id\": {\"string\": \"Peferred Delivery Slot\", \"type\": \"many2one\", \"relation\": \"delivery.slot\", \"store\": true}, \"ship_method_id\": {\"string\": \"Shipping Method\", \"type\": \"many2one\", \"relation\": \"ship.method\", \"store\": true}, \"pay_method_id\": {\"string\": \"Payment Method\", \"type\": \"many2one\", \"relation\": \"payment.method\", \"store\": true}, \"logs\": {\"string\": \"Audit Log\", \"type\": \"one2many\", \"relation\": \"log\", \"relfield\": \"related_id\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"confirmed\", \"Confirmed\"], [\"hold\", \"Hold\"], [\"canceled\", \"Canceled\"]], \"required\": true, \"store\": true}, \"payment_methods\": {\"string\": \"Payment Methods\", \"type\": \"json\", \"readonly\": true, \"function\": \"get_payment_methods\"}, \"delivery_delay\": {\"string\": \"Delivery Delay (Days)\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_delivery_delay\"}, \"delivery_slots\": {\"string\": \"Delivery Slots\", \"type\": \"json\", \"readonly\": true, \"function\": \"get_delivery_slots\"}, \"delivery_slots_str\": {\"string\": \"Delivery Slots\", \"type\": \"text\", \"readonly\": true, \"function\": \"get_delivery_slots_str\"}, \"date_delivery_slots\": {\"string\": \"Date Delivery Slots\", \"type\": \"json\", \"readonly\": true, \"function\": \"get_date_delivery_slots\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"text\", \"store\": true}, \"transaction_no\": {\"string\": \"Payment Transaction No.\", \"type\": \"char\", \"search\": true, \"store\": true}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"required\": true, \"store\": true}, \"invoices\": {\"string\": \"Invoices\", \"type\": \"one2many\", \"relation\": \"account.invoice\", \"relfield\": \"related_id\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"voucher_id\": {\"string\": \"Voucher\", \"type\": \"many2one\", \"relation\": \"sale.voucher\", \"store\": true}, \"ship_addresses\": {\"string\": \"Shipping Addresses\", \"type\": \"json\", \"readonly\": true, \"function\": \"get_ship_addresses\"}, \"amount_voucher\": {\"string\": \"Voucher Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount_voucher\"}, \"voucher_error_message\": {\"string\": \"Voucher Error Message\", \"type\": \"text\", \"readonly\": true, \"function\": \"get_amount_voucher\"}, \"free_ship_address\": {\"string\": \"Is free Ship\", \"type\": \"boolean\", \"store\": true}, \"pay_amount\": {\"string\": \"Paid Amount\", \"type\": \"decimal\", \"store\": true}, \"change_amount\": {\"string\": \"Expected Change\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_change_amount\"}, \"total_qty\": {\"string\": \"Total Qty\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_qty\"}, \"total_discount\": {\"string\": \"Total Discount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_total_discount\"}, \"customer_discount\": {\"string\": \"Customer Discount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_related\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"email\": {\"string\": \"Checkout Email\", \"type\": \"char\", \"store\": true}, \"mobile\": {\"string\": \"Checkout Mobile\", \"type\": \"char\", \"store\": true}, \"bill_first_name\": {\"string\": \"First Name\", \"type\": \"char\", \"store\": true}, \"bill_last_name\": {\"string\": \"Last Name\", \"type\": \"char\", \"store\": true}, \"bill_full_name\": {\"string\": \"Full Name\", \"type\": \"char\", \"store\": true}, \"bill_company\": {\"string\": \"Company Name\", \"type\": \"char\", \"store\": true}, \"bill_phone\": {\"string\": \"Phone Number\", \"type\": \"char\", \"store\": true}, \"bill_country\": {\"string\": \"Country\", \"type\": \"char\", \"store\": true}, \"bill_address\": {\"string\": \"Address\", \"type\": \"text\", \"store\": true}, \"bill_postal_code\": {\"string\": \"Post Code / ZIP\", \"type\": \"char\", \"store\": true}, \"bill_city\": {\"string\": \"Town / City\", \"type\": \"char\", \"store\": true}, \"ship_first_name\": {\"string\": \"First Name\", \"type\": \"char\", \"store\": true}, \"ship_last_name\": {\"string\": \"Last Name\", \"type\": \"char\", \"store\": true}, \"ship_full_name\": {\"string\": \"Full Name\", \"type\": \"char\", \"store\": true}, \"ship_company\": {\"string\": \"Company Name\", \"type\": \"char\", \"store\": true}, \"ship_phone\": {\"string\": \"Phone Number\", \"type\": \"char\", \"store\": true}, \"ship_country\": {\"string\": \"Country\", \"type\": \"char\", \"store\": true}, \"ship_address\": {\"string\": \"Address\", \"type\": \"text\", \"store\": true}, \"ship_postal_code\": {\"string\": \"Post Code / ZIP\", \"type\": \"char\", \"store\": true}, \"ship_city\": {\"string\": \"Town / City\", \"type\": \"char\", \"store\": true}, \"pos_pay_amounts\": {\"string\": \"Pay Amounts\", \"type\": \"json\", \"readonly\": true, \"function\": \"get_pay_amounts\"}, \"pos_table_id\": {\"string\": \"Table\", \"type\": \"many2one\", \"relation\": \"pos.table\", \"store\": true}}}, \"ecom2.cart.line\": {\"string\": \"Cart Line\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"cart_id\": {\"string\": \"Cart\", \"type\": \"many2one\", \"relation\": \"ecom2.cart\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"lot_id\": {\"string\": \"Lot / Serial Number\", \"type\": \"many2one\", \"relation\": \"stock.lot\", \"store\": true}, \"weight\": {\"string\": \"Weight\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"_get_related\"}, \"unit_price\": {\"string\": \"Unit Price\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"qty_int\": {\"string\": \"Qty\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_qty_int\"}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"required\": true, \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"delivery_date\": {\"string\": \"Delivery Date\", \"type\": \"date\", \"store\": true}, \"ship_address_id\": {\"string\": \"Shipping Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"delivery_slot_id\": {\"string\": \"Delivery Slot\", \"type\": \"many2one\", \"relation\": \"delivery.slot\", \"store\": true}, \"qty_avail\": {\"string\": \"Qty In Stock\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_avail\"}, \"delivery_delay\": {\"string\": \"Delivery Delay (Days)\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_delivery_delay\"}, \"delivery_weekdays\": {\"string\": \"Delivery Weekdays\", \"type\": \"char\", \"readonly\": true, \"function\": \"_get_related\"}, \"packaging_id\": {\"string\": \"Packaging\", \"type\": \"many2one\", \"relation\": \"stock.packaging\", \"store\": true}, \"ship_method_id\": {\"string\": \"Shipping Method\", \"type\": \"many2one\", \"relation\": \"ship.method\", \"store\": true}, \"addons\": {\"string\": \"Addons\", \"type\": \"many2many\", \"relation\": \"product.addon\"}, \"discount\": {\"string\": \"Discount\", \"type\": \"decimal\", \"store\": true}}}, \"ecom2.interface\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"ecom2.settings\": {\"string\": \"Settings\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"delivery_slot_discount\": {\"string\": \"Same Delivery Slot Discount\", \"type\": \"decimal\", \"store\": true}, \"delivery_max_days\": {\"string\": \"Delivery Max Days\", \"type\": \"integer\", \"store\": true}, \"delivery_min_hours\": {\"string\": \"Delivery Min Hours\", \"type\": \"integer\", \"store\": true}, \"ecom_num_lots\": {\"string\": \"Number Of Lots To Show On Website\", \"type\": \"integer\", \"store\": true}, \"sale_lead_time_nostock\": {\"string\": \"Sale Lead Time When Out Of Stock (Days)\", \"type\": \"integer\", \"store\": true}, \"ecom_return_url\": {\"string\": \"Return URL of ecommerce frontend\", \"type\": \"char\", \"store\": true}, \"extra_ship_addresses\": {\"string\": \"Extra Shipping Addresses\", \"type\": \"one2many\", \"relation\": \"address\", \"relfield\": \"related_id\"}, \"work_time_start\": {\"string\": \"Work Time Start\", \"type\": \"char\", \"store\": true}, \"work_time_end\": {\"string\": \"Work Time End\", \"type\": \"char\", \"store\": true}, \"waybill_processing\": {\"string\": \"Waybill Processing Service\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"waybill_processing_fee\": {\"string\": \"Fee (per Order)\", \"type\": \"decimal\", \"store\": true}}}, \"fulfillment.bill\": {\"string\": \"Fulfillment Billing\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"search\": true, \"store\": true}, \"ref\": {\"string\": \"Ref\", \"type\": \"char\", \"search\": true, \"store\": true}, \"memo\": {\"string\": \"Memo\", \"type\": \"char\", \"search\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"search\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"currency_id\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"required\": true, \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"confirmed\", \"Confirmed\"], [\"voided\", \"Voided\"]], \"search\": true, \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"fulfillment.bill.line\", \"relfield\": \"fulfillment_id\"}, \"amount_total\": {\"string\": \"Total\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount_total\"}, \"qty_total\": {\"string\": \"Total Quantity\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_qty_total\"}, \"currency_rate\": {\"string\": \"Currency Rate\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"account.invoice\", \"Account Invoice\"], [\"sale.order\", \"Sales Order\"], [\"purchase.order\", \"Purchase Order\"], [\"production.order\", \"Production Order\"], [\"project\", \"Project\"], [\"job\", \"Service Order\"], [\"service.contract\", \"Service Contract\"]], \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"bill_address_id\": {\"string\": \"Billing Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"sequence_id\": {\"string\": \"Sequence\", \"type\": \"many2one\", \"relation\": \"sequence\", \"store\": true}, \"month\": {\"string\": \"Month\", \"type\": \"selection\", \"selection\": [[\"1\", \"January\"], [\"2\", \"February\"], [\"3\", \"March\"], [\"4\", \"April\"], [\"5\", \"May\"], [\"6\", \"June\"], [\"7\", \"July\"], [\"8\", \"August\"], [\"9\", \"September\"], [\"10\", \"October\"], [\"11\", \"November\"], [\"12\", \"December\"]], \"required\": true, \"store\": true}, \"year\": {\"string\": \"Year\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"user_id\": {\"string\": \"Owner\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"remarks\": {\"string\": \"Remarks\", \"type\": \"text\", \"store\": true}}}, \"fulfillment.bill.line\": {\"string\": \"Fulfillment Billing Line\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"fulfillment_id\": {\"string\": \"Fulfillment Billing\", \"type\": \"many2one\", \"relation\": \"fulfillment.bill\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"condition\": [[\"type\", \"=\", \"service\"]], \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"store\": true}, \"qty2\": {\"string\": \"Qty2\", \"type\": \"decimal\", \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"uom2_id\": {\"string\": \"UoM2\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"unit_price\": {\"string\": \"Unit Price\", \"type\": \"decimal\", \"scale\": 6, \"store\": true}, \"discount\": {\"string\": \"Disc %\", \"type\": \"decimal\", \"store\": true}, \"discount_amount\": {\"string\": \"Disc Amt\", \"type\": \"decimal\", \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"required\": true, \"store\": true}}}, \"addon\": {\"string\": \"Addon\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Addon Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"code\": {\"string\": \"Addon Code\", \"type\": \"char\", \"store\": true}, \"price\": {\"string\": \"Base Price (USD per month)\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"plan_price\": {\"string\": \"Extra Price (USD per month)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_plan_price\"}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"not_installed\", \"Not Installed\"], [\"installed\", \"Installed\"]], \"required\": true, \"search\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"price_plans\": {\"string\": \"Included In Price Plans\", \"type\": \"many2many\", \"relation\": \"price.plan\"}}}, \"price.plan\": {\"string\": \"Price Plan\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Plan Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"price\": {\"string\": \"Price (USD per month)\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"addons\": {\"string\": \"Included Addons\", \"type\": \"many2many\", \"relation\": \"addon\"}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}}}, \"bill.period\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"To Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"amount_bill\": {\"string\": \"Bill Amount\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"amount_paid\": {\"string\": \"Paid Amount\", \"type\": \"decimal\", \"store\": true}}}, \"bill.credit.card\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"brand\": {\"string\": \"Brand\", \"type\": \"char\", \"required\": true, \"store\": true}, \"country\": {\"string\": \"Country\", \"type\": \"char\", \"store\": true}, \"exp_month\": {\"string\": \"Exp. Month\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"exp_year\": {\"string\": \"Exp. Year\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"last4\": {\"string\": \"Last 4 Digits\", \"type\": \"char\", \"required\": true, \"store\": true}, \"date_added\": {\"string\": \"Date Addded\", \"type\": \"date\", \"required\": true, \"store\": true}}}, \"pos.table\": {\"string\": \"Table\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Table Number\", \"type\": \"char\", \"required\": true, \"store\": true}, \"name\": {\"string\": \"Table Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"carts\": {\"string\": \"Carts\", \"type\": \"one2many\", \"relation\": \"ecom2.cart\", \"relfield\": \"pos_table_id\"}}}, \"nd.order\": {\"string\": \"Delivery Order\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Order Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"order_time\": {\"string\": \"Order Time\", \"type\": \"datetime\", \"required\": true, \"store\": true}, \"delivery_date\": {\"string\": \"Delivery Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"from_region_id\": {\"string\": \"From Region\", \"type\": \"many2one\", \"relation\": \"region\", \"store\": true}, \"to_region_id\": {\"string\": \"To Region\", \"type\": \"many2one\", \"relation\": \"region\", \"store\": true}, \"sender_id\": {\"string\": \"Sender Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"sender_name\": {\"string\": \"Sender Name\", \"type\": \"char\", \"store\": true}, \"recipient_id\": {\"string\": \"Recipient Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"recipient_name\": {\"string\": \"Recipient Name\", \"type\": \"char\", \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"store\": true}, \"uom_id\": {\"string\": \"UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"cash_collect_amount\": {\"string\": \"Cash Collect\", \"type\": \"decimal\", \"store\": true}, \"ref\": {\"string\": \"Ref\", \"type\": \"char\", \"store\": true}, \"time_from\": {\"string\": \"From Time\", \"type\": \"char\", \"store\": true}, \"time_to\": {\"string\": \"To Time\", \"type\": \"char\", \"store\": true}, \"ship_address_id\": {\"string\": \"Shipping Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"cust_code\": {\"string\": \"Customer Code\", \"type\": \"char\", \"readonly\": true, \"function\": \"_get_related\"}, \"cust_name\": {\"string\": \"Customer Name\", \"type\": \"char\", \"readonly\": true, \"function\": \"_get_related\"}, \"coords\": {\"string\": \"Coords\", \"type\": \"char\", \"readonly\": true, \"function\": \"_get_related\"}, \"postal_code\": {\"string\": \"Postal Code\", \"type\": \"char\", \"readonly\": true, \"function\": \"_get_related\"}, \"street_address\": {\"string\": \"Street Address\", \"type\": \"char\", \"readonly\": true, \"function\": \"_get_related\"}, \"instructions\": {\"string\": \"Instructions\", \"type\": \"char\", \"readonly\": true, \"function\": \"_get_related\"}, \"addr_sequence\": {\"string\": \"Addr. Sequence\", \"type\": \"integer\", \"readonly\": true, \"function\": \"_get_related\"}, \"item_desc\": {\"string\": \"Item Description\", \"type\": \"text\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"wait_payment\", \"Awaiting Payment\"], [\"waiting\", \"Awaiting Pickup\"], [\"in_progress\", \"In Progress\"], [\"done\", \"Completed\"], [\"error\", \"Can Not Deliver\"]], \"required\": true, \"search\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"images\": {\"string\": \"Images\", \"type\": \"one2many\", \"relation\": \"nd.image\", \"relfield\": \"related_id\"}, \"driver_id\": {\"string\": \"Driver\", \"type\": \"many2one\", \"relation\": \"nd.driver\", \"store\": true}, \"route_id\": {\"string\": \"Delivery Route\", \"type\": \"many2one\", \"relation\": \"nd.route\", \"store\": true}, \"round_id\": {\"string\": \"Delivery Round\", \"type\": \"many2one\", \"relation\": \"nd.round\", \"readonly\": true, \"function\": \"_get_related\"}, \"period_id\": {\"string\": \"Delivery Period\", \"type\": \"many2one\", \"relation\": \"nd.work.period\", \"readonly\": true, \"function\": \"_get_related\"}, \"user_id\": {\"string\": \"Responsible User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"readonly\": true, \"function\": \"_get_related\"}, \"pickup_time\": {\"string\": \"Pickup Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"deliver_time\": {\"string\": \"Deliver Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"tasks\": {\"string\": \"Tasks\", \"type\": \"one2many\", \"relation\": \"nd.task\", \"relfield\": \"order_id\"}, \"est_deliver_time\": {\"string\": \"Est. Delivery Time\", \"type\": \"char\", \"store\": true}, \"act_deliver_time\": {\"string\": \"Act. Delivery Time\", \"type\": \"char\", \"store\": true}, \"error_time\": {\"string\": \"Error Time\", \"type\": \"char\", \"store\": true}, \"est_drive_duration\": {\"string\": \"Est. Driving Duration(minutes)\", \"type\": \"decimal\", \"store\": true}, \"est_wait_duration\": {\"string\": \"Est. Waiting Duration (minutes)\", \"type\": \"decimal\", \"store\": true}, \"est_state\": {\"string\": \"Est. Status\", \"type\": \"selection\", \"selection\": [[\"on_time\", \"On Time\"], [\"late\", \"Late\"]], \"readonly\": true, \"function\": \"get_est_state\"}, \"dropoff_image\": {\"string\": \"Drop-off Photo\", \"type\": \"file\", \"store\": true}, \"return_image\": {\"string\": \"Return Photo\", \"type\": \"file\", \"store\": true}, \"require_dropoff_image\": {\"string\": \"Require Dropoff Photo\", \"type\": \"boolean\", \"store\": true}, \"require_return_image\": {\"string\": \"Require Return Photo\", \"type\": \"boolean\", \"store\": true}, \"email\": {\"string\": \"Email\", \"type\": \"char\", \"store\": true}, \"mobile\": {\"string\": \"Mobile\", \"type\": \"char\", \"store\": true}, \"dest_short\": {\"string\": \"Destination\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_dest_short\"}, \"eta_short\": {\"string\": \"ETA\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_eta_short\"}, \"today\": {\"string\": \"Today\", \"type\": \"boolean\"}, \"today_p1\": {\"string\": \"Today+1\", \"type\": \"boolean\"}, \"today_p2\": {\"string\": \"Today+2\", \"type\": \"boolean\"}, \"hide\": {\"string\": \"Hidden\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_hide\"}, \"tags\": {\"string\": \"Tags\", \"type\": \"many2many\", \"relation\": \"nd.tag\"}, \"tags_json\": {\"string\": \"Order Tags\", \"type\": \"json\", \"readonly\": true, \"function\": \"get_tags_json\"}, \"address_tooltip\": {\"string\": \"Address\", \"type\": \"text\", \"readonly\": true, \"function\": \"get_address_tooltip\"}, \"dropoff_coords\": {\"string\": \"Drop-off Coords\", \"type\": \"char\", \"store\": true}, \"poll_answers\": {\"string\": \"Poll Answers\", \"type\": \"one2many\", \"relation\": \"nd.poll.answer\", \"relfield\": \"order_id\"}, \"poll_id\": {\"string\": \"Customer Poll\", \"type\": \"many2one\", \"relation\": \"nd.poll\", \"store\": true}, \"poll2_id\": {\"string\": \"Customer Poll #2\", \"type\": \"many2one\", \"relation\": \"nd.poll\", \"store\": true}, \"require_dropoff_coords\": {\"string\": \"Require Drop-off Coords\", \"type\": \"boolean\", \"store\": true}, \"deliver_perf\": {\"string\": \"Delivery Performance\", \"type\": \"selection\", \"selection\": [[\"on_time\", \"On Time\"], [\"late\", \"Late\"], [\"early\", \"Ealy\"]], \"readonly\": true, \"function\": \"get_deliver_perf\"}, \"lines\": {\"string\": \"Delivery Items\", \"type\": \"one2many\", \"relation\": \"nd.order.line\", \"relfield\": \"order_id\"}, \"returns\": {\"string\": \"Returned Products\", \"type\": \"one2many\", \"relation\": \"nd.order.return\", \"relfield\": \"order_id\"}, \"customer_id\": {\"string\": \"Customer\", \"type\": \"many2one\", \"relation\": \"contact\", \"search\": true, \"store\": true}, \"returnable_products\": {\"string\": \"Returnable Products\", \"type\": \"many2many\", \"relation\": \"product\", \"readonly\": true, \"function\": \"get_returnable_products\"}, \"month\": {\"string\": \"Month\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_month\"}, \"week\": {\"string\": \"Week\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_week\"}, \"pickings\": {\"string\": \"Stock Pickings\", \"type\": \"one2many\", \"relation\": \"stock.picking\", \"relfield\": \"delivery_id\"}, \"track_entries\": {\"string\": \"Track Entries\", \"type\": \"one2many\", \"relation\": \"account.track.entry\", \"relfield\": \"related_id\"}, \"notes\": {\"string\": \"Remarks\", \"type\": \"text\", \"store\": true}}}, \"nd.order.line\": {\"string\": \"Delivery Order Line\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"order_id\": {\"string\": \"Delivery Order\", \"type\": \"many2one\", \"relation\": \"nd.order\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"search\": true, \"store\": true}, \"image\": {\"string\": \"Image\", \"type\": \"file\", \"readonly\": true, \"function\": \"_get_related\"}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}}}, \"nd.order.return\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"order_id\": {\"string\": \"Delivery Order\", \"type\": \"many2one\", \"relation\": \"nd.order\", \"required\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"image\": {\"string\": \"Image\", \"type\": \"file\", \"readonly\": true, \"function\": \"_get_related\"}, \"qty\": {\"string\": \"Return Qty\", \"type\": \"decimal\", \"required\": true, \"store\": true}}}, \"nd.route\": {\"string\": \"Route\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"driver_id\": {\"string\": \"Driver\", \"type\": \"many2one\", \"relation\": \"nd.driver\", \"required\": true, \"search\": true, \"store\": true}, \"delivery_date\": {\"string\": \"Delivery Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"round_id\": {\"string\": \"Round\", \"type\": \"many2one\", \"relation\": \"nd.round\", \"required\": true, \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"wait_pick\", \"Waiting Pickup\"], [\"in_transit\", \"In Transit\"], [\"done\", \"Completed\"]], \"required\": true, \"search\": true, \"store\": true}, \"orders\": {\"string\": \"Delivery Orders\", \"type\": \"one2many\", \"relation\": \"nd.order\", \"relfield\": \"route_id\"}, \"num_orders\": {\"string\": \"Num Orders\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_orders\"}, \"tasks\": {\"string\": \"Tasks\", \"type\": \"one2many\", \"relation\": \"nd.task\", \"relfield\": \"route_id\"}, \"today\": {\"string\": \"Today\", \"type\": \"boolean\"}, \"today_p1\": {\"string\": \"Today+1\", \"type\": \"boolean\"}, \"today_p2\": {\"string\": \"Today+2\", \"type\": \"boolean\"}, \"est_distance\": {\"string\": \"Est. Distance (Km)\", \"type\": \"decimal\", \"readonly\": true, \"store\": true}, \"est_duration\": {\"string\": \"Est. Duration (minutes)\", \"type\": \"decimal\", \"readonly\": true, \"store\": true}, \"act_duration\": {\"string\": \"Act. Duration (minutes)\", \"type\": \"decimal\", \"readonly\": true, \"store\": true}, \"directions_data\": {\"string\": \"Directions Data\", \"type\": \"text\", \"store\": true}, \"directions_path\": {\"string\": \"Directions Path\", \"type\": \"text\", \"store\": true}, \"pickup_address_id\": {\"string\": \"Pickup Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"pickup_image\": {\"string\": \"Pickup Photo\", \"type\": \"file\", \"store\": true}, \"require_pickup_image\": {\"string\": \"Require Pickup Photo\", \"type\": \"boolean\", \"store\": true}, \"return_address_id\": {\"string\": \"Return Address\", \"type\": \"many2one\", \"relation\": \"address\", \"store\": true}, \"return_image\": {\"string\": \"Return Photo\", \"type\": \"file\", \"store\": true}, \"require_return_image\": {\"string\": \"Require Return Photo\", \"type\": \"boolean\", \"store\": true}, \"est_pickup_time\": {\"string\": \"Est. Pickup Time\", \"type\": \"char\", \"readonly\": true, \"function\": \"_get_related\"}, \"est_return_time\": {\"string\": \"Est. Return Time\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"blind_mode\": {\"string\": \"Blind Mode\", \"type\": \"boolean\", \"store\": true}, \"amount\": {\"string\": \"Pay Amount\", \"type\": \"decimal\", \"store\": true}, \"seq_from\": {\"string\": \"From Sequence\", \"type\": \"integer\", \"readonly\": true, \"function\": \"_get_related\"}, \"seq_to\": {\"string\": \"To Sequence\", \"type\": \"integer\", \"readonly\": true, \"function\": \"_get_related\"}, \"period_id\": {\"string\": \"Work Period\", \"type\": \"many2one\", \"relation\": \"nd.work.period\", \"readonly\": true, \"function\": \"_get_related\"}, \"filter_order_id\": {\"string\": \"Filter Order\", \"type\": \"many2one\", \"relation\": \"nd.order\"}}}, \"nd.driver\": {\"string\": \"Driver\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Driver Name\", \"type\": \"char\", \"store\": true}, \"mobile\": {\"string\": \"Mobile\", \"type\": \"char\", \"store\": true}, \"accept_driver\": {\"string\": \"Accepted By Driver\", \"type\": \"boolean\", \"store\": true}, \"accept_account\": {\"string\": \"Accepted By Employer\", \"type\": \"boolean\", \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"routes\": {\"string\": \"Routes\", \"type\": \"one2many\", \"relation\": \"nd.route\", \"relfield\": \"driver_id\"}, \"num_routes\": {\"string\": \"Number Of Routes\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_routes\"}, \"rounds\": {\"string\": \"Rounds\", \"type\": \"one2many\", \"relation\": \"nd.round\", \"relfield\": \"driver_id\"}, \"num_rounds\": {\"string\": \"# Rounds\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_rounds\"}, \"jobs\": {\"string\": \"Jobs\", \"type\": \"one2many\", \"relation\": \"nd.job\", \"relfield\": \"driver_id\"}, \"events\": {\"string\": \"Events\", \"type\": \"one2many\", \"relation\": \"nd.event\", \"relfield\": \"driver_id\"}, \"date_register\": {\"string\": \"Date Registered\", \"type\": \"datetime\", \"store\": true}, \"coords\": {\"string\": \"Coordinates\", \"type\": \"char\", \"store\": true}, \"bat_level\": {\"string\": \"Battery Level\", \"type\": \"integer\", \"store\": true}, \"track_id\": {\"string\": \"Tracking Account\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}}}, \"nd.round\": {\"string\": \"Delivery Round\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"driver_id\": {\"string\": \"Driver\", \"type\": \"many2one\", \"relation\": \"nd.driver\", \"required\": true, \"search\": true, \"store\": true}, \"period_id\": {\"string\": \"Work Period\", \"type\": \"many2one\", \"relation\": \"nd.work.period\", \"required\": true, \"search\": true, \"store\": true}, \"seq_from\": {\"string\": \"From Sequence\", \"type\": \"integer\", \"store\": true}, \"seq_to\": {\"string\": \"To Sequence\", \"type\": \"integer\", \"store\": true}, \"user_id\": {\"string\": \"Reponsible User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}}}, \"maps.api\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"nd.cell\": {\"string\": \"Cell\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"cid\": {\"string\": \"Cell ID\", \"type\": \"char\", \"store\": true}, \"lac\": {\"string\": \"Location Area Code\", \"type\": \"char\", \"store\": true}, \"mcc\": {\"string\": \"Mobile Country Code\", \"type\": \"char\", \"store\": true}, \"mnc\": {\"string\": \"Mobile Network Code\", \"type\": \"char\", \"store\": true}, \"coords\": {\"string\": \"Coordinates\", \"type\": \"char\", \"store\": true}, \"accuracy\": {\"string\": \"Accuracy\", \"type\": \"float\", \"store\": true}}}, \"nd.job\": {\"string\": \"Job\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"driver_id\": {\"string\": \"Driver\", \"type\": \"many2one\", \"relation\": \"nd.driver\", \"required\": true, \"search\": true, \"store\": true}, \"date\": {\"string\": \"Job Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"waiting\", \"Waiting\"], [\"in_progress\", \"In Progress\"], [\"done\", \"Completed\"], [\"error\", \"Can not complete job\"]], \"required\": true, \"search\": true, \"store\": true}, \"tasks\": {\"string\": \"Tasks\", \"type\": \"one2many\", \"relation\": \"nd.task\", \"relfield\": \"job_id\"}, \"num_tasks\": {\"string\": \"Num Tasks\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_tasks\"}, \"num_tasks_done\": {\"string\": \"Tasks Completed\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_tasks_done\"}, \"amount\": {\"string\": \"Pay Amount\", \"type\": \"decimal\", \"store\": true}, \"today\": {\"string\": \"Today\", \"type\": \"boolean\"}, \"today_p1\": {\"string\": \"Today+1\", \"type\": \"boolean\"}, \"today_p2\": {\"string\": \"Today+2\", \"type\": \"boolean\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"text\", \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"required\": true, \"store\": true}, \"bonus_amount\": {\"string\": \"Bonus Amount\", \"type\": \"decimal\", \"store\": true}, \"bonus_min_deliveries\": {\"string\": \"Bonus Minimum Deliveries\", \"type\": \"decimal\", \"store\": true}, \"bonus_min_on_time_percent\": {\"string\": \"Bonus Minimum On-Time %\", \"type\": \"decimal\", \"store\": true}, \"amount_due\": {\"string\": \"Amount Due\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount_due\"}}}, \"nd.task\": {\"string\": \"Task\", \"name_field\": \"title\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"job_id\": {\"string\": \"Job\", \"type\": \"many2one\", \"relation\": \"nd.job\", \"required\": true, \"search\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"store\": true}, \"details\": {\"string\": \"Details\", \"type\": \"text\", \"store\": true}, \"est_duration\": {\"string\": \"Est. Duration (Minutes)\", \"type\": \"decimal\", \"store\": true}, \"est_start_time\": {\"string\": \"Est. Start Time\", \"type\": \"char\", \"store\": true}, \"est_end_time\": {\"string\": \"Est. End Time\", \"type\": \"char\", \"store\": true}, \"act_start_time\": {\"string\": \"Act. Start Time\", \"type\": \"char\", \"store\": true}, \"act_end_time\": {\"string\": \"Act. End Time\", \"type\": \"char\", \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"pickup\", \"Pickup\"], [\"delivery\", \"Delivery\"], [\"return\", \"Return\"], [\"other\", \"Other\"]], \"required\": true, \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"waiting\", \"Waiting\"], [\"in_progress\", \"In Progress\"], [\"done\", \"Completed\"], [\"error\", \"Can not complete task\"]], \"required\": true, \"search\": true, \"store\": true}, \"route_id\": {\"string\": \"Delivery Route\", \"type\": \"many2one\", \"relation\": \"nd.route\", \"search\": true, \"store\": true}, \"order_id\": {\"string\": \"Delivery Order\", \"type\": \"many2one\", \"relation\": \"nd.order\", \"search\": true, \"store\": true}, \"require_gps\": {\"string\": \"Require GPS\", \"type\": \"boolean\", \"store\": true}, \"title_func\": {\"string\": \"Title\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_title\"}}}, \"nd.work.period\": {\"string\": \"Delivery Period\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Work Period Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"time_from\": {\"string\": \"From Time\", \"type\": \"char\", \"store\": true}, \"time_to\": {\"string\": \"To Time\", \"type\": \"char\", \"store\": true}}}, \"nd.create.route\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}}}, \"nd.tag\": {\"string\": \"Tag\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Tag Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"color\": {\"string\": \"Color\", \"type\": \"char\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}}}, \"nd.poll\": {\"string\": \"Poll\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Question\", \"type\": \"char\", \"required\": true, \"store\": true}, \"options\": {\"string\": \"Options\", \"type\": \"one2many\", \"relation\": \"nd.poll.option\", \"relfield\": \"poll_id\"}, \"answers\": {\"string\": \"Customer Answers\", \"type\": \"one2many\", \"relation\": \"nd.poll.answer\", \"relfield\": \"poll_id\"}, \"num_options\": {\"string\": \"# options\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_options\"}, \"num_answers\": {\"string\": \"# answers\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_answers\"}}}, \"nd.poll.option\": {\"string\": \"Poll Option\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"poll_id\": {\"string\": \"Poll\", \"type\": \"many2one\", \"relation\": \"nd.poll\", \"required\": true, \"store\": true}, \"name\": {\"string\": \"Answer\", \"type\": \"char\", \"required\": true, \"store\": true}}}, \"nd.poll.answer\": {\"string\": \"Poll Answer\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"datetime\", \"store\": true}, \"poll_id\": {\"string\": \"Poll\", \"type\": \"many2one\", \"relation\": \"nd.poll\", \"required\": true, \"store\": true}, \"option_id\": {\"string\": \"Selected Option\", \"type\": \"many2one\", \"relation\": \"nd.poll.option\", \"store\": true}, \"order_id\": {\"string\": \"Delivery Order\", \"type\": \"many2one\", \"relation\": \"nd.order\", \"store\": true}}}, \"nd.report.return\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From Date\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"To Date\", \"type\": \"date\", \"store\": true}}}, \"nd.report.driver.pay\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date_from\": {\"string\": \"From Date\", \"type\": \"date\", \"store\": true}, \"date_to\": {\"string\": \"To Date\", \"type\": \"date\", \"store\": true}, \"driver_id\": {\"string\": \"Driver\", \"type\": \"many2one\", \"relation\": \"nd.driver\", \"store\": true}}}, \"jc.service.categ\": {\"string\": \"Service Category\", \"name_field\": \"full_name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"full_name\": {\"string\": \"Category Name\", \"type\": \"char\", \"readonly\": true, \"search\": true, \"store\": true, \"function\": \"get_full_name\"}, \"parent_id\": {\"string\": \"Parent Category\", \"type\": \"many2one\", \"relation\": \"jc.service.categ\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"job_sequence_id\": {\"string\": \"Job Sequence\", \"type\": \"many2one\", \"relation\": \"sequence\", \"store\": true}, \"manager_group_id\": {\"string\": \"Manager User Group\", \"type\": \"many2one\", \"relation\": \"user.group\", \"store\": true}}}, \"jc.service\": {\"string\": \"Service\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Service Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"code\": {\"string\": \"Short Code\", \"type\": \"char\", \"required\": true, \"store\": true}, \"categ_id\": {\"string\": \"Service Category\", \"type\": \"many2one\", \"relation\": \"jc.service.categ\", \"required\": true, \"store\": true}, \"group_id\": {\"string\": \"User Group\", \"type\": \"many2one\", \"relation\": \"user.group\", \"store\": true}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"task_templates\": {\"string\": \"Task Templates\", \"type\": \"one2many\", \"relation\": \"task.template\", \"relfield\": \"service_id\"}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"condition\": [[\"type\", \"=\", \"service\"]], \"store\": true}}}, \"jc.job\": {\"string\": \"Job\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"contact_id\": {\"string\": \"Client\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"search\": true, \"store\": true}, \"person_id\": {\"string\": \"Contact Person\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"template_id\": {\"string\": \"Template\", \"type\": \"many2one\", \"relation\": \"jc.job.template\", \"store\": true}, \"service_id\": {\"string\": \"Service (DEPRECATED)\", \"type\": \"many2one\", \"relation\": \"jc.service\", \"store\": true}, \"product_id\": {\"string\": \"Service Product\", \"type\": \"many2one\", \"relation\": \"product\", \"condition\": [[\"type\", \"=\", \"service\"]], \"store\": true}, \"service_categ_id\": {\"string\": \"Service Category\", \"type\": \"many2one\", \"relation\": \"jc.service.categ\", \"readonly\": true, \"function\": \"_get_related\"}, \"name\": {\"string\": \"Job Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"number\": {\"string\": \"Job Number\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"start_date\": {\"string\": \"Start Date\", \"type\": \"date\", \"store\": true}, \"due_date\": {\"string\": \"Due Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"priority\": {\"string\": \"Priority\", \"type\": \"selection\", \"selection\": [[\"low\", \"Low\"], [\"medium\", \"Medium\"], [\"high\", \"High\"]], \"store\": true}, \"state\": {\"string\": \"Job Status\", \"type\": \"selection\", \"selection\": [[\"in_progress\", \"In Progress\"], [\"done\", \"Completed\"], [\"verified\", \"Verified\"], [\"invoiced\", \"Invoiced\"], [\"canceled\", \"Canceled\"]], \"required\": true, \"store\": true}, \"overdue\": {\"string\": \"Overdue\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_overdue\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"folders\": {\"string\": \"Folders\", \"type\": \"one2many\", \"relation\": \"folder\", \"relfield\": \"related_id\"}, \"folder_id\": {\"string\": \"Folder\", \"type\": \"many2one\", \"relation\": \"folder\", \"store\": true}, \"tasks\": {\"string\": \"Tasks\", \"type\": \"one2many\", \"relation\": \"jc.task\", \"relfield\": \"job_id\"}, \"time_entries\": {\"string\": \"Time Entries\", \"type\": \"one2many\", \"relation\": \"time.entry\", \"relfield\": \"jc_job_id\"}, \"time_entries_invoiced\": {\"string\": \"Invoiced Time Entries\", \"type\": \"one2many\", \"relation\": \"time.entry\", \"relfield\": \"jc_job_id\", \"condition\": [[\"state\", \"=\", \"invoiced\"]]}, \"time_entries_other\": {\"string\": \"Time Entries\", \"type\": \"one2many\", \"relation\": \"time.entry\", \"relfield\": \"jc_job_id\", \"condition\": [[\"state\", \"!=\", \"invoiced\"], [\"state\", \"!=\", \"merged\"]]}, \"time_entries_approved\": {\"string\": \"Approved Time Entries\", \"type\": \"one2many\", \"relation\": \"time.entry\", \"relfield\": \"jc_job_id\", \"condition\": [[\"state\", \"=\", \"approved\"]]}, \"time_entries_merged\": {\"string\": \"Merged Time Entries\", \"type\": \"one2many\", \"relation\": \"time.entry\", \"relfield\": \"jc_job_id\", \"condition\": [[\"state\", \"=\", \"merged\"]]}, \"num_tasks\": {\"string\": \"# Tasks\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_tasks\"}, \"days_late\": {\"string\": \"Days Late\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_days_late\"}, \"user_id\": {\"string\": \"Assigned To\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"request_by_id\": {\"string\": \"Requested By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"user_board\": {\"string\": \"User\", \"type\": \"boolean\"}, \"current_work\": {\"string\": \"Status Details\", \"type\": \"text\", \"readonly\": true, \"function\": \"get_current_work\"}, \"last_fup\": {\"string\": \"Last FUP\", \"type\": \"date\", \"readonly\": true, \"function\": \"get_current_work\"}, \"invoice_no\": {\"string\": \"Invoice No.\", \"type\": \"char\", \"store\": true}, \"required_docs\": {\"string\": \"Required Documents\", \"type\": \"one2many\", \"relation\": \"jc.required.doc\", \"relfield\": \"related_id\"}, \"shared_board\": {\"string\": \"Shared\", \"type\": \"boolean\"}, \"is_manager\": {\"string\": \"Manager\", \"type\": \"boolean\"}, \"status_history\": {\"string\": \"Status History\", \"type\": \"one2many\", \"relation\": \"jc.job.status\", \"relfield\": \"job_id\"}, \"quotation_id\": {\"string\": \"Quotation\", \"type\": \"many2one\", \"relation\": \"sale.quot\", \"store\": true}, \"cancel_reason\": {\"string\": \"Cancel Reason\", \"type\": \"text\", \"store\": true}, \"cancel_periodic\": {\"string\": \"Cancel Periodic\", \"type\": \"boolean\", \"store\": true}, \"next_job_id\": {\"string\": \"Next Job\", \"type\": \"many2one\", \"relation\": \"jc.job\", \"store\": true}, \"emails\": {\"string\": \"Emails\", \"type\": \"one2many\", \"relation\": \"email.message\", \"relfield\": \"related_id\"}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}, \"invoices\": {\"string\": \"Invoices\", \"type\": \"one2many\", \"relation\": \"account.invoice\", \"relfield\": \"related_id\"}, \"payments\": {\"string\": \"Payments\", \"type\": \"one2many\", \"relation\": \"account.payment\", \"relfield\": \"related_id\"}, \"bill_amount\": {\"string\": \"Billable Amount\", \"type\": \"float\", \"required\": true, \"store\": true}, \"percent_invoiced\": {\"string\": \"% Invoiced\", \"type\": \"integer\", \"readonly\": true, \"function\": \"_get_paid\"}, \"percent_paid\": {\"string\": \"% Paid\", \"type\": \"integer\", \"readonly\": true, \"function\": \"_get_paid\"}, \"deposit_amount\": {\"string\": \"Deposit Amount\", \"type\": \"float\", \"store\": true}, \"invoice_id\": {\"string\": \"Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"store\": true}, \"is_duplicate\": {\"string\": \"Duplicate\", \"type\": \"boolean\", \"store\": true}, \"users\": {\"string\": \"Other Involved Users\", \"type\": \"many2many\", \"relation\": \"base.user\"}, \"percent_done\": {\"string\": \"% Completed\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_percent_done\"}, \"budget_hours\": {\"string\": \"Budget Hours\", \"type\": \"decimal\", \"store\": true}, \"involved_user_id\": {\"string\": \"Search Involved User\", \"type\": \"many2one\", \"relation\": \"base.user\"}, \"bill_type\": {\"string\": \"Billing Type\", \"type\": \"selection\", \"selection\": [[\"hour\", \"Hourly\"], [\"flat\", \"Flat Fee\"]], \"store\": true}, \"uninvoiced_time_amount\": {\"string\": \"Uninvoiced Time Entries\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_uninvoiced_amount\"}, \"uninvoiced_hours\": {\"string\": \"Uninvoiced Hours\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_uninvoiced_hours\"}, \"approved_time_amount\": {\"string\": \"Approved Time Entries\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_approved_amount\"}, \"approved_hours\": {\"string\": \"Approved Hours\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_approved_hours\"}, \"total_bill_hours\": {\"string\": \"Total Bill Hours\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_time_total\"}, \"total_bill_amount\": {\"string\": \"Total Bill Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_time_total\"}, \"time_users\": {\"string\": \"Time Entry Users\", \"type\": \"many2many\", \"relation\": \"base.user\", \"readonly\": true, \"function\": \"get_time_users\"}, \"time_users_preview\": {\"string\": \"Time Entry Users\", \"type\": \"many2many\", \"relation\": \"base.user\", \"readonly\": true, \"function\": \"get_time_users_preview\"}, \"est_hours\": {\"string\": \"Est Hours\", \"type\": \"decimal\", \"store\": true}, \"payment_plans\": {\"string\": \"Payment Installments\", \"type\": \"one2many\", \"relation\": \"payment.plan\", \"relfield\": \"related_id\"}, \"expenses\": {\"string\": \"Expenses\", \"type\": \"one2many\", \"relation\": \"expense\", \"relfield\": \"related_id\"}, \"invoiced_expenses\": {\"string\": \"Invoiced Expenses\", \"type\": \"one2many\", \"relation\": \"expense\", \"relfield\": \"related_id\", \"condition\": [[\"invoice_id\", \"!=\", null]]}}}, \"jc.task\": {\"string\": \"Task\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"job_id\": {\"string\": \"Job\", \"type\": \"many2one\", \"relation\": \"jc.job\", \"required\": true, \"search\": true, \"store\": true}, \"contact_id\": {\"string\": \"Client\", \"type\": \"many2one\", \"relation\": \"contact\", \"readonly\": true, \"function\": \"_get_related\"}, \"service_id\": {\"string\": \"Service\", \"type\": \"many2one\", \"relation\": \"jc.service\", \"readonly\": true, \"function\": \"_get_related\"}, \"service_categ_id\": {\"string\": \"Service Category\", \"type\": \"many2one\", \"relation\": \"jc.service.categ\", \"readonly\": true, \"function\": \"_get_related\"}, \"name\": {\"string\": \"Task Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"deadline\": {\"string\": \"Deadline\", \"type\": \"date\", \"search\": true, \"store\": true}, \"state\": {\"string\": \"Task Status\", \"type\": \"selection\", \"selection\": [[\"in_progress\", \"In Progress\"], [\"done\", \"Completed\"], [\"waiting\", \"Waiting\"], [\"canceled\", \"Canceled\"]], \"required\": true, \"store\": true}, \"user_id\": {\"string\": \"Assigned To\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"overdue\": {\"string\": \"Overdue\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_overdue\"}, \"days_late\": {\"string\": \"Days Late\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_days_late\"}, \"status_details\": {\"string\": \"Status Details\", \"type\": \"text\", \"store\": true}, \"wait_client\": {\"string\": \"Wait For Client\", \"type\": \"boolean\", \"store\": true}, \"last_fup\": {\"string\": \"Last FUP\", \"type\": \"date\", \"store\": true}, \"is_manager\": {\"string\": \"Manager\", \"type\": \"boolean\"}, \"user_board\": {\"string\": \"User\", \"type\": \"boolean\"}, \"est_hours\": {\"string\": \"Est. Hours\", \"type\": \"decimal\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"store\": true}}}, \"jc.task.stage\": {\"string\": \"Task Stage\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"service_id\": {\"string\": \"Service\", \"type\": \"many2one\", \"relation\": \"jc.service\", \"required\": true, \"search\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}}}, \"jc.job.template\": {\"string\": \"Job Template\", \"name_field\": \"name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Template Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"service_id\": {\"string\": \"Service\", \"type\": \"many2one\", \"relation\": \"jc.service\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"condition\": [[\"type\", \"=\", \"service\"]], \"store\": true}, \"job_name\": {\"string\": \"Job Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"due_date\": {\"string\": \"Due Date\", \"type\": \"char\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"task_templates\": {\"string\": \"Task Templates\", \"type\": \"one2many\", \"relation\": \"jc.task.template\", \"relfield\": \"job_template_id\"}, \"auto_complete\": {\"string\": \"Mark as completed when all tasks completed\", \"type\": \"boolean\", \"store\": true}, \"periodicity\": {\"string\": \"Periodicity\", \"type\": \"selection\", \"selection\": [[\"ad_hoc\", \"Ad hoc\"], [\"month\", \"Monthly\"], [\"year\", \"Yearly\"]], \"store\": true}, \"assign_from_client\": {\"string\": \"Assign from client\", \"type\": \"boolean\", \"store\": true}, \"update_due_date\": {\"string\": \"Update job due date from tasks\", \"type\": \"boolean\", \"store\": true}, \"est_hours\": {\"string\": \"Est. Hours\", \"type\": \"decimal\", \"store\": true}, \"active\": {\"string\": \"Active\", \"type\": \"boolean\", \"store\": true}}}, \"jc.task.template\": {\"string\": \"Task Template\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"job_template_id\": {\"string\": \"Job Template\", \"type\": \"many2one\", \"relation\": \"jc.job.template\", \"required\": true, \"store\": true}, \"name\": {\"string\": \"Task Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"deadline\": {\"string\": \"Deadline\", \"type\": \"char\", \"store\": true}, \"user_id\": {\"string\": \"Assign To\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"assign_from_job\": {\"string\": \"Assign from job\", \"type\": \"boolean\", \"store\": true}, \"sequence\": {\"string\": \"Sequence\", \"type\": \"integer\", \"store\": true}, \"wait_for\": {\"string\": \"Wait For\", \"type\": \"char\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"est_hours\": {\"string\": \"Est. Hours\", \"type\": \"decimal\", \"store\": true}}}, \"jc.report\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"jc.batch.job\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}}}, \"jc.issue\": {\"string\": \"Issue\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date Created\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"name\": {\"string\": \"Subject\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"report_by_id\": {\"string\": \"Reported By\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"assigned_to_id\": {\"string\": \"Assigned To\", \"type\": \"many2one\", \"relation\": \"base.user\", \"search\": true, \"store\": true}, \"details\": {\"string\": \"Details\", \"type\": \"text\", \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"open\", \"Open\"], [\"closed\", \"Closed\"]], \"required\": true, \"store\": true}, \"attach\": {\"string\": \"Attachment\", \"type\": \"file\", \"store\": true}, \"priority\": {\"string\": \"Priority\", \"type\": \"selection\", \"selection\": [[\"low\", \"Low\"], [\"normal\", \"Normal\"], [\"high\", \"High\"]], \"search\": true, \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"overdue\": {\"string\": \"Overdue\", \"type\": \"boolean\", \"readonly\": true, \"function\": \"get_overdue\"}}}, \"jc.required.doc\": {\"string\": \"Required Document\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Document Name\", \"type\": \"text\", \"required\": true, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [], \"store\": true}}}, \"jc.job.status\": {\"string\": \"Job Status Details\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"job_id\": {\"string\": \"Job\", \"type\": \"many2one\", \"relation\": \"jc.job\", \"required\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"description\": {\"string\": \"Status Details\", \"type\": \"text\", \"required\": true, \"store\": true}}}, \"jc.project\": {\"string\": \"Project\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Project Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"required\": true, \"search\": true, \"store\": true}, \"start_date\": {\"string\": \"Start Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"end_date\": {\"string\": \"End Date\", \"type\": \"date\", \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"store\": true}, \"comments\": {\"string\": \"Comments\", \"type\": \"one2many\", \"relation\": \"message\", \"relfield\": \"related_id\"}, \"documents\": {\"string\": \"Documents\", \"type\": \"one2many\", \"relation\": \"document\", \"relfield\": \"related_id\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"in_progress\", \"In Progress\"], [\"done\", \"Completed\"], [\"canceled\", \"Canceled\"]], \"required\": true, \"store\": true}, \"jobs\": {\"string\": \"Jobs\", \"type\": \"one2many\", \"relation\": \"job\", \"relfield\": \"project_id\"}, \"tasks\": {\"string\": \"Tasks\", \"type\": \"one2many\", \"relation\": \"task\", \"relfield\": \"project_id\"}, \"work_time\": {\"string\": \"Work Time\", \"type\": \"one2many\", \"relation\": \"work.time\", \"relfield\": \"job_id\"}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}}}, \"bank.feed\": {\"string\": \"Bank Feed\", \"name_field\": \"account_no\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"ksme\", \"KCyber SME\"], [\"kbiz\", \"KBizNet\"], [\"maybank\", \"Maybank\"], [\"cimb\", \"CIMB\"], [\"ocbc\", \"OCBC\"]], \"required\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"required\": true, \"store\": true}, \"username\": {\"string\": \"Username\", \"type\": \"char\", \"required\": true, \"store\": true}, \"password\": {\"string\": \"Password\", \"type\": \"char\", \"store\": true}, \"company\": {\"string\": \"Company\", \"type\": \"char\", \"store\": true}, \"account_no\": {\"string\": \"Account Number\", \"type\": \"char\", \"required\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"active\", \"Active\"], [\"inactive\", \"Inactive\"]], \"required\": true, \"store\": true}}}, \"bank.feed.enter.token\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"token\": {\"string\": \"Token\", \"type\": \"char\", \"required\": true, \"store\": true}, \"proc_id\": {\"string\": \"Proc ID\", \"type\": \"char\", \"store\": true}, \"feed_id\": {\"string\": \"Bank Feed\", \"type\": \"many2one\", \"relation\": \"bank.feed\", \"store\": true}}}, \"shopee.account\": {\"string\": \"Shopee Account\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Shop Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"shop_idno\": {\"string\": \"Shop ID\", \"type\": \"char\", \"search\": true, \"store\": true}, \"auth_code\": {\"string\": \"Auth Code\", \"type\": \"char\", \"store\": true}, \"region\": {\"string\": \"Region\", \"type\": \"char\", \"store\": true}, \"status\": {\"string\": \"Status\", \"type\": \"char\", \"store\": true}, \"token\": {\"string\": \"Token\", \"type\": \"char\", \"store\": true}, \"refresh_token\": {\"string\": \"Refresh Token\", \"type\": \"char\", \"store\": true}, \"token_expiry_time\": {\"string\": \"Token Expiry Time\", \"type\": \"datetime\", \"store\": true}, \"sale_channel_id\": {\"string\": \"Sales Channel\", \"type\": \"many2one\", \"relation\": \"sale.channel\", \"store\": true}, \"sync_records\": {\"string\": \"Sync Records\", \"type\": \"one2many\", \"relation\": \"sync.record\", \"relfield\": \"account_id\"}, \"pricelist_id\": {\"string\": \"Price List\", \"type\": \"many2one\", \"relation\": \"price.list\", \"store\": true}, \"stock_journal_id\": {\"string\": \"Stock Journal\", \"type\": \"many2one\", \"relation\": \"stock.journal\", \"store\": true}, \"contact_id\": {\"string\": \"Default Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"company_id\": {\"string\": \"Company\", \"type\": \"many2one\", \"relation\": \"company\", \"search\": true, \"store\": true}, \"invoice_prefix\": {\"string\": \"Invoice Prefix\", \"type\": \"char\", \"store\": true}, \"payment_prefix\": {\"string\": \"Payment Prefix\", \"type\": \"char\", \"store\": true}, \"pick_out_prefix\": {\"string\": \"Goods Issue Prefix\", \"type\": \"char\", \"store\": true}, \"require_invoice\": {\"string\": \"Require Invoice\", \"type\": \"boolean\", \"store\": true}, \"order_last_update_time\": {\"string\": \"Shopee Order Last Update Time\", \"type\": \"datetime\", \"store\": true}, \"payment_last_update_time\": {\"string\": \"Shopee Payment Last Update Time\", \"type\": \"datetime\", \"store\": true}, \"sale_account_id\": {\"string\": \"Sales Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"track_id\": {\"string\": \"Track-1\", \"type\": \"many2one\", \"relation\": \"account.track.categ\", \"store\": true}, \"payment_adjustment_account_id\": {\"string\": \"Payment Adjustment Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"buyer_paid_shipping_fee_account_id\": {\"string\": \"Buyer Paid Shipping Fee Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"shopee_charged_shipping_fee_account_id\": {\"string\": \"Shopee Charged Shipping Fee Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"ewallet_account_id\": {\"string\": \"Shopee E-Wallet Account\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}, \"debtor_account_id\": {\"string\": \"Debtor Account for Invoice\", \"type\": \"many2one\", \"relation\": \"account.account\", \"store\": true}}}, \"sync.record\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"required\": true, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [[\"product\", \"Product\"], [\"sale.order\", \"Sales Order\"], [\"stock.picking\", \"Stock Picking\"], [\"shopee.order\", \"Shopee Order\"]], \"required\": true, \"store\": true}, \"time\": {\"string\": \"Sync Time\", \"type\": \"datetime\", \"required\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"reference\", \"selection\": [[\"shopee.account\", \"Shopee\"]], \"required\": true, \"store\": true}}}, \"product.shopee.details\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"product_id\": {\"string\": \"Product\", \"type\": \"many2one\", \"relation\": \"product\", \"required\": true, \"store\": true}, \"account_id\": {\"string\": \"Shopee Account\", \"type\": \"many2one\", \"relation\": \"shopee.account\", \"required\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"char\", \"store\": true}, \"categ_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"product.categ\", \"store\": true}, \"brand_id\": {\"string\": \"Product Brand\", \"type\": \"many2one\", \"relation\": \"product.brand\", \"store\": true}, \"ship_methods\": {\"string\": \"Shipping Methods\", \"type\": \"many2many\", \"relation\": \"ship.method\"}}}, \"shopee.settings\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"default_uom_id\": {\"string\": \"Default UoM\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"order_auto_copy_to_sale\": {\"string\": \"Auto Copy Shopee Order to Sale Order when Syncing\", \"type\": \"boolean\", \"store\": true}, \"order_auto_copy_to_picking\": {\"string\": \"Auto Copy Shopee Order to Goods Issue when Syncing\", \"type\": \"boolean\", \"store\": true}, \"order_auto_complete_picking\": {\"string\": \"Auto Complete Goods Issue when Syncing\", \"type\": \"boolean\", \"store\": true}, \"order_auto_copy_to_invoice\": {\"string\": \"Auto Copy Shopee Order to Invoice when Syncing\", \"type\": \"boolean\", \"store\": true}, \"order_auto_post_invoice\": {\"string\": \"Auto Post Invoice When Created\", \"type\": \"boolean\", \"store\": true}, \"use_order_num_for_picking\": {\"string\": \"Use Order Number for Goods Issue\", \"type\": \"boolean\", \"store\": true}, \"auto_refresh_tokens\": {\"string\": \"Auto Refresh Token\", \"type\": \"boolean\", \"store\": true}, \"enable_webhook\": {\"string\": \"Enable Webhook\", \"type\": \"boolean\", \"store\": true}, \"check_stock\": {\"string\": \"Check Stock\", \"type\": \"boolean\", \"store\": true}}}, \"shopee.order\": {\"string\": \"Shopee Order\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_sync_id\"}, \"sync_records\": {\"string\": \"Sync Records\", \"type\": \"one2many\", \"relation\": \"sync.record\", \"relfield\": \"related_id\"}, \"account_id\": {\"string\": \"Shopee Account\", \"type\": \"many2one\", \"relation\": \"shopee.account\", \"search\": true, \"store\": true}, \"order_sn\": {\"string\": \"Order ID\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"order_status\": {\"string\": \"Order Status\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"order_create_time\": {\"string\": \"Order Create Time\", \"type\": \"datetime\", \"required\": true, \"search\": true, \"store\": true}, \"region\": {\"string\": \"Region\", \"type\": \"char\", \"store\": true}, \"currency\": {\"string\": \"Currency\", \"type\": \"char\", \"store\": true}, \"cod\": {\"string\": \"cod\", \"type\": \"boolean\", \"store\": true}, \"total_amount\": {\"string\": \"Total Amount\", \"type\": \"decimal\", \"store\": true}, \"shipping_carrier\": {\"string\": \"Shipping Carrier\", \"type\": \"char\", \"search\": true, \"store\": true}, \"payment_method\": {\"string\": \"Payment Method\", \"type\": \"char\", \"store\": true}, \"estimated_shipping_fee\": {\"string\": \"Estimated Shipping Fee\", \"type\": \"char\", \"store\": true}, \"message_to_seller\": {\"string\": \"Message to Seller\", \"type\": \"text\", \"store\": true}, \"days_to_ship\": {\"string\": \"Days to Ship\", \"type\": \"integer\", \"store\": true}, \"ship_by_date\": {\"string\": \"Ship By Date\", \"type\": \"datetime\", \"store\": true}, \"buyer_user_id\": {\"string\": \"Buyer User ID\", \"type\": \"char\", \"store\": true}, \"buyer_username\": {\"string\": \"Buyer User Name\", \"type\": \"char\", \"store\": true}, \"recipient_address_name\": {\"string\": \"Recipient Address Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"recipient_address_phone\": {\"string\": \"Recipient Address Phone\", \"type\": \"char\", \"store\": true}, \"recipient_address_town\": {\"string\": \"Recipient Address Town\", \"type\": \"char\", \"store\": true}, \"recipient_address_district\": {\"string\": \"Recipient Address District\", \"type\": \"char\", \"store\": true}, \"recipient_address_city\": {\"string\": \"Recipient Address City\", \"type\": \"char\", \"store\": true}, \"recipient_address_state\": {\"string\": \"Recipient Address State\", \"type\": \"char\", \"store\": true}, \"recipient_address_region\": {\"string\": \"Recipient Address Region\", \"type\": \"char\", \"store\": true}, \"recipient_address_zipcode\": {\"string\": \"Recipient Address Zipcode\", \"type\": \"char\", \"store\": true}, \"recipient_address_full_address\": {\"string\": \"Recipient Address Full Address\", \"type\": \"char\", \"search\": true, \"store\": true}, \"invoice_data_number\": {\"string\": \"Invoice Data Number\", \"type\": \"char\", \"store\": true}, \"invoice_data_series_number\": {\"string\": \"Invoice Data Series Number\", \"type\": \"char\", \"store\": true}, \"invoice_data_access_key\": {\"string\": \"Invoice Data Access Key\", \"type\": \"text\", \"store\": true}, \"invoice_data_issue_date\": {\"string\": \"Invoice Data Issue Date\", \"type\": \"datetime\", \"store\": true}, \"invoice_data_total_value\": {\"string\": \"Invoice Data Total Value\", \"type\": \"decimal\", \"store\": true}, \"invoice_data_products_total_value\": {\"string\": \"Invoice Data Products Total Value\", \"type\": \"decimal\", \"store\": true}, \"invoice_data_tax_code\": {\"string\": \"Invoice Data Tax Code\", \"type\": \"char\", \"store\": true}, \"actual_shipping_fee\": {\"string\": \"Actual Shipping Fee\", \"type\": \"decimal\", \"store\": true}, \"goods_to_declare\": {\"string\": \"Goods to Declare\", \"type\": \"boolean\", \"store\": true}, \"note\": {\"string\": \"Notes\", \"type\": \"text\", \"store\": true}, \"note_update_time\": {\"string\": \"Note Update Time\", \"type\": \"datetime\", \"store\": true}, \"pay_time\": {\"string\": \"Pay Time\", \"type\": \"datetime\", \"store\": true}, \"dropshipper\": {\"string\": \"Dropshipper\", \"type\": \"char\", \"store\": true}, \"credit_card_number\": {\"string\": \"Credit Card Number\", \"type\": \"char\", \"store\": true}, \"dropshipper_phone\": {\"string\": \"Dropshipper Phone\", \"type\": \"char\", \"store\": true}, \"split_up\": {\"string\": \"Split Up\", \"type\": \"boolean\", \"store\": true}, \"buyer_cancel_reason\": {\"string\": \"Buyer Cancel Reason\", \"type\": \"text\", \"store\": true}, \"cancel_by\": {\"string\": \"Cancel By\", \"type\": \"char\", \"store\": true}, \"cancel_reason\": {\"string\": \"Cancel Reason\", \"type\": \"text\", \"store\": true}, \"actual_shipping_fee_confirmed\": {\"string\": \"Actual Shippingg Fee Confirmed\", \"type\": \"boolean\", \"store\": true}, \"buyer_cpf_id\": {\"string\": \"Buyer CPF ID\", \"type\": \"char\", \"store\": true}, \"fulfillment_flag\": {\"string\": \"Fulfillment Flag\", \"type\": \"char\", \"store\": true}, \"pickup_done_time\": {\"string\": \"Pickup Done Time\", \"type\": \"char\", \"store\": true}, \"items\": {\"string\": \"Items\", \"type\": \"one2many\", \"relation\": \"shopee.order.item\", \"relfield\": \"order_id\"}, \"dropoff\": {\"string\": \"DropOff\", \"type\": \"boolean\", \"search\": true, \"store\": true}, \"dropoff_info_needed\": {\"string\": \"DropOff Info Needed\", \"type\": \"text\", \"store\": true}, \"dropoff_info\": {\"string\": \"DropOff Info\", \"type\": \"text\", \"store\": true}, \"pickup\": {\"string\": \"PickUp\", \"type\": \"boolean\", \"search\": true, \"store\": true}, \"pickup_info_needed\": {\"string\": \"PickUp Info Needed\", \"type\": \"text\", \"store\": true}, \"pickup_info\": {\"string\": \"PickUp Info\", \"type\": \"text\", \"store\": true}, \"non_integrated\": {\"string\": \"Non Integrated\", \"type\": \"boolean\", \"search\": true, \"store\": true}, \"non_integrated_info_needed\": {\"string\": \"Non Integrated Info Needed\", \"type\": \"text\", \"store\": true}, \"non_integrated_info\": {\"string\": \"Non Integrated Info\", \"type\": \"text\", \"store\": true}, \"tracking_number\": {\"string\": \"Tracking Number\", \"type\": \"char\", \"search\": true, \"store\": true}, \"package_number\": {\"string\": \"Package Number\", \"type\": \"char\", \"search\": true, \"store\": true}, \"logistics_channel_id\": {\"string\": \"Logistic Channel ID\", \"type\": \"integer\", \"store\": true}, \"service_code\": {\"string\": \"Service Code\", \"type\": \"char\", \"store\": true}, \"first_mile_name\": {\"string\": \"First Mile Name\", \"type\": \"char\", \"store\": true}, \"last_mile_name\": {\"string\": \"Last Mile Name\", \"type\": \"char\", \"store\": true}, \"zone\": {\"string\": \"Zone\", \"type\": \"char\", \"store\": true}, \"lane_code\": {\"string\": \"Lane Code\", \"type\": \"char\", \"store\": true}, \"warehouse_address\": {\"string\": \"Warehouse Address\", \"type\": \"text\", \"store\": true}, \"warehouse_id\": {\"string\": \"Warehouse ID\", \"type\": \"char\", \"store\": true}, \"first_recipient_sort_code\": {\"string\": \"First Recipient Sort Code\", \"type\": \"char\", \"store\": true}, \"second_recipient_sort_code\": {\"string\": \"Second Recipient Sort Code\", \"type\": \"char\", \"store\": true}, \"third_recipient_sort_code\": {\"string\": \"Third Recipient Sort Code\", \"type\": \"char\", \"store\": true}, \"first_sender_sort_code\": {\"string\": \"First Sender Sort Code\", \"type\": \"char\", \"store\": true}, \"second_sender_sort_code\": {\"string\": \"Second Sender Sort Code\", \"type\": \"char\", \"store\": true}, \"third_sender_sort_code\": {\"string\": \"Third Sender Sort Code\", \"type\": \"char\", \"store\": true}, \"return_first_sort_code\": {\"string\": \"Return First Sort Code\", \"type\": \"char\", \"store\": true}, \"escrow_release_time\": {\"string\": \"Escrow Release Time\", \"type\": \"datetime\", \"store\": true}, \"escrow_amount\": {\"string\": \"Escrow Amount\", \"type\": \"decimal\", \"store\": true}, \"buyer_total_amount\": {\"string\": \"Buyer Total Amount\", \"type\": \"decimal\", \"store\": true}, \"original_price\": {\"string\": \"Original Price\", \"type\": \"decimal\", \"store\": true}, \"seller_discount\": {\"string\": \"Seller Discount\", \"type\": \"decimal\", \"store\": true}, \"shopee_discount\": {\"string\": \"Shopee Discount\", \"type\": \"decimal\", \"store\": true}, \"voucher_from_seller\": {\"string\": \"Voucher From Seller\", \"type\": \"decimal\", \"store\": true}, \"voucher_from_shopee\": {\"string\": \"Voucher From Shopee\", \"type\": \"decimal\", \"store\": true}, \"coins\": {\"string\": \"Coins\", \"type\": \"decimal\", \"store\": true}, \"buyer_paid_shipping_fee\": {\"string\": \"Buyer Paid Shipping Fee\", \"type\": \"decimal\", \"store\": true}, \"buyer_transaction_fee\": {\"string\": \"Buyer Transaction Fee\", \"type\": \"decimal\", \"store\": true}, \"cross_border_tax\": {\"string\": \"Cross Border Tax\", \"type\": \"decimal\", \"store\": true}, \"payment_promotion\": {\"string\": \"Payment Promotion\", \"type\": \"decimal\", \"store\": true}, \"commission_fee\": {\"string\": \"Commission Fee\", \"type\": \"decimal\", \"store\": true}, \"service_fee\": {\"string\": \"Decimal Fee\", \"type\": \"decimal\", \"store\": true}, \"seller_transaction_fee\": {\"string\": \"Seller Transaction Fee\", \"type\": \"decimal\", \"store\": true}, \"seller_lost_compensation\": {\"string\": \"Seller Lost Compensation\", \"type\": \"decimal\", \"store\": true}, \"seller_coin_cash_back\": {\"string\": \"Seller Coin Cash Back\", \"type\": \"decimal\", \"store\": true}, \"escrow_tax\": {\"string\": \"Escrow Tax\", \"type\": \"decimal\", \"store\": true}, \"final_shipping_fee\": {\"string\": \"Final Shipping Fee\", \"type\": \"decimal\", \"store\": true}, \"order_chargeable_weight\": {\"string\": \"Order Chargeable Weight\", \"type\": \"integer\", \"store\": true}, \"shopee_shipping_rebate\": {\"string\": \"Shopee Shipping Rebate\", \"type\": \"decimal\", \"store\": true}, \"shopee_fee_discount_from_3pl\": {\"string\": \"Shopee Fee Discount From 3PL\", \"type\": \"decimal\", \"store\": true}, \"seller_shipping_discount\": {\"string\": \"Seller Shipping Discount\", \"type\": \"decimal\", \"store\": true}, \"seller_voucher_code\": {\"string\": \"Seller Voucher Code\", \"type\": \"char\", \"store\": true}, \"drc_adjustable_refund\": {\"string\": \"Dispute Resolution Center Adjustable Refund\", \"type\": \"decimal\", \"store\": true}, \"cost_of_goods_sold\": {\"string\": \"Cost of Goods Sold\", \"type\": \"decimal\", \"store\": true}, \"original_cost_of_goods_sold\": {\"string\": \"Original Cost of Goods Sold\", \"type\": \"decimal\", \"store\": true}, \"original_shopee_discount\": {\"string\": \"Original Shopee Discount\", \"type\": \"decimal\", \"store\": true}, \"seller_return_refund\": {\"string\": \"Seller Return Refund\", \"type\": \"decimal\", \"store\": true}, \"escrow_amount_pri\": {\"string\": \"Escrow Amount Pri\", \"type\": \"decimal\", \"store\": true}, \"buyer_total_amount_pri\": {\"string\": \"Buyer Total Amount Pri\", \"type\": \"decimal\", \"store\": true}, \"original_price_pri\": {\"string\": \"Original Price Pri\", \"type\": \"decimal\", \"store\": true}, \"seller_return_refund_pri\": {\"string\": \"Seller Return Refund Pri\", \"type\": \"decimal\", \"store\": true}, \"commission_fee_pri\": {\"string\": \"Commision Fee Pri\", \"type\": \"decimal\", \"store\": true}, \"drc_adjustable_refund_pri\": {\"string\": \"Dispute Resolution Center Adjustable Refund Pri\", \"type\": \"decimal\", \"store\": true}, \"pri_currency\": {\"string\": \"Primary Currency\", \"type\": \"char\", \"store\": true}, \"aff_currency\": {\"string\": \"Affliate Currency\", \"type\": \"char\", \"store\": true}, \"exchange_rate\": {\"string\": \"Exchange Rate\", \"type\": \"decimal\", \"store\": true}, \"reverse_shipping_fee\": {\"string\": \"Reverse Shipping Fee\", \"type\": \"decimal\", \"store\": true}, \"final_product_protection\": {\"string\": \"Final Product Protection\", \"type\": \"decimal\", \"store\": true}, \"credit_card_promotion\": {\"string\": \"Credit Card Promotion\", \"type\": \"decimal\", \"store\": true}, \"credit_card_transaction_fee\": {\"string\": \"Credit Card Transaction Fee\", \"type\": \"decimal\", \"store\": true}, \"final_product_vat_tax\": {\"string\": \"Final Product Value Added Tax\", \"type\": \"decimal\", \"store\": true}, \"sale_orders\": {\"string\": \"Sale Orders\", \"type\": \"one2many\", \"relation\": \"sale.order\", \"relfield\": \"related_id\"}, \"pickings\": {\"string\": \"Stock Pickings\", \"type\": \"one2many\", \"relation\": \"stock.picking\", \"relfield\": \"related_id\"}, \"invoices\": {\"string\": \"Invoices\", \"type\": \"one2many\", \"relation\": \"account.invoice\", \"relfield\": \"related_id\"}, \"payments\": {\"string\": \"Payments\", \"type\": \"one2many\", \"relation\": \"account.payment\", \"relfield\": \"related_id\"}, \"weight\": {\"string\": \"weight\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_weight\"}, \"show_warning\": {\"string\": \"Show Warning\", \"type\": \"boolean\", \"readonly\": true, \"search\": true, \"store\": true, \"function\": \"get_show_warning\"}, \"ignore_warning\": {\"string\": \"Ignore Warning\", \"type\": \"boolean\", \"store\": true}, \"logs\": {\"string\": \"Logs\", \"type\": \"text\", \"store\": true}}}, \"shopee.order.item\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"order_id\": {\"string\": \"Shopee Order\", \"type\": \"many2one\", \"relation\": \"shopee.order\", \"store\": true}, \"item_id\": {\"string\": \"Item ID\", \"type\": \"char\", \"store\": true}, \"item_name\": {\"string\": \"Item Name\", \"type\": \"char\", \"store\": true}, \"item_sku\": {\"string\": \"Item SKU\", \"type\": \"char\", \"store\": true}, \"model_id\": {\"string\": \"Model ID\", \"type\": \"char\", \"store\": true}, \"model_name\": {\"string\": \"Model Name\", \"type\": \"char\", \"store\": true}, \"model_quantity_purchased\": {\"string\": \"Model Quantity Purchased\", \"type\": \"integer\", \"store\": true}, \"model_original_price\": {\"string\": \"Model Original Price\", \"type\": \"decimal\", \"store\": true}, \"model_discounted_price\": {\"string\": \"Model Discounted Price\", \"type\": \"decimal\", \"store\": true}, \"wholesale\": {\"string\": \"Wholesale\", \"type\": \"boolean\", \"store\": true}, \"weight\": {\"string\": \"Weight\", \"type\": \"decimal\", \"store\": true}, \"original_price\": {\"string\": \"Original Price\", \"type\": \"decimal\", \"store\": true}, \"discounted_price\": {\"string\": \"Discounted Price\", \"type\": \"decimal\", \"store\": true}, \"discount_from_coin\": {\"string\": \"Discount From Coin\", \"type\": \"decimal\", \"store\": true}, \"discount_from_voucher_shopee\": {\"string\": \"Discount From Voucher Shopee\", \"type\": \"decimal\", \"store\": true}, \"discount_from_voucher_seller\": {\"string\": \"Discount From Voucher Seller\", \"type\": \"decimal\", \"store\": true}, \"activity_type\": {\"string\": \"Activity Type\", \"type\": \"char\", \"store\": true}, \"activity_id\": {\"string\": \"Activity ID\", \"type\": \"integer\", \"store\": true}, \"is_main_item\": {\"string\": \"Main Item\", \"type\": \"boolean\", \"store\": true}, \"quantity_purchased\": {\"string\": \"Quantity Purchased\", \"type\": \"integer\", \"store\": true}}}, \"shopee.webhook\": {\"string\": \"Shopee Webhook\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"datetime\", \"search\": true, \"store\": true}, \"body\": {\"string\": \"Body\", \"type\": \"text\", \"search\": true, \"store\": true}, \"processed_time\": {\"string\": \"Processed Time\", \"type\": \"datetime\", \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"new\", \"New\"], [\"done\", \"Done\"], [\"error\", \"Error\"]], \"search\": true, \"store\": true}, \"error\": {\"string\": \"Error\", \"type\": \"text\", \"store\": true}}}, \"shopee.product\": {\"string\": \"Shopee Product\", \"name_field\": \"item_name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"search\": true, \"store\": true}, \"account_id\": {\"string\": \"Shopee Account\", \"type\": \"many2one\", \"relation\": \"shopee.account\", \"search\": true, \"store\": true}, \"category_id\": {\"string\": \"Product Category\", \"type\": \"many2one\", \"relation\": \"shopee.product.categ\", \"search\": true, \"store\": true}, \"item_name\": {\"string\": \"Product Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Product Description\", \"type\": \"text\", \"search\": true, \"store\": true}, \"item_sku\": {\"string\": \"Parent SKU\", \"type\": \"char\", \"search\": true, \"store\": true}, \"shopee_create_time\": {\"string\": \"Shopee Create Time\", \"type\": \"datetime\", \"store\": true}, \"shopee_update_time\": {\"string\": \"Shopee Update Time\", \"type\": \"datetime\", \"store\": true}, \"current_price\": {\"string\": \"Current Price\", \"type\": \"decimal\", \"store\": true}, \"normal_stock\": {\"string\": \"Normal Stock\", \"type\": \"decimal\", \"store\": true}, \"condition\": {\"string\": [[\"NEW\", \"NEW\"], [\"USED\", \"USED\"]], \"type\": \"selection\", \"selection\": \"Condition\", \"store\": true}, \"item_status\": {\"string\": \"Item Status\", \"type\": \"selection\", \"selection\": [[\"NORMAL\", \"NORMAL\"], [\"DELETED\", \"DELETED\"], [\"BANNED\", \"BANNED\"], [\"UNLIST\", \"UNLIST\"]], \"search\": true, \"store\": true}, \"has_model\": {\"string\": \"Has Variants\", \"type\": \"boolean\", \"search\": true, \"store\": true}, \"tier_variation\": {\"string\": \"Tier Variations\", \"type\": \"one2many\", \"relation\": \"shopee.product.variation\", \"relfield\": \"shopee_product_id\"}, \"models\": {\"string\": \"Variations\", \"type\": \"one2many\", \"relation\": \"shopee.product.model\", \"relfield\": \"shopee_product_id\"}, \"product_id\": {\"string\": \"System Product\", \"type\": \"many2one\", \"relation\": \"product\", \"search\": true, \"store\": true}, \"show_warning\": {\"string\": \"Show Warning\", \"type\": \"boolean\", \"readonly\": true, \"store\": true, \"function\": \"get_show_warning\"}}}, \"shopee.product.categ\": {\"string\": \"Shopee Product Category\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"store\": true}, \"parent_id\": {\"string\": \"Parent Category\", \"type\": \"many2one\", \"relation\": \"shopee.product.categ\", \"search\": true, \"store\": true}, \"original_category_name\": {\"string\": \"Original Category Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"display_category_name\": {\"string\": \"Display Category Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"has_children\": {\"string\": \"Has Children\", \"type\": \"boolean\", \"search\": true, \"store\": true}}}, \"shopee.product.variation\": {\"string\": \"Shopee Product Variations\", \"name_field\": \"name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"shopee_product_id\": {\"string\": \"Shopee Product\", \"type\": \"many2one\", \"relation\": \"shopee.product\", \"required\": true, \"search\": true, \"store\": true}, \"index\": {\"string\": \"Index\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"option_list\": {\"string\": \"Options\", \"type\": \"one2many\", \"relation\": \"shopee.product.variation.option\", \"relfield\": \"variation_id\"}, \"options\": {\"string\": \"Options\", \"type\": \"text\", \"readonly\": true, \"function\": \"get_options\"}}}, \"shopee.product.variation.option\": {\"string\": \"Shopee Product Variations\", \"name_field\": \"value\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"value\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"index\": {\"string\": \"Index\", \"type\": \"integer\", \"required\": true, \"store\": true}, \"variation_id\": {\"string\": \"Variation\", \"type\": \"many2one\", \"relation\": \"shopee.product.variation\", \"store\": true}}}, \"shopee.product.model\": {\"string\": \"Shopee Product Model\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Model ID\", \"type\": \"char\", \"store\": true}, \"shopee_product_id\": {\"string\": \"Shopee Product\", \"type\": \"many2one\", \"relation\": \"shopee.product\", \"search\": true, \"store\": true}, \"model_sku\": {\"string\": \"Model SKU\", \"type\": \"char\", \"search\": true, \"store\": true}, \"current_price\": {\"string\": \"Current Price\", \"type\": \"decimal\", \"store\": true}, \"normal_stock\": {\"string\": \"Normal Stock\", \"type\": \"decimal\", \"store\": true}, \"product_id\": {\"string\": \"System Product\", \"type\": \"many2one\", \"relation\": \"product\", \"search\": true, \"store\": true}, \"tier_index\": {\"string\": \"Tier Index\", \"type\": \"text\", \"store\": true}, \"tier_info\": {\"string\": \"Tier Info\", \"type\": \"text\", \"readonly\": true, \"function\": \"get_tier_info\"}, \"show_warning\": {\"string\": \"Show Warning\", \"type\": \"boolean\", \"readonly\": true, \"store\": true, \"function\": \"get_show_warning\"}}}, \"lazada.account\": {\"string\": \"Lazada Account\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Shop Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"shop_idno\": {\"string\": \"Shop ID\", \"type\": \"char\", \"search\": true, \"store\": true}, \"auth_code\": {\"string\": \"Auth Code\", \"type\": \"char\", \"store\": true}, \"region\": {\"string\": \"Region\", \"type\": \"char\", \"store\": true}, \"status\": {\"string\": \"Status\", \"type\": \"char\", \"store\": true}, \"token\": {\"string\": \"Token\", \"type\": \"char\", \"store\": true}, \"refresh_token\": {\"string\": \"Refresh Token\", \"type\": \"char\", \"store\": true}, \"sale_channel_id\": {\"string\": \"Sales Channel\", \"type\": \"many2one\", \"relation\": \"sale.channel\", \"store\": true}, \"sync_records\": {\"string\": \"Sync Records\", \"type\": \"one2many\", \"relation\": \"sync.record\", \"relfield\": \"account_id\"}}}, \"qb.sync\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"file\": {\"string\": \"CSV File\", \"type\": \"file\", \"required\": true, \"store\": true}}}, \"firebase.account\": {\"string\": \"Firebase Account\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Account Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"db_url\": {\"string\": \"Database URL\", \"type\": \"char\", \"store\": true}, \"key_json\": {\"string\": \"Firebase Key (JSON)\", \"type\": \"text\", \"store\": true}, \"sync_models\": {\"string\": \"Sync Models\", \"type\": \"one2many\", \"relation\": \"sync.model\", \"relfield\": \"firebase_account_id\"}}}, \"sync.model\": {\"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"firebase_account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"firebase.account\", \"required\": true, \"store\": true}, \"model_id\": {\"string\": \"Model\", \"type\": \"many2one\", \"relation\": \"model\", \"required\": true, \"store\": true}, \"fields\": {\"string\": \"Fields\", \"type\": \"text\", \"store\": true}, \"enable_realtime\": {\"string\": \"Realtime Sync\", \"type\": \"boolean\", \"store\": true}, \"last_sync_time\": {\"string\": \"Last Sync Time\", \"type\": \"datetime\", \"store\": true}, \"filter\": {\"string\": \"Filter\", \"type\": \"char\", \"store\": true}, \"path\": {\"string\": \"Path\", \"type\": \"char\", \"store\": true}}}, \"chatgpt.account\": {\"string\": \"ChatGPT Account\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Account Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"api_key\": {\"string\": \"API Key\", \"type\": \"char\", \"store\": true}}}, \"chatgpt.conv\": {\"string\": \"ChatGPT Conversation\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"account_id\": {\"string\": \"Account\", \"type\": \"many2one\", \"relation\": \"chatgpt.account\", \"required\": true, \"store\": true}, \"model\": {\"string\": \"Model\", \"type\": \"selection\", \"selection\": [[\"gpt-3.5-turbo\", \"gpt-3.5-turbo\"], [\"gpt-4\", \"gpt-4\"]], \"required\": true, \"store\": true}, \"prompt_id\": {\"string\": \"Prompt\", \"type\": \"many2one\", \"relation\": \"chatgpt.prompt\", \"store\": true}, \"messages\": {\"string\": \"Chat Messages\", \"type\": \"one2many\", \"relation\": \"chatgpt.message\", \"relfield\": \"conv_id\"}}}, \"chatgpt.message\": {\"string\": \"ChatGPT Message\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"conv_id\": {\"string\": \"Conversation\", \"type\": \"many2one\", \"relation\": \"chatgpt.conv\", \"required\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"role\": {\"string\": \"Role\", \"type\": \"selection\", \"selection\": [[\"system\", \"System\"], [\"user\", \"User\"], [\"assistant\", \"Assistant\"]], \"required\": true, \"store\": true}, \"content\": {\"string\": \"Content\", \"type\": \"text\", \"required\": true, \"store\": true}, \"orig_content\": {\"string\": \"Original Content\", \"type\": \"text\", \"store\": true}, \"name\": {\"string\": \"Author\", \"type\": \"char\", \"store\": true}, \"error\": {\"string\": \"Error\", \"type\": \"text\", \"store\": true}, \"image\": {\"string\": \"Image\", \"type\": \"file\", \"store\": true}}}, \"chatgpt.prompt\": {\"string\": \"ChatGPT Prompt\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Prompt Name\", \"type\": \"char\", \"required\": true, \"store\": true}, \"content\": {\"string\": \"Prompt Content\", \"type\": \"text\", \"required\": true, \"store\": true}}}, \"trial\": {\"string\": \"Trial\", \"name_field\": \"domain\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"required\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"ip_addr\": {\"string\": \"IP Address\", \"type\": \"char\", \"store\": true}, \"first_name\": {\"string\": \"First Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"last_name\": {\"string\": \"Last Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"email\": {\"string\": \"Email\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"password\": {\"string\": \"Password\", \"type\": \"char\", \"required\": true, \"store\": true}, \"company\": {\"string\": \"Company\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"domain\": {\"string\": \"Domain\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"phone\": {\"string\": \"Phone\", \"type\": \"char\", \"search\": true, \"store\": true}, \"emails\": {\"string\": \"Emails\", \"type\": \"one2many\", \"relation\": \"email.message\", \"relfield\": \"related_id\"}, \"opport_id\": {\"string\": \"Sales Opportunity\", \"type\": \"many2one\", \"relation\": \"sale.opportunity\", \"store\": true}}}, \"ed.student\": {\"string\": \"USSDC\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"email\": {\"string\": \"Email\", \"type\": \"char\", \"search\": true, \"store\": true}, \"activity_category_new\": {\"string\": \"Activity Category\", \"type\": \"many2one\", \"relation\": \"ed.teacher\", \"store\": true}, \"activity_category\": {\"string\": \"Activity Category\", \"type\": \"char\", \"search\": true, \"store\": true}, \"faculty\": {\"string\": \"Faculty/Department\", \"type\": \"char\", \"search\": true, \"store\": true}, \"student_club\": {\"string\": \"Student Club/Societies\", \"type\": \"char\", \"search\": true, \"store\": true}, \"programme\": {\"string\": \"Programme/Activities Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"start_date_new\": {\"string\": \"Start Date of Activity\", \"type\": \"date\", \"search\": true, \"store\": true}, \"end_date_new\": {\"string\": \"End Date of Activity\", \"type\": \"date\", \"search\": true, \"store\": true}, \"duration\": {\"string\": \"Duration\", \"type\": \"char\", \"search\": true, \"store\": true}, \"time\": {\"string\": \"Time\", \"type\": \"char\", \"search\": true, \"store\": true}, \"venue\": {\"string\": \"Venu/Platform\", \"type\": \"char\", \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description of the Activity\", \"type\": \"char\", \"search\": true, \"store\": true}, \"attachment\": {\"string\": \"Attachment\", \"type\": \"file\", \"store\": true}, \"submitted_by_name\": {\"string\": \"Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"submitted_by_email\": {\"string\": \"Email\", \"type\": \"char\", \"search\": true, \"store\": true}, \"submitted_by_contact\": {\"string\": \"Contact Number\", \"type\": \"char\", \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"pending\", \"Planned\"], [\"done\", \"Completed\"]], \"search\": true, \"store\": true}}}, \"ed.group\": {\"string\": \"Student Group\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Group Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"search\": true, \"store\": true}, \"students\": {\"string\": \"Students\", \"type\": \"many2many\", \"relation\": \"ed.student\"}, \"num_students\": {\"string\": \"Number Of Students\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_num_students\"}}}, \"ed.attend\": {\"string\": \"ANALYSIS\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"start_date\": {\"string\": \"Start Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"end_date\": {\"string\": \"End Date\", \"type\": \"date\", \"search\": true, \"store\": true}, \"organizer\": {\"string\": \"Organizer\", \"type\": \"char\", \"search\": true, \"store\": true}, \"programme\": {\"string\": \"Name of Programme/Activity\", \"type\": \"char\", \"search\": true, \"store\": true}, \"student_name\": {\"string\": \"Name\", \"type\": \"char\", \"search\": true, \"store\": true}, \"student_id_no\": {\"string\": \"Id/Matric No\", \"type\": \"char\", \"search\": true, \"store\": true}, \"student_components\": {\"string\": \"Components\", \"type\": \"char\", \"search\": true, \"store\": true}, \"student_components_id\": {\"string\": \"Components Id\", \"type\": \"char\", \"search\": true, \"store\": true}, \"student_points\": {\"string\": \"Points\", \"type\": \"char\", \"search\": true, \"store\": true}}}, \"ed.time\": {\"string\": \"Time Slot\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"time_from\": {\"string\": \"Time From\", \"type\": \"char\", \"required\": true, \"store\": true}, \"time_to\": {\"string\": \"Time To\", \"type\": \"char\", \"required\": true, \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"group_id\": {\"string\": \"Group\", \"type\": \"many2one\", \"relation\": \"ed.group\", \"required\": true, \"search\": true, \"store\": true}, \"course_id\": {\"string\": \"Course\", \"type\": \"many2one\", \"relation\": \"ed.course\", \"store\": true}}}, \"ed.eval\": {\"string\": \"Evaluation\", \"name_field\": \"title\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"course_id\": {\"string\": \"Course\", \"type\": \"many2one\", \"relation\": \"ed.course\", \"store\": true}, \"teacher_id\": {\"string\": \"Teacher\", \"type\": \"many2one\", \"relation\": \"ed.teacher\", \"store\": true}, \"results\": {\"string\": \"Results\", \"type\": \"one2many\", \"relation\": \"ed.eval.result\", \"relfield\": \"eval_id\"}, \"max_score\": {\"string\": \"Maximum Score\", \"type\": \"decimal\", \"store\": true}}}, \"ed.eval.result\": {\"string\": \"Evaluation Result\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"eval_id\": {\"string\": \"Evaluation\", \"type\": \"many2one\", \"relation\": \"ed.eval\", \"required\": true, \"search\": true, \"store\": true}, \"student_id\": {\"string\": \"Student\", \"type\": \"many2one\", \"relation\": \"ed.student\", \"required\": true, \"search\": true, \"store\": true}, \"score\": {\"string\": \"Result Score\", \"type\": \"decimal\", \"store\": true}}}, \"ed.event\": {\"string\": \"Event\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"time_from\": {\"string\": \"From Time\", \"type\": \"char\", \"store\": true}, \"time_to\": {\"string\": \"To Time\", \"type\": \"char\", \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"group_id\": {\"string\": \"Group\", \"type\": \"many2one\", \"relation\": \"ed.group\", \"search\": true, \"store\": true}}}, \"ed.calendar\": {\"string\": \"Calendar Day\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"school_term\", \"School Terms\"], [\"school_holiday\", \"School Holidays\"], [\"public_holiday\", \"Public Holidays\"]], \"required\": true, \"search\": true, \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"search\": true, \"store\": true}}}, \"ed.notice\": {\"string\": \"Notice\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"message\": {\"string\": \"Message\", \"type\": \"text\", \"search\": true, \"store\": true}, \"group_id\": {\"string\": \"Group\", \"type\": \"many2one\", \"relation\": \"ed.group\", \"search\": true, \"store\": true}}}, \"ed.fee\": {\"string\": \"Fee\", \"name_field\": \"title\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"student_id\": {\"string\": \"Student\", \"type\": \"many2one\", \"relation\": \"ed.student\", \"required\": true, \"store\": true}, \"due_date\": {\"string\": \"Due Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"search\": true, \"store\": true}, \"amount\": {\"string\": \"Fee Amount\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"amount_paid\": {\"string\": \"Paid Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"amount_due\": {\"string\": \"Due Amount\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_amount\"}, \"payments\": {\"string\": \"Payments\", \"type\": \"one2many\", \"relation\": \"ed.payment\", \"relfield\": \"fee_id\"}}}, \"ed.payment\": {\"string\": \"Payment\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"student_id\": {\"string\": \"Student\", \"type\": \"many2one\", \"relation\": \"ed.student\", \"required\": true, \"store\": true}, \"fee_id\": {\"string\": \"Fee\", \"type\": \"many2one\", \"relation\": \"ed.fee\", \"store\": true}, \"amount\": {\"string\": \"Paid Amount\", \"type\": \"decimal\", \"required\": true, \"store\": true}}}, \"ed.meal\": {\"string\": \"Meal\", \"name_field\": \"title\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"time\": {\"string\": \"Time\", \"type\": \"char\", \"required\": true, \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"image\": {\"string\": \"Image\", \"type\": \"file\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"search\": true, \"store\": true}, \"group_id\": {\"string\": \"Group\", \"type\": \"many2one\", \"relation\": \"ed.group\", \"store\": true}}}, \"ed.homework\": {\"string\": \"Homework\", \"name_field\": \"title\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"group_id\": {\"string\": \"Group\", \"type\": \"many2one\", \"relation\": \"ed.group\", \"required\": true, \"search\": true, \"store\": true}, \"course_id\": {\"string\": \"Course\", \"type\": \"many2one\", \"relation\": \"ed.course\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"search\": true, \"store\": true}, \"file\": {\"string\": \"File\", \"type\": \"file\", \"store\": true}, \"files\": {\"string\": \"Files\", \"type\": \"text\", \"store\": true}}}, \"ed.course\": {\"string\": \"Course\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Course Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"search\": true, \"store\": true}, \"period_id\": {\"string\": \"Period\", \"type\": \"many2one\", \"relation\": \"ed.period\", \"required\": true, \"search\": true, \"store\": true}, \"group_id\": {\"string\": \"Group\", \"type\": \"many2one\", \"relation\": \"ed.group\", \"required\": true, \"store\": true}}}, \"ed.period\": {\"string\": \"Period\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Period Name\", \"type\": \"char\", \"required\": true, \"search\": true, \"store\": true}, \"date_from\": {\"string\": \"From Date\", \"type\": \"date\", \"required\": true, \"store\": true}, \"date_to\": {\"string\": \"To Date\", \"type\": \"date\", \"required\": true, \"store\": true}}}, \"ed.meeting\": {\"string\": \"Appointment\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"time\": {\"string\": \"Time\", \"type\": \"char\", \"required\": true, \"store\": true}, \"teacher_id\": {\"string\": \"Teacher\", \"type\": \"many2one\", \"relation\": \"ed.teacher\", \"required\": true, \"search\": true, \"store\": true}, \"course_id\": {\"string\": \"Course\", \"type\": \"many2one\", \"relation\": \"ed.course\", \"search\": true, \"store\": true}, \"student_id\": {\"string\": \"Student\", \"type\": \"many2one\", \"relation\": \"ed.student\", \"required\": true, \"search\": true, \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"requested\", \"Requested\"], [\"accepted\", \"Accepted\"], [\"done\", \"Completed\"], [\"canceled\", \"Canceled\"]], \"required\": true, \"search\": true, \"store\": true}, \"notes\": {\"string\": \"Notes\", \"type\": \"text\", \"search\": true, \"store\": true}}}, \"ed.teacher\": {\"string\": \"Activity Category\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"search\": true, \"store\": true, \"translate\": true}}}, \"ed.media\": {\"string\": \"Media\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"sync_id\": {\"string\": \"Sync ID\", \"type\": \"char\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"required\": true, \"search\": true, \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"char\", \"store\": true}, \"file\": {\"string\": \"File\", \"type\": \"file\", \"store\": true}, \"group_id\": {\"string\": \"Group\", \"type\": \"many2one\", \"relation\": \"ed.group\", \"store\": true}, \"event_id\": {\"string\": \"Event\", \"type\": \"many2one\", \"relation\": \"ed.event\", \"store\": true}}}, \"client.db.tracker\": {\"string\": \"Client DB Tracker\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"desc\": {\"string\": \"description\", \"type\": \"char\", \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"store\": true}, \"person_in_charge\": {\"string\": \"Person In Charge\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"store\": true}, \"url\": {\"string\": \"Related Issue Log (URL)\", \"type\": \"char\", \"store\": true}, \"image\": {\"string\": \"Image\", \"type\": \"file\", \"store\": true}, \"servers\": {\"string\": \"Server\", \"type\": \"one2many\", \"relation\": \"client.db.tracker.function\", \"relfield\": \"server\"}, \"client\": {\"string\": \"Client\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"function\": {\"string\": \"Function\", \"type\": \"one2many\", \"relation\": \"client.db.tracker.function\", \"relfield\": \"function_id\"}, \"databases\": {\"string\": \"Database\", \"type\": \"one2many\", \"relation\": \"client.db.tracker.function\", \"relfield\": \"database\"}}}, \"analysis\": {\"string\": \"analysis\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}}}, \"client.db.tracker.change.type\": {\"string\": \"Change Type\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"store\": true}}}, \"client.db.tracker.function\": {\"string\": \"Client DB Tracker Function\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"desc\": {\"string\": \"Description\", \"type\": \"char\", \"store\": true}, \"date_added\": {\"string\": \"Date Added\", \"type\": \"date\", \"store\": true}, \"new_function_name\": {\"string\": \"New Function Name\", \"type\": \"char\", \"store\": true}, \"features\": {\"string\": \"Features\", \"type\": \"many2one\", \"relation\": \"client.db.tracker.features\", \"store\": true}, \"database\": {\"string\": \"Database\", \"type\": \"many2one\", \"relation\": \"client.db.tracker.database\", \"store\": true}, \"server\": {\"string\": \"Server\", \"type\": \"many2one\", \"relation\": \"client.db.tracker.server\", \"store\": true}, \"change_type\": {\"string\": \"Change Type\", \"type\": \"many2one\", \"relation\": \"client.db.tracker.change.type\", \"store\": true}, \"function_id\": {\"string\": \"Client DB Tracker Function\", \"type\": \"many2one\", \"relation\": \"client.db.tracker\", \"store\": true}, \"db_model_name\": {\"string\": \"DB Model Name\", \"type\": \"char\", \"store\": true}}}, \"client.db.tracker.features\": {\"string\": \"Features\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"store\": true}}}, \"hr2.employment.category\": {\"string\": \"Employment Category\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"store\": true}}}, \"client.db.tracker.server\": {\"string\": \"Server\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"store\": true}}}, \"gross_profit\": {\"string\": \"gross profit\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}}}, \"help2\": {\"string\": \"help2\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}}}, \"hr2.bank\": {\"string\": \"Bank\", \"name_field\": \"bank_name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"branch\": {\"string\": \"Branch\", \"type\": \"char\", \"store\": true}, \"city\": {\"string\": \"City\", \"type\": \"char\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"swift_code\": {\"string\": \"Swift Code\", \"type\": \"char\", \"store\": true}, \"bank_name\": {\"string\": \"Bank Name\", \"type\": \"char\", \"store\": true}}}, \"hr2.deduction.type\": {\"string\": \"Deduction Type\", \"name_field\": \"deduction_type\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"deduction_type\": {\"string\": \"Deduction Type\", \"type\": \"char\", \"store\": true}}}, \"hr2.department\": {\"string\": \"Department\", \"name_field\": \"department_name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"department_name\": {\"string\": \"Department Name\", \"type\": \"char\", \"store\": true}}}, \"hr2.employee\": {\"string\": \"Employee\", \"name_field\": \"first_name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"zakat_paid_total\": {\"string\": \"zakat_paid_total\", \"type\": \"decimal\", \"store\": true}, \"religious_travel_levy_exemption_total\": {\"string\": \"religious_travel_levy_exemption_total\", \"type\": \"decimal\", \"store\": true}, \"tax_scheme\": {\"string\": \"Tax Scheme\", \"type\": \"selection\", \"selection\": [[\"none\", \"Not Applicable\"], [\"normal\", \"Normal Remuneration\"], [\"rep\", \"Returning Expert Program\"], [\"irda\", \"Knowledge Worker at Specified Region\"]], \"store\": true}, \"value_of_living_accommodation\": {\"string\": \"Value Of Living Accommodation (VOLA)\", \"type\": \"decimal\", \"store\": true}, \"benefit_in_kind\": {\"string\": \"Benefit-In-Kind (BIK)\", \"type\": \"decimal\", \"store\": true}, \"pcb_record\": {\"string\": \"Monthly Tax Deduction (MTD)\", \"type\": \"one2many\", \"relation\": \"hr2.salary\", \"relfield\": \"name\"}, \"fee_tourism\": {\"string\": \"fee_tourism\", \"type\": \"integer\", \"store\": true}, \"fee_child_care_kindergartens\": {\"string\": \"fee_child_care_kindergartens\", \"type\": \"integer\", \"store\": true}, \"purchase_breastfeeding_equipment\": {\"string\": \"purchase_breastfeeding_equipment\", \"type\": \"integer\", \"store\": true}, \"expenses_sports\": {\"string\": \"expenses_sports\", \"type\": \"integer\", \"store\": true}, \"expenses_life_style\": {\"string\": \"expenses_life_style\", \"type\": \"integer\", \"store\": true}, \"contribution_socso\": {\"string\": \"contribution_socso\", \"type\": \"integer\", \"store\": true}, \"PRS_deferred_annuities\": {\"string\": \"PRS_deferred_annuities\", \"type\": \"integer\", \"store\": true}, \"education_medical_insurance\": {\"string\": \"education_medical_insurance\", \"type\": \"integer\", \"store\": true}, \"alimony_former_wife\": {\"string\": \"alimony_former_wife\", \"type\": \"integer\", \"store\": true}, \"net_deposit_sspn\": {\"string\": \"net_deposit_sspn\", \"type\": \"integer\", \"store\": true}, \"support_equipment_disable_person\": {\"string\": \"support_equipment_disable_person\", \"type\": \"integer\", \"store\": true}, \"self_medical_relief_total\": {\"string\": \"self_medical_relief_total\", \"type\": \"integer\", \"store\": true}, \"vaccination_expenses\": {\"string\": \"vaccination_expenses\", \"type\": \"integer\", \"store\": true}, \"medical_examination_complete\": {\"string\": \"medical_examination_complete\", \"type\": \"integer\", \"store\": true}, \"medical_expenses_serious_diseases\": {\"string\": \"medical_expenses_serious_diseases\", \"type\": \"integer\", \"store\": true}, \"father_mother_relief_total\": {\"string\": \"father_mother_relief_total\", \"type\": \"integer\", \"store\": true}, \"mother_relief\": {\"string\": \"mother_relief\", \"type\": \"integer\", \"store\": true}, \"father_relief\": {\"string\": \"father_relief\", \"type\": \"integer\", \"store\": true}, \"medical_expenses_parents\": {\"string\": \"medical_expenses_parents\", \"type\": \"integer\", \"store\": true}, \"life_insurance_epf_not_civil_servant\": {\"string\": \"life_insurance_epf_not_civil_servant\", \"type\": \"integer\", \"store\": true}, \"life_insurance_epf_civil_servant\": {\"string\": \"life_insurance_epf_civil_servant\", \"type\": \"integer\", \"store\": true}, \"self_education_and_improvement_total\": {\"string\": \"self_education_and_improvement_total\", \"type\": \"integer\", \"store\": true}, \"self_improvement\": {\"string\": \"self_improvement\", \"type\": \"integer\", \"store\": true}, \"self_education\": {\"string\": \"self_education\", \"type\": \"integer\", \"store\": true}, \"step_child_study_fulltime_disabled\": {\"string\": \"step_child_study_fulltime_disabled\", \"type\": \"integer\", \"store\": true}, \"step_child_study_fulltime\": {\"string\": \"step_child_study_fulltime\", \"type\": \"integer\", \"store\": true}, \"step_child_underage_disabled\": {\"string\": \"step_child_underage_disabled\", \"type\": \"integer\", \"store\": true}, \"step_child_study_A_level\": {\"string\": \"step_child_study_A_level\", \"type\": \"integer\", \"store\": true}, \"step_child_underage\": {\"string\": \"step_child_underage\", \"type\": \"integer\", \"store\": true}, \"legit_child_study_fulltime_disabled\": {\"string\": \"legit_child_study_fulltime_disabled\", \"type\": \"integer\", \"store\": true}, \"legit_child_study_fulltime\": {\"string\": \"legit_child_study_fulltime\", \"type\": \"integer\", \"store\": true}, \"legit_child_underage_disabled\": {\"string\": \"legit_child_underage_disabled\", \"type\": \"integer\", \"store\": true}, \"legit_child_study_A_level\": {\"string\": \"legit_child_study_A_level\", \"type\": \"integer\", \"store\": true}, \"legit_child_underage\": {\"string\": \"legit_child_underage\", \"type\": \"integer\", \"store\": true}, \"employee_disabled\": {\"string\": \"employee_disabled\", \"type\": \"boolean\", \"store\": true}, \"pay_zakat\": {\"string\": \"Pay Zakat\", \"type\": \"boolean\", \"store\": true}, \"latest_epf_relief_deduction\": {\"string\": \"Latest EPF and Other Approved Funds In This Company\", \"type\": \"decimal\", \"store\": true}, \"epf_relief_total_deduction\": {\"string\": \"Accumulated EPF and Other Approved Funds In This Company\", \"type\": \"decimal\", \"store\": true}, \"pcb_paid_total\": {\"string\": \"Total PCB Paid In This Company\", \"type\": \"decimal\", \"store\": true}, \"prev_epf_relief_total_deduction\": {\"string\": \"EPF Remuneration and Other Approved Funds made in Previous Company\", \"type\": \"decimal\", \"store\": true}, \"prev_pcb_paid_total\": {\"string\": \"Total PCB Paid In Previous Company\", \"type\": \"decimal\", \"store\": true}, \"prev_gross_income_total\": {\"string\": \"Total Gross Income Paid By Previous Employer\", \"type\": \"decimal\", \"store\": true}, \"epf_rate_extra\": {\"string\": \"Voluntary Excess Rate (%)\", \"type\": \"integer\", \"store\": true}, \"spouse_disabled\": {\"string\": \"spouse_disabled\", \"type\": \"boolean\", \"store\": true}, \"has_child\": {\"string\": \"Has Children \", \"type\": \"boolean\", \"store\": true}, \"epf_relief_ttl_deduction_prev\": {\"string\": \"EPF Remuneration and Other Approved Funds made on Previous Company\", \"type\": \"decimal\", \"store\": true}, \"child_own\": {\"string\": \"Have Children\", \"type\": \"selection\", \"selection\": [[\"Yes\", \"Yes\"], [\"No\", \"No\"]], \"store\": true}, \"child_disable_study_step_50\": {\"string\": \"Disable Child studying fulltime - Diploma/Degree onwards in Malaysia/Outside\", \"type\": \"integer\", \"store\": true}, \"child_study_18_step_50\": {\"string\": \">age of 18 and studying fulltime - Diploma/Degree onwards in Malaysia/Outside\", \"type\": \"integer\", \"store\": true}, \"child_disable_step_50\": {\"string\": \"Disable Child\", \"type\": \"integer\", \"store\": true}, \"child_under_18_step_50\": {\"string\": \"\n<age of 18 / 18 and above studying - included Certificate/Matriculation\", \"type\": \"integer\", \"store\": true}, \"child_disable_study_legi_100\": {\"string\": \"Disable Child studying fulltime - Diploma/Degree onwards in Malaysia/Outside\", \"type\": \"integer\", \"store\": true}, \"child_study_18_legi_100\": {\"string\": \">age of 18 and studying fulltime - Diploma/Degree onwards in Malaysia/Outside\", \"type\": \"integer\", \"store\": true}, \"child_disable_legi_100\": {\"string\": \"Disable Child\", \"type\": \"integer\", \"store\": true}, \"child_under_18_legi_100\": {\"string\": \"\n    <age of 18 / 18 and above studying - included Certificate/Matriculation\", \"type\": \"integer\", \"store\": true}, \"epf_relief_ttl_deduction\": {\"string\": \"Accumulated EPF and Other Approved Funds\", \"type\": \"decimal\", \"store\": true}, \"dsb_sp\": {\"string\": \"Disable Spouse\", \"type\": \"selection\", \"selection\": [[\"Yes\", \"Yes\"], [\"No\", \"No\"]], \"store\": true}, \"dsb_in\": {\"string\": \"Disable Individual\", \"type\": \"selection\", \"selection\": [[\"Yes\", \"Yes\"], [\"No\", \"No\"]], \"store\": true}, \"time_tracker_required\": {\"string\": \"Time Tracker Required\", \"type\": \"boolean\", \"store\": true}, \"pcb_paid\": {\"string\": \"Total PCB Paid In This Company\", \"type\": \"decimal\", \"store\": true}, \"pcb_paid_prev\": {\"string\": \"Total PCB Paid In Previous Company\", \"type\": \"decimal\", \"store\": true}, \"gross_income_paid_prv\": {\"string\": \"Gross Income Paid By Previous Employer\", \"type\": \"decimal\", \"store\": true}, \"year\": {\"string\": \"Year\", \"type\": \"many2one\", \"relation\": \"hr2.salary.year\", \"store\": true}, \"tax_resident\": {\"string\": \"Tax Resident\", \"type\": \"selection\", \"selection\": [[\"Resident\", \"Resident\"], [\"Non-Resident\", \"Non-Resident\"]], \"store\": true}, \"epf_add_rate\": {\"string\": \"Voluntary Excess Rate (%)\", \"type\": \"decimal\", \"store\": true}, \"employment_category\": {\"string\": \"Employment Category\", \"type\": \"many2one\", \"relation\": \"hr2.employment.category\", \"store\": true}, \"marriage_status\": {\"string\": \"Marriage Status\", \"type\": \"many2one\", \"relation\": \"hr2.salary.marriage.status\", \"store\": true}, \"epf_rate\": {\"string\": \"EPF Rate (%)\", \"type\": \"many2one\", \"relation\": \"hr2.salary.epf\", \"store\": true}, \"user_id\": {\"string\": \"User\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"rates\": {\"string\": \"Rates\", \"type\": \"one2many\", \"relation\": \"hr2.employee.rates\", \"relfield\": \"employee_id\"}, \"type_of_position\": {\"string\": \"Type of Position\", \"type\": \"selection\", \"selection\": [[\"Internship\", \"Internship\"], [\"Full Time\", \"Full Time\"], [\"Part Time\", \"Part Time\"], [\"Project Based\", \"Project Based\"], [\"Prorate\", \"Prorate\"]], \"store\": true}, \"full_name\": {\"string\": \"Full Name\", \"type\": \"char\", \"store\": true}, \"number\": {\"string\": \"Employee Code\", \"type\": \"char\", \"store\": true}, \"surname\": {\"string\": \"Surname\", \"type\": \"char\", \"store\": true}, \"report_to\": {\"string\": \"Reports to\", \"type\": \"many2one\", \"relation\": \"hr2.employee\", \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"hr2.employee.lines\", \"relfield\": \"job_scope\"}, \"job_summary\": {\"string\": \"Job Summary - Overall\", \"type\": \"text\", \"store\": true}, \"income_tax_no\": {\"string\": \"Income Tax No\", \"type\": \"char\", \"store\": true}, \"home_no\": {\"string\": \"Home No.\", \"type\": \"char\", \"store\": true}, \"job_title\": {\"string\": \"Job Title\", \"type\": \"many2one\", \"relation\": \"hr2.job.title\", \"store\": true}, \"bank_acc_no\": {\"string\": \"Bank Acc No\", \"type\": \"integer\", \"store\": true}, \"bank_name\": {\"string\": \"Bank Name\", \"type\": \"many2one\", \"relation\": \"hr2.bank\", \"store\": true}, \"department\": {\"string\": \"Department\", \"type\": \"many2one\", \"relation\": \"hr2.department\", \"store\": true}, \"ec_email\": {\"string\": \"Email\", \"type\": \"char\", \"store\": true}, \"ec_alternate_no\": {\"string\": \"Alternate No\", \"type\": \"char\", \"store\": true}, \"ec_mobile_phone\": {\"string\": \"Mobile No.\", \"type\": \"char\", \"store\": true}, \"ec_relationship\": {\"string\": \"Relationship\", \"type\": \"char\", \"store\": true}, \"ec_postcode\": {\"string\": \"Postcode\", \"type\": \"char\", \"store\": true}, \"ec_state\": {\"string\": \"State\", \"type\": \"char\", \"store\": true}, \"ec_city\": {\"string\": \"City\", \"type\": \"char\", \"store\": true}, \"ec_address\": {\"string\": \"Address\", \"type\": \"char\", \"store\": true}, \"ec_primary_contact\": {\"string\": \"Primary Contact\", \"type\": \"char\", \"store\": true}, \"driving_license_no\": {\"string\": \"Driving License No\", \"type\": \"char\", \"store\": true}, \"driving_license\": {\"string\": \"Driving License\", \"type\": \"selection\", \"selection\": [[\"Car\", \"Car\"], [\"Motorcycle\", \"Motorcycle\"]], \"store\": true}, \"mobile_phone\": {\"string\": \"Mobile No.\", \"type\": \"char\", \"store\": true}, \"email\": {\"string\": \"Email\", \"type\": \"char\", \"store\": true}, \"picture\": {\"string\": \"Picture\", \"type\": \"file\", \"store\": true}, \"passport_no\": {\"string\": \"Passport No\", \"type\": \"char\", \"store\": true}, \"ic_no\": {\"string\": \"IC No\", \"type\": \"char\", \"store\": true}, \"marital_status\": {\"string\": \"Marital Status\", \"type\": \"selection\", \"selection\": [[\"Single\", \"Single\"], [\"Married\", \"Married\"], [\"Divorced\", \"Divorced\"], [\"Widowed\", \"Widowed\"]], \"store\": true}, \"gender\": {\"string\": \"Gender\", \"type\": \"selection\", \"selection\": [[\"Male\", \"Male\"], [\"Female\", \"Female\"]], \"store\": true}, \"age\": {\"string\": \"Age\", \"type\": \"integer\", \"store\": true}, \"birth_date\": {\"string\": \"Birth Date\", \"type\": \"date\", \"store\": true}, \"religion\": {\"string\": \"Religion\", \"type\": \"char\", \"store\": true}, \"nationality\": {\"string\": \"Nationality\", \"type\": \"char\", \"store\": true}, \"postcode\": {\"string\": \"Postcode\", \"type\": \"integer\", \"store\": true}, \"state\": {\"string\": \"State\", \"type\": \"char\", \"store\": true}, \"city\": {\"string\": \"City\", \"type\": \"char\", \"store\": true}, \"home_address\": {\"string\": \"Home Address\", \"type\": \"char\", \"store\": true}, \"employer_contribution\": {\"string\": \"Employer Contribution (%)\", \"type\": \"char\", \"store\": true}, \"employee_contribution\": {\"string\": \"Employee Contribution (%)\", \"type\": \"char\", \"store\": true}, \"epf_no\": {\"string\": \"EPF No\", \"type\": \"char\", \"store\": true}, \"socso_no\": {\"string\": \"SOCSO No\", \"type\": \"char\", \"store\": true}, \"allowance\": {\"string\": \"Allowance (RM)\", \"type\": \"decimal\", \"store\": true}, \"salary\": {\"string\": \"Salary (RM)\", \"type\": \"decimal\", \"store\": true}, \"resign_date\": {\"string\": \"Resign Date\", \"type\": \"date\", \"store\": true}, \"hire_date\": {\"string\": \"Hire Date\", \"type\": \"date\", \"store\": true}, \"work_status\": {\"string\": \"Work Status\", \"type\": \"selection\", \"selection\": [[\"Working\", \"Working\"], [\"Dismissed\", \"Dismissed\"], [\"Resigned\", \"Resigned\"], [\"Contract Terminated\", \"Contract Terminated\"]], \"store\": true}, \"title\": {\"string\": \"Title\", \"type\": \"selection\", \"selection\": [[\"Mr.\", \"Mr.\"], [\"Mrs.\", \"Mrs.\"], [\"Miss\", \"Miss\"]], \"store\": true}, \"first_name\": {\"string\": \"First Name\", \"type\": \"char\", \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"store\": true}}}, \"hr2.job.title\": {\"string\": \"Job Title\", \"name_field\": \"job_title\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"job_title\": {\"string\": \"Job Title\", \"type\": \"char\", \"store\": true}}}, \"testing\": {\"string\": \"testing\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"name\", \"type\": \"char\", \"required\": true, \"store\": true}}}, \"hr2.employee.lines\": {\"string\": \"Employee Lines\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"objectives\": {\"string\": \"Objectives\", \"type\": \"char\", \"store\": true}, \"job_scope\": {\"string\": \"Job Scope\", \"type\": \"many2one\", \"relation\": \"hr2.employee\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"char\", \"store\": true}, \"no\": {\"string\": \"No.\", \"type\": \"integer\", \"store\": true}}}, \"hr2.job.objectives\": {\"string\": \"Job Objectives\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"objective\": {\"string\": \"Objective\", \"type\": \"char\", \"store\": true}}}, \"price_calc_feature\": {\"string\": \"Features\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"currency\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"store\": true}, \"std_package_price\": {\"string\": \"Std Package Price\", \"type\": \"char\", \"store\": true}, \"lite_package_price\": {\"string\": \"Lite Package Price\", \"type\": \"char\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"char\", \"store\": true}, \"unit\": {\"string\": \"Unit\", \"type\": \"many2one\", \"relation\": \"uom\", \"store\": true}, \"std_package\": {\"string\": \"Std Package\", \"type\": \"char\", \"store\": true}, \"lite_package\": {\"string\": \"Lite Package\", \"type\": \"char\", \"store\": true}, \"module\": {\"string\": \"Module\", \"type\": \"many2one\", \"relation\": \"type.of.module\", \"store\": true}}}, \"price_calculator_ad\": {\"string\": \"Price Calculator Adjustment\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"date_created\": {\"string\": \"Day Created\", \"type\": \"date\", \"required\": true, \"store\": true}, \"lite_product_code_max\": {\"string\": \"Maximum Product Codes for Lite Package\", \"type\": \"integer\", \"store\": true}, \"std_employee_max\": {\"string\": \"Maximum Employees for Standard Package\", \"type\": \"integer\", \"store\": true}, \"lite_employee_max\": {\"string\": \"Maximum Employees for Lite Package\", \"type\": \"integer\", \"store\": true}, \"lite_bom_max\": {\"string\": \"Maximum Bill of Materials for Lite Package\", \"type\": \"integer\", \"store\": true}, \"std_bom_max\": {\"string\": \"Maximum Bill of Materials for Standard Package\", \"type\": \"integer\", \"store\": true}, \"std_product_code_max\": {\"string\": \"Maximum Product Codes for Standard Package\", \"type\": \"integer\", \"store\": true}, \"lite_transaction_max\": {\"string\": \"Maximum Transactions for Lite Package\", \"type\": \"integer\", \"store\": true}, \"std_transaction_max\": {\"string\": \"Maximum Transactions for Standard Package\", \"type\": \"integer\", \"store\": true}}}, \"hr2.pcb\": {\"string\": \"PCB Form\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"number\": {\"string\": \"ID\", \"type\": \"char\", \"store\": true}, \"R_nonres\": {\"string\": \"R = Percentage of Tax Rates\", \"type\": \"decimal\", \"store\": true}, \"C\": {\"string\": \" The number of children eligible\", \"type\": \"integer\", \"store\": true}, \"Q\": {\"string\": \"Deduction for eligible Children\", \"type\": \"integer\", \"store\": true}, \"id_no\": {\"string\": \"Identity Card or Passport Number\", \"type\": \"char\", \"store\": true}, \"mtd_round_none\": {\"string\": \"MTD (after round off)\", \"type\": \"decimal\", \"store\": true}, \"mtd_round\": {\"string\": \"MTD (after round off)\", \"type\": \"decimal\", \"store\": true}, \"cur_total_deduct\": {\"string\": \"Total Monthly Deduction\", \"type\": \"decimal\", \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"many2one\", \"relation\": \"hr2.employee\", \"store\": true}, \"full_name\": {\"string\": \"Name\", \"type\": \"char\", \"store\": true}, \"non_res_mtd\": {\"string\": \"MTD\", \"type\": \"decimal\", \"store\": true}, \"non_res_add_rem\": {\"string\": \"Total Additional Remuneration\", \"type\": \"decimal\", \"store\": true}, \"non_res_vola\": {\"string\": \"Value of Living Accommodation (VOLA)\", \"type\": \"decimal\", \"store\": true}, \"non_res_bik\": {\"string\": \"Benefit-in-Kind (BIK)\", \"type\": \"decimal\", \"store\": true}, \"non_res_cur_rem\": {\"string\": \"Current Month's Remuneration\", \"type\": \"decimal\", \"store\": true}, \"mtd\": {\"string\": \"MTD = MTD Current Month\", \"type\": \"decimal\", \"store\": true}, \"mtdC\": {\"string\": \"MTD (C) \", \"type\": \"decimal\", \"store\": true}, \"CS\": {\"string\": \"CS = Yearly Tax\", \"type\": \"decimal\", \"store\": true}, \"P_CS\": {\"string\": \"P = Income tax including Additional Remuneration\", \"type\": \"decimal\", \"store\": true}, \"Kt\": {\"string\": \"Kt = EPF of Additional Remuneration\", \"type\": \"decimal\", \"store\": true}, \"Yt\": {\"string\": \"Yt = Current Month's Gross Additional Remuneration\", \"type\": \"decimal\", \"store\": true}, \"mtdb\": {\"string\": \"MTD (B)\", \"type\": \"decimal\", \"store\": true}, \"netMTD_IRDA\": {\"string\": \"Net MTD\", \"type\": \"decimal\", \"store\": true}, \"curMonthMTD_IRDA\": {\"string\": \"Current Month MTD\", \"type\": \"decimal\", \"store\": true}, \"X_IRDA\": {\"string\": \"X = Accumulated MTD Paid\", \"type\": \"decimal\", \"store\": true}, \"Z_IRDA\": {\"string\": \"Z = Accumulated Zakat Paid\", \"type\": \"decimal\", \"store\": true}, \"R_IRDA\": {\"string\": \"R = Percentage of tax rates\", \"type\": \"decimal\", \"store\": true}, \"P_IRDA\": {\"string\": \"P = Total chargeable income for a year exclude\", \"type\": \"decimal\", \"store\": true}, \"netMTD_REP\": {\"string\": \"Net MTD\", \"type\": \"decimal\", \"store\": true}, \"curMonthMTD_REP\": {\"string\": \"Current Month MTD\", \"type\": \"decimal\", \"store\": true}, \"X_REP\": {\"string\": \"X = Accumulated MTD Paid\", \"type\": \"decimal\", \"store\": true}, \"Z_REP\": {\"string\": \"Z = Accumulated Zakat Paid\", \"type\": \"decimal\", \"store\": true}, \"netMTD_resident\": {\"string\": \"Net MTD\", \"type\": \"decimal\", \"store\": true}, \"curMonthMTD_resident\": {\"string\": \"Current Month MTD\", \"type\": \"decimal\", \"store\": true}, \"Z_resident\": {\"string\": \"Z = Accumulated Zakat Paid\", \"type\": \"decimal\", \"store\": true}, \"X_resident\": {\"string\": \"X = Accumulated MTD Paid\", \"type\": \"decimal\", \"store\": true}, \"T\": {\"string\": \"T = Individual or spouse rebate\", \"type\": \"decimal\", \"store\": true}, \"R_REP\": {\"string\": \"R = Percentage of tax rates\", \"type\": \"decimal\", \"store\": true}, \"R_resident\": {\"string\": \"R = Percentage of Tax Rates\", \"type\": \"decimal\", \"store\": true}, \"P_REP\": {\"string\": \"P = Total chargeable income for a year exclude\", \"type\": \"decimal\", \"store\": true}, \"P_resident\": {\"string\": \"P = Total chargeable Income for a year exclude\", \"type\": \"decimal\", \"store\": true}, \"yearlyTax\": {\"string\": \"Yearly Tax\", \"type\": \"decimal\", \"store\": true}, \"B\": {\"string\": \"B = Amount of Tax on M less Tax Rebate for Individual and Spouse\", \"type\": \"decimal\", \"store\": true}, \"M\": {\"string\": \"M = First Chargeable Income\", \"type\": \"decimal\", \"store\": true}, \"LP1\": {\"string\": \"LP1 = Other Deductions for Current Month\", \"type\": \"decimal\", \"store\": true}, \"ELP\": {\"string\": \"ELP = Other Deductions from Previous Employment\", \"type\": \"decimal\", \"store\": true}, \"QC\": {\"string\": \"QC = Deduction for Eligible Children\", \"type\": \"decimal\", \"store\": true}, \"Su\": {\"string\": \"Su = Deduction for Disabled Spouse\", \"type\": \"decimal\", \"store\": true}, \"Du\": {\"string\": \"Du = Deduction for Disabled Individual\", \"type\": \"decimal\", \"store\": true}, \"S\": {\"string\": \"S = Deduction for Spouse\", \"type\": \"decimal\", \"store\": true}, \"D\": {\"string\": \"D = Deduction for Individual\", \"type\": \"decimal\", \"store\": true}, \"employment_category\": {\"string\": \"Employment Category\", \"type\": \"many2one\", \"relation\": \"hr2.employment.category\", \"store\": true}, \"n\": {\"string\": \"n = Remaining Working Month \", \"type\": \"integer\", \"store\": true}, \"K2\": {\"string\": \"K2 = Estimated balance of contribution to EPF\", \"type\": \"decimal\", \"store\": true}, \"Y2\": {\"string\": \"Y2 = Following Month Estimated Remuneration \", \"type\": \"decimal\", \"store\": true}, \"K1\": {\"string\": \"K1 = Current EPF\", \"type\": \"decimal\", \"store\": true}, \"Y1\": {\"string\": \"Y1 = Current Remuneration\", \"type\": \"decimal\", \"store\": true}, \"K\": {\"string\": \"K = Previous EPF\", \"type\": \"decimal\", \"store\": true}, \"E\": {\"string\": \"E = Previous Net Remuneration\", \"type\": \"decimal\", \"store\": true}, \"Y\": {\"string\": \"Y = Previous Gross Remuneration\", \"type\": \"decimal\", \"store\": true}, \"year\": {\"string\": \"Year\", \"type\": \"integer\", \"store\": true}, \"month\": {\"string\": \"Month\", \"type\": \"selection\", \"selection\": [[1, \"January\"], [2, \"February\"], [3, \"March\"], [4, \"April\"], [5, \"May\"], [6, \"June\"], [7, \"July\"], [8, \"August\"], [9, \"September\"], [10, \"October\"], [11, \"November\"], [12, \"December\"]], \"store\": true}, \"prev_acc_mtd\": {\"string\": \"Accumulated MTD paid (including MTD on additional remuneration)\", \"type\": \"decimal\", \"store\": true}, \"disabled_child_study_total\": {\"string\": \"Total (RM)\", \"type\": \"decimal\", \"store\": true}, \"disabled_child_total\": {\"string\": \"Total (RM)\", \"type\": \"decimal\", \"store\": true}, \"child_18_full_time_total\": {\"string\": \"Total (RM)\", \"type\": \"decimal\", \"store\": true}, \"child_18_study_total\": {\"string\": \"Total (RM)\", \"type\": \"decimal\", \"store\": true}, \"child_under_18_total\": {\"string\": \"Total (RM)\", \"type\": \"decimal\", \"store\": true}, \"cur_zakat\": {\"string\": \"Zakat or Fitrah\", \"type\": \"decimal\", \"store\": true}, \"cur_fee_child_care\": {\"string\": \"Fees paid to Child Care Centre and Kindergardens\", \"type\": \"decimal\", \"store\": true}, \"cur_purch_bre_equip\": {\"string\": \"Purchase of Breastfeeding Equipment (deduction is allowed once every 2 years for women tax payer only)\", \"type\": \"decimal\", \"store\": true}, \"cur_purch\": {\"string\": \"Purchase of readings, computer, smartphone, tablet, sport equipment, gymnasium membership and subscription of broadband internet\", \"type\": \"decimal\", \"store\": true}, \"cur_socso_cont\": {\"string\": \"SOCSO Contribution\", \"type\": \"decimal\", \"store\": true}, \"cur_def_annuity\": {\"string\": \"Deferred annuity premium or contribution to Private Retirement Scheme\", \"type\": \"decimal\", \"store\": true}, \"cur_edu_med_ins_prem\": {\"string\": \"Education and medical insurance premium\", \"type\": \"decimal\", \"store\": true}, \"cur_ins_oth_ret_civ_ser\": {\"string\": \"Life insurance premium for Other than Retired Civil Servant\", \"type\": \"decimal\", \"store\": true}, \"cur_ins_ret_civ_ser\": {\"string\": \"Life insurance premium for Retired Civil Servant\", \"type\": \"decimal\", \"store\": true}, \"cur_alimony\": {\"string\": \"Payment of alimony to former wife\", \"type\": \"decimal\", \"store\": true}, \"cur_net_dep_sspn\": {\"string\": \"Net deposit in Skim Simpanan Pendidikan Nasional (SSPN)\", \"type\": \"decimal\", \"store\": true}, \"cur_total_a_b\": {\"string\": \"Total a + b\", \"type\": \"decimal\", \"store\": true}, \"cur_com_med_exam\": {\"string\": \"(b)Complete medical examination for self, spouse or child\", \"type\": \"decimal\", \"store\": true}, \"cur_med_exp_serious\": {\"string\": \"(a)Medical expenses on serious diseases for self, spouse or child\", \"type\": \"decimal\", \"store\": true}, \"cur_edu_fees\": {\"string\": \"Education fees\", \"type\": \"decimal\", \"store\": true}, \"cur_support_disabled\": {\"string\": \"Basic supporting equipment for disabled self, spouse, child or parent\", \"type\": \"decimal\", \"store\": true}, \"cur_mother_relief\": {\"string\": \"Mother Relief\", \"type\": \"decimal\", \"store\": true}, \"cur_father_relief\": {\"string\": \"Father Relief\", \"type\": \"decimal\", \"store\": true}, \"cur_med_exp\": {\"string\": \"Medical expenses for own parents, special need and parent care\", \"type\": \"decimal\", \"store\": true}, \"cur_total_net_add_rem\": {\"string\": \"Total net additional remuneration\", \"type\": \"decimal\", \"store\": true}, \"cur_add_rem_epf\": {\"string\": \"Additional remuneration's EPF [not exceeding RM4000 per year]\", \"type\": \"decimal\", \"store\": true}, \"cur_total_add_rem\": {\"string\": \"Total additional remuneration\", \"type\": \"decimal\", \"store\": true}, \"cur_others\": {\"string\": \"Others\", \"type\": \"decimal\", \"store\": true}, \"cur_inc_tax_on_behalf\": {\"string\": \"Income tax paid by employers on behalf of employees\", \"type\": \"decimal\", \"store\": true}, \"cur_director_fee\": {\"string\": \"Director's fee (not paid monthly)\", \"type\": \"decimal\", \"store\": true}, \"cur_compensation\": {\"string\": \"Compensation\", \"type\": \"decimal\", \"store\": true}, \"cur_gratuity\": {\"string\": \"Gratuity\", \"type\": \"decimal\", \"store\": true}, \"cur_commission\": {\"string\": \"Commissions (not paid monthly)\", \"type\": \"decimal\", \"store\": true}, \"cur_arrears\": {\"string\": \"Arrears\", \"type\": \"decimal\", \"store\": true}, \"cur_bonus\": {\"string\": \"Bonus\", \"type\": \"decimal\", \"store\": true}, \"cur_vola\": {\"string\": \"Value Of Living Accomodation (VOLA)\", \"type\": \"decimal\", \"store\": true}, \"cur_bik\": {\"string\": \"Benefit-In-Kind (BIK)\", \"type\": \"decimal\", \"store\": true}, \"cur_total_net_rem\": {\"string\": \"Total net current months remuneration\", \"type\": \"decimal\", \"store\": true}, \"cur_mon_epf\": {\"string\": \"Current months EPF and Other Approved Funds [not exceeding RM4000 per year]\", \"type\": \"decimal\", \"store\": true}, \"cur_mon_rem\": {\"string\": \"Current Month's Remuneration\", \"type\": \"decimal\", \"store\": true}, \"prev_total_acc_deduct\": {\"string\": \"Total Accumulated Deductions\", \"type\": \"decimal\", \"store\": true}, \"prev_fee_child_care\": {\"string\": \"Fees paid to Child Care Centre and Kindergardens\", \"type\": \"decimal\", \"store\": true}, \"prev_purch_bre_equip\": {\"string\": \"Purchase of Breastfeeding Equipment (deduction is allowed once every 2 years for women tax payer only)\", \"type\": \"decimal\", \"store\": true}, \"prev_purch\": {\"string\": \"Purchase of readings, computer, smartphone, tablet, sport equipment, gymnasium membership and subscription of broadband internet\", \"type\": \"decimal\", \"store\": true}, \"prev_socso_cont\": {\"string\": \"SOCSO Contribution\", \"type\": \"decimal\", \"store\": true}, \"prev_def_annuity\": {\"string\": \"Deferred annuity premium or contribution to Private Retirement Scheme\", \"type\": \"decimal\", \"store\": true}, \"prev_edu_med_ins_prem\": {\"string\": \"Education and medical insurance premium\", \"type\": \"decimal\", \"store\": true}, \"prev_ins_oth_ret_civ_ser\": {\"string\": \"Life insurance premium for Other than Retired Civil Servant\", \"type\": \"decimal\", \"store\": true}, \"prev_ins_ret_civ_ser\": {\"string\": \"Life insurance premium for Retired Civil Servant\", \"type\": \"decimal\", \"store\": true}, \"prev_alimony\": {\"string\": \"Payment of alimony to former wife\", \"type\": \"decimal\", \"store\": true}, \"prev_net_dep_sspn\": {\"string\": \"Net deposit in Skim Simpanan Pendidikan Nasional (SSPN)\", \"type\": \"decimal\", \"store\": true}, \"prev_total_a_b\": {\"string\": \"Total a + b\", \"type\": \"decimal\", \"store\": true}, \"prev_com_med_exam\": {\"string\": \"(b) Complete medical examination for self, spouse or child\", \"type\": \"decimal\", \"store\": true}, \"prev_med_exp_serious\": {\"string\": \"(a) Medical expenses on serious diseases for self, spouse or child\", \"type\": \"decimal\", \"store\": true}, \"prev_edu_fees\": {\"string\": \"Education fees\", \"type\": \"decimal\", \"store\": true}, \"prev_support_disabled\": {\"string\": \"Basic supporting equipment for disabled self, spouse, child or parent\", \"type\": \"decimal\", \"store\": true}, \"prev_mother_relief\": {\"string\": \"Mother Relief\", \"type\": \"decimal\", \"store\": true}, \"prev_father_relief\": {\"string\": \"Father Relief\", \"type\": \"decimal\", \"store\": true}, \"prev_med_exp\": {\"string\": \"Medical expenses for own parents, special need and parent care\", \"type\": \"decimal\", \"store\": true}, \"prev_total_acc_zakat\": {\"string\": \"Total accumulated zakat paid\", \"type\": \"decimal\", \"store\": true}, \"prev_net_acc_rem\": {\"string\": \"Net accumulated remuneration\", \"type\": \"decimal\", \"store\": true}, \"prev_acc_epf\": {\"string\": \"Accumulated EPF and Other Approved Funds\", \"type\": \"decimal\", \"store\": true}, \"prev_acc_rem_bik_vola\": {\"string\": \"Accumulated remuneration/Benefit-In-Kind (BIK)/Value of Living Accomodation (VOLA)\", \"type\": \"decimal\", \"store\": true}, \"disabled_child_study_100\": {\"string\": \"Disabled child studying - Malaysia & Outside (100%)\", \"type\": \"integer\", \"store\": true}, \"disabled_child_study_50\": {\"string\": \"Disabled child studying - Malaysia & Outside (50%)\", \"type\": \"integer\", \"store\": true}, \"disabled_child_100\": {\"string\": \"Disabled child (100%)\", \"type\": \"integer\", \"store\": true}, \"disabled_child_50\": {\"string\": \"Disabled child (50%)\", \"type\": \"integer\", \"store\": true}, \"child_18_full_time_50\": {\"string\": \"Above 18 years and studying full time - Malaysia & Outside (50%)\", \"type\": \"integer\", \"store\": true}, \"child_18_study_100\": {\"string\": \"18 years & above and studying - included Certificate/Matriculation (100%)\", \"type\": \"integer\", \"store\": true}, \"child_18_study_50\": {\"string\": \"18 years & above and studying - included Certificate/Matriculation (50%)\", \"type\": \"integer\", \"store\": true}, \"child_under_18_100\": {\"string\": \"Under the age of 18 years (100%)\", \"type\": \"integer\", \"store\": true}, \"child_18_full_time_100\": {\"string\": \"Above 18 years and studying full time - Malaysia & Outside (100%)\", \"type\": \"integer\", \"store\": true}, \"child_under_18_50\": {\"string\": \"Under the age of 18 years (50%)\", \"type\": \"integer\", \"store\": true}, \"type_of_residency\": {\"string\": \"Types of Residency\", \"type\": \"selection\", \"selection\": [[\"Resident\", \"Resident\"], [\"Non-Resident\", \"Non-Resident\"]], \"store\": true}, \"disabled_spouse\": {\"string\": \"Disabled Spouse\", \"type\": \"selection\", \"selection\": [[\"yes\", \"Yes\"], [\"no\", \"No\"]], \"store\": true}, \"disabled_individual\": {\"string\": \"Disabled Individual\", \"type\": \"selection\", \"selection\": [[\"yes\", \"Yes\"], [\"no\", \"No\"]], \"store\": true}, \"status_category\": {\"string\": \"Status Category\", \"type\": \"selection\", \"selection\": [[\"Single\", \"Category 1 = Single\"], [\"Married and husband/wife is not working\", \"Category 2 = Married and husband/wife is not working\"], [\"Married and husband/wife is working, divorced or widowed, or single with adopted child\", \"Category 3 = Married and husband/wife is working, divorced or widowed, or single with adopted child\"]], \"store\": true}, \"mtd_formula\": {\"string\": \"MTD Formula\", \"type\": \"selection\", \"selection\": [[\"Normal\", \"Normal Remuneration\"], [\"REP\", \"Returning Expert Program (REP)\"], [\"IRDA\", \"Knowledge Worker at Specified Region (Iskandar Malaysia)\"], [\"28%\", \"28% of Remuneration After Deduct Tax Exempt Allowances\"]], \"store\": true}}}, \"hr2.pay.slip\": {\"string\": \"Pay Slip\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"employee_name2\": {\"string\": \"Employee Name\", \"type\": \"char\", \"store\": true}, \"position\": {\"string\": \"Position\", \"type\": \"char\", \"store\": true}, \"employee_name\": {\"string\": \"Employee's Name\", \"type\": \"many2one\", \"relation\": \"hr.employee\", \"store\": true}, \"pay_roll\": {\"string\": \"Pay Roll\", \"type\": \"many2one\", \"relation\": \"hr2.payroll\", \"store\": true}, \"number\": {\"string\": \"Pay Slip No.\", \"type\": \"char\", \"store\": true}, \"sip_employee\": {\"string\": \"SIP (Employee)\", \"type\": \"decimal\", \"store\": true}, \"sip_employer\": {\"string\": \"SIP (Employer)\", \"type\": \"char\", \"store\": true}, \"job_title\": {\"string\": \"Job Title\", \"type\": \"many2one\", \"relation\": \"hr2.job.title\", \"store\": true}, \"pay_period_to\": {\"string\": \"Pay Period (To)\", \"type\": \"date\", \"store\": true}, \"pay_period_from\": {\"string\": \"Pay Period (From)\", \"type\": \"date\", \"store\": true}, \"date_issue\": {\"string\": \"Date Issue\", \"type\": \"date\", \"store\": true}, \"basic_pay\": {\"string\": \"Basic Pay\", \"type\": \"decimal\", \"store\": true}, \"approved_by\": {\"string\": \"Approved By\", \"type\": \"char\", \"store\": true}, \"employee_signature\": {\"string\": \"Employee's Signature\", \"type\": \"file\", \"store\": true}, \"phone_no\": {\"string\": \"Phone No.\", \"type\": \"char\", \"store\": true}, \"pcb\": {\"string\": \"PCB\", \"type\": \"char\", \"store\": true}, \"epf_no\": {\"string\": \"EPF No.\", \"type\": \"char\", \"store\": true}, \"socso_employer\": {\"string\": \"SOCSO (Employer)\", \"type\": \"char\", \"store\": true}, \"epf_employer\": {\"string\": \"EPF (Employer)\", \"type\": \"char\", \"store\": true}, \"nett_pay\": {\"string\": \"Nett Pay\", \"type\": \"decimal\", \"store\": true}, \"total_deduction\": {\"string\": \"Total Deduction\", \"type\": \"decimal\", \"store\": true}, \"others\": {\"string\": \"Others\", \"type\": \"char\", \"store\": true}, \"socso_employee\": {\"string\": \"SOCSO (Employee)\", \"type\": \"char\", \"store\": true}, \"epf_employee\": {\"string\": \"EPF (Employee)\", \"type\": \"char\", \"store\": true}, \"total_earning\": {\"string\": \"Total Earning/Income\", \"type\": \"decimal\", \"store\": true}, \"overtime\": {\"string\": \"Overtime\", \"type\": \"char\", \"store\": true}, \"allowance\": {\"string\": \"Allowance\", \"type\": \"decimal\", \"store\": true}, \"ic_passport_no\": {\"string\": \"IC/Passport No\", \"type\": \"char\", \"store\": true}, \"gender\": {\"string\": \"Gender\", \"type\": \"selection\", \"selection\": [[\"Male\", \"Male\"], [\"Female\", \"Female\"]], \"store\": true}}}, \"pm.project\": {\"string\": \"Project Management\", \"name_field\": \"project_id\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"proj_status\": {\"string\": \"Project Status\", \"type\": \"selection\", \"selection\": [[\"new\", \"New\"], [\"on_hold\", \"On Hold\"], [\"ongoing\", \"Ongoing (Int)\"], [\"ongoing1\", \"Ongoing (Ext)\"], [\"completed\", \"Completed\"], [\"in test\", \"Internal Testing\"], [\"uat\", \"UAT\"]], \"store\": true}, \"proj_tasks\": {\"string\": \"Project Tasks\", \"type\": \"one2many\", \"relation\": \"pm.task\", \"relfield\": \"proj_number\"}, \"contact_id\": {\"string\": \"Contact\", \"type\": \"many2one\", \"relation\": \"contact\", \"store\": true}, \"current_cost\": {\"string\": \"Current Cost\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_curr_cost\"}, \"live_hours\": {\"string\": \"Live Hours\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_live_hours\"}, \"invoice_id\": {\"string\": \"Invoice\", \"type\": \"many2one\", \"relation\": \"account.invoice\", \"store\": true}, \"expected_hours\": {\"string\": \"Expected Hours\", \"type\": \"integer\", \"store\": true}, \"inv_amount\": {\"string\": \"Invoice Amount\", \"type\": \"decimal\", \"store\": true}, \"servers\": {\"string\": \"Server\", \"type\": \"many2one\", \"relation\": \"client.db.tracker.server\", \"store\": true}, \"project_id\": {\"string\": \"Project\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_project\"}, \"database\": {\"string\": \"Database\", \"type\": \"many2one\", \"relation\": \"client.db.tracker.database\", \"store\": true}, \"person_in_charge\": {\"string\": \"Project Manager\", \"type\": \"many2one\", \"relation\": \"hr2.employee\", \"store\": true}, \"task\": {\"string\": \"Task\", \"type\": \"one2many\", \"relation\": \"pm.task\", \"relfield\": \"related_id\"}, \"number\": {\"string\": \"Project Number\", \"type\": \"char\", \"required\": true, \"store\": true}, \"total_percentage\": {\"string\": \"Total Percentage(%)\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_ttl_pctg\"}, \"comment\": {\"string\": \"Comment\", \"type\": \"one2many\", \"relation\": \"pm.project.comment\", \"relfield\": \"cm_id\"}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"pm.project.lines\", \"relfield\": \"pm_id\"}, \"start_date\": {\"string\": \"Start Date\", \"type\": \"date\", \"store\": true}, \"due_date\": {\"string\": \"Due Date\", \"type\": \"date\", \"store\": true}, \"proj_title\": {\"string\": \"Project Title\", \"type\": \"char\", \"store\": true}, \"pay_status\": {\"string\": \"Payment Status\", \"type\": \"char\", \"store\": true}, \"phase\": {\"string\": \"Phase\", \"type\": \"char\", \"store\": true}, \"age\": {\"string\": \"Period(days)\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_days\"}}}, \"difference_control\": {\"string\": \"Difference control\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"message\": {\"string\": \"Message\", \"type\": \"text\", \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"store\": true}}}, \"hr2.leave.request\": {\"string\": \"Leave Request\", \"name_field\": \"code\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"working_schedule\": {\"string\": \"Working Schedule\", \"type\": \"many2one\", \"relation\": \"hr.schedule\", \"required\": true, \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [], \"store\": true}, \"type\": {\"string\": \"Type\", \"type\": \"selection\", \"selection\": [[\"leave\", \"Leave\"]], \"store\": true}, \"employee\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr2.employee\", \"store\": true}, \"days_obtained\": {\"string\": \"Total Leaves Available\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"calc2\"}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"draft\", \"Draft\"], [\"await\", \"Awaiting Approval\"], [\"approved\", \"Approved\"], [\"rejected\", \"Rejected\"]], \"store\": true}, \"code\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"store\": true}, \"leave_period\": {\"string\": \"Leave Period\", \"type\": \"many2one\", \"relation\": \"hr.leave.period\", \"store\": true}, \"leave_type\": {\"string\": \"Leave Type\", \"type\": \"many2one\", \"relation\": \"hr.leave.type\", \"store\": true}, \"leave_reason\": {\"string\": \"Leave Reason\", \"type\": \"text\", \"store\": true}, \"days_remaining\": {\"string\": \"Days Remaining\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"calc3\"}, \"days_requested\": {\"string\": \"Days Requested\", \"type\": \"decimal\", \"store\": true}, \"end_date\": {\"string\": \"End Date\", \"type\": \"datetime\", \"required\": true, \"store\": true}, \"start_date\": {\"string\": \"Start Date\", \"type\": \"datetime\", \"required\": true, \"store\": true}, \"request_date\": {\"string\": \"Request Date\", \"type\": \"datetime\", \"required\": true, \"store\": true}}}, \"pm.project.task.name\": {\"string\": \"Project Task Name\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"task_categ\": {\"string\": \"Task Category\", \"type\": \"many2one\", \"relation\": \"pm.task.categ\", \"required\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}}}, \"pm.time.tracker\": {\"string\": \"Time Tracker\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"date_to\": {\"string\": \"Date To\", \"type\": \"date\", \"readonly\": true, \"function\": \"get_date\"}, \"date_from\": {\"string\": \"Date From\", \"type\": \"date\", \"readonly\": true, \"function\": \"get_date\"}, \"client_name\": {\"string\": \"Client Name\", \"type\": \"many2one\", \"relation\": \"pm.time.tracker.lines\", \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"store\": true}, \"project\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"pm.project\", \"store\": true}, \"total_cost\": {\"string\": \"Total Cost\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_ttl_cost\"}, \"total_hours\": {\"string\": \"Total Hours\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_ttl_hrs\"}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"pm.time.tracker.lines\", \"relfield\": \"tracker_id\"}}}, \"hr2.employee.leaves\": {\"string\": \"Leaves Records\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"leave_type\": {\"string\": \"Leave Type\", \"type\": \"many2one\", \"relation\": \"hr.leave.type\", \"store\": true}, \"employee\": {\"string\": \"Employee\", \"type\": \"many2one\", \"relation\": \"hr2.employee\", \"store\": true}, \"related_id\": {\"string\": \"Related To\", \"type\": \"reference\", \"selection\": [], \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"hr2.employee.leaves.lines\", \"relfield\": \"record_id\"}, \"leaves_period\": {\"string\": \"Leaves Valid Period\", \"type\": \"many2one\", \"relation\": \"hr.leave.period\", \"store\": true}, \"status\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"Working\", \"Working\"], [\"Dismissed\", \"Dismissed\"], [\"Resigned\", \"Resigned\"], [\"Died\", \"Died\"]], \"store\": true}, \"day_remaining\": {\"string\": \"Annual Leave Remains\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"calc3\"}, \"day_used\": {\"string\": \"Annual Leave Used\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"calc2\"}, \"number\": {\"string\": \"Form Id\", \"type\": \"char\", \"store\": true}, \"leaves_adjust\": {\"string\": \"Leaves Adjustment\", \"type\": \"decimal\", \"store\": true}, \"leave_requests\": {\"string\": \"Employee's Leave Requests\", \"type\": \"one2many\", \"relation\": \"hr2.leave.request\", \"relfield\": \"related_id\"}, \"day_obtained\": {\"string\": \"Annual Leaves Avaliable\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"calc\"}, \"resign_date\": {\"string\": \"Resign Date\", \"type\": \"date\", \"store\": true}, \"hire_date\": {\"string\": \"Hire Date\", \"type\": \"date\", \"store\": true}, \"leaves_carry_forward\": {\"string\": \"Leaves Carried Forward\", \"type\": \"decimal\", \"store\": true}, \"base_leaves\": {\"string\": \"Base Leaves\", \"type\": \"decimal\", \"store\": true}, \"type_of_position\": {\"string\": \"Type of Position\", \"type\": \"selection\", \"selection\": [[\"Internship\", \"Internship\"], [\"Full Time\", \"Full Time\"]], \"store\": true}}}, \"hr2.employee.rates\": {\"string\": \"HR2 Employee Rates\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"remarks\": {\"string\": \"Remarks\", \"type\": \"text\", \"store\": true}, \"rate\": {\"string\": \"Hour Rate\", \"type\": \"decimal\", \"required\": true, \"store\": true}, \"employee_id\": {\"string\": \"HR2 Employee\", \"type\": \"many2one\", \"relation\": \"hr2.employee\", \"required\": true, \"store\": true}, \"date\": {\"string\": \"Date of Change\", \"type\": \"date\", \"required\": true, \"store\": true}}}, \"hr2.salary.epf\": {\"string\": \"EPF\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"year_id\": {\"string\": \"Year\", \"type\": \"many2one\", \"relation\": \"hr2.salary.year\", \"store\": true}, \"value\": {\"string\": \"Percentage Value\", \"type\": \"decimal\", \"store\": true}, \"name\": {\"string\": \"EPF Rate\", \"type\": \"char\", \"store\": true}, \"percentage\": {\"string\": \"Percentage (%)\", \"type\": \"integer\", \"store\": true}}}, \"hr2.salary.marriage.status\": {\"string\": \"Marriage Status\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"category\": {\"string\": \"Category\", \"type\": \"integer\", \"store\": true}, \"name\": {\"string\": \"Marriage Status\", \"type\": \"char\", \"store\": true}, \"tax_relief\": {\"string\": \"Tax Relief\", \"type\": \"decimal\", \"store\": true}}}, \"hr2.payroll.lines\": {\"string\": \"Payroll Lines\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"type_of_position\": {\"string\": \"Type of Position\", \"type\": \"text\", \"store\": true}, \"employee_code\": {\"string\": \"Employee Code\", \"type\": \"char\", \"store\": true}, \"first_name\": {\"string\": \"Name\", \"type\": \"many2one\", \"relation\": \"hr2.employee\", \"store\": true}, \"employee_name\": {\"string\": \"Employee Name\", \"type\": \"char\", \"store\": true}, \"salary_per_month\": {\"string\": \"Salary/ Month\", \"type\": \"decimal\", \"store\": true}, \"payroll_id\": {\"string\": \"Payroll\", \"type\": \"many2one\", \"relation\": \"hr2.payroll\", \"store\": true}, \"attended_days\": {\"string\": \"Attended Days\", \"type\": \"decimal\", \"store\": true}, \"sequence\": {\"string\": \"No.\", \"type\": \"integer\", \"store\": true}, \"pcb\": {\"string\": \"PCB\", \"type\": \"decimal\", \"store\": true}, \"net_cost\": {\"string\": \"Net Cost\", \"type\": \"decimal\", \"store\": true}, \"net_payment\": {\"string\": \"Net Payment\", \"type\": \"decimal\", \"store\": true}, \"total_regulatory\": {\"string\": \"Total Regulatory\", \"type\": \"decimal\", \"store\": true}, \"total_sip\": {\"string\": \"Total SIP\", \"type\": \"decimal\", \"store\": true}, \"total_socso\": {\"string\": \"Total SOCSO\", \"type\": \"decimal\", \"store\": true}, \"total_epf\": {\"string\": \"Total EPF\", \"type\": \"decimal\", \"store\": true}, \"sip_er\": {\"string\": \"SIP (Employer)\", \"type\": \"decimal\", \"store\": true}, \"socso_er\": {\"string\": \"SOCSO (Employer)\", \"type\": \"decimal\", \"store\": true}, \"epf_er\": {\"string\": \"EPF (Employer)\", \"type\": \"decimal\", \"store\": true}, \"over_time\": {\"string\": \"Over Time\", \"type\": \"char\", \"store\": true}, \"allowance\": {\"string\": \"Allowance\", \"type\": \"decimal\", \"store\": true}, \"sip_ee\": {\"string\": \"SIP (Employee)\", \"type\": \"decimal\", \"store\": true}, \"socso_ee\": {\"string\": \"SOCSO (Employee)\", \"type\": \"decimal\", \"store\": true}, \"epf_ee\": {\"string\": \"EPF (Employee)\", \"type\": \"decimal\", \"store\": true}, \"gross_salary\": {\"string\": \"Gross Salary\", \"type\": \"decimal\", \"store\": true}, \"rate\": {\"string\": \"Rate (RM)\", \"type\": \"decimal\", \"store\": true}, \"ic_passport_no\": {\"string\": \"IC/Passport No\", \"type\": \"char\", \"store\": true}}}, \"hr2.holiday\": {\"string\": \"Holiday List\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"store\": true}}}, \"hr2.employee.leaves.lines\": {\"string\": \"Leaves Record Lines\", \"name_field\": \"leaves_period\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"record_id\": {\"string\": \"Record ID\", \"type\": \"many2one\", \"relation\": \"hr2.employee.leaves\", \"store\": true}, \"leaves_adjustment\": {\"string\": \"Leaves Adjustment\", \"type\": \"decimal\", \"store\": true}, \"base_leaves\": {\"string\": \"Base Leaves\", \"type\": \"decimal\", \"store\": true}, \"day_carry_forward\": {\"string\": \"Day Carry Forward\", \"type\": \"decimal\", \"store\": true}, \"day_remain\": {\"string\": \"Day Remain\", \"type\": \"decimal\", \"store\": true}, \"day_used\": {\"string\": \"Day Used\", \"type\": \"decimal\", \"store\": true}, \"leaves_period\": {\"string\": \"Leaves Period\", \"type\": \"many2one\", \"relation\": \"hr.leave.period\", \"store\": true}, \"day_available\": {\"string\": \"Day Available\", \"type\": \"decimal\", \"store\": true}}}, \"hr2.tax.relief\": {\"string\": \"Tax Relief\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"file_tax_void\": {\"string\": \"Maximum gross annual salary (no need to file tax)\", \"type\": \"decimal\", \"store\": true}, \"total_epf_relief\": {\"string\": \"total_epf_relief\", \"type\": \"integer\", \"store\": true}, \"status\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"official\", \"Official\"], [\"draft\", \"Draft\"]], \"store\": true}, \"year\": {\"string\": \"Year\", \"type\": \"integer\", \"store\": true}, \"fee_tourism\": {\"string\": \"fee_tourism\", \"type\": \"integer\", \"store\": true}, \"fee_child_care_kindergartens\": {\"string\": \"fee_child_care_kindergartens\", \"type\": \"integer\", \"store\": true}, \"purchase_breastfeeding_equipment\": {\"string\": \"purchase_breastfeeding_equipment\", \"type\": \"integer\", \"store\": true}, \"expenses_sports\": {\"string\": \"expenses_sports\", \"type\": \"integer\", \"store\": true}, \"expenses_life_style\": {\"string\": \"expenses_life_style\", \"type\": \"integer\", \"store\": true}, \"contribution_socso\": {\"string\": \"contribution_socso\", \"type\": \"integer\", \"store\": true}, \"PRS_deferred_annuities\": {\"string\": \"PRS_deferred_annuities\", \"type\": \"integer\", \"store\": true}, \"education_medical_insurance\": {\"string\": \"education_medical_insurance\", \"type\": \"integer\", \"store\": true}, \"alimony_former_wife\": {\"string\": \"alimony_former_wife\", \"type\": \"integer\", \"store\": true}, \"net_deposit_sspn\": {\"string\": \"net_deposit_sspn\", \"type\": \"integer\", \"store\": true}, \"support_equipment_disable_person\": {\"string\": \"support_equipment_disable_person\", \"type\": \"integer\", \"store\": true}, \"self_medical_relief_total\": {\"string\": \"self_medical_relief_total\", \"type\": \"integer\", \"store\": true}, \"vaccination_expenses\": {\"string\": \"vaccination_expenses\", \"type\": \"integer\", \"store\": true}, \"medical_examination_complete\": {\"string\": \"medical_examination_complete\", \"type\": \"integer\", \"store\": true}, \"medical_expenses_serious_diseases\": {\"string\": \"medical_expenses_serious_diseases\", \"type\": \"integer\", \"store\": true}, \"father_mother_relief_total\": {\"string\": \"father_mother_relief_total\", \"type\": \"integer\", \"store\": true}, \"mother_relief\": {\"string\": \"mother_relief\", \"type\": \"integer\", \"store\": true}, \"father_relief\": {\"string\": \"father_relief\", \"type\": \"integer\", \"store\": true}, \"medical_expenses_parents\": {\"string\": \"medical_expenses_parents\", \"type\": \"integer\", \"store\": true}, \"life_insurance_epf_not_civil_servant\": {\"string\": \"life_insurance_epf_not_civil_servant\", \"type\": \"integer\", \"store\": true}, \"life_insurance_epf_civil_servant\": {\"string\": \"life_insurance_epf_civil_servant\", \"type\": \"integer\", \"store\": true}, \"self_education_and_improvement_total\": {\"string\": \"self_education_and_improvement_total\", \"type\": \"integer\", \"store\": true}, \"self_improvement\": {\"string\": \"self_improvement\", \"type\": \"integer\", \"store\": true}, \"self_education\": {\"string\": \"self_education\", \"type\": \"integer\", \"store\": true}, \"step_child_study_fulltime_disabled\": {\"string\": \"step_child_study_fulltime_disabled\", \"type\": \"integer\", \"store\": true}, \"step_child_study_fulltime\": {\"string\": \"step_child_study_fulltime\", \"type\": \"integer\", \"store\": true}, \"step_child_underage_disabled\": {\"string\": \"step_child_underage_disabled\", \"type\": \"integer\", \"store\": true}, \"step_child_study_A_level\": {\"string\": \"step_child_study_A_level\", \"type\": \"integer\", \"store\": true}, \"step_child_underage\": {\"string\": \"step_child_underage\", \"type\": \"integer\", \"store\": true}, \"legit_child_study_fulltime_disabled\": {\"string\": \"legit_child_study_fulltime_disabled\", \"type\": \"integer\", \"store\": true}, \"legit_child_study_fulltime\": {\"string\": \"legit_child_study_fulltime\", \"type\": \"integer\", \"store\": true}, \"legit_child_underage_disabled\": {\"string\": \"legit_child_underage_disabled\", \"type\": \"integer\", \"store\": true}, \"legit_child_study_A_level\": {\"string\": \"legit_child_study_A_level\", \"type\": \"integer\", \"store\": true}, \"legit_child_underage\": {\"string\": \"legit_child_underage\", \"type\": \"integer\", \"store\": true}, \"employee_disabled\": {\"string\": \"employee_disabled\", \"type\": \"integer\", \"store\": true}, \"spouse_disabled\": {\"string\": \"spouse_disabled\", \"type\": \"integer\", \"store\": true}}}, \"hr2.deduction.epf.lines\": {\"string\": \"EPF Lines\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"total_epf_rate\": {\"string\": \"Total Epf Rate\", \"type\": \"decimal\", \"store\": true}, \"employer_rate\": {\"string\": \"Employer Rate (RM)\", \"type\": \"decimal\", \"store\": true}, \"employee_rate\": {\"string\": \"Employee Rate (RM)\", \"type\": \"decimal\", \"store\": true}, \"max_income\": {\"string\": \"Maximum Income\", \"type\": \"decimal\", \"store\": true}, \"min_income\": {\"string\": \"Minimum Income\", \"type\": \"decimal\", \"store\": true}, \"status\": {\"string\": \"Employee's Status\", \"type\": \"char\", \"store\": true}, \"no\": {\"string\": \"No\", \"type\": \"integer\", \"store\": true}, \"epf_deduction_id\": {\"string\": \"EPF Deduction ID\", \"type\": \"many2one\", \"relation\": \"hr2.deduction\", \"store\": true}}}, \"stock.margin.report\": {\"string\": \"stock.margin.report\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"journal_id\": {\"string\": \"Journal\", \"type\": \"integer\", \"store\": true}, \"brand\": {\"string\": \"Brand\", \"type\": \"integer\", \"store\": true}, \"qty\": {\"string\": \"Qty\", \"type\": \"decimal\", \"store\": true}, \"product_name\": {\"string\": \"Product Name\", \"type\": \"char\", \"store\": true}, \"product_id\": {\"string\": \"Product Id\", \"type\": \"integer\", \"store\": true}, \"product_code\": {\"string\": \"Product Code\", \"type\": \"char\", \"store\": true}, \"product_categ\": {\"string\": \"Product Category\", \"type\": \"char\", \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"datetime\", \"store\": true}, \"cost_amount\": {\"string\": \"Cost Amount\", \"type\": \"decimal\", \"store\": true}, \"amount\": {\"string\": \"Amount\", \"type\": \"decimal\", \"store\": true}}}, \"hr2.type.of.position\": {\"string\": \"Type Of Position\", \"name_field\": \"type_of_position\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"type_of_position\": {\"string\": \"Type Of Position\", \"type\": \"char\", \"store\": true}}}, \"pm.task.lines\": {\"string\": \"Project Task Lines\", \"name_field\": \"builder\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"type\": {\"string\": \"Task Type\", \"type\": \"selection\", \"selection\": [[\"bug\", \"Bug\"], [\"update\", \"Update\"], [\"new\", \"New Request\"]], \"store\": true}, \"act_duration\": {\"string\": \"Actual Duration(hours)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_act_days\"}, \"act_date_end\": {\"string\": \"Actual End Date\", \"type\": \"datetime\", \"store\": true}, \"act_date_start\": {\"string\": \"Actual Start Date\", \"type\": \"datetime\", \"store\": true}, \"tester\": {\"string\": \"Tester\", \"type\": \"many2one\", \"relation\": \"hr2.employee\", \"store\": true}, \"builder\": {\"string\": \"Builder\", \"type\": \"many2one\", \"relation\": \"hr2.employee\", \"store\": true}, \"percentage\": {\"string\": \"Percentage(%)\", \"type\": \"selection\", \"selection\": [[0, 0], [10, 10], [20, 20], [30, 30], [40, 40], [50, 50], [60, 60], [70, 70], [80, 80], [90, 90], [100, 100]], \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"duration\": {\"string\": \"Total Duration (hours)\", \"type\": \"decimal\", \"readonly\": true, \"function\": \"get_task\"}, \"sub_id\": {\"string\": \"Sub Task ID\", \"type\": \"char\", \"store\": true}, \"time_start\": {\"string\": \"Start Time\", \"type\": \"datetime\", \"store\": true}, \"time_end\": {\"string\": \"End Time\", \"type\": \"datetime\", \"required\": true, \"store\": true}, \"status\": {\"string\": \"Task Status\", \"type\": \"selection\", \"selection\": [[\"complete\", \"Completed\"], [\"waiting\", \"Waiting\"], [\"ongoing\", \"Ongoing\"], [\"onhold\", \"On Hold\"], [\"inque\", \"In Que\"]], \"store\": true}, \"name\": {\"string\": \"Sub Task Name\", \"type\": \"char\", \"store\": true}, \"tsk_id\": {\"string\": \"Filter ID\", \"type\": \"many2one\", \"relation\": \"pm.task\", \"store\": true}}}, \"pm.time.tracker.lines\": {\"string\": \"Time Tracker Lines\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"remarks\": {\"string\": \"Remarks\", \"type\": \"text\", \"store\": true}, \"cost\": {\"string\": \"Cost\", \"type\": \"integer\", \"store\": true}, \"rate\": {\"string\": \"Rate\", \"type\": \"integer\", \"store\": true}, \"task\": {\"string\": \"Task\", \"type\": \"many2one\", \"relation\": \"pm.task\", \"store\": true}, \"client\": {\"string\": \"Client\", \"type\": \"many2one\", \"relation\": \"client.db.tracker.database\", \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"many2one\", \"relation\": \"base.user\", \"store\": true}, \"hours\": {\"string\": \"Hours\", \"type\": \"decimal\", \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"store\": true}, \"tracker_id\": {\"string\": \"Time Tracker ID\", \"type\": \"many2one\", \"relation\": \"pm.time.tracker\", \"store\": true}}}, \"pm.task\": {\"string\": \"Project Task\", \"name_field\": \"task_id\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"task_categ\": {\"string\": \"Task Category\", \"type\": \"many2one\", \"relation\": \"pm.task.categ\", \"required\": true, \"store\": true}, \"task_id\": {\"string\": \"Task\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_task\"}, \"stage\": {\"string\": \"Stage\", \"type\": \"selection\", \"selection\": [[\"analysis\", \"Analysis\"], [\"dev\", \"Development\"], [\"int_test\", \"Internal Test\"], [\"cust_test\", \"Customer Test\"], [\"delivery\", \"Delivery\"], [\"closed\", \"Closed\"]], \"store\": true}, \"database\": {\"string\": \"Client Name\", \"type\": \"many2one\", \"relation\": \"client.db.tracker.database\", \"store\": true}, \"file_location\": {\"string\": \"File Location\", \"type\": \"text\", \"store\": true}, \"builder\": {\"string\": \"Builder\", \"type\": \"char\", \"store\": true}, \"proj_number\": {\"string\": \"Project Number\", \"type\": \"many2one\", \"relation\": \"pm.project\", \"store\": true}, \"project_id\": {\"string\": \"Project\", \"type\": \"many2one\", \"relation\": \"pm.project\", \"store\": true}, \"state\": {\"string\": \"Task Status\", \"type\": \"selection\", \"selection\": [[\"ready\", \"Ready\"], [\"on_hold\", \"On Hold\"], [\"in_prog\", \"In Progress\"], [\"on_going\", \"Ongoing (Int)\"], [\"on_going1\", \"Ongoing (Ext)\"], [\"completed\", \"Completed\"], [\"closed\", \"Closed\"], [\"others\", \"Others\"]], \"store\": true}, \"main_desc\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"date_start\": {\"string\": \"Start Date\", \"type\": \"date\", \"store\": true}, \"pic\": {\"string\": \"Person In Charge\", \"type\": \"many2one\", \"relation\": \"hr2.employee\", \"store\": true}, \"act_date_start\": {\"string\": \"Actual Start Date\", \"type\": \"date\", \"store\": true}, \"act_date_end\": {\"string\": \"Actual End Date\", \"type\": \"date\", \"store\": true}, \"proj_title\": {\"string\": \"Project Title\", \"type\": \"char\", \"store\": true}, \"total_percentage\": {\"string\": \"Total Percentage(%)\", \"type\": \"integer\", \"readonly\": true, \"function\": \"get_ttl_pctg\"}, \"day\": {\"string\": \"Days\", \"type\": \"char\", \"readonly\": true, \"function\": \"get_days\"}, \"comment\": {\"string\": \"Comment\", \"type\": \"one2many\", \"relation\": \"pm.task.comment\", \"relfield\": \"cm_id\"}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"pm.task.lines\", \"relfield\": \"tsk_id\"}, \"date_end\": {\"string\": \"End Date\", \"type\": \"date\", \"store\": true}, \"sub_name\": {\"string\": \"Sub Task Name\", \"type\": \"char\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"duration\": {\"string\": \"Total Duration\", \"type\": \"char\", \"store\": true}, \"time_end\": {\"string\": \"End Time\", \"type\": \"datetime\", \"store\": true}, \"time_start\": {\"string\": \"Start Time\", \"type\": \"datetime\", \"store\": true}, \"name\": {\"string\": \"Task Name\", \"type\": \"char\", \"store\": true}, \"number\": {\"string\": \"Task Number\", \"type\": \"char\", \"store\": true}}}, \"price.calc.breakdown\": {\"string\": \"Calculation Breakdown\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"lines\": {\"string\": \"Lines\", \"type\": \"one2many\", \"relation\": \"price_calc_breakdown_lines\", \"relfield\": \"calc_breakdown_id\"}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"store\": true}, \"std_package\": {\"string\": \"Std Package\", \"type\": \"decimal\", \"store\": true}, \"lite_package\": {\"string\": \"Lite Package\", \"type\": \"decimal\", \"store\": true}, \"list_price_myr\": {\"string\": \"List Price (MYR)\", \"type\": \"decimal\", \"store\": true}}}, \"price_calc_breakdown_lines\": {\"string\": \"Calculation Breakdown Lines\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"calc_breakdown_id\": {\"string\": \"Filter ID\", \"type\": \"many2one\", \"relation\": \"price.calc.breakdown\", \"store\": true}, \"std_package\": {\"string\": \"Standard Package\", \"type\": \"decimal\", \"store\": true}, \"lite_package\": {\"string\": \"Lite Package\", \"type\": \"decimal\", \"store\": true}, \"list_price_myr\": {\"string\": \"List Price (MYR)\", \"type\": \"decimal\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"char\", \"store\": true}}}, \"hr2.deduction.socso.lines\": {\"string\": \"SOCSO Lines\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"total_rate\": {\"string\": \"Total Rate\", \"type\": \"decimal\", \"store\": true}, \"employer_rate\": {\"string\": \"Employer Rate (RM)\", \"type\": \"decimal\", \"store\": true}, \"employee_rate\": {\"string\": \"Employee Rate (RM)\", \"type\": \"decimal\", \"store\": true}, \"max_income\": {\"string\": \"Maximum Income\", \"type\": \"decimal\", \"store\": true}, \"min_income\": {\"string\": \"Minimum Income\", \"type\": \"decimal\", \"store\": true}, \"no\": {\"string\": \"No\", \"type\": \"integer\", \"store\": true}, \"socso_deduction_id\": {\"string\": \"SOCSO Deduction ID\", \"type\": \"many2one\", \"relation\": \"hr2.deduction\", \"store\": true}}}, \"hr2.deduction\": {\"string\": \"Tax & Salary Deduction\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"file_tax_void\": {\"string\": \"Maximum gross annual salary (no need to file tax)\", \"type\": \"decimal\", \"store\": true}, \"status\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"official\", \"Official\"], [\"draft\", \"Draft\"]], \"store\": true}, \"non_resident_rate\": {\"string\": \"R - Non-Resident Tax Rate (%)\", \"type\": \"integer\", \"store\": true}, \"irda_rate\": {\"string\": \"R - IRDA Tax Rate (%)\", \"type\": \"integer\", \"store\": true}, \"year\": {\"string\": \"Year\", \"type\": \"integer\", \"store\": true}, \"link\": {\"string\": \"Link\", \"type\": \"char\", \"store\": true}, \"epf_deduction\": {\"string\": \"EPF Deduction\", \"type\": \"one2many\", \"relation\": \"hr2.deduction.epf.lines\", \"relfield\": \"epf_deduction_id\"}, \"mtd_deduction_rep\": {\"string\": \"MTD Deduction REP\", \"type\": \"one2many\", \"relation\": \"hr2.deduction.mtd.lines\", \"relfield\": \"mtd_deduction_id_rep\"}, \"mtd_deduction_nar\": {\"string\": \"MTD Deduction NAR\", \"type\": \"one2many\", \"relation\": \"hr2.deduction.mtd.lines\", \"relfield\": \"mtd_deduction_id_nar\"}, \"eis_deduction\": {\"string\": \"EIS Deduction\", \"type\": \"one2many\", \"relation\": \"hr2.deduction.eis.lines\", \"relfield\": \"eis_deduction_id\"}, \"socso_deduction\": {\"string\": \"SOCSO Deduction\", \"type\": \"one2many\", \"relation\": \"hr2.deduction.socso.lines\", \"relfield\": \"socso_deduction_id\"}, \"deduction_type\": {\"string\": \"Deduction Type\", \"type\": \"many2one\", \"relation\": \"hr2.deduction.type\", \"store\": true}}}, \"hr2.salary\": {\"string\": \"Net Salary\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"net_total_yearly_tax\": {\"string\": \"net_total_yearly_tax\", \"type\": \"decimal\", \"store\": true}, \"tax_rebate_total\": {\"string\": \"tax_rebate_total\", \"type\": \"decimal\", \"store\": true}, \"prev_tax_rebate_total\": {\"string\": \"prev_tax_rebate_total\", \"type\": \"decimal\", \"store\": true}, \"value_of_living_accommodation\": {\"string\": \"Value Of Living Accommodation (VOLA)\", \"type\": \"decimal\", \"store\": true}, \"benefit_in_kind\": {\"string\": \"Benefit-In-Kind (BIK)\", \"type\": \"decimal\", \"store\": true}, \"other_additional_income\": {\"string\": \"Other Additional Remuneration\", \"type\": \"decimal\", \"store\": true}, \"income_tax_paid_by_employers_on_behalf_of_employee\": {\"string\": \"Income tax paid by employers on behalf of employees\", \"type\": \"decimal\", \"store\": true}, \"compensation\": {\"string\": \"Compensation\", \"type\": \"decimal\", \"store\": true}, \"gratuity\": {\"string\": \"Gratuity\", \"type\": \"decimal\", \"store\": true}, \"commissions\": {\"string\": \"Commissions (not paid monthly)\", \"type\": \"decimal\", \"store\": true}, \"arrears\": {\"string\": \"Arrears\", \"type\": \"decimal\", \"store\": true}, \"zakat_paid_total\": {\"string\": \"Total Zakat Paid (excluding this month)\", \"type\": \"decimal\", \"store\": true}, \"religious_travel_levy_exemption_total\": {\"string\": \"religious_travel_levy_exemption_total\", \"type\": \"decimal\", \"store\": true}, \"prev_month_data\": {\"string\": \"Previous Month Data \", \"type\": \"text\", \"store\": true}, \"religious_travel_levy_exemption\": {\"string\": \"Exemption levy for umrah travel / religious purpose travel other religions (Limited 2 times lifetime claim)\", \"type\": \"decimal\", \"store\": true}, \"total_allowed_optional_deduction\": {\"string\": \"Total Optional Deduction Allowed (After Considering Relief Limit)\", \"type\": \"decimal\", \"store\": true}, \"fee_tourism\": {\"string\": \"fee_tourism\", \"type\": \"decimal\", \"store\": true}, \"fee_child_care_kindergartens\": {\"string\": \"fee_child_care_kindergartens\", \"type\": \"decimal\", \"store\": true}, \"purchase_breastfeeding_equipment\": {\"string\": \"purchase_breastfeeding_equipment\", \"type\": \"decimal\", \"store\": true}, \"expenses_sports\": {\"string\": \"expenses_sports\", \"type\": \"decimal\", \"store\": true}, \"expenses_life_style\": {\"string\": \"expenses_life_style\", \"type\": \"decimal\", \"store\": true}, \"contribution_socso\": {\"string\": \"contribution_socso\", \"type\": \"decimal\", \"store\": true}, \"PRS_deferred_annuities\": {\"string\": \"PRS_deferred_annuities\", \"type\": \"decimal\", \"store\": true}, \"education_medical_insurance\": {\"string\": \"education_medical_insurance\", \"type\": \"decimal\", \"store\": true}, \"alimony_former_wife\": {\"string\": \"alimony_former_wife\", \"type\": \"decimal\", \"store\": true}, \"net_deposit_sspn\": {\"string\": \"net_deposit_sspn\", \"type\": \"decimal\", \"store\": true}, \"support_equipment_disable_person\": {\"string\": \"support_equipment_disable_person\", \"type\": \"decimal\", \"store\": true}, \"self_medical_relief_total\": {\"string\": \"self_medical_relief_total\", \"type\": \"decimal\", \"store\": true}, \"vaccination_expenses\": {\"string\": \"vaccination_expenses\", \"type\": \"decimal\", \"store\": true}, \"medical_examination_complete\": {\"string\": \"medical_examination_complete\", \"type\": \"decimal\", \"store\": true}, \"medical_expenses_serious_diseases\": {\"string\": \"medical_expenses_serious_diseases\", \"type\": \"decimal\", \"store\": true}, \"father_mother_relief_total\": {\"string\": \"father_mother_relief_total\", \"type\": \"decimal\", \"store\": true}, \"mother_relief\": {\"string\": \"mother_relief\", \"type\": \"decimal\", \"store\": true}, \"father_relief\": {\"string\": \"father_relief\", \"type\": \"decimal\", \"store\": true}, \"medical_expenses_parents\": {\"string\": \"medical_expenses_parents\", \"type\": \"decimal\", \"store\": true}, \"life_insurance_epf_not_civil_servant\": {\"string\": \"life_insurance_epf_not_civil_servant\", \"type\": \"decimal\", \"store\": true}, \"life_insurance_epf_civil_servant\": {\"string\": \"life_insurance_epf_civil_servant\", \"type\": \"decimal\", \"store\": true}, \"self_education_and_improvement_total\": {\"string\": \"self_education_and_improvement_total\", \"type\": \"decimal\", \"store\": true}, \"self_improvement\": {\"string\": \"self_improvement\", \"type\": \"decimal\", \"store\": true}, \"self_education\": {\"string\": \"self_education\", \"type\": \"decimal\", \"store\": true}, \"step_child_study_A_level\": {\"string\": \"step_child_study_A_level\", \"type\": \"integer\", \"store\": true}, \"legit_child_study_A_level\": {\"string\": \"legit_child_study_A_level\", \"type\": \"integer\", \"store\": true}, \"zakat_amt\": {\"string\": \"Zakat Amount\", \"type\": \"decimal\", \"store\": true}, \"pay_zakat\": {\"string\": \"Pay Zakat\", \"type\": \"selection\", \"selection\": [[\"yes\", \"Yes\"], [\"no\", \"No\"]], \"store\": true}, \"cumulative_gross_additional_income\": {\"string\": \"Cumulative Gross Additional Income\", \"type\": \"decimal\", \"store\": true}, \"expected_annual_income_after_tax_relief\": {\"string\": \"Total Taxable Income After Tax Relief\", \"type\": \"decimal\", \"store\": true}, \"total_deduction_epf_scoso_eis\": {\"string\": \"Total deduction from EPF, SOCSO & EIS\", \"type\": \"decimal\", \"store\": true}, \"expected_total_annual_income\": {\"string\": \"Expected Total Annual Income\", \"type\": \"decimal\", \"store\": true}, \"cumulative_pcb_paid\": {\"string\": \"Cumulative PCB Paid This Year (excluding this month)\", \"type\": \"decimal\", \"store\": true}, \"epf_relief_total_deduction\": {\"string\": \"Total Deduction from EPF and other approved funds in this Company\", \"type\": \"decimal\", \"store\": true}, \"prev_epf_relief_total_deduction\": {\"string\": \"Total Deduction from EPF and other approved funds made previously\", \"type\": \"decimal\", \"store\": true}, \"prev_salary_per_month\": {\"string\": \"Previous Month Salary\", \"type\": \"decimal\", \"store\": true}, \"maximum_tax_relief\": {\"string\": \"maximum_tax_relief\", \"type\": \"decimal\", \"store\": true}, \"employment_category\": {\"string\": \"Employment Category\", \"type\": \"many2one\", \"relation\": \"hr2.employment.category\", \"store\": true}, \"job_title\": {\"string\": \"Job Title\", \"type\": \"many2one\", \"relation\": \"hr2.job.title\", \"store\": true}, \"marriage_status\": {\"string\": \"Marriage Status\", \"type\": \"many2one\", \"relation\": \"hr2.salary.marriage.status\", \"store\": true}, \"salary_before_pcb_deduction\": {\"string\": \"Salary before PCB deduction\", \"type\": \"decimal\", \"store\": true}, \"national_id_number\": {\"string\": \"National Identification No. / Passport No. \", \"type\": \"char\", \"store\": true}, \"epf_rate_extra\": {\"string\": \"EPF Rate Voluntary Excess (%)\", \"type\": \"integer\", \"store\": true}, \"spouse_disabled\": {\"string\": \"Disabled Spouse\", \"type\": \"selection\", \"selection\": [[\"yes\", \"Yes\"], [\"no\", \"No\"]], \"store\": true}, \"employee_disabled\": {\"string\": \"Disabled Individual\", \"type\": \"selection\", \"selection\": [[\"yes\", \"Yes\"], [\"no\", \"No\"]], \"store\": true}, \"has_child\": {\"string\": \"Has Child\", \"type\": \"selection\", \"selection\": [[\"yes\", \"Yes\"], [\"no\", \"No\"]], \"store\": true}, \"total_tax_relief\": {\"string\": \"Total Tax Relief\", \"type\": \"decimal\", \"store\": true}, \"eis_amt\": {\"string\": \"EIS Amount\", \"type\": \"decimal\", \"store\": true}, \"socso_amt\": {\"string\": \"SOCSO Amount\", \"type\": \"decimal\", \"store\": true}, \"epf_amt\": {\"string\": \"EPF Amount\", \"type\": \"decimal\", \"store\": true}, \"salary_after_epf_socso_eis_deduction\": {\"string\": \"Salary after deduction of EPF, SOCSO & EIS\", \"type\": \"decimal\", \"store\": true}, \"prev_gross_income_total\": {\"string\": \"Total Gross Income from Previous Companies\", \"type\": \"decimal\", \"store\": true}, \"prev_pcb_paid_total\": {\"string\": \"Total PCB Paid from Previous Companies\", \"type\": \"decimal\", \"store\": true}, \"pcb_paid_total\": {\"string\": \"Total PCB paid in this Company\", \"type\": \"decimal\", \"store\": true}, \"expected_annual_salary\": {\"string\": \"Expected Annual Salary\", \"type\": \"decimal\", \"store\": true}, \"pcb_to_pay\": {\"string\": \"PCB to pay this month\", \"type\": \"decimal\", \"store\": true}, \"step_child_tax_total\": {\"string\": \"step_child_tax_total\", \"type\": \"decimal\", \"store\": true}, \"step_child_study_fulltime_disabled\": {\"string\": \"step_child_study_fulltime_disabled\", \"type\": \"integer\", \"store\": true}, \"step_child_study_fulltime\": {\"string\": \"step_child_study_fulltime\", \"type\": \"integer\", \"store\": true}, \"step_child_underage_disabled\": {\"string\": \"step_child_underage_disabled\", \"type\": \"integer\", \"store\": true}, \"step_child_underage\": {\"string\": \"step_child_underage\", \"type\": \"integer\", \"store\": true}, \"legit_child_tax_total\": {\"string\": \"legit_child_tax_total\", \"type\": \"decimal\", \"store\": true}, \"legit_child_study_fulltime_disabled\": {\"string\": \"legit_child_study_fulltime_disabled\", \"type\": \"integer\", \"store\": true}, \"legit_child_study_fulltime\": {\"string\": \"legit_child_study_fulltime\", \"type\": \"integer\", \"store\": true}, \"legit_child_underage_disabled\": {\"string\": \"legit_child_underage_disabled\", \"type\": \"integer\", \"store\": true}, \"legit_child_underage\": {\"string\": \"legit_child_underage\", \"type\": \"integer\", \"store\": true}, \"p_epf_n_oaf\": {\"string\": \"EPF and Other Approved Funds made in Previous Company\", \"type\": \"decimal\", \"store\": true}, \"exp_annual_salary_af\": {\"string\": \"Expected Annual Salary After Tax Relief\", \"type\": \"decimal\", \"store\": true}, \"phone_no\": {\"string\": \"Phone No\", \"type\": \"char\", \"store\": true}, \"ic_ps_no\": {\"string\": \"IC / Passport No.\", \"type\": \"char\", \"store\": true}, \"gender\": {\"string\": \"Gender\", \"type\": \"char\", \"store\": true}, \"child_own\": {\"string\": \"Have Children (deprecated)\", \"type\": \"char\", \"store\": true}, \"date_issue\": {\"string\": \"Date Issue\", \"type\": \"char\", \"store\": true}, \"total_child_tax\": {\"string\": \"Total Child Tax\", \"type\": \"decimal\", \"store\": true}, \"total_step_child_tax\": {\"string\": \"Total Step Child Tax\", \"type\": \"decimal\", \"store\": true}, \"total_legi_child_tax\": {\"string\": \"Total Legitimate Child Tax\", \"type\": \"decimal\", \"store\": true}, \"child_disable_study_step_50\": {\"string\": \"Disable Child studying fulltime - Diploma/Degree onwards in Malaysia/Outside (deprecated)\", \"type\": \"integer\", \"store\": true}, \"child_disable_step_50\": {\"string\": \"Disable Child (deprecated)\", \"type\": \"integer\", \"store\": true}, \"child_study_18_step_50\": {\"string\": \">age of 18 and studying fulltime - Diploma/Degree onwards in Malaysia/Outside (deprecated)\", \"type\": \"integer\", \"store\": true}, \"child_under_18_step_50\": {\"string\": \"\n        <age of 18 / 18 and above studying - included Certificate/Matriculation (deprecated)\", \"type\": \"integer\", \"store\": true}, \"child_disable_study_legi_100\": {\"string\": \"Disable Child studying fulltime - Diploma/Degree onwards in Malaysia/Outside (deprecated)\", \"type\": \"integer\", \"store\": true}, \"child_disable_legi_100\": {\"string\": \"Disable Child (deprecated)\", \"type\": \"integer\", \"store\": true}, \"child_study_18_legi_100\": {\"string\": \">age of 18 and studying fulltime - Diploma/Degree onwards in Malaysia/Outside (deprecated)\", \"type\": \"integer\", \"store\": true}, \"child_under_18_legi_100\": {\"string\": \"\n            <age of 18 / 18 and above studying - included Certificate/Matriculation (deprecated)\", \"type\": \"integer\", \"store\": true}, \"cur_total_tax_deduction\": {\"string\": \"Total Optional Tax Deduction\", \"type\": \"decimal\", \"store\": true}, \"cur_fees_tourist\": {\"string\": \"Accommodation fee at registered premises and entrance fees to tourist attractions \", \"type\": \"decimal\", \"store\": true}, \"cur_fee_child_care\": {\"string\": \"Fees paid to Child Care Centre and Kindergartens\", \"type\": \"decimal\", \"store\": true}, \"cur_eqp_bf\": {\"string\": \"Purchase of breastfeeding equipment for personal use for children age <= 2 (Deduction allowed once every 2 years of assessment)\", \"type\": \"decimal\", \"store\": true}, \"cur_exp_sport\": {\"string\": \"Purchase of sport equipment, rental or registration fee to sport facilities and registration fee for sport competition \", \"type\": \"decimal\", \"store\": true}, \"cur_exp_lifestyle\": {\"string\": \"Expenses for the use / benefit of self, spouse or child for purchase of readings, computer, smartphone, tablet, sport equipment, gymnasium membership and subscription of broadband internet\", \"type\": \"decimal\", \"store\": true}, \"cur_socso_con\": {\"string\": \"Contribution to Social Security Organization (SOCSO)\", \"type\": \"decimal\", \"store\": true}, \"cur_prs_da\": {\"string\": \"Private retirement schemes and deferred annuities\", \"type\": \"decimal\", \"store\": true}, \"cur_edu_med_ins\": {\"string\": \"Education and medical insurance\", \"type\": \"decimal\", \"store\": true}, \"cur_pymt_alimony\": {\"string\": \"Payment of alimony to former wife\", \"type\": \"decimal\", \"store\": true}, \"cur_net_dps_sspn\": {\"string\": \"Net deposit in Skim Simpanan Pendidikan Nasional\", \"type\": \"decimal\", \"store\": true}, \"cur_sp_eqp_dsb\": {\"string\": \"Basic supporting equipment for disable person\", \"type\": \"decimal\", \"store\": true}, \"cur_edu_total_ab\": {\"string\": \"Total a + b (Limited 7000 per year)\", \"type\": \"decimal\", \"store\": true}, \"cur_course_fees_imp\": {\"string\": \"(b) Course fees for skills improvement and self-improvement\", \"type\": \"decimal\", \"store\": true}, \"cur_edu_fees\": {\"string\": \"(a) Self education fees \", \"type\": \"decimal\", \"store\": true}, \"cur_mother_relief\": {\"string\": \"Mother Relief\", \"type\": \"decimal\", \"store\": true}, \"cur_father_relief\": {\"string\": \"Father Relief\", \"type\": \"decimal\", \"store\": true}, \"cur_med_total_abc\": {\"string\": \"Total a + b + c (Limited 8000 per year)\", \"type\": \"decimal\", \"store\": true}, \"cur_med_exp_vac\": {\"string\": \"(c) Vaccination expenses for self, spouse / child \", \"type\": \"decimal\", \"store\": true}, \"cur_comp_med_exm\": {\"string\": \"(b) Complete medical examination for self, spouse, child \", \"type\": \"decimal\", \"store\": true}, \"cur_med_exp_srs\": {\"string\": \"(a) Medical expenses for serious diseases for self, spouse or child / Medical expenses for serious diseases for self, spouse or child / fertility treatment for yourself or spouse \", \"type\": \"decimal\", \"store\": true}, \"cur_med_exp\": {\"string\": \"Medical expenses for own parents, special need and parent care\", \"type\": \"decimal\", \"store\": true}, \"cur_life_ins_oth_rts\": {\"string\": \"Life Insurance Premium for other than Retired Civil Servant\", \"type\": \"decimal\", \"store\": true}, \"cur_life_ins_rts\": {\"string\": \"Life Insurance Premium for Retired Civil Servant\", \"type\": \"decimal\", \"store\": true}, \"epf_n_oaf\": {\"string\": \"EPF Remuneration and Other Approved Funds\", \"type\": \"decimal\", \"store\": true}, \"a_epf_n_oaf\": {\"string\": \"Accumulated EPF and Other Approved Funds (deprecated)\", \"type\": \"decimal\", \"store\": true}, \"dsb_sp\": {\"string\": \"Disable Spouse (deprecated)\", \"type\": \"char\", \"store\": true}, \"dsb_in\": {\"string\": \"Disable Individual (deprecated)\", \"type\": \"char\", \"store\": true}, \"state\": {\"string\": \"Status\", \"type\": \"selection\", \"selection\": [[\"done\", \"Completed\"], [\"draft\", \"Draft\"]], \"store\": true}, \"pcb_paid_prev\": {\"string\": \"Total PCB Paid In Previous Company\", \"type\": \"decimal\", \"store\": true}, \"deduction_after_epf_socso_eis\": {\"string\": \"Salary After EPF, SOCSO, EIS Deduction\", \"type\": \"decimal\", \"store\": true}, \"gross_add_income\": {\"string\": \"Gross Additional Income\", \"type\": \"decimal\", \"store\": true}, \"pcb_paid\": {\"string\": \"Total PCB Paid In This Company\", \"type\": \"decimal\", \"store\": true}, \"gross_income_paid_prv\": {\"string\": \"Gross Income Paid By Previous Employer\", \"type\": \"decimal\", \"store\": true}, \"total_yearly_tax\": {\"string\": \"Total Yearly Tax\", \"type\": \"decimal\", \"store\": true}, \"exp_annual_salary\": {\"string\": \"Expected Annual Salary\", \"type\": \"decimal\", \"store\": true}, \"pcb\": {\"string\": \"PCB\", \"type\": \"decimal\", \"store\": true}, \"director_fee\": {\"string\": \"Director Fee (not paid monthly)\", \"type\": \"decimal\", \"store\": true}, \"bonus\": {\"string\": \"Bonus\", \"type\": \"decimal\", \"store\": true}, \"num_of_child\": {\"string\": \"Number of Children\", \"type\": \"integer\", \"store\": true}, \"total_tax\": {\"string\": \"Total Tax Relief\", \"type\": \"decimal\", \"store\": true}, \"year\": {\"string\": \"Year\", \"type\": \"char\", \"store\": true}, \"epf_rate\": {\"string\": \"EPF Rate (%)\", \"type\": \"integer\", \"store\": true}, \"tax_resident\": {\"string\": \"Tax Resident\", \"type\": \"char\", \"store\": true}, \"epf_add_rate\": {\"string\": \"Voluntary Excess Rate (%)\", \"type\": \"decimal\", \"store\": true}, \"epf_ee\": {\"string\": \"EPF Employee (RM)\", \"type\": \"decimal\", \"store\": true}, \"socso_ee\": {\"string\": \"SOCSO Employee (RM)\", \"type\": \"decimal\", \"store\": true}, \"eis_ee\": {\"string\": \"EIS Employee (RM)\", \"type\": \"decimal\", \"store\": true}, \"net_salary\": {\"string\": \"Net Salary\", \"type\": \"decimal\", \"store\": true}, \"total_deduction\": {\"string\": \"Total Deduction\", \"type\": \"decimal\", \"store\": true}, \"salary_per_month\": {\"string\": \"Salary / Month\", \"type\": \"decimal\", \"store\": true}, \"month\": {\"string\": \"Month\", \"type\": \"selection\", \"selection\": [[1, \"January\"], [2, \"February\"], [3, \"March\"], [4, \"April\"], [5, \"May\"], [6, \"June\"], [7, \"July\"], [8, \"August\"], [9, \"September\"], [10, \"October\"], [11, \"November\"], [12, \"December\"]], \"store\": true}, \"number\": {\"string\": \"Number\", \"type\": \"char\", \"required\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"many2one\", \"relation\": \"hr2.employee\", \"store\": true}}}, \"hr2.salary.year\": {\"string\": \"Yearly Rate\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"store\": true}}}, \"pm.task.categ\": {\"string\": \"Project Task Category\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"code\": {\"string\": \"Code\", \"type\": \"char\", \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"required\": true, \"store\": true}}}, \"hr2.deduction.eis.lines\": {\"string\": \"EIS Lines\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"total_rate\": {\"string\": \"Total Rate\", \"type\": \"decimal\", \"store\": true}, \"employer_rate\": {\"string\": \"Employer Rate (RM)\", \"type\": \"decimal\", \"store\": true}, \"employee_rate\": {\"string\": \"Employee Rate (RM)\", \"type\": \"decimal\", \"store\": true}, \"max_income\": {\"string\": \"Maximum Income\", \"type\": \"decimal\", \"store\": true}, \"min_income\": {\"string\": \"Minimum Income\", \"type\": \"decimal\", \"store\": true}, \"no\": {\"string\": \"No\", \"type\": \"integer\", \"store\": true}, \"eis_deduction_id\": {\"string\": \"EIS Deduction ID\", \"type\": \"many2one\", \"relation\": \"hr2.deduction\", \"store\": true}}}, \"hr2.deduction.mtd.lines\": {\"string\": \"MTD Lines\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"nar_b1\": {\"string\": \"B - Category 1 & 3 (RM)\", \"type\": \"char\", \"store\": true}, \"rep_p_max\": {\"string\": \"P - Maximum (RM)\", \"type\": \"decimal\", \"store\": true}, \"rep_p_min\": {\"string\": \"P - Minimum (RM)\", \"type\": \"decimal\", \"store\": true}, \"nar_p_max\": {\"string\": \"P - Maximum (RM)\", \"type\": \"decimal\", \"store\": true}, \"nar_p_min\": {\"string\": \"P - Minimum (RM)\", \"type\": \"decimal\", \"store\": true}, \"nar_no\": {\"string\": \"No\", \"type\": \"integer\", \"store\": true}, \"rep_no\": {\"string\": \"No\", \"type\": \"integer\", \"store\": true}, \"rep_t2\": {\"string\": \"T - Category 2 (RM)\", \"type\": \"decimal\", \"store\": true}, \"rep_t1\": {\"string\": \"T - Category 1 & 3 (RM)\", \"type\": \"decimal\", \"store\": true}, \"rep_r\": {\"string\": \"R (%)\", \"type\": \"integer\", \"store\": true}, \"rep_p\": {\"string\": \"P (RM)\", \"type\": \"char\", \"store\": true}, \"nar_b2\": {\"string\": \"B - Category 2 (RM)\", \"type\": \"char\", \"store\": true}, \"nar_r\": {\"string\": \"R (%)\", \"type\": \"decimal\", \"store\": true}, \"nar_m\": {\"string\": \"M (RM)\", \"type\": \"decimal\", \"store\": true}, \"nar_p\": {\"string\": \"P (RM)\", \"type\": \"char\", \"store\": true}, \"mtd_deduction_id_rep\": {\"string\": \"MTD Deduction ID REP\", \"type\": \"many2one\", \"relation\": \"hr2.deduction\", \"store\": true}, \"mtd_deduction_id_nar\": {\"string\": \"MTD Deduction ID NAR\", \"type\": \"many2one\", \"relation\": \"hr2.deduction\", \"store\": true}}}, \"control\": {\"string\": \"Control\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"to_email\": {\"string\": \"To Email\", \"type\": \"char\", \"store\": true}, \"stock_summary_id\": {\"string\": \"Stock Summary Id\", \"type\": \"integer\", \"store\": true}, \"account_sum_id\": {\"string\": \"Account Summary Id\", \"type\": \"integer\", \"store\": true}, \"difference\": {\"string\": \"Difference\", \"type\": \"decimal\", \"store\": true}, \"total_account_balance\": {\"string\": \"Account Balance\", \"type\": \"char\", \"store\": true}, \"total_close_amt\": {\"string\": \"Closing Amount\", \"type\": \"decimal\", \"store\": true}}}, \"type.of.module\": {\"string\": \"Type of Module\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"store\": true}}}, \"price.calc\": {\"string\": \"Price Calculator\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"total\": {\"string\": \"Total\", \"type\": \"integer\", \"store\": true}, \"purchasing\": {\"string\": \"Purchasing\", \"type\": \"boolean\", \"store\": true}, \"sales_crm\": {\"string\": \"Sales & CRM\", \"type\": \"boolean\", \"store\": true}, \"inventory\": {\"string\": \"Inventory\", \"type\": \"boolean\", \"store\": true}, \"accounting\": {\"string\": \"Accounting\", \"type\": \"boolean\", \"store\": true}, \"bom_max\": {\"string\": \"Bill of Material Max.\", \"type\": \"integer\", \"store\": true}, \"bom_avg\": {\"string\": \"Bill of Material Avg.\", \"type\": \"integer\", \"store\": true}, \"month_sub\": {\"string\": \"Monthly Subscription\", \"type\": \"decimal\", \"store\": true}, \"total_price\": {\"string\": \"Total Price\", \"type\": \"decimal\", \"store\": true}, \"sales_quotation_prepared_day_max\": {\"string\": \"Sales Quotationprepared / Day Max.\", \"type\": \"integer\", \"store\": true}, \"invoices_print_day_avg\": {\"string\": \"Invoices Print / Day Avg.\", \"type\": \"integer\", \"store\": true}, \"purchase_order_avg\": {\"string\": \"Purchase Order Avg.\", \"type\": \"integer\", \"store\": true}, \"master_products_sku_avg\": {\"string\": \"Master Products/ Sku's Avg.\", \"type\": \"integer\", \"store\": true}, \"purchase_request_make_day_avg\": {\"string\": \"Purchase Request Make / Day Avg.\", \"type\": \"integer\", \"store\": true}, \"sales_inquiries_receive_day_avg\": {\"string\": \"Sales Inquiries Receive / Day Avg.\", \"type\": \"integer\", \"store\": true}, \"sales_quotation_prepared_day_avg\": {\"string\": \"Sales Quotation Prepared / Day Avg.\", \"type\": \"integer\", \"store\": true}, \"sales_quotation_print_day_avg\": {\"string\": \"Sales Quotation Print / Day Avg.\", \"type\": \"integer\", \"store\": true}, \"supplier_invoices_avg\": {\"string\": \"Supplier Invoices Avg.\", \"type\": \"integer\", \"store\": true}, \"supplier_debit_notes_avg\": {\"string\": \"Supplier Debit Notes Avg.\", \"type\": \"integer\", \"store\": true}, \"supplier_credit_notes_avg\": {\"string\": \"Supplier Credit Notes Avg.\", \"type\": \"integer\", \"store\": true}, \"sales_order_receive_day_avg\": {\"string\": \"Sales Order Receive / Day Avg.\", \"type\": \"integer\", \"store\": true}, \"landed_cost_avg\": {\"string\": \"Landed Cost\", \"type\": \"integer\", \"store\": true}, \"goods_transfer_avg\": {\"string\": \"Goods Transfer Avg.\", \"type\": \"integer\", \"store\": true}, \"goods_issue_avg\": {\"string\": \"Goods Issue Avg.\", \"type\": \"integer\", \"store\": true}, \"goods_receipt_avg\": {\"string\": \"Goods Receipt Avg.\", \"type\": \"integer\", \"store\": true}, \"customer_payments_record_day_avg\": {\"string\": \"Customer Payments Record / Day  Avg.\", \"type\": \"integer\", \"store\": true}, \"customer_invoices_avg\": {\"string\": \"Customer Invoices Avg.\", \"type\": \"integer\", \"store\": true}, \"customer_debit_notes_avg\": {\"string\": \"Customer Debit Notes Avg.\", \"type\": \"integer\", \"store\": true}, \"customer_credit_notes_avg\": {\"string\": \"Customer Credit Notes Avg.\", \"type\": \"integer\", \"store\": true}, \"master_products_sku_max\": {\"string\": \"Master Products/ Sku'S Max.\", \"type\": \"integer\", \"store\": true}, \"purchase_order_max\": {\"string\": \"Purchase Order Max.\", \"type\": \"integer\", \"store\": true}, \"purchase_request_make_day_max\": {\"string\": \"Purchase Request Make / Day Max.\", \"type\": \"integer\", \"store\": true}, \"sales_order_receive_day_max\": {\"string\": \"Sales Order Receive / Day Max.\", \"type\": \"integer\", \"store\": true}, \"sales_quotation_print_day_max\": {\"string\": \"Sales Quotation Print / Day Max.\", \"type\": \"integer\", \"store\": true}, \"sales_inquiries_receive_day_max\": {\"string\": \"Sales Inquiries Receive / Day Max.\", \"type\": \"integer\", \"store\": true}, \"landed_cost_max\": {\"string\": \"Landed Cost Max.\", \"type\": \"integer\", \"store\": true}, \"ftf_training\": {\"string\": \"Face-to-Face Training\", \"type\": \"boolean\", \"store\": true}, \"migrate\": {\"string\": \"Migrate the Data\", \"type\": \"boolean\", \"store\": true}, \"human_resource\": {\"string\": \"Human Resource\", \"type\": \"boolean\", \"store\": true}, \"pos\": {\"string\": \"Point of Sales\", \"type\": \"boolean\", \"store\": true}, \"manufacturing\": {\"string\": \"Manufacturing\", \"type\": \"boolean\", \"store\": true}, \"goods_transfer_max\": {\"string\": \"Goods Transfer Max.\", \"type\": \"integer\", \"store\": true}, \"goods_issue_max\": {\"string\": \"Goods Issue Max.\", \"type\": \"integer\", \"store\": true}, \"goods_receipt_max\": {\"string\": \"Goods Receipt Max.\", \"type\": \"integer\", \"store\": true}, \"customer_payments_record_day_max\": {\"string\": \"Customer Payments Record / Day Max.\", \"type\": \"integer\", \"store\": true}, \"invoices_print_day_max\": {\"string\": \"Invoices Print / Day Max.\", \"type\": \"integer\", \"store\": true}, \"supplier_debit_notes_max\": {\"string\": \"Supplier Debit Notes Max.\", \"type\": \"integer\", \"store\": true}, \"supplier_credit_notes_max\": {\"string\": \"Supplier Credit Notes Max.\", \"type\": \"integer\", \"store\": true}, \"supplier_invoices_max\": {\"string\": \"Supplier Invoices Max.\", \"type\": \"integer\", \"store\": true}, \"customer_debit_notes_max\": {\"string\": \"Customer Debit Notes Max.\", \"type\": \"integer\", \"store\": true}, \"customer_credit_notes_max\": {\"string\": \"Customer Credit Notes Max.\", \"type\": \"integer\", \"store\": true}, \"customer_invoices_max\": {\"string\": \"Customer Invoices Max.\", \"type\": \"integer\", \"store\": true}, \"currency\": {\"string\": \"Currency\", \"type\": \"many2one\", \"relation\": \"currency\", \"store\": true}, \"address_location_country\": {\"string\": \"Address / Location, Country\", \"type\": \"char\", \"store\": true}, \"customised_documents\": {\"string\": \"Customised Documents\", \"type\": \"integer\", \"store\": true}, \"modules_features\": {\"string\": \"Modules/Features\", \"type\": \"char\", \"store\": true}, \"locations\": {\"string\": \"Locations\", \"type\": \"integer\", \"store\": true}, \"users\": {\"string\": \"Users\", \"type\": \"char\", \"store\": true}, \"companies\": {\"string\": \"Companies\", \"type\": \"char\", \"store\": true}, \"employees\": {\"string\": \"Employees\", \"type\": \"integer\", \"store\": true}, \"phone_number\": {\"string\": \"Phone Number\", \"type\": \"char\", \"store\": true}, \"email\": {\"string\": \"Email\", \"type\": \"char\", \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"store\": true}}}, \"hr2.payroll\": {\"string\": \"Payroll\", \"name_field\": \"number\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"type_of_position\": {\"string\": \"Type Of Position\", \"type\": \"selection\", \"selection\": [[\"Internship\", \"Internship\"], [\"Full Time\", \"Full Time\"], [\"Part Time\", \"Part Time\"], [\"Project Based\", \"Project Based\"]], \"store\": true}, \"number\": {\"string\": \"Payroll No\", \"type\": \"char\", \"store\": true}, \"working_days\": {\"string\": \"Working Days\", \"type\": \"integer\", \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"many2one\", \"relation\": \"hr2.employee\", \"store\": true}, \"working_month\": {\"string\": \"Working Month\", \"type\": \"selection\", \"selection\": [[\"January\", \"January\"], [\"February\", \"February\"], [\"March\", \"March\"], [\"April\", \"April\"], [\"May\", \"May\"], [\"June\", \"June\"], [\"July\", \"July\"], [\"August\", \"August\"], [\"September\", \"September\"], [\"October\", \"October\"], [\"November\", \"November\"], [\"December\", \"December\"]], \"store\": true}, \"lines\": {\"string\": \"Payroll Lines\", \"type\": \"one2many\", \"relation\": \"hr2.payroll.lines\", \"relfield\": \"payroll_id\"}, \"period_to\": {\"string\": \"Period (To)\", \"type\": \"date\", \"store\": true}, \"period_from\": {\"string\": \"Period (From)\", \"type\": \"date\", \"store\": true}, \"payment_date\": {\"string\": \"Payment Date\", \"type\": \"date\", \"store\": true}, \"paid_by\": {\"string\": \"Paid By\", \"type\": \"char\", \"store\": true}}}, \"pm.project.lines\": {\"string\": \"Project Manage Lines\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"task_id\": {\"string\": \"Task List\", \"type\": \"many2one\", \"relation\": \"pm.task\", \"store\": true}, \"pic\": {\"string\": \"Person In Charge\", \"type\": \"many2one\", \"relation\": \"hr2.employee\", \"store\": true}, \"act_date_start\": {\"string\": \"Actual Start Date\", \"type\": \"date\", \"store\": true}, \"act_date_end\": {\"string\": \"Actual End Date\", \"type\": \"date\", \"store\": true}, \"percentage\": {\"string\": \"Percentage(%)\", \"type\": \"integer\", \"store\": true}, \"day\": {\"string\": \"Days\", \"type\": \"char\", \"store\": true}, \"status\": {\"string\": \"Task Status\", \"type\": \"selection\", \"selection\": [[\"new\", \"New\"], [\"complete\", \"Completed\"], [\"ongoing\", \"Ongoing\"], [\"pending\", \"Pending\"]], \"store\": true}, \"duration\": {\"string\": \"Total Duration\", \"type\": \"char\", \"store\": true}, \"date_end\": {\"string\": \"End Date\", \"type\": \"date\", \"store\": true}, \"date_start\": {\"string\": \"Start Date\", \"type\": \"date\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"text\", \"store\": true}, \"name\": {\"string\": \"Task Name\", \"type\": \"char\", \"store\": true}, \"pm_id\": {\"string\": \"Filter ID\", \"type\": \"many2one\", \"relation\": \"pm.project\", \"store\": true}}}, \"pm.project.comment\": {\"string\": \"Project Manage Comment\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"store\": true}, \"cm_id\": {\"string\": \"Comment ID\", \"type\": \"many2one\", \"relation\": \"pm.project\", \"store\": true}, \"comment\": {\"string\": \"Comment\", \"type\": \"char\", \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"store\": true}}}, \"pm.sub.task\": {\"string\": \"Project Sub Task\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"act_date_start\": {\"string\": \"Actual Start Date\", \"type\": \"datetime\", \"store\": true}, \"act_date_end\": {\"string\": \"Actual End Date\", \"type\": \"datetime\", \"store\": true}, \"tester\": {\"string\": \"Tester\", \"type\": \"many2one\", \"relation\": \"hr2.employee\", \"store\": true}, \"builder\": {\"string\": \"Builder\", \"type\": \"many2one\", \"relation\": \"hr2.employee\", \"store\": true}, \"duration\": {\"string\": \"Total Duration\", \"type\": \"char\", \"store\": true}, \"status\": {\"string\": \"Task Status\", \"type\": \"char\", \"store\": true}, \"time_end\": {\"string\": \"Time End\", \"type\": \"char\", \"store\": true}, \"time_start\": {\"string\": \"Time Start\", \"type\": \"char\", \"store\": true}, \"description\": {\"string\": \"Description\", \"type\": \"char\", \"store\": true}, \"name\": {\"string\": \"Sub Task Name\", \"type\": \"char\", \"store\": true}, \"number\": {\"string\": \"Task Number\", \"type\": \"char\", \"store\": true}}}, \"pm.task.comment\": {\"string\": \"Project Task Comment\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"store\": true}, \"date\": {\"string\": \"Date\", \"type\": \"date\", \"store\": true}, \"comment\": {\"string\": \"Comment\", \"type\": \"char\", \"store\": true}, \"cm_id\": {\"string\": \"Comment ID\", \"type\": \"many2one\", \"relation\": \"pm.task\", \"store\": true}}}, \"client.db.tracker.database\": {\"string\": \"Database\", \"fields\": {\"create_time\": {\"string\": \"Create Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"write_time\": {\"string\": \"Write Time\", \"type\": \"datetime\", \"readonly\": true, \"store\": true}, \"create_uid\": {\"string\": \"Create UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"write_uid\": {\"string\": \"Write UID\", \"type\": \"integer\", \"readonly\": true, \"store\": true}, \"name\": {\"string\": \"Name\", \"type\": \"char\", \"store\": true}, \"domain\": {\"string\": \"Domain\", \"type\": \"char\", \"store\": true}, \"server\": {\"string\": \"Server\", \"type\": \"many2one\", \"relation\": \"client.db.tracker.server\", \"store\": true}}}}, \"templates\": {\"create_db\": {\"type\": \"hbs\", \"body\": \"\n                <div class=\\\"navbar navbar-inverse nf-navbar\\\" style=\\\"margin-bottom:0\\\">\\n    \n                    <div class=\\\"container\\\">\\n        \n                        <div class=\\\"navbar-header\\\">\\n            \n                            <a class=\\\"navbar-brand\\\" href=\\\"#\\\">\\n                \n                                <img src=\\\"/static/img/menu_icon.png\\\"/> Netforce\\n\n                            </a>\\n\n                        </div>\\n\n                    </div>\\n\n                </div>\\n\n                <div class=\\\"container\\\">\\n    \n                    <ul class=\\\"breadcrumb nf-breadcrumb\\\">\\n        \n                        <li>\n                            <a href=\\\"ui#name=manage_db\\\">Manage Databases</a>\n                        </li>\\n\n                    </ul>\\n\n                    <div class=\\\"page-header nf-page-header\\\">\\n        \n                        <h1>Create New Database</h1>\\n\n                    </div>\\n    {{view \\\"flash\\\" context=context}}\\n    {{view \\\"field\\\" name=\\\"super_password\\\" password=\\\"1\\\" context=context}}\\n    {{view \\\"field\\\" name=\\\"db_name\\\" context=context}}\\n    {{view \\\"field\\\" name=\\\"admin_password\\\" password=\\\"1\\\" context=context}}\\n    {{view \\\"field\\\" name=\\\"use_demo\\\" context=context}}\\n    {{#view \\\"form_actions\\\" context=context}}\\n        {{view \\\"button\\\" string=\\\"Create Database\\\" type=\\\"primary\\\" size=\\\"large\\\" method=\\\"create_db\\\" method_options=\\\"nosave=1\\\" context=context}}\\n    {{/view}}\\n\n                </div>\\n\"}, \"delete_db\": {\"type\": \"hbs\", \"body\": \"\n                <div class=\\\"navbar navbar-inverse nf-navbar\\\" style=\\\"margin-bottom:0\\\">\\n    \n                    <div class=\\\"container\\\">\\n        \n                        <div class=\\\"navbar-header\\\">\\n            \n                            <a class=\\\"navbar-brand\\\" href=\\\"#\\\">\\n                \n                                <img src=\\\"/static/img/menu_icon.png\\\"/> Netforce\\n\n                            </a>\\n\n                        </div>\\n\n                    </div>\\n\n                </div>\\n\n                <div class=\\\"container\\\">\\n    \n                    <ul class=\\\"breadcrumb nf-breadcrumb\\\">\\n        \n                        <li>\n                            <a href=\\\"ui#name=manage_db\\\">Manage Databases</a>\n                        </li>\\n\n                    </ul>\\n\n                    <div class=\\\"page-header nf-page-header\\\">\\n        \n                        <h1>Delete Database</h1>\\n\n                    </div>\\n    {{view \\\"flash\\\" context=context}}\\n    {{view \\\"field\\\" name=\\\"super_password\\\" password=\\\"1\\\" context=context}}\\n    {{view \\\"field\\\" name=\\\"dbname\\\" selection=\\\"get_databases\\\" context=context}}\\n    {{#view \\\"form_actions\\\" context=context}}\\n        {{view \\\"button\\\" string=\\\"Delete database\\\" type=\\\"danger\\\" size=\\\"large\\\" method=\\\"delete_db\\\" method_options=\\\"nosave=1\\\" confirm=\\\"Are you sure?\\\" context=context}}\\n    {{/view}}\\n\n                </div>\\n\"}, \"forgot_passwd\": {\"type\": \"hbs\", \"body\": \"\n                <div class=\\\"navbar navbar-inverse nf-navbar\\\" style=\\\"margin-bottom:0\\\">\\n    \n                    <div class=\\\"container\\\">\\n        \n                        <div class=\\\"navbar-header\\\">\\n            \n                            <a class=\\\"navbar-brand\\\" href=\\\"#\\\">\\n                \n                                <img src=\\\"/static/img/menu_icon.png\\\"/> Netforce\\n\n                            </a>\\n\n                        </div>\\n\n                    </div>\\n\n                </div>\\n\n                <div class=\\\"container\\\">\\n    {{#view \\\"page\\\" title=\\\"Forgot password\\\" context=context}}\\n        {{view \\\"flash\\\" context=context}}\\n        {{view \\\"field\\\" name=\\\"email\\\" context=context}}\\n        {{#view \\\"form_actions\\\" context=context}}\\n            {{view \\\"button\\\" string=\\\"Reset password\\\" type=\\\"primary\\\" method=\\\"send_email\\\" context=context}}\\n            {{view \\\"button\\\" string=\\\"Cancel\\\" action=\\\"login\\\" context=context}}\\n        {{/view}}\\n    {{/view}}\\n    \n                    <div style=\\\"margin-top:30px\\\">\\n        \n                        <a href=\\\"#name=login\\\">\n                            <i class=\\\"icon-arrow-left\\\"></i> Back to login\n                        </a>\\n\n                    </div>\\n\n                </div>\\n\"}, \"upgrade_db\": {\"type\": \"hbs\", \"body\": \"\n                <div class=\\\"navbar navbar-inverse nf-navbar\\\" style=\\\"margin-bottom:0\\\">\\n    \n                    <div class=\\\"container\\\">\\n        \n                        <div class=\\\"navbar-header\\\">\\n            \n                            <a class=\\\"navbar-brand\\\" href=\\\"#\\\">\\n                \n                                <img src=\\\"/static/img/menu_icon.png\\\"/> Netforce\\n\n                            </a>\\n\n                        </div>\\n\n                    </div>\\n\n                </div>\\n\n                <div class=\\\"container\\\">\\n    \n                    <ul class=\\\"breadcrumb nf-breadcrumb\\\">\\n        \n                        <li>\n                            <a href=\\\"ui#name=manage_db\\\">Manage Databases</a>\n                        </li>\\n\n                    </ul>\\n\n                    <div class=\\\"page-header nf-page-header\\\">\\n        \n                        <h1>Upgrade Database</h1>\\n\n                    </div>\\n    {{view \\\"flash\\\" context=context}}\\n    {{view \\\"field\\\" name=\\\"super_password\\\" password=\\\"1\\\" context=context}}\\n    {{view \\\"field\\\" name=\\\"dbname\\\" selection=\\\"get_databases\\\" context=context}}\\n    {{#view \\\"form_actions\\\" context=context}}\\n        {{view \\\"button\\\" string=\\\"Upgrade database\\\" type=\\\"primary\\\" size=\\\"large\\\" method=\\\"upgrade_db\\\" method_options=\\\"nosave=1\\\" context=context}}\\n    {{/view}}\\n\n                </div>\\n\"}, \"login\": {\"type\": \"hbs\", \"body\": \"\n                <div class=\\\"navbar navbar-inverse nf-navbar\\\" style=\\\"margin-bottom:0\\\">\\n    \n                    <div class=\\\"container\\\">\\n        \n                        <div class=\\\"navbar-header\\\">\\n            \n                            <a class=\\\"navbar-brand\\\" href=\\\"#\\\">\\n                \n                                <img src=\\\"/static/img/menu_icon.png\\\"/> Netforce\\n\n                            </a>\\n\n                        </div>\\n\n                    </div>\\n\n                </div>\\n\n                <div class=\\\"container\\\">\\n    {{#if context.data.company_logo}}\\n        \n                    <div style=\\\"margin:18px 0\\\">\\n            \n                        <img src=\\\"{{context.data.company_logo}}\\\" style=\\\"max-height:100px\\\"/>\\n\n                    </div>\\n    {{/if}}\\n\n                    <div class=\\\"page-header nf-page-header\\\">\\n        \n                        <h1>Welcome to Netforce</h1>\\n\n                    </div>\\n    {{view \\\"flash\\\" context=context}}\\n    {{#view \\\"form\\\" context=context}}\\n        {{view \\\"field\\\" name=\\\"show_dbs\\\" invisible=\\\"1\\\" context=context}}\\n\n                    <div class=\\\"row\\\" {{#unless context.data.show_dbs}}style=\\\"display:none\\\"{{/unless}}>\\n            \n                        <div class=\\\"col-sm-2\\\">\\n                {{view \\\"field\\\" name=\\\"db_name\\\" size=\\\"medium\\\" selection=\\\"get_databases\\\" context=context}}\\n            </div>\\n\n                        <div class=\\\"col-sm-2\\\">\\n                \n                            <div class=\\\"form-group\\\">\\n                    \n                                <label class=\\\"control-label\\\"></label>\\n\n                                <div>\\n                        \n                                    <a href=\\\"#name=manage_db\\\" tabindex=\\\"-1\\\">\n                                        <i class=\\\"icon-arrow-right\\\"></i> Manage databases\n                                    </a>\\n\n                                </div>\\n\n                            </div>\\n\n                        </div>\\n\n                    </div>\\n\n                    <div class=\\\"row\\\">\\n            {{view \\\"field\\\" name=\\\"login\\\" span=\\\"3\\\" context=context}}\\n            {{view \\\"field\\\" name=\\\"password\\\" password=\\\"1\\\" span=\\\"3\\\" submit_form=\\\"1\\\" context=context}}\\n            \n                        <div class=\\\"col-sm-2\\\">\\n                \n                            <div class=\\\"form-group\\\">\\n                    \n                                <label class=\\\"control-label\\\"></label>\\n\n                                <div>\\n                        \n                                    <a href=\\\"#name=forgot_passwd\\\" tabindex=\\\"-1\\\">Forgot your password?</a>\\n\n                                </div>\\n\n                            </div>\\n\n                        </div>\\n\n                    </div>\\n        {{view \\\"button\\\" string=\\\"Login\\\" type=\\\"primary\\\" size=\\\"large\\\" method=\\\"login\\\" method_options=\\\"nosave=1\\\" context=context}}\\n    {{/view}}\\n\n                </div>\\n\"}, \"change_passwd\": {\"type\": \"hbs\", \"body\": \"\n                <div class=\\\"navbar navbar-inverse\\\">\\n    \n                    <div class=\\\"navbar-inner\\\">\\n        \n                        <div class=\\\"container\\\">\\n            \n                            <a class=\\\"brand\\\" href=\\\"#\\\">\\n                \n                                <img src=\\\"/static/img/netforce_logo_16.png\\\" style=\\\"margin-right:5px\\\">\\n                \n                                <span style=\\\"position:relative;top:1px\\\">Netforce</span>\\n\n                            </a>\\n\n                        </div>\\n\n                    </div>\\n\n                </div>\\n\n                <div class=\\\"container\\\">\\n    \n                    <div class=\\\"span8\\\">\\n        {{#view \\\"page\\\" title=\\\"Change password\\\" context=context}}\\n            {{view \\\"flash\\\" context=context}}\\n            {{view \\\"field\\\" name=\\\"new_password\\\" password=\\\"1\\\" context=context}}\\n            {{view \\\"field\\\" name=\\\"new_password_repeat\\\" password=\\\"1\\\" context=context}}\\n            {{#view \\\"form_actions\\\" context=context}}\\n                {{view \\\"button\\\" string=\\\"Change password\\\" type=\\\"primary\\\" method=\\\"change_passwd\\\" context=context}}\\n            {{/view}}\\n        {{/view}}\\n    </div>\\n\n                </div>\\n\"}, \"copy_db\": {\"type\": \"hbs\", \"body\": \"\n                <div class=\\\"navbar navbar-inverse nf-navbar\\\" style=\\\"margin-bottom:0\\\">\\n    \n                    <div class=\\\"container\\\">\\n        \n                        <div class=\\\"navbar-header\\\">\\n            \n                            <a class=\\\"navbar-brand\\\" href=\\\"#\\\">\\n                \n                                <img src=\\\"/static/img/menu_icon.png\\\"/> Netforce\\n\n                            </a>\\n\n                        </div>\\n\n                    </div>\\n\n                </div>\\n\n                <div class=\\\"container\\\">\\n    \n                    <ul class=\\\"breadcrumb nf-breadcrumb\\\">\\n        \n                        <li>\n                            <a href=\\\"ui#name=manage_db\\\">Manage Databases</a>\n                        </li>\\n\n                    </ul>\\n\n                    <div class=\\\"page-header nf-page-header\\\">\\n        \n                        <h1>Copy Database</h1>\\n\n                    </div>\\n    {{view \\\"flash\\\" context=context}}\\n    {{view \\\"field\\\" name=\\\"super_password\\\" password=\\\"1\\\" context=context}}\\n    {{view \\\"field\\\" name=\\\"dbname\\\" selection=\\\"get_databases\\\" context=context}}\\n    {{view \\\"field\\\" name=\\\"new_dbname\\\" context=context}}\\n    {{#view \\\"form_actions\\\" context=context}}\\n        {{view \\\"button\\\" string=\\\"Copy Database\\\" type=\\\"primary\\\" size=\\\"large\\\" method=\\\"copy_db\\\" method_options=\\\"nosave=1\\\" context=context}}\\n    {{/view}}\\n\n                </div>\\n\"}, \"manage_db\": {\"type\": \"hbs\", \"body\": \"\n                <div class=\\\"navbar navbar-inverse nf-navbar\\\" style=\\\"margin-bottom:0\\\">\\n    \n                    <div class=\\\"container\\\">\\n        \n                        <div class=\\\"navbar-header\\\">\\n            \n                            <a class=\\\"navbar-brand\\\" href=\\\"#\\\">\\n                \n                                <img src=\\\"/static/img/menu_icon.png\\\"/> Netforce\\n\n                            </a>\\n\n                        </div>\\n\n                    </div>\\n\n                </div>\\n\n                <div class=\\\"container\\\">\\n    \n                    <div class=\\\"page-header nf-page-header\\\">\\n        \n                        <h1>Manage Databases</h1>\\n\n                    </div>\\n    {{view \\\"flash\\\" context=context}}\\n\n                    <div class=\\\"btn-toolbar\\\">\\n        \n                        <a href=\\\"#name=create_db\\\" class=\\\"btn btn-default\\\">\n                            <i class=\\\"icon-plus\\\"></i> Create new database\n                        </a>\\n\n                        <a href=\\\"#name=copy_db\\\" class=\\\"btn btn-default\\\">\n                            <i class=\\\"icon-share-alt\\\"></i> Copy database\n                        </a>\\n\n                        <a href=\\\"#name=upgrade_db\\\" class=\\\"btn btn-default\\\">\n                            <i class=\\\"icon-arrow-up\\\"></i> Upgrade database\n                        </a>\\n\n                        <a href=\\\"#name=delete_db\\\" class=\\\"btn btn-default\\\">\n                            <i class=\\\"icon-remove\\\"></i> Delete database\n                        </a>\\n\n                    </div>\\n\n                    <div style=\\\"margin-top:30px\\\">\\n        \n                        <a href=\\\"#name=login\\\">\n                            <i class=\\\"icon-arrow-left\\\"></i> Back to login\n                        </a>\\n\n                    </div>\\n\n                </div>\\n\"}, \"import_data\": {\"type\": \"hbs\", \"body\": \"{{#view \\\"page\\\" title=context.data.title context=context}}\\n    {{view \\\"flash\\\" context=context}}\\n    {{#view \\\"form_body\\\" background=\\\"1\\\" context=context}}\\n        {{view \\\"field\\\" name=\\\"file\\\" context=context}}\\n        {{view \\\"field\\\" name=\\\"model\\\" invisible=\\\"1\\\" context=context}}\\n        {{view \\\"field\\\" name=\\\"next\\\" invisible=\\\"1\\\" context=context}}\\n    {{/view}}\\n    {{#view \\\"form_foot\\\" context=context}}\\n        {{view \\\"button\\\" string=\\\"Import\\\" type=\\\"primary\\\" size=\\\"large\\\" method=\\\"do_import\\\" next=context.next context=context}}\\n    {{/view}}\\n{{/view}}\\n\"}, \"forgot_passwd_done\": {\"type\": \"hbs\", \"body\": \"\n                <div class=\\\"navbar navbar-inverse\\\">\\n    \n                    <div class=\\\"navbar-inner\\\">\\n        \n                        <div class=\\\"container\\\">\\n            \n                            <a class=\\\"brand\\\" href=\\\"#\\\">\\n                \n                                <img src=\\\"/static/img/netforce_logo_16.png\\\" style=\\\"margin-right:5px\\\">\\n                \n                                <span style=\\\"position:relative;top:1px\\\">Netforce</span>\\n\n                            </a>\\n\n                        </div>\\n\n                    </div>\\n\n                </div>\\n\n                <div class=\\\"container\\\">\\n    \n                    <div class=\\\"span8\\\">\\n        {{#view \\\"page\\\" title=\\\"Forgot password\\\" context=context}}\\n            \n                        <p>An email has been sent to you, to change your password follow the instructions there.</p>\\n\n                        <br>If you didn't receive email \n                        <a href=\\\"mailto:support@netforce.com\\\">contact us</a>. \\n            {{#view \\\"form_actions\\\" context=context}}\\n                {{view \\\"button\\\" string=\\\"Return to login page\\\" action=\\\"login\\\" context=context}}\\n            {{/view}}\\n        {{/view}}\\n\n                    </div>\\n\n                </div>\\n\"}, \"issue_chart\": {\"type\": \"hbs\", \"body\": \"{{view \\\"chart\\\" height=\\\"150\\\" type=\\\"line\\\" time=\\\"1\\\" nocontrols=\\\"1\\\" nolegend=\\\"1\\\" context=context}}\\n\"}, \"issue_close_chart\": {\"type\": \"hbs\", \"body\": \"{{view \\\"chart\\\" height=\\\"150\\\" type=\\\"multibar\\\" time=\\\"1\\\" nocontrols=\\\"1\\\" nolegend=\\\"1\\\" context=context}}\\n\"}, \"receivable_status\": {\"type\": \"jsx\", \"body\": \"\n                <div>\\n    \n                    <div className=\\\"nf-board-widget-title\\\">\\n        \n                        <h3>{t(\\\"Items By Status\\\")}</h3>\\n\n                    </div>\\n\n                    <table className=\\\"table\\\">\\n        \n                        <thead>\\n            \n                            <tr>\\n                \n                                <th>{t(\\\"Status\\\")}</th>\\n\n                                <th style={{textAlign: \\\"right\\\"}}>{t(\\\"Total\\\")}</th>\\n\n                            </tr>\\n\n                        </thead>\\n\n                        <tbody>\\n            \n                            <tr>\\n                \n                                <td>\\n                    Draft ({data.draft.count})\\n                </td>\\n\n                                <td style={{textAlign: \\\"right\\\"}}>\\n                    {currency(data.draft.amount)}\\n                </td>\\n\n                            </tr>\\n\n                            <tr>\\n                \n                                <td>\\n                    Awaiting Approval ({data.waiting_approval.count})\\n                </td>\\n\n                                <td style={{textAlign: \\\"right\\\"}}>\\n                    {currency(data.waiting_approval.amount)}\\n                </td>\\n\n                            </tr>\\n\n                            <tr>\\n                \n                                <td>\\n                    Awaiting Payment ({data.waiting_payment.count})\\n                </td>\\n\n                                <td style={{textAlign: \\\"right\\\"}}>\\n                    {currency(data.waiting_payment.amount)}\\n                </td>\\n\n                            </tr>\\n\n                        </tbody>\\n\n                    </table>\\n\n                </div>\\n\"}, \"receivable_summary\": {\"type\": \"jsx\", \"body\": \"\n                <div className=\\\"row\\\">\\n    \n                    <div className=\\\"col-sm-6\\\">\\n        \n                        <Action action=\\\"receivable_status\\\"/>\\n\n                        <Action action=\\\"top_debtors_widget\\\"/>\\n\n                    </div>\\n\n                    <div className=\\\"col-sm-6\\\">\\n        \n                        <Action action=\\\"money_in\\\"/>\\n\n                        <Action action=\\\"debtor_exposure_widget\\\"/>\\n\n                    </div>\\n\n                </div>\\n\"}, \"claim_list\": {\"type\": \"hbs\", \"body\": \"\n                <v:list action=\\\"claim_edit\\\">\\n    \n                    <field name=\\\"user_id\\\"/>\\n\n                    <field name=\\\"date\\\"/>\\n\n                    <field name=\\\"due_date\\\"/>\\n\n                    <field name=\\\"num_receipts\\\"/>\\n\n                    <field name=\\\"amount_total\\\"/>\\n\n                    <field name=\\\"state\\\"/>\\n\n                </v:list>\\n\"}, \"money_in2\": {\"type\": \"jsx\", \"body\": \"\n                <div>\\n    \n                    <div style={{float:\\\"right\\\",width:140}}>\\n        \n                        <a href=\\\"/action?name=cust_invoice&tab_no=4\\\" style={{fontSize:12}}>Overdue Invoices ({data.overdue_count})</a>\\n\n                        <br/>\\n\n                        <b>{currency(data.overdue_amount)}</b>\\n\n                    </div>\\n\n                    <div style={{float:\\\"right\\\",width:140}}>\\n        \n                        <a href=\\\"/action?name=cust_invoice&tab_no=2\\\" style={{fontSize:12}}>Draft Invoices ({data.draft_count})</a>\\n\n                        <br/>\\n\n                        <b>{currency(data.draft_amount)}</b>\\n\n                    </div>\\n\n                    <Button string=\\\"New Receivable Invoice\\\" size=\\\"sm\\\" icon=\\\"plus\\\" action=\\\"cust_invoice\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"form_layout\\\":\\\"cust_invoice_form\\\",\\\"context\\\":{\\\"defaults\\\":{\\\"type\\\":\\\"out\\\",\\\"inv_type\\\":\\\"invoice\\\"}}}'/>\\n\n                    <Chart chart_type=\\\"bar\\\" height={150} data={data.chart_data}/>\\n\n                </div>\\n\"}, \"expense_line_sheet\": {\"type\": \"hbs\", \"body\": \"\n                <v:sheet onremove=\\\"update_amounts\\\">\\n    \n                    <field name=\\\"description\\\"/>\\n\n                    <field name=\\\"qty\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"unit_price\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"account_id\\\" onchange=\\\"onchange_account\\\"/>\\n\n                    <field name=\\\"tax_id\\\" onchange=\\\"update_amounts\\\"/>\\n\n                    <field name=\\\"amount\\\"/>\\n\n                </v:sheet>\\n\"}, \"claim_payment\": {\"type\": \"hbs\", \"body\": \"\n                <v:flash/>\\n\n                <v:form type=\\\"inline\\\" border=\\\"1\\\">\\n    \n                    <v:form_body background=\\\"1\\\">\\n        \n                        <div style=\\\"margin-bottom:10px\\\">\\n            \n                            <strong>Make a payment</strong>\\n\n                        </div>\\n\n                        <v:row>\\n            \n                            <v:field name=\\\"amount\\\" span=\\\"2\\\"/>\\n\n                            <v:field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n                            <v:field name=\\\"account_id\\\" span=\\\"2\\\"/>\\n\n                            <v:field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n                            <v:field name=\\\"claim_id\\\" invisible=\\\"1\\\"/>\\n\n                            <div class=\\\"span2\\\" style=\\\"padding-top:10px\\\">\\n                \n                                <v:button string=\\\"Add Payment\\\" method=\\\"add_payment\\\" type=\\\"success\\\" icon=\\\"ok\\\" icon_white=\\\"1\\\"/>\\n\n                            </div>\\n\n                        </v:row>\\n\n                    </v:form_body>\\n\n                </v:form>\\n\"}, \"money_out2\": {\"type\": \"jsx\", \"body\": \"\n                <div>\\n    \n                    <div style={{float:\\\"right\\\",width:120}}>\\n        \n                        <a href=\\\"/action?name=supp_invoice&tab_no=4\\\" style={{fontSize:12}}>Overdue Invoices ({data.overdue_count})</a>\\n\n                        <br/>\\n\n                        <b>{data.overdue_amount}</b>\\n\n                    </div>\\n\n                    <div style={{float:\\\"right\\\",width:120}}>\\n        \n                        <a href=\\\"/action?name=supp_invoice&tab_no=2\\\" style={{fontSize:12}}>Draft Invoices ({data.draft_count})</a>\\n\n                        <br/>\\n\n                        <b>{data.draft_amount}</b>\\n\n                    </div>\\n\n                    <Button string=\\\"New Payable Invoice\\\" size=\\\"sm\\\" icon=\\\"plus\\\" action=\\\"supp_invoice\\\" action_options='{\\\"mode\\\":\\\"form\\\",\\\"form_layout\\\":\\\"supp_invoice_form\\\",\\\"context\\\":{\\\"defaults\\\":{\\\"type\\\":\\\"in\\\",\\\"inv_type\\\":\\\"invoice\\\"}}}'/>\\n\n                    <Chart chart_type=\\\"bar\\\" x_type=\\\"datetime\\\" height={150} data={data.chart_data}/>\\n\n                </div>\\n\"}, \"claim_page\": {\"type\": \"hbs\", \"body\": \"\n                <v:page title=\\\"Expense Claims\\\">\\n    \n                    <v:toolbar>\\n        \n                        <v:button string=\\\"Add Receipt\\\" icon=\\\"plus-sign\\\" action=\\\"expense_edit\\\"/>\\n\n                    </v:toolbar>\\n\n                    <v:tabs>\\n        \n                        <v:tab_item string=\\\"Draft Receipts\\\" action=\\\"expense_draft\\\"/>\\n\n                        <v:tab_item string=\\\"All Claims\\\" action=\\\"claim_all\\\"/>\\n\n                        <v:tab_item string=\\\"Waiting Approval\\\" action=\\\"claim_waiting_approval\\\"/>\\n\n                        <v:tab_item string=\\\"Waiting Payment\\\" action=\\\"claim_waiting_payment\\\"/>\\n\n                    </v:tabs>\\n    {{{context.content}}}\\n\n                </v:page>\\n\"}, \"invoice_refund\": {\"type\": \"hbs\", \"body\": \"{{view \\\"flash\\\" context=context}}\\n{{#view \\\"form\\\" type=\\\"inline\\\" border=\\\"1\\\" context=context}}\\n    {{#view \\\"form_body\\\" background=\\\"1\\\" context=context}}\\n\n                <div style=\\\"margin-bottom:10px\\\">\\n            \n                    <strong>Make a refund</strong>\\n\n                </div>\\n\n                <div class=\\\"row\\\">\\n            {{view \\\"field\\\" name=\\\"amount\\\" span=\\\"2\\\" context=context}}\\n            {{view \\\"field\\\" name=\\\"date\\\" span=\\\"2\\\" context=context}}\\n            {{view \\\"field\\\" name=\\\"account_id\\\" span=\\\"2\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"]]' context=context}}\\n            {{view \\\"field\\\" name=\\\"ref\\\" span=\\\"2\\\" context=context}}\\n            {{view \\\"field\\\" name=\\\"invoice_id\\\" invisible=\\\"1\\\" context=context}}\\n            \n                    <div class=\\\"span2\\\" style=\\\"padding-top:10px\\\">\\n                {{view \\\"button\\\" string=\\\"Add Refund\\\" method=\\\"add_refund\\\" type=\\\"success\\\" icon=\\\"ok\\\" icon_white=\\\"1\\\" context=context}}\\n            </div>\\n\n                </div>\\n    {{/view}}\\n{{/view}}\\n\"}, \"claim_expense_list_approve\": {\"type\": \"hbs\", \"body\": \"\n                <v:toolbar>\\n    \n                    <v:button string=\\\"Approve\\\" method=\\\"do_approve\\\" type=\\\"success\\\" size=\\\"small\\\"/>\\n\n                    <v:button string=\\\"Decline\\\" method=\\\"do_decline\\\" type=\\\"primary\\\" size=\\\"small\\\"/>\\n\n                    <v:button string=\\\"Delete\\\" method=\\\"_delete\\\" type=\\\"danger\\\" size=\\\"small\\\"/>\\n\n                </v:toolbar>\\n\n                <v:list>\\n    \n                    <field name=\\\"state\\\"/>\\n\n                    <field name=\\\"partner_id\\\"/>\\n\n                    <field name=\\\"ref\\\"/>\\n\n                    <field name=\\\"date\\\"/>\\n\n                    <field name=\\\"amount_total\\\"/>\\n\n                </v:list>\\n\"}, \"debtor_exposure_widget\": {\"type\": \"jsx\", \"body\": \"\n                <div>\\n    \n                    <div className=\\\"nf-board-widget-title\\\">\\n        \n                        <h3>{t(\\\"Debtor Exposure\\\")}</h3>\\n\n                    </div>\\n\n                    <Chart chart_type=\\\"pie\\\" height={150} data={data}/>\\n\n                </div>\\n\"}, \"payable_status\": {\"type\": \"jsx\", \"body\": \"\n                <div>\\n    \n                    <div className=\\\"nf-board-widget-title\\\">\\n        \n                        <h3>{t(\\\"Items By Status\\\")}</h3>\\n\n                    </div>\\n\n                    <table className=\\\"table\\\">\\n        \n                        <thead>\\n            \n                            <tr>\\n                \n                                <th>{t(\\\"Status\\\")}</th>\\n\n                                <th style={{textAlign:\\\"right\\\"}}>{t(\\\"Total\\\")}</th>\\n\n                            </tr>\\n\n                        </thead>\\n\n                        <tbody>\\n            \n                            <tr>\\n                \n                                <td>\\n                    Draft ({data.draft.count})\\n                </td>\\n\n                                <td style={{textAlign:\\\"right\\\"}}>\\n                    {currency(data.draft.amount)}\\n                </td>\\n\n                            </tr>\\n\n                            <tr>\\n                \n                                <td>\\n                    Awaiting Approval ({data.waiting_approval.count})\\n                </td>\\n\n                                <td style={{textAlign:\\\"right\\\"}}>\\n                    {currency(data.waiting_approval.amount)}\\n                </td>\\n\n                            </tr>\\n\n                            <tr>\\n                \n                                <td>\\n                    Awaiting Payment ({data.waiting_payment.count})\\n                </td>\\n\n                                <td style={{textAlign:\\\"right\\\"}}>\\n                    {currency(data.waiting_payment.amount)}\\n                </td>\\n\n                            </tr>\\n\n                        </tbody>\\n\n                    </table>\\n\n                </div>\\n\"}, \"money_in\": {\"type\": \"jsx\", \"body\": \"\n                <div>\\n    \n                    <div className=\\\"nf-board-widget-title\\\">\\n        \n                        <h3>{t(\\\"Money Coming In\\\")}</h3>\\n\n                    </div>\\n\n                    <Chart chart_type=\\\"bar\\\" height={150} data={data.chart_data}/>\\n\n                </div>\\n\"}, \"money_out\": {\"type\": \"jsx\", \"body\": \"\n                <div>\\n    \n                    <div className=\\\"nf-board-widget-title\\\">\\n        \n                        <h3>{t(\\\"Money Going Out\\\")}</h3>\\n\n                    </div>\\n\n                    <Chart chart_type=\\\"bar\\\" x_type=\\\"datetime\\\" height={150} data={data.chart_data}/>\\n\n                </div>\\n\"}, \"top_debtors_widget\": {\"type\": \"jsx\", \"body\": \"\n                <div>\\n    \n                    <div className=\\\"nf-board-widget-title\\\">\n                        <h3>Top 10 Debtors</h3>\n                    </div>\\n\n                    <table className=\\\"table\\\">\\n        \n                        <thead>\\n            \n                            <tr>\\n                \n                                <th>{t(\\\"Contact\\\")}</th>\\n\n                                <th style={{textAlign:\\\"right\\\"}}>{t(\\\"Outstanding\\\")}</th>\\n\n                                <th style={{textAlign:\\\"right\\\"}}>{t(\\\"Overdue\\\")}</th>\\n\n                            </tr>\\n\n                        </thead>\\n\n                        <tbody>\\n            {data.map((l)=>{\\n                return \n                            <tr>\\n                    \n                                <td>{l.contact_name}</td>\\n\n                                <td style={{textAlign:\\\"right\\\"}}>{currency(l.amount_due)}</td>\\n\n                                <td style={{textAlign:\\\"right\\\"}}>{currency(l.amount_overdue)}</td>\\n\n                            </tr>\\n            })}\\n\n                        </tbody>\\n\n                    </table>\\n\n                </div>\\n\"}, \"payable_summary\": {\"type\": \"jsx\", \"body\": \"\n                <div className=\\\"row\\\">\\n    \n                    <div className=\\\"col-sm-6\\\">\\n        \n                        <Action action=\\\"payable_status\\\"/>\\n\n                    </div>\\n\n                    <div className=\\\"col-sm-6\\\">\\n        \n                        <Action action=\\\"money_out\\\"/>\\n\n                    </div>\\n\n                </div>\\n\"}, \"claim_form\": {\"type\": \"hbs\", \"body\": \"\n                <v:bread>\\n    \n                    <v:bread_item string=\\\"Expense Claims\\\" action=\\\"expense_draft\\\"/>\\n    {{#ifeq context.data.state \\\"waiting_approval\\\"}}\\n\n                    <v:bread_item string=\\\"Waiting Approval\\\" action=\\\"claim_waiting_approval\\\"/>\\n    {{/ifeq}}\\n    {{#ifeq context.data.state \\\"waiting_payment\\\"}}\\n\n                    <v:bread_item string=\\\"Waiting Payment\\\" action=\\\"claim_waiting_payment\\\"/>\\n    {{/ifeq}}\\n    {{#ifin context.data.state \\\"paid\\\" \\\"voided\\\"}}\\n\n                    <v:bread_item string=\\\"All Claims\\\" action=\\\"claim_all\\\"/>\\n    {{/ifin}}\\n\n                </v:bread>\\n\n                <v:page title=\\\"{{#if context.data.id}}Edit{{else}}New{{/if}} Expense Claim\\\">\\n    \n                    <v:flash/>\\n\\n    {{#ifeq context.data.state \\\"waiting_approval\\\"}}\\n\n                    <v:separator string=\\\"Expense claim submitted {{context.data.date}}\\\"/>\\n\n                    <v:field name=\\\"expenses\\\" template=\\\"claim_expense_list_approve\\\" count=\\\"5\\\" nolabel=\\\"1\\\"/>\\n\n                    <div class=\\\"offset8 form-horizontal\\\">\\n            \n                        <v:field name=\\\"amount_total\\\" size=\\\"medium\\\"/>\\n\n                        <v:field name=\\\"amount_approved\\\" size=\\\"medium\\\"/>\\n\n                        <v:field name=\\\"amount_paid\\\" size=\\\"medium\\\"/>\\n\n                    </div>\\n\n                    <v:separator string=\\\"Authorize expense claim\\\"/>\\n        {{#if context.data.can_authorize}}\\n\n                    <v:form_body background=\\\"1\\\">\\n                \n                        <v:row>\\n                    \n                            <v:field name=\\\"due_date\\\" span=\\\"2\\\"/>\\n\n                            <div class=\\\"span2\\\" style=\\\"padding-top:10px\\\">\\n                        \n                                <v:button string=\\\"Authorize\\\" method=\\\"do_authorize\\\" type=\\\"primary\\\"/>\\n\n                            </div>\\n\n                        </v:row>\\n\n                    </v:form_body>\\n        {{else}}\\n\n                    <p>\\n                {{t \\\"This expense claim can only be authorized after all receipts have been either Approved or Declined.\\\"}}\\n            </p>\\n        {{/if}}\\n\n                    <div class=\\\"clearfix\\\">\\n            \n                        <v:button string=\\\"Delete Expense Claim\\\" method=\\\"_delete\\\" type=\\\"danger\\\" pull=\\\"right\\\" next=\\\"claim_waiting_approval\\\" confirm=\\\"Are you sure you want to delete this expense claim?\\\"/>\\n\n                    </div>\\n    {{else}}\\n\n                    <v:separator string=\\\"Payment due {{context.data.due_date}}\\\"/>\\n\n                    <v:field name=\\\"expenses\\\" template=\\\"claim_expense_list\\\" count=\\\"5\\\" nolabel=\\\"1\\\"/>\\n\n                    <div class=\\\"offset8 form-horizontal\\\">\\n            \n                        <v:field name=\\\"amount_total\\\" size=\\\"medium\\\"/>\\n\n                        <v:field name=\\\"amount_approved\\\" size=\\\"medium\\\"/>\\n\n                        <v:field name=\\\"amount_paid\\\" size=\\\"medium\\\"/>\\n\n                    </div>\\n        {{#ifeq context.data.state \\\"waiting_payment\\\"}}\\n\n                    <v:action name=\\\"claim_payment\\\" claim_id=\\\"{{context.data.id}}\\\"/>\\n\n                    <div class=\\\"clearfix\\\" style=\\\"margin-top:10px\\\">\\n                {{#unless context.data.payments}}\\n                    \n                        <v:button string=\\\"Void Expense Claim\\\" method=\\\"void\\\" pull=\\\"right\\\" next=\\\"claim_waiting_payment\\\" confirm=\\\"Are you sure you want to void this expense claim?\\\"/>\\n                {{/unless}}\\n\n                    </div>\\n        {{/ifeq}}\\n    {{/ifeq}}\\n\\n\n                    <v:field name=\\\"uuid\\\" invisible=\\\"1\\\"/>\\n\n                    <v:field name=\\\"date\\\" invisible=\\\"1\\\"/>\\n\n                    <v:field name=\\\"due_date\\\" invisible=\\\"1\\\"/>\\n\n                    <v:field name=\\\"user_id\\\" invisible=\\\"1\\\"/>\\n\n                    <v:field name=\\\"state\\\" invisible=\\\"1\\\"/>\\n\n                    <v:field name=\\\"user_id\\\" invisible=\\\"1\\\"/>\\n\n                    <v:field name=\\\"can_authorize\\\" invisible=\\\"1\\\"/>\\n\n                    <v:field name=\\\"payments\\\" invisible=\\\"1\\\"/>\\n\\n\n                    <v:history uuid=\\\"{{context.data.uuid}}\\\"/>\\n\n                </v:page>\\n\"}, \"claim_expense_list\": {\"type\": \"hbs\", \"body\": \"\n                <v:list noselect=\\\"1\\\">\\n    \n                    <field name=\\\"partner_id\\\"/>\\n\n                    <field name=\\\"ref\\\"/>\\n\n                    <field name=\\\"date\\\"/>\\n\n                    <field name=\\\"state\\\"/>\\n\n                    <field name=\\\"amount_total\\\"/>\\n\n                </v:list>\\n\"}, \"invoice_payment\": {\"type\": \"jsx\", \"body\": \"\n                <div>\\n    \n                    <div style={{marginBottom:10}}>\\n        \n                        <strong>Make a payment</strong>\\n\n                    </div>\\n\n                    <div class=\\\"row\\\">\\n        {{view \\\"field\\\" name=\\\"amount\\\" span=\\\"2\\\" form_layout=\\\"stacked\\\" context=context}}\\n        {{view \\\"field\\\" name=\\\"date\\\" span=\\\"2\\\" form_layout=\\\"stacked\\\" context=context}}\\n        {{view \\\"field\\\" name=\\\"account_id\\\" span=\\\"2\\\" form_layout=\\\"stacked\\\" condition='[[\\\"type\\\",\\\"!=\\\",\\\"view\\\"],[\\\"company_id\\\",\\\"=\\\",context.company_id]]' context=context}}\\n        {{view \\\"field\\\" name=\\\"ref\\\" span=\\\"2\\\" form_layout=\\\"stacked\\\" context=context}}\\n        {{view \\\"field\\\" name=\\\"invoice_id\\\" invisible=\\\"1\\\" context=context}}\\n        \n                        <div class=\\\"span2\\\" style=\\\"padding-top:10px\\\">\\n            {{view \\\"button\\\" string=\\\"Add Payment\\\" method=\\\"add_payment\\\" type=\\\"success\\\" icon=\\\"ok\\\" icon_white=\\\"1\\\" context=context}}\\n        </div>\\n\n                    </div>\\n\n                </div>\\n\"}, \"expense_list\": {\"type\": \"hbs\", \"body\": \"\n                <v:flash/>\\n\n                <v:button string=\\\"Submit for Approval\\\" method=\\\"do_submit\\\" type=\\\"primary\\\" size=\\\"small\\\" select=\\\"1\\\"/>\\n\n                <v:button string=\\\"Delete\\\" method=\\\"_delete\\\" type=\\\"danger\\\" size=\\\"small\\\"/>\\n\n                <v:list action=\\\"expense_edit\\\">\\n    \n                    <field name=\\\"user_id\\\"/>\\n\n                    <field name=\\\"partner_id\\\"/>\\n\n                    <field name=\\\"ref\\\"/>\\n\n                    <field name=\\\"date\\\"/>\\n\n                    <field name=\\\"amount_total\\\"/>\\n\n                </v:list>\\n\"}, \"expense_form\": {\"type\": \"hbs\", \"body\": \"\n                <v:bread>\\n    \n                    <v:bread_item string=\\\"Expense Claims\\\" action=\\\"expense_draft\\\"/>\\n    {{#ifeq context.data.state \\\"draft\\\"}}\\n\n                    <v:bread_item string=\\\"Draft Receipts\\\" action=\\\"expense_draft\\\"/>\\n    {{/ifeq}}\\n\n                </v:bread>\\n\n                <v:page title=\\\"{{#if context.data.id}}Edit{{else}}New{{/if}} Receipt\\\">\\n    \n                    <v:flash/>\\n\n                    <v:form>\\n        \n                        <v:form_body background=\\\"1\\\">\\n            \n                            <v:row>\\n                \n                                <v:field name=\\\"partner_id\\\" span=\\\"2\\\" create=\\\"1\\\"/>\\n\n                                <v:field name=\\\"date\\\" span=\\\"2\\\"/>\\n\n                                <v:field name=\\\"ref\\\" span=\\\"2\\\"/>\\n\n                                <v:field name=\\\"attach\\\" span=\\\"2\\\"/>\\n\n                            </v:row>\\n\n                            <v:row>\\n                \n                                <v:field name=\\\"tax_type\\\" span=\\\"2\\\" onchange=\\\"update_amounts\\\"/>\\n\n                                <v:field name=\\\"user_id\\\" span=\\\"2\\\"/>\\n\n                            </v:row>\\n\n                            <v:field name=\\\"lines\\\" template=\\\"expense_line_sheet\\\" count=\\\"5\\\" nolabel=\\\"1\\\"/>\\n\n                            <div class=\\\"offset8 form-horizontal\\\">\\n                \n                                <v:field name=\\\"amount_subtotal\\\" size=\\\"medium\\\"/>\\n\n                                <v:field name=\\\"amount_tax\\\" size=\\\"medium\\\"/>\\n\n                                <v:field name=\\\"amount_total\\\" size=\\\"medium\\\"/>\\n\n                            </div>\\n\n                            <v:field name=\\\"uuid\\\" invisible=\\\"1\\\"/>\\n\n                            <v:field name=\\\"state\\\" invisible=\\\"1\\\"/>\\n\n                        </v:form_body>\\n\n                        <v:form_foot>\\n            \n                            <v:button string=\\\"Save\\\" method=\\\"_save\\\" size=\\\"large\\\" type=\\\"primary\\\" next=\\\"expense_draft\\\"/>\\n\n                        </v:form_foot>\\n\n                    </v:form>\\n\n                    <v:history uuid=\\\"{{context.data.uuid}}\\\"/>\\n\n                </v:page>\\n\"}, \"report_bank_sum\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        Bank Summary\\n    </h2>\\n\n                    <h3>\\n        {{context.company_name}}\\n        \n                        <br/>\\n        From {{fmt_date context.data.date_from}} to {{fmt_date context.data.date_to}}\\n\n                    </h3>\\n\n                </center>\\n\"}, \"report_account_purchase\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        Accounting Expenses Report\\n    </h2>\\n\n                    <h3>\\n        {{company_name}}\\n        \n                        <br/>\\n        From {{fmt_date date_from}} to {{fmt_date date_to}}\\n\n                    </h3>\\n\n                </center>\\n\n                <table class=\\\"table table-striped\\\">\\n    \n                    <thead>\\n        \n                        <tr>\\n            \n                            <th>\\n                Number\\n            </th>\\n\n                            <th>\\n                Date\\n            </th>\\n\n                            <th>\\n                Description\\n            </th>\\n\n                            <th>\\n                Account\\n            </th>\\n\n                            <th style=\\\"text-align:right\\\">\\n                Amount\\n            </th>\\n\n                        </tr>\\n\n                    </thead>\\n\n                    <tbody>\\n        {{#each groups}}\\n            \n                        <tr>\\n                \n                            <th>\\n                    {{contact_name}}\\n                </th>\\n\n                            <th colspan=\\\"10\\\">\\n                </th>\\n\n                        </tr>\\n            {{#each lines}}\\n\n                        <tr>\\n                    \n                            <td>\\n                        {{#link action=\\\"view_transaction\\\" active_id=id}}\\n                            {{../number}}\\n                        {{/link}}\\n                    </td>\\n\n                            <td>\\n                        {{date}}\\n                    </td>\\n\n                            <td>\\n                        {{description}}\\n                    </td>\\n\n                            <td>\\n                        [{{account_code}}] {{account_name}}\\n                    </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                        {{currency amount}}\\n                    </td>\\n\n                        </tr>\\n            {{/each}}\\n\n                        <tr>\\n                \n                            <th style=\\\"border-bottom: 1px solid #999\\\">\\n                    Total\\n                </th>\\n\n                            <th colspan=\\\"3\\\" style=\\\"border-bottom: 1px solid #999\\\">\\n                </th>\\n\n                            <th style=\\\"border-bottom: 1px solid #999;text-align:right\\\">\\n                    {{currency total}}\\n                </th>\\n\n                        </tr>\\n        {{/each}}\\n\n                    </tbody>\\n\n                </table>\\n\"}, \"report_balance_sheet\": {\"type\": \"hbs\", \"body\": \"\n                <div style=\\\"max-width:1170px;margin:0 auto\\\">\\n\n                    <center>\\n    \n                        <h2>\\n        Balance Sheet\\n    </h2>\\n\n                        <h3>\\n        {{company_name}}\\n        \n                            <br/>\\n        As at {{fmt_date date}}\\n\n                        </h3>\\n\n                    </center>\\n\n                    <table class=\\\"table table-condensed\\\">\\n    \n                        <thead class=\\\"scroll-header\\\">\\n        \n                            <tr>\\n            \n                                <th>\\n            </th>\\n\n                                <th style=\\\"text-align:right\\\">\\n                {{fmt_date col0}}\\n            </th>\\n            {{#if col1}}\\n\n                                <th style=\\\"text-align:right\\\">\\n                    {{fmt_date col1}}\\n                </th>\\n            {{/if}}\\n            {{#if col2}}\\n\n                                <th style=\\\"text-align:right\\\">\\n                    {{fmt_date col2}}\\n                </th>\\n            {{/if}}\\n            {{#if col3}}\\n\n                                <th style=\\\"text-align:right\\\">\\n                    {{fmt_date col3}}\\n                </th>\\n            {{/if}}\\n            {{#if col4}}\\n\n                                <th style=\\\"text-align:right\\\">\\n                    {{fmt_date col4}}\\n                </th>\\n            {{/if}}\\n            {{#if col5}}\\n\n                                <th style=\\\"text-align:right\\\">\\n                    {{fmt_date col5}}\\n                </th>\\n            {{/if}}\\n            {{#if col6}}\\n\n                                <th style=\\\"text-align:right\\\">\\n                    {{fmt_date col6}}\\n                </th>\\n            {{/if}}\\n            {{#if col7}}\\n\n                                <th style=\\\"text-align:right\\\">\\n                    {{fmt_date col7}}\\n                </th>\\n            {{/if}}\\n            {{#if col8}}\\n\n                                <th style=\\\"text-align:right\\\">\\n                    {{fmt_date col8}}\\n                </th>\\n            {{/if}}\\n            {{#if col9}}\\n\n                                <th style=\\\"text-align:right\\\">\\n                    {{fmt_date col9}}\\n                </th>\\n            {{/if}}\\n            {{#if col10}}\\n\n                                <th style=\\\"text-align:right\\\">\\n                    {{fmt_date col10}}\\n                </th>\\n            {{/if}}\\n            {{#if col11}}\\n\n                                <th style=\\\"text-align:right\\\">\\n                    {{fmt_date col11}}\\n                </th>\\n            {{/if}}\\n\n                            </tr>\\n\n                        </thead>\\n\n                        <tbody>\\n        {{#each lines context=context}}\\n            {{#ifeq type \\\"group_header\\\"}}\\n                \n                            <tr style=\\\"font-weight:bold;{{#unless padding}}font-size: 16px{{/unless}}\\\">\\n                    \n                                <td colspan=\\\"20\\\" {{#if padding}}style=\\\"padding-left:{{padding}}px\\\"{{/if}}>\\n                        {{string}}\\n                    </td>\\n\n                            </tr>\\n            {{/ifeq}}\\n            {{#ifeq type \\\"account\\\"}}\\n\n                            <tr>\\n                    \n                                <td {{#if padding}}style=\\\"padding-left:{{padding}}px\\\"{{/if}}>\\n                        {{string}}\\n                    </td>\\n                    {{#ifeq string \\\"Current Year Earnings\\\"}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                            {{#link action=\\\"report_profit_loss\\\" defaults_account_id=id defaults_date_to=../data.date defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                {{currency amount paren=1}}\\n                            {{/link}}\\n                        </td>\\n                        {{#if ../data.col1}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_profit_loss\\\" defaults_account_id=id defaults_date_to=../data.date1 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount1 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                        {{#if ../data.col2}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_profit_loss\\\" defaults_account_id=id defaults_date_to=../data.date2 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount2 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                        {{#if ../data.col3}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_profit_loss\\\" defaults_account_id=id defaults_date_to=../data.date3 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount3 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                        {{#if ../data.col4}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_profit_loss\\\" defaults_account_id=id defaults_date_to=../data.date4 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount4 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                        {{#if ../data.col5}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_profit_loss\\\" defaults_account_id=id defaults_date_to=../data.date5 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount5 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                        {{#if ../data.col6}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_profit_loss\\\" defaults_account_id=id defaults_date_to=../data.date6 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount6 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                        {{#if ../data.col7}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_profit_loss\\\" defaults_account_id=id defaults_date_to=../data.date7 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount7 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                        {{#if ../data.col8}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_profit_loss\\\" defaults_account_id=id defaults_date_to=../data.date8 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount8 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                        {{#if ../data.col9}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_profit_loss\\\" defaults_account_id=id defaults_date_to=../data.date9 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount9 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                        {{#if ../data.col10}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_profit_loss\\\" defaults_account_id=id defaults_date_to=../data.date10 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount10 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                        {{#if ../data.col11}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_profit_loss\\\" defaults_account_id=id defaults_date_to=../data.date11 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount11 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                    {{else}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                            {{#link action=\\\"report_account_sum\\\" defaults_account_id=id defaults_date_to=../data.date defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                {{currency amount paren=1}}\\n                            {{/link}}\\n                        </td>\\n                        {{#if ../data.col1}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_account_sum\\\" defaults_account_id=id defaults_date_to=../data.date defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount1 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                        {{#if ../data.col2}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_account_sum\\\" defaults_account_id=id defaults_date_to=../data.date defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount2 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                        {{#if ../data.col3}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_account_sum\\\" defaults_account_id=id defaults_date_to=../data.date defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount3 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                        {{#if ../data.col4}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_account_sum\\\" defaults_account_id=id defaults_date_to=../data.date defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount4 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                        {{#if ../data.col5}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_account_sum\\\" defaults_account_id=id defaults_date_to=../data.date defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount5 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                        {{#if ../data.col6}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_account_sum\\\" defaults_account_id=id defaults_date_to=../data.date defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount6 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                        {{#if ../data.col7}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_account_sum\\\" defaults_account_id=id defaults_date_to=../data.date defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount7 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                        {{#if ../data.col8}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_account_sum\\\" defaults_account_id=id defaults_date_to=../data.date defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount8 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                        {{#if ../data.col9}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_account_sum\\\" defaults_account_id=id defaults_date_to=../data.date defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount9 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                        {{#if ../data.col10}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_account_sum\\\" defaults_account_id=id defaults_date_to=../data.date defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount10 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                        {{#if ../data.col11}}\\n\n                                <td style=\\\"text-align:right\\\">\\n                                {{#link action=\\\"report_account_sum\\\" defaults_account_id=id defaults_date_to=../data.date defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n\\n                                    {{currency amount11 paren=1}}\\n                                {{/link}}\\n                            </td>\\n                        {{/if}}\\n                    {{/ifeq}}\\n\n                            </tr>\\n            {{/ifeq}}\\n            {{#ifeq type \\\"group_footer\\\"}}\\n\n                            <tr style=\\\"font-weight:bold\\\">\\n                    \n                                <td style=\\\"border-top: 1px solid #999;{{#if padding}}padding-left:{{padding}}px{{/if}}\\\">\\n                        {{string}}\\n                    </td>\\n\n                                <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                        {{currency amount paren=1}}\\n                    </td>\\n                    {{#if ../data.col1}}\\n\n                                <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount1 paren=1}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col2}}\\n\n                                <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount2 paren=1}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col3}}\\n\n                                <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount3 paren=1}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col4}}\\n\n                                <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount4 paren=1}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col5}}\\n\n                                <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount5 paren=1}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col6}}\\n\n                                <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount6 paren=1}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col7}}\\n\n                                <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount7 paren=1}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col8}}\\n\n                                <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount8 paren=1}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col9}}\\n\n                                <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount9 paren=1}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col10}}\\n\n                                <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount10 paren=1}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col11}}\\n\n                                <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount11 paren=1}}\\n                        </td>\\n                    {{/if}}\\n\n                            </tr>\\n                {{#ifeq separator \\\"single\\\"}}\\n\n                            <tr>\\n                        \n                                <td style=\\\"border-top:1px solid #000\\\" colspan=\\\"20\\\">\\n                        </td>\\n\n                            </tr>\\n                {{/ifeq}}\\n                {{#ifeq separator \\\"double\\\"}}\\n\n                            <tr>\\n                        \n                                <td style=\\\"border-top:1px solid #000; border-bottom:1px solid #000; padding:0; height:1px\\\" colspan=\\\"20\\\">\\n                        </td>\\n\n                            </tr>\\n                {{/ifeq}}\\n            {{/ifeq}}\\n        {{/each}}\\n\n                        </tbody>\\n\n                    </table>\\n\n                </div>\\n\"}, \"report_account_sum\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        Account Summary\\n    </h2>\\n\n                    <h3>\\n        {{data.company_name}}\\n        \n                        <br/>\\n        {{data.account_name}}\\n\n                        <br/>\\n        From {{fmt_date data.date_from}} to {{fmt_date data.date_to}}\\n\n                    </h3>\\n\n                </center>\\n\n                <table class=\\\"table\\\">\\n    \n                    <thead class=\\\"scroll-header\\\">\\n        \n                        <tr>\\n            \n                            <th>\\n                Month\\n            </th>\\n\n                            <th style=\\\"text-align:right\\\">\\n                Balance {{data.company_currency_code}} (Company Cur.)\\n            </th>\\n\n                            <th style=\\\"text-align:right\\\">\\n                Balance {{data.account_currency_code}} (Account Cur.)\\n            </th>\\n\n                        </tr>\\n\n                    </thead>\\n\n                    <tbody>\\n        {{#each data.lines}}\\n            \n                        <tr>\\n                \n                            <td>\\n                    {{month}}\\n                </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                    {{#link action=\\\"report_account_trans\\\" defaults_account_id=account_id defaults_date_from=date_from defaults_date_to=date_to defaults_contact_id=../data.contact_id defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n                        {{currency balance}}\\n                    {{/link}}\\n                </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                    {{#link action=\\\"report_account_trans\\\" defaults_account_id=account_id defaults_date_from=date_from defaults_date_to=date_to defaults_contact_id=../data.contact_id defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n                        {{currency balance_cur}}\\n                    {{/link}}\\n                </td>\\n\n                        </tr>\\n        {{/each}}\\n\n                    </tbody>\\n\n                    <tfoot>\\n        \n                        <tr style=\\\"font-weight:bold\\\">\\n            \n                            <td>\\n                Total\\n            </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                {{currency data.total}}\\n            </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                {{currency data.total_cur}}\\n            </td>\\n\n                        </tr>\\n\n                    </tfoot>\\n\n                </table>\\n\"}, \"report_tax_audit\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        Tax Audit Report\\n    </h2>\\n\n                    <h3>\\n        {{company_name}}\\n        \n                        <br/>\\n        {{#if rate_name}}\\n            {{rate_name}} - {{comp_name}}\\n        {{/if}}\\n        {{#if tax_type}}\\n            Tax Type: {{tax_type}}\\n        {{/if}}\\n\n                        <br/>\\n        From {{fmt_date date_from}} to {{fmt_date date_to}}\\n\n                    </h3>\\n\n                </center>\\n\\n\n                <table class=\\\"table\\\">\\n    \n                    <thead class=\\\"scroll-header\\\">\\n        \n                        <tr>\\n            \n                            <th>Date</th>\\n\n                            <th>Account</th>\\n\n                            <th>Contact</th>\\n\n                            <th>Number</th>\\n\n                            <th>Reference</th>\\n\n                            <th>Details</th>\\n\n                            <th>Base</th>\\n\n                            <th>Tax</th>\\n\n                        </tr>\\n\n                    </thead>\\n\n                    <tbody>\\n        {{#each lines}}\\n            \n                        <tr>\\n                \n                            <td>\\n                    {{#link action=\\\"view_journal\\\" active_id=move_id}}\\n                        {{fmt_date date}}\\n                    {{/link}}\\n                </td>\\n\n                            <td>{{account_name}} ({{account_code}})</td>\\n\n                            <td>{{contact_name}}</td>\\n\n                            <td>{{number}}</td>\\n\n                            <td>{{ref}}</td>\\n\n                            <td>{{description}}</td>\\n\n                            <td>{{currency base_amount}}</td>\\n\n                            <td>{{currency tax_amount}}</td>\\n\n                        </tr>\\n        {{/each}}\\n\n                        <tr>\\n            \n                            <td colspan=\\\"6\\\"></td>\\n\n                            <th>{{currency base_total}}</th>\\n\n                            <th>{{currency tax_total}}</th>\\n\n                        </tr>\\n\n                    </tbody>\\n\n                </table>\\n\"}, \"report_account_trans\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        Account Transactions\\n    </h2>\\n\n                    <h3>\\n        {{data.company_name}}\\n        \n                        <br/>\\n        {{data.account_name}}\\n\n                        <br/>\\n        From {{fmt_date data.date_from}} to {{fmt_date data.date_to}}\\n\n                    </h3>\\n\n                </center>\\n\n                <table class=\\\"table\\\">\\n    \n                    <thead class=\\\"scroll-header\\\">\\n        \n                        <tr>\\n            \n                            <th>\\n                Date\\n            </th>\\n\n                            <th>\\n                Number\\n            </th>\\n\n                            <th>\\n                Description\\n            </th>\\n\n                            <th>\\n                Contact\\n            </th>\\n\n                            <th style=\\\"text-align:right\\\">\\n                Debit\\n            </th>\\n\n                            <th style=\\\"text-align:right\\\">\\n                Credit\\n            </th>\\n\n                            <th style=\\\"text-align:right\\\">\\n                Currency Amount\\n            </th>\\n\n                        </tr>\\n\n                    </thead>\\n\n                    <tbody>\\n        {{#each data.objs context=context}}\\n            \n                        <tr>\\n                \n                            <td>\\n                    {{fmt_date move_date}}\\n                </td>\\n\n                            <td>\\n                    {{#link action=\\\"view_transaction\\\" active_id=id}}\\n                        {{move_number}}\\n                    {{/link}}\\n                </td>\\n\n                            <td>\\n                    {{description}}\\n                </td>\\n\n                            <td>\\n                    {{lookup contact_id 1}}\\n                </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                    {{currency debit zero=\\\"\\\"}}\\n                </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                    {{currency credit zero=\\\"\\\"}}\\n                </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                    {{currency amount_cur zero=\\\"\\\"}}\\n                </td>\\n\n                        </tr>\\n        {{/each}}\\n\n                    </tbody>\\n\n                    <tfoot>\\n        \n                        <tr style=\\\"font-weight:bold\\\">\\n            \n                            <td>\\n            </td>\\n\n                            <td>\\n            </td>\\n\n                            <td>\\n                Total\\n            </td>\\n\n                            <td>\\n            </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                {{currency totals.debit}}\\n            </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                {{currency totals.credit}}\\n            </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                {{currency totals.amount_cur}}\\n            </td>\\n\n                        </tr>\\n\n                        <tr style=\\\"font-weight:bold\\\">\\n            \n                            <td>\\n                {{fmt_date date_to}}\\n            </td>\\n\n                            <td>\\n            </td>\\n\n                            <td>\\n                Balance\\n            </td>\\n\n                            <td>\\n            </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                {{currency balance_debit}}\\n            </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                {{currency balance_credit}}\\n            </td>\\n\n                            <td>\\n            </td>\\n\n                        </tr>\\n\n                    </tfoot>\\n\n                </table>\\n\"}, \"report_gl_details\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        General Ledger Details\\n    </h2>\\n\n                    <h3>\\n        {{company_name}}\\n        \n                        <br/>\\n        From {{fmt_date date_from}} to {{fmt_date date_to}}\\n\n                    </h3>\\n\n                </center>\\n\n                <table class=\\\"table\\\">\\n    \n                    <thead class=\\\"scroll-header\\\">\\n        \n                        <tr>\\n            \n                            <th>\\n                Account Code\\n            </th>\\n\n                            <th>\\n                Account Name\\n            </th>\\n\n                            <th>\\n                Date\\n            </th>\\n\n                            <th>\\n                Number\\n            </th>\\n\n                            <th>\\n                Description\\n            </th>\\n\n                            <th>\\n                Contact\\n            </th>\\n\n                            <th>\\n                Track\\n            </th>\\n\n                            <th>\\n                Track-2\\n            </th>\\n\n                            <th style=\\\"text-align:right\\\">\\n                Debit\\n            </th>\\n\n                            <th style=\\\"text-align:right\\\">\\n                Credit\\n            </th>\\n\n                            <th style=\\\"text-align:right\\\">\\n                Balance\\n            </th>\\n\n                        </tr>\\n\n                    </thead>\\n\n                    <tbody>\\n        {{#each accounts context=context}}\\n            \n                        <tr>\\n                \n                            <td style=\\\"font-weight:bold\\\">\\n                    {{code}}\\n                </td>\\n\n                            <td style=\\\"font-weight:bold\\\">\\n                    {{name}}\\n                </td>\\n\n                            <td colspan=\\\"8\\\"></td>\\n\n                            <td style=\\\"text-align:right;font-weight:bold\\\">\\n                    {{currency bg_bal paren=1}}\\n                </td>\\n\n                        </tr>\\n            {{#each lines context=context}}\\n\n                        <tr>\\n                    \n                            <td colspan=\\\"2\\\"></td>\\n\n                            <td>\\n                        {{fmt_date date}}\\n                    </td>\\n\n                            <td>\\n                        {{#link action=\\\"view_transaction\\\" active_id=id}}\\n                            {{number}}\\n                        {{/link}}\\n                    </td>\\n\n                            <td>\\n                        {{description}}\\n                    </td>\\n\n                            <td>\\n                        {{contact_name}}\\n                    </td>\\n\n                            <td>\\n                        {{track_code}}\\n                    </td>\\n\n                            <td>\\n                        {{track2_code}}\\n                    </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                        {{currency debit zero=\\\"\\\"}}\\n                    </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                        {{currency credit zero=\\\"\\\"}}\\n                    </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                        {{currency balance paren=1}}\\n                    </td>\\n\n                        </tr>\\n            {{/each}}\\n\n                        <tr>\\n                \n                            <td colspan=\\\"8\\\"></td>\\n\n                            <td style=\\\"text-align:right;font-weight:bold\\\">\\n                    {{currency debit_total zero=\\\"\\\"}}\\n                </td>\\n\n                            <td style=\\\"text-align:right;font-weight:bold\\\">\\n                    {{currency credit_total zero=\\\"\\\"}}\\n                </td>\\n\n                            <td></td>\\n\n                        </tr>\\n        {{/each}}\\n\n                    </tbody>\\n\n                </table>\\n\"}, \"report_ap_details\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        Aged Payables (Details)\\n    </h2>\\n\n                    <h3>\\n        {{company_name}}\\n        \n                        <br/>\\n        As at {{fmt_date date}}\\n\n                    </h3>\\n\n                </center>\\n\n                <table class=\\\"table table-striped\\\">\\n    \n                    <thead class=\\\"scroll-header\\\">\\n        \n                        <tr>\\n            \n                            <th>\\n                Number\\n            </th>\\n\n                            <th>\\n                Ref\\n            </th>\\n\n                            <th>\\n                Description\\n            </th>\\n\n                            <th>\\n                Doc Date\\n            </th>\\n\n                            <th>\\n                Due Date\\n            </th>\\n\n                            <th style=\\\"text-align:right\\\">\\n                Total Payable\\n            </th>\\n\n                            <th style=\\\"text-align:right\\\">\\n                Current\\n            </th>\\n            {{#each periods}}\\n\n                            <th style=\\\"text-align:right\\\">\\n                    {{period_name}}\\n                </th>\\n            {{/each}}\\n\n                            <th style=\\\"text-align:right\\\">\\n                Older\\n            </th>\\n\n                        </tr>\\n\n                    </thead>\\n\n                    <tbody>\\n        {{#each lines context=context}}\\n            \n                        <tr>\\n                \n                            <td colspan=\\\"11\\\" style=\\\"font-weight:bold\\\">\\n                    {{contact_name}}\\n                </td>\\n\n                        </tr>\\n            {{#each details context=context}}\\n\n                        <tr>\\n                    \n                            <td>\\n                        {{#link action=\\\"view_transaction\\\" active_id=id context=context}}\\n                            {{number}}\\n                        {{/link}}\\n                    </td>\\n\n                            <td>\\n                        {{ref}}\\n                    </td>\\n\n                            <td>\\n                        {{description}}\\n                    </td>\\n\n                            <td>\\n                        {{fmt_date doc_date}}\\n                    </td>\\n\n                            <td>\\n                        {{fmt_date due_date}}\\n                    </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                        {{currency amount}}\\n                    </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                        {{currency amount_current}}\\n                    </td>\\n                    {{#each periods}}\\n\n                            <td style=\\\"text-align:right\\\">\\n                            {{currency amount}}\\n                        </td>\\n                    {{/each}}\\n\n                            <td style=\\\"text-align:right\\\">\\n                        {{currency amount_older}}\\n                    </td>\\n\n                        </tr>\\n            {{/each}}\\n\n                        <tr>\\n                \n                            <td colspan=\\\"4\\\" style=\\\"border-bottom:1px solid #999;font-weight:bold\\\">\\n                    Total\\n                </td>\\n\n                            <td style=\\\"text-align:right;border-bottom:1px solid #999;font-weight:bold\\\">\\n                    {{currency amount_total}}\\n                </td>\\n\n                            <td style=\\\"text-align:right;border-bottom:1px solid #999;font-weight:bold\\\">\\n                    {{currency amount_current}}\\n                </td>\\n                {{#each periods}}\\n\n                            <td style=\\\"text-align:right;border-bottom:1px solid #999;font-weight:bold\\\">\\n                        {{currency amount}}\\n                    </td>\\n                {{/each}}\\n\n                            <td style=\\\"text-align:right;border-bottom:1px solid #999;font-weight:bold\\\">\\n                    {{currency amount_older}}\\n                </td>\\n\n                        </tr>\\n        {{/each}}\\n\n                    </tbody>\\n\n                    <tfoot>\\n        \n                        <tr style=\\\"font-weight:bold\\\">\\n            \n                            <td colspan=\\\"4\\\">\\n                Grand Total\\n            </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                {{currency total}}\\n            </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                {{currency total_current}}\\n            </td>\\n            {{#each periods}}\\n\n                            <td style=\\\"text-align:right\\\">\\n                    {{currency total}}\\n                </td>\\n            {{/each}}\\n\n                            <td style=\\\"text-align:right\\\">\\n                {{currency total_older}}\\n            </td>\\n\n                        </tr>\\n\n                    </tfoot>\\n\n                </table>\\n\"}, \"report_cash_flow\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        Cash Flow Statement\\n    </h2>\\n\n                    <h3>\\n        {{company_name}}\\n        \n                        <br/>\\n        {{fmt_date date_from}} to {{fmt_date date_to}}\\n\n                    </h3>\\n\n                </center>\\n\n                <table class=\\\"table table-condensed\\\">\\n    \n                    <tbody>\\n        {{#each lines}}\\n            \n                        <tr>\\n                \n                            <td>\\n                    {{string}}\\n                </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                    {{currency amount}}\\n                </td>\\n\n                        </tr>\\n        {{/each}}\\n\n                    </tbody>\\n\n                </table>\\n\"}, \"report_supp_invoice\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        Payable Transactions\\n    </h2>\\n\n                    <h3>\\n        {{company_name}}\\n        \n                        <br/>\\n        {{#if date_from}}\\n            From {{fmt_date date_from}} to {{fmt_date date_to}}\\n        {{else}}\\n            To {{fmt_date date_to}}\\n        {{/if}}\\n\n                    </h3>\\n\n                </center>\\n\n                <table class=\\\"table table-condensed\\\">\\n    \n                    <thead>\\n        \n                        <tr>\\n            \n                            <th>Date</th>\\n\n                            <th>Contact</th>\\n\n                            <th>Number</th>\\n\n                            <th>Description</th>\\n\n                            <th>Due Date</th>\\n\n                            <th style=\\\"text-align:right\\\">Total Amount</th>\\n\n                            <th style=\\\"text-align:right\\\">Due Amount</th>\\n\n                            <th>Rec #</th>\\n\n                        </tr>\\n\n                    </thead>\\n\n                    <tbody>\\n        {{#each lines context=context}}\\n            \n                        <tr>\\n                \n                            <td>{{fmt_date move_date}}</td>\\n\n                            <td>{{contact_name}}</td>\\n\n                            <td>\\n                    {{#link action=\\\"view_transaction\\\" active_id=id}}\\n                        {{../move_number}}\\n                    {{/link}}\\n                </td>\\n\n                            <td>{{description}}\n                            </a>\n                        </td>\\n\n                        <td>{{fmt_date due_date}}</td>\\n\n                        <td style=\\\"text-align:right\\\">{{currency total_amount}}</td>\\n\n                        <td style=\\\"text-align:right\\\">{{currency due_amount}}</td>\\n\n                        <td>\\n                    {{#link action=\\\"reconcile\\\" active_id=reconcile_id}}\\n                        {{../reconcile_number}}\\n                    {{/link}}\\n                </td>\\n\n                    </tr>\\n        {{/each}}\\n\n                </tbody>\\n\n                <tfoot>\\n        \n                    <tr>\\n            \n                        <th colspan=\\\"6\\\" style=\\\"text-align:right\\\">Total</th>\\n\n                        <th style=\\\"text-align:right\\\">{{currency totals.amount_total}}</th>\\n\n                        <th></th>\\n\n                    </tr>\\n\n                </tfoot>\\n\n            </table>\\n\"}, \"report_journal\": {\"type\": \"hbs\", \"body\": \"\n            <center>\\n    \n                <h2>\\n        Journal Report\\n    </h2>\\n\n                <h3>\\n        {{company_name}}\\n        \n                    <br/>\\n        {{#if journal_name}}\\n            {{journal_name}}\\n\n                    <br/>\\n        {{/if}}\\n        From {{fmt_date date_from}} to {{fmt_date date_to}}\\n\n                </h3>\\n\n            </center>\\n{{#if moves}}\\n\n            <table class=\\\"table\\\" style=\\\"margin-top:20px\\\">\\n        {{#each moves context=context}}\\n            \n                <tr style=\\\"background-color:#def\\\">\\n                \n                    <td colspan=\\\"10\\\">\\n                    \n                        <div style=\\\"float:right\\\">{{fmt_date date \\\"DD MMM YYYY\\\"}}</div>\\n                    {{#link action=\\\"view_journal\\\" active_id=id context=context}}\\n                        {{number}}\\n                    {{/link}}\n                        <b>{{narration}}</b> (Posted on {{fmt_date date_posted \\\"DD MMM YYYY\\\"}})\\n\n                    </td>\\n\n                </tr>\\n\n                <tr style=\\\"background-color:#eee\\\">\\n                \n                    <th>\\n                    Account\\n                </th>\\n\n                    <th>\\n                    Tracking\\n                </th>\\n\n                    <th style=\\\"text-align:right\\\">\\n                    Debit\\n                </th>\\n\n                    <th style=\\\"text-align:right\\\">\\n                    Credit\\n                </th>\\n\n                </tr>\\n            {{#each lines}}\\n\n                <tr>\\n                    \n                    <td>\\n                        {{#link action=\\\"report_account_sum\\\" defaults_account_id=account_id}}\\n                            {{account_code}} - {{account_name}}\\n                        {{/link}}\\n                    </td>\\n\n                    <td>\\n                        {{track_name}}\\n                    </td>\\n\n                    <td style=\\\"text-align:right\\\">\\n                        {{currency debit zero=\\\"\\\"}}\\n                    </td>\\n\n                    <td style=\\\"text-align:right\\\">\\n                        {{currency credit zero=\\\"\\\"}}\\n                    </td>\\n\n                </tr>\\n            {{/each}}\\n\n                <tr>\\n                \n                    <th style=\\\"border-top:1px solid #999\\\">\\n                </th>\\n\n                    <th style=\\\"border-top:1px solid #999\\\">\\n                </th>\\n\n                    <th style=\\\"border-top:1px solid #999;text-align:right\\\">\\n                    {{currency total_debit zero=\\\"\\\"}}\\n                </th>\\n\n                    <th style=\\\"border-top:1px solid #999;text-align:right\\\">\\n                    {{currency total_credit zero=\\\"\\\"}}\\n                </th>\\n\n                </tr>\\n\n                <tr>\\n                \n                    <td colspan=\\\"10\\\">\\n                </td>\\n\n                </tr>\\n        {{/each}}\\n\n            </table>\\n{{else}}\\nThere are no items to display.\\n{{/if}}\\n\"}, \"report_tb_details\": {\"type\": \"hbs\", \"body\": \"\n            <center>\\n    \n                <h2>\\n        Trial Balance Details\\n    </h2>\\n\n                <h3>\\n        {{company_name}}\\n        \n                    <br/>\\n        As at {{fmt_date date}}\\n\n                </h3>\\n\n            </center>\\n\n            <table class=\\\"table\\\">\\n    \n                <thead class=\\\"scroll-header\\\">\\n        \n                    <tr>\\n            \n                        <th>\\n                Account\\n            </th>\\n\n                        <th>\\n                Contact\\n            </th>\\n\n                        <th>\\n                Tracking\\n            </th>\\n\n                        <th>\\n                Tracking-2\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                Begin Debit\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                Begin Credit\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                Period Debit\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                Period Credit\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                YTD Debit\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                YTD Credit\\n            </th>\\n\n                    </tr>\\n\n                </thead>\\n\n                <tbody>\\n        {{#each lines context=context}}\\n            \n                    <tr>\\n                \n                        <td>\\n                    {{account_code}} - {{account_name}}\\n                </td>\\n\n                        <td>\\n                    {{contact_name}}\\n                </td>\\n\n                        <td>\\n                    {{track_code}}\\n                </td>\\n\n                        <td>\\n                    {{track2_code}}\\n                </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                    {{#if no_link}}\\n                        {{currency begin_debit zero=\\\"\\\"}}\\n                    {{else}}\\n                        {{#link action=\\\"report_account_sum\\\" defaults_account_id=account_id defaults_date_to=../../month_begin_date_to defaults_contact_id=contact_id defaults_track_id=track_id defaults_track2_id=track2_id}}\\n                            {{currency begin_debit zero=\\\"\\\"}}\\n                        {{/link}}\\n                    {{/if}}\\n                </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                    {{#if no_link}}\\n                        {{currency begin_credit zero=\\\"\\\"}}\\n                    {{else}}\\n                        {{#link action=\\\"report_account_sum\\\" defaults_account_id=account_id defaults_date_to=../../month_begin_date_to defaults_contact_id=contact_id defaults_track_id=track_id defaults_track2_id=track2_id}}\\n                            {{currency begin_credit zero=\\\"\\\"}}\\n                        {{/link}}\\n                    {{/if}}\\n                </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                    {{#if no_link}}\\n                        {{currency period_debit zero=\\\"\\\"}}\\n                    {{else}}\\n                        {{#link action=\\\"report_account_sum\\\" defaults_account_id=account_id defaults_date_from=../../month_date_from defaults_date_to=../../date defaults_contact_id=contact_id defaults_track_id=track_id defaults_track2_id=track2_id}}\\n                            {{currency period_debit zero=\\\"\\\"}}\\n                        {{/link}}\\n                    {{/if}}\\n                </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                    {{#if no_link}}\\n                        {{currency period_credit zero=\\\"\\\"}}\\n                    {{else}}\\n                        {{#link action=\\\"report_account_sum\\\" defaults_account_id=account_id defaults_date_from=../../month_date_from defaults_date_to=../../date defaults_contact_id=contact_id defaults_track_id=track_id defaults_track2_id=track2_id}}\\n                            {{currency period_credit zero=\\\"\\\"}}\\n                        {{/link}}\\n                    {{/if}}\\n                </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                    {{#if no_link}}\\n                        {{currency ytd_debit zero=\\\"\\\"}}\\n                    {{else}}\\n                        {{#link action=\\\"report_account_sum\\\" defaults_account_id=account_id defaults_date_to=../../date defaults_contact_id=contact_id defaults_track_id=track_id defaults_track2_id=track2_id}}\\n                            {{currency ytd_debit zero=\\\"\\\"}}\\n                        {{/link}}\\n                    {{/if}}\\n                </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                    {{#if no_link}}\\n                        {{currency ytd_credit zero=\\\"\\\"}}\\n                    {{else}}\\n                        {{#link action=\\\"report_account_sum\\\" defaults_account_id=account_id defaults_date_to=../../date defaults_contact_id=contact_id defaults_track_id=track_id defaults_track2_id=track2_id}}\\n                            {{currency ytd_credit zero=\\\"\\\"}}\\n                        {{/link}}\\n                    {{/if}}\\n                </td>\\n\n                    </tr>\\n        {{/each}}\\n\n                </tbody>\\n\n                <tfoot>\\n        \n                    <tr>\\n            \n                        <th colspan=\\\"4\\\">\\n                Totals\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                {{currency totals.begin_debit}}\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                {{currency totals.begin_credit}}\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                {{currency totals.period_debit}}\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                {{currency totals.period_credit}}\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                {{currency totals.ytd_debit}}\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                {{currency totals.ytd_credit}}\\n            </th>\\n\n                    </tr>\\n\n                </tfoot>\\n\n            </table>\\n\"}, \"report_cash_sum\": {\"type\": \"hbs\", \"body\": \"\n            <center>\\n    \n                <h2>\\n        Cash Summary\\n    </h2>\\n\n                <h3>\\n        {{context.company_name}}\\n        \n                    <br/>\\n        From {{fmt_date context.data.date_from}} to {{fmt_date context.data.date_to}}\\n\n                </h3>\\n\n            </center>\\n\n            <table class=\\\"table table-condensed\\\">\\n    \n                <thead>\\n        \n                    <tr>\\n            \n                        <th>\\n            </th>\\n\n                        <th>\\n                {{fmt_date context.data.col0}}\\n            </th>\\n\n                    </tr>\\n\n                </thead>\\n\n                <tbody>\\n        {{#each context.data.lines context=context}}\\n            {{#ifeq type \\\"group_header\\\"}}\\n                \n                    <tr style=\\\"font-weight:bold\\\">\\n                    \n                        <td colspan=\\\"10\\\" {{#if padding}}style=\\\"padding-left:{{padding}}px\\\"{{/if}}>\\n                        {{string}}\\n                    </td>\\n\n                    </tr>\\n            {{/ifeq}}\\n            {{#ifeq type \\\"account\\\"}}\\n\n                    <tr>\\n                    \n                        <td {{#if padding}}style=\\\"padding-left:{{padding}}px\\\"{{/if}}>\\n                        \n                            <a href=\\\"/ui#name=report_account_trans_page&account_id={{id}}&date_from={{context.data.date_from}}&date_to={{context.data.date_to}}&cash_basis=1\\\">\\n                            {{string}}\\n                        </a>\\n\n                        </td>\\n\n                        <td>\\n                        \n                            <a href=\\\"/ui#name=report_account_trans_page&account_id={{id}}&date_from={{context.data.date_from}}&date_to={{context.data.date_to}}&cash_basis=1\\\">\\n                            {{currency amount}}\\n                        </a>\\n\n                        </td>\\n\n                    </tr>\\n            {{/ifeq}}\\n            {{#ifeq type \\\"group_footer\\\"}}\\n\n                    <tr style=\\\"font-weight:bold\\\">\\n                    \n                        <td style=\\\"border-top: 1px solid #999;{{#if padding}}padding-left:{{padding}}px{{/if}}\\\">\\n                        {{string}}\\n                    </td>\\n\n                        <td style=\\\"border-top: 1px solid #999\\\">\\n                        {{currency amount}}\\n                    </td>\\n\n                    </tr>\\n                {{#ifeq separator \\\"single\\\"}}\\n\n                    <tr>\\n                    \n                        <td style=\\\"border-top:1px solid #000\\\" colspan=\\\"10\\\">\\n                    </td>\\n\n                    </tr>\\n                {{/ifeq}}\\n                {{#ifeq separator \\\"double\\\"}}\\n\n                    <tr>\\n                    \n                        <td style=\\\"border-top:1px solid #000; border-bottom:1px solid #000; padding:0; height:1px\\\" colspan=\\\"10\\\">\\n                    </td>\\n\n                    </tr>\\n                {{/ifeq}}\\n            {{/ifeq}}\\n        {{/each}}\\n\n                    <tr style=\\\"font-weight:bold\\\">\\n            \n                        <td colspan=\\\"10\\\">\\n                Summary\\n            </td>\\n\n                    </tr>\\n\n                    <tr>\\n            \n                        <td style=\\\"padding-left:10px\\\">\\n                Opening Balance\\n            </td>\\n\n                        <td>\\n                {{currency context.data.cash_open}}\\n            </td>\\n\n                    </tr>\\n\n                    <tr>\\n            \n                        <td style=\\\"padding-left:10px\\\">\\n                Plus Net Cash Movement\\n            </td>\\n\n                        <td>\\n                {{currency context.data.cash_move}}\\n            </td>\\n\n                    </tr>\\n\n                    <tr>\\n            \n                        <td style=\\\"padding-left:10px\\\">\\n                Closing Balance\\n            </td>\\n\n                        <td>\\n                {{currency context.data.cash_close}}\\n            </td>\\n\n                    </tr>\\n\n                </tbody>\\n\n            </table>\\n\"}, \"report_aged_payables\": {\"type\": \"hbs\", \"body\": \"\n            <center>\\n    \n                <h2>\\n        Aged Payables (Summary)\\n    </h2>\\n\n                <h3>\\n        {{company_name}}\\n        \n                    <br/>\\n        As at {{fmt_date date}}\\n\n                </h3>\\n\n            </center>\\n\n            <table class=\\\"table table-striped\\\">\\n    \n                <thead>\\n        \n                    <tr class=\\\"scroll-header\\\">\\n            \n                        <th>\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                Total Payable\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                Current\\n            </th>\\n            {{#each periods}}\\n\n                        <th style=\\\"text-align:right\\\">\\n                    {{period_name}}\\n                </th>\\n            {{/each}}\\n\n                        <th style=\\\"text-align:right\\\">\\n                Older\\n            </th>\\n\n                    </tr>\\n\n                    <tr>\\n            \n                        <th colspan=\\\"7\\\">\\n                Payables\\n            </th>\\n\n                    </tr>\\n\n                </thead>\\n\n                <tbody>\\n        {{#each lines context=context}}\\n            \n                    <tr>\\n                \n                        <td>\\n                    {{contact_name}}\\n                </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                    {{#link action=\\\"report_supp_invoice\\\" defaults_contact_id=contact_id defaults_date_to=date_to_total}}\\n                        {{currency amount_total}}\\n                    {{/link}}\\n                </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                    {{#link action=\\\"report_supp_invoice\\\" defaults_contact_id=contact_id defaults_date_from=date_from_current}}\\n                        {{currency amount_current}}\\n                    {{/link}}\\n                </td>\\n                {{#each periods}}\\n\n                        <td style=\\\"text-align:right\\\">\\n                        {{#link action=\\\"report_supp_invoice\\\" defaults_contact_id=contact_id defaults_date_from=date_from defaults_date_to=date_to}}\\n                            {{currency amount}}\\n                        {{/link}}\\n                    </td>\\n                {{/each}}\\n\n                        <td style=\\\"text-align:right\\\">\\n                    {{#link action=\\\"report_supp_invoice\\\" defaults_contact_id=contact_id defaults_date_to=date_to_older}}\\n                        {{currency amount_older}}\\n                    {{/link}}\\n                </td>\\n\n                    </tr>\\n        {{/each}}\\n\n                </tbody>\\n\n                <tfoot>\\n        \n                    <tr style=\\\"font-weight:bold\\\">\\n            \n                        <td>\\n                Total Payables\\n            </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                {{currency total}}\\n            </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                {{currency total_current}}\\n            </td>\\n            {{#each periods}}\\n\n                        <td style=\\\"text-align:right\\\">\\n                    {{currency total}}\\n                </td>\\n            {{/each}}\\n\n                        <td style=\\\"text-align:right\\\">\\n                {{currency total_older}}\\n            </td>\\n\n                    </tr>\\n\n                </tfoot>\\n\n            </table>\\n\"}, \"report_cust_inv\": {\"type\": \"hbs\", \"body\": \"\n            <center>\\n    \n                <h2>\\n        Customer Invoice Report\\n    </h2>\\n\n                <h3>\\n        {{company_name}}\\n        \n                    <br/>\\n        From {{fmt_date date_from}} to {{fmt_date date_to}}\\n\n                </h3>\\n\n            </center>\\n\n            <table class=\\\"table table-condensed\\\">\\n    \n                <thead class=\\\"scroll-header\\\">\\n        \n                    <tr>\\n            \n                        <th>Number</th>\\n\n                        <th>Reference</th>\\n\n                        <th>Contact</th>\\n\n                        <th>Date</th>\\n\n                        <th>Due Date</th>\\n\n                        <th style=\\\"text-align:right\\\">Invoice Total</th>\\n\n                        <th style=\\\"text-align:right\\\">Paid</th>\\n\n                        <th style=\\\"text-align:right\\\">Due</th>\\n\n                        <th>Status</th>\\n\n                    </tr>\\n\n                </thead>\\n\n                <tbody>\\n        {{#each lines context=context}}\\n            \n                    <tr>\\n                \n                        <td>\\n                    {{#link action=\\\"view_invoice\\\" active_id=id}}\\n                        {{../number}}\\n                    {{/link}}\\n                </td>\\n\n                        <td>{{ref}}</td>\\n\n                        <td>{{contact_name}}</td>\\n\n                        <td>{{fmt_date date}}</td>\\n\n                        <td>{{fmt_date due_date}}</td>\\n\n                        <td style=\\\"text-align:right\\\">{{currency amount_total}}</td>\\n\n                        <td style=\\\"text-align:right\\\">{{currency amount_paid}}</td>\\n\n                        <td style=\\\"text-align:right\\\">{{currency amount_due}}</td>\\n\n                        <td>{{state}}</td>\\n\n                    </tr>\\n        {{/each}}\\n\n                </tbody>\\n\n                <tfoot>\\n        \n                    <tr>\\n            \n                        <th colspan=\\\"5\\\">Totals</th>\\n\n                        <th style=\\\"text-align:right\\\">{{currency total_invoice}}</th>\\n\n                        <th style=\\\"text-align:right\\\">{{currency total_paid}}</th>\\n\n                        <th style=\\\"text-align:right\\\">{{currency total_due}}</th>\\n\n                        <th></th>\\n\n                    </tr>\\n\n                </tfoot>\\n\n            </table>\\n\"}, \"report_page\": {\"type\": \"hbs\", \"body\": \"\n            <div>\\n    \n                <div class=\\\"page-header nf-page-header\\\">\\n        \n                    <h1>All Reports</h1>\\n\n                </div>\\n\n                <div class=\\\"row\\\">\\n        \n                    <div class=\\\"col-sm-6\\\">\\n            \n                        <div class=\\\"nf-board-widget-title\\\">\\n                \n                            <h3>{{t \\\"Performance Reports\\\"}}</h3>\\n\n                        </div>\\n\n                        <div style=\\\"margin-bottom:20px\\\">\\n                \n                            <div>\\n                    \n                                <a href=\\\"/action?name=report_profit_loss\\\">{{t \\\"Profit and Loss\\\"}}</a>\\n\n                            </div>\\n\n                            <div>\\n                    \n                                <a href=\\\"/action?name=report_account_sale\\\">{{t \\\"Sales Report\\\"}}</a>\\n\n                            </div>\\n\n                            <div>\\n                    \n                                <a href=\\\"/action?name=report_account_purchase\\\">{{t \\\"Expenses Report\\\"}}</a>\\n\n                            </div>\\n\n                            <!--\\n                <div>\\n                    <a href=\\\"/action?name=report_income_contact\\\">{{t \\\"Income By Contact\\\"}}</a>\\n</div>\\n                <div>\\n                    <a href=\\\"/action?name=report_expense_contact\\\">{{t \\\"Expenses By Contact\\\"}}</a>\\n</div>\\n                -->\\n            \n                    </div>\\n\n                    <div class=\\\"nf-board-widget-title\\\">\\n                \n                        <h3>{{t \\\"Cash Reports\\\"}}</h3>\\n\n                    </div>\\n\n                    <div style=\\\"margin-bottom:20px\\\">\\n                \n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_cash_flow\\\">{{t \\\"Cash Flow Statement\\\"}}</a>\\n\n                        </div>\\n\n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_bank_rec\\\">{{t \\\"Bank Reconciliation Summary\\\"}}</a>\\n\n                        </div>\\n\n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_reconcile\\\">{{t \\\"Reconciliation Report\\\"}}</a>\\n\n                        </div>\\n\n                    </div>\\n\n                    <div class=\\\"nf-board-widget-title\\\">\\n                \n                        <h3>{{t \\\"Foreign Currency Reports\\\"}}</h3>\\n\n                    </div>\\n\n                    <div style=\\\"margin-bottom:20px\\\">\\n                \n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_currency\\\">{{t \\\"Unrealized Gains and Losses\\\"}}</a>\\n\n                        </div>\\n\n                    </div>\\n\n                    <div class=\\\"nf-board-widget-title\\\">\\n                \n                        <h3>{{t \\\"Position Reports\\\"}}</h3>\\n\n                    </div>\\n\n                    <div style=\\\"margin-bottom:20px\\\">\\n                \n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_aged_receivables\\\">{{t \\\"Aged Receivables Summary\\\"}}</a>\\n\n                        </div>\\n\n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_aged_payables\\\">{{t \\\"Aged Payables Summary\\\"}}</a>\\n\n                        </div>\\n\n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_ar_details\\\">{{t \\\"Aged Receivables Details\\\"}}</a>\\n\n                        </div>\\n\n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_ap_details\\\">{{t \\\"Aged Payables Details\\\"}}</a>\\n\n                        </div>\\n\n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_balance_sheet\\\">{{t \\\"Balance Sheet\\\"}}</a>\\n\n                        </div>\\n\n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_dep_schedule\\\">{{t \\\"Depreciation Schedule\\\"}}</a>\\n\n                        </div>\\n\n                    </div>\\n\n                </div>\\n\n                <div class=\\\"col-sm-6\\\">\\n            \n                    <div class=\\\"nf-board-widget-title\\\">\\n                \n                        <h3>{{t \\\"Detail Reports\\\"}}</h3>\\n\n                    </div>\\n\n                    <div style=\\\"margin-bottom:20px\\\">\\n                \n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_account_trans\\\">{{t \\\"Account Transactions\\\"}}</a>\\n\n                        </div>\\n\n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_account_sum\\\">{{t \\\"Account Summary\\\"}}</a>\\n\n                        </div>\\n\n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_journal\\\">{{t \\\"Journal Report\\\"}}</a>\\n\n                        </div>\\n\n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_cust_invoice\\\">{{t \\\"Receivable Transactions\\\"}}</a>\\n\n                        </div>\\n\n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_supp_invoice\\\">{{t \\\"Payable Transactions\\\"}}</a>\\n\n                        </div>\\n\n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_tb\\\">{{t \\\"Trial Balance\\\"}}</a>\\n\n                        </div>\\n\n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_tb_details\\\">{{t \\\"Trial Balance Details\\\"}}</a>\\n\n                        </div>\\n\n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_gl\\\">{{t \\\"General Ledger Summary\\\"}}</a>\\n\n                        </div>\\n\n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_gl_details\\\">{{t \\\"General Ledger Details\\\"}}</a>\\n\n                        </div>\\n\n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_cust_inv\\\">{{t \\\"Customer Invoice Report\\\"}}</a>\\n\n                        </div>\\n\n                    </div>\\n\n                    <div class=\\\"nf-board-widget-title\\\">\\n                \n                        <h3>{{t \\\"Tax Reports\\\"}}</h3>\\n\n                    </div>\\n\n                    <div style=\\\"margin-bottom:20px\\\">\\n                \n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_tax_sum\\\">{{t \\\"Tax Summary Report\\\"}}</a>\\n\n                        </div>\\n\n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_tax_audit\\\">{{t \\\"Tax Audit Report\\\"}}</a>\\n\n                        </div>\\n\n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_tax_month\\\">{{t \\\"Tax Monthly Report\\\"}}</a>\\n\n                        </div>\\n\n                    </div>\\n\n                    <div class=\\\"nf-board-widget-title\\\">\\n                \n                        <h3>{{t \\\"Tracking Reports\\\"}}</h3>\\n\n                    </div>\\n\n                    <div style=\\\"margin-bottom:20px\\\">\\n                \n                        <div>\\n                    \n                            <a href=\\\"/action?name=report_track_budget\\\">{{t \\\"Project Budget Report\\\"}}</a>\\n\n                        </div>\\n\n                    </div>\\n\n                </div>\\n\n            </div>\\n\n        </div>\\n\"}, \"report_dep_schedule\": {\"type\": \"hbs\", \"body\": \"\n        <center>\\n    \n            <h2>\\n        Depreciation Schedule\\n    </h2>\\n\n            <h3>\\n        {{company_name}}\\n    </h3>\\n\n            <h3>\\n        {{fmt_date date_from}} to {{fmt_date date_to}}\\n    </h3>\\n\n            <br/>\\n\n        </center>\\n\n        <table class=\\\"table\\\">\\n    \n            <thead>\\n        \n                <tr>\\n            \n                    <th>\\n                Name\\n            </th>\\n\n                    <th>\\n                Number\\n            </th>\\n\n                    <th>\\n                Purchase Price\\n            </th>\\n\n                    <th>\\n                Purchase Date\\n            </th>\\n\n                    <th>\\n                Rate\\n            </th>\\n\n                    <th>\\n                Book Value\\n                {{fmt_date date_from}}\\n            </th>\\n\n                    <th>\\n                Accum Dep\\n            </th>\\n\n                    <th>\\n                Book Value\\n                {{fmt_date date_to}}\\n            </th>\\n\n                </tr>\\n\n            </thead>\\n\n            <tbody>\\n        {{#each groups}}\\n            \n                <tr>\\n                \n                    <th colspan=\\\"20\\\">\\n                    {{type_name}}\\n                </th>\\n\n                </tr>\\n            {{#each lines}}\\n\n                <tr>\\n                    \n                    <td>\\n                        {{asset_name}}\\n                    </td>\\n\n                    <td>\\n                        {{#link action=\\\"fixed_asset\\\" mode=\\\"page\\\" active_id=asset_id}}\\n                            {{asset_number}}\\n                        {{/link}}\\n                    </td>\\n\n                    <td style=\\\"text-align:right\\\">\\n                        {{currency purchase_price}}\\n                    </td>\\n\n                    <td>\\n                        {{fmt_date purchase_date}}\\n                    </td>\\n\n                    <td style=\\\"text-align:right\\\">\\n                        {{rate}}%\\n                    </td>\\n\n                    <td style=\\\"text-align:right\\\">\\n                        {{currency book_val_from}}\\n                    </td>\\n\n                    <td style=\\\"text-align:right\\\">\\n                        {{currency accum_dep}}\\n                    </td>\\n\n                    <td style=\\\"text-align:right\\\">\\n                        {{currency book_val_to}}\\n                    </td>\\n\n                </tr>\\n            {{/each}}\\n\n                <tr>\\n                \n                    <th colspan=\\\"5\\\">\\n                </th>\\n\n                    <th style=\\\"text-align:right\\\">\\n                    {{currency total_book_val_from}}\\n                </th>\\n\n                    <th style=\\\"text-align:right\\\">\\n                    {{currency total_accum_dep}}\\n                </th>\\n\n                    <th style=\\\"text-align:right\\\">\\n                    {{currency total_book_val_to}}\\n                </th>\\n\n                </tr>\\n        {{/each}}\\n\n            </tbody>\\n\n            <tfoot>\\n        \n                <tr>\\n            \n                    <th colspan=\\\"5\\\">\\n                Total\\n            </th>\\n\n                    <th style=\\\"text-align:right\\\">\\n                {{currency total_book_val_from}}\\n            </th>\\n\n                    <th style=\\\"text-align:right\\\">\\n                {{currency total_accum_dep}}\\n            </th>\\n\n                    <th style=\\\"text-align:right\\\">\\n                {{currency total_book_val_to}}\\n            </th>\\n\n                </tr>\\n\n            </tfoot>\\n\n        </table>\\n\"}, \"report_expense_contact\": {\"type\": \"hbs\", \"body\": \"\n        <center>\\n    \n            <h2>\\n        Expenses by Contact\\n    </h2>\\n\n            <h3>\\n        {{context.company_name}}\\n        \n                <br/>\\n        From the month ended {{context.data.date}}\\n\n            </h3>\\n\n        </center>\\n\"}, \"report_profit_loss\": {\"type\": \"hbs\", \"body\": \"\n        <div style=\\\"max-width:1170px;margin:0 auto\\\">\\n\n            <center>\\n    \n                <h2>\\n        Profit &amp; Loss\\n    </h2>\\n\n                <h3>\\n        {{data.company_name}}\\n        \n                    <br/>\\n        {{fmt_date data.date_from}} to {{fmt_date data.date_to}}\\n\n                </h3>\\n\n            </center>\\n\n            <table class=\\\"table table-condensed\\\">\\n    \n                <thead class=\\\"scroll-header\\\">\\n        \n                    <tr>\\n            \n                        <th>\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                {{fmt_date data.col0}}\\n            </th>\\n            {{#if data.col1}}\\n\n                        <th style=\\\"text-align:right\\\">\\n                    {{fmt_date data.col1}}\\n                </th>\\n            {{/if}}\\n            {{#if data.col2}}\\n\n                        <th style=\\\"text-align:right\\\">\\n                    {{fmt_date data.col2}}\\n                </th>\\n            {{/if}}\\n            {{#if data.col3}}\\n\n                        <th style=\\\"text-align:right\\\">\\n                    {{fmt_date data.col3}}\\n                </th>\\n            {{/if}}\\n            {{#if data.col4}}\\n\n                        <th style=\\\"text-align:right\\\">\\n                    {{fmt_date data.col4}}\\n                </th>\\n            {{/if}}\\n            {{#if data.col5}}\\n\n                        <th style=\\\"text-align:right\\\">\\n                    {{fmt_date data.col5}}\\n                </th>\\n            {{/if}}\\n            {{#if data.col6}}\\n\n                        <th style=\\\"text-align:right\\\">\\n                    {{fmt_date data.col6}}\\n                </th>\\n            {{/if}}\\n            {{#if data.col7}}\\n\n                        <th style=\\\"text-align:right\\\">\\n                    {{fmt_date data.col7}}\\n                </th>\\n            {{/if}}\\n            {{#if data.col8}}\\n\n                        <th style=\\\"text-align:right\\\">\\n                    {{fmt_date data.col8}}\\n                </th>\\n            {{/if}}\\n            {{#if data.col9}}\\n\n                        <th style=\\\"text-align:right\\\">\\n                    {{fmt_date data.col9}}\\n                </th>\\n            {{/if}}\\n            {{#if data.col10}}\\n\n                        <th style=\\\"text-align:right\\\">\\n                    {{fmt_date data.col10}}\\n                </th>\\n            {{/if}}\\n            {{#if data.col11}}\\n\n                        <th style=\\\"text-align:right\\\">\\n                    {{fmt_date data.col11}}\\n                </th>\\n            {{/if}}\\n            {{#if data.show_ytd}}\\n\n                        <th style=\\\"text-align:right\\\">\\n                    YTD\\n                </th>\\n            {{/if}}\\n\n                    </tr>\\n\n                </thead>\\n\n                <tbody>\\n        {{#each data.lines context=context}}\\n            {{#ifeq type \\\"group_header\\\"}}\\n                \n                    <tr style=\\\"font-weight:bold\\\">\\n                    \n                        <td colspan=\\\"20\\\" {{#if padding}}style=\\\"padding-left:{{padding}}px\\\"{{/if}}>\\n                        {{string}}\\n                    </td>\\n\n                    </tr>\\n            {{/ifeq}}\\n            {{#ifeq type \\\"account\\\"}}\\n\n                    <tr>\\n                    \n                        <td {{#if padding}}style=\\\"padding-left:{{padding}}px\\\"{{/if}}>\\n                        {{string}}\\n                    </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                         {{#link action=\\\"report_account_trans\\\" defaults_account_id=id defaults_date_from=../data.date_from defaults_date_to=../data.date_to defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n                            {{currency amount}}\\n                        {{/link}}\\n                    </td>\\n                    {{#if ../data.col1}}\\n\n                        <td style=\\\"text-align:right\\\">\\n                         {{#link action=\\\"report_account_trans\\\" defaults_account_id=id defaults_date_from=../data.date_from1 defaults_date_to=../data.date_to1 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n                            {{currency amount1}}\\n                        {{/link}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col2}}\\n\n                        <td style=\\\"text-align:right\\\">\\n                         {{#link action=\\\"report_account_trans\\\" defaults_account_id=id defaults_date_from=../data.date_from2 defaults_date_to=../data.date_to2 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n                            {{currency amount2}}\\n                        {{/link}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col3}}\\n\n                        <td style=\\\"text-align:right\\\">\\n                         {{#link action=\\\"report_account_trans\\\" defaults_account_id=id defaults_date_from=../data.date_from3 defaults_date_to=../data.date_to3 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n                            {{currency amount3}}\\n                        {{/link}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col4}}\\n\n                        <td style=\\\"text-align:right\\\">\\n                         {{#link action=\\\"report_account_trans\\\" defaults_account_id=id defaults_date_from=../data.date_from4 defaults_date_to=../data.date_to4 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n                            {{currency amount4}}\\n                        {{/link}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col5}}\\n\n                        <td style=\\\"text-align:right\\\">\\n                         {{#link action=\\\"report_account_trans\\\" defaults_account_id=id defaults_date_from=../data.date_from5 defaults_date_to=../data.date_to5 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n                            {{currency amount5}}\\n                        {{/link}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col6}}\\n\n                        <td style=\\\"text-align:right\\\">\\n                         {{#link action=\\\"report_account_trans\\\" defaults_account_id=id defaults_date_from=../data.date_from6 defaults_date_to=../data.date_to6 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n                            {{currency amount6}}\\n                        {{/link}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col7}}\\n\n                        <td style=\\\"text-align:right\\\">\\n                         {{#link action=\\\"report_account_trans\\\" defaults_account_id=id defaults_date_from=../data.date_from7 defaults_date_to=../data.date_to7 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n                            {{currency amount7}}\\n                        {{/link}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col8}}\\n\n                        <td style=\\\"text-align:right\\\">\\n                         {{#link action=\\\"report_account_trans\\\" defaults_account_id=id defaults_date_from=../data.date_from8 defaults_date_to=../data.date_to8 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n                            {{currency amount8}}\\n                        {{/link}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col9}}\\n\n                        <td style=\\\"text-align:right\\\">\\n                         {{#link action=\\\"report_account_trans\\\" defaults_account_id=id defaults_date_from=../data.date_from9 defaults_date_to=../data.date_to9 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n                            {{currency amount9}}\\n                        {{/link}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col10}}\\n\n                        <td style=\\\"text-align:right\\\">\\n                         {{#link action=\\\"report_account_trans\\\" defaults_account_id=id defaults_date_from=../data.date_from10 defaults_date_to=../data.date_to10 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n                            {{currency amount10}}\\n                        {{/link}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col11}}\\n\n                        <td style=\\\"text-align:right\\\">\\n                         {{#link action=\\\"report_account_trans\\\" defaults_account_id=id defaults_date_from=../data.date_from11 defaults_date_to=../data.date_to11 defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n                            {{currency amount11}}\\n                        {{/link}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.show_ytd}}\\n\n                        <td style=\\\"text-align:right\\\">\\n                             {{#link action=\\\"report_account_trans\\\" defaults_account_id=id defaults_date_from=../data.date_from_ytd defaults_date_to=../data.date_to defaults_track_id=../data.track_id defaults_track2_id=../data.track2_id}}\\n                                {{currency amount_ytd}}\\n                            {{/link}}\\n                        </td>\\n                    {{/if}}\\n\n                    </tr>\\n            {{/ifeq}}\\n            {{#ifeq type \\\"group_footer\\\"}}\\n\n                    <tr style=\\\"font-weight:bold\\\">\\n                    \n                        <td style=\\\"border-top: 1px solid #999;{{#if padding}}padding-left:{{padding}}px{{/if}}\\\">\\n                        {{string}}\\n                    </td>\\n\n                        <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                        {{currency amount}}\\n                    </td>\\n                    {{#if ../data.col1}}\\n\n                        <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount1}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col2}}\\n\n                        <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount2}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col3}}\\n\n                        <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount3}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col4}}\\n\n                        <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount4}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col5}}\\n\n                        <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount5}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col6}}\\n\n                        <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount6}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col7}}\\n\n                        <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount7}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col8}}\\n\n                        <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount8}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col9}}\\n\n                        <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount9}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col10}}\\n\n                        <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount10}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.col11}}\\n\n                        <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount11}}\\n                        </td>\\n                    {{/if}}\\n                    {{#if ../data.show_ytd}}\\n\n                        <td style=\\\"border-top: 1px solid #999;text-align:right\\\">\\n                            {{currency amount_ytd}}\\n                        </td>\\n                    {{/if}}\\n\n                    </tr>\\n                {{#ifeq separator \\\"single\\\"}}\\n\n                    <tr>\\n                    \n                        <td style=\\\"border-top:1px solid #000\\\" colspan=\\\"20\\\">\\n                    </td>\\n\n                    </tr>\\n                {{/ifeq}}\\n                {{#ifeq separator \\\"double\\\"}}\\n\n                    <tr>\\n                    \n                        <td style=\\\"border-top:1px solid #000; border-bottom:1px solid #000; padding:0; height:1px\\\" colspan=\\\"20\\\">\\n                    </td>\\n\n                    </tr>\\n                {{/ifeq}}\\n            {{/ifeq}}\\n        {{/each}}\\n\n                </tbody>\\n\n            </table>\\n\n        </div>\\n\"}, \"report_tax_sum\": {\"type\": \"hbs\", \"body\": \"\n        <center>\\n    \n            <h2>\\n        Tax Summary Report\\n    </h2>\\n\n            <h3>\\n        {{company_name}}\\n        \n                <br/>\\n        From {{fmt_date date_from}} to {{fmt_date date_to}}\\n\n            </h3>\\n\n        </center>\\n\\n\n        <table class=\\\"table\\\">\\n    \n            <thead class=\\\"scroll-header\\\">\\n        \n                <tr>\\n            \n                    <th>Tax</th>\\n\n                    <th>Rate</th>\\n\n                    <th>Base</th>\\n\n                    <th>Tax</th>\\n\n                </tr>\\n\n            </thead>\\n\n            <tbody>\\n        {{#if by_rate}}\\n            \n                <tr>\\n                \n                    <td colspan=\\\"4\\\">\\n                    \n                        <h4>Taxes by Tax Rate</h4>\\n\n                    </td>\\n\n                </tr>\\n            {{#each_group rate_taxes \\\"rate_name\\\" sum=\\\"base_total,tax_total\\\"}}\\n\n                <tr>\\n                    \n                    <td colspan=\\\"4\\\">\\n                        \n                        <b>{{rate_name}}</b>\\n\n                    </td>\\n\n                </tr>\\n                {{#each group_items}}\\n\n                <tr>\\n                        \n                    <td>{{comp_name}}</td>\\n\n                    <td>{{comp_rate}}%</td>\\n\n                    <td>{{currency base_total}}</td>\\n\n                    <td>{{currency tax_total}}</td>\\n\n                </tr>\\n                {{/each}}\\n\n                <tr>\\n                    \n                    <td>Total {{rate_name}}</td>\\n\n                    <td></td>\\n\n                    <td>{{currency sum.base_total}}</td>\\n\n                    <td>{{currency sum.tax_total}}</td>\\n\n                </tr>\\n            {{/each_group}}\\n        {{/if}}\\n        {{#if by_comp}}\\n\n                <tr>\\n                \n                    <td colspan=\\\"4\\\">\\n                    \n                        <h4>Taxes by Tax Component</h4>\\n\n                    </td>\\n\n                </tr>\\n            {{#each_group comp_taxes \\\"comp_name\\\" sum=\\\"base_total,tax_total\\\" context=context}}\\n\n                <tr>\\n                    \n                    <td colspan=\\\"4\\\">\\n                        \n                        <b>{{comp_name}}</b>\\n\n                    </td>\\n\n                </tr>\\n                {{#each group_items context=context}}\\n\n                <tr>\\n                        \n                    <td>{{rate_name}}</td>\\n\n                    <td>{{comp_rate}}%</td>\\n\n                    <td>\\n                            {{#link action=\\\"report_tax_audit\\\" defaults_tax_comp_id=comp_id defaults_date_from=../../date_from defaults_date_to=../../date_to}}\\n                                {{currency base_total}}\\n                            {{/link}}\\n                        </td>\\n\n                    <td>\\n                            {{#link action=\\\"report_tax_audit\\\" defaults_tax_comp_id=comp_id defaults_date_from=../../date_from defaults_date_to=../../date_to}}\\n                                {{currency tax_total}}\\n                            {{/link}}\\n                        </td>\\n\n                </tr>\\n                {{/each}}\\n\n                <tr>\\n                    \n                    <td>Total {{comp_name}}</td>\\n\n                    <td></td>\\n\n                    <td>{{currency sum.base_total}}</td>\\n\n                    <td>{{currency sum.tax_total}}</td>\\n\n                </tr>\\n            {{/each_group}}\\n        {{/if}}\\n\n            </tbody>\\n\n        </table>\\n\"}, \"report_gl\": {\"type\": \"hbs\", \"body\": \"\n        <center>\\n    \n            <h2>\\n        General Ledger Summary\\n    </h2>\\n\n            <h3>\\n        {{company_name}}\\n        \n                <br/>\\n        From {{fmt_date date_from}} to {{fmt_date date_to}}\\n\n            </h3>\\n\n        </center>\\n\n        <table class=\\\"table\\\">\\n    \n            <thead class=\\\"scroll-header\\\">\\n        \n                <tr>\\n            \n                    <th>\\n                Account\\n            </th>\\n\n                    <th style=\\\"text-align:right\\\">\\n                Debit\\n            </th>\\n\n                    <th style=\\\"text-align:right\\\">\\n                Credit\\n            </th>\\n\n                    <th style=\\\"text-align:right\\\">\\n                Net Movement\\n            </th>\\n\n                </tr>\\n\n            </thead>\\n\n            <tbody>\\n        {{#each lines context=context}}\\n            \n                <tr>\\n                \n                    <td>\\n                    {{code}} - {{name}}\\n                </td>\\n\n                    <td style=\\\"text-align:right\\\">\\n                    {{currency debit zero=\\\"\\\"}}\\n                </td>\\n\n                    <td style=\\\"text-align:right\\\">\\n                    {{currency credit zero=\\\"\\\"}}\\n                </td>\\n\n                    <td style=\\\"text-align:right\\\">\\n                    {{#link action=\\\"report_account_trans\\\" defaults_account_id=id defaults_date_from=../date_from defaults_date_to=../date_to}}\\n                        {{currency balance paren=1}}\\n                    {{/link}}\\n                </td>\\n\n                </tr>\\n        {{/each}}\\n\n            </tbody>\\n\n            <tfoot>\\n        \n                <tr>\\n            \n                    <th>\\n                Total\\n            </th>\\n\n                    <th style=\\\"text-align:right\\\">\\n                {{currency total_debit}}\\n            </th>\\n\n                    <th style=\\\"text-align:right\\\">\\n                {{currency total_credit}}\\n            </th>\\n\n                    <th style=\\\"text-align:right\\\">\\n                {{currency total_balance}}\\n            </th>\\n\n                </tr>\\n\n            </tfoot>\\n\n        </table>\\n\"}, \"report_tax_month\": {\"type\": \"hbs\", \"body\": \"\n        <center>\\n    \n            <h2>\\n        Tax Monthly Report\\n    </h2>\\n\n            <h3>\\n        {{company_name}}\\n        \n                <br/>\\n        From {{fmt_date date_from}} to {{fmt_date date_to}}\\n\n            </h3>\\n\n        </center>\\n\\n\n        <table class=\\\"table\\\">\\n    \n            <thead class=\\\"scroll-header\\\">\\n        \n                <tr>\\n            \n                    <th>Date</th>\\n\n                    <th>Print Form No.</th>\\n\n                    <th>Tax Invoice</th>\\n\n                    <th>Tax Component</th>\\n\n                    <th>Customer Name</th>\\n\n                    <th>Tax ID</th>\\n\n                    <th>Branch</th>\\n\n                    <th>Amount</th>\\n\n                    <th>Tax</th>\\n\n                    <th>Amount Incl Tax</th>\\n\n                    <th>Remark</th>\\n\n                </tr>\\n\n            </thead>\\n\n            <tbody>\\n        {{#each lines}}\\n            \n                <tr>\\n                \n                    <td>{{date}}</td>\\n\n                    <td>{{print_form_no}}</td>\\n\n                    <td>\n                        <a href=\\\"/action?name=view_invoice&active_id={{invoice_id}}\\\">{{invoice_no}}</a>\n                    </td>\\n\n                    <td>{{tax_comp_name}}</td>\\n\n                    <td>{{contact_name}}</td>\\n\n                    <td>{{contact_tax_id}}</td>\\n\n                    <td>{{contact_branch}}</td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency base_amount}}</td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency tax_amount}}</td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency amount}}</td>\\n\n                    <td>{{comments}}</td>\\n\n                </tr>\\n        {{/each}}\\n\n                <tr>\\n            \n                    <td colspan=\\\"7\\\"></td>\\n\n                    <th style=\\\"text-align:right\\\">{{currency base_total}}</th>\\n\n                    <th style=\\\"text-align:right\\\">{{currency tax_total}}</th>\\n\n                    <th style=\\\"text-align:right\\\">{{currency amount_total}}</th>\\n\n                    <td></td>\\n\n                </tr>\\n\n            </tbody>\\n\n        </table>\\n\"}, \"report_income_contact\": {\"type\": \"hbs\", \"body\": \"\n        <center>\\n    \n            <h2>\\n        Income by Contact\\n    </h2>\\n\n            <h3>\\n        {{context.company_name}}\\n        \n                <br/>\\n        From the month ended {{context.data.date}}\\n\n            </h3>\\n\n        </center>\\n\"}, \"report_sale_product\": {\"type\": \"hbs\", \"body\": \"\n        <center>\\n    \n            <h2>\\n        Sales by Product\\n    </h2>\\n\n            <h3>\\n        {{company_name}}\\n        \n                <br/>\\n        From {{fmt_date date_from}} to {{fmt_date date_to}}\\n\n            </h3>\\n\n        </center>\\n\n        <table class=\\\"table\\\">\\n    \n            <thead>\\n        \n                <tr>\\n            \n                    <th>\\n                Item\\n            </th>\\n\n                    <th>\\n                Current Unit Price\\n            </th>\\n\n                    <th>\\n                Qty Sold\\n            </th>\\n\n                    <th>\\n                Total\\n            </th>\\n\n                    <th>\\n                Avg. Price\\n            </th>\\n\n                </tr>\\n\n            </thead>\\n\n            <tbody>\\n        {{#each lines}}\\n            \n                <tr>\\n                \n                    <td>\\n                    \n                        <a href=\\\"action?name=report_product_sales_page&product_id={{product_id}}&date_from={{date_from}}&date_to={{date_to}}\\\">\\n                        {{product_name}}\\n                    </a>\\n\n                    </td>\\n\n                    <td>\\n                    {{product_price}}\\n                </td>\\n\n                    <td>\\n                    \n                        <a href=\\\"action?name=report_product_sales_page&product_id={{product_id}}&date_from={{date_from}}&date_to={{date_to}}\\\">\\n                        {{qty}}\\n                    </a>\\n\n                    </td>\\n\n                    <td>\\n                    \n                        <a href=\\\"action?name=report_product_sales_page&product_id={{product_id}}&date_from={{date_from}}&date_to={{date_to}}\\\">\\n                        {{currency amount}}\\n                    </a>\\n\n                    </td>\\n\n                    <td>\\n                    \n                        <a href=\\\"action?name=report_product_sales_page&product_id={{product_id}}&date_from={{date_from}}&date_to={{date_to}}\\\">\\n                        {{currency avg_price}}\\n                    </a>\\n\n                    </td>\\n\n                </tr>\\n        {{/each}}\\n\n            </tbody>\\n\n            <tfoot>\\n        \n                <tr>\\n            \n                    <th colspan=\\\"2\\\">\\n                Total\\n            </th>\\n\n                    <th>\\n                {{total_qty}}\\n            </th>\\n\n                    <th>\\n                {{currency total_amount}}\\n            </th>\\n\n                    <th>\\n                {{currency total_avg_price}}\\n            </th>\\n\n                </tr>\\n\n            </tfoot>\\n\n        </table>\\n\"}, \"report_aged_receivables\": {\"type\": \"hbs\", \"body\": \"\n        <center>\\n    \n            <h2>\\n        Aged Receivables (Summary)\\n    </h2>\\n\n            <h3>\\n        {{company_name}}\\n        \n                <br/>\\n        As at {{fmt_date date}}\\n\n            </h3>\\n\n        </center>\\n\n        <table class=\\\"table table-striped\\\">\\n    \n            <thead class=\\\"scroll-header\\\">\\n        \n                <tr>\\n            \n                    <th>\\n            \n                        <!--</th>\\n            <th style=\\\"text-align:right\\\">\\n                Currency\\n            </th>\\n<th style=\\\"text-align:right\\\">\\n                Total Receivable (Currency)\\n            </th>-->\\n            \n                    <th style=\\\"text-align:right\\\">\\n                Total Receivable\\n            </th>\\n\n                    <th style=\\\"text-align:right\\\">\\n                Current\\n            </th>\\n            {{#each periods}}\\n\n                    <th style=\\\"text-align:right\\\">\\n                    {{period_name}}\\n                </th>\\n            {{/each}}\\n\n                    <th style=\\\"text-align:right\\\">\\n                Older\\n            </th>\\n\n                </tr>\\n\n                <tr>\\n            \n                    <th colspan=\\\"7\\\">\\n                Receivables\\n            </th>\\n\n                </tr>\\n\n            </thead>\\n\n            <tbody>\\n        {{#each lines context=context}}\\n            \n                <tr>\\n                \n                    <td>\\n                    {{contact_name}}\\n                \n                        <!--</td>\\n                <td style=\\\"text-align:right\\\">\\n                    {{cur}}\\n                </td>\\n<td style=\\\"text-align:right\\\">\\n                    {{currency amount_total_cur}}\\n                </td>-->\\n                \n                    <td style=\\\"text-align:right\\\">\\n                    {{#link action=\\\"report_cust_invoice\\\" defaults_contact_id=contact_id defaults_date_to=date_to_total}}\\n                        {{currency amount_total}}\\n                    {{/link}}\\n                </td>\\n\n                    <td style=\\\"text-align:right\\\">\\n                    {{#link action=\\\"report_cust_invoice\\\" defaults_contact_id=contact_id defaults_date_from=date_from_current}}\\n                        {{currency amount_current}}\\n                    {{/link}}\\n                </td>\\n                {{#each periods}}\\n\n                    <td style=\\\"text-align:right\\\">\\n                        {{#link action=\\\"report_cust_invoice\\\" defaults_contact_id=contact_id defaults_date_from=date_from defaults_date_to=date_to}}\\n                            {{currency amount}}\\n                        {{/link}}\\n                    </td>\\n                {{/each}}\\n\n                    <td style=\\\"text-align:right\\\">\\n                    {{#link action=\\\"report_cust_invoice\\\" defaults_contact_id=contact_id defaults_date_to=date_to_older}}\\n                        {{currency amount_older}}\\n                    {{/link}}\\n                </td>\\n\n                </tr>\\n        {{/each}}\\n\n            </tbody>\\n\n            <tfoot>\\n        \n                <tr style=\\\"font-weight:bold\\\">\\n            \n                    <td>\\n                Total Receivables\\n            </td>\\n\n                    <td style=\\\"text-align:right\\\">\\n                {{currency total}}\\n            </td>\\n\n                    <td style=\\\"text-align:right\\\">\\n                {{currency total_current}}\\n            </td>\\n            {{#each periods}}\\n\n                    <td style=\\\"text-align:right\\\">\\n                    {{currency total}}\\n                </td>\\n            {{/each}}\\n\n                    <td style=\\\"text-align:right\\\">\\n                {{currency total_older}}\\n            </td>\\n\n                </tr>\\n\n            </tfoot>\\n\n        </table>\\n\"}, \"report_track_budget\": {\"type\": \"hbs\", \"body\": \"\n        <div style=\\\"max-width:1170px;margin:0 auto\\\">\\n\n            <center>\\n    \n                <h2>\\n        Project Budget Report\\n    </h2>\\n\n                <h3>\\n        {{data.company_name}}\\n        \n                    <br/>\\n        {{#if data.track_name}}\\n        Project: [{{data.track_code}}] {{data.track_name}}\\n        {{/if}}\\n        {{#if data.contact_name}}\\n        Supplier: {{data.contact_name}}\\n        {{/if}}\\n\n                </h3>\\n\n            </center>\\n\n            <table class=\\\"table table-condensed\\\">\\n    \n                <thead class=\\\"scroll-header\\\">\\n        \n                    <tr>\\n            \n                        <th>\\n                Supplier\\n            </th>\\n\n                        <th>\\n                Account\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                Forecast Total\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                Actual Total\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                Paid\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                Unpaid\\n            </th>\\n\n                    </tr>\\n\n                </thead>\\n\n                <tbody>\\n        {{#each lines}}\\n            \n                    <tr>\\n                \n                        <td>{{contact_name}}</td>\\n\n                        <td>[{{account_code}}] {{account_name}}</td>\\n\n                        <td style=\\\"text-align:right\\\">{{currency budget_amount}}</td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                    {{#link action=\\\"report_account_trans\\\" defaults_contact_id=contact_id defaults_account_id=account_id defaults_track_id=../data.track_id}}\\n                        {{currency actual_amount}}\\n                    {{/link}}\\n                </td>\\n\n                        <td style=\\\"text-align:right\\\">{{currency paid_amount}}</td>\\n\n                        <td style=\\\"text-align:right\\\">{{currency unpaid_amount}}</td>\\n\n                    </tr>\\n        {{/each}}\\n\n                    <tr>\\n            \n                        <th></th>\\n\n                        <th></th>\\n\n                        <th style=\\\"text-align:right\\\">{{currency data.budget_total}}</th>\\n\n                        <th style=\\\"text-align:right\\\">{{currency data.actual_total}}</th>\\n\n                        <th style=\\\"text-align:right\\\">{{currency data.paid_total}}</th>\\n\n                        <th style=\\\"text-align:right\\\">{{currency data.unpaid_total}}</th>\\n\n                    </tr>\\n\n                </tbody>\\n\n            </table>\\n\"}, \"report_bank_rec\": {\"type\": \"hbs\", \"body\": \"\n            <center>\\n    \n                <h2>\\n        Bank Reconciliation Summary\\n    </h2>\\n\n                <h3>\\n        {{company_name}}\\n        \n                    <br/>\\n        {{account_name}}\\n\n                    <br/>\\n        As at {{fmt_date date}}\\n\n                </h3>\\n\n            </center>\\n\n            <table class=\\\"table\\\">\\n    \n                <thead>\\n        \n                    <tr>\\n            \n                        <th>\\n                Date\\n            </th>\\n\n                        <th>\\n                Description\\n            </th>\\n\n                        <th>\\n                Reference\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                Amount\\n            </th>\\n\n                    </tr>\\n\n                </thead>\\n\n                <tbody>\\n        \n                    <tr>\\n            \n                        <td colspan=\\\"10\\\" style=\\\"border-bottom:1px solid black\\\">\\n            </td>\\n\n                    </tr>\\n\n                    <tr>\\n            \n                        <td style=\\\"font-weight:bold;border-bottom:1px solid black\\\">\\n                {{fmt_date date}}\\n            </td>\\n\n                        <td style=\\\"font-weight:bold;border-bottom:1px solid black\\\">\\n                Accounting Balance\\n            </td>\\n\n                        <td style=\\\"border-bottom:1px solid black\\\">\\n            </td>\\n\n                        <td style=\\\"font-weight:bold;text-align:right;border-bottom:1px solid black\\\">\\n                {{currency account_balance}}\\n            </td>\\n\n                    </tr>\\n\n                    <tr>\\n            \n                        <td colspan=\\\"10\\\" style=\\\"font-weight:bold;padding-top:20px\\\">\\n                Plus Outstanding Payments\\n            </td>\\n\n                    </tr>\\n        {{#each move_lines}}\\n\n                    <tr>\\n                \n                        <td>\\n                    {{fmt_date date}}\\n                </td>\\n\n                        <td>\\n                    {{description}}\\n                </td>\\n\n                        <td>\\n                    {{ref}}\\n                </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                    {{currency amount}}\\n                </td>\\n\n                    </tr>\\n        {{/each}}\\n\n                    <tr>\\n            \n                        <td colspan=\\\"3\\\" style=\\\"font-weight:bold;border-top:1px solid #999\\\">\\n                Total Outstanding Payments\\n            </td>\\n\n                        <td style=\\\"text-align:right;border-top:1px solid #999\\\">\\n                {{currency total_move_lines}}\\n            </td>\\n\n                    </tr>\\n\n                    <tr>\\n            \n                        <td colspan=\\\"10\\\" style=\\\"font-weight:bold;padding-top:20px\\\">\\n                Plus Unreconciled Statement Lines\\n            </td>\\n\n                    </tr>\\n        {{#each statement_lines}}\\n\n                    <tr>\\n                \n                        <td>\\n                    {{fmt_date date}}\\n                </td>\\n\n                        <td>\\n                    {{description}}\\n                </td>\\n\n                        <td>\\n                    {{ref}}\\n                </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                    {{currency amount}}\\n                </td>\\n\n                    </tr>\\n        {{/each}}\\n\n                    <tr>\\n            \n                        <td colspan=\\\"3\\\" style=\\\"font-weight:bold;border-top:1px solid #999\\\">\\n                Total Unreconciled Statement Lines\\n            </td>\\n\n                        <td style=\\\"text-align:right;border-top:1px solid #999\\\">\\n                {{currency total_statement_lines}}\\n            </td>\\n\n                    </tr>\\n\n                    <tr>\\n            \n                        <td colspan=\\\"10\\\" style=\\\"border-bottom:1px solid black\\\">\\n            </td>\\n\n                    </tr>\\n\n                    <tr style=\\\"border-bottom: 1px solid black\\\">\\n            \n                        <td style=\\\"font-weight:bold\\\">\\n                {{fmt_date date}}\\n            </td>\\n\n                        <td style=\\\"font-weight:bold\\\">\\n                Statement Balance\\n            </td>\\n\n                        <td>\\n            </td>\\n\n                        <td style=\\\"font-weight:bold;text-align:right\\\">\\n                {{currency statement_balance}}\\n            </td>\\n\n                    </tr>\\n\n                </tbody>\\n\n            </table>\\n\"}, \"report_account_sale\": {\"type\": \"hbs\", \"body\": \"\n            <center>\\n    \n                <h2>\\n        Accounting Sales Report\\n    </h2>\\n\n                <h3>\\n        {{company_name}}\\n        \n                    <br/>\\n        From {{fmt_date date_from}} to {{fmt_date date_to}}\\n\n                </h3>\\n\n            </center>\\n\n            <table class=\\\"table table-striped\\\">\\n    \n                <thead>\\n        \n                    <tr>\\n            \n                        <th>\\n                Number\\n            </th>\\n\n                        <th>\\n                Date\\n            </th>\\n\n                        <th>\\n                Description\\n            </th>\\n\n                        <th>\\n                Account\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                Amount\\n            </th>\\n\n                    </tr>\\n\n                </thead>\\n\n                <tbody>\\n        {{#each groups}}\\n            \n                    <tr>\\n                \n                        <th>\\n                    {{contact_name}}\\n                </th>\\n\n                        <th colspan=\\\"10\\\">\\n                </th>\\n\n                    </tr>\\n            {{#each lines}}\\n\n                    <tr>\\n                    \n                        <td>\\n                        {{#link action=\\\"view_transaction\\\" active_id=id}}\\n                            {{../number}}\\n                        {{/link}}\\n                    </td>\\n\n                        <td>\\n                        {{date}}\\n                    </td>\\n\n                        <td>\\n                        {{description}}\\n                    </td>\\n\n                        <td>\\n                        [{{account_code}}] {{account_name}}\\n                    </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                        {{currency amount}}\\n                    </td>\\n\n                    </tr>\\n            {{/each}}\\n\n                    <tr>\\n                \n                        <th style=\\\"border-bottom: 1px solid #999\\\">\\n                    Total\\n                </th>\\n\n                        <th colspan=\\\"3\\\" style=\\\"border-bottom: 1px solid #999\\\">\\n                </th>\\n\n                        <th style=\\\"border-bottom: 1px solid #999;text-align:right\\\">\\n                    {{currency total}}\\n                </th>\\n\n                    </tr>\\n        {{/each}}\\n\n                </tbody>\\n\n            </table>\\n\"}, \"report_reconcile\": {\"type\": \"hbs\", \"body\": \"\n            <center>\\n    \n                <h2>\\n        Reconciliation Report\\n    </h2>\\n\n                <h3>\\n        {{company_name}}\\n        \n                    <br/>\\n        {{account_name}}\\n\n                    <br/>\\n        From {{fmt_date date_from}} to {{fmt_date date_to}}\\n\n                </h3>\\n\n            </center>\\n\n            <table class=\\\"table\\\">\\n    \n                <thead>\\n        \n                    <tr>\\n            \n                        <th>\\n                Date\\n            </th>\\n\n                        <th>\\n                Description\\n            </th>\\n\n                        <th>\\n                Reference\\n            </th>\\n\n                        <th style=\\\"text-align:right\\\">\\n                Amount\\n            </th>\\n\n                    </tr>\\n\n                </thead>\\n\n                <tbody>\\n        \n                    <tr>\\n            \n                        <td style=\\\"font-weight:bold\\\" colspan=\\\"2\\\">\\n                Reconciled Paid\\n            </td>\\n\n                        <td>\\n            </td>\\n\n                        <td>\\n            </td>\\n\n                    </tr>\\n        {{#each rec_paid}}\\n\n                    <tr>\\n                \n                        <td>\\n                    {{fmt_date date}}\\n                </td>\\n\n                        <td>\\n                    {{description}}\\n                </td>\\n\n                        <td>\\n                    {{ref}}\\n                </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                    {{currency amount}}\\n                </td>\\n\n                    </tr>\\n        {{/each}}\\n\n                    <tr>\\n            \n                        <td style=\\\"font-weight:bold\\\" colspan=\\\"2\\\">\\n                Total Reconciled Paid\\n            </td>\\n\n                        <td>\\n            </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                {{currency total_rec_paid}}\\n            </td>\\n\n                    </tr>\\n\n                    <tr>\\n            \n                        <td style=\\\"font-weight:bold;padding-top:20px\\\" colspan=\\\"2\\\">\\n                Reconciled Received\\n            </td>\\n\n                        <td>\\n            </td>\\n\n                        <td>\\n            </td>\\n\n                    </tr>\\n        {{#each rec_received}}\\n\n                    <tr>\\n                \n                        <td>\\n                    {{fmt_date date}}\\n                </td>\\n\n                        <td>\\n                    {{description}}\\n                </td>\\n\n                        <td>\\n                    {{ref}}\\n                </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                    {{currency amount}}\\n                </td>\\n\n                    </tr>\\n        {{/each}}\\n\n                    <tr>\\n            \n                        <td style=\\\"font-weight:bold\\\" colspan=\\\"2\\\">\\n                Total Reconciled Received\\n            </td>\\n\n                        <td>\\n            </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                {{currency total_rec_received}}\\n            </td>\\n\n                    </tr>\\n\n                    <tr>\\n            \n                        <td style=\\\"font-weight:bold;padding-top:20px;border-top:1px solid black\\\" colspan=\\\"2\\\">\\n                Reconciliation\\n            </td>\\n\n                        <td style=\\\"border-top:1px solid black\\\">\\n            </td>\\n\n                        <td style=\\\"border-top:1px solid black\\\">\\n            </td>\\n\n                    </tr>\\n\n                    <tr>\\n            \n                        <td>\\n                {{fmt_date date_to}}\\n            </td>\\n\n                        <td>\\n                Accounting Balance\\n            </td>\\n\n                        <td>\\n            </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                {{currency acc_balance}}\\n            </td>\\n\n                    </tr>\\n\n                    <tr>\\n            \n                        <td>\\n            </td>\\n\n                        <td>\\n                Plus Outstanding Paid\\n            </td>\\n\n                        <td>\\n            </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                {{currency unrec_paid_amt}}\\n            </td>\\n\n                    </tr>\\n\n                    <tr>\\n            \n                        <td>\\n            </td>\\n\n                        <td>\\n                Minus Outstanding Received\\n            </td>\\n\n                        <td>\\n            </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                {{currency unrec_received_amt}}\\n            </td>\\n\n                    </tr>\\n\n                    <tr>\\n            \n                        <td>\\n            </td>\\n\n                        <td>\\n                Expected statement balance\\n            </td>\\n\n                        <td>\\n            </td>\\n\n                        <td style=\\\"text-align:right\\\">\\n                {{currency st_balance}}\\n            </td>\\n\n                    </tr>\\n\n                </tbody>\\n\n            </table>\\n\"}, \"report_tb\": {\"type\": \"hbs\", \"body\": \"\n            <div style=\\\"max-width:1170px;margin:0 auto\\\">\\n\n                <center>\\n    \n                    <h2>\\n        Trial Balance\\n    </h2>\\n\n                    <h3>\\n        {{company_name}}\\n        \n                        <br/>\\n        From {{fmt_date date_from}} to {{fmt_date date_to}}\\n\n                    </h3>\\n\n                </center>\\n\n                <table class=\\\"table\\\">\\n    \n                    <thead class=\\\"scroll-header\\\">\\n        \n                        <tr>\\n            \n                            <th>\\n                Account\\n            </th>\\n\n                            <th style=\\\"text-align:right\\\">\\n                Begin Debit\\n            </th>\\n\n                            <th style=\\\"text-align:right\\\">\\n                Begin Credit\\n            </th>\\n\n                            <th style=\\\"text-align:right\\\">\\n                Period Debit\\n            </th>\\n\n                            <th style=\\\"text-align:right\\\">\\n                Period Credit\\n            </th>\\n\n                            <th style=\\\"text-align:right\\\">\\n                YTD Debit\\n            </th>\\n\n                            <th style=\\\"text-align:right\\\">\\n                YTD Credit\\n            </th>\\n\n                        </tr>\\n\n                    </thead>\\n\n                    <tbody>\\n        {{#each lines context=context}}\\n            {{#ifeq type \\\"group_header\\\"}}\\n                \n                        <tr>\\n                    \n                            <th colspan=\\\"10\\\">\\n                        {{string}}\\n                    </th>\\n\n                        </tr>\\n            {{/ifeq}}\\n            {{#ifeq type \\\"account\\\"}}\\n\n                        <tr>\\n                    \n                            <td style=\\\"padding-left:20px\\\">\\n                        {{string}}\\n                    </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                        {{#link action=\\\"report_account_sum\\\" defaults_account_id=id defaults_date_to=../../begin_date_to defaults_track_id=../../track_id}}\\n                            {{currency debit_begin zero=\\\"\\\"}}\\n                        {{/link}}\\n                    </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                        {{#link action=\\\"report_account_sum\\\" defaults_account_id=id defaults_date_to=../../begin_date_to defaults_track_id=../../track_id}}\\n                            {{currency credit_begin zero=\\\"\\\"}}\\n                        {{/link}}\\n                    </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                        {{#link action=\\\"report_account_sum\\\" defaults_account_id=id defaults_date_from=../../month_date_from defaults_date_to=../../month_date_to defaults_track_id=../../track_id}}\\n                            {{currency debit_month zero=\\\"\\\"}}\\n                        {{/link}}\\n                    </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                        {{#link action=\\\"report_account_sum\\\" defaults_account_id=id defaults_date_from=../../month_date_from defaults_date_to=../../month_date_to defaults_track_id=../../track_id}}\\n                            {{currency credit_month zero=\\\"\\\"}}\\n                        {{/link}}\\n                    </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                        {{#link action=\\\"report_account_sum\\\" defaults_account_id=id  defaults_date_to=../../date defaults_track_id=../../track_id}}\\n                            {{currency debit_year zero=\\\"\\\"}}\\n                        {{/link}}\\n                    </td>\\n\n                            <td style=\\\"text-align:right\\\">\\n                        {{#link action=\\\"report_account_sum\\\" defaults_account_id=id  defaults_date_to=../../date defaults_track_id=../../track_id}}\\n                            {{currency credit_year zero=\\\"\\\"}}\\n                        {{/link}}\\n                    </td>\\n\n                        </tr>\\n            {{/ifeq}}\\n            {{#ifeq type \\\"group_footer\\\"}}\\n\n                        <tr style=\\\"font-weight:bold\\\">\\n                    \n                            <td style=\\\"border-top: 1px solid #999;{{#if padding}}padding-left:{{padding}}px{{/if}}\\\">\\n                        {{string}}\\n                    </td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999\\\">\\n                        {{currency debit_begin zero=\\\"\\\"}}\\n                    </td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999\\\">\\n                        {{currency credit_begin zero=\\\"\\\"}}\\n                    </td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999\\\">\\n                        {{currency debit_month zero=\\\"\\\"}}\\n                    </td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999\\\">\\n                        {{currency credit_month zero=\\\"\\\"}}\\n                    </td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999\\\">\\n                        {{currency debit_year zero=\\\"\\\"}}\\n                    </td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999\\\">\\n                        {{currency credit_year zero=\\\"\\\"}}\\n                    </td>\\n\n                        </tr>\\n                {{#ifeq separator \\\"single\\\"}}\\n\n                        <tr>\\n                        \n                            <td style=\\\"border-top:1px solid #000\\\" colspan=\\\"10\\\">\\n                        </td>\\n\n                        </tr>\\n                {{/ifeq}}\\n                {{#ifeq separator \\\"double\\\"}}\\n\n                        <tr>\\n                        \n                            <td style=\\\"border-top:1px solid #000; border-bottom:1px solid #000; padding:0; height:1px\\\" colspan=\\\"10\\\">\\n                        </td>\\n\n                        </tr>\\n                {{/ifeq}}\\n            {{/ifeq}}\\n        {{/each}}\\n\n                    </tbody>\\n\n                </table>\\n\n            </div>\\n\"}, \"report_cust_invoice\": {\"type\": \"hbs\", \"body\": \"\n            <center>\\n    \n                <h2>\\n        Receivable Transactions\\n    </h2>\\n\n                <h3>\\n        {{company_name}}\\n        \n                    <br/>\\n        {{#if date_from}}\\n            From {{fmt_date date_from}} to {{fmt_date date_to}}\\n        {{else}}\\n            To {{fmt_date date_to}}\\n        {{/if}}\\n\n                </h3>\\n\n            </center>\\n\n            <table class=\\\"table table-condensed\\\">\\n    \n                <thead>\\n        \n                    <tr>\\n            \n                        <th>Date</th>\\n\n                        <th>Contact</th>\\n\n                        <th>Number</th>\\n\n                        <th>Description</th>\\n\n                        <th>Due Date</th>\\n\n                        <th style=\\\"text-align:right\\\">Total Amount</th>\\n\n                        <th style=\\\"text-align:right\\\">Due Amount</th>\\n\n                        <th>Rec #</th>\\n\n                    </tr>\\n\n                </thead>\\n\n                <tbody>\\n        {{#each lines context=context}}\\n            \n                    <tr>\\n                \n                        <td>{{fmt_date move_date}}</td>\\n\n                        <td>{{contact_name}}</td>\\n\n                        <td>\\n                    {{#link action=\\\"view_transaction\\\" active_id=id}}\\n                        {{../move_number}}\\n                    {{/link}}\\n                </td>\\n\n                        <td>{{description}}\n                        </a>\n                    </td>\\n\n                    <td>{{fmt_date due_date}}</td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency total_amount}}</td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency due_amount}}</td>\\n\n                    <td>\\n                    {{#link action=\\\"reconcile\\\" active_id=reconcile_id}}\\n                        {{../reconcile_number}}\\n                    {{/link}}\\n                </td>\\n\n                </tr>\\n        {{/each}}\\n\n            </tbody>\\n\n            <tfoot>\\n        \n                <tr>\\n            \n                    <th colspan=\\\"6\\\" style=\\\"text-align:right\\\">Total</th>\\n\n                    <th style=\\\"text-align:right\\\">{{currency totals.amount_total}}</th>\\n\n                    <th></th>\\n\n                </tr>\\n\n            </tfoot>\\n\n        </table>\\n\"}, \"report_currency\": {\"type\": \"hbs\", \"body\": \"\n        <style>\\n.row-total td {\\n    border-top: 1px solid black !important;\\n    border-bottom: 1px solid black;\\n    font-weight: bold;\\n}\\n</style>\\n\n        <center>\\n    \n            <h2>\\n        Unrealized Gains and Losses\\n    </h2>\\n\n            <h3>\\n        {{company_name}}\\n        \n                <br/>\\n        From {{fmt_date date_from}} to {{fmt_date date_to}}\\n\n            </h3>\\n\n        </center>\\n\n        <table class=\\\"table\\\">\\n    \n            <thead>\\n        \n                <tr>\\n            \n                    <th></th>\\n\n                    <th style=\\\"text-align:right\\\">Balance</th>\\n\n                    <th>Account Currency</th>\\n\n                    <th style=\\\"text-align:right\\\">Balance</th>\\n\n                    <th>Company Currency</th>\\n\n                    <th style=\\\"text-align:right\\\">Balance (revalued)</th>\\n\n                    <th style=\\\"text-align:right\\\">Unrealized Gain/Loss</th>\\n\n                </tr>\\n\n            </thead>\\n\n            <tbody>\\n        \n                <tr>\\n            \n                    <td style=\\\"font-weight:bold\\\">\\n                Accounts Receivable\\n            </td>\\n\n                    <td colspan=\\\"10\\\"></td>\\n\n                </tr>\\n        {{#each receivable_accounts}}\\n\n                <tr>\\n                \n                    <td>{{name}}</td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency balance_cur}}</td>\\n\n                    <td>{{account_currency_code}}</td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency balance}}</td>\\n\n                    <td>{{company_currency_code}}</td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency balance_reval}}</td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency unreal_gain}}</td>\\n\n                </tr>\\n        {{/each}}\\n\n                <tr class=\\\"row-total\\\">\\n            \n                    <td>Total Accounts Receivable</td>\\n\n                    <td></td>\\n\n                    <td></td>\\n\n                    <td></td>\\n\n                    <td></td>\\n\n                    <td></td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency totals_receivable.unreal_gain}}</td>\\n\n                </tr>\\n\n                <tr>\\n            \n                    <td style=\\\"font-weight:bold\\\">\\n                Accounts Payable\\n            </td>\\n\n                    <td colspan=\\\"10\\\"></td>\\n\n                </tr>\\n        {{#each payable_accounts}}\\n\n                <tr>\\n                \n                    <td>{{name}}</td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency balance_cur}}</td>\\n\n                    <td>{{account_currency_code}}</td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency balance}}</td>\\n\n                    <td>{{company_currency_code}}</td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency balance_reval}}</td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency unreal_gain}}</td>\\n\n                </tr>\\n        {{/each}}\\n\n                <tr class=\\\"row-total\\\">\\n            \n                    <td>Total Accounts Payable</td>\\n\n                    <td></td>\\n\n                    <td></td>\\n\n                    <td></td>\\n\n                    <td></td>\\n\n                    <td></td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency totals_payable.unreal_gain}}</td>\\n\n                </tr>\\n\n                <tr>\\n            \n                    <td style=\\\"font-weight:bold\\\">\\n                Bank Accounts\\n            </td>\\n\n                    <td colspan=\\\"10\\\"></td>\\n\n                </tr>\\n        {{#each bank_accounts}}\\n\n                <tr>\\n                \n                    <td>{{name}}</td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency balance_cur}}</td>\\n\n                    <td>{{account_currency_code}}</td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency balance}}</td>\\n\n                    <td>{{company_currency_code}}</td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency balance_reval}}</td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency unreal_gain}}</td>\\n\n                </tr>\\n        {{/each}}\\n\n                <tr class=\\\"row-total\\\">\\n            \n                    <td>Total Bank Accounts</td>\\n\n                    <td></td>\\n\n                    <td></td>\\n\n                    <td></td>\\n\n                    <td></td>\\n\n                    <td></td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency totals_bank.unreal_gain}}</td>\\n\n                </tr>\\n\n                <tr>\\n            \n                    <td style=\\\"font-weight:bold\\\">\\n                Deposit Accounts\\n            </td>\\n\n                    <td colspan=\\\"10\\\"></td>\\n\n                </tr>\\n        {{#each deposit_accounts}}\\n\n                <tr>\\n                \n                    <td>{{name}}</td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency balance_cur}}</td>\\n\n                    <td>{{account_currency_code}}</td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency balance}}</td>\\n\n                    <td>{{company_currency_code}}</td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency balance_reval}}</td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency unreal_gain}}</td>\\n\n                </tr>\\n        {{/each}}\\n\n                <tr class=\\\"row-total\\\">\\n            \n                    <td>Total Deposit Accounts</td>\\n\n                    <td></td>\\n\n                    <td></td>\\n\n                    <td></td>\\n\n                    <td></td>\\n\n                    <td></td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency totals_deposit.unreal_gain}}</td>\\n\n                </tr>\\n\n                <tr>\n                    <td></td>\n                </tr>\\n\n                <tr class=\\\"row-total\\\">\\n            \n                    <td style=\\\"font-weight:bold\\\">\\n                FX Exposure\\n            </td>\\n\n                    <td></td>\\n\n                    <td></td>\\n\n                    <td></td>\\n\n                    <td></td>\\n\n                    <td></td>\\n\n                    <td style=\\\"text-align:right\\\">{{currency total_exposure}}</td>\\n\n                </tr>\\n\n            </tbody>\\n\n        </table>\\n\"}, \"report_ar_details\": {\"type\": \"hbs\", \"body\": \"\n        <center>\\n    \n            <h2>\\n        Aged Receivables (Details)\\n    </h2>\\n\n            <h3>\\n        {{company_name}}\\n        \n                <br/>\\n        As at {{fmt_date date}}\\n\n            </h3>\\n\n        </center>\\n\n        <table class=\\\"table table-striped\\\">\\n    \n            <thead class=\\\"scroll-header\\\">\\n        \n                <tr>\\n            \n                    <th>\\n                Number\\n            </th>\\n\n                    <th>\\n                Ref\\n            </th>\\n\n                    <th>\\n                Description\\n            </th>\\n\n                    <th>\\n                Doc Date\\n            </th>\\n\n                    <th>\\n                Due Date\\n            </th>\\n\n                    <th>\\n                Currency\\n            </th>\\n\n                    <th>\\n                Amount(Cur)\\n            </th>\\n\n                    <th style=\\\"text-align:right\\\">\\n                Total Receivable\\n            </th>\\n\n                    <th style=\\\"text-align:right\\\">\\n                Current\\n            </th>\\n            {{#each periods}}\\n\n                    <th style=\\\"text-align:right\\\">\\n                    {{period_name}}\\n                </th>\\n            {{/each}}\\n\n                    <th style=\\\"text-align:right\\\">\\n                Older\\n            </th>\\n\n                </tr>\\n\n            </thead>\\n\n            <tbody>\\n        {{#each lines context=context}}\\n            \n                <tr>\\n                \n                    <td colspan=\\\"11\\\" style=\\\"font-weight:bold\\\">\\n                    {{contact_name}}\\n                </td>\\n\n                </tr>\\n            {{#each details context=context}}\\n\n                <tr>\\n                    \n                    <td>\\n                        {{#link action=\\\"view_transaction\\\" active_id=id}}\\n                            {{number}}\\n                        {{/link}}\\n                    </td>\\n\n                    <td>\\n                        {{ref}}\\n                    </td>\\n\n                    <td>\\n                        {{description}}\\n                    </td>\\n\n                    <td>\\n                        {{fmt_date doc_date}}\\n                    </td>\\n\n                    <td>\\n                        {{fmt_date due_date}}\\n                    </td>\\n\n                    <td>\\n                        {{cur}}\\n                    </td>\\n\n                    <td style=\\\"text-align:right\\\">\\n                        {{currency amount_cur}}\\n                    </td>\\n\n                    <td style=\\\"text-align:right\\\">\\n                        {{currency amount}}\\n                    </td>\\n\n                    <td style=\\\"text-align:right\\\">\\n                        {{currency amount_current}}\\n                    </td>\\n                    {{#each periods}}\\n\n                    <td style=\\\"text-align:right\\\">\\n                            {{currency amount}}\\n                        </td>\\n                    {{/each}}\\n\n                    <td style=\\\"text-align:right\\\">\\n                        {{currency amount_older}}\\n                    </td>\\n\n                </tr>\\n            {{/each}}\\n\n                <tr>\\n                \n                    <td colspan=\\\"7\\\" style=\\\"border-bottom:1px solid #999;font-weight:bold\\\">\\n                    Total\\n                </td>\\n\n                    <td style=\\\"text-align:right;border-bottom:1px solid #999;font-weight:bold\\\">\\n                    {{currency amount_total}}\\n                </td>\\n\n                    <td style=\\\"text-align:right;border-bottom:1px solid #999;font-weight:bold\\\">\\n                    {{currency amount_current}}\\n                </td>\\n                {{#each periods}}\\n\n                    <td style=\\\"text-align:right;border-bottom:1px solid #999;font-weight:bold\\\">\\n                        {{currency amount}}\\n                    </td>\\n                {{/each}}\\n\n                    <td style=\\\"text-align:right;border-bottom:1px solid #999;font-weight:bold\\\">\\n                    {{currency amount_older}}\\n                </td>\\n\n                </tr>\\n        {{/each}}\\n\n            </tbody>\\n\n            <tfoot>\\n        \n                <tr style=\\\"font-weight:bold\\\">\\n            \n                    <td colspan=\\\"7\\\">\\n                Grand Total\\n            </td>\\n\n                    <td style=\\\"text-align:right\\\">\\n                {{currency total}}\\n            </td>\\n\n                    <td style=\\\"text-align:right\\\">\\n                {{currency total_current}}\\n            </td>\\n            {{#each periods}}\\n\n                    <td style=\\\"text-align:right\\\">\\n                    {{currency total}}\\n                </td>\\n            {{/each}}\\n\n                    <td style=\\\"text-align:right\\\">\\n                {{currency total_older}}\\n            </td>\\n\n                </tr>\\n\n            </tfoot>\\n\n        </table>\\n\"}, \"report_product_sales\": {\"type\": \"hbs\", \"body\": \"\n        <center>\\n    \n            <h2>\\n        {{product_name}} Sales\\n    </h2>\\n\n            <h3>\\n        {{company_name}}\\n        \n                <br/>\\n        From {{fmt_date date_from}} to {{fmt_date date_to}}\\n\n            </h3>\\n\n        </center>\\n\n        <table class=\\\"table\\\">\\n    \n            <thead>\\n        \n                <tr>\\n            \n                    <th>\\n                Date\\n            </th>\\n\n                    <th>\\n                To\\n            </th>\\n\n                    <th>\\n                Description\\n            </th>\\n\n                    <th>\\n                Qty\\n            </th>\\n\n                    <th>\\n                Unit Price\\n            </th>\\n\n                    <th>\\n                Disc %\\n            </th>\\n\n                    <th>\\n                Total\\n            </th>\\n\n                </tr>\\n\n            </thead>\\n\n            <tbody>\\n        {{#each lines}}\\n            \n                <tr>\\n                \n                    <td>\\n                    \n                        <a href=\\\"/ui#name=cust_invoice_edit&active_id={{invoice_id.0.}}\\\">\\n                        {{fmt_date invoice_date}}\\n                    </a>\\n\n                    </td>\\n\n                    <td>\\n                    {{invoice_contact_id.1.}}\\n                </td>\\n\n                    <td>\\n                    {{description}}\\n                </td>\\n\n                    <td>\\n                    {{qty}}\\n                </td>\\n\n                    <td>\\n                    {{currency unit_price}}\\n                </td>\\n\n                    <td>\\n                    {{discount}}\\n                </td>\\n\n                    <td>\\n                    {{currency amount}}\\n                </td>\\n\n                </tr>\\n        {{/each}}\\n\n            </tbody>\\n\n            <tfoot>\\n        \n                <tr>\\n            \n                    <th colspan=\\\"3\\\">\\n                Total\\n            </th>\\n\n                    <th>\\n                {{total_qty}}\\n            </th>\\n\n                    <th colspan=\\\"2\\\">\\n            </th>\\n\n                    <th>\\n                {{currency total_amount}}\\n            </th>\\n\n                </tr>\\n\n            </tfoot>\\n\n        </table>\\n\"}, \"time_project_widget\": {\"type\": \"jsx\", \"body\": \"\n        <div className=\\\"nf-table-container\\\">\\n    \n            <table className=\\\"table table-bordered table-striped table-condensed\\\">\\n        \n                <thead>\\n            \n                    <tr>\\n                \n                        <th>\\n                    Project\\n                </th>\\n\n                        <th>\\n                    Total\\n                </th>\\n\n                        <th>\\n                    This Week\\n                </th>\\n\n                        <th>\\n                    Last Week\\n                </th>\\n\n                        <th>\\n                    Week-2\\n                </th>\\n\n                        <th>\\n                    Week-3\\n                </th>\\n\n                        <th>\\n                    Week-4\\n                </th>\\n\n                        <th>\\n                    Week-5\\n                </th>\\n\n                        <th>\\n                    Week-6\\n                </th>\\n\n                        <th>\\n                    Week-7\\n                </th>\\n\n                        <th>\\n                    Older\\n                </th>\\n\n                    </tr>\\n\n                </thead>\\n\n                <tbody>\\n            {data.lines.map((l)=>{\\n                \n                    <tr>\\n                    \n                        <td>\\n                        {l.project_name}\\n                    </td>\\n\n                        <td>\\n                        {l.total_bill_hours} / {l.total_actual_hours}\\n                    </td>\\n                    {l.weeks.map((w)=>{\\n\n                        <td>\\n                            {w.bill_hours} / {w.actual_hours}\\n                        </td>\\n                    })}\\n\n                        <td>\\n                        {l.older.bill_hours} / {l.older.actual_hours}\\n                    </td>\\n\n                    </tr>\\n            })}\\n\n                </tbody>\\n\n            </table>\\n\n        </div>\\n\"}, \"time_resource_widget\": {\"type\": \"jsx\", \"body\": \"\n        <div className=\\\"nf-table-container\\\">\\n    \n            <table className=\\\"table table-bordered table-striped table-condensed\\\">\\n        \n                <thead>\\n            \n                    <tr>\\n                \n                        <th>\\n                    Resource\\n                </th>\\n\n                        <th>\\n                    This Week\\n                </th>\\n\n                        <th>\\n                    Last Week\\n                </th>\\n\n                        <th>\\n                    Week-2\\n                </th>\\n\n                        <th>\\n                    Week-3\\n                </th>\\n\n                        <th>\\n                    Week-4\\n                </th>\\n\n                        <th>\\n                    Week-5\\n                </th>\\n\n                        <th>\\n                    Week-6\\n                </th>\\n\n                        <th>\\n                    Week-7\\n                </th>\\n\n                        <th>\\n                    Older\\n                </th>\\n\n                    </tr>\\n\n                </thead>\\n\n                <tbody>\\n            {data.lines.map((l)=>{\\n                \n                    <tr>\\n                    \n                        <td>\\n                        {l.resource_name}\\n                    </td>\\n                    {l.weeks.map((w)=>{\\n\n                        <td>\\n                            {w.bill_hours} / {w.actual_hours}\\n                        </td>\\n                    })}\\n\n                        <td>\\n                        {l.older.bill_hours} / {l.older.actual_hours}\\n                    </td>\\n\n                    </tr>\\n            })}\\n\n                </tbody>\\n\n            </table>\\n\n        </div>\\n\"}, \"report_stock_project\": {\"type\": \"hbs\", \"body\": \"\n        <center>\\n    \n            <h2>\\n        Project Stock Report\\n    </h2>\\n\n            <h4>\\n        From {{data.date_from}} to {{data.date_to}}\\n    </h4>\\n\n        </center>\\n\n        <table class=\\\"table table-bordered\\\">\\n    \n            <thead>\\n        \n                <tr>\\n            \n                    <th>Project Code</th>\\n\n                    <th>Project Name</th>\\n\n                    <th>Date</th>\\n\n                    <th>Number</th>\\n\n                    <th>Contact</th>\\n\n                    <th>Related To</th>\\n\n                    <th>Received</th>\\n\n                    <th>Delivered</th>\\n\n                    <th>Status</th>\\n\n                </tr>\\n\n            </thead>\\n\n            <tbody>\\n        {{#each lines}}\\n            \n                <tr>\\n                \n                    <td>{{project_code}}</td>\\n\n                    <td>{{project_name}}</td>\\n\n                    <td>{{date}}</td>\\n\n                    <td>\\n                \n                        <a href='/action?name=view_picking&active_id={{id}}' target=\\\"_blank\\\">\\n                \n                            <span style=\\\"color: blue; text-decoration: underline;\\\">\\n                {{number}}\\n                </span>\\n\n                        </a>\n                    </td>\\n\n                    <td>{{contact_name}}</td>\\n\n                    <td>\\n                \n                        <a href='/action?name=purchase&active_id={{purchase_order_id}}&mode=form' target=\\\"_blank\\\">\\n                \n                            <span style=\\\"color: blue; text-decoration: underline;\\\">\\n                {{related_to}}\\n                </span>\\n\n                        </a>\n                    </td>\\n\n                    <td>{{qty_in}}</td>\\n\n                    <td>{{qty_out}}</td>\\n\n                    <td>{{state}}</td>\\n\n                </tr>\\n        {{/each}}\\n\n            </tbody>\\n\n        </table>\\n\"}, \"report_stock_expire\": {\"type\": \"hbs\", \"body\": \"\n        <center>\\n    \n            <h2>\\n        Stock Expiry Report\\n    </h2>\\n\n            <h3>\\n        {{data.company_name}}\\n    </h3>\\n\n            <h4>\\n        Date: {{data.date}}\\n    </h4>\\n\n        </center>\\n\n        <table class=\\\"table table-striped table-hover\\\">\\n    \n            <thead>\\n        \n                <tr>\\n            \n                    <th style=\\\"width:20px\\\">\n                        <input type=\\\"checkbox\\\" class=\\\"nf-select-all\\\"/>\n                    </th>\\n\n                    <th>Product Code</th>\\n\n                    <th>Product Name</th>\\n            {{#each months}}\\n\n                    <th>{{month_name}}</th>\\n            {{/each}}\\n\n                </tr>\\n\n            </thead>\\n\n            <tbody>\\n        {{#each lines}}\\n            \n                <tr {{#if show_alert}}style=\\\"background-color:#f99\\\"{{/if}}>\\n                \n                    <td>\n                        <input type=\\\"checkbox\\\" class=\\\"nf-prod-select\\\" data-product-id=\\\"{{prod_id}}\\\" data-qty=\\\"{{order_qty}}\\\"/>\n                    </td>\\n\n                    <td>\\n                    {{#link action=\\\"report_forecast_details\\\" defaults_product_id=prod_id}}\\n                        {{prod_code}}\\n                    {{/link}}\\n                </td>\\n\n                    <td>{{prod_name}}</td>\\n                {{#each months}}\\n\n                    <td>{{exp_qty}}</td>\\n                {{/each}}\\n\n                </tr>\\n        {{/each}}\\n\n            </tbody>\\n\n        </table>\\n\"}, \"custom_report_stock_expiry\": {\"type\": \"hbs\", \"body\": \"\n        <center>\\n    \n            <h2>\\n        Custom Stock Expiry\\n    </h2>\\n\n            <h3>\\n        {{company_name}}\\n    </h3>\\n\n            <h4>\\n        {{#if product_name}}\\n            Product: {{product_name}}\\n            \n                <br/>\\n        {{/if}}\\n        {{#if location_name}}\\n            Location: {{location_name}}\\n\n                <br/>\\n        {{/if}}\\n        As at {{fmt_date date}}\\n\n            </h4>\\n\n        </center>\\n\n        <table class=\\\"table table-bordered table-striped\\\">\\n    \n            <thead>\\n        \n                <tr>\\n            \n                    <th colspan=\\\"3\\\">\n                    </td>\\n\n                    <th colspan=\\\"20\\\" style=\\\"text-align:center\\\">Expired Qty</th>\\n\n                </tr>\\n\n                <tr>\\n            \n                    <th>Product</th>\\n\n                    <th>Location</th>\\n\n                    <th>Current Qty</th>\\n            {{#each periods}}\\n\n                    <th>{{period_name}}</th>\\n            {{/each}}\\n\n                    <th>Older</th>\\n\n                </tr>\\n\n                <tbody>\\n        {{#each lines context=context}}\\n            \n                    <tr>\\n                \n                        <td>\\n                    {{product_name}}\\n                </td>\\n\n                        <td>\\n                    {{location_name}}\\n                </td>\\n\n                        <td>\\n                     {{#link action=\\\"report_stock_card\\\" defaults_product_id=product_id defaults_location_id=location_id defaults_date_from=../current_date_from defaults_date_to=../date}}\\n                        {{cur_qty}}\\n                     {{/link}}\\n                </td>\\n                {{#each periods}}\\n\n                        <td {{#if warning}}style=\\\"color:red;font-weight:bold\\\"{{/if}}>\\n                        {{#link action=\\\"report_stock_card\\\" defaults_product_id=../product_id defaults_location_id=../location_id defaults_date_from=../date defaults_date_to=../date}}\\n                            {{qty}}\\n                         {{/link}}\\n                    </td>\\n                {{/each}}\\n\n                        <td>\\n                    {{#link action=\\\"report_stock_card\\\" defaults_product_id=product_id defaults_location_id=location_id defaults_date_from=../current_date_from defaults_date_to=../older_date_to}}\\n                        {{older_qty}}\\n                    {{/link}}\\n                </td>\\n\n                    </tr>\\n        {{/each}}\\n\n                </tbody>\\n\n            </table>\\n\"}, \"report_stock_aging\": {\"type\": \"hbs\", \"body\": \"\n            <center>\\n    \n                <h2>\\n        Stock Aging\\n    </h2>\\n\n                <h3>\\n        {{company_name}}\\n    </h3>\\n\n                <h4>\\n        {{#if product_name}}\\n            Product: {{product_name}}\\n            \n                    <br/>\\n        {{/if}}\\n        {{#if location_name}}\\n            Location: {{location_name}}\\n\n                    <br/>\\n        {{/if}}\\n        As at {{fmt_date date}}\\n\n                </h4>\\n\n            </center>\\n\n            <table class=\\\"table table-bordered table-striped\\\">\\n    \n                <thead>\\n        \n                    <tr>\\n            \n                        <th colspan=\\\"3\\\">\n                        </td>\\n\n                        <th colspan=\\\"20\\\" style=\\\"text-align:center\\\">Aged Qty</th>\\n\n                    </tr>\\n\n                    <tr>\\n            \n                        <th>Product</th>\\n\n                        <th>Location</th>\\n\n                        <th>Current Qty</th>\\n            {{#each periods}}\\n\n                        <th>{{period_name}}</th>\\n            {{/each}}\\n\n                        <th>Older</th>\\n\n                    </tr>\\n\n                    <tbody>\\n        {{#each lines context=context}}\\n            \n                        <tr>\\n                \n                            <td>\\n                    {{product_name}}\\n                </td>\\n\n                            <td>\\n                    {{location_name}}\\n                </td>\\n\n                            <td>\\n                     {{#link action=\\\"report_stock_card\\\" defaults_product_id=product_id defaults_location_id=location_id defaults_date_from=../current_date_from defaults_date_to=../date}}\\n                        {{cur_qty}}\\n                     {{/link}}\\n                </td>\\n                {{#each periods}}\\n\n                            <td {{#if warning}}style=\\\"color:red;font-weight:bold\\\"{{/if}}>\\n                        {{#link action=\\\"report_stock_card\\\" defaults_product_id=../product_id defaults_location_id=../location_id defaults_date_from=date_from defaults_date_to=date_to}}\\n                            {{qty}}\\n                         {{/link}}\\n                    </td>\\n                {{/each}}\\n\n                            <td>\\n                    {{#link action=\\\"report_stock_card\\\" defaults_product_id=product_id defaults_location_id=location_id defaults_date_from=../current_date_from defaults_date_to=../older_date_to}}\\n                        {{older_qty}}\\n                    {{/link}}\\n                </td>\\n\n                        </tr>\\n        {{/each}}\\n\n                    </tbody>\\n\n                </table>\\n\"}, \"report_forecast_summary\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        Stock Forecast Summary\\n    </h2>\\n\n                    <h3>\\n        {{data.company_name}}\\n    </h3>\\n\n                    <h4>\\n        Date: {{data.date}}\\n    </h4>\\n\n                </center>\\n\n                <table class=\\\"table table-striped table-hover\\\">\\n    \n                    <thead>\\n        \n                        <tr>\\n            \n                            <th style=\\\"width:20px\\\">\n                                <input type=\\\"checkbox\\\" class=\\\"nf-select-all\\\"/>\n                            </th>\\n\n                            <th>Product Code</th>\\n\n                            <th>Product Name</th>\\n\n                            <th>Current Stock</th>\\n\n                            <th>Min Qty</th>\\n            {{#if show_shelf_life}}\\n\n                            <th>Min Qty 50%</th>\\n\n                            <th>Min Qty 75%</th>\\n            {{/if}}\\n\n                            <th>Date Below Min</th>\\n\n                            <th>Lead Time (Days)</th>\\n\n                            <th>Order Date</th>\\n\n                            <th>Max Qty</th>\\n\n                            <th>Order Qty</th>\\n\n                        </tr>\\n\n                    </thead>\\n\n                    <tbody>\\n        {{#each lines}}\\n            \n                        <tr {{#if show_alert}}style=\\\"background-color:#f99\\\"{{/if}}>\\n                \n                            <td>\n                                <input type=\\\"checkbox\\\" class=\\\"nf-prod-select\\\" data-product-id=\\\"{{prod_id}}\\\" data-qty=\\\"{{order_qty}}\\\"/>\n                            </td>\\n\n                            <td>\\n                    {{#link action=\\\"report_forecast_details\\\" defaults_product_id=prod_id}}\\n                        {{prod_code}}\\n                    {{/link}}\\n                </td>\\n\n                            <td>{{prod_name}}</td>\\n\n                            <td>{{current_qty}}</td>\\n\n                            <td>{{min_qty}}</td>\\n                {{#if ../show_shelf_life}}\\n\n                            <td>{{min_qty_50}}</td>\\n\n                            <td>{{min_qty_75}}</td>\\n                {{/if}}\\n\n                            <td>{{min_qty_date}}{{#if min_qty_date}} (in {{min_qty_months}} months){{/if}}</td>\\n\n                            <td>{{lead_time}}</td>\\n\n                            <td>{{order_date}}</td>\\n\n                            <td>{{max_qty}}</td>\\n\n                            <td>{{order_qty}}</td>\\n\n                        </tr>\\n        {{/each}}\\n\n                    </tbody>\\n\n                </table>\\n\n                <button class=\\\"btn btn-success btn-lg nf-btn-order\\\">\n                    <span class=\\\"glyphicon glyphicon-arrow-right\\\"></span> Order Products\n                </button>\\n\n                <script>\\n$(function() {\\n    $(\\\".nf-btn-order\\\").click(function() {\\n        var prod_qtys={};\\n        $(\\\"input.nf-prod-select:checked\\\").each(function() {\\n            var prod_id=$(this).data(\\\"product-id\\\");\\n            var qty=$(this).data(\\\"qty\\\");\\n            prod_qtys[prod_id]=qty;\\n        });\\n        console.log(\\\"prod_qtys\\\",prod_qtys);\\n        if (_.isEmpty(prod_qtys)) {\\n            alert(\\\"No items selected\\\");\\n            return;\\n        }\\n        var action={\\n            name: \\\"stock_order\\\",\\n            context: {\\n                product_qtys: prod_qtys,\\n            },\\n        };\\n        NF.actions.execute(action);\\n    });\\n\\n    $(\\\".nf-select-all\\\").click(function() {\\n        var val=$(this).is(\\\":checked\\\");\\n        $(\\\"input.nf-prod-select\\\").prop(\\\"checked\\\",val);\\n    });\\n});\\n</script>\\n\"}, \"report_stock_move\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        {{title}}\\n    </h2>\\n\n                </center>\\n\n                <table class=\\\"table table-striped\\\">\\n    \n                    <thead class=\\\"scroll-header\\\">\\n        \n                        <tr>\\n            \n                            <th>No</th>\\n\n                            <th>Date</th>\\n\n                            <th>Number</th>\\n\n                            <th>Related To</th>\\n\n                            <th>Product Code</th>\\n\n                            <th>Product Name</th>\\n\n                            <th>From Location</th>\\n\n                            <th>Qty</th>\\n\n                            <th>UoM</th>\\n\n                            <th>To Location</th>\\n\n                            <th>Secondary Qty</th>\\n\n                            <th>From Container</th>\\n\n                            <th>To Container</th>\\n\n                            <th>Lot/Seiral</th>\\n\n                            <th>Loss Qty</th>\\n\n                            <th>Statue</th>\\n\n                            <th>Ref</th>\\n\n                        </tr>\\n\n                    </thead>\\n    {{#each lines context=context}}\\n\n                    <tbody>\\n            \n                        <tr>\\n                \n                            <td>{{_item_no}}</td>\\n\n                            <td>{{date}}</td>\\n\n                            <td>{{number}}</td>\\n\n                            <td>{{related}}</td>\\n\n                            <td>{{product_code}}</td>\\n\n                            <td>{{product_name}}</td>\\n\n                            <td>{{location_from}}</td>\\n\n                            <td text-align=\\\"right\\\">{{currency qty}}</td>\\n\n                            <td>{{uom}}</td>\\n\n                            <td>{{location_to}}</td>\\n\n                            <td>{{qty2}}</td>\\n\n                            <td>{{container_from}}</td>\\n\n                            <td>{{container_to}}</td>\\n\n                            <td>{{lot}}</td>\\n\n                            <td text-align=\\\"right\\\">{{qty_loss}}</td>\\n\n                            <td>{{state}}</td>\\n\n                            <td>{{ref}}</td>\\n\n                        </tr>\\n\n                    </tbody>\\n    {{/each}}\\n\n                </table>\\n\"}, \"report_stock_card\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        Stock Card\\n    </h2>\\n\n                    <h3>\\n        {{data.company_name}}\\n    </h3>\\n\n                    <h4>\\n        From {{data.date_from}} to {{data.date_to}}\\n    </h4>\\n\n                </center>\\n\n                <table class=\\\"table table-bordered\\\">\\n    \n                    <thead>\\n        \n                        <tr>\\n            \n                            <th rowspan=\\\"2\\\">Date</th>\\n\n                            <th rowspan=\\\"2\\\">Ref</th>\\n\n                            <th rowspan=\\\"2\\\">Lot / Serial Number</th>\\n\n                            <th rowspan=\\\"2\\\">Invoice</th>\\n            {{#if data.hide_cost}}\\n\n                            <th colspan=\\\"{{#if data.show_qty2}}2{{else}}1{{/if}}\\\" style=\\\"text-align:center\\\">In</th>\\n\n                            <th colspan=\\\"{{#if data.show_qty2}}2{{else}}1{{/if}}\\\" style=\\\"text-align:center\\\">Out</th>\\n\n                            <th colspan=\\\"{{#if data.show_qty2}}2{{else}}1{{/if}}\\\" style=\\\"text-align:center\\\">Balance</th>\\n            {{else}}\\n\n                            <th colspan=\\\"{{#if data.show_qty2}}4{{else}}3{{/if}}\\\" style=\\\"text-align:center\\\">In</th>\\n\n                            <th colspan=\\\"{{#if data.show_qty2}}4{{else}}3{{/if}}\\\" style=\\\"text-align:center\\\">Out</th>\\n\n                            <th colspan=\\\"{{#if data.show_qty2}}4{{else}}3{{/if}}\\\" style=\\\"text-align:center\\\">Balance</th>\\n            {{/if}}\\n\n                        </tr>\\n\n                        <tr>\\n            \n                            <th>\\n                Qty\\n            </th>\\n            {{#unless data.hide_cost}}\\n\n                            <th>\\n                    Unit Price\\n                </th>\\n\n                            <th>\\n                    Amount\\n                </th>\\n            {{/unless}}\\n            {{#if data.show_qty2}}\\n\n                            <th>\\n                    Secondary Qty\\n                </th>\\n            {{/if}}\\n\n                            <th>\\n                Qty\\n            </th>\\n            {{#unless data.hide_cost}}\\n\n                            <th>\\n                    Unit Price\\n                </th>\\n\n                            <th>\\n                    Amount\\n                </th>\\n            {{/unless}}\\n            {{#if data.show_qty2}}\\n\n                            <th>\\n                    Secondary Qty\\n                </th>\\n            {{/if}}\\n\n                            <th>\\n                Qty\\n            </th>\\n            {{#unless data.hide_cost}}\\n\n                            <th>\\n                    Cost Price\\n                </th>\\n\n                            <th>\\n                    Cost Amount\\n                </th>\\n            {{/unless}}\\n            {{#if data.show_qty2}}\\n\n                            <th>\\n                    Secondary Qty\\n                </th>\\n            {{/if}}\\n\n                        </tr>\\n\n                    </thead>\\n\n                    <tbody>\\n        {{#each groups}}\\n            \n                        <tr>\\n                \n                            <th colspan=\\\"20\\\">\\n                    {{product_name}}\\n                    @ {{location_name}}\\n                </th>\\n\n                        </tr>\\n            {{#each lines}}\\n\n                        <tr>\\n                    \n                            <td>\\n                        {{date}}\\n                    </td>\\n\n                            <td>\\n                        {{link string=ref action=\\\"view_stock_transaction\\\" active_id=id}}\\n                    </td>\\n\n                            <td>\\n                        {{link string=lot_num action=\\\"stock_lot\\\" action_options='{\\\"mode\\\":\\\"form\\\"}' active_id=lot_id}}\\n                    </td>\\n\n                            <td>\\n                        {{link string=invoice_num action=\\\"view_invoice\\\" active_id=invoice_id}}\\n                    </td>\\n\n                            <td>\\n                        {{currency in_qty}}\\n                    </td>\\n                    {{#unless ../../data.hide_cost}}\\n\n                            <td>\\n                            {{currency in_cost_price}}\\n                        </td>\\n\n                            <td>\\n                            {{currency in_amount}}\\n                        </td>\\n                    {{/unless}}\\n                    {{#if ../../show_qty2}}\\n\n                            <td>\\n                            {{currency in_qty2}}\\n                        </td>\\n                    {{/if}}\\n\n                            <td>\\n                        {{currency out_qty}}\\n                    </td>\\n                    {{#unless ../../data.hide_cost}}\\n\n                            <td>\\n                            {{currency out_cost_price}}\\n                        </td>\\n\n                            <td>\\n                            {{currency out_amount}}\\n                        </td>\\n                    {{/unless}}\\n                    {{#if ../../show_qty2}}\\n\n                            <td>\\n                            {{currency out_qty2}}\\n                        </td>\\n                    {{/if}}\\n\n                            <td>\\n                        {{currency bal_qty}}\\n                    </td>\\n                    {{#unless ../../data.hide_cost}}\\n\n                            <td>\\n                            {{currency bal_cost_price}}\\n                        </td>\\n\n                            <td>\\n                            {{currency bal_cost_amount}}\\n                        </td>\\n                    {{/unless}}\\n                    {{#if ../../show_qty2}}\\n\n                            <td>\\n                            {{currency bal_qty2}}\\n                        </td>\\n                    {{/if}}\\n\n                        </tr>\\n            {{/each}}\\n\n                        <tr>\\n                \n                            <td>\\n                </td>\\n\n                            <th>\\n                    Total\\n                </th>\\n\n                            <td>\\n                </td>\\n\n                            <td>\\n                </td>\\n\n                            <th>\\n                    {{currency total_in_qty}}\\n                </th>\\n                {{#unless ../data.hide_cost}}\\n\n                            <td>\\n                    </td>\\n\n                            <th>\\n                        {{currency total_in_amount}}\\n                    </th>\\n                {{/unless}}\\n                {{#if ../show_qty2}}\\n\n                            <th>\\n                        {{currency total_in_qty2}}\\n                    </th>\\n                {{/if}}\\n\n                            <th>\\n                    {{currency total_out_qty}}\\n                </th>\\n                {{#unless ../data.hide_cost}}\\n\n                            <td>\\n                    </td>\\n\n                            <th>\\n                        {{currency total_out_amount}}\\n                    </th>\\n                {{/unless}}\\n                {{#if ../show_qty2}}\\n\n                            <th>\\n                        {{currency total_out_qty2}}\\n                    </th>\\n                {{/if}}\\n\n                            <th></th>\\n\n                            <th></th>\\n\n                            <th></th>\\n\n                        </tr>\\n        {{/each}}\\n\n                    </tbody>\\n\n                </table>\\n\"}, \"report_stock_summary\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        Stock Summary\\n    </h2>\\n\n                    <h3>\\n        {{data.company_name}}\\n    </h3>\\n\n                    <h4>\\n        From {{data.date_from}} to {{data.date_to}}\\n        {{#if data.product_id}}\\n            \n                        <br/>\\n            Product: {{lookup data.product_id 1}}\\n        {{/if}}\\n        {{#if data.lot_num}}\\n\n                        <br/>\\n            Lot / Serial Number: {{data.lot_num}}\\n        {{/if}}\\n        {{#if data.location_id}}\\n\n                        <br/>\\n            Location: {{lookup data.location_id 1}}\\n        {{/if}}\\n        {{#if data.container_id}}\\n\n                        <br/>\\n            Location: {{lookup data.container_id 1}}\\n        {{/if}}\\n\n                    </h4>\\n\n                </center>\\n\n                <table class=\\\"table table-bordered\\\">\\n    \n                    <thead>\\n        \n                        <tr>\\n            {{#if data.show_image}}\\n                \n                            <th></th>\\n            {{/if}}\\n\n                            <th></th>\\n\n                            <th></th>\\n            {{#if data.show_prod_desc}}\\n\n                            <th></th>\\n            {{/if}}\\n            {{#if data.show_lot}}\\n\n                            <th></th>\\n            {{/if}}\\n\n                            <th></th>\\n            {{#if data.show_container}}\\n\n                            <th></th>\\n            {{/if}}\\n            {{#if data.show_track}}\\n\n                            <th></th>\\n            {{/if}}\\n            {{#if data.defect_remarks}}\\n\n                            <th></th>\\n            {{/if}}\\n            {{#if data.joint_remarks}}\\n\n                            <th></th>\\n            {{/if}}\\n\n                            <th></th>\\n            {{#unless data.only_closing}}\\n                {{#if data.hide_cost}}\\n\n                            <th colspan=\\\"{{#if data.show_qty2}}2{{else}}1{{/if}}\\\" style=\\\"text-align: center\\\">\\n                        Opening\\n                    </th>\\n\n                            <th colspan=\\\"{{#if data.show_qty2}}2{{else}}1{{/if}}\\\" style=\\\"text-align: center\\\">\\n                        Incoming\\n                    </th>\\n\n                            <th colspan=\\\"{{#if data.show_qty2}}2{{else}}1{{/if}}\\\" style=\\\"text-align: center\\\">\\n                        Outgoing\\n                    </th>\\n                {{else}}\\n\n                            <th colspan=\\\"{{#if data.show_qty2}}3{{else}}2{{/if}}\\\" style=\\\"text-align: center\\\">\\n                        Opening\\n                    </th>\\n\n                            <th colspan=\\\"{{#if data.show_qty2}}3{{else}}2{{/if}}\\\" style=\\\"text-align: center\\\">\\n                        Incoming\\n                    </th>\\n\n                            <th colspan=\\\"{{#if data.show_qty2}}3{{else}}2{{/if}}\\\" style=\\\"text-align: center\\\">\\n                        Outgoing\\n                    </th>\\n                {{/if}}\\n            {{/unless}}\\n\n                            <th colspan=\\\"{{#if data.show_qty2}}3{{else}}2{{/if}}\\\" style=\\\"text-align: center\\\">\\n                Closing\\n            </th>\\n\n                        </tr>\\n\n                        <tr>\\n            {{#if data.show_image}}\\n                \n                            <th style=\\\"width:60px\\\" target=\\\"_blank\\\">\\n                    Image\\n                </th>\\n            {{/if}}\\n\n                            <th>\\n                Product Code\\n            </th>\\n\n                            <th>\\n                Product Name\\n            </th>\\n            {{#if data.show_prod_desc}}\\n\n                            <th>\\n                    Product Description\\n                </th>\\n            {{/if}}\\n            {{#if data.show_lot}}\\n\n                            <th>\\n                    Lot / Serial Number\\n                </th>\\n            {{/if}}\\n\n                            <th>\\n                Location\\n            </th>\\n            {{#if data.show_container}}\\n\n                            <th>\\n                    Container\\n                </th>\\n            {{/if}}\\n            {{#if data.show_track}}\\n\n                            <th>\\n                    Tracking\\n                </th>\\n            {{/if}}\\n            {{#if data.defect_remarks}}\\n\n                            <th>\\n                    Defect Remarks\\n                </th>\\n            {{/if}}\\n            {{#if data.joint_remarks}}\\n\n                            <th>\\n                    Joint Remarks\\n                </th>\\n            {{/if}}\\n\n                            <th>\\n                UoM\\n            </th>\\n            {{#unless data.only_closing}}\\n\n                            <th>\\n                    Qty \\n                </th>\\n                {{#unless data.hide_cost}}\\n\n                            <th>\\n                        Amount\\n                    </th>\\n                {{/unless}}\\n                {{#if data.show_qty2}}\\n\n                            <th>\\n                        Secondary Qty\\n                    </th>\\n                {{/if}}\\n\n                            <th>\\n                    Qty \\n                </th>\\n                {{#unless data.hide_cost}}\\n\n                            <th>\\n                        Amount\\n                    </th>\\n                {{/unless}}\\n                {{#if data.show_qty2}}\\n\n                            <th>\\n                        Secondary Qty\\n                    </th>\\n                {{/if}}\\n\n                            <th>\\n                    Qty \\n                </th>\\n                {{#unless data.hide_cost}}\\n\n                            <th>\\n                        Amount\\n                    </th>\\n                {{/unless}}\\n                {{#if data.show_qty2}}\\n\n                            <th>\\n                        Secondary Qty\\n                    </th>\\n                {{/if}}\\n            {{/unless}}\\n\n                            <th>\\n                Qty \\n            </th>\\n            {{#unless data.hide_cost}}\\n\n                            <th>\\n                    Amount\\n                </th>\\n            {{/unless}}\\n            {{#if data.show_qty2}}\\n\n                            <th>\\n                    Secondary Qty\\n                </th>\\n            {{/if}}\\n\n                        </tr>\\n\n                    </thead>\\n\n                    <tbody>\\n        {{#each data.lines}}\\n            \n                        <tr>\\n                {{#if ../data.show_image}}\\n                    \n                            <td>\\n                        \n                                <a href=\\\"{{file_url prod_img}}\\\">\\n                            \n                                    <img src=\\\"{{file_url prod_img}}\\\" style=\\\"max-width:50px;max-height:50px\\\"/>\\n\n                                </a>\\n\n                            </td>\\n                {{/if}}\\n\n                            <td>\\n                    {{prod_code}}\\n                </td>\\n\n                            <td>\\n                    {{prod_name}}\\n                </td>\\n                {{#if ../data.show_prod_desc}}\\n\n                            <td>\\n                        {{prod_desc}}\\n                    </td>\\n                {{/if}}\\n                {{#if ../data.show_lot}}\\n\n                            <td>\\n                        {{link string=lot_num action=\\\"stock_lot\\\" action_options='{\\\"mode\\\":\\\"form\\\"}' active_id=lot_id}}\\n                    </td>\\n                {{/if}}\\n\n                            <td>\\n                    {{loc_code}} {{loc_name}}\\n                </td>\\n                {{#if ../data.show_container}}\\n\n                            <td>\\n                        {{cont_name}}\\n                    </td>\\n                {{/if}}\\n                {{#if ../data.show_track}}\\n\n                            <td>\\n                        {{track_name}}\\n                    </td>\\n                {{/if}}\\n                {{#if ../data.defect_remarks}}\\n\n                            <td>\\n                        {{defect_remarks}}\\n                    </td>\\n                {{/if}}\\n                {{#if ../data.joint_remarks}}\\n\n                            <td>\\n                        {{joint_remarks}}\\n                    </td>\\n                {{/if}}\\n\n                            <td>\\n                    {{uom_name}}\\n                </td>\\n                {{#unless ../data.only_closing}}\\n\n                            <td>\\n                        {{currency open_qty}}\\n                    </td>\\n                    {{#unless ../data.hide_cost}}\\n\n                            <td>\\n                            {{currency open_amt}}\\n                        </td>\\n                    {{/unless}}\\n                    {{#if ../data.show_qty2}}\\n\n                            <td>\\n                            {{currency open_qty2}}\\n                        </td>\\n                    {{/if}}\\n\n                            <td>\\n                        {{currency period_in_qty}}\\n                    </td>\\n                    {{#unless ../data.hide_cost}}\\n\n                            <td>\\n                            {{currency period_in_amt}}\\n                        </td>\\n                    {{/unless}}\\n                    {{#if ../data.show_qty2}}\\n\n                            <td>\\n                            {{currency period_in_qty2}}\\n                        </td>\\n                    {{/if}}\\n\n                            <td>\\n                        {{currency period_out_qty}}\\n                    </td>\\n                    {{#unless ../data.hide_cost}}\\n\n                            <td>\\n                            {{currency period_out_amt}}\\n                        </td>\\n                    {{/unless}}\\n                    {{#if ../data.show_qty2}}\\n\n                            <td>\\n                            {{currency period_out_qty2}}\\n                        </td>\\n                    {{/if}}\\n                {{/unless}}\\n\n                            <td>\\n                     {{#link action=\\\"report_stock_card\\\" defaults_product_id=prod_id defaults_location_id=loc_id defaults_date_from=../data.date_from defaults_date_to=../data.date_to defaults_lot_id=lot_id}}\\n                        {{currency close_qty}}\\n                     {{/link}}\\n                </td>\\n                {{#unless ../data.hide_cost}}\\n\n                            <td>\\n                         {{#link action=\\\"report_stock_card\\\" defaults_product_id=prod_id defaults_location_id=loc_id defaults_date_from=../data.date_from defaults_date_to=../data.date_to defaults_lot_id=lot_id}}\\n                            {{currency close_amt}}\\n                        {{/link}}\\n                    </td>\\n                {{/unless}}\\n                {{#if ../data.show_qty2}}\\n\n                            <td>\\n                        {{currency close_qty2}}\\n                    </td>\\n                {{/if}}\\n\n                        </tr>\\n        {{/each}}\\n\n                    </tbody>\\n\n                    <tfoot>\\n        \n                        <tr>\\n            {{#if data.show_image}}\\n                \n                            <td></td>\\n            {{/if}}\\n\n                            <td></td>\\n\n                            <td></td>\\n            {{#if data.show_prod_desc}}\\n\n                            <td></td>\\n            {{/if}}\\n            {{#if data.show_lot}}\\n\n                            <td></td>\\n            {{/if}}\\n\n                            <td></td>\\n            {{#if data.show_container}}\\n\n                            <td></td>\\n            {{/if}}\\n            {{#if data.show_track}}\\n\n                            <td></td>\\n            {{/if}}\\n            {{#if data.defect_remarks}}\\n\n                            <td></td>\\n            {{/if}}\\n            {{#if data.joint_remarks}}\\n\n                            <td></td>\\n            {{/if}}\\n\n                            <td></td>\\n            {{#unless data.only_closing}}\\n\n                            <td></td>\\n                {{#unless data.hide_cost}}\\n\n                            <th>\\n                        {{currency data.total_open_amt}}\\n                    </th>\\n                {{/unless}}\\n                {{#if data.show_qty2}}\\n\n                            <th>\\n                        {{currency data.total_open_qty2}}\\n                    </th>\\n                {{/if}}\\n\n                            <td></td>\\n                {{#unless data.hide_cost}}\\n\n                            <th>\\n                        {{currency data.total_period_in_amt}}\\n                    </th>\\n                {{/unless}}\\n                {{#if data.show_qty2}}\\n\n                            <th>\\n                        {{currency data.total_period_in_qty2}}\\n                    </th>\\n                {{/if}}\\n\n                            <td></td>\\n                {{#unless data.hide_cost}}\\n\n                            <th>\\n                        {{currency data.total_period_out_amt}}\\n                    </th>\\n                {{/unless}}\\n                {{#if data.show_qty2}}\\n\n                            <th>\\n                        {{currency data.total_period_out_qty2}}\\n                    </th>\\n                {{/if}}\\n            {{/unless}}\\n\n                            <th>\\n                {{currency data.total_close_qty}}\\n            </th>\\n            {{#unless data.hide_cost}}\\n\n                            <th>\\n                    {{currency data.total_close_amt}}\\n                </th>\\n            {{/unless}}\\n            {{#if data.show_qty2}}\\n\n                            <th>\\n                    {{currency data.total_close_qty2}}\\n                </th>\\n            {{/if}}\\n\n                        </tr>\\n\n                    </tfoot>\\n\n                </table>\\n\"}, \"report_stock_plan\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        Stock Planning / Ordering\\n    </h2>\\n\n                    <h3>\\n        {{company_name}}\\n    </h3>\\n\n                </center>\\n\n                <table class=\\\"table table-bordered table-striped\\\">\\n    \n                    <thead>\\n        \n                        <tr>\\n            \n                            <th style=\\\"width:20px\\\">\n                                <input type=\\\"checkbox\\\" class=\\\"nf-select-all\\\"/>\n                            </th>\\n\n                            <th>Product Code</th>\\n\n                            <th>Product Name</th>\\n\n                            <th>Forecast Qty In {{plan_horizon}} days</th>\\n\n                            <th>Minimum Qty</th>\\n\n                            <th>Missing Qty</th>\\n\n                            <th>Stock UoM</th>\\n\n                            <th>Order Qty</th>\\n\n                            <th>Order UoM</th>\\n\n                            <th>Order Lead Time</th>\\n\n                            <th>Supply Method</th>\\n\n                            <th>Supplier Name</th>\\n\n                        </tr>\\n\n                        <tbody>\\n        {{#each lines context=context}}\\n            \n                            <tr>\\n                \n                                <td>\n                                    <input type=\\\"checkbox\\\" class=\\\"nf-prod-select\\\" data-product-id=\\\"{{product_id}}\\\"/>\n                                </td>\\n\n                                <td>\n                                    <a href=\\\"#name=product&amp;mode=form&amp;active_id={{product_id}}\\\">{{product_code}}</a>\n                                </td>\\n\n                                <td>{{product_name}}</td>\\n\n                                <td>{{plan_qty_horiz}}</td>\\n\n                                <td>{{min_qty}}</td>\\n\n                                <td>{{req_qty}}</td>\\n\n                                <td>{{stock_uom_name}}</td>\\n\n                                <td>{{order_qty}}</td>\\n\n                                <td>{{order_uom_name}}</td>\\n\n                                <td>{{order_lead_time}}</td>\\n\n                                <td>{{supply_method}}</td>\\n\n                                <td>{{supplier_name}}</td>\\n\n                            </tr>\\n        {{/each}}\\n\n                        </tbody>\\n\n                    </table>\\n\n                    <button class=\\\"btn btn-success btn-lg nf-btn-order\\\">\n                        <span class=\\\"glyphicon glyphicon-arrow-right\\\"></span> Order Products\n                    </button>\\n\n                    <script>\\n$(function() {\\n    $(\\\".nf-btn-order\\\").click(function() {\\n        var prod_ids=[];\\n        $(\\\"input.nf-prod-select:checked\\\").each(function() {\\n            var prod_id=$(this).data(\\\"product-id\\\");\\n            prod_ids.push(prod_id);\\n        });\\n        console.log(\\\"prod_ids\\\",prod_ids);\\n        if (_.isEmpty(prod_ids)) {\\n            alert(\\\"No items selected\\\");\\n            return;\\n        }\\n        var action={\\n            name: \\\"stock_order\\\",\\n            context: {\\n                product_ids: prod_ids,\\n                location_id: {{#if location_id}}{{location_id}}{{else}}null{{/if}},\\n                plan_horizon: {{plan_horizon}},\\n            },\\n        };\\n        NF.actions.execute(action);\\n    });\\n\\n    $(\\\".nf-select-all\\\").click(function() {\\n        var val=$(this).is(\\\":checked\\\");\\n        $(\\\"input.nf-prod-select\\\").prop(\\\"checked\\\",val);\\n    });\\n});\\n</script>\\n\"}, \"report_forecast_details\": {\"type\": \"hbs\", \"body\": \"\n                    <center>\\n    \n                        <h2>\\n        Stock Forecast Details\\n    </h2>\\n\n                        <h3>\\n        {{data.company_name}}\\n    </h3>\\n\n                        <h4>\\n        Date: {{data.date}}\\n    </h4>\\n\n                        <h4>\\n        Product: [{{data.product_code}}] {{data.product_name}}\\n    </h4>\\n\n                    </center>\\n\n                    <center>\\n    {{#if svg_data}}\\n        \n                        <img src='data:image/svg+xml;base64,{{svg_data_base64}}'>\\n    {{else}}\\n        \n                        <p>No forecast stock transactions found.</p>\\n    {{/if}}\\n\n                    </center>\\n\"}, \"report_ship_cost\": {\"type\": \"hbs\", \"body\": \"\n                    <center>\\n    \n                        <h2>\\n        Shipping Cost Report\\n    </h2>\\n\n                        <h3>\\n        {{company_name}}\\n    </h3>\\n\n                        <h4>\\n        From {{date_from}} to {{date_to}}\\n    </h4>\\n\n                    </center>\\n\n                    <table class=\\\"table\\\">\\n    \n                        <thead>\\n        \n                            <tr>\\n            \n                                <th>\\n                Date\\n            </th>\\n\n                                <th>\\n                Number\\n            </th>\\n\n                                <th>\\n                Contact\\n            </th>\\n\n                                <th>\\n                Related To\\n            </th>\\n\n                                <th>\\n                Shipping Method\\n            </th>\\n\n                                <th>\\n                Tracking Number\\n            </th>\\n\n                                <th>\\n                Shipping Cost\\n            </th>\\n\n                                <th>\\n                Shipping Paid By\\n            </th>\\n\n                            </tr>\\n\n                        </thead>\\n\n                        <tbody>\\n        {{#each lines context=context}}\\n            \n                            <tr>\\n                \n                                <td>\\n                    {{date}}\\n                </td>\\n\n                                <td>\\n                    {{link string=number action=\\\"view_picking\\\" active_id=id context=context}}\\n                </td>\\n\n                                <td>\\n                    {{contact}}\\n                </td>\\n\n                                <td>\\n                    {{related}}\\n                </td>\\n\n                                <td>\\n                    {{ship_method}}\\n                </td>\\n\n                                <td>\\n                    {{ship_tracking}}\\n                </td>\\n\n                                <td style=\\\"text-align:right\\\">\\n                    {{currency ship_cost}}\\n                </td>\\n\n                                <td>\\n                    {{ship_pay_by}}\\n                </td>\\n\n                            </tr>\\n        {{/each}}\\n\n                        </tbody>\\n\n                        <tfoot>\\n        \n                            <th colspan=\\\"6\\\">\\n            Totals\\n        </th>\\n\n                            <th style=\\\"text-align:right\\\">\\n            {{currency totals.ship_cost}}\\n        </th>\\n\n                            <th>\\n        </th>\\n\n                        </tfoot>\\n\n                    </table>\\n\"}, \"report_stock_forecast\": {\"type\": \"hbs\", \"body\": \"\n                    <center>\\n    \n                        <h2>\\n        Stock Forecast\\n    </h2>\\n\n                        <h3>\\n        {{company_name}}\\n    </h3>\\n\n                        <h4>\\n        {{#if product_name}}\\n            Product: {{product_name}}\\n            \n                            <br/>\\n        {{/if}}\\n        {{#if location_name}}\\n            Location: {{location_name}}\\n\n                            <br/>\\n        {{/if}}\\n        As at {{fmt_date date}}\\n\n                        </h4>\\n\n                    </center>\\n\n                    <table class=\\\"table table-bordered table-striped\\\">\\n    \n                        <thead>\\n        \n                            <tr>\\n            \n                                <th></th>\\n\n                                <th></th>\\n            {{#if show_location}}\\n\n                                <th></th>\\n            {{/if}}\\n            {{#if show_lot}}\\n\n                                <th></th>\\n            {{/if}}\\n\n                                <th colspan=\\\"100\\\" style=\\\"text-align:center\\\">Forecast Qty</th>\\n\n                            </tr>\\n\n                            <tr>\\n            \n                                <th style=\\\"width:20px\\\">\n                                    <input type=\\\"checkbox\\\" class=\\\"nf-select-all\\\"/>\n                                </th>\\n\n                                <th>Product</th>\\n            {{#if show_location}}\\n\n                                <th>Location</th>\\n            {{/if}}\\n            {{#if show_lot}}\\n\n                                <th>Lot / Serial Number</th>\\n            {{/if}}\\n            {{#each periods}}\\n\n                                <th>\\n                    {{#ifeq ../period_days 1}}\\n                        \n                                    <span style=\\\"font-size:8px\\\">{{fmt_date date_from fmt=\\\"ddd\\\"}},</span>\\n\n                                    <span>{{fmt_date date_from fmt=\\\"DD\\\"}}</span>\\n\n                                    <span style=\\\"font-size:10px\\\">{{fmt_date date_from fmt=\\\"MMM\\\"}}</span>\\n                    {{else}}\\n                        {{period_name}}\\n                    {{/ifeq}}\\n\n                                </th>\\n            {{/each}}\\n\n                            </tr>\\n\n                            <tbody>\\n        {{#each lines context=context}}\\n            \n                                <tr>\\n                \n                                    <td>\n                                        <input type=\\\"checkbox\\\" class=\\\"nf-prod-select\\\" data-product-id=\\\"{{product_id}}\\\"/>\n                                    </td>\\n\n                                    <td>\\n                    [{{code}}]\\n                    {{product_name}}\\n                </td>\\n                {{#if ../show_location}}\\n\n                                    <td>\\n                        {{location_name}}\\n                    </td>\\n                {{/if}}\\n                {{#if ../show_lot}}\\n\n                                    <td>\\n                        {{lot_num}}\\n                    </td>\\n                {{/if}}\\n                {{#each periods}}\\n\n                                    <td align=\\\"right\\\">\\n                        {{#link action=\\\"report_stock_card\\\" defaults_product_id=../product_id defaults_location_id=../location_id defaults_date_from=date_from defaults_date_to=date_to defaults_show_pending=1}}\\n                            \n                                        <span {{#if warning}}style=\\\"color:red;font-weight:bold\\\"{{/if}}>\\n                                {{qty}}\\n                            </span>\\n                        {{/link}}\\n\n                                    </td>\\n                {{/each}}\\n\n                                </tr>\\n        {{/each}}\\n\n                            </tbody>\\n\n                        </table>\\n\n                        <button class=\\\"btn btn-success btn-lg nf-btn-order\\\">\n                            <span class=\\\"glyphicon glyphicon-arrow-right\\\"></span> Order Products\n                        </button>\\n\n                        <script>\\n$(function() {\\n    $(\\\".nf-btn-order\\\").click(function() {\\n        var prod_ids=[];\\n        $(\\\"input.nf-prod-select:checked\\\").each(function() {\\n            var prod_id=$(this).data(\\\"product-id\\\");\\n            prod_ids.push(prod_id);\\n        });\\n        console.log(\\\"prod_ids\\\",prod_ids);\\n        if (_.isEmpty(prod_ids)) {\\n            alert(\\\"No items selected\\\");\\n            return;\\n        }\\n        var action={\\n            name: \\\"stock_order\\\",\\n            context: {\\n                product_ids: prod_ids,\\n                location_id: {{#if location_id}}{{location_id}}{{else}}null{{/if}},\\n            },\\n        };\\n        NF.actions.execute(action);\\n    });\\n\\n    $(\\\".nf-select-all\\\").click(function() {\\n        var val=$(this).is(\\\":checked\\\");\\n        $(\\\"input.nf-prod-select\\\").prop(\\\"checked\\\",val);\\n    });\\n});\\n</script>\\n\"}, \"report_stock_summary_test\": {\"type\": \"jsx\", \"body\": \"\n                        <div>\\n    \n                            <center>\\n        \n                                <h2>\\n            Stock Summary\\n        </h2>\\n\n                                <h3>\\n            {data.company_name}\\n        </h3>\\n\n                                <h4>\\n            From {data.date_from} to {data.date_to}\\n            \n                                    <If condition={data.product_id}>\\n                \n                                        <br/>\\n                Product: {data.product_id[1]}\\n\n                                    </If>\\n\n                                    <If condition={data.lot_num}>\\n                \n                                        <br/>\\n                Lot / Serial Number: {data.lot_num}\\n\n                                    </If>\\n\n                                    <If condition={data.location_id}>\\n                \n                                        <br/>\\n                Location: {data.location_id[1]}\\n\n                                    </If>\\n\n                                    <If condition={data.container_id}>\\n                \n                                        <br/>\\n                Container: {data.container_id[1]}\\n\n                                    </If>\\n\n                                </h4>\\n\n                            </center>\\n\n                            <table className=\\\"table table-bordered\\\">\\n        \n                                <thead>\\n            \n                                    <tr>\\n                \n                                        <th></th>\\n\n                                        <th></th>\\n\n                                        <If condition={data.show_lot}>\\n                    \n                                            <th></th>\\n\n                                        </If>\\n\n                                        <th></th>\\n\n                                        <If condition={data.show_container}>\\n                    \n                                            <th></th>\\n\n                                        </If>\\n\n                                        <th></th>\\n\n                                        <If condition={!data.only_closing}>\\n                    \n                                            <th colSpan={data.show_qty2?3:2} style={{textAlign: \\\"center\\\"}}>\\n                        Opening\\n                    </th>\\n\n                                            <th colSpan={data.show_qty2?3:2} style={{textAlign: \\\"center\\\"}}>\\n                        Incoming\\n                    </th>\\n\n                                            <th colSpan={data.show_qty2?3:2} style={{textAlign: \\\"center\\\"}}>\\n                        Outgoing\\n                    </th>\\n\n                                        </If>\\n\n                                        <th colSpan={data.show_qty2?3:2} style={{textAlign: \\\"center\\\"}}>\\n                    Closing\\n                </th>\\n\n                                    </tr>\\n\n                                    <tr>\\n                \n                                        <th>\\n                    Product Code\\n                </th>\\n\n                                        <th>\\n                    Product Name\\n                </th>\\n\n                                        <If condition={data.show_lot}>\\n                    \n                                            <th>\\n                        Lot / Serial Number\\n                    </th>\\n\n                                        </If>\\n\n                                        <th>\\n                    Location\\n                </th>\\n\n                                        <If condition={data.show_container}>\\n                    \n                                            <th>\\n                        Container\\n                    </th>\\n\n                                        </If>\\n\n                                        <th>\\n                    UoM\\n                </th>\\n\n                                        <If condition={!data.only_closing}>\\n                    \n                                            <th>\\n                        Qty \\n                    </th>\\n\n                                            <th>\\n                        Amount\\n                    </th>\\n\n                                            <If condition={data.show_qty2}>\\n                        \n                                                <th>\\n                            Secondary Qty\\n                        </th>\\n\n                                            </If>\\n\n                                            <th>\\n                        Qty \\n                    </th>\\n\n                                            <th>\\n                        Amount\\n                    </th>\\n\n                                            <If condition={data.show_qty2}>\\n                        \n                                                <th>\\n                            Secondary Qty\\n                        </th>\\n\n                                            </If>\\n\n                                            <th>\\n                        Qty \\n                    </th>\\n\n                                            <th>\\n                        Amount\\n                    </th>\\n\n                                            <If condition={data.show_qty2}>\\n                        \n                                                <th>\\n                            Secondary Qty\\n                        </th>\\n\n                                            </If>\\n\n                                        </If>\\n\n                                        <th>\\n                    Qty \\n                </th>\\n\n                                        <th>\\n                    Amount\\n                </th>\\n\n                                        <If condition={data.show_qty2}>\\n                    \n                                            <th>\\n                        Secondary Qty\\n                    </th>\\n\n                                        </If>\\n\n                                    </tr>\\n\n                                </thead>\\n\n                                <tbody>\\n            {data.lines.map((l,i)=>{\\n                return \n                                    <tr key={i}>\\n                    \n                                        <td>\\n                        {l.prod_code}\\n                    </td>\\n\n                                        <td>\\n                        {l.prod_name}\\n                    </td>\\n\n                                        <If condition={data.show_lot}>\\n                        \n                                            <td>\\n                            \n                                                <Link to={\\\"/action?name=stock_lot&mode=form&active_id=\\\"+l.lot_id}/>\\n\n                                            </td>\\n\n                                        </If>\\n\n                                        <td>\\n                        {l.loc_name}\\n                    </td>\\n\n                                        <If condition={data.show_container}>\\n                        \n                                            <td>\\n                            {l.cont_name}\\n                        </td>\\n\n                                        </If>\\n\n                                        <td>\\n                        {l.uom_name}\\n                    </td>\\n\n                                        <If condition={!data.only_closing}>\\n                        \n                                            <td>\\n                            {fmt_qty(l.open_qty)}\\n                        </td>\\n\n                                            <td>\\n                            {fmt_money(l.open_amt)}\\n                        </td>\\n\n                                            <If condition={data.show_qty2}>\\n                            \n                                                <td>\\n                                {fmt_qty(l.open_qty2)}\\n                            </td>\\n\n                                            </If>\\n\n                                            <td>\\n                            {fmt_qty(l.period_in_qty)}\\n                        </td>\\n\n                                            <td>\\n                            {fmt_money(l.period_in_amt)}\\n                        </td>\\n\n                                            <If condition={data.show_qty2}>\\n                            \n                                                <td>\\n                                {fmt_qty(l.period_in_qty2)}\\n                            </td>\\n\n                                            </If>\\n\n                                            <td>\\n                            {fmt_qty(l.period_out_qty)}\\n                        </td>\\n\n                                            <td>\\n                            {fmt_money(l.period_out_amt)}\\n                        </td>\\n\n                                            <If condition={data.show_qty2}>\\n                            \n                                                <td>\\n                                {fmt_qty(l.period_out_qty2)}\\n                            </td>\\n\n                                            </If>\\n\n                                        </If>\\n\n                                        <td>\\n                        \n                                            <Link to={\\\"/action#name=report_stock_card&defaults.product_id=\\\"+l.prod_id+\\\"&defaults.location_id=\\\"+l.loc_id+\\\"&defaults.date_from=\\\"+data.date_from+\\\"&defaults.date_to=\\\"+data.date_to+\\\"&defaults.lot_id=\\\"+l.lot_id}>\\n                            {fmt_qty(l.close_qty)}\\n                        </Link>\\n\n                                        </td>\\n\n                                        <td>\\n                        \n                                            <Link to={\\\"/action#name=report_stock_card&defaults.product_id=\\\"+l.prod_id+\\\"&defaults.location_id=\\\"+l.loc_id+\\\"&defaults.date_from=\\\"+data.date_from+\\\"&defaults.date_to=\\\"+data.date_to+\\\"&defaults.lot_id=\\\"+l.lot_id}>\\n                            {fmt_money(l.close_amt)}\\n                        </Link>\\n\n                                        </td>\\n\n                                        <If condition={data.show_qty2}>\\n                        \n                                            <td>\\n                            {fm_qty(l.close_qty2)}\\n                        </td>\\n\n                                        </If>\\n\n                                    </tr>\\n            })}\\n\n                                </tbody>\\n\n                                <tfoot>\\n            \n                                    <tr>\\n                \n                                        <td></td>\\n\n                                        <td></td>\\n\n                                        <If condition={data.show_lot}>\\n                    \n                                            <td></td>\\n\n                                        </If>\\n\n                                        <td></td>\\n\n                                        <If condition={data.show_container}>\\n                    \n                                            <td></td>\\n\n                                        </If>\\n\n                                        <td></td>\\n\n                                        <If condition={!data.only_closing}>\\n                    \n                                            <td></td>\\n\n                                            <th>\\n                        {fmt_money(data.total_open_amt)}\\n                    </th>\\n\n                                            <If condition={data.show_qty2}>\\n                        \n                                                <th>\\n                            {fmt_qty(data.total_open_qty2)}\\n                        </th>\\n\n                                            </If>\\n\n                                            <td></td>\\n\n                                            <th>\\n                        {fmt_money(data.total_period_in_amt)}\\n                    </th>\\n\n                                            <If condition={data.show_qty2}>\\n                        \n                                                <th>\\n                            {fmt_qty(data.total_period_in_qty2)}\\n                        </th>\\n\n                                            </If>\\n\n                                            <td></td>\\n\n                                            <th>\\n                        {fmt_money(data.total_period_out_amt)}\\n                    </th>\\n\n                                            <If condition={data.show_qty2}>\\n                        \n                                                <th>\\n                            {fmt_qty(data.total_period_out_qty2)}\\n                        </th>\\n\n                                            </If>\\n\n                                        </If>\\n\n                                        <th>\\n                    {fmt_qty(data.total_close_qty)}\\n                </th>\\n\n                                        <th>\\n                    {fmt_money(data.total_close_amt)}\\n                </th>\\n\n                                        <If condition={data.show_qty2}>\\n                    \n                                            <th>\\n                        {fmt_qty(data.total_close_qty2)}\\n                    </th>\\n\n                                        </If>\\n\n                                    </tr>\\n\n                                </tfoot>\\n\n                            </table>\\n\n                        </div>\\n\"}, \"report_stock_invoice\": {\"type\": \"hbs\", \"body\": \"\n                        <center>\\n    \n                            <h2>\\n        Stock Invoice Report\\n    </h2>\\n\n                            <h4>\\n        From {{data.date_from}} to {{data.date_to}}\\n    </h4>\\n\n                        </center>\\n\n                        <table class=\\\"table table-bordered\\\">\\n    \n                            <thead>\\n        \n                                <tr>\\n            \n                                    <th>\\n                Product\\n            </th>\\n\n                                    <th>\\n                Received Qty \\n            </th>\\n\n                                    <th>\\n                Returned Qty \\n            </th>\\n\n                                    <th>\\n                Invoiced Qty \\n            </th>\\n\n                                    <th>\\n                Remaining Qty To Invoice\\n            </th>\\n\n                                </tr>\\n\n                            </thead>\\n\n                            <tbody>\\n        {{#each data.lines}}\\n            \n                                <tr>\\n                \n                                    <td>\\n                    [{{prod_code}}] {{prod_name}}\\n                </td>\\n\n                                    <td>\\n                    \n                                        <a href='/action?name=pick_in&search_condition=[[\\\"product_id\\\",\\\"=\\\",{{prod_id}}]]' target=\\\"_blank\\\">\\n                        {{qty_received}}\\n                    </a>\\n\n                                    </td>\\n\n                                    <td>\\n                    \n                                        <a href='/action?name=pick_out&search_condition=[[\\\"product_id\\\",\\\"=\\\",{{prod_id}}]]' target=\\\"_blank\\\">\\n                        {{qty_returned}}\\n                    </a>\\n\n                                    </td>\\n\n                                    <td>\\n                    \n                                        <a href='/action?name=supp_invoice_line&search_condition=[[\\\"product_id\\\",\\\"=\\\",{{prod_id}}],[\\\"invoice_date\\\",\\\"between\\\",[\\\"{{../data.date_from}}\\\",\\\"{{../data.date_to}}\\\"]]]' target=\\\"_blank\\\">\\n                        {{qty_invoiced}}\\n                    </a>\\n\n                                    </td>\\n\n                                    <td>\\n                    {{qty_remain}}\\n                </td>\\n\n                                </tr>\\n        {{/each}}\\n\n                            </tbody>\\n\n                        </table>\\n\"}, \"report_sale_unbill\": {\"type\": \"hbs\", \"body\": \"\n                        <center>\\n    \n                            <h2>\\n        Sales Unbill Report\\n    </h2>\\n\n                            <h3>\\n        {{company_name}}\\n        \n                                <br/>\\n        From {{fmt_date data.order_date_from}} to {{fmt_date data.order_date_to}}\\n        {{#if data.contact_id}}\\n\n                                <br/>\\n            Contact: {{#link action=\\\"contact\\\" mode=\\\"form\\\" active_id=data.contact_id}}{{contact_name}}{{/link}}\\n        {{/if}}\\n\n                            </h3>\\n\n                        </center>\\n\n                        <table class=\\\"table\\\">\\n    \n                            <thead class=\\\"scroll-header\\\">\\n        \n                                <tr>\\n            \n                                    <th>\\n                Sale Order\\n            </th>\\n\n                                    <th>\\n                PIC\\n            </th>\\n\n                                    <th>\\n                Sale Category\\n            </th>\\n\n                                    <th>\\n                Ref\\n            </th>\\n\n                                    <th>\\n                Date\\n            </th>\\n\n                                    <th>\\n                Contact\\n            </th>\\n            {{#if data.show_foreign_currency}}\\n\n                                    <th>\\n                    Currency\\n                </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                    Total SO Amount\\n                </th>\\n            {{/if}}\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Total SO Amount ({{#link action=\\\"currency\\\" mode=\\\"form\\\" active_id=base_currency_id}}{{base_currency_code}}{{/link}})\\n            </th>\\n\n                                    <th>\\n                Invoice Date\\n            </th>\\n\n                                    <th>\\n                Invoice\\n            </th>\\n            {{#if data.show_foreign_currency}}\\n\n                                    <th>\\n                    Currency\\n                </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                    Invoice Amount\\n                </th>\\n            {{/if}}\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Invoice Amount ({{#link action=\\\"currency\\\" mode=\\\"form\\\" active_id=base_currency_id}}{{base_currency_code}}{{/link}}))\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Unbill Amount ({{#link action=\\\"currency\\\" mode=\\\"form\\\" active_id=base_currency_id}}{{base_currency_code}}{{/link}}))\\n            </th>\\n            {{#if data.show_foreign_currency}}\\n\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Unbill Amount ({{#link action=\\\"currency\\\" mode=\\\"form\\\" active_id=foreign_currency_id}}{{foreign_currency_code}}{{/link}}))\\n            </th>\\n            {{/if}}\\n\\n\n                                </tr>\\n\n                            </thead>\\n\n                            <tbody>\\n        {{#each sale_orders context=context}}\\n            \n                                <tr>\\n                \n                                    <td style=\\\"font-weight:bold\\\">\\n                    {{#link action=\\\"sale\\\" mode=\\\"form\\\" active_id=id}}\\n                        {{number}}\\n                    {{/link}}\\n                </td>\\n\n                                    <td style=\\\"font-weight:bold\\\">\\n                    {{#link action=\\\"user\\\" mode=\\\"form\\\" active_id=person_in_charge_id}}\\n                    {{person_in_charge}}\\n                    {{/link}}\\n                </td>\\n\n                                    <td style=\\\"font-weight:bold\\\">\\n                    {{sale_category}}\\n                </td>\\n\n                                    <td style=\\\"font-weight:bold\\\">\\n                    {{ref}}\\n                </td>\\n\n                                    <td style=\\\"font-weight:bold\\\">\\n                    {{fmt_date date}}\\n                </td>\\n\n                                    <td style=\\\"font-weight:bold\\\">\\n                    {{#link action=\\\"contact\\\" mode=\\\"form\\\" active_id=id}}\\n                        [{{contact_code}}] {{contact_name}}\\n                    {{/link}}\\n                </td>\\n                {{#if ../data.show_foreign_currency}}\\n\n                                    <td style=\\\"font-weight:bold\\\">\\n                        {{#link action=\\\"currency\\\" mode=\\\"form\\\" active_id=currency_id}}\\n                            {{currency_code}}\\n                        {{/link}}\\n                    </td>\\n\n                                    <td style=\\\"text-align:right;font-weight:bold\\\">\\n                        {{currency amount_total zero=\\\"\\\"}}\\n                    </td>\\n                {{/if}}\\n\n                                    <td style=\\\"text-align:right;font-weight:bold\\\">\\n                    {{currency amount_total_cur}}\\n                </td>\\n\n                                    <td colspan=\\\"2\\\">\\n                </td>\\n                 {{#if ../data.show_foreign_currency}}\\n\n                                    <td>\\n                    </td>\\n\n                                    <td>\\n                    </td>\\n                {{/if}}\\n\n                                    <td style=\\\"text-align:right;font-weight:bold\\\">\\n                    {{currency inv_amount_total_cur}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right;font-weight:bold\\\">\\n                    {{currency amount_unbill}}\\n                </td>\\n                {{#if ../data.show_foreign_currency}}\\n\n                                    <td style=\\\"text-align:right;font-weight:bold\\\">\\n                    {{currency amount_unbill_USD}}\\n                </td>\\n                {{/if}}\\n\n                                </tr>\\n            {{#each invoices context=context}}\\n\n                                <tr>\\n                    \n                                    <td colspan=\\\"7\\\"></td>\\n\n                                    <!-- {{#if ../../data.show_foreign_currency}}\\n                        <td colspan=\\\"2\\\">\\n                        </td>\\n                    {{/if}} -->\\n                    \n                                    <td>\\n                        {{fmt_date date}}\\n                    </td>\\n\n                                    <td>\\n                        {{#link action=\\\"cust_invoice\\\" mode=\\\"form\\\" active_id=id}}\\n                            {{number}}\\n                        {{/link}}\\n                    </td>\\n\n                                    <!-- {{#if ../../data.show_foreign_currency}}\\n                        <td>\\n                            {{#link action=\\\"currency\\\" mode=\\\"form\\\" active_id=currency_id}}\\n                                {{currency_code}}\\n                            {{/link}}\\n                        </td>\\n<td style=\\\"text-align:right\\\">\\n                            {{currency amount_total zero=\\\"\\\"}}\\n                        </td>\\n                    {{/if}} -->\\n                    \n                                    <td style=\\\"text-align:right\\\">\\n                        {{currency amount_total_cur}}\\n                    </td>\\n\n                                    <td>\\n                    </td>\\n\n                                </tr>\\n            {{/each}}\\n\n                                <!--<tr>\\n                <td colspan=\\\"4\\\"></td>\\n<td style=\\\"text-align:right;font-weight:bold\\\">\\n                    {{currency amount_total_cur}}\\n                </td>\\n<td style=\\\"text-align:right;font-weight:bold\\\">\\n                    {{currency amount_total}}\\n                </td>\\n<td colspan=\\\"4\\\">\\n                </td>\\n<td style=\\\"text-align:right;font-weight:bold\\\">\\n                    {{currency amount_unbill}}\\n                </td>\\n</tr>-->\\n        {{/each}}\\n    \n                            </tbody>\\n\n                            <tfoot>\\n        \n                                <tr>\\n            \n                                    <td colspan=\\\"4\\\" style=\\\"text-align:center;font-weight:bold\\\">\\n                TOTAL\\n            </td>\\n{{!--             {{#if data.show_foreign_currency}} --}}\\n{{!--\n                                    <td colspan=\\\"2\\\"> --}}\\n{{!--                 </td> --}}\\n{{!--             {{/if}} --}}\\n\n                                    <td style=\\\"text-align:right;font-weight:bold\\\">\\n                {{currency data.sale_amount_total}}\\n            </td>\\n\n                                    <td colspan=\\\"2\\\">\\n            </td>\\n{{!--             {{#if data.show_foreign_currency}} --}}\\n{{!--\n                                    <td colspan=\\\"2\\\"> --}}\\n{{!--                 </td> --}}\\n{{!--             {{/if}} --}}\\n\n                                    <td style=\\\"text-align:right;font-weight:bold\\\">\\n                {{currency data.inv_amount_total}}\\n            </td>\\n\n                                    <td style=\\\"text-align:right;font-weight:bold\\\">\\n                {{currency data.unbill_amount_total}}\\n            </td>\\n\n                                </tr>\\n\n                            </tfoot>\\n\n                        </table>\\n\"}, \"report_sale_profit\": {\"type\": \"hbs\", \"body\": \"\n                        <center>\\n    \n                            <h2>\\n        Sales Profit Report\\n    </h2>\\n\n                            <h3>\\n        {{company_name}}\\n        \n                                <br/>\\n        From {{fmt_date date_from}} to {{fmt_date date_to}}\\n\n                            </h3>\\n\n                        </center>\\n\n                        <table class=\\\"table\\\">\\n    \n                            <thead class=\\\"scroll-header\\\">\\n        \n                                <tr>\\n            \n                                    <th>\\n                Date\\n            </th>\\n\n                                    <th>\\n                Sales Order\\n            </th>\\n\n                                    <th>\\n                Customer\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Sales Amount\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Estimated Cost\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Estimated Profit\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Estimated Profit Percent\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Actual Cost\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Actual Profit\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Actual Profit Percent\\n            </th>\\n\n                                </tr>\\n\n                            </thead>\\n\n                            <tbody>\\n        {{#each lines context=context}}\\n            \n                                <tr>\\n                \n                                    <td>\\n                    {{fmt_date date}}\\n                </td>\\n\n                                    <td>\\n                    {{#link action=\\\"sale\\\" mode=\\\"form\\\" active_id=id}}\\n                        {{../number}}\\n                    {{/link}}\\n                </td>\\n\n                                    <td>\\n                    {{customer}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency amount_subtotal zero=\\\"\\\"}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency est_cost_total zero=\\\"\\\"}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency est_profit zero=\\\"\\\"}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency est_profit_percent zero=\\\"\\\"}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency act_cost_total zero=\\\"\\\"}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency act_profit zero=\\\"\\\"}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency act_profit_percent zero=\\\"\\\"}}\\n                </td>\\n\n                                </tr>\\n        {{/each}}\\n\n                            </tbody>\\n\n                            <tfoot>\\n        \n                                <tr>\\n            \n                                    <th colspan=\\\"3\\\">Totals</th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                {{currency totals.amount_subtotal zero=\\\"\\\"}}\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                {{currency totals.est_cost_total zero=\\\"\\\"}}\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                {{currency totals.est_profit zero=\\\"\\\"}}\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                {{currency totals.est_profit_percent zero=\\\"\\\"}}\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                {{currency totals.act_cost_total zero=\\\"\\\"}}\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                {{currency totals.act_profit zero=\\\"\\\"}}\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                {{currency totals.act_profit_percent zero=\\\"\\\"}}\\n            </th>\\n\n                                </tr>\\n\n                            </tfoot>\\n\n                        </table>\\n\"}, \"report_sale_commission\": {\"type\": \"hbs\", \"body\": \"\n                        <center>\\n    \n                            <h2>\\n        Sales Commission Report\\n    </h2>\\n\n                            <h3>\\n        From {{fmt_date date_from}} to {{fmt_date date_to}}\\n    </h3>\\n\n                        </center>\\n\\n\n                        <b>Total Profit: {{currency profit}}</b>\\n\n                        <br/>\\n\n                        <b>Total Commission: {{currency total_commission}}</b>\\n\n                        <br/>\\n\n                        <b>Profit After Commission: {{currency profit_remain}}</b>\\n\n                        <br/>\\n\n                        <br/>\\n\\n\n                        <table class=\\\"table\\\">\\n    \n                            <thead class=\\\"scroll-header\\\">\\n        \n                                <tr>\\n            \n                                    <th>\\n                Contact Name\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Seller Commission\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Parent Commission\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Grand Parent Commission\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Total Commission\\n            </th>\\n\n                                </tr>\\n\n                            </thead>\\n\n                            <tbody>\\n        {{#each lines context=context}}\\n            \n                                <tr>\\n                \n                                    <td>\\n                    [{{contact_code}}] {{contact_name}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency amount_seller zero=\\\"\\\"}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency amount_parent zero=\\\"\\\"}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency amount_grand_parent zero=\\\"\\\"}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency amount zero=\\\"\\\"}}\\n                </td>\\n\n                                </tr>\\n        {{/each}}\\n\n                            </tbody>\\n\n                        </table>\\n\\n\n                        <h3>Calculation Details</h3>\\n\\n\n                        <table class=\\\"table\\\">\\n    \n                            <thead class=\\\"scroll-header\\\">\\n        \n                                <tr>\\n            \n                                    <th>\\n                Contact Name\\n            </th>\\n\n                                    <th>\\n                Sales Order\\n            </th>\\n\n                                    <th>\\n                Product\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Qty\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Sales Price\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Purchase Price\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Profit \\n            </th>\\n\n                                    <th>\\n                Level\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Commission\\n            </th>\\n\n                                    <th>\\n                Seller\\n            </th>\\n\n                                </tr>\\n\n                            </thead>\\n\n                            <tbody>\\n        {{#each details context=context}}\\n            \n                                <tr>\\n                \n                                    <td>\\n                    [{{contact_code}}] {{contact_name}}\\n                </td>\\n\n                                    <td>\\n                    {{#link action=\\\"sale\\\" action_options='{\\\"mode\\\":\\\"form\\\"}' active_id=sale_id}}\\n                        {{sale_no}}\\n                    {{/link}}\\n                </td>\\n\n                                    <td>\\n                    {{prod_name}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency qty zero=\\\"\\\"}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency sale_price zero=\\\"\\\"}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency purch_price zero=\\\"\\\"}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency profit zero=\\\"\\\"}}\\n                </td>\\n\n                                    <td>\\n                    {{level}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency com_amt zero=\\\"\\\"}}\\n                </td>\\n\n                                    <td>\\n                    {{seller_name}}\\n                </td>\\n\n                                </tr>\\n        {{/each}}\\n\n                            </tbody>\\n\n                        </table>\\n\"}, \"report_sale_order\": {\"type\": \"hbs\", \"body\": \"\n                        <center>\\n    \n                            <h2>\\n        Sales Order Report\\n    </h2>\\n\n                            <h3>\\n        {{company_name}}\\n        \n                                <br />\\n        From {{fmt_date data.order_date_from}} to {{fmt_date data.order_date_to}}\\n        {{#if data.contact_id}}\\n\n                                <br />\\n        Contact: {{#link action=\\\"contact\\\" mode=\\\"form\\\" active_id=data.contact_id}}{{contact_name}}{{/link}}\\n        {{/if}}\\n\n                            </h3>\\n\n                        </center>\\n\n                        <table class=\\\"table table-hover table-striped \\\">\\n    \n                            <thead class=\\\"scroll-header\\\">\\n        {{#if Show_flag}}\\n        \n                                <tr>\\n            \n                                    <th>\\n                Product\\n            </th>\\n\n                                    <th>\\n                Code\\n            </th>\\n             {{#if quarters.q1}}\\n\n                                    <th>\\n                {{quarters.q1_date}}\\n            </th>\\n            {{/if}}\\n                        {{#if quarters.q2}}\\n\n                                    <th>\\n                {{quarters.q2_date}}\\n            </th>\\n            {{/if}}\\n                         {{#if quarters.q3}}\\n\n                                    <th>\\n                {{quarters.q3_date}}\\n            </th>\\n            {{/if}}\\n                         {{#if quarters.q4}}\\n\n                                    <th>\\n                {{quarters.q4_date}}\\n            </th>\\n            {{/if}}\\n                         {{#if quarters.q5}}\\n\n                                    <th>\\n                {{quarters.q5_date}}\\n            </th>\\n            {{/if}}\\n                         {{#if quarters.q6}}\\n\n                                    <th>\\n                {{quarters.q6_date}}\\n            </th>\\n            {{/if}}\\n                         {{#if quarters.q7}}\\n\n                                    <th>\\n                {{quarters.q7_date}}\\n            </th>\\n            {{/if}}\\n                         {{#if quarters.q8}}\\n\n                                    <th>\\n                {{quarters.q8_date}}\\n            </th>\\n            {{/if}}\\n                         {{#if quarters.q9}}\\n\n                                    <th>\\n                {{quarters.q9_date}}\\n            </th>\\n            {{/if}}\\n                         {{#if quarters.q10}}\\n\n                                    <th>\\n                {{quarters.q10_date}}\\n            </th>\\n            {{/if}}\\n                         {{#if quarters.q11}}\\n\n                                    <th>\\n                {{quarters.q11_date}}\\n            </th>\\n            {{/if}}\\n            \\n\n                                </tr>\\n        {{else}}\\n\n                                <tr>\\n            \n                                    <th>\\n                Product\\n            </th>\\n\n                                    <th>\\n                Code\\n            </th>\\n            {{#if months.JAN}}\\n\n                                    <th>\\n                Jan\\n            </th>\\n            {{/if}}\\n            {{#if months.FEB}}\\n\n                                    <th>\\n                Feb\\n            </th>\\n            {{/if}}\\n            {{#if months.MAR}}\\n\n                                    <th>\\n                Mar\\n            </th>\\n            {{/if}}\\n            {{#if months.APR}}\\n\n                                    <th>\\n                Apr\\n            </th>\\n            {{/if}}\\n            {{#if months.MAY}}\\n\n                                    <th>\\n                May\\n            </th>\\n            {{/if}}\\n            {{#if months.JUN}}\\n\n                                    <th>\\n                Jun\\n            </th>\\n            {{/if}}\\n            {{#if months.JUL}}\\n\n                                    <th>\\n                July\\n            </th>\\n            {{/if}}\\n            {{#if months.AUG}}\\n\n                                    <th>\\n                Aug\\n            </th>\\n            {{/if}}\\n            {{#if months.SEP}}\\n\n                                    <th>\\n                Sep\\n            </th>\\n            {{/if}}\\n            {{#if months.OCT}}\\n\n                                    <th>\\n                Oct\\n            </th>\\n            {{/if}}\\n            {{#if months.NOV}}\\n\n                                    <th>\\n                Nov\\n            </th>\\n            {{/if}}\\n            {{#if months.DEC}}\\n\n                                    <th>\\n                Dec\\n            </th>\\n            {{/if}}\\n\n                                </tr>\\n        {{/if}}\\n\n                            </thead>\\n\n                            <tbody>\\n        {{#if Show_flag}}\\n        {{#each sale_orders context=context}}\\n        \n                                <tr>\\n            \n                                    <td style=\\\"font-weight:bold\\\">\\n                {{#link action=\\\"product\\\" mode=\\\"form\\\" active_id=id}}\\n                {{name}}\\n                {{/link}}\\n            </td>\\n\n                                    <td style=\\\"font-weight:bold;color: #3666be\\\">\\n                {{#link action=\\\"product\\\" mode=\\\"form\\\" active_id=id}}\\n                {{code}}\\n                {{/link}}\\n            </td>\\n             {{#if ../quarters.q1}}\\n\n                                    <td>\\n                {{q1_date}}\\n            </td>\\n            {{/if}}\\n             {{#if ../quarters.q2}}\\n\n                                    <td>\\n                {{q2_date}}\\n            </td>\\n            {{/if}}\\n             {{#if ../quarters.q3}}\\n\n                                    <td>\\n                {{q3_date}}\\n            </td>\\n            {{/if}}\\n             {{#if ../quarters.q4}}\\n\n                                    <td>\\n                {{q4_date}}\\n            </td>\\n            {{/if}}\\n             {{#if ../quarters.q5}}\\n\n                                    <td>\\n                {{q5_date}}\\n            </td>\\n            {{/if}}\\n             {{#if ../quarters.q6}}\\n\n                                    <td>\\n                {{q6_date}}\\n            </td>\\n            {{/if}}\\n             {{#if ../quarters.q7}}\\n\n                                    <td>\\n                {{q7_date}}\\n            </td>\\n            {{/if}}\\n             {{#if ../quarters.q8}}\\n\n                                    <td>\\n                {{q8_date}}\\n            </td>\\n            {{/if}}\\n             {{#if ../quarters.q9}}\\n\n                                    <td>\\n                {{q9_date}}\\n            </td>\\n            {{/if}}\\n             {{#if ../quarters.q10}}\\n\n                                    <td>\\n                {{q10_date}}\\n            </td>\\n            {{/if}}\\n             {{#if ../quarters.q11}}\\n\n                                    <td>\\n                {{q11_date}}\\n            </td>\\n            {{/if}}\\n            \\n\n                                </tr>\\n\\n\\n        {{/each}}\\n        \\n        {{else}}\\n        {{#each sale_orders context=context}}\\n\n                                <tr>\\n            \n                                    <td style=\\\"font-weight:bold\\\">\\n                {{#link action=\\\"product\\\" mode=\\\"form\\\" active_id=id}}\\n                {{name}}\\n                {{/link}}\\n            </td>\\n\n                                    <td style=\\\"font-weight:bold;color: #3666be\\\">\\n                {{#link action=\\\"product\\\" mode=\\\"form\\\" active_id=id}}\\n                {{code}}\\n                {{/link}}\\n            </td>\\n            {{#if ../months.JAN}}\\n\n                                    <td>{{JAN}}</td>\\n            {{/if}}\\n\\n            {{#if ../months.FEB}}\\n\n                                    <td>{{FEB}}</td>\\n            {{/if}}\\n\\n            {{#if ../months.MAR}}\\n\n                                    <td>{{MAR}}</td>\\n            {{/if}}\\n\\n            {{#if ../months.APR}}\\n\n                                    <td>{{APR}}</td>\\n            {{/if}}\\n\\n            {{#if ../months.MAY}}\\n\n                                    <td>{{MAY}}</td>\\n            {{/if}}\\n\\n            {{#if ../months.JUN}}\\n\n                                    <td>{{JUN}}</td>\\n            {{/if}}\\n\\n            {{#if ../months.JUL}}\\n\n                                    <td>{{JUL}}</td>\\n            {{/if}}\\n\\n            {{#if ../months.AUG}}\\n\n                                    <td>{{AUG}}</td>\\n            {{/if}}\\n\\n            {{#if ../months.SEP}}\\n\n                                    <td>{{SEP}}</td>\\n            {{/if}}\\n\\n            {{#if ../months.OCT}}\\n\n                                    <td>{{OCT}}</td>\\n            {{/if}}\\n\\n            {{#if ../months.NOV}}\\n\n                                    <td>{{NOV}}</td>\\n            {{/if}}\\n\\n            {{#if ../months.DEC}}\\n\n                                    <td>{{DEC}}</td>\\n            {{/if}}\\n\\n\n                                </tr>\\n        {{/each}}\\n        {{/if}}\\n\n                            </tbody>\\n\n                            <tfoot>\\n        \n                                <tr>\\n\\n        </tr>\\n\n                            </tfoot>\\n\n                        </table>\"}, \"report_sale_payment\": {\"type\": \"hbs\", \"body\": \"\n                        <center>\\n    \n                            <h2>\\n        Sales Payment Report\\n    </h2>\\n\n                            <h3>\\n        {{company_name}}\\n        \n                                <br/>\\n        Order From {{fmt_date order_date_from}} to {{fmt_date order_date_to}}\\n\n                                <br/>\\n        Invoice From {{fmt_date order_date_from}} to {{fmt_date order_date_to}}\\n\n                            </h3>\\n\n                        </center>\\n\n                        <table class=\\\"table\\\">\\n    \n                            <thead class=\\\"scroll-header\\\">\\n        \n                                <tr>\\n            \n                                    <th>\\n                Order Number\\n            </th>\\n\n                                    <th>\\n                Invoice Number\\n            </th>\\n\n                                    <th>\\n                Invoice Date\\n            </th>\\n\n                                    <th>\\n                Journal Date \\n            </th>\\n\n                                    <th>\\n                Customer Name\\n            </th>\\n\n                                    <th>\\n                Telephone\\n            </th>\\n\n                                    <th>\\n                Payment Method\\n            </th>\\n\n                                    <th>\\n                Account\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Payment Amount\\n            </th>\\n\n                                </tr>\\n\n                            </thead>\\n\n                            <tbody>\\n        {{#each lines}}\\n            \n                                <tr>\\n                \n                                    <td>\\n                    {{#link action=\\\"sale\\\" action_options='{\\\"mode\\\":\\\"form\\\"}' active_id=order_id}}\\n                        {{../order_number}}\\n                    {{/link}}\\n                </td>\\n\n                                    <td>\\n                    {{#link action=\\\"view_invoice\\\" active_id=invoice_id}}\\n                        {{../invoice_number}}\\n                    {{/link}}\\n                </td>\\n\n                                    <td>\\n                    {{!--\\n                    {{#link action=\\\"ecom_cart\\\" action_options='{\\\"mode\\\":\\\"form\\\"}' active_id=related_id}}\\n                        {{../related_number}}\\n                    {{/link}}\\n                    --}}\\n                </td>\\n\n                                    <td>\\n                    {{fmt_date invoice_date}}\\n                </td>\\n\n                                    <td>\\n                    {{fmt_date journal_date}}\\n                </td>\\n\n                                    <td>\\n                    {{customer_name}}\\n                </td>\\n\n                                    <td>\\n                    {{phone}}\\n                </td>\\n\n                                    <td>\\n                    {{pay_method}}\\n                </td>\\n\n                                    <td>\\n                    {{account_name}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency amount}}\\n                </td>\\n\n                                </tr>\\n        {{/each}}\\n\n                            </tbody>\\n\n                            <tfoot>\\n        \n                                <tr>\\n            \n                                    <th colspan=\\\"9\\\">Total</th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                {{currency total}}\\n            </th>\\n\n                                </tr>\\n\n                            </tfoot>\\n\n                        </table>\\n\"}, \"report_sale_profit_details\": {\"type\": \"hbs\", \"body\": \"\n                        <center>\\n    \n                            <h2>\\n        Sales Profit Details Report\\n    </h2>\\n\n                            <h3>\\n        {{company_name}}\\n        \n                                <br/>\\n        {{order_number}} {{contact_name}}\\n\n                            </h3>\\n\n                        </center>\\n\n                        <table class=\\\"table\\\">\\n    \n                            <thead class=\\\"scroll-header\\\">\\n        \n                                <tr>\\n            \n                                    <th>\\n                Date\\n            </th>\\n\n                                    <th>\\n                Sales Order\\n            </th>\\n\n                                    <th>\\n                Customer\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Sales Amount\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Estimated Cost\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Estimated Profit\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Estimated Profit Percent\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Actual Cost\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Actual Profit\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Actual Profit Percent\\n            </th>\\n\n                                </tr>\\n\n                            </thead>\\n\n                            <tbody>\\n        {{#each lines context=context}}\\n            \n                                <tr>\\n                \n                                    <td>\\n                    {{fmt_date date}}\\n                </td>\\n\n                                    <td>\\n                    {{#link action=\\\"sale\\\" mode=\\\"form\\\" active_id=id}}\\n                        {{../number}}\\n                    {{/link}}\\n                </td>\\n\n                                    <td>\\n                    {{customer}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency amount_subtotal zero=\\\"\\\"}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency est_cost_total zero=\\\"\\\"}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency est_profit zero=\\\"\\\"}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency est_profit_percent zero=\\\"\\\"}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency act_cost_total zero=\\\"\\\"}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency act_profit zero=\\\"\\\"}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency act_profit_percent zero=\\\"\\\"}}\\n                </td>\\n\n                                </tr>\\n        {{/each}}\\n\n                            </tbody>\\n\n                            <tfoot>\\n        \n                                <tr>\\n            \n                                    <th colspan=\\\"3\\\">Totals</th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                {{currency totals.amount_subtotal zero=\\\"\\\"}}\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                {{currency totals.est_cost_total zero=\\\"\\\"}}\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                {{currency totals.est_profit zero=\\\"\\\"}}\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                {{currency totals.est_profit_percent zero=\\\"\\\"}}\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                {{currency totals.act_cost_total zero=\\\"\\\"}}\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                {{currency totals.act_profit zero=\\\"\\\"}}\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                {{currency totals.act_profit_percent zero=\\\"\\\"}}\\n            </th>\\n\n                                </tr>\\n\n                            </tfoot>\\n\n                        </table>\\n\"}, \"report_unpaid_sale\": {\"type\": \"hbs\", \"body\": \"\n                        <center>\\n    \n                            <h2>\\n        Unpaid Sales Report\\n    </h2>\\n\n                            <h3>\\n        {{company_name}}\\n        \n                                <br/>\\n        From {{fmt_date date_from}} to {{fmt_date date_to}}\\n\n                            </h3>\\n\n                        </center>\\n\n                        <table class=\\\"table\\\">\\n    \n                            <thead class=\\\"scroll-header\\\">\\n        \n                                <tr>\\n            \n                                    <th>\\n                Order Number\\n            </th>\\n\n                                    <th>\\n                Cart Number\\n            </th>\\n\n                                    <th>\\n                Order Date\\n            </th>\\n\n                                    <th>\\n                Customer Name\\n            </th>\\n\n                                    <th>\\n                Telephone\\n            </th>\\n\n                                    <th>\\n                Payment Method\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Order Amount\\n            </th>\\n\n                                </tr>\\n\n                            </thead>\\n\n                            <tbody>\\n        {{#each lines}}\\n            \n                                <tr>\\n                \n                                    <td>\\n                    {{#link action=\\\"sale\\\" active_id=id}}\\n                        {{number}}\\n                    {{/link}}\\n                </td>\\n\n                                    <td>\\n                    {{#link action=\\\"ecom_cart\\\" active_id=related_id}}\\n                        {{related_number}}\\n                    {{/link}}\\n                </td>\\n\n                                    <td>\\n                    {{fmt_date date}}\\n                </td>\\n\n                                    <td>\\n                    {{customer_name}}\\n                </td>\\n\n                                    <td>\\n                    {{phone}}\\n                </td>\\n\n                                    <td>\\n                    {{pay_method}}\\n                </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                    {{currency amount}}\\n                </td>\\n\n                                </tr>\\n        {{/each}}\\n\n                            </tbody>\\n\n                            <tfoot>\\n        \n                                <tr>\\n            \n                                    <th colspan=\\\"5\\\">Total</th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                {{currency total}}\\n            </th>\\n\n                                </tr>\\n\n                            </tfoot>\\n\n                        </table>\\n\"}, \"report_purchase_gen3\": {\"type\": \"hbs\", \"body\": \"\n                        <center>\\n    \n                            <h2>\\n        Purchase Order Generator\\n    </h2>\\n\n                            <h3>\\n        {{company_name}}\\n    </h3>\\n\n                        </center>\\n\n                        <table class=\\\"table table-bordered table-hover table-striped\\\">\\n    \n                            <thead class=\\\"scroll-header\\\">\\n        \n                                <tr>\\n            \n                                    <th style=\\\"width:20px\\\">\n                                        <input type=\\\"checkbox\\\" class=\\\"nf-select-all\\\"/>\n                                    </th>\\n\n                                    <th>\\n                Product Code\\n            </th>\\n\n                                    <th>\\n                Product Name\\n            </th>\\n\n                                    <th>\\n                Supplier Name\\n            </th>\\n\n                                    <th>\\n                Available Qty\\n            </th>\\n\n                                    <th>\\n                Min Qty\\n            </th>\\n\n                                    <th>\\n                Days Until Min Qty\\n            </th>\\n\n                                    <th>\\n                Lead Time Days\\n            </th>\\n\n                                    <th>\\n                Need To Order\\n            </th>\\n\n                                    <th>\\n                Order Qty\\n            </th>\\n\n                                </tr>\\n\n                            </thead>\\n\n                            <tbody>\\n        {{#each lines}}\\n            \n                                <tr {{#if need_order}}style=\\\"background-color:#fcc\\\"{{/if}}>\\n                \n                                    <td>\n                                        <input type=\\\"checkbox\\\" class=\\\"nf-prod-select\\\" data-product-id=\\\"{{prod_id}}\\\" data-qty=\\\"{{qty_order}}\\\"/>\n                                    </td>\\n\n                                    <td>{{link string=prod_code action=\\\"product\\\" active_id=prod_id mode=\\\"form\\\"}}</td>\\n\n                                    <td>{{prod_name}}</td>\\n\n                                    <td>{{supplier_name}}</td>\\n\n                                    <td>{{qty_avail}}</td>\\n\n                                    <td>{{min_qty}}</td>\\n\n                                    <td>\n                                        <a href=\\\"#\\\">{{days_remain}}</a>\n                                    </td>\\n\n                                    <td>{{lead_days}}</td>\\n\n                                    <td>{{#if need_order}}Y{{else}}N{{/if}}</td>\\n\n                                    <td>{{order_qty}}</td>\\n\n                                </tr>\\n        {{/each}}\\n\n                            </tbody>\\n\n                        </table>\\n\n                        <button class=\\\"btn btn-success btn-lg nf-btn-order\\\">\n                            <span class=\\\"glyphicon glyphicon-arrow-right\\\"></span> Order Products\n                        </button>\\n\n                        <script>\\n$(function() {\\n    $(\\\".nf-btn-order\\\").click(function() {\\n        var prod_qtys={};\\n        $(\\\"input.nf-prod-select:checked\\\").each(function() {\\n            var prod_id=$(this).data(\\\"product-id\\\");\\n            var qty=$(this).data(\\\"qty\\\");\\n            prod_qtys[prod_id]=qty;\\n        });\\n        console.log(\\\"prod_qtys\\\",prod_qtys);\\n        if (_.isEmpty(prod_qtys)) {\\n            alert(\\\"No items selected\\\");\\n            return;\\n        }\\n        var action={\\n            name: \\\"stock_order\\\",\\n            context: {\\n                product_qtys: prod_qtys,\\n            },\\n        };\\n        NF.actions.execute(action);\\n    });\\n\\n    $(\\\".nf-select-all\\\").click(function() {\\n        var val=$(this).is(\\\":checked\\\");\\n        $(\\\"input.nf-prod-select\\\").prop(\\\"checked\\\",val);\\n    });\\n});\\n</script>\\n\"}, \"report_purchase_gen\": {\"type\": \"hbs\", \"body\": \"\n                        <center>\\n    \n                            <h2>\\n        Purchase Order Generator\\n    </h2>\\n\n                            <h3>\\n        {{company_name}}\\n    </h3>\\n\n                        </center>\\n\n                        <table class=\\\"table table-bordered table-hover table-striped\\\">\\n    \n                            <thead class=\\\"scroll-header\\\">\\n        \n                                <tr>\\n            \n                                    <th colspan=\\\"4\\\"></th>\\n\n                                    <th colspan=\\\"3\\\" style=\\\"text-align:center\\\">{{date}}</th>\\n            {{#each periods}}\\n\n                                    <th colspan=\\\"10\\\" style=\\\"text-align:center\\\">{{name}}</th>\\n            {{/each}}\\n\n                                    <th colspan=\\\"4\\\"></th>\\n\n                                </tr>\\n\n                                <th colspan=\\\"4\\\"></th>\\n\n                                <th colspan=\\\"3\\\" style=\\\"text-align:center\\\">Available Qty</th>\\n            {{#each periods}}\\n\n                                <th colspan=\\\"1\\\" style=\\\"text-align:center\\\">Incoming</th>\\n\n                                <th colspan=\\\"3\\\" style=\\\"text-align:center\\\">Sales Forecast</th>\\n\n                                <th colspan=\\\"3\\\" style=\\\"text-align:center\\\">Expiry</th>\\n\n                                <th colspan=\\\"3\\\" style=\\\"text-align:center\\\">Remaining Qty</th>\\n            {{/each}}\\n\n                                <th colspan=\\\"4\\\" style=\\\"text-align:center\\\">Purchasing</th>\\n\n                                <tr>\\n            \n                                    <th style=\\\"width:20px\\\">\n                                        <input type=\\\"checkbox\\\" class=\\\"nf-select-all\\\"/>\n                                    </th>\\n\n                                    <th>\\n                Product Code\\n            </th>\\n\n                                    <th>\\n                Product Name\\n            </th>\\n\n                                    <th>\\n                Supplier Name\\n            </th>\\n\n                                    <th>\\n                Life 75%+\\n            </th>\\n\n                                    <th>\\n                Life 50-75%\\n            </th>\\n\n                                    <th>\\n                Life 0-50%\\n            </th>\\n            {{#each periods}}\\n\n                                    <th>\\n                    Total\\n                </th>\\n\n                                    <th>\\n                    Min Life 75%\\n                </th>\\n\n                                    <th>\\n                    Min Life 50%\\n                </th>\\n\n                                    <th>\\n                    No Min Life\\n                </th>\\n\n                                    <th>\\n                    Life 75%+\\n                </th>\\n\n                                    <th>\\n                    Life 50-75%\\n                </th>\\n\n                                    <th>\\n                    Life 0-50%\\n                </th>\\n\n                                    <th>\\n                    Life 75%+\\n                </th>\\n\n                                    <th>\\n                    Life 50-75%\\n                </th>\\n\n                                    <th>\\n                    Life 0-50%\\n                </th>\\n            {{/each}}\\n\n                                    <th>\\n                Months Remaining    \\n            </th>\\n\n                                    <th>\\n                Min Months\\n            </th>\\n\n                                    <th>\\n                Qty To Order\\n            </th>\\n\n                                    <th>\\n                Lead Time (Days)\\n            </th>\\n\n                                </tr>\\n\n                            </thead>\\n\n                            <tbody>\\n        {{#each lines}}\\n            \n                                <tr {{#if below_min}}style=\\\"background-color:#fcc\\\"{{/if}}>\\n                \n                                    <td>\n                                        <input type=\\\"checkbox\\\" class=\\\"nf-prod-select\\\" data-product-id=\\\"{{prod_id}}\\\" data-qty=\\\"{{qty_order}}\\\"/>\n                                    </td>\\n\n                                    <td>{{link string=prod_code action=\\\"product\\\" active_id=prod_id mode=\\\"form\\\"}}</td>\\n\n                                    <td>{{prod_name}}</td>\\n\n                                    <td>{{supplier_name}}</td>\\n\n                                    <td>{{qty_75}}</td>\\n\n                                    <td>{{qty_50}}</td>\\n\n                                    <td>{{qty_other}}</td>\\n                {{#each periods}}\\n\n                                    <td>{{qty_in}}</td>\\n\n                                    <td>{{qty_out_75}}</td>\\n\n                                    <td>{{qty_out_50}}</td>\\n\n                                    <td>{{qty_out_other}}</td>\\n\n                                    <td>{{exp_75}}</td>\\n\n                                    <td>{{exp_50}}</td>\\n\n                                    <td>{{exp_other}}</td>\\n\n                                    <td>{{bal_qty_75}}</td>\\n\n                                    <td>{{bal_qty_50}}</td>\\n\n                                    <td>{{bal_qty_other}}</td>\\n                {{/each}}\\n\n                                    <td>{{qty_months}}</td>\\n\n                                    <td>{{min_months}}</td>\\n\n                                    <td>{{qty_order}}</td>\\n\n                                    <td>{{lead_days}}</td>\\n\n                                </tr>\\n        {{/each}}\\n\n                            </tbody>\\n\n                        </table>\\n\n                        <button class=\\\"btn btn-success btn-lg nf-btn-order\\\">\n                            <span class=\\\"glyphicon glyphicon-arrow-right\\\"></span> Order Products\n                        </button>\\n\n                        <script>\\n$(function() {\\n    $(\\\".nf-btn-order\\\").click(function() {\\n        var prod_qtys={};\\n        $(\\\"input.nf-prod-select:checked\\\").each(function() {\\n            var prod_id=$(this).data(\\\"product-id\\\");\\n            var qty=$(this).data(\\\"qty\\\");\\n            prod_qtys[prod_id]=qty;\\n        });\\n        console.log(\\\"prod_qtys\\\",prod_qtys);\\n        if (_.isEmpty(prod_qtys)) {\\n            alert(\\\"No items selected\\\");\\n            return;\\n        }\\n        var action={\\n            name: \\\"stock_order\\\",\\n            context: {\\n                product_qtys: prod_qtys,\\n            },\\n        };\\n        NF.actions.execute(action);\\n    });\\n\\n    $(\\\".nf-select-all\\\").click(function() {\\n        var val=$(this).is(\\\":checked\\\");\\n        $(\\\"input.nf-prod-select\\\").prop(\\\"checked\\\",val);\\n    });\\n});\\n</script>\\n\"}, \"report_purchase_gen2\": {\"type\": \"hbs\", \"body\": \"\n                        <center>\\n    \n                            <h2>\\n        Purchase Order Generator\\n    </h2>\\n\n                            <h3>\\n        {{company_name}}\\n    </h3>\\n\n                        </center>\\n\n                        <table class=\\\"table table-bordered table-hover table-striped\\\">\\n    \n                            <thead class=\\\"scroll-header\\\">\\n        \n                                <tr>\\n            \n                                    <th colspan=\\\"4\\\"></th>\\n\n                                    <th colspan=\\\"4\\\" style=\\\"text-align:center\\\">Qty Available</th>\\n\n                                    <th colspan=\\\"3\\\" style=\\\"text-align:center\\\">Sales Forecast</th>\\n\n                                    <th colspan=\\\"4\\\" style=\\\"text-align:center\\\">Purchasing</th>\\n\n                                </tr>\\n\n                                <tr>\\n            \n                                    <th style=\\\"width:20px\\\">\n                                        <input type=\\\"checkbox\\\" class=\\\"nf-select-all\\\"/>\n                                    </th>\\n\n                                    <th>\\n                Product Code\\n            </th>\\n\n                                    <th>\\n                Product Name\\n            </th>\\n\n                                    <th>\\n                Supplier Name\\n            </th>\\n\n                                    <th>\\n                All Lots\\n            </th>\\n\n                                    <th>\\n                Life 50%+\\n            </th>\\n\n                                    <th>\\n                Life 75%+\\n            </th>\\n\n                                    <th>\\n                Outgoing Qty\\n            </th>\\n\n                                    <th>\\n                This Month\\n            </th>\\n\n                                    <th>\\n                Next Month\\n            </th>\\n\n                                    <th>\\n                Months Remain    \\n            </th>\\n\n                                    <th>\\n                Incoming Qty\\n            </th>\\n\n                                    <th>\\n                Incoming Date\\n            </th>\\n\n                                    <th>\\n                Qty To Order\\n            </th>\\n\n                                    <th>\\n                Lead Time (Days)\\n            </th>\\n\n                                </tr>\\n\n                            </thead>\\n\n                            <tbody>\\n        {{#each lines}}\\n            \n                                <tr {{#if below_min}}style=\\\"background-color:#fcc\\\"{{/if}}>\\n                \n                                    <td>\n                                        <input type=\\\"checkbox\\\" class=\\\"nf-prod-select\\\" data-product-id=\\\"{{prod_id}}\\\" data-qty=\\\"{{qty_order}}\\\"/>\n                                    </td>\\n\n                                    <td>{{link string=prod_code action=\\\"product\\\" active_id=prod_id mode=\\\"form\\\"}}</td>\\n\n                                    <td>{{prod_name}}</td>\\n\n                                    <td>{{supplier_name}}</td>\\n\n                                    <td>{{qty_phys}}</td>\\n\n                                    <td>{{qty_phys_life_50}}</td>\\n\n                                    <td>{{qty_phys_life_75}}</td>\\n\n                                    <td>{{qty_out}}</td>\\n\n                                    <td>{{qty_forecast}}</td>\\n\n                                    <td>{{qty_forecast_next}}</td>\\n\n                                    <td>{{months_remain}}</td>\\n\n                                    <td>{{qty_in}}</td>\\n\n                                    <td>{{in_date}}</td>\\n\n                                    <td>{{qty_order}}</td>\\n\n                                    <td>{{lead_days}}</td>\\n\n                                </tr>\\n        {{/each}}\\n\n                            </tbody>\\n\n                        </table>\\n\n                        <button class=\\\"btn btn-success btn-lg nf-btn-order\\\">\n                            <span class=\\\"glyphicon glyphicon-arrow-right\\\"></span> Order Products\n                        </button>\\n\n                        <script>\\n$(function() {\\n    $(\\\".nf-btn-order\\\").click(function() {\\n        var prod_qtys={};\\n        $(\\\"input.nf-prod-select:checked\\\").each(function() {\\n            var prod_id=$(this).data(\\\"product-id\\\");\\n            var qty=$(this).data(\\\"qty\\\");\\n            prod_qtys[prod_id]=qty;\\n        });\\n        console.log(\\\"prod_qtys\\\",prod_qtys);\\n        if (_.isEmpty(prod_qtys)) {\\n            alert(\\\"No items selected\\\");\\n            return;\\n        }\\n        var action={\\n            name: \\\"stock_order\\\",\\n            context: {\\n                product_qtys: prod_qtys,\\n            },\\n        };\\n        NF.actions.execute(action);\\n    });\\n\\n    $(\\\".nf-select-all\\\").click(function() {\\n        var val=$(this).is(\\\":checked\\\");\\n        $(\\\"input.nf-prod-select\\\").prop(\\\"checked\\\",val);\\n    });\\n});\\n</script>\\n\"}, \"report_commission_po\": {\"type\": \"hbs\", \"body\": \"\n                        <center>\\n    \n                            <h2>\\n        Commission Purchase Report\\n    </h2>\\n\n                            <h3>\\n        {{company_name}}\\n        \n                                <br/>\\n        From {{fmt_date date_from}} to {{fmt_date date_to}}\\n\n                            </h3>\\n\n                        </center>\\n\n                        <table class=\\\"table\\\">\\n    \n                            <thead class=\\\"scroll-header\\\">\\n        \n                                <tr>\\n            \n                                    <th>\\n                Date\\n            </th>\\n\n                                    <th>\\n                Purchase Order\\n            </th>\\n\n                                    <th>\\n                Supplier\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Purchase Amount\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Commission Percent\\n            </th>\\n\n                                    <th style=\\\"text-align:right\\\">\\n                Commission Amount\\n            </th>\\n\n                                </tr>\\n\n                            </thead>\\n\n                            <tbody>\\n        {{#each groups}}\\n            \n                                <tr>\\n                \n                                    <th colspan=\\\"10\\\">\\n                    Customer: {{customer}}\\n                </th>\\n\n                                </tr>\\n            {{#each lines context=context}}\\n\n                                <tr>\\n                    \n                                    <td>\\n                        {{fmt_date date}}\\n                    </td>\\n\n                                    <td>\\n                        {{#view \\\"link\\\" action=\\\"purchase\\\" action_options=\\\"mode=form\\\" active_id=id context=context}}\\n                            {{../number}}\\n                        {{/view}}\\n                    </td>\\n\n                                    <td>\\n                        {{supplier}}\\n                    </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                        {{currency amount_subtotal zero=\\\"\\\"}}\\n                    </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                        {{currency commission_percent zero=\\\"\\\"}}\\n                    </td>\\n\n                                    <td style=\\\"text-align:right\\\">\\n                        {{currency commission_amount zero=\\\"\\\"}}\\n                    </td>\\n\n                                </tr>\\n            {{/each}}\\n\n                                <tr>\\n                \n                                    <th colspan=\\\"3\\\" style=\\\"border-bottom: 1px solid black\\\">Totals</th>\\n\n                                    <th style=\\\"text-align:right;border-bottom: 1px solid black\\\">\\n                    {{currency totals.amount_subtotal zero=\\\"\\\"}}\\n                </th>\\n\n                                    <th style=\\\"border-bottom: 1px solid black\\\"></th>\\n\n                                    <th style=\\\"text-align:right;border-bottom: 1px solid black\\\">\\n                    {{currency totals.commission_amount zero=\\\"\\\"}}\\n                </th>\\n\n                                </tr>\\n        {{/each}}\\n\n                            </tbody>\\n\n                            <tfoot>\\n        \n                                <tr>\\n            \n                                    <th colspan=\\\"3\\\" style=\\\"border-bottom: 1px solid black\\\">Grand Totals</th>\\n\n                                    <th style=\\\"text-align:right;border-bottom: 1px solid black\\\">\\n                {{currency totals.amount_subtotal zero=\\\"\\\"}}\\n            </th>\\n\n                                    <th style=\\\"border-bottom: 1px solid black\\\"></th>\\n\n                                    <th style=\\\"text-align:right;border-bottom: 1px solid black\\\">\\n                {{currency totals.commission_amount zero=\\\"\\\"}}\\n            </th>\\n\n                                </tr>\\n\n                            </tfoot>\\n\n                        </table>\\n\"}, \"report_purchase_picking\": {\"type\": \"hbs\", \"body\": \"\n                        <center>\\n    \n                            <h2>\\n        Purchase Order vs Goods Receipt Report\\n    </h2>\\n\n                            <h3>\\n        {{company_name}}\\n        \n                                <br/>\\n        From {{fmt_date date_from}} to {{fmt_date date_to}}\\n\n                            </h3>\\n\n                        </center>\\n\n                        <table class=\\\"table table-bordered\\\">\\n    \n                            <thead>\\n        \n                                <tr>\\n            \n                                    <th>\\n                Purchase Order\\n            </th>\\n\n                                    <th style=\\\"text-align:center\\\">\\n                Total Qty in PO (x)\\n            </th>\\n\n                                    <th style=\\\"text-align:center\\\">\\n                No of GRs Created\\n            </th>\\n\n                                    <th style=\\\"text-align:center\\\">\\n                Total Qty Received (y)\\n            </th>\\n\n                                    <th style=\\\"text-align:center\\\">\\n                Total Qty Remaining (x-y)\\n            </th>\\n\n                                </tr>\\n\n                            </thead>\\n\n                        </tbody>\\n        {{#each data.lines}}\\n\n                        <tr>\\n                \n                            <td> \\n                    {{purchase_number}}\\n                </td>\\n\n                            <td style=\\\"text-align:center\\\">\\n                    \n                                <a href='/action?name=purchase&mode=form&active_id={{purchase_id}}' target=\\\"_blank\\\">\\n                        {{total_qty}}\\n                    </a>\\n\n                            </td>\\n\n                            <td style=\\\"text-align:center\\\">\\n                    \n                                <a href='/action?name=pick_in&search_condition=[[\\\"related_id\\\",\\\"=\\\",\\\"purchase.order,{{purchase_id}}\\\"]]' target=\\\"_blank\\\">\\n                       {{total_pick_in}}\\n                    </a>\\n\n                            </td>\\n\n                            <td style=\\\"text-align:center\\\">\\n                    \n                                <a href='/action?name=stock_move&search_condition=[[\\\"id\\\",\\\"in\\\",[{{move_ids}}]]]' target=\\\"_blank\\\">\\n                        {{total_qty_received}}\\n                    </a>\\n\n                            </td>\\n\n                            <td style=\\\"text-align:center\\\">\\n                    {{total_qty_pending}}\\n                </td>\\n\n                        </tr>\\n        {{/each}}\\n\n                    </tbody>\\n\n                </table>\\n\"}, \"report_production_order\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        Production Order Report\\n    </h2>\\n\n                </center>\\n\n                <table class=\\\"table table-striped\\\">\\n    \n                    <thead class=\\\"scroll-header\\\">\\n        \n                        <tr>\\n            \n                            <th>No</th>\\n\n                            <th>Number</th>\\n\n                            <th>Order Date</th>\\n\n                            <th>Sale Order Number</th>\\n\n                            <th>Product Code</th>\\n\n                            <th>Product Name</th>\\n\n                            <th>Production Location</th>\\n\n                            <th>Planned Qty</th>\\n\n                            <th>Received Qty</th>\\n\n                            <th>UoM</th>\\n\n                            <th>Time Start</th>\\n\n                            <th>Time Stop</th>\\n\n                            <th>Duration (Minutes)</th>\\n\n                            <th>Statue</th>\\n\n                        </tr>\\n\n                    </thead>\\n    {{#each lines context=context}}\\n\n                    <tbody>\\n            \n                        <tr>\\n                \n                            <td>{{_item_no}}</td>\\n\n                            <td>{{number}}</td>\\n\n                            <td>{{order_date}}</td>\\n\n                            <td>{{sale_order_number}}</td>\\n\n                            <td>{{product_code}}</td>\\n\n                            <td>{{product_name}}</td>\\n\n                            <td>{{production_location}}</td>\\n\n                            <td text-align=\\\"right\\\">{{currency qty_planned}}</td>\\n\n                            <td text-align=\\\"right\\\">{{currency qty_received}}</td>\\n\n                            <td>{{uom}}</td>\\n\n                            <td>{{time_start}}</td>\\n\n                            <td>{{time_stop}}</td>\\n\n                            <td>{{currency duration}}</td>\\n\n                            <td>{{state}}</td>\\n\n                        </tr>\\n\n                    </tbody>\\n    {{/each}}\\n\n                </table>\\n\"}, \"report_safe_in\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        Close Safe\\n    </h2>\\n\n                </center>\\n\n                <table class=\\\"table table-striped\\\">\\n    \n                    <thead class=\\\"scroll-header\\\">\\n        \n                        <tr>\\n            \n                            <th>\\n                Order\\n            </th>\\n\n                            <th>\\n                Container no.\\n            </th>\\n\n                            <th>\\n                Barcode\\n            </th>\\n\n                            <th>\\n                Sales Number\\n            </th>\\n\n                            <th>\\n                Production Number\\n            </th>\\n\n                            <th>\\n                Product Code\\n            </th>\\n\n                            <th>\\n                Description\\n            </th>\\n\n                            <th>\\n                Weight\\n            </th>\\n\n                            <th>\\n                Unit\\n            </th>\\n\n                            <th>\\n                From\\n            </th>\\n\n                            <th>\\n                To\\n            </th>\\n\n                            <th>\\n                Store\\n            </th>\\n\n                            <th>\\n                State\\n            </th>\\n\n                        </tr>\\n\n                    </thead>\\n    {{#each lines context=context}}\\n\n                    <tbody>\\n            \n                        <tr>\\n                \n                            <td>\\n                    {{order}}\\n                </td>\\n\n                            <td>\\n                    {{container_number}}\\n                </td>\\n\n                            <td>\\n                    {{barcode}}\\n                </td>\\n\n                            <td>\\n                    {{sales_number}}\\n                </td>\\n\n                            <td>\\n                    {{production_number}}\\n                </td>\\n\n                            <td>\\n                    {{product_code}}\\n                </td>\\n\n                            <td>\\n                    {{description}}\\n                </td>\\n\n                            <td>\\n                    {{qty}}\\n                </td>\\n\n                            <td>\\n                    {{uom}}\\n                </td>\\n\n                            <td>\\n                    {{location_from}}\\n                </td>\\n\n                            <td>\\n                    {{location_to}}\\n                </td>\\n\n                            <td>\\n                    {{location_store}}\\n                </td>\\n\n                            <td>\\n                    {{state}}\\n                </td>\\n\n                        </tr>\\n\n                    </tbody>\\n    {{/each}}\\n\n                </table>\\n\"}, \"issue_rm\": {\"type\": \"hbs\", \"body\": \"\n                <!DOCTYPE html>\\n\n                <html>\\n\n                    <head>\\n\n                        <link rel=\\\"stylesheet\\\" href=\\\"/static/barcode/bootstrap.css\\\"/>\\n\n                        <link rel=\\\"stylesheet\\\" href=\\\"/static/barcode/bootstrap-theme.css\\\"/>\\n\n                    </head>\\n\n                    <body>\\n{{#if error}}\\n\n                        <div class=\\\"alert alert-danger\\\">\\n{{error}}\\n</div>\\n{{/if}}\\n\n                        <form action=\\\"/issue_rm\\\" method=\\\"post\\\">\\n    \n                            <div class=\\\"form-group\\\">\\n        \n                                <label>Barcode</label>\\n\n                                <input type=\\\"text\\\" class=\\\"form-control\\\" name=\\\"barcode\\\" value=\\\"{{barcode}}\\\"/>\\n\n                            </div>\\n\n                            <div class=\\\"form-group\\\">\\n        \n                                <label>Qty</label>\\n\n                                <input type=\\\"number\\\" class=\\\"form-control\\\" name=\\\"qty\\\" value=\\\"{{qty}}\\\"/>\\n\n                            </div>\\n\n                            <button class=\\\"btn btn-primary\\\">Create Goods Issue</button>\\n\n                        </form>\\n\n                    </body>\\n\n                </html>\\n\"}, \"report_safe_out\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        Open Safe\\n    </h2>\\n\n                </center>\\n\n                <table class=\\\"table table-striped\\\">\\n    \n                    <thead class=\\\"scroll-header\\\">\\n        \n                        <tr>\\n            \n                            <th>\\n                Order\\n            </th>\\n\n                            <th>\\n                Container no.\\n            </th>\\n\n                            <th>\\n                Barcode\\n            </th>\\n\n                            <th>\\n                Sales Number\\n            </th>\\n\n                            <th>\\n                Production Number\\n            </th>\\n\n                            <th>\\n                Product Code\\n            </th>\\n\n                            <th>\\n                Description\\n            </th>\\n\n                            <th>\\n                Weight\\n            </th>\\n\n                            <th>\\n                Unit\\n            </th>\\n\n                            <th>\\n                From\\n            </th>\\n\n                            <th>\\n                To\\n            </th>\\n\n                            <th>\\n                Store\\n            </th>\\n\n                            <th>\\n                State\\n            </th>\\n\n                        </tr>\\n\n                    </thead>\\n    {{#each lines context=context}}\\n\n                    <tbody>\\n            \n                        <tr>\\n                \n                            <td>\\n                    {{order}}\\n                </td>\\n\n                            <td>\\n                    {{container_number}}\\n                </td>\\n\n                            <td>\\n                    {{barcode}}\\n                </td>\\n\n                            <td>\\n                    {{sales_number}}\\n                </td>\\n\n                            <td>\\n                    {{production_number}}\\n                </td>\\n\n                            <td>\\n                    {{product_code}}\\n                </td>\\n\n                            <td>\\n                    {{description}}\\n                </td>\\n\n                            <td>\\n                    {{qty}}\\n                </td>\\n\n                            <td>\\n                    {{uom}}\\n                </td>\\n\n                            <td>\\n                    {{location_from}}\\n                </td>\\n\n                            <td>\\n                    {{location_to}}\\n                </td>\\n\n                            <td>\\n                    {{location_store}}\\n                </td>\\n\n                            <td>\\n                    {{state}}\\n                </td>\\n\n                        </tr>\\n\n                    </tbody>\\n    {{/each}}\\n\n                </table>\\n\"}, \"report_production_component\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        Production Component Report\\n    </h2>\\n\n                </center>\\n\n                <table class=\\\"table table-striped\\\">\\n    \n                    <thead class=\\\"scroll-header\\\">\\n        \n                        <tr>\\n            \n                            <th>No</th>\\n\n                            <th>Sale Order Number</th>\\n\n                            <th>Order Date</th>\\n\n                            <th>Number</th>\\n\n                            <th>Product Code</th>\\n\n                            <th>Product Name</th>\\n\n                            <th>Production Location</th>\\n\n                            <th>Received Qty</th>\\n\n                            <th>Issued Qty</th>\\n\n                            <th>Remain Qty</th>\\n\n                            <th>Container</th>\\n\n                            <th>Remark</th>\\n\n                        </tr>\\n\n                    </thead>\\n    {{#each lines context=context}}\\n\n                    <tbody>\\n            \n                        <tr>\\n                \n                            <td>{{_item_no}}</td>\\n\n                            <td>{{sale_order_number}}</td>\\n\n                            <td>{{order_date}}</td>\\n\n                            <td>{{number}}</td>\\n\n                            <td>{{product_code}}</td>\\n\n                            <td>{{product_name}}</td>\\n\n                            <td>{{production_location}}</td>\\n\n                            <td text-align=\\\"right\\\">{{currency qty_received}}</td>\\n\n                            <td text-align=\\\"right\\\">{{currency qty_issued}}</td>\\n\n                            <td text-align=\\\"right\\\">{{currency qty_stock}}</td>\\n\n                            <td>{{container}}</td>\\n\n                            <td>{{remark}}</td>\\n\n                        </tr>\\n\n                    </tbody>\\n    {{/each}}\\n\n                </table>\\n\"}, \"report_production_qc\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        Production QC Report\\n    </h2>\\n\n                </center>\\n\n                <table class=\\\"table table-striped\\\">\\n    \n                    <thead class=\\\"scroll-header\\\">\\n        \n                        <tr>\\n            \n                            <th>No</th>\\n\n                            <th>Order Date</th>\\n\n                            <th>Number</th>\\n\n                            <th>Product Code</th>\\n\n                            <th>Product Name</th>\\n\n                            <th>Sale Order Number</th>\\n\n                            <th>Test Name</th>\\n\n                            <th>Sample Qty</th>\\n\n                            <th>Min Value</th>\\n\n                            <th>Max Value</th>\\n\n                            <th>Value</th>\\n\n                            <th>Result</th>\\n\n                        </tr>\\n\n                    </thead>\\n    {{#each lines context=context}}\\n\n                    <tbody>\\n            \n                        <tr>\\n                \n                            <td>{{_item_no}}</td>\\n\n                            <td>{{order_date}}</td>\\n\n                            <td>{{number}}</td>\\n\n                            <td>{{product_code}}</td>\\n\n                            <td>{{product_name}}</td>\\n\n                            <td>{{sale_order_number}}</td>\\n\n                            <td>{{test}}</td>\\n\n                            <td text-align=\\\"right\\\">{{currency sample_qty}}</td>\\n\n                            <td text-align=\\\"right\\\">{{currency min_value}}</td>\\n\n                            <td text-align=\\\"right\\\">{{currency max_value}}</td>\\n\n                            <td text-align=\\\"right\\\">{{value}}</td>\\n\n                            <td>{{result}}</td>\\n\n                        </tr>\\n\n                    </tbody>\\n    {{/each}}\\n\n                </table>\\n\"}, \"report_attendance_summary\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        Attendance Summary\\n    </h2>\\n\n                    <h3>\\n        {{company_name}}\\n        \n                        <br/>\\n        From {{fmt_date date_from}} to {{fmt_date date_to}}\\n\n                    </h3>\\n\n                </center>\\n\n                <table class=\\\"table table-striped\\\">\\n    \n                    <thead class=\\\"scroll-header\\\">\\n        \n                        <tr>\\n            \n                            <th>\\n                Date\\n            </th>\\n\n                            <th>\\n                Employee\\n            </th>\\n\n                            <th style=\\\"text-align:right\\\">\\n                In Time\\n            </th>\\n\n                            <th style=\\\"text-align:right\\\">\\n                Out Time\\n            </th>\\n\n                            <th style=\\\"text-align:right\\\">\\n                Total Hours\\n            </th>\\n\n                        </tr>\\n\n                    </thead>\\n\n                    <tbody>\\n        {{#each lines context=context}}\\n            \n                        <tr>\\n                \n                            <td>\\n                    \n                                <strong>\\n                        {{fmt_date date}}\\n                    </strong>\\n\n                            </td>\\n\\n\n                            <td style=\\\"text-align:left\\\">\\n                     \n                                <a href=\\n\\\"/ui#name=attend&amp;mode=list&amp;search_domain=[[&quot;employee_id&quot;,&quot;=&quot;,&quot;{{employee_id}}&quot;],[&quot;time&quot;,&quot;&gt;=&quot;,&quot;{{d}} 00:00:00&quot;],[&quot;time&quot;,&quot;&lt;=&quot;,&quot;{{d}} 23:59:59&quot;]]\\\">\\n\\n                        {{name}}\\n                    </a>\\n\n                            </td>\\n\\n\n                            <td style=\\\"text-align:right\\\">\\n                    {{in_time}}\\n                </td>\\n\\n\n                            <td style=\\\"text-align:right\\\">\\n                    {{out_time}}\\n                </td>\\n\\n\n                            <td style=\\\"text-align:right\\\">\\n                    {{currency total_time}}\\n                </td>\\n\\n\n                        </tr>\\n        {{/each}}\\n\n                    </tbody>\\n\n                </table>\\n\"}, \"report_leave_details\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        Leave Details\\n    </h2>\\n\n                    <h3>\\n        {{company_name}}\\n    </h3>\\n\n                </center>\\n\n                <table class=\\\"table table-striped\\\">\\n    \n                    <thead class=\\\"scroll-header\\\">\\n        \n                        <tr>\\n            \n                            <th>\\n                Employee\\n            </th>\\n\n                            <th>\\n                Leave Type\\n            </th>\\n\n                            <th>\\n                Total Leave\\n            </th>\\n\n                        </tr>\\n\n                    </thead>\\n\n                    <tbody>\\n        {{#each lines context=context}}\\n            \n                        <tr>\\n                \n                            <td>\\n                    {{name}}\\n                </td>\\n\n                            <td>\\n                    {{leave_type_id}}\\n                </td>\\n\n                            <td>\\n                    {{days_requested}}\\n                </td>\\n\n                        </tr>\\n        {{/each}}\\n\n                    </tbody>\\n\n                </table>\\n\"}, \"report_payroll_summary\": {\"type\": \"hbs\", \"body\": \"\n                <center>\\n    \n                    <h2>\\n        {{comp_name}}\\n    </h2>\\n\n                    <h3>\\n        Income-Expense-Tax Report\\n    </h3>\\n\n                    <h4>\\n        Report Date {{report_date}}\\n    </h4>\\n\n                </center>\\n\n                <table class=\\\"table\\\">\\n    \n                    <thead>\\n        \n                        <tr>\\n            \n                            <th colspan=\\\"3\\\">Employee Type</th>\\n\n                            <th colspan=\\\"5\\\">{{emp_type}}</th>\\n\n                            <th colspan=\\\"8\\\"></th>\\n\n                        </tr>\\n\n                        <!--\\n        <tr>\\n            <th>No.</th>\\n<th>Dept. Code</th>\\n<th>Emp. Code</th>\\n<th>Name</th>\\n<th colspan=\\\"10\\\"></th>\\n</tr>\\n        -->\\n        \n                        <tr>\\n            \n                            <th>No.</th>\\n\n                            <th>Dept. Code</th>\\n\n                            <th>Emp. Code</th>\\n\n                            <th>Name</th>\\n\n                            <!--\\n            <th colspan=\\\"4\\\"></th>\\n            -->\\n            \n                            <th>Salary</th>\\n\n                            <th>Bonus</th>\\n\n                            <th>Other Income</th>\\n\n                            <th>Overtime</th>\\n\n                            <th>Total Income</th>\\n\n                            <th>Other Expenses</th>\\n\n                            <th>Soc. Fund</th>\\n\n                            <th>Provident Fund</th>\\n\n                            <th>Loan</th>\\n\n                            <th>Tax</th>\\n\n                            <th>Total Expense</th>\\n\n                            <th>Net Income</th>\\n\n                        </tr>\\n\n                    </thead>\\n\n                    <tbody>\\n        {{#each lines}}\\n            \n                        <!--payitem lines -->\\n            {{#if last}}\\n                \n                        <tr>\\n                    {{#if is_total}}\\n                        \n                            <th colspan=\\\"4\\\" style=\\\"border-top: 1px solid #999;border-bottom:1px solid #999;\\\">Total By Dept. {{dpt_name}}</th>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom:1px solid #999;\\\">{{currency salary zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom:1px solid #999;\\\">{{currency bonus zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom:1px solid #999;\\\">{{currency other_income zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom:1px solid #999;\\\">{{currency ot zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom:1px solid #999;\\\">{{currency total_income zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom:1px solid #999;\\\">{{currency other_expense zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom:1px solid #999;\\\">{{currency soc zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom:1px solid #999;\\\">{{currency prov zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom:1px solid #999;\\\">{{currency loan zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom:1px solid #999;\\\">{{currency tax zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom:1px solid #999;\\\">{{currency total_expense zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom:1px solid #999;\\\">{{currency net_income zero=\\\"\\\"}}</td>\\n                    {{else}}\\n\n                            <th colspan=\\\"4\\\" style=\\\"border-top: 1px solid #999;border-bottom: 2px solid #999\\\">Grand Total</th>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom: 2px solid #999\\\">{{currency salary zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom: 2px solid #999\\\">{{currency bonus zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom: 2px solid #999\\\">{{currency other_income zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom: 2px solid #999\\\">{{currency ot zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom: 2px solid #999\\\">{{currency total_income zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom: 2px solid #999\\\">{{currency other_expense zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom: 2px solid #999\\\">{{currency soc zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom: 2px solid #999\\\">{{currency prov zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom: 2px solid #999\\\">{{currency loan zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom: 2px solid #999\\\">{{currency tax zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom: 2px solid #999\\\">{{currency total_expense zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right;border-top: 1px solid #999;border-bottom: 2px solid #999\\\">{{currency net_income zero=\\\"\\\"}}</td>\\n                    {{/if}}\\n\n                        </tr>\\n            {{else}}\\n\n                        <!--\\n                <tr>\\n                    <th>{{no}}.</th>\\n<th>{{dpt_code}}</th>\\n<th>{{emp_code}}</th>\\n<th colspan=\\\"5\\\">{{emp_name}}</th>\\n<th colspan=\\\"9\\\"></th>\\n</tr>\\n                -->\\n                \n                        <tr>\\n                    \n                            <th>{{no}}.</th>\\n\n                            <th>{{dpt_code}}</th>\\n\n                            <th>{{emp_code}}</th>\\n\n                            <th>\\n                        {{link string=emp_name action=\\\"employee\\\" action_options='{\\\"mode\\\":\\\"form\\\"}' active_id=emp_id}}\\n                    </th>\\n\n                            <td style=\\\"text-align:right\\\">{{currency salary zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right\\\">{{currency bonus zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right\\\">{{currency other_income zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right\\\">{{currency ot zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right\\\">{{currency total_income zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right\\\">{{currency other_expense zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right\\\">{{currency soc zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right\\\">{{currency prov zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right\\\">{{currency loan zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right\\\">{{currency tax zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right\\\">{{currency total_expense zero=\\\"\\\"}}</td>\\n\n                            <td style=\\\"text-align:right\\\">{{currency net_income zero=\\\"\\\"}}</td>\\n\n                        </tr>\\n            {{/if}}\\n        {{/each}}\\n\n                    </tbody>\\n\n                    <tfoot>\\n    </tfoot>\\n\n                </table>\\n\"}, \"nd_report_return\": {\"type\": \"jsx\", \"body\": \"\n                <div>\\n\n                    <center>\\n\n                        <h2>Product Returns</h2>\\n\n                    </center>\\n{function() {\\n    if (customers.length==0) return\n                    <p>There are no items to display</p>;\\n    return\n                    <table className=\\\"table\\\">\\n        \n                        <thead>\\n            \n                            <tr>\\n                \n                                <th>Customer Code</th>\\n\n                                <th>Customer First Name</th>\\n\n                                <th>Customer Last Name</th>\\n\n                                <th>Product Name</th>\\n\n                                <th>Delivered Qty</th>\\n\n                                <th>Returned Qty</th>\\n\n                                <th>Remaining Qty To Return</th>\\n\n                            </tr>\\n\n                        </thead>\\n\n                        <tbody>\\n            {customers.map((c)=>{\\n                return c.products.map((p)=>{\\n                    return \n                            <tr>\\n                        \n                                <td>\n                                    <a href={\\\"/action?name=nd_customer&mode=form&active_id=\\\"+c.id}>{c.code}</a>\n                                </td>\\n\n                                <td>{c.first_name}</td>\\n\n                                <td>{c.last_name}</td>\\n\n                                <td>{p.name}</td>\\n\n                                <td>{p.out_qty}</td>\\n\n                                <td>{p.in_qty}</td>\\n\n                                <td>\n                                    <b>{p.bal_qty}</b>\n                                </td>\\n\n                            </tr>\\n                });\\n            })}\\n\n                        </tbody>\\n\n                    </table>\\n}.bind(this)()}\\n\n                </div>\\n\"}, \"nd_report_driver_pay\": {\"type\": \"jsx\", \"body\": \"\n                <div>\\n\n                    <center>\\n\n                        <h2>Driver Payable</h2>\\n\n                        <h3>{date_from} to {date_to}</h3>\\n\n                    </center>\\n{function() {\\n    if (drivers.length==0) return\n                    <p>There are no items to display</p>;\\n    return\n                    <table className=\\\"table\\\">\\n        \n                        <thead>\\n            \n                            <tr>\\n                \n                                <th>Driver Name</th>\\n\n                                <th>Date</th>\\n\n                                <th>Job Number</th>\\n\n                                <th>Due Amount</th>\\n\n                            </tr>\\n\n                        </thead>\\n\n                        <tbody>\\n            {drivers.map((d)=>{\\n                return [\\n                    \n                            <tr>\\n                        \n                                <td>\n                                    <b>{d.name}</b>\n                                </td>\\n\n                                <td></td>\\n\n                                <td></td>\\n\n                                <td></td>\\n\n                            </tr>,\\n                    d.jobs.map((j)=>{\\n                        return\n                            <tr>\\n                            \n                                <td></td>\\n\n                                <td>{j.date}</td>\\n\n                                <td>\n                                    <a href={\\\"/action?name=nd_job&mode=form&active_id=\\\"+j.id}>{j.number}</a>\n                                </td>\\n\n                                <td>{j.amount_due}</td>\\n\n                            </tr>\\n                    }),\\n\n                            <tr>\\n                        \n                                <td></td>\\n\n                                <td></td>\\n\n                                <td></td>\\n\n                                <td>\n                                    <b>Total: {d.amount_due_total}</b>\n                                </td>\\n\n                            </tr>];\\n            })}\\n\n                        </tbody>\\n\n                    </table>\\n}.bind(this)()}\\n</div>\\n\"}}, \"languages\": [{\"name\": \"English\", \"code\": \"en_US\"}, {\"name\": \"Malay\", \"code\": \"ms-MY\"}], \"translations\": {\"translations\": {\"en_US\": {\"VAT\": \"GST\"}, \"ms-MY\": {\"Access Control\": \"Kawalan akses\", \"Accounting\": \"perakaunan\", \"Accounting Balance (Cur)\": \"Perakaunan Baki (kini)\", \"Accounting Dashboard\": \"perakaunan Dashboard\", \"Account Transactions\": \"Transaksi akaun\", \"Actions\": \"tindakan\", \"Active\": \"aktif\", \"Add Contact\": \"Tambah Kenalan\", \"Add Missing Translations\": \"Menambah penterjemahan Hilang\", \"Addon Name\": \"Nama addon\", \"Addons\": \"addons\", \"Add Product\": \"Tambah Produk\", \"Aged Payables Details\": \"Berumur Maklumat Pemiutang\", \"Aged Receivables Details\": \"Berumur Penghutang Butiran\", \"All\": \"Semua\", \"All Reports\": \"semua Laporan\", \"Archive\": \"arkib\", \"Archived\": \"diarkibkan\", \"Attachments\": \"lampiran\", \"Audit Log\": \"Audit Log\", \"Balance Sheet\": \"Penyata imbangan\", \"Bank\": \"Bank\", \"Bank Accounts\": \"Akaun bank\", \"Bank Feeds\": \"Feeds Bank\", \"Banks\": \"Banks\", \"Bank Statements\": \"Penyata Bank\", \"Bank Summary\": \"Bank Ringkasan\", \"Billing\": \"Billing\", \"Blocks\": \"blok\", \"Blog Posts\": \"Blog Posts\", \"Blogs\": \"Blogs\", \"Brands\": \"jenama\", \"Brands Group\": \"Kumpulan jenama\", \"Budgets\": \"belanjawan\", \"Business Areas\": \"Kawasan perniagaan\", \"Carts\": \"Carts\", \"Cash Flow Statement\": \"Penyata aliran tunai\", \"Chart of Accounts\": \"Carta Akaun\", \"Cheques\": \"cek\", \"Code\": \"Kod\", \"Commission Purchase Report\": \"Laporan Pembelian Suruhanjaya\", \"Companies\": \"syarikat-syarikat\", \"Company Types\": \"Jenis syarikat\", \"Competitors\": \"pesaing\", \"Components\": \"komponen\", \"Compute Cost\": \"Kos Compute\", \"Contact Analysis\": \"Cara Analisis\", \"Contact Categories\": \"Hubungi Kategori\", \"Contact Category\": \"Hubungi Kategori\", \"Contact Dashboard\": \"Hubungi Dashboard\", \"Contact Groups\": \"Hubungi Kumpulan\", \"Contacts\": \"kenalan\", \"Contacts Per Category\": \"Kenalan Per Kategori\", \"Containers\": \"bekas\", \"Content\": \"Kandungan\", \"Conversion Balances\": \"Baki penukaran\", \"Costing\": \"berharga\", \"Countries\": \"negara\", \"Coupon Masters\": \"Masters kupon\", \"Coupons\": \"kupon\", \"Cron Jobs\": \"cron Jobs\", \"Currencies\": \"mata wang\", \"Customers\": \"pelanggan\", \"Dashboard\": \"Dashboard\", \"Delete\": \"Padam\", \"Delivery Slots\": \"Slots penghantaran\", \"Demand Forecast Analysis\": \"Analisis Ramalan permintaan\", \"Description\": \"Penerangan\", \"Districts\": \"daerah\", \"Document Categories\": \"Kategori dokumen\", \"Document Dashboard\": \"dokumen Dashboard\", \"Documents\": \"dokumen\", \"Documents expiring within 35 days\": \"Dokumen yang akan tamat tempoh dalam masa 35 hari\", \"Documents per category\": \"Dokumen bagi setiap kategori\", \"Document Templates\": \"Templat dokumen\", \"Ecommerce\": \"e-dagang\", \"Ecommerce Dashboard\": \"e-dagang Dashboard\", \"Email\": \"e-mel\", \"Email Accounts\": \"Akaun e-mel\", \"Email Blacklist\": \"e-mel Blacklist\", \"Email Mailboxes\": \"Peti mel e-mel\", \"Email Messages\": \"Mesej e-mel\", \"Email Templates\": \"Templat e-mel\", \"End\": \"akhir\", \"English\": \"bahasa inggeris\", \"Events\": \"Peristiwa\", \"Expected revenue\": \"pendapatan dijangka\", \"Export\": \"Eksport\", \"Extra Price (USD per month)\": \"Tambahan Harga (USD sebulan)\", \"Field Access\": \"Field Access\", \"Financial Settings\": \"Tetapan kewangan\", \"Fixed Assets\": \"Aset tetap\", \"Fixed Asset Types\": \"Jenis Aset Tetap\", \"Fleet Sizes\": \"saiz armada\", \"General\": \"umum\", \"General Dashboard\": \"Dashboard umum\", \"General Ledger Details\": \"Lejar Am Maklumat\", \"General Ledger Summary\": \"Lejar Am Ringkasan\", \"Goods Issue\": \"barang Issue\", \"Goods Receipt\": \"barang Resit\", \"Goods Transfer\": \"barang Transfer\", \"Google Translate\": \"Terjemahan Google\", \"Groups\": \"kumpulan\", \"Help\": \"Bantu\", \"Import\": \"import\", \"Import a Statement\": \"Mengimport Pernyataan\", \"Incoming Goods\": \"Barangan yang diterima\", \"Industries\": \"Industries\", \"Inline Help\": \"inline Bantuan\", \"Installed\": \"dipasang\", \"Internal\": \"dalaman\", \"Internal Messages\": \"Mesej dalaman\", \"Internal Message Templates\": \"Templat Mesej dalaman\", \"Inventory\": \"inventori\", \"Inventory Dashboard\": \"inventori Dashboard\", \"Inventory Settings\": \"Tetapan inventori\", \"Invoice Analysis\": \"Analisis invois\", \"Invoice Line Analysis\": \"Analisis Line invois\", \"Issue Analysis\": \"Analisis isu\", \"Issues\": \"isu-isu\", \"Issues Closed Per Day\": \"Isu Ditutup Sehari\", \"Issue Types\": \"Jenis keluaran\", \"items per page\": \"setiap halaman\", \"Journal Entries\": \"Journal Entries\", \"Journal Report\": \"Laporan jurnal\", \"Journals\": \"jurnal\", \"Landed Costs\": \"Kos mendarat\", \"Language\": \"bahasa\", \"Languages\": \"bahasa\", \"Last login\": \"Log masuk kali terakhir\", \"Leads\": \"Leads\", \"Leads Analysis\": \"membawa Analisis\", \"Lead Sources\": \"Sumber Lead\", \"Loading...\": \"Loading ...\", \"Logout\": \"Log keluar\", \"Lot / Serial Numbers\": \"Lot / Nombor Siri\", \"Main Menu\": \"Menu utama\", \"Malay\": \"Malay\", \"Manage Account\": \"Urus Akaun\", \"Menu Access\": \"menu Access\", \"Messaging\": \"pesanan\", \"Messaging Dashboard\": \"Dashboard pesanan\", \"Minimum Stock Rules\": \"Peraturan Stock Minimum\", \"ms-MY\": \"Malay\", \"Name\": \"nama\", \"Navigation\": \"navigation\", \"New Addon\": \"New Addon\", \"New Goods Issue\": \"Barang baru Issue\", \"New Goods Receipt\": \"Barang baru Resit\", \"New Language\": \"Bahasa baru\", \"New Leads\": \"Leads baru\", \"New Opportunity\": \"Peluang baru\", \"New Payable Invoice\": \"Invois Dibayar baru\", \"New Purchase Order\": \"Pesanan Belian baru\", \"New Quotation\": \"Sebutharga baru\", \"New Receivable Invoice\": \"Invois Receivable baru\", \"New Sales Order\": \"Pesanan Jualan baru\", \"New Translation\": \"New Terjemahan\", \"Next\": \"Seterusnya\", \"Not Installed\": \"tidak dipasang\", \"Number of translations\": \"Bilangan terjemahan\", \"of\": \"daripada\", \"Open Issues History\": \"Terbuka Isu Sejarah\", \"Open Opportunities\": \"Peluang terbuka\", \"Opportunities\": \"peluang\", \"Opportunities by stage\": \"Peluang dengan peringkat\", \"Opportunity Analysis\": \"Analisis peluang\", \"Organization Settings\": \"Tetapan organisasi\", \"Original String\": \"String asal\", \"Other\": \"lain\", \"Outgoing Goods\": \"Barangan keluar\", \"Packagings\": \"pembungkusan\", \"Page\": \"Page\", \"Pages\": \"Laman\", \"Payable\": \"kena dibayar\", \"Payable Summary\": \"Ringkasan kena dibayar\", \"Payment Methods\": \"cara bayaran\", \"Payments\": \"pembayaran\", \"Payment Terms\": \"Terma pembayaran\", \"Pending Activities\": \"Sementara menunggu Aktiviti\", \"Pending purchase orders\": \"Sementara menunggu pesanan pembelian\", \"Pending Quotations\": \"Sementara menunggu Sebutharga\", \"Pending Sales orders\": \"Sementara menunggu pesanan Jualan\", \"Permissions\": \"kebenaran\", \"Postal Codes\": \"Kod pos\", \"Pricelist Items\": \"Senarai harga\", \"Pricelists\": \"pricelists\", \"Price Types\": \"Jenis harga\", \"Product Addons\": \"addons produk\", \"Product Analysis\": \"Analisis produk\", \"Product Attributes\": \"Atribut produk\", \"Product Categories\": \"Kategori produk\", \"Product Category\": \"kategori Produk\", \"Product Dashboard\": \"Dashboard produk\", \"Product Groups\": \"Kumpulan produk\", \"Products\": \"produk\", \"Products Below Min Stock\": \"Produk Di bawah Min Stock\", \"Products Per Category\": \"Produk Per Kategori\", \"Product Transforms\": \"Mengubah produk\", \"Profiles\": \"profil\", \"Profit & Loss\": \"Untung rugi\", \"Promotions\": \"promosi\", \"Provinces\": \"wilayah\", \"Purchase Line Analysis\": \"Membeli Analisis Line\", \"Purchase Order Analysis\": \"Membeli Analisis Order\", \"Purchase Orders\": \"Pesanan pembelian\", \"Purchase Requests\": \"Permintaan pembelian\", \"Purchase Returns\": \"Pulangan pembelian\", \"Purchase Settings\": \"Tetapan pembelian\", \"Purchases per month\": \"Pembelian setiap bulan\", \"Purchases per product category\": \"Pembelian bagi setiap kategori produk\", \"Purchases per supplier\": \"Pembelian setiap pembekal\", \"Purchase Types\": \"Jenis pembelian\", \"Purchasing\": \"Membeli\", \"Purchasing Dashboard\": \"pembelian Dashboard\", \"Quotation Analysis\": \"Analisis Sebutharga\", \"Quotation Line Analysis\": \"Analisis petikan Line\", \"Quotations\": \"Sebutharga\", \"Reason Codes\": \"Kod sebab\", \"Receivable\": \"Belum terima\", \"Receivable Summary\": \"Ringkasan belum terima\", \"Receive Money\": \"menerima Wang\", \"Recent Contacts\": \"Kenalan baru-baru ini\", \"Recent Products\": \"Produk baru-baru ini\", \"Reconcile Account\": \"mendamaikan Akaun\", \"Recurring Sales\": \"Jualan berulang\", \"Regions\": \"Kawasan\", \"Relation Types\": \"Jenis berhubung\", \"Reminders\": \"peringatan\", \"Reports\": \"laporan\", \"Report Templates\": \"laporan Templates\", \"Rewrite Rules\": \"Peraturan tulis semula\", \"Roles\": \"peranan\", \"Sales\": \"Jualan\", \"Sales Activities\": \"Aktiviti jualan\", \"Sales Categories\": \"Sales Kategori\", \"Sales Channels\": \"jualan Saluran\", \"Sales Dashboard\": \"jualan Dashboard\", \"Sales Forecast\": \"Ramalan jualan\", \"Sales Line Analysis\": \"Analisis jualan Line\", \"Sales Order Analysis\": \"Analisis Sales Order\", \"Sales Orders\": \"jualan Pesanan\", \"Sales Payments Report\": \"Pembayaran Sales Report\", \"Sales per month\": \"Jualan bagi setiap bulan\", \"Sales per product category\": \"Jualan bagi setiap kategori produk\", \"Sales Profit Details Report\": \"Jualan Keuntungan Laporan Butiran\", \"Sales Profit Summary Report\": \"Jualan Keuntungan Laporan Ringkasan\", \"Sales Returns\": \"Pulangan jualan\", \"Sales Settings\": \"jualan Tetapan\", \"Sales Stages\": \"jualan Peringkat\", \"Sales Targets\": \"jualan Sasaran\", \"Search\": \"carian\", \"Sellers\": \"penjual\", \"Sequence\": \"urutan\", \"Sequences\": \"urutan\", \"Sessions\": \"sesi\", \"Settings\": \"tetapan\", \"Sharing Settings\": \"Tetapan Perkongsian\", \"Shipping Cost\": \"Kos penghantaran\", \"Shipping Methods\": \"Penghantaran Kaedah-Kaedah\", \"Shipping Rates\": \"Kadar Penghantaran\", \"Shipping Terms\": \"Penghantaran Terma\", \"Showing\": \"Pameran\", \"SMS\": \"SMS\", \"SMS Accounts\": \"Akaun SMS\", \"SMS Messages\": \"Mesej SMS\", \"SMS Templates\": \"Templat SMS\", \"Spend Money\": \"Menghabiskan wang\", \"Statement Balance\": \"penyata Baki\", \"Statements\": \"penyata\", \"Static Files\": \"Fail-fail statik\", \"Status\": \"status\", \"Stock Aging\": \"Penuaan saham\", \"Stock Balance\": \"Baki saham\", \"Stock Card\": \"Kad saham\", \"Stock Count\": \"saham Count\", \"Stock Forecast\": \"Ramalan saham\", \"Stock Journals\": \"saham Jurnal\", \"Stock Locations\": \"Lokasi saham\", \"Stock Movements\": \"Pergerakan saham\", \"Stock Ordering\": \"Susunan saham\", \"Stock Periods\": \"Tempoh saham\", \"Stock Planning / Ordering\": \"Perancangan Stock / Susunan\", \"Stock Summary\": \"Ringkasan saham\", \"Storage Types\": \"Jenis simpanan\", \"Subdistricts\": \"Kecamatan\", \"Suppliers\": \"pembekal\", \"Support\": \"sokongan\", \"Support Dashboard\": \"sokongan Dashboard\", \"Task Queue\": \"tugas Giliran\", \"Tax Monthly Report\": \"Laporan Bulanan cukai\", \"Tax Rates\": \"Kadar cukai\", \"Thai\": \"Thai\", \"Themes\": \"Tema\", \"There are no items to display.\": \"Tiada perkara untuk dipaparkan.\", \"There is no data to display.\": \"Tiada data untuk dipaparkan.\", \"Top Open Issues\": \"Top Issues Terbuka\", \"Tracking\": \"Penjejakan\", \"Tracking Categories\": \"penjejakan Kategori\", \"Tracking Distributions\": \"Tracking Pengagihan\", \"Tracking Entries\": \"Tracking Entries\", \"Transfer Money\": \"pemindahan Wang\", \"Transfers\": \"Perpindahan\", \"Translation\": \"terjemahan\", \"Translations\": \"terjemahan\", \"Trial Balance\": \"Imbangan duga\", \"Units Of Measure\": \"Unit Measure\", \"Unpaid Sales Report\": \"Laporan tidak dibayar Sales\", \"Users\": \"pengguna\", \"Visitors\": \"Pelawat\", \"Visitors Per Day\": \"Pelawat Sehari\", \"Vouchers\": \"baucar\", \"Waiting Translation\": \"menunggu Terjemahan\", \"Warehouses\": \"gudang\", \"Website\": \"laman web\", \"Website Dashboard\": \"laman web Dashboard\", \"Websites\": \"laman web\", \"Workflow\": \"aliran kerja\", \"Workflow Rules\": \"Peraturan aliran kerja\", \"Year End\": \"Hujung tahun\"}}, \"translations_regex\": {}}, \"addons\": [\"MFG\", \"HR\", \"DELIVERY\", \"SERVICE\"], \"menu_access\": [{\"action\": null, \"menu\": \"Purchasing\", \"parent_menu\": null, \"button\": null, \"label\": null, \"access\": \"hidden\"}, {\"action\": null, \"menu\": \"Tutorial\", \"parent_menu\": null, \"button\": null, \"label\": null, \"access\": \"visible\"}, {\"action\": null, \"menu\": \"Valid Period\", \"parent_menu\": null, \"button\": null, \"label\": null, \"access\": \"visible\"}, {\"action\": null, \"menu\": null, \"parent_menu\": \"Manufacturing\", \"button\": null, \"label\": null, \"access\": \"hidden\"}, {\"action\": null, \"menu\": \"Billing Notes\", \"parent_menu\": null, \"button\": null, \"label\": null, \"access\": \"hidden\"}, {\"action\": null, \"menu\": \"Issue Logs\", \"parent_menu\": null, \"button\": null, \"label\": null, \"access\": \"visible\"}, {\"action\": null, \"menu\": \"Search\", \"parent_menu\": null, \"button\": null, \"label\": null, \"access\": \"hidden\"}, {\"action\": null, \"menu\": null, \"parent_menu\": null, \"button\": \"Update All Balances\", \"label\": null, \"access\": \"visible\"}], \"field_access\": [{\"model\": \"pm.project\", \"field\": \"project_id\", \"access\": \"hidden\"}, {\"model\": \"sale.quot.line\", \"field\": \"cost_amount\", \"access\": \"hidden\"}, {\"model\": \"sale.quot.line\", \"field\": \"cost_price\", \"access\": \"hidden\"}, {\"model\": \"sale.quot.line\", \"field\": \"margin_percent\", \"access\": \"hidden\"}, {\"model\": \"sale.quot.line\", \"field\": \"profit_amount\", \"access\": \"hidden\"}], \"profile\": {\"name\": \"System Admin\", \"code\": null, \"prevent_login\": false, \"default_menu_access\": null, \"default_model_perms\": \"full\", \"home_action\": null, \"home_action_mobile\": \"{\\\"view\\\":\\\"custom_page_m\\\",\\\"page_path\\\":\\\"main_leave\\\"}\"}, \"configs\": {}, \"tooltips\": {\"contact_new\": {\"code\": \"contact_new\", \"title\": \"Adding a new product\", \"description\": \"Adding a new product Now\", \"placement\": \"top\"}}, \"videos\": {\"account\": [{\"code\": \"account\", \"title\": \"Adding a New Chart Of Account Line\", \"popup_title\": \"Adding a New Chart Of Account Line\", \"url\": \"https://www.youtube.com/embed/YpPIRx6Xyrc\"}], \"budget\": [{\"code\": \"budget\", \"title\": \"How to use this Simple Budget Feature\", \"popup_title\": \"How to use this Simple Budget Feature\", \"url\": \"https://www.youtube.com/embed/J8Wee13AGp0\"}], \"cust_invoice\": [{\"code\": \"cust_invoice\", \"title\": \"Creating a Customer Invoice in two mins!\", \"popup_title\": \"Creating a Customer Invoice in two mins!\", \"url\": \"https://www.youtube.com/embed/KgKokEwTgjc\"}], \"fixed_asset\": [{\"code\": \"fixed_asset\", \"title\": \"Registering a Fix Asset\", \"popup_title\": \"Registering a Fix Asset\", \"url\": \"https://www.youtube.com/embed/qOecxYW17m0\"}], \"landed_cost\": [{\"code\": \"landed_cost\", \"title\": \"Learn How to Allocate the Shipping Cost to your Goods\", \"popup_title\": \"Learn How to Allocate the Shipping Cost to your Goods\", \"url\": \"https://www.youtube.com/embed/BdGD24FH9vQ\"}], \"mfg_board\": [{\"code\": \"mfg_board\", \"title\": \"End to End Production Flow\", \"popup_title\": \"End to End Production Flow\", \"url\": \"https://www.youtube.com/embed/jRafgz9IBIE\"}], \"payment\": [{\"code\": \"payment\", \"title\": \"Creating Payment Vouchers\", \"popup_title\": \"Creating Payment Vouchers\", \"url\": \"https://www.youtube.com/embed/k9xP6X8da10\"}], \"pick_in\": [{\"code\": \"pick_in\", \"title\": \"Quick Video on Receiving Goods!\", \"popup_title\": \"Quick Video on Receiving Goods!\", \"url\": \"https://www.youtube.com/embed/7ORxtNg5CE8\"}], \"pick_internal\": [{\"code\": \"pick_internal\", \"title\": \"Moving Goods Internally\", \"popup_title\": \"Moving Goods Internally\", \"url\": \"https://www.youtube.com/embed/pEAHnFSJNig\"}], \"pick_out\": [{\"code\": \"pick_out\", \"title\": \"Issuing Goods to Customers\", \"popup_title\": \"Issuing Goods to Customers\", \"url\": \"https://www.youtube.com/embed/FrJ9E20ZTBY\"}], \"product\": [{\"code\": \"product\", \"title\": \"Creating a Product in less than a minute\", \"popup_title\": \"Adding New Products Now!\", \"url\": \"https://www.youtube.com/embed/FTvrSB4jMdE\"}], \"purchase\": [{\"code\": \"purchase\", \"title\": \"Create Your Purchase Order in 2 minutes!\", \"popup_title\": \"Create Your Purchase Order in 2 minutes!\", \"url\": \"https://www.youtube.com/embed/PSwU1D2WdRk\"}], \"sale_settings\": [{\"code\": \"sale_settings\", \"title\": \"Automating the Sales Process...\", \"popup_title\": \"Automating the Sales Process...\", \"url\": \"https://www.youtube.com/embed/Ei7zTU5q9jU\"}]}, \"components\": {\"picking_list\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"Picking Dashboard\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": 20}], \"min_height\": 50, \"avoid_keyboard\": true, \"margin_left\": 50, \"margin_right\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Please choose a contact number.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [0.5, 1, 0.5], \"_col_widths\": \"[0.5,1,0.5]\", \"margin_left\": null, \"margin_right\": null, \"margin_top\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select2\", \"model\": \"contact\", \"name\": \"contact\", \"on_change\": \"onchange_contact()\", \"width\": \"\", \"condition\": \"[[\\\"or\\\", [\\\"name\\\", \\\"ilike\\\", \\\"Shopee\\\"], [\\\"name\\\", \\\"ilike\\\", \\\"Lazada\\\"] ]]\", \"placeholder\": \"Please select a contact\"}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [0.5, 1, 0.5], \"margin_left\": null, \"margin_right\": null, \"margin_top\": 15, \"_col_widths\": \"[0.5,1,0.5]\", \"avoid_keyboard\": false}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"button\", \"align\": \"center\", \"text\": \"Print Airway Bills\", \"background_color\": \"#2d6aa0\", \"size\": \"large\", \"font_bold\": false, \"color\": \"#ffffff\", \"padding_bottom\": 10, \"padding_top\": 10, \"padding_left\": 20, \"padding_right\": 20, \"on_click\": \"confirm()\"}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"padding_left\": null, \"padding_right\": null, \"margin_left\": null, \"margin_right\": null, \"margin_top\": 20, \"margin_bottom\": null, \"_col_widths\": \"[1,1,1]\", \"hidden\": true}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"To print multiple GI with different shipping method, please allow browser's pop-ups and redirects on this website. \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 10, \"font_size\": 16}], \"min_height\": 50, \"background_color\": \"#fafafa\", \"padding_top\": 20, \"padding_bottom\": 30, \"padding_left\": 10, \"padding_right\": 10, \"margin_top\": 20, \"margin_bottom\": 20, \"margin_left\": 100, \"margin_right\": 100}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total: \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{lines.length}\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 50, \"margin_right\": 50}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Order No\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Item(s)\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Qty\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Tracking No\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{order_no}\\n\"}]}, \"on_click\": \"\", \"name\": \"order_no\", \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{code}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{tracking_no}\\n\"}]}, \"font_size\": 18}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"name\": \"selected\", \"on_change\": \"only_one_selected(data)\"}]], \"num_cols\": 4, \"_col_widths\": \"[1,3,1,1]\", \"col_widths\": [1, 3, 1, 1], \"field_rows\": \"lines\", \"table_bordered\": true, \"table_striped\": true, \"table_hover\": true, \"on_click\": \"\", \"margin_left\": 50, \"margin_right\": 50, \"margin_top\": 10}], \"min_height\": 50, \"dyn_props\": \"{hidden: hide}\", \"margin_bottom\": 10, \"margin_top\": 10, \"padding_top\": 10, \"padding_bottom\": 10}], \"min_height\": null, \"padding_top\": 15, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 30, \"background_color\": \"#ffffff\", \"height\": \"\"}], \"background_color\": \"#f1f1f1\", \"custom_css\": \"body {\\nbackground-color:#f1f1f1;\\n}\", \"filename\": \"\"}, \"code\": \"// hello\\n\\nasync function on_load(){\\n  var today = new Date();\\n  today = today.getFullYear() + \\\"-\\\" + (\\\"0\\\" + (today.getMonth() + 1)).slice(-2) + \\\"-\\\" + (\\\"0\\\" + today.getDate()).slice(-2) ;\\n\\n  set_data ({\\n    lines: null,\\n    hide: true, \\n  });\\n}\\n\\nasync function confirm() {\\n  var data = get_data();\\n  //var contact = data.contact.id; \\n  var contact = data.contact?data.contact.id:null;\\n  \\n  if(!contact){\\n    alert(\\\"Please select a contact before print the bill out!\\\");\\n  }\\n  else{\\n    await print_airway_bill(contact)\\n  }\\n  \\n  /*if(option == \\\"airway_bill\\\") {\\n    await print_airway_bill(contact)\\n  }*/\\n}\\n\\nasync function onchange_contact(){\\n  var data = get_data(); \\n  //var contact = data.contact.id;\\n  var contact = data.contact?data.contact.id:null;\\n  set_data({lines:null});\\n  \\n  var conds = [[\\\"id\\\", \\\"=\\\", contact]];\\n  var fields = [\\\"name\\\", \\\"code\\\"];\\n  var contact = await rpc_execute(\\\"contact\\\", \\\"search_read\\\", [conds, fields]);\\n  \\n  var contact_name = contact[0].name;\\n  var contact_code = contact[0].code;\\n  var now = new Date();\\n  now = (\\\"0\\\" + now.getDate()).slice(-2) + \\\"/\\\" + (\\\"0\\\" + (now.getMonth() + 1)).slice(-2) + \\\"/\\\" + now.getFullYear() ;\\n  \\n  var conds = [[\\\"type\\\", \\\"=\\\", \\\"out\\\"], [\\\"state\\\", \\\"in\\\", [\\\"draft\\\",\\\"pending\\\"]], [\\\"contact_id\\\", \\\"=\\\", contact[0].id]];\\n  var fields = [\\\"number\\\", \\\"contact_id\\\", \\\"date\\\", \\\"lines.product_id.name\\\", \\\"lines.product_id.code\\\", \\\"lines.qty\\\", \\\"ship_method_id\\\", \\\"ship_tracking\\\"];\\n  var picking_list = await rpc_execute(\\\"stock.picking\\\", \\\"search_read_path\\\", [conds, fields]);\\n  var array = [];\\n  \\n  var picking_list_no = contact_code + \\\"/\\\" + now;\\n  for (let pick of picking_list) {\\n    var lines = pick.lines;\\n    \\n    var item_name = \\\"\\\";\\n    var item_code = \\\"\\\";\\n    var product_code = \\\"\\\";\\n    var qty = \\\"\\\";\\n    \\n    for (let line of lines) {\\n      item_name = item_name + line.product_id.name + \\\"\\\\n\\\";\\n      item_code = item_code + line.product_id.code + \\\"\\\\n\\\";\\n      product_code = product_code + line.product_id.code + \\\"\\\\n\\\";\\n      qty = qty + line.qty + \\\"\\\\n\\\";\\n    }\\n    array.push({\\n      _cid: _.uniqueId(),\\n      order_no:pick.number,\\n      item:item_name,\\n      code:product_code,\\n      qty:qty,\\n      tracking_no:pick.ship_tracking,\\n      id:pick.id,\\n    });\\n  }\\n  \\n  set_data({\\n    hide:false,\\n    lines:array.reverse(),\\n    contact_name:contact_name,\\n    contact_code:contact_code,\\n    date:now,\\n    picking_list_no:picking_list_no,\\n    picking_list:picking_list\\n  }); \\n}\\n\\nasync function print_airway_bill(){\\n  var data = get_data();\\n  //var contact = data.contact.id;\\n  var contact = data.contact?data.contact.id:null;\\n  var contact_name = data.contact_name;\\n  var lines = data.lines;\\n  var picking_list = data.picking_list;\\n  \\n  if (!lines.length) throw (\\\"No records found\\\");\\n  \\n  console.log(\\\"------>\\\", data.contact_name);\\n  var pick_ids=lines.map(l=>l.id);\\n\\n  var user_id = get_cookie(\\\"user_id\\\");\\n  var company_id = get_cookie(\\\"company_id\\\");\\n  var token = get_cookie(\\\"token\\\");\\n  \\n  //5 is Ninja Van, 6 is DHL\\n  var ninja_van = picking_list.filter(pick => pick.ship_method_id == 5);\\n  var ninja_van_list = ninja_van.map(l=>l.id);\\n  var dhl = picking_list.filter(pick => pick.ship_method_id == 6);\\n  var dhl_list = dhl.map(l=>l.id);\\n  var shopee_xpress = picking_list.filter(pick => pick.ship_method_id == 9);\\n  var xpress_list = shopee_xpress.map(l=>l.id);\\n  var jnt = picking_list.filter(pick => pick.ship_method_id == 14);\\n  var jnt_list = jnt.map(l=>l.id);\\n  var lazada_list = []\\n  \\n  if (JSON.stringify(contact_name).includes(\\\"Lazada\\\")) {\\n    if (picking_list.ship_method_id != 5 && picking_list.ship_method_id != 6) {\\n      lazada_list = picking_list.map(l=>l.id);\\n    }\\n  }\\n  \\n  else if (JSON.stringify(contact_name).includes(\\\"Shopee\\\")) {\\n  \\tif ((picking_list[0].ship_method_id != 5 && picking_list[0].ship_method_id != 6 && picking_list[0].ship_method_id != 9 && picking_list[0].ship_method_id != 14) && lines.length == 1) {\\n      throw (\\\"No shipping method.\\\");\\n    }\\n  }\\n    \\n  if (!lines) throw (\\\"No records found.\\\");\\n     \\n  var url = `https://backend-prod2.netforce.com/render_page_pdf?page_id=535&ids=${JSON.stringify(ninja_van_list)}&database=nfo_main&user_id=${user_id}&company_id=${company_id}&token=${token}&no_download=1`;\\n  var url2 = `https://backend-prod2.netforce.com/render_page_pdf?page_id=532&ids=${JSON.stringify(dhl_list)}&database=nfo_main&user_id=${user_id}&company_id=${company_id}&token=${token}&no_download=1`;\\n  var url3 = `https://backend-prod2.netforce.com/render_page_pdf?page_id=534&ids=${JSON.stringify(lazada_list)}&database=nfo_main&user_id=${user_id}&company_id=${company_id}&token=${token}&no_download=1`;\\n  var url4 = `https://backend-prod2.netforce.com/render_page_pdf?page_id=536&ids=${JSON.stringify(xpress_list)}&database=nfo_main&user_id=${user_id}&company_id=${company_id}&token=${token}&no_download=1`;\\n  var url5 = `https://backend-prod2.netforce.com/render_page_pdf?page_id=533&ids=${JSON.stringify(jnt_list)}&database=nfo_main&user_id=${user_id}&company_id=${company_id}&token=${token}&no_download=1`;\\n  \\n  console.log(\\\"nv: \\\",ninja_van_list,\\\"\\\\ndhl: \\\",dhl_list,\\\"\\\\nlzd: \\\",lazada_list);\\n  //if list not empty, then print\\n  if (ninja_van_list.length) window.open(url, \\\"a\\\");\\n  if (dhl_list.length) window.open(url2, \\\"b\\\");\\n  if (lazada_list.length) window.open(url3, \\\"c\\\");\\n  if (xpress_list.length) window.open(url4, \\\"d\\\");\\n  if (jnt_list.length) window.open(url5, \\\"e\\\");\\n  \\n  console.log(\\\"url\\\",url);\\n\\n  //var pick_ids = [].concat(ninja_van_list, dhl_list, lazada_list);\\n  //await rpc_execute(\\\"stock.picking\\\",\\\"approve\\\",[pick_ids]);\\n  var pick_ids = [].concat(ninja_van_list, dhl_list, lazada_list, xpress_list, jnt_list);\\n  await rpc_execute(\\\"stock.picking\\\",\\\"set_done\\\",[pick_ids]);\\n}\"}, \"email_invoice\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Case Mould Preparation Report\\n\"}]}, \"on_click\": \"exec_action\"}], \"min_height\": 25}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Attached is the invoice {number} for your references.\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"With that, thank you for your prompt payment and let us know once the attached\\u00a0invoice\\u00a0payment is made.\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Thanks,\\n\"}]}}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Yours truly,\\nSyuhada Aziz\\n\"}]}}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#66a3e0\"}, \"insert\": \"Finance team,\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"image\", \"min_height\": 50, \"image_file\": \"Logo,6jzMUD9M0WI=.jpeg\", \"align\": \"left\", \"margin_right\": 40, \"margin_left\": 0, \"width\": \"100\"}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#0b5394\", \"italic\": true}, \"insert\": \"Autopilot Your Business\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"SmartB, Damansara Intan, PJ, Selangor\"}, {\"attributes\": {\"color\": \"#bbbbbb\", \"bold\": true}, \"insert\": \"\\u00a0\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"T\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \": +603 7622 9772\\u00a0|\\u00a0\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"M\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \": +6011 3381 4789\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"W\"}, {\"insert\": \":\\u00a0\"}, {\"attributes\": {\"color\": \"#1155cc\", \"link\": \"http://smartb.co/\"}, \"insert\": \"www.smartb.co\"}, {\"insert\": \"\\u00a0|\\u00a0\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"E\"}, {\"insert\": \":\\u00a0\"}, {\"attributes\": {\"color\": \"#1155cc\", \"link\": \"mailto:info@smartb.co\"}, \"insert\": \"info@smartb.co\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"box\", \"children\": [], \"min_height\": 30}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"small\"}, \"insert\": \"The information transmitted is intended only for the person or entity to which it is addressed\\u00a0\"}, {\"attributes\": {\"size\": \"small\", \"color\": \"#222222\"}, \"insert\": \"and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this\"}, {\"attributes\": {\"size\": \"small\", \"color\": \"#222222\", \"script\": \"sub\"}, \"insert\": \" \"}, {\"attributes\": {\"size\": \"small\", \"color\": \"#222222\"}, \"insert\": \"information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Any views or opinions expressed in this email are solely those of the author and do not necessarily represent those of SmartB Solutions Sdn Bhd.\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 13}], \"fields\": \"[\\\"number\\\",\\\"contact_id.email\\\",\\\"contact_id.name\\\"]\", \"subject\": \"New invoice: {number}\", \"from_addr\": \"accounts@smartb.co\", \"to_addrs\": \"{contact_id.email}, syuhada@smartb.co\"}, \"code\": null}, \"email_subscription\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Dear {contact_id.name},\\n\"}]}}], \"min_height\": 25}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#222222\"}, \"insert\": \"Attached is the\\u00a0subscription\\u00a0invoice\\u00a0for quarter\\u00a0{ref} .\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"With that, thank you for your prompt payment and let us know once the attached\\u00a0invoice\\u00a0payment is made.\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Thanks,\\n\"}]}}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Yours truly,\\nSyuhada Aziz\\n\"}]}}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#66a3e0\"}, \"insert\": \"Finance team,\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"image\", \"min_height\": 50, \"image_file\": \"Logo,6jzMUD9M0WI=.jpeg\", \"align\": \"left\", \"margin_right\": 40, \"margin_left\": 0, \"width\": \"100\"}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#0b5394\", \"italic\": true}, \"insert\": \"Autopilot Your Business\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"SmartB, Damansara Intan, PJ, Selangor\"}, {\"attributes\": {\"color\": \"#bbbbbb\", \"bold\": true}, \"insert\": \"\\u00a0\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"T\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \": +603 7622 9772\\u00a0|\\u00a0\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"M\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \": +6011 3381 4789\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"W\"}, {\"insert\": \":\\u00a0\"}, {\"attributes\": {\"color\": \"#1155cc\", \"link\": \"http://smartb.co/\"}, \"insert\": \"www.smartb.co\"}, {\"insert\": \"\\u00a0|\\u00a0\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"E\"}, {\"insert\": \":\\u00a0\"}, {\"attributes\": {\"color\": \"#1155cc\", \"link\": \"mailto:info@smartb.co\"}, \"insert\": \"info@smartb.co\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"box\", \"children\": [], \"min_height\": 30}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"small\"}, \"insert\": \"The information transmitted is intended only for the person or entity to which it is addressed\\u00a0\"}, {\"attributes\": {\"size\": \"small\", \"color\": \"#222222\"}, \"insert\": \"and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this\"}, {\"attributes\": {\"size\": \"small\", \"color\": \"#222222\", \"script\": \"sub\"}, \"insert\": \" \"}, {\"attributes\": {\"size\": \"small\", \"color\": \"#222222\"}, \"insert\": \"information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. Any views or opinions expressed in this email are solely those of the author and do not necessarily represent those of SmartB Solutions Sdn Bhd.\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 13}], \"fields\": \"[\\\"number\\\",\\\"contact_id.email\\\",\\\"contact_id.name\\\",\\\"ref\\\"]\", \"subject\": \"Subscription Invoice {number}\", \"from_addr\": \"accounts@smartb.co\", \"to_addrs\": \"{contact_id.email}, alwin@smartb.co\"}, \"code\": null}, \"main_leave\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"side menu,-HrDRE3KSAQ=.png\", \"height\": \"30\", \"width\": \"30\", \"margin_left\": 20, \"on_click\": \"show_menu(\\\"side_menu\\\")\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-06,m2dRWBj2NSA=.png\", \"height\": \"60\", \"align\": \"center\", \"image_size\": \"contain\", \"background_color\": \"#222831\", \"margin_left\": null, \"margin_right\": 35, \"width\": \"\", \"padding_top\": 0, \"padding_left\": null, \"padding_bottom\": 0, \"margin_top\": 0, \"margin_bottom\": 0}]}], \"num_cols\": 2, \"col_widths\": [2, 8], \"_col_widths\": \"[2,8]\"}], \"min_height\": 50, \"background_color\": \"#222831\", \"border_radius\": null, \"border_color\": \"#f34141\", \"border_bottom_width\": 5}, {\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"hr,L09MpuCIy1E=.jpg\", \"width\": \"\", \"height\": \"200\", \"image_size\": \"contain\", \"align\": \"center\", \"margin_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"leave_new,x7SqRgQsnn0=.png\", \"width\": \"80\", \"height\": \"80\", \"align\": \"center\", \"margin_top\": 0, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": 0, \"on_click\": \"new_leave()\"}]}, {\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"leave_status,pj5OB3Fw4mQ=.png\", \"width\": \"80\", \"height\": \"80\", \"align\": \"center\", \"on_click\": \"leave_status()\", \"margin_top\": 0, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": 0}]}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1], \"_col_widths\": \"[1,1,1,1,1]\", \"margin_top\": 10, \"margin_bottom\": 5, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"New Leave Request\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"border_top_width\": 0, \"border_left_width\": 0, \"border_bottom_width\": 0, \"border_right_width\": 0, \"border_color\": null, \"border_radius\": null, \"on_click\": \"new_leave()\", \"margin_right\": null, \"margin_left\": null, \"color\": \"#000000\", \"font_size\": 12}]}, {\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Leave Request Status\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"border_color\": \"#ffffff\", \"border_radius\": null, \"border_top_width\": 0, \"border_right_width\": 0, \"border_left_width\": 0, \"border_bottom_width\": 0, \"on_click\": \"leave_status()\", \"color\": \"#000000\", \"font_size\": 12}]}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 2, 1, 2, 1], \"_col_widths\": \"[1,2,1,2,1]\", \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"leave_chart,sI_FfKiDdb0=.png\", \"width\": \"80\", \"height\": \"80\", \"align\": \"center\", \"margin_top\": null, \"margin_left\": 20, \"margin_bottom\": null, \"margin_right\": 20, \"on_click\": \"\"}]}, {\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"back,G5dK1KvHPAs=,Kp8tG4X-jQ0=.png\", \"width\": \"50\", \"height\": \"50\", \"align\": \"center\", \"on_click\": \"back()\", \"margin_top\": null, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": null}]}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1], \"_col_widths\": \"[1,1,1,1,1]\", \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Charts\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"border_radius\": null, \"border_color\": \"#5683e4\", \"border_top_width\": 0, \"border_left_width\": 0, \"border_bottom_width\": 0, \"border_right_width\": 0, \"on_click\": \"\", \"margin_left\": null, \"margin_right\": null, \"color\": \"#000000\", \"font_size\": 12}]}, {\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Back\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"back()\", \"border_radius\": 5, \"border_color\": \"#5683e4\", \"border_top_width\": 0, \"border_left_width\": 0, \"border_bottom_width\": 0, \"border_right_width\": 0, \"color\": \"#000000\", \"font_size\": 12}]}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 2, 1, 2, 1], \"_col_widths\": \"[1,2,1,2,1]\", \"margin_left\": 10, \"margin_right\": 10}], \"min_height\": 50, \"vert_scroll\": true, \"margin_top\": null, \"margin_bottom\": null, \"background_color\": \"#e8e8e8\", \"padding_top\": 0, \"padding_bottom\": 30}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"Powered by \"}, {\"attributes\": {\"color\": \"#bbbbbb\", \"bold\": true}, \"insert\": \"SmartB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": null, \"margin_bottom\": null, \"padding_top\": 10, \"padding_bottom\": 5, \"background_color\": \"#e8e8e8\"}], \"min_height\": 20}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  var name=await get_data_store(\\\"profile\\\");\\n}\\n\\nasync function new_leave(){\\n  set_page(\\\"new_leave_request\\\");\\n}\\n\\nasync function leave_status(){\\n  set_page(\\\"my_leave_status\\\");\\n}\\n\\nfunction exit(){\\n  close_app();\\n}\\n\\nasync function back(){\\n  set_page(\\\"main\\\");\\n}\\n\\nasync function charts(){\\n  set_page(\\\"charts\\\");\\n}\"}, \"sales_main\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"side menu,-HrDRE3KSAQ=.png\", \"height\": \"30\", \"width\": \"30\", \"margin_left\": 20, \"on_click\": \"show_menu(\\\"side_menu\\\")\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-06,WKIuSilfW9A=.png\", \"height\": \"60\", \"align\": \"center\", \"image_size\": \"contain\", \"background_color\": \"#222831\", \"margin_left\": null, \"margin_right\": 35}]}], \"num_cols\": 2, \"col_widths\": [2, 8], \"_col_widths\": \"[2,8]\"}], \"min_height\": 50, \"background_color\": \"#222831\", \"border_radius\": null, \"border_color\": \"#f34141\", \"border_bottom_width\": 5}, {\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"sales,CsV_aMLy2oc=.jpg\", \"height\": \"200\", \"align\": \"center\", \"image_size\": \"contain\", \"margin_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"lead_new,qCkbPTnuTZU=.png\", \"margin_top\": 0, \"margin_bottom\": 0, \"margin_left\": 20, \"margin_right\": 20, \"width\": \"80\", \"height\": \"80\", \"align\": \"center\", \"on_click\": \"new_leads()\"}]}, {\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"existing_leads,wfPI4riFsQ0=.png\", \"width\": \"80\", \"height\": \"80\", \"align\": \"center\", \"on_click\": \"lead()\", \"margin_top\": 0, \"margin_bottom\": 0, \"margin_left\": 20, \"margin_right\": 20}]}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1], \"_col_widths\": \"[1,1,1,1,1]\", \"avoid_keyboard\": true, \"margin_top\": 10, \"margin_left\": 10, \"margin_bottom\": 5, \"margin_right\": 10, \"on_click\": \"back()\"}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"New Leads\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"color\": \"#000000\", \"border_color\": \"#5683e4\", \"border_top_width\": 0, \"border_left_width\": 0, \"border_right_width\": 0, \"border_bottom_width\": 0, \"border_radius\": null, \"on_click\": \"new_leads()\", \"font_size\": 12}]}, {\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Existing Leads\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"lead()\", \"color\": \"#000000\", \"border_top_width\": 0, \"border_left_width\": 0, \"border_bottom_width\": 0, \"border_right_width\": 0, \"border_color\": \"#5683e4\", \"border_radius\": 5, \"font_size\": 12}]}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 2, 1, 2, 1], \"_col_widths\": \"[1,2,1,2,1]\", \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"back,G5dK1KvHPAs=,GlUkukT44b0=.png\", \"width\": \"50\", \"height\": \"50\", \"align\": \"center\", \"on_click\": \"back()\", \"margin_top\": 10, \"margin_bottom\": 10, \"margin_left\": 20, \"margin_right\": 20}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1], \"_col_widths\": \"[1,1,1,1,1]\", \"margin_left\": 10, \"margin_right\": 10, \"margin_top\": 10, \"margin_bottom\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Back\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"border_color\": \"#5683e4\", \"border_top_width\": 0, \"border_left_width\": 0, \"border_right_width\": 0, \"border_bottom_width\": 0, \"border_radius\": 5, \"font_size\": 12, \"color\": \"#000000\"}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 2, 1, 2, 1], \"_col_widths\": \"[1,2,1,2,1]\", \"margin_left\": 10, \"margin_right\": 10}], \"min_height\": 50, \"margin_top\": null, \"margin_bottom\": null, \"vert_scroll\": true, \"background_color\": \"#e8e8e8\", \"padding_bottom\": 30}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#e8e8e8\", \"color\": \"#bbbbbb\"}, \"insert\": \"Powered by \"}, {\"attributes\": {\"background\": \"#e8e8e8\", \"color\": \"#bbbbbb\", \"bold\": true}, \"insert\": \"SmartB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_bottom\": 5, \"padding_top\": 10, \"background_color\": \"#e8e8e8\"}], \"min_height\": 20}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  var name=await get_data_store(\\\"profile\\\");\\n}\\n\\nasync function lead(){\\n  set_page(\\\"page_lead\\\");\\n}\\n\\nasync function new_leads(){\\n  set_page(\\\"new_leads\\\");\\n}\\n\\nasync function back(){\\n  set_page(\\\"main\\\");\\n}\\n\\nasync function exit(){\\n  close_app();\\n}\"}, \"inventory_main\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"side menu,-HrDRE3KSAQ=.png\", \"height\": \"30\", \"width\": \"30\", \"margin_left\": 20, \"on_click\": \"show_menu(\\\"side_menu\\\")\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-06,7Qi23t5z0QI=.png\", \"height\": \"60\", \"align\": \"center\", \"image_size\": \"contain\", \"background_color\": \"#222831\", \"margin_left\": null, \"margin_right\": 35}]}], \"num_cols\": 2, \"col_widths\": [2, 8], \"_col_widths\": \"[2,8]\"}], \"min_height\": 50, \"background_color\": \"#222831\", \"border_radius\": null, \"border_color\": \"#f34141\", \"border_bottom_width\": 5}, {\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"inventory,myC5qaS0Cuw=.jpg\", \"height\": \"200\", \"align\": \"center\", \"image_size\": \"contain\", \"margin_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"stock_summary,H7QC-MwTM3Y=.png\", \"width\": \"80\", \"height\": \"80\", \"align\": \"center\", \"margin_top\": null, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": null, \"on_click\": \"summary()\"}]}, {\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"back,G5dK1KvHPAs=,vvhI37z-h5w=.png\", \"width\": \"50\", \"height\": \"50\", \"align\": \"center\", \"on_click\": \"back()\", \"margin_top\": null, \"margin_bottom\": null, \"margin_left\": 20, \"margin_right\": 20}]}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1], \"_col_widths\": \"[1,1,1,1,1]\", \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Stock Summary\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12, \"color\": \"#000000\", \"border_top_width\": 0, \"border_left_width\": 0, \"border_bottom_width\": 0, \"border_right_width\": 0, \"border_color\": \"#5683e4\", \"on_click\": \"summary()\", \"border_radius\": 5}]}, {\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Back\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"border_color\": \"#5683e4\", \"border_top_width\": 0, \"border_left_width\": 0, \"border_bottom_width\": 0, \"border_right_width\": 0, \"border_radius\": 5, \"font_size\": 12, \"color\": \"#000000\"}]}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 2, 1, 2, 1], \"_col_widths\": \"[1,2,1,2,1]\", \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": []}, {\"children\": [{\"type\": \"button\", \"text\": \"Test Button\", \"align\": \"center\", \"size\": \"\", \"width\": \"100\", \"height\": \"50\", \"background_color\": \"rgba(92,182,240,0.46)\", \"on_click\": \"test_page()\"}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1], \"margin_top\": 20}], \"min_height\": 50, \"avoid_keyboard\": true, \"vert_scroll\": true, \"margin_top\": null, \"margin_bottom\": null, \"background_color\": \"#e8e8e8\", \"padding_bottom\": 30}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\", \"background\": \"#e8e8e8\"}, \"insert\": \"Powered by \"}, {\"attributes\": {\"color\": \"#bbbbbb\", \"background\": \"#e8e8e8\", \"bold\": true}, \"insert\": \"SmartB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_bottom\": 5, \"padding_top\": 10}], \"min_height\": 20, \"background_color\": \"#e8e8e8\"}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  var name=await get_data_store(\\\"profile\\\");\\n}\\n\\nasync function summary(){\\n  set_page(\\\"stock_summary\\\");\\n}\\n\\nasync function back(){\\n  set_page(\\\"main\\\");\\n}\\n\\nasync function test_page(){\\n  //set_page(\\\"test_inventory_mobile\\\");\\n  set_page(\\\"test_cmpm\\\");\\n}\\n\\n\\n\\nasync function exit(){\\n  close_app();\\n}\"}, \"finance_main\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"side menu,-HrDRE3KSAQ=.png\", \"height\": \"30\", \"width\": \"30\", \"margin_left\": 20, \"on_click\": \"show_menu(\\\"side_menu\\\")\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-06,-ql6SwhIEf0=.png\", \"height\": \"60\", \"align\": \"center\", \"image_size\": \"contain\", \"background_color\": \"#222831\", \"margin_left\": null, \"margin_right\": 35}]}], \"num_cols\": 2, \"col_widths\": [2, 8], \"_col_widths\": \"[2,8]\"}], \"min_height\": 50, \"background_color\": \"#222831\", \"border_radius\": null, \"border_color\": \"#f34141\", \"border_bottom_width\": 5}, {\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"finance,MvX8X7oPuU8=.jpg\", \"align\": \"center\", \"image_size\": \"contain\", \"height\": \"200\", \"margin_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"balance_sheet,iFDFOpxS78A=.png\", \"width\": \"80\", \"height\": \"80\", \"align\": \"center\", \"margin_top\": 0, \"margin_bottom\": 0, \"margin_left\": 20, \"margin_right\": 20, \"on_click\": \"balance()\"}]}, {\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"profit_loss,N8BJNodiq4I=.png\", \"width\": \"80\", \"height\": \"80\", \"align\": \"center\", \"margin_top\": 0, \"margin_bottom\": 0, \"margin_left\": 20, \"margin_right\": 20, \"on_click\": \"profitloss()\"}]}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1], \"_col_widths\": \"[1,1,1,1,1]\", \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Balance Sheet\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12, \"color\": \"#000000\", \"border_top_width\": 0, \"border_left_width\": 0, \"border_right_width\": 0, \"border_bottom_width\": 0, \"border_color\": \"#5683e4\", \"border_radius\": 5, \"on_click\": \"balance()\"}]}, {\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Profit & Loss\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12, \"color\": \"#000000\", \"border_radius\": 5, \"border_color\": \"#5683e4\", \"border_top_width\": 0, \"border_left_width\": 0, \"border_right_width\": 0, \"border_bottom_width\": 0, \"on_click\": \"profitloss()\"}]}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 2, 1, 2, 1], \"_col_widths\": \"[1,2,1,2,1]\", \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"text-file,n_qsZbo3Oy8=.png\", \"width\": \"50\", \"height\": \"50\", \"align\": \"center\", \"on_click\": \"receive()\", \"margin_top\": 10, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": 10}]}, {\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"report,vQ4flyQHpJE=.png\", \"width\": \"50\", \"height\": \"50\", \"align\": \"center\", \"on_click\": \"payable()\", \"margin_top\": 10, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": 10}]}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1], \"_col_widths\": \"[1,1,1,1,1]\", \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Aged Receivable\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12, \"border_color\": \"#5683e4\", \"border_radius\": 5, \"border_top_width\": 0, \"border_left_width\": 0, \"border_bottom_width\": 0, \"border_right_width\": 0, \"on_click\": \"receive()\"}]}, {\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Aged Payable\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12, \"border_color\": \"#5683e4\", \"border_radius\": 5, \"border_top_width\": 0, \"border_left_width\": 0, \"border_right_width\": 0, \"border_bottom_width\": 0, \"on_click\": \"payable()\"}]}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 2, 1, 2, 1], \"_col_widths\": \"[1,2,1,2,1]\", \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"width\": \"50\", \"height\": \"50\", \"align\": \"center\", \"image_file\": \"back,G5dK1KvHPAs=,rmbBm1hmGXQ=.png\", \"on_click\": \"back()\", \"margin_top\": 10, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": 10}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1], \"_col_widths\": \"[1,1,1,1,1]\", \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Back\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12, \"color\": \"#000000\", \"border_radius\": 5, \"border_color\": \"#5683e4\", \"border_top_width\": 0, \"border_left_width\": 0, \"border_bottom_width\": 0, \"border_right_width\": 0, \"on_click\": \"back()\"}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 2, 1, 2, 1], \"_col_widths\": \"[1,2,1,2,1]\", \"margin_left\": 10, \"margin_right\": 10}], \"min_height\": 50, \"vert_scroll\": true, \"margin_top\": null, \"margin_bottom\": null, \"background_color\": \"#e8e8e8\", \"padding_bottom\": 30}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\", \"background\": \"#e8e8e8\"}, \"insert\": \"Powered by \"}, {\"attributes\": {\"color\": \"#bbbbbb\", \"background\": \"#e8e8e8\", \"bold\": true}, \"insert\": \"SmartB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_bottom\": 5, \"padding_top\": 10}], \"min_height\": 20, \"background_color\": \"#e8e8e8\"}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  var name=await get_data_store(\\\"profile\\\");\\n}\\n\\nasync function balance(){\\n  set_page(\\\"run_bal\\\");\\n}\\n\\nasync function profitloss(){\\n  set_page(\\\"run_profit\\\");\\n}\\n\\nasync function payable(){\\n  set_page(\\\"run_payable\\\");\\n}\\n\\nasync function receive(){\\n  set_page(\\\"run_receivable\\\");\\n}\\n\\nasync function back(){\\n  set_page(\\\"main\\\");\\n}\\n\\nasync function exit(){\\n  close_app();\\n}\"}, \"main\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-05,yKV93Q8oQqM=.png\", \"height\": \"150\", \"align\": \"center\", \"image_size\": \"contain\", \"margin_left\": 20, \"margin_right\": 20, \"padding_top\": 10, \"padding_bottom\": 10, \"width\": \"\"}], \"min_height\": 50, \"header\": false, \"background_color\": \"#222831\", \"shadow_color\": \"#f34141\", \"border_color\": \"#f34141\", \"border_bottom_width\": 5}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"hr,6MUXlDxGOWs=.png\", \"width\": \"100\", \"height\": \"100\", \"align\": \"center\", \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": 10, \"on_click\": \"hr()\"}]}, {\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"width\": \"100\", \"height\": \"100\", \"align\": \"center\", \"margin_top\": null, \"margin_bottom\": null, \"margin_left\": 20, \"margin_right\": 20, \"image_file\": \"sales,tWvA8HPybek=.png\", \"on_click\": \"sales()\"}]}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1], \"_col_widths\": \"[1,1,1,1]\", \"margin_left\": 10, \"margin_right\": 10, \"margin_top\": 10, \"margin_bottom\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"inventory,JxWZqxd-g5c=.png\", \"width\": \"100\", \"height\": \"100\", \"align\": \"center\", \"margin_top\": null, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": null, \"on_click\": \"inventory()\"}]}, {\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"width\": \"100\", \"height\": \"100\", \"align\": \"center\", \"image_file\": \"finance,d9tQkIQLdSQ=.png\", \"margin_top\": null, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": null, \"on_click\": \"finance()\"}]}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1], \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10, \"margin_top\": 10, \"_col_widths\": \"[1,1,1,1,1]\", \"on_click\": \"inventory()\"}], \"min_height\": 50, \"vert_scroll\": true, \"margin_top\": null, \"margin_bottom\": null, \"background_color\": \"#e8e8e8\", \"padding_top\": 30, \"padding_bottom\": 30}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": []}, {\"children\": [{\"type\": \"button\", \"text\": \"Logout\", \"background_color\": \"#f05454\", \"placeholder_color\": \"#ffffff\", \"shadow_radius\": 20, \"align\": \"center\", \"height\": \"40\", \"padding_left\": 10, \"padding_right\": 10, \"border_radius\": 10, \"name\": \"logout\", \"intent\": \"primary\", \"size\": \"normal\", \"color\": \"#ffffff\", \"width\": \"100%\", \"on_click\": \"logout()\"}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1], \"_col_widths\": \"[1,1,1,1,1]\", \"background_color\": \"#e8e8e8\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"Powered by SmartB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"background_color\": \"#e8e8e8\", \"padding_bottom\": 5}], \"min_height\": 50, \"background_color\": \"#e4e4e4\"}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  var name=await get_data_store(\\\"profile\\\");\\n  /*\\n  var bool = confirm(\\\"OK: continue | Cancel: close app\\\");\\n  if(bool){\\n    continue;\\n  }else{\\n    close_app();\\n  }*/\\n}\\n\\nasync function hr(){\\n  set_page(\\\"main_leave\\\");\\n}\\n\\nasync function sales(){\\n  set_page(\\\"sales_main\\\");\\n}\\n\\nasync function inventory(){\\n  set_page(\\\"inventory_main\\\");\\n}\\n\\nasync function finance(){\\n  set_page(\\\"finance_main\\\");\\n}\\n\\nasync function exitdb(){\\n  await set_data_store(\\\"database\\\",null);\\n  close_app();\\n}\\n\\nasync function exit(){\\n  close_app();\\n}\\n\\nasync function logout(){\\n  set_page(\\\"mobile_main\\\");\\n}\\n\"}, \"mobile_main\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"url\": \"\", \"image_file\": \"SmartB-05,wD15o_9IF4o=.png\", \"height\": \"150\", \"align\": \"left\", \"margin_left\": null, \"margin_right\": null, \"padding_bottom\": 0, \"padding_top\": 0, \"padding_left\": 0, \"padding_right\": 0, \"image_size\": \"contain\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Welcome to SmartB\"}, {\"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_size\": 26, \"color\": \"#e8e8e8\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Please enter your registered username and password\\n\"}]}, \"margin_top\": 10, \"margin_bottom\": 30, \"color\": \"#e8e8e8\"}, {\"type\": \"field\", \"name\": \"username\", \"field_type\": \"text\", \"placeholder\": \"Username\", \"margin_bottom\": 20, \"border_radius\": 20, \"background_color\": \"#3f444c\", \"color\": \"#ffffff\", \"border_width\": 0}, {\"type\": \"field\", \"name\": \"password\", \"field_type\": \"password\", \"placeholder\": \"Password\", \"margin_bottom\": 15, \"border_radius\": 20, \"background_color\": \"#3f444c\", \"color\": \"#ffffff\", \"border_width\": 0}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"field\", \"field_type\": \"checkbox\", \"name\": \"remember_login\", \"align\": \"right\", \"margin_right\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Remember Me\\n\"}]}, \"margin_top\": null, \"color\": \"#ffffff\"}]}], \"num_cols\": 2, \"col_widths\": [1, 3], \"_col_widths\": \"[1,3]\", \"color\": \"#ffffff\"}, {\"type\": \"button\", \"name\": \"login\", \"text\": \"Login\", \"size\": \"normal\", \"intent\": \"primary\", \"on_click\": \"login()\", \"width\": \"100%\", \"height\": \"\", \"padding_top\": 10, \"padding_bottom\": 10, \"margin_top\": 20, \"margin_bottom\": 15, \"background_color\": \"#17ce42\", \"color\": \"#ffffff\", \"border_bottom_width\": null, \"border_radius\": 10}, {\"type\": \"button\", \"text\": \"Exit\", \"size\": \"normal\", \"intent\": \"warning\", \"on_click\": \"exit()\", \"width\": \"100%\", \"height\": \"\", \"background_color\": \"#f05454\", \"placeholder_color\": \"#000000\", \"color\": \"#ffffff\", \"border_radius\": 10, \"padding_top\": 10, \"padding_bottom\": 10, \"hidden\": true}, {\"type\": \"button\", \"text\": \"Test Offline\", \"on_click\": \"test_offline()\", \"margin_top\": 5, \"margin_bottom\": 5}, {\"type\": \"button\", \"text\": \"Test Offline sanko\", \"on_click\": \"test_offline_t()\", \"margin_top\": 5, \"margin_bottom\": 5}], \"min_height\": null, \"vert_scroll\": false, \"page_break_after\": false, \"padding_top\": 15, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 20, \"margin_left\": 20, \"margin_right\": 20, \"show_tablet\": false, \"show_phone\": false}], \"min_height\": 50, \"vert_scroll\": true, \"background_color\": \"#222831\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"color\": \"#bbbbbb\"}, \"insert\": \"Powered by SmartB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#888888\"}, \"insert\": \"Exit DB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12, \"on_click\": \"exitdb()\", \"color\": \"#777777\"}], \"min_height\": 50, \"background_color\": \"#222831\"}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load() {\\n  //Chin 20210416 Remember Me Feature\\n  var remember_login = await get_data_store(\\\"remember_login\\\");\\n  if (remember_login) {\\n    var username = await get_data_store(\\\"username\\\");\\n    var password = await get_data_store(\\\"password\\\");\\n    set_data({\\n      username: username,\\n      password: password,\\n      remember_login: true,\\n    })\\n  }\\n  ////\\n}\\n\\nclass Product extends Model {\\n  _name=\\\"product\\\"\\n_fields={\\n  code: fields.Char(\\\"Product Code\\\"),\\n  name: fields.Char(\\\"Product Name\\\"),\\n}\\n}\\nProduct.register();\\n\\nasync function login() {\\n  var data=get_data();\\n  var username=data.username;\\n  var password=data.password;\\n  var res=await rpc_execute(\\\"login\\\",\\\"login\\\",[username,password]);\\n\\n  var ids=[res.user_id];\\n  var fields=[\\\"full_name\\\"];\\n  var res2=await rpc_execute(\\\"base.user\\\",\\\"read\\\",[ids,fields]);\\n  var names=res2[0].full_name;\\n\\n  //alert(\\\"user_id: \\\" + typeof(JSON.stringify(res.user_id)));\\n  //alert(\\\"token: \\\" + res.token);\\n  //alert(\\\"profile: \\\" + names);\\n  set_data_store(\\\"user_id\\\",JSON.stringify(res.user_id));\\n  set_data_store(\\\"token\\\",res.token);\\n  set_data_store(\\\"profile\\\",names);\\n  set_user(res.user_id, res.token,names);\\n\\n  // 20210416 Chin Remember me feature\\n  if (data.remember_login) {\\n    set_data_store(\\\"remember_login\\\",true);\\n    set_data_store(\\\"username\\\",username);\\n    set_data_store(\\\"password\\\",password);\\n  } else {\\n    set_data_store(\\\"remember_login\\\",null);\\n    set_data_store(\\\"username\\\",null);\\n    set_data_store(\\\"password\\\",null);\\n  }\\n  ////\\n\\n  if(data.username == \\\"Daniella\\\") {\\n    //set_page(\\\"tt_mobile_test\\\");\\n    set_page(\\\"main\\\");\\n  } else {\\n    set_page(\\\"main\\\");\\n  }\\n}\\n\\nfunction exit(){\\n  close_app();\\n}\\n\\nasync function exitdb(){\\n  await set_data_store(\\\"database\\\",null);\\n  close_app();\\n}\\n\\n/*\\nasync function test_offline() {\\n  set_page(\\\"main\\\");\\n  return;\\n  var vals={\\n    code: \\\"P-0001\\\",\\n    name: \\\"Test Product #1\\\",\\n  };\\n  var prod_id=await get_model(\\\"product\\\").create(vals);\\n  alert(\\\"new prod_id=\\\"+prod_id);\\n  var res=await get_model(\\\"product\\\").search_read([],[\\\"code\\\",\\\"name\\\"]);\\n  alert(\\\"all products=\\\"+JSON.stringify(res));\\n}*/\\n\\nfunction test_offline(){\\n  var click_test = confirm(\\\"Testing confirm method\\\");\\n  if (click_test==true){\\n    alert(\\\"Pressed OK\\\");\\n  }\\n  else if (click_test==false){\\n    alert(\\\"Pressed Cancel\\\");\\n  }\\n}\\n\"}, \"new_leave_request\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"back,bx88xm7teGI=.png\", \"height\": \"30\", \"width\": \"30\", \"margin_left\": 20, \"on_click\": \"cancel()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-06,66KnLOVDDUU=.png\", \"height\": \"60\", \"align\": \"center\", \"image_size\": \"contain\", \"background_color\": \"#222831\", \"margin_left\": null, \"margin_right\": 35}]}], \"num_cols\": 2, \"col_widths\": [2, 8], \"_col_widths\": \"[2,8]\"}], \"min_height\": 50, \"background_color\": \"#222831\", \"border_radius\": null, \"border_color\": \"#f34141\", \"border_bottom_width\": 5}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"New Leave Request xx\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Number\"}, {\"attributes\": {\"font\": \"serif\", \"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 2, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"lCode\", \"field_type\": \"text\", \"margin_bottom\": 5, \"model\": \"hr.leave\", \"field_value\": \"{number}\", \"background_color\": \"#bfc0c1\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Request Date\"}, {\"attributes\": {\"font\": \"serif\", \"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"request_ldate\", \"field_type\": \"date\", \"margin_bottom\": 5, \"placeholder\": \"Requested date\", \"background_color\": \"#bfc0c1\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Employee\"}, {\"attributes\": {\"font\": \"serif\", \"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"employee\", \"field_type\": \"select\", \"margin_bottom\": 5, \"model\": \"hr.employee\", \"field_value\": \"{first_name.name}\", \"placeholder\": \"Employee's Name\", \"background_color\": \"#bfc0c1\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Leave Type\"}, {\"attributes\": {\"font\": \"serif\", \"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"leaveType\", \"field_type\": \"select\", \"margin_bottom\": 5, \"_selection\": \"\", \"selection\": null, \"placeholder\": \"Types of Leave\", \"model\": \"hr.leave.type\", \"on_change\": \"onchange_type()\", \"background_color\": \"#bfc0c1\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Leave Period\"}, {\"attributes\": {\"font\": \"serif\", \"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"field_type\": \"select\", \"name\": \"leavePeriod\", \"margin_bottom\": 10, \"model\": \"hr.leave.period\", \"field_value\": \"{date_from.name}\", \"_selection\": \"\", \"selection\": null, \"placeholder\": \"Leave Period\", \"condition\": \"[[\\\"leave_type_id\\\",\\\"=\\\",leaveType]]\", \"background_color\": \"#bfc0c1\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Leave Information\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 5, \"margin_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"avoid_keyboard\": true, \"_col_widths\": \"\", \"border_color\": \"#fd5f5f\", \"border_top_width\": 3, \"margin_top\": 5, \"border_bottom_width\": 3}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Start Date\"}, {\"attributes\": {\"font\": \"serif\", \"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 5, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"startDate\", \"field_type\": \"date\", \"margin_bottom\": 5, \"placeholder\": \"Leave Start Date\", \"background_color\": \"#bfc0c1\", \"border_radius\": null, \"border_width\": null, \"border_top_width\": null, \"border_left_width\": null, \"border_right_width\": null, \"border_bottom_width\": null}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"End Date\"}, {\"attributes\": {\"font\": \"serif\", \"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"field_type\": \"date\", \"name\": \"endDate\", \"margin_bottom\": 5, \"placeholder\": \"Leave End Date\", \"background_color\": \"#bfc0c1\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Start Time\"}, {\"attributes\": {\"font\": \"serif\", \"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"margin_bottom\": 5, \"name\": \"startTime\", \"field_type\": \"select\", \"placeholder\": \"Leave Start Time\", \"_selection\": \"[[\\\"full\\\", \\\"09:00 - full day\\\"], [\\\"half\\\", \\\"13:00 - half day\\\"]]\", \"selection\": [[\"full\", \"09:00 - full day\"], [\"half\", \"13:00 - half day\"]], \"background_color\": \"#bfc0c1\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"End Time\"}, {\"attributes\": {\"font\": \"serif\", \"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"margin_bottom\": 5, \"name\": \"endTime\", \"field_type\": \"select\", \"placeholder\": \"Leave End Time\", \"_selection\": \"[[\\\"full\\\", \\\"18:00 - full day\\\"], [\\\"half\\\", \\\"12:00 - half day\\\"]]\", \"selection\": [[\"full\", \"18:00 - full day\"], [\"half\", \"12:00 - half day\"]], \"background_color\": \"#bfc0c1\", \"border_radius\": null, \"border_width\": null, \"border_left_width\": null, \"border_bottom_width\": null, \"border_right_width\": null, \"border_top_width\": null}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Leave Reason\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"field_type\": \"textarea\", \"name\": \"lReason\", \"placeholder\": \"Enter leave reasons...\", \"margin_bottom\": 5, \"background_color\": \"#bfc0c1\", \"border_radius\": null, \"border_width\": null, \"border_top_width\": null, \"border_left_width\": null, \"border_bottom_width\": null, \"border_right_width\": null}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Attachment\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"attachment\", \"field_type\": \"files\", \"background_color\": \"#bfc0c1\", \"border_radius\": 10}], \"min_height\": 50, \"padding_left\": 20, \"padding_top\": 20, \"padding_right\": 20, \"padding_bottom\": 20, \"vert_scroll\": true, \"background_color\": \"#e8e8e8\"}, {\"type\": \"button\", \"text\": \"Submit\", \"align\": \"center\", \"width\": \"100%\", \"color\": \"#ffffff\", \"background_color\": \"#17ce42\", \"margin_left\": 20, \"margin_right\": 20, \"border_radius\": 10, \"margin_top\": 20, \"margin_bottom\": 10, \"on_click\": \"submit()\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"color\": \"#bbbbbb\"}, \"insert\": \"Powered by SmartB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20}], \"background_color\": \"#e8e8e8\"}, \"code\": \"async function on_load(){\\n  try {\\n  \\tvar user = await get_data_store(\\\"user_id\\\");\\n  } catch(err) {\\n    var user = get_cookie(\\\"user_id\\\");\\n  }\\n  var cond=[[\\\"user_id\\\",\\\"=\\\",user]];\\n  var employeeConst=await rpc_execute(\\\"hr.employee\\\",\\\"search\\\",[cond]);\\n  //alert(employeeConst);\\n  var emp=employeeConst[0];\\n  var codeConst = await rpc_execute(\\\"hr.leave\\\",\\\"default_get\\\",[[\\\"number\\\"]],{context:{}});\\n  var codeNum = codeConst.number;\\n  var req_ldate=moment().format(\\\"YYYY-MM-DD\\\");\\n  set_data({\\n    employee:emp,\\n    lCode:codeNum,\\n    request_ldate:req_ldate,\\n  });\\n}\\n\\nasync function submit(){\\n  //var ids = page_params.ids;\\n  var data = get_data();\\n  var today= moment().format();\\n  console.log(\\\"display today \\\",today);\\n  var inputData ={\\n    number:data.lcode,\\n    date:data.request_ldate,\\n    employee_id:data.employee,\\n    leave_type_id:data.leaveType,\\n    period_id:data.leavePeriod,\\n    start_date:data.startDate,\\n    end_date:data.endDate,\\n    start_time:data.startTime,\\n    end_time:data.endTime,\\n    leave_reason:data.lReason,\\n    state:\\\"draft\\\",       //create Draft, then trigger the \\\"submit_for_approval\\\" function (see below)\\n    files:data.attachment, //only files field works in page builder\\n  };\\n  \\n  if(!data.employee || !data.request_ldate ||!data.leaveType || !data.leavePeriod || !data.startDate ||!data.endDate\\n    ||!data.startTime || !data.endTime) \\n     throw \\\"Please fill in all the REQUIRED FIELDS !\\\";\\n  /*\\n  if(data.startDate < today || data.endDate < today)\\n    throw \\\"Please reselect the date !\\\";\\n  */\\n  if(data.endDate < data.startDate)\\n    throw \\\"Please reselect the End Date !\\\";\\n  \\n  var req=await rpc_execute(\\\"hr.leave\\\",\\\"create\\\",[inputData]);\\n  var ids = [req];\\n  await rpc_execute(\\\"hr.leave\\\",\\\"submit_for_approval\\\",[ids]); // Max 2020 Nov 18\\n  console.log(\\\"request : \\\",req);\\n  await rpc_execute(\\\"hr.leave\\\",\\\"send_email_leave\\\",[ids]);\\n  alert(\\\"Leave Request Submitted !\\\");\\n  set_page(\\\"leave_requested\\\",{req:req});\\n}\\n\\nasync function onchange_type() {\\n  var data = get_data();\\n  if (data.leaveType) {\\n    //alert(data.leaveType);\\n    var today= moment().format(\\\"YYYY-MM-DD\\\");\\n    var leaveType=data.leaveType;\\n    var cond=[[\\\"leave_type_id\\\",\\\"=\\\",leaveType],[\\\"date_from\\\",\\\"<=\\\",today],[\\\"date_to\\\",\\\">=\\\",today]];\\n    var res=await rpc_execute(\\\"hr.leave.period\\\",\\\"search\\\",[cond]);\\n    var leave_period=res[0];\\n\\n    set_data({leavePeriod:leave_period});\\n\\n  } else{\\n    set_data({leavePeriod:null});\\n  }\\n}\\n\\nfunction cancel(){\\n  set_page(\\\"main_leave\\\");\\n}\\n \"}, \"leave_requested\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"back,aSrlddBIV5E=.png\", \"height\": \"30\", \"width\": \"30\", \"margin_left\": 20, \"on_click\": \"back()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-06,bGEtfstTmQ0=.png\", \"height\": \"60\", \"align\": \"center\", \"image_size\": \"contain\", \"background_color\": \"#222831\", \"margin_left\": null, \"margin_right\": 35}]}], \"num_cols\": 2, \"col_widths\": [2, 8], \"_col_widths\": \"[2,8]\"}], \"min_height\": 50, \"background_color\": \"#222831\", \"border_radius\": null, \"border_color\": \"#f34141\", \"border_bottom_width\": 5}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#ffffff\", \"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Hi \"}, {\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"color\": \"#66a3e0\", \"bold\": true}, \"insert\": \"{employee_id}\"}, {\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"color\": \"#ffffff\", \"bold\": true}, \"insert\": \" this is your leave submitted ! \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_bottom\": 10, \"margin_left\": 10, \"margin_right\": 10}], \"min_height\": 50, \"background_color\": \"#000000\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Leave Information \"}, {\"insert\": \"\\ud83d\\udcdd\"}, {\"attributes\": {\"align\": \"center\", \"header\": 1}, \"insert\": \"\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": null, \"margin_top\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Number : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Name : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{employee_id}\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": 10}], \"min_height\": 50, \"vert_scroll\": true}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Leave Type : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{leave_type_id}\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": 10, \"margin_top\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Leave Period : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{period_id}\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Start Date : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{start_date}\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"End Date : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{end_date}\\n\"}]}, \"margin_bottom\": null, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Half / Full Day Leave : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{end_time}\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Leave Reason : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{leave_reason}\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": 10}], \"min_height\": 50, \"margin_top\": 20, \"margin_left\": 20, \"margin_bottom\": 20, \"margin_right\": 20, \"vert_scroll\": true, \"border_color\": \"#f34141\", \"border_top_width\": 2, \"border_bottom_width\": 2, \"border_left_width\": 2, \"border_right_width\": 2}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\", \"font\": \"serif\"}, \"insert\": \"Powered by SmartB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20}], \"background_color\": \"#e8e8e8\"}, \"code\": \"async function on_load(){\\n  var req = page_params.req;\\n  //alert(req);\\n  var fields=[\\\"employee_id\\\",\\\"number\\\",\\\"date\\\",\\\"start_date\\\",\\\"end_date\\\",\\\"leave_type_id\\\",\\\"period_id\\\",\\\"start_time\\\",\\\"end_time\\\",\\\"leave_reason\\\"];\\n  var res=await rpc_execute(\\\"hr.leave\\\",\\\"read\\\",[[req],fields]);\\n  \\n  var first = res[0].employee_id[1]; \\n  var number= res[0].number;\\n  var request_date= res[0].date;\\n  var start_date=res[0].start_date;\\n  var end_date=res[0].end_date;\\n  var start_time=res[0].start_time;\\n  var end_time=res[0].end_time;\\n  var reason=res[0].leave_reason;\\n  var leaveType=res[0].leave_type_id[1]; \\n  var period=res[0].period_id[1]; \\n  \\n  set_data({\\n    employee_id:first,\\n    number:number,\\n    date:request_date,\\n    start_date:start_date,\\n    end_date:end_date,\\n    start_time:start_time,\\n    end_time:end_time,\\n    leave_reason:reason,\\n    leave_type_id:leaveType,\\n    period_id:period,\\n  });\\n}\\n\\nfunction back(){\\n  set_page(\\\"main_leave\\\");\\n}\\n\\nfunction exit(){\\n  close_app();\\n}\\n\"}, \"my_leave_status\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"back,x0HEbsqWBTw=.png\", \"height\": \"30\", \"width\": \"30\", \"margin_left\": 20, \"on_click\": \"back()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-06,VL9fDoR3XNI=.png\", \"height\": \"60\", \"align\": \"center\", \"image_size\": \"contain\", \"background_color\": \"#222831\", \"margin_left\": null, \"margin_right\": 35}]}], \"num_cols\": 2, \"col_widths\": [2, 8], \"_col_widths\": \"[2,8]\"}], \"min_height\": 50, \"background_color\": \"#222831\", \"border_radius\": null, \"border_color\": \"#f34141\", \"border_bottom_width\": 5}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Leave Request Status\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"margin_bottom\": 10}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Code\"}, {\"insert\": \"\\n\"}]}, \"background_color\": null}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Name\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Status\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{employee_id}\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{state}\\n\"}]}, \"font_size\": 12}]], \"num_rows\": null, \"num_cols\": 3, \"_col_widths\": \"[1,1,1]\", \"col_widths\": [1, 1, 1], \"table_bordered\": true, \"table_striped\": true, \"table_hover\": true, \"margin_left\": 10, \"margin_right\": 10, \"field_rows\": \"lines\", \"margin_top\": 10}], \"min_height\": 50, \"margin_left\": 20, \"margin_right\": 20, \"horiz_scroll\": true, \"vert_scroll\": true, \"margin_top\": 20, \"margin_bottom\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"Powered by SmartB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 10}], \"min_height\": 50, \"footer\": true, \"margin_top\": null, \"show_phone\": true, \"show_tablet\": true}], \"background_color\": \"#e8e8e8\", \"height\": \"\", \"footer_height\": \"200\"}, \"code\": \"async function on_load(){\\n  await table();\\n}\\n    \\nasync function table(){\\n  var user = await get_data_store(\\\"user_id\\\");\\n  //throw(\\\"user: \\\" + JSON.stringify(user));\\n  var cond=[[\\\"user_id\\\",\\\"=\\\",user]];\\n  var employeeConst=await rpc_execute(\\\"hr.employee\\\",\\\"search\\\",[cond]);\\n  var emp=employeeConst[0];\\n  var con2=[[\\\"employee_id\\\",\\\"=\\\",emp]];\\n  var fields=[\\\"employee_id\\\",\\\"number\\\",\\\"state\\\"];  \\n  var res = await rpc_execute(\\\"hr.leave\\\",\\\"search_read\\\",[con2,fields]);\\n  //throw \\\"res: \\\" + JSON.stringify(res);\\n  var lines=[]\\n  \\n  if(res.length==0){\\n    alert(\\\"You have not apply for any leave yet !\\\");\\n    set_page(\\\"main_leave\\\");\\n    return;\\n  }\\n  \\n  for(var i=0; i\n                    <res.length; i++)\\n  {\\n  \\tvar first = res[i].employee_id[1]; \\n  \\tvar number= res[i].number;\\n  \\tvar status= res[i].state;\\n    lines.push({\\n      employee_id:first,\\n      number:number,\\n      state:status\\n    });\\n  }\\n  set_data({\\n    lines:lines\\n  });\\n}\\n\\nfunction back(){\\n  set_page(\\\"main_leave\\\");\\n}\\n\\nfunction exit(){\\n  close_app();\\n}\"}, \"new_leads\": {\"layout\": {\"elements\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"New Lead\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 10, \"margin_top\": 10, \"margin_right\": 10, \"margin_bottom\": 10, \"color\": \"#fd5f5f\", \"border_color\": \"#fd5f5f\", \"border_bottom_width\": 3}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Lead Information\"}, {\"insert\": \"\\n\"}]}, \"color\": \"#fd5f5f\", \"border_bottom_width\": 2, \"border_color\": \"#fd5f5f\", \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Number\"}, {\"attributes\": {\"font\": \"serif\", \"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"field_type\": \"text\", \"margin_bottom\": 5, \"name\": \"lCode\", \"model\": \"sale.lead\", \"field_value\": \"{number}\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Status\"}, {\"attributes\": {\"font\": \"serif\", \"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"select\", \"name\": \"status\", \"margin_bottom\": 5, \"_selection\": \"[[\\\"new\\\", \\\"New\\\"], [\\\"converted\\\", \\\"Converted\\\"], [\\\"referred\\\", \\\"Referred\\\"], [\\\"voided\\\", \\\"Voided\\\"]]\", \"selection\": [[\"new\", \"New\"], [\"converted\", \"Converted\"], [\"referred\", \"Referred\"], [\"voided\", \"Voided\"]], \"placeholder\": \"Status\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Title\"}, {\"attributes\": {\"font\": \"serif\", \"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"field_type\": \"text\", \"name\": \"title\", \"margin_bottom\": 5, \"placeholder\": \"Title \"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Date\"}, {\"attributes\": {\"font\": \"serif\", \"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"date\", \"field_type\": \"date\", \"margin_bottom\": 5, \"placeholder\": \"Date\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Contact Name\"}, {\"attributes\": {\"font\": \"serif\", \"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"contact\", \"field_type\": \"text\", \"margin_bottom\": 5, \"placeholder\": \"Contact Name\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Email\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"email\", \"field_type\": \"email\", \"margin_bottom\": 5, \"placeholder\": \"Email\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Phone\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"phone\", \"field_type\": \"phone\", \"margin_bottom\": 5, \"placeholder\": \"Phone Number\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Lead Owner\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"field_type\": \"select\", \"name\": \"lead_owner\", \"margin_bottom\": 5, \"model\": \"base.user\", \"placeholder\": \"Lead Owner\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Referred To\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"referred\", \"field_type\": \"select\", \"margin_bottom\": 5, \"model\": \"contact\", \"placeholder\": \"Referred to\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Additional Information\"}, {\"insert\": \"\\n\"}]}, \"color\": \"#fd5f5f\", \"border_color\": \"#fd5f5f\", \"border_bottom_width\": 2, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Company\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"field_type\": \"text\", \"name\": \"company_name\", \"margin_bottom\": 5, \"placeholder\": \"Company Name\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"No. of Employees\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"field_type\": \"number\", \"name\": \"no_employee\", \"margin_bottom\": 5, \"placeholder\": \"No. of employees\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Website\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"field_type\": \"text\", \"name\": \"website\", \"margin_bottom\": 5, \"placeholder\": \"Company Website\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Annual Revenue\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"annual_revenue\", \"field_type\": \"text\", \"margin_bottom\": 5, \"placeholder\": \"Annual revenue\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Industry\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"industry\", \"field_type\": \"text\", \"margin_bottom\": 5, \"placeholder\": \"Industry\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Lead Source\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"field_type\": \"select\", \"name\": \"lead_source\", \"margin_bottom\": 5, \"model\": \"lead.source\", \"placeholder\": \"Lead Source\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Description Information\"}, {\"insert\": \"\\n\"}]}, \"color\": \"#fd5f5f\", \"border_bottom_width\": 2, \"border_color\": \"#fd5f5f\", \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Description\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"description\", \"field_type\": \"textarea\", \"placeholder\": \"Description\"}], \"min_height\": 50, \"vert_scroll\": true, \"padding_top\": null, \"padding_left\": 20, \"padding_bottom\": 20, \"padding_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"floppy-disk,JlP3sxVcTAQ=.png\", \"width\": \"30\", \"height\": \"30\", \"align\": \"center\", \"on_click\": \"save()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Save\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"save()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"cross,jTO4dZPC16w=.png\", \"width\": \"30\", \"height\": \"30\", \"align\": \"center\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5, \"on_click\": \"cancel()\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cancel\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"cancel()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"cross,LSh2LPAsm6w=.png\", \"width\": \"30\", \"height\": \"30\", \"align\": \"center\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5, \"on_click\": \"void()\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Void\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"void()\"}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_bottom\": 10, \"_col_widths\": \"[1,1]\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\", \"font\": \"serif\"}, \"insert\": \"Powered by SmartB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  var codeConst = await rpc_execute(\\\"sale.lead\\\",\\\"default_get\\\",[[\\\"number\\\"]],{context:{}});\\n  var codeNum = codeConst.number;\\n  var date=moment().format(\\\"DD-MM-YYYY\\\");\\n  set_data({\\n    lCode:codeNum,\\n    date:date,\\n  });\\n}\\n\\nasync function save(){\\n  var data=get_data();\\n  var inputData ={\\n    number:data.lCode,\\n    date:data.date,\\n    title:data.title,\\n    company_id:data.company,\\n    contact_name:data.contact,\\n    email:data.email,\\n    phone:data.phone,\\n    employees:data.no_employee,\\n    refer_contact_id:data.referred,\\n    company:data.company_name,\\n    state:data.status,\\n    website:data.website,\\n    revenue:data.annual_revenue,\\n    industry:data.industry,\\n    source_id:data.lead_source,\\n    user_id:data.lead_owner,\\n    description:data.description,\\n  };\\n  \\n  if(!data.status || !data.title ||!data.date || !data.contact) \\n     throw \\\"Please fill in all the REQUIRED FIELDS !\\\";\\n  \\n  var req=await rpc_execute(\\\"sale.lead\\\",\\\"create\\\",[inputData]);\\n  alert(\\\"New Lead Saved !\\\");\\n  set_page(\\\"sales_main\\\");\\n}\\n\\nfunction cancel(){\\n  set_page(\\\"sales_main\\\");\\n}\\n    \\n    \\n    \\n    \"}, \"leads\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-06,zxXHMlTt-uw=.png\", \"height\": \"80\", \"align\": \"center\", \"image_size\": \"contain\", \"margin_left\": 20, \"margin_right\": 20}], \"min_height\": 50, \"background_color\": \"#000000\", \"border_color\": \"#f34141\", \"border_bottom_width\": 5}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\"}, \"insert\": \"Leads\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 20, \"margin_bottom\": 10, \"color\": \"#f34141\", \"border_color\": \"#f34141\", \"border_bottom_width\": 2}], \"min_height\": 50, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Number\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Date\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Title\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Contact Name\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{date}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{title}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_name}\\n\"}]}}]], \"num_cols\": 4, \"_col_widths\": \"[1,1,1,1]\", \"col_widths\": [1, 1, 1, 1], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"table_hover\": true, \"table_bordered\": true, \"table_striped\": true, \"field_rows\": \"lines\", \"num_rows\": null}], \"min_height\": 50, \"vert_scroll\": true, \"horiz_scroll\": true, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"home,tHuHb9suc4E=.png\", \"width\": \"30\", \"height\": \"30\", \"align\": \"center\", \"on_click\": \"home()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Home\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"home()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"power-button,-StmLK-sOCg=.png\", \"width\": \"30\", \"height\": \"30\", \"align\": \"center\", \"on_click\": \"exit()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Exit\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"exit()\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20}], \"min_height\": 50}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  set_data({lines:[]});\\n  //console.log(\\\"display before await table() \\\");\\n  await table();\\n}\\n\\nasync function table(){\\n  \\n  var fields=[\\\"number\\\",\\\"date\\\",\\\"title\\\",\\\"contact_name\\\"];\\n  var res=await rpc_execute(\\\"sale.lead\\\",\\\"search_read\\\",[[],fields],{limit:10});\\n  console.log(\\\"display res \\\",res);\\n  var lines=[];\\n  \\n  for(var i=0; i\n                        <res.length; i++)\\n  {\\n    var number= res[i].number;\\n    var date=res[i].date;\\n    var title=res[i].title;\\n    var contact=res[i].contact_name;\\n    \\n    lines.push({\\n      number:number,\\n      date:date,\\n      title:title,\\n      contact_name:contact\\n    });\\n  }\\n  \\n  set_data({\\n    lines:lines\\n  });\\n}\\n\\nfunction home(){\\n  set_page(\\\"main\\\");\\n}\\n\\nasync function exit(){\\n  await set_data_store(\\\"database\\\",null);\\n  close_app();\\n}\"}, \"page_lead\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Leads\"}, {\"insert\": \"\\n\"}]}, \"color\": \"#f34141\", \"margin_top\": 10, \"margin_bottom\": 10, \"border_color\": \"#f34141\", \"border_bottom_width\": 2}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Lines Per Page : \\n\"}]}, \"color\": \"#f34141\", \"align\": \"right\"}]}, {\"children\": [{\"type\": \"field\", \"name\": \"pageLine\", \"field_type\": \"number\", \"on_change\": \"pageLineChg()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"chevron,SKL0PPuzoNo=.png\", \"width\": \"30\", \"height\": \"30\", \"align\": \"right\", \"margin_right\": 5, \"on_click\": \"pageNav(\\\"prev\\\")\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"width\": \"30\", \"height\": \"30\", \"align\": \"left\", \"margin_left\": 5, \"image_file\": \"right,OeDXBt1JgVc=.png\", \"on_click\": \"pageNav(\\\"next\\\")\"}]}, {\"children\": [{\"type\": \"field\", \"name\": \"pageNo\", \"field_type\": \"number\", \"align\": \"right\", \"text_align\": \"right\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \" / {totalPage}\\n\"}]}, \"color\": \"#f34141\"}]}], \"num_cols\": 6, \"col_widths\": [1, 1, 1, 1, 1, 1], \"margin_bottom\": 5}], \"min_height\": 50, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"No.\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Date\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Title\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Contact Name\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n\"}]}, \"on_click\": \"click(lead_id)\", \"color\": \"#f34141\", \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{date}\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{title}\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_name}\\n\"}]}, \"font_size\": 12}]], \"num_cols\": 4, \"_col_widths\": \"[1,1,1,2]\", \"col_widths\": [1, 1, 1, 2], \"table_bordered\": true, \"table_striped\": false, \"table_hover\": true, \"field_rows\": \"tLines\", \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10}], \"min_height\": 50, \"vert_scroll\": true, \"horiz_scroll\": true, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"back2,CDephSM_MM0=.png\", \"width\": \"20\", \"height\": \"20\", \"align\": \"center\", \"on_click\": \"back()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Back\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"back()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"power-button,PN9j8085V9g=.png\", \"width\": \"20\", \"height\": \"20\", \"align\": \"center\", \"on_click\": \"exit()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Exit\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"exit()\"}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20, \"_col_widths\": \"[1,1]\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"Powered by SmartB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"min_height\": 50}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  await table();\\n}\\n\\nasync function table(){\\n  \\n  var cond=[[\\\"state\\\",\\\"=\\\",\\\"new\\\"]];\\n  var fields=[\\\"number\\\",\\\"date\\\",\\\"title\\\",\\\"contact_name\\\"];\\n  var res=await rpc_execute(\\\"sale.lead\\\",\\\"search_read\\\",[cond,fields],{limit:100});\\n  var lines=[];\\n  \\n  for(var i=0; i\n                            <res.length; i++)\\n  {\\n    var number= res[i].number;\\n    var date=res[i].date;\\n    var title=res[i].title;\\n    var contact=res[i].contact_name;\\n    var id=res[i].id;\\n    \\n    lines[i]={\\n      _cid: _.uniqueId(),\\n      lead_id:id,\\n      number:number,\\n      date:moment(date).format(\\\"DD-MM-YY\\\"),\\n      title:title,\\n      contact_name:contact,\\n    };\\n  }\\n  \\n  var ctx={\\n    pageNo:1,\\n    pageLine:10,\\n  };\\n  var display=paginate(lines,ctx);\\n  var tLines=display.tLines;\\n  var totalPage=display.totalPage;\\n  \\n  set_data({\\n    tLines:tLines,\\n    lines:lines,\\n    totalPage:totalPage,\\n    pageNo:ctx.pageNo,\\n    pageLine:ctx.pageLine,\\n  });\\n}\\n\\n//pagination\\nfunction paginate(lines,ctx){\\n  var totalLines = lines.length;\\n  var totalPage = Math.ceil(totalLines/ctx.pageLine);\\n  var startLine=(ctx.pageNo-1)*ctx.pageLine; //(1-1)*10=0\\n  var endLine= ctx.pageNo*ctx.pageLine-1; //1*10-1=9\\n  var tLines=[];\\n  for(let i=startLine; i<=endLine; i++){\\n    if (lines.length <= i) {\\n      break;\\n    }\\n    tLines.push(lines[i]);\\n  }\\n  return{\\n    tLines:tLines,\\n    totalPage:totalPage,\\n  }\\n}\\n\\nfunction pageLineChg(pageNo){\\n  var data=get_data();\\n  if (pageNo < 1) return;\\n  if(!data.pageLine) data.pageLine=10;//default pageLine\\n  var ctx={\\n    pageNo: pageNo,\\n    pageLine:data.pageLine,\\n  };\\n  var lines=data.lines;\\n  var display=paginate(lines,ctx);\\n  if (display.tLines.length == 0) {\\n    return\\n  }\\n  set_data({\\n    pageNo: ctx.pageNo,\\n    tLines:display.tLines,\\n    totalPage:display.totalPage,\\n  });\\n}\\n\\nfunction pageNav(navi){\\n  var data=get_data();\\n  \\n  switch(navi){\\n    case \\\"next\\\":\\n      pageLineChg(data.pageNo+1);\\n      break;\\n    case \\\"prev\\\":\\n      pageLineChg(data.pageNo-1);\\n             }\\n}\\n\\nfunction click(lead_id){\\n  set_page(\\\"click_lead\\\",{lead_id:lead_id});\\n}       \\n\\nfunction back(){\\n  set_page(\\\"sales_main\\\");\\n}\\n\\nfunction exit(){\\n    close_app();\\n}\\n\\n/*function exit(){\\n  if(confirm(\\\"Are you sure you want to leave this app?\\\")){\\n    set_page(\\\"main\\\");\\n  }else{\\n    set_page(\\\"main_leave\\\");\\n  }\\n}*/\\n         \\n\\n\\n  \\n   \\t\"}, \"click_lead\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Lead : {number}\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 20, \"margin_bottom\": 10, \"color\": \"#f34141\", \"border_color\": \"#f34141\", \"border_bottom_width\": 2}], \"min_height\": 50, \"footer\": true, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#fd5f5f\", \"bold\": true}, \"insert\": \"Lead Information\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 5, \"border_color\": \"#fd5f5f\", \"border_bottom_width\": 2}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Number\\t\\t\\t\\t\\t\\t\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \": {number}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"[1,1]\", \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Status\\t\\t\\t\\t\\t\\t\\t\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \": {state}\\n\"}]}, \"margin_right\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"[1,1]\", \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Title\\t\\t\\t\\t\\t\\t\\t\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \": {title}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"[1,1]\", \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Date\\t\\t\\t\\t\\t\\t\\t\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \": {date}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"[1,1]\", \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Contact Name \\t\\t\\t\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \": {contact_name}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"[1,1]\", \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Email \\t\\t\\t\\t\\t\\t\\t\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \": {email}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"[1,1]\", \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Phone\\t\\t\\t\\t\\t\\t\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \": {phone}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"[1,1]\", \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Lead Owner \\t\\t\\t\\t\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \": {user_id}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"[1,1]\", \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Referred to\\t\\t\\t\\t\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \": {refer_contact_id}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"[1,1]\", \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#fd5f5f\", \"bold\": true}, \"insert\": \"Additional Information\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 5, \"border_color\": \"#fd5f5f\", \"border_bottom_width\": 2}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Company\\t\\t\\t\\t\\t\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \": {company}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"[1,1]\", \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"No. of employees\\t\\t\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \": {employees}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"[1,1]\", \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Website\\t\\t\\t\\t\\t\\t\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \": {website}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"[1,1]\", \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Annual Revenue \\t\\t\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \": {revenue}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"[1,1]\", \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Industry\\t\\t\\t\\t\\t\\t\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \": {industry}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"[1,1]\", \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Lead Source\\t\\t\\t\\t\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \": {source_id}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"[1,1]\", \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#fd5f5f\", \"bold\": true}, \"insert\": \"Description Information\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 5, \"border_color\": \"#fd5f5f\", \"border_bottom_width\": 2}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description \\t\\t\\t\\t\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \": {description}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"[1,1]\"}], \"min_height\": 50, \"margin_left\": 20, \"margin_right\": 20, \"vert_scroll\": true}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"check,a0cpVsyUOh8=.png\", \"width\": \"30\", \"height\": \"30\", \"align\": \"center\", \"on_click\": \"convert_sale_to_opport()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Convert to Opportunity\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"convert_sale_to_opport()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"cross,NHc9UAuzUNk=.png\", \"width\": \"30\", \"height\": \"30\", \"align\": \"center\", \"on_click\": \"void_sale_lead()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Void\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"void_sale_lead()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"back2,s6VmMpfUhVA=.png\", \"width\": \"30\", \"height\": \"30\", \"align\": \"center\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5, \"on_click\": \"back()\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Back\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"back()\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"_col_widths\": \"[1,1,1]\", \"margin_left\": 5, \"margin_right\": 5}], \"min_height\": 50, \"margin_top\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"Powered by SmartB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 5}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  var lead_id=page_params.lead_id;\\n  var fields=[\\\"number\\\",\\\"date\\\",\\\"title\\\",\\\"company_id\\\",\\\"contact_name\\\",\\\"email\\\",\\\"phone\\\",\\n              \\\"employees\\\",\\\"refer_contact_id\\\",\\\"company\\\",\\\"state\\\",\\\"website\\\",\\\"revenue\\\",\\n              \\\"industry\\\",\\\"source_id\\\",\\\"user_id\\\",\\\"description\\\"];\\n  var res=await rpc_execute(\\\"sale.lead\\\",\\\"read\\\",[[lead_id],fields]);\\n  \\n  lead_id=res[0];\\n  \\n  var number=lead_id.number;\\n  var date=lead_id.date;\\n  var title=lead_id.title;\\n  var company_id=lead_id.company_id;\\n  var contact_name=lead_id.contact_name;\\n  var email=lead_id.email;\\n  var phone=lead_id.phone;\\n  var employees=lead_id.employees;\\n  var refer_contact_id=lead_id.refer_contact_id;\\n  var company=lead_id.company;\\n  var state=lead_id.state;\\n  var website=lead_id.website;\\n  var revenue=lead_id.revenue;\\n  var industry=lead_id.industry;\\n  var source_id=lead_id.source_id;\\n  var user_id=lead_id.user_id;\\n  var description=res.description;\\n  \\n  set_data({\\n    number:number,\\n    date:moment(date).format(\\\"DD-MM-YYYY\\\"),\\n    title:title,\\n    company_id:company_id,\\n    contact_name:contact_name,\\n    email:email,\\n    phone:phone,\\n    employees:employees,\\n    refer_contact_id:refer_contact_id,\\n    company:company,\\n    state:state,\\n    website:website,\\n    revenue:revenue,\\n    industry:industry,\\n    source_id:source_id,\\n    user_id:user_id,\\n    description:description,\\n  });\\n}\\n\\nasync function void_sale_lead(){ //remember the \\\"async\\\" keyword since in your function, u are using \\\"await\\\" keyword\\n  var lead_id=page_params.lead_id;\\n  await rpc_execute(\\\"sale.lead\\\",\\\"void\\\",[[lead_id]]);//lead_id is a number, the function \\\"void\\\" takes in an array of ids, so need to add \\\"[ ]\\\"\\n  alert('Sales lead voided!');\\n  set_page('page_lead');\\n}\\n\\nasync function convert_sale_to_opport(){ // same, \\\"async\\\" keyword\\n  var lead_id=page_params.lead_id;\\n  //await rpc_execute(\\\"sale.lead\\\",\\\"copy_to_opport\\\",[ids]);\\n  ////no need to read from same Model, because the function takes in an array of ids, which u already have: lead_id\\n  await rpc_execute(\\\"sale.lead\\\",\\\"copy_to_opport\\\",[[lead_id]]);\\n  alert('Sales lead converted to opportunity!');\\n  set_page('page_lead');\\n}\\n\\nfunction back(){\\n  set_page(\\\"page_lead\\\");\\n}\\n    \"}, \"summary\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-06,xhnPZR-Soo8=.png\", \"height\": \"80\", \"align\": \"center\", \"image_size\": \"contain\"}], \"min_height\": 50, \"background_color\": \"#000000\", \"border_radius\": null, \"border_color\": \"#f34141\", \"border_bottom_width\": 5}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#f34141\", \"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Stock Summary\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 20, \"margin_bottom\": 10, \"border_color\": \"#f34141\", \"border_bottom_width\": 2}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"font\": \"serif\"}, \"insert\": \"Stock Closing Balance As of \"}, {\"attributes\": {\"size\": \"large\", \"font\": \"serif\", \"color\": \"#66a3e0\", \"bold\": true}, \"insert\": \"{today}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"placeholder_color\": \"#5683e4\"}], \"min_height\": 50}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Code\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Product Name\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Qty\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Amount\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prod_code}\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prod_name}\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{close_qty}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12, \"width\": \"100%\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{close_amt}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12, \"width\": \"100%\"}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{total_close_qty}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{total_close_amt}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12}]], \"num_cols\": 4, \"_col_widths\": \"[1,3,1,2]\", \"col_widths\": [1, 3, 1, 2], \"table_bordered\": true, \"table_striped\": false, \"table_hover\": false, \"num_rows\": 3, \"field_rows\": \"lines\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"back2,mcFUCIPxyd4=.png\", \"width\": \"20\", \"height\": \"20\", \"align\": \"center\", \"on_click\": \"back()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Back\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"back()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"orientation,s214sZ_qXOA=.png\", \"width\": \"20\", \"height\": \"20\", \"align\": \"center\", \"on_click\": \"setOrientation()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Change Orientation\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"setOrientation()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"power-button,KzKcRPOB-YE=.png\", \"width\": \"20\", \"height\": \"20\", \"align\": \"center\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5, \"on_click\": \"exit()\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Exit\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"exit()\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"margin_top\": 20, \"margin_bottom\": 350, \"_col_widths\": \"[1,1,1]\"}], \"min_height\": 50, \"padding_left\": 15, \"padding_right\": 15, \"padding_top\": 10, \"vert_scroll\": true, \"height\": \"\"}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  await table();\\n}\\n\\nasync function table(){\\n  var report_id=page_params.report_id;\\n  var today=page_params.date;\\n  var fields=[\\\"total_close_amt\\\",\\\"total_close_qty\\\",\\\"date_from\\\",\\\"date_to\\\"];\\n  var res = await rpc_execute(\\\"report.stock.summary\\\",\\\"get_report_data\\\",[[report_id]]);\\n  var date_from=res.date_from;\\n  var date_to=res.date_to;\\n  var total_close_amt=res.total_close_amt;\\n  var total_close_qty=res.total_close_qty;\\n  if(!res.lines) return;\\n  var lines=[];\\n  function format_num(num) {\\n    if (typeof(num) != 'number') return null;\\n    num = Math.round(num);\\n    if (num < 0) {\\n      num = `(${num * -1})` // '(' + num*-1 + ')' \\n    } else {\\n      num = num.toString();\\n    }\\n    return num.replace(/\\\\B(?=(\\\\d{3})+(?!\\\\d))/g, \\\",\\\")\\n  }\\n\\t\\n  for(var i=0; i\n                                <res.lines.length; i++)\\n  {\\n    var l=res.lines[i];\\n\\n    lines.push({\\n      _cid: _.uniqueId(),\\n      prod_code:l.prod_code,\\n      prod_name:l.prod_name,\\n      close_amt:format_num(l.close_amt),\\n      close_qty:l.close_qty,\\n    });\\n  }\\n  if (lines.length == 0) {\\n    lines.push({\\n      _cid: _.uniqueId(),\\n      prod_code: \\\"-\\\",\\n      prod_name:\\\"-\\\",\\n      close_amt: \\\"-\\\",\\n      close_qty: \\\"-\\\",\\n    });\\n  }\\n  set_data({\\n    lines: lines,\\n    total_close_amt:format_num(total_close_amt),\\n    total_close_qty:total_close_qty,\\n    today:today,\\n    date_from:moment(date_from).format(\\\"DD-MM-YYYY\\\"),\\n    date_to:moment(date_to).format(\\\"DD-MM-YYYY\\\"),\\n  });\\n}\\n\\nfunction back(){\\n  set_page(\\\"stock_summary\\\");\\n}\\n\\nfunction exit(){\\n  close_app();\\n}\\n\\nasync function setOrientation() {\\n  var res=await get_orientation();\\n  if (res == \\\"PORTRAIT_UP\\\"){\\n    set_orientation(\\\"LANDSCAPE\\\");\\n  } else if (res == \\\"LANDSCAPE\\\"){\\n    set_orientation(\\\"PORTRAIT_UP\\\");\\n  }\\n}\"}, \"stock_summary\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#f34141\", \"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Stock Summary\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 20, \"margin_bottom\": 10, \"border_bottom_width\": 2, \"border_color\": \"#f34141\"}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#fd5f5f\", \"bold\": true}, \"insert\": \"Filters (Optional)\"}, {\"insert\": \"\\n\"}]}, \"border_color\": \"#fd5f5f\", \"border_bottom_width\": 2, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Product\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"product\", \"field_type\": \"select\", \"placeholder\": \"Product Dropdown\", \"margin_bottom\": 5, \"model\": \"product\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Product Code\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"product_code\", \"field_type\": \"text\", \"placeholder\": \"Enter Product Code\", \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Master Product\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"master_product\", \"field_type\": \"select\", \"margin_bottom\": 5, \"model\": \"product\", \"placeholder\": \"Master Product Dropdown\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Location\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"location\", \"field_type\": \"select\", \"margin_bottom\": 5, \"model\": \"stock.location\", \"placeholder\": \"Location Dropdown\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Lot /  Serial Number\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"lot\", \"field_type\": \"select\", \"margin_bottom\": 5, \"model\": \"stock.lot\", \"placeholder\": \"Lot /  Serial Number Dropdown\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Container\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"container\", \"field_type\": \"select\", \"margin_bottom\": 5, \"model\": \"stock.container\", \"placeholder\": \"Container Dropdown\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Product Category\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"category\", \"field_type\": \"select\", \"margin_bottom\": 5, \"model\": \"product.categ\", \"placeholder\": \"Product Category Dropdown\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Date\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"name\": \"lastDay\", \"field_type\": \"date\", \"placeholder\": \"Please select the date\"}], \"min_height\": 50, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 20, \"vert_scroll\": true}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"play,TvlepkCmNzU=.png\", \"width\": \"30\", \"height\": \"30\", \"align\": \"center\", \"on_click\": \"run()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Run Report\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"run()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"cross,BKh1CYGSn4E=.png\", \"width\": \"30\", \"height\": \"30\", \"align\": \"center\", \"on_click\": \"cancel()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cancel\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"no_filter()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"on_click\": \"cancel()\", \"width\": \"30\", \"height\": \"30\", \"image_file\": \"cross,s-jS-XQx5LU=.png\", \"align\": \"center\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cancel\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"cancel()\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"[1,1]\", \"margin_top\": 20, \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\", \"font\": \"serif\"}, \"insert\": \"Powered by SmartB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  //cannot show in mobile apps date field, only in webpage\\n  var date = new Date();\\n  \\n  set_data({\\n    only_closing:true,\\n    show_container:null,\\n    show_image:null,\\n    show_lot:null,\\n    show_qty2:null,\\n    company_name:\\\"SmartB\\\",\\n    lastDay: date.toISOString().split(\\\"T\\\")[0],\\n  });\\n}\\n\\nasync function run(){\\n  var data = get_data();\\n  var lastDay = data.lastDay;\\n  var firstDay = data.firstDay;\\n  var date_from = data.firstDay;\\n  var inputData = {\\n    date_from:data.firstDay,\\n    date_to:data.lastDay,\\n    product_id:data.product,\\n    master_product_id:data.master_product,\\n    location_id:data.location,\\n    lot_id:data.lot,\\n    container_id:data.container,\\n    prod_categ_id:data.category,\\n    prod_code:data.product_code,\\n  }; \\n  \\n  var report_id = await rpc_execute(\\\"report.stock.summary\\\",\\\"create\\\",[inputData]);\\n  set_page(\\\"summary\\\",{report_id:report_id, date:lastDay});\\n}\\n\\nfunction cancel(){\\n  set_page(\\\"inventory_main\\\");\\n}   \"}, \"bal_sheet\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-06,HeeYjOBlrxA=.png\", \"height\": \"80\", \"align\": \"center\", \"image_size\": \"contain\", \"margin_right\": 10}], \"min_height\": 50, \"background_color\": \"#000000\", \"border_bottom_width\": 5, \"border_color\": \"#f34141\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#f34141\", \"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Balance Sheet\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 20, \"margin_bottom\": 10, \"border_color\": \"#f34141\", \"border_bottom_width\": 2}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"font\": \"serif\"}, \"insert\": \"Balance Sheet As at \"}, {\"attributes\": {\"size\": \"large\", \"font\": \"serif\", \"color\": \"#0066cc\", \"bold\": true}, \"insert\": \"{date}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10, \"margin_top\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{date}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{string}\\n\"}]}, \"font_bold\": false, \"dyn_props\": \"{\\\"font_bold\\\":bold}\", \"font_size\": 11}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{value}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 11, \"dyn_props\": \"{\\\"font_bold\\\":bold2}\", \"width\": \"100%\"}]], \"table_hover\": false, \"num_cols\": 2, \"num_rows\": null, \"_col_widths\": \"[3,1]\", \"col_widths\": [3, 1], \"field_rows\": \"lines\"}], \"min_height\": null, \"padding_left\": 10, \"padding_right\": 10, \"padding_top\": 10, \"padding_bottom\": 10, \"vert_scroll\": false, \"height\": \"\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"back2,TaQ5bxyU6s4=.png\", \"width\": \"20\", \"height\": \"20\", \"align\": \"center\", \"on_click\": \"back()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Back\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"back()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"orientation,qWWCv15-Gwc=.png\", \"height\": \"20\", \"width\": \"20\", \"align\": \"center\", \"on_click\": \"setOrientation()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Change Orientation\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"setOrientation()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"power-button,bPxUN5YslAY=.png\", \"width\": \"20\", \"height\": \"20\", \"align\": \"center\", \"on_click\": \"exit()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Exit\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"exit()\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"_col_widths\": \"[1,1,1]\", \"margin_top\": 10, \"margin_bottom\": 500}], \"min_height\": 50, \"vert_scroll\": true}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  //if (!page_params.bal_id) return;\\n  await sheet();\\n}\\n\\nasync function sheet(){\\n  var bal_id=page_params.bal_id;\\n  var res=await rpc_execute(\\\"report.balance.sheet\\\",\\\"get_report_data\\\",[[bal_id]]);\\n  var date=res.date;\\n  var date_to=res.date_to;\\n  console.log(\\\"res\\\",res);\\n  var lines = [];\\n  function format_num(num) {\\n    if (typeof(num) != 'number') return null;\\n    num = Math.round(num);\\n    if (num < 0) {\\n      num = `(${num * -1})` // '(' + num*-1 + ')' \\n    } else {\\n      num = num.toString();\\n    }\\n    return num.replace(/\\\\B(?=(\\\\d{3})+(?!\\\\d))/g, \\\",\\\")\\n  }\\n  if (res.lines && res.lines.length != 0) {\\n    for (let l of res.lines) {  //(var l=0; l<=res.lines; l++)\\n      let leading_space = l.padding / 5;\\n      var bold = l.type != 'account';\\n      var bold2= l.type =='group_footer';\\n      lines.push({\\n        string: '\\\\xa0'.repeat(leading_space) + l.string,\\n        value: format_num(l.amount),\\n        bold: bold,\\n        bold2:bold2,\\n      })\\n    }\\n  }\\n  \\n  set_data({\\n    date:moment(date).format(\\\"DD-MM-YYYY\\\"),\\t\\t\\n    lines: lines,\\n  });\\n}\\n\\nfunction back(){\\n  set_page(\\\"run_bal\\\");\\n}\\n\\n//Nicole - 25th June 2021\\nasync function setOrientation() {\\n  //var res = await screen_orientation.getOrientationLockAsync();\\n  var res=await get_orientation();\\n  if (res == \\\"PORTRAIT_UP\\\"){\\n    //await screen_orientation.lockAsync(screen_orientation.OrientationLock.LANDSCAPE);\\n    set_orientation(\\\"LANDSCAPE\\\");\\n  } else if (res == \\\"LANDSCAPE\\\"){\\n    //await screen_orientation.lockAsync(screen_orientation.OrientationLock.PORTRAIT_UP);\\n    set_orientation(\\\"PORTRAIT_UP\\\");\\n  }\\n}\\n\\n/*function home(){\\n  set_page(\\\"main\\\");\\n}*/\\n\\nfunction exit(){\\n  close_app();\\n}\\n  \"}, \"run_bal\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#f34141\", \"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Balance Sheet\"}, {\"insert\": \"\\n\"}]}, \"border_bottom_width\": 2, \"border_color\": \"#f34141\"}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10, \"margin_top\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#fd5f5f\", \"bold\": true}, \"insert\": \"Filters (Optional)\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 5, \"border_color\": \"#fd5f5f\", \"border_bottom_width\": 2}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Tracking 1\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"margin_bottom\": 5, \"name\": \"tracking1 \", \"field_type\": \"select\", \"placeholder\": \"Tracking1 Dropdown\", \"model\": \"account.track.categ\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Tracking 2\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"tracking2\", \"field_type\": \"select\", \"placeholder\": \"Tracking2 Dropdown\", \"model\": \"account.track.categ\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Date : \\n\"}]}, \"margin_bottom\": 3, \"font_name\": \"Serif\"}, {\"type\": \"field\", \"name\": \"lastDay\", \"field_type\": \"date\", \"placeholder\": \"Choose Tracking Date\"}], \"min_height\": 50, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 20, \"vert_scroll\": true}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"play,n7U1kP1oDJQ=.png\", \"width\": \"30\", \"height\": \"30\", \"align\": \"center\", \"on_click\": \"run()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Run Balance\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"run()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"cross,YNlfj3kl2DA=.png\", \"width\": \"30\", \"height\": \"30\", \"align\": \"center\", \"on_click\": \"cancel()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cancel\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"cancel()\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"[1,1]\", \"margin_top\": 20, \"margin_bottom\": 10, \"margin_right\": 5, \"margin_left\": 5}], \"min_height\": 50, \"footer\": true}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\", \"font\": \"serif\"}, \"insert\": \"Powered by SmartB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\nvar date= new Date();\\nvar lastDay=new Date();\\n  set_data({\\n    lastDay:lastDay.toISOString().split(\\\"T\\\")[0],\\n  });\\n   }\\n\\nasync function run(){\\n  var data=get_data();\\n  var lastDay=data.lastDay;\\n  var inputData={\\n    date_to:data.lastDay,\\n    date:data.lastDay,\\n    track_id:data.tracking1,\\n    track2_id:data.tracking2,\\n    \\n  };\\n    \\n  var bal_id = await rpc_execute(\\\"report.balance.sheet\\\",\\\"create\\\",[inputData]);\\n  set_page(\\\"bal_sheet\\\",{bal_id:bal_id});\\t//,date_to:lastDay\\n}\\n\\nfunction cancel(){\\n  set_page(\\\"finance_main\\\");\\n}\"}, \"pnl\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-06,0We--j2QoMM=.png\", \"height\": \"80\", \"align\": \"center\", \"image_size\": \"contain\"}], \"min_height\": 50, \"background_color\": \"#000000\", \"border_color\": \"#f34141\", \"border_bottom_width\": 5}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#f34141\", \"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Profit and Loss\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 20, \"margin_bottom\": 10, \"border_bottom_width\": 2, \"border_color\": \"#f34141\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\"}, \"insert\": \"From \"}, {\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"color\": \"#0066cc\", \"bold\": true}, \"insert\": \"{date_from}\"}, {\"attributes\": {\"font\": \"serif\", \"size\": \"large\"}, \"insert\": \" to \"}, {\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"color\": \"#0066cc\", \"bold\": true}, \"insert\": \"{date_to}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": 10}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{date_to_month}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 11}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"YTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 11}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{string}\\n\"}]}, \"font_size\": 11, \"font_bold\": false, \"dyn_props\": \"{\\\"font_bold\\\":bold}\", \"align\": \"left\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{value}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 11, \"dyn_props\": \"{\\\"font_bold\\\":bold2}\", \"align\": \"right\", \"width\": \"100%\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{value_ytd}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 11, \"dyn_props\": \"{\\\"font_bold\\\":bold3}\", \"align\": \"right\", \"width\": \"100%\"}]], \"field_rows\": \"lines\", \"num_cols\": 3, \"num_rows\": null, \"_col_widths\": \"[3,1,1]\", \"col_widths\": [3, 1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"back2,VzCkQs_leI4=.png\", \"width\": \"20\", \"height\": \"20\", \"align\": \"center\", \"on_click\": \"back()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Back\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"back()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"orientation,m6scNI8z17o=.png\", \"width\": \"20\", \"height\": \"20\", \"align\": \"center\", \"on_click\": \"setOrientation()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Change Orientation\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"setOrientation()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"power-button,W5AHFjVgHQ4=.png\", \"width\": \"20\", \"height\": \"20\", \"align\": \"center\", \"on_click\": \"exit()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Exit\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"exit()\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"_col_widths\": \"[1,1,1]\", \"margin_top\": 10, \"margin_bottom\": 400}], \"min_height\": null, \"vert_scroll\": true, \"padding_top\": null, \"padding_left\": 10, \"padding_bottom\": 10, \"padding_right\": 10}], \"min_height\": 50, \"vert_scroll\": true, \"horiz_scroll\": true, \"show_phone\": true, \"show_tablet\": false, \"show_desktop\": false}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  await sheet();\\n}\\n\\nasync function sheet(){\\n  var sheet_id=page_params.sheet_id;\\n  var res= await rpc_execute(\\\"report.profit.loss\\\",\\\"get_report_data\\\",[[sheet_id]]);\\n  var date_to=res.date_to;\\n  var date_from=res.date_from;\\n  var date_ytd=res.date_from_ytd;\\n  var lines=[];\\n  function format_num(num) {\\n    if (typeof(num) != 'number') return null;\\n    num = Math.round(num);\\n    if (num < 0) {\\n      num = `(${num * -1})` // '(' + num*-1 + ')' \\n    } else {\\n      num = num.toString();\\n    }\\n    return num.replace(/\\\\B(?=(\\\\d{3})+(?!\\\\d))/g, \\\",\\\")\\n  }\\n  if(res.lines && res.lines.length !=0) {\\n    for(let l of res.lines) {\\n      let leading_space= l.padding/5;\\n      var bold = l.type != 'account';\\n      var bold_value = l.type =='group_footer';\\n      var bold_ytd = l.type =='group_footer';\\n      lines.push({\\n        string: '\\\\xa0'.repeat(leading_space) + l.string,\\n        value: format_num(l.amount),\\n        value_ytd: format_num(l.amount_ytd),\\n        bold:bold,\\n        bold2:bold_value,\\n        bold3:bold_ytd,\\n      })\\n    }\\n  }\\n  \\n  set_data({\\n    date_to:moment(date_to).format(\\\"DD-MM-YYYY\\\"),\\n    date_from:moment(date_from).format(\\\"DD-MM-YYYY\\\"),\\n    date_to_month:moment(date_to).format(\\\"Do MMM\\\"),\\n    lines:lines,\\n  });\\n}\\n\\nfunction back(){\\n  set_page(\\\"run_profit\\\");\\n}\\n\\n//Nicole - 25th June 2021\\nasync function setOrientation() {\\n  //var res = await screen_orientation.getOrientationLockAsync();\\n  var res=await get_orientation();\\n  if (res == \\\"PORTRAIT_UP\\\"){\\n    set_orientation(\\\"LANDSCAPE\\\");\\n    //await screen_orientation.lockAsync(screen_orientation.OrientationLock.LANDSCAPE);\\n  } else if (res == \\\"LANDSCAPE\\\"){\\n    set_orientation(\\\"PORTRAIT_UP\\\");\\n    //await screen_orientation.lockAsync(screen_orientation.OrientationLock.PORTRAIT_UP);\\n  }\\n}\\n\\nfunction exit(){\\n  close_app();\\n}\\n    \"}, \"run_profit\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#f34141\", \"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Profit and Loss\"}, {\"insert\": \"\\n\"}]}, \"border_color\": \"#f34141\", \"border_bottom_width\": 2}], \"min_height\": 50, \"margin_top\": 20, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#fd5f5f\", \"bold\": true}, \"insert\": \"Filters (Optional)\"}, {\"insert\": \"\\n\"}]}, \"border_bottom_width\": 2, \"border_color\": \"#fd5f5f\", \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Tracking 1\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"tracking1\", \"field_type\": \"select\", \"placeholder\": \"Tracking1 Dropdown\", \"margin_bottom\": 5, \"model\": \"account.track.categ\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Tracking 2\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"tracking2\", \"field_type\": \"select\", \"placeholder\": \"Tracking 2 Dropdown\", \"margin_bottom\": 5, \"model\": \"account.track.categ\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Contact\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"field_type\": \"select\", \"name\": \"contact\", \"placeholder\": \"Contact Dropdown\", \"margin_bottom\": 5, \"model\": \"contact\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Start Date :\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"field\", \"field_type\": \"date\", \"placeholder\": \"Select Start Date\", \"name\": \"date_from\", \"width\": \"500\", \"margin_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"End Date :\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"field\", \"field_type\": \"date\", \"placeholder\": \"Select End Date\", \"width\": \"500\", \"name\": \"date_to\", \"margin_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}], \"min_height\": 50, \"vert_scroll\": true, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"play,0soOTVIJGrA=.png\", \"width\": \"30\", \"height\": \"30\", \"align\": \"center\", \"on_click\": \"run()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Run\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"run()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"cross,wSZbiE4fzMw=.png\", \"width\": \"30\", \"height\": \"30\", \"align\": \"center\", \"on_click\": \"cancel()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cancel\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"cancel()\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"[1,1]\", \"margin_top\": 20, \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\", \"font\": \"serif\"}, \"insert\": \"Powered by SmartB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  var date= new Date();\\n  var firstDay=new Date(date.getFullYear(), date.getMonth(),2);\\n  var lastDay=new Date(date.getFullYear(), date.getMonth()+1,1);\\n  set_data({\\n    show_ytd:true,\\n    company_name:\\\"SmartB\\\",\\n    col0: lastDay,\\n    date_from: firstDay.toISOString().split(\\\"T\\\")[0],\\n    date_to: lastDay.toISOString().split(\\\"T\\\")[0],\\n    //date_from_ytd:\\\"2020-10-01\\\",\\n  });\\n}\\n\\nasync function run(){\\n  var data=get_data();\\n  \\n  var inputData={\\n    track2_id:data.tracking2,\\n    track_id:data.tracking1,\\n    contact_id:data.contact,\\n    date_from : data.date_from,\\n    date_to : data.date_to,\\n  };\\n  \\n  //checkDate();\\n  \\n  \\n  var sheet_id = await rpc_execute(\\\"report.profit.loss\\\",\\\"create\\\",[inputData]);\\n  set_page(\\\"pnl\\\",{sheet_id:sheet_id});  \\n  \\n  return run();\\n}\\n\\nfunction cancel(){\\n  set_page(\\\"finance_main\\\");\\n}\\n\\n/*function checkDate(){\\n  var data=get_data();\\n  date1=new Date(data.date_from);\\n  date2=new Date(data.date_to);\\n  if (date1-date2>0){\\n    alert('Invalid date period! Please re-enter!');\\n  }\\n}*/\\n\\n\\n\"}, \"aged_receivable_summary\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-04_adobespark,FOSW6AUr5Ao=.png\", \"height\": \"50\", \"align\": \"left\", \"image_size\": \"contain\", \"margin_left\": 0, \"margin_top\": null, \"margin_right\": 50}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Aged Receivables (Summary)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 10, \"color\": \"#ffffff\", \"margin_top\": null, \"margin_left\": null}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#66a3e0\", \"font\": \"serif\", \"bold\": true}, \"insert\": \"{date}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#66a3e0\", \"font\": \"serif\", \"bold\": true}, \"insert\": \"{date}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_top\": null, \"margin_right\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_left\": null, \"height\": \"\"}], \"min_height\": 50, \"background_color\": \"#000000\", \"border_color\": \"#f34141\", \"border_bottom_width\": 5}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Total Receivable\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Current\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{periods1}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Older\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Older\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 10}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_name}\\n\"}]}, \"font_size\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount_total}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 10, \"width\": \"100%\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount_current}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 10, \"width\": \"100%\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{period1_amt}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 10, \"width\": \"100%\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount_older}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 10, \"width\": \"100%\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount_older}\\n\"}]}, \"font_size\": 10}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Total Receivables\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{total}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{total_current}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{periods1_total}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{total_older}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{total_older}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 10}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Total Receivables\"}, {\"insert\": \"\\n\"}]}}]], \"num_cols\": 5, \"_col_widths\": \"[2,1,1,1,1]\", \"col_widths\": [2, 1, 1, 1, 1], \"field_rows\": \"lines\", \"num_rows\": 3, \"table_hover\": false}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"back2,jk9W2umNebM=.png\", \"on_click\": \"back()\", \"width\": \"20\", \"height\": \"20\", \"align\": \"center\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Back\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"back()\", \"tooltip\": \"\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"orientation,ZBK4LshKBG8=.png\", \"width\": \"20\", \"height\": \"20\", \"align\": \"center\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5, \"on_click\": \"setOrientation()\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Change Orientation\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"setOrientation()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"power-button,LjG94YAz6wU=.png\", \"on_click\": \"exit()\", \"width\": \"20\", \"height\": \"20\", \"align\": \"center\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Exit\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"exit()\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"margin_top\": 20, \"margin_bottom\": 350, \"_col_widths\": \"[1,1,1]\", \"border_radius\": null, \"border_width\": null, \"border_color\": \"#7a6f6f\", \"dyn_props\": \"\"}], \"min_height\": 50, \"vert_scroll\": true, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  await sheet();\\n}\\n\\nasync function sheet(){\\n  var receivable_id =  page_params.receivable_id;\\n  var res = await rpc_execute(\\\"report.aged.receivables\\\",\\\"get_report_data\\\",[[receivable_id]]);\\n  var total = res.total;\\n  var total_current=res.total_current;\\n  var total_older=res.total_older;\\n  var periods1 = res.periods[0].period_name;\\n  var periods1_total = res.periods[0].total;\\n  var periods2 = res.periods[1].period_name;\\n  var periods2_total = res.periods[1].total;\\n  var date = res.date;\\n  var lines = [];\\n  \\n  function format_num(num) {\\n    if (typeof(num) != 'number') return null;\\n    num = Math.round(num);\\n    if (num < 0) {\\n      num = `(${num * -1})` // '(' + num*-1 + ')' \\n    } else {\\n      num = num.toString();\\n    }\\n    return num.replace(/\\\\B(?=(\\\\d{3})+(?!\\\\d))/g, \\\",\\\")\\n  }\\n  \\n  for(var i=0; i\n                                    <res.lines.length; i++){\\n    var l = res.lines[i];\\n    \\n    lines.push({\\n      _cid:_.uniqueId(),\\n      contact_name:l.contact_name,\\n      amount_total:format_num(l.amount_total), \\n      amount_current:format_num(l.amount_current),\\n      amount_older:format_num(l.amount_older),\\n      period1_amt:format_num(l.periods[0].amount),\\n      period2_amt:format_num(l.periods[1].amount),\\n    });\\n  }\\n  \\n  if(lines.length ==0){\\n    lines.push({\\n      _cid:_.uniqueId(),\\n      contact_name:\\\"-\\\",\\n      amount_total:\\\"-\\\",\\n      amount_current:\\\"-\\\",\\n      amount_older:\\\"-\\\",\\n      period1_amt:\\\"-\\\",\\n      period2_amt:\\\"-\\\",\\n    })\\n  }\\n    \\n  set_data({\\n    total:format_num(total),\\n    total_current:format_num(total_current),\\n    total_older:format_num(total_older),\\n    date: moment(date).format(\\\"DD-MM-YYYY\\\"),\\n    periods1:periods1,\\n    periods1_total:periods1_total,\\n    periods2:periods2,\\n    periods2_total:periods2_total,\\n    lines:lines,\\n  });\\n}\\n\\nfunction back(){\\n  set_page(\\\"run_receivable\\\");\\n}\\n\\nfunction exit(){\\n  close_app();\\n}\\n\\n//khal 260621\\nasync function setOrientation() {\\n  var res=await get_orientation();\\n  if (res == \\\"PORTRAIT_UP\\\"){\\n    set_orientation(\\\"LANDSCAPE\\\");\\n  } else if (res == \\\"LANDSCAPE\\\"){\\n    set_orientation(\\\"PORTRAIT_UP\\\");\\n  }\\n}\\n/*\\nfunction test(){\\n  var data = get_data();\\n  if(data.hide != true){\\n    set_data({hide:true});\\n  }else{\\n    set_data({hide:false});\\n  }\\n\\n}*/\"}, \"run_receivable\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#f34141\", \"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Aged Receivables (Summary)\"}, {\"insert\": \"\\n\"}]}, \"border_color\": \"#f34141\", \"border_bottom_width\": 2}], \"min_height\": 50, \"margin_top\": 20, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#fd5f5f\", \"bold\": true}, \"insert\": \"Filters (Optional)\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 5, \"border_bottom_width\": 2, \"border_color\": \"#fd5f5f\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Contact\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"contact\", \"field_type\": \"select\", \"placeholder\": \"Contact Dropdown\", \"margin_bottom\": 5, \"model\": \"contact\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Period Days\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"period\", \"field_type\": \"number\", \"placeholder\": \"Days Per Period ( Eg : 30 )\"}], \"min_height\": 50, \"vert_scroll\": true, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"play,a1Uf7_wfuT4=.png\", \"width\": \"30\", \"height\": \"30\", \"align\": \"center\", \"on_click\": \"run()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Run \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"run()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"cross,p7asvLjES6Y=.png\", \"width\": \"30\", \"height\": \"30\", \"align\": \"center\", \"on_click\": \"cancel()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cancel\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"cancel()\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_bottom\": 10, \"_col_widths\": \"[1,1]\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\", \"font\": \"serif\"}, \"insert\": \"Powered by SmartB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  var today = moment().format();\\n  \\n  set_data({\\n    company_name:\\\"SmartB\\\",\\n    date:today,\\n    num_periods:2,\\n    period_days:30,\\n  });\\n}\\n\\nasync function run(){\\n  var data = get_data();\\n  var inputData = {\\n    contact_id:data.contact,\\n    period_days:data.period,\\n  };\\n  \\n  var receivable_id = await rpc_execute(\\\"report.aged.receivables\\\",\\\"create\\\",[inputData]);\\n  set_page(\\\"aged_receivable_summary\\\",{receivable_id:receivable_id});\\n}\\n\\nfunction cancel(){\\n  set_page(\\\"finance_main\\\");\\n}\\n\"}, \"aged_payable\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-06,LWppUjC5mu4=.png\", \"height\": \"80\", \"align\": \"center\", \"image_size\": \"contain\"}], \"min_height\": 50, \"border_color\": \"#f34141\", \"border_bottom_width\": 5, \"header\": true, \"background_color\": \"#000000\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#f34141\", \"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Aged Payables (Summary)\"}, {\"insert\": \"\\n\"}]}, \"border_color\": \"#f34141\", \"border_bottom_width\": 2, \"margin_top\": 20, \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\"}, \"insert\": \"As at \"}, {\"attributes\": {\"color\": \"#0066cc\", \"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"{date}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Total Payable\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Current\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{periods1}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Older\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 10}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_name}\\n\"}]}, \"font_size\": 11}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount_total}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 11, \"width\": \"100%\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount_current}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 11, \"width\": \"100%\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{period1_amt}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"editable\": false, \"font_size\": 11, \"width\": \"100%\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount_older}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 11, \"width\": \"100%\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Total Payables\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{total}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 11}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{total_current}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 11}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{periods1_total}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 11}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{total_older}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 11}]], \"num_cols\": 5, \"num_rows\": 3, \"_col_widths\": \"[2,1,1,1,1]\", \"col_widths\": [2, 1, 1, 1, 1], \"field_rows\": \"lines\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"back2,hVzPJQbIWZM=.png\", \"width\": \"20\", \"height\": \"20\", \"align\": \"center\", \"on_click\": \"back()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Back\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"back()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"orientation,pses4p-D2w4=.png\", \"width\": \"20\", \"height\": \"20\", \"align\": \"center\", \"on_click\": \"setOrientation()\", \"margin_left\": 10, \"margin_bottom\": 5, \"margin_right\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Change Orientation\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"setOrientation()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"power-button,zoVe0-McbOs=.png\", \"width\": \"20\", \"height\": \"20\", \"align\": \"center\", \"on_click\": \"exit()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Exit\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"exit()\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"_col_widths\": \"[1,1,1]\", \"margin_top\": 20, \"margin_bottom\": 350, \"on_click\": \"\", \"avoid_keyboard\": true}], \"min_height\": 50, \"vert_scroll\": true, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  await sheet();\\n}\\n\\nasync function sheet(){\\n  var payable_id =  page_params.payable_id;\\n  var res = await rpc_execute(\\\"report.aged.payables\\\",\\\"get_report_data\\\",[[payable_id]]);\\n  var total = res.total;\\n  var total_current=res.total_current;\\n  var total_older=res.total_older;\\n  var periods1 = res.periods[0].period_name;\\n  var periods1_total = res.periods[0].total;\\n  var periods2 = res.periods[1].period_name;\\n  var periods2_total = res.periods[1].total;\\n  var date = res.date;\\n  var lines = [];\\n  \\n  function format_num(num) {\\n    if (typeof(num) != 'number') return null;\\n    num = Math.round(num);\\n    if (num < 0) {\\n      num = `(${num * -1})` // '(' + num*-1 + ')' \\n    } else {\\n      num = num.toString();\\n    }\\n    return num.replace(/\\\\B(?=(\\\\d{3})+(?!\\\\d))/g, \\\",\\\")\\n  }\\n  \\n  for(var i=0; i\n                                        <res.lines.length; i++){\\n    var l = res.lines[i];\\n    \\n    lines.push({\\n      _cid:_.uniqueId(),\\n      contact_name:l.contact_name,\\n      amount_total:format_num(l.amount_total), \\n      amount_current:format_num(l.amount_current),\\n      amount_older:format_num(l.amount_older),\\n      period1_amt:format_num(l.periods[0].amount),\\n      period2_amt:format_num(l.periods[1].amount),\\n    });\\n  }\\n  \\n  if(lines.length ==0){\\n    lines.push({\\n      _cid:_.uniqueId(),\\n      contact_name:\\\"-\\\",\\n      amount_total:\\\"-\\\",\\n      amount_current:\\\"-\\\",\\n      amount_older:\\\"-\\\",\\n      period1_amt:\\\"-\\\",\\n      period2_amt:\\\"-\\\",\\n    })\\n  }\\n    \\n  set_data({\\n    total:format_num(total),\\n    total_current:format_num(total_current),\\n    total_older:format_num(total_older),\\n    date: moment(date).format(\\\"DD-MM-YYYY\\\"),\\n    periods1:periods1,\\n    periods1_total:periods1_total,\\n    periods2:periods2,\\n    periods2_total:periods2_total,\\n    lines:lines,\\n  });\\n}\\n\\nfunction back(){\\n  set_page(\\\"run_payable\\\");\\n}\\n\\nfunction exit(){\\n  close_app();\\n}\\n\\n//khal 260621\\nasync function setOrientation() {\\n  var res=await get_orientation();\\n  if (res == \\\"PORTRAIT_UP\\\"){\\n    set_orientation(\\\"LANDSCAPE\\\");\\n  } else if (res == \\\"LANDSCAPE\\\"){\\n    set_orientation(\\\"PORTRAIT_UP\\\");\\n  }\\n}\"}, \"run_payable\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#f34141\", \"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Aged Payables (Summary)\"}, {\"insert\": \"\\n\"}]}, \"border_color\": \"#f34141\", \"border_bottom_width\": 2}], \"min_height\": 50, \"margin_top\": 20, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#fd5f5f\", \"bold\": true}, \"insert\": \"Filters (Optional)\"}, {\"insert\": \"\\n\"}]}, \"border_color\": \"#fd5f5f\", \"border_bottom_width\": 2, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Contact\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"contact\", \"field_type\": \"select\", \"placeholder\": \"Contact Dropdown\", \"model\": \"contact\", \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\"}, \"insert\": \"Period Days\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 3}, {\"type\": \"field\", \"name\": \"period\", \"field_type\": \"number\", \"placeholder\": \"Days Per Period ( Eg : 30 )\"}], \"min_height\": 50, \"vert_scroll\": true, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"play,-fVLLviSqH8=.png\", \"width\": \"30\", \"height\": \"30\", \"align\": \"center\", \"on_click\": \"run()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Run\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"run()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"cross,1YzfrqjLu6Y=.png\", \"width\": \"30\", \"height\": \"30\", \"align\": \"center\", \"on_click\": \"cancel()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cancel\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"cancel()\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"[1,1]\", \"margin_top\": 20, \"margin_bottom\": 10}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  var today = moment().format();\\n  \\n  set_data({\\n    company_name:\\\"SmartB\\\",\\n    date:today,\\n    num_periods:2,\\n    period_days:30,\\n  });\\n}\\n\\nasync function run(){\\n  var data = get_data();\\n  var inputData = {\\n    contact_id:data.contact,\\n    period_days:data.period,\\n  };\\n  \\n  var payable_id = await rpc_execute(\\\"report.aged.payables\\\",\\\"create\\\",[inputData]);\\n  set_page(\\\"aged_payable\\\",{payable_id:payable_id});\\n}\\n\\nfunction cancel(){\\n  set_page(\\\"finance_main\\\");\\n}\\n\\nfunction cancel(){\\n  set_page(\\\"finance_main\\\");\\n}\"}, \"test_cmpm\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"button\", \"text\": \"Use Camera\", \"icon\": \"camera\", \"align\": \"center\", \"font_size\": 14, \"height\": \"30\", \"on_click\": \"on_camera()\", \"width\": \"150\", \"border_radius\": 3, \"dyn_props\": \"{hidden:hide_camera_button}\", \"margin_top\": 10, \"hidden\": false}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"margin_left\": 50, \"margin_right\": 50, \"hidden\": false}, {\"type\": \"box\", \"children\": [{\"type\": \"field\", \"field_type\": \"camera\", \"name\": \"qr\", \"disabled\": true, \"dyn_props\": \"{disabled:disable_camera}\", \"scale\": null, \"height\": 400, \"width\": 200, \"margin_left\": null, \"margin_right\": null, \"align\": \"center\", \"margin_top\": null, \"margin_bottom\": null}], \"min_height\": 50, \"margin_top\": 20, \"name\": \"camera_box\", \"border_width\": null, \"margin_left\": 5, \"margin_right\": 5, \"margin_bottom\": 20, \"border_color\": \"rgba(243,237,237,0.55)\", \"border_radius\": null, \"vert_scroll\": false, \"avoid_keyboard\": false, \"dyn_props\": \"{hidden:hide_camera_box}\", \"hidden\": false}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Item Code: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 14, \"font_bold\": true}]}, {\"children\": [{\"type\": \"field\", \"name\": \"ref\", \"field_type\": \"text\", \"placeholder\": \"Type Code Here or Scan Code\", \"text_align\": \"center\", \"align\": \"center\", \"on_change\": \"on_barcode();\", \"margin_left\": null, \"margin_right\": null, \"width\": \"\", \"height\": \"\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Enter\", \"align\": \"left\", \"width\": \"80\", \"height\": \"40\", \"font_size\": 14, \"margin_left\": 10, \"on_click\": \"enter_barcode()\", \"background_color\": \"#80b8f0\", \"margin_right\": 50, \"border_radius\": 3, \"dyn_props\": \"{hidden:hide_enter_button}\", \"hidden\": true}]}], \"num_cols\": 2, \"col_widths\": [0.8, 2], \"margin_left\": 5, \"margin_right\": 5, \"_col_widths\": \"[0.8,2]\", \"margin_top\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Qty: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 14, \"font_bold\": true}]}, {\"children\": [{\"type\": \"field\", \"name\": \"qty\", \"field_type\": \"number\", \"placeholder\": \"No. of Bottles\", \"font_size\": 18, \"width\": \"\"}]}], \"num_cols\": 2, \"col_widths\": [0.8, 2], \"margin_top\": 10, \"margin_bottom\": null, \"_col_widths\": \"[0.8,2]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Inv No: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 14, \"font_bold\": true}]}, {\"children\": [{\"type\": \"field\", \"name\": \"invoice_no\", \"field_type\": \"text\", \"placeholder\": \"Optional\", \"width\": \"\"}]}], \"num_cols\": 2, \"col_widths\": [0.8, 2], \"margin_top\": 10, \"margin_bottom\": null, \"_col_widths\": \"[0.8,2]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"D/O No: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 14, \"font_bold\": true}]}, {\"children\": [{\"type\": \"field\", \"name\": \"do_no\", \"field_type\": \"text\", \"placeholder\": \"Optional\", \"width\": \"\"}]}], \"num_cols\": 2, \"col_widths\": [0.8, 2], \"margin_top\": 10, \"margin_bottom\": null, \"_col_widths\": \"[0.8,2]\"}], \"min_height\": 50, \"avoid_keyboard\": true, \"name\": \"details_box\", \"dyn_props\": \"{hidden:hide_details_box}\", \"margin_left\": 5, \"margin_right\": 5, \"hidden\": false, \"vert_scroll\": true}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"italic\": true}, \"insert\": \"Note: Please fill in either Inv No \"}, {\"attributes\": {\"italic\": true, \"bold\": true}, \"insert\": \"OR \"}, {\"attributes\": {\"italic\": true}, \"insert\": \"D/O No\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"min_height\": 50, \"vert_scroll\": true, \"avoid_keyboard\": true, \"margin_left\": 50, \"margin_right\": 50, \"margin_top\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"button\", \"text\": \"Back\", \"icon\": \"arrow-left\", \"align\": \"left\", \"width\": \"80\", \"height\": \"40\", \"on_click\": \"back()\", \"font_size\": 14, \"border_radius\": 3}], \"min_height\": 50, \"name\": \"back_box\", \"dyn_props\": \"{hidden:hide_back_box}\"}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"button\", \"text\": \"Confirm\", \"icon\": \"\", \"align\": \"right\", \"width\": \"150\", \"height\": \"40\", \"hover_background_color\": \"#000000\", \"background_color\": \"rgba(6,148,13,0.41)\", \"on_click\": \"validate()\", \"font_size\": 14, \"border_width\": null, \"border_radius\": 3}], \"min_height\": 50, \"name\": \"validate_box\", \"dyn_props\": \"{hidden:hide_validate_box}\", \"hidden\": false}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 10, \"margin_bottom\": 10, \"margin_left\": 50, \"margin_right\": 50}, {\"type\": \"box\", \"children\": [], \"min_height\": 200, \"margin_left\": 50, \"margin_right\": 50, \"vert_scroll\": true, \"avoid_keyboard\": true}], \"min_height\": 50, \"name\": \"box1\", \"background_color\": \"rgba(253,248,248,0.01)\", \"avoid_keyboard\": true, \"horiz_scroll\": false, \"margin_top\": null, \"margin_bottom\": null, \"margin_left\": 10, \"margin_right\": 10, \"vert_scroll\": true}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  var date = moment().format(\\\"YYYY-MM-DD HH:mm:ss\\\");\\n  var gi_no = await get_number();\\n  \\n  \\n  set_data({\\n    lines:[],\\n    date:date,\\n    number:gi_no,\\n    //hide_enter_button:true,\\n    //hide_validate_box:false,\\n    //hide_details_box:false,\\n    //hide_back_box:true,\\n    //hide_details_box:true,\\n  });\\n}\\n\\nasync function get_number() {\\n  var seq=await rpc_execute(\\\"sequence\\\",\\\"search_read\\\",[[\\\"name\\\",\\\"=\\\",\\\"GI\\\"],[\\\"name\\\"]]);\\n  var seq_id=seq[0].id;\\n  var num=await rpc_execute(\\\"sequence\\\",\\\"get_next_number\\\",[seq_id]);\\n  return num ;\\n  console.log(\\\"default\\\", num ); \\n}\\n\\n\\nasync function on_barcode(barcode){\\n  if (barcode){\\n    await process_barcode(barcode);\\n  } else {\\n    var data = get_data();\\n    barcode = data.barcode.slice(0,-1);  \\n    await process_barcode(barcode);\\n  }\\n}\\n\\nasync function process_barcode(barcode) {\\n  var data =get_data();\\n  \\n  var res = await rpc_execute(\\\"product\\\",\\\"read_path\\\",[[770],[\\\"code\\\",\\\"name\\\",\\\"uom_id.name\\\"]]); //test-prod\\n  //throw (\\\"test:\\\", res[0].id);\\n\\n  if (data.ref || !data.ref){\\n    set_data({\\n      //product:barcode, \\n      ref:barcode,\\n      prod_id:res[0].id,\\n      prod_name:res[0].name,\\n      uom_name:res[0].uom_id.name,\\n      uom_id:res[0].uom_id.id,\\n      qty:data.qty,\\n      //hide_enter_button:true,\\n      hide_validate_box:false,\\n      hide_details_box:false,\\n      //hide_back_box:true,\\n    }); \\n  } \\n}\\n\\nfunction on_camera(){\\n  set_data({\\n    disable_camera:false,\\n    //hide_enter_button:true,\\n    hide_camera_button:true,\\n    //hide_camera_box:false\\n  });\\n}\\n\\n/*\\nasync function enter_barcode(barcode){\\n  //alert(\\\"Test\\\");\\n  var data = get_data();\\n  \\n  var res = await rpc_execute(\\\"product\\\",\\\"read_path\\\",[[770],[\\\"code\\\",\\\"name\\\",\\\"uom_id.name\\\"]]); //test-prod\\n  \\n  if (!data.ref){\\n    alert (\\\"Missing barcode.\\\");\\n    return;\\n  } \\n  else {\\n    //throw (\\\"Testtt:\\\");\\n    set_data({\\n      ref:data.ref,\\n      prod_id:res[0].id,\\n      prod_name:res[0].name,\\n      uom_name:res[0].uom_id.name,\\n      uom_id:res[0].uom_id.id,\\n      qty:data.qty,\\n      //hide_enter_button:true,\\n      hide_validate_box:false,\\n      hide_details_box:false,\\n      //hide_back_box:true,\\n    });\\n  }\\n}\\n*/\\n\\nasync function validate() {\\n  var data = get_data();\\n  //var lines = data.lines;  \\n  if(!data.ref) throw \\\"Missing barcode.\\\";\\n  if(!data.qty) throw \\\"Missing quantity.\\\";\\n  if(!data.invoice_no && !data.do_no) throw \\\"Please fill in Invoice No. or Delivery Order No.\\\";\\n  if(data.invoice_no && data.do_no) throw \\\"Please fill in either Invoice No. or D/O No. \\\";\\n  var invoice_no = data.invoice_no;\\n  var do_no = data.do_no;\\n  \\n  var res = await rpc_execute(\\\"product\\\",\\\"read_path\\\",[[770],[\\\"code\\\",\\\"name\\\",\\\"uom_id.name\\\"]]); //test-prod\\n  \\n  set_data({\\n    ref:data.ref,\\n    prod_id:res[0].id,\\n    prod_name:res[0].name,\\n    uom_name:res[0].uom_id.name,\\n    uom_id:res[0].uom_id.id,\\n    qty:data.qty,\\n    //hide_enter_button:true,\\n    hide_validate_box:false,\\n    hide_details_box:false,\\n    //hide_back_box:true,\\n  });\\n  \\n  var journal_id = 4; //GI\\n  var res_journal = await rpc_execute(\\\"stock.journal\\\", \\\"read\\\", [[journal_id],[\\\"location_from_id\\\",\\\"location_to_id\\\"]]);\\n  //throw (\\\"res_journal\\\", res_journal[0].location_from_id[0]);\\n\\n  var gi_lines = [];\\n\\n  gi_lines.push({\\n    product_id:data.prod_id,\\n    location_from_id:res_journal[0].location_from_id[0],\\n    location_to_id:res_journal[0].location_to_id[0],\\n    qty:data.qty,\\n    uom_id:data.uom_id,\\n  });\\n  \\n\\n  //Chin added to check for duplicate\\n  var search_res = await rpc_execute(\\\"stock.picking\\\",\\\"search\\\",[[[\\\"number\\\",\\\"=\\\",data.number]]]);\\n  if (search_res.length > 0) {\\n    var new_number = await get_number();\\n    //throw (\\\"new_number\\\", new_number);\\n    alert(`${data.number} already existed. Updating Number to ${new_number}`);\\n    set_data({number:new_number});\\n    return;\\n\\n  var gi_vals ={\\n    journal_id:journal_id,\\n    number:data.number,\\n    ref:data.ref,\\n    date:data.date,\\n    //other_info: (invoice_no ? `Invoice No.: ${invoice_no}`) ? (do_no ? `Delivery Order No.: ${do_no}`) : (`Invoice No.: ${invoice_no}`),\\n    //other_info: (invoice_no && !do_no) ? `Invoice No: ${invoice_no}` : (!invoice_no && do_no) ? `Delivery Order No: ${do_no}` : `Invoice No: ${invoice_no}\\\\nDelivery Order No: ${do_no}`,\\n    other_info: (invoice_no && !do_no) ? `Invoice No: ${invoice_no}` : (!invoice_no && do_no) ? `Delivery Order No: ${do_no}` : null,\\n\\t//speed >= 120 ? 'Too Fast' : speed >= 80 ? 'Fast' : 'OK';\\n    //pic:data.pic,\\n    gi_lines:gi_lines,\\n  }\\n  //throw \\\"test\\\";\\n\\n  var res2 = await rpc_execute(\\\"stock.picking\\\",\\\"create_gi\\\",[gi_vals]);\\n  var pick_id=res2.pick_id;\\n  //await rpc_execute(\\\"stock.picking\\\",\\\"expand_bundles\\\",[[pick_id]]);\\n  console.log(\\\"gi created\\\",res2);\\n\\n  var seq_id=59;\\n  await rpc_execute(\\\"sequence\\\",\\\"increment_number\\\",[seq_id]);\\n  alert(\\\"GI is successfully created: \\\" + \\\" \\\" + data.number);\\n  set_page(\\\"inventory_main\\\");\\n\\n}\\n\\nasync function back(){\\n  set_page(\\\"inventory_main\\\");\\n}\\n\"}, \"test_costa_mobile\": {\"layout\": null, \"code\": null}, \"test_inventory_mobile\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 50, \"margin_right\": 50, \"margin_top\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"button\", \"text\": \"Use Camera\", \"icon\": \"camera\", \"on_click\": \"use_camera()\", \"align\": \"center\", \"width\": \"150\", \"height\": \"50\"}], \"min_height\": 50, \"dyn_props\": \"{hidden:cam_box}\", \"name\": \"box_for_use_camera\"}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"margin_left\": 50, \"margin_right\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"field\", \"field_type\": \"camera\", \"name\": \"qr\", \"disabled\": true, \"dyn_props\": \"{disabled:!enable_camera}\", \"scale\": null, \"height\": 500, \"width\": 500, \"margin_left\": null, \"margin_right\": null, \"align\": \"center\", \"margin_top\": null, \"margin_bottom\": null}], \"min_height\": 50, \"margin_top\": 20, \"name\": \"box_for_enable_camera\", \"border_width\": 2, \"margin_left\": 5, \"margin_right\": 5, \"margin_bottom\": 20, \"border_color\": \"rgba(243,237,237,0.55)\", \"border_radius\": 3}, {\"type\": \"box\", \"children\": [{\"type\": \"list\", \"child\": {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Product Code :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prod_code}\\n\"}]}, \"font_size\": 18}]}, {\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": []}, {\"children\": []}], \"col_widths\": [1, 1]}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"align\": \"right\", \"margin_left\": 20, \"margin_right\": 20}, \"name\": \"lines\"}], \"min_height\": 50, \"name\": \"list_box\", \"margin_left\": 50, \"margin_right\": 50, \"margin_top\": 50}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"button\", \"text\": \"Back\", \"icon\": \"arrow-left\", \"align\": \"center\", \"width\": \"100\", \"height\": \"50\", \"on_click\": \"back()\"}], \"min_height\": 50, \"name\": \"back_box\", \"dyn_props\": \"{hidden:hide_back_box}\"}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"button\", \"text\": \"Validate\", \"icon\": \"\", \"align\": \"center\", \"width\": \"100\", \"height\": \"50\", \"hover_background_color\": \"#000000\", \"background_color\": \"rgba(6,148,13,0.41)\", \"on_click\": \"validate()\"}], \"min_height\": 50, \"name\": \"validate_box\", \"dyn_props\": \"{hidden:hide_validate_box}\", \"hidden\": true}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"margin_top\": 20}], \"min_height\": 50, \"name\": \"box1\", \"background_color\": \"rgba(253,248,248,0.01)\"}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  var date = moment().format(\\\"YYYY-MM-DD HH:mm:ss\\\");\\n  var gi_no = await get_number();\\n  \\n  set_data({\\n    lines:[],\\n    date:date,\\n    number:gi_no,\\n    //hide_validate_box:true,\\n  });\\n}\\n\\nasync function get_number() {\\n  var seq=await rpc_execute(\\\"sequence\\\",\\\"search_read\\\",[[\\\"name\\\",\\\"=\\\",\\\"GI\\\"],[\\\"name\\\"]]);\\n  var seq_id=seq[0].id;\\n  var num=await rpc_execute(\\\"sequence\\\",\\\"get_next_number\\\",[seq_id]);\\n  return num ;\\n  console.log(\\\"default\\\", num ); \\n}\\n\\n\\nfunction use_camera() {\\n  set_data({\\n    enable_camera:true,\\n    cam_box:true,\\n    //qr_box:false,\\n  });\\n}\\n\\n\\nasync function on_barcode(barcode){\\n  if(barcode){\\n    await process_barcode(barcode);\\n  } else {\\n    var data = get_data();\\n    barcode = data.barcode.slice(0,-1);\\n    await process_barcode(barcode);\\n  }\\n}\\n\\nasync function process_barcode(barcode) {\\n  var data =get_data();\\n  set_data({\\n    hide_validate_box:false,\\n    hide_back_box:true,\\n  });\\n  //var to_loc_id = data.to_loc_id;\\n  //var to_loc_code = data.to_loc_code;\\n  //var barcode_field = get_component(\\\"barcode\\\");\\n\\n  var conda=[\\\"code\\\",\\\"=\\\",barcode];\\n  var fielda=[\\\"code\\\",\\\"name\\\",\\\"uom_id.name\\\"];\\n  var res = await rpc_execute(\\\"product\\\",\\\"search_read_path\\\",[conda,fielda]);\\n  //throw (\\\"test:\\\", res[0].uom_id.name);\\n  var lines = data.lines || [];\\n  \\n  if(res[0]){\\n    /*\\n    if(!data.qty){\\n      alert(\\\"Please key in quantity!\\\"); //dani: to to ensure qty not null\\n      setTimeout(()=>{\\n        barcode_field.clear(); //Note: setTimeout works with clear() function. Allow user to scan many times\\n      },200);\\n      return;\\n    }    var qty = data.qty;\\n    //var qty = data.qty?data.qty:1;\\n   */\\n    lines.push({\\n      prod_code: barcode,\\n      //prod_name: prod_name,\\n      prod_id:res[0].id,\\n      //frm_loc:frm_loc_name, //ddd\\n      //frm_loc_id:frm_loc_id, //ddd\\n      //to_loc:to_loc_name, //ddd\\n      //to_loc_id:to_loc_id, //ddd\\n      uom_name: res[0].uom_id.name, \\n      uom_id:res[0].uom_id.id, \\n      //qty: qty,\\n    });\\n    \\n    \\n    set_data({\\n      //product:barcode, \\n      prod_code:barcode,\\n      prod_id:res[0].id,\\n      prod_name:res[0].name,\\n      uom_name:res[0].uom_id.name,\\n      uom_id:res[0].uom_id.id,\\n      //hide_validate_box:false,\\n    }); \\n    /*setTimeout(()=>{\\n      barcode_field.clear();\\n    },200);  */\\n  } \\n  \\n  /*else {\\n    //dani: to put the scanned name into ref\\n    set_data({ref:barcode}); \\n    setTimeout(()=>{\\n      barcode_field.clear();\\n    },200);\\n  }\\n  */\\n  \\n}\\n\\n\\nasync function validate() {\\n  var data = get_data();\\n  var lines = data.lines;\\n  if(lines.length == 0) throw \\\"No product to be validated!\\\"; //dani: deny validation if lines empty\\n  var journal_id = 4; //GI\\n\\n  var gi_lines = [];\\n  for(var i=0; i\n                                            <lines.length; i++){\\n\\n    gi_lines.push({\\n      product_id: lines[i].prod_id,\\n      location_from_id:17,\\n      qty:1,\\n      uom_id:lines[i].uom_id,\\n      location_to_id:6,\\n    });\\n  }\\n\\n  //if(!data.pic) throw \\\"Missing PIC\\\";\\n\\n  //Chin added to check for duplicate\\n  var search_res = await rpc_execute(\\\"stock.picking\\\",\\\"search\\\",[[[\\\"number\\\",\\\"=\\\",data.number]]]);\\n  if (search_res.length > 0) {\\n    var new_number = await get_number();\\n    alert(`${data.number} already existed. Updating Number to ${new_number}`);\\n    set_data({number:new_number});\\n    return;\\n  }\\n\\n  var gi_vals ={\\n    journal_id:journal_id,\\n    number:data.number,\\n    ref:data.ref,\\n    date:data.date,\\n    //pic:data.pic,\\n    gi_lines:gi_lines,\\n  }\\n\\n  var res = await rpc_execute(\\\"stock.picking\\\",\\\"create_gi\\\",[gi_vals]);\\n  var pick_id=res.pick_id;\\n  //await rpc_execute(\\\"stock.picking\\\",\\\"expand_bundles\\\",[[pick_id]]);\\n  console.log(\\\"gi created\\\",res);\\n\\n  var seq_id=59;\\n  await rpc_execute(\\\"sequence\\\",\\\"increment_number\\\",[seq_id]);\\n  alert(\\\"GI created\\\" + \\\" \\\" + data.number);\\n  set_page(\\\"inventory_main\\\");\\n\\n}\\n\\nasync function back(){\\n  set_page(\\\"inventory_main\\\");\\n}\\n\"}, \"test_mobile\": {\"layout\": {\"elements\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"menu (3),AsbdO0sUbLo=.png\", \"width\": \"30\", \"height\": \"30\", \"on_click\": \"show_menu(\\\"side_menu\\\")\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"download,j6FOgg9K6lw=.png\", \"height\": \"30\"}]}], \"num_cols\": 2, \"col_widths\": [0.25, 6], \"_col_widths\": \"[0.25,6]\", \"margin_left\": 15, \"margin_right\": 15, \"margin_top\": 15, \"align\": \"left\", \"vertical_align\": \"middle\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#ffffff\"}, \"insert\": \"{page}.\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 10, \"padding_top\": 2, \"padding_left\": 15, \"padding_right\": 5, \"padding_bottom\": 2, \"align\": \"left\", \"background_color\": \"#888a8c\", \"font_size\": 14}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#ffffff\", \"bold\": true}, \"insert\": \"To Location (many to one) xx\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": null, \"margin_top\": null, \"font_name\": \"\", \"letter_spacing\": \"\", \"background_color\": \"#000000\", \"padding_top\": 5, \"padding_left\": 15, \"padding_right\": 5, \"padding_bottom\": 5, \"font_size\": 16}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#888888\"}, \"insert\": \"Scan QR Code of Location\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 5, \"margin_bottom\": 5}, {\"type\": \"box\", \"children\": [{\"type\": \"field\", \"field_type\": \"camera\", \"name\": \"qr\", \"width\": 400, \"height\": 300, \"align\": \"center\", \"dyn_props\": \"{disabled:!enable_camera}\", \"disabled\": true, \"margin_bottom\": 10}, {\"type\": \"button\", \"text\": \"Use Camera\", \"on_click\": \"use_camera()\", \"icon\": \"camera\", \"padding_left\": 5, \"padding_right\": 5, \"border_radius\": 5}], \"min_height\": 50, \"margin_top\": 5, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\\"To\\\" Location\\n\"}]}, \"font_size\": 16, \"padding_top\": 5, \"padding_left\": 10, \"padding_right\": 5, \"padding_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"text\", \"name\": \"loc_code\", \"margin_left\": 10, \"margin_right\": 10, \"placeholder\": \"To Location\", \"on_submit\": \"on_barcode()\"}], \"min_height\": 50, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"height\": \"35\", \"margin_top\": null, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5, \"align\": \"center\", \"image_file\": \"round-delete-button,KfsmZWFoHHw=.png\", \"on_click\": \"click_cancel()\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cancel\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"on_click\": \"click_cancel()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"align\": \"center\", \"height\": \"35\", \"margin_top\": null, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5, \"image_file\": \"return (1),U687XS98DPE=.png\", \"on_click\": \"click_back()\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Back\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"on_click\": \"click_back()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"height\": \"35\", \"align\": \"center\", \"image_file\": \"round-left-button,SQsGVAjI5SE=.png\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5, \"on_click\": \"next()\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Next\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"next()\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 12}], \"min_height\": 50, \"margin_top\": 5, \"margin_bottom\": 30, \"vert_scroll\": true}], \"background_color\": \"#ffffff\"}, \"code\": \"function use_camera() {\\n  set_data({enable_camera:true});\\n}\"}, \"tt_mobile_test\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"url\": \"https://backend-prod2.netforce.com/static/db/nfo_main/files/side%20menu%2C-HrDRE3KSAQ%3D.png\", \"width\": \"30\", \"height\": \"30\", \"on_click\": \"show_menu(\\\"side_menu\\\")\", \"margin_left\": 20}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"url\": \"https://backend-prod2.netforce.com/static/db/nfo_main/files/SmartB-06%2Cm2dRWBj2NSA%3D.png\", \"height\": \"60\", \"align\": \"center\", \"image_size\": \"contain\", \"margin_top\": 0, \"margin_bottom\": 0, \"margin_right\": 35}]}], \"num_cols\": 2, \"col_widths\": [2, 8], \"_col_widths\": \"[2,8]\"}], \"min_height\": 50, \"background_color\": \"#222831\", \"border_color\": \"#f34141\", \"border_bottom_width\": 5}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"Time Tracker Form\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#202124\"}, \"insert\": \"This is to help better manage the cost of projects, part-timers and other related activities. Re-submit if you have more than 1 Task\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Name :\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 17, \"margin_left\": null, \"margin_top\": null, \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Date:\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 17}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"name\": \"user_id\", \"readonly\": false, \"on_change\": \"alert(user_id)\", \"placeholder\": \"\", \"model\": \"base.user\", \"margin_bottom\": 10}, {\"type\": \"field\", \"field_type\": \"date\", \"name\": \"date\"}]}], \"num_cols\": 2, \"col_widths\": [0.5, 1], \"margin_left\": 10, \"margin_right\": 10, \"background_color\": null, \"_col_widths\": \"[0.5,1]\", \"padding_left\": null, \"avoid_keyboard\": true, \"margin_top\": 20, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"PLEASE PICK\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_bottom\": 5, \"border_bottom_width\": 3}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"field\", \"padding_left\": null, \"padding_right\": null, \"model\": \"client.db.tracker.database\", \"field_type\": \"select\", \"name\": \"client_id\", \"placeholder\": \"Client Name\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"padding_left\": 10, \"name\": \"project_id\", \"field_type\": \"select\", \"placeholder\": \"Project\", \"model\": \"pm.project\", \"condition\": \"[[\\\"database\\\",\\\"=\\\",client_id],[\\\"proj_status\\\",\\\"!=\\\",\\\"completed\\\"]]\", \"on_change\": \"\", \"padding_right\": 10, \"load_options\": \"get_projects(query)\"}]}, {\"children\": [{\"type\": \"field\", \"padding_left\": 10, \"padding_right\": null, \"name\": \"task_id\", \"field_type\": \"select\", \"placeholder\": \"Task\", \"model\": \"pm.task\", \"condition\": \"[[\\\"proj_number\\\",\\\"=\\\",project_id],[\\\"state\\\",\\\"in\\\",[\\\"ready\\\",\\\"in_prog\\\",\\\"on_going\\\",\\\"on_going1\\\",\\\"on_hold\\\",\\\"others\\\"]]]\", \"readonly\": false}]}, {\"children\": []}, {\"children\": [{\"type\": \"field\", \"padding_left\": 15, \"padding_right\": 10, \"field_type\": \"number\", \"name\": \"hours\", \"placeholder\": \"No.Hours\"}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"padding_top\": null, \"margin_top\": 10, \"_col_widths\": \"\", \"folding\": \"\", \"margin_bottom\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"field\", \"margin_top\": 10, \"margin_bottom\": 10, \"field_type\": \"number\", \"name\": \"hours\", \"placeholder\": \"No. of hours\"}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"avoid_keyboard\": true}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"size\": \"small\", \"intent\": \"success\", \"icon\": \"plus\", \"text\": \"Add\", \"font_bold\": true, \"align\": \"center\", \"padding_left\": 10, \"padding_right\": 10, \"hidden\": false, \"on_click\": \"add()\", \"background_color\": \"#17ce42\", \"border_radius\": 10, \"border_width\": 0, \"padding_top\": 5, \"padding_bottom\": 5, \"color\": \"#ffffff\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Clear\", \"size\": \"small\", \"intent\": \"warning\", \"padding_left\": 10, \"padding_right\": 10, \"font_bold\": true, \"align\": \"center\", \"on_click\": \"clear()\", \"background_color\": \"#f05454\", \"padding_top\": 5, \"padding_bottom\": 5, \"border_width\": 0, \"border_radius\": 10, \"color\": \"#ffffff\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": null, \"padding_left\": null, \"padding_right\": null, \"margin_right\": null, \"_col_widths\": \"\", \"align\": \"center\"}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CLIENT\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"PROJECT\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TASK\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"HOURS\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1], \"margin_top\": 10, \"border_width\": 0, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}, {\"type\": \"list\", \"child\": {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{client_name}\\n\"}]}, \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{project_name}\\n\"}]}, \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{task_name}\\n\"}]}, \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{hours}\\n\"}]}, \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"button\", \"text\": \"X\", \"font_bold\": true, \"color\": \"#ffffff\", \"background_color\": \"#f05454\", \"border_width\": 0, \"border_radius\": 10, \"on_click\": \"delete_line(_cid)\", \"align\": \"center\"}]}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1], \"padding_top\": 5, \"padding_bottom\": 5, \"border_width\": 1}, \"name\": \"lines\"}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL HOURS\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{total_hours}\\n\"}]}, \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1], \"padding_top\": 5, \"padding_bottom\": 5}], \"min_height\": 50, \"dyn_props\": \"{hidden:hide}\", \"hidden\": false}], \"min_height\": 50, \"margin_left\": null, \"margin_right\": null, \"margin_top\": null, \"background_color\": \"#f1f1f1\", \"padding_left\": 10, \"padding_right\": 10, \"vert_scroll\": true}, {\"type\": \"button\", \"size\": \"normal\", \"text\": \"SUBMIT\", \"font_bold\": true, \"align\": \"center\", \"intent\": \"success\", \"width\": \"100\", \"height\": \"50\", \"on_click\": \"submit()\", \"background_color\": \"#17ce42\", \"border_width\": 0, \"border_radius\": 10, \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 10, \"margin_bottom\": 10, \"color\": \"#ffffff\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\", \"background\": \"#e8e8e8\"}, \"insert\": \"Powered by \"}, {\"attributes\": {\"color\": \"#bbbbbb\", \"background\": \"#e8e8e8\", \"bold\": true}, \"insert\": \"SmartB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_bottom\": 5, \"background_color\": null}], \"background_color\": \"#f1f1f1\"}, \"code\": \"\\nasync function on_load()\\n{\\n  var data = get_data();\\n  try {\\n    var user = await get_data_store(\\\"user_id\\\");\\n  } catch(err) {\\n    var user = get_cookie(\\\"user_id\\\");\\n  }\\n  data.date = moment().format('YYYY-MM-DD');\\n  data.lines = [];\\n  data.total_hours = null;\\n  data.hide = true;\\n  //data.user_id = user;\\n\\n  set_data();\\n}\\n\\nasync function add()\\n{\\n  var data = get_data();\\n  set_data({hide:false});  \\n  //required all fields\\n  if(!data.user_id)throw \\\"Missing Name!\\\";\\n  if(!data.date)throw \\\"Missing Date!\\\";\\n  if(!data.client_id)throw \\\"Missing Client Name!\\\";\\n  if(!data.project_id) throw \\\"Missing Project!\\\";\\n  if(!data.task_id)throw \\\"Missing Task!\\\";\\n  if(!data.hours)throw \\\"Missing Hours!\\\";\\n\\n\\n  var line=\\n      {\\n        _cid: _.uniqueId(),\\n        client_id: data.client_id.id,\\n        client_name: data.client_id.name,\\n        project_id: data.project_id.id,\\n        project_name: data.project_id.name,\\n        task_id: data.task_id.id,\\n        task_name: data.task_id.name,\\n        hours: data.hours,\\n      }\\n  if (!data.lines) data.lines = [];\\n  data.lines.push(line);\\n  data.total_hours = _.reduce(data.lines,(memo,next)=>{return memo + next.hours},0);\\n  clear();\\n}\\n\\nfunction clear()\\n{\\n  set_data({\\n    project_id:null,\\n    client_id:null,\\n    task_id:null,\\n    hours:null,\\n  });\\n}\\n\\nfunction delete_line(_cid) {\\n  var data = get_data();\\n  console.log('data_lines',data.lines);\\n  data.lines = _.filter(data.lines,(l)=>{\\n    return l._cid != _cid;\\n  })\\n  set_data();\\n}\\n\\nasync function submit() {\\n  var data = get_data();\\n  var vals = _.map(data.lines,(l)=>{\\n    return {\\n      name: data.user_id,\\n      date: data.date,\\n      client: l.client_id,\\n      project: l.project_id,\\n      task: l.task_id,\\n      hours: l.hours,\\n    }\\n  });\\n  await rpc_execute(\\\"pm.time.tracker\\\",\\\"submit\\\",[vals]);\\n  alert(\\\"Submitted Successfully\\\");\\n  on_load()\\n}\\n\\n//to make project auto-load when task selected\\n/*async function onchange_task()\\n{\\n  var data = get_data();\\n  var task_id=data.task_id.id;\\n  console.log(\\\"display task_id \\\",task_id);\\n  var res=await rpc_execute(\\\"pm.task\\\",\\\"read\\\",[[task_id],[\\\"proj_number\\\"]]);\\n  console.log(\\\"display res \\\",res);\\n  var emp=res[0];\\n  console.log(\\\"display emp \\\",emp);\\n  console.log(\\\"display emp.proj_number \\\",emp.proj_number);\\n  console.log(\\\"display emp.proj_number[0] \\\",emp.proj_number[0]);\\n  data.project_id={\\n    id:emp.proj_number[0],\\n    name:emp.proj_number[1],\\n  }\\n\\n  console.log(\\\"display data.project \\\",data.project);\\n  set_data();\\n  //return data;\\n}*/\\n\\n//Chin: No need to read from backend. We just need to submit new data to backend\\nasync function build_table(){\\n  var data=[\\\"name\\\", \\\"date\\\", \\\"client\\\", \\\"task\\\",\\\"hours\\\"];\\n  var table_data = await rpc_execute(\\\"pm.time.tracker\\\",\\\"search_read\\\",[[],data]);\\n  var array=[];\\n  var i=0;\\n  for(i;i\n                                                <table_data.length;i++){\\n    array[i] = {\\n      Name:table_data[i].name,\\n      date_task:table_data[i].date,\\n      Cname:table_data[i].client,\\n      Task:table_data[i].task,\\n      no_hour:table_data[i].hours,\\n    };\\n  }\\n  set_data({\\n    data_to_show:array,\\n  })\\n}\\n/*\\nasync function read_trackers()\\n{\\n  var fields=[\\\"name\\\",\\\"date\\\",\\\"client\\\",\\\"task\\\",\\\"hours\\\"];\\n  var res=await rpc_execute(\\\"hr.employee\\\",\\\"search_read\\\",[[[]],fields]);\\n  var data =[];\\n\\n  for(i=0;i\n                                                    <res.length;i++)\\n  {\\n    var Name=res[i].name;\\n    var date_task=res[i].date;\\n    var Cname=res[i].client;\\n    var Task=res[i].task;\\n    var no_hour=res[i].hours;\\n\\n    data[i]=\\n      {\\n      name:Name,\\n      date:date_task,\\n      client:Cname,\\n      task:Task,\\n      hours:no_hour.\\n    };\\n  }\\n  set_data({data_to_show:data});\\n}\\n*/\\n\"}, \"charts\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [], \"min_height\": 50}], \"background_color\": \"#ffffff\"}, \"code\": \"\\nfunction render() {\\n  var config = {\\n    chart: {\\n      type: 'column',\\n    },\\n    title: {\\n      text: 'Stacked column chart',\\n    },\\n    xAxis: {\\n      categories: ['Apples', 'Oranges', 'Pears', 'Grapes', 'Bananas'],\\n    },\\n    yAxis: {\\n      min: 0,\\n      title: {\\n        text: 'Total fruit consumption',\\n      },\\n      stackLabels: {\\n        enabled: true,\\n        style: {\\n          fontWeight: 'bold',\\n        },\\n      },\\n    },\\n    legend: {\\n      align: 'right',\\n      x: -30,\\n      verticalAlign: 'top',\\n      y: 25,\\n      floating: true,\\n      borderColor: '#CCC',\\n      borderWidth: 1,\\n      shadow: false,\\n    },\\n    tooltip: {\\n      headerFormat: '\n                                                        <b>{point.x}</b>\n                                                        <br/>',\\n      pointFormat: '{series.name}: {point.y}\n                                                        <br/>Total: {point.stackTotal}',\\n    },\\n    plotOptions: {\\n      column: {\\n        stacking: 'normal',\\n        dataLabels: {\\n          enabled: true,\\n        },\\n      },\\n    },\\n    series: [\\n      {\\n        name: 'John',\\n        data: [5, 3, 4, 7, 2],\\n      },\\n      {\\n        name: 'Jane',\\n        data: [2, 2, 3, 2, 1],\\n      },\\n      {\\n        name: 'Joe',\\n        data: [3, 4, 4, 2, 5],\\n      },\\n    ],\\n  };\\n  return (\\n    // Potential problem\\n\n                                                        <div style={{ backgroundColor: 'grey' }}> \\n      \n                                                            <h3>Testing</h3> \\n\n                                                            <ReactHighcharts config={config} />\\n\n                                                            <img src=\\\"https://inhesion.smartb.co/static/img/smartb_logo_white_256.png\\\" />\\n\n                                                        </div>\\n  );\\n}\"}, \"leave_request_status\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-06,QpEcLkxeDMo=.png\", \"height\": \"80\", \"align\": \"center\", \"image_size\": \"contain\", \"margin_left\": 20, \"margin_right\": 20}], \"min_height\": 50, \"background_color\": \"#000000\", \"border_bottom_width\": 5, \"border_color\": \"#f34141\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Leave Requests \"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"\\ud83d\\udcc7\\u00a0\"}, {\"attributes\": {\"align\": \"center\", \"header\": 1}, \"insert\": \"\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 10, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Lines Per Page : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"margin_left\": 5, \"field_type\": \"number\", \"name\": \"pageLine\", \"on_change\": \"pageLineChg()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"height\": \"50\", \"align\": \"center\", \"image_file\": \"back,xkDIMjOHqnE=.png\", \"on_click\": \"pageNav(\\\"prev\\\")\", \"margin_top\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"small\", \"bold\": true}, \"insert\": \"Previous Page\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"color\": \"#3afb3b\", \"on_click\": \"pageNav(\\\"prev\\\")\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"height\": \"50\", \"align\": \"center\", \"image_file\": \"next,a9zO2MEojio=.png\", \"on_click\": \"pageNav(\\\"next\\\")\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"small\", \"bold\": true}, \"insert\": \"Next Page\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"color\": \"#13a4ff\", \"on_click\": \"pageNav(\\\"next\\\")\"}]}, {\"children\": [{\"type\": \"field\", \"name\": \"pageNo\", \"field_type\": \"number\", \"readonly\": false, \"align\": \"right\", \"text_align\": \"right\", \"font_bold\": true, \"font_name\": \"serif\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \" / {totalPage}\"}, {\"insert\": \"\\n\"}]}}]}], \"num_cols\": 6, \"col_widths\": [1, 1, 1, 1, 1, 1], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Code\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Name\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Leave Type\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Start Date\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"End Date\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{employee_id}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{leave_type_id}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{start_date}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{end_date}\\n\"}]}}]], \"num_cols\": 5, \"num_rows\": null, \"_col_widths\": \"[1,1,1,1,1]\", \"col_widths\": [1, 1, 1, 1, 1], \"field_rows_inner\": \"\", \"field_rows\": \"tLines\", \"table_bordered\": true, \"table_striped\": true, \"table_hover\": true, \"border_color\": \"#000000\", \"border_top_width\": 5, \"border_left_width\": 5, \"border_bottom_width\": 5, \"border_right_width\": 5, \"show_tablet\": false, \"show_phone\": false}], \"min_height\": 50, \"margin_top\": 20, \"margin_left\": 20, \"margin_bottom\": 20, \"margin_right\": 20}], \"min_height\": 50, \"horiz_scroll\": true, \"vert_scroll\": true}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"height\": \"40\", \"align\": \"center\", \"on_click\": \"home()\", \"margin_top\": 10, \"margin_left\": 10, \"margin_bottom\": 10, \"margin_right\": 10, \"image_file\": \"smart-home,3Eie_PraXtA=.png\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Home\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"home()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"height\": \"40\", \"align\": \"center\", \"on_click\": \"exit()\", \"margin_top\": 10, \"margin_left\": 10, \"margin_bottom\": 10, \"margin_right\": 10, \"image_file\": \"exit,NJn-rI0AIoc=.png\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Exit\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"exit()\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": null, \"margin_left\": 20, \"margin_bottom\": 20, \"margin_right\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"color\": \"#bbbbbb\"}, \"insert\": \"Powered by SmartB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  await table();\\n}\\n\\nasync function table(){\\n  \\n  var fields=[\\\"employee_id\\\",\\\"number\\\",\\\"date\\\",\\\"start_date\\\",\\\"end_date\\\",\\\"leave_type_id\\\",\\\"period_id\\\",\\\"start_time\\\",\\\"end_time\\\",\\\"leave_reason\\\"];\\n  var res = await rpc_execute(\\\"hr.leave\\\",\\\"search_read\\\",[[[]],fields]);\\n  var lines=[];\\n\\n  for(var i=0; i\n                                                        <res.length; i++)\\n  {\\n    var first = res[i].employee_id[1]; \\n    var number= res[i].number;\\n    var request_date= res[i].date;\\n    var start_date=res[i].start_date;\\n    var end_date=res[i].end_date;\\n    var start_time=res[i].start_time;\\n    var end_time=res[i].end_time;\\n    var reason=res[i].leave_reason;\\n    var leaveType=res[i].leave_type_id[1]; \\n    var period=res[i].period_id[1];\\n\\n    lines[i]={\\n      employee_id:first,\\n      number:number,\\n      date:request_date,\\n      start_date:start_date,\\n      end_date:end_date,\\n      start_time:start_time,\\n      end_time:end_time,\\n      leave_reason:reason,\\n      leave_type_id:leaveType,\\n      period_id:period,\\n    };\\n  }//end of for-loop\\n  \\n  var ctx={\\n    pageNo:1,\\n    pageLine:10,\\n  };\\n  var display = paginate(lines,ctx);\\n  var tLines=display.tLines;\\n  var totalPage=display.totalPage;\\n  set_data({\\n    tLines:tLines,\\n    lines:lines,\\n    totalPage:totalPage,\\n    pageNo:ctx.pageNo,\\n    pageLine:ctx.pageLine,\\n  });\\n}\\n\\n//pagination\\nfunction paginate(lines,ctx){\\n  var totalLines= lines.length;\\n  var totalPage= Math.ceil(totalLines/ctx.pageLine);\\n  var startLine= (ctx.pageNo-1)*ctx.pageLine; //(1-1)*10=0\\n  var endLine= ctx.pageNo*ctx.pageLine-1; //1*10-1=9\\n  var tLines=[];\\n  for(let i=startLine; i<=endLine; i++){\\n    tLines.push(lines[i]);\\n  }\\n  return{\\n    tLines:tLines,\\n    totalPage:totalPage,\\n  }\\n}\\n\\nfunction pageLineChg(pageNo){\\n  var data = get_data();\\n  if(pageNo) data.pageNo= pageNo;\\n  if(!data.pageLine) data.pageLine=10;//default pageLine\\n  var ctx={\\n    pageNo:data.pageNo,\\n    pageLine:data.pageLine,\\n  };\\n  var lines=data.lines;\\n  var display=paginate(lines,ctx);\\n  set_data({\\n    tLines:display.tLines,\\n    totalPage:display.totalPage,\\n  });\\n}\\n\\nfunction pageNav(navi){\\n  var data=get_data();\\n  \\n  switch(navi){\\n    case \\\"next\\\":\\n      pageLineChg(data.pageNo+1);\\n      break;\\n    case \\\"prev\\\":\\n      pageLineChg(data.pageNo-1);\\n             }\\n}\\n\\nfunction home(){\\n  set_page(\\\"main_leave\\\");\\n}\\n\\nfunction exit(){\\n  close_app();\\n}\\n                       \\n  \\n  \\n  \\n  \\n  \\n  \\n  \\n  \\n  \\n  \"}, \"atv_packing_01\": {\"layout\": null, \"code\": null}, \"atv_packing_02\": {\"layout\": null, \"code\": null}, \"side_menu\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"padding_top\": 20, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 40, \"margin_right\": 150, \"image_file\": \"SmartB-03,FuH38k_RyvE=.png\", \"height\": \"50\", \"align\": \"left\"}], \"min_height\": 30, \"background_color\": \"#e8e8e8\", \"width\": \"\", \"header\": true}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"home,3x8sBAQBMqA=.png\", \"height\": \"30\", \"align\": \"center\", \"margin_left\": 10, \"margin_right\": 10, \"on_click\": \"set_page(\\\"main\\\")\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Home\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"padding_left\": 5, \"font_size\": 16, \"on_click\": \"set_page(\\\"main\\\")\"}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [0.45, 2.05, 0.5], \"_col_widths\": \"[0.45,2.05,0.5]\", \"padding_top\": 10, \"padding_bottom\": 10, \"border_top_width\": 2, \"border_bottom_width\": 1, \"border_color\": \"rgba(206,206,206,0.5)\", \"on_click\": \"\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"hr,574gPb01UY4=.png\", \"height\": \"30\", \"align\": \"center\", \"margin_left\": 10, \"margin_right\": 10, \"on_click\": \"unhide1()\"}], \"min_height\": null, \"name\": \"boxi1\", \"dyn_props\": \"{hidden:boxi1}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"height\": \"30\", \"align\": \"center\", \"margin_left\": 10, \"margin_right\": 10, \"image_file\": \"hr_hold,lO2dfB29dK4=.png\", \"on_click\": \"hide1()\"}], \"min_height\": null, \"name\": \"boxi2\", \"dyn_props\": \"{hidden:boxi2}\", \"hidden\": true}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Human Resources\\n\"}]}, \"font_size\": 16, \"margin_left\": 10, \"margin_right\": 10, \"padding_left\": 5, \"on_click\": \"unhide1()\", \"color\": \"#000000\"}], \"min_height\": 10, \"name\": \"boxt1\", \"dyn_props\": \"{hidden:boxt1}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#888888\"}, \"insert\": \"Human Resources\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"padding_left\": 5, \"font_size\": 16, \"on_click\": \"hide1()\"}], \"min_height\": 10, \"name\": \"boxt2\", \"dyn_props\": \"{hidden:boxt2}\", \"hidden\": true}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"margin_top\": 5, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5, \"height\": \"10\", \"align\": \"center\", \"image_file\": \"back_1,FKvu6ymTBsk=.png\", \"on_click\": \"unhide1()\"}], \"min_height\": 20, \"name\": \"boxb1\", \"dyn_props\": \"{hidden:boxb1}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"height\": \"10\", \"margin_top\": 5, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5, \"align\": \"center\", \"image_file\": \"down_1,lILPfpsDMnw=.png\", \"on_click\": \"hide1()\"}], \"min_height\": 20, \"name\": \"boxb2\", \"dyn_props\": \"{hidden:boxb2}\", \"hidden\": true}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [0.45, 2.05, 0.5], \"_col_widths\": \"[0.45,2.05,0.5]\", \"vertical_align\": \"middle\", \"padding_top\": 10, \"padding_bottom\": 10, \"border_color\": \"rgba(206,206,206,0.5)\", \"border_top_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Leave Request\\n\"}]}, \"margin_top\": 5, \"margin_bottom\": 5, \"on_click\": \"set_page(\\\"new_leave_request\\\")\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Leave Request Status\\n\"}]}, \"margin_top\": 5, \"margin_bottom\": 5, \"on_click\": \"set_page(\\\"my_leave_status\\\")\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Charts\\n\"}]}, \"margin_top\": 5, \"margin_bottom\": 5, \"on_click\": \"after_qc()\"}]}, {\"children\": [{\"type\": \"text\"}]}], \"num_cols\": 3, \"col_widths\": [0.8, 2.3, 0.5], \"_col_widths\": \"[0.8,2.3,0.5]\", \"margin_top\": 5, \"margin_bottom\": null}], \"min_height\": 50, \"name\": \"box1\", \"dyn_props\": \"{hidden:box1}\", \"hidden\": true}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"height\": \"30\", \"align\": \"center\", \"image_file\": \"sales,UHizWDDH05Q=.png\", \"margin_left\": 10, \"margin_right\": 10, \"on_click\": \"unhide2()\"}], \"min_height\": null, \"name\": \"boxi3\", \"dyn_props\": \"{hidden:boxi3}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"sales_hold,oAuQXliX0A8=.png\", \"height\": \"30\", \"margin_left\": 10, \"margin_right\": 10, \"align\": \"center\", \"on_click\": \"hide2()\"}], \"min_height\": null, \"name\": \"boxi4\", \"dyn_props\": \"{hidden:boxi4}\", \"hidden\": true, \"header\": true}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Sales\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"font_size\": 16, \"padding_left\": 5, \"on_click\": \"unhide2()\"}], \"min_height\": null, \"name\": \"boxt3\", \"dyn_props\": \"{hidden:boxt3}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#888888\"}, \"insert\": \"Sales\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"padding_left\": 5, \"font_size\": 16, \"on_click\": \"hide2()\"}], \"min_height\": null, \"name\": \"boxt4\", \"dyn_props\": \"{hidden:boxt4}\", \"hidden\": true, \"avoid_keyboard\": true}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"height\": \"10\", \"align\": \"center\", \"margin_left\": 10, \"margin_top\": 5, \"margin_right\": 10, \"margin_bottom\": 5, \"image_file\": \"back_1,DW8f0BizMh8=.png\", \"on_click\": \"unhide2()\"}], \"min_height\": 20, \"name\": \"boxb3\", \"dyn_props\": \"{hidden:boxb3}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"height\": \"10\", \"margin_top\": 5, \"margin_bottom\": 5, \"margin_left\": 10, \"margin_right\": 10, \"align\": \"center\", \"image_file\": \"down_1,6WdC35ho8-0=.png\", \"name\": \"\", \"on_click\": \"hide2()\"}], \"min_height\": 20, \"name\": \"boxb4\", \"dyn_props\": \"{hidden:boxb4}\", \"hidden\": true}]}], \"num_cols\": 3, \"col_widths\": [0.45, 2.05, 0.5], \"_col_widths\": \"[0.45,2.05,0.5]\", \"padding_top\": 10, \"padding_bottom\": 10, \"vertical_align\": \"middle\", \"border_color\": \"rgba(206,206,206,0.5)\", \"border_top_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"New Leads\\n\"}]}, \"margin_top\": 5, \"margin_bottom\": 5, \"on_click\": \"set_page(\\\"new_leads\\\")\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Existing Leads\\n\"}]}, \"margin_top\": 5, \"margin_bottom\": 5, \"on_click\": \"set_page(\\\"page_lead\\\")\"}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [0.8, 2.3, 0.5], \"margin_top\": null, \"_col_widths\": \"[0.8,2.3,0.5]\"}], \"min_height\": 50, \"name\": \"box2\", \"dyn_props\": \"{hidden:box2}\", \"hidden\": true, \"header\": true}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"height\": \"30\", \"align\": \"center\", \"image_file\": \"iventory,NZxwYE_o6U8=.png\", \"margin_left\": 10, \"margin_right\": 10, \"on_click\": \"unhide3()\"}], \"min_height\": null, \"name\": \"boxi5\", \"dyn_props\": \"{hidden:boxi5}\", \"on_click\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"height\": \"30\", \"align\": \"center\", \"margin_left\": 10, \"margin_right\": 10, \"image_file\": \"iventory_hold,z-tYV8L2cRE=.png\", \"on_click\": \"hide3()\"}], \"min_height\": null, \"name\": \"boxi6\", \"dyn_props\": \"{hidden:boxi6}\", \"hidden\": true, \"footer\": true}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Inventory\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"font_size\": 16, \"padding_left\": 5, \"on_click\": \"unhide3()\"}], \"min_height\": null, \"name\": \"boxt5\", \"dyn_props\": \"{hidden:boxt5}\", \"on_click\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#888888\"}, \"insert\": \"Inventory\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"padding_left\": 5, \"font_size\": 16, \"on_click\": \"hide3()\"}], \"min_height\": null, \"name\": \"boxt6\", \"dyn_props\": \"{hidden:boxt6}\", \"hidden\": true}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"height\": \"10\", \"margin_top\": 5, \"margin_bottom\": 5, \"margin_left\": 10, \"margin_right\": 10, \"align\": \"center\", \"image_file\": \"back_1,-enQRXJmAus=.png\", \"on_click\": \"unhide3()\"}], \"min_height\": 20, \"name\": \"boxb5\", \"dyn_props\": \"{hidden:boxb5}\", \"hidden\": false}, {\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"name\": \"\", \"image_file\": \"down_1,O4YQNYpuKkM=.png\", \"height\": \"10\", \"margin_top\": 5, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5, \"align\": \"center\", \"on_click\": \"hide3()\"}], \"min_height\": 20, \"name\": \"boxb6\", \"dyn_props\": \"{hidden:boxb6}\", \"hidden\": true, \"footer\": true}]}], \"num_cols\": 3, \"col_widths\": [0.45, 2.05, 0.5], \"_col_widths\": \"[0.45,2.05,0.5]\", \"padding_top\": 10, \"padding_bottom\": 10, \"vertical_align\": \"middle\", \"border_color\": \"rgba(206,206,206,0.5)\", \"border_top_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Stock Summary\\n\"}]}, \"margin_top\": 5, \"margin_bottom\": 5, \"on_click\": \"set_page(\\\"stock_summary\\\")\"}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [0.8, 2.3, 0.5], \"_col_widths\": \"[0.8,2.3,0.5]\", \"min_height\": 10}], \"min_height\": 10, \"name\": \"box3\", \"dyn_props\": \"{hidden:box3}\", \"hidden\": true}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"align\": \"center\", \"height\": \"30\", \"image_file\": \"finance,SXgwTNwLkz0=.png\", \"margin_left\": 10, \"margin_right\": 10, \"on_click\": \"unhide4()\"}], \"min_height\": null, \"name\": \"boxi7\", \"dyn_props\": \"{hidden:boxi7}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"finance_hold,iXO73uet58s=.png\", \"padding_left\": null, \"padding_right\": null, \"height\": \"30\", \"align\": \"center\", \"margin_left\": 10, \"margin_right\": 10, \"on_click\": \"hide4()\"}], \"min_height\": null, \"name\": \"boxi8\", \"dyn_props\": \"{hidden:boxi8}\", \"hidden\": true, \"header\": true}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Finance\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"padding_left\": 5, \"font_size\": 16, \"on_click\": \"unhide4()\"}], \"min_height\": null, \"name\": \"boxt7\", \"dyn_props\": \"{hidden:boxt7}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#888888\"}, \"insert\": \"Finance\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"padding_left\": 5, \"font_size\": 16, \"on_click\": \"hide4()\"}], \"min_height\": null, \"name\": \"boxt8\", \"dyn_props\": \"{hidden:boxt8}\", \"hidden\": true}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"height\": \"10\", \"align\": \"center\", \"image_file\": \"back_1,Ae1U3A4Fcfg=.png\", \"margin_top\": 5, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5, \"on_click\": \"unhide4()\"}], \"min_height\": 20, \"name\": \"boxb7\", \"dyn_props\": \"{hidden:boxb7}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"name\": \"\", \"image_file\": \"down_1,wGAtGYWYolQ=.png\", \"height\": \"10\", \"align\": \"center\", \"margin_top\": 5, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5, \"on_click\": \"hide4()\"}], \"min_height\": 20, \"name\": \"boxb8\", \"dyn_props\": \"{hidden:boxb8}\", \"hidden\": true}]}], \"num_cols\": 3, \"col_widths\": [0.45, 2.05, 0.5], \"_col_widths\": \"[0.45,2.05,0.5]\", \"padding_top\": 10, \"padding_bottom\": 10, \"vertical_align\": \"middle\", \"align\": \"left\", \"border_top_width\": 1, \"border_bottom_width\": 1, \"border_color\": \"rgba(206,206,206,0.5)\"}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Balance Sheet\\n\"}]}, \"margin_top\": 5, \"margin_bottom\": 5, \"on_click\": \"set_page(\\\"run_bal\\\")\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Profit & Loss\\n\"}]}, \"margin_top\": 5, \"margin_bottom\": 5, \"on_click\": \"set_page(\\\"run_profit\\\")\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Aged Received\\n\"}]}, \"margin_top\": 5, \"margin_bottom\": 5, \"on_click\": \"set_page(\\\"run_payable\\\")\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Aged Payable\\n\"}]}, \"margin_top\": 5, \"margin_bottom\": 5, \"on_click\": \"set_page(\\\"run_receivable\\\")\"}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [0.8, 2.3, 0.5], \"_col_widths\": \"[0.8,2.3,0.5]\"}], \"min_height\": 50, \"name\": \"box4\", \"dyn_props\": \"{hidden:box4}\", \"hidden\": true}], \"min_height\": 400, \"padding_top\": null, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"background_color\": \"#e8e8e8\", \"vert_scroll\": true, \"border_color\": \"rgba(206,206,206,0.5)\", \"border_top_width\": null}], \"width\": \"\", \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  var name=await get_data_store(\\\"profile\\\");\\n}\\n\\nasync function unhide1(){\\n  set_data({box1:false})\\n  set_data({boxb1:true});\\n  set_data({boxb2:false});\\n  set_data({boxt1:true});\\n  set_data({boxt2:false});\\n  set_data({boxi1:true});\\n  set_data({boxi2:false});\\n}\\n\\nasync function hide1(){\\n  set_data({box1:true})\\n  set_data({boxb1:false});\\n  set_data({boxb2:true});\\n  set_data({boxt1:false});\\n  set_data({boxt2:true});\\n  set_data({boxi1:false});\\n  set_data({boxi2:true});\\n}\\n\\nasync function unhide2(){\\n  set_data({box2:false})\\n  set_data({boxb3:true});\\n  set_data({boxb4:false});\\n  set_data({boxt3:true});\\n  set_data({boxt4:false});\\n  set_data({boxi3:true});\\n  set_data({boxi4:false});\\n}\\n\\nasync function hide2(){\\n  set_data({box2:true})\\n  set_data({boxb3:false});\\n  set_data({boxb4:true});\\n  set_data({boxt3:false});\\n  set_data({boxt4:true});\\n  set_data({boxi3:false});\\n  set_data({boxi4:true});\\n}\\n\\nasync function unhide3(){\\n  set_data({box3:false})\\n  set_data({boxb5:true});\\n  set_data({boxb6:false});\\n  set_data({boxt5:true});\\n  set_data({boxt6:false});\\n  set_data({boxi5:true});\\n  set_data({boxi6:false});\\n}\\n\\nasync function hide3(){\\n  set_data({box3:true})\\n  set_data({boxb5:false});\\n  set_data({boxb6:true});\\n  set_data({boxt5:false});\\n  set_data({boxt6:true});\\n  set_data({boxi5:false});\\n  set_data({boxi6:true});\\n}\\n\\nasync function unhide4(){\\n  set_data({box4:false})\\n  set_data({boxb7:true});\\n  set_data({boxb8:false});\\n  set_data({boxt7:true});\\n  set_data({boxt8:false});\\n  set_data({boxi7:true});\\n  set_data({boxi8:false});\\n}\\n\\nasync function hide4(){\\n  set_data({box4:true})\\n  set_data({boxb7:false});\\n  set_data({boxb8:true});\\n  set_data({boxt7:false});\\n  set_data({boxt8:true});\\n  set_data({boxi7:false});\\n  set_data({boxi8:true});\\n}\\n\\nasync function unhide1_4(){\\n  set_data({box1_4:false})\\n  set_data({boxba:true});\\n  set_data({boxbb:false});\\n  set_data({boxta:true});\\n  set_data({boxtb:false});\\n}\\n\\nasync function hide1_4(){\\n  set_data({box1_4:true})\\n  set_data({boxba:false});\\n  set_data({boxbb:true});\\n  set_data({boxta:false});\\n  set_data({boxtb:true});\\n}\\n\\nasync function unhide1_5(){\\n  set_data({box1_5:false})\\n  set_data({boxbc:true});\\n  set_data({boxbd:false});\\n  set_data({boxtc:true});\\n  set_data({boxtd:false});\\n}\\n\\nasync function hide1_5(){\\n  set_data({box1_5:true})\\n  set_data({boxbc:false});\\n  set_data({boxbd:true});\\n  set_data({boxtc:false});\\n  set_data({boxtd:true});\\n}\\n\\nasync function unhide2_5(){\\n  set_data({box2_5:false})\\n  set_data({boxbe:true});\\n  set_data({boxbf:false});\\n  set_data({boxte:true});\\n  set_data({boxtf:false});\\n}\\n\\nasync function hide2_5(){\\n  set_data({box2_5:true})\\n  set_data({boxbe:false});\\n  set_data({boxbf:true});\\n  set_data({boxte:false});\\n  set_data({boxtf:true});\\n}\\n\\nasync function unhide2_6(){\\n  set_data({box2_6:false})\\n  set_data({boxbg:true});\\n  set_data({boxbh:false});\\n  set_data({boxtg:true});\\n  set_data({boxth:false});\\n}\\n\\nasync function hide2_6(){\\n  set_data({box2_6:true})\\n  set_data({boxbg:false});\\n  set_data({boxbh:true});\\n  set_data({boxtg:false});\\n  set_data({boxth:true});\\n}\\n\\nasync function unhide4_6(){\\n  set_data({box4_6:false})\\n  set_data({boxbi:true});\\n  set_data({boxbj:false});\\n  set_data({boxti:true});\\n  set_data({boxtj:false});\\n}\\n\\nasync function hide4_6(){\\n  set_data({box4_6:true})\\n  set_data({boxbi:false});\\n  set_data({boxbj:true});\\n  set_data({boxti:false});\\n  set_data({boxtj:true});\\n}\\n\\n\"}, \"checklist_template\": {\"layout\": {\"elements\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Project Checklist Details\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Customer Name: {contact_id.name}\\n\"}]}, \"padding_top\": 20, \"padding_bottom\": 20}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Project Name: {number}\\n\"}]}, \"padding_top\": 20, \"padding_bottom\": 20}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Quotation Number: {ref}\\n\"}]}, \"padding_top\": 20, \"padding_bottom\": 20}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Project Leader Name: {company_id.name} \\n\"}]}, \"padding_top\": 20, \"padding_bottom\": 20}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"padding_top\": 20, \"padding_bottom\": 20, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"box\", \"children\": [], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"No\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 5, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Activity Details\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 5, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Phase\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 5, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Complete\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 5, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Remarks\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 5, \"margin_bottom\": 5}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": 50}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}, \"padding_top\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"padding_left\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{notes}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}]], \"num_cols\": 5, \"num_rows\": 2, \"field_rows\": \"lines\", \"table_bordered\": true, \"_col_widths\": \"[1,2,1,1,1]\", \"col_widths\": [1, 2, 1, 1, 1], \"table_striped\": true, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10}], \"min_height\": 50}], \"fields\": \"[\\\"number\\\",\\\"contact_id.name\\\", \\\"company_id.name\\\", \\\"lines.product_id.code\\\",\\\"lines.product_id.name\\\", \\\"ref\\\", \\\"lines.index\\\", \\\"lines.description\\\", \\\"lines.notes\\\"]\", \"filename\": \"Client_Checklist-{number}\", \"background_color\": \"#000000\"}, \"code\": null}, \"populate\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Table\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Name\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Task\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{name}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{builder}\\n\"}]}}]], \"field_rows\": \"lines\", \"num_rows\": 2, \"num_cols\": 2, \"table_striped\": true}], \"min_height\": 50}, {\"type\": \"field\", \"field_type\": \"select\", \"load_options\": \"load_option(query)\"}]}, \"code\": \"async function load_option(query) {\\n  var fields2 = [\\\"builder\\\"];\\n  var res = await rpc_execute(\\\"pm.task.lines\\\",\\\"search_read\\\",[[],fields2]);\\n  var slct = [];\\n  var uniqueArray = [];\\n  var j= 0;\\n  \\n  for(i=0; i < res.length; i++){\\n    if(uniqueArray.indexOf(res[i].builder[1]) == -1)\\n    \\t{\\n       \\t  uniqueArray.push(res[i].builder[1]);\\n          \\n          slct.push({\\n            value: uniqueArray[j],\\n            label: uniqueArray[j],\\t\\n          });\\n          j++;\\n        }\\n  }\\n  return slct;\\n}\\n //if(res[i].builder != null)\\n\\n\\n\\n\\n\\n\\n\\n////\\nasync function filterFunction()\\n{\\nvar data=get_data();\\n\\nvar builderType=data.builderField;\\nvar dateType = data.dateField;\\nvar taskType=data.taskField;\\n\\n//if (!data.builderField) throw \\\"Missing Builder Field\\\";\\n//if (!data.dateField) throw \\\"Missing Client Field\\\";\\n//if (!data.taskField) throw \\\"Missing Task Type Field\\\";\\n\\n//var fields1 = [\\\"database\\\"];\\n//var nres = await rpc_execute(\\\"pm.task\\\",\\\"search_read\\\",[[],fields1]);\\n\\n//Fetching the Data from the Database\\nvar fields2 = [\\\"sub_id\\\",\\\"name\\\",\\\"description\\\",\\\"type\\\",\\\"time_start\\\",\\\"act_date_start\\\",\\\"time_end\\\",\\\"act_date_end\\\",\\\"duration\\\",\\\"act_duration\\\",\\\"status\\\",\\\"percentage\\\",\\\"builder\\\",\\\"tester\\\"];\\nvar res = await rpc_execute(\\\"pm.task.lines\\\",\\\"search_read\\\",[[],fields2]);\\nvar data=[];\\nvar bName = \\\"\\\";\\nvar j = 0;\\n\\nfor(var i=0;i\n                                                            <res.length;i++)\\n{\\nif(res[i].builder != null){\\nbName = res[i].builder[1];\\n}\\nvar bName2 = builderType;\\nvar tName = res[i].type;\\nvar tName2 = taskType;\\nvar dName = res[i].act_date_end;\\nvar dName2 = dateType;\\n//var dNameStart = dName2 + \\\" 00:00:00\\\";\\n//var dNameEnd = dName2 + \\\" 23:59:59\\\";\\n[//console.log](notion://console.log/)(\\\"dNameStart\\\",dNameStart)\\n[//console.log](notion://console.log/)(\\\"dNameEnd\\\",dNameEnd)\\n[//console.log](notion://console.log/)(\\\"dName\\\",typeof dName)\\n[//console.log](notion://console.log/)(\\\"dName\\\", dName)\\n[//console.log](notion://console.log/)(\\\"dName\\\", dName);\\n\\n    if (dName != null ){\\n      dName = dName.split(\\\" \\\");  \\n      if(bName == bName2  && (tName == tName2 || tName == null) && (dName[0] == dName2 || dName == null)) {\\n        console.log(\\\"inside\\\");\\n        var subid_a=res[i].sub_id;\\n        var name_a=res[i].name;\\n        var desc_a=res[i].description;\\n        var type_a=res[i].type;\\n        var time_start_a=res[i].time_start;\\n        var act_date_start_a=res[i].act_date_start;\\n        var time_end_a=res[i].time_end;\\n        var act_date_end_a=res[i].act_date_end;\\n        var distance_a=res[i].distance;\\n        var act_duration_a=res[i].act_duration;\\n        var status_a=res[i].status;\\n        var percentage_a=res[i].percentage;\\n        var builder_a=res[i].builder;\\n        var tester_a=res[i].tester;\\n    \\n      \\tdata[j]={\\n          \\tsub_id:subid_a,\\n      \\t\\tname:name_a,\\n     \\t\\tdescription:desc_a,\\n          \\ttype:type_a,\\n         \\ttime_start:time_start_a,\\n          \\tact_date_start:act_date_start_a,\\n          \\ttime_end:time_end_a,\\n          \\tact_date_end:act_date_end_a,\\n          \\tdistance:distance_a,\\n          \\tact_duration:act_duration_a,\\n          \\tstatus:status_a,\\n          \\tpercentage:percentage_a,\\n          \\tbuilder:builder_a,\\n          \\ttester:tester_a,\\n    \\t}\\n      j++;\\n    } //inner if\\n\\n}//outer if\\n\\n    else if(dName == null){\\n      if(bName == bName2  && (tName == tName2 || tName == null)) {\\n        console.log(\\\"else\\\");\\n        var subid_a=res[i].sub_id;\\n        var name_a=res[i].name;\\n        var desc_a=res[i].description;\\n        var type_a=res[i].type;\\n        var time_start_a=res[i].time_start;\\n        var act_date_start_a=res[i].act_date_start;\\n        var time_end_a=res[i].time_end;\\n        var act_date_end_a=res[i].act_date_end;\\n        var distance_a=res[i].distance;\\n        var act_duration_a=res[i].act_duration;\\n        var status_a=res[i].status;\\n        var percentage_a=res[i].percentage;\\n        var builder_a=res[i].builder;\\n        var tester_a=res[i].tester;\\n    \\n      \\tdata[j]={\\n          \\tsub_id:subid_a,\\n      \\t\\tname:name_a,\\n     \\t\\tdescription:desc_a,\\n          \\ttype:type_a,\\n         \\ttime_start:time_start_a,\\n          \\tact_date_start:act_date_start_a,\\n          \\ttime_end:time_end_a,\\n          \\tact_date_end:act_date_end_a,\\n          \\tdistance:distance_a,\\n          \\tact_duration:act_duration_a,\\n          \\tstatus:status_a,\\n          \\tpercentage:percentage_a,\\n          \\tbuilder:builder_a,\\n          \\ttester:tester_a,\\n    \\t}\\n       j++;\\n    }\\n    }\\n\\n}\\n\\nset_data({lines:data});\\n\\n}\\n\\nasync function load_option(query) {\\n\\nvar fields2 = [\\\"builder\\\"];\\nvar res = await rpc_execute(\\\"pm.task.lines\\\",\\\"search_read\\\",[[],fields2]);\\nvar uniqueArray = [];\\nvar slct = [];\\nvar n= \\\"\\\";\\n\\nfor(i=0;i\n                                                                <res.length;i++){\\n\\n    if(res[i].builder != null){\\n      n = res[i].builder[1];\\n    }\\n    \\n    if(uniqueArray.indexOf(n) == -1){\\n      uniqueArray.push(n);\\n    }\\n\\n}\\n\\nfor(i=0;i\n                                                                    <uniqueArray.length;i++){\\n\\nslct.push({\\nvalue: uniqueArray[i],\\nlabel: uniqueArray[i],\\n});\\n\\n}\\nreturn slct;\\n}\"}, \"saber.pm.sub.task\": {\"layout\": {\"elements\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"font\": \"serif\", \"bold\": true}, \"insert\": \"Builder / Person In-Charge  \"}, {\"attributes\": {\"align\": \"right\", \"indent\": 1}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Select Name\", \"_selection\": \"\", \"selection\": null, \"name\": \"builderField\", \"load_options\": \"load_option(query)\", \"padding_right\": 400}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"padding_left\": 20, \"padding_right\": 20, \"margin_top\": 50}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Task Type  \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"name\": \"taskField\", \"field_type\": \"select\", \"placeholder\": \"Select Task Type\", \"_selection\": \"[[\\\"bug\\\",\\\"Bug\\\"],[\\\"update\\\",\\\"Update\\\"],[\\\"new\\\",\\\"New Request\\\"]]\", \"selection\": [[\"bug\", \"Bug\"], [\"update\", \"Update\"], [\"new\", \"New Request\"]], \"padding_right\": 400}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"padding_left\": 20, \"padding_right\": 20}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Actual End Date  \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"date\", \"name\": \"dateField\", \"placeholder\": \"Select Actual End Date\", \"model\": \"\", \"padding_right\": 420, \"field_value\": \"\"}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"button\", \"size\": \"small\", \"text\": \"FILTER\", \"padding_top\": 5, \"padding_left\": 40, \"padding_right\": 40, \"padding_bottom\": 5, \"align\": \"center\", \"margin_top\": 50, \"on_click\": \"filterFunction()\", \"background_color\": \"#000000\", \"hover_background_color\": \"#1ca49c\", \"font_size\": 24, \"font_bold\": false, \"color\": \"#ffffff\", \"letter_spacing\": \"5\"}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"padding_bottom\": 20, \"avoid_keyboard\": true}, {\"type\": \"text\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"ID\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"width\": \"\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Sub Task Name\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Task Type\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Start Time\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Actual Start Date\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"End Time\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Actual End Date\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Total Duration (hours)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Actual Duration (hours)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Task Status\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Percentage(%)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Builder\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Tester\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sub_id}\\n\"}]}, \"width\": \"30\", \"align\": \"center\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{name}\\n\"}]}, \"width\": \"160\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}, \"width\": \"300\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{type}\\n\"}]}, \"width\": \"70\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{time_start}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{act_date_start}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{time_end}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{act_date_end}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{duration}\\n\"}]}, \"width\": \"70\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{act_duration}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{status}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{percentage}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{builder}\\n\"}]}, \"width\": \"100\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{tester}\\n\"}]}}]], \"num_cols\": 14, \"field_rows\": \"lines\", \"width\": \"\", \"_col_widths\": \"\", \"col_widths\": null, \"table_bordered\": true, \"padding_left\": 10, \"padding_right\": 10}]}, \"code\": \"async function filterFunction()\\n{\\n  \\nvar data=get_data();\\nvar builderType=data.builderField;\\nvar dateType = data.dateField;\\nvar taskType=data.taskField;\\n\\n//if (!data.builderField) throw \\\"Missing Builder Field\\\";\\n//if (!data.dateField) throw \\\"Missing Client Field\\\";\\n//if (!data.taskField) throw \\\"Missing Task Type Field\\\";\\n//var fields1 = [\\\"database\\\"];\\n//var nres = await rpc_execute(\\\"pm.task\\\",\\\"search_read\\\",[[],fields1]);\\n\\n//Fetching the Data from the Database\\nvar fields2 = [\\\"sub_id\\\",\\\"name\\\",\\\"description\\\",\\\"type\\\",\\\"time_start\\\",\\\"act_date_start\\\",\\\"time_end\\\",\\\"act_date_end\\\",\\\"duration\\\",\\\"act_duration\\\",\\\"status\\\",\\\"percentage\\\",\\\"builder\\\",\\\"tester\\\"];\\nvar res = await rpc_execute(\\\"pm.task.lines\\\",\\\"search_read\\\",[[],fields2]);\\nvar data=[];\\nvar bName = \\\"\\\";\\nvar j = 0;\\n\\nfor(var i=0;i\n                                                                        <res.length;i++)\\n{\\nif(res[i].builder != null){\\nbName = res[i].builder[1];\\n}\\nvar bName2 = builderType;\\nvar tName = res[i].type;\\nvar tName2 = taskType;\\nvar dName = res[i].act_date_end;\\nvar dName2 = dateType;\\n  \\n  if (dName2 != null){\\n    console.log(\\\"Not Null\\\",dName)\\n    if(dName == null){\\n    \\tdName = dName\\n    }\\n    else{\\n      dName = dName.split(\\\" \\\");\\n      dName = dName[0]\\n    }\\n  }\\n\\t\\tconsole.log(\\\"dName\\\",dName)\\n  \\t\\tconsole.log(\\\"dName2\\\",dName2)\\n        if(bName == bName2  && (tName == tName2 && dName == dName2)) {\\n        \\tconsole.log(\\\"inside\\\");\\n            var subid_a=res[i].sub_id;\\n            var name_a=res[i].name;\\n            var desc_a=res[i].description;\\n            var type_a=res[i].type;\\n            var time_start_a=res[i].time_start;\\n            var act_date_start_a=res[i].act_date_start;\\n            var time_end_a=res[i].time_end;\\n            var act_date_end_a=res[i].act_date_end;\\n            var distance_a=res[i].distance;\\n            var act_duration_a=res[i].act_duration;\\n            var status_a=res[i].status;\\n            var percentage_a=res[i].percentage;\\n            var builder_a=res[i].builder;\\n            var tester_a=res[i].tester;\\n\\n            data[j]={\\n                sub_id:subid_a,\\n                name:name_a,\\n                description:desc_a,\\n                type:type_a,\\n                time_start:time_start_a,\\n                act_date_start:act_date_start_a,\\n                time_end:time_end_a,\\n                act_date_end:act_date_end_a,\\n                distance:distance_a,\\n                act_duration:act_duration_a,\\n                status:status_a,\\n                percentage:percentage_a,\\n                builder:builder_a,\\n                tester:tester_a,\\n            }\\n          j++;\\n        } //inner if\\n\\t}\\n  \\n\\tset_data({lines:null});\\n  set_data({lines:data});\\n}\\n\\nasync function load_option(query) {\\n  \\nvar fields2 = [\\\"builder\\\"];\\nvar res = await rpc_execute(\\\"pm.task.lines\\\",\\\"search_read\\\",[[],fields2]);\\nvar uniqueArray = [];\\nvar slct = [];\\nvar n= \\\"\\\";\\n\\nfor(i=0;i\n                                                                            <res.length;i++){\\n\\n    if(res[i].builder != null){\\n      n = res[i].builder[1];\\n    }\\n    \\n    if(uniqueArray.indexOf(n) == -1){\\n      uniqueArray.push(n);\\n    }\\n\\n}\\n    \\nfor(i=0;i\n                                                                                <uniqueArray.length;i++){\\n  slct.push({\\n  value: uniqueArray[i],\\n  label: uniqueArray[i],\\n  });\\n}\\nreturn slct;\\n\\n}\"}, \"print_pcb\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"617px-LHDN_logo,k4KeMHZGD7U=.png\", \"width\": \"90\", \"height\": \"67\", \"margin_left\": 0, \"align\": \"center\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"KALKULATOR PCB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": 0}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"INLAND REVENUE BOARD MALAYSIA\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 2, 4, 1], \"_col_widths\": \"[1,2,4,1]\", \"min_height\": 70, \"margin_top\": 0, \"margin_bottom\": 30}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"NAME\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 14}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{full_name}\\n\"}]}, \"name\": \"full_name\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"NEW IDENTITY CARD NO.\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{id_no}\\n\"}]}, \"name\": \"id_number\", \"on_click\": \"\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MONTH\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{month}\\n\"}]}, \"font_size\": 15, \"name\": \"\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"YEAR\\t:\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 30}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{year}\\n\"}]}, \"name\": \"\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"_col_widths\": \"[1,2,2]\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"STATUS\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{type_of_residency}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MARITAL STATUS\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{status_category}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DISABLED INDIVIDUAL\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_individual}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DISABLE SPOUSE\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_spouse}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, null]], \"num_cols\": 4, \"num_rows\": 7, \"_col_widths\": \"[5,1,6,1]\", \"col_widths\": [5, 1, 6, 1], \"margin_left\": 60, \"margin_right\": 60, \"font_size\": 20, \"table_striped\": false, \"padding_top\": null, \"padding_left\": null, \"padding_right\": null, \"padding_bottom\": null, \"name\": \"table1\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CHILDREN\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16, \"margin_left\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Children - No of children claimed by ownself\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 10, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [4.5, 2], \"_col_widths\": \"[4.5,2]\", \"margin_left\": 60, \"margin_right\": 60, \"height\": \"60\", \"margin_top\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Eligible Rate\\n\"}]}, \"margin_left\": 10, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [4.5, 2], \"_col_widths\": \"[4.5,2]\", \"margin_left\": 60, \"margin_right\": 60, \"min_height\": 25, \"height\": \"35\"}, {\"type\": \"table\", \"elements\": [[null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"100%\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"50%\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"a)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Under the age of 18 years\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_under_18_100}\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_under_18_50}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"b)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"18 years & above and studying - included Certificate/Matriculation\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_18_study_100}\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_18_study_50}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"c)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Above 18 years and studying full time - Malaysia & Outside\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_18_full_time_100}\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_18_full_time_50}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"d)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled child\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_child_100}\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_child_50}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"e)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled child studying - Malaysia & Outside\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_child_study_100}\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_child_study_50}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\"}, {\"type\": \"text\"}, {\"type\": \"text\"}, {\"type\": \"text\"}], [{\"type\": \"text\"}, {\"type\": \"text\"}, {\"type\": \"text\"}, {\"type\": \"text\"}]], \"num_rows\": 6, \"num_cols\": 4, \"margin_left\": 60, \"margin_right\": 60, \"_col_widths\": \"[0.5,4,1,1]\", \"col_widths\": [0.5, 4, 1, 1], \"table_bordered\": true, \"font_size\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Accumulated Remuneration/MTD/Rebate/Deduction until before current month for current year (including from previous employer)\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 1], \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#ffffff\", \"margin_left\": 60, \"margin_right\": 60, \"_col_widths\": \"[3,1,1]\", \"border_color\": \"#ffffff\", \"border_width\": 1, \"border_radius\": 1, \"shadow_color\": \"#ffffff\", \"margin_top\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated remuneration/Benefit-In-Kind (BIK)/Value of Living Accomodation (VOLA) \\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_acc_rem_bik_vola}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"name\": \"vola\", \"editable\": false, \"visibility\": \"0\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated EPF and Other Approved FundsNet accumulated remuneration\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_acc_epf}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net accumulated remuneration \\n\"}]}, \"font_size\": 16}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_net_acc_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated MTD paid (including MTD on additional remuneration)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_acc_mtd}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total accumulated zakat paid\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_total_acc_zakat}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"OTHER ACCUMULATED DEDUCTIONS\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1) Medical expenses for own parents, special need and parent care\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_med_exp}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\tFather Relief\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_father_relief}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\tMother Relief\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_mother_relief}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"2) Basic supporting equipment for disabled self, spouse, child or parent \\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_support_disabled}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"3) Education fees\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_edu_fees}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"4) (a) Medical expenses on serious diseases for self, spouse or child\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"(a) {prev_med_exp_serious}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"5) (b) Complete medical examination for self, spouse or child\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"(b) {prev_com_med_exam}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\tTotal a+b\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_total_a_b}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"6) Net deposit in Skim Simpanan Pendidikan Nasional (SSPN)\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_net_dep_sspn}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"7) Payment of alimony to former wife\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_alimony}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"8a) Life insurance premium for Retired Civil Servant\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_ins_ret_civ_ser}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"8b) Life insurance premium for Other than Retired Civil Servant\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_ins_oth_ret_civ_ser}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"9) Education and medical insurance premium\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_edu_med_ins_prem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"10) Deferred annuity premium or contribution to Private Retirement Scheme\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_def_annuity}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"11) SOCSO Contribution\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_socso_cont}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"12) Purchase of readings, computer, smartphone, tablet, sport equipment, gymnasium membership and subscription of broadband internet\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_purch}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"13) Purchase of Breastfeeding Equipment (deduction is allowed once every 2 years for women tax payer only)\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_purch_bre_equip}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"14) Fees paid to Child Care Centre and Kindergardens\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_fee_child_care}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Accumulated Deductions\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_total_acc_deduct}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [], [], [], [], []], \"num_cols\": 3, \"num_rows\": 25, \"_col_widths\": \"[3,1,1]\", \"col_widths\": [3, 1, 1], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CURRENT MONTH'S REMUNERATION\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 1], \"_col_widths\": \"[3,1,1]\", \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Current month's remuneration\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_mon_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Current month's EPF and Other Approved Funds\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_mon_epf}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total net current month's remuneration\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_net_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"table_hover\": true, \"num_cols\": 3, \"num_rows\": 3, \"_col_widths\": \"[3,1,1]\", \"col_widths\": [3, 1, 1], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CURRENT MONTH'S ADDITIONAL REMUNERATION\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 1], \"_col_widths\": \"[3,1,1]\", \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"a) Bonus\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_bonus}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"b) Arrears\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_arrears}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"c) Comissions (not paid monthly)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_commission}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"d) Gratuity\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_gratuity}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"e) Compensation\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_compensation}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"f) Director's fee (not paid monthly)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_director_fee}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"g) Income tax paid by employers on behalf of employees\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_inc_tax_on_behalf}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"h) Others\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_others}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"i) Total additional remuneration (a) to (h)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_add_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"j) Additional remuneration's EPF [not exceeding RM4000 per year] (a) to (h)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_add_rem_epf}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"k) Total net additional remuneration [(i)-(j)]\\n\"}]}}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_net_add_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_rows\": 11, \"num_cols\": 3, \"_col_widths\": \"[3,1,1]\", \"col_widths\": [3, 1, 1], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CURRENT MONTH'S DEDUCTION\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 1], \"_col_widths\": \"[3,1,1]\", \"margin_left\": 60, \"margin_right\": 60, \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1) Medical expenses for own parents, special need and parent care\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_med_exp}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\tFather Relief\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_father_relief}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\tMother Relief\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_mother_relief}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"2) Basic supporting equipment for disabled self, spouse, child or parent\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_support_disabled}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"3) Education fees\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_edu_fees}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"4) (a) Medical expenses on serious diseases for self, spouse or child\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_med_exp_serious}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"5) (b) Complete medical examination for self, spouse or child\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_com_med_exam}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\tTotal a + b\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_a_b}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"6) Net deposit in Skim Simpanan Pendidikan Nasional (SSPN)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_net_dep_sspn}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"7) Payment of alimony to former wife\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_alimony}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"8a) Life insurance premium for Retired Civil Servant\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_ins_ret_civ_ser}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"8b) Life insurance premium for Other than Retired Civil Servant\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_ins_oth_ret_civ_ser}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"9) Education and medical insurance premium\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_edu_med_ins_prem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"10) Deferred annuity premium or contribution to Private Retirement Scheme\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_def_annuity}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"11) SOCSO Contribution\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_socso_cont}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"12) Purchase of readings, computer, smartphone, tablet, sport equipment, gymnasium membership and subscription of broadband internet\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_purch}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"13) Purchase of Breastfeeding Equipment (deduction is allowed once every 2 years for women tax payer only)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_purch_bre_equip}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"14) Fees paid to Child Care Centre and Kindergardens\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_fee_child_care}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"15) Total Monthly Deductions\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_deduct}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]], \"num_cols\": 3, \"num_rows\": 19, \"_col_widths\": \"[3,1,1]\", \"col_widths\": [3, 1, 1], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CURRENT MONTH'S REBATE INFORMATION\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Zakat or Fitrah\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_zakat}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"margin_left\": 60, \"margin_right\": 60, \"margin_top\": 20, \"margin_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MTD CALCULATION\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"margin_left\": 60, \"margin_right\": 60, \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"margin_top\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"STEP 1 : MTD to yearly net remuneration exclude the additional remuneration\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"margin_left\": 60, \"margin_right\": 60, \"margin_top\": 10, \"margin_bottom\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"Net MTD \\t=\\u00a0 \\t[((P-M)R + B - ( Z + X) )/n+1] - Zakat for current month\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P = \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"Total chargeable income for a year exclude [\\u2211(Y-K)+(Y1-K1)+[(Y2-K2)n] + (Yt-Kt)]-(D+S+Du+Su+QC+\\u2211LP+LP1) \"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"where (Yt-Kt) = 0 \\u2211(Y-K) = Total accumulated net remuneration including net additional remuneration which has been paid to an employee until before current month including net remuneration which has been paid by previous employer (if any);\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_net_acc_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Y = Total monthly gross remuneration and additional remuneration which has been paid including monthly gross remuneration paid by previous employer (if any);\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Y}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"K = Total contribution to EPF or Other Approved Funds made on all remuneration (monthly remuneration, additional remuneration and remuneration from previous employer on current year) that was paid (including premium claimed under previous employment, if any) not exceeding RM4,000.00 per year;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{K}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Y1 = Current month\\u2019s normal remuneration;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Y1}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"K1 = Contribution to EPF or Other Approved Funds paid subject to total qualifying amount for current month\\u2019s remuneration not exceeding RM4,000.00 per year;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{K1}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Y2 = Estimated remuneration as per Y1 for the following month;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Y2}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"K2 = Estimated balance of total contribution to EPF or other Approved Scheme paid for the qualifying monthly balance [[RM4,000 (limited) - (K + K1 + Kt)]/n] or K1, whichever is lower;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{K2}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\"}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"n = Remaining working month in a year;\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{n}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"n + 1 = Remaining working month in a year including current month;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{nplusone}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"editable\": false, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"D = Deduction for individual;\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{D}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"S = Deduction for spouse of RM3,000.00;\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{S}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"D\"}, {\"attributes\": {\"color\": \"#000000\", \"script\": \"sub\"}, \"insert\": \"u\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"\\u00a0= Deduction for disable individual;\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Du}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"S\"}, {\"attributes\": {\"color\": \"#000000\", \"script\": \"sub\"}, \"insert\": \"u\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"\\u00a0= Deduction for disable spouse;\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Su}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Q = Deduction for eligible Children\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Q}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"C = The number of children eligible;\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{C}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\u2211LP = Other accumulated allowable deductions including from previous employment (if any);\\u00a0\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{ELP}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"LP\"}, {\"attributes\": {\"color\": \"#000000\", \"script\": \"sub\"}, \"insert\": \"1\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"\\u00a0= Other allowable deductions for current month ;\\u00a0\\u00a0\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{LP1}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P = \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"[\\u2211({Y} - {K}) + ({Y1} - {K1}) + [({Y2} - {K2}) x {n}] + (0 - 0)] - ({D} + {S} + {Du} + {Su} + {QC} + {ELP} + {LP1})\"}, {\"insert\": \"\\t=\\n\\n****************************\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{P}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"name\": \"P\"}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"M = \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Amount of first chargeable income for every range of chargeable income a year;\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{M}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"width\": \"\", \"name\": \"M\"}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"R = \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Percentage of tax rates;\\u00a0\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{R}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"width\": \"\", \"name\": \"R\"}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"B =\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Amount of tax on M less tax rebate for individual and spouse (if qualified);\\u00a0\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{B}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"name\": \"B\"}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Z =\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Accumulated zakat paid other than zakat for current month;\\u00a0\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Z}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"name\": \"Z\"}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"X =\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Accumulated MTD paid for previous month including from previous employment (including MTD on additional remuneration);\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{X}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"bullet_text\": \"\", \"name\": \"X\"}], [null, null, null, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Yearly Tax\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"=\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{CS}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"name\": \"\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Current Month MTD\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"=\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"[[{P} - {M}] x {R} + ({B}) -({Z} + {X})] /  ({n} +1)\"}, {\"insert\": \"\\t\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"=\"}, {\"insert\": \"\\t\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"************************\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_month_mtd}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"name\": \"netMTD\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net MTD\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"=\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Current Month MTD - \"}, {\"insert\": \"{cur_zakat}\\t=\\n\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"********\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{netMTD}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [], [], [null, {\"type\": \"text\"}]], \"num_cols\": 4, \"num_rows\": 27, \"_col_widths\": \"[3,3,10,4]\", \"col_widths\": [3, 3, 10, 4], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"2.Yearly MTD\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD (B)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"=\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"(X)+[Current Month MTD(n+1)]\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{X} + [{cur_month_mtd} * ({n} + 1)]\\t=\\n*******************************\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{mtdb}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]], \"margin_left\": 60, \"margin_right\": 60, \"_col_widths\": \"[3,3,10,4]\", \"col_widths\": [3, 3, 10, 4], \"num_cols\": 4, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"3.Yearly Tax\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"CS\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"=\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"(P-M)R+B\\n\"}]}, \"font_size\": 15}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P \\t=\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total income tax for a year include current additional remuneration\\n[\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"\\u2211\"}, {\"insert\": \"(Y-K) + (Y1 - K1) + (Y2 - K2)n) + (Yt - Kt)] - (D + S + Du + Su + QC + ELP + LP1)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Yt = Gross additional remuneration for current growth;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Yt}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Kt = Contribution to EPF or Other Approved Funds for current month's additional remuneration subject to total qualifying amount not exceeding  RM6,000.00 per year;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Kt}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P\\t=\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"\\u2211({Y} - {K}+ {ELP} - {Yt}) + ({ELP} +  {Yt})x\"}, {\"insert\": \"\\t=\\n\\n****************\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{P_CS}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"({P}-{M}){R}+{B} **********\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{CS}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], []], \"num_rows\": 6, \"num_cols\": 4, \"_col_widths\": \"[3,3,10,4]\", \"col_widths\": [3, 3, 10, 4], \"margin_left\": 60, \"margin_right\": 60, \"table_striped\": false, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"4.Additional Remuneration MTD :\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD (C)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"=\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"CS - [MTD(B) + Accumulated Zakat that have been paid]\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{CS} - [{mtdb} + {Z}] ****************\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{mtdC}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]], \"_col_widths\": \"[3,3,10,4]\", \"col_widths\": [3, 3, 10, 4], \"margin_left\": 60, \"margin_right\": 60, \"num_cols\": 4, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"5.MTD Current Month :\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD (A) + MTD (C)\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{netMTD} + {mtdC}\\n****************************\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{mtd}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]], \"num_cols\": 4, \"_col_widths\": \"[3,3,10,4]\", \"col_widths\": [3, 3, 10, 4], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CALCULATION RESULT\"}, {\"insert\": \"\\n\"}]}, \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Net MTD\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{netMTD}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"font_size\": 15, \"name\": \"\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MTD on additional remuneration\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{mtdC}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"font_size\": 15, \"name\": \"\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MTD for month of August to be deducted (after rounding to the nearest upper 5 cent)\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{mtd_round}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"name\": \"\"}]], \"num_cols\": 2, \"_col_widths\": \"[4,1]\", \"col_widths\": [4, 1], \"margin_left\": 60, \"margin_right\": 60, \"num_rows\": 4, \"margin_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Note : MTD for every month from DECEMBER to DECEMBER is\"}, {\"attributes\": {\"bold\": true}, \"insert\": \" RM{mtd_show}\"}, {\"insert\": \" if there is no changes on remuneration, deduction and rebate \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"(MTD is not compound if the amount is less then RM10)\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Note : Total MTD / Yearly Tax is RM{cs_show} . MTD calculation is to be done for each month.\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 5, \"font_size\": 16}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 60, \"margin_right\": 60}], \"min_height\": 50, \"margin_left\": 0, \"margin_right\": 0, \"font_size\": null}], \"header_height\": \"80\", \"footer_height\": \"80\", \"show_page_no\": true, \"fields\": \"[\\\"number\\\",\\\"netMTD_REP\\\",\\\"Q\\\",\\\"C\\\",\\\"id_no\\\",\\\"mtd_round\\\",\\\"prev_acc_rem_bik_vola\\\",\\\"B\\\", \\\"child_18_full_time_100\\\", \\\"child_18_full_time_50\\\", \\\"child_18_full_time_total\\\", \\\"child_18_study_100\\\", \\\"child_18_study_50\\\", \\\"child_18_study_total\\\", \\\"child_under_18_100\\\", \\\"child_under_18_50\\\",\\\"full_name\\\", \\\"name\\\",\\\"child_under_18_total\\\", \\\"CS\\\", \\\"cur_add_rem_epf\\\", \\\"cur_alimony\\\", \\\"cur_arrears\\\", \\\"cur_bik\\\", \\\"cur_bonus\\\", \\\"cur_com_med_exam\\\", \\\"cur_commission\\\", \\\"cur_compensation\\\", \\\"cur_def_annuity\\\", \\\"cur_director_fee\\\", \\\"cur_edu_fees\\\", \\\"cur_edu_med_ins_prem\\\", \\\"cur_father_relief\\\", \\\"cur_fee_child_care\\\", \\\"cur_gratuity\\\", \\\"cur_inc_tax_on_behalf\\\", \\\"cur_ins_oth_ret_civ_ser\\\", \\\"cur_ins_ret_civ_ser\\\", \\\"cur_med_exp\\\", \\\"cur_med_exp_serious\\\", \\\"cur_mon_epf\\\", \\\"cur_mon_rem\\\", \\\"curMonthMTD_IRDA\\\", \\\"curMonthMTD_REP\\\", \\\"curMonthMTD_resident\\\", \\\"cur_mother_relief\\\", \\\"cur_net_dep_sspn\\\", \\\"cur_others\\\", \\\"cur_purch\\\", \\\"cur_purch_bre_equip\\\", \\\"cur_socso_cont\\\", \\\"cur_support_disabled\\\", \\\"cur_total_a_b\\\", \\\"cur_total_add_rem\\\", \\\"cur_total_deduct\\\", \\\"cur_total_net_add_rem\\\", \\\"cur_total_net_rem\\\", \\\"cur_vola\\\", \\\"cur_zakat\\\", \\\"D\\\", \\\"disabled_child_100\\\", \\\"disabled_child_50\\\", \\\"disabled_child_study_100\\\", \\\"disabled_child_study_50\\\", \\\"disabled_child_study_total\\\", \\\"disabled_child_total\\\", \\\"disabled_individual\\\", \\\"disabled_spouse\\\", \\\"Du\\\", \\\"E\\\", \\\"ELP\\\", \\\"employment_category\\\", \\\"full_name\\\", \\\"K\\\", \\\"K1\\\", \\\"K2\\\", \\\"Kt\\\", \\\"LP1\\\", \\\"M\\\", \\\"month\\\", \\\"mtd\\\", \\\"mtdb\\\", \\\"mtdC\\\", \\\"mtd_formula\\\", \\\"n\\\", \\\"name\\\", \\\"netMTD_IRDA\\\", \\\"netMTD_REP\\\", \\\"netMTD_resident\\\", \\\"non_res_add_rem\\\", \\\"non_res_bik\\\", \\\"non_res_cur_rem\\\", \\\"non_res_mtd\\\", \\\"non_res_vola\\\", \\\"P_CS\\\", \\\"P_IRDA\\\", \\\"P_REP\\\", \\\"P_resident\\\", \\\"prev_acc_epf\\\", \\\"prev_acc_mtd\\\", \\\"prev_acc_rem_bik_vola\\\", \\\"prev_alimony\\\", \\\"prev_com_med_exam\\\", \\\"prev_def_annuity\\\", \\\"prev_edu_fees\\\", \\\"prev_edu_med_ins_prem\\\", \\\"prev_father_relief\\\", \\\"prev_fee_child_care\\\", \\\"prev_ins_oth_ret_civ_ser\\\", \\\"prev_ins_ret_civ_ser\\\", \\\"prev_med_exp\\\", \\\"prev_med_exp_serious\\\", \\\"prev_mother_relief\\\", \\\"prev_net_acc_rem\\\", \\\"prev_net_dep_sspn\\\", \\\"prev_purch\\\", \\\"prev_purch_bre_equip\\\", \\\"prev_socso_cont\\\", \\\"prev_support_disabled\\\", \\\"prev_total_a_b\\\", \\\"prev_total_acc_deduct\\\", \\\"prev_total_acc_zakat\\\", \\\"QC\\\", \\\"R_IRDA\\\", \\\"R_REP\\\", \\\"R_resident\\\", \\\"S\\\", \\\"status_category\\\", \\\"Su\\\", \\\"T\\\", \\\"type_of_residency\\\", \\\"X_IRDA\\\", \\\"X_REP\\\", \\\"X_resident\\\", \\\"Y\\\", \\\"Y1\\\", \\\"Y2\\\", \\\"year\\\", \\\"yearlyTax\\\", \\\"Yt\\\", \\\"Z_IRDA\\\", \\\"Z_REP\\\", \\\"Z_resident\\\"]\", \"font_size\": \"20\"}, \"code\": \"async function on_load(){\\n \\n    var data=get_data();\\n    var name = data.full_name;\\n    \\n  \\n    var conds = [[\\\"number\\\",\\\"=\\\",data.number]];\\n    var fields=[\\\"employment_category\\\",\\\"full_name\\\",\\\"month\\\",\\\"year\\\",\\\"mtd_formula\\\",\\\"P_resident\\\",\\\"M\\\",\\\"R_resident\\\",\\\"B\\\",\\\"Z_resident\\\",\\\"X_resident\\\",\\\"curMonthMTD_resident\\\",\\\"netMTD_resident\\\",\\\"P_REP\\\",\\\"R_REP\\\",\\\"T\\\",\\\"Z_REP\\\",\\\"X_REP\\\",\\\"curMonthMTD_REP\\\",\\\"netMTD_REP\\\",\\\"P_IRDA\\\",\\\"R_IRDA\\\",\\\"Z_IRDA\\\",\\\"X_IRDA\\\",\\\"curMonthMTD_IRDA\\\",\\\"netMTD_IRDA\\\"];\\n    var pcb_list=await rpc_execute('hr2.pcb','search_read',[conds,fields]);\\n    var pcb=pcb_list[0];  \\n\\n    \\n  \\n  if (pcb.mtd_formula==\\\"Normal\\\"){\\n    set_data({  P:pcb.P_resident,\\n                M:pcb.M,\\n                R:pcb.R_resident,\\n                B:pcb.B,\\n                Z:pcb.Z_resident,\\n                X:pcb.X_resident,\\n                mtd:pcb.curMonthMTD_resident,\\n                netMTD:pcb.netMTD_resident,\\n              \\tcur_month_mtd:pcb.curMonthMTD_resident\\n            })\\n  }\\n  else if (pcb.mtd_formula==\\\"REP\\\") {\\n      set_data({\\n        P:pcb.P_REP,\\n        R:pcb.R_REP,\\n        T:pcb.T,\\n        Z:pcb.Z_REP,\\n        X:pcb.X_REP,\\n      })\\n\\n      if (pcb.employment_category[0]==1){\\n        set_data({mtd:pcb.curMonthMTD_REP,\\n          netMTD:data.netMTD_REP})\\n      }\\n      else if (pcb.employment_category[0]==2){\\n        set_data({\\n          netMTD:data.mtd})\\n      }\\n\\n\\n  }\\n  else if (pcb.mtd_formula==\\\"IRDA\\\"){\\n    set_data({\\n    P:pcb.P_IRDA,\\n    R:pcb.R_IRDA,\\n    Z:pcb.Z_IRDA,\\n    X:pcb.X_IRDA,\\n    mtd:pcb.curMonthMTD_IRDA,\\n    netMTD:pcb.netMTD_IRDA\\n    })\\n  }\\n  var cs_r=Math.ceil(data.CS*20)/20;\\n  var mtd_r=Math.ceil(data.mtd*20)/20;\\n  var n_1=parseInt(data.n)+1;\\n  set_data({\\n      mtd_show:mtd_r,\\n      cs_show:cs_r,\\n      nplusone:n_1\\n\\n});\\n  \\n  }\\n\\n\\n\\n\\n\"}, \"print_pcb_rep\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"617px-LHDN_logo,k4KeMHZGD7U=.png\", \"width\": \"90\", \"height\": \"67\", \"margin_left\": 0, \"align\": \"center\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"KALKULATOR PCB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": 0}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"INLAND REVENUE BOARD MALAYSIA\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 2, 4, 1], \"_col_widths\": \"[1,2,4,1]\", \"min_height\": 70, \"margin_top\": 0, \"margin_bottom\": 30}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"NAME\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 14}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{full_name}\\n\"}]}, \"name\": \"full_name\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"NEW IDENTITY CARD NO.\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{id_no}\\n\"}]}, \"name\": \"id_number\", \"on_click\": \"\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MONTH\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{month}\\n\"}]}, \"font_size\": 15, \"name\": \"\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"YEAR\\t:\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 30}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{year}\\n\"}]}, \"name\": \"\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"_col_widths\": \"[1,2,2]\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"STATUS\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{type_of_residency}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MARITAL STATUS\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{status_category}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DISABLED INDIVIDUAL\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_individual}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DISABLE SPOUSE\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_spouse}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, null]], \"num_cols\": 4, \"num_rows\": 7, \"_col_widths\": \"[5,1,6,1]\", \"col_widths\": [5, 1, 6, 1], \"margin_left\": 60, \"margin_right\": 60, \"font_size\": 20, \"table_striped\": false, \"padding_top\": null, \"padding_left\": null, \"padding_right\": null, \"padding_bottom\": null, \"name\": \"table1\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CHILDREN\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16, \"margin_left\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Children - No of children claimed by ownself\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 10, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [4.5, 2], \"_col_widths\": \"[4.5,2]\", \"margin_left\": 60, \"margin_right\": 60, \"height\": \"60\", \"margin_top\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Eligible Rate\\n\"}]}, \"margin_left\": 10, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [4.5, 2], \"_col_widths\": \"[4.5,2]\", \"margin_left\": 60, \"margin_right\": 60, \"min_height\": 25, \"height\": \"35\"}, {\"type\": \"table\", \"elements\": [[null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"100%\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"50%\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"a)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Under the age of 18 years\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_under_18_100}\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_under_18_50}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"b)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"18 years & above and studying - included Certificate/Matriculation\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_18_study_100}\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_18_study_50}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"c)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Above 18 years and studying full time - Malaysia & Outside\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_18_full_time_100}\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_18_full_time_50}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"d)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled child\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_child_100}\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_child_50}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"e)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled child studying - Malaysia & Outside\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_child_study_100}\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_child_study_50}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\"}, {\"type\": \"text\"}, {\"type\": \"text\"}, {\"type\": \"text\"}], [{\"type\": \"text\"}, {\"type\": \"text\"}, {\"type\": \"text\"}, {\"type\": \"text\"}]], \"num_rows\": 6, \"num_cols\": 4, \"margin_left\": 60, \"margin_right\": 60, \"_col_widths\": \"[0.5,4,1,1]\", \"col_widths\": [0.5, 4, 1, 1], \"table_bordered\": true, \"font_size\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Accumulated Remuneration/MTD/Rebate/Deduction until before current month for current year (including from previous employer)\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 1], \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#ffffff\", \"margin_left\": 60, \"margin_right\": 60, \"_col_widths\": \"[3,1,1]\", \"border_color\": \"#ffffff\", \"border_width\": 1, \"border_radius\": 1, \"shadow_color\": \"#ffffff\", \"margin_top\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated remuneration/Benefit-In-Kind (BIK)/Value of Living Accomodation (VOLA) \\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_acc_rem_bik_vola}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"name\": \"vola\", \"editable\": false, \"visibility\": \"0\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated EPF and Other Approved FundsNet accumulated remuneration\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_acc_epf}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net accumulated remuneration \\n\"}]}, \"font_size\": 16}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_net_acc_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated MTD paid (including MTD on additional remuneration)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_acc_mtd}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total accumulated zakat paid\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_total_acc_zakat}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"OTHER ACCUMULATED DEDUCTIONS\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1) Medical expenses for own parents, special need and parent care\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_med_exp}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\tFather Relief\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_father_relief}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\tMother Relief\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_mother_relief}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"2) Basic supporting equipment for disabled self, spouse, child or parent \\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_support_disabled}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"3) Education fees\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_edu_fees}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"4) (a) Medical expenses on serious diseases for self, spouse or child\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"(a) {prev_med_exp_serious}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"5) (b) Complete medical examination for self, spouse or child\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"(b) {prev_com_med_exam}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\tTotal a+b\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_total_a_b}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"6) Net deposit in Skim Simpanan Pendidikan Nasional (SSPN)\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_net_dep_sspn}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"7) Payment of alimony to former wife\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_alimony}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"8a) Life insurance premium for Retired Civil Servant\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_ins_ret_civ_ser}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"8b) Life insurance premium for Other than Retired Civil Servant\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_ins_oth_ret_civ_ser}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"9) Education and medical insurance premium\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_edu_med_ins_prem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"10) Deferred annuity premium or contribution to Private Retirement Scheme\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_def_annuity}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"11) SOCSO Contribution\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_socso_cont}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"12) Purchase of readings, computer, smartphone, tablet, sport equipment, gymnasium membership and subscription of broadband internet\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_purch}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"13) Purchase of Breastfeeding Equipment (deduction is allowed once every 2 years for women tax payer only)\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_purch_bre_equip}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"14) Fees paid to Child Care Centre and Kindergardens\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_fee_child_care}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Accumulated Deductions\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_total_acc_deduct}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [], [], [], [], []], \"num_cols\": 3, \"num_rows\": 25, \"_col_widths\": \"[3,1,1]\", \"col_widths\": [3, 1, 1], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CURRENT MONTH'S REMUNERATION\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 1], \"_col_widths\": \"[3,1,1]\", \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Current month's remuneration\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_mon_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Current month's EPF and Other Approved Funds\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_mon_epf}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total net current month's remuneration\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_net_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"table_hover\": true, \"num_cols\": 3, \"num_rows\": 3, \"_col_widths\": \"[3,1,1]\", \"col_widths\": [3, 1, 1], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CURRENT MONTH'S ADDITIONAL REMUNERATION\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 1], \"_col_widths\": \"[3,1,1]\", \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"a) Bonus\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_bonus}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"b) Arrears\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_arrears}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"c) Comissions (not paid monthly)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_commission}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"d) Gratuity\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_gratuity}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"e) Compensation\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_compensation}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"f) Director's fee (not paid monthly)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_director_fee}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"g) Income tax paid by employers on behalf of employees\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_inc_tax_on_behalf}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"h) Others\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_others}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"i) Total additional remuneration (a) to (h)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_add_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"j) Additional remuneration's EPF [not exceeding RM4000 per year] (a) to (h)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_add_rem_epf}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"k) Total net additional remuneration [(i)-(j)]\\n\"}]}}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_net_add_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_rows\": 11, \"num_cols\": 3, \"_col_widths\": \"[3,1,1]\", \"col_widths\": [3, 1, 1], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CURRENT MONTH'S DEDUCTION\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 1], \"_col_widths\": \"[3,1,1]\", \"margin_left\": 60, \"margin_right\": 60, \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1) Medical expenses for own parents, special need and parent care\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_med_exp}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\tFather Relief\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_father_relief}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\tMother Relief\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_mother_relief}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"2) Basic supporting equipment for disabled self, spouse, child or parent\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_support_disabled}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"3) Education fees\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_edu_fees}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"4) (a) Medical expenses on serious diseases for self, spouse or child\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_med_exp_serious}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"5) (b) Complete medical examination for self, spouse or child\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_com_med_exam}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\tTotal a + b\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_a_b}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"6) Net deposit in Skim Simpanan Pendidikan Nasional (SSPN)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_net_dep_sspn}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"7) Payment of alimony to former wife\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_alimony}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"8a) Life insurance premium for Retired Civil Servant\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_ins_ret_civ_ser}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"8b) Life insurance premium for Other than Retired Civil Servant\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_ins_oth_ret_civ_ser}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"9) Education and medical insurance premium\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_edu_med_ins_prem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"10) Deferred annuity premium or contribution to Private Retirement Scheme\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_def_annuity}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"11) SOCSO Contribution\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_socso_cont}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"12) Purchase of readings, computer, smartphone, tablet, sport equipment, gymnasium membership and subscription of broadband internet\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_purch}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"13) Purchase of Breastfeeding Equipment (deduction is allowed once every 2 years for women tax payer only)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_purch_bre_equip}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"14) Fees paid to Child Care Centre and Kindergardens\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_fee_child_care}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"15) Total Monthly Deductions\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_deduct}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]], \"num_cols\": 3, \"num_rows\": 19, \"_col_widths\": \"[3,1,1]\", \"col_widths\": [3, 1, 1], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CURRENT MONTH'S REBATE INFORMATION\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Zakat or Fitrah\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_zakat}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"margin_left\": 60, \"margin_right\": 60, \"margin_top\": 20, \"margin_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MTD CALCULATION\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"margin_left\": 60, \"margin_right\": 60, \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"margin_top\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"STEP 1 : MTD to yearly net remuneration exclude the additional remuneration\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"margin_left\": 60, \"margin_right\": 60, \"margin_top\": 10, \"margin_bottom\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"Net MTD \\t=\\u00a0 \\t[((P-M)R + B - ( Z + X) )/n+1] - Zakat for current month\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P = \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"Total chargeable income for a year exclude [\\u2211(Y-K)+(Y1-K1)+[(Y2-K2)n] + (Yt-Kt)]-(D+S+Du+Su+QC+\\u2211LP+LP1) \"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"where (Yt-Kt) = 0 \\u2211(Y-K) = Total accumulated net remuneration including net additional remuneration which has been paid to an employee until before current month including net remuneration which has been paid by previous employer (if any);\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_net_acc_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Y = Total monthly gross remuneration and additional remuneration which has been paid including monthly gross remuneration paid by previous employer (if any);\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Y}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"K = Total contribution to EPF or Other Approved Funds made on all remuneration (monthly remuneration, additional remuneration and remuneration from previous employer on current year) that was paid (including premium claimed under previous employment, if any) not exceeding RM4,000.00 per year;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{K}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Y1 = Current month\\u2019s normal remuneration;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Y1}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"K1 = Contribution to EPF or Other Approved Funds paid subject to total qualifying amount for current month\\u2019s remuneration not exceeding RM4,000.00 per year;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{K1}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Y2 = Estimated remuneration as per Y1 for the following month;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Y2}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"K2 = Estimated balance of total contribution to EPF or other Approved Scheme paid for the qualifying monthly balance [[RM4,000 (limited) - (K + K1 + Kt)]/n] or K1, whichever is lower;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{K2}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\"}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"n = Remaining working month in a year;\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{n}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"n + 1 = Remaining working month in a year including current month;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{nplusone}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"editable\": false, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"D = Deduction for individual;\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{D}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"S = Deduction for spouse of RM3,000.00;\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{S}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"D\"}, {\"attributes\": {\"color\": \"#000000\", \"script\": \"sub\"}, \"insert\": \"u\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"\\u00a0= Deduction for disable individual;\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Du}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"S\"}, {\"attributes\": {\"color\": \"#000000\", \"script\": \"sub\"}, \"insert\": \"u\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"\\u00a0= Deduction for disable spouse;\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Su}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Q = Deduction for eligible Children\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Q}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"C = The number of children eligible;\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{C}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\u2211LP = Other accumulated allowable deductions including from previous employment (if any);\\u00a0\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{ELP}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"LP\"}, {\"attributes\": {\"color\": \"#000000\", \"script\": \"sub\"}, \"insert\": \"1\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"\\u00a0= Other allowable deductions for current month ;\\u00a0\\u00a0\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{LP1}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P = \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"[\\u2211({Y} - {K}) + ({Y1} - {K1}) + [({Y2} - {K2}) x {n}] + (0 - 0)] - ({D} + {S} + {Du} + {Su} + {QC} + {ELP} + {LP1})\"}, {\"insert\": \"\\t=\\n\\n****************************\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{P}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"name\": \"P\"}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"M = \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Amount of first chargeable income for every range of chargeable income a year;\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{M}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"width\": \"\", \"name\": \"M\"}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"R = \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Percentage of tax rates;\\u00a0\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{R}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"width\": \"\", \"name\": \"R\"}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"B =\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Amount of tax on M less tax rebate for individual and spouse (if qualified);\\u00a0\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{B}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"name\": \"B\"}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Z =\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Accumulated zakat paid other than zakat for current month;\\u00a0\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Z}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"name\": \"Z\"}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"X =\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Accumulated MTD paid for previous month including from previous employment (including MTD on additional remuneration);\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{X}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"bullet_text\": \"\", \"name\": \"X\"}], [null, null, null, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Yearly Tax\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"=\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{CS}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"name\": \"\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Current Month MTD\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"=\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"[[{P} - {M}] x {R} + ({B}) -({Z} + {X})] /  ({n} +1)\"}, {\"insert\": \"\\t\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"=\"}, {\"insert\": \"\\t\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"************************\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_month_mtd}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"name\": \"netMTD\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net MTD\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"=\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Current Month MTD - \"}, {\"insert\": \"{cur_zakat}\\t=\\n\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"********\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{netMTD}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [], [], [null, {\"type\": \"text\"}]], \"num_cols\": 4, \"num_rows\": 27, \"_col_widths\": \"[3,3,10,4]\", \"col_widths\": [3, 3, 10, 4], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"2.  MTD Current Month :\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD (A) + MTD (C)\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{netMTD} + {mtdC}\\n****************************\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{mtd}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]], \"num_cols\": 4, \"_col_widths\": \"[3,3,10,4]\", \"col_widths\": [3, 3, 10, 4], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CALCULATION RESULT\"}, {\"insert\": \"\\n\"}]}, \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MTD for month of August to be deducted (after rounding to the nearest upper 5 cent)\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{mtd_round}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"font_size\": 15, \"name\": \"\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MTD on additional remuneration\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{mtdC}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"font_size\": 15, \"name\": \"\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"name\": \"\"}]], \"num_cols\": 2, \"_col_widths\": \"[4,1]\", \"col_widths\": [4, 1], \"margin_left\": 60, \"margin_right\": 60, \"num_rows\": 2, \"margin_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Note : MTD for every month from DECEMBER to DECEMBER is\"}, {\"attributes\": {\"bold\": true}, \"insert\": \" RM{mtd_show}\"}, {\"insert\": \" if there is no changes on remuneration, deduction and rebate \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"(MTD is not compound if the amount is less then RM10)\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Note : Total MTD / Yearly Tax is RM{cs_show} . MTD calculation is to be done for each month.\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 5, \"font_size\": 16}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 60, \"margin_right\": 60}], \"min_height\": 50, \"margin_left\": 0, \"margin_right\": 0, \"font_size\": null}], \"header_height\": \"80\", \"footer_height\": \"80\", \"show_page_no\": true, \"fields\": \"[\\\"number\\\",\\\"netMTD_REP\\\",\\\"Q\\\",\\\"C\\\",\\\"id_no\\\",\\\"mtd_round\\\",\\\"prev_acc_rem_bik_vola\\\",\\\"B\\\", \\\"child_18_full_time_100\\\", \\\"child_18_full_time_50\\\", \\\"child_18_full_time_total\\\", \\\"child_18_study_100\\\", \\\"child_18_study_50\\\", \\\"child_18_study_total\\\", \\\"child_under_18_100\\\", \\\"child_under_18_50\\\",\\\"full_name\\\", \\\"name\\\",\\\"child_under_18_total\\\", \\\"CS\\\", \\\"cur_add_rem_epf\\\", \\\"cur_alimony\\\", \\\"cur_arrears\\\", \\\"cur_bik\\\", \\\"cur_bonus\\\", \\\"cur_com_med_exam\\\", \\\"cur_commission\\\", \\\"cur_compensation\\\", \\\"cur_def_annuity\\\", \\\"cur_director_fee\\\", \\\"cur_edu_fees\\\", \\\"cur_edu_med_ins_prem\\\", \\\"cur_father_relief\\\", \\\"cur_fee_child_care\\\", \\\"cur_gratuity\\\", \\\"cur_inc_tax_on_behalf\\\", \\\"cur_ins_oth_ret_civ_ser\\\", \\\"cur_ins_ret_civ_ser\\\", \\\"cur_med_exp\\\", \\\"cur_med_exp_serious\\\", \\\"cur_mon_epf\\\", \\\"cur_mon_rem\\\", \\\"curMonthMTD_IRDA\\\", \\\"curMonthMTD_REP\\\", \\\"curMonthMTD_resident\\\", \\\"cur_mother_relief\\\", \\\"cur_net_dep_sspn\\\", \\\"cur_others\\\", \\\"cur_purch\\\", \\\"cur_purch_bre_equip\\\", \\\"cur_socso_cont\\\", \\\"cur_support_disabled\\\", \\\"cur_total_a_b\\\", \\\"cur_total_add_rem\\\", \\\"cur_total_deduct\\\", \\\"cur_total_net_add_rem\\\", \\\"cur_total_net_rem\\\", \\\"cur_vola\\\", \\\"cur_zakat\\\", \\\"D\\\", \\\"disabled_child_100\\\", \\\"disabled_child_50\\\", \\\"disabled_child_study_100\\\", \\\"disabled_child_study_50\\\", \\\"disabled_child_study_total\\\", \\\"disabled_child_total\\\", \\\"disabled_individual\\\", \\\"disabled_spouse\\\", \\\"Du\\\", \\\"E\\\", \\\"ELP\\\", \\\"employment_category\\\", \\\"full_name\\\", \\\"K\\\", \\\"K1\\\", \\\"K2\\\", \\\"Kt\\\", \\\"LP1\\\", \\\"M\\\", \\\"month\\\", \\\"mtd\\\", \\\"mtdb\\\", \\\"mtdC\\\", \\\"mtd_formula\\\", \\\"n\\\", \\\"name\\\", \\\"netMTD_IRDA\\\", \\\"netMTD_REP\\\", \\\"netMTD_resident\\\", \\\"non_res_add_rem\\\", \\\"non_res_bik\\\", \\\"non_res_cur_rem\\\", \\\"non_res_mtd\\\", \\\"non_res_vola\\\", \\\"P_CS\\\", \\\"P_IRDA\\\", \\\"P_REP\\\", \\\"P_resident\\\", \\\"prev_acc_epf\\\", \\\"prev_acc_mtd\\\", \\\"prev_acc_rem_bik_vola\\\", \\\"prev_alimony\\\", \\\"prev_com_med_exam\\\", \\\"prev_def_annuity\\\", \\\"prev_edu_fees\\\", \\\"prev_edu_med_ins_prem\\\", \\\"prev_father_relief\\\", \\\"prev_fee_child_care\\\", \\\"prev_ins_oth_ret_civ_ser\\\", \\\"prev_ins_ret_civ_ser\\\", \\\"prev_med_exp\\\", \\\"prev_med_exp_serious\\\", \\\"prev_mother_relief\\\", \\\"prev_net_acc_rem\\\", \\\"prev_net_dep_sspn\\\", \\\"prev_purch\\\", \\\"prev_purch_bre_equip\\\", \\\"prev_socso_cont\\\", \\\"prev_support_disabled\\\", \\\"prev_total_a_b\\\", \\\"prev_total_acc_deduct\\\", \\\"prev_total_acc_zakat\\\", \\\"QC\\\", \\\"R_IRDA\\\", \\\"R_REP\\\", \\\"R_resident\\\", \\\"S\\\", \\\"status_category\\\", \\\"Su\\\", \\\"T\\\", \\\"type_of_residency\\\", \\\"X_IRDA\\\", \\\"X_REP\\\", \\\"X_resident\\\", \\\"Y\\\", \\\"Y1\\\", \\\"Y2\\\", \\\"year\\\", \\\"yearlyTax\\\", \\\"Yt\\\", \\\"Z_IRDA\\\", \\\"Z_REP\\\", \\\"Z_resident\\\"]\", \"font_size\": \"20\"}, \"code\": \"async function on_load(){\\n \\n  var data=get_data();\\n  var name = data.full_name;\\n  \\n\\n  var conds = [[\\\"number\\\",\\\"=\\\",data.number]];\\n  var fields=[\\\"employment_category\\\",\\\"full_name\\\",\\\"month\\\",\\\"year\\\",\\\"mtd_formula\\\",\\\"P_resident\\\",\\\"M\\\",\\\"R_resident\\\",\\\"B\\\",\\\"Z_resident\\\",\\\"X_resident\\\",\\\"curMonthMTD_resident\\\",\\\"netMTD_resident\\\",\\\"P_REP\\\",\\\"R_REP\\\",\\\"T\\\",\\\"Z_REP\\\",\\\"X_REP\\\",\\\"curMonthMTD_REP\\\",\\\"netMTD_REP\\\",\\\"P_IRDA\\\",\\\"R_IRDA\\\",\\\"Z_IRDA\\\",\\\"X_IRDA\\\",\\\"curMonthMTD_IRDA\\\",\\\"netMTD_IRDA\\\"];\\n  var pcb_list=await rpc_execute('hr2.pcb','search_read',[conds,fields]);\\n  var pcb=pcb_list[0];  \\n\\n  \\n\\nif (pcb.mtd_formula==\\\"Normal\\\"){\\n  set_data({  P:pcb.P_resident,\\n              M:pcb.M,\\n              R:pcb.R_resident,\\n              B:pcb.B,\\n              Z:pcb.Z_resident,\\n              X:pcb.X_resident,\\n              mtd:pcb.curMonthMTD_resident,\\n              netMTD:pcb.netMTD_resident\\n          })\\n}\\nelse if (pcb.mtd_formula==\\\"REP\\\") {\\n    set_data({\\n      P:pcb.P_REP,\\n      R:pcb.R_REP,\\n      T:pcb.T,\\n      Z:pcb.Z_REP,\\n      X:pcb.X_REP,\\n    })\\n\\n    if (pcb.employment_category[0]==1){\\n      set_data({mtd:pcb.curMonthMTD_REP,\\n        cur_month_mtd:pcb.curMonthMTD_REP,\\n        netMTD:data.netMTD_REP})\\n    }\\n  \\n    else if (pcb.employment_category[0]==2){\\n      set_data({\\n        netMTD:data.mtd})\\n    }\\n\\n\\n}\\nelse if (pcb.mtd_formula==\\\"IRDA\\\"){\\n  set_data({\\n  P:pcb.P_IRDA,\\n  R:pcb.R_IRDA,\\n  Z:pcb.Z_IRDA,\\n  X:pcb.X_IRDA,\\n  mtd:pcb.curMonthMTD_IRDA,\\n  netMTD:pcb.netMTD_IRDA\\n  })\\n   if (pcb.employment_category[0]==1){\\n      set_data({mtd:pcb.curMonthMTD_IRDA,\\n        cur_month_mtd:pcb.curMonthMTD_IRDA,\\n        netMTD:data.netMTD_IRDA})\\n    }\\n  \\n    else if (pcb.employment_category[0]==2){\\n      set_data({\\n        netMTD:data.mtd})\\n    }\\n\\n\\nvar cs_r=Math.ceil(data.CS*20)/20;\\nvar mtd_r=Math.ceil(data.mtd*20)/20;\\nvar n_1=parseInt(data.n)+1;\\nset_data({\\n    mtd_show:mtd_r,\\n    cs_show:cs_r,\\n    nplusone:n_1\\n\\n});\\n\\n}\\n\\n\\n\\n}\\n\"}, \"print_pcb_no_res\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"617px-LHDN_logo,k4KeMHZGD7U=.png\", \"width\": \"90\", \"height\": \"67\", \"margin_left\": 0, \"align\": \"center\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"KALKULATOR PCB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": 0}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"INLAND REVENUE BOARD MALAYSIA\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 2, 4, 1], \"_col_widths\": \"[1,2,4,1]\", \"min_height\": 70, \"margin_top\": 0, \"margin_bottom\": 30}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"NAME\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 14}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{full_name}\\n\"}]}, \"name\": \"full_name\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"PASSPORT NO.\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{id_no}\\n\"}]}, \"name\": \"id_number\", \"on_click\": \"\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MONTH\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{month}\\n\"}]}, \"font_size\": 15, \"name\": \"\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"YEAR\\t:\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 30}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{year}\\n\"}]}, \"name\": \"\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"_col_widths\": \"[1,2,2]\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"STATUS\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{type_of_residency}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MARITAL STATUS\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{status_category}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DISABLED INDIVIDUAL\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_individual}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DISABLE SPOUSE\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_spouse}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, null]], \"num_cols\": 4, \"num_rows\": 4, \"_col_widths\": \"[5,1,6,1]\", \"col_widths\": [5, 1, 6, 1], \"margin_left\": 60, \"margin_right\": 60, \"font_size\": 20, \"table_striped\": false, \"padding_top\": null, \"padding_left\": null, \"padding_right\": null, \"padding_bottom\": null, \"name\": \"table1\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CURRENT MONTH'S REMUNERATION\"}, {\"insert\": \"\\n\"}]}, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"border_color\": \"#ffffff\", \"border_left_width\": 2}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [3, 1], \"_col_widths\": \"[3,1]\", \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Current month's remuneration\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{non_res_cur_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Benefit-In-Kind (BIK)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{non_res_bik}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Value Of Living Accomodation (VOLA)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{non_res_vola}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"table_hover\": true, \"num_cols\": 2, \"num_rows\": 3, \"_col_widths\": \"[3,1]\", \"col_widths\": [3, 1], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CURRENT MONTH'S ADDITIONAL REMUNERATION\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": null, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"border_color\": \"#ffffff\", \"border_left_width\": 2}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [3, 1], \"_col_widths\": \"[3,1]\", \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"a) Bonus\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_bonus}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"b) Arrears\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_arrears}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"c) Comissions (not paid monthly)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_commission}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"d) Gratuity\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_gratuity}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"e) Compensation\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_compensation}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"f) Director's fee (not paid monthly)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_director_fee}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"g) Income tax paid by employers on behalf of employees\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_inc_tax_on_behalf}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"h) Others\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_others}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"i) Total additional remuneration (a) to (h)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{non_res_add_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"j) Additional remuneration's EPF [not exceeding RM4000 per year] (a) to (h)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_add_rem_epf}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"k) Total net additional remuneration [(i)-(j)]\\n\"}]}}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_net_add_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_rows\": 9, \"num_cols\": 2, \"_col_widths\": \"[3,1]\", \"col_widths\": [3, 1], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MTD CALCULATION\"}, {\"insert\": \"\\n\"}]}, \"margin_right\": 10, \"margin_left\": null}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"border_color\": \"#ffffff\", \"border_left_width\": 2}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [3, 1], \"_col_widths\": \"[3,1]\", \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MTD Current Month :\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\u00a0MTD=[ (Current Month Remuneration + Benefit-In-Kind (BIK) + Value Of Living Accomodation (VOLA) + Total Additional Remuneration) * 30% ]\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\u00a0MTD= [({non_res_cur_rem} + {non_res_bik} + \"}, {\"attributes\": {\"background\": \"#f3f4f6\"}, \"insert\": \"{non_res_vola}\"}, {\"insert\": \" + {non_res_add_rem}) * 30%]\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{non_res_mtd}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"background_color\": \"#ffec5b\"}]], \"table_hover\": true, \"num_cols\": 2, \"num_rows\": 3, \"_col_widths\": \"[3,1]\", \"col_widths\": [3, 1], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CALCULATION RESULT\"}, {\"insert\": \"\\n\"}]}, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"border_left_width\": 2, \"border_color\": \"#ffffff\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [3, 1], \"_col_widths\": \"[3,1]\", \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MTD for month of JANUARY to be deducted (after rounding to the nearest upper 5 cent)\\u00a0\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{mtd_round_none}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"background_color\": \"#ffec5b\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"0.00\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"background_color\": \"#ffec5b\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total net current month's remuneration\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_net_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"table_hover\": true, \"num_cols\": 2, \"num_rows\": 2, \"_col_widths\": \"[3,1]\", \"col_widths\": [3, 1], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}], \"min_height\": 50, \"border_left_width\": 2, \"border_color\": \"#ffffff\"}], \"header_height\": \"50\", \"footer_height\": \"50\", \"fields\": \"[\\\"mtd_round_none\\\",\\\"Q\\\",\\\"C\\\",\\\"id_no\\\",\\\"mtd_round\\\",\\\"prev_acc_rem_bik_vola\\\",\\\"B\\\", \\\"child_18_full_time_100\\\", \\\"child_18_full_time_50\\\", \\\"child_18_full_time_total\\\", \\\"child_18_study_100\\\", \\\"child_18_study_50\\\", \\\"child_18_study_total\\\", \\\"child_under_18_100\\\", \\\"child_under_18_50\\\",\\\"full_name\\\", \\\"name\\\",\\\"child_under_18_total\\\", \\\"CS\\\", \\\"cur_add_rem_epf\\\", \\\"cur_alimony\\\", \\\"cur_arrears\\\", \\\"cur_bik\\\", \\\"cur_bonus\\\", \\\"cur_com_med_exam\\\", \\\"cur_commission\\\", \\\"cur_compensation\\\", \\\"cur_def_annuity\\\", \\\"cur_director_fee\\\", \\\"cur_edu_fees\\\", \\\"cur_edu_med_ins_prem\\\", \\\"cur_father_relief\\\", \\\"cur_fee_child_care\\\", \\\"cur_gratuity\\\", \\\"cur_inc_tax_on_behalf\\\", \\\"cur_ins_oth_ret_civ_ser\\\", \\\"cur_ins_ret_civ_ser\\\", \\\"cur_med_exp\\\", \\\"cur_med_exp_serious\\\", \\\"cur_mon_epf\\\", \\\"cur_mon_rem\\\", \\\"curMonthMTD_IRDA\\\", \\\"curMonthMTD_REP\\\", \\\"curMonthMTD_resident\\\", \\\"cur_mother_relief\\\", \\\"cur_net_dep_sspn\\\", \\\"cur_others\\\", \\\"cur_purch\\\", \\\"cur_purch_bre_equip\\\", \\\"cur_socso_cont\\\", \\\"cur_support_disabled\\\", \\\"cur_total_a_b\\\", \\\"cur_total_add_rem\\\", \\\"cur_total_deduct\\\", \\\"cur_total_net_add_rem\\\", \\\"cur_total_net_rem\\\", \\\"cur_vola\\\", \\\"cur_zakat\\\", \\\"D\\\", \\\"disabled_child_100\\\", \\\"disabled_child_50\\\", \\\"disabled_child_study_100\\\", \\\"disabled_child_study_50\\\", \\\"disabled_child_study_total\\\", \\\"disabled_child_total\\\", \\\"disabled_individual\\\", \\\"disabled_spouse\\\", \\\"Du\\\", \\\"E\\\", \\\"ELP\\\", \\\"employment_category\\\", \\\"full_name\\\", \\\"K\\\", \\\"K1\\\", \\\"K2\\\", \\\"Kt\\\", \\\"LP1\\\", \\\"M\\\", \\\"month\\\", \\\"mtd\\\", \\\"mtdb\\\", \\\"mtdC\\\", \\\"mtd_formula\\\", \\\"n\\\", \\\"name\\\", \\\"netMTD_IRDA\\\", \\\"netMTD_REP\\\", \\\"netMTD_resident\\\", \\\"non_res_add_rem\\\", \\\"non_res_bik\\\", \\\"non_res_cur_rem\\\", \\\"non_res_mtd\\\", \\\"non_res_vola\\\", \\\"P_CS\\\", \\\"P_IRDA\\\", \\\"P_REP\\\", \\\"P_resident\\\", \\\"prev_acc_epf\\\", \\\"prev_acc_mtd\\\", \\\"prev_acc_rem_bik_vola\\\", \\\"prev_alimony\\\", \\\"prev_com_med_exam\\\", \\\"prev_def_annuity\\\", \\\"prev_edu_fees\\\", \\\"prev_edu_med_ins_prem\\\", \\\"prev_father_relief\\\", \\\"prev_fee_child_care\\\", \\\"prev_ins_oth_ret_civ_ser\\\", \\\"prev_ins_ret_civ_ser\\\", \\\"prev_med_exp\\\", \\\"prev_med_exp_serious\\\", \\\"prev_mother_relief\\\", \\\"prev_net_acc_rem\\\", \\\"prev_net_dep_sspn\\\", \\\"prev_purch\\\", \\\"prev_purch_bre_equip\\\", \\\"prev_socso_cont\\\", \\\"prev_support_disabled\\\", \\\"prev_total_a_b\\\", \\\"prev_total_acc_deduct\\\", \\\"prev_total_acc_zakat\\\", \\\"QC\\\", \\\"R_IRDA\\\", \\\"R_REP\\\", \\\"R_resident\\\", \\\"S\\\", \\\"status_category\\\", \\\"Su\\\", \\\"T\\\", \\\"type_of_residency\\\", \\\"X_IRDA\\\", \\\"X_REP\\\", \\\"X_resident\\\", \\\"Y\\\", \\\"Y1\\\", \\\"Y2\\\", \\\"year\\\", \\\"yearlyTax\\\", \\\"Yt\\\", \\\"Z_IRDA\\\", \\\"Z_REP\\\", \\\"Z_resident\\\"]\"}, \"code\": null}, \"cust_credit_note\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\", \"size\": \"large\", \"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd. \"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"Unit A211, Lobby 3, Damansara Intan\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \" 1, Jalan SS20/27\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"47400 Petaling Jaya, Selangor \"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"\\ufeff\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"Tel: +6 03-7622 9772 / 012-287 2735 \"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\", \"bold\": true}, \"insert\": \" \"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"Email: accounts@smartb.co \"}, {\"insert\": \"\\n\\n\\n\"}]}, \"margin_left\": 50}]}, {\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-08 (1) (1),-inFlO65cx4=.png\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"CREDIT NOTE\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_right\": null, \"font_size\": 17}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"smartB-logo-2-300x148,1vogq92Srxg=.png\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"align\": \"left\", \"hidden\": false}], \"min_height\": 50, \"header\": true, \"margin_bottom\": null, \"margin_top\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"CUSTOMER :\\n{contact_id.name}\\n{contact_id.default_address_id.address} {contact_id.default_address_id.address2} {contact_id.default_address_id.postal_code} {contact_id.default_address_id.city} {contact_id.default_address_id.province_id.name}\\n\"}]}, \"padding_top\": null, \"padding_left\": null, \"padding_bottom\": 10, \"border_top_width\": null, \"border_left_width\": null, \"border_right_width\": null, \"border_bottom_width\": null, \"font_size\": 18, \"margin_right\": null}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 20}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"CN NO\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"\\t\\t              \\t\\t\\tCN DATE\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"\\t\\t   \\t\\t\\t  \\tCUST CODE \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"    ORIGINAL INV NO\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"\\t\\t\\t\\t\\t                \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_right\": null, \"margin_right\": null}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\\n\"}]}, \"font_size\": 18, \"margin_left\": null, \"padding_left\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \" {date}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.code}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \" {ref}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{pay_term_id.name}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_left\": 5}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 2], \"_col_widths\": \"[1.5,0.2,2]\"}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 40, \"margin_right\": 40, \"margin_top\": null, \"_col_widths\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"ITEM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"DESCRIPTION\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"QUANTITY\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"UNIT PRICE\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"DIS\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"AMOUNT\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_discount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}]], \"num_cols\": 6, \"num_rows\": 2, \"_col_widths\": \"[0.5,3,0.5,1,1,1]\", \"col_widths\": [0.5, 3, 0.5, 1, 1, 1], \"table_bordered\": true, \"table_striped\": true, \"field_rows\": \"lines\", \"margin_left\": 40, \"margin_top\": 20, \"margin_right\": 40}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"font\": \"serif\", \"bold\": true}, \"insert\": \"REMARK:\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"font\": \"serif\"}, \"insert\": \"{memo}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_left\": 20}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 30, \"margin_right\": 30}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Malaysian Ringgit {amount_total_words} ONLY\\n\"}]}, \"font_size\": 18}], \"min_height\": 20, \"margin_left\": 10, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\"}], \"min_height\": 20}]}], \"num_cols\": 2, \"col_widths\": [3, 1], \"margin_left\": 40, \"margin_right\": 40, \"_col_widths\": \"[3,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL ({currency_id.code}):\"}, {\"attributes\": {\"bold\": true}, \"insert\": \" {fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 40, \"margin_right\": 40, \"border_top_width\": 1, \"border_bottom_width\": 1, \"padding_left\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [], \"min_height\": 50, \"margin_left\": 350, \"margin_right\": null, \"border_bottom_width\": 1, \"margin_bottom\": 20, \"width\": \"450\"}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 40, \"margin_right\": 40}], \"min_height\": 50}], \"min_height\": 50, \"footer\": true, \"margin_bottom\": 20}], \"min_height\": 50}], \"min_height\": 50}], \"min_height\": 50}], \"fields\": \"[\\\"contact_id.name\\\",\\\"contact_id.default_address_id.province_id.name\\\",\\\"contact_id.default_address_id.address\\\",\\\"contact_id.default_address_id.address2\\\",\\\"contact_id.default_address_id.postal_code\\\",\\\"contact_id.default_address_id.city\\\",\\\"number\\\",\\\"date\\\",\\\"contact_id.code\\\",\\\"pay_term_id.name\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.discount\\\",\\\"lines.amount\\\",\\\"currency_id.code\\\",\\\"amount_total\\\",\\\"amount_total_words\\\",\\\"memo\\\",\\\"sale_id.number\\\",\\\"pay_term_id.name\\\",\\\"contact_id.code\\\",\\\"lines.amount_discount\\\",\\\"ref\\\"]\", \"width\": \"\", \"height\": \"\", \"header_height\": \"270\", \"footer_height\": \"270\", \"filename\": \"CREDIT NOTE-{number}\"}, \"code\": \"async function on_load()\\n{\\n  var data = get_data();\\n  var change = Math.round((data.remarks-data.total)*100)/100;\\n  set_data({change:change});\\n}\"}, \"cust_debit_note\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\", \"size\": \"large\", \"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd. \"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"Unit A211, Lobby 3, Damansara Intan\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \" 1, Jalan SS20/27\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"47400 Petaling Jaya, Selangor \"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"\\ufeff\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"Tel: +6 03-7622 9772 / 012-287 2735 \"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\", \"bold\": true}, \"insert\": \" \"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"Email: accounts@smartb.co \"}, {\"insert\": \"\\n\\n\\n\"}]}, \"margin_left\": 50}]}, {\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-08 (1) (1),-inFlO65cx4=.png\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"DEBIT NOTE\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_right\": null, \"font_size\": 17}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"smartB-logo-2-300x148,1vogq92Srxg=.png\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"align\": \"left\", \"hidden\": false}], \"min_height\": 50, \"header\": true, \"margin_bottom\": null, \"margin_top\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"CUSTOMER :\\n{contact_id.name}\\n{contact_id.default_address_id.address} {contact_id.default_address_id.address2} {contact_id.default_address_id.postal_code} {contact_id.default_address_id.city} {contact_id.default_address_id.province_id.name}\\n\"}]}, \"padding_top\": null, \"padding_left\": null, \"padding_bottom\": 10, \"border_top_width\": null, \"border_left_width\": null, \"border_right_width\": null, \"border_bottom_width\": null, \"font_size\": 18, \"margin_right\": null}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 20}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"DN NO\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"\\t\\t              \\t\\t\\tDN DATE\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"\\t\\t   \\t\\t\\t  \\tCUST CODE \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"    ORIGINAL INV NO\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"\\t\\t\\t\\t\\t                \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_right\": null, \"margin_right\": null}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\\n\"}]}, \"font_size\": 18, \"margin_left\": null, \"padding_left\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \" {date}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.code}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \" {ref}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{pay_term_id.name}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_left\": 5}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 2], \"_col_widths\": \"[1.5,0.2,2]\"}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 40, \"margin_right\": 40, \"margin_top\": null, \"_col_widths\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"ITEM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"DESCRIPTION\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"QUANTITY\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"UNIT PRICE\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"DIS\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"AMOUNT\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_discount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}]], \"num_cols\": 6, \"num_rows\": 2, \"_col_widths\": \"[0.5,3,0.5,1,1,1]\", \"col_widths\": [0.5, 3, 0.5, 1, 1, 1], \"table_bordered\": true, \"table_striped\": true, \"field_rows\": \"lines\", \"margin_left\": 40, \"margin_top\": 20, \"margin_right\": 40}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"REMARK:\"}, {\"insert\": \"\\n{memo}\\n\"}]}, \"font_size\": 18, \"padding_left\": 20}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 30, \"margin_right\": 30}], \"min_height\": 50, \"margin_bottom\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Malaysian Ringgit {amount_total_words} ONLY\\n\"}]}, \"font_size\": 18}], \"min_height\": 20, \"margin_left\": 10, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\"}], \"min_height\": 20}]}], \"num_cols\": 2, \"col_widths\": [3, 1], \"margin_left\": 40, \"margin_right\": 40, \"_col_widths\": \"[3,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL ({currency_id.code}):\"}, {\"attributes\": {\"bold\": true}, \"insert\": \" {fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 40, \"margin_right\": 40, \"border_top_width\": 1, \"border_bottom_width\": 1, \"padding_left\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Note:\"}, {\"insert\": \"\\n-Please make payment within 14 days or SmartB Solutions has the right to incur a penalty fee of 2.5% (of invoice amount) per calendar month from the due date.\\n-Please use the INVOICE NUMBER as bank reference when making payment. If paying by cheque, please make it payable to\\u00a0SMARTB SOLUTIONS SDN. BHD. Your cooperation is much appreciated.\\n\"}]}, \"font_size\": 18}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 40, \"margin_right\": 40}], \"min_height\": 50}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Company Name: SmartB Solutions Sdn. Bhd.\\nCompany  Reg: 1240771-A\\nContact: +6 03-7622 9772 / 012-287 2735\\n\"}]}, \"padding_left\": 5, \"padding_top\": 5, \"padding_bottom\": 5, \"font_size\": 18}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_width\": 1}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name: Malayan Banking Berhad (Maybank)\\nBank Account No: 514196689465\\nSwift Code: MBBEMYKL\\n\"}]}, \"padding_left\": 5, \"padding_top\": 5, \"padding_bottom\": 5, \"font_size\": 18}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_top_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 40, \"margin_right\": 40, \"margin_top\": 20}], \"min_height\": 50, \"footer\": false, \"margin_bottom\": 20}], \"min_height\": 50}], \"min_height\": 50}], \"min_height\": 50}], \"fields\": \"[\\\"contact_id.name\\\",\\\"contact_id.default_address_id.province_id.name\\\",\\\"contact_id.default_address_id.address\\\",\\\"contact_id.default_address_id.address2\\\",\\\"contact_id.default_address_id.postal_code\\\",\\\"contact_id.default_address_id.city\\\",\\\"number\\\",\\\"date\\\",\\\"contact_id.code\\\",\\\"pay_term_id.name\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.discount\\\",\\\"lines.amount\\\",\\\"currency_id.code\\\",\\\"amount_total\\\",\\\"amount_total_words\\\",\\\"memo\\\",\\\"sale_id.number\\\",\\\"pay_term_id.name\\\",\\\"contact_id.code\\\",\\\"lines.amount_discount\\\",\\\"ref\\\"]\", \"width\": \"\", \"height\": \"\", \"header_height\": \"270\", \"footer_height\": \"50\", \"filename\": \"CREDIT NOTE-{number}\"}, \"code\": \"async function on_load()\\n{\\n  var data = get_data();\\n  var change = Math.round((data.remarks-data.total)*100)/100;\\n  set_data({change:change});\\n}\"}, \"do_template\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-08 (1) (1),CjeZYyhFEik=,hTNOm1TugAc=.png\", \"width\": \"350\", \"margin_top\": null, \"height\": \"110\"}]}, {\"children\": []}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Delivery Order No\\nDate\\nTerms\\nPurchase Order No\\nAgent\\n\"}]}, \"margin_top\": 5, \"margin_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n:\\n:\\n\"}]}, \"margin_top\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\n{invoice_id.pay_term_id.name}\\n{related_id.number}\\n{invoice_id.user_id.name}\\n\"}]}, \"margin_top\": 5}]}], \"num_cols\": 3, \"col_widths\": [1, 0.1, 1], \"_col_widths\": \"[1,0.1,1]\", \"border_width\": 1, \"margin_top\": null, \"margin_bottom\": 10}]}], \"num_cols\": 3, \"col_widths\": [0.5, 0.7, 1], \"_col_widths\": \"[0.5,0.7,1]\", \"padding_top\": null, \"margin_top\": 25, \"margin_right\": 10, \"margin_bottom\": 7}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"padding_top\": 0, \"padding_bottom\": 0, \"margin_top\": 7, \"margin_bottom\": 0, \"border_top_width\": 1}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"padding_top\": 0, \"padding_bottom\": 0, \"margin_top\": 0, \"margin_bottom\": 0, \"border_top_width\": 3}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Delivery Order\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"margin_top\": 0, \"margin_bottom\": 0, \"padding_top\": 0, \"padding_bottom\": 0}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"padding_top\": 0, \"padding_bottom\": 0, \"margin_top\": 7, \"margin_bottom\": 0, \"border_top_width\": 1}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"padding_top\": 0, \"padding_bottom\": 0, \"margin_top\": 0, \"margin_bottom\": 0, \"border_top_width\": 3}]}], \"num_cols\": 3, \"col_widths\": [2, 1, 2], \"_col_widths\": \"[2,1,2]\", \"padding_top\": 0, \"padding_bottom\": 0, \"margin_top\": 0, \"margin_bottom\": 0}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10, \"footer\": false, \"margin_top\": 0, \"margin_bottom\": 0, \"padding_top\": 0, \"padding_bottom\": 0}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Billing Address :\"}, {\"insert\": \"\\n{contact_id.name}\\n{contact_id.default_address_id.address} {contact_id.default_address_id.address2} {contact_id.default_address_id.postal_code} {contact_id.default_address_id.city} {contact_id.default_address_id.province_id.name}\\n\"}]}, \"margin_top\": 5, \"margin_left\": 5}], \"min_height\": 85}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Attn: {contact_person_id.name}\\nTEL : {contact_id.contact_person_id.mobile}\\n\"}]}, \"margin_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\nFAX : {contact_id.contact_person_id.fax}\\n\"}]}}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_radius\": null, \"margin_right\": 3, \"border_width\": 1}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Delivery Address :\"}, {\"insert\": \"\\n\\n{ship_address_id.address} {ship_address_id.address2} {ship_address_id.postal_code} {ship_address_id.city} {ship_address_id.province_id.name}\\n\"}]}, \"margin_top\": 5, \"margin_left\": 5}], \"min_height\": 85}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Attn: {contact_person_id.name}\\nTEL : {contact_id.contact_person_id.mobile}\\n\"}]}, \"margin_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\nFAX : {contact_id.contact_person_id.fax}\\n\"}]}}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 3, \"border_radius\": null, \"border_width\": 1}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": null, \"margin_left\": null, \"margin_right\": null, \"border_width\": null}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 0, \"page_break_inside_avoid\": true, \"margin_top\": 0, \"padding_bottom\": 0, \"padding_top\": 0}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"No\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"Code\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"Location\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_right\": null}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"Quantity\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 5, \"col_widths\": [0.3, 0.5, 1, 1, 0.5], \"_col_widths\": \"[0.3,0.5,1,1,0.5]\", \"margin_left\": null, \"margin_right\": 25, \"margin_top\": 5, \"margin_bottom\": 0, \"padding_top\": 0, \"padding_bottom\": 0}], \"min_height\": 50, \"header\": true, \"padding_right\": 30, \"margin_top\": 0, \"margin_bottom\": 0, \"margin_left\": 20, \"margin_right\": 20, \"padding_bottom\": 0, \"page_break_inside_avoid\": true}], \"min_height\": 0, \"margin_left\": 20, \"margin_right\": 20, \"padding_bottom\": 0, \"margin_bottom\": 0}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[null, null, null, null, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product_id.code}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product_id.name}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{location_from_id.name}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_number(qty,\\\"0,0.00\\\")}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 5, \"_col_widths\": \"[0.3,0.5,1,1,0.5]\", \"col_widths\": [0.3, 0.5, 1, 1, 0.5], \"num_rows\": 2, \"margin_left\": 40, \"margin_right\": 40, \"field_rows\": \"lines\", \"table_bordered\": true, \"vertical_align\": \"top\", \"padding_top\": 1, \"padding_bottom\": 1, \"table_striped\": false, \"border_top_width\": 1, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_top\": 0, \"margin_bottom\": 0, \"table_hover\": true}], \"min_height\": 50, \"avoid_keyboard\": false, \"horiz_scroll\": true, \"margin_top\": 0, \"padding_top\": 0, \"margin_bottom\": 0, \"padding_bottom\": 0}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Complaints if any should be lodged within (7) days after delivery\\nof goods. We will not be held responsible for any defects if brought to\\nour notice there after.\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_number(total_qty,\\\"0,0.00\\\")}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 16, \"margin_left\": null, \"margin_right\": 70}]}], \"num_cols\": 3, \"col_widths\": [1, 0.5, 0.3], \"_col_widths\": \"[1,0.5,0.3]\", \"margin_top\": 5}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"* GOODS SOLD ARE NOT RETURNABLE * \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"E. & O.E\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 10, \"font_size\": 16, \"margin_right\": 20}]}], \"num_cols\": 3, \"col_widths\": [1, 2, 1], \"_col_widths\": \"[1,2,1]\", \"margin_top\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Received Above Goods In Good Order And Condition\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16, \"margin_top\": 10, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Goods Received By\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Name, Signature, Date & Company Stamp\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_top\": 100, \"margin_bottom\": 5, \"border_top_width\": 1, \"margin_left\": 20, \"margin_right\": 20}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_width\": 1, \"margin_right\": 20}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"For \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"TOP FRUITS SDN BHD\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_top\": 125, \"margin_left\": 20, \"margin_right\": 20, \"border_top_width\": 1, \"margin_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 20, \"border_width\": 1}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": 30}], \"min_height\": 50, \"margin_left\": 30, \"margin_right\": 30, \"margin_top\": 5}], \"min_height\": 50, \"margin_left\": 30, \"margin_right\": 30, \"border_top_width\": 1, \"footer\": true}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": []}, {\"children\": []}], \"col_widths\": [1, 1]}], \"header_height\": \"370\", \"footer_height\": \"350\", \"show_page_no\": true, \"fields\": \"[\\\"contact_person_id.name\\\",\\\"ship_address_id.address\\\",\\\"ship_address_id.address2\\\",\\\"ship_address_id.postal_code\\\",\\\"ship_address_id.city\\\",\\\"ship_address_id.province_id.name\\\",\\\"related_id.number\\\",\\\"invoice_id.pay_term_id.name\\\",\\\"invoice_id.user_id.name\\\",\\\"number\\\",\\\"date\\\",\\\"contact_id.default_address_id.address\\\",\\\"contact_id.default_address_id.address2\\\",\\\"contact_id.default_address_id.postal_code\\\",\\\"contact_id.default_address_id.city\\\",\\\"contact_id.default_address_id.province_id.name\\\",\\\"contact_id.contact_person_id.fax\\\",\\\"contact_id.name\\\",\\\"contact_id.contact_person_id.mobile\\\",\\\"total_qty\\\",\\\"lines.product_id.name\\\",\\\"lines.product_id.code\\\",\\\"lines.location_from_id.name\\\",\\\"lines.qty\\\",\\\"lines.index\\\"]\", \"filename\": \"DELIVERY ORDER-{number}\"}, \"code\": \"function on_load(){\\n  var data = get_data();\\n  if(data.date){\\n    var date = data.date;\\n    var new_date = moment(date).format('DD MMMM YYYY');\\n    data.date = new_date;\\n  }\\n  set_data();\\n}\"}, \"dhl_airway_bill\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"width\": \"150\", \"height\": \"70\", \"image_file\": null, \"margin_top\": 10, \"padding_top\": null, \"padding_bottom\": null, \"url\": \"https://backend-prod2.netforce.com/static/db/nfo_urbanw/files/dhl%2Czrajw0Uhwck%3D.png\"}, {\"type\": \"image\", \"min_height\": 50, \"image_file\": null, \"margin_top\": 5, \"width\": \"150\", \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5, \"margin_left\": 10, \"height\": \"\", \"url\": \"https://backend-prod2.netforce.com/static/db/nfo_urbanw/files/shopee-removebg-preview%2C1FWZVBKlSr4%3D%2C2BYOpM4KjFU%3D%2COCt-EIf7G3A%3D.png\"}]}, {\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"height\": \"100\", \"margin_top\": 30, \"align\": \"center\", \"width\": \"1000\", \"barcode_value\": \"{ship_tracking}\", \"barcode_type\": \"code128\", \"name\": \"\", \"bar_width\": \"6\", \"margin_left\": null}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"{ship_tracking}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 5, \"font_size\": 20, \"margin_left\": null}]}], \"num_cols\": 3, \"col_widths\": [1, 0.01, 5], \"_col_widths\": \"[1,0.01,5]\", \"margin_bottom\": 0, \"margin_left\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Order Details \"}, {\"insert\": \"\\n\"}]}, \"padding_bottom\": null, \"padding_top\": 7, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"margin_right\": 5, \"margin_top\": 5, \"margin_left\": 5, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Ship By Date:\\t{exp_ship_date}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Weight (kg):\\t\\t{weight}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Order ID:\\t\\t\\t\"}, {\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n\"}]}, \"padding_bottom\": 100, \"margin_bottom\": null, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_right\": 5, \"margin_left\": 5, \"margin_bottom\": 5}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Order Details (Courier)\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 7, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"margin_right\": 5, \"margin_top\": 5, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"PDO\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_bottom\": 57, \"padding_top\": 50, \"margin_top\": null, \"margin_bottom\": null, \"font_size\": 30, \"width\": \"370\"}], \"min_height\": 50, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_right\": 5, \"margin_bottom\": 5, \"width\": \"\"}]}], \"num_cols\": 2, \"col_widths\": [2.2, 1], \"_col_widths\": \"[2.2,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Sender Details (Pengirim)\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 7, \"padding_bottom\": null, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Name:\\t\\t{contact_id.name}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Phone:\\t    {contact_id.phone}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Address:\\t{ship_address_id.address} {ship_address_id.address2}{ship_address_id.postal_code} {ship_address_id.city} {ship_address_id.province_id.name}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Postcode:\\t{ship_address_id.postal_code}\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_left\": null, \"margin_right\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Recipient Details (Penerima)\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 7, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Name:\\t\\t{recipient_first_name} {recipient_last_name}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Phone:\\t\\t{recipient_phone}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Address:\\t{recipient_address} {recipient_address2} {recipient_city} {recipient_postcode} {recipient_province} {recipient_country}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Postcode:\\t{recipient_postcode} \"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}], \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"POD\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 7, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Name:\\t\\t\\t\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"I.C.:\\t\\t\\t\\t\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Signature:\\t\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[null, null, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{index}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{product_id.code}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{qty}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}]], \"num_cols\": 3, \"_col_widths\": \"[0.5,4.5,1]\", \"col_widths\": [0.5, 4.5, 1], \"field_rows\": \"lines\", \"table_bordered\": true, \"margin_top\": 0, \"margin_bottom\": 0, \"padding_top\": 0, \"padding_bottom\": 0}], \"min_height\": 150, \"border_width\": null, \"padding_top\": 5, \"padding_left\": 5, \"padding_bottom\": 5, \"padding_right\": 5, \"page_break_after\": false, \"border_top_width\": 1}], \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5, \"margin_bottom\": 20, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\"}], \"min_height\": 50, \"margin_right\": 5, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{routing_info_1}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"font_size\": 18}], \"min_height\": 50, \"margin_right\": 5, \"border_left_width\": 1, \"border_bottom_width\": null, \"border_right_width\": 1, \"border_top_width\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{routing_info_2}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"font_size\": 18}], \"min_height\": 50, \"margin_right\": 5, \"border_top_width\": null, \"border_left_width\": 1, \"border_right_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{recipient_province}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"font_size\": 18}], \"min_height\": 50, \"margin_right\": 5, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"{recipient_postcode}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"margin_top\": 20, \"margin_bottom\": 30, \"font_size\": 25}, {\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"align\": \"center\", \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"width\": \"200\", \"height\": \"200\", \"margin_top\": 170, \"barcode_value\": \"{ship_tracking}\", \"barcode_type\": \"qr\"}], \"min_height\": 50, \"margin_top\": 50}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{ship_tracking}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"margin_bottom\": 53, \"margin_top\": 10, \"font_size\": 23}], \"min_height\": 635, \"margin_right\": 5, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"margin_bottom\": 20, \"height\": \"\", \"width\": \"370\"}]}], \"num_cols\": 2, \"col_widths\": [3, 1], \"margin_left\": null, \"margin_right\": null, \"_col_widths\": \"[3,1]\"}], \"min_height\": 50, \"border_top_width\": 2, \"border_right_width\": 2, \"border_left_width\": 2, \"border_bottom_width\": 2, \"margin_left\": 20, \"margin_right\": 20}], \"fields\": \"[\\\"recipient_phone\\\",\\\"exp_ship_date\\\",\\\"number\\\", \\\"contact_id.name\\\", \\\"contact_id.phone\\\", \\\"ship_tracking\\\", \\\"ship_address_id.address\\\",  \\\"ship_address_id.address2\\\", \\\"ship_address_id.postal_code\\\", \\\"ship_address_id.city\\\", \\\"ship_address_id.province_id.name\\\", \\\"recipient_first_name\\\",\\\"recipient_last_name\\\",\\\"recipient_address\\\",\\\"recipient_address2\\\",\\\"recipient_city\\\",\\\"recipient_postcode\\\",\\\"recipient_province\\\",\\\"recipient_country\\\",\\\"recipient_phone\\\",\\\"lines.index\\\",\\\"lines.product_id.code\\\",\\\"lines.qty\\\"]\"}, \"code\": null}, \"doc_std_func\": {\"layout\": {\"layout\": \"{\\\"elements\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"Example of Reading Data from Model\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"columns\\\",\\\"num_cols\\\":2,\\\"columns\\\":[{\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"CODE\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}}]},{\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"OUTPUT\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}}]}],\\\"col_widths\\\":[1,1]},{\\\"type\\\":\\\"box\\\",\\\"children\\\":[{\\\"type\\\":\\\"table\\\",\\\"elements\\\":[[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"{code1}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#66b966\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"// read data based on fields\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"{output1}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]}}],[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"{code2}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#66b966\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"// read data based on conditions and fields\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"{output2}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]}}],[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"{code3}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#66b966\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"// search id based on conditions\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"{output3}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]}}],[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"{code4}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#66b966\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"// read single or multiple model item based on id and field\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"{output4}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]}}],[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"{code6}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#66b966\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"// read a single model item based on id\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"{output6}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]}}],[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"{code7}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#66b966\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"// able to read both normal fields and tables field in one lines of code\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"{output7}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]}}]],\\\"num_rows\\\":6,\\\"_col_widths\\\":\\\"[1,1]\\\",\\\"col_widths\\\":[1,1],\\\"num_cols\\\":2},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"When reading the table data of the model\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"background_color\\\":\\\"#ffffff\\\"},{\\\"type\\\":\\\"columns\\\",\\\"num_cols\\\":2,\\\"columns\\\":[{\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"{code5}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"border_color\\\":\\\"#ffffff\\\",\\\"border_right_width\\\":null}]},{\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"{output5}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"border_color\\\":\\\"#ffffff\\\",\\\"border_left_width\\\":2}]}],\\\"col_widths\\\":[1,1]}],\\\"min_height\\\":50,\\\"margin_left\\\":20,\\\"margin_right\\\":20,\\\"background_color\\\":\\\"#4b4b4b\\\"},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"Playground : Read Data from Model\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"margin_top\\\":50},{\\\"type\\\":\\\"box\\\",\\\"children\\\":[{\\\"type\\\":\\\"columns\\\",\\\"columns\\\":[{\\\"children\\\":[{\\\"type\\\":\\\"field\\\",\\\"field_type\\\":\\\"select\\\",\\\"_selection\\\":\\\"[[\\\\\\\"hr2.employee\\\\\\\",\\\\\\\"hr2.employee\\\\\\\"],[\\\\\\\"pm.task.lines\\\\\\\",\\\\\\\"pm.task.lines\\\\\\\"]]\\\",\\\"selection\\\":[[\\\"hr2.employee\\\",\\\"hr2.employee\\\"],[\\\"pm.task.lines\\\",\\\"pm.task.lines\\\"]]}]},{\\\"children\\\":[{\\\"type\\\":\\\"field\\\",\\\"field_type\\\":\\\"select\\\",\\\"_selection\\\":\\\"[[\\\\\\\"read\\\\\\\",\\\\\\\"read\\\\\\\"],[\\\\\\\"search_read\\\\\\\",\\\\\\\"search_read\\\\\\\"],[\\\\\\\"search\\\\\\\",\\\\\\\"search\\\\\\\"],[\\\\\\\"write\\\\\\\",\\\\\\\"write\\\\\\\"],[\\\\\\\"create\\\\\\\",\\\\\\\"create\\\\\\\"]]\\\",\\\"selection\\\":[[\\\"read\\\",\\\"read\\\"],[\\\"search_read\\\",\\\"search_read\\\"],[\\\"search\\\",\\\"search\\\"],[\\\"write\\\",\\\"write\\\"],[\\\"create\\\",\\\"create\\\"]]}]},{\\\"children\\\":[]},{\\\"children\\\":[]}],\\\"num_cols\\\":4,\\\"col_widths\\\":[1,1,1,1],\\\"margin_left\\\":20,\\\"margin_right\\\":20,\\\"margin_bottom\\\":10}],\\\"min_height\\\":50,\\\"padding_top\\\":null,\\\"padding_bottom\\\":10},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"Example of calling a function in custom model\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\",\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"await rpc_execute(\\\\\\\"\\\"},{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\",\\\"color\\\":\\\"#66b966\\\"},\\\"insert\\\":\\\"model_name\\\"},{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\",\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\\\\\\", \\\\\\\"\\\"},{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\",\\\"color\\\":\\\"#66b966\\\"},\\\"insert\\\":\\\"function_name\\\"},{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\",\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\\\\\\", [[\\\"},{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\",\\\"color\\\":\\\"#66b966\\\"},\\\"insert\\\":\\\"database_id\\\"},{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\",\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"],[\\\"},{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\",\\\"color\\\":\\\"#66b966\\\"},\\\"insert\\\":\\\"fields\\\"},{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\",\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"]]);\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"background_color\\\":\\\"#4b4b4b\\\"},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"Example of creating and changing the model item\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"margin_top\\\":50},{\\\"type\\\":\\\"columns\\\",\\\"columns\\\":[{\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"color\\\":\\\"#66b966\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"Modified from\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\",\\\"underline\\\":true},\\\"insert\\\":\\\"https://main.smartb.co/action?name=model&mode=form&active_id=622\\\"},{\\\"insert\\\":\\\"\\\\n\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#66b966\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"Remind:  rpc_execute is for page builder, exec commands for model code\\\"},{\\\"insert\\\":\\\"\\\\n\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"function\\u00a0create_employee_leaves(ids){\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0var\\u00a0submission={\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0number:s_id,\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0employee:ids[0],\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0resign_date:emp.resign_date,\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0hire_date:emp.hire_date,\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0type_of_position:emp.type_of_position,\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0day_obtained:null,\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0status:emp.work_status,\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0employee:ids,\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0leaves_period:period_id,\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0leave_type:l_type,\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0base_leaves:b_leaves,\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0leaves_adjust:0,\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0leaves_carry_forward:0,\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0var\\u00a0adjustment={\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0employee:ids[0],\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0}\\\"},{\\\"insert\\\":\\\"\\\\n\\\\n\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0var\\u00a0task_id=exec(\\\\\\\"hr2.employee.leaves\\\\\\\",\\\\\\\"create\\\\\\\",[submission]);\\u00a0\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#66b966\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"//task_id\\u00a0is\\u00a0id\\u00a0of\\u00a0new\\u00a0item\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0var\\u00a0write\\u00a0=exec(\\\\\\\"hr2.employee.leaves\\\\\\\",\\u00a0\\\\\\\"write\\\\\\\",\\u00a0[[task_id],\\u00a0adjustment]);\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0exec(\\\\\\\"sequence\\\\\\\",\\u00a0\\\\\\\"increment_number\\\\\\\",\\u00a0[seq_id]);//\\u00a0update\\u00a0the\\u00a0sequence\\u00a0number\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"margin_left\\\":20,\\\"margin_right\\\":20,\\\"background_color\\\":\\\"#4b4b4b\\\"}]},{\\\"children\\\":[]}],\\\"num_cols\\\":1,\\\"col_widths\\\":[1]},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"Example of adding table data to Model Item\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"margin_top\\\":50},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"color\\\":\\\"#66b966\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"Modified from \\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\",\\\"underline\\\":true},\\\"insert\\\":\\\"https://inhesion.smartb.co/action?name=model&mode=form&active_id=813\\\"},{\\\"insert\\\":\\\"\\\\n\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"function\\u00a0import_template(ids){\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0var\\u00a0tracker\\u00a0=\\u00a0exec(\\\\\\\"batch.tracker\\\\\\\",\\u00a0\\\\\\\"read\\\\\\\",\\u00a0[ids,[\\\\\\\"product\\\\\\\",\\\\\\\"moq\\\\\\\",\\\\\\\"main_process\\\\\\\"]])[0];\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0//read\\u00a0the\\u00a0product\\u00a0selected\\u00a0by\\u00a0user\\u00a0from\\u00a0the\\u00a0\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0var\\u00a0template\\u00a0=\\u00a0exec(\\\\\\\"batch.template\\\\\\\",\\u00a0\\\\\\\"search_read\\\\\\\",\\u00a0[[[\\\\\\\"product\\\\\\\",\\\\\\\"=\\\\\\\",tracker.product[0]]],\\u00a0[\\\\\\\"batch_number\\\\\\\",\\\\\\\"bisque_in_stock_qty\\\\\\\"]]);\\u00a0\\u00a0\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0changes={\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0moq:template.moq,\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0main_process:template.main_process[0],\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0lines:[],\\u00a0\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#66b966\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"//\\u00a0the\\u00a0table\\u00a0table\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0};\\\"},{\\\"insert\\\":\\\"\\\\n\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0var\\u00a0lines\\u00a0=\\u00a0exec(\\\\\\\"batch.template.lines\\\\\\\",\\u00a0\\\\\\\"read\\\\\\\",\\u00a0[template.lines,[\\\\\\\"activity_code\\\\\\\",\\\\\\\"activity_name\\\\\\\",\\\\\\\"bom\\\\\\\",\\\\\\\"master_prod_code\\\\\\\",\\\\\\\"prod_code\\\\\\\",\\\\\\\"ref\\\\\\\",\\\\\\\"seq\\\\\\\",\\\\\\\"station_name\\\\\\\",\\\\\\\"std_time_hrs\\\\\\\",\\\\\\\"time_calc_method\\\\\\\"]]);\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0for\\u00a0(var\\u00a0i=0;i\n                                                                                    <lines.length;i++){\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0submission={\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0activity_codes:lines[i].activity_name[0],\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0bill_of_mat:lines[i].bom[0],\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0master_prod_code:lines[i].master_prod_code,\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0prod_code:lines[i].prod_code[0],\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0station_name:lines[i].station_name[0],\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0std_time_hrs:lines[i].std_time_hrs,\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0time_calc_method:lines[i].time_calc_method[0],\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0changes.lines.push([\\\\\\\"create\\\\\\\",submission]);\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#66b966\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"//\\u00a0add\\u00a0the\\u00a0row\\u00a0the\\u00a0table\\u00a0\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0var\\u00a0write\\u00a0=exec(\\\\\\\"batch.tracker\\\\\\\",\\u00a0\\\\\\\"write\\\\\\\",\\u00a0[ids,changes]);\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0//fill_first_row(ids);\\\"},{\\\"insert\\\":\\\"\\\\n}\\\\n\\\\n\\\\n\\\"}]},\\\"margin_left\\\":20,\\\"margin_right\\\":20,\\\"background_color\\\":\\\"#4b4b4b\\\"},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"Example changing the table field value of Model Item\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"margin_top\\\":50},{\\\"type\\\":\\\"columns\\\",\\\"columns\\\":[{\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"color\\\":\\\"#66b966\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"Modified from \\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\",\\\"underline\\\":true},\\\"insert\\\":\\\"https://inhesion.smartb.co/action?name=model&mode=form&active_id=813\\\"},{\\\"insert\\\":\\\"\\\\n\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"function\\u00a0update_prod_cost(ids){\\u00a0//update\\u00a0product\\u00a0cost\\u00a0for\\u00a0each\\u00a0row\\u00a0of\\u00a0table\\u00a0from\\u00a0Bill\\u00a0of\\u00a0Material\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0const\\u00a0tracker\\u00a0=\\u00a0exec(\\\\\\\"batch.tracker\\\\\\\",\\u00a0\\\\\\\"read\\\\\\\",\\u00a0[ids,[\\\\\\\"product\\\\\\\",\\\\\\\"lines\\\\\\\"]])[0];\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0const\\u00a0lines\\u00a0=\\u00a0exec(\\\\\\\"batch.tracker.lines\\\\\\\",\\u00a0\\\\\\\"read\\\\\\\",\\u00a0[tracker.lines,[\\\\\\\"expected_qty_received\\\\\\\"]]);\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0for\\u00a0(var\\u00a0i=0;i\n                                                                                        <lines.length;i++){\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0if\\u00a0(lines[i].bill_of_mat==null)\\u00a0throw\\u00a0\\\\\\\"Missing\\u00a0Bill\\u00a0of\\u00a0Material\\u00a0for\\u00a0price\\u00a0calculation\\\\\\\";\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0var\\u00a0prod_cost=0;\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0if\\u00a0(lines[i].actual_qty_received!=null){\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0prod_cost=Math.round(prod_cost*parseFloat(lines[i].actual_qty_received)*10)/10;\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0var\\u00a0adjustment={\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0actual_cost:prod_cost\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0};\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0var\\u00a0write\\u00a0=exec(\\\\\\\"batch.tracker.lines\\\\\\\",\\u00a0\\\\\\\"write\\\\\\\",\\u00a0[[lines[i].id],adjustment]);\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"\\u00a0\\u00a0\\u00a0\\u00a0}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#bbbbbb\\\"},\\\"insert\\\":\\\"}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"margin_left\\\":20,\\\"margin_right\\\":20,\\\"background_color\\\":\\\"#4b4b4b\\\"}]},{\\\"children\\\":[]}],\\\"num_cols\\\":1,\\\"col_widths\\\":[1]},{\\\"type\\\":\\\"box\\\",\\\"children\\\":[],\\\"min_height\\\":100,\\\"footer\\\":true}],\\\"header_height\\\":\\\"50\\\",\\\"footer_height\\\":\\\"100\\\"}\", \"write_uid\": 27, \"code\": \"async function on_load(){\\n  \\nvar data=await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[],[\\\"first_name\\\",\\\"surname\\\",\\\"work_status\\\"]])\\t//\\n  var data_str=JSON.stringify(data);\\n  await set_data({output1:data_str,\\n                  code1:'await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[],[\\\"fist_name\\\",\\\"surname\\\"]])'\\n                 })\\nvar cond=[[\\\"hire_date\\\",\\\"<\\\",\\\"2020-01-01\\\"],[\\\"work_status\\\",\\\"=\\\",\\\"Working\\\"]]\\nvar data=await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[cond,[\\\"first_name\\\",\\\"surname\\\",\\\"work_status\\\",\\\"hire_date\\\"]])\\t//\\n  var data_str=JSON.stringify(data);\\n  await set_data({output2:data_str,\\n                  code2:'cond=[[\\\"hire_date\\\",\\\"<\\\",\\\"2020-01-01\\\"],[\\\"work_status\\\",\\\"=\\\",\\\"Working\\\"]] \\\\n rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[cond,[\\\"first_name\\\",\\\"surname\\\",\\\"working_status\\\",\\\"hire_date\\\"]])'\\n                 })\\nvar cond=[[\\\"hire_date\\\",\\\"<\\\",\\\"2020-01-01\\\"],[\\\"work_status\\\",\\\"=\\\",\\\"Working\\\"]]\\nvar data=await rpc_execute(\\\"hr2.employee\\\",\\\"search\\\",[cond])\\t//\\n  var data_str=JSON.stringify(data);\\n  await set_data({output3:data_str,\\n                  code3:'var cond=[[\\\"hire_date\\\",\\\"<\\\",\\\"2020-01-01\\\"],[\\\"work_status\\\",\\\"=\\\",\\\"Working\\\"]] \\\\n rpc_execute(\\\"hr2.employee\\\",\\\"search\\\",[cond])'\\n                 })\\n  \\nvar data=await rpc_execute(\\\"hr2.employee\\\",\\\"read\\\",[[100032,100039],[\\\"first_name\\\",\\\"surname\\\",\\\"work_status\\\",\\\"hire_date\\\"]])\\t//\\n  var data_str=JSON.stringify(data);\\n  await set_data({output4:data_str,\\n                  code4:'var data=await rpc_execute(\\\"hr2.employee\\\",\\\"read\\\",[[100032,100039],[\\\"first_name\\\",\\\"surname\\\",\\\"work_status\\\",\\\"hire_date\\\"]])'\\n                 })\\n  \\n  var data=await rpc_execute(\\\"pm.task\\\",\\\"read_one\\\",[189])\\t//\\n  var task_lines =await rpc_execute(\\\"pm.task.lines\\\", \\\"read\\\", [data.lines,[\\\"name\\\",\\\"Builder\\\",\\\"status\\\",\\\"percentage\\\"]]);\\n  var data_str=JSON.stringify(data);\\n  await set_data({output5:data_str,\\n                  code5:' var data=await rpc_execute(\\\"pm.task\\\",\\\"read_one\\\",[189]) \\\\n var task_lines =await rpc_execute(\\\"bom.line\\\", \\\"read\\\", [data.lines,[\\\"name\\\",\\\"Builder\\\",\\\"status\\\",\\\"percentage\\\"]]);'\\n                 })\\n\\n  var data=await rpc_execute(\\\"hr2.employee\\\",\\\"read_one\\\",[100032])\\t//\\n  var data_str=JSON.stringify(data);\\n  await set_data({output6:data_str,\\n                  code6:'var data=await rpc_execute(\\\"hr2.employee\\\",\\\"read_one\\\",[[100032]])'\\n                 })\\n  \\n  var res=await rpc_execute(\\\"pm.task\\\",\\\"read_path\\\",[[112],[\\\"number\\\",\\\"builder\\\",\\\"lines.act_date_start\\\",\\\"lines.act_date_end\\\"]]);\\t//\\n  var data_str=JSON.stringify(res);\\n  await set_data({output7:data_str,\\n                  code7:'var res=await rpc_execute(\\\"pm.task\\\",\\\"read_path\\\",[[[112]],[\\\"number\\\",\\\"builder\\\",\\\"lines.act_date_start\\\",\\\"lines.act_date_end\\\"]])[0];'\\n                 })\\n}\\n\", \"write_time\": \"2020-02-24 12:00:46\"}, \"code\": null}, \"employee_register_form\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [4, 1], \"margin_top\": 20, \"margin_left\": null, \"margin_right\": null, \"_col_widths\": \"[4,1]\", \"hidden\": false}, {\"type\": \"image\", \"min_height\": 50, \"align\": \"center\", \"image_file\": \"transparent-logo,v04YxwvAUjA=.png\", \"width\": \"280\", \"height\": \"150\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Registration Form\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 20, \"border_bottom_width\": null, \"margin_right\": null, \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\", \"font_size\": 25}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Personal Details\"}, {\"insert\": \"\\n\"}]}, \"margin_right\": null, \"margin_top\": 30, \"margin_left\": null, \"background_color\": \"#0a1e38\", \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Employee Code\\n\"}]}, \"margin_top\": 20, \"margin_bottom\": 5, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_size\": 15}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Employee Code\", \"name\": \"number\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Title\\n\"}]}, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_size\": 15, \"margin_top\": null, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"select\", \"_selection\": \"[[\\\"Mr.\\\",\\\"Mr.\\\"],[\\\"Mrs.\\\",\\\"Mrs.\\\"],[\\\"Miss\\\",\\\"Miss\\\"]]\", \"selection\": [[\"Mr.\", \"Mr.\"], [\"Mrs.\", \"Mrs.\"], [\"Miss\", \"Miss\"]], \"placeholder\": \"Title\", \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"title\", \"margin_bottom\": 10, \"width\": null}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"First Name\\n\"}]}, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_size\": 15, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"First Name\", \"font_size\": null, \"font_name\": \"\", \"letter_spacing\": \"\", \"name\": \"first_name\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Surname\\n\"}]}, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_size\": 15, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Surname\", \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"surname\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"IC No.\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"xxxxxx-xx-xxxx\", \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"ic_no\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Gender\\n\"}]}, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_size\": 15, \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Gender\", \"_selection\": \"[[\\\"Male\\\",\\\"Male\\\"],[\\\"Female\\\",\\\"Female\\\"]]\", \"selection\": [[\"Male\", \"Male\"], [\"Female\", \"Female\"]], \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"gender\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Date of Birth\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"date\", \"placeholder\": \"DD/MM/YYYY\", \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"birth_date\", \"margin_bottom\": 10, \"width\": null}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Home Address\\n\"}]}, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_size\": 15, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"textarea\", \"placeholder\": \"Address\", \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"home_address\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"City\\n\"}]}, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_size\": 15, \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"City\", \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"city\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"State\\n\"}]}, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_size\": 15, \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"State\", \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"state\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Postcode\\n\"}]}, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_size\": 15, \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Postcode\", \"name\": \"postcode\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Marital Status\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Marital Status\", \"_selection\": \"[[\\\"Single\\\",\\\"Single\\\"],[\\\"Married\\\",\\\"Married\\\"],[\\\"Divorced\\\",\\\"Divorced\\\"],[\\\"Widowed\\\",\\\"Widowed\\\"]]\", \"selection\": [[\"Single\", \"Single\"], [\"Married\", \"Married\"], [\"Divorced\", \"Divorced\"], [\"Widowed\", \"Widowed\"]], \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"marital_status\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Nationality\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Nationality\", \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"nationality\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Mobile No.\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Mobile No.\", \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"mobile_phone\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Home No.\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Home No.\", \"name\": \"home_no\", \"margin_bottom\": 10}], \"min_height\": 50, \"margin_left\": null, \"margin_right\": null}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Working Details\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": null, \"margin_right\": null, \"margin_top\": 30, \"background_color\": \"#0a1e38\", \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\", \"font_size\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Expected Salary\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_top\": 20, \"margin_left\": null, \"margin_right\": null, \"margin_bottom\": 5}, {\"type\": \"field\", \"placeholder\": \"Per Month\", \"field_type\": \"number\", \"name\": \"salary\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Job Title\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"select\", \"name\": \"job_title\", \"placeholder\": \"Job Title\", \"model\": \"hr2.job.title\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Type of Position\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Type of Position\", \"_selection\": \"[[\\\"Internship\\\",\\\"Internship\\\"],[\\\"Full Time\\\",\\\"Full Time\\\"],[\\\"Part Time\\\",\\\"Part Time\\\"],[\\\"Project Based\\\",\\\"Project Based\\\"]]\", \"selection\": [[\"Internship\", \"Internship\"], [\"Full Time\", \"Full Time\"], [\"Part Time\", \"Part Time\"], [\"Project Based\", \"Project Based\"]], \"name\": \"type_of_position\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Bank Name\", \"name\": \"bank_name\", \"model\": \"hr2.bank\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Account No.\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Bank Account No.\", \"name\": \"bank_acc_no\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"EPF No.\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"placeholder\": \"EPF No.\", \"field_type\": \"text\", \"name\": \"epf_no\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SOCSO No.\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"SOCSO No.\", \"name\": \"socso_no\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Income Tax No.\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Income Tax No.\", \"name\": \"income_tax_no\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"* Compulsory for Full Timer Staff\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Emergency Contact Details\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 30, \"margin_left\": null, \"margin_right\": null, \"background_color\": \"#0a1e38\", \"color\": \"#ffffff\", \"letter_spacing\": \"2.5\", \"font_name\": \"Verdana\", \"font_size\": null}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Primary Contact\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_top\": 30, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Name\", \"name\": \"ec_primary_contact\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Address\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"placeholder\": \"Address\", \"field_type\": \"textarea\", \"name\": \"ec_address\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"City\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_top\": null, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"City\", \"name\": \"ec_city\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"State\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"State\", \"name\": \"ec_state\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Postcode\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Postcode\", \"name\": \"ec_postcode\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Relationship\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Relationship\", \"name\": \"ec_relationship\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Mobile No.\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Mobile No.\", \"name\": \"ec_mobile_phone\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Alternate No.\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Alternate No.\", \"name\": \"ec_alternate_no\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Email\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Email\", \"name\": \"ec_email\", \"margin_bottom\": 10}, {\"type\": \"button\", \"margin_top\": 50, \"margin_left\": 70, \"margin_right\": 70, \"text\": \"REGISTER\", \"width\": \"150\", \"height\": \"40\", \"font_bold\": false, \"background_color\": \"#737171\", \"color\": \"#ffffff\", \"hover_background_color\": \"#3bd9d9\", \"letter_spacing\": \"2.5\", \"font_name\": \"Montserrat\", \"on_click\": \"registerEmployee()\", \"margin_bottom\": 50, \"align\": \"center\"}], \"min_height\": 50}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [0.3, 4, 0.3], \"_col_widths\": \"[0.3,4,0.3]\", \"margin_left\": null, \"margin_right\": null}], \"min_height\": 50, \"height\": \"\", \"footer\": true, \"background_color\": \"#ffffff\", \"show_phone\": true, \"show_desktop\": false, \"show_tablet\": false}], \"font_size\": \"Verdana\"}, \"code\": \"async function on_load()\\n{\\n  reload();\\n  var number = await get_number();\\n  set_data({\\n    number:number,\\n  });\\n\\n}\\n\\n\\nasync function registerEmployee()\\n{\\n  var data=get_data();\\n  if (!data.title) throw \\\"Missing Title\\\";\\n  if (!data.gender) throw \\\"Missing Gender\\\";\\n  if (!data.first_name) throw \\\"Missing First Name\\\";\\n  if (!data.surname) throw \\\"Missing Surname\\\";\\n  if (!data.ic_no) throw \\\"Missing IC No.\\\";\\n  if (!data.birth_date) throw \\\"Missing Date of Birth\\\";\\n  if (!data.home_address) throw \\\"Missing Home Address\\\";\\n  if (!data.city) throw \\\"Missing City\\\";\\n  if (!data.state) throw \\\"Missing State\\\";\\n  if (!data.postcode) throw \\\"Missing Postcode\\\";\\n  if (!data.marital_status) throw \\\"Missing Marital Status\\\";\\n  if (!data.nationality) throw \\\"Missing Nationality\\\";\\n  if (!data.mobile_phone) throw \\\"Missing Mobile No.\\\";\\n  //if (!data.home_no) throw \\\"Missing Home No.\\\";\\n  if (!data.salary) throw \\\"Missing Expected Salary\\\";\\n  if (!data.job_title) throw \\\"Missing Job Title\\\";\\n\\n  //var position = get_field_value(\\\"type_of_position\\\");\\n  if (data.type_of_position==\\\"Full Time\\\"){\\n    if (!data.epf_no) throw \\\"Missing EPF No\\\";\\n    if (!data.socso_no) throw \\\"Missing SOCSO No\\\";\\n    if (!data.income_tax_no) throw \\\"Missing Income Tax No\\\";\\n  }\\n\\n  if (!data.bank_name) throw \\\"Missing Bank Name\\\";\\n  if (!data.bank_acc_no) throw \\\"Missing Bank Account No.\\\";\\n  if (!data.ec_primary_contact) throw \\\"Missing Primary's Contact\\\";\\n  if (!data.ec_relationship) throw \\\"Missing Emergency Contact's Relationship\\\";\\n  if (!data.ec_address) throw \\\"Missing Emergency Contact's Address\\\";\\n  if (!data.ec_city) throw \\\"Missing Emergency Contact's City\\\";\\n  if (!data.ec_state) throw \\\"Missing Emergency Contact's State\\\";\\n  if (!data.ec_postcode) throw \\\"Missing Emergency Contact's Postcode\\\";\\n  if (!data.ec_mobile_phone) throw \\\"Missing Emergency Contact's Mobile No.\\\";\\n  if (!data.ec_alternate_no) throw \\\"Missing Emergency Contact's Alternate No.\\\";\\n  if (!data.ec_email) throw \\\"Missing Emergency Contact's Email \\\";\\n\\n\\n  var vals={\\n\\n    number: data.number,\\n    title:data.title,\\n    first_name:data.first_name,\\n    surname:data.surname,\\n    gender:data.gender,\\n    ic_no:data.ic_no,\\n    birth_date:data.birth_date,\\n    home_address:data.home_address,\\n    city:data.city,\\n    state:data.state,\\n    postcode:data.postcode,\\n    marital_status:data.marital_status,\\n    nationality:data.nationality,\\n    mobile_phone:data.mobile_phone,\\n    home_no:data.home_no,\\n    salary:data.salary,\\n    job_title:data.job_title,\\n    type_of_position:data.type_of_position,\\n    epf_no:data.epf_no,\\n    socso_no:data.socso_no,\\n    income_tax_no:data.income_tax_no,\\n    bank_name:data.bank_name,\\n    bank_acc_no:data.bank_acc_no,\\n    ec_primary_contact:data.ec_primary_contact,\\n    ec_relationship:data.ec_relationship,\\n    ec_address:data.ec_address,\\n    ec_city:data.ec_city,\\n    ec_state:data.ec_state,\\n    ec_postcode:data.ec_postcode,\\n    ec_mobile_phone:data.ec_mobile_phone,\\n    ec_alternate_no:data.ec_alternate_no,\\n    ec_email:data.ec_email,\\n  };\\n\\n  await rpc_execute(\\\"hr2.employee\\\",\\\"create\\\",[vals]);\\n  //var req_id=await rpc_execute(\\\"pd.request.2\\\",\\\"create\\\",[vals]);\\n  //await rpc_execute(\\\"pd.request.2\\\",\\\"pd_email\\\",[[req_id],\\\"Draft\\\",\\\"pd_email_submit\\\",\\\"PIC\\\"]);\\n  var seq_id=71;\\n  await rpc_execute(\\\"sequence\\\",\\\"increment_number\\\",[seq_id]);\\n  alert(\\\"Registration Successful\\\");\\n  location.reload(true);\\n}\\n\\nasync function get_number() {\\n  var seq=await rpc_execute(\\\"sequence\\\",\\\"search_read\\\",[[\\\"name\\\",\\\"=\\\",\\\"Employee Code\\\"],[\\\"name\\\"]]);\\n  var seq_id=seq[0].id;\\n  var num=await rpc_execute(\\\"sequence\\\",\\\"get_next_number\\\",[seq_id]);\\n  return num ;\\n  console.log(\\\"default\\\", num ); \\n}\\n\\nfunction reload(){\\n  set_data({\\n    title:null,  \\t\\t\\n    gender:null,\\n    first_name:null,\\n    surname:null,\\n    ic_no:null,\\n    birth_date:null,\\n    home_address:null,\\n    city:null,\\n    state:null,\\n    postcode:null,\\n    marital_status:null,\\n    nationality:null,\\n    mobile_phone:null,\\n    home_no:null,\\n    salary:null,\\n    job_title:null,\\n    type_of_position:null,\\n    epf_no:null,\\n    socso_no:null,\\n    income_tax_no:null,\\n    bank_name:null,\\n    bank_acc_no:null,\\n    ec_primary_contact:null,\\n    ec_relationship:null,\\n    ec_address:null,\\n    ec_city:null,\\n    ec_state:null,\\n    ec_postcode:null,\\n    ec_mobile_phone:null,\\n    ec_alternate_no:null,\\n    ec_email:null,\\n  });\\n}\\n\\n\"}, \"existing_pcb\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"Existing PCB Form\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 70, \"margin_right\": 20, \"letter_spacing\": \"2\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"smartB-logo-2-300x148,EodqyPDYCn8=,SH9laBrrYfU=,kDXQ7AVqibE=.png\", \"width\": \"250\", \"height\": \"120\"}]}], \"num_cols\": 2, \"col_widths\": [4, 1], \"margin_left\": 70, \"margin_right\": 70, \"_col_widths\": \"[4,1]\", \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Please fill in the details below to view the existing PCB Form.\\n\"}]}, \"margin_left\": 70, \"margin_right\": 70, \"background_color\": \"#0a1e38\", \"color\": \"#ffffff\", \"padding_left\": 10, \"padding_right\": 10, \"padding_top\": 5, \"padding_bottom\": 5, \"letter_spacing\": \"2.5\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Name\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"name\": \"fname\", \"placeholder\": \"Enter your name\"}]}], \"num_cols\": 3, \"col_widths\": [1, 0.5, 3], \"margin_left\": 70, \"margin_right\": 70, \"margin_top\": 20, \"align\": \"center\", \"vertical_align\": \"middle\", \"_col_widths\": \"[1,0.5,3]\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"OR\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Select your name\", \"name\": \"fullname\", \"model\": \"hr2.employee\", \"load_options\": \"load_options(query)\"}]}], \"num_cols\": 3, \"col_widths\": [1, 0.5, 3], \"_col_widths\": \"[1,0.5,3]\", \"margin_top\": 10, \"margin_left\": 70, \"margin_right\": 70, \"margin_bottom\": null, \"vertical_align\": \"middle\"}, {\"type\": \"box\", \"children\": [], \"min_height\": 0, \"margin_top\": 10, \"margin_bottom\": 10, \"border_color\": \"#c1c1c1\", \"border_top_width\": 1, \"header\": true, \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Month\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Month\", \"_selection\": \"[[1,\\\"January\\\"],[2,\\\"February\\\"],[3,\\\"March\\\"],[4,\\\"April\\\"],[5,\\\"May\\\"],[6, \\\"June\\\"],[7,\\\"July\\\"],[8,\\\"August\\\"],[9,\\\"September\\\"],[10,\\\"October\\\"],[11,\\\"November\\\"],[12,\\\"December\\\"]]\", \"selection\": [[1, \"January\"], [2, \"February\"], [3, \"March\"], [4, \"April\"], [5, \"May\"], [6, \"June\"], [7, \"July\"], [8, \"August\"], [9, \"September\"], [10, \"October\"], [11, \"November\"], [12, \"December\"]], \"name\": \"month\", \"on_change\": \"hide()\"}]}], \"num_cols\": 3, \"col_widths\": [1, 0.5, 3], \"margin_left\": 70, \"margin_right\": 70, \"margin_top\": 10, \"_col_widths\": \"[1,0.5,3]\", \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Year\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"YYYY\", \"name\": \"year\"}]}], \"num_cols\": 3, \"col_widths\": [1, 0.5, 3], \"_col_widths\": \"[1,0.5,3]\", \"margin_left\": 70, \"margin_right\": 70, \"margin_top\": 10, \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD Formula\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"name\": \"mtd_formula\", \"placeholder\": \"MTD Formula\", \"_selection\": \"[[\\\"Normal\\\",\\\"Normal Remuneration\\\"],[\\\"REP\\\",\\\"Returning Expert Program (REP)\\\"],[\\\"IRDA\\\",\\\"Knowledge Worker at Specified Region (Iskandar Malaysia)\\\"],[\\\"28%\\\",\\\"Non-Resident\\\"]]\", \"selection\": [[\"Normal\", \"Normal Remuneration\"], [\"REP\", \"Returning Expert Program (REP)\"], [\"IRDA\", \"Knowledge Worker at Specified Region (Iskandar Malaysia)\"], [\"28%\", \"Non-Resident\"]], \"on_change\": \"hide()\"}]}], \"num_cols\": 3, \"col_widths\": [1, 0.5, 3], \"_col_widths\": \"[1,0.5,3]\", \"margin_top\": 10, \"margin_left\": 70, \"margin_right\": 70}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"margin_top\": null, \"margin_bottom\": null, \"text\": \"View Form\", \"align\": \"left\", \"on_click\": \"view()\", \"padding_top\": 10, \"padding_left\": 15, \"padding_right\": 15, \"padding_bottom\": 10, \"margin_left\": 10, \"margin_right\": 5, \"letter_spacing\": \"\", \"icon\": \"search\", \"color\": \"#000000\"}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"button\", \"margin_left\": 5, \"margin_right\": 5, \"text\": \"Calculate Next Month\", \"padding_top\": 10, \"padding_left\": 15, \"padding_right\": 15, \"padding_bottom\": 10, \"icon\": \"calculator\", \"color\": \"#000000\", \"on_click\": \"nextMonth()\"}], \"min_height\": null, \"name\": \"boxcal\", \"dyn_props\": \"{hidden:boxcal}\", \"footer\": false}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}, {\"children\": []}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 8, \"col_widths\": [1, 1.5, 1, 1, 1, 1, 1, 1.5], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 30, \"margin_top\": 30, \"_col_widths\": \"[1,1.5,1,1,1,1,1,1.5]\"}], \"min_height\": 50, \"name\": \"boxcal1\", \"dyn_props\": \"{hidden:boxcal1}\"}, {\"type\": \"box\", \"children\": [], \"min_height\": 10, \"margin_left\": 60, \"margin_right\": 60, \"border_color\": \"#c1c1c1\", \"border_top_width\": 1, \"margin_top\": 30}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"New PCB Form \"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 70, \"margin_right\": 70, \"margin_bottom\": 20, \"margin_top\": 30, \"letter_spacing\": \"2\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Click on the button below to fill up a new PCB Form.\\n\"}]}, \"margin_left\": 70, \"margin_right\": 70, \"padding_top\": 5, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 5, \"background_color\": \"#0a1e38\", \"color\": \"#ffffff\", \"letter_spacing\": \"2.5\"}, {\"type\": \"button\", \"margin_left\": 70, \"margin_right\": 70, \"text\": \"New Form \", \"padding_left\": 15, \"padding_right\": 15, \"padding_top\": 10, \"padding_bottom\": 10, \"on_click\": \"new_form()\", \"margin_top\": 20, \"icon\": \"plus-circle\"}], \"min_height\": 50, \"padding_bottom\": 50}]}, \"code\": \"async function view(){\\n  \\n  var data = get_data();\\n  if (!data.fname && !data.fullname) throw \\\"Missing Name\\\";\\n  if (!data.month) throw \\\"Missing Month\\\";\\n  if (!data.year) throw \\\"Missing Year\\\";\\n  if (!data.mtd_formula) throw \\\"Missing MTD Formula\\\";\\n  \\n  //var fname =data.fname;\\n  var code = data.fullname;\\n  //console.log(\\\"afiqah: \\\",code);\\n  if(!code){\\n    var fname = data.fname;\\n    //var cond = [\\\"or\\\",[\\\"first_name\\\",\\\"ilike\\\",fname],[\\\"surname\\\",\\\"ilike\\\",fname]];\\n    var cond = [\\\"first_name\\\",\\\"ilike\\\",fname];\\n    var field = [\\\"first_name\\\",\\\"surname\\\",\\\"number\\\"];\\n    var res2 = await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[cond],field]);\\n    if(res2.length ==0 ){\\n      var cond = [\\\"surname\\\",\\\"ilike\\\",fname];\\n    }\\n    \\n  }\\n  else{\\n    var cond = [\\\"number\\\",\\\"=\\\",code];\\n    \\n  }\\n  \\n  var field = [\\\"first_name\\\",\\\"surname\\\",\\\"number\\\"];\\n  var res = await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[cond],field]);\\n  var first = res[0].first_name;\\n  var last = res[0].surname;\\n  var full = first+\\\" \\\"+last;\\n  //console.log(\\\"afiqahh: \\\",full);\\n  var month = data.month;\\n  var year = data.year;\\n  var form = data.mtd_formula;\\n  \\n  \\n  //var conds = [\\\"or\\\",[\\\"full_name\\\",\\\"in\\\",[full,fname]],[\\\"month\\\",\\\"=\\\",month],[\\\"year\\\",\\\"=\\\",year]];\\n  var conds = [[\\\"full_name\\\",\\\"ilike\\\",full],[\\\"month\\\",\\\"=\\\",month],[\\\"year\\\",\\\"=\\\",year],[\\\"mtd_formula\\\",\\\"=\\\",form]];\\n  var fields = [\\\"id\\\",\\\"full_name\\\",\\\"month\\\",\\\"year\\\",\\\"mtd_formula\\\"];\\n  \\n  var  res = await rpc_execute(\\\"hr2.pcb\\\",\\\"search_read\\\",[conds,fields]);\\n  if(res.length==0)throw \\\"No record found\\\";\\n  var fnames = res[0].full_name;\\n  var months = res[0].month;\\n  var years = res[0].year;\\n  var formula = res[0].mtd_formula;\\n  var pages = 1;\\n  \\n  redirect_page(\\\"pcb_form_view\\\",{page:pages,fname:fnames,month:months,year:years,form:formula});\\n}\\n\\n//,{page:page,name:names,month:months,year:years}\\n\\n\\nfunction new_form(){\\n  var page = 3;\\n  redirect_page(\\\"pcb_form\\\",{page:page});\\n}\\n\\n\\n\\n/*async function update(){\\n  var data = get_data();\\n  //if (!data.fname) throw \\\"Missing Name\\\";\\n  if (!data.month) throw \\\"Missing Month\\\";\\n  if (!data.year) throw \\\"Missing Year\\\";\\n  \\n  var fname =data.fname;\\n  var code = data.fullname;\\n  //console.log(\\\"afiqah: \\\",code);\\n  \\n  var cond = [\\\"number\\\",\\\"=\\\",code];\\n  var field = [\\\"first_name\\\",\\\"surname\\\",\\\"number\\\"];\\n  var res = await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[cond],field]);\\n  var first = res[0].first_name;\\n  var last = res[0].surname;\\n  var full = first+\\\" \\\"+last;\\n  //console.log(\\\"afiqahh: \\\",full);\\n  \\n  var month = data.month;\\n  var year = data.year;\\n  \\n  var conds = [[\\\"full_name\\\",\\\"ilike\\\",full],[\\\"month\\\",\\\"=\\\",month],[\\\"year\\\",\\\"=\\\",year]]\\n  var fields = [\\\"id\\\",\\\"full_name\\\",\\\"month\\\",\\\"year\\\"]\\n  \\n  var  res = await rpc_execute(\\\"hr2.pcb\\\",\\\"search_read\\\",[conds,fields]);\\n  if(res.length==0)throw \\\"No record found\\\";\\n  var fnames = res[0].full_name;\\n  var months = res[0].month;\\n  var years = res[0].year;\\n  var pages = 1;\\n  \\n  redirect_page(\\\"pcb_form\\\",{page:pages,fname:fnames,month:months,year:years});\\n}*/\\n\\nasync function nextMonth(){\\n  var data = get_data();\\n  if (!data.fname && !data.fullname) throw \\\"Missing Name\\\";\\n  if (!data.month) throw \\\"Missing Month\\\";\\n  if (!data.year) throw \\\"Missing Year\\\";\\n  if (!data.mtd_formula) throw \\\"Missing MTD Formula\\\";\\n  \\n  var code = data.fullname;\\n  //console.log(\\\"afiqah: \\\",code);\\n  if(!code){\\n    var fname = data.fname;\\n    //var cond = [\\\"or\\\",[\\\"first_name\\\",\\\"ilike\\\",fname],[\\\"surname\\\",\\\"ilike\\\",fname]];\\n    var cond = [\\\"first_name\\\",\\\"ilike\\\",fname];\\n    var field = [\\\"first_name\\\",\\\"surname\\\",\\\"number\\\"];\\n    var res2 = await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[cond],field]);\\n    if(res2.length ==0 ){\\n      var cond = [\\\"surname\\\",\\\"ilike\\\",fname];\\n    }\\n    \\n  }\\n  else{\\n    var cond = [\\\"number\\\",\\\"=\\\",code];\\n    \\n  }\\n  \\n  var field = [\\\"first_name\\\",\\\"surname\\\",\\\"number\\\"];\\n  var res = await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[cond],field]);\\n  var first = res[0].first_name;\\n  var last = res[0].surname;\\n  var full = first+\\\" \\\"+last;\\n  //console.log(\\\"afiqahh: \\\",full);\\n  \\n  var month = data.month;\\n  if (month == 12){\\n    alert(\\\"Your Monthly Tax Deduction has reached December. Please create a New PCB Form for the January of the new year.\\\");\\n    return;\\n  }\\n  var year = data.year;\\n  var form = data.mtd_formula;\\n  console.log(\\\"display form\\\",form);\\n  \\n  var conds = [[\\\"full_name\\\",\\\"ilike\\\",full],[\\\"month\\\",\\\"=\\\",month],[\\\"year\\\",\\\"=\\\",year],[\\\"mtd_formula\\\",\\\"=\\\",form]];\\n  //,[\\\"mtd_formula\\\",\\\"=\\\",form]\\n  var fields = [\\\"id\\\",\\\"full_name\\\",\\\"month\\\",\\\"year\\\",\\\"mtd_formula\\\"];\\n  \\n  var  res = await rpc_execute(\\\"hr2.pcb\\\",\\\"search_read\\\",[conds,fields]);\\n  if(res.length==0) throw \\\"No record found\\\";\\n  var fnames = res[0].full_name;\\n  var months = res[0].month;\\n  var years = res[0].year;\\n  var formula = res[0].mtd_formula;\\n  var pages = 2;\\n  \\n  console.log(\\\"display formula\\\",formula);\\n  \\n  redirect_page(\\\"pcb_form\\\",{page:pages,fname:fnames,month:months,year:years,form:formula});\\n}\\n\\n\\nasync function load_options(query) {\\n  var data = get_data();\\n  var name = data.name;\\n  console.log(\\\"load_options\\\",query);\\n  var fields = [\\\"first_name\\\",\\\"surname\\\",\\\"number\\\"];\\n  var res = await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[],fields]);\\n  var first = res[0].first_name;\\n  //console.log(\\\"afi: \\\",first);\\n  \\n  var slct = [];\\n  res.forEach(o=>{\\n    slct.push({\\n      value: o.number,\\n      label: \\\"[\\\"+o.number+\\\"] \\\"+o.first_name+\\\" \\\"+o.surname,\\n    });\\n  });\\n  return slct;\\n}\\n\\nasync function hide(){\\n  var data = get_data();\\n  var month = data.month;\\n  var formula = data.mtd_formula;\\n  if (month == 12 || formula == \\\"28%\\\"){\\n    set_data({boxcal:true});\\n  }\\n  else{\\n    set_data({boxcal:false});\\n  }\\n}\\n\\n\"}, \"gen_account_statement\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Statement of Account for Customer\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": 20}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Select Account:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"padding_left\": null, \"padding_right\": null, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"account_id\", \"field_type\": \"select\", \"placeholder\": \"Select Account\", \"model\": \"account.account\", \"condition\": \"[[\\\"type\\\", \\\"=\\\", \\\"receivable\\\"]]\", \"margin_right\": 10}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Select Customer:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"contact_id\", \"field_type\": \"select\", \"placeholder\": \"Select Customer\", \"condition\": \"[[\\\"customer\\\",\\\"=\\\",\\\"true\\\"]]\", \"model\": \"contact\", \"on_change\": \"\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Select Start Date:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"start_date\", \"field_type\": \"date\", \"placeholder\": \"-Leave Blank to show all-\"}]}], \"col_widths\": [1, 1]}]}, {\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Select End Date:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"end_date\", \"field_type\": \"date\"}]}], \"col_widths\": [1, 1]}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"(Auto Load Previous Month)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}, {\"type\": \"button\", \"text\": \"Generate\", \"on_click\": \"generate()\", \"width\": \"100\", \"height\": \"50\", \"align\": \"center\", \"background_color\": \"#cdeabd\", \"margin_top\": 20, \"margin_bottom\": 20}], \"min_height\": 50, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10, \"padding_top\": 50, \"padding_left\": 50, \"padding_right\": 50, \"padding_bottom\": 50}]}, \"code\": \"async function on_load() {\\n  //var today=new Date().toISOString().substring(0,10);\\n  var today=new Date();\\n  var month=today.getMonth();\\n  var year=today.getFullYear();\\n  var prev_month=month==0?11:month-1;\\n  var prev_year=month==0?year-1:year;\\n  var end_date=new Date(year,month,1).toISOString().substring(0,10);\\n  var start_date= new Date(prev_year,prev_month,2).toISOString().substring(0,10);\\n  var res=await rpc_execute(\\\"account.account\\\",\\\"search_read\\\",[[\\\"type\\\",\\\"=\\\",\\\"receivable\\\"],[\\\"name\\\"]]);\\n  var account_id=res[0].id;\\n  set_data({\\n    account_id:account_id,\\n    start_date:start_date,\\n    end_date:end_date,\\n  });\\n}\\n\\nfunction generate() {\\n  var data=get_data();\\n  if(!data.account_id) throw \\\"Please Select Account\\\";\\n  if(!data.contact_id) throw \\\"Please Select Customer\\\";\\n  if(!data.start_date) {data.start_date=\\\"2000-01-01\\\"};\\n  if(!data.end_date) throw \\\"Please Select End Date\\\";\\n  var url=\\\"https://main.smartb.co/action?name=page_render&page_id=3\\\"+\\\"&contact_id=\\\"+data.contact_id+\\\"&start_date=\\\"+data.start_date+\\\"&end_date=\\\"+data.end_date+\\\"&account_id=\\\"+data.account_id;\\n  window.open(url);\\n}\"}, \"print_gi\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"lords-tailor-logo,FAyZMSDoAII=.png\", \"width\": \"233\", \"height\": \"100\", \"align\": \"right\", \"margin_right\": 85, \"margin_top\": 30}], \"min_height\": 0, \"margin_left\": 30, \"margin_right\": 30, \"header\": true}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"GOODS ISSUE RECEIPT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"DELIVER TO\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_id.name}\\n\"}]}, \"font_size\": 16}]}], \"num_cols\": 3, \"col_widths\": [0.8, 0.05, 2], \"_col_widths\": \"[0.8,0.05,2]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"ADDRESS\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_id.default_address_id.address}\\n\"}]}, \"font_size\": 16}]}], \"num_cols\": 3, \"col_widths\": [0.8, 0.05, 2], \"_col_widths\": \"[0.8,0.05,2]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"ATTN TO\\u00a0\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_person_id.name}\\n\"}]}, \"font_size\": 16}]}], \"num_cols\": 3, \"col_widths\": [0.8, 0.05, 2], \"_col_widths\": \"[0.8,0.05,2]\"}], \"min_height\": null, \"margin_left\": 10, \"margin_right\": 10, \"border_width\": null, \"height\": \"150\", \"padding_top\": 20}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"PL NO.\\t\\nDATE\\nREF\\n\"}]}, \"height\": \"150\", \"border_top_width\": null, \"border_left_width\": null, \"border_bottom_width\": null, \"font_size\": 16, \"padding_left\": 10, \"padding_top\": 20}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"height\": \"150\", \"border_top_width\": null, \"border_bottom_width\": null, \"font_size\": 16, \"padding_right\": 5, \"padding_top\": 20}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \" \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{date}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{ref}\"}, {\"insert\": \"\\n\"}]}, \"height\": \"150\", \"border_top_width\": null, \"border_right_width\": null, \"border_bottom_width\": null, \"font_size\": 16, \"padding_top\": 20}]}], \"num_cols\": 3, \"col_widths\": [0.8, 0.05, 2], \"_col_widths\": \"[0.8,0.05,2]\"}], \"min_height\": null, \"margin_right\": 10, \"margin_left\": 10, \"border_width\": null, \"height\": \"150\"}]}], \"num_cols\": 2, \"col_widths\": [2, 1.5], \"margin_left\": 15, \"margin_right\": 0, \"margin_top\": 20, \"_col_widths\": \"[2,1.5]\"}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"NO\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"CODE\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"DESCRIPTION\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"QTY\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"UoM\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"LOT/SERIAL NUMBER\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"FROM\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"TO\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product_id.code}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product_id.name}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{uom_id.name}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{lot_id.number}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{location_from_id.name}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{location_to_id.name}\\n\"}]}, \"font_size\": 16}]], \"num_cols\": 8, \"num_rows\": null, \"_col_widths\": \"[1,2,2,1,1,2,1,1]\", \"col_widths\": [1, 2, 2, 1, 1, 2, 1, 1], \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 10, \"table_bordered\": true, \"table_striped\": false, \"field_rows\": \"lines\", \"border_width\": 1, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"vertical_align\": \"top\"}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Qty: {total_qty}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 20, \"margin_left\": 20}], \"min_height\": 40}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Comment: {other_info}\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Issued The Above Goods In Good Order And Condition.\"}, {\"insert\": \"\\n\"}]}, \"border_bottom_width\": 1, \"margin_top\": 30}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"GOODS COLLECT BY:\\n\"}]}}, {\"type\": \"box\", \"children\": [], \"min_height\": 50, \"border_bottom_width\": 1, \"margin_right\": 55, \"margin_top\": 40}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Signature\\n\"}]}}], \"min_height\": 50}], \"min_height\": 50}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"GOODS CHECK BY:\\n\"}]}, \"margin_left\": 5}, {\"type\": \"box\", \"children\": [], \"min_height\": 50, \"margin_left\": 5, \"border_bottom_width\": 1, \"margin_right\": 60, \"margin_top\": 40}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Signature:\\n\"}]}, \"margin_left\": 5}], \"min_height\": 50}], \"min_height\": 50}]}], \"col_widths\": [1, 1]}], \"min_height\": 50, \"margin_top\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [], \"min_height\": 50, \"margin_left\": null, \"margin_right\": null}]}, {\"children\": [{\"type\": \"box\", \"children\": [], \"min_height\": 50}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": null, \"margin_right\": null}, {\"type\": \"box\", \"children\": [], \"min_height\": 50}], \"min_height\": 50, \"border_top_width\": 0, \"footer\": false, \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 100, \"page_break_inside_avoid\": true}], \"min_height\": 50}], \"min_height\": 50, \"margin_left\": 30, \"margin_right\": 30}], \"min_height\": 50, \"margin_left\": 30, \"margin_top\": 30, \"margin_right\": 30, \"margin_bottom\": 30}], \"fields\": \"[\\\"lines.product_id.description\\\",\\\"delivery_slot_id.name\\\",\\\"ref\\\",\\\"total_qty\\\",\\\"other_info\\\",\\\"lines.location_from_id.name\\\",\\\"lines.location_to_id.name\\\",\\\"lines.lot_id.number\\\",\\\"lines.product_id.code\\\",\\\"contact_id.name\\\",\\\"contact_id.default_address_id.address\\\",\\\"contact_person_id.name\\\",\\\"number\\\",\\\"date\\\",\\\"contact_id.code\\\",\\\"related_id\\\",\\\"lines.index\\\",\\\"lines.product_id.name\\\",\\\"lines.qty\\\",\\\"lines.uom_id.name\\\",\\\"sale_id.number\\\"]\", \"show_page_no\": true, \"width\": \"\", \"height\": \"\", \"filename\": \"Picking List-{number}\", \"footer_height\": \"70\", \"page_margin_top\": 10, \"page_margin_bottom\": 10, \"header_height\": \"150\"}, \"code\": \"async function on_load()\\n{\\n  var data=get_data();\\n  var GR=data.number;\\n  var cond=[[\\\"number\\\",\\\"=\\\",GR]];\\n  var field=[\\\"related_id\\\"];\\n  var res = await rpc_execute(\\\"stock.picking\\\",\\\"search_read\\\",[cond,field]);\\n  var po=res[0].related_id;\\n  var po_id=po[1];\\n  set_data({po_id:po});\\n}\"}, \"print_gr\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"lords-tailor-logo,FAyZMSDoAII=.png\", \"width\": \"233\", \"height\": \"100\", \"align\": \"right\", \"margin_right\": 85, \"margin_top\": 30}], \"min_height\": 0, \"margin_left\": 30, \"margin_right\": 30, \"header\": true}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"GOODS RECEIPT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"DELIVER TO\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_id.name}\\n\"}]}, \"font_size\": 16}]}], \"num_cols\": 3, \"col_widths\": [0.8, 0.05, 2], \"_col_widths\": \"[0.8,0.05,2]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"ADDRESS\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_id.default_address_id.address}\\n\"}]}, \"font_size\": 16}]}], \"num_cols\": 3, \"col_widths\": [0.8, 0.05, 2], \"_col_widths\": \"[0.8,0.05,2]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"ATTN TO\\u00a0\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_person_id.name}\\n\"}]}, \"font_size\": 16}]}], \"num_cols\": 3, \"col_widths\": [0.8, 0.05, 2], \"_col_widths\": \"[0.8,0.05,2]\"}], \"min_height\": null, \"margin_left\": 10, \"margin_right\": 10, \"border_width\": null, \"height\": \"150\", \"padding_top\": 20}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"PL NO.\\t\\nDATE\\nREF\\n\"}]}, \"height\": \"150\", \"border_top_width\": null, \"border_left_width\": null, \"border_bottom_width\": null, \"font_size\": 16, \"padding_left\": 10, \"padding_top\": 20}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"height\": \"150\", \"border_top_width\": null, \"border_bottom_width\": null, \"font_size\": 16, \"padding_right\": 5, \"padding_top\": 20}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \" \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{date}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{ref}\"}, {\"insert\": \"\\n\"}]}, \"height\": \"150\", \"border_top_width\": null, \"border_right_width\": null, \"border_bottom_width\": null, \"font_size\": 16, \"padding_top\": 20}]}], \"num_cols\": 3, \"col_widths\": [0.8, 0.05, 2], \"_col_widths\": \"[0.8,0.05,2]\"}], \"min_height\": null, \"margin_right\": 10, \"margin_left\": 10, \"border_width\": null, \"height\": \"150\"}]}], \"num_cols\": 2, \"col_widths\": [2, 1.5], \"margin_left\": 15, \"margin_right\": 0, \"margin_top\": 20, \"_col_widths\": \"[2,1.5]\"}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"NO\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"CODE\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"DESCRIPTION\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"QTY\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"UoM\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"LOT/SERIAL NUMBER\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"FROM\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"TO\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product_id.code}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product_id.name}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{uom_id.name}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{lot_id.number}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{location_from_id.name}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{location_to_id.name}\\n\"}]}}]], \"num_cols\": 8, \"num_rows\": null, \"_col_widths\": \"[1,2,2,1,1,2,1,1]\", \"col_widths\": [1, 2, 2, 1, 1, 2, 1, 1], \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 10, \"table_bordered\": true, \"table_striped\": false, \"field_rows\": \"lines\", \"border_width\": 1, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"vertical_align\": \"top\"}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Qty: {total_qty}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 20, \"margin_left\": 20}], \"min_height\": 40}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Comment: {other_info}\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Received The Above Goods In Good Order And Condition.\"}, {\"insert\": \"\\n\"}]}, \"border_bottom_width\": 1, \"margin_top\": 30}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"GOODS COLLECT BY:\\n\"}]}}, {\"type\": \"box\", \"children\": [], \"min_height\": 50, \"border_bottom_width\": 1, \"margin_right\": 55, \"margin_top\": 40}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Signature\\n\"}]}}], \"min_height\": 50}], \"min_height\": 50}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"GOODS CHECK BY:\\n\"}]}, \"margin_left\": 5}, {\"type\": \"box\", \"children\": [], \"min_height\": 50, \"margin_left\": 5, \"border_bottom_width\": 1, \"margin_right\": 60, \"margin_top\": 40}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Signature:\\n\"}]}, \"margin_left\": 5}], \"min_height\": 50}], \"min_height\": 50}]}], \"col_widths\": [1, 1]}], \"min_height\": 50, \"margin_top\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [], \"min_height\": 50, \"margin_left\": null, \"margin_right\": null}]}, {\"children\": [{\"type\": \"box\", \"children\": [], \"min_height\": 50}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": null, \"margin_right\": null}, {\"type\": \"box\", \"children\": [], \"min_height\": 50}], \"min_height\": 50, \"border_top_width\": 0, \"footer\": false, \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 100, \"page_break_inside_avoid\": true}], \"min_height\": 50}], \"min_height\": 50, \"margin_left\": 30, \"margin_right\": 30}], \"min_height\": 50, \"margin_left\": 30, \"margin_top\": 30, \"margin_right\": 30, \"margin_bottom\": 30}], \"fields\": \"[\\\"lines.product_id.description\\\",\\\"delivery_slot_id.name\\\",\\\"ref\\\",\\\"total_qty\\\",\\\"other_info\\\",\\\"lines.location_from_id.name\\\",\\\"lines.location_to_id.name\\\",\\\"lines.lot_id.number\\\",\\\"lines.product_id.code\\\",\\\"contact_id.name\\\",\\\"contact_id.default_address_id.address\\\",\\\"contact_person_id.name\\\",\\\"number\\\",\\\"date\\\",\\\"contact_id.code\\\",\\\"related_id\\\",\\\"lines.index\\\",\\\"lines.product_id.name\\\",\\\"lines.qty\\\",\\\"lines.uom_id.name\\\",\\\"sale_id.number\\\"]\", \"show_page_no\": true, \"width\": \"\", \"height\": \"\", \"filename\": \"Picking List-{number}\", \"footer_height\": \"70\", \"page_margin_top\": 10, \"page_margin_bottom\": 10, \"header_height\": \"150\"}, \"code\": \"/*\\nfunction on_load() {\\n  var data = get_data();\\n  var lines = data.lines;\\n  _.forEach(lines,o=>{\\n    if(o.qty2 && o.uom2_id) {\\n      o.qty = o.qty2;\\n      o.uom_id.name = o.uom2_id.name;\\n    };\\n  });\\n  set_data();\\n}\\n*/\"}, \"print_gt\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"lords-tailor-logo,FAyZMSDoAII=.png\", \"width\": \"233\", \"height\": \"100\", \"align\": \"right\", \"margin_right\": 85, \"margin_top\": 30}], \"min_height\": 0, \"margin_left\": 30, \"margin_right\": 30, \"header\": true}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"GOODS TRANSFER RECEIPT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"DELIVER TO\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_id.name}\\n\"}]}, \"font_size\": 16}]}], \"num_cols\": 3, \"col_widths\": [0.8, 0.05, 2], \"_col_widths\": \"[0.8,0.05,2]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"ADDRESS\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_id.default_address_id.address}\\n\"}]}, \"font_size\": 16}]}], \"num_cols\": 3, \"col_widths\": [0.8, 0.05, 2], \"_col_widths\": \"[0.8,0.05,2]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"ATTN TO\\u00a0\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_person_id.name}\\n\"}]}, \"font_size\": 16}]}], \"num_cols\": 3, \"col_widths\": [0.8, 0.05, 2], \"_col_widths\": \"[0.8,0.05,2]\"}], \"min_height\": null, \"margin_left\": 10, \"margin_right\": 10, \"border_width\": null, \"height\": \"150\", \"padding_top\": 20}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"PL NO.\\t\\nDATE\\nREF\\n\"}]}, \"height\": \"150\", \"border_top_width\": null, \"border_left_width\": null, \"border_bottom_width\": null, \"font_size\": 16, \"padding_left\": 10, \"padding_top\": 20}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"height\": \"150\", \"border_top_width\": null, \"border_bottom_width\": null, \"font_size\": 16, \"padding_right\": 5, \"padding_top\": 20}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \" \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{date}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{ref}\"}, {\"insert\": \"\\n\"}]}, \"height\": \"150\", \"border_top_width\": null, \"border_right_width\": null, \"border_bottom_width\": null, \"font_size\": 16, \"padding_top\": 20}]}], \"num_cols\": 3, \"col_widths\": [0.8, 0.05, 2], \"_col_widths\": \"[0.8,0.05,2]\"}], \"min_height\": null, \"margin_right\": 10, \"margin_left\": 10, \"border_width\": null, \"height\": \"150\"}]}], \"num_cols\": 2, \"col_widths\": [2, 1.5], \"margin_left\": 15, \"margin_right\": 0, \"margin_top\": 20, \"_col_widths\": \"[2,1.5]\"}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"NO\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"CODE\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"DESCRIPTION\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"QTY\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"UoM\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"LOT/SERIAL NUMBER\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"FROM\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"TO\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product_id.code}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product_id.name}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{uom_id.name}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{lot_id.number}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{location_from_id.name}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{location_to_id.name}\\n\"}]}, \"font_size\": 16}]], \"num_cols\": 8, \"num_rows\": null, \"_col_widths\": \"[1,2,2,1,1,2,1,1]\", \"col_widths\": [1, 2, 2, 1, 1, 2, 1, 1], \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 10, \"table_bordered\": true, \"table_striped\": false, \"field_rows\": \"lines\", \"border_width\": 1, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"vertical_align\": \"top\"}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Qty: {total_qty}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 20, \"margin_left\": 20}], \"min_height\": 40}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Comment: {other_info}\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Transferred The Above Goods In Good Order And Condition.\"}, {\"insert\": \"\\n\"}]}, \"border_bottom_width\": 1, \"margin_top\": 30}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"GOODS COLLECT BY:\\n\"}]}}, {\"type\": \"box\", \"children\": [], \"min_height\": 50, \"border_bottom_width\": 1, \"margin_right\": 55, \"margin_top\": 40}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Signature\\n\"}]}}], \"min_height\": 50}], \"min_height\": 50}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"GOODS CHECK BY:\\n\"}]}, \"margin_left\": 5}, {\"type\": \"box\", \"children\": [], \"min_height\": 50, \"margin_left\": 5, \"border_bottom_width\": 1, \"margin_right\": 60, \"margin_top\": 40}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Signature:\\n\"}]}, \"margin_left\": 5}], \"min_height\": 50}], \"min_height\": 50}]}], \"col_widths\": [1, 1]}], \"min_height\": 50, \"margin_top\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [], \"min_height\": 50, \"margin_left\": null, \"margin_right\": null}]}, {\"children\": [{\"type\": \"box\", \"children\": [], \"min_height\": 50}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": null, \"margin_right\": null}, {\"type\": \"box\", \"children\": [], \"min_height\": 50}], \"min_height\": 50, \"border_top_width\": 0, \"footer\": false, \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 100, \"page_break_inside_avoid\": true}], \"min_height\": 50}], \"min_height\": 50, \"margin_left\": 30, \"margin_right\": 30}], \"min_height\": 50, \"margin_left\": 30, \"margin_top\": 30, \"margin_right\": 30, \"margin_bottom\": 30}], \"fields\": \"[\\\"lines.product_id.description\\\",\\\"delivery_slot_id.name\\\",\\\"ref\\\",\\\"total_qty\\\",\\\"other_info\\\",\\\"lines.location_from_id.name\\\",\\\"lines.location_to_id.name\\\",\\\"lines.lot_id.number\\\",\\\"lines.product_id.code\\\",\\\"contact_id.name\\\",\\\"contact_id.default_address_id.address\\\",\\\"contact_person_id.name\\\",\\\"number\\\",\\\"date\\\",\\\"contact_id.code\\\",\\\"related_id\\\",\\\"lines.index\\\",\\\"lines.product_id.name\\\",\\\"lines.qty\\\",\\\"lines.uom_id.name\\\",\\\"sale_id.number\\\"]\", \"show_page_no\": true, \"width\": \"\", \"height\": \"\", \"filename\": \"Picking List-{number}\", \"footer_height\": \"70\", \"page_margin_top\": 10, \"page_margin_bottom\": 10, \"header_height\": \"150\"}, \"code\": null}, \"analysis_reports\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Inventory Analysis\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 20, \"font_bold\": true, \"color\": \"#ffffff\", \"margin_top\": null, \"padding_top\": 5}, {\"type\": \"box\", \"children\": [], \"min_height\": 50, \"footer\": true, \"background_color\": \"#ffffff\"}], \"min_height\": 50, \"background_color\": \"#00b2ea\"}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#ffffff\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Stock Value by Warehouse\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 5}], \"min_height\": 20, \"background_color\": \"#7b7474\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"date\", \"model\": \"\", \"name\": \"date1\", \"placeholder\": \"Date\", \"_selection\": \"\", \"selection\": null, \"on_change\": \"\", \"margin_left\": 10, \"margin_right\": 5, \"align\": \"right\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"GEN\", \"width\": \"100\", \"height\": \"35\", \"on_click\": \"onchange_month1()\", \"align\": \"left\", \"font_bold\": true, \"margin_left\": 5, \"background_color\": \"#d0f5f4\", \"color\": \"#1559f7\"}]}], \"num_cols\": 3, \"col_widths\": [2, 0.8, 0.5], \"_col_widths\": \"[2,0.8,0.5]\"}], \"min_height\": 20, \"background_color\": \"#ffffff\", \"padding_right\": null, \"width\": \"\", \"margin_right\": 20}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#ffffff\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Inventory by Warehouse\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 5}], \"min_height\": 20, \"background_color\": \"#7b7474\"}], \"min_height\": 50}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"date\", \"model\": \"\", \"name\": \"date2\", \"placeholder\": \"Date\", \"_selection\": \"\", \"selection\": null, \"on_change\": \"\", \"margin_left\": 10, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"button\", \"text\": \"GEN\", \"width\": \"100\", \"height\": \"35\", \"on_click\": \"onchange_month2()\", \"align\": \"left\", \"font_bold\": true, \"margin_left\": 5, \"background_color\": \"#d0f5f4\", \"color\": \"#1559f7\", \"margin_right\": 5}]}], \"num_cols\": 3, \"col_widths\": [2, 0.8, 0.5], \"_col_widths\": \"[2,0.8,0.5]\"}], \"min_height\": 20, \"background_color\": \"#ffffff\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"chart\", \"chart_type\": \"bar\", \"name\": \"chart_data1\", \"chart_data\": \"chart_data1\"}]}, {\"children\": [{\"type\": \"chart\", \"chart_type\": \"bar\", \"chart_data\": \"chart_data2\", \"xaxis_type\": \"datetime\", \"model\": \"\", \"group_fields\": \"\", \"agg_fields\": \"\"}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 10}], \"min_height\": 50}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": []}, {\"children\": []}], \"col_widths\": [1, 1]}], \"min_height\": 50}]}, \"code\": \"async function on_load()\\n{\\n\\n  var date=moment().format(\\\"YYYY-MM-DD\\\");\\n  console.log(\\\"ddd\\\",date);\\n  set_data({date1:date,\\n            date2:date,\\n           });\\n  await onchange_month1();\\n  await onchange_month2();\\n  \\n} \\n\\nasync function onchange_month1()\\n{\\n  var data=get_data();\\n  if(!data.date1) throw \\\"Missing Date!\\\";\\n  var date1=data.date1;\\n  var chart_data=await cal_stock_value(date1);\\n  set_data({chart_data1:chart_data});\\n  console.log(\\\"xxx\\\",chart_data);\\n}\\n\\nasync function onchange_month2()\\n{\\n  var data=get_data();\\n  if(!data.date2) throw \\\"Missing Date!\\\";\\n  var date2=data.date2;\\n  var chart_data=await cal_stock_qty(date2);\\n  set_data({chart_data2:chart_data});\\n  console.log(\\\"xxx\\\",chart_data);\\n}\\n\\nasync function cal_stock_value(date1)\\n{\\n  var array=[];\\n  var loc_id=[];\\n  //var loc_id=[17,16,4,15];\\n  var field=[\\\"code\\\"];\\n  var cond=[[\\\"type\\\",\\\"=\\\",\\\"internal\\\"]];\\n  var loc_res=await rpc_execute(\\\"stock.location\\\",\\\"search_read_path\\\",[cond,field]);\\n  for(var i=0;i\n                                                                                            <loc_res.length;i++)\\n  {\\n    loc_id.push(loc_res[i].id);\\n  }\\n  console.log(\\\"sss\\\",loc_id);\\n  const promises = _.map(loc_id,async l=>{\\n   var res=await rpc_execute(\\\"report.stock.summary\\\",\\\"create\\\",[{location_id:l, date_from:date1, date_to:date1}]);\\n    var get=await rpc_execute(\\\"report.stock.summary\\\",\\\"get_report_data\\\",[[res]],{context: {limit: 1000, offset: 0}});\\n    var loc_name=get.location_id[1];\\n    var amt=get.total_close_amt;\\n     array.push([loc_name,amt]);\\n  });\\n  await Promise.all(promises);\\n  return array;\\n  //console.log(\\\"xxx\\\",get1.location_id[1]);\\n}\\n\\nasync function cal_stock_qty(date2)\\n{\\n  var array=[];\\n  var loc_id=[];\\n  //var loc_id=[17,16,4,15];\\n  var field=[\\\"code\\\"];\\n  var cond=[[\\\"type\\\",\\\"=\\\",\\\"internal\\\"]];\\n  var loc_res=await rpc_execute(\\\"stock.location\\\",\\\"search_read_path\\\",[cond,field]);\\n  for(var i=0;i<loc_res.length;i++)\\n  {\\n    loc_id.push(loc_res[i].id);\\n  }\\n  console.log(\\\"sss\\\",loc_id);\\n  const promises = _.map(loc_id,async l=>{\\n   var res=await rpc_execute(\\\"report.stock.summary\\\",\\\"create\\\",[{location_id:l, date_from:date2, date_to:date2}]);\\n    var get=await rpc_execute(\\\"report.stock.summary\\\",\\\"get_report_data\\\",[[res]],{context: {limit: 1000, offset: 0}});\\n    var loc_name=get.location_id[1];\\n    var qty=get.total_close_qty;\\n     array.push([loc_name,qty]);\\n  });\\n  await Promise.all(promises);\\n  return array;\\n  //console.log(\\\"xxx\\\",get1.location_id[1]);\\n}\"}, \"inventory_setting\": {\"layout\": {\"elements\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Transaction Type\\n\"}]}}, {\"type\": \"field\", \"name\": \"gr_transaction_type\", \"field_type\": \"checkbox\", \"on_change\": \"onchange_selection()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1.1\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Goods with pre-loaded GR, selection by\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"name\": \"pre_generate_gr\", \"on_change\": \"onchange_selection()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1.1.1\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Dropdown\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"name\": \"dropdown\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1.1.2\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Scanning barcode\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"name\": \"scan_barcode\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1.2\\n\"}]}}, {\"type\": \"text\"}], [], [], [], [], []], \"num_rows\": 10, \"num_cols\": 3, \"_col_widths\": \"[1,10,3]\", \"col_widths\": [1, 10, 3], \"margin_left\": 10, \"margin_top\": 10, \"margin_right\": 10, \"margin_bottom\": 10}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"button\", \"text\": \"Read data\", \"on_click\": \"read_data()\"}]}], \"col_widths\": [1, 1]}]}, \"code\": \"function onchange_selection(){\\n  var data = get_data();\\n  log(\\\"gr_transaction_type\\\",data.gr_transaction_type);\\n  log(\\\"pre_generate_gr\\\",data.pre_generate_gr);\\n  submit();\\n}\\n\\nfunction submit(){\\n  var data = get_data();\\n  var vals=get_field_values();\\n  ///log(\\\"typeof vals\\\",typeof vals);\\n  for (let key in vals) {\\n    var val = data[key]; /// must use \\\"data\\\" because vals is not updated\\n    let component = get_component(key); \\n    let field_type = component.props.el_props.field_type;\\n    ///log(\\\"field_type\\\",field_type);\\n    ///log(\\\"typeof field_type\\\",typeof field_type);\\n    ///log(\\\"val\\\",val);\\n    if (field_type == \\\"checkbox\\\" && !val) val = false;\\n  }\\n}\\n\\nfunction read_data(){\\n  var data = get_data();\\n  console.log(\\\"\\\\n\\\");\\n  for (let key in data) {\\n    log(key,data[key]);\\n  }   \\n  console.log(\\\"\\\\n\\\");\\n}\\n\\n\\nfunction log(varName,msg){\\n  console.log(`LOG ${varName} => ${msg}`);\\n}\"}, \"print_invoice\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9772 / 012-287 2735 \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": accounts@smartb.co\\n\"}]}, \"font_size\": 17, \"margin_top\": 20}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-08 (1) (1),nZC-wVTfTs4=.png\", \"image_size\": \"\", \"margin_left\": 300, \"margin_right\": null, \"margin_bottom\": 20, \"height\": \"\", \"width\": \"\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"font\": \"serif\", \"bold\": true}, \"insert\": \"INVOICE \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 10}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 15, \"margin_bottom\": 10, \"margin_top\": 20}], \"min_height\": 50, \"margin_top\": null, \"margin_bottom\": 20, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILLING DETAILS\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n{bill_address_id.address}\\n{bill_address_id.postal_code}\\n{bill_address_id.city}, {bill_address_id.province_id.name}, {bill_address_id.country_id.name}\\n{contact_id.phone}\\n\"}]}, \"margin_left\": 18, \"margin_right\": null, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE DETAILS\"}, {\"insert\": \"\\n\"}]}, \"margin_right\": 30, \"margin_left\": 3}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Invoice Number\\nDate\\nDue Date\\nAs Quoted\\nMemo\\n\"}]}, \"margin_top\": 10, \"margin_left\": 3}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n:\\n:\\n\"}]}, \"margin_right\": 50, \"margin_left\": null, \"margin_top\": 30}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\n{due_date}\\n{ref}\\n{memo}\\n\"}]}, \"margin_left\": null, \"margin_top\": 30}]}], \"num_cols\": 3, \"col_widths\": [2.5, 1, 3], \"margin_right\": null, \"_col_widths\": \"[2.5,1,3]\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 30, \"margin_top\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Amount (RM)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 3, \"num_rows\": 2, \"margin_left\": 30, \"margin_right\": 20, \"_col_widths\": \"[1,5,2]\", \"col_widths\": [1, 5, 2], \"margin_top\": 20, \"table_bordered\": true, \"field_rows\": \"lines\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 800, \"margin_right\": 40, \"num_rows\": 3, \"_col_widths\": \"[1.2,2.5]\", \"col_widths\": [1.2, 2.5], \"table_bordered\": false, \"table_striped\": false, \"table_hover\": false, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Terms:\\u00a0\"}, {\"insert\": \"\\nDelivery time would vary pending on the requirement.\\n\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Note:\"}, {\"insert\": \"\\nPlease use the Invoice Number as bank reference when making payment. If paying by cheque, please make it payable to SMARTB SOLUTIONS SDN. BHD. Your cooperation is much appreciated.\\n\"}]}, \"border_top_width\": 2, \"margin_left\": 10}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"name\": \"Company Details\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"margin_left\": 50}]}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 30, \"margin_right\": 30, \"margin_bottom\": 20, \"margin_top\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Company Name : SmartB Solutions Sdn. Bhd. (1240771-A)\\nService Tax Reg No: \"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"B16-2202-32000017\"}, {\"insert\": \"\\nContact :+6 03-7622 9772 / 012-287 2735 \\n\"}]}, \"margin_left\": 5, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name: Malayan Banking Berhad (Maybank)\\nBank Account No: 514196689465\\nSwift Code: MBBEMYKL\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 30, \"margin_right\": 30, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 30, \"margin_right\": 30, \"margin_top\": 30}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}], \"fields\": \"[\\\"contact_id.name\\\",\\\"bill_address_id.address\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.province_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"due_date\\\",\\\"ref\\\",\\\"memo\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]\", \"page_margin_top\": 15, \"page_margin_left\": 5, \"page_margin_right\": 5, \"page_margin_bottom\": 15, \"filename\": \"Invoice-{number}\"}, \"code\": null}, \"print_invoice_DO\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan \\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9772 / 012-287 2735 \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": accounts@smartb.co\\n\"}]}, \"font_size\": 17, \"margin_top\": 20}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-08 (1) (1),2_8i8j6vmtQ=.png\", \"margin_left\": 300, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"DELIVERY ORDER\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILLING DETAILS\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n{bill_address_id.address}\\n{bill_address_id.postal_code}\\n{bill_address_id.city}, {bill_address_id.province_id.name}, {bill_address_id.country_id.name}\\n{contact_id.phone}\\n\"}]}, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DO DETAILS\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 70}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Delivery Order \\nDate \\nPayment Term\\nAs Quoted \\nMemo \\n\"}]}, \"margin_right\": null, \"margin_left\": 20}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n:\\n:\\n\"}]}, \"margin_left\": 40}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\nC.O.D.\\n{ref}\\n{memo}\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 4], \"margin_top\": 10, \"margin_left\": 50, \"_col_widths\": \"[3,1,4]\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20, \"_col_widths\": \"[3,1,3]\", \"margin_top\": 20}], \"min_height\": 50}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Qty\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Unit Price (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Amount(RM)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 5, \"num_rows\": 2, \"_col_widths\": \"[1,4,1,1.2,2]\", \"col_widths\": [1, 4, 1, 1.2, 2], \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 30, \"table_bordered\": true, \"field_rows\": \"lines\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 800, \"margin_right\": 20, \"num_cols\": 2, \"num_rows\": 3, \"field_rows\": \"Lines\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"   Company Name : SmartB Solutions Sdn. Bhd.\\n   Company  Reg :1240771-A\\n   Contact :+6 03-7622 9772 / 012-287 2735\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 50, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 30}], \"fields\": \"[\\\"contact_id.name\\\",\\\"bill_address_id.address\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.province_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"ref\\\",\\\"memo\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]\", \"page_margin_top\": 15, \"page_margin_left\": 5, \"page_margin_right\": 5, \"page_margin_bottom\": 15, \"filename\": \"Invoice-{number}\"}, \"code\": null}, \"print_invoice_full_payment\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9772 / 012-287 2735 \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": accounts@smartb.co\\n\"}]}, \"font_size\": 17, \"margin_top\": 20}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-08 (1) (1),jKB8YCcG-oM=.png\", \"image_size\": \"\", \"margin_left\": 300, \"margin_right\": null, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"font\": \"serif\", \"bold\": true}, \"insert\": \"INVOICE \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 10}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 15, \"margin_bottom\": 10, \"margin_top\": 20}], \"min_height\": 50, \"margin_top\": null, \"margin_bottom\": 20, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILLING DETAILS\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n{bill_address_id.address}\\n{bill_address_id.postal_code}\\n{bill_address_id.city}, {bill_address_id.province_id.name}, {bill_address_id.country_id.name}\\n{contact_id.phone}\\n\"}]}, \"margin_left\": 18, \"margin_right\": null, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE DETAILS\"}, {\"insert\": \"\\n\"}]}, \"margin_right\": 30, \"margin_left\": 3}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Invoice Number\\nDate\\nPayment Term\\nAs Quoted\\nMemo\\n\"}]}, \"margin_top\": 10, \"margin_left\": 3}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n:\\n:\\n\"}]}, \"margin_right\": 50, \"margin_left\": null, \"margin_top\": 30}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\n{pay_term_id.name}\\n{ref}\\n{memo}\\n\"}]}, \"margin_left\": null, \"margin_top\": 30}]}], \"num_cols\": 3, \"col_widths\": [2.5, 1, 3], \"margin_right\": null, \"_col_widths\": \"[2.5,1,3]\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 30, \"margin_top\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Amount (RM)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 3, \"num_rows\": 2, \"margin_left\": 30, \"margin_right\": 20, \"_col_widths\": \"[1,5,2]\", \"col_widths\": [1, 5, 2], \"margin_top\": 20, \"table_bordered\": true, \"field_rows\": \"lines\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 800, \"margin_right\": 40, \"num_rows\": 3, \"_col_widths\": \"[1.2,2.5]\", \"col_widths\": [1.2, 2.5], \"table_bordered\": false, \"table_striped\": false, \"table_hover\": false, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Note:\"}, {\"insert\": \"\\n-Please make payment within 14 days or SmartB Solutions has the right to incur a penalty fee of 2.5% (of invoice amount) per calendar month from the due date.\\n-Please use the INVOICE NUMBER as bank reference when making payment. If paying by cheque, please make it payable to\\u00a0SMARTB SOLUTIONS SDN. BHD. Your cooperation is much appreciated.\\n\"}]}, \"border_top_width\": 2, \"margin_left\": 10}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"name\": \"Company Details\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"margin_left\": 50}]}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 30, \"margin_right\": 30, \"margin_bottom\": 20, \"margin_top\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Company Name : SmartB Solutions Sdn. Bhd. (1240771-A)\\nService Tax Reg No: \"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"B16-2202-32000017\"}, {\"insert\": \"\\nContact :+6 03-7622 9772 / 012-287 2735 \\n\"}]}, \"margin_left\": 5, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name: Malayan Banking Berhad (Maybank)\\nBank Account No: 514196689465\\nSwift Code: MBBEMYKL\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 30, \"margin_right\": 30, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 30, \"margin_right\": 30, \"margin_top\": 30}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}], \"fields\": \"[\\\"contact_id.name\\\",\\\"pay_term_id.name\\\",\\\"bill_address_id.address\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.province_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"due_date\\\",\\\"ref\\\",\\\"memo\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]\", \"page_margin_top\": 15, \"page_margin_left\": 5, \"page_margin_right\": 5, \"page_margin_bottom\": 15, \"filename\": \"Invoice-{number}\"}, \"code\": null}, \"print_invoice_full_payment2\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9772 / 012-287 2735 \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": accounts@smartb.co\\n\"}]}, \"font_size\": 17, \"margin_top\": 20}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-08 (1) (1),jKB8YCcG-oM=.png\", \"image_size\": \"\", \"margin_left\": 300, \"margin_right\": null, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"font\": \"serif\", \"bold\": true}, \"insert\": \"INVOICE \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 10}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 15, \"margin_bottom\": 10, \"margin_top\": 20}], \"min_height\": 50, \"margin_top\": null, \"margin_bottom\": 20, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILLING DETAILS\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n{bill_address_id.address}\\n{bill_address_id.postal_code}\\n{bill_address_id.city}, {bill_address_id.province_id.name}, {bill_address_id.country_id.name}\\n{contact_id.phone}\\n\"}]}, \"margin_left\": 18, \"margin_right\": null, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE DETAILS\"}, {\"insert\": \"\\n\"}]}, \"margin_right\": 30, \"margin_left\": 3}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Invoice Number\\nDate\\nPayment Term\\nAs Quoted\\nMemo\\n\"}]}, \"margin_top\": 10, \"margin_left\": 3}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n:\\n:\\n\"}]}, \"margin_right\": 50, \"margin_left\": null, \"margin_top\": 30}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\n{pay_term_id.name}\\n{ref}\\n{memo}\\n\"}]}, \"margin_left\": null, \"margin_top\": 30}]}], \"num_cols\": 3, \"col_widths\": [2.5, 1, 3], \"margin_right\": null, \"_col_widths\": \"[2.5,1,3]\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 30, \"margin_top\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Amount (RM)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 3, \"num_rows\": 2, \"margin_left\": 30, \"margin_right\": 20, \"_col_widths\": \"[1,5,2]\", \"col_widths\": [1, 5, 2], \"margin_top\": 20, \"table_bordered\": true, \"field_rows\": \"lines\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 800, \"margin_right\": 40, \"num_rows\": 3, \"_col_widths\": \"[1.2,2.5]\", \"col_widths\": [1.2, 2.5], \"table_bordered\": false, \"table_striped\": false, \"table_hover\": false, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Note:\"}, {\"insert\": \"\\n-Please use the INVOICE NUMBER as bank reference when making payment. If paying by cheque, please make it payable to\\u00a0SMARTB SOLUTIONS SDN. BHD. Your cooperation is much appreciated.\\n\"}]}, \"border_top_width\": 2, \"margin_left\": 10}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"name\": \"Company Details\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"margin_left\": 50}]}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 30, \"margin_right\": 30, \"margin_bottom\": 20, \"margin_top\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Company Name : SmartB Solutions Sdn. Bhd. (1240771-A)\\nService Tax Reg No: \"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"B16-2202-32000017\"}, {\"insert\": \"\\nContact :+6 03-7622 9772 / 012-287 2735 \\n\"}]}, \"margin_left\": 5, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name: Malayan Banking Berhad (Maybank)\\nBank Account No: 514196689465\\nSwift Code: MBBEMYKL\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 30, \"margin_right\": 30, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 30, \"margin_right\": 30, \"margin_top\": 30}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}], \"fields\": \"[\\\"contact_id.name\\\",\\\"pay_term_id.name\\\",\\\"bill_address_id.address\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.province_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"due_date\\\",\\\"ref\\\",\\\"memo\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]\", \"page_margin_top\": 15, \"page_margin_left\": 5, \"page_margin_right\": 5, \"page_margin_bottom\": 15, \"filename\": \"Invoice-{number}\"}, \"code\": null}, \"print_invoice_full_payment_shoppe\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9772 / 012-287 2735 \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": accounts@smartb.co\\n\"}]}, \"font_size\": 17, \"margin_top\": 20}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-08 (1) (1),jKB8YCcG-oM=.png\", \"image_size\": \"\", \"margin_left\": 300, \"margin_right\": null, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"font\": \"serif\", \"bold\": true}, \"insert\": \"INVOICE \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 10}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 15, \"margin_bottom\": 10, \"margin_top\": 20}], \"min_height\": 50, \"margin_top\": null, \"margin_bottom\": 20, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILLING DETAILS\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n{bill_address_id.address}\\n{bill_address_id.postal_code}\\n{bill_address_id.city}, {bill_address_id.province_id.name}, {bill_address_id.country_id.name}\\n{contact_id.phone}\\n\"}]}, \"margin_left\": 18, \"margin_right\": null, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE DETAILS\"}, {\"insert\": \"\\n\"}]}, \"margin_right\": 30, \"margin_left\": 3}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Invoice Number\\nDate\\nPayment Term\\nAs Quoted\\nMemo\\n\"}]}, \"margin_top\": 10, \"margin_left\": 3}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n:\\n:\\n\"}]}, \"margin_right\": 50, \"margin_left\": null, \"margin_top\": 30}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\n{pay_term_id.name}\\n{ref}\\n{memo}\\n\"}]}, \"margin_left\": null, \"margin_top\": 30}]}], \"num_cols\": 3, \"col_widths\": [2.5, 1, 3], \"margin_right\": null, \"_col_widths\": \"[2.5,1,3]\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 30, \"margin_top\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Product\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Amount (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Unit Price (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{[product_id.code]} {product_id.name}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}]], \"num_cols\": 4, \"num_rows\": 2, \"margin_left\": 30, \"margin_right\": 20, \"_col_widths\": \"[1,5,5,2]\", \"col_widths\": [1, 5, 5, 2], \"margin_top\": 20, \"table_bordered\": true, \"field_rows\": \"lines\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Remarks:\\n{remarks}\\n\"}]}, \"padding_left\": null, \"padding_top\": null, \"padding_bottom\": null, \"margin_left\": 18, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 400, \"margin_right\": null, \"num_rows\": 3, \"_col_widths\": \"[1.2,2.5]\", \"col_widths\": [1.2, 2.5], \"table_bordered\": false, \"table_striped\": false, \"table_hover\": false, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_bottom\": 20}]}], \"num_cols\": 2, \"col_widths\": [1, 1.5], \"margin_left\": 20, \"margin_right\": 30, \"_col_widths\": \"[1,1.5]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Note:\"}, {\"insert\": \"\\n-Please make payment within 14 days or SmartB Solutions has the right to incur a penalty fee of 2.5% (of invoice amount) per calendar month from the due date.\\n-Please use the INVOICE NUMBER as bank reference when making payment. If paying by cheque, please make it payable to\\u00a0SMARTB SOLUTIONS SDN. BHD. Your cooperation is much appreciated.\\n\"}]}, \"border_top_width\": 2, \"margin_left\": 10}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"_col_widths\": \"[1]\"}], \"min_height\": 50, \"page_break_inside_avoid\": true, \"page_break_after\": false}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"name\": \"Company Details\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"margin_left\": 50}]}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 30, \"margin_right\": 30, \"margin_bottom\": 20, \"margin_top\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Company Name: SmartB Solutions Sdn. Bhd.\\nCompany  Reg: 1240771-A\\nContact: +6 03-7622 9772 / 012-287 2735\\n\"}]}, \"margin_left\": 5, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name: Malayan Banking Berhad (Maybank)\\nBank Account No: 514196689465\\nSwift Code: MBBEMYKL\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 30, \"margin_right\": 30, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 30, \"margin_right\": 30, \"margin_top\": 30}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}], \"fields\": \"[\\\"lines.product_id.name\\\",\\\"lines.product_id.code\\\",\\\"remarks\\\",\\\"contact_id.name\\\",\\\"pay_term_id.name\\\",\\\"bill_address_id.address\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.province_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"due_date\\\",\\\"ref\\\",\\\"memo\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.amount\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]\", \"page_margin_top\": 15, \"page_margin_left\": 5, \"page_margin_right\": 5, \"page_margin_bottom\": 15, \"filename\": \"Invoice-{number}\"}, \"code\": null}, \"print_invoice_full_payment_v2\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9772 / 012-287 2735 \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": accounts@smartb.co\\n\"}]}, \"font_size\": 17, \"margin_top\": 20}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-08 (1) (1),jKB8YCcG-oM=.png\", \"image_size\": \"\", \"margin_left\": 300, \"margin_right\": null, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"font\": \"serif\", \"bold\": true}, \"insert\": \"INVOICE \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 10}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 15, \"margin_bottom\": 10, \"margin_top\": 20}], \"min_height\": 50, \"margin_top\": null, \"margin_bottom\": 20, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILLING DETAILS\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n{bill_address_id.address}\\n{bill_address_id.postal_code}\\n{bill_address_id.city}, {bill_address_id.province_id.name}, {bill_address_id.country_id.name}\\n{contact_id.phone}\\n\"}]}, \"margin_left\": 18, \"margin_right\": null, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE DETAILS\"}, {\"insert\": \"\\n\"}]}, \"margin_right\": 30, \"margin_left\": 3}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Invoice Number\\nDate\\nPayment Term\\nAs Quoted\\nMemo\\n\"}]}, \"margin_top\": 10, \"margin_left\": 3}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n:\\n:\\n\"}]}, \"margin_right\": 50, \"margin_left\": null, \"margin_top\": 30}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\n{pay_term_id.name}\\n{ref}\\n{memo}\\n\"}]}, \"margin_left\": null, \"margin_top\": 30}]}], \"num_cols\": 3, \"col_widths\": [2.5, 1, 3], \"margin_right\": null, \"_col_widths\": \"[2.5,1,3]\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 30, \"margin_top\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Qty\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Unit Price (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Amount (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 5, \"num_rows\": 2, \"margin_left\": 30, \"margin_right\": 20, \"_col_widths\": \"[1,5,1,2,2]\", \"col_widths\": [1, 5, 1, 2, 2], \"margin_top\": 20, \"table_bordered\": true, \"field_rows\": \"lines\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Remarks:\\n{remarks}\\n\"}]}, \"padding_left\": null, \"padding_top\": null, \"padding_bottom\": null, \"margin_left\": 18, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 400, \"margin_right\": null, \"num_rows\": 3, \"_col_widths\": \"[1.2,2.5]\", \"col_widths\": [1.2, 2.5], \"table_bordered\": false, \"table_striped\": false, \"table_hover\": false, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_bottom\": 20}]}], \"num_cols\": 2, \"col_widths\": [1, 1.5], \"margin_left\": 20, \"margin_right\": 30, \"_col_widths\": \"[1,1.5]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Note:\"}, {\"insert\": \"\\n-Please make payment within 14 days or SmartB Solutions has the right to incur a penalty fee of 2.5% (of invoice amount) per calendar month from the due date.\\n-Please use the INVOICE NUMBER as bank reference when making payment. If paying by cheque, please make it payable to\\u00a0SMARTB SOLUTIONS SDN. BHD. Your cooperation is much appreciated.\\n\"}]}, \"border_top_width\": 2, \"margin_left\": 10}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"_col_widths\": \"[1]\"}], \"min_height\": 50, \"page_break_inside_avoid\": true, \"page_break_after\": false}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"name\": \"Company Details\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"margin_left\": 50}]}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 30, \"margin_right\": 30, \"margin_bottom\": 20, \"margin_top\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Company Name: SmartB Solutions Sdn. Bhd.\\nCompany  Reg: 1240771-A\\nContact: +6 03-7622 9772 / 012-287 2735\\n\"}]}, \"margin_left\": 5, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name: Malayan Banking Berhad (Maybank)\\nBank Account No: 514196689465\\nSwift Code: MBBEMYKL\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 30, \"margin_right\": 30, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 30, \"margin_right\": 30, \"margin_top\": 30}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}], \"fields\": \"[\\\"remarks\\\",\\\"contact_id.name\\\",\\\"pay_term_id.name\\\",\\\"bill_address_id.address\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.province_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"due_date\\\",\\\"ref\\\",\\\"memo\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.amount\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]\", \"page_margin_top\": 15, \"page_margin_left\": 5, \"page_margin_right\": 5, \"page_margin_bottom\": 15, \"filename\": \"Invoice-{number}\"}, \"code\": null}, \"print_invoice_H\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9772 / 012-287 2735 \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": accounts@smartb.co\\n\"}]}, \"margin_top\": 20, \"font_size\": 17}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-08 (1) (1),T7sMDF-I6ug=.png\", \"margin_left\": 300, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"INVOICE\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILLING DETAILS \"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n{bill_address_id.address}\\n{bill_address_id.postal_code}\\n{bill_address_id.city}, {bill_address_id.province_id.name}, {bill_address_id.country_id.name}\\n{contact_id.phone}\\n\"}]}, \"margin_top\": 20}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE DETAILS\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Invoice Number\\nDate \\nPayment Term\\nAs Quoted \\nMemo\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n:\\n:\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\nC.O.D.\\n{ref}\\n{memo}\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 3], \"_col_widths\": \"[3,1,3]\", \"margin_top\": 20}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Quantity\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Discount (%)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Unit Price (RM)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Amount (RM)\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{discount}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\\n\"}]}}], [null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 20, \"margin_right\": 20, \"num_cols\": 6, \"num_rows\": 2, \"_col_widths\": \"[1,3,1,1.2,2,3]\", \"col_widths\": [1, 3, 1, 1.2, 2, 3], \"margin_top\": 40, \"field_rows\": \"lines\", \"table_bordered\": true}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 800, \"margin_right\": 20, \"field_rows\": \"lines \", \"num_rows\": 3}], \"min_height\": 50, \"width\": \"[1,4,1,1.2,2]\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Terms:\\u00a0\"}, {\"insert\": \"\\nFull payment is required in order to proceed with the implementation/system delivery.\\n\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Note:\"}, {\"insert\": \"\\nPlease use the Invoice Number as bank reference when making payment. If paying by cheque, please make it payable to SMARTB SOLUTIONS SDN. BHD. Your cooperation is much appreciated.\\n\"}]}, \"margin_top\": 30, \"margin_left\": 20, \"margin_right\": 20, \"border_top_width\": 2, \"margin_bottom\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Company Name : SmartB Solutions Sdn. Bhd.\\nCompany  Reg :1240771-A\\nContact :+6 03-7622 9772 / 012-287 2735\\n\"}]}, \"border_right_width\": 1, \"margin_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name: Malayan Banking Berhad (Maybank)\\nBank Account No: 514196689465\\nSwift Code: MBBEMYKL\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 50, \"margin_left\": 20, \"margin_right\": 20, \"border_top_width\": 1, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 30}], \"fields\": \"[\\\"contact_id.name\\\",\\\"bill_address_id.address\\\",\\\"lines.discount\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.province_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"ref\\\",\\\"memo\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]\", \"page_margin_top\": 15, \"page_margin_left\": 5, \"page_margin_right\": 5, \"page_margin_bottom\": 15, \"filename\": \"Invoice-{number}\"}, \"code\": null}, \"print_invoice_HZ\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9772 / 012-287 2735 \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": accounts@smartb.co\\n\"}]}, \"margin_top\": 20, \"font_size\": 17}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"Zeox2,INg5Lp-n6bQ=.jpeg\", \"margin_left\": 300, \"margin_bottom\": 20, \"align\": \"center\", \"width\": \"250\", \"height\": \"100\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"INVOICE\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILLING DETAILS \"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n{bill_address_id.address}\\n{bill_address_id.postal_code}\\n{bill_address_id.city}, {bill_address_id.province_id.name}, {bill_address_id.country_id.name}\\n{contact_id.phone}\\n\"}]}, \"margin_top\": 20}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE DETAILS\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Invoice Number\\nDate \\nPayment Term\\nAs Quoted \\nMemo\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n:\\n:\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\nC.O.D.\\n{ref}\\n{memo}\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 3], \"_col_widths\": \"[3,1,3]\", \"margin_top\": 20}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Quantity\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Unit Price (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Amount (RM)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 20, \"margin_right\": 20, \"num_cols\": 5, \"num_rows\": 2, \"_col_widths\": \"[1,4,1,1.2,2]\", \"col_widths\": [1, 4, 1, 1.2, 2], \"margin_top\": 40, \"field_rows\": \"lines\", \"table_bordered\": true}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 800, \"margin_right\": 20, \"field_rows\": \"lines \", \"num_rows\": 3}], \"min_height\": 50, \"width\": \"[1,4,1,1.2,2]\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Terms:\\u00a0\"}, {\"insert\": \"\\nFull payment is required in order to proceed with the implementation/system delivery.\\n\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Note:\"}, {\"insert\": \"\\nPlease use the Invoice Number as bank reference when making payment. If paying by cheque, please make it payable to SMARTB SOLUTIONS SDN. BHD. Your cooperation is much appreciated.\\n\"}]}, \"margin_top\": 30, \"margin_left\": 20, \"margin_right\": 20, \"border_top_width\": 2, \"margin_bottom\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Company Name : SmartB Solutions Sdn. Bhd.\\nCompany  Reg :1240771-A\\nContact :+6 03-7622 9772 / 012-287 2735\\n\"}]}, \"border_right_width\": 1, \"margin_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name : Maybank Islamic Berhad\\nBank Account No\\u00a0: 564191575042\\nSwift Code\\u00a0: \"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"MBISMYKL\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 50, \"margin_left\": 20, \"margin_right\": 20, \"border_top_width\": 1, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"*Zeekiot is a division under SmartB Solutions Sdn Bhd.\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 30}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"fields\": \"[\\\"contact_id.name\\\",\\\"bill_address_id.address\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.province_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"ref\\\",\\\"memo\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]\", \"page_margin_top\": 15, \"page_margin_left\": 5, \"page_margin_right\": 5, \"page_margin_bottom\": 15, \"filename\": \"Invoice-{number}\"}, \"code\": null}, \"print_invoice_lazada\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9772 / 012-287 2735 \\nLazada Account : Zeek Iot\\n\"}]}, \"margin_top\": 20, \"font_size\": 17}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"Zeox2,M9T9pMzK0TI=.jpeg\", \"margin_left\": 300, \"margin_bottom\": 20, \"align\": \"center\", \"width\": \"250\", \"height\": \"100\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"INVOICE\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILL TO / DELIVER TO\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{bill_address_id.name}\"}, {\"insert\": \"\\n{bill_address_id.address} {bill_address_id.postal_code} {bill_address_id.city}{bill_address_id.province_id.name} {bill_address_id.country_id.name}\\n{contact_id.phone}\\n\"}]}, \"margin_top\": 20}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE DETAILS\"}, {\"attributes\": {\"indent\": 2}, \"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Number \"}, {\"attributes\": {\"indent\": 2}, \"insert\": \"\\n\"}, {\"insert\": \"Date\"}, {\"attributes\": {\"indent\": 2}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\n\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 3], \"_col_widths\": \"[3,1,3]\", \"margin_top\": 20}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Quantity\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Unit Price (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Amount (RM)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 20, \"margin_right\": 20, \"num_cols\": 5, \"num_rows\": 2, \"_col_widths\": \"[1,4,1,1.2,2]\", \"col_widths\": [1, 4, 1, 1.2, 2], \"margin_top\": 40, \"field_rows\": \"lines\", \"table_bordered\": true}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 800, \"margin_right\": 20, \"field_rows\": \"lines \", \"num_rows\": 3}], \"min_height\": 50, \"width\": \"[1,4,1,1.2,2]\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Note:\"}, {\"insert\": \"\\nThis transaction is from shopee (Zeek Iot)\\n\"}]}, \"margin_top\": 30, \"margin_left\": 20, \"margin_right\": 20, \"border_top_width\": 2, \"margin_bottom\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Company Name : SmartB Solutions Sdn. Bhd.\\nCompany  Reg :1240771-A\\nContact :+6 03-7622 9772 / 012-287 2735\\n\"}]}, \"border_right_width\": 1, \"margin_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Payment Method : To Lazada\\nLazada Account Name\\u00a0: Zeek Iot\\n\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 50, \"margin_left\": 20, \"margin_right\": 20, \"border_top_width\": 1, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"*Zeek Iot is a division under SmartB Solutions Sdn Bhd.\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 30}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"fields\": \"[\\\"bill_address_id.name\\\",\\\"contact_id.name\\\",\\\"bill_address_id.address\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.province_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"ref\\\",\\\"memo\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]\", \"page_margin_top\": 15, \"page_margin_left\": 5, \"page_margin_right\": 5, \"page_margin_bottom\": 15, \"filename\": \"Invoice-{number}\"}, \"code\": null}, \"print_invoice_shopee\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9772 / 012-287 2735 \\nShopee Account : Zeek Iot\\n\"}]}, \"margin_top\": 20, \"font_size\": 17}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"Zeox2,mrCW2ZfUfco=.jpeg\", \"margin_left\": 300, \"margin_bottom\": 20, \"align\": \"center\", \"width\": \"250\", \"height\": \"100\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"INVOICE\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILL TO / DELIVER TO\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{bill_address_id.name}\"}, {\"insert\": \"\\n{bill_address_id.address},{bill_address_id.postal_code},{bill_address_id.city}, {bill_address_id.province_id.name}, {bill_address_id.country_id.name}\\n{contact_id.phone}\\n\"}]}, \"margin_top\": 20}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE DETAILS\"}, {\"attributes\": {\"indent\": 2}, \"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Number \"}, {\"attributes\": {\"indent\": 2}, \"insert\": \"\\n\"}, {\"insert\": \"Date\"}, {\"attributes\": {\"indent\": 2}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\n\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 3], \"_col_widths\": \"[3,1,3]\", \"margin_top\": 20}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Quantity\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Unit Price (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Amount (RM)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 20, \"margin_right\": 20, \"num_cols\": 5, \"num_rows\": 2, \"_col_widths\": \"[1,4,1,1.2,2]\", \"col_widths\": [1, 4, 1, 1.2, 2], \"margin_top\": 40, \"field_rows\": \"lines\", \"table_bordered\": true}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 800, \"margin_right\": 20, \"field_rows\": \"lines \", \"num_rows\": 3}], \"min_height\": 50, \"width\": \"[1,4,1,1.2,2]\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Note:\"}, {\"insert\": \"\\nThis transaction is from shopee (Zeek Iot)\\n\"}]}, \"margin_top\": 30, \"margin_left\": 20, \"margin_right\": 20, \"border_top_width\": 2, \"margin_bottom\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Company Name : SmartB Solutions Sdn. Bhd.\\nCompany  Reg :1240771-A\\nContact :+6 03-7622 9772 / 012-287 2735\\n\"}]}, \"border_right_width\": 1, \"margin_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Payment Method : To Shopee\\nShopee Account Name\\u00a0: Zeek Iot\\n\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 50, \"margin_left\": 20, \"margin_right\": 20, \"border_top_width\": 1, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"*Zeek Iot is a division under SmartB Solutions Sdn Bhd.\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 30}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"fields\": \"[\\\"bill_address_id.name\\\",\\\"contact_id.name\\\",\\\"bill_address_id.address\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.province_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"ref\\\",\\\"memo\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]\", \"page_margin_top\": 15, \"page_margin_left\": 5, \"page_margin_right\": 5, \"page_margin_bottom\": 15, \"filename\": \"Invoice-{number}\"}, \"code\": null}, \"print_invoice_Hatch\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor\\n \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9772 / 012-287 2735 \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": bookings@sixhatch.com\\n\"}]}, \"margin_top\": 20, \"font_size\": 17}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"Hatch Logo,RyvaiCdHu2U=,TxOwZq2Gsb4=.png\", \"margin_left\": 300, \"margin_bottom\": 20, \"width\": \"250\", \"height\": \"160\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"INVOICE\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILLING DETAILS \"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n{bill_address_id.address}\\n{bill_address_id.postal_code}\\n{bill_address_id.city}, {bill_address_id.province_id.name}, {bill_address_id.country_id.name}\\n{contact_id.phone}\\n\"}]}, \"margin_top\": 20}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE DETAILS\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Invoice Number\\nDate \\nDue Date\\nPayment Term\\nAs Quoted \\nMemo\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n:\\n:\\n:\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n{date}\\n{due_date}\\nC.O.D.\\n{pay_term_id.name}\\n{memo}\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 3], \"_col_widths\": \"[3,1,3]\", \"margin_top\": 20}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Quantity\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Unit Price (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Amount (RM)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 20, \"margin_right\": 20, \"num_cols\": 5, \"num_rows\": 2, \"_col_widths\": \"[1,4,1,1.2,2]\", \"col_widths\": [1, 4, 1, 1.2, 2], \"margin_top\": 40, \"field_rows\": \"lines\", \"table_bordered\": true}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 800, \"margin_right\": 20, \"field_rows\": \"lines \", \"num_rows\": 3}], \"min_height\": 50, \"width\": \"[1,4,1,1.2,2]\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Terms:\\u00a0\"}, {\"insert\": \"\\n- 50% deposit is required to secure the booking. The remaining payment is required 2 working days before the start of the reservation date.\\n\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Note:\"}, {\"insert\": \"\\nPlease use the Invoice Number as bank reference when making payment. If paying by cheque, please make it payable to SMARTB SOLUTIONS SDN. BHD. Your cooperation is much appreciated.\\n\"}]}, \"margin_top\": 30, \"margin_left\": 20, \"margin_right\": 20, \"border_top_width\": 2, \"margin_bottom\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Company Name : SmartB Solutions Sdn. Bhd.\\nCompany  Reg :1240771-A\\nContact :+6 03-7622 9772 / 012-287 2735\\n\"}]}, \"border_right_width\": 1, \"margin_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name : Alliance Bank Malaysia\\nBank Account No\\u00a0: 620650010021190\\nSwift Code\\u00a0:MFBBMYKL\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 50, \"margin_left\": 20, \"margin_right\": 20, \"border_top_width\": 1, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"*Hatch or SixHatch.com is a division under SmartB Solutions Sdn Bhd.\"}, {\"attributes\": {\"indent\": 1}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 30}], \"fields\": \"[\\\"contact_id.name\\\",\\\"bill_address_id.address\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.province_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"ref\\\",\\\"memo\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]\", \"page_margin_top\": 15, \"page_margin_left\": 5, \"page_margin_right\": 5, \"page_margin_bottom\": 15, \"filename\": \"Invoice-{number}\"}, \"code\": null}, \"print_invoice_O\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan \\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9772 / 012-287 2735 \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": accounts@smartb.co\\n\"}]}, \"margin_top\": 20, \"font_size\": 17}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-08 (1) (1),yiUQfAt96nU=.png\", \"margin_left\": 300, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"INVOICE\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILLING DETAILS\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n{bill_address_id.address}\\n{bill_address_id.postal_code}\\n{bill_address_id.city}, {bill_address_id.province_id.name}, {bill_address_id.country_id.name}\\n{contact_id.phone}\\n\"}]}, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE DETAILS \"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Invoice Number\\nDate \\nDue Date\\nPayment Term \\nMemo \\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n:\\n:\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\n{due_date}\\n{pay_term_id.name}\\n{memo}\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 3], \"margin_top\": 10, \"_col_widths\": \"[3,1,3]\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Price / Mth\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Quantity\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"AMOUNT(RM)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 5, \"num_rows\": 2, \"margin_left\": 20, \"margin_right\": 20, \"_col_widths\": \"[1,4,1.2,1,2]\", \"col_widths\": [1, 4, 1.2, 1, 2], \"margin_top\": 40, \"field_rows\": \"lines\", \"table_bordered\": true}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 800, \"margin_right\": 20, \"num_rows\": 3, \"field_rows\": \"\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Notes: \"}, {\"insert\": \"\\n\\n-Please use the INVOICE NUMBER as bank reference when making payment. If paying by cheque, please make it payable to\\u00a0SMARTB SOLUTIONS SDN. BHD. Your cooperation is much appreciated.\\n\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Please make sure to read the Terms & conditions for implementation. Once deposit is paid, it is automatically assumed that the terms are AGREED and ACCEPTED.\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 20, \"border_top_width\": 2}], \"min_height\": 50, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Company Name : SmartB Solutions Sdn. Bhd.\\nCompany  Reg :1240771-A\\nContact :+6 03-7622 9772 / 012-287 2735Bank \\n\"}]}, \"margin_left\": 5, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name : Alliance Bank Malaysia\\nBank Account No\\u00a0: 620650010021190\\nSwift Code\\u00a0:MFBBMYKL\\n\"}]}, \"border_left_width\": null, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 30, \"margin_right\": 20, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"margin_top\": 20, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": 20}], \"fields\": \"[\\\"contact_id.name\\\",\\\"bill_address_id.address\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.province_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"due_date\\\",\\\"pay_term_id.name\\\",\\\"memo\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]\", \"page_margin_top\": 15, \"page_margin_left\": 5, \"page_margin_right\": 5, \"page_margin_bottom\": 15, \"filename\": \"Invoice-{number}\"}, \"code\": null}, \"Print Template\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27\\n47400 Petaling Jaya, Selangor\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9772 / 012-287 2735\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": accounts@smartb.co\\n\"}]}, \"margin_top\": 20, \"font_size\": 17}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-08 (1) (1),CjeZYyhFEik=.png\", \"align\": \"right\", \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"PROFORMA INVOICE\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 25}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Billing Details\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n{bill_address_id.address}\\n{bill_address_id.address2}\\n{bill_address_id.postal_code} {bill_address_id.city}\\n{bill_address_id.province_id.name}, {bill_address_id.country_id.name}\\n{contact_id.phone}\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Invoice Details\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Invoice Number\\nDate\\nPayment Term\\nAs Quoted\\nCurrency\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n:\\n:\\n\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\nC.O.D\\n{ref}\\n{currency_id.code}\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [2, 1, 2], \"_col_widths\": \"[2,1,2]\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 10}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Amount(RM)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Tax (6%)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total(RM)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_incl_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 30, \"num_cols\": 5, \"num_rows\": 2, \"_col_widths\": \"[1,5,2,2,2]\", \"col_widths\": [1, 5, 2, 2, 2], \"table_bordered\": true, \"field_rows\": \"lines\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"align\": \"right\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 750, \"margin_right\": 20, \"_col_widths\": \"[1,2]\", \"col_widths\": [1, 2], \"num_rows\": 3}], \"min_height\": 50, \"height\": \"\", \"margin_top\": null, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Terms: \"}, {\"insert\": \" \\n- 50% Down payment (as per quotation) required before commencement of work or immediately after completion. \\n- 50% Paid within 14 days from system delivery date.\\n\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Please make sure to read the Terms & Conditions for implementation. Once deposit is paid, it is automatically assumed that the terms are AGREED and ACCEPTED.\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Note:\"}, {\"insert\": \"\\nPlease use the Invoice Number as bank reference when making payment. If paying by cheque, please make it payable to SMARTB SOLUTIONS SDN. BHD. Your cooperation is much appreciated. \\n\"}]}, \"margin_top\": 20, \"margin_left\": 40, \"margin_right\": 40, \"border_color\": \"#000000\", \"border_top_width\": 2}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Company Name : SmartB Solutions Sdn. Bhd. (1240771-A)\\nService Tax Reg No: \"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"B16-2202-32000017\"}, {\"insert\": \"\\nContact :+6 03-7622 9772 / 012-287 2735 \\n\"}]}, \"border_right_width\": 1, \"margin_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name : MayBank Malaysia\\nBank Account No : 514196689465\\n\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 40, \"margin_right\": 40, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is computer generated document. No signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20}], \"page_margin_top\": 15, \"page_margin_left\": 5, \"page_margin_right\": 5, \"page_margin_bottom\": 15, \"fields\": \"[\\\"lines.amount_tax\\\",\\\"lines.amount_incl_tax\\\",\\\"contact_id.name\\\",\\\"bill_address_id.address\\\",\\\"bill_address_id.address2\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.province_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"ref\\\",\\\"currency_id.code\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]\", \"show_page_no\": false, \"filename\": \"Invoice-{number}\"}, \"code\": null}, \"print_proforma_invoice_sub\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27\\n47400 Petaling Jaya, Selangor\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9772 / 012-287 2735\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": accounts@smartb.co\\n\"}]}, \"margin_top\": 20, \"font_size\": 17}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-08 (1) (1),CjeZYyhFEik=.png\", \"align\": \"right\", \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"PROFORMA INVOICE\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 25}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Billing Details\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n{bill_address_id.address}\\n{bill_address_id.address2}\\n{bill_address_id.postal_code} {bill_address_id.city}\\n{bill_address_id.province_id.name}, {bill_address_id.country_id.name}\\n{contact_id.phone}\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Invoice Details\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Proforma Invoice No\\nDate \\nDue Date / Terms\\nInvoice Period\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n:\\n\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\n14 Days\\n{ref}\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [2, 1, 2], \"_col_widths\": \"[2,1,2]\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 10}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Price / Mth\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Qty\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Tax (6%)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total(RM)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_incl_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 30, \"num_cols\": 6, \"num_rows\": 2, \"_col_widths\": \"[0.7,4,1.2,0.7,1,1.2]\", \"col_widths\": [0.7, 4, 1.2, 0.7, 1, 1.2], \"table_bordered\": true, \"field_rows\": \"lines\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"align\": \"right\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 750, \"margin_right\": 20, \"_col_widths\": \"[1,2]\", \"col_widths\": [1, 2], \"num_rows\": 3}], \"min_height\": 50, \"height\": \"\", \"margin_top\": null, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Terms: \"}, {\"insert\": \" \\n-Please make payment within 14 days or SmartB Solutions has the right to incur a \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"penalty fee of 2.5%\"}, {\"insert\": \" (of invoice amount) per calendar month from the due date.\\n-Please use the \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE NUMBER\"}, {\"insert\": \" as bank reference when making payment. If paying by cheque, please make it payable to\\u00a0SMARTB SOLUTIONS SDN. BHD. Your cooperation is much appreciated.\\n\\n\"}]}, \"margin_top\": 20, \"margin_left\": 40, \"margin_right\": 40, \"border_color\": \"#000000\", \"border_top_width\": 2}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Company Name : SmartB Solutions Sdn. Bhd.\\nCompany Reg : 1240771-A\\nService Tax Reg No: \"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"B16-2202-32000017\"}, {\"insert\": \"\\nContact :  +6 03-7622 9722 / 012-287 2735\\n\"}]}, \"border_right_width\": 1, \"margin_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name: Malayan Banking Berhad (Maybank)\\nBank Account No: 514196689465\\nSwift Code: MBBEMYKL\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 40, \"margin_right\": 40, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is computer generated document. No signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20}], \"page_margin_top\": 15, \"page_margin_left\": 5, \"page_margin_right\": 5, \"page_margin_bottom\": 15, \"fields\": \"[\\\"lines.amount_tax\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.amount_incl_tax\\\",\\\"contact_id.name\\\",\\\"bill_address_id.address\\\",\\\"bill_address_id.address2\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.province_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"ref\\\",\\\"currency_id.code\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]\", \"show_page_no\": false, \"filename\": \"Invoice-{number}\"}, \"code\": null}, \"print_invoice_RD\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9772 / 012-287 2735 \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": accounts@smartb.co\\n\"}]}, \"margin_top\": 20, \"font_size\": 17}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-08 (1) (1),Qj0knesl-es=.png\", \"margin_left\": 300, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"INVOICE\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILLING DETAILS \"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n{bill_address_id.address}\\n{bill_address_id.postal_code}\\n{bill_address_id.city}, {bill_address_id.province_id.name}, {bill_address_id.country_id.name}\\n{contact_id.phone}\\n\"}]}, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE DETAILS \"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Invoice Number\\nDate \\nDue Date\\nPayment Term \\nMemo \\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n:\\n:\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\n{due_date}\\n{pay_term_id.name}\\n{memo}\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 3], \"_col_widths\": \"[3,1,3]\", \"margin_top\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20}], \"min_height\": 50}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"ITEM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"DESCRIPTION\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"AMOUNT (RM)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 3, \"num_rows\": 2, \"_col_widths\": \"[1,5,2]\", \"col_widths\": [1, 5, 2], \"margin_top\": 30, \"margin_left\": 20, \"margin_right\": 20, \"field_rows\": \"lines\", \"table_bordered\": true}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_rows\": 3, \"field_rows\": \"\", \"margin_left\": 800, \"margin_right\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Terms:\\u00a0\"}, {\"insert\": \"\\n- This is the down payment (as per quotation) required before commencement of work.\\n- Please make sure to read the Terms & conditions for implementation. Once deposit is paid, it is automatically assumed\\u00a0that the terms are AGREED and ACCEPTED.\\n\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Note:\"}, {\"insert\": \"\\n-Please make payment within 14 days or SmartB Solutions has the right to incur a penalty fee of 2.5% (of invoice amount) per calendar month from the due date.\\n-Please use the INVOICE NUMBER as bank reference when making payment. If paying by cheque, please make it payable to\\u00a0SMARTB SOLUTIONS SDN. BHD. Your cooperation is much appreciated.\\n\"}]}, \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20, \"border_top_width\": 2}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Company Name : SmartB Solutions Sdn. Bhd.\\nCompany  Reg :1240771-A\\nContact :+6 03-7622 9772 / 012-287 2735\\n\"}]}, \"border_right_width\": 1, \"margin_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name : Alliance Bank Malaysia\\nBank Account No\\u00a0: 620650010021190\\nSwift Code\\u00a0:MFBBMYKL\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": 20}], \"fields\": \"[\\\"currency_id.code\\\",\\\"contact_id.phone\\\",\\\"bill_address_id.province_id.name\\\",\\\"contact_id.name\\\",\\\"bill_address_id.address\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.country_id.name\\\",\\\"due_date\\\",\\\"number\\\",\\\"date\\\",\\\"pay_term_id.name\\\",\\\"memo\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.amount\\\",\\\"amount_total\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\"]\", \"page_margin_top\": 15, \"page_margin_left\": 5, \"page_margin_right\": 5, \"page_margin_bottom\": 15, \"filename\": \"Invoice-{number}\"}, \"code\": null}, \"print_invoice_SAAS\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-08 (1) (1),y5BO9hTEOWQ=.png\"}]}], \"num_cols\": 2, \"col_widths\": [2, 1], \"_col_widths\": \"[2,1]\", \"margin_left\": 20, \"margin_right\": 20}], \"min_height\": 50}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"SOFTWARE AS A SERVICE (SAAS) SERVICES ORDER FORM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Customer \\nAddress\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_id.name}\\n{bill_address_id.address}\\n{bill_address_id.postal_code}\\n{bill_address_id.city}, {bill_address_id.province_id.name}, {bill_address_id.country_id.name}\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Contact \\nPhone \\nE-Mail\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_id.contact_persons.last_name}\\n{contact_id.phone}\\n{contact_id.email}\\n\"}]}}]}], \"num_cols\": 6, \"col_widths\": [1, 0.5, 3, 1.5, 0.5, 3], \"margin_top\": null, \"margin_left\": 25, \"margin_right\": 20, \"_col_widths\": \"[1,0.5,3,1.5,0.5,3]\"}, {\"type\": \"table\", \"elements\": [[null, null, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Services \\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}]], \"num_cols\": 3, \"num_rows\": 2, \"margin_left\": 17, \"margin_right\": 20, \"_col_widths\": \"[0.925,0.5,7.5]\", \"col_widths\": [0.925, 0.5, 7.5], \"table_bordered\": false, \"border_top_width\": null, \"margin_top\": 20, \"margin_bottom\": null, \"field_rows\": \"lines\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Services Fees \\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount_due} per month \\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Fees are paid on quarterly basis and payable within 14 days at the start of the quarter, subject to the terms of Section 4 herein.\\n\"}]}, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Initial Service Term\\nEffective Date \\nCompany \\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"12 months \\n{date}\\n{company_id.name}\\n\"}]}}]}], \"num_cols\": 6, \"col_widths\": [1, 0.5, 3, 1.5, 0.5, 3], \"margin_top\": 20, \"margin_left\": 25, \"margin_right\": 20, \"_col_widths\": \"[1,0.5,3,1.5,0.5,3]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Service Capacity\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{memo}\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [0.93, 0.5, 7.5], \"margin_top\": 20, \"margin_left\": 25, \"margin_right\": 20, \"_col_widths\": \"[0.93,0.5,7.5]\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SAAS SERVICES AGREEMENT\\ufeff\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 25, \"margin_top\": 30, \"margin_right\": 20, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"The SmartB brand is owned and operated by SmartB Solutions Sdn. Bhd. (1240771-A) a company registered in Malaysia.This SaaS Services Agreement (\\u201cAgreement\\u201d) is entered into on the \\u201cEffective Date\\u201d between SmartB Solutions Sdn. Bhd. (\\u201cCompany\\u201d), and the Customer listed above (\\u201cCustomer\\u201d).\\u00a0This Agreement includes and incorporates the above Order Form, as well as the attached Terms and Conditions and contains, among other things, warranty disclaimers, liability limitations and use limitations.\\u00a0There shall be no force or effect to any different terms of any related purchase order or similar form even if signed by the parties after the date hereof.\\u00a0\\u00a0\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 25, \"margin_right\": 20, \"margin_top\": 10, \"margin_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Signed by Company \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"image\", \"min_height\": 50, \"image_file\": \"WhatsApp Image 2019-08-26 at 10.11.43,kWtOdsNiwfw=.jpeg\", \"margin_left\": 150, \"margin_right\": null, \"width\": \"\", \"height\": \"\", \"align\": \"left\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Name \\nTitle \\nDate \\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Alwin Ng \\nDirector\\n{date}\\n\"}]}, \"margin_right\": 2}]}], \"num_cols\": 3, \"col_widths\": [1, 0.5, 3], \"margin_left\": 150, \"margin_right\": 100, \"_col_widths\": \"[1,0.5,3]\", \"border_top_width\": 1}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Signed by Customer \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"box\", \"children\": [], \"min_height\": 50, \"margin_bottom\": 170}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Name \\nTitle \\nDate\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n\"}]}}]}, {\"children\": [{\"type\": \"text\"}]}], \"num_cols\": 3, \"col_widths\": [1, 0.5, 3], \"margin_left\": 150, \"margin_right\": 150, \"_col_widths\": \"[1,0.5,3]\", \"border_top_width\": 1}]}], \"num_cols\": 2, \"col_widths\": [0.9, 1], \"margin_top\": 30, \"_col_widths\": \"[0.9,1]\"}], \"fields\": \"[\\\"contact_id.name\\\",\\\"bill_address_id.address\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.province_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"contact_id.contact_persons.last_name\\\",\\\"contact_id.phone\\\",\\\"contact_id.email\\\",\\\"lines.description\\\",\\\"amount_due\\\",\\\"date\\\",\\\"company_id.name\\\",\\\"memo\\\",\\\"number\\\"]\", \"page_margin_top\": 15, \"page_margin_left\": 5, \"page_margin_right\": 5, \"page_margin_bottom\": 15, \"filename\": \"Invoice-{number}\"}, \"code\": null}, \"print_invoice_3\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9772 / 012-287 2735 \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": accounts@smartb.co\\n\"}]}, \"font_size\": 17, \"margin_top\": 20}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-08 (1) (1),2sa4Mm-kG-0=.png\", \"margin_left\": 300, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"INVOICE\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20}], \"min_height\": 50}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILLING DETAILS \"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n{bill_address_id.address}\\n{bill_address_id.postal_code}\\n{bill_address_id.city}, {bill_address_id.province_id.name}, {bill_address_id.country_id.name}\\n{contact_id.phone}\\n\"}]}, \"margin_top\": 20}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE DETAILS \"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Invoice Number\\nDate \\nPayment Term\\nAs Quoted \\nMemo\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n:\\n:\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\nC.O.D.\\n{ref}\\n{memo}\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 3], \"margin_top\": 20, \"_col_widths\": \"[3,1,3]\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Amount (RM)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 3, \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20, \"_col_widths\": \"[1,5,2]\", \"col_widths\": [1, 5, 2], \"table_bordered\": true, \"field_rows\": \"lines\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 800, \"margin_right\": 30, \"field_rows\": \"\", \"num_rows\": 3}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Terms:\\u00a0\"}, {\"insert\": \"\\n- 30% Down payment (as per quotation) required before commencement of work or immediately after completion.\\n- 40% payment (including any adjustments) required before commencement of training.\\n- 30% Paid within 14 days from system delivery date.\\u00a0\\n\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Please make sure to read the Terms & conditions for implementation. Once deposit is paid, it is automatically assumed that the terms are AGREED and ACCEPTED.\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Note:\"}, {\"insert\": \"\\n-Please make payment within 14 days or SmartB Solutions has the right to incur a \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"penalty fee of 2.5%\"}, {\"insert\": \" (of invoice amount) per calendar month from the due date.\\n-Please use the \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE NUMBER\"}, {\"insert\": \" as bank reference when making payment. If paying by cheque, please make it payable to\\u00a0SMARTB SOLUTIONS SDN. BHD. Your cooperation is much appreciated.\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20, \"border_top_width\": 2}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Company Name : SmartB Solutions Sdn. Bhd.\\nCompany  Reg :1240771-A\\nContact :+6 03-7622 9772 / 012-287 2735\\n\"}]}, \"border_right_width\": 1, \"margin_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name : Alliance Bank Malaysia\\nBank Account No\\u00a0: 620650010021190\\nSwift Code\\u00a0:MFBBMYKL\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20}], \"page_margin_top\": 15, \"page_margin_left\": 5, \"page_margin_right\": 5, \"page_margin_bottom\": 15, \"fields\": \"[\\\"contact_id.name\\\",\\\"bill_address_id.address\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.province_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"ref\\\",\\\"memo\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]\", \"filename\": \"Invoice-{number}\"}, \"code\": null}, \"print_invoice_5\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9772 / 012-287 2735 \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": accounts@smartb.co\\n\"}]}, \"margin_top\": 10, \"font_size\": 17}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-08 (1) (1),5-5UUj4eBO0=.png\", \"margin_left\": 300, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"INVOICE\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": null, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILLING DETAILS \"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n{bill_address_id.address}\\n{bill_address_id.postal_code}\\n{bill_address_id.city}, {bill_address_id.province_id.name}, {bill_address_id.country_id.name}\\n{contact_id.phone}\\n\"}]}, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE DETAILS \"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Invoice Number\\nDate \\nPayment Term\\nAs Quoted \\nMemo\\nCurrency\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n:\\n:\\n:\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\nC.O.D.\\n{ref}\\n{memo}\\n{currency_id.code}\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 3], \"_col_widths\": \"[3,1,3]\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Item \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Amount (RM)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description} \\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20, \"num_cols\": 3, \"num_rows\": 2, \"_col_widths\": \"[1,5,2]\", \"col_widths\": [1, 5, 2], \"table_bordered\": true, \"field_rows\": \"lines\"}], \"min_height\": 50}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_rows\": 3, \"margin_left\": 800, \"margin_bottom\": 20, \"margin_right\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Terms:\\u00a0\"}, {\"insert\": \"\\n- 50% Down payment (as per quotation) required before commencement of work or immediately after completion.\\n- 50% Paid within 14 days from system delivery date.\\u00a0\\n\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Please make sure to read the Terms & conditions for implementation. Once deposit is paid, it is automatically assumed that the terms are AGREED and ACCEPTED.\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Note:\"}, {\"insert\": \"\\n-Please make payment within 14 days or SmartB Solutions has the right to incur a \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"penalty fee of 2.5\"}, {\"insert\": \"% (of invoice amount) per calendar month from the due date.\\n-Please use the \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE NUMBER\"}, {\"insert\": \" as bank reference when making payment. If paying by cheque, please make it payable to\\u00a0SMARTB SOLUTIONS SDN. BHD. Your cooperation is much appreciated.\\n\"}]}, \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20, \"border_top_width\": 2}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Company Name : SmartB Solutions Sdn. Bhd.\\nCompany  Reg :1240771-A\\nContact :+6 03-7622 9772 / 012-287 2735\\n\"}]}, \"margin_right\": null, \"margin_left\": 5, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name : Alliance Bank Malaysia\\nBank Account No\\u00a0: 620650010021190\\nSwift Code\\u00a0:MFBBMYKL\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}], \"min_height\": 50, \"page_break_inside_avoid\": true}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": null}], \"fields\": \"[\\\"contact_id.name\\\",\\\"bill_address_id.address\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.province_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"ref\\\",\\\"memo\\\",\\\"currency_id.code\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]\", \"page_margin_top\": 15, \"page_margin_left\": 5, \"page_margin_right\": 5, \"page_margin_bottom\": 15, \"filename\": \"Invoice-{number}\"}, \"code\": null}, \"print_invoice_sub\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan \\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9772 / 012-287 2735 \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": accounts@smartb.co\\n\"}]}, \"font_size\": 17}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"margin_left\": 300, \"margin_bottom\": null, \"image_file\": \"SmartB-08 (1) (1),MfbqKCn6u7o=.png\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"INVOICE\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILLING DETAILS \"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n{bill_address_id.address}\\n{bill_address_id.postal_code}\\n{bill_address_id.city}, {bill_address_id.province_id.name}, {bill_address_id.country_id.name}\\n{contact_id.phone}\\n\"}]}, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE DETAILS \"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Invoice Number\\nDate \\nDue Date\\nPayment Term \\nInvoice Period\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n:\\n:\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\n{due_date}\\n{pay_term_id.name}\\n{ref}\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 3], \"_col_widths\": \"[3,1,3]\", \"margin_top\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Item \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Price / Mth\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Qty\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Tax (6%)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total (RM)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_incl_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 6, \"num_rows\": 2, \"_col_widths\": \"[0.7,4,1.2,0.7,1,1.2]\", \"col_widths\": [0.7, 4, 1.2, 0.7, 1, 1.2], \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 20, \"table_bordered\": true, \"field_rows\": \"lines\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_rows\": 3, \"margin_left\": 800, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Notes: \"}, {\"insert\": \"\\n\\n-Please make payment within 14 days or SmartB Solutions has the right to incur a \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"penalty fee of 2.5%\"}, {\"insert\": \" (of invoice amount) per calendar month from the due date.\\n-Please use the \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE NUMBER\"}, {\"insert\": \" as bank reference when making payment. If paying by cheque, please make it payable to\\u00a0SMARTB SOLUTIONS SDN. BHD. Your cooperation is much appreciated.\\n\"}]}, \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20, \"border_top_width\": 2}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Company Name : SmartB Solutions Sdn. Bhd.\\nCompany  Reg :1240771-A\\nService Tax Reg No: \"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"B16-2202-32000017\"}, {\"insert\": \"\\nContact :+6 03-7622 9772 / 012-287 2735 \\n\\n\\n\"}]}, \"margin_left\": 5, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name: Malayan Banking Berhad (Maybank)\\nBank Account Number: 514196689465\\nSwift Code: MBBEMYKL\\n\\n\"}]}, \"border_left_width\": null, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": 20, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"min_height\": 50}], \"page_margin_top\": 15, \"page_margin_left\": 5, \"page_margin_right\": 5, \"page_margin_bottom\": 15, \"fields\": \"[\\\"lines.amount_tax\\\",\\\"lines.amount_incl_tax\\\",\\\"contact_id.name\\\",\\\"bill_address_id.address\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.province_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"due_date\\\",\\\"pay_term_id.name\\\",\\\"ref\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]\", \"filename\": \"Invoice-{number}\"}, \"code\": null}, \"print_invoice_sub_disc\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan \\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9772 / 012-287 2735 \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": accounts@smartb.co\\n\"}]}, \"font_size\": 17}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"margin_left\": 300, \"margin_bottom\": null, \"image_file\": \"SmartB-08 (1) (1),MfbqKCn6u7o=.png\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"INVOICE\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILLING DETAILS \"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n{bill_address_id.address}\\n{bill_address_id.postal_code}\\n{bill_address_id.city}, {bill_address_id.province_id.name}, {bill_address_id.country_id.name}\\n{contact_id.phone}\\n\"}]}, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE DETAILS \"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Invoice Number\\nDate \\nDue Date\\nPayment Term \\nInvoice Period\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n:\\n:\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\n{due_date}\\n{pay_term_id.name}\\n{ref}\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 3], \"_col_widths\": \"[3,1,3]\", \"margin_top\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Item \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Price / Mth\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Quantity\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Discount (%)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Amount (RM)\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{discount}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\\n\"}]}}]], \"num_cols\": 6, \"num_rows\": 2, \"_col_widths\": \"[1,4,1.2,1,1,2]\", \"col_widths\": [1, 4, 1.2, 1, 1, 2], \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 20, \"table_bordered\": true, \"field_rows\": \"lines\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_rows\": 3, \"margin_left\": 800, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Notes: \"}, {\"insert\": \"\\n\\n-Please make payment within 14 days or SmartB Solutions has the right to incur a \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"penalty fee of 2.5%\"}, {\"insert\": \" (of invoice amount) per calendar month from the due date.\\n-Please use the \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE NUMBER\"}, {\"insert\": \" as bank reference when making payment. If paying by cheque, please make it payable to\\u00a0SMARTB SOLUTIONS SDN. BHD. Your cooperation is much appreciated.\\n\"}]}, \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20, \"border_top_width\": 2}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Company Name : SmartB Solutions Sdn. Bhd.\\nCompany  Reg :1240771-A\\nContact :+6 03-7622 9772 / 012-287 2735 \\n\\n\\n\\n\\n\\n\\n\"}]}, \"margin_left\": 5, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name: Alliance Bank Malaysia\\nBank Account Number: 620650010021190 \\nSwift Code: MFBBMYKL\\n         \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"   OR\"}, {\"insert\": \"\\nBank Name: Malayan Banking Berhad (Maybank)\\nBank Account Number: 514196689465\\nSwift Code: MBBEMYKL\\n\\n\\n\"}]}, \"border_left_width\": null, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": 20, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"min_height\": 50}], \"page_margin_top\": 15, \"page_margin_left\": 5, \"page_margin_right\": 5, \"page_margin_bottom\": 15, \"fields\": \"[\\\"contact_id.name\\\",\\\"bill_address_id.address\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.province_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"due_date\\\",\\\"pay_term_id.name\\\",\\\"ref\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\",\\\"lines.discount\\\"]\", \"filename\": \"Invoice-{number}\"}, \"code\": null}, \"issue_log\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"New Issue \"}, {\"insert\": \"\\n\"}]}, \"font_size\": 26}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Project:\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"name\": \"project\", \"model\": \"project\", \"readonly\": true}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"margin_right\": 20, \"_col_widths\": \"[1,2]\", \"padding_right\": null}]}, {\"children\": []}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Date:\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"date\", \"name\": \"date\", \"readonly\": true}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\"}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 0.3, 1, 1], \"margin_right\": 50, \"_col_widths\": \"[1,0.3,1,1]\", \"margin_bottom\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Number:\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"name\": \"number\", \"on_change\": \"\", \"load_options\": \"\", \"readonly\": false, \"disabled\": true}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_right\": 20, \"hidden\": true, \"visibility\": \"hidden\"}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 0.3, 1, 1], \"margin_right\": 50, \"_col_widths\": \"[1,0.3,1,1]\", \"margin_bottom\": 30}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Issue Details \"}, {\"attributes\": {\"size\": \"small\"}, \"insert\": \"(Please fill up all the required field)\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18, \"margin_bottom\": 20, \"color\": \"#000000\", \"background_color\": \"#ffffff\", \"padding_left\": null, \"border_bottom_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Title\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"--Please fill in the title here--\", \"name\": \"title\", \"background_color\": \"#ffffff\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_right\": 20}]}, {\"children\": []}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Issue Type\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"--Please select issue type--\", \"_selection\": \"[[\\\"bug\\\",\\\"Bug\\\"],[\\\"change\\\",\\\"Modification Request\\\"],[\\\"new_feature\\\",\\\"New Feature Request\\\"],[\\\"question\\\",\\\"Question\\\"]]\", \"selection\": [[\"bug\", \"Bug\"], [\"change\", \"Modification Request\"], [\"new_feature\", \"New Feature Request\"], [\"question\", \"Question\"]], \"name\": \"type\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\"}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 0.3, 1, 1], \"_col_widths\": \"[1,0.3,1,1]\", \"margin_right\": 50, \"margin_bottom\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Priority\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"_selection\": \"[[\\\"0\\\",\\\"Low\\\"],[\\\"1\\\",\\\"Medium\\\"],[\\\"2\\\",\\\"High\\\"]]\", \"selection\": [[\"0\", \"Low\"], [\"1\", \"Medium\"], [\"2\", \"High\"]], \"placeholder\": \"--Please select priority--\", \"name\": \"priority\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_right\": 20}]}, {\"children\": []}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"URL\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"name\": \"url\", \"placeholder\": \"--Please paste url link here--\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\"}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 0.3, 1, 1], \"margin_right\": 50, \"margin_bottom\": 30, \"_col_widths\": \"[1,0.3,1,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Problem\\nDescription\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"textarea\", \"name\": \"description\", \"margin_right\": null, \"height\": \"\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_right\": 20}]}, {\"children\": []}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Screenshot:\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"files\", \"name\": \"screenshot\", \"placeholder\": \"\", \"height\": \"\", \"width\": \"\", \"scale\": null, \"padding_bottom\": null, \"margin_bottom\": null}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_bottom\": null, \"padding_bottom\": null}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 0.3, 1, 1], \"margin_right\": 50, \"margin_bottom\": 120, \"_col_widths\": \"[1,0.3,1,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"size\": \"large\", \"text\": \"Submit\", \"align\": \"left\", \"padding_top\": 10, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 10, \"font_size\": 18, \"border_width\": 0, \"width\": \"140\", \"height\": \"50\", \"background_color\": \"#00d456\", \"color\": \"#ffffff\", \"font_bold\": true, \"on_click\": \"add()\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"New Issue\", \"size\": \"large\", \"width\": \"140\", \"height\": \"50\", \"align\": \"left\", \"padding_top\": 10, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 10, \"font_size\": 18, \"font_bold\": true, \"border_width\": 0, \"background_color\": \"#2f71ab\", \"placeholder_color\": \"#000000\", \"color\": \"#ffffff\", \"on_click\": \"new_req()\"}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"\", \"margin_right\": null}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [0.9, 1, 1, 1], \"padding_top\": null, \"_col_widths\": \"[0.9,1,1,1]\", \"margin_top\": 30, \"margin_bottom\": 30, \"padding_bottom\": 0}], \"min_height\": null, \"padding_top\": 20, \"padding_left\": 30, \"padding_right\": 30, \"padding_bottom\": 5, \"background_color\": \"#ffffff\", \"margin_bottom\": 0}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  var data=get_data();\\n // var dbname = rpc.get_database();\\n  //alert(dbname);\\n  //dbname=dbname.slice(4,dbname.length);\\n\\n  //var project_id=await rpc_execute(\\\"project\\\",\\\"search_read\\\",[[[\\\"number\\\",\\\"=\\\",(dbname).toUpperCase()]],[\\\"name\\\"]]);\\n  var project_code = page_params.project_code;\\n  var project_id = await rpc_execute(\\\"project\\\",\\\"search_read\\\",[[[\\\"number\\\",\\\"=\\\",project_code]],[\\\"name\\\"]]);\\n  console.log(\\\"testing -->\\\",project_id);\\n  var defaults = await rpc_execute(\\\"issue\\\",\\\"default_get\\\",[]);\\n  console.log(\\\"Defaults: \\\",defaults);\\n  var number = defaults.number;\\n  var date=data.date;\\n  set_data({\\n    project:project_id[0].id,\\n    project_code:project_code,\\n    date:moment(),\\n    number:number,\\n  });\\n}\\n/*\\nasync function get_number() {\\n  var seq_id=await rpc_execute(\\\"sequence\\\",\\\"find_sequence\\\",[],{model:\\\"issue\\\"});\\n  console.log(\\\"khal -->\\\",seq_id);\\n\\n  for (var i=0; i<100; i++) {\\n    var number=await rpc_execute(\\\"sequence\\\",\\\"get_next_number\\\",[seq_id]);\\n    var res=await rpc_execute(\\\"issue\\\",\\\"search\\\",[[[\\\"number\\\",\\\"=\\\",number]]]);\\n    if (res.length==0) return number;\\n    await rpc_execute(\\\"sequence\\\",\\\"increment_number\\\",[seq_id]);\\n  }\\n}*/\\n\\nasync function add(){\\n  var data = get_data();\\n  var project = data.project;\\n  var date = data.date;\\n  var number = data.number;\\n  var title = data.title;\\n  var type = data.type;\\n  var priority = data.priority;\\n  var description = data.description;\\n  var url = data.url;\\n  var screenshot = data.screenshot?JSON.parse(data.screenshot)[0]:null;\\n  \\n  \\n  if(!project)throw \\\"Missing project!\\\";\\n  if(!date)throw \\\"Missing date!\\\";\\n  if(!number)throw \\\"Missing number!\\\";\\n  if(!title)throw \\\"Missing title!\\\";\\n  if(!type)throw \\\"Missing issue type!\\\";\\n  if(!priority)throw \\\"Missing priority!\\\";\\n  if(!url)throw \\\"Missing url!\\\";\\n\\n  var vals = {\\n    number:number,\\n    project_id:project,\\n    date_created:date,\\n    title:title,\\n    type:type,\\n    url:url,\\n    description:description,\\n    screenshot:screenshot,\\n    priority:priority,\\n    state:\\\"new\\\",\\n  }\\n\\n  try{\\n    var issue_id = await rpc_execute(\\\"issue\\\",\\\"create\\\",[vals]);\\n  }catch(err){\\n    alert(err);\\n  }\\n\\n  alert(\\\"Issue \\\"+number+\\\" created successfully!\\\");\\n}\\n\\n/*\\nasync function save(){\\n  var data = get_data();\\n  var project = data.project;\\n  var date = data.date;\\n  var number = data.number;\\n  var title = data.title;\\n  var type = data.type;\\n  var priority = data.priority;\\n  var description = data.description;\\n  var url = data.url;\\n  var screenshot = data.screenshot?JSON.parse(data.screenshot)[0]:null;\\n  \\n  \\n  if(!project)throw \\\"Missing project!\\\";\\n  if(!date)throw \\\"Missing date!\\\";\\n  if(!number)throw \\\"Missing number!\\\";\\n  if(!title)throw \\\"Missing title!\\\";\\n  if(!type)throw \\\"Missing issue type!\\\";\\n  if(!priority)throw \\\"Missing priority!\\\";\\n  if(!url)throw \\\"Missing url!\\\";\\n\\n  var vals = {\\n    number:number,\\n    project_id:project,\\n    date_created:date,\\n    title:title,\\n    type:type,\\n    url:url,\\n    description:description,\\n    screenshot:screenshot,\\n    priority:priority,\\n    state:\\\"new\\\",\\n  }\\n\\n  try{\\n    var issue_id = await rpc_execute(\\\"issue\\\",\\\"write\\\",[[],[vals]]);\\n  }catch(err){\\n    alert(err);\\n  }\\n\\n  alert(\\\"Issue \\\"+number+\\\" saved successfully!\\\");\\n  //cancel();\\n}*/\\n\\nasync function new_req(){\\n  var data = get_data();\\n  /*set_data({\\n    //number:null,\\n    title:null,\\n    type:null,\\n    priority:null,\\n    description:null,\\n    url:null,\\n    screenshot:null,\\n  });*/\\n  //on_load();\\n  redirect_page(\\\"issue_log\\\", {project_code:data.project_code});\\n}\"}, \"issue_log_old_copy\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"New Issue \"}, {\"insert\": \"\\n\"}]}, \"font_size\": 26}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Project:\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"name\": \"project\", \"model\": \"project\", \"readonly\": true}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"margin_right\": 20, \"_col_widths\": \"[1,2]\", \"padding_right\": null}]}, {\"children\": []}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Date:\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"date\", \"name\": \"date\", \"readonly\": true}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\"}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 0.3, 1, 1], \"margin_right\": 50, \"_col_widths\": \"[1,0.3,1,1]\", \"margin_bottom\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Number:\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"name\": \"number\", \"on_change\": \"\", \"load_options\": \"\", \"readonly\": false, \"disabled\": true}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_right\": 20, \"hidden\": true, \"visibility\": \"hidden\"}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 0.3, 1, 1], \"margin_right\": 50, \"_col_widths\": \"[1,0.3,1,1]\", \"margin_bottom\": 30}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Issue Details \"}, {\"attributes\": {\"size\": \"small\"}, \"insert\": \"(Please fill up all the required field)\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18, \"margin_bottom\": 20, \"color\": \"#000000\", \"background_color\": \"#ffffff\", \"padding_left\": null, \"border_bottom_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Title\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"--Please fill in the title here--\", \"name\": \"title\", \"background_color\": \"#ffffff\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_right\": 20}]}, {\"children\": []}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Issue Type\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"--Please select issue type--\", \"_selection\": \"[[\\\"bug\\\",\\\"Bug\\\"],[\\\"change\\\",\\\"Modification Request\\\"],[\\\"new_feature\\\",\\\"New Feature Request\\\"],[\\\"question\\\",\\\"Question\\\"]]\", \"selection\": [[\"bug\", \"Bug\"], [\"change\", \"Modification Request\"], [\"new_feature\", \"New Feature Request\"], [\"question\", \"Question\"]], \"name\": \"type\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\"}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 0.3, 1, 1], \"_col_widths\": \"[1,0.3,1,1]\", \"margin_right\": 50, \"margin_bottom\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Priority\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"_selection\": \"[[\\\"0\\\",\\\"Low\\\"],[\\\"1\\\",\\\"Medium\\\"],[\\\"2\\\",\\\"High\\\"]]\", \"selection\": [[\"0\", \"Low\"], [\"1\", \"Medium\"], [\"2\", \"High\"]], \"placeholder\": \"--Please select priority--\", \"name\": \"priority\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_right\": 20}]}, {\"children\": []}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"URL\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"name\": \"url\", \"placeholder\": \"--Please paste url link here--\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\"}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 0.3, 1, 1], \"margin_right\": 50, \"margin_bottom\": 30, \"_col_widths\": \"[1,0.3,1,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Problem\\nDescription\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"textarea\", \"name\": \"description\", \"margin_right\": null, \"height\": \"\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_right\": 20}]}, {\"children\": []}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Screenshot:\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"files\", \"name\": \"screenshot\", \"placeholder\": \"\", \"height\": \"\", \"width\": \"\", \"scale\": null, \"padding_bottom\": null, \"margin_bottom\": null}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_bottom\": null, \"padding_bottom\": null}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 0.3, 1, 1], \"margin_right\": 50, \"margin_bottom\": 120, \"_col_widths\": \"[1,0.3,1,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"size\": \"large\", \"text\": \"Submit\", \"align\": \"left\", \"padding_top\": 10, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 10, \"font_size\": 18, \"border_width\": 0, \"width\": \"140\", \"height\": \"50\", \"background_color\": \"#00d456\", \"color\": \"#ffffff\", \"font_bold\": true, \"on_click\": \"add()\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"New Issue\", \"size\": \"large\", \"width\": \"140\", \"height\": \"50\", \"align\": \"left\", \"padding_top\": 10, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 10, \"font_size\": 18, \"font_bold\": true, \"border_width\": 0, \"background_color\": \"#2f71ab\", \"placeholder_color\": \"#000000\", \"color\": \"#ffffff\", \"on_click\": \"new_req()\"}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"\", \"margin_right\": null}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [0.9, 1, 1, 1], \"padding_top\": null, \"_col_widths\": \"[0.9,1,1,1]\", \"margin_top\": 30, \"margin_bottom\": 30, \"padding_bottom\": 0}], \"min_height\": null, \"padding_top\": 20, \"padding_left\": 30, \"padding_right\": 30, \"padding_bottom\": 5, \"background_color\": \"#ffffff\", \"margin_bottom\": 0}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  var data=get_data();\\n // var dbname = rpc.get_database();\\n  //alert(dbname);\\n  //dbname=dbname.slice(4,dbname.length);\\n\\n  //var project_id=await rpc_execute(\\\"project\\\",\\\"search_read\\\",[[[\\\"number\\\",\\\"=\\\",(dbname).toUpperCase()]],[\\\"name\\\"]]);\\n  var project_code = page_params.project_code;\\n  var project_id = await rpc_execute(\\\"project\\\",\\\"search_read\\\",[[[\\\"number\\\",\\\"=\\\",project_code]],[\\\"name\\\"]]);\\n  console.log(\\\"testing -->\\\",project_id);\\n  var defaults = await rpc_execute(\\\"issue\\\",\\\"default_get\\\",[]);\\n  console.log(\\\"Defaults: \\\",defaults);\\n  var number = defaults.number;\\n  var date=data.date;\\n  set_data({\\n    project:project_id[0].id,\\n    project_code:project_code,\\n    date:moment(),\\n    number:number,\\n  });\\n}\\n/*\\nasync function get_number() {\\n  var seq_id=await rpc_execute(\\\"sequence\\\",\\\"find_sequence\\\",[],{model:\\\"issue\\\"});\\n  console.log(\\\"khal -->\\\",seq_id);\\n\\n  for (var i=0; i<100; i++) {\\n    var number=await rpc_execute(\\\"sequence\\\",\\\"get_next_number\\\",[seq_id]);\\n    var res=await rpc_execute(\\\"issue\\\",\\\"search\\\",[[[\\\"number\\\",\\\"=\\\",number]]]);\\n    if (res.length==0) return number;\\n    await rpc_execute(\\\"sequence\\\",\\\"increment_number\\\",[seq_id]);\\n  }\\n}*/\\n\\nasync function add(){\\n  var data = get_data();\\n  var project = data.project;\\n  var date = data.date;\\n  var number = data.number;\\n  var title = data.title;\\n  var type = data.type;\\n  var priority = data.priority;\\n  var description = data.description;\\n  var url = data.url;\\n  var screenshot = data.screenshot?JSON.parse(data.screenshot)[0]:null;\\n  \\n  \\n  if(!project)throw \\\"Missing project!\\\";\\n  if(!date)throw \\\"Missing date!\\\";\\n  if(!number)throw \\\"Missing number!\\\";\\n  if(!title)throw \\\"Missing title!\\\";\\n  if(!type)throw \\\"Missing issue type!\\\";\\n  if(!priority)throw \\\"Missing priority!\\\";\\n  if(!url)throw \\\"Missing url!\\\";\\n\\n  var vals = {\\n    number:number,\\n    project_id:project,\\n    date_created:date,\\n    title:title,\\n    type:type,\\n    url:url,\\n    description:description,\\n    screenshot:screenshot,\\n    priority:priority,\\n    state:\\\"new\\\",\\n  }\\n\\n  try{\\n    var issue_id = await rpc_execute(\\\"issue\\\",\\\"create\\\",[vals]);\\n  }catch(err){\\n    alert(err);\\n  }\\n\\n  alert(\\\"Issue \\\"+number+\\\" created successfully!\\\");\\n}\\n\\n/*\\nasync function save(){\\n  var data = get_data();\\n  var project = data.project;\\n  var date = data.date;\\n  var number = data.number;\\n  var title = data.title;\\n  var type = data.type;\\n  var priority = data.priority;\\n  var description = data.description;\\n  var url = data.url;\\n  var screenshot = data.screenshot?JSON.parse(data.screenshot)[0]:null;\\n  \\n  \\n  if(!project)throw \\\"Missing project!\\\";\\n  if(!date)throw \\\"Missing date!\\\";\\n  if(!number)throw \\\"Missing number!\\\";\\n  if(!title)throw \\\"Missing title!\\\";\\n  if(!type)throw \\\"Missing issue type!\\\";\\n  if(!priority)throw \\\"Missing priority!\\\";\\n  if(!url)throw \\\"Missing url!\\\";\\n\\n  var vals = {\\n    number:number,\\n    project_id:project,\\n    date_created:date,\\n    title:title,\\n    type:type,\\n    url:url,\\n    description:description,\\n    screenshot:screenshot,\\n    priority:priority,\\n    state:\\\"new\\\",\\n  }\\n\\n  try{\\n    var issue_id = await rpc_execute(\\\"issue\\\",\\\"write\\\",[[],[vals]]);\\n  }catch(err){\\n    alert(err);\\n  }\\n\\n  alert(\\\"Issue \\\"+number+\\\" saved successfully!\\\");\\n  //cancel();\\n}*/\\n\\nasync function new_req(){\\n  var data = get_data();\\n  /*set_data({\\n    //number:null,\\n    title:null,\\n    type:null,\\n    priority:null,\\n    description:null,\\n    url:null,\\n    screenshot:null,\\n  });*/\\n  //on_load();\\n  redirect_page(\\\"issue_log\\\", {project_code:data.project_code});\\n}\"}, \"issue_log_copy\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"New Issue \"}, {\"insert\": \"\\n\"}]}, \"font_size\": 26}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Project:\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"name\": \"project\", \"model\": \"project\", \"readonly\": true}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"margin_right\": 20, \"_col_widths\": \"[1,2]\", \"padding_right\": null}]}, {\"children\": []}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Date:\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"date\", \"name\": \"date\", \"readonly\": true}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\"}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 0.3, 1, 1], \"margin_right\": 50, \"_col_widths\": \"[1,0.3,1,1]\", \"margin_bottom\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Number:\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"name\": \"number\", \"on_change\": \"\", \"load_options\": \"\", \"readonly\": false, \"disabled\": true}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_right\": 20, \"hidden\": true, \"visibility\": \"hidden\"}]}, {\"children\": []}, {\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Email: \\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"name\": \"user_email\", \"field_type\": \"text\", \"model\": \"\", \"readonly\": true}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 0.3, 1, 1], \"margin_right\": 50, \"_col_widths\": \"[1,0.3,1,1]\", \"margin_bottom\": 30}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Issue Details \"}, {\"attributes\": {\"size\": \"small\"}, \"insert\": \"(Please fill up all the required field)\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18, \"margin_bottom\": 20, \"color\": \"#000000\", \"background_color\": \"#ffffff\", \"padding_left\": null, \"border_bottom_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Title\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"--Please fill in the title here--\", \"name\": \"title\", \"background_color\": \"#ffffff\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_right\": 20}]}, {\"children\": []}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Issue Type\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"--Please select issue type--\", \"_selection\": \"[[\\\"bug\\\",\\\"Bug\\\"],[\\\"change\\\",\\\"Modification Request\\\"],[\\\"new_feature\\\",\\\"New Feature Request\\\"],[\\\"question\\\",\\\"Question\\\"]]\", \"selection\": [[\"bug\", \"Bug\"], [\"change\", \"Modification Request\"], [\"new_feature\", \"New Feature Request\"], [\"question\", \"Question\"]], \"name\": \"type\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\"}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 0.3, 1, 1], \"_col_widths\": \"[1,0.3,1,1]\", \"margin_right\": 50, \"margin_bottom\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Priority\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"_selection\": \"[[\\\"0\\\",\\\"Low\\\"],[\\\"1\\\",\\\"Medium\\\"],[\\\"2\\\",\\\"High\\\"]]\", \"selection\": [[\"0\", \"Low\"], [\"1\", \"Medium\"], [\"2\", \"High\"]], \"placeholder\": \"--Please select priority--\", \"name\": \"priority\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_right\": 20}]}, {\"children\": []}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"URL\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"name\": \"url\", \"placeholder\": \"--Please paste url link here--\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\"}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 0.3, 1, 1], \"margin_right\": 50, \"margin_bottom\": 30, \"_col_widths\": \"[1,0.3,1,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Problem\\nDescription\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"textarea\", \"name\": \"description\", \"margin_right\": null, \"height\": \"\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_right\": 20}]}, {\"children\": []}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Screenshot:\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"files\", \"name\": \"screenshot\", \"placeholder\": \"\", \"height\": \"\", \"width\": \"\", \"scale\": null, \"padding_bottom\": null, \"margin_bottom\": null}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_bottom\": null, \"padding_bottom\": null}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 0.3, 1, 1], \"margin_right\": 50, \"margin_bottom\": 120, \"_col_widths\": \"[1,0.3,1,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"size\": \"large\", \"text\": \"Submit\", \"align\": \"left\", \"padding_top\": 10, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 10, \"font_size\": 18, \"border_width\": 0, \"width\": \"140\", \"height\": \"50\", \"background_color\": \"#00d456\", \"color\": \"#ffffff\", \"font_bold\": true, \"on_click\": \"add()\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"New Issue\", \"size\": \"large\", \"width\": \"140\", \"height\": \"50\", \"align\": \"left\", \"padding_top\": 10, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 10, \"font_size\": 18, \"font_bold\": true, \"border_width\": 0, \"background_color\": \"#2f71ab\", \"placeholder_color\": \"#000000\", \"color\": \"#ffffff\", \"on_click\": \"new_req()\"}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"\", \"margin_right\": null}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [0.9, 1, 1, 1], \"padding_top\": null, \"_col_widths\": \"[0.9,1,1,1]\", \"margin_top\": 30, \"margin_bottom\": 30, \"padding_bottom\": 0}], \"min_height\": null, \"padding_top\": 20, \"padding_left\": 30, \"padding_right\": 30, \"padding_bottom\": 5, \"background_color\": \"#ffffff\", \"margin_bottom\": 0}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  var data=get_data();\\n // var dbname = rpc.get_database();\\n  //alert(dbname);\\n  //dbname=dbname.slice(4,dbname.length);\\n\\n  //var project_id=await rpc_execute(\\\"project\\\",\\\"search_read\\\",[[[\\\"number\\\",\\\"=\\\",(dbname).toUpperCase()]],[\\\"name\\\"]]);\\n  var project_code = page_params.project_code;\\n  var project_id = await rpc_execute(\\\"project\\\",\\\"search_read\\\",[[[\\\"number\\\",\\\"=\\\",project_code]],[\\\"name\\\"]]);\\n  console.log(\\\"testing -->\\\",project_id);\\n  var defaults = await rpc_execute(\\\"issue\\\",\\\"default_get\\\",[]);\\n  console.log(\\\"Defaults: \\\",defaults);\\n  var number = defaults.number;\\n  var date=data.date;\\n  var user_email = page_params.user_email;\\n  set_data({\\n    project:project_id[0].id,\\n    project_code:project_code,\\n    date:moment(),\\n    number:number,\\n    user_email:user_email,\\n  });\\n}\\n/*\\nasync function get_number() {\\n  var seq_id=await rpc_execute(\\\"sequence\\\",\\\"find_sequence\\\",[],{model:\\\"issue\\\"});\\n  console.log(\\\"khal -->\\\",seq_id);\\n\\n  for (var i=0; i\n                                                                                                <100; i++) {\\n    var number=await rpc_execute(\\\"sequence\\\",\\\"get_next_number\\\",[seq_id]);\\n    var res=await rpc_execute(\\\"issue\\\",\\\"search\\\",[[[\\\"number\\\",\\\"=\\\",number]]]);\\n    if (res.length==0) return number;\\n    await rpc_execute(\\\"sequence\\\",\\\"increment_number\\\",[seq_id]);\\n  }\\n}*/\\n\\nasync function add(){\\n  var data = get_data();\\n  var project = data.project;\\n  var date = data.date;\\n  var number = data.number;\\n  var title = data.title;\\n  var type = data.type;\\n  var priority = data.priority;\\n  var description = data.description;\\n  var url = data.url;\\n  var screenshot = data.screenshot?JSON.parse(data.screenshot)[0]:null;\\n  \\n  \\n  if(!project)throw \\\"Missing project!\\\";\\n  if(!date)throw \\\"Missing date!\\\";\\n  if(!number)throw \\\"Missing number!\\\";\\n  if(!title)throw \\\"Missing title!\\\";\\n  if(!type)throw \\\"Missing issue type!\\\";\\n  if(!priority)throw \\\"Missing priority!\\\";\\n  if(!url)throw \\\"Missing url!\\\";\\n\\n  var vals = {\\n    number:number,\\n    project_id:project,\\n    date_created:date,\\n    title:title,\\n    type:type,\\n    url:url,\\n    description:description,\\n    screenshot:screenshot,\\n    priority:priority,\\n    state:\\\"new\\\",\\n  }\\n\\n  try{\\n    var issue_id = await rpc_execute(\\\"issue\\\",\\\"create\\\",[vals]);\\n  }catch(err){\\n    alert(err);\\n  }\\n\\n  alert(\\\"Issue \\\"+number+\\\" created successfully!\\\");\\n}\\n\\n/*\\nasync function save(){\\n  var data = get_data();\\n  var project = data.project;\\n  var date = data.date;\\n  var number = data.number;\\n  var title = data.title;\\n  var type = data.type;\\n  var priority = data.priority;\\n  var description = data.description;\\n  var url = data.url;\\n  var screenshot = data.screenshot?JSON.parse(data.screenshot)[0]:null;\\n  \\n  \\n  if(!project)throw \\\"Missing project!\\\";\\n  if(!date)throw \\\"Missing date!\\\";\\n  if(!number)throw \\\"Missing number!\\\";\\n  if(!title)throw \\\"Missing title!\\\";\\n  if(!type)throw \\\"Missing issue type!\\\";\\n  if(!priority)throw \\\"Missing priority!\\\";\\n  if(!url)throw \\\"Missing url!\\\";\\n\\n  var vals = {\\n    number:number,\\n    project_id:project,\\n    date_created:date,\\n    title:title,\\n    type:type,\\n    url:url,\\n    description:description,\\n    screenshot:screenshot,\\n    priority:priority,\\n    state:\\\"new\\\",\\n  }\\n\\n  try{\\n    var issue_id = await rpc_execute(\\\"issue\\\",\\\"write\\\",[[],[vals]]);\\n  }catch(err){\\n    alert(err);\\n  }\\n\\n  alert(\\\"Issue \\\"+number+\\\" saved successfully!\\\");\\n  //cancel();\\n}*/\\n\\nasync function new_req(){\\n  var data = get_data();\\n  /*set_data({\\n    //number:null,\\n    title:null,\\n    type:null,\\n    priority:null,\\n    description:null,\\n    url:null,\\n    screenshot:null,\\n  });*/\\n  //on_load();\\n  redirect_page(\\\"issue_log\\\", {project_code:data.project_code});\\n}\"}, \"job_description_print\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"Job Scope - {first_name} \"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 70}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"smartB-logo-2-300x148,EodqyPDYCn8=,SH9laBrrYfU=,mJivawHWmj8=,V8eGyY_7YFY=.png\", \"align\": \"right\", \"width\": \"230\", \"height\": \"130\", \"margin_bottom\": 5}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"smartB-logo-2-300x148,EodqyPDYCn8=,SH9laBrrYfU=,mJivawHWmj8=.png\", \"width\": \"230\", \"height\": \"130\", \"align\": \"right\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"vertical_align\": \"top\", \"margin_top\": 40, \"margin_left\": 60, \"margin_right\": 60, \"border_bottom_width\": 2, \"border_color\": \"#000000\"}], \"min_height\": 50, \"header\": false, \"height\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Job Title :\\n\"}]}, \"font_size\": 18, \"font_bold\": true}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{job_title.job_title}\\n\"}]}, \"font_size\": 18}, null, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Reports to :\\n\"}]}, \"font_size\": 18, \"font_bold\": true}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{report_to.name}\\n\"}]}, \"font_size\": 18}, null, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Payslip No :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{pay_slip_no}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Pay Period :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{pay_period_from} - {pay_period_to}\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Phone No. :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{phone_no}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Date Issue :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{date_issue}\\n\"}]}}]], \"margin_left\": 60, \"margin_right\": 60, \"margin_top\": 30, \"border_top_width\": 1, \"border_right_width\": 1, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_radius\": 1, \"table_bordered\": false, \"num_cols\": 4, \"num_rows\": 2, \"_col_widths\": \"[1,2,1,2]\", \"col_widths\": [1, 2, 1, 2]}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Job Summary - Overall\"}, {\"insert\": \"\\n{job_summary}\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Objectives\"}, {\"insert\": \"\\nIn the near term, {first_name} is responsible for the following objectives.\\n\"}]}, \"padding_top\": 20, \"font_size\": 18}], \"min_height\": 50, \"margin_left\": 60, \"margin_right\": 60, \"margin_top\": 10}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"No.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"font_bold\": true}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Objectives\\n\"}]}, \"font_size\": 18, \"font_bold\": true}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description\\n\"}]}, \"font_size\": 18, \"font_bold\": true}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{no}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{objectives}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}, \"font_size\": 18}]], \"margin_left\": 60, \"margin_right\": 60, \"margin_top\": 20, \"table_bordered\": true, \"num_cols\": 3, \"_col_widths\": \"[0.3,1,3]\", \"col_widths\": [0.3, 1, 3], \"field_rows\": \"lines\", \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Review\\nThe above are prioritized in the order above and will be reviewed every quarter.\\n\"}]}, \"margin_left\": 60, \"margin_right\": 60, \"margin_top\": 20, \"font_size\": 18}], \"min_height\": 50, \"container\": false, \"margin_top\": null, \"page_break_after\": true}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SmartB Solutions Sdn. Bhd. (1240771-A), Unit A211, Lobby 3, Damansara Intan E-Business Park, 1, Jln SS 20/27, 47400, Petaling Jaya, Selangor. info@smartb.co\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 60, \"margin_right\": 60, \"margin_top\": 20, \"font_size\": 16, \"margin_bottom\": 20}], \"min_height\": 50, \"footer\": true}], \"min_height\": 50, \"height\": \"1000\"}], \"fields\": \"[\\\"report_to.name\\\",\\\"first_name\\\",\\\"job_title.job_title\\\",\\\"job_summary\\\",\\\"lines.no\\\",\\\"lines.objectives\\\",\\\"lines.description\\\"]\"}, \"code\": null}, \"jnt_airway_bill\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"width\": \"200\", \"height\": \"60\", \"image_file\": null, \"margin_top\": 30, \"padding_top\": 10, \"padding_bottom\": 10, \"url\": \"https://backend-prod2.netforce.com/static/db/nfo_urbanw/files/jnt-removebg-preview%2CXjAkKkORFF0%3D%2CE57MgioFuTY%3D.png\"}, {\"type\": \"image\", \"min_height\": 50, \"image_file\": null, \"margin_top\": 30, \"width\": \"150\", \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5, \"margin_left\": 10, \"url\": \"https://backend-prod2.netforce.com/static/db/nfo_urbanw/files/shopee-removebg-preview%2C1FWZVBKlSr4%3D%2C6Y1L_4no3mo%3D.png\"}]}, {\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"height\": \"100\", \"margin_top\": 30, \"align\": \"center\", \"width\": \"1000\", \"barcode_value\": \"{ship_tracking}\", \"barcode_type\": \"code128\", \"name\": \"\", \"bar_width\": \"5\", \"margin_left\": null}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"{ship_tracking}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 5, \"font_size\": 20, \"margin_left\": null}]}], \"num_cols\": 3, \"col_widths\": [1, 0.01, 5], \"_col_widths\": \"[1,0.01,5]\", \"margin_bottom\": 0, \"margin_left\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Order Details \"}, {\"insert\": \"\\n\"}]}, \"padding_bottom\": null, \"padding_top\": 7, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"margin_right\": 5, \"margin_top\": 5, \"margin_left\": 5, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Ship By Date:\\t{exp_ship_date}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Weight (kg):\\t\\t{weight}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Order ID:\\t\\t\\t\"}, {\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n\"}]}, \"padding_bottom\": 100, \"margin_bottom\": null, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_right\": 5, \"margin_left\": 5, \"margin_bottom\": 5}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Order Details (Courier)\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 7, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"margin_right\": 5, \"margin_top\": 5, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"PDO\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_bottom\": 57, \"padding_top\": 50, \"margin_top\": null, \"margin_bottom\": null, \"font_size\": 30, \"width\": \"370\"}], \"min_height\": 50, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_right\": 5, \"margin_bottom\": 5}]}], \"num_cols\": 2, \"col_widths\": [2.2, 1], \"_col_widths\": \"[2.2,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Sender Details (Pengirim)\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 7, \"padding_bottom\": null, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Name:\\t\\t{contact_id.name}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Phone:\\t\\t{contact_id.phone}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Address:\\t{ship_address_id.address} {ship_address_id.address2}{ship_address_id.postal_code} {ship_address_id.city} {ship_address_id.province_id.name}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Postcode:\\t{ship_address_id.postal_code}\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_left\": null, \"margin_right\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Recipient Details (Penerima)\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 7, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Name:\\t\\t{recipient_first_name} {recipient_last_name}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Phone:\\t\\t{recipient_phone}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Address:\\t{recipient_address} {recipient_address2} {recipient_city} {recipient_postcode} {recipient_province} {recipient_country}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Postcode:  {recipient_postcode} \"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}], \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"POD\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 7, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Name:\\t\\t\\t\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"I.C.:\\t\\t\\t\\t\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Signature:\\t\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[null, null, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{index}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{product_id.code}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{qty}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}]], \"num_cols\": 3, \"_col_widths\": \"[0.5,4.5,1]\", \"col_widths\": [0.5, 4.5, 1], \"field_rows\": \"lines\", \"table_bordered\": true, \"padding_top\": 0, \"padding_bottom\": 0, \"margin_top\": 0, \"margin_bottom\": 0}], \"min_height\": 200, \"border_width\": null, \"padding_top\": 5, \"padding_left\": 5, \"padding_bottom\": 5, \"padding_right\": 5, \"page_break_after\": false, \"border_top_width\": 1}], \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5, \"margin_bottom\": 20, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\"}], \"min_height\": 50, \"margin_right\": 5, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{routing_info_1}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"font_size\": 18}], \"min_height\": 50, \"margin_right\": 5, \"border_left_width\": 1, \"border_bottom_width\": null, \"border_right_width\": 1, \"border_top_width\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{routing_info_2}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"font_size\": 18}], \"min_height\": 50, \"margin_right\": 5, \"border_top_width\": null, \"border_left_width\": 1, \"border_right_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{recipient_country}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"font_size\": 18}], \"min_height\": 50, \"margin_right\": 5, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"{recipient_postcode}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"margin_top\": 10, \"margin_bottom\": 10, \"font_size\": 25}, {\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"align\": \"center\", \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"width\": \"200\", \"height\": \"200\", \"margin_top\": 170, \"barcode_value\": \"{ship_tracking}\", \"barcode_type\": \"qr\"}], \"min_height\": 50, \"margin_top\": 50}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{ship_tracking}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"margin_bottom\": 53, \"margin_top\": 10, \"font_size\": 23}], \"min_height\": 635, \"margin_right\": 5, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"margin_bottom\": 20, \"width\": \"370\"}]}], \"num_cols\": 2, \"col_widths\": [3, 1], \"margin_left\": null, \"margin_right\": null, \"_col_widths\": \"[3,1]\"}], \"min_height\": 50, \"border_top_width\": 2, \"border_right_width\": 2, \"border_left_width\": 2, \"border_bottom_width\": 2, \"margin_left\": 10, \"margin_right\": 10}], \"fields\": \"[\\\"ship_address_id.province_id.name\\\",\\\"ship_address_id.city\\\",\\\"ship_address_id.address\\\",\\\"ship_address_id.address2\\\",\\\"ship_address_id.postal_code\\\",\\\"contact_id.name\\\",\\\"contact_id.phone\\\",\\\"exp_ship_date\\\",\\\"number\\\",\\\"ship_tracking\\\",\\\"recipient_first_name\\\",\\\"recipient_last_name\\\",\\\"recipient_address\\\",\\\"recipient_address2\\\",\\\"recipient_city\\\",\\\"recipient_postcode\\\",\\\"recipient_province\\\",\\\"recipient_country\\\",\\\"recipient_phone\\\",\\\"lines.index\\\",\\\"lines.product_id.code\\\",\\\"lines.qty\\\"]\"}, \"code\": null}, \"lazada_airway_bill\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Drop-off\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_top\": 2, \"font_size\": 18}, {\"type\": \"image\", \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5, \"margin_bottom\": 5, \"align\": \"center\", \"image_file\": null, \"height\": \"140\", \"url\": \"https://backend-prod2.netforce.com/static/db/nfo_urbanw/files/lazada%2CWmHgNg9qvyo%3D.png\"}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Delivery\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_top\": 2, \"font_size\": 18}, {\"type\": \"image\", \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5, \"margin_bottom\": 5, \"align\": \"center\", \"image_file\": null, \"height\": \"140\", \"url\": \"https://backend-prod2.netforce.com/static/db/nfo_urbanw/files/lazada%2CWmHgNg9qvyo%3D.png\"}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"{recipient_postcode}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 20, \"padding_top\": 60, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 20}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"border_width\": null, \"border_color\": \"#000000\", \"border_bottom_width\": 2}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"barcode_type\": \"code128\", \"align\": \"center\", \"barcode_value\": \"{ship_tracking}\", \"width\": \"700\", \"height\": \"120\", \"margin_top\": 5, \"bar_width\": \"5\"}], \"min_height\": 50}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Tracking Number: \"}, {\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"{ship_tracking}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Seller: {contact_id.name}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"{ship_address_id.address} {ship_address_id.address2}{ship_address_id.postal_code} {ship_address_id.city} {ship_address_id.province_id.name}\"}, {\"insert\": \"\\n\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"{contact_id.phone}\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_top\": null, \"font_size\": 18, \"padding_left\": 2}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_right_width\": 1, \"border_bottom_width\": null, \"height\": \"\", \"min_height\": 260}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"{number}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5, \"font_size\": 18}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"padding_top\": null, \"padding_bottom\": null}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"COD\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_top_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"MYR\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_top_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"KG\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5, \"font_size\": 18}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_top_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{exp_ship_date}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_top_width\": 1}]}], \"num_cols\": 2, \"col_widths\": [2, 1], \"_col_widths\": \"[2,1]\", \"border_bottom_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"align\": \"center\", \"width\": \"700\", \"height\": \"120\", \"barcode_type\": \"code128\", \"barcode_value\": \"{number}\", \"margin_top\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Order ID : \"}, {\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"{number}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Customer: {recipient_first_name} {recipient_last_name}\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_top\": null, \"font_size\": 18, \"padding_left\": 2}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{recipient_address} {recipient_address2} {recipient_city} {recipient_postcode} {recipient_province} {recipient_country}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"{recipient_phone}\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_top\": 10, \"font_size\": 18, \"padding_left\": 2}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"height\": \"180\", \"border_right_width\": null, \"_col_widths\": \"\"}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"barcode_type\": \"qr\", \"align\": \"center\", \"barcode_value\": \"{ship_tracking}\", \"width\": \"200\", \"height\": \"200\"}], \"min_height\": 50, \"height\": \"\", \"width\": \"\", \"border_width\": null, \"padding_top\": 20, \"padding_bottom\": 20, \"border_left_width\": 1}]}], \"num_cols\": 2, \"col_widths\": [2, 1], \"_col_widths\": \"[2,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"RECEIVER COPY\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_top_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"No.\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Item\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Quantity\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{index}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{product_id.code}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{qty}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}]], \"table_bordered\": true, \"table_striped\": false, \"_col_widths\": \"[0.5,4.5,1]\", \"col_widths\": [0.5, 4.5, 1], \"num_cols\": 3, \"field_rows\": \"lines\"}], \"min_height\": 50, \"border_top_width\": 1, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}], \"min_height\": 50, \"border_width\": 3, \"margin_left\": 10, \"margin_right\": 10}], \"fields\": \"[\\\"contact_id.phone\\\",\\\"exp_ship_date\\\",\\\"number\\\",\\\"ship_tracking\\\", \\\"contact_id.name\\\", \\\"ship_address_id.address\\\", \\\"ship_address_id.address2\\\", \\\"ship_address_id.postal_code\\\", \\\"ship_address_id.province_id.name\\\", \\\"ship_address_id.city\\\", \\\"recipient_first_name\\\",\\\"recipient_last_name\\\",\\\"recipient_address\\\",\\\"recipient_address2\\\",\\\"recipient_city\\\",\\\"recipient_postcode\\\",\\\"recipient_province\\\",\\\"recipient_country\\\",\\\"recipient_phone\\\",\\\"lines.index\\\",\\\"lines.product_id.code\\\",\\\"lines.qty\\\"]\", \"filename\": \"\"}, \"code\": null}, \"account_statement\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Statement of Account for Customer\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"{name}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": null, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": 20}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"Address:\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 5, \"padding_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{name}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{address}\\n\"}]}}], \"min_height\": 50, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"DATE:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"padding_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{date}\\n\"}]}}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"ACCOUNT CODE\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"padding_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{code}\\n\"}]}}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SM CODE:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"padding_left\": 10, \"padding_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sm_code}\\n\"}]}}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TERMS:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"padding_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{terms}\\n\"}]}}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"CURRENCY:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"padding_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{currency}\\n\"}]}}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"PAGE:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"padding_right\": 10}]}, {\"children\": [{\"type\": \"text\"}]}], \"col_widths\": [1, 1]}], \"min_height\": 50, \"margin_top\": null, \"margin_left\": null, \"margin_right\": null, \"margin_bottom\": null, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10}]}], \"col_widths\": [1, 1]}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Date\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Number\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Debit\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Credit\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Balance\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{date}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(debit)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(credit)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(balance)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Total:\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{fmt_money(total_debit)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{fmt_money(total_credit)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12}]], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10, \"num_rows\": 3, \"num_cols\": 6, \"field_rows\": \"lines\", \"_col_widths\": \"[1,1,2,1,1,1]\", \"col_widths\": [1, 1, 2, 1, 1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Balance Due:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{fmt_money(final_balance)}\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"border_width\": 1, \"margin_left\": 20, \"margin_right\": 20}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": 20, \"border_width\": null}], \"min_height\": 50, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10, \"padding_top\": 20, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 20}]}, \"code\": \"async function on_load() {\\n  var contact_id=parseInt(page_params.contact_id);\\n  var start_date=page_params.start_date;\\n  var end_date=page_params.end_date;\\n  //alert(\\\"contact_id:\\\"+contact_id+\\\"\\\\nstart_date:\\\"+start_date+\\\"\\\\nend_date:\\\"+end_date);\\n  load_customer(contact_id);\\n  var account_id=68;\\n  var lines=[];\\n  var total_debit=0;\\n  var total_credit=0;\\n  var year=new Date(start_date).getFullYear();\\n  var month=new Date(start_date).getMonth();\\n  var prev_month=new Date(year,month,1).toISOString().substring(0,10);\\n  var cond={\\n    date_from:\\\"2000-01-01\\\",\\n    date_to:prev_month,\\n    account_id:account_id,\\n    contact_id:contact_id,\\n  };\\n  var report_id=await rpc_execute(\\\"report.account.trans\\\",\\\"create\\\",[cond]);\\n  var res=await rpc_execute(\\\"report.account.trans\\\",\\\"get_report_data\\\",[[report_id]]);\\n  var brought_forward_debit=res.balance_debit;\\n  var brought_forward_credit=res.balance_credit;\\n  var balance=res.balance_debit-res.balance_credit;\\n  total_debit=total_debit+res.balance_debit;\\n  total_credit=total_credit+res.balance_credit;\\n  //alert(brought_forward);\\n  lines.push({\\n    date:prev_month,\\n    description:\\\"Brought Forward\\\",\\n    debit:brought_forward_debit,\\n    credit:brought_forward_credit,\\n    balance:balance,\\n  });\\n  var cond={\\n    date_from:start_date,\\n    date_to:end_date,\\n    account_id:account_id,\\n    contact_id:contact_id,\\n  };\\n  var report_id=await rpc_execute(\\\"report.account.trans\\\",\\\"create\\\",[cond]);\\n  var res=await rpc_execute(\\\"report.account.trans\\\",\\\"get_report_data\\\",[[report_id]]);\\n  res.objs.forEach(o=>{\\n    balance=balance+o.debit-o.credit;\\n    total_debit=total_debit+o.debit;\\n    total_credit=total_credit+o.credit;\\n    lines.push({\\n      number:o.move_number,\\n      date:o.move_date,\\n      description:o.description,\\n      debit:o.debit,\\n      credit:o.credit,\\n      balance:balance,\\n    });\\n  });\\n  set_data({lines:lines,\\n            date:end_date,\\n            final_balance:balance,\\n            currency:\\\"MYR\\\",\\n            total_debit:total_debit,\\n            total_credit:total_credit,\\n           });\\n}\\n\\nasync function load_customer(contact_id) {\\n  var fields=[\\\"code\\\",\\\"name\\\",\\\"default_bill_address_id\\\"];\\n  var res=await rpc_execute(\\\"contact\\\",\\\"read\\\",[[contact_id],fields]);\\n  set_data({\\n    address:res[0].default_bill_address_id?res[0].default_bill_address_id[1]:\\\"(No Default Billing Address)\\\",\\n    code:res[0].code,\\n    name:res[0].name,\\n  });\\n}\\n\\n/*async function load_customer() {\\n  var data = get_data();\\n  var cust = data.contact_id;\\n  var cond=[[\\\"contact_id\\\",\\\"=\\\",cust],[\\\"account_id.name\\\",\\\"=\\\",\\\"Trade Debtors (MYR)\\\"]];\\n  var fields=[\\\"description\\\",\\\"account_id\\\",\\\"debit\\\",\\\"credit\\\",\\\"product_id\\\",\\\"move_id\\\"];\\n  var lines = await rpc_execute(\\\"account.move.line\\\",\\\"search_read\\\",[cond,fields]);\\n  data.lines=[];\\n  const promises=lines.map(async o=>{\\n    var entry=await rpc_execute(\\\"account.move\\\",\\\"read\\\",[[o.move_id[0]],[\\\"date\\\",\\\"number\\\"]]);\\n    data.lines.push({\\n      date:entry[0].date,\\n      number:entry[0].number,\\n      description:o.description,\\n      debit:o.debit,\\n      credit:o.credit,\\n      product:o.product_id?o.product_id[1]:null,\\n    });\\n  //set_data(data);\\n  });\\n  await Promise.all(promises);\\n  //console.log(\\\"lines\\\",data.lines);\\n  var sort=_.sortBy(data.lines,\\\"date\\\");\\n  data.lines=sort;\\n  set_data(data);\\n  if (data.lines==[]) {\\n    set_data({lines:null});\\n  };\\n  \\n}\\n*/\"}, \"m_pcb\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"617px-LHDN_logo,k4KeMHZGD7U=.png\", \"width\": \"90\", \"height\": \"67\", \"margin_left\": 0, \"align\": \"center\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"KALKULATOR PCB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": 0}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"INLAND REVENUE BOARD MALAYSIA\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 2, 4, 1], \"_col_widths\": \"[1,2,4,1]\", \"min_height\": 70, \"margin_top\": 0, \"margin_bottom\": 30}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{test}\\n\"}]}}]}, {\"children\": []}], \"col_widths\": [1, 1]}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"NAME\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 14}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{full_name}\\n\"}]}, \"name\": \"full_name\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"NEW IDENTITY CARD NO.\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{id_no}\\n\"}]}, \"name\": \"\", \"on_click\": \"\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MONTH\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{month}\\n\"}]}, \"font_size\": 15, \"name\": \"\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"YEAR\\t:\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 30}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{year}\\n\"}]}, \"name\": \"\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"_col_widths\": \"[1,2,2]\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"STATUS\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{type_of_residency}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MARITAL STATUS\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{status_category}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DISABLED INDIVIDUAL\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_individual}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DISABLE SPOUSE\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_spouse}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CHILDREN\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{QC}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, null]], \"num_cols\": 4, \"num_rows\": 8, \"_col_widths\": \"[5,1,6,1]\", \"col_widths\": [5, 1, 6, 1], \"margin_left\": 60, \"margin_right\": 60, \"font_size\": 20, \"table_striped\": false, \"padding_top\": null, \"padding_left\": null, \"padding_right\": null, \"padding_bottom\": null, \"name\": \"table1\"}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Children - No of children claimed by ownself\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 10, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [4.5, 2], \"_col_widths\": \"[4.5,2]\", \"margin_left\": 60, \"margin_right\": 60, \"height\": \"60\", \"margin_top\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Eligible Rate\\n\"}]}, \"margin_left\": 10, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [4.5, 2], \"_col_widths\": \"[4.5,2]\", \"margin_left\": 60, \"margin_right\": 60, \"min_height\": 25, \"height\": \"35\"}, {\"type\": \"table\", \"elements\": [[null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"100%\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"50%\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"a)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Under the age of 18 years\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_under_18_100}\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_under_18_50}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"b)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"18 years & above and studying - included Certificate/Matriculation\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_18_study_100}\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_18_study_50}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"c)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Above 18 years and studying full time - Malaysia & Outside\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_18_full_time_100}\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_18_full_time_50}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"d)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled child\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_child_100}\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_child_50}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"e)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled child studying - Malaysia & Outside\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_child_study_100}\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_child_study_50}\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\"}, {\"type\": \"text\"}, {\"type\": \"text\"}, {\"type\": \"text\"}], [{\"type\": \"text\"}, {\"type\": \"text\"}, {\"type\": \"text\"}, {\"type\": \"text\"}]], \"num_rows\": 6, \"num_cols\": 4, \"margin_left\": 60, \"margin_right\": 60, \"_col_widths\": \"[0.5,4,1,1]\", \"col_widths\": [0.5, 4, 1, 1], \"table_bordered\": true, \"font_size\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Accumulated Remuneration/MTD/Rebate/Deduction until before current month for current year (including from previous employer)\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 1], \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#ffffff\", \"margin_left\": 60, \"margin_right\": 60, \"_col_widths\": \"[3,1,1]\", \"border_color\": \"#ffffff\", \"border_width\": 1, \"border_radius\": 1, \"shadow_color\": \"#ffffff\", \"margin_top\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated remuneration/Benefit-In-Kind (BIK)/Value of Living Accomodation (VOLA) \\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"name\": \"vola\", \"editable\": true, \"visibility\": \"0\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated EPF and Other Approved FundsNet accumulated remuneration\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_acc_epf}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net accumulated remuneration \\n\"}]}, \"font_size\": 16}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_net_acc_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated MTD paid (including MTD on additional remuneration)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_acc_mtd}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total accumulated zakat paid\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_total_acc_zakat}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"OTHER ACCUMULATED DEDUCTIONS\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1) Medical expenses for own parents, special need and parent care\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_med_exp}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\tFather Relief\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_father_relief}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\tMother Relief\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_mother_relief}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"2) Basic supporting equipment for disabled self, spouse, child or parent \\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_support_disabled}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"3) Education fees\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_edu_fees}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"4) (a) Medical expenses on serious diseases for self, spouse or child\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"(a) {prev_med_exp_serious}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"5) (b) Complete medical examination for self, spouse or child\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"(b) {prev_com_med_exam}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\tTotal a+b\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_total_a_b}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"6) Net deposit in Skim Simpanan Pendidikan Nasional (SSPN)\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_net_dep_sspn}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"7) Payment of alimony to former wife\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_alimony}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"8a) Life insurance premium for Retired Civil Servant\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_ins_ret_civ_ser}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"8b) Life insurance premium for Other than Retired Civil Servant\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_ins_oth_ret_civ_ser}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"9) Education and medical insurance premium\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_edu_med_ins_prem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"10) Deferred annuity premium or contribution to Private Retirement Scheme\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_def_annuity}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"11) SOCSO Contribution\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_socso_cont}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"12) Purchase of readings, computer, smartphone, tablet, sport equipment, gymnasium membership and subscription of broadband internet\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_purch}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"13) Purchase of Breastfeeding Equipment (deduction is allowed once every 2 years for women tax payer only)\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_purch_bre_equip}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"14) Fees paid to Child Care Centre and Kindergardens\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_fee_child_care}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Accumulated Deductions\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_total_acc_deduct}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [], [], [], [], []], \"num_cols\": 3, \"num_rows\": 25, \"_col_widths\": \"[3,1,1]\", \"col_widths\": [3, 1, 1], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CURRENT MONTH'S REMUNERATION\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 1], \"_col_widths\": \"[3,1,1]\", \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Current month's remuneration\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_mon_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Current month's EPF and Other Approved Funds\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_mon_epf}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total net current month's remuneration\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_net_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"table_hover\": true, \"num_cols\": 3, \"num_rows\": 3, \"_col_widths\": \"[3,1,1]\", \"col_widths\": [3, 1, 1], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CURRENT MONTH'S ADDITIONAL REMUNERATION\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 1], \"_col_widths\": \"[3,1,1]\", \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"a) Bonus\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_bonus}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"b) Arrears\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_arrears}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"c) Comissions (not paid monthly)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_commission}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"d) Gratuity\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_gratuity}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"e) Compensation\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_compensation}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"f) Director's fee (not paid monthly)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_director_fee}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"g) Income tax paid by employers on behalf of employees\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_inc_tax_on_behalf}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"h) Others\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_others}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"i) Total additional remuneration (a) to (h)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_add_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"j) Additional remuneration's EPF [not exceeding RM4000 per year] (a) to (h)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_add_rem_epf}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"k) Total net additional remuneration [(i)-(j)]\\n\"}]}}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_net_add_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_rows\": 11, \"num_cols\": 3, \"_col_widths\": \"[3,1,1]\", \"col_widths\": [3, 1, 1], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CURRENT MONTH'S DEDUCTION\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 1], \"_col_widths\": \"[3,1,1]\", \"margin_left\": 60, \"margin_right\": 60, \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1) Medical expenses for own parents, special need and parent care\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_med_exp}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\tFather Relief\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_father_relief}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\tMother Relief\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_mother_relief}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"2) Basic supporting equipment for disabled self, spouse, child or parent\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_support_disabled}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"3) Education fees\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_edu_fees}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"4) (a) Medical expenses on serious diseases for self, spouse or child\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_med_exp_serious}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"5) (b) Complete medical examination for self, spouse or child\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_com_med_exam}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\tTotal a + b\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_a_b}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"6) Net deposit in Skim Simpanan Pendidikan Nasional (SSPN)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_net_dep_sspn}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"7) Payment of alimony to former wife\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_alimony}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"8a) Life insurance premium for Retired Civil Servant\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_ins_ret_civ_ser}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"8b) Life insurance premium for Other than Retired Civil Servant\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_ins_oth_ret_civ_ser}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"9) Education and medical insurance premium\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_edu_med_ins_prem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"10) Deferred annuity premium or contribution to Private Retirement Scheme\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_def_annuity}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"11) SOCSO Contribution\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_socso_cont}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"12) Purchase of readings, computer, smartphone, tablet, sport equipment, gymnasium membership and subscription of broadband internet\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_purch}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"13) Purchase of Breastfeeding Equipment (deduction is allowed once every 2 years for women tax payer only)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_purch_bre_equip}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"14) Fees paid to Child Care Centre and Kindergardens\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_fee_child_care}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"15) Total Monthly Deductions\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_deduct}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]], \"num_cols\": 3, \"num_rows\": 19, \"_col_widths\": \"[3,1,1]\", \"col_widths\": [3, 1, 1], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CURRENT MONTH'S REBATE INFORMATION\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Zakat or Fitrah\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_zakat}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"margin_left\": 60, \"margin_right\": 60, \"margin_top\": 20, \"margin_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MTD CALCULATION\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"margin_left\": 60, \"margin_right\": 60, \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"margin_top\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"STEP 1 : MTD to yearly net remuneration exclude the additional remuneration\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"margin_left\": 60, \"margin_right\": 60, \"margin_top\": 10, \"margin_bottom\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"Net MTD \\t=\\u00a0 \\t[((P-M)R + B - ( Z + X) )/n+1] - Zakat for current month\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P = \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"Total chargeable income for a year exclude [\\u2211(Y-K)+(Y1-K1)+[(Y2-K2)n] + (Yt-Kt)]-(D+S+Du+Su+QC+\\u2211LP+LP1) \"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"where (Yt-Kt) = 0 \\u2211(Y-K) = Total accumulated net remuneration including net additional remuneration which has been paid to an employee until before current month including net remuneration which has been paid by previous employer (if any);\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_net_acc_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Y = Total monthly gross remuneration and additional remuneration which has been paid including monthly gross remuneration paid by previous employer (if any);\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Y}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"K = Total contribution to EPF or Other Approved Funds made on all remuneration (monthly remuneration, additional remuneration and remuneration from previous employer on current year) that was paid (including premium claimed under previous employment, if any) not exceeding RM4,000.00 per year;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{K}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Y1 = Current month\\u2019s normal remuneration;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Y1}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"K1 = Contribution to EPF or Other Approved Funds paid subject to total qualifying amount for current month\\u2019s remuneration not exceeding RM4,000.00 per year;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{K1}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Y2 = Estimated remuneration as per Y1 for the following month;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Y2}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"K2 = Estimated balance of total contribution to EPF or other Approved Scheme paid for the qualifying monthly balance [[RM4,000 (limited) - (K + K1 + Kt)]/n] or K1, whichever is lower;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{K2}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\"}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"n = Remaining working month in a year;\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{n}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"n + 1 = Remaining working month in a year including current month;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{n+1}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"editable\": false, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"D = Deduction for individual;\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{D}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"S = Deduction for spouse of RM3,000.00;\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{S}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"D\"}, {\"attributes\": {\"color\": \"#000000\", \"script\": \"sub\"}, \"insert\": \"u\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"\\u00a0= Deduction for disable individual;\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Du}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"S\"}, {\"attributes\": {\"color\": \"#000000\", \"script\": \"sub\"}, \"insert\": \"u\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"\\u00a0= Deduction for disable spouse;\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Su}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Q = Deduction for eligible Children\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{QC}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"C = The number of children eligible;\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\u2211LP = Other accumulated allowable deductions including from previous employment (if any);\\u00a0\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{ELP}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"LP\"}, {\"attributes\": {\"color\": \"#000000\", \"script\": \"sub\"}, \"insert\": \"1\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"\\u00a0= Other allowable deductions for current month ;\\u00a0\\u00a0\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{LP1}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P = \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"[\\u2211({Y} - {K}) + ({Y1} - {K1}) + [({Y2} - {K2}) x {n}] + ({Yt} - {Kt})] - ({D} + {S} + {Du} + {Su} + {QC} + {ELP} + {LP1})\"}, {\"insert\": \"\\t=\\n\\n****************************\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"name\": \"P\"}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"M = \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Amount of first chargeable income for every range of chargeable income a year;\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"width\": \"\", \"name\": \"M\"}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"R = \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Percentage of tax rates;\\u00a0\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"width\": \"\", \"name\": \"R\"}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"B =\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Amount of tax on M less tax rebate for individual and spouse (if qualified);\\u00a0\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"name\": \"B\"}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Z =\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Accumulated zakat paid other than zakat for current month;\\u00a0\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"name\": \"Z\"}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"X =\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Accumulated MTD paid for previous month including from previous employment (including MTD on additional remuneration);\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"bullet_text\": \"\", \"name\": \"X\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Yearly Tax\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"=\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{CS}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Current Month MTD\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"=\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"[[{P_resident} - {M}] x {R_resident} + ({B}) -({Z_resident} + {X_resident})] /  ({n} +1)\"}, {\"insert\": \"\\t\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"=\"}, {\"insert\": \"\\t\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"************************\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"name\": \"curMonthMTD\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net MTD\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"=\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Current Month MTD - \"}, {\"insert\": \"{cur_zakat}\\t=\\n\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"********\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"name\": \"netMTD\"}], [], [], [], [null, {\"type\": \"text\"}]], \"num_cols\": 4, \"num_rows\": 26, \"_col_widths\": \"[3,3,10,4]\", \"col_widths\": [3, 3, 10, 4], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"2.Yearly MTD\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD (B)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"=\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"(X)+[Current Month MTD(n+1)]\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_acc_mtd} + [{curMonthMTD_resident} * ({n} + 1)]\\t=\\n*******************************\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{mtdb}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]], \"margin_left\": 60, \"margin_right\": 60, \"_col_widths\": \"[3,3,10,4]\", \"col_widths\": [3, 3, 10, 4], \"num_cols\": 4, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"3.Yearly Tax\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"CS\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"=\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"(P-M)R+B\\n\"}]}, \"font_size\": 15}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P \\t=\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total income tax for a year include current additional remuneration\\n[\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"\\u2211\"}, {\"insert\": \"(Y-K) + (Y1 - K1) + (Y2 - K2)n) + (Yt - Kt)] - (D + S + Du + Su + QC + ELP + LP1)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Yt = Gross additional remuneration for current growth;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Yt}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Kt = Contribution to EPF or Other Approved Funds for current month's additional remuneration subject to total qualifying amount not exceeding  RM6,000.00 per year;\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Kt}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P\\t=\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"\\u2211({Y} - {K}+ {ELP} - {Yt}) + ({ELP} +  {Yt})x\"}, {\"insert\": \"\\t=\\n\\n****************\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{P_CS}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"(0.00-0.00)x+(0.00) **********\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{CS}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], []], \"num_rows\": 6, \"num_cols\": 4, \"_col_widths\": \"[3,3,10,4]\", \"col_widths\": [3, 3, 10, 4], \"margin_left\": 60, \"margin_right\": 60, \"table_striped\": false, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"4.Additional Remuneration MTD :\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD (C)\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"=\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"CS - [MTD(B) + Accumulated Zakat that have been paid]\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{CS} - [{X_resident} + {cur_zakat}] ****************\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{mtdC}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]], \"_col_widths\": \"[3,3,10,4]\", \"col_widths\": [3, 3, 10, 4], \"margin_left\": 60, \"margin_right\": 60, \"num_cols\": 4, \"margin_bottom\": 60}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"5.MTD Current Month :\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD\\n\"}]}, \"font_size\": 15}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD (A) + MTD (C)\\n\"}]}, \"font_size\": 15}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{netMTD_resident} + {mtdC}\\n****************************\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{mtd}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}]], \"num_cols\": 4, \"_col_widths\": \"[3,3,10,4]\", \"col_widths\": [3, 3, 10, 4], \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 60}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CALCULATION RESULT\"}, {\"insert\": \"\\n\"}]}, \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Net MTD\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"font_size\": 15, \"name\": \"netMTD\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MTD on additional remuneration\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"background_color\": \"#d9d9d9\", \"hover_background_color\": \"#d9d9d9\", \"font_size\": 15, \"name\": \"add_rem\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MTD for month of August to be deducted (after rounding to the nearest upper 5 cent)\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"name\": \"cur_mtd\"}]], \"num_cols\": 2, \"_col_widths\": \"[4,1]\", \"col_widths\": [4, 1], \"margin_left\": 60, \"margin_right\": 60, \"num_rows\": 4, \"margin_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"Note : MTD for every month from DECEMBER to DECEMBER is RM 0.00 if there is no changes on remuneration, deduction and rebate \"}, {\"attributes\": {\"color\": \"#e60000\", \"bold\": true}, \"insert\": \"(MTD is not compound if the amount is less then RM10)\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 60, \"margin_right\": 60}], \"min_height\": 50, \"margin_left\": 0, \"margin_right\": 0, \"font_size\": null}], \"header_height\": \"80\", \"footer_height\": \"80\", \"show_page_no\": true, \"fields\": \"[\\\"B\\\", \\\"child_18_full_time_100\\\", \\\"child_18_full_time_50\\\", \\\"child_18_full_time_total\\\", \\\"child_18_study_100\\\", \\\"child_18_study_50\\\", \\\"child_18_study_total\\\", \\\"child_under_18_100\\\", \\\"child_under_18_50\\\",\\\"full_name\\\", \\\"name\\\",\\\"child_under_18_total\\\", \\\"CS\\\", \\\"cur_add_rem_epf\\\", \\\"cur_alimony\\\", \\\"cur_arrears\\\", \\\"cur_bik\\\", \\\"cur_bonus\\\", \\\"cur_com_med_exam\\\", \\\"cur_commission\\\", \\\"cur_compensation\\\", \\\"cur_def_annuity\\\", \\\"cur_director_fee\\\", \\\"cur_edu_fees\\\", \\\"cur_edu_med_ins_prem\\\", \\\"cur_father_relief\\\", \\\"cur_fee_child_care\\\", \\\"cur_gratuity\\\", \\\"cur_inc_tax_on_behalf\\\", \\\"cur_ins_oth_ret_civ_ser\\\", \\\"cur_ins_ret_civ_ser\\\", \\\"cur_med_exp\\\", \\\"cur_med_exp_serious\\\", \\\"cur_mon_epf\\\", \\\"cur_mon_rem\\\", \\\"curMonthMTD_IRDA\\\", \\\"curMonthMTD_REP\\\", \\\"curMonthMTD_resident\\\", \\\"cur_mother_relief\\\", \\\"cur_net_dep_sspn\\\", \\\"cur_others\\\", \\\"cur_purch\\\", \\\"cur_purch_bre_equip\\\", \\\"cur_socso_cont\\\", \\\"cur_support_disabled\\\", \\\"cur_total_a_b\\\", \\\"cur_total_add_rem\\\", \\\"cur_total_deduct\\\", \\\"cur_total_net_add_rem\\\", \\\"cur_total_net_rem\\\", \\\"cur_vola\\\", \\\"cur_zakat\\\", \\\"D\\\", \\\"disabled_child_100\\\", \\\"disabled_child_50\\\", \\\"disabled_child_study_100\\\", \\\"disabled_child_study_50\\\", \\\"disabled_child_study_total\\\", \\\"disabled_child_total\\\", \\\"disabled_individual\\\", \\\"disabled_spouse\\\", \\\"Du\\\", \\\"E\\\", \\\"ELP\\\", \\\"employment_category\\\", \\\"full_name\\\", \\\"K\\\", \\\"K1\\\", \\\"K2\\\", \\\"Kt\\\", \\\"LP1\\\", \\\"M\\\", \\\"month\\\", \\\"mtd\\\", \\\"mtdb\\\", \\\"mtdC\\\", \\\"mtd_formula\\\", \\\"n\\\", \\\"name\\\", \\\"netMTD_IRDA\\\", \\\"netMTD_REP\\\", \\\"netMTD_resident\\\", \\\"non_res_add_rem\\\", \\\"non_res_bik\\\", \\\"non_res_cur_rem\\\", \\\"non_res_mtd\\\", \\\"non_res_vola\\\", \\\"P_CS\\\", \\\"P_IRDA\\\", \\\"P_REP\\\", \\\"P_resident\\\", \\\"prev_acc_epf\\\", \\\"prev_acc_mtd\\\", \\\"prev_acc_rem_bik_vola\\\", \\\"prev_alimony\\\", \\\"prev_com_med_exam\\\", \\\"prev_def_annuity\\\", \\\"prev_edu_fees\\\", \\\"prev_edu_med_ins_prem\\\", \\\"prev_father_relief\\\", \\\"prev_fee_child_care\\\", \\\"prev_ins_oth_ret_civ_ser\\\", \\\"prev_ins_ret_civ_ser\\\", \\\"prev_med_exp\\\", \\\"prev_med_exp_serious\\\", \\\"prev_mother_relief\\\", \\\"prev_net_acc_rem\\\", \\\"prev_net_dep_sspn\\\", \\\"prev_purch\\\", \\\"prev_purch_bre_equip\\\", \\\"prev_socso_cont\\\", \\\"prev_support_disabled\\\", \\\"prev_total_a_b\\\", \\\"prev_total_acc_deduct\\\", \\\"prev_total_acc_zakat\\\", \\\"QC\\\", \\\"R_IRDA\\\", \\\"R_REP\\\", \\\"R_resident\\\", \\\"S\\\", \\\"status_category\\\", \\\"Su\\\", \\\"T\\\", \\\"type_of_residency\\\", \\\"X_IRDA\\\", \\\"X_REP\\\", \\\"X_resident\\\", \\\"Y\\\", \\\"Y1\\\", \\\"Y2\\\", \\\"year\\\", \\\"yearlyTax\\\", \\\"Yt\\\", \\\"Z_IRDA\\\", \\\"Z_REP\\\", \\\"Z_resident\\\"]\", \"font_size\": \"20\"}, \"code\": \"async function on_load(){\\n \\n  var data=get_data();\\n  var name = data.full_name;\\n  set_data({\\n    test:\\\"one\\\",\\n  });    \\n\\n  var conds = [\\\"full_name\\\",\\\"=\\\",name];\\n  var fields=[\\\"full_name\\\",\\\"month\\\",\\\"year\\\"];\\n  var pcb_list=await rpc_execute('hr2.pcb','search_read',[conds,fields]); \\n\\n  set_data({\\n    test:\\\"two\\\",\\n  });    \\n\\n\\n}\\n\"}, \"print_invoice_NDA\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3,Damansara Intan\\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\\n\"}]}, \"margin_top\": 10, \"font_size\": 17}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-08 (1) (1),mmi0W1ERv3Q=.png\", \"margin_left\": 300}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"CONFIDENTIALITY AND NON-DISCLOSURE AGREEMENT\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20, \"border_bottom_width\": 1}], \"min_height\": 50}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Date :  {date}\\nPrepared by : Alwin Ng \\n\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"whereas, \"}, {\"insert\": \"{contact_id.name}\\n\\u00a0\\u2013 hereafter referred to as CLIENT \\u2013 agrees to furnish business partner SmartB Solutions Sdn Bhd \\u2013 hereafter referred to as SMARTB - certain confidential information relating to ideas, inventions or products for the purposes of utilising the system or software supplied by SMARTB.\\n\\n\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"whereas, \"}, {\"insert\": \"SMARTB\\n- agrees to review, examine, inspect or obtain such confidential information only for the purposes described above, and to otherwise hold such information confidential pursuant to the terms of this Agreement.\\n\\nBe it known that the CLIENT has or shall furnish to SMARTB certain Proprietary (or confidential) Information and may further allow SMARTB the right to discuss or interview representatives of CLIENT on the following conditions:\\n\\n\\n\"}]}, \"margin_top\": 10, \"margin_left\": 20, \"margin_right\": 20, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1. SMARTB agrees: (i) to hold the Proprietary Information in strict confidence and to take all reasonable precautions to protect such Proprietary Information (including, without limitation, all precautions SMARTB employs with respect to its own confidential materials), (ii) not to disclose any such Proprietary Information or any information derived there from to any third person, (iii) not to make any use whatsoever at any time of such Proprietary Information except to evaluate internally its relationship with the CLIENT, and (iv) not to copy or reverse engineer any such Proprietary Information. SMARTB shall procure that its employees, agents and sub-contractors to whom Proprietary Information is disclosed or who have access to Proprietary Information sign a nondisclosure or similar agreement in content substantially similar to this Agreement.\\n\\n2. Immediately upon the written request by the CLIENT at any time, SMARTB will return to the CLIENT all Proprietary Information and all documents or media containing any such Proprietary Information and any and all copies or extracts thereof, save that where such Proprietary Information is a form incapable of return or has been copied or transcribed into another document, it shall be destroyed or erased, as appropriate.\\n\\n3. At the conclusion of any discussions, or upon demand by CLIENT all confidential information, including prototypes, written notes, photographs, sketches, models, memoranda or notes taken shall be returned to CLIENT.\\n\\n4. Confidential information shall not be disclosed to any employee, consultant or third party, other than representatives of SMARTB, unless they agree to execute and be bound by the terms of this Agreement, and have been approved by CLIENT.\\n\\n5. This Agreement and its validity, construction and effect shall be governed by the laws of Malaysia.\\n\\n6. CLIENT, in return, would respect the Proprietary Information, relating to the service, software and system, supplied by SMARTB such that all the above conditions (1-5) would apply in relation to the partnership between the CLIENT and SMARTB.\\n\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"AGREED AND ACCEPTED BY:\"}, {\"insert\": \"\\nCLIENT and SMARTB agree to be bound by the terms and conditions set out in the Agreement.\\u00a0\\n\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"For and behalf of\\u00a0{contact_id.name}\\n\\n \\n\\nSignature :  ________________________\\nName : \\nIC / Passport No. : \\nTitle : \\nDate : \\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"For and behalf  of  SmartB Solutions Sdn. Bhd. (1240771-A)\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \" \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\\n\"}, {\"insert\": \"\\nSignature : \\n\"}]}}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"WhatsApp Image 2019-08-26 at 10.11.43,Kz5ErUo1_tc=.jpeg\", \"border_bottom_width\": 2, \"margin_right\": 50, \"height\": \"85\", \"width\": \"80\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Name :  Alwin Ng Yoke Ping \\nIC / Passport : 820427-14-5051\\nTitle: Director\\nDate : {date}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20}], \"page_margin_top\": 15, \"page_margin_left\": 5, \"page_margin_right\": 5, \"page_margin_bottom\": 15, \"fields\": \"[\\\"date\\\",\\\"contact_id.name\\\"]\", \"filename\": \"NDA-Page_1-{contact_id.name}\"}, \"code\": null}, \"net_salary_print\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"Salary Slip\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"align\": \"center\", \"margin_top\": 65}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"smartB-logo-2-300x148,EodqyPDYCn8=,SH9laBrrYfU=,mJivawHWmj8=.png\", \"width\": \"230\", \"height\": \"130\", \"align\": \"right\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"vertical_align\": \"top\", \"margin_top\": 40, \"margin_left\": 70, \"margin_right\": 70}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Employee's Name :\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{name.first_name}\\n{name.surname}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Tax Resident:\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{tax_resident}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Job Title:\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{job_title}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"IC / Passport No. :\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{ic_ps_no}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Gender:\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{gender}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Phone No. :\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{phone_no}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"EPF Rate (%)\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{epf_rate}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Voluntary Excess Rate (%)\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{epf_add_rate}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Year :\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{year}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Payslip No :\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Month :\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{month}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Date Issue:\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{date_issue}\\n\"}]}, \"font_size\": 18}]], \"margin_left\": 60, \"margin_right\": 60, \"margin_top\": 30, \"border_top_width\": 1, \"border_right_width\": 1, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_radius\": 1, \"table_bordered\": true, \"num_cols\": 4, \"num_rows\": 6, \"_col_widths\": \"[1.5,2,1.5,2]\", \"col_widths\": [1.5, 2, 1.5, 2]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"EARNING / INCOME (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"border_left_width\": 1, \"border_color\": \"#c3c3c3\", \"font_size\": 18, \"color\": \"#ffffff\", \"background_color\": \"#666666\", \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5, \"margin_top\": null, \"margin_left\": null, \"margin_right\": null, \"margin_bottom\": null}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Salary\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{salary_per_month}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Additional Income\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{gross_add_income}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 18}, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 18}, null]], \"table_bordered\": true, \"num_cols\": 2, \"num_rows\": 4, \"_col_widths\": \"[2,1]\", \"col_widths\": [2, 1], \"border_right_width\": null}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DEDUCTION (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"border_left_width\": 1, \"border_color\": \"#c3c3c3\", \"border_right_width\": 1, \"font_size\": 18, \"color\": \"#ffffff\", \"background_color\": \"#666666\", \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Employee EPF\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{epf_ee}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Employee SOCSO\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{socso_ee}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"EIS\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{eis_ee}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"PCB\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{pcb}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{total_deduction}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Nett Pay\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{net_salary}\\n\"}]}, \"font_size\": 18}], [null, null], []], \"table_bordered\": true, \"num_cols\": 2, \"num_rows\": 6, \"_col_widths\": \"[2,1]\", \"col_widths\": [2, 1]}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": null, \"border_top_width\": 1, \"border_left_width\": null, \"border_right_width\": null, \"border_bottom_width\": null, \"border_color\": \"#c3c3c3\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TAX DEDUCTION INFO\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 10, \"border_color\": \"#c3c3c3\", \"border_left_width\": 1, \"border_bottom_width\": null, \"border_right_width\": 1, \"border_top_width\": 1, \"font_size\": 18, \"color\": \"#ffffff\", \"background_color\": \"#666666\", \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Marital Status\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{marriage_status}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disable Individual\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{dsb_in}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disable Spouse\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{dsb_sp}\\n\"}]}, \"font_size\": 18}]], \"table_bordered\": true, \"_col_widths\": \"[1,2]\", \"col_widths\": [1, 2], \"num_cols\": 2, \"num_rows\": 3}]}, {\"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Children Tax\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{total_child_tax}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"EPF Relief\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{epf_n_oaf}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Tax\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{total_tax}\\n\"}]}, \"font_size\": 18}]], \"table_bordered\": true, \"num_cols\": 2, \"num_rows\": 3, \"_col_aligns\": \"\", \"col_aligns\": null, \"_col_widths\": \"[1,2]\", \"col_widths\": [1, 2]}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 10}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 50, \"margin_right\": 50, \"margin_top\": 10, \"_col_widths\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No signature is required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 60, \"margin_right\": 60, \"font_size\": 16}], \"min_height\": 50, \"footer\": true}], \"min_height\": 50, \"height\": \"1000\"}], \"fields\": \"[\\\"number\\\",\\\"date_issue\\\",\\\"tax_resident\\\",\\\"name.first_name\\\",\\\"name.surname\\\",\\\"gender\\\",\\\"job_title\\\",\\\"ic_ps_no\\\",\\\"phone_no\\\",\\\"salary_per_month\\\",\\\"gross_add_income\\\",\\\"socso_ee\\\",\\\"epf_ee\\\",\\\"eis_ee\\\",\\\"total_deduction\\\",\\\"pcb\\\",\\\"net_salary\\\",\\\"month\\\",\\\"year\\\",\\\"marriage_status\\\",\\\"epf_n_oaf\\\",\\\"total_child_tax\\\",\\\"dsb_in\\\",\\\"dsb_sp\\\",\\\"total_tax\\\",\\\"epf_rate\\\",\\\"epf_add_rate\\\"]\"}, \"code\": null}, \"new_gr\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"New Goods Receipt\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 200, \"margin_right\": 200}], \"min_height\": 50, \"margin_left\": 150, \"margin_right\": 150, \"margin_top\": 10, \"avoid_keyboard\": true}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Product:\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"select2\", \"placeholder\": \"Select Product...\", \"_selection\": \"\", \"selection\": null, \"model\": \"product\", \"condition\": \"[[\\\"can_purchase\\\",\\\"=\\\",\\\"true\\\"],[\\\"can_sell\\\",\\\"=\\\",\\\"true\\\"],[\\\"type\\\",\\\"=\\\",\\\"stock\\\"]]\", \"search_method\": \"\", \"limit\": null, \"field_value\": \"\", \"name\": \"product_list\", \"on_change\": \"on_load()\", \"load_options\": \"\", \"load_name\": \"\", \"formula\": \"\"}]}, {\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Contact:\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"select2\", \"placeholder\": \"Select Contact...\", \"_selection\": \"\", \"selection\": null, \"name\": \"contact_list\", \"model\": \"contact\", \"condition\": \"[[\\\"active\\\",\\\"=\\\",\\\"true\\\"],[\\\"supplier\\\",\\\"=\\\",\\\"true\\\"]]\", \"on_change\": \"on_load()\", \"search_method\": \"\", \"formula\": \"search_read_path\", \"load_name\": \"\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Reset\", \"align\": \"center\", \"margin_right\": null, \"margin_top\": 25, \"margin_left\": null, \"margin_bottom\": null, \"padding_top\": 2, \"padding_bottom\": 2, \"padding_left\": 5, \"padding_right\": 5, \"on_click\": \"resetFilter()\", \"background_color\": \"rgba(217,1,1,0.81)\", \"hover_background_color\": \"#c10606\", \"parallax\": false, \"color\": \"rgba(0,0,0,0.01)\"}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 0.05, 1, 0.5], \"align\": \"right\", \"_col_widths\": \"[1,0.05,1,0.5]\", \"margin_right\": 10, \"margin_left\": 300}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Without GR\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"margin_top\": 10, \"margin_bottom\": 10}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Invoice\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Contact\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Products\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Qty\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Total Amount\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Action\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{invoice_num}\\n\"}]}, \"on_click\": \"selectInv(_cid)\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_name}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product_qty_summary}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{total_qty}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM \"}, {\"insert\": \"{total_amount}\\n\"}]}}, {\"type\": \"button\", \"text\": \"{btnText}\", \"on_click\": \"createOrAlloc(_cid)\", \"align\": \"center\", \"padding_top\": 2, \"padding_bottom\": 2, \"padding_left\": 5, \"padding_right\": 5}], [], [], [], [], [], [], [], []], \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10, \"margin_top\": 10, \"num_cols\": 6, \"num_rows\": null, \"_col_widths\": \"[0.3,0.5,1,0.1,0.2,0.3]\", \"col_widths\": [0.3, 0.5, 1, 0.1, 0.2, 0.3], \"table_striped\": true, \"table_bordered\": true, \"field_rows\": \"linesInvoices\"}], \"min_height\": 50}]}, \"code\": \"/*\\nCoded by: Nicole\\nDesc: New GR page 1 v1.3 (version numbering based on number of proposed solution done)\\nModel used: account.invoice, account.invoice.line, stock.picking\\nPS: First Internal Project within SmartB Page Builder\\n\\nRedo after examined by Max on 21st May 2021 (Friday)\\n\\nChanges/Updates (16th June 2021, Wednesday)\\n- added sections to view invoices with/without GR\\n- added \\\"view GR\\\" function for invoices with GR\\n\\nChanges/Updates (22nd July 2021, Thursday)\\n- added product code in the product description\\n\\nIssues/Challenges:\\n- transitioning to page 2 may sometime stuck due to connection closed (*1)\\n- Invoice hyperlink can only be open by middle clicking (*2)\\n\\nProposed Solution:\\n*1: Refresh page\\n*2: may need to add event listener for left click on the hyperlink\\n\\nTo-do:\\n- optimize filter accuracy for products and gr_number\\n- check with ECom if they will need \\\"track\\\" added, below is the code snippet to start with\\n\\n  var track = await rpc_execute(\\\"account.track.categ\\\",\\\"search_read\\\",[[],[]]);\\n  console.log(\\\"track category: \\\", track);\\n  \\n  more in \\\"stock.picking\\\" model\\n  \\n*/\\n\\nasync function on_load(){\\n  const log = console.log;\\n  \\n  set_data({\\n    linesInvoicesWithoutGr: null,\\n    linesInvoicesWithGr: null\\n  });\\n  var data = get_data(); //set for receive filter options\\n  var contact_id = data.contact_list ? data.contact_list.id : null;\\n  \\n  //loads Seek Invoice and existing GR\\n  let zeekInv = await rpc_execute(\\\"stock.picking\\\",\\\"load_inv_zeek\\\",[contact_id]);\\n  \\n  //To edit which data imported, edit the custom function \\\"load_inv_zeek\\\" from model \\\"stock.picking\\\"\\n  //To check data model\\n  //console.log(\\\"zeekInv:\\\", zeekInv);\\n  \\n  let linesInvoicesWithoutGr = [];\\n  let linesInvoicesWithGr = [];\\n  let linesInvoices = [];\\n  \\n  for(let line of zeekInv){\\n    let linesNewGr = [];\\n    let productQtySummary = [];\\n    let grNumber = 0, grState = \\\"\\\";\\n    let i = 0;\\n    for(let lines of line.lines){\\n      if (lines.product_id != null){\\n        if (productQtySummary.length == 0){\\n          productQtySummary += `${(i+1)}. [${lines.product_id.code}] ${lines.product_id.name} (${lines.qty})`;\\n          i++;\\n        } else {\\n          productQtySummary += `\\\\n${(i+1)}. [${lines.product_id.code}] ${lines.product_id.name} (${lines.qty})`;\\n          i++;\\n        }\\n      } else if (lines.description != null){\\n        if (productQtySummary.length == 0){\\n          productQtySummary += `${(i+1)}. ${lines.description}`;\\n          i++;\\n        } else {\\n          productQtySummary += `\\\\n${(i+1)}. ${lines.description}`;\\n          i++;\\n        }\\n      } else {\\n        productQtySummary = \\\"[No product listed under this invoice.]\\\";\\n      }\\n      \\n      let linesObj = {\\n        productId: lines.product_id,\\n        qty: lines.qty,\\n        uomId: lines.uom_id,\\n        unitPrice: lines.unit_price\\n      };\\n      linesNewGr.push(linesObj);\\n    }\\n    for(let state of line.pickings){\\n      grNumber = state.id;\\n      grState = state.state;\\n    }\\n    let obj = [{\\n      _cid: _.uniqueId(),\\n      invoice_id: line.id,\\n      invoice_num: line.number,\\n      contact_id: line.contact_id ? line.contact_id.id : null,\\n      contact_name: line.contact_id ? line.contact_id.name : null,\\n      total_qty: line.qty_total,\\n      total_amount: line.amount_total,\\n      product_qty_summary: productQtySummary,\\n      gr_number: grNumber,\\n      linesNewGr: linesNewGr,\\n      state: grState.charAt(0).toUpperCase() + grState.slice(1)\\n    }];\\n    \\n    //to change font color / button text\\n    if (obj[0].state == \\\"\\\"){\\n      //obj[0].font_color = \\\"#ffcc00\\\"\\n      obj[0].btnText = \\\"Copy to Goods Receipt\\\";\\n    } else if (obj[0].state == \\\"Draft\\\"){\\n      //obj[0].font_color = \\\"#00b300\\\"\\n      obj[0].btnText = \\\"Allocate Cost to Goods Receipt\\\";\\n    } else {\\n      // do nothing / ignore \\\"Done\\\" and \\\"Voided\\\"\\n    }\\n    \\n    if(data.product_list){\\n      obj = obj.filter(itm => {\\n        for(let lines of itm.linesNewGr){\\n          if (lines.productId != null) {\\n            return lines.productId.id == data.product_list.id;\\n          }\\n        }\\n      });\\n      if (obj.length != 0){\\n        // to include \\\"draft\\\" state with \\\"new\\\" (null) state\\n        if (obj[0].state == \\\"\\\"){\\n          linesInvoices.push(obj[0]);\\n        } else if (obj[0].state == \\\"Draft\\\"){\\n          linesInvoices.push(obj[0]);\\n        } else {\\n          // do nothing / ignore \\\"Done\\\" and \\\"Voided\\\"\\n        }\\n      } else {\\n        //Do nothing / ignore 'obj'\\n      }\\n    } else {\\n      if (obj[0].state == \\\"\\\"){\\n        linesInvoices.push(obj[0]);\\n      } else if (obj[0].state == \\\"Draft\\\"){\\n        linesInvoices.push(obj[0]);\\n      } else {\\n        // do nothing / ignore \\\"Done\\\" and \\\"Voided\\\"\\n      }\\n    }\\n  }\\n  \\n  //logs linesInvoices\\n  log(\\\"linesInvoices:\\\", linesInvoices);\\n  \\n  set_data({\\n    linesInvoices: linesInvoices\\n  });\\n}\\n\\nasync function resetFilter(){\\n  set_data({contact_list: null, product_list: null});\\n  await on_load();\\n}\\n\\nasync function createOrAlloc(_cid){\\n  var data = get_data();\\n  var line = data.linesInvoices.filter(o=>{return o._cid == _cid});\\n  line = line[0];\\n  \\n  //new obj from line to pass only required data\\n  let lineParam = {\\n    invoice_id: line.invoice_id,\\n    lines: line.linesNewGr\\n  };\\n  \\n  //separate drafted GR and new invoice\\n  if (line.state == \\\"\\\"){\\n    //create gr\\n    await rpc_execute(\\\"stock.picking\\\",\\\"create_draft_gr\\\",[lineParam]);\\n    redirect_page(\\\"new_gr_edit\\\",{inv_id: line.invoice_id, inv_name: line.invoice_num});\\n  } else if (line.state == \\\"Draft\\\"){\\n    redirect_page(\\\"new_gr_view\\\",{inv_id: line.invoice_id, inv_name: line.invoice_num});\\n  } \\n}\\n\\nasync function selectInv(_cid){\\n  var data = get_data();\\n  var line = data.linesInvoices.filter(o=>{return o._cid == _cid});\\n  line = line[0];\\n  window.open(\\\"https://main.smartb.co/action?name=supp_invoice&mode=form&form_layout=supp_invoice_form&active_id=\\\" + line.invoice_id); \\n}\"}, \"new_gr_edit\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\"}, \"insert\": \"Edit Landed Cost\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 15, \"margin_left\": 10, \"margin_right\": 750}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Goods Receipt:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{gr_number}\\n\"}]}, \"padding_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 5, \"margin_left\": 5, \"margin_right\": 5, \"margin_bottom\": 5, \"_col_widths\": \"\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Supplier Invoice:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{invoice_num}\\n\"}]}, \"padding_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 5, \"margin_right\": 5, \"margin_left\": 5, \"margin_bottom\": 5, \"_col_widths\": \"\"}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Landed Cost\"}, {\"insert\": \"\\n\"}]}, \"border_bottom_width\": 1, \"padding_left\": 5, \"padding_right\": null}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Payment Voucher:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{pv_id}\\n\"}]}, \"padding_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 5, \"margin_left\": 15, \"margin_right\": 15, \"margin_bottom\": 10, \"hidden\": false, \"_col_widths\": \"\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Allocated Amount:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM \"}, {\"insert\": \"{al_amt}\\n\"}]}, \"padding_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 15, \"margin_right\": 15, \"margin_bottom\": 10, \"_col_widths\": \"\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Allocated Type:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 5}]}, {\"children\": [{\"type\": \"field\", \"placeholder\": \"Select...\", \"field_type\": \"select2\", \"margin_left\": 5, \"name\": \"allo_type\", \"_selection\": \"[[\\\"amount\\\",\\\"Amount\\\"],[\\\"qty\\\",\\\"Qty\\\"]]\", \"selection\": [[\"amount\", \"Amount\"], [\"qty\", \"Qty\"]], \"width\": \"200\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 15, \"margin_right\": 15, \"_col_widths\": \"\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cost Type:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 5}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select2\", \"placeholder\": \"Select...\", \"margin_left\": 5, \"name\": \"cost_type\", \"_selection\": \"[[\\\"est_ship\\\",\\\"Estimate Shipping\\\"],[\\\"est_duty\\\",\\\"Estimate Duty\\\"],[\\\"act_ship\\\",\\\"Actual Shipping\\\"],[\\\"act_duty\\\",\\\"Actual Duty\\\"]]\", \"selection\": [[\"est_ship\", \"Estimate Shipping\"], [\"est_duty\", \"Estimate Duty\"], [\"act_ship\", \"Actual Shipping\"], [\"act_duty\", \"Actual Duty\"]], \"on_change\": \"\", \"width\": \"200\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 15, \"margin_right\": 15, \"margin_bottom\": 5, \"_col_widths\": \"\", \"margin_top\": 5}, {\"type\": \"button\", \"text\": \"Allocate\", \"align\": \"right\", \"padding_top\": 3, \"padding_bottom\": 3, \"padding_left\": 5, \"padding_right\": 5, \"margin_left\": null, \"margin_right\": 20, \"on_click\": \"allocate()\", \"hidden\": false}], \"min_height\": 50, \"hidden\": false, \"margin_left\": null, \"margin_right\": null, \"padding_left\": null, \"padding_right\": null, \"border_width\": 1, \"border_radius\": null, \"padding_bottom\": 10, \"width\": \"500\", \"align\": \"center\"}], \"min_height\": 50, \"hidden\": false}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Product\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Qty\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"UoM\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Cost Amount\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Landed Cost\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"To Location\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product_name}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{total_qty}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{unit_measure}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM\"}, {\"insert\": \" {cost_amount}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM\"}, {\"insert\": \" {landed_cost} {alloc_cost_type}\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"select\", \"name\": \"location_to\", \"placeholder\": \"Select...\", \"model\": \"stock.location\", \"condition\": \"[[\\\"type\\\",\\\"=\\\",\\\"internal\\\"]]\", \"on_change\": \"locationChange(_cid)\", \"load_name\": \"\"}]], \"num_cols\": 6, \"table_bordered\": true, \"margin_left\": 10, \"margin_right\": 10, \"border_left_width\": null, \"border_right_width\": null, \"border_bottom_width\": null, \"num_rows\": 2, \"field_rows\": \"linesLandedCostAlloc\", \"_col_widths\": \"[1,0.5,1,1,1,1]\", \"col_widths\": [1, 0.5, 1, 1, 1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"margin_left\": 5, \"margin_top\": 5, \"margin_right\": 5, \"margin_bottom\": 5, \"padding_left\": 5, \"padding_top\": 3, \"padding_right\": 5, \"padding_bottom\": 3, \"text\": \"Back\", \"align\": \"center\", \"on_click\": \"redirect_page(\\\"new_gr\\\")\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Post & Validate\", \"align\": \"center\", \"margin_top\": 5, \"margin_left\": 5, \"margin_right\": 5, \"margin_bottom\": 5, \"padding_top\": 3, \"padding_bottom\": 3, \"padding_left\": 5, \"padding_right\": 5, \"on_click\": \"post_validate()\", \"name\": \"\", \"color\": \"#ffffff\", \"placeholder_color\": \"#ffffff\", \"background_color\": \"#1dc911\", \"parallax\": true}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 430, \"margin_right\": 430, \"margin_bottom\": 15}], \"min_height\": 50, \"padding_top\": 20}]}, \"code\": \"/*\\nCoded by: Nicole\\nDesc: New GR page 2 (2nd layout) v0.1\\nModel used: stock.picking[type=in], account.payment/account.payment.line, landed.cost<-(landed_id)->landed.cost.alloc\\nPS: First Internal Project within SmartB Page Builder\\n\\nNotes: Created GR is presumed a payable payment has been created\\n\\nRedo after examined by Max on 21st May 2021 (Friday)\\n\\nChanges/Updates (17th June 2021, Thursday):\\n- create \\\"load_gr_zeek\\\" to reduce page load caused by several rpc_execute functions\\n\\nIssues/Challenges:\\n- Tested using latest ES* JS syntax (ERROR: TypeError: list_val.forEach is not a function) <- possible error related to positioning\\n  \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t  of 'set_data' within a loop or iteration\\n- Unknown cause of recurring error \\\"page not found\\\"\\n- Shipping payments per invoice are linked by \\\"memo\\\" or \\\"description\\\", reducing accuracy of loaded payment based on selected invoice\\n  from main page (*1) [DONE]\\n\\nProposed Solution:\\n*1: [SELECTED] load all data models then filter it based on selected invoice name from main page\\n\\nTo-do:\\n- optimize coding by reducing rpc_execute -> reducing models to load\\n- pinpoint correct relation id between account.payment and account.invoice/stock.picking\\n- enable the conversion for cost_price within function \\\"update_draft_cost_price\\\" in stock.picking model\\n*/\\n\\n//will add in page_params after finishing\\nasync function on_load(){\\n  if (page_params.inv_id && page_params.inv_name){\\n    var selectedInvId = parseInt(page_params.inv_id);\\n    var selectedInvName = page_params.inv_name;\\n    \\n    var grRes = await rpc_execute(\\\"stock.picking\\\",\\\"load_gr_zeek\\\",[selectedInvId, selectedInvName]);\\n    \\n    let grModel = grRes.grModel;\\n    let apModel = grRes.apModel;\\n    let landedCostId = grRes.landedCostId;\\n    let landedCost = grRes.landed_cost;\\n    \\n    //prep for product listing under GR/Invoice\\n    let linesGrProduct = [];\\n    for(let line of grModel.lines){\\n      let vals = {\\n        _cid: _.uniqueId(),\\n        product_id: line.product_id.id,\\n        product_name: line.product_id.name,\\n        total_qty: line.qty,\\n        unit_measure: line.uom_id.name,\\n        cost_amount: line.cost_amount.toFixed(2),\\n        location_to: line.location_to_id.id\\n      };\\n      //landedCost key in\\n      if (landedCost == 0){\\n        vals.landed_cost = 0;\\n      } else if (landedCost != 0){\\n        for(let lineLandedCost of landedCost){\\n          if (line.product_id.id == lineLandedCost.product_id){\\n            vals.landed_cost = lineLandedCost.amount.toFixed(2);\\n            if (lineLandedCost.act_ship != 0){\\n              vals.alloc_cost_type = `(Actual Shipping)`;\\n            } else if (lineLandedCost.act_duty != 0){\\n              vals.alloc_cost_type = `(Actual Duty)`;\\n            } else if (lineLandedCost.est_ship != 0){\\n              vals.alloc_cost_type = `(Estimate Shipping)`;\\n            } else if (lineLandedCost.est_duty != 0){\\n              vals.alloc_cost_type = `(Estimate Duty)`;\\n            } else {\\n              vals.alloc_cost_type = \\\"\\\";\\n            }\\n          }\\n        }\\n      }\\n      linesGrProduct.push(vals);\\n    }\\n    //output data to page \\n  \\tset_data({\\n      date: grModel.date,\\n      gr_id: grModel.id,\\n      gr_number: grModel.number,\\n      invoice_id: selectedInvId,\\n      invoice_num: selectedInvName,\\n      pv_id: apModel.payment_id[1],\\n      al_amt: apModel.amount ? apModel.amount : 0,\\n      landed_cost_id: (landedCostId != 0) ? landedCostId : null,\\n      linesLandedCostAlloc: linesGrProduct ? linesGrProduct : null\\n  \\t});\\n  } else {\\n    alert(\\\"No invoice was selected\\\");\\n    redirect_page(\\\"new_gr\\\");\\n  } \\n}\\n\\n//allocate value, writes alloc amount to Db\\nasync function allocate(){\\n  var data = get_data();\\n  console.log(\\\"data:\\\", data);\\n  var linesLandedCostAlloc = data.linesLandedCostAlloc;\\n  \\n  //prep for comparison in \\\"create_draft_landed_cost\\\"\\n  let productIds = [];\\n  for(let line of linesLandedCostAlloc){\\n    productIds.push(line.product_id);\\n  }\\n  \\n  let lineParams = {\\n    invoice_id: data.invoice_id,\\n    gr_id: data.gr_id,\\n    al_amt: data.al_amt,\\n    cost_type: data.cost_type ? data.cost_type : null,\\n    allo_type: data.allo_type ? data.allo_type : null,\\n    productIds: productIds\\n  };\\n  \\n  var lcRes = await rpc_execute(\\\"landed.cost\\\",\\\"create_draft_landed_cost\\\",[lineParams]);\\n  var totalAllocCost = lcRes.totalAllocCost;\\n  var landedCostId = lcRes.landedCostId;\\n  \\n  console.log(\\\"lcRes: \\\", lcRes);\\n  console.log(\\\"totalAllocCost: \\\", totalAllocCost);\\n  \\n  for(var j = 0; j < totalAllocCost.length; j++){\\n    if (totalAllocCost[j].product_id == linesLandedCostAlloc[j].product_id){\\n      linesLandedCostAlloc[j].landed_cost = totalAllocCost[j].amount.toFixed(2);\\n      linesLandedCostAlloc[j].alloc_cost_type = `(${data.cost_type.name})`;\\n    } else {\\n      linesLandedCostAlloc[j].landed_cost = 0;\\n      linesLandedCostAlloc[j].alloc_cost_type = \\\"\\\";\\n    }\\n  }\\n  \\n  set_data({\\n  \\tlinesLandedCostAlloc: linesLandedCostAlloc,\\n  \\tlanded_cost_id: landedCostId\\n  });\\n}\\n\\n//goes to stock card update based on product id\\n//posts landed cost, then validates the GR (following the progresison of process based on video by Chiew Hao: https://vimeo.com/543480352/14875ac8ed\\nasync function post_validate(){\\n  var data = get_data();\\n  var gr_id = data.gr_id;\\n  var landed_cost_id = data.landed_cost_id;\\n  if (!landed_cost_id) {\\n    alert(\\\"Landed Cost has not created. Please create by clicking 'Allocate' button.\\\");\\n  } else {\\n    var date = data.date;\\n    let product_ids = \\\"\\\";\\n    for(let lines of data.linesLandedCostAlloc){\\n      if (product_ids === \\\"\\\"){\\n        product_ids += lines.product_id;\\n      } else {\\n        product_ids += `-${lines.product_id}`;\\n      }\\n    }\\n    await rpc_execute(\\\"stock.picking\\\",\\\"post_validate\\\",[landed_cost_id, gr_id]);\\n    alert(\\\"Landed Cost posted and Goods Receipt validated!\\\");\\n    redirect_page(\\\"new_gr_update_stock\\\", {date: date, p_ids: product_ids});\\n  }\\n}\\n\\nasync function locationChange(_cid){\\n  var data = get_data();\\n  var selectedLine = data.linesLandedCostAlloc.filter(o=>{return o._cid == _cid});\\n  selectedLine = selectedLine[0];\\n  var writeLocation = {\\n    gr_id: data.gr_id,\\n    product_id: selectedLine.product_id,\\n    location_to_id: selectedLine.location_to\\n  };\\n  await rpc_execute(\\\"stock.picking\\\",\\\"change_location\\\",[writeLocation]);\\n}\"}, \"new_gr_view\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\"}, \"insert\": \"Allocate Cost to Goods Receipt\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 15, \"margin_left\": 10, \"margin_right\": 750}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Goods Receipt:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{gr_number}\\n\"}]}, \"padding_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 5, \"margin_left\": 5, \"margin_right\": 5, \"margin_bottom\": 5, \"_col_widths\": \"\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Supplier Invoice:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{invoice_num}\\n\"}]}, \"padding_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 5, \"margin_right\": 5, \"margin_left\": 5, \"margin_bottom\": 5, \"_col_widths\": \"\"}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Landed Cost\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"border_bottom_width\": 1, \"padding_left\": 5, \"padding_right\": null, \"align\": \"center\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Payment Voucher:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{pv_id}\\n\"}]}, \"padding_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 5, \"margin_left\": 15, \"margin_right\": 15, \"margin_bottom\": 10, \"hidden\": false, \"_col_widths\": \"\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Allocated Amount:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM \"}, {\"insert\": \"{al_amt}\\n\"}]}, \"padding_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 15, \"margin_right\": 15, \"margin_bottom\": 10, \"_col_widths\": \"\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Allocated Type:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"padding_top\": null}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{alloc_type}\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 15, \"margin_right\": 15, \"_col_widths\": \"\", \"margin_bottom\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cost Type:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"padding_top\": null}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{alloc_cost_type}\\n\"}]}, \"padding_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 15, \"margin_right\": 15, \"margin_bottom\": 5, \"_col_widths\": \"\", \"margin_top\": null}, {\"type\": \"button\", \"align\": \"center\", \"text\": \"Edit\", \"padding_left\": 5, \"padding_right\": 5, \"padding_top\": 2, \"padding_bottom\": 2, \"on_click\": \"toDraft()\"}], \"min_height\": 50, \"hidden\": false, \"margin_left\": null, \"margin_right\": null, \"padding_left\": null, \"padding_right\": null, \"border_width\": 1, \"border_radius\": null, \"padding_bottom\": 10, \"width\": \"500\", \"align\": \"center\"}], \"min_height\": 50, \"hidden\": false}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Product\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Qty\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"UoM\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Cost Amount\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Landed Cost\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"To Location\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product_name}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{total_qty}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{unit_measure}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM\"}, {\"insert\": \" {cost_amount}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM\"}, {\"insert\": \" {landed_cost} {alloc_cost_type}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{location_to}\\n\"}]}}]], \"num_cols\": 6, \"table_bordered\": true, \"margin_left\": 10, \"margin_right\": 10, \"border_left_width\": null, \"border_right_width\": null, \"border_bottom_width\": null, \"num_rows\": 2, \"field_rows\": \"linesLandedCostAlloc\", \"_col_widths\": \"[1,0.5,1,1,1,1]\", \"col_widths\": [1, 0.5, 1, 1, 1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"margin_left\": 5, \"margin_top\": 5, \"margin_right\": 5, \"margin_bottom\": 5, \"padding_left\": 5, \"padding_top\": 3, \"padding_right\": 5, \"padding_bottom\": 3, \"text\": \"Back\", \"align\": \"center\", \"on_click\": \"redirect_page(\\\"new_gr\\\")\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Post & Validate\", \"align\": \"center\", \"margin_top\": 5, \"margin_left\": 5, \"margin_right\": 5, \"margin_bottom\": 5, \"padding_top\": 3, \"padding_bottom\": 3, \"padding_left\": 5, \"padding_right\": 5, \"on_click\": \"post_validate()\", \"name\": \"\", \"color\": \"#ffffff\", \"placeholder_color\": \"#ffffff\", \"background_color\": \"#1dc911\", \"parallax\": false}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 430, \"margin_right\": 430, \"margin_bottom\": 15}], \"min_height\": 50, \"padding_top\": 20}]}, \"code\": \"/*\\nCoded by: Nicole\\nDesc: New GR page 2 (2nd layout) v0.1\\nModel used: stock.picking[type=in], account.payment/account.payment.line, landed.cost<-(landed_id)->landed.cost.alloc\\nPS: First Internal Project within SmartB Page Builder\\n\\nNotes: Created GR is presumed a payable payment has been created\\n\\nRedo after examined by Max on 21st May 2021 (Friday)\\n\\nChanges/Updates (17th June 2021, Thursday):\\n- create \\\"load_gr_zeek\\\" to reduce page load caused by several rpc_execute functions\\n\\nIssues/Challenges:\\n- Tested using latest ES* JS syntax (ERROR: TypeError: list_val.forEach is not a function) <- possible error related to positioning\\n  \\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t\\t  of 'set_data' within a loop or iteration\\n- Unknown cause of recurring error \\\"page not found\\\"\\n- Shipping payments per invoice are linked by \\\"memo\\\" or \\\"description\\\", reducing accuracy of loaded payment based on selected invoice\\n  from main page (*1) [DONE]\\n\\nProposed Solution:\\n*1: [SELECTED] load all data models then filter it based on selected invoice name from main page\\n\\nTo-do:\\n- optimize coding by reducing rpc_execute -> reducing models to load\\n- pinpoint correct relation id between account.payment and account.invoice/stock.picking\\n- enable the conversion for cost_price within function \\\"update_draft_cost_price\\\" in stock.picking model\\n*/\\n\\n//will add in page_params after finishing\\nasync function on_load(){\\n  //var grModel = await rpc_execute(\\\"stock.picking\\\",\\\"search_read\\\",[[\\\"ref\\\",\\\"=\\\",\\\"ZSI21060001\\\"],[]]);\\n  //console.log(\\\"grModel:\\\", grModel);\\n  \\n  if (page_params.inv_id && page_params.inv_name){\\n    var selectedInvId = parseInt(page_params.inv_id);\\n    var selectedInvName = page_params.inv_name;\\n    \\n    var grRes = await rpc_execute(\\\"stock.picking\\\",\\\"load_existing_gr_zeek\\\",[selectedInvId, selectedInvName]);\\n    console.log(\\\"grRes:\\\", grRes);\\n    \\n    let grModel = grRes.grModel, apModel = grRes.apModel, lcModel = grRes.lcModel;\\n    let landedCost = grRes.landed_cost;\\n    \\n    //checks if landed_cost is there, if missing, redirect to draft\\n    if (lcModel == 0 && landedCost == 0){\\n      alert(\\\"The GR does not have Landed Cost. Redirecting to Edit page...\\\");\\n      redirect_page(\\\"new_gr_edit\\\",{inv_id: page_params.inv_id, inv_name: page_params.inv_name});\\n    } else {\\n      //checks if payment exists\\n      if (!grRes.apModel){\\n        alert(\\\"No shipping payment made!\\\");\\n        redirect_page(\\\"new_gr\\\");\\n      } else {\\n        //prep for product listing under GR/Invoice\\n        let linesGrProduct = [];\\n        let allocCostType = \\\"\\\";\\n        for(let line of grModel.lines){\\n          let vals = {\\n            product_id: line.product_id.id,\\n            product_name: line.product_id.name,\\n            total_qty: line.qty,\\n            unit_measure: line.uom_id.name,\\n            cost_amount: line.cost_amount,\\n            location_to: line.location_to_id.name\\n          };\\n          //landedCost key in\\n          if (landedCost == 0){\\n            vals.landed_cost = 0;\\n          } else if (landedCost != 0){\\n            for(let lineLandedCost of landedCost){\\n              if (line.product_id.id == lineLandedCost.product_id){\\n                vals.landed_cost = lineLandedCost.amount;\\n                if (lineLandedCost.act_ship){\\n                  vals.alloc_cost_type = `(Actual Shipping)`;\\n                  allocCostType = \\\"Actual Shipping\\\";\\n                } else if (lineLandedCost.act_duty){\\n                  vals.alloc_cost_type = `(Actual Duty)`;\\n                  allocCostType = \\\"Actual Duty\\\";\\n                } else if (lineLandedCost.est_ship != 0){\\n                  vals.alloc_cost_type = `(Estimate Shipping)`;\\n                  allocCostType = \\\"Estimated Shipping\\\";\\n                } else if (lineLandedCost.est_duty != 0){\\n                  vals.alloc_cost_type = `(Estimate Duty)`;\\n                  allocCostType = \\\"Estimated Duty\\\";\\n                } else {\\n                  vals.alloc_cost_type = \\\"\\\";\\n                  allocCostType = \\\"\\\";\\n                }\\n              }\\n            }\\n          }\\n          linesGrProduct.push(vals);\\n        }\\n\\n        //output data to page \\n        set_data({\\n          date: grModel.date,\\n          gr_id: grModel.id,\\n          gr_number: grModel.number,\\n          invoice_id: selectedInvId,\\n          invoice_num: selectedInvName,\\n          pv_id: apModel.payment_id[1],\\n          al_amt: apModel.amount ? apModel.amount : 0,\\n          landed_cost_id: lcModel.id,\\n          alloc_type: lcModel.alloc_type.charAt(0).toUpperCase() + lcModel.alloc_type.slice(1),\\n          alloc_cost_type: allocCostType,\\n          linesLandedCostAlloc: linesGrProduct ? linesGrProduct : null\\n        });\\n      }\\n    }\\n  } else {\\n    alert(\\\"No invoice was selected\\\");\\n    redirect_page(\\\"new_gr\\\");\\n  }\\n}\\n\\n//switch to draft\\nasync function toDraft(){\\n  var data = get_data();\\n  var landed_cost_id = data.landed_cost_id, gr_id = data.gr_id, invoice_id = data.invoice_id, invoice_num = data.invoice_num;\\n  await rpc_execute(\\\"stock.picking\\\",\\\"back_to_draft\\\",[landed_cost_id, gr_id]);\\n  redirect_page(\\\"new_gr_edit\\\",{inv_id: invoice_id, inv_name: invoice_num});\\n}\\n\\nasync function post_validate(){\\n  var data = get_data();\\n  console.log(\\\"data: \\\", data);\\n  var date = data.date;\\n  var gr_id = data.gr_id;\\n  var landed_cost_id = data.landed_cost_id;\\n  let product_ids = \\\"\\\";\\n  for(let lines of data.linesLandedCostAlloc){\\n    if (product_ids === \\\"\\\"){\\n      product_ids += lines.product_id;\\n    } else {\\n      product_ids += `-${lines.product_id}`;\\n    }\\n  }\\n  await rpc_execute(\\\"stock.picking\\\",\\\"post_validate\\\",[landed_cost_id, gr_id]);\\n  alert(\\\"Landed Cost posted and Goods Receipt validated!\\\");\\n  redirect_page(\\\"new_gr_update_stock\\\", {date: date, p_ids: product_ids});\\n}\\n\\n//goes to stock card\\n/*function toStockCard(){\\n  var data = get_data();\\n  var date = data.date;\\n  let product_ids = \\\"\\\";\\n  for(let lines of data.linesLandedCostAlloc){\\n    if (product_ids === \\\"\\\"){\\n      product_ids += lines.product_id;\\n    } else {\\n      product_ids += `-${lines.product_id}`;\\n    }\\n  }\\n  redirect_page(\\\"new_gr_update_stock\\\", {date: date, p_ids: product_ids});\\n}*/\"}, \"new_gr_update_stock\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\"}, \"insert\": \"Stock Card\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"SmartB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \"from {date_from} to {date_to}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"align\": \"center\", \"margin_left\": 70, \"margin_right\": 70, \"margin_bottom\": 10, \"margin_top\": 15}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Product Name:\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{product_name} @ {location}\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": null, \"padding_top\": null, \"padding_right\": null, \"padding_bottom\": null, \"margin_left\": 5, \"margin_right\": 20, \"border_left_width\": null, \"border_right_width\": null, \"border_bottom_width\": null, \"margin_top\": 5, \"margin_bottom\": 5}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Prev. Product\", \"padding_top\": 2, \"padding_bottom\": 2, \"padding_left\": 5, \"padding_right\": 5, \"align\": \"right\", \"margin_top\": 5, \"margin_bottom\": 5, \"on_click\": \"prevProduct()\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Next Product\", \"padding_top\": 2, \"padding_bottom\": 2, \"padding_left\": 5, \"padding_right\": 5, \"align\": \"right\", \"margin_right\": 5, \"margin_top\": 5, \"margin_bottom\": 5, \"on_click\": \"nextProduct()\"}]}], \"num_cols\": 3, \"col_widths\": [2, 0.3, 0.3], \"_col_widths\": \"[2,0.3,0.3]\", \"margin_left\": 10, \"margin_right\": 10, \"border_left_width\": null, \"border_right_width\": null, \"border_bottom_width\": null, \"border_top_width\": null}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Date\"}, {\"insert\": \"\\n\"}]}, \"border_right_width\": 1, \"height\": \"\", \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Ref\"}, {\"insert\": \"\\n\"}]}, \"border_right_width\": 1, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5, \"height\": \"\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Lot / Serial Number\"}, {\"insert\": \"\\n\"}]}, \"border_right_width\": 1, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5, \"height\": \"\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Invoice\"}, {\"insert\": \"\\n\"}]}, \"border_right_width\": 1, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5, \"height\": \"\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"In\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"border_right_width\": 1, \"border_bottom_width\": null, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Out\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"border_bottom_width\": null, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Balance\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"border_left_width\": 1, \"border_bottom_width\": null, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 7, \"col_widths\": [1, 1, 1, 1, 2, 2, 2], \"margin_left\": 10, \"margin_right\": 10, \"border_width\": 1, \"_col_widths\": \"[1,1,1,1,2,2,2]\"}, {\"type\": \"table\", \"elements\": [[null, null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"bold\": true}, \"insert\": \"Qty\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"bold\": true}, \"insert\": \"Unit Price\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"bold\": true}, \"insert\": \"Amount\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"bold\": true}, \"insert\": \"Qty\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"bold\": true}, \"insert\": \"Unit Price\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"bold\": true}, \"insert\": \"Amount\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"bold\": true}, \"insert\": \"Qty\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"bold\": true}, \"insert\": \"Cost Price\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"bold\": true}, \"insert\": \"Cost Amount\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{date_stock}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{ref_stock}\\n\"}]}, \"on_click\": \"selectGr(_cid)\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{lot_sn}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{invoice_num}\\n\"}]}, \"on_click\": \"selectInv(_cid)\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{in_qty}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM\"}, {\"insert\": \" {in_unit_price}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM\"}, {\"insert\": \" {in_amt}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{out_qty}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM\"}, {\"insert\": \" {out_unit_price}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM\"}, {\"insert\": \" {out_amt}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{bal_qty}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM\"}, {\"insert\": \" {bal_cp}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM\"}, {\"insert\": \" {bal_camt}\\n\"}]}}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Total\"}, {\"insert\": \"\\n\"}]}}, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{total_in_qty}\\n\"}]}}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM\"}, {\"insert\": \" {total_in_amt}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{total_out_qty}\\n\"}]}}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM\"}, {\"insert\": \" {total_out_amt}\\n\"}]}}]], \"margin_left\": 10, \"margin_right\": 10, \"num_cols\": 13, \"_col_widths\": \"[1,1,1,1,0.4,0.8,0.8,0.4,0.8,0.8,0.4,0.8,0.8]\", \"col_widths\": [1, 1, 1, 1, 0.4, 0.8, 0.8, 0.4, 0.8, 0.8, 0.4, 0.8, 0.8], \"num_rows\": 3, \"field_rows\": \"linesStockCard\", \"table_bordered\": true, \"table_striped\": true}, {\"type\": \"button\", \"margin_left\": null, \"margin_right\": 20, \"margin_top\": 15, \"margin_bottom\": 10, \"text\": \"Back to Goods Receipt\", \"align\": \"right\", \"padding_top\": 3, \"padding_bottom\": 3, \"padding_left\": 5, \"padding_right\": 5, \"link_action\": \"\", \"on_click\": \"toHome()\"}, {\"type\": \"button\", \"text\": \"To Stock Card in SmartB System\", \"align\": \"right\", \"padding_top\": 3, \"padding_bottom\": 3, \"padding_left\": 5, \"padding_right\": 5, \"margin_right\": 20, \"on_click\": \"(()=>{window.open(\\\"https://main.smartb.co/action?name=report_stock_card\\\");})()\"}], \"min_height\": 50}]}, \"code\": \"/*\\nCoded by: Nicole\\nDesc: New GR page 3\\nModel used: report.stock.card\\nPS: First Internal Project within SmartB Page Builder\\n\\nRedo after examined code by Max\\n\\nNotes/Changes:\\n- Need to check on existing reports from deleted GR/Landed Cost\\n*/\\n\\nasync function on_load() {\\n  set_data({\\n    date_from: null,\\n    date_to: null,\\n    product_name: null,\\n    linesStockCard: null\\n  });\\n  var data = get_data(); //gets index if exists\\n  console.log(\\\"data:\\\", data);\\n\\n  //prep product ids passed from previous page (new_gr_test_edit) with default index set at 0\\n  let product_ids = page_params.p_ids;\\n  product_ids = product_ids.split(\\\"-\\\");\\n  for (var i = 0; i < product_ids.length; i++) {\\n    product_ids[i] = +product_ids[i];\\n  }\\n  let index = 0;\\n  if (data.index){\\n    index = data.index\\n  };\\n  var product_id = product_ids[index];\\n\\n  var rscReport = await rpc_execute(\\\"report.stock.card\\\",\\\"load_report\\\",[page_params.date, product_id]);\\n  var reportProduct = rscReport.reportProduct;\\n  console.log(\\\"rscReport:\\\", rscReport);\\n\\n\\n  let linesStockCard = [];\\n  for(let product of reportProduct.groups[0].lines){\\n    let line = {\\n      _cid: _.uniqueId(),\\n      date_stock: product.date,\\n      ref_stock: product.ref ? product.ref : null,\\n      pick_id: product.pick_id,\\n      pick_type: product.pick_type,\\n      lot_sn: product.lot_num ? product.lot_num : null,\\n      invoice_id: product.invoice_id ? product.invoice_id : null,\\n      invoice_num: product.invoice_num ? product.invoice_num : null,\\n      inv_type: product.inv_type,\\n      in_qty: product.in_qty ? product.in_qty : 0,\\n      in_unit_price: product.in_cost_price ? product.in_cost_price.toFixed(2) : 0,\\n      in_amt: product.in_amount ? product.in_amount.toFixed(2) : 0,\\n      out_qty: product.out_qty ? product.out_qty : 0,\\n      out_unit_price: product.out_cost_price ? product.out_cost_price.toFixed(2) : 0,\\n      out_amt: product.out_amount ? product.out_amount.toFixed(2) : 0,\\n      bal_qty: product.bal_qty ? product.bal_qty : 0,\\n      bal_cp: product.bal_cost_price ? product.bal_cost_price.toFixed(2) : 0,\\n      bal_camt: product.bal_cost_amount ? product.bal_cost_amount.toFixed(2) : 0\\n    };\\n    linesStockCard.push(line);\\n  }\\n  set_data({\\n    index: index,\\n    date_from: reportProduct.date_from,\\n    date_to: reportProduct.date_to,\\n    product_ids: product_ids,\\n    product_name: reportProduct.groups[0].product_name,\\n    location: reportProduct.groups[0].location_name,\\n    linesStockCard: linesStockCard,\\n    total_in_qty: reportProduct.groups[0].total_in_qty,\\n    total_in_amt: reportProduct.groups[0].total_in_amount.toFixed(2),\\n    total_out_qty: reportProduct.groups[0].total_out_qty,\\n    total_out_amt: reportProduct.groups[0].total_out_amount.toFixed(2)\\n  });\\n}\\n\\nfunction toHome() {\\n  redirect_page(\\\"new_gr\\\");\\n}\\n\\nfunction prevProduct(){ //i--\\n  var data = get_data();\\n  var index = data.index;\\n  if (index <= 0){\\n    alert(\\\"You reached the first product in list.\\\");\\n  } else {\\n    index--;\\n    set_data({index: index});\\n    on_load();\\n  }\\n}\\n\\nfunction nextProduct(){ //i++\\n  var data = get_data();\\n  var index = data.index;\\n  if (index >= (data.product_ids.length - 1)){\\n    alert(\\\"You reached the last product in list.\\\");\\n  } else {\\n    index++;\\n    set_data({index: index});\\n    on_load();\\n  }\\n}\\n\\nfunction selectInv(_cid){\\n  //console.log(\\\"_cid:\\\", _cid);\\n  var data = get_data();\\n  var selectedLine = data.linesStockCard.filter(o=>{return o._cid == _cid});\\n  //console.log(\\\"data:\\\", data);\\n  //console.log(\\\"selectedLine:\\\", selectedLine);\\n  selectedLine = selectedLine[0];\\n  var action = selectedLine.inv_type == \\\"in\\\"? \\\"supp_invoice\\\" : \\\"cust_invoice\\\";\\n  var active_id = selectedLine.invoice_id;\\n  if (action && active_id) {\\n    window.open(`https://main.smartb.co/action?name=${action}&mode=form&active_id=${active_id}`);\\n  }\\n}\\n\\nfunction selectGr(_cid){\\n  //console.log(\\\"_cid:\\\", _cid);\\n  var data = get_data();\\n  var selectedLine = data.linesStockCard.filter(o=>{return o._cid == _cid});\\n  selectedLine = selectedLine[0];\\n  //console.log(\\\"selectedLine:\\\", selectedLine);\\n  var action = selectedLine.pick_type == \\\"in\\\"? \\\"pick_in\\\" : \\\"pick_out\\\";\\n  var active_id = selectedLine.pick_id;\\n  if (action && active_id) {\\n    window.open(`https://main.smartb.co/action?name=${action}&mode=form&active_id=${active_id}`);\\n  }\\n}\"}, \"ninja_van_airway_bill\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"width\": \"150\", \"height\": \"\", \"image_file\": null, \"margin_top\": null, \"padding_top\": 30, \"padding_bottom\": 30, \"url\": \"https://backend-prod2.netforce.com/static/db/nfo_urbanw/files/ninja_van%2CyMKXRPXagZk%3D.png\"}, {\"type\": \"image\", \"min_height\": 50, \"image_file\": null, \"margin_top\": 5, \"width\": \"150\", \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5, \"margin_left\": 10, \"url\": \"https://backend-prod2.netforce.com/static/db/nfo_urbanw/files/shopee-removebg-preview%2C1FWZVBKlSr4%3D%2C2BYOpM4KjFU%3D%2COCt-EIf7G3A%3D.png\"}]}, {\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"height\": \"100\", \"margin_top\": 30, \"align\": \"center\", \"width\": \"1000\", \"barcode_value\": \"{ship_tracking}\", \"barcode_type\": \"code128\", \"name\": \"\", \"bar_width\": \"5\", \"margin_left\": null}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"{ship_tracking}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 10, \"font_size\": 20, \"margin_left\": null}]}], \"num_cols\": 3, \"col_widths\": [1, 0.01, 5], \"_col_widths\": \"[1,0.01,5]\", \"margin_bottom\": 0, \"margin_left\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Order Details \"}, {\"insert\": \"\\n\"}]}, \"padding_bottom\": null, \"padding_top\": 7, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"margin_right\": 5, \"margin_top\": 5, \"margin_left\": 5, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Ship By Date:\\t{exp_ship_date}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Weight (kg):\\t\\t{weight}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Order ID:\\t\\t\\t\"}, {\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n\"}]}, \"padding_bottom\": 100, \"margin_bottom\": null, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_right\": 5, \"margin_left\": 5, \"margin_bottom\": 5}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Order Details (Courier)\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 7, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"margin_right\": 5, \"margin_top\": 5, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"PDO\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_bottom\": 57, \"padding_top\": 50, \"margin_top\": null, \"margin_bottom\": null, \"font_size\": 30, \"width\": \"370\"}], \"min_height\": 50, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_right\": 5, \"margin_bottom\": 5, \"width\": \"\"}]}], \"num_cols\": 2, \"col_widths\": [2.2, 1], \"_col_widths\": \"[2.2,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Sender Details (Pengirim)\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 7, \"padding_bottom\": null, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Name:\\t\\t{contact_id.name}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Phone:\\t    {contact_id.phone}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Address:\\t{ship_address_id.address} {ship_address_id.address2}{ship_address_id.postal_code} {ship_address_id.city} {ship_address_id.province_id.name}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Postcode:\\t{ship_address_id.postal_code}\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_left\": null, \"margin_right\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Recipient Details (Penerima)\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 7, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Name:\\t\\t{recipient_first_name} {recipient_last_name}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Phone:\\t\\t{recipient_phone}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Address:\\t{recipient_address} {recipient_address2} {recipient_city} {recipient_postcode} {recipient_province} {recipient_country}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Postcode:\\t{recipient_postcode} \"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}], \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"POD\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 7, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Name:\\t\\t\\t\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"I.C.:\\t\\t\\t\\t\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Signature:\\t\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[null, null, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{index}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{product_id.code}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{qty}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}]], \"num_cols\": 3, \"_col_widths\": \"[0.5,4.5,1]\", \"col_widths\": [0.5, 4.5, 1], \"field_rows\": \"lines\", \"table_bordered\": true, \"margin_top\": 0, \"margin_left\": null, \"margin_bottom\": 0, \"padding_bottom\": 0, \"padding_top\": 0}], \"min_height\": 150, \"border_width\": null, \"padding_top\": 5, \"padding_left\": 5, \"padding_bottom\": 5, \"padding_right\": 5, \"page_break_after\": false, \"border_top_width\": 1}], \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5, \"margin_bottom\": 20, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\"}], \"min_height\": 50, \"margin_right\": 5, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{routing_info_1}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"font_size\": 18}], \"min_height\": 50, \"margin_right\": 5, \"border_left_width\": 1, \"border_bottom_width\": null, \"border_right_width\": 1, \"border_top_width\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{routing_info_2}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"font_size\": 18}], \"min_height\": 50, \"margin_right\": 5, \"border_top_width\": null, \"border_left_width\": 1, \"border_right_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{recipient_province}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"font_size\": 18}], \"min_height\": 50, \"margin_right\": 5, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"{recipient_postcode}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"margin_top\": 20, \"margin_bottom\": 30, \"font_size\": 25}, {\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"align\": \"center\", \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"width\": \"200\", \"height\": \"200\", \"margin_top\": 170, \"barcode_value\": \"{ship_tracking}\", \"barcode_type\": \"qr\"}], \"min_height\": 50, \"margin_top\": 50}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{ship_tracking}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"margin_bottom\": 53, \"margin_top\": 10, \"font_size\": 23}], \"min_height\": 635, \"margin_right\": 5, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"margin_bottom\": 20, \"height\": \"\", \"width\": \"370\"}]}], \"num_cols\": 2, \"col_widths\": [3, 1], \"margin_left\": null, \"margin_right\": null, \"_col_widths\": \"[3,1]\"}], \"min_height\": 50, \"border_top_width\": 2, \"border_right_width\": 2, \"border_left_width\": 2, \"border_bottom_width\": 2, \"margin_left\": 10, \"margin_right\": 10}], \"fields\": \"[\\\"recipient_phone\\\",\\\"exp_ship_date\\\",\\\"number\\\", \\\"contact_id.name\\\", \\\"contact_id.phone\\\", \\\"ship_tracking\\\", \\\"ship_address_id.address\\\",  \\\"ship_address_id.address2\\\", \\\"ship_address_id.postal_code\\\", \\\"ship_address_id.city\\\", \\\"ship_address_id.province_id.name\\\", \\\"recipient_first_name\\\",\\\"recipient_last_name\\\",\\\"recipient_address\\\",\\\"recipient_address2\\\",\\\"recipient_city\\\",\\\"recipient_postcode\\\",\\\"recipient_province\\\",\\\"recipient_country\\\",\\\"recipient_phone\\\",\\\"lines.index\\\",\\\"lines.product_id.code\\\",\\\"lines.qty\\\"]\"}, \"code\": null}, \"pang_test\": {\"layout\": {\"elements\": [{\"type\": \"button\", \"name\": \"\", \"on_click\": \"test()\", \"align\": \"center\", \"text\": \"Test\", \"width\": \"200\", \"height\": \"100\"}, {\"type\": \"field\", \"field_type\": \"select2\", \"model\": \"account.track.categ\"}]}, \"code\": \"async function test(){\\n  var res = await rpc_execute(\\\"stock.move\\\",\\\"search_read\\\",[[\\\"status\\\",\\\"=\\\",\\\"done\\\"],[\\\"product_id\\\",\\\"type\\\"]]);\\n  log(res);\\n}\\n\\nasync function get_field_codes(model_name){\\n  //var model = await rpc_execute(\\\"model\\\",\\\"search\\\",[[[\\\"_name\\\",\\\"=\\\",model_name]]]);\\n  var model = await rpc_execute(\\\"model\\\",\\\"get_model\\\",[model_name]);  /// not working, revisit later\\n  console.log(\\\"model\\\",model);\\n  if (model.length === 0) throw `Model \\\"${model_name}\\\" not found`;\\n  if (model.length > 1) throw `Impossible! Two or more models found for Model \\\"${model_name}\\\"`;\\n  var fields = await rpc_execute(\\\"field\\\",\\\"search_read\\\",[ [ [\\\"model\\\",\\\"=\\\",model[0]] ],[\\\"field_code\\\"] ]);\\n  return fields;\\n}\\n\\nfunction log(msg){\\n  console.log(msg) ;\\n}\\n\\nasync function get_all_field_codes(model_name) {\\n  var model = await rpc_execute(\\\"model\\\",\\\"search\\\",[[\\\"name\\\",\\\"=\\\",model_name]]); \\n  log(model);\\n  var fields = await rpc_execute(\\\"field\\\",\\\"search_read\\\",[[\\\"model_id\\\",\\\"=\\\",model[0]],[\\\"name\\\"]]);\\n  log(fields);\\n  var all_field_codes = fields.map(o=>{return o.name});  \\n  return all_field_codes;\\n}\"}, \"payment_receipt_hatch\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9782/ 012-287 2735\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": bookings@sixhatch.com\\n\"}]}, \"font_size\": 17}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"margin_left\": 300, \"image_file\": \"download,KU9SOv2DnCY=.png\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"OFFICIAL RECEIPT\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILLING DETAILS \"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DETAILS\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Receipt number\\nDate \\n\\n\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n\\n\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n{date}\\n\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 3], \"margin_top\": 10, \"_col_widths\": \"[3,1,3]\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Qty\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Unit Price\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Paid Amount(Pmt Cur)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Paid Amount(Pmt Cur)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Currency Rate (Pmt>Inv)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Tax No.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{currency_rate}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{tax_no}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 4, \"margin_left\": 20, \"margin_right\": 20, \"num_rows\": null, \"_col_widths\": \"[3,1,1,1]\", \"col_widths\": [3, 1, 1, 1], \"table_bordered\": true, \"margin_top\": 20, \"field_rows\": \"lines\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NET PAYMENT AMOUNT : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_payment)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 780, \"margin_bottom\": null, \"num_rows\": 3, \"margin_right\": 20, \"_col_widths\": \"\", \"col_widths\": null}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"Terms for deposit\"}, {\"insert\": \"\\nFull refund will be made on the following conditions:\\n\\n\\u2022No items within the venue is broken, damaged or affected by the use of the space\\n\\u2022The venue is kept clean within reasonable grounds\\n\\u2022Unless a cleaning fee is collected, the venue is assumed to be kept clean just like how it was before the event started.\\n\\u2022Assuming no shoes allowed\\n\\u2022Assuming no food and drinks allowed (again, unless cleaning fee collected)\\n\\u2022Participants to leave venue on time. Any delays will incur additional cost.\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"*Hatch or SixHatch.com is a division under SmartB Solutions Sdn Bhd.\\u00a0\\n\"}]}, \"margin_top\": 30, \"margin_left\": 20, \"margin_right\": 20}], \"min_height\": 50}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 20, \"margin_right\": 20}], \"min_height\": 50, \"margin_left\": 20, \"margin_right\": 20}], \"fields\": \"[\\\"contact_id.name\\\",\\\"date\\\",\\\"number\\\",\\\"lines.description\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_total\\\",\\\"amount_payment\\\"]\", \"filename\": \"Receipt-{number}\"}, \"code\": null}, \"payment_receipt_hatch_invoice\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9782/ 012-287 2735\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": bookings@sixhatch.com\\n\"}]}, \"font_size\": 17}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"margin_left\": 300, \"image_file\": \"download,KU9SOv2DnCY=.png\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"RECEIPT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILLING DETAILS \"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DETAILS\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Receipt number\\nDate \\n\\n\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n\\n\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n{date}\\n\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 3], \"margin_top\": 10, \"_col_widths\": \"[3,1,3]\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Invoice\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Invoice Currency\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Due Amount\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Paid Amount(Inv Cur)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Paid Amount(Pmt Cur)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Currency Rate (Pmt>Inv)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Tax No.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{invoice_id.number}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{invoice_currency_id.code}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(invoice_amount_due)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_invoice)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{currency_rate}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{tax_no}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 7, \"margin_left\": 20, \"margin_right\": 20, \"num_rows\": null, \"_col_widths\": \"[1,1,1,1.2,1.2,1.3,0.7]\", \"col_widths\": [1, 1, 1, 1.2, 1.2, 1.3, 0.7], \"table_bordered\": true, \"margin_top\": 20, \"field_rows\": \"lines\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NET PAYMENT AMOUNT : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_payment)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 780, \"margin_bottom\": null, \"num_rows\": 2, \"margin_right\": 20, \"_col_widths\": \"\", \"col_widths\": null}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"Terms for deposit\"}, {\"insert\": \"\\nFull refund will be made on the following conditions:\\n\\n\\u2022No items within the venue is broken, damaged or affected by the use of the space\\n\\u2022The venue is kept clean within reasonable grounds\\n\\u2022Unless a cleaning fee is collected, the venue is assumed to be kept clean just like how it was before the event started.\\n\\u2022Assuming no shoes allowed\\n\\u2022Assuming no food and drinks allowed (again, unless cleaning fee collected)\\n\\u2022Participants to leave venue on time. Any delays will incur additional cost.\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"*Hatch or SixHatch.com is a division under SmartB Solutions Sdn Bhd.\\u00a0\\n\"}]}, \"margin_top\": 30, \"margin_left\": 20, \"margin_right\": 20}], \"min_height\": 50}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 20, \"margin_right\": 20}], \"min_height\": 50, \"margin_left\": 20, \"margin_right\": 20}], \"fields\": \"[\\\"contact_id.name\\\",\\\"date\\\",\\\"number\\\",\\\"lines.invoice_id.number\\\",\\\"lines.invoice_currency_id.code\\\",\\\"lines.invoice_amount_due\\\",\\\"lines.amount_invoice\\\",\\\"lines.amount\\\",\\\"lines.amount\\\",\\\"lines.currency_rate\\\",\\\"lines.tax_no\\\",\\\"amount_total\\\",\\\"amount_payment\\\"]\", \"filename\": \"Receipt-{number}\"}, \"code\": null}, \"payment_receipt_smartb\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9782/ 012-287 2735\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": bookings@sixhatch.com\\n\"}]}, \"font_size\": 17}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"margin_left\": 300, \"image_file\": \"SmartB-08 (1) (3),PM8WnrhxdvQ=.png\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Payment Voucher\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILLING DETAILS \"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DETAILS\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Receipt number\\nDate \\n\\n\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n\\n\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n{date}\\n\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 3], \"margin_top\": 10, \"_col_widths\": \"[3,1,3]\"}, {\"type\": \"text\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Paid Amount\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Paid Amount(Pmt Cur)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Paid Amount(Pmt Cur)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Currency Rate (Pmt>Inv)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Tax No.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{currency_rate}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{tax_no}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 2, \"margin_left\": 20, \"margin_right\": 20, \"num_rows\": null, \"_col_widths\": \"[3,2]\", \"col_widths\": [3, 2], \"table_bordered\": true, \"margin_top\": 20, \"field_rows\": \"lines\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NET PAYMENT AMOUNT : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_payment)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 780, \"margin_bottom\": null, \"num_rows\": 3, \"margin_right\": 20, \"_col_widths\": \"\", \"col_widths\": null}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"margin_top\": 30, \"margin_left\": 20, \"margin_right\": 20}], \"min_height\": 50}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 20, \"margin_right\": 20}], \"min_height\": 50, \"margin_left\": 20, \"margin_right\": 20}], \"fields\": \"[\\\"contact_id.name\\\",\\\"date\\\",\\\"number\\\",\\\"lines.description\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_total\\\",\\\"amount_payment\\\"]\", \"filename\": \"Receipt-{number}\"}, \"code\": null}, \"payment_receipt_smartb_invoice\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9782/ 012-287 2735\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": bookings@sixhatch.com\\n\"}]}, \"font_size\": 17}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"margin_left\": 300, \"image_file\": \"SmartB-08 (1) (3),PM8WnrhxdvQ=.png\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Payment Voucher\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILLING DETAILS \"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DETAILS\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Receipt number\\nDate \\n\\n\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n\\n\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n{date}\\n\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 3], \"margin_top\": 10, \"_col_widths\": \"[3,1,3]\"}, {\"type\": \"text\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Invoice No\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Paid Amount\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Paid Amount(Pmt Cur)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Paid Amount(Pmt Cur)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Currency Rate (Pmt>Inv)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Tax No.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{invoice_id.number}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{currency_rate}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{tax_no}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 2, \"margin_left\": 20, \"margin_right\": 20, \"num_rows\": null, \"_col_widths\": \"[3,2]\", \"col_widths\": [3, 2], \"table_bordered\": true, \"margin_top\": 20, \"field_rows\": \"invoice_lines\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NET PAYMENT AMOUNT : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_payment)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 780, \"margin_bottom\": null, \"num_rows\": 3, \"margin_right\": 20, \"_col_widths\": \"\", \"col_widths\": null}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"margin_top\": 30, \"margin_left\": 20, \"margin_right\": 20}], \"min_height\": 50}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 20, \"margin_right\": 20}], \"min_height\": 50, \"margin_left\": 20, \"margin_right\": 20}], \"fields\": \"[\\\"invoice_lines.invoice_id.number\\\",\\\"lines.invoice_id.product_id.name\\\",\\\"contact_id.name\\\",\\\"date\\\",\\\"number\\\",\\\"lines.description\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"invoice_lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_total\\\",\\\"amount_payment\\\"]\", \"filename\": \"Receipt-{number}\"}, \"code\": \"\"}, \"pay_slip_print\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"Salary Slip\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"align\": \"center\", \"margin_top\": 65}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"smartB-logo-2-300x148,EodqyPDYCn8=,SH9laBrrYfU=,mJivawHWmj8=.png\", \"width\": \"230\", \"height\": \"130\", \"align\": \"right\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"vertical_align\": \"top\", \"margin_top\": 40, \"margin_left\": 70, \"margin_right\": 70}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Employee's Name :\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{employee_name.first_name} {employee_name.surname}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Gender :\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{gender}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Job Title :\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{job_title.job_title}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"IC / Passport No. :\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{ic_passport_no}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Payslip No :\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Pay Period :\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{pay_period_from} - {pay_period_to}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Phone No. :\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{phone_no}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Date Issue :\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{date_issue}\\n\"}]}, \"font_size\": 18}]], \"margin_left\": 60, \"margin_right\": 60, \"margin_top\": 30, \"border_top_width\": 1, \"border_right_width\": 1, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_radius\": 1, \"table_bordered\": true, \"num_cols\": 4, \"num_rows\": 4, \"_col_widths\": \"[1.5,2,1.5,2]\", \"col_widths\": [1.5, 2, 1.5, 2]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"EARNING / INCOME (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"border_left_width\": 1, \"border_color\": \"#c3c3c3\", \"font_size\": 18, \"color\": \"#ffffff\", \"background_color\": \"#666666\", \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5, \"margin_top\": null, \"margin_left\": null, \"margin_right\": null, \"margin_bottom\": null}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Basic Pay\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{basic_pay}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Allowance\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{allowance}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Overtime\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{overtime}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{total_earning}\\n\"}]}, \"font_size\": 18}]], \"table_bordered\": true, \"num_cols\": 2, \"num_rows\": 4, \"_col_widths\": \"[2,1]\", \"col_widths\": [2, 1], \"border_right_width\": null}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DEDUCTION (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"border_left_width\": 1, \"border_color\": \"#c3c3c3\", \"border_right_width\": 1, \"font_size\": 18, \"color\": \"#ffffff\", \"background_color\": \"#666666\", \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Employee EPF\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{epf_employee}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Employee SOCSO\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{socso_employee}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SIP\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sip_employee}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"PCB\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{pcb}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Others\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{others}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{total_deduction}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Nett Pay\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{nett_pay}\\n\"}]}, \"font_size\": 18}]], \"table_bordered\": true, \"num_cols\": 2, \"num_rows\": 7, \"_col_widths\": \"[2,1]\", \"col_widths\": [2, 1]}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": null, \"border_top_width\": 1, \"border_left_width\": null, \"border_right_width\": null, \"border_bottom_width\": null, \"border_color\": \"#c3c3c3\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"EMPLOYER'S CONTRIBUTION\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 10, \"border_color\": \"#c3c3c3\", \"border_left_width\": 1, \"border_bottom_width\": null, \"border_right_width\": 1, \"border_top_width\": 1, \"font_size\": 18, \"color\": \"#ffffff\", \"background_color\": \"#666666\", \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"EPF\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{epf_employer}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"EPF No.\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{epf_no}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"PCB\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{pcb}\\n\"}]}}]], \"table_bordered\": true, \"_col_widths\": \"[1,2]\", \"col_widths\": [1, 2], \"num_cols\": 2, \"num_rows\": 2}]}, {\"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SOCSO\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{socso_employer}\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SIP\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sip_employer}\\n\"}]}, \"font_size\": 18}]], \"table_bordered\": true, \"num_cols\": 2, \"num_rows\": 2, \"_col_aligns\": \"\", \"col_aligns\": null, \"_col_widths\": \"[1,2]\", \"col_widths\": [1, 2]}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 10}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 50, \"margin_right\": 50, \"margin_top\": 10, \"_col_widths\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No signature is required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 60, \"margin_right\": 60, \"font_size\": 16}], \"min_height\": 50, \"footer\": true}], \"min_height\": 50, \"height\": \"1000\"}], \"fields\": \"[\\\"number\\\",\\\"employee_name.first_name\\\",\\\"employee_name.surname\\\",\\\"gender\\\",\\\"job_title.job_title\\\",\\\"ic_passport_no\\\",\\\"pay_period_from\\\",\\\"pay_period_to\\\",\\\"phone_no\\\",\\\"date_issue\\\",\\\"basic_pay\\\",\\\"allowance\\\",\\\"overtime\\\",\\\"total_earning\\\",\\\"epf_employee\\\",\\\"socso_employee\\\",\\\"others\\\",\\\"total_deduction\\\",\\\"epf_employer\\\",\\\"socso_employer\\\",\\\"epf_no\\\",\\\"pcb\\\",\\\"sip_employer\\\",\\\"sip_employee\\\",\\\"nett_pay\\\"]\"}, \"code\": \"\"}, \"pay_slip_new\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Salary Slip\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 50, \"font_size\": 28}]}, {\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"Logo 640x400,U7WhB1yndlM=.png\", \"height\": \"150\", \"width\": \"250\"}]}], \"num_cols\": 5, \"col_widths\": [1, 1, 1.5, 1, 1], \"margin_left\": 10, \"margin_right\": 10, \"_col_widths\": \"[1,1,1.5,1,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Employee's Name:\\n\"}]}, \"padding_left\": 5, \"padding_top\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{employee_name2} \\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"min_height\": 55}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Position:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{position}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"PaySlip No:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": null, \"margin_bottom\": null, \"margin_right\": null, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Phone No:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{phone_no}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Gender:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{gender}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_top_width\": 1, \"border_left_width\": null, \"border_right_width\": 1, \"border_bottom_width\": 1, \"min_height\": 55}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"IC/Passport No:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{ic_passport_no}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Pay Period:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{pay_period_from} {pay_period_to}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Date Issue:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{date_issue}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"EARNING / INCOME (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": null, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": 1, \"border_top_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Basic Pay:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{basic_pay}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1, \"border_right_width\": 1}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Allowance:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{allowance}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_right_width\": 1, \"border_bottom_width\": 1}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Overtime:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{overtime}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": null, \"border_right_width\": 1, \"border_bottom_width\": 1}]}], \"num_cols\": 2, \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{total_earning}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_right_width\": 1, \"border_bottom_width\": 1}]}], \"col_widths\": [1, 1]}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DEDUCTION (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_top_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Employee EPF:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{epf_employee}\\n\"}]}, \"padding_top\": 5, \"padding_right\": 5, \"padding_left\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_right_width\": 1, \"border_bottom_width\": 1}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Employee Socso:\\n\"}]}, \"margin_top\": null, \"margin_left\": null, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1, \"border_left_width\": null, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{socso_employee}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": null, \"border_bottom_width\": 1, \"border_right_width\": 1}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Others:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_bottom\": null, \"margin_right\": null, \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{others}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1, \"border_right_width\": 1}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1, \"border_right_width\": 1, \"border_left_width\": null}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{total_deduction}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1, \"border_right_width\": 1}]}], \"col_widths\": [1, 1]}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"NETT PAY:\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{nett_pay}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"padding_top\": 25, \"margin_top\": 5, \"margin_left\": null, \"margin_bottom\": null}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 10, \"margin_right\": 10, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"EMPLOYER'S CONTRIBUTION\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"padding_top\": null, \"padding_left\": null, \"padding_right\": null, \"padding_bottom\": null, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"EPF\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{epf_employer}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"EPF No:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{epf_no}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1, \"border_right_width\": 1}]}], \"num_cols\": 2, \"col_widths\": [0.3, 1], \"_col_widths\": \"[0.3,1]\"}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Socso\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{socso_employer}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1, \"border_right_width\": 1}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SIP\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1, \"border_right_width\": null}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sip_employer}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_right_width\": 1, \"border_bottom_width\": 1}]}], \"col_widths\": [1, 1]}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": null, \"padding_top\": null}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10, \"margin_top\": 20}], \"min_height\": 50, \"height\": \"700\", \"margin_left\": 60, \"margin_right\": 60}], \"fields\": \"[\\\"employee_name2\\\",\\\"position\\\",\\\"number\\\",\\\"phone_no\\\",\\\"gender\\\",\\\"ic_passport_no\\\",\\\"pay_period_from\\\",\\\"pay_period_to\\\",\\\"date_issue\\\",\\\"basic_pay\\\",\\\"allowance\\\",\\\"overtime\\\",\\\"total_earning\\\",\\\"epf_employee\\\",\\\"socso_employee\\\",\\\"others\\\",\\\"total_deduction\\\",\\\"nett_pay\\\",\\\"epf_employer\\\",\\\"epf_no\\\",\\\"socso_employer\\\",\\\"sip_employer\\\"]\", \"filename\": \"\"}, \"code\": null}, \"pay_slip_part_time_new\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Salary Slip\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 50, \"font_size\": 28}]}, {\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"Logo 640x400,U7WhB1yndlM=.png\", \"height\": \"150\", \"width\": \"250\"}]}], \"num_cols\": 5, \"col_widths\": [1, 1, 1.5, 1, 1], \"margin_left\": 10, \"margin_right\": 10, \"_col_widths\": \"[1,1,1.5,1,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Employee's Name:\\n\"}]}, \"padding_left\": 5, \"padding_top\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{employee_name2} \\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"min_height\": 55}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Position:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{position}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"PaySlip No:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": null, \"margin_bottom\": null, \"margin_right\": null, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Phone No:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{phone_no}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Gender:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{gender}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_top_width\": 1, \"border_left_width\": null, \"border_right_width\": 1, \"border_bottom_width\": 1, \"min_height\": 55}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"IC/Passport No:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{ic_passport_no}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Pay Period:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{pay_period_from} {pay_period_to}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Date Issue:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{date_issue}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"EARNING / INCOME (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": null, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": 1, \"border_top_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Basic Pay:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{basic_pay}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1, \"border_right_width\": 1}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Allowance:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{allowance}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_right_width\": 1, \"border_bottom_width\": 1}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Overtime:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{overtime}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": null, \"border_right_width\": 1, \"border_bottom_width\": 1}]}], \"num_cols\": 2, \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{total_earning}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_right_width\": 1, \"border_bottom_width\": 1}]}], \"col_widths\": [1, 1]}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DEDUCTION (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_top_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Employee EPF:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{epf_employee}\\n\"}]}, \"padding_top\": 5, \"padding_right\": 5, \"padding_left\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_right_width\": 1, \"border_bottom_width\": 1}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Employee Socso:\\n\"}]}, \"margin_top\": null, \"margin_left\": null, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1, \"border_left_width\": null, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{socso_employee}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": null, \"border_bottom_width\": 1, \"border_right_width\": 1}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Others:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_bottom\": null, \"margin_right\": null, \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{others}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1, \"border_right_width\": 1}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1, \"border_right_width\": 1, \"border_left_width\": null}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{total_deduction}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1, \"border_right_width\": 1}]}], \"col_widths\": [1, 1]}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"NETT PAY:\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{nett_pay}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"padding_top\": 25, \"margin_top\": 5, \"margin_left\": null, \"margin_bottom\": null}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 10, \"margin_right\": 10, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"EMPLOYER'S CONTRIBUTION\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"padding_top\": null, \"padding_left\": null, \"padding_right\": null, \"padding_bottom\": null, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"EPF\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{epf_employer}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"EPF No:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{epf_no}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1, \"border_right_width\": 1}]}], \"num_cols\": 2, \"col_widths\": [0.3, 1], \"_col_widths\": \"[0.3,1]\"}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Socso\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{socso_employer}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1, \"border_right_width\": 1}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SIP\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1, \"border_right_width\": null}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sip_employer}\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_right_width\": 1, \"border_bottom_width\": 1}]}], \"col_widths\": [1, 1]}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Received By:\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 10, \"margin_right\": 10, \"padding_top\": 20, \"padding_bottom\": 50, \"border_width\": null, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}], \"min_height\": 50, \"height\": \"700\", \"margin_left\": 60, \"margin_right\": 60}], \"fields\": \"[\\\"employee_name2\\\",\\\"position\\\",\\\"number\\\",\\\"phone_no\\\",\\\"gender\\\",\\\"ic_passport_no\\\",\\\"pay_period_from\\\",\\\"pay_period_to\\\",\\\"date_issue\\\",\\\"basic_pay\\\",\\\"allowance\\\",\\\"overtime\\\",\\\"total_earning\\\",\\\"epf_employee\\\",\\\"socso_employee\\\",\\\"others\\\",\\\"total_deduction\\\",\\\"nett_pay\\\",\\\"epf_employer\\\",\\\"epf_no\\\",\\\"socso_employer\\\",\\\"sip_employer\\\"]\", \"filename\": \"\"}, \"code\": null}, \"pcb\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"PCB Form\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 70, \"margin_right\": 20, \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"2.5\", \"color\": \"#ffffff\", \"font_bold\": true}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"smartb_logo_white_256,jsmsq1xP1ks=.png\"}]}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Personal Details\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70, \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"2.5\", \"color\": \"#ffffff\", \"background_color\": \"rgba(59,217,217,0.8)\", \"font_bold\": true}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Name\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 17, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"color\": \"#ffffff\", \"font_size\": 14}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"background_color\": \"#ffffff\", \"color\": \"#000000\", \"placeholder\": \"Name\", \"model\": \"hr2.employee\", \"name\": \"fullname\", \"hover_background_color\": \"#000000\", \"placeholder_color\": \"#000000\", \"load_options\": \"load_options(query)\"}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 20, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[1.5,0.2,3]\", \"vertical_align\": \"middle\", \"color\": \"#000000\", \"placeholder_color\": \"#000000\", \"hover_background_color\": \"#000000\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Employment Category\\n\"}]}, \"font_size\": 17, \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"color\": \"#ffffff\", \"font_bold\": true}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"color\": \"#ffffff\", \"font_size\": 14, \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"1.0\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Employment Category\", \"_selection\": \"\", \"selection\": null, \"model\": \"hr2.employment.category\", \"name\": \"employment_category\", \"background_color\": \"#ffffff\", \"placeholder_color\": \"#000000\", \"on_change\": \"category()\"}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[1.5,0.2,3]\", \"vertical_align\": \"middle\", \"hover_background_color\": \"#000000\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Types of Residency\\n\"}]}, \"font_size\": 17, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"color\": \"#ffffff\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"_selection\": \"[[\\\"Resident\\\",\\\"Resident\\\"],[\\\"Non-Resident\\\",\\\"Non-Resident\\\"]]\", \"selection\": [[\"Resident\", \"Resident\"], [\"Non-Resident\", \"Non-Resident\"]], \"placeholder\": \"Types of Residency\", \"background_color\": \"#ffffff\", \"name\": \"type_of_residency\", \"on_change\": \"category()\"}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[1.5,0.2,3]\", \"font_size\": 15, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"\", \"vertical_align\": \"middle\", \"hover_background_color\": \"#000000\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD Formula\\n\"}]}, \"font_size\": 17, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"font_size\": 15, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"1.0\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"MTD Formula\", \"_selection\": \"[[\\\"Normal\\\",\\\"Normal Remuneration\\\"],[\\\"REP\\\",\\\"Returning Expert Program (REP)\\\"],[\\\"IRDA\\\",\\\"Knowledge Worker at Specified Region (Iskandar Malaysia)\\\"],[\\\"28%\\\",\\\"28% of remuneration after deduct  tax exempt allowances\\\"]]\", \"selection\": [[\"Normal\", \"Normal Remuneration\"], [\"REP\", \"Returning Expert Program (REP)\"], [\"IRDA\", \"Knowledge Worker at Specified Region (Iskandar Malaysia)\"], [\"28%\", \"28% of remuneration after deduct  tax exempt allowances\"]], \"name\": \"mtd_formula\"}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[1.5,0.2,3]\", \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Status Category\\n\"}]}, \"font_size\": 17, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"font_size\": 15, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"1.0\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Status Category\", \"_selection\": \"[[\\\"cat1\\\",\\\"Category 1 = Single\\\"],[\\\"cat2\\\",\\\"Category 2 = Married and husband/wife is not working\\\"],[\\\"cat3\\\",\\\"Category 3 = Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"]]\", \"selection\": [[\"cat1\", \"Category 1 = Single\"], [\"cat2\", \"Category 2 = Married and husband/wife is not working\"], [\"cat3\", \"Category 3 = Married and husband/wife is working, divorced or widowed, or single with adopted child\"]], \"name\": \"status_category\"}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[1.5,0.2,3]\", \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled Individual\\n\"}]}, \"font_size\": 17, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"font_size\": 15, \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"1.0\", \"color\": \"#ffffff\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Disabled Individual\", \"_selection\": \"[[\\\"yes\\\",\\\"Yes\\\"],[\\\"no\\\",\\\"No\\\"]]\", \"selection\": [[\"yes\", \"Yes\"], [\"no\", \"No\"]], \"name\": \"disabled_individual\"}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"vertical_align\": \"middle\", \"_col_widths\": \"[1.5,0.2,3]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled Spouse\\n\"}]}, \"font_size\": 17, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"font_size\": 15, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"1.0\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Disabled Spouse\", \"_selection\": \"[[\\\"yes\\\",\\\"Yes\\\"],[\\\"no\\\",\\\"No\\\"]]\", \"selection\": [[\"yes\", \"Yes\"], [\"no\", \"No\"]], \"name\": \"disabled_spouse\"}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"vertical_align\": \"middle\", \"_col_widths\": \"[1.5,0.2,3]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Month\\n\"}]}, \"font_size\": 17, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"font_size\": 17, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Month\", \"_selection\": \"[[1,\\\"January\\\"],[2,\\\"February\\\"],[3,\\\"March\\\"],[4,\\\"April\\\"],[5,\\\"May\\\"],[6, \\\"June\\\"],[7,\\\"July\\\"],[8,\\\"August\\\"],[9,\\\"September\\\"],[10,\\\"October\\\"],[11,\\\"November\\\"],[12,\\\"December\\\"]]\", \"selection\": [[1, \"January\"], [2, \"February\"], [3, \"March\"], [4, \"April\"], [5, \"May\"], [6, \"June\"], [7, \"July\"], [8, \"August\"], [9, \"September\"], [10, \"October\"], [11, \"November\"], [12, \"December\"]], \"on_change\": \"\", \"name\": \"month\"}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"vertical_align\": \"middle\", \"_col_widths\": \"[1.5,0.2,3]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Year\\n\"}]}, \"font_size\": 17, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"font_size\": 16, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"Year\", \"name\": \"year\"}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"_col_widths\": \"[1.5,0.2,3]\", \"vertical_align\": \"middle\", \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80}], \"min_height\": 50, \"height\": \"490\", \"dyn_props\": \"{hidden:box1}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Children - \"}, {\"insert\": \"No of children claimed by Ownself\\n\"}]}, \"margin_left\": 70, \"margin_right\": 70, \"background_color\": \"rgba(59,217,217,0.6)\", \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"font_bold\": false, \"letter_spacing\": \"2.5\", \"margin_top\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Eligible Rate\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"50%\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"font_name\": \"Segoe UI Light\", \"align\": \"center\", \"letter_spacing\": \"3\", \"color\": \"#ffffff\", \"font_bold\": true}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"100%\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}]}], \"num_cols\": 4, \"col_widths\": [4, 1, 1, 1], \"margin_top\": 20, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[4,1,1,1]\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Under the age of 18 years\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"align\": \"center\", \"margin_right\": 10, \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 10, \"margin_right\": 5, \"placeholder\": \"No. of child\", \"placeholder_color\": \"#3bd9d9\", \"name\": \"child_under_18_50\", \"on_change\": \"childUnder18()\", \"onchange_method\": \"\", \"field_value\": \"\"}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 8, \"margin_right\": 8, \"placeholder\": \"No.of child\", \"name\": \"child_under_18_100\", \"on_change\": \"childUnder18()\", \"onchange_method\": \"\", \"field_value\": \"\"}, {\"type\": \"field\", \"field_type\": \"text\", \"margin_left\": 5, \"margin_right\": 10, \"placeholder\": \"RM\", \"disabled\": true, \"name\": \"child_under_18_total\", \"readonly\": false}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"18 years & above and studying (included Certificate/Matriculation)\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 10, \"margin_right\": 5, \"placeholder\": \"No. of child\", \"name\": \"child_18_study_50\", \"on_change\": \"child18Study()\"}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 8, \"margin_right\": 8, \"placeholder\": \"No.of child\", \"name\": \"child_18_study_100\", \"on_change\": \"child18Study()\"}, {\"type\": \"field\", \"margin_left\": 5, \"margin_right\": 10, \"field_type\": \"text\", \"placeholder\": \"RM\", \"disabled\": true, \"name\": \"child_18_study_total\", \"readonly\": false}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Above 18 years and studying full time in Diploma level onwards (Malaysia) or Degree level onwards (outside Malaysia)\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 10, \"margin_right\": 5, \"placeholder\": \"No. of child\", \"name\": \"child_18_full_time_50\", \"on_change\": \"child18FullTime()\"}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 8, \"margin_right\": 8, \"placeholder\": \"No. of child\", \"name\": \"child_18_full_time_100\", \"on_change\": \"child18FullTime()\"}, {\"type\": \"field\", \"margin_left\": 5, \"margin_right\": 10, \"field_type\": \"text\", \"placeholder\": \"RM\", \"disabled\": true, \"name\": \"child_18_full_time_total\", \"readonly\": false}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled child\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 10, \"margin_right\": 5, \"placeholder\": \"No.of child\", \"name\": \"disabled_child_50\", \"scale\": null, \"on_change\": \"childDisabled()\"}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 8, \"margin_right\": 8, \"placeholder\": \"No.of child\", \"name\": \"disabled_child_100\", \"on_change\": \"childDisabled()\"}, {\"type\": \"field\", \"field_type\": \"text\", \"margin_left\": 5, \"margin_right\": 10, \"placeholder\": \"RM\", \"disabled\": true, \"name\": \"disabled_child_total\", \"readonly\": false}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled child studying in Diploma level onwards (Malaysia) or Degree level onwards (outside Malaysia)\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 10, \"margin_right\": 5, \"placeholder\": \"No. of child\", \"name\": \"disabled_child_study_50\", \"on_change\": \"childDisabledStudy()\"}, {\"type\": \"field\", \"margin_left\": 8, \"margin_right\": 8, \"field_type\": \"number\", \"placeholder\": \"No.of child\", \"name\": \"disabled_child_study_100\", \"on_change\": \"childDisabledStudy()\"}, {\"type\": \"field\", \"field_type\": \"text\", \"margin_left\": 5, \"margin_right\": 10, \"placeholder\": \"RM\", \"readonly\": false, \"disabled\": true, \"name\": \"disabled_child_study_total\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled child studying in Diploma level onwards (Malaysia) or Degree level onwards (outside Malaysia)\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"1.0\"}]], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"table_bordered\": false, \"border_color\": \"#ffffff\", \"border_width\": null, \"num_cols\": 4, \"_col_widths\": \"[4,1,1,1]\", \"col_widths\": [4, 1, 1, 1], \"vertical_align\": \"middle\", \"table_striped\": false, \"num_rows\": 5}], \"min_height\": 50, \"height\": \"400\", \"margin_top\": 10, \"dyn_props\": \"{hidden:box2}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Accumulated Remuneration/MTD/Rebate/Deduction until before current month\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  for current year - \"}, {\"insert\": \"including from previous employer\\n\"}]}, \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70, \"background_color\": \"rgba(59,217,217,0.6)\", \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"2.5\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"1.0\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"align\": \"center\", \"font_size\": 18, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"margin_left\": 5, \"font_bold\": true}]}], \"num_cols\": 2, \"col_widths\": [6, 1], \"margin_top\": 20, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[6,1]\", \"vertical_align\": \"middle\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated remuneration/Benefit-in-Kind (BIK)/Value of Living Accommodation (VOLA)\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_right\": 10, \"margin_left\": 5, \"placeholder\": \"RM\", \"name\": \"prev_acc_rem_bik_vola\", \"on_change\": \"employ()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated EPF and other approved funds\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 5, \"margin_right\": 10, \"placeholder\": \"RM\", \"name\": \"prev_acc_epf\", \"on_change\": \"prevNetAccRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net Accumulated Remuneration\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"disabled\": true, \"name\": \"prev_net_acc_rem\", \"readonly\": false}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated MTD paid (including MTD on additional remuneration)\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_acc_mtd\", \"disabled\": false}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total accumulated zakat paid\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_total_acc_zakat\", \"disabled\": false}]], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[6,1]\", \"col_widths\": [6, 1], \"table_bordered\": false, \"num_cols\": 2, \"num_rows\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  \"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Other Accumulated Deduction\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 80, \"margin_right\": 80, \"background_color\": \"rgba(255,255,255,0.6)\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"2.5\", \"font_size\": 12}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"1.0\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"align\": \"center\", \"font_size\": 18, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_left\": 5, \"margin_right\": 10, \"font_bold\": true}]}], \"num_cols\": 2, \"col_widths\": [6, 1], \"margin_left\": 80, \"margin_right\": 80, \"margin_top\": 20, \"_col_widths\": \"[6,1]\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Medical Expenses for own parents, special need and parent care\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"align\": \"center\", \"scale\": null, \"text_align\": \"center\", \"margin_top\": 8, \"name\": \"prev_parents_exp\", \"on_change\": \"PrevParents1()\"}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_right\": 10, \"margin_left\": 5, \"name\": \"prev_med_exp\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Father Relief\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"placeholder\": \"\", \"margin_left\": null, \"margin_right\": null, \"align\": \"center\", \"margin_top\": 8, \"name\": \"prev_father_mother_relief\", \"on_change\": \"PrevParents2()\"}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_father_relief\", \"disabled\": true, \"readonly\": false, \"on_change\": \"prevDeduction()\", \"background_color\": \"#ffffff\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Mother Relief\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_mother_relief\", \"disabled\": true, \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Basic supporting equipment for disabled self, spouse, child or parent\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_support_disabled\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Education fees\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_edu_fees\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"a) Medical expenses on serious diseases for self, spouse or child\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_med_exp_serious\", \"on_change\": \"prevMedExpenses()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"b) Complete medical examination for self, spouse or child\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_com_med_exam\", \"on_change\": \"prevMedExpenses()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total of a and b\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"disabled\": true, \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_total_a_b\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net Deposit in Skim Simpanan Pendidikan Nasional (SSPN)\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"disabled\": false, \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_net_dep_sspn\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Payment of alimony to former wife\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_alimony\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Life insurance premium for Retired Civil Servant\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"align\": \"center\", \"margin_top\": 8, \"name\": \"prev_civ_servant\", \"on_change\": \"prevLifeInsurance1()\"}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_ins_ret_civ_ser\", \"on_change\": \"prevDeduction()\", \"disabled\": true}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Life insurance premium for Other than Retired Civil Servant\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"align\": \"center\", \"margin_top\": 8, \"name\": \"prev_other_civ_servant\", \"on_change\": \"prevLifeInsurance2()\"}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_ins_oth_ret_civ_ser\", \"disabled\": false, \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Education and medical insurance premium\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_edu_med_ins_prem\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Deferred annuity premium or contribution to Private Retirement Scheme\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_def_annuity\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SOCSO Contribution\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_bottom\": null, \"margin_right\": 10, \"name\": \"prev_socso_cont\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Purchase of readings, computer, smartphone, tablet, sport equipment, gymnasium membership and subscription of broadband internet\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_purch\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Purchase of breastfeeding equipment (deduction is allowed once every 2 years for women tax payer only)\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_purch_bre_equip\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Fees paid to child care centre and kindergartens \\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_fee_child_care\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Accumulated Deductions\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"disabled\": true, \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_total_acc_deduct\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"field\"}]], \"margin_left\": 80, \"margin_right\": 80, \"margin_top\": 10, \"table_bordered\": false, \"num_cols\": 3, \"_col_widths\": \"[5.5,0.5,1]\", \"col_widths\": [5.5, 0.5, 1], \"num_rows\": 19, \"vertical_align\": \"middle\"}], \"min_height\": 50, \"height\": \"1500\", \"margin_left\": null, \"margin_right\": null, \"avoid_keyboard\": true, \"margin_top\": 10, \"dyn_props\": \"{hidden:box3}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Current Month's Remuneration\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70, \"background_color\": \"rgba(59,217,217,0.6)\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"2.5\", \"color\": \"#ffffff\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"1.0\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_left\": 5, \"margin_right\": 10, \"font_bold\": true}]}], \"num_cols\": 2, \"col_widths\": [6, 1], \"margin_top\": 20, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[6,1]\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Current month's remuneration\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_net_rem\", \"on_change\": \"currNetRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Current month's EPF and other approved funds [not exceeding RM4000 per year]\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_epf\", \"on_change\": \"currNetRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Net Current Month's Remuneration\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"disabled\": true, \"readonly\": false, \"name\": \"cur_total_net_rem\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Benefit-in-Kind (BIK)\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_bik\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Value Of Living Accommodation (VOLA)\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_vola\"}]], \"margin_left\": 80, \"margin_right\": 80, \"margin_top\": 10, \"table_bordered\": false, \"num_cols\": 2, \"num_rows\": 5, \"_col_widths\": \"[6,1]\", \"col_widths\": [6, 1], \"vertical_align\": \"middle\"}], \"min_height\": 50, \"height\": \"390\", \"page_break_after\": true, \"dyn_props\": \"{hidden:box4}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Current Month's Remuneration\"}, {\"insert\": \"\\n\"}]}, \"background_color\": \"rgba(59,217,217,0.6)\", \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"2.5\", \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\"}]}], \"num_cols\": 2, \"col_widths\": [6, 1], \"_col_widths\": \"[6,1]\", \"margin_top\": 20, \"margin_left\": 80, \"margin_right\": 80}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Current month's remuneration\\n\"}]}, \"font_size\": 16, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\"}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"name\": \"non_res_cur_rem\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Benefit-in-Kind (BIK)\\n\"}]}, \"font_size\": 16, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\"}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"name\": \"non_res_cur_bik\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Value of Living Accommodation (VOLA)\\n\"}]}, \"font_size\": 16, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\"}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"name\": \"non_res_cur_vola\"}]], \"num_cols\": 2, \"num_rows\": 3, \"_col_widths\": \"[6,1]\", \"col_widths\": [6, 1], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"table_bordered\": false}], \"min_height\": 50, \"dyn_props\": \"{hidden:box8}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Current Month's Additional Remuneration\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70, \"background_color\": \"rgba(59,217,217,0.6)\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"2.5\", \"color\": \"#ffffff\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_left\": 5, \"margin_right\": 10, \"font_bold\": true}]}], \"num_cols\": 2, \"col_widths\": [6, 1], \"_col_widths\": \"[6,1]\", \"margin_top\": 20, \"margin_left\": 80, \"margin_right\": 80, \"vertical_align\": \"middle\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bonus\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_bonus\", \"on_change\": \"addRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Arrears\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_arrears\", \"on_change\": \"addRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Commissions (not paid monthly)\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_commission\", \"on_change\": \"addRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Gratuity\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_gratuity\", \"on_change\": \"addRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Compensation\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_compensation\", \"on_change\": \"addRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Director's fee (not paid monthly)\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_director_fee\", \"on_change\": \"addRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Income tax paid by employers on behalf of employees\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_inc_tax_on_behalf\", \"on_change\": \"addRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Others\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_others\", \"on_change\": \"addRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Additional Remuneration\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"disabled\": true, \"name\": \"cur_total_add_rem\", \"on_change\": \"addRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Additional remuneration's EPF [not exceeding RM4000 per year]\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_add_rem_epf\", \"on_change\": \"addRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Net Additional Remuneration\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"disabled\": true, \"name\": \"cur_total_net_add_rem\"}]], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"num_cols\": 2, \"num_rows\": 11, \"_col_widths\": \"[6,1]\", \"col_widths\": [6, 1], \"table_bordered\": false}], \"min_height\": 50, \"height\": \"700\", \"dyn_props\": \"{hidden:box5}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Current Month's Deduction\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70, \"background_color\": \"rgba(59,217,217,0.6)\", \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"2.5\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"1.0\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"1.0\", \"margin_left\": 5, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [6, 1], \"_col_widths\": \"[6,1]\", \"margin_top\": 20, \"margin_left\": 80, \"margin_right\": 80}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Medical expenses for own parents, special need and parent care\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"placeholder\": \"\", \"margin_left\": null, \"margin_right\": null, \"align\": \"center\", \"margin_top\": 8, \"name\": \"cur_parents_exp\", \"on_change\": \"curParents1()\"}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_med_exp\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Father Relief\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"placeholder\": \"\", \"margin_left\": null, \"margin_right\": null, \"align\": \"center\", \"margin_top\": 8, \"name\": \"cur_father_mother_relief\", \"on_change\": \"curParents2()\"}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_father_relief\", \"disabled\": true, \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Mother Relief\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_mother_relief\", \"disabled\": true, \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Basic supporting equipment for disabled self, spouse, child or parent\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_support_disabled\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Education fees\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 5, \"margin_right\": 10, \"placeholder\": \"RM\", \"name\": \"cur_edu_fees\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"a) Medical expenses on serious diseases for self, spouse or child\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_med_exp_serious\", \"on_change\": \"curMedExpenses()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"b) Complete medical examination for self, spouse or child\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_com_med_exam\", \"on_change\": \"curMedExpenses()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total of a and b\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"disabled\": true, \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_total_a_b\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net deposit in Skim Simpanan Pendidikan Nasional (SSPN)\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_net_dep_sspn\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Payment of alimony to former wife\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_alimony\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Life insurance premium for Retired Civil Servant\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"placeholder\": \"\", \"margin_left\": null, \"margin_right\": null, \"align\": \"center\", \"margin_top\": 8, \"name\": \"cur_civ_servant\", \"on_change\": \"curLifeInsurance1()\"}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_ins_ret_civ_ser\", \"on_change\": \"curDeduction()\", \"disabled\": true, \"onchange_method\": \"\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Life insurance premium for Other than Retired Civil Servant\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"placeholder\": \"\", \"margin_left\": null, \"margin_right\": null, \"align\": \"center\", \"margin_top\": 8, \"name\": \"cur_other_civ_servant\", \"on_change\": \"curLifeInsurance2()\"}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_ins_oth_ret_civ_ser\", \"disabled\": false, \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Education and medical insurance premium\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_edu_med_ins_prem\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Deferred annuity premium or contribution to Private Retirement Scheme\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_def_annuity\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SOCSO Contribution\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_socso_cont\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Purchase of readings, computer, smartphone, tablet, sport equipment, gymnasium membership and subscription of broadband internet\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_purch\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Purchase of breastfeeding equipment (deduction is allowed once every 2 years for women tax payer only)\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_purch_bre_equip\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Fess paid to child care centre and kindergartens\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_fee_child_care\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Monthly Deduction\\n\"}]}, \"font_size\": 16, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\"}, null, {\"type\": \"field\", \"name\": \"cur_total_deduct\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"disabled\": true, \"margin_left\": 5, \"margin_right\": 10}]], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"num_cols\": 3, \"num_rows\": 19, \"_col_widths\": \"[5.5,0.5,1]\", \"col_widths\": [5.5, 0.5, 1], \"table_bordered\": false}], \"min_height\": 50, \"height\": \"1150\", \"dyn_props\": \"{hidden:box6}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Current Month's Rebate Information\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70, \"background_color\": \"rgba(59,217,217,0.6)\", \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"1.0\", \"margin_left\": 5, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [6, 1], \"margin_top\": 20, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[6,1]\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Zakat or Fitrah\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"font_bold\": true}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_zakat\"}], []], \"num_rows\": 1, \"_col_widths\": \"[6,1]\", \"col_widths\": [6, 1], \"num_cols\": 2, \"vertical_align\": \"middle\", \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"table_hover\": false, \"table_bordered\": false}], \"min_height\": 50, \"height\": \"180\", \"dyn_props\": \"{hidden:box7}\"}, {\"type\": \"button\", \"margin_left\": 80, \"margin_right\": 80, \"margin_top\": 10, \"width\": \"150\", \"height\": \"50\", \"text\": \"CALCULATE\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"1.0\", \"font_bold\": true, \"on_click\": \"calculate()\", \"margin_bottom\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Y\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_left\": null, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"width\": null, \"height\": null, \"margin_left\": null, \"name\": \"Y\", \"placeholder\": \"Y\", \"align\": \"center\", \"margin_right\": null}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"K\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": null, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"margin_right\": null, \"placeholder\": \"K\", \"name\": \"K\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"E\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": null, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"E\", \"placeholder\": \"E\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Y1\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": null, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"Y1\", \"placeholder\": \"Y1\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"K1\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": null, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"K1\", \"placeholder\": \"K1\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Y2\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": null, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"Y2\", \"placeholder\": \"Y2\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"K2\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": null, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"K2\", \"placeholder\": \"K2\"}]}], \"num_cols\": 14, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"margin_left\": 15, \"margin_right\": 85, \"margin_top\": 10, \"margin_bottom\": 5, \"vertical_align\": \"middle\", \"align\": \"center\", \"_col_widths\": \"\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"D\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"D\", \"placeholder\": \"D\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"S\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"S\", \"placeholder\": \"S\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Du\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"Du\", \"placeholder\": \"Du\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Su\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"Su\", \"placeholder\": \"Su\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"n\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"n\", \"placeholder\": \"n\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"QC\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"QC\", \"field_type\": \"number\", \"placeholder\": \"QC\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"ELP\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"ELP\", \"field_type\": \"number\", \"placeholder\": \"ELP\"}]}], \"num_cols\": 14, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"vertical_align\": \"middle\", \"margin_left\": 15, \"margin_right\": 85, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"LP1\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"LP1\", \"field_type\": \"number\", \"placeholder\": \"LP1\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"color\": \"#ffffff\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"P_res\", \"placeholder\": \"P - Res\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"M\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"M\", \"field_type\": \"number\", \"placeholder\": \"M\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"R\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"R_res\", \"field_type\": \"number\", \"placeholder\": \"R - Res\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"B\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"B\", \"field_type\": \"number\", \"placeholder\": \"B\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Z\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"name\": \"\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"Z_res\", \"field_type\": \"number\", \"placeholder\": \"Z - Res\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"X\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"X_res\", \"field_type\": \"number\", \"placeholder\": \"X - Res\"}]}], \"num_cols\": 14, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"vertical_align\": \"middle\", \"margin_left\": 15, \"margin_right\": 85, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cur MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_name\": \"Segoe UI Light\", \"color\": \"#ffffff\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"curMTD_res\", \"field_type\": \"number\", \"placeholder\": \"Cur MTD\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"netMTD_res\", \"field_type\": \"number\", \"placeholder\": \"Net MTD\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"P_REP\", \"field_type\": \"number\", \"placeholder\": \"P - REP\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"R\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_name\": \"Segoe UI Light\", \"color\": \"#ffffff\", \"letter_spacing\": \"3\", \"name\": \"\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"R_REP\", \"field_type\": \"number\", \"placeholder\": \"R - REP\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"T\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"T_REP\", \"field_type\": \"number\", \"placeholder\": \"T - REP\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Z\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"Z_REP\", \"field_type\": \"number\", \"placeholder\": \"Z - REP\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"X\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"X_REP\", \"field_type\": \"number\", \"placeholder\": \"X - REP\"}]}], \"num_cols\": 14, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"vertical_align\": \"middle\", \"margin_left\": 15, \"margin_right\": 85, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cur MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"curMTD_REP\", \"field_type\": \"number\", \"placeholder\": \"Cur MTD\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"netMTD_REP\", \"field_type\": \"number\", \"placeholder\": \"Net MTD\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_name\": \"Segoe UI Light\", \"color\": \"#ffffff\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"P_IRDA\", \"field_type\": \"number\", \"placeholder\": \"P - IRDA\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"R\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"R_IRDA\", \"field_type\": \"number\", \"placeholder\": \"R - IRDA\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Z\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"Z_IRDA\", \"field_type\": \"number\", \"placeholder\": \"Z - IRDA\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"X\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"X_IRDA\", \"field_type\": \"number\", \"placeholder\": \"X -IRDA\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cur MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"curMTD_IRDA\", \"field_type\": \"number\", \"placeholder\": \"Cur MTD\"}]}], \"num_cols\": 14, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"vertical_align\": \"middle\", \"margin_left\": 15, \"margin_right\": 85, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"netMTD_IRDA\", \"field_type\": \"number\", \"placeholder\": \"Net MTD\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD(B)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_name\": \"Segoe UI Light\", \"color\": \"#ffffff\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"mtdb\", \"field_type\": \"number\", \"placeholder\": \"MTD - B\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Yt\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"Yt\", \"field_type\": \"number\", \"placeholder\": \"Yt\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Kt\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"Kt\", \"field_type\": \"number\", \"placeholder\": \"Kt\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P - CS\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"P_CS\", \"field_type\": \"number\", \"placeholder\": \"P - CS\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"CS\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"CS\", \"field_type\": \"number\", \"placeholder\": \"CS\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD(C)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"name\": \"\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"mtdc\", \"field_type\": \"number\", \"placeholder\": \"MTD - C\"}]}], \"num_cols\": 14, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"vertical_align\": \"middle\", \"margin_left\": 15, \"margin_right\": 85, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"mtd\", \"field_type\": \"number\", \"placeholder\": \"MTD\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NR-Cur\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_name\": \"Segoe UI Light\", \"color\": \"#ffffff\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"non_res_cur_remm\", \"placeholder\": \"Non Resident\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NR-BIK\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"non_res_bikk\", \"placeholder\": \"Non Resident\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NR-Vola\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"non_res_volaa\", \"placeholder\": \"Non Resident\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NR-Add\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"non_res_add_remm\", \"placeholder\": \"Non Resident\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NR MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#ffffff\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"non_res_mtdd\", \"placeholder\": \"Non Resident\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_name\": \"Segoe UI Light\", \"color\": \"#ffffff\", \"letter_spacing\": \"3\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\"}]}], \"num_cols\": 14, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"vertical_align\": \"middle\", \"margin_left\": 15, \"margin_right\": 85, \"margin_bottom\": 30}], \"min_height\": 50, \"dyn_props\": \"{hidden:boxz}\"}], \"min_height\": 50, \"height\": \"\", \"background_color\": \"#787878\", \"margin_left\": null, \"margin_right\": null}]}, \"code\": \"/*\\nISDA and Normal Remuneration: if user didn't fill the children fields, will invoke a error (within twoNum() function)\\nREP error: inside REPMTD(): the R of output of REPMTD function is undefined\\n\\n*/\\n\\nasync function on_load(){\\n\\tset_field_value(\\\"C\\\",0);\\n\\tset_field_value('Q',2000);\\n\\tvar page = page_params.page;\\n  \\n\\t\\n\\tif (page == 1 || page == 2  || page == 4){\\n\\t  set_data({bex1:true,bex2:false,bname1:true,bname2:false,bcalc1:true,boxz:true});\\n\\t  initialValue();\\n\\t  var name = page_params.fname;\\n\\t  var month = page_params.month;\\n\\t  var year = page_pFarams.year;\\n\\t  var formula = page_params.form;\\n\\t  console.log(\\\"afiqah: \\\", name, month, year)\\n\\t  \\n\\t  var conds = [[\\\"full_name\\\",\\\"ilike\\\",name],[\\\"month\\\",\\\"=\\\",month],[\\\"year\\\",\\\"=\\\",year],[\\\"mtd_formula\\\",\\\"=\\\",formula]];\\n\\t  \\n\\t  var fields = [\\\"full_name\\\",\\\"month\\\",\\\"year\\\",\\\"employment_category\\\",\\\"type_of_residency\\\",\\\"mtd_formula\\\",\\n\\t\\t\\t\\t\\t\\\"status_category\\\",\\\"disabled_individual\\\",\\\"disabled_spouse\\\",\\n\\t\\t\\t\\t\\t\\\"child_under_18_50\\\",\\\"child_under_18_100\\\",\\\"child_under_18_total\\\",\\n\\t\\t\\t\\t\\t\\\"child_18_study_50\\\",\\\"child_18_study_100\\\",\\\"child_18_study_total\\\",\\n\\t\\t\\t\\t\\t\\\"child_18_full_time_50\\\",\\\"child_18_full_time_100\\\",\\\"child_18_full_time_total\\\",\\n\\t\\t\\t\\t\\t\\\"disabled_child_50\\\",\\\"disabled_child_100\\\",\\\"disabled_child_total\\\",\\n\\t\\t\\t\\t\\t\\\"disabled_child_study_50\\\",\\\"disabled_child_study_100\\\",\\\"disabled_child_study_total\\\",\\n\\t\\t\\t\\t\\t\\\"prev_acc_rem_bik_vola\\\",\\\"prev_acc_epf\\\",\\\"prev_net_acc_rem\\\",\\\"prev_acc_mtd\\\",\\\"prev_total_acc_zakat\\\",\\n\\t\\t\\t\\t\\t\\\"prev_med_exp\\\",\\\"prev_father_relief\\\",\\\"prev_mother_relief\\\",\\n\\t\\t\\t\\t\\t\\\"prev_support_disabled\\\",\\\"prev_edu_fees\\\",\\\"prev_med_exp_serious\\\",\\\"prev_com_med_exam\\\",\\n\\t\\t\\t\\t\\t\\\"prev_total_a_b\\\",\\\"prev_net_dep_sspn\\\",\\\"prev_alimony\\\",\\\"prev_ins_ret_civ_ser\\\",\\n\\t\\t\\t\\t\\t\\\"prev_ins_oth_ret_civ_ser\\\",\\\"prev_edu_med_ins_prem\\\",\\\"prev_def_annuity\\\",\\\"prev_socso_cont\\\",\\n\\t\\t\\t\\t\\t\\\"prev_purch\\\",\\\"prev_purch_bre_equip\\\",\\\"prev_fee_child_care\\\",\\\"prev_total_acc_deduct\\\",\\n\\t\\t\\t\\t\\t\\\"cur_mon_rem\\\",\\\"cur_mon_epf\\\",\\\"cur_total_net_rem\\\",\\\"cur_bik\\\",\\\"cur_vola\\\",\\n\\t\\t\\t\\t\\t\\\"non_res_cur_rem\\\",\\\"non_res_bik\\\",\\\"non_res_vola\\\",\\n\\t\\t\\t\\t\\t\\\"cur_bonus\\\",\\\"cur_arrears\\\",\\\"cur_commission\\\",\\\"cur_gratuity\\\",\\\"cur_compensation\\\",\\n\\t\\t\\t\\t\\t\\\"cur_director_fee\\\",\\\"cur_inc_tax_on_behalf\\\",\\\"cur_others\\\",\\\"cur_total_add_rem\\\",\\n\\t\\t\\t\\t\\t\\\"cur_add_rem_epf\\\",\\\"cur_total_net_add_rem\\\",\\n\\t\\t\\t\\t\\t\\\"cur_med_exp\\\",\\\"cur_father_relief\\\",\\\"cur_mother_relief\\\",\\\"cur_support_disabled\\\",\\n\\t\\t\\t\\t\\t\\\"cur_edu_fees\\\",\\\"cur_med_exp_serious\\\",\\\"cur_com_med_exam\\\",\\\"cur_total_a_b\\\",\\n\\t\\t\\t\\t\\t\\\"cur_net_dep_sspn\\\",\\\"cur_alimony\\\",\\\"cur_ins_ret_civ_ser\\\",\\\"cur_ins_oth_ret_civ_ser\\\",\\n\\t\\t\\t\\t\\t\\\"cur_edu_med_ins_prem\\\",\\\"cur_def_annuity\\\",\\\"cur_socso_cont\\\",\\\"cur_purch\\\",\\\"cur_purch_bre_equip\\\",\\n\\t\\t\\t\\t\\t\\\"cur_fee_child_care\\\",\\\"cur_total_deduct\\\",\\\"cur_zakat\\\",\\\"mtd\\\",\\\"mtd_round\\\"\\n\\t\\t\\t\\t   ]\\n\\t  \\n\\t  var  res = await rpc_execute(\\\"hr2.pcb\\\",\\\"search_read_path\\\",[conds,fields]);\\n\\t  \\n\\t  //Personal Details\\n\\t  var names = res[0].full_name;\\n\\t  var months = res[0].month;\\n\\t  var years = res[0].year;\\n\\t  var emp_cat = res[0].employment_category;\\n\\t  var type_res = res[0].type_of_residency;\\n\\t  var mtdf = res[0].mtd_formula;\\n\\t  var status = res[0].status_category;\\n\\t  var dis_in = res[0].disabled_individual;\\n\\t  var dis_sp = res[0].disabled_spouse;\\n\\t  \\n\\t  //Children\\n\\t  var c_und1850 = res[0].child_under_18_50;\\n\\t  var c_und18100 = res[0].child_under_18_100;\\n\\t  var c_und18tot = res[0].child_under_18_total;\\n\\t  var c_18stu50 = res[0].child_18_study_50;\\n\\t  var c_18stu100 = res[0].child_18_study_100;\\n\\t  var c_18stutot = res[0].child_18_study_total;\\n\\t  var c_18ful50 = res[0].child_18_full_time_50;\\n\\t  var c_18ful100 = res[0].child_18_full_time_100;\\n\\t  var c_18fultot = res[0].child_18_full_time_total;\\n\\t  var c_dis50\\t= res[0].disabled_child_50;\\n\\t  var c_dis100 = res[0].disabled_child_100;\\n\\t  var c_distot = res[0].disabled_child_total;\\n\\t  var c_distu50 = res[0].disabled_child_study_50;\\n\\t  var c_distu100 = res[0].disabled_child_study_100;\\n\\t  var c_distutot = res[0].disabled_child_study_total;\\n\\t  \\n\\t  \\n\\t  //Previous Remuneration\\n\\t  var pr_accrem = res[0].prev_acc_rem_bik_vola;\\n\\t  var pr_epf = res[0].prev_acc_epf;\\n\\t  var pr_netrem = res[0].prev_net_acc_rem;\\n\\t  var pr_mtdpaid = res[0].prev_acc_mtd;\\n\\t  var pr_zakat = res[0].prev_total_acc_zakat;\\n\\t  \\n\\t  //Previous Deduction\\n\\t  var pr_medexp = res[0].prev_med_exp;\\n\\t  var pr_father = res[0].prev_father_relief;\\n\\t  var pr_mother = res[0].prev_mother_relief;\\n\\t  if(pr_father != 0 || pr_mother != 0){\\n\\t\\tset_data({prev_parents_exp:false,\\n\\t\\t\\t\\t  prev_father_mother_relief:true,\\n\\t\\t})\\n\\t  }\\n\\t  var pr_supdis = res[0].prev_support_disabled;\\n\\t  var pr_edufee = res[0].prev_edu_fees;\\n\\t  var pr_sermed = res[0].prev_med_exp_serious;\\n\\t  var pr_commed = res[0].prev_com_med_exam;\\n\\t  var pr_totlab = res[0].prev_total_a_b;\\n\\t  var pr_sspn = res[0].prev_net_dep_sspn;\\n\\t  var pr_alimon = res[0].prev_alimony;\\n\\t  var pr_retcer = res[0].prev_ins_ret_civ_ser;\\n\\t  var pr_othret = res[0].prev_ins_oth_ret_civ_ser;\\n\\t  if(pr_retcer != 0){\\n\\t\\tset_data({prev_civ_servant:true,\\n\\t\\t\\t\\t  prev_other_civ_servant:false,\\n\\t\\t})\\n\\t  }\\n\\t  var pr_edupre = res[0].prev_edu_med_ins_prem;\\n\\t  var pr_annuit = res[0].prev_def_annuity;\\n\\t  var pr_socso = res[0].prev_socso_cont;\\n\\t  var pr_purcha = res[0].prev_purch;\\n\\t  var pr_purbre = res[0].prev_purch_bre_equip;\\n\\t  var pr_childc = res[0].prev_fee_child_care;\\n\\t  var pr_deduct = res[0].prev_total_acc_deduct;\\n\\t  \\n\\t  //Current Remuneration\\n\\t  var cu_rem = res[0].cur_mon_rem;\\n\\t  var cu_epf = res[0].cur_mon_epf;\\n\\t  var cu_total = res[0].cur_total_net_rem;\\n\\t  var cu_bik = res[0].cur_bik;\\n\\t  var cu_vola = res[0].cur_vola;\\n\\t  \\n\\t  //Non-Resident Current Remuneration\\n\\t  var non_cur_rem = res[0].non_res_cur_rem;\\n\\t  var non_bik = res[0].non_res_bik;\\n\\t  var non_vola = res[0].non_res_vola;\\n\\t  \\n\\t  //Current Additional Remuneration\\n\\t  var cu_bonus = res[0].cur_bonus;\\n\\t  var cu_arrear = res[0].cur_arrears;\\n\\t  var cu_commis = res[0].cur_commission;\\n\\t  var cu_gratui = res[0].cur_gratuity;\\n\\t  var cu_compen = res[0].cur_compensation;\\n\\t  var cu_direct = res[0].cur_director_fee;\\n\\t  var cu_inctax = res[0].cur_inc_tax_on_behalf;\\n\\t  var cu_others = res[0].cur_others;\\n\\t  var cu_totadd = res[0].cur_total_add_rem;\\n\\t  var cu_addepf = res[0].cur_add_rem_epf;\\n\\t  var cu_netadd = res[0].cur_total_net_add_rem;\\n\\t  \\n\\t  //Current Deduction\\n\\t  var cu_medexp = res[0].cur_med_exp;\\n\\t  var cu_father = res[0].cur_father_relief;\\n\\t  var cu_mother = res[0].cur_mother_relief;\\n\\t  if(cu_father != 0 || cu_mother != 0){\\n\\t\\tset_data({cur_parents_exp:false,\\n\\t\\t\\t\\t  cur_father_mother_relief:true,\\n\\t\\t})\\n\\t  }\\n\\t  var cu_supdis = res[0].cur_support_disabled\\n\\t  var cu_edufee = res[0].cur_edu_fees;\\n\\t  var cu_sermed = res[0].cur_med_exp_serious;\\n\\t  var cu_commed = res[0].cur_com_med_exam;\\n\\t  var cu_totlab = res[0].cur_total_a_b;\\n\\t  var cu_sspn = res[0].cur_net_dep_sspn;\\n\\t  var cu_alimon = res[0].cur_alimony;\\n\\t  var cu_retcer = res[0].cur_ins_ret_civ_ser;\\n\\t  var cu_othret = res[0].cur_ins_oth_ret_civ_ser;\\n\\t  if(cu_retcer != 0){\\n\\t\\tset_data({cur_civ_servant:true,\\n\\t\\t\\t\\t  cur_other_civ_servant:false,\\n\\t\\t})\\n\\t  }\\n\\t  var cu_edupre = res[0].cur_edu_med_ins_prem;\\n\\t  var cu_annuit = res[0].cur_def_annuity;\\n\\t  var cu_socso = res[0].cur_socso_cont;\\n\\t  var cu_purcha = res[0].cur_purch;\\n\\t  var cu_purbre = res[0].cur_purch_bre_equip;\\n\\t  var cu_childc = res[0].cur_fee_child_care;\\n\\t  var cu_deduct = res[0].cur_total_deduct;\\n\\t  \\n\\t  //Current Rebate\\n\\t  var cu_zakat = res[0].cur_zakat;\\n\\t  \\n\\t  var mtdr = res[0].mtd_round;\\n  \\n\\t  /*if(page == 1){\\n\\t\\tset_data({fname:names,month:months,year:years,employment_category:emp_cat,type_of_residency:type_res,mtd_formula:mtdf,status_category:status,\\n\\t\\t\\t\\t  disabled_individual:dis_in,disabled_spouse:dis_sp,\\n\\t\\t\\t\\t});\\n\\t  \\n\\t\\tcategory();\\n\\t   \\n\\t\\tset_data({mtd_formula:mtdf,child_under_18_50:c_und1850,\\n\\t\\t\\t\\t  child_under_18_100:c_und18100,\\n\\t\\t\\t\\t  child_under_18_total:c_und18tot,\\n\\t\\t\\t\\t  child_18_study_50:c_18stu50,\\n\\t\\t\\t\\t  child_18_study_100:c_18stu100,\\n\\t\\t\\t\\t  child_18_study_total:c_18stutot,\\n\\t\\t\\t\\t  child_18_full_time_50:c_18ful50,\\n\\t\\t\\t\\t  child_18_full_time_100:c_18ful100,\\n\\t\\t\\t\\t  child_18_full_time_total:c_18fultot,\\n\\t\\t\\t\\t  disabled_child_50:c_dis50,\\n\\t\\t\\t\\t  disabled_child_100:c_dis100,\\n\\t\\t\\t\\t  disabled_child_total:c_distot,\\n\\t\\t\\t\\t  disabled_child_study_50:c_distu50,\\n\\t\\t\\t\\t  disabled_child_study_100:c_distu100,\\n\\t\\t\\t\\t  disabled_child_study_total:c_distutot,\\n\\t\\t\\t\\t  prev_acc_rem_bik_vola:pr_accrem,\\n\\t\\t\\t\\t  prev_acc_epf:pr_epf,\\n\\t\\t\\t\\t  prev_net_acc_rem:pr_netrem,\\n\\t\\t\\t\\t  prev_acc_mtd:pr_mtdpaid,\\n\\t\\t\\t\\t  prev_total_acc_zakat:pr_zakat,\\n\\t\\t\\t\\t  prev_med_exp:pr_medexp,\\n\\t\\t\\t\\t  prev_father_relief:pr_father,\\n\\t\\t\\t\\t  prev_mother_relief:pr_mother,\\n\\t\\t\\t\\t  prev_support_disabled:pr_supdis,\\n\\t\\t\\t\\t  prev_edu_fees:pr_edufee,\\n\\t\\t\\t\\t  prev_med_exp_serious:pr_sermed,\\n\\t\\t\\t\\t  prev_com_med_exam:pr_commed,\\n\\t\\t\\t\\t\\tprev_total_a_b:pr_totlab,\\n\\t\\t\\t\\t  prev_net_dep_sspn:pr_sspn,\\n\\t\\t\\t\\t  prev_alimony:pr_alimon,\\n\\t\\t\\t\\t  prev_ins_ret_civ_ser:pr_retcer,\\n\\t\\t\\t\\t  prev_ins_oth_ret_civ_ser:pr_othret,\\n\\t\\t\\t\\t\\tprev_edu_med_ins_prem:pr_edupre,\\n\\t\\t\\t\\t  prev_def_annuity:pr_annuit,\\n\\t\\t\\t\\t  prev_socso_cont:pr_socso,\\n\\t\\t\\t\\t  prev_purch:pr_purcha,\\n\\t\\t\\t\\t  prev_purch_bre_equip:pr_purbre,\\n\\t\\t\\t\\t  prev_fee_child_care:pr_childc,\\n\\t\\t\\t\\t  prev_total_acc_deduct:pr_deduct,\\n\\t\\t\\t\\t  cur_net_rem:cu_rem,\\n\\t\\t\\t\\t  cur_epf:cu_epf,\\n\\t\\t\\t\\t  cur_total_net_rem:cu_total,\\n\\t\\t\\t\\t  cur_bik:cu_bik,\\n\\t\\t\\t\\t  cur_vola:cu_vola,\\n\\t\\t\\t\\t  non_res_cur_rem:non_cur_rem,\\n\\t\\t\\t\\t  non_res_cur_bik:non_bik,\\n\\t\\t\\t\\t  non_res_cur_vola:non_vola,\\n\\t\\t\\t\\t  cur_bonus:cu_bonus,\\n\\t\\t\\t\\t  cur_arrears:cu_arrear,\\n\\t\\t\\t\\t  cur_commission:cu_commis,\\n\\t\\t\\t\\t  cur_gratuity:cu_gratui,\\n\\t\\t\\t\\t\\tcur_compensation:cu_compen,\\n\\t\\t\\t\\t  cur_director_fee:cu_direct,\\n\\t\\t\\t\\t  cur_inc_tax_on_behalf:cu_inctax,\\n\\t\\t\\t\\t  cur_others:cu_others,\\n\\t\\t\\t\\t  cur_total_add_rem:cu_totadd,\\n\\t\\t\\t\\t  cur_add_rem_epf:cu_addepf,\\n\\t\\t\\t\\t  cur_total_net_add_rem:cu_netadd,\\n\\t\\t\\t\\t  cur_med_exp:cu_medexp,\\n\\t\\t\\t\\t  cur_father_relief:cu_father,\\n\\t\\t\\t\\t  cur_mother_relief:cu_mother,\\n\\t\\t\\t\\t  cur_support_disabled:cu_supdis,\\n\\t\\t\\t\\t  cur_edu_fees:cu_edufee,\\n\\t\\t\\t\\t  cur_med_exp_serious:cu_sermed,\\n\\t\\t\\t\\t  cur_com_med_exam:cu_commed,\\n\\t\\t\\t\\t  cur_total_a_b:cu_totlab,\\n\\t\\t\\t\\t  cur_net_dep_sspn:cu_sspn,\\n\\t\\t\\t\\t  cur_alimony:cu_alimon,\\n\\t\\t\\t\\t  cur_ins_ret_civ_ser:cu_retcer,\\n\\t\\t\\t\\t  cur_ins_oth_ret_civ_ser:cu_othret,\\n\\t\\t\\t\\t  cur_edu_med_ins_prem:cu_edupre,\\n\\t\\t\\t\\t  cur_def_annuity:cu_annuit,\\n\\t\\t\\t\\t  cur_socso_cont:cu_socso,\\n\\t\\t\\t\\t  cur_purch:cu_purcha,\\n\\t\\t\\t\\t  cur_purch_bre_equip:cu_purbre,\\n\\t\\t\\t\\t  cur_fee_child_care:cu_childc,\\n\\t\\t\\t\\t  cur_total_deduct:cu_deduct,\\n\\t\\t\\t\\t  cur_zakat:cu_zakat,\\n\\t\\t\\t\\t});\\n\\t  }*/\\n\\t  \\n\\t  if (page == 2 || page == 4){\\n\\t\\tset_data({bcalc1:false});\\n\\t\\t\\n\\t\\tvar mon = parseInt(months);\\n\\t\\tvar mont = mon + 1;\\n\\t\\tconsole.log(\\\"af2: \\\",mon, mont);\\n\\t\\t\\n\\t\\tvar pr_accre = parseFloat(pr_accrem);\\n\\t\\tvar cu_re = parseFloat(cu_rem);\\n\\t\\tvar cu_bi = parseFloat(cu_bik);\\n\\t\\tvar cu_vol = parseFloat(cu_vola);\\n\\t\\tvar cu_totad = parseFloat(cu_totadd);\\n\\t\\tvar accumu_rem = pr_accre + cu_re + cu_bi + cu_vol + cu_totad;\\n\\t\\t\\n\\t\\tvar pr_ep = parseFloat(pr_epf);\\n\\t\\tvar cu_ep = parseFloat(cu_epf);\\n\\t\\tvar cu_addep = parseFloat(cu_addepf);\\n\\t\\tvar accumu_epf = pr_ep + cu_ep + cu_addep; \\n\\t\\t\\n\\t\\t//var pr_netre = parseFloat(pr_netrem);\\n\\t\\t//var cu_tota = parseFloat(cu_total);\\n\\t\\tvar accumu_netrem = accumu_rem - accumu_epf;\\n\\t\\t\\n\\t\\tvar pr_mtdpai = parseFloat(pr_mtdpaid);\\n\\t\\tvar mt = parseFloat(mtdr);\\n\\t\\tvar accumu_mtd = pr_mtdpai + mt;\\n\\t\\t\\n\\t\\tvar pr_zaka = parseFloat(pr_zakat);\\n\\t\\tvar cu_zaka = parseFloat(cu_zakat);\\n\\t\\tvar accumu_zak = pr_zaka + cu_zaka;\\n\\t\\t\\n\\t\\tvar pr_medex = parseFloat(pr_medexp);\\n\\t\\tvar cu_medex = parseFloat(cu_medexp);\\n\\t\\tvar acc_medexp = pr_medex + cu_medex;\\n\\t\\t\\n\\t\\tvar pr_fathe = parseFloat(pr_father);\\n\\t\\tvar cu_fathe = parseFloat(cu_father);\\n\\t\\tvar acc_father = pr_fathe + cu_fathe;\\n\\t\\t\\n\\t\\tvar pr_mothe = parseFloat(pr_mother);\\n\\t\\tvar cu_mothe = parseFloat(cu_mother);\\n\\t\\tvar acc_mother = pr_mothe + cu_mothe;\\n\\t\\t\\n\\t\\tif(acc_father != 0 || acc_mother != 0){\\n\\t\\t  set_data({prev_parents_exp:false,\\n\\t\\t\\t\\t  prev_father_mother_relief:true,\\n\\t\\t  })\\n\\t\\t  get_component(\\\"prev_med_exp\\\").set_props({disabled:true});\\n\\t\\t  get_component(\\\"prev_father_relief\\\").set_props({disabled:false});\\n\\t\\t  get_component(\\\"prev_mother_relief\\\").set_props({disabled:false});\\n\\t\\t}\\n\\t\\t\\n\\t\\tvar pr_supdi = parseFloat(pr_supdis);\\n\\t\\tvar cu_supdi = parseFloat(cu_supdis);\\n\\t\\tvar acc_supdis = pr_supdi + cu_supdi;\\n\\t\\t\\n\\t\\tvar pr_edufe = parseFloat(pr_edufee);\\n\\t\\tvar cu_edufe = parseFloat(cu_edufee);\\n\\t\\tvar acc_edufee = pr_edufe + cu_edufe;\\n\\t\\t\\n\\t\\tvar pr_serme = parseFloat(pr_sermed);\\n\\t\\tvar cu_serme = parseFloat(cu_sermed);\\n\\t\\tvar acc_sermed = pr_serme + cu_serme;\\n\\t\\t\\n\\t\\tvar pr_comme = parseFloat(pr_commed);\\n\\t\\tvar cu_comme = parseFloat(cu_commed);\\n\\t\\tvar acc_commed = pr_comme + cu_comme;\\n\\t\\t\\n\\t\\tvar pr_totla = parseFloat(pr_totlab);\\n\\t\\tvar cu_totla = parseFloat(cu_totlab);\\n\\t\\tvar acc_totlab = pr_totla + cu_totla;\\n\\t\\t\\n\\t\\tvar pr_ssp = parseFloat(pr_sspn);\\n\\t\\tvar cu_ssp = parseFloat(cu_sspn);\\n\\t\\tvar acc_sspn = pr_ssp + cu_ssp;\\n\\t\\t\\n\\t\\tvar pr_alimo = parseFloat(pr_alimon);\\n\\t\\tvar cu_alimo = parseFloat(cu_alimon);\\n\\t\\tvar acc_alimon = pr_alimo + cu_alimo;\\n\\t\\t\\n\\t\\tvar pr_retce = parseFloat(pr_retcer);\\n\\t\\tvar cu_retce = parseFloat(cu_retcer);\\n\\t\\tvar acc_retcer = pr_retce + cu_retce;\\n\\t\\t\\n\\t\\tvar pr_othre = parseFloat(pr_othret);\\n\\t\\tvar cu_othre = parseFloat(cu_othret);\\n\\t\\tvar acc_othret = pr_othre + cu_othre;\\n\\t\\t\\n\\t\\tif(acc_retcer != 0){\\n\\t\\t\\tset_data({prev_civ_servant:true,\\n\\t\\t\\t\\t\\tprev_other_civ_servant:false,\\n\\t\\t\\t})\\n\\t\\t  get_component(\\\"prev_ins_ret_civ_ser\\\").set_props({disabled:false});\\n\\t\\t  get_component(\\\"prev_ins_oth_ret_civ_ser\\\").set_props({disabled:true});\\n\\t\\t}\\n\\t\\t\\n\\t\\tvar pr_edupr = parseFloat(pr_edupre);\\n\\t\\tvar cu_edupr = parseFloat(cu_edupre);\\n\\t\\tvar acc_edupre = pr_edupr + cu_edupr;\\n\\t\\t\\n\\t\\tvar pr_annui = parseFloat(pr_annuit);\\n\\t\\tvar cu_annui = parseFloat(cu_annuit);\\n\\t\\tvar acc_annuit = pr_annui + cu_annui;\\n\\t\\t\\n\\t\\tvar pr_socs = parseFloat(pr_socso);\\n\\t\\tvar cu_socs = parseFloat(cu_socso);\\n\\t\\tvar acc_socso = pr_socs + cu_socs;\\n\\t\\t\\n\\t\\tvar pr_purch = parseFloat(pr_purcha);\\n\\t\\tvar cu_purch = parseFloat(cu_purcha);\\n\\t\\tvar acc_purcha = pr_purch + cu_purch;\\n\\t\\t\\n\\t\\tvar pr_purbr = parseFloat(pr_purbre);\\n\\t\\tvar cu_purbr = parseFloat(cu_purbre);\\n\\t\\tvar acc_purbre = pr_purbr + cu_purbr;\\n\\t\\t\\n\\t\\tvar pr_child = parseFloat(pr_childc);\\n\\t\\tvar cu_child = parseFloat(cu_childc);\\n\\t\\tvar acc_childc = pr_child + cu_child;\\n\\t\\t\\t\\n\\t\\tset_data({fname:names,\\n\\t\\t\\t\\t  month:mont,\\n\\t\\t\\t\\t  year:years,\\n\\t\\t\\t\\t  employment_category:emp_cat,\\n\\t\\t\\t\\t  type_of_residency:type_res,\\n\\t\\t\\t\\t  mtd_formula:mtdf,\\n\\t\\t\\t\\t  status_category:status,\\n\\t\\t\\t\\t  disabled_individual:dis_in,\\n\\t\\t\\t\\t  disabled_spouse:dis_sp,\\n\\t\\t\\t\\t});\\n\\t  \\n\\t\\tcategory();\\n\\t\\t\\n\\t\\tset_data({child_under_18_50:c_und1850,\\n\\t\\t\\t\\t  child_under_18_100:c_und18100,\\n\\t\\t\\t\\t  child_under_18_total:c_und18tot,\\n\\t\\t\\t\\t  child_18_study_50:c_18stu50,\\n\\t\\t\\t\\t  child_18_study_100:c_18stu100,\\n\\t\\t\\t\\t  child_18_study_total:c_18stutot,\\n\\t\\t\\t\\t  child_18_full_time_50:c_18ful50,\\n\\t\\t\\t\\t  child_18_full_time_100:c_18ful100,\\n\\t\\t\\t\\t  child_18_full_time_total:c_18fultot,\\n\\t\\t\\t\\t  disabled_child_50:c_dis50,\\n\\t\\t\\t\\t  disabled_child_100:c_dis100,\\n\\t\\t\\t\\t  disabled_child_total:c_distot,\\n\\t\\t\\t\\t  disabled_child_study_50:c_distu50,\\n\\t\\t\\t\\t  disabled_child_study_100:c_distu100,\\n\\t\\t\\t\\t  disabled_child_study_total:c_distutot,\\n\\t\\t\\t\\t  prev_acc_rem_bik_vola:accumu_rem,\\n\\t\\t\\t\\t  prev_acc_epf:accumu_epf,\\n\\t\\t\\t\\t  prev_net_acc_rem:accumu_netrem,\\n\\t\\t\\t\\t  prev_acc_mtd:accumu_mtd,\\n\\t\\t\\t\\t  prev_total_acc_zakat:accumu_zak,\\n\\t\\t\\t\\t  prev_med_exp:acc_medexp,\\n\\t\\t\\t\\t  prev_father_relief:acc_father,\\n\\t\\t\\t\\t  prev_mother_relief:acc_mother,\\n\\t\\t\\t\\t  prev_support_disabled:acc_supdis,\\n\\t\\t\\t\\t  prev_edu_fees:acc_edufee,\\n\\t\\t\\t\\t  prev_med_exp_serious:acc_sermed,\\n\\t\\t\\t\\t  prev_com_med_exam:acc_commed,\\n\\t\\t\\t\\t  prev_total_a_b:acc_totlab,\\n\\t\\t\\t\\t  prev_net_dep_sspn:acc_sspn,\\n\\t\\t\\t\\t  prev_alimony:acc_alimon,\\n\\t\\t\\t\\t  prev_ins_ret_civ_ser:acc_retcer,\\n\\t\\t\\t\\t  prev_ins_oth_ret_civ_ser:acc_othret,\\n\\t\\t\\t\\t  prev_edu_med_ins_prem:acc_edupre,\\n\\t\\t\\t\\t  prev_def_annuity:acc_annuit, \\n\\t\\t\\t\\t  prev_socso_cont:acc_socso,\\n\\t\\t\\t\\t  prev_purch:acc_purcha,\\n\\t\\t\\t\\t  prev_purch_bre_equip:acc_purbre,\\n\\t\\t\\t\\t  prev_fee_child_care:acc_childc,\\n\\t\\t\\t   });\\n\\t\\tconsole.log(\\\"af3: \\\",accumu_epf);\\n\\t\\t//prevNetAccRem();\\n\\t\\tprevDeduction();\\n\\t\\tprevMedExpenses();\\n\\t\\t/*set_data({cur_net_rem:cu_rem,\\n\\t\\t\\t\\t  cur_epf:cu_epf,\\n\\t\\t\\t\\t  cur_total_net_rem:cu_total,\\n\\t\\t\\t\\t  cur_bik:cu_bik,\\n\\t\\t\\t\\t  cur_vola:cu_vola,\\n\\t\\t\\t\\t });*/\\n\\t\\t/*currNetRem();\\n\\t\\ttotalNetAddRem();*/\\n\\t\\t\\n\\t  }\\n\\t}\\n\\t  \\n\\telse{\\n\\t  set_data({bname1:false,bname2:true,bex1:false,bex2:true,boxz:true,bcalc1:false,bcalc2:true});\\n\\t  initialValue();\\n\\t}\\n  }\\n\\nasync function get_id(){\\n\\tvar data=get_data();\\n\\tif (data.fullname==null){\\n\\t\\treturn;\\n\\t}\\n\\tvar cond = [\\\"number\\\",\\\"=\\\",String(data.fullname)];\\n\\tvar field = [\\\"number\\\",\\\"ic_no\\\",\\\"passport_no\\\"];\\n  var res = await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[cond],field]);\\n\\tif (res[0].ic_no.length>8){\\n\\t\\t await set_data({\\n\\t\\t\\tid_no:res[0].ic_no,\\n\\t\\t});\\n\\t}\\n\\telse if (res[0].passport_no!=null){\\n\\t\\t set_data({\\n\\t\\t\\tid_no:res[0].passport_no\\n\\t\\t});\\n\\t}\\n\\n\\n\\n  }\\n  \\n  \\n  function initialValue(){\\n\\tset_data({\\n\\t  fullname:null,\\n\\t  employment_category:null,\\n\\t  type_of_residency:null,\\n\\t  mtd_formula:null,\\n\\t  status_category:null,\\n\\t  disabled_individual:null,\\n\\t  disabled_spouse:null,\\n\\t  month:0,\\n\\t  year:0,\\n\\t  child_under_18_50:0,\\n\\t  child_under_18_100:0,\\n\\t  child_under_18_total:0,\\n\\t  child_18_study_50:0,\\n\\t  child_18_study_100:0,\\n\\t  child_18_study_total:0,\\n\\t  child_18_full_time_50:0,\\n\\t  child_18_full_time_100:0,\\n\\t  child_18_full_time_total:0,\\n\\t  disabled_child_50:0,\\n\\t  disabled_child_100:0,\\n\\t  disabled_child_total:0,\\n\\t  disabled_child_study_50:0,\\n\\t  disabled_child_study_100:0,\\n\\t  disabled_child_study_total:0,\\n\\t  prev_acc_rem_bik_vola:0,\\n\\t  prev_acc_epf:0,\\n\\t  prev_net_acc_rem:0,\\n\\t  prev_acc_mtd:0,\\n\\t  prev_total_acc_zakat:0,\\n\\t  prev_parents_exp:true,\\n\\t  prev_father_mother_relief:false,\\n\\t  prev_med_exp:0,\\n\\t  prev_father_relief:0,\\n\\t  prev_mother_relief:0,\\n\\t  prev_support_disabled:0,\\n\\t  prev_edu_fees:0,\\n\\t  prev_med_exp_serious:0,\\n\\t  prev_com_med_exam:0,\\n\\t  prev_total_a_b:0,\\n\\t  prev_net_dep_sspn:0,\\n\\t  prev_alimony:0,\\n\\t  prev_civ_servant:false,\\n\\t  prev_other_civ_servant:true,\\n\\t  prev_ins_ret_civ_ser:0,\\n\\t  prev_ins_oth_ret_civ_ser:0,\\n\\t  prev_edu_med_ins_prem:0,\\n\\t  prev_def_annuity:0,\\n\\t  prev_socso_cont:0,\\n\\t  prev_purch:0,\\n\\t  prev_purch_bre_equip:0,\\n\\t  prev_fee_child_care:0,\\n\\t  prev_total_acc_deduct:0,\\n\\t  cur_net_rem:0,\\n\\t  cur_epf:0,\\n\\t  cur_total_net_rem:0,\\n\\t  cur_bik:0,\\n\\t  cur_vola:0,\\n\\t  non_res_cur_rem:0,\\n\\t  non_res_cur_bik:0,\\n\\t  non_res_cur_vola:0,\\n\\t  cur_bonus:0,\\n\\t  cur_arrears:0,\\n\\t  cur_commission:0,\\n\\t  cur_gratuity:0,\\n\\t  cur_compensation:0,\\n\\t  cur_director_fee:0,\\n\\t  cur_inc_tax_on_behalf:0,\\n\\t  cur_others:0,\\n\\t  cur_total_add_rem:0,\\n\\t  cur_add_rem_epf:0,\\n\\t  cur_total_net_add_rem:0,\\n\\t  cur_parents_exp:true,\\n\\t  cur_father_mother_relief:false,\\n\\t  cur_med_exp:0,\\n\\t  cur_father_relief:0,\\n\\t  cur_mother_relief:0,\\n\\t  cur_support_disabled:0,\\n\\t  cur_edu_fees:0,\\n\\t  cur_med_exp_serious:0,\\n\\t  cur_com_med_exam:0,\\n\\t  cur_total_a_b:0,\\n\\t  cur_net_dep_sspn:0,\\n\\t  cur_alimony:0,\\n\\t  cur_civ_servant:false,\\n\\t  cur_other_civ_servant:true,\\n\\t  cur_ins_ret_civ_ser:0,\\n\\t  cur_ins_oth_ret_civ_ser:0,\\n\\t  cur_edu_med_ins_prem:0,\\n\\t  cur_def_annuity:0,\\n\\t  cur_socso_cont:0,\\n\\t  cur_purch:0,\\n\\t  cur_purch_bre_equip:0,\\n\\t  cur_fee_child_care:0,\\n\\t  cur_total_deduct:0,\\n\\t  cur_zakat:0,\\n\\t  Y: 0,\\n\\t  K: 0,\\n\\t  E: 0,\\n\\t  Y1: 0,\\n\\t  K1: 0,\\n\\t  Y2: 0,\\n\\t  K2: 0,\\n\\t  n: 0,\\n\\t  D: 0,\\n\\t  S: 0,\\n\\t  Du: 0,\\n\\t  Su: 0,\\n\\t  QC: 0,\\n\\t  ELP: 0,\\n\\t  LP1: 0,\\n\\t  P_res: 0,\\n\\t  M: 0,\\n\\t  R_res: 0,\\n\\t  B: 0,\\n\\t  Z_res: 0,\\n\\t  X_res: 0,\\n\\t  curMTD_res: 0,\\n\\t  netMTD_res: 0,\\n\\t  P_REP: 0,\\n\\t  R_REP: 0,\\n\\t  T_REP: 0,\\n\\t  Z_REP: 0,\\n\\t  X_REP: 0,\\n\\t  curMTD_REP: 0,\\n\\t  netMTD_REP: 0,\\n\\t  P_IRDA: 0,\\n\\t  R_IRDA: 0,\\n\\t  Z_IRDA: 0,\\n\\t  X_IRDA: 0,\\n\\t  curMTD_IRDA: 0,\\n\\t  netMTD_IRDA: 0,\\n\\t  mtdb: 0,\\n\\t  Yt: 0,\\n\\t  Kt: 0,\\n\\t  P_CS: 0,\\n\\t  CS: 0,\\n\\t  mtdc: 0,\\n\\t  mtd: 0\\n\\t});\\n  }\\n  \\n  function category(){\\n\\tvar data=get_data();\\n\\tvar categ = data.employment_category;\\n\\tvar type=data.type_of_residency;\\n\\tvar formula = data.mtd_formula;\\n  \\n\\tif (categ==\\\"2\\\" && type==\\\"Non-Resident\\\"){\\n\\t  set_data({mtd_formula: \\\"28%\\\"});\\n\\t  set_data({box1:false});\\n\\t  set_data({box2:true});\\n\\t  set_data({box3:true});\\n\\t  set_data({box4:true});\\n\\t  set_data({box5:false});\\n\\t  set_data({box6:true});\\n\\t  set_data({box7:true});\\n\\t  set_data({box8:false});\\n\\t  set_data({bperd:true});\\n\\t  set_data({baddrem:true});\\n\\t}\\n\\telse if(categ==\\\"2\\\" && type==\\\"Resident\\\"){\\n\\t  //set_data({mtd_formula: \\\"Normal\\\"})\\n\\t  set_data({box1:false});\\n\\t  set_data({box2:false});\\n\\t  set_data({box3:true});\\n\\t  set_data({box4:false});\\n\\t  set_data({box5:false});\\n\\t  set_data({box6:false});\\n\\t  set_data({box7:false});\\n\\t  set_data({box8:true});\\n\\t  set_data({bperd:false});\\n\\t  set_data({baddrem:false});\\n\\t}\\n\\telse if(categ==\\\"1\\\" && type==\\\"Non-Resident\\\"){\\n\\t  set_data({mtd_formula: \\\"28%\\\"});\\n\\t  set_data({box1:false});\\n\\t  set_data({box2:true});\\n\\t  set_data({box3:true});\\n\\t  set_data({box4:true});\\n\\t  set_data({box5:false});\\n\\t  set_data({box6:true});\\n\\t  set_data({box7:true});\\n\\t  set_data({box8:false});\\n\\t  set_data({bperd:true});\\n\\t  set_data({baddrem:true});\\n\\t}\\n\\telse if(categ==\\\"1\\\" && type==\\\"Resident\\\"){\\n\\t  //set_data({mtd_formula: \\\"Normal\\\"})\\n\\t  set_data({box1:false});\\n\\t  set_data({box2:false});\\n\\t  set_data({box3:false});\\n\\t  set_data({box4:false});\\n\\t  set_data({box5:false});\\n\\t  set_data({box6:false});\\n\\t  set_data({box7:false});\\n\\t  set_data({box8:true});\\n\\t  set_data({bperd:false});\\n\\t  set_data({baddrem:false});\\n\\t}\\n\\telse if(categ==\\\"2\\\"){\\n\\t  set_data({box1:false});\\n\\t  set_data({box2:false});\\n\\t  set_data({box3:true});\\n\\t  set_data({box4:false});\\n\\t  set_data({box5:false});\\n\\t  set_data({box6:false});\\n\\t  set_data({box7:false});\\n\\t  set_data({box8:true});\\n\\t  set_data({bperd:false});\\n\\t  set_data({baddrem:false});\\n\\t}\\n\\telse if(categ==\\\"1\\\"){\\n\\t  set_data({box1:false});\\n\\t  set_data({box2:false});\\n\\t  set_data({box3:false});\\n\\t  set_data({box4:false});\\n\\t  set_data({box5:false});\\n\\t  set_data({box6:false});\\n\\t  set_data({box7:false});\\n\\t  set_data({box8:true});\\n\\t  set_data({bperd:false});\\n\\t  set_data({baddrem:false});\\n\\t}\\n\\telse if(type==\\\"Non-Resident\\\"){\\n\\t  set_data({mtd_formula: \\\"28%\\\"});\\n\\t  set_data({box1:false});\\n\\t  set_data({box2:true});\\n\\t  set_data({box3:true});\\n\\t  set_data({box4:true});\\n\\t  set_data({box5:false});\\n\\t  set_data({box6:true});\\n\\t  set_data({box7:true});\\n\\t  set_data({box8:false});\\n\\t  set_data({bperd:true});\\n\\t  set_data({baddrem:true});\\n\\t}\\n\\telse if(type==\\\"Resident\\\"){\\n\\t  //set_data({mtd_formula: \\\"Normal\\\"});\\n\\t  set_data({box1:false});\\n\\t  set_data({box2:false});\\n\\t  set_data({box3:false});\\n\\t  set_data({box4:false});\\n\\t  set_data({box5:false});\\n\\t  set_data({box6:false});\\n\\t  set_data({box7:false});\\n\\t  set_data({box8:true});\\n\\t  set_data({bperd:false});\\n\\t  set_data({baddrem:false});\\n\\t}\\n  \\n  }\\n  \\n  \\n  function childUnder18(){\\n\\tvar data=get_data();\\n\\tvar under18_50=data.child_under_18_50;\\n\\tvar under18_100=data.child_under_18_100;\\n\\tconsole.log(\\\"harry1:\\\",under18_50,under18_100);\\n\\t\\n\\tif(under18_50!= under18_50){\\n\\t  under18_50 = 0;\\n\\t}\\n\\tif(under18_100!= under18_100){\\n\\t  under18_100 = 0;\\n\\t}\\n  \\n\\tvar rate50=0;\\n\\trate50 = under18_50*2000*0.5;\\n\\tvar rate100=0;\\n\\trate100 = under18_100*2000;\\n  \\n\\tvar total=0;\\n\\ttotal= rate50 + rate100;\\n\\tset_field_value(\\\"child_under_18_total\\\",total);\\n\\tvar new_c=data.C+under18_50*0.5+under18_100*1;\\n\\tset_field_value(\\\"C\\\",new_c);\\n\\t\\n  }\\n  \\n  \\n  function child18Study(){\\n\\tvar data=get_data();\\n\\tvar study18_50=data.child_18_study_50;\\n\\tvar study18_100=data.child_18_study_100;\\n\\t\\n\\tif(study18_50!= study18_50){\\n\\t  study18_50 = 0;\\n\\t}\\n\\tif(study18_100!= study18_100){\\n\\t  study18_100 = 0;\\n\\t}\\n  \\n\\tvar rate50=0;\\n\\trate50 = study18_50*2000*0.5;\\n\\tvar rate100=0;\\n\\trate100 = study18_100*2000;\\n  \\n\\tvar total=0;\\n\\ttotal= rate50 + rate100;\\n\\tset_field_value(\\\"child_18_study_total\\\",total);\\n\\tconsole.log(\\\"ang 783\\\",data.child_18_study_50,data.child_18_study_100,study18_100,total)\\n\\tvar new_c=data.C+child_18_study_50*0.5+child_18_study_100*1;\\n\\tset_field_value(\\\"C\\\",new_c);\\n\\n  }\\n  \\n  \\n  function child18FullTime(){\\n\\tvar data=get_data();\\n\\tvar full18_50=data.child_18_full_time_50;\\n\\tvar full18_100=data.child_18_full_time_100;\\n\\t\\n\\tif(full18_50!= full18_50){\\n\\t  full18_50 = 0;\\n\\t}\\n\\tif(full18_100!= full18_100){\\n\\t  full18_100 = 0;\\n\\t}\\n  \\n\\tvar rate50=0;\\n\\trate50 = full18_50*8000*0.5;\\n\\tvar rate100=0;\\n\\trate100 = full18_100*8000;\\n  \\n\\tvar total=0;\\n\\ttotal= rate50 + rate100;\\n\\tset_field_value(\\\"child_18_full_time_total\\\",total);\\n\\tvar new_c=data.C+child_18_full_time_50*2+child_18_full_time_100*4;\\n\\tset_field_value(\\\"C\\\",new_c);\\n  }\\n  \\n  \\n  function childDisabled(){\\n\\tvar data=get_data();\\n\\tvar disabled_50=data.disabled_child_50;\\n\\tvar disabled_100=data.disabled_child_100;\\n  \\n\\tif(disabled_50!= disabled_50){\\n\\t  disabled_50 = 0;\\n\\t}\\n\\tif(disabled_100!= disabled_100){\\n\\t  disabled_100 = 0;\\n\\t}\\n\\t\\n\\tvar rate50=0;\\n\\trate50 = disabled_50*6000*0.5;\\n\\tvar rate100=0;\\n\\trate100 = disabled_100*6000;\\n  \\n\\tvar total=0;\\n\\ttotal= rate50 + rate100;\\n\\tset_field_value(\\\"disabled_child_total\\\",total);\\n\\tvar new_c=data.C+disabled_50*1.5+disabled_100*3;\\n\\tset_field_value(\\\"C\\\",new_c);\\n  }\\n  \\n  \\n  function childDisabledStudy(){\\n\\tvar data=get_data();\\n\\tvar disStudy_50=data.disabled_child_study_50;\\n\\tvar disStudy_100=data.disabled_child_study_100;\\n\\t\\n\\tif(disStudy_50!= disStudy_50){\\n\\t  disStudy_50 = 0;\\n\\t}\\n\\tif(disStudy_100!= disStudy_100){\\n\\t  disStudy_100 = 0;\\n\\t}\\n  \\n\\tvar rate50=0;\\n\\trate50 = disStudy_50*14000*0.5;\\n\\tvar rate100=0;\\n\\trate100 = disStudy_100*14000;\\n  \\n\\tvar total=0;\\n\\ttotal= rate50 + rate100;\\n\\tset_field_value(\\\"disabled_child_study_total\\\",total);\\n\\tvar new_c=data.C+disStudy_50*3.5+disStudy_100*7;\\n\\tset_field_value(\\\"C\\\",new_c);\\n  }\\n  \\n  \\n  function prevNetAccRem(){\\n\\tvar data=get_data();\\n\\tvar remuneration=data.prev_acc_rem_bik_vola;\\n\\tvar epf= data.prev_acc_epf;\\n\\tvar curEpf=data.cur_epf; \\n\\tvar addEpf = data.cur_add_rem_epf;\\n\\tvar limit0=0;\\n\\tlimit0 = curEpf + epf + addEpf;\\n\\tif (limit0>4000){\\n\\t  alert(\\\"1.Total EPF on Monthly Remuneration, Additional Remuneration and Accumulated Remuneration cannot exceed RM 4,000.00. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_acc_epf\\\",0);\\n\\t}\\n  \\n\\tvar netRem=0;\\n\\tnetRem = remuneration - epf;\\n\\tset_field_value(\\\"prev_net_acc_rem\\\",netRem);\\n  \\n  }\\n  \\n  \\n  \\n  function PrevParents1(){\\n\\tvar data=get_data();\\n\\tvar expenses= data.prev_parents_exp;\\n\\tvar relief= data.prev_father_mother_relief;\\n\\t\\n\\tif(expenses==true){\\n\\t  set_data({prev_father_mother_relief:false});\\n\\t  get_component(\\\"prev_med_exp\\\").set_props({disabled:false});\\n\\t  get_component(\\\"prev_father_relief\\\").set_props({disabled:true});\\n\\t  set_data({prev_father_relief:0});\\n\\t  get_component(\\\"prev_mother_relief\\\").set_props({disabled:true});\\n\\t  set_data({prev_mother_relief:0});\\n\\t}\\n\\telse if (expenses==false){\\n\\t  set_data({prev_father_mother_relief:true});\\n\\t  get_component(\\\"prev_med_exp\\\").set_props({disabled:true});\\n\\t  set_data({prev_med_exp:0});\\n\\t  get_component(\\\"prev_father_relief\\\").set_props({disabled:false});\\n\\t  get_component(\\\"prev_mother_relief\\\").set_props({disabled:false});\\n\\t}\\n  }\\n  \\n  function PrevParents2(){\\n\\tvar data=get_data();\\n\\tvar expenses= data.prev_parents_exp;\\n\\tvar relief= data.prev_father_mother_relief;\\n\\t\\n\\tif(relief==true){\\n\\t  set_data({prev_parents_exp:false});\\n\\t  get_component(\\\"prev_med_exp\\\").set_props({disabled:true});\\n\\t  set_data({prev_med_exp:0});\\n\\t  get_component(\\\"prev_father_relief\\\").set_props({disabled:false});\\n\\t  get_component(\\\"prev_mother_relief\\\").set_props({disabled:false});\\n\\t}\\n\\telse if (relief == false){\\n\\t  set_data({prev_parents_exp:true});\\n\\t  get_component(\\\"prev_med_exp\\\").set_props({disabled:false});\\n\\t  get_component(\\\"prev_father_relief\\\").set_props({disabled:true});\\n\\t  set_data({prev_father_relief:0});\\n\\t  get_component(\\\"prev_mother_relief\\\").set_props({disabled:true});\\n\\t  set_data({prev_mother_relief:0});\\n\\t}\\n  }\\n  \\n  \\n  function prevMedExpenses(){\\n\\tvar data=get_data();\\n\\tvar serious=data.prev_med_exp_serious;\\n\\tvar curSerious=data.cur_med_exp_serious; \\n\\tvar limit6=0;\\n\\tlimit6 = curSerious + serious;\\n\\tif (limit6>6000){\\n\\t  alert(\\\"Deduction amount for Medical Expenses on Serious Disease is limited to RM 6,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_med_exp_serious\\\",0);\\n\\t}\\n\\t\\n\\tvar complete = data.prev_com_med_exam;      //Check Limit\\n\\tvar curComplete=data.cur_com_med_exam;\\n\\tvar limit7=0;\\n\\tlimit7 = curComplete + complete;\\n\\tif (limit7>500){\\n\\t  alert(\\\"Deduction amount Complete Medical Examination is limited to RM 500.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_com_med_exam\\\",0);\\n\\t}\\n  \\n\\tvar total=0;\\n\\ttotal = serious + complete;\\n\\tset_field_value(\\\"prev_total_a_b\\\",total);\\n  \\n  }\\n  \\n  \\n  \\n  function prevLifeInsurance1(){\\n\\tvar data=get_data();\\n\\tvar civil= data.prev_civ_servant;\\n\\tvar other= data.prev_other_civ_servant;\\n\\t\\n\\tif (civil==true){\\n\\t  set_data({prev_other_civ_servant:false});\\n\\t  get_component(\\\"prev_ins_ret_civ_ser\\\").set_props({disabled:false});\\n\\t  get_component(\\\"prev_ins_oth_ret_civ_ser\\\").set_props({disabled:true});\\n\\t  set_data({prev_ins_oth_ret_civ_ser:0});\\n\\t  set_data({prev_acc_epf:0,cur_epf:0});\\n\\t  var PrevRem = data.prev_acc_rem_bik_vola;\\n\\t  var curNetRem = data.cur_net_rem;\\n\\t  set_data({prev_net_acc_rem:PrevRem,cur_total_net_rem:curNetRem});\\n\\t}\\n\\telse if(civil==false){\\n\\t  set_data({prev_other_civ_servant:true});\\n\\t  get_component(\\\"prev_ins_ret_civ_ser\\\").set_props({disabled:true});\\n\\t  set_data({prev_ins_ret_civ_ser:0});\\n\\t  get_component(\\\"prev_ins_oth_ret_civ_ser\\\").set_props({disabled:false});\\n\\t}\\n  }\\n  \\n  function prevLifeInsurance2(){\\n\\tvar data=get_data();\\n\\tvar civil= data.prev_civ_servant;\\n\\tvar other= data.prev_other_civ_servant;\\n\\t\\n\\tif (other==true){\\n\\t  set_data({prev_civ_servant:false});\\n\\t  get_component(\\\"prev_ins_ret_civ_ser\\\").set_props({disabled:true});\\n\\t  set_data({prev_ins_ret_civ_ser:0});\\n\\t  get_component(\\\"prev_ins_oth_ret_civ_ser\\\").set_props({disabled:false});\\n\\t}\\n\\telse if (other==false){\\n\\t  set_data({prev_civ_servant:true});\\n\\t  get_component(\\\"prev_ins_ret_civ_ser\\\").set_props({disabled:false});\\n\\t  get_component(\\\"prev_ins_oth_ret_civ_ser\\\").set_props({disabled:true});\\n\\t  set_data({prev_ins_oth_ret_civ_ser:0});\\n\\t  set_data({prev_acc_epf:0,cur_epf:0});\\n\\t  var PrevRem = data.prev_acc_rem_bik_vola;\\n\\t  var curNetRem = data.cur_net_rem;\\n\\t  set_data({prev_net_acc_rem:PrevRem,cur_total_net_rem:curNetRem});\\n\\t}\\n  }\\n  \\n  \\n  function prevDeduction(){\\n\\tvar data=get_data();\\n\\t\\n\\tvar medical = parseFloat(data.prev_med_exp);  \\n\\tvar curMedical = parseFloat(data.cur_med_exp);\\t\\n\\tvar limit1=0;\\n\\tlimit1 = curMedical + medical;\\n\\tif (limit1>5000){\\n\\t  alert(\\\"Deduction amount for medical expenses of own parents is limited to RM 5,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_med_exp\\\",0);\\n\\t}\\n\\t\\n\\tvar father = parseFloat(data.prev_father_relief);\\t\\t\\t\\t// Field type: text\\n\\tvar curFather = parseFloat(data.cur_father_relief);\\t\\n\\tvar limit2=0;\\n\\tlimit2 = curFather + father;\\n\\tif (limit2>1500){\\n\\t  alert(\\\"Deduction amount for Father Relief is limited to RM 1,500.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_father_relief\\\",0);\\n\\t}\\n\\t\\n\\tvar mother = parseFloat(data.prev_mother_relief);\\t\\t\\t\\t// Field type: text\\n\\tvar curMother = parseFloat(data.cur_mother_relief);\\t\\n\\tvar limit3=curMother + mother;\\n\\tif (limit3>1500){\\n\\t  alert(\\\"Deduction amount for Mother Relief is limited to RM 1,500.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_mother_relief\\\",0);\\n\\t}\\n\\t\\n\\tvar relief=data.prev_father_mother_relief;\\t\\t//Checkbox\\n\\tvar noCiv=data.prev_other_civ_servant;\\t\\t\\t//Checkbox\\n\\t\\n\\tvar support=data.prev_support_disabled;\\n\\tvar curSupport=data.cur_support_disabled;\\n\\tvar limit4=0;\\n\\tlimit4 = support + curSupport;\\n\\tif (limit4>6000){\\n\\t  alert(\\\"Deduction amount for Basic Supporting Equipment is limited to RM 6,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_support_disabled\\\",0);\\n\\t}  \\n\\t\\n\\tvar edu=data.prev_edu_fees;\\n\\tvar curEdu=data.cur_edu_fees;\\n\\tvar limit5=0;\\n\\tlimit5 = edu + curEdu;\\n\\tif (limit5>7000){\\n\\t  alert(\\\"Deduction amount for Higher Education Fees is limited to RM 7,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_edu_fees\\\",0);\\n\\t}\\n\\t\\n\\tvar serious=data.prev_med_exp_serious;\\n\\tvar complete=data.prev_com_med_exam;\\n\\t\\n\\tvar totalab=data.prev_total_a_b; \\t\\t\\t\\t\\n\\tvar curTotalab=data.cur_total_a_b; \\n\\tvar limit8=0;\\n\\tlimit8 = curTotalab + totalab;\\n\\tif (limit8>6000){\\n\\t  alert(\\\"Total Deduction for Medical Expenses on Serious Diseases and Complete Medical Examination is limited to RM 6,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_total_a_b\\\",0);\\n\\t}\\n\\t\\n\\tvar sspn=data.prev_net_dep_sspn;\\t\\t\\t\\n\\tvar curSspn=data.cur_net_dep_sspn;\\n\\tvar limit9=0;\\n\\tlimit9 = curSspn + sspn;\\n\\tif (limit9>8000){\\n\\t  alert(\\\"Deduction amount for Net Deposit in Skim Simpanan Pendidikan Nasional (SSPN) is limited to RM 8,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_net_dep_sspn\\\",0);\\n\\t}\\n  \\n\\tvar alimony=data.prev_alimony;\\t\\t\\t\\n\\tvar curAlimony=data.cur_alimony;\\n\\tvar limit10=0;\\n\\tlimit10 = curAlimony + alimony;\\n\\tif (limit10>4000){\\n\\t  alert(\\\"Deduction amount for Payment of Alimony to Former Wife is limited to RM 4,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_alimony\\\",0);\\n\\t}\\n\\t\\n\\tvar civil=parseFloat(data.prev_ins_ret_civ_ser);\\t\\t\\t\\t// Field type: text\\t\\t\\n\\tvar curCivil=parseFloat(data.cur_ins_ret_civ_ser);\\t\\t\\t\\t// Field type: text\\n\\tvar limit11= 0;\\n\\tlimit11 = curCivil + civil;\\n\\tif (limit11>7000){\\n\\t  alert(\\\"Deduction amount for Retired Civil Servant is limited to RM 7,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_ins_ret_civ_ser\\\",0);\\n\\t}\\n\\t\\n\\tvar other=parseFloat(data.prev_ins_oth_ret_civ_ser);\\t\\t\\t// Field type: text\\t\\n\\tvar curOther=parseFloat(data.cur_ins_oth_ret_civ_ser);\\t\\t\\t// Field type: text\\n\\tvar limit12= 0;\\n\\tlimit12 = curOther + other;\\n\\tif (limit12>3000){\\n\\t  alert(\\\"Total of Life Insurance and Accumulated Life Insurance deduction cannot exceed RM 3000.00. Please correct your amount\\\");\\n\\t  set_data({prev_ins_oth_ret_civ_ser:0});\\n\\t}\\n\\t\\n\\tvar premium=data.prev_edu_med_ins_prem;\\t\\t\\n\\tvar curPremium=data.cur_edu_med_ins_prem;\\n\\tvar limit13=0;\\n\\tlimit13 = curPremium + premium;\\n\\tif (limit13>3000){\\n\\t  alert(\\\"Deduction amount for Education and Medical Insurance limited to RM 3,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_edu_med_ins_prem\\\",0);\\n\\t}\\n  \\n\\t\\n\\tvar annuity=data.prev_def_annuity;\\t\\t\\n\\tvar curAnnuity=data.cur_def_annuity;\\n\\tvar limit14=0;\\n\\tlimit14 = curAnnuity + annuity;\\n\\tif (limit14>3000){\\n\\t  alert(\\\"Deduction amount for Annuity Retained Premium or Contribution to Private Retirement Scheme is limted to RM 3,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_def_annuity\\\",0);\\n\\t}\\n  \\n\\tvar socso=data.prev_socso_cont;\\t\\t\\n\\tvar curSocso=data.cur_socso_cont;\\n\\tvar limit15=0;\\n\\tlimit15 = curSocso + socso;\\n\\tif (limit15>250){\\n\\t  alert(\\\"Contribution to SOCSO is limited to RM 250.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_socso_cont\\\",0);\\n\\t}\\n  \\n\\tvar purchase=data.prev_purch;\\t\\t\\t\\n\\tvar curPurchase=data.cur_purch;\\n\\tvar limit16=0;\\n\\tlimit16 = curPurchase + purchase;\\n\\tif (limit16>2500){\\n\\t  alert(\\\"Purchase of Readings, Computer, Smartphone, Tablet, Sport Equipment, Gymnasium Membership and Subscription of Broadband Internet is limited to RM 2,500.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_purch\\\",0);\\n\\t}\\n\\t\\n\\tvar equipment=data.prev_purch_bre_equip;\\n\\tvar curEquipment=data.cur_purch_bre_equip;\\n\\tvar limit17=0;\\n\\tlimit17 = curEquipment + equipment;\\n\\tif (limit17>1000){\\n\\t  alert(\\\"Purchase os Breastfeeding Equipment limited to RM 1,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_purch_bre_equip\\\",0);\\n\\t}\\n\\t\\n\\tvar child=data.prev_fee_child_care;\\t\\t\\t\\n\\tvar curChild=data.cur_fee_child_care;\\n\\tvar limit18=0;\\n\\tlimit18 = curChild + child;\\n\\tif (limit18>2000){\\n\\t  alert(\\\"Fees paid to Child Care Centre and Kindergartens is limited to RM 2,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_fee_child_care\\\",0);\\n\\t}\\n\\t\\n\\tif (medical != medical){\\n\\t  set_data({prev_med_exp:0});\\n\\t  medical = data.prev_med_exp;\\n\\t  console.log(\\\"af602:\\\",medical);\\n\\t}\\n\\t\\n\\tif (father != father){\\n\\t  set_data({prev_father_relief:0});\\n\\t  father = data.prev_father_relief;\\n\\t  console.log(\\\"af603:\\\",father);\\n\\t}\\n\\t\\n\\tif (mother != mother){\\n\\t  set_data({prev_mother_relief:0});\\n\\t  mother = data.prev_mother_relief;\\n\\t  console.log(\\\"af604:\\\",mother);\\n\\t}\\n  \\n\\tif(civil != civil){\\n\\t  set_data({prev_ins_ret_civ_ser:0});\\n\\t  civil = data.prev_ins_ret_civ_ser;\\n\\t  console.log(\\\"af605:\\\",civil);\\n\\t}\\n\\t\\n\\tif(other!= other){\\n\\t  set_data({prev_ins_oth_ret_civ_ser:0});\\n\\t  other = data.prev_ins_oth_ret_civ_ser;\\n\\t  console.log(\\\"af606:\\\", other);\\n\\t}\\n  \\n\\t//set_data({prev_father_mother_relief:true});\\n  \\n\\tvar prevTotalDeduction=0;\\n\\tprevTotalDeduction = medical + father + mother + support + edu + totalab +\\n\\t  sspn + alimony + civil + other + premium + annuity + socso + \\n\\t  purchase + equipment + child;\\n\\tset_field_value(\\\"prev_total_acc_deduct\\\",prevTotalDeduction);\\n\\tconsole.log(\\\"af601:\\\",prevTotalDeduction,medical,curMedical);\\n  }\\n  \\n  \\n  function currNetRem(){\\n\\tvar data=get_data();\\n\\tvar remuneration=data.cur_net_rem;\\n\\t\\n\\tvar prevEpf = data.prev_acc_epf;\\n\\tvar epf= data.cur_epf;\\n\\tvar addEpf = data.cur_add_rem_epf;\\n\\tvar limit0=0;\\n\\tlimit0 = prevEpf + epf + addEpf;;\\n\\tif (limit0>4000){\\n\\t  alert(\\\"2.Total EPF on Monthly Remuneration, Additional Remuneration and Accumulated Remuneration cannot exceed RM 4,000.00. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_epf\\\",0);\\n\\t}\\n  \\n\\tvar netRem=0;\\n\\tnetRem = remuneration - epf;\\n\\tset_field_value(\\\"cur_total_net_rem\\\",netRem);\\n  \\n  }\\n  \\n  \\n  function addRem(){\\n\\tvar data=get_data();\\n\\tvar bonus=data.cur_bonus;\\n\\tvar arrears=data.cur_arrears;\\n\\tvar commission=data.cur_commission;\\n\\tvar gratuity=data.cur_gratuity;\\n\\tvar compensation=data.cur_compensation;\\n\\tvar director=data.cur_director_fee;\\n\\tvar tax=data.cur_inc_tax_on_behalf;\\n\\tvar other=data.cur_others;\\n  \\n\\tvar totalAddRem=0;\\n\\ttotalAddRem = bonus + arrears + commission + gratuity + compensation + \\n\\t  director + tax + other;\\n\\tset_field_value(\\\"cur_total_add_rem\\\",totalAddRem);\\n  \\n\\ttotalNetAddRem();\\n  }\\n  \\n  \\n  function totalNetAddRem(){\\n\\tvar data=get_data();\\n\\tvar addRem=data.cur_total_add_rem;\\n\\t\\n\\tvar prevEpf = data.prev_acc_epf;\\n\\tvar curEpf= data.cur_epf;\\n\\tvar epf = data.cur_add_rem_epf;\\n\\tvar limit0=0;\\n\\tlimit0 = prevEpf + epf + curEpf;;\\n\\tif (limit0>4000){\\n\\t  alert(\\\"3.Total EPF on Monthly Remuneration, Additional Remuneration and Accumulated Remuneration cannot exceed RM 4,000.00. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_add_rem_epf\\\",0);\\n\\t}\\n  \\n\\tvar totalNetAddRem=0;\\n\\ttotalNetAddRem= addRem - epf;\\n\\tset_field_value(\\\"cur_total_net_add_rem\\\",totalNetAddRem);\\n  }\\n  \\n  \\n  \\n  function curParents1(){\\n\\tvar data=get_data();\\n\\tvar expenses= data.cur_parents_exp;\\n\\tvar relief= data.cur_father_mother_relief;\\n  \\n\\tif (expenses==true){\\n\\t  set_data({cur_father_mother_relief:false});\\n\\t  get_component(\\\"cur_med_exp\\\").set_props({disabled:false});\\n\\t  get_component(\\\"cur_father_relief\\\").set_props({disabled:true});\\n\\t  set_data({cur_father_relief:0});\\n\\t  get_component(\\\"cur_mother_relief\\\").set_props({disabled:true});\\n\\t  set_data({cur_mother_relief:0});\\n\\t}\\n\\telse if(expenses==false){\\n\\t  set_data({cur_father_mother_relief:true});\\n\\t  get_component(\\\"cur_med_exp\\\").set_props({disabled:true});\\n\\t  set_data({cur_med_exp:0});\\n\\t  get_component(\\\"cur_father_relief\\\").set_props({disabled:false});\\n\\t  get_component(\\\"cur_mother_relief\\\").set_props({disabled:false});\\n\\t}\\n  }\\n  \\n  function curParents2(){\\n\\tvar data=get_data();\\n\\tvar expenses= data.cur_parents_exp;\\n\\tvar relief= data.cur_father_mother_relief;\\n  \\n\\tif (relief==true){\\n\\t  set_data({cur_parents_exp:false});\\n\\t  get_component(\\\"cur_med_exp\\\").set_props({disabled:true});\\n\\t  set_data({cur_med_exp:0});\\n\\t  get_component(\\\"cur_father_relief\\\").set_props({disabled:false});\\n\\t  get_component(\\\"cur_mother_relief\\\").set_props({disabled:false});\\n\\t}\\n\\telse if(relief==false){\\n\\t  set_data({cur_parents_exp:true});\\n\\t  get_component(\\\"cur_med_exp\\\").set_props({disabled:false});\\n\\t  get_component(\\\"cur_father_relief\\\").set_props({disabled:true});\\n\\t  set_data({cur_father_relief:0});\\n\\t  get_component(\\\"cur_mother_relief\\\").set_props({disabled:true});\\n\\t  set_data({cur_mother_relief:0});\\n\\t}\\n  \\n  }\\n  \\n  \\n  function curMedExpenses(){\\n\\tvar data=get_data();\\n\\t\\n\\tvar prevSerious = data.prev_med_exp_serious;      //Check Limit\\n\\tvar serious=data.cur_med_exp_serious; \\n\\tvar limit6=0;\\n\\tlimit6 = prevSerious + serious;\\n\\tif (limit6>6000){\\n\\t  alert(\\\"Deduction amount for Medical Expenses on Serious Disease is limited to RM 6,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_med_exp_serious\\\",0);\\n\\t}\\n  \\n\\tvar prevComplete = data.prev_com_med_exam;      //Check Limit\\n\\tvar complete=data.cur_com_med_exam;\\n\\tvar limit7=0;\\n\\tlimit7 = prevComplete + complete;\\n\\tif (limit7>500){\\n\\t  alert(\\\"Deduction amount Complete Medical Examination is limited to RM 500.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_com_med_exam\\\",0);\\n    }\\n    var total=0;\\n\\ttotal = serious + complete;\\n\\t\\n    \\n    if (total>6000){\\n        alert(\\\"Total Deduction amount Medical Expenses on Serious Disease and Complete Medical Examination is limited to RM 6000.00 per year. Please correct your amount\\\");\\n        set_field_value(\\\"cur_com_med_exam\\\",0);\\n        set_field_value(\\\"cur_med_exp_serious\\\",0);\\n        set_field_value(\\\"cur_total_a_b\\\",0);\\n      }\\n    else{\\n        set_field_value(\\\"cur_total_a_b\\\",total);\\n    }\\n\\t  \\n\\t\\n\\t\\n  \\n  }\\n  \\n  \\n  \\n  \\n  function curLifeInsurance1(){\\n\\tvar data=get_data();\\n\\tvar civil= data.cur_civ_servant;\\n\\tvar other= data.cur_other_civ_servant;\\n  \\n\\tif (civil==true){\\n\\t  set_data({cur_other_civ_servant:false});\\n\\t  get_component(\\\"cur_ins_ret_civ_ser\\\").set_props({disabled:false});\\n\\t  get_component(\\\"cur_ins_oth_ret_civ_ser\\\").set_props({disabled:true});\\n\\t  set_data({cur_ins_oth_ret_civ_ser:0});\\n\\t  set_data({cur_epf:0,prev_acc_epf:0});\\n\\t  var curNetRem = data.cur_net_rem;\\n\\t  var PrevRem = data.prev_acc_rem_bik_vola;\\n\\t  console.log(\\\"afi31:\\\",PrevRem);\\n\\t  set_data({cur_total_net_rem:curNetRem,prev_net_acc_rem:PrevRem});\\n\\t}\\n\\telse if (civil==false){\\n\\t  set_data({cur_other_civ_servant:true});\\n\\t  get_component(\\\"cur_ins_ret_civ_ser\\\").set_props({disabled:true});\\n\\t  set_data({cur_ins_ret_civ_ser:0});\\n\\t  get_component(\\\"cur_ins_oth_ret_civ_ser\\\").set_props({disabled:false});\\n\\t}\\n  }\\n  \\n  function curLifeInsurance2(){\\n\\tvar data=get_data();\\n\\tvar civil= data.cur_civ_servant;\\n\\tvar other= data.cur_other_civ_servant;\\n  \\n\\tif (other==true){\\n\\t  set_data({cur_civ_servant:false});\\n\\t  get_component(\\\"cur_ins_ret_civ_ser\\\").set_props({disabled:true});\\n\\t  set_data({cur_ins_ret_civ_ser:0});\\n\\t  get_component(\\\"cur_ins_oth_ret_civ_ser\\\").set_props({disabled:false});\\n\\t}\\n\\telse if(other==false){\\n\\t  set_data({cur_civ_servant:true});\\n\\t  get_component(\\\"cur_ins_ret_civ_ser\\\").set_props({disabled:false});\\n\\t  get_component(\\\"cur_ins_oth_ret_civ_ser\\\").set_props({disabled:true});\\n\\t  set_data({cur_ins_oth_ret_civ_ser:0});\\n\\t  set_data({cur_epf:0,prev_acc_epf:0});\\n\\t  var curNetRem = data.cur_net_rem;\\n\\t  var PrevRem = data.prev_acc_rem_bik_vola;\\n\\t  console.log(\\\"afi32:\\\",PrevRem);\\n\\t  set_data({cur_total_net_rem:curNetRem,prev_net_acc_rem:PrevRem});\\n\\t}\\n  }\\n  \\n  \\n  function curDeduction(){\\n\\tvar data=get_data();\\n  \\n\\tvar prevMedical = parseFloat(data.prev_med_exp);  \\n\\tvar medical = parseFloat(data.cur_med_exp);\\t\\n\\tvar limit1=0;\\n\\tlimit1 = prevMedical + medical;\\n\\tif (limit1>5000){\\n\\t  alert(\\\"Deduction amount for medical expenses of own parents is limited to RM 5,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_med_exp\\\",0);\\n\\t}\\n  \\n\\tvar prevFather = parseFloat(data.prev_father_relief);\\t\\t\\t\\t\\t\\t\\t\\t//limit\\n\\tvar father = parseFloat(data.cur_father_relief);\\t\\n\\tvar limit2=0;\\n\\tlimit2 = prevFather + father;\\n\\tif (limit2>1500){\\n\\t  alert(\\\"Deduction amount for Father Relief is limited to RM 1,500.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_father_relief\\\",0);\\n\\t}\\n  \\n\\tvar prevMother = parseFloat(data.prev_mother_relief);\\t\\t\\t\\t\\t\\t\\t\\t//limit\\n\\tvar mother = parseFloat(data.cur_mother_relief);\\t\\n\\tvar limit3=prevMother + mother;\\n\\tif (limit3>1500){\\n\\t  alert(\\\"Deduction amount for Mother Relief is limited to RM 1,500.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_mother_relief\\\",0);\\n\\t}\\n  \\n\\tvar relief=data.cur_father_mother_relief;\\t\\t\\t\\t\\t\\t\\t\\t//checkbox\\n\\tvar noCiv=data.cur_other_civ_servant;\\t\\t\\t\\t\\t\\t\\t\\t\\t//checkbox\\n  \\n\\tvar prevSupport = data.prev_support_disabled;\\t\\n\\tvar support=data.cur_support_disabled;\\n\\tvar limit4=0;\\n\\tlimit4 = prevSupport + support;\\n\\tif (limit4>6000){\\n\\t  alert(\\\"Deduction amount for Basic Supporting Equipment is limited to RM 6,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_support_disabled\\\",0);\\n\\t}\\n\\t\\n\\tvar prevEdu = data.prev_edu_fees;\\n\\tvar edu=data.cur_edu_fees;\\t\\n\\tvar limit5=0;\\n\\tlimit5 = prevEdu + edu;\\n\\tif (limit5>7000){\\n\\t  alert(\\\"Deduction amount for Higher Education Fees is limited to RM 7,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_edu_fees\\\",0);\\n\\t}\\n  \\n\\tvar prevSerious = data.prev_med_exp_serious;\\t\\t\\t//Check Limit\\n\\tvar serious=data.cur_med_exp_serious;\\t\\n\\tvar limit6=0;\\n\\tlimit6 = prevSerious + serious;\\n\\t\\n  \\n\\tvar prevComplete = data.prev_com_med_exam;\\t\\t\\t//Check Limit\\n\\tvar complete=data.cur_com_med_exam;\\n\\tvar limit7=0;\\n\\tlimit7 = prevComplete + complete;\\n\\t\\n  \\n\\tvar prevTotalab = data.prev_total_a_b; \\t\\t\\t\\t\\n\\tvar totalab=data.cur_total_a_b; \\n\\tvar limit8=0;\\n\\tlimit8 = prevTotalab + totalab;\\n\\tif (limit8>6000){\\n\\t  alert(\\\"Total Deduction for Medical Expenses on Serious Diseases and Complete Medical Examination is limited to RM 6,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_total_a_b\\\",0);\\n\\t}\\n  \\n  \\n\\tvar prevSspn = data.prev_net_dep_sspn;\\t\\t\\t\\n\\tvar sspn=data.cur_net_dep_sspn;\\n\\tvar limit9=0;\\n\\tlimit9 = prevSspn + sspn;\\n\\tif (limit9>8000){\\n\\t  alert(\\\"Deduction amount for Net Deposit in Skim Simpanan Pendidikan Nasional (SSPN) is limited to RM 8,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_net_dep_sspn\\\",0);\\n\\t}\\n  \\n  \\n\\tvar prevAlimony = data.prev_alimony;\\t\\t\\t\\n\\tvar alimony=data.cur_alimony;\\n\\tvar limit10=0;\\n\\tlimit10 = prevAlimony + alimony;\\n\\tif (limit10>4000){\\n\\t  alert(\\\"Deduction amount for Payment of Alimony to Former Wife is limited to RM 4,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_alimony\\\",0);\\n\\t}\\n  \\n\\tvar prevCivil = parseFloat(data.prev_ins_ret_civ_ser);\\t\\t\\t//Check Limit\\t\\t\\t\\n\\tvar civil=parseFloat(data.cur_ins_ret_civ_ser);\\t\\t\\t\\t// Field type: text\\n\\tvar limit11=0;\\n\\tlimit11 = prevCivil + civil;\\n\\tif (limit11>7000){\\n\\t  alert(\\\"Deduction amount for Retired Civil Servant is limited to RM 7,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_ins_ret_civ_ser\\\",0);\\n\\t}\\n  \\n\\tvar prevOther = parseFloat(data.prev_ins_oth_ret_civ_ser);\\t\\t//Check Limit\\t\\t\\n\\tvar other = parseFloat(data.cur_ins_oth_ret_civ_ser);\\t\\t\\t// Field type: text\\n\\tvar limit12=0;\\n\\tlimit12 = prevOther + other;\\n\\tif (limit12>3000){\\n\\t  alert(\\\"Total of Life Insurance and Accumulated Life Insurance deduction cannot exceed RM 3000.00. Please correct your amount\\\");\\n\\t  set_data({cur_ins_oth_ret_civ_ser:0});\\n\\t}\\n  \\n\\tvar prevPremium = data.prev_edu_med_ins_prem;\\t\\t\\t\\n\\tvar premium=data.cur_edu_med_ins_prem;\\n\\tvar limit13=0;\\n\\tlimit13 = prevPremium + premium;\\n\\tif (limit13>3000){\\n\\t  alert(\\\"Deduction amount for Education and Medical Insurance limited to RM 3,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_edu_med_ins_prem\\\",0);\\n\\t}\\n  \\n\\tvar prevAnnuity = data.prev_def_annuity;\\t\\t\\t\\n\\tvar annuity=data.cur_def_annuity;\\n\\tvar limit14=0;\\n\\tlimit14 = prevAnnuity + annuity;\\n\\tif (limit14>3000){\\n\\t  alert(\\\"Deduction amount for Annuity Retained Premium or Contribution to Private Retirement Scheme is limted to RM 3,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_def_annuity\\\",0);\\n\\t}\\n  \\n\\tvar prevSocso = data.prev_socso_cont;\\t\\t\\t\\n\\tvar socso=data.cur_socso_cont;\\n\\tvar limit15=0;\\n\\tlimit15 = prevSocso + socso;\\n\\tif (limit15>250){\\n\\t  alert(\\\"Contribution to SOCSO is limited to RM 250.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_socso_cont\\\",0);\\n\\t}\\n  \\n\\tvar prevPurchase = data.prev_purch;\\t\\t\\t\\n\\tvar purchase=data.cur_purch;\\n\\tvar limit16=0;\\n\\tlimit16 = prevPurchase + purchase;\\n\\tif (limit16>2500){\\n\\t  alert(\\\"Purchase of Readings, Computer, Smartphone, Tablet, Sport Equipment, Gymnasium Membership and Subscription of Broadband Internet is limited to RM 2,500.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_purch\\\",0);\\n\\t}\\n  \\n\\tvar prevEquipment = data.prev_purch_bre_equip;\\t\\t\\t\\n\\tvar equipment=data.cur_purch_bre_equip;\\n\\tvar limit17=0;\\n\\tlimit17 = prevEquipment + equipment;\\n\\tif (limit17>1000){\\n\\t  alert(\\\"Purchase os Breastfeeding Equipment limited to RM 1,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_purch_bre_equip\\\",0);\\n\\t}\\n  \\n\\tvar prevChild = data.prev_fee_child_care;\\t\\t\\t\\n\\tvar child=data.cur_fee_child_care;\\n\\tvar limit18=0;\\n\\tlimit18 = prevChild + child;\\n\\tif (limit18>2000){\\n\\t  alert(\\\"Fees paid to Child Care Centre and Kindergartens is limited to RM 2,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_fee_child_care\\\",0);\\n\\t}\\n  \\n\\tif (medical != medical){\\n\\t  set_data({cur_med_exp:0});\\n\\t  medical = data.cur_med_exp;\\n\\t  console.log(\\\"af602:\\\",medical);\\n\\t}\\n\\t\\n\\tif (father != father){\\n\\t  set_data({cur_father_relief:0});\\n\\t  father = data.cur_father_relief;\\n\\t  console.log(\\\"af603:\\\",father);\\n\\t}\\n\\t\\n\\tif (mother != mother){\\n\\t  set_data({cur_mother_relief:0});\\n\\t  mother = data.cur_mother_relief;\\n\\t  console.log(\\\"af604:\\\",mother);\\n\\t}\\n  \\n\\tif(civil != civil){\\n\\t  set_data({cur_ins_ret_civ_ser:0});\\n\\t  civil = data.cur_ins_ret_civ_ser;\\n\\t  console.log(\\\"af605:\\\",civil);\\n\\t}\\n\\t\\n\\tif(other!= other){\\n\\t  set_data({cur_ins_oth_ret_civ_ser:0});\\n\\t  other = data.cur_ins_oth_ret_civ_ser;\\n\\t  console.log(\\\"af606:\\\", other);\\n\\t}\\n  \\n\\tvar curTotalDeduction=0;\\n\\tcurTotalDeduction = medical + father + mother + support + edu + totalab +\\n\\t  sspn + alimony + civil + other + premium + annuity + socso + \\n\\t  purchase + equipment + child;\\n\\tset_field_value(\\\"cur_total_deduct\\\",curTotalDeduction);\\n\\tconsole.log(\\\"af601:\\\",curTotalDeduction,medical,father);\\n  \\n  }\\n  \\n  \\n  async function NormalMTD(){\\n\\tvar data=get_data();\\n\\tvar Y = parseFloat(data.prev_acc_rem_bik_vola);\\n\\tset_field_value(\\\"Y\\\",Y);\\n\\tvar K = parseFloat(data.prev_acc_epf);\\n\\tset_field_value(\\\"K\\\",K);\\n\\tvar E = parseFloat(data.prev_net_acc_rem);\\n\\tset_field_value(\\\"E\\\",E);\\n\\t\\n  \\n\\tvar curRem = parseFloat(data.cur_net_rem);\\n\\tvar curBik = parseFloat(data.cur_bik);\\n\\tvar curVola = parseFloat(data.cur_vola);\\n\\tconsole.log(\\\"tired: \\\",curRem,curBik,curVola);\\n\\tvar Y1 = 0;\\n\\tY1 = curRem + curBik + curVola;\\n\\tset_field_value(\\\"Y1\\\",Y1);\\n  \\n\\tvar K1 = parseFloat(data.cur_epf);\\n\\tset_field_value(\\\"K1\\\",K1);\\n\\tvar Y2 = Y1;\\n\\tset_field_value(\\\"Y2\\\",Y2);\\n  \\n\\tvar KK1 = K + K1;\\n\\tconsole.log(\\\"af202:\\\",K, K1, KK1);\\n\\tvar month = data.month;\\n\\tvar n = 12 - month;\\n\\tset_field_value(\\\"n\\\",n);\\n\\tvar K2 = 0;\\n\\tK2 = (4000 - KK1)/n;\\n  \\n\\tif (K2>K1){\\n\\t  K2 = K1;\\n\\t  var k2conv = twoNum(K2);\\n\\t  var stk2 = k2conv[0];\\n\\t  var nok2 = k2conv[1];\\n\\t  set_data({K2:nok2});\\n\\t}\\n\\telse if (K2\n                                                                                                    <K1){\\n\\t  K2 = K2;\\n\\t  var k2conv = twoNum(K2);\\n\\t  var stk2 = k2conv[0];\\n\\t  var nok2 = k2conv[1];\\n\\t  set_data({K2:nok2});\\n\\t}\\n\\tconsole.log(\\\"af201:\\\",K2, nok2);\\n  \\n\\t//value of D & S based on Status Category\\n\\tvar status = data.status_category;\\n\\tvar D = 0;\\n\\tvar S = 0;\\n  \\n\\tif (status == \\\"Single\\\" || status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t  D = 9000;\\n\\t  S = 0;\\n\\t}\\n\\telse if (status == \\\"Married and husband/wife is not working\\\"){\\n\\t  D = 9000;\\n\\t  S = 4000;\\n\\t}\\n\\tset_field_value(\\\"D\\\",D);\\n\\tset_field_value(\\\"S\\\",S);\\n  \\n\\tvar disInd = data.disabled_individual;\\n\\tvar Du = 0;\\n\\tif (disInd == \\\"yes\\\"){\\n\\t  Du = 6000;\\n\\t}\\n\\telse {\\n\\t  Du = 0;\\n\\t}\\n\\tset_field_value(\\\"Du\\\",Du);\\n  \\n\\tvar disSpo = data.disabled_spouse;\\n\\tvar Su = 0;\\n\\tif (disSpo == \\\"yes\\\"){\\n\\t  Su = 3500;\\n\\t}\\n\\telse{\\n\\t  Su = 0;\\n\\t}\\n\\tset_field_value(\\\"Su\\\",Su);\\n  \\n\\t//calculate QC\\n\\tvar totalUnder18 = parseFloat(data.child_under_18_total);\\n\\tvar total18Study = parseFloat(data.child_18_study_total);\\n\\tvar total18Full = parseFloat(data.child_18_full_time_total);\\n\\tvar totalDisabled = parseFloat(data.disabled_child_total);\\n\\tvar totalDisStudy = parseFloat(data.disabled_child_study_total);\\n\\tvar QC = 0;\\n\\t// \\n\\tQC = totalUnder18 + total18Study + total18Full + totalDisabled + totalDisStudy;\\n\\tset_field_value(\\\"QC\\\",QC);\\n  \\n\\tvar ELP = parseFloat(data.prev_total_acc_deduct);\\n\\tset_field_value(\\\"ELP\\\",ELP);\\n\\tvar LP1 = parseFloat(data.cur_total_deduct);\\n\\tset_field_value(\\\"LP1\\\",LP1);\\n  \\n\\t//calculate P\\n\\tvar P1 = 0;\\n\\tvar P2 = 0;\\n\\tvar P = 0;\\n\\tvar Y1K1 = Y1 - K1;\\n\\tvar Y2K2 = Y2 - nok2;\\n\\t\\n\\t\\n\\tP1 = E + Y1K1 + (Y2K2 * n);\\n\\tconsole.log(\\\"afiqahhhhhhhhh31:\\\",P1,E,Y1K1,Y2K2,n);\\n\\t\\n\\tvar p1conv = twoNum(P1);\\n\\tvar stp1 = p1conv[0];\\n\\tvar nop1 = p1conv[1];\\n\\t\\n\\tP2 = D + S + Du + Su + QC + ELP + LP1;\\n\\tP = nop1 - P2;\\n\\tconsole.log(\\\"afiqahhhhhhhhh32:\\\",nop1,P2, P);\\n\\t\\n\\tset_field_value(\\\"P_res\\\",P);\\n  \\n\\t//var formula = data.mtd_formula; \\n\\t//Resident Rate\\n\\t// Search DB Rate: START\\n\\tvar p = data.P_res;\\n\\tconsole.log(\\\"afi: \\\", p);\\n\\tvar cat = data.status_category;\\n\\t\\n\\tif(p\n                                                                                                        <5001){\\n\\t  var narpmin = 0;\\n\\t  var narpmax = 0;\\n\\t  var narm = 0;\\n\\t  var narr = 0;\\n\\t  var narb = 0;\\n\\t  console.log(\\\"af1: \\\", narpmin, narpmax, narm, narr, narb);\\n\\t  set_data({M:narm});\\n\\t  set_data({R_res:narr});\\n\\t  set_data({B:narb});\\n\\t  var M = data.M;\\n\\t  var R = data.R_res;\\n\\t  var B = data.B;\\n\\t  console.log(\\\"af2: \\\",M,R,B);\\n\\t}\\n\\t\\n\\telse if(p>5000){\\n\\t  var cond = [[]];\\n\\t  var field = [\\\"nar_no\\\",\\\"nar_p_max\\\",\\\"nar_m\\\",\\\"nar_r\\\",\\\"nar_b1\\\",\\\"nar_b2\\\",\\\"nar_p_min\\\"];\\n\\t  var res = await rpc_execute(\\\"hr2.deduction.mtd.lines\\\",\\\"search_read\\\",[cond,field]);\\n\\t  for(let i = 0; i>=0; i++){\\n\\t\\tvar narpmin = parseFloat(res[i].nar_p_min);\\n\\t\\tvar narpmax = res[0].nar_p_max?res[i].nar_p_max:\\\"null\\\";\\n\\t\\tconsole.log(\\\"af3: \\\",narpmin,narpmax);\\n  \\n\\t\\tif (narpmax == \\\"null\\\"){\\n\\t\\t  var narm = parseFloat(res[i].nar_m);\\n\\t\\t  var narR = parseFloat(res[i].nar_r);\\n\\t\\t  var narr = narR / 100;\\n  \\n\\t\\t  if (cat == \\\"Single\\\" || cat == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\t\\tvar narb = parseFloat(res[i].nar_b1);\\n\\t\\t  }\\n\\t\\t  else if (cat == \\\"Married and husband/wife is not working\\\"){\\n\\t\\t\\tvar narb = parseFloat(res[i].nar_b2);\\n\\t\\t  }\\n\\t\\t  console.log(\\\"af4: \\\", narpmin, narpmax, narm, narr, narb);\\n\\t\\t}\\n\\t\\telse if(narpmax == res[i].nar_p_max){\\n\\t\\t  narpmax = parseFloat(narpmax);\\n\\t\\t  console.log(\\\"af5: \\\", narpmax);\\n\\t\\t  var moret = Boolean(p>=narpmin);\\n\\t\\t  var lesst = Boolean(p<=narpmax);\\n\\t\\t  console.log(\\\"af6: \\\", moret,lesst);\\n  \\n\\t\\t  if (moret== true && lesst == true){\\n\\t\\t\\tvar narm = parseFloat(res[i].nar_m);\\n\\t\\t\\tvar narR = parseFloat(res[i].nar_r);\\n\\t\\t\\tvar narr = narR / 100;\\n\\t\\t\\tconsole.log(\\\"af7: \\\", narm, narr);\\n\\t\\t\\tif(cat ==\\\"Single\\\" || cat ==\\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\t\\t  var narb = parseFloat(res[i].nar_b1);\\n\\t\\t\\t}\\n\\t\\t\\telse if (cat == \\\"Married and husband/wife is not working\\\"){\\n\\t\\t\\t  var narb = parseFloat(res[i].nar_b2);\\n\\t\\t\\t}\\n\\t\\t\\tconsole.log(\\\"af8: \\\", narpmin, narpmax, narm, narr, narb);\\n\\t\\t\\tset_data({M:narm});\\n\\t\\t\\tset_data({R_res:narr});\\n\\t\\t\\tset_data({B:narb});\\n\\t\\t\\tvar M = data.M;\\n\\t\\t\\tvar R = data.R_res;\\n\\t\\t\\tvar B = data.B;\\n\\t\\t\\tconsole.log(\\\"af9: \\\",M,R,B)\\n\\t\\t\\tbreak;\\n\\t\\t  }\\n\\t\\t}\\n\\t  }\\n\\t}\\n\\t// Search DB Rate : END\\n\\t\\n\\t/*\\n\\t// Hard Code Rate: START\\n\\tvar M = 0;\\n\\tvar R = 0;\\n\\tvar B = 0;\\n  \\n\\t//Normal Deduction Rate\\n\\tif (P>5000 && P<=20000){\\n\\t  M = 5000;\\n\\t  R = 0.01;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tB = -400; //KIV\\n\\t  }\\n\\t  else{\\n\\t\\tB = -800; //KIV\\n\\t  }\\n\\t}\\n\\telse if (P>20000 && P<=35000){\\n\\t  M = 20000;\\n\\t  R = 0.03;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tB = -250; //KIV\\n\\t  }\\n\\t  else{\\n\\t\\tB = -650; //KIV\\n\\t  }\\n\\t}\\n\\telse if (P>35000 && P<=50000){\\n\\t  M = 35000;\\n\\t  R = 0.08;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tB = 600;\\n\\t  }\\n\\t  else{\\n\\t\\tB = 600;\\n\\t  }\\n\\t}\\n\\telse if (P>50000 && P<=70000){\\n\\t  M = 50000;\\n\\t  R = 0.14;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tB = 1800;\\n\\t  }\\n\\t  else{\\n\\t\\tB = 1800;\\n\\t  }\\n\\t}\\n\\telse if (P>70000 && P<=100000){\\n\\t  M = 70000;\\n\\t  R = 0.21;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tB = 4600;\\n\\t  }\\n\\t  else{\\n\\t\\tB = 4600;\\n\\t  }\\n\\t}\\n\\telse if (P>100000 && P<=250000){\\n\\t  M = 100000;\\n\\t  R = 0.24;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tB = 10900;\\n\\t  }\\n\\t  else{\\n\\t\\tB = 10900;\\n\\t  }\\n\\t}\\n\\telse if (P>250000 && P<=400000){\\n\\t  M = 250000;\\n\\t  R = 0.245;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tB = 46900;\\n\\t  }\\n\\t  else{\\n\\t\\tB = 46900;\\n\\t  }\\n\\t}\\n\\telse if (P>400000 && P<=600000){\\n\\t  M = 400000;\\n\\t  R = 0.25;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tB = 83650;\\n\\t  }\\n\\t  else{\\n\\t\\tB = 83650;\\n\\t  }\\n\\t}\\n\\telse if (P>600000 && P<=1000000){\\n\\t  M = 600000;\\n\\t  R = 0.26;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tB = 133650;\\n\\t  }\\n\\t  else{\\n\\t\\tB = 133650;\\n\\t  }\\n\\t}\\n\\telse if (P>1000000){\\n\\t  M = 1000000;\\n\\t  R = 0.28;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tB = 237650;\\n\\t  }\\n\\t  else{\\n\\t\\tB = 237650;\\n\\t  }\\n\\t}\\n  \\n\\tset_field_value(\\\"M\\\",M);\\n\\tset_field_value(\\\"R_res\\\",R);\\n\\tset_field_value(\\\"B\\\",B);\\n\\t// Hard Code Rate: END\\n\\t*/\\n  \\n\\tvar Z = parseFloat(data.prev_total_acc_zakat);\\n\\tset_field_value(\\\"Z_res\\\",Z);\\n\\tvar X = parseFloat(data.prev_acc_mtd);\\n\\tset_field_value(\\\"X_res\\\",X);\\n  \\n\\t// Step 1 = Resident Calculation\\n\\tvar yearlyTax = (P-M)*R + B;\\n\\t\\n\\tvar yearlyTaxconv = twoNum(yearlyTax);\\n\\t  var styt = yearlyTaxconv[0];\\n\\t  var noyt = yearlyTaxconv[1];\\n\\t\\n\\tvar curMonthMTD = (noyt - (Z + X))/(n + 1);\\n\\tif (curMonthMTD <=0){\\n\\t  set_field_value(\\\"curMTD_res\\\",0);\\n\\t}\\n\\telse if (curMonthMTD>0){\\n\\t  var curMonthMTDconv = twoNum(curMonthMTD);\\n\\t  var stcm = curMonthMTDconv[0];\\n\\t  var nocm = curMonthMTDconv[1];\\n\\t  set_field_value(\\\"curMTD_res\\\",nocm);\\n\\t}\\n\\tvar curZakat = parseFloat(data.cur_zakat);\\n\\tvar curMonthMTD1 = parseFloat(data.curMTD_res);\\n\\tvar netMTD = Math.round((curMonthMTD1 - curZakat) * 100) / 100;\\n\\tset_field_value(\\\"netMTD_res\\\",netMTD);\\n\\t\\n\\tvar totaladd = data.cur_total_net_add_rem;\\n\\tconsole.log(\\\"af501:\\\",totaladd);\\n\\tif(totaladd == 0){\\n\\t  set_field_value(\\\"mtdb\\\",0);\\n\\t  set_field_value(\\\"Yt\\\",0);\\n\\t   set_field_value(\\\"Kt\\\",0);\\n\\t  set_data({CSK2:0});\\n\\t  set_field_value(\\\"P_CS\\\",0);\\n\\t  set_field_value(\\\"CS\\\",0);\\n\\t  set_field_value(\\\"mtdc\\\",0);\\n\\t  set_field_value(\\\"mtd\\\",netMTD);\\n\\t  if (netMTD <= 0){\\n\\t\\tvar conv = 0;\\n\\t  }\\n\\t  else{\\n\\t\\tvar nomtd = netMTD;\\n\\t\\tconsole.log(1929);\\n\\t\\tvar stnomtd = nomtd.toString();\\n\\t\\tvar split = stnomtd.split(\\\".\\\");  \\n\\t\\tvar dec = split[1];\\n\\t\\tvar splitt = dec.split(\\\"\\\");\\n\\t\\tvar decc = splitt[1];\\n\\t\\tvar node = parseInt(decc);\\n\\t\\tif (node<=5){\\n\\t\\t  var last = 5;\\n\\t\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t\\t}\\n\\t\\telse{\\n\\t\\t  var last = 0;\\n\\t\\t  var convv = parseInt(splitt[0]);\\n\\t\\t  var incr = convv + 1;\\n\\t\\t  var com = split[0] + \\\".\\\" + incr + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",dec, decc, node, com, conv);\\n\\t\\t}\\n\\t  }\\n\\t}\\n\\t\\n\\telse{\\n\\t  //Step 2 = MTD(B)\\n\\t  var mtdB = X + (curMonthMTD1*(n+1));\\n\\t  var mtdBconv = twoNum(mtdB);\\n\\t  var stmb = mtdBconv[0];\\n\\t  var nomb = mtdBconv[1];\\n\\t  set_field_value(\\\"mtdb\\\",nomb);\\n  \\n\\t  //Step 3 = Yearly Tax (CS)\\n\\t  var Yt = parseFloat(data.cur_total_add_rem);\\n\\t  set_field_value(\\\"Yt\\\",Yt);\\n\\t  var Kt = parseFloat(data.cur_add_rem_epf);\\n\\t  set_field_value(\\\"Kt\\\",Kt);\\n\\t  var KK1Kt = K + K1 + Kt;\\n\\t  var CSK2 = (4000 - KK1Kt)/n;\\n  \\n\\t  if (CSK2>K1){\\n\\t\\tCSK2 = K1;\\n\\t\\tvar csk2conv = twoNum(CSK2);\\n\\t\\tvar stcsk2 = csk2conv[0];\\n\\t\\tvar nocsk2 = csk2conv[1];\\n\\t\\tset_data({CSK2:nocsk2});\\n\\t  }\\n\\t  else if (CSK2\n                                                                                                            <K1){\\n\\t\\t//K2 = K2;\\n\\t\\tvar csk2conv = twoNum(CSK2);\\n\\t\\tvar stcsk2 = csk2conv[0];\\n\\t\\tvar nocsk2 = csk2conv[1];\\n\\t\\tset_data({CSK2:nocsk2});\\n\\t  }\\n  \\n  \\n\\t  var Y2CSK2 = Y2 - nocsk2;\\n\\t  var YtKt = Yt - Kt;\\n\\t  \\n\\t  var CSP1 = E + Y1K1 + (Y2CSK2*n) + YtKt;\\n\\t  var csp1conv = twoNum(CSP1);\\n\\t  var stcsp1 = csp1conv[0];\\n\\t  var nocsp1 = csp1conv[1];\\n\\t  console.log(\\\"louis12:\\\",CSP1,E,Y1K1,Y2CSK2,n,YtKt,nocsp1);\\n\\t\\n\\t  var CSP2 = D + S + Du + Su + QC + ELP + LP1;\\n\\t  var CSP = nocsp1 - CSP2;\\n\\t  var cspconv = twoNum(CSP);\\n\\t\\tvar stcsp = cspconv[0];\\n\\t\\tvar nocsp = cspconv[1];\\n\\t\\tset_field_value(\\\"CS\\\",nocsp);\\n\\t  //set_field_value(\\\"P_CS\\\",CSP);\\n\\t  var CS = (nocsp - M)*R + B;\\n\\t  if (CS <=0){\\n\\t\\tset_field_value(\\\"CS\\\",0);\\n\\t  }\\n\\t  else if (CS>0){\\n\\t\\tvar csconv = twoNum(CS);\\n\\t\\tvar stcs = csconv[0];\\n\\t\\tvar nocs = csconv[1];\\n\\t\\tset_field_value(\\\"CS\\\",nocs);\\n\\t  }\\n\\t  console.log(\\\"louis13:\\\",CSP2,CSP,nocsp,CS,nocs);\\n\\t  \\n\\t\\n\\t  //Step 4 = Additional Remuneration\\n\\t  var mtdC = nocs - (nomb + Z);\\n\\t  if (mtdC <=0){\\n\\t\\tset_field_value(\\\"mtdc\\\",0);\\n\\t  }\\n\\t  else if (mtdC>0){\\n\\t\\t/*var mtdcconv = twoNum(mtdC);\\n\\t\\tvar stmtdc = mtdcconv[0];\\n\\t\\tvar nomtdc = mtdcconv[1];\\n\\t\\tset_field_value(\\\"mtdc\\\",nomtdc);*/\\n\\t\\tconsole.log(2024);\\n\\t\\tvar stg = mtdC.toString();\\n\\t\\tconsole.log(\\\"afiqahh: \\\",stg);\\n\\t\\n\\t\\tvar check = stg.includes(\\\".\\\");\\n\\t\\tif (check == false){\\n\\t\\t  check = str.toFixed(2);\\n\\t\\t  console.log(\\\"afiqah0: \\\",check);\\n\\t\\t  console.log(2032)\\n\\t\\t  stg = check.toString();\\n\\t\\t  console.log(\\\"afiqah00: \\\",stg);\\n\\t\\t}\\n\\t\\n\\t\\tvar split = stg.split(\\\".\\\");\\n\\t\\tconsole.log(\\\"afiqahhh: \\\",split);\\n\\t\\n\\t\\tvar dec = split[1];\\n\\t\\tconsole.log(\\\"afiqahhh: \\\", dec);\\n\\t\\n\\t\\tvar spl = dec.match(/.{1,3}/g);\\n\\t\\tconsole.log(\\\"afiqahhhh: \\\", spl);\\n\\t\\t\\n\\t\\n\\t\\tvar comb = split[0] + \\\".\\\" + spl[0];\\n\\t\\tconsole.log(\\\"afiqahhhhh: \\\", comb);\\n\\t\\t\\n\\t\\t \\n\\t\\tvar fxd = parseFloat(comb);\\n\\t\\tconsole.log(\\\"afiqahhhhhh: \\\",fxd);\\n\\t\\tvar conv = fxd.toFixed(2);\\n\\t\\tconsole.log(\\\"afiqahhhhhha: \\\",conv);\\n\\t\\tset_field_value(\\\"mtdc\\\",conv);\\n\\t\\t\\n\\t  }\\n\\t  //console.log(\\\"louis14:\\\",Z,mtdB,nomb,netMTD,mtdC,nomtdc);\\n\\t  console.log(\\\"louis14:\\\",Z,mtdB,nomb,netMTD,mtdC,conv);\\n  \\n\\t  var mtdcc = parseFloat(data.mtdc);\\n\\t  //step 5 = MTD Current Month\\n\\t  var MTd = netMTD + mtdcc;\\n\\t  var MTD = twoNum(MTd);\\n\\t  var stmtd = MTD[0];\\n\\t  var nomtd = MTD[1];\\n\\t  console.log(\\\"louis15:\\\",mtdcc,MTd,nomtd);\\n\\t  //return;\\n\\t \\n\\t  if(nomtd <= 0){\\n\\t\\tnomtd = nomtd ;\\n\\t\\tvar conv = 0;\\n\\t  }\\n\\t  else{\\n\\t\\t  console.log(2075);\\n\\t\\tvar stnomtd = nomtd.toString();\\n\\t\\tvar split = stnomtd.split(\\\".\\\");  \\n\\t\\tvar dec = split[1];\\n\\t\\tvar splitt = dec.split(\\\"\\\");\\n\\t\\tvar decc = splitt[1];\\n\\t\\tvar node = parseInt(decc);\\n\\t\\tif (node<=5){\\n\\t\\t  var last = 5;\\n\\t\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t\\t}\\n\\t\\telse{\\n\\t\\t  var last = 0;\\n\\t\\t  var convv = parseInt(splitt[0]);\\n\\t\\t  var incr = convv + 1;\\n\\t\\t  var com = split[0] + \\\".\\\" + incr + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",dec, decc, node, com, conv);\\n\\t\\t}\\n\\t  }\\n\\t\\n\\t  set_field_value(\\\"mtd\\\",nomtd);\\n\\t}\\n\\t//return;\\n   \\n\\t\\n\\tvar MM = data.M;\\n\\tvar RR = data.R_res;\\n\\tvar BB = data.B;\\n\\tconsole.log(\\\"af101: \\\",MM,RR,BB);\\n\\t//return;\\n\\treturn {\\n\\t  M: M,\\n\\t  R: R,\\n\\t  B: B,\\n\\t  mtd_rou: conv,\\n\\t};\\n  }\\n  \\n  \\n  async function REPMTD(){\\n\\tvar data=get_data();\\n\\tvar Y = parseFloat(data.prev_acc_rem_bik_vola);\\n\\tset_field_value(\\\"Y\\\",Y);\\n\\tvar K = parseFloat(data.prev_acc_epf);\\n\\tset_field_value(\\\"K\\\",K);\\n\\tvar E = parseFloat(data.prev_net_acc_rem);\\n\\tset_field_value(\\\"E\\\",E);\\n  \\n\\tvar curRem = parseFloat(data.cur_net_rem);\\n\\tvar curBik = parseFloat(data.cur_bik);\\n\\tvar curVola = parseFloat(data.cur_vola);\\n\\tvar Y1 = 0;\\n\\tY1 = curRem + curBik + curVola;\\n\\tset_field_value(\\\"Y1\\\",Y1);\\n  \\n\\tvar K1 = parseFloat(data.cur_epf);\\n\\tset_field_value(\\\"K1\\\",K1);\\n\\tvar Y2 = Y1;\\n\\tset_field_value(\\\"Y2\\\",Y2);\\n  \\n\\tvar KK1 = K + K1;\\n\\t\\n\\tvar month = data.month;\\n\\tvar n = 12 - month;\\n\\tset_field_value(\\\"n\\\",n);\\n\\tvar K2 = 0;\\n\\tK2 = (4000 - KK1)/n;\\n\\t\\n\\tif (K2>K1){\\n\\t  K2 = K1;\\n\\t  var k2conv = twoNum(K2);\\n\\t  var stk2 = k2conv[0];\\n\\t  var nok2 = k2conv[1];\\n\\t  set_data({K2:nok2});\\n\\t}\\n\\telse if (K2\n                                                                                                                <K1){\\n\\t  K2 = K2;\\n\\t  var k2conv = twoNum(K2);\\n\\t  var stk2 = k2conv[0];\\n\\t  var nok2 = k2conv[1];\\n\\t  set_data({K2:nok2});\\n\\t}\\n\\tvar kk2 = data.K2;\\n\\tconsole.log(\\\"af310:\\\", K, K1,KK1,n,K2,nok2,kk2);\\n  \\n\\t//value of D & S based on Status Category\\n\\tvar status = data.status_category;\\n\\tvar D = 0;\\n\\tvar S = 0;\\n  \\n\\tif (status == \\\"Single\\\" || status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t  D = 9000;\\n\\t  S = 0;\\n\\t}\\n\\telse if (status == \\\"Married and husband/wife is not working\\\"){\\n\\t  D = 9000;\\n\\t  S = 4000;\\n\\t}\\n\\tset_field_value(\\\"D\\\",D);\\n\\tset_field_value(\\\"S\\\",S);\\n  \\n\\tvar disInd = data.disabled_individual;\\n\\tvar Du = 0;\\n\\tif (disInd == \\\"yes\\\"){\\n\\t  Du = 6000;\\n\\t}\\n\\telse {\\n\\t  Du = 0;\\n\\t}\\n\\tset_field_value(\\\"Du\\\",Du);\\n  \\n\\tvar disSpo = data.disabled_spouse;\\n\\tvar Su = 0;\\n\\tif (disSpo == \\\"yes\\\"){\\n\\t  Su = 3500;\\n\\t}\\n\\telse{\\n\\t  Su = 0;\\n\\t}\\n\\tset_field_value(\\\"Su\\\",Su);\\n  \\n\\t//calculate QC\\n\\tvar totalUnder18 = parseFloat(data.child_under_18_total);\\n\\tvar total18Study = parseFloat(data.child_18_study_total);\\n\\tvar total18Full = parseFloat(data.child_18_full_time_total);\\n\\tvar totalDisabled = parseFloat(data.disabled_child_total);\\n\\tvar totalDisStudy = parseFloat(data.disabled_child_study_total);\\n\\tvar QC = 0;\\n\\tQC = totalUnder18 + total18Study + total18Full + totalDisabled + totalDisStudy;\\n\\tset_field_value(\\\"QC\\\",QC);\\n  \\n\\tvar ELP = parseFloat(data.prev_total_acc_deduct);\\n\\tset_field_value(\\\"ELP\\\",ELP);\\n\\tvar LP1 = parseFloat(data.cur_total_deduct);\\n\\tset_field_value(\\\"LP1\\\",LP1);\\n  \\n\\t//calculate P\\n\\tvar P1 = 0;\\n\\tvar P2 = 0;\\n\\tvar P = 0;\\n\\tvar Y1K1 = Y1 - K1;\\n\\tvar Y2K2 = Y2 - nok2;\\n\\t\\n\\tP1 = E + Y1K1 + (Y2K2 * n);\\n\\tvar p1conv = twoNum(P1);\\n\\tvar stp1 = p1conv[0];\\n\\tvar nop1 = p1conv[1];\\n\\t\\n\\t\\n\\tP2 = D + S + Du + Su + QC + ELP + LP1;\\n\\tP = nop1 - P2;\\n\\tset_field_value(\\\"P_REP\\\",P);\\n  \\n\\t//var formula = data.mtd_formula; \\n\\t\\n\\t// START Search RATE\\n\\tvar p = data.P_REP;\\n\\tconsole.log(\\\"af301:\\\" ,p);\\n\\t\\n\\tvar cat = data.status_category;\\n\\n\\t\\n\\tvar cond = [[\\\"rep_t1\\\",\\\"!=\\\",null]];\\n\\tvar field = [\\\"rep_p_min\\\",\\\"rep_p_max\\\",\\\"rep_r\\\",\\\"rep_t1\\\",\\\"rep_t2\\\"];\\n\\tvar res = await rpc_execute(\\\"hr2.deduction.mtd.lines\\\",\\\"search_read\\\",[cond,field]);\\n\\tfor(let i=0; i\n                                                                                                                    <res.length;i++){\\n\\n\\t  var reppmin = res[i].rep_p_min?res[i].rep_p_min:\\\"null\\\";\\n\\t  var reppmax = res[i].rep_p_max?res[i].rep_p_max:\\\"null\\\";\\n\\t  console.log(\\\"af302: \\\",reppmin,reppmax);\\n\\t  \\n\\t  if(reppmax == res[i].rep_p_max){\\n\\t\\treppmax = parseFloat(reppmax);\\n\\t\\tif(p<=reppmax){\\n\\t\\t  var repR = parseFloat(res[i].rep_r);\\n\\t\\t  var repr = repR / 100;\\n\\t\\t  console.log(\\\"af303:\\\",repr);\\n\\t\\t  if(cat == \\\"Single\\\" || cat == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\t\\tvar rept =  parseFloat(res[i].rep_t1);\\n\\n\\t\\t  }\\n\\t\\t  else if(cat == \\\"Married and husband/wife is not working\\\"){\\n\\t\\t\\tvar rept = parseFloat(res[i].rep_t2);\\n\\n\\t\\t  }\\n\\t\\t  console.log(\\\"deduct: \\\",reppmin,reppmax,repr,rept);\\n\\t\\t    set_data({R_REP:repr, T_REP:rept});\\n\\t\\t\\tvar data=get_data();\\n\\t\\t\\tconsole.log(\\\"ang2273\\\",data.R_REP,data.T_REP,repr,rept);\\n\\t\\t\\tvar R = data.R_REP;\\n\\t\\t\\tvar T = data.T_REP;\\n\\t\\t\\tconsole.log(\\\"ang\\\",2271);\\n\\t\\t\\tconsole.log(\\\"af304: R:\\\",R)\\n\\t\\t\\tconsole.log(\\\"af304: T:\\\",T)\\n\\n\\t\\t}\\n\\t  }\\n\\t  else if(reppmin == res[i].rep_p_min){\\n\\t\\treppmin = parseFloat(reppmin);\\n\\t\\tif (p>=reppmin){\\n\\t\\t  var repR = parseFloat(res[i].rep_r);\\n\\t\\t  var repr = repR / 100;\\n\\t\\t  console.log(\\\"af303:\\\",repr);\\n\\t\\t  if(cat == \\\"Single\\\" || cat == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\t\\tvar rept =  parseFloat(res[i].rep_t1);\\n\\n\\t\\t  }\\n\\n\\t\\t  else if(cat == \\\"Married and husband/wife is not working\\\"){\\n\\t\\t\\tvar rept = parseFloat(res[i].rep_t2);\\n\\n\\t\\t  }\\n\\n\\t\\t  console.log(\\\"deduct: \\\",reppmin,reppmax,repr,rept);\\n\\t\\t  set_data({R_REP:repr, T_REP:rept});\\n\\t\\t\\t  var data=get_data();\\n\\t\\t\\tconsole.log(\\\"ang2301\\\",data.R_REP,data.T_REP,repr,rept);\\n\\t\\t\\tvar R = data.R_REP;\\n\\t\\t\\tvar T = data.T_REP;\\n\\t\\n\\t\\t\\tconsole.log(\\\"ang\\\",2291)\\n\\t\\t\\tconsole.log(\\\"af304: R:\\\",R)\\n\\t\\t\\tconsole.log(\\\"af304: T:\\\",T)\\n\\n\\t\\t}\\n\\t  }\\n\\t}\\n\\t/*\\n\\t//REP Deduction Rate: Hard Code: START\\n\\t//REP Rate\\n\\tvar R = 0;\\n\\tvar T = 0;\\n  \\n\\t\\n\\tif (P<=35000){\\n\\t  R = 0.15;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tT = 400; \\n\\t  }\\n\\t  else{\\n\\t\\tT = 800; \\n\\t  }\\n\\t}\\n\\telse if (P>35000){\\n\\t  R = 0.15;\\n\\t  T = 0;\\n\\t}\\n\\tset_field_value(\\\"R_REP\\\",R);\\n\\tset_field_value(\\\"T_REP\\\",T);\\n\\t// HARD CODE END\\n\\t*/\\n\\t\\n\\tvar Z = parseFloat(data.prev_total_acc_zakat); \\n\\tset_field_value(\\\"Z_REP\\\",Z);\\n\\tvar X = parseFloat(data.prev_acc_mtd);\\n\\tset_field_value(\\\"X_REP\\\",X);\\n  \\n\\t// Step 1 = REP Calculation\\n\\tvar yearlyTax = (P*R) - T;\\n\\tconsole.log(2345);\\n\\tvar yearlyTaxconv = twoNum(yearlyTax);\\n\\t  var styt = yearlyTaxconv[0];\\n\\t  var noyt = yearlyTaxconv[1];\\n\\t\\n\\tvar curMonthMTD = (noyt - (Z + X))/(n + 1);\\n\\tconsole.log(2346);\\n\\tset_field_value(\\\"curMTD_REP\\\",curMonthMTD);\\n\\tif (curMonthMTD <=0){\\n\\t  set_field_value(\\\"curMTD_REP\\\",0);\\n\\t}\\n\\telse if (curMonthMTD>0){\\n\\t  var curMonthMTDconv = twoNum(curMonthMTD);\\n\\t  var stcm = curMonthMTDconv[0];\\t\\t\\n\\t  var nocm = curMonthMTDconv[1];\\n\\t  set_field_value(\\\"curMTD_REP\\\",nocm);\\n\\t}\\n\\t\\n\\tvar curZakat = parseFloat(data.cur_zakat);\\n\\tvar curMonthMTD1 = parseFloat(data.curMTD_REP);\\n    var netMTD = Math.round((curMonthMTD1 - curZakat) * 100) / 100;\\n\\tset_field_value(\\\"netMTD_REP\\\",netMTD);\\n\\tconsole.log(\\\"af311:\\\",curZakat,curMonthMTD,netMTD);\\n  \\n\\tvar totaladd = data.cur_total_net_add_rem;\\n\\tconsole.log(\\\"af501:\\\",totaladd);\\n\\tif(totaladd == 0){\\n\\t  set_field_value(\\\"mtdb\\\",0);\\n\\t  set_field_value(\\\"Yt\\\",0);\\n\\t   set_field_value(\\\"Kt\\\",0);\\n\\t  set_data({CSK2:0});\\n\\t  set_field_value(\\\"P_CS\\\",0);\\n\\t  set_field_value(\\\"CS\\\",0);\\n\\t  set_field_value(\\\"mtdc\\\",0);\\n\\t  set_field_value(\\\"mtd\\\",netMTD);\\n\\t  if (netMTD <= 0){\\n\\t\\tvar conv = 0;\\n\\t  }\\n\\t  else{\\n\\t\\tvar nomtd = netMTD;\\n\\t\\tconsole.log(2355,nomtd);\\n\\t\\tvar stnomtd = nomtd.toString();\\n\\t\\tvar split = stnomtd.split(\\\".\\\");  \\n\\t\\tvar dec = split[1];\\n\\t\\tvar splitt = dec.split(\\\"\\\");\\n\\t\\tvar decc = splitt[1];\\n\\t\\tvar node = parseInt(decc);\\n\\t\\tif (node<=5){\\n\\t\\t  var last = 5;\\n\\t\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t\\t}\\n\\t\\telse{\\n\\t\\t  var last = 0;\\n\\t\\t  var convv = parseInt(splitt[0]);\\n\\t\\t  var incr = convv + 1;\\n\\t\\t  var com = split[0] + \\\".\\\" + incr + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",dec, decc, node, com, conv);\\n\\t\\t}\\n\\t  }\\n\\t}\\n\\t\\n\\telse{\\n\\t  //Step 2 = MTD(B)\\n\\t  var mtdB = X + (curMonthMTD1*(n+1));\\n\\t  var mtdBconv = twoNum(mtdB);\\n\\t  var stmb = mtdBconv[0];\\n\\t  var nomb = mtdBconv[1];\\n\\t  set_field_value(\\\"mtdb\\\",nomb);\\n  \\n\\t  //Step 3 = Yearly Tax (CS)\\n\\t  var Yt = parseFloat(data.cur_total_add_rem);\\n\\t  set_field_value(\\\"Yt\\\",Yt);\\n\\t  var Kt = parseFloat(data.cur_add_rem_epf);\\n\\t  set_field_value(\\\"Kt\\\",Kt);\\n\\t  var KK1Kt = K + K1 + Kt;\\n\\t  var CSK2 = (4000 - KK1Kt)/n;\\n  \\n\\t  if (CSK2>K1){\\n\\t\\tCSK2 = K1;\\n\\t\\tvar csk2conv = twoNum(CSK2);\\n\\t\\tvar stcsk2 = csk2conv[0];\\n\\t\\tvar nocsk2 = csk2conv[1];\\n\\t\\tset_data({CSK2:nocsk2});\\n\\t  }\\n\\t  else if (CSK2\n                                                                                                                        <K1){\\n\\t\\t//K2 = K2;\\n\\t\\tvar csk2conv = twoNum(CSK2);\\n\\t\\tvar stcsk2 = csk2conv[0];\\n\\t\\tvar nocsk2 = csk2conv[1];\\n\\t\\tset_data({CSK2:nocsk2});\\n\\t  }\\n  \\n  \\n\\t  var Y2CSK2 = Y2 - CSK2;\\n\\t  var YtKt = Yt - Kt;\\n\\t  \\n\\t  var CSP1 = E + Y1K1 + (Y2CSK2*n) + YtKt;\\n\\t  var csp1conv = twoNum(CSP1);\\n\\t  var stcsp1 = csp1conv[0];\\n\\t  var nocsp1 = csp1conv[1];\\n\\t\\n\\t  var CSP2 = D + S + Du + Su + QC + ELP + LP1;\\n\\t  var CSP = nocsp1 - CSP2;\\n\\t  var cspconv = twoNum(CSP);\\n\\t\\tvar stcsp = cspconv[0];\\n\\t\\tvar nocsp = cspconv[1];\\n\\t\\tset_field_value(\\\"CS\\\",nocsp);\\n\\t  //set_field_value(\\\"P_CS\\\",CSP);\\n\\t  var CS = (nocsp*R) - T;\\n\\t  if (CS <=0){\\n\\t\\tset_field_value(\\\"CS\\\",0);\\n\\t  }\\n\\t  else if (CS>0){\\n\\t\\tvar csconv = twoNum(CS);\\n\\t\\tvar stcs = csconv[0];\\n\\t\\tvar nocs = csconv[1];\\n\\t\\tset_field_value(\\\"CS\\\",nocs);\\n\\t  }\\n\\t\\n\\t  //Step 4 = Additional Remuneration\\n\\t  var mtdC = nocs - (nomb + Z);\\n\\t  if (mtdC <=0){\\n\\t\\tset_field_value(\\\"mtdc\\\",0);\\n\\t  }\\n\\t  else if (mtdC>0){\\n\\t\\t/*var mtdcconv = twoNum(mtdC);\\n\\t\\tvar stmtdc = mtdcconv[0];\\n\\t\\tvar nomtdc = mtdcconv[1];\\n\\t\\tset_field_value(\\\"mtdc\\\",nomtdc);*/\\n\\t\\tconsole.log(2451);\\n\\t\\tvar stg = mtdC.toString();\\n\\t\\tconsole.log(\\\"afiqahh: \\\",stg);\\n\\t\\n\\t\\tvar check = stg.includes(\\\".\\\");\\n\\t\\tif (check == false){\\n\\t\\t  check = str.toFixed(2);\\n\\t\\t  console.log(\\\"afiqah0: \\\",check);\\n\\t\\t  console.log(2459);\\n\\t\\t  stg = check.toString();\\n\\t\\t  console.log(\\\"afiqah00: \\\",stg);\\n\\t\\t}\\n\\t\\n\\t\\tvar split = stg.split(\\\".\\\");\\n\\t\\tconsole.log(\\\"afiqahhh: \\\",split);\\n\\t\\n\\t\\tvar dec = split[1];\\n\\t\\tconsole.log(\\\"afiqahhh: \\\", dec);\\n\\t\\n\\t\\tvar spl = dec.match(/.{1,3}/g);\\n\\t\\tconsole.log(\\\"afiqahhhh: \\\", spl);\\n\\t\\t\\n\\t\\n\\t\\tvar comb = split[0] + \\\".\\\" + spl[0];\\n\\t\\tconsole.log(\\\"afiqahhhhh: \\\", comb);\\n\\t\\t\\n\\t\\t \\n\\t\\tvar fxd = parseFloat(comb);\\n\\t\\tconsole.log(\\\"afiqahhhhhh: \\\",fxd);\\n\\t\\tvar conv = fxd.toFixed(2);\\n\\t\\tconsole.log(\\\"afiqahhhhhha: \\\",conv);\\n\\t\\tset_field_value(\\\"mtdc\\\",conv);\\n\\t  }\\n  \\n\\t  var mtdcc = parseFloat(data.mtdc);\\n\\t  //step 5 = MTD Current Month\\n\\t  var MTd = netMTD + mtdcc;\\n\\t  var MTD = twoNum(MTd);\\n\\t  var stmtd = MTD[0];\\n\\t  var nomtd = MTD[1];\\n\\t  console.log(\\\"af314:\\\",netMTD,mtdcc,MTd,nomtd);\\n\\t  console.log(\\\"louis13:\\\",CSP2,CSP,nocsp,CS,nocs);\\n\\t  console.log(\\\"louis14:\\\",Z,mtdB,nomb,netMTD,mtdC,conv);\\n\\t  console.log(\\\"louis15:\\\",mtdcc,MTd,nomtd);\\n\\t  \\n\\t  if(nomtd <= 0){\\n\\t\\tnomtd = nomtd ;\\n\\t\\tvar conv = 0;\\n\\t  }\\n\\t  else{\\n\\t\\tconsole.log(2501);\\n\\t\\tvar stnomtd = nomtd.toString();\\n\\t\\tvar split = stnomtd.split(\\\".\\\");  \\n\\t\\tvar dec = split[1];\\n\\t\\tvar splitt = dec.split(\\\"\\\");\\n\\t\\tvar decc = splitt[1];\\n\\t\\tvar node = parseInt(decc);\\n\\t\\tif (node<=5){\\n\\t\\t  var last = 5;\\n\\t\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t\\t}\\n\\t\\telse{\\n\\t\\t  var last = 0;\\n\\t\\t  var convv = parseInt(splitt[0]);\\n\\t\\t  var incr = convv + 1;\\n\\t\\t  var com = split[0] + \\\".\\\" + incr + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",dec, decc, node, com, conv);\\n\\t\\t}\\n\\t  }\\n\\t\\n\\t  set_field_value(\\\"mtd\\\",nomtd);\\n\\t}\\t\\n\\tvar RR = data.R_REP;\\n\\tvar TT = data.T_REP;\\n\\tconsole.log(\\\"af308: \\\",RR,TT);\\n\\t//return;\\n\\tconsole.log('2539',R,T);\\n\\n\\treturn {\\n\\t  R: R,\\n\\t  T: T,\\n\\t  mtd_rou: conv,\\n\\t};\\n  \\n  }\\n  \\n  \\n  function IRDAMTD(){\\n\\tvar data=get_data();\\n\\tvar Y = parseFloat(data.prev_acc_rem_bik_vola);\\n\\tset_field_value(\\\"Y\\\",Y);\\n\\tvar K = parseFloat(data.prev_acc_epf);\\n\\tset_field_value(\\\"K\\\",K);\\n\\tvar E = parseFloat(data.prev_net_acc_rem);\\n\\tset_field_value(\\\"E\\\",E);\\n\\tconsole.log(\\\"afi33:\\\",E);\\n  \\n\\tvar curRem = parseFloat(data.cur_net_rem);\\n\\tvar curBik = parseFloat(data.cur_bik);\\n\\tvar curVola = parseFloat(data.cur_vola);\\n\\tvar Y1 = 0;\\n\\tY1 = curRem + curBik + curVola;\\n\\tset_field_value(\\\"Y1\\\",Y1);\\n  \\n\\tvar K1 = parseFloat(data.cur_epf);\\n\\tset_field_value(\\\"K1\\\",K1);\\n\\tvar Y2 = Y1;\\n\\tset_field_value(\\\"Y2\\\",Y2);\\n  \\n\\tvar KK1 = K + K1;\\n\\tvar month = data.month;\\n\\tvar n = 12 - month;\\n\\tset_field_value(\\\"n\\\",n);\\n\\tvar K2 = 0;\\n\\tK2 = (4000 - KK1)/n;\\n  \\n\\tif (K2>K1){\\n\\t  K2 = K1;\\n\\t  var k2conv = twoNum(K2);\\n\\t  var stk2 = k2conv[0];\\n\\t  var nok2 = k2conv[1];\\n\\t  set_data({K2:nok2});\\n\\t}\\n\\telse if (K2\n                                                                                                                            <K1){\\n\\t  //K2 = K2;\\n\\t  var k2conv = twoNum(K2);\\n\\t  var stk2 = k2conv[0];\\n\\t  var nok2 = k2conv[1];\\n\\t  set_data({K2:nok2});\\n\\t}\\n  \\n\\t//value of D & S based on Status Category\\n\\tvar status = data.status_category;\\n\\tvar D = 0;\\n\\tvar S = 0;\\n  \\n\\tif (status == \\\"Single\\\" || status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t  D = 9000;\\n\\t  S = 0;\\n\\t}\\n\\telse if (status == \\\"Married and husband/wife is not working\\\"){\\n\\t  D = 9000;\\n\\t  S = 4000;\\n\\t}\\n\\n\\tset_field_value(\\\"D\\\",D);\\n\\tset_field_value(\\\"S\\\",S);\\n  \\n\\tvar disInd = data.disabled_individual;\\n\\tvar Du = 0;\\n\\tif (disInd == \\\"yes\\\"){\\n\\t  Du = 6000;\\n\\t}\\n\\telse {\\n\\t  Du = 0;\\n\\t}\\n\\tset_field_value(\\\"Du\\\",Du);\\n  \\n\\tvar disSpo = data.disabled_spouse;\\n\\tvar Su = 0;\\n\\tif (disSpo == \\\"yes\\\"){\\n\\t  Su = 3500;\\n\\t}\\n\\telse{\\n\\t  Su = 0;\\n\\t}\\n\\tset_field_value(\\\"Su\\\",Su);\\n  \\n\\t//calculate QC\\n\\tvar totalUnder18 = parseFloat(data.child_under_18_total);\\n\\tvar total18Study = parseFloat(data.child_18_study_total);\\n\\tvar total18Full = parseFloat(data.child_18_full_time_total);\\n\\tvar totalDisabled = parseFloat(data.disabled_child_total);\\n\\tvar totalDisStudy = parseFloat(data.disabled_child_study_total);\\n\\tvar QC = 0;\\n\\tQC = totalUnder18 + total18Study + total18Full + totalDisabled + totalDisStudy;\\n\\n\\tset_field_value(\\\"QC\\\",QC);\\n\\t\\n\\tvar ELP = parseFloat(data.prev_total_acc_deduct);\\n\\tset_field_value(\\\"ELP\\\",ELP);\\n\\tvar LP1 = parseFloat(data.cur_total_deduct);\\n\\tset_field_value(\\\"LP1\\\",LP1);\\n  \\n\\t//calculate P\\n\\tvar P1 = 0;\\n\\tvar P2 = 0;\\n\\tvar P = 0;\\n\\tvar Y1K1 = Y1 - K1;\\n\\tvar Y2K2 = Y2 - nok2;\\n\\t\\n\\tP1 = E + Y1K1 + (Y2K2 * n);\\n\\tvar p1conv = twoNum(P1);\\n\\tvar stp1 = p1conv[0];\\n\\tvar nop1 = p1conv[1];\\n\\t\\n\\tP2 = D + S + Du + Su + QC + ELP + LP1;\\n\\tP = nop1 - P2;\\n\\tset_field_value(\\\"P_IRDA\\\",P);\\n  \\n\\t//var formula = data.mtd_formula; \\n\\t//IRDA Rate\\n\\tvar R = 0.15;  \\n\\tset_field_value(\\\"R_IRDA\\\",R);\\n\\tvar Z = parseFloat(data.prev_total_acc_zakat); \\n\\tset_field_value(\\\"Z_IRDA\\\",Z);\\n\\tvar X = parseFloat(data.prev_acc_mtd);\\n\\tset_field_value(\\\"X_IRDA\\\",X);\\n\\t\\n\\t// Step 1 = IRDA Calculation\\n\\tvar yearlyTax = (P*R);\\n\\t\\n\\tvar yearlyTaxconv = twoNum(yearlyTax);\\n\\t  var styt = yearlyTaxconv[0];\\n\\t  var noyt = yearlyTaxconv[1];\\n\\t\\n\\tvar curMonthMTD = (noyt - (Z + X))/(n + 1);\\n\\tif (curMonthMTD <=0){\\n\\t  set_field_value(\\\"curMTD_IRDA\\\",0);\\n\\t}\\n\\telse if (curMonthMTD>0){\\n\\t  var curMonthMTDconv = twoNum(curMonthMTD);\\n\\t  var stcm = curMonthMTDconv[0];\\n\\t  var nocm = curMonthMTDconv[1];\\n\\t  set_field_value(\\\"curMTD_IRDA\\\",nocm);\\n\\t}\\n\\t\\n\\tvar curZakat = parseFloat(data.cur_zakat);\\n\\tvar curMonthMTD1 = parseFloat(data.curMTD_IRDA);\\n\\tvar netMTD = Math.round((curMonthMTD1 - curZakat) * 100) / 100;\\n\\tset_field_value(\\\"netMTD_IRDA\\\",netMTD);\\n\\t\\n\\tvar totaladd = data.cur_total_net_add_rem;\\n\\tconsole.log(\\\"af501:\\\",totaladd);\\n\\tif(totaladd == 0){\\n\\t  set_field_value(\\\"mtdb\\\",0);\\n\\t  set_field_value(\\\"Yt\\\",0);\\n\\t   set_field_value(\\\"Kt\\\",0);\\n\\t  set_data({CSK2:0});\\n\\t  set_field_value(\\\"P_CS\\\",0);\\n\\t  set_field_value(\\\"CS\\\",0);\\n\\t  set_field_value(\\\"mtdc\\\",0);\\n\\t  set_field_value(\\\"mtd\\\",netMTD);\\n\\t  if (netMTD <= 0){\\n\\t\\tvar conv = 0;\\n\\t  }\\n\\t  else{\\n\\t\\tvar nomtd = netMTD;\\n\\t\\tconsole.log(2699)\\n\\t\\tvar stnomtd = nomtd.toString();\\n\\t\\tvar split = stnomtd.split(\\\".\\\");  \\n\\t\\tvar dec = split[1];\\n\\t\\tvar splitt = dec.split(\\\"\\\");\\n\\t\\tvar decc = splitt[1];\\n\\t\\tvar node = parseInt(decc);\\n\\t\\tif (node<=5){\\n\\t\\t  var last = 5;\\n\\t\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t\\t}\\n\\t\\telse{\\n\\t\\t  var last = 0;\\n\\t\\t  var convv = parseInt(splitt[0]);\\n\\t\\t  var incr = convv + 1;\\n\\t\\t  var com = split[0] + \\\".\\\" + incr + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",dec, decc, node, com, conv);\\n\\t\\t}\\n\\t  }\\n\\t}\\n\\t\\n\\telse{\\n\\t  //Step 2 = MTD(B)\\n\\t  var mtdB = X + (curMonthMTD1*(n+1));\\n\\t  var mtdBconv = twoNum(mtdB);\\n\\t  var stmb = mtdBconv[0];\\n\\t  var nomb = mtdBconv[1];\\n\\t  set_field_value(\\\"mtdb\\\",nomb);\\n  \\n\\t  //Step 3 = Yearly Tax (CS)\\n\\t  var Yt = parseFloat(data.cur_total_add_rem);\\n\\t  set_field_value(\\\"Yt\\\",Yt);\\n\\t  var Kt = parseFloat(data.cur_add_rem_epf);\\n\\t  set_field_value(\\\"Kt\\\",Kt);\\n\\t  var KK1Kt = K + K1 + Kt;\\n\\t  var CSK2 = (4000 - KK1Kt)/n;\\n  \\n\\t  if (CSK2>K1){\\n\\t\\tCSK2 = K1;\\n\\t\\tvar csk2conv = twoNum(CSK2);\\n\\t\\tvar stcsk2 = csk2conv[0];\\n\\t\\tvar nocsk2 = csk2conv[1];\\n\\t\\tset_data({CSK2:nocsk2});\\n\\t  }\\n\\t  else if (CSK2\n                                                                                                                                <K1){\\n\\t\\t//K2 = K2;\\n\\t\\tvar csk2conv = twoNum(CSK2);\\n\\t\\tvar stcsk2 = csk2conv[0];\\n\\t\\tvar nocsk2 = csk2conv[1];\\n\\t\\tset_data({CSK2:nocsk2});\\n\\t  }\\n  \\n  \\n\\t  var Y2CSK2 = Y2 - nocsk2;\\n\\t  var YtKt = Yt - Kt;\\n\\t  \\n\\t  var CSP1 = E + Y1K1 + (Y2CSK2*n) + YtKt;\\n\\t  var csp1conv = twoNum(CSP1);\\n\\t  var stcsp1 = csp1conv[0];\\n\\t  var nocsp1 = csp1conv[1];\\n\\t\\n\\t  var CSP2 = D + S + Du + Su + QC + ELP + LP1;\\n\\t  var CSP = nocsp1 - CSP2;\\n\\t  var cspconv = twoNum(CSP);\\n\\t\\tvar stcsp = cspconv[0];\\n\\t\\tvar nocsp = cspconv[1];\\n\\t\\tset_field_value(\\\"CS\\\",nocsp);\\n\\t  //set_field_value(\\\"P_CS\\\",CSP);\\n\\t  var CS = (CSP*R);\\n\\t  if (CS <=0){\\n\\t\\tset_field_value(\\\"CS\\\",0);\\n\\t  }\\n\\t  else if (CS>0){\\n\\t\\tvar csconv = twoNum(CS);\\n\\t\\tvar stcs = csconv[0];\\n\\t\\tvar nocs = csconv[1];\\n\\t\\tset_field_value(\\\"CS\\\",nocs);\\n\\t  }\\n\\t\\n\\t  //Step 4 = Additional Remuneration\\n\\t  var mtdC = nocs - (nomb + Z);\\n\\t  if (mtdC <=0){\\n\\t\\tset_field_value(\\\"mtdc\\\",0);\\n\\t  }\\n\\t  else if (mtdC>0){\\n\\t\\t/*var mtdcconv = twoNum(mtdC);\\n\\t\\tvar stmtdc = mtdcconv[0];\\n\\t\\tvar nomtdc = mtdcconv[1];\\n\\t\\tset_field_value(\\\"mtdc\\\",nomtdc);*/\\n\\t\\tconsole.log(2791);\\n\\t\\tvar stg = mtdC.toString();\\n\\t\\tconsole.log(\\\"afiqahh: \\\",stg);\\n\\t\\n\\t\\tvar check = stg.includes(\\\".\\\");\\n\\t\\tif (check == false){\\n\\t\\t  check = str.toFixed(2);\\n\\t\\t  console.log(\\\"afiqah0: \\\",check);\\n\\t\\t  console.log(2799);\\n\\t\\t  stg = check.toString();\\n\\t\\t  console.log(\\\"afiqah00: \\\",stg);\\n\\t\\t}\\n\\t\\n\\t\\tvar split = stg.split(\\\".\\\");\\n\\t\\tconsole.log(\\\"afiqahhh: \\\",split);\\n\\t\\n\\t\\tvar dec = split[1];\\n\\t\\tconsole.log(\\\"afiqahhh: \\\", dec);\\n\\t\\n\\t\\tvar spl = dec.match(/.{1,3}/g);\\n\\t\\tconsole.log(\\\"afiqahhhh: \\\", spl);\\n\\t\\t\\n\\t\\n\\t\\tvar comb = split[0] + \\\".\\\" + spl[0];\\n\\t\\tconsole.log(\\\"afiqahhhhh: \\\", comb);\\n\\t\\t\\n\\t\\t \\n\\t\\tvar fxd = parseFloat(comb);\\n\\t\\tconsole.log(\\\"afiqahhhhhh: \\\",fxd);\\n\\t\\tvar conv = fxd.toFixed(2);\\n\\t\\tconsole.log(\\\"afiqahhhhhha: \\\",conv);\\n\\t\\tset_field_value(\\\"mtdc\\\",conv);\\n\\t  }\\n  \\n\\t  var mtdcc = parseFloat(data.mtdc);\\n\\t  //step 5 = MTD Current Month\\n\\t  var MTd = netMTD + mtdcc;\\n\\t  var MTD = twoNum(MTd);\\n\\t  var stmtd = MTD[0];\\n\\t  var nomtd = MTD[1];\\n\\t  console.log(\\\"af314:\\\",netMTD,mtdcc,MTd,nomtd);\\n\\t \\n\\t  if(nomtd <= 0){\\n\\t\\tnomtd = nomtd ;\\n\\t\\tvar conv = 0;\\n\\t  }\\n\\t  else{\\n\\t\\t  console.log(2838);\\n\\t\\tvar stnomtd = nomtd.toString();\\n\\t\\tvar split = stnomtd.split(\\\".\\\");  \\n\\t\\tvar dec = split[1];\\n\\t\\tvar splitt = dec.split(\\\"\\\");\\n\\t\\tvar decc = splitt[1];\\n\\t\\tvar node = parseInt(decc);\\n\\t\\tif (node<=5){\\n\\t\\t  var last = 5;\\n\\t\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t\\t}\\n\\t\\telse{\\n\\t\\t  var last = 0;\\n\\t\\t  var convv = parseInt(splitt[0]);\\n\\t\\t  var incr = convv + 1;\\n\\t\\t  var com = split[0] + \\\".\\\" + incr + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",dec, decc, node, com, conv);\\n\\t\\t}\\n\\t  }\\n\\t\\n\\t  set_field_value(\\\"mtd\\\",nomtd);\\n\\t}\\n\\t\\n  /*\\n\\t//Step 2 = MTD(B)\\n\\tvar mtdB = X + (curMonthMTD1*(n+1));\\n\\tvar mtdBconv = twoNum(mtdB);\\n\\t  var stmb = mtdBconv[0];\\n\\t  var nomb = mtdBconv[1];\\n\\tset_field_value(\\\"mtdb\\\",nomb);\\n  \\n  \\n\\t//Step 3 = Yearly Tax (CS)\\n\\tvar Yt = parseFloat(data.cur_total_add_rem);\\n\\tset_field_value(\\\"Yt\\\",Yt);\\n\\tvar Kt = parseFloat(data.cur_add_rem_epf);\\n\\tset_field_value(\\\"Kt\\\",Kt);\\n\\tvar KK1Kt = K + K1 + Kt;\\n\\tvar CSK2 = (4000 - KK1Kt)/n;\\n  \\n\\tif (CSK2>K1){\\n\\t  CSK2 = K1;\\n\\t  var csk2conv = twoNum(CSK2);\\n\\t  var stcsk2 = csk2conv[0];\\n\\t  var nocsk2 = csk2conv[1];\\n\\t  set_data({CSK2:nocsk2});\\n\\t}\\n\\telse if (CSK2\n                                                                                                                                    <K1){\\n\\t  //K2 = K2;\\n\\t  var csk2conv = twoNum(CSK2);\\n\\t  var stcsk2 = csk2conv[0];\\n\\t  var nocsk2 = csk2conv[1];\\n\\t  set_data({CSK2:nocsk2});\\n\\t}\\n  \\n\\tvar Y2CSK2 = Y2 - CSK2;\\n\\tvar YtKt = Yt - Kt;\\n\\t\\n\\tvar CSP1 = E + Y1K1 + (Y2CSK2*n) + YtKt;\\n\\tvar csp1conv = twoNum(CSP1);\\n\\t  var stcsp1 = csp1conv[0];\\n\\t  var nocsp1 = csp1conv[1];\\n\\t\\n\\tvar CSP2 = D + S + Du + Su + QC + ELP + LP1;\\n\\tvar CSP = nocsp1 - CSP2;\\n\\tset_field_value(\\\"P_CS\\\",CSP);\\n\\tvar CS = (CSP*R);\\n\\tif (CS <=0){\\n\\t  set_field_value(\\\"CS\\\",0);\\n\\t}\\n\\telse if (CS>0){\\n\\t  var csconv = twoNum(CS);\\n\\t  var stcs = csconv[0];\\n\\t  var nocs = csconv[1];\\n\\t  set_field_value(\\\"CS\\\",nocs);\\n\\t}\\n\\t\\n\\t//Step 4 = Additional Remuneration\\n\\tvar mtdC = nocs - (mtdB + Z);\\n\\tif (mtdC <=0){\\n\\t  set_field_value(\\\"mtdc\\\",0);\\n\\t}\\n\\telse if (mtdC>0){\\n\\t  var mtdcconv = twoNum(mtdC);\\n\\t  var stmtdc = mtdcconv[0];\\n\\t  var nomtdc = mtdcconv[1];\\n\\t  set_field_value(\\\"mtdc\\\",nomtdc);\\n\\t}\\n  \\n\\tvar mtdcc = parseFloat(data.mtdc);\\n\\t//step 5 = MTD Current Month\\n\\tvar MTd = netMTD + mtdcc;\\n\\tvar MTD = twoNum(MTd);\\n\\tvar stmtd = MTD[0];\\n\\tvar nomtd = MTD[1];\\n\\tconsole.log(\\\"af314:\\\",netMTD,mtdcc,MTd,nomtd);\\n\\t\\n\\tvar stnomtd = nomtd.toString();\\n\\tvar split = stnomtd.split(\\\".\\\");  \\n\\tvar dec = split[1];\\n\\tvar splitt = dec.split(\\\"\\\");\\n\\tvar decc = splitt[1];\\n\\tvar node = parseInt(decc);\\n\\tif (node<=5){\\n\\t  var last = 5;\\n\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t  var conv = parseFloat(com);\\n\\t  console.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t}\\n\\telse{\\n\\t  var last = 0;\\n\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t  var conv = parseFloat(com);\\n\\t  console.log(\\\"af315:\\\",dec, decc, node, com, conv);\\n\\t}\\n\\t\\n\\tset_field_value(\\\"mtd\\\",nomtd);\\n\\t*/\\n\\t\\n\\treturn {\\n\\t  mtd_rou: conv,\\n\\t};\\n  \\n\\t\\n  }\\n  \\n  function NonResidentMTD(){\\n\\tvar data=get_data();\\n\\tvar curRem = data.non_res_cur_rem;\\n\\tset_field_value(\\\"non_res_cur_remm\\\",curRem);\\n\\tvar curBik = data.non_res_cur_bik;\\n\\tset_field_value(\\\"non_res_bikk\\\",curBik);\\n\\tvar curVola = data.non_res_cur_vola;\\n\\tset_field_value(\\\"non_res_volaa\\\",curVola);\\n\\tvar curAddRem = data.cur_total_add_rem;\\n\\tset_field_value(\\\"non_res_add_remm\\\",curAddRem);\\n\\tvar total = 0;\\n\\ttotal = curRem + curBik + curVola + curAddRem ;\\n\\tvar MTd = total * 0.28;\\n\\tvar MTD = twoNum(MTd);\\n\\tvar stmtd = MTD[0];\\n\\tvar nomtd = MTD[1];\\n\\tconsole.log(2984);\\n\\tvar stnomtd = nomtd.toString();\\n\\tvar split = stnomtd.split(\\\".\\\");  \\n\\tvar dec = split[1];\\n\\tvar splitt = dec.split(\\\"\\\");\\n\\tvar decc = splitt[1];\\n\\tvar node = parseInt(decc);\\n\\tif (node<=5){\\n\\t  var last = 5;\\n\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t  var conv = parseFloat(com);\\n\\t  console.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t}\\n\\telse{\\n\\t  var last = 0;\\n\\t  var convv = parseInt(splitt[0]);\\n\\t  var incr = convv + 1;\\n\\t  var com = split[0] + \\\".\\\" + incr + last;\\n\\t  var conv = parseFloat(com);\\n\\t  console.log(\\\"af315:\\\",dec, decc, node, com, conv);\\n\\t}\\n\\tset_field_value(\\\"non_res_mtdd\\\",nomtd);\\n\\treturn {\\n\\t  mtd_rou: conv,\\n\\t};\\n  }\\n  \\n  \\n  async function calculate(){\\n  \\n\\tvar data = get_data();\\n\\t\\n\\tif (!data.fullname && !data.fname) throw \\\"Missing Name\\\";\\n\\tif (!data.employment_category) throw \\\"Missing Employment Category\\\";\\n\\tif (!data.type_of_residency) throw \\\"Missing Type of Residency\\\";\\n\\tif (!data.mtd_formula) throw \\\"Missing MTD Formula\\\";\\n\\tif (!data.month) throw \\\"Missing Month\\\";\\n\\tif (data.status_category!=\\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\") throw \\\"Invalid Status Category for Alimony\\\";\\n\\tif (data.gender==null) throw \\\"Missing Gender\\\";\\n\\tif (data.gender==\\\"Male\\\") throw  \\\"Only Women is Eligible to Breastfeeding Equipment Reduction\\\";\\n\\t\\n\\tvar types = data.type_of_residency;\\n\\tif(types != \\\"Non-Resident\\\"){\\n\\t  if (!data.status_category) throw \\\"Missing Status Category\\\";\\n\\t}\\n\\t\\n\\tvar emp_cat = data.employment_category;\\n\\tif (emp_cat == 1 && types == \\\"Resident\\\"){\\n\\t  if (!data.prev_acc_rem_bik_vola) throw \\\"Missing Accumulated remuneration/Benefit-in-Kind (BIK)/Value of Living Accommodation (VOLA)\\\";\\n\\t  if (!data.cur_net_rem) throw \\\"Missing Current Month's Remuneration\\\";\\n\\t}\\n\\telse if (emp_cat == 1 && types == \\\"Non-Resident\\\"){\\n\\t\\t  if (!data.non_res_cur_rem) throw \\\"Missing Current Month's Remuneration\\\";\\n\\t}\\n\\telse if (emp_cat == 2 && types == \\\"Non-Resident\\\"){\\n\\t\\t  if (!data.non_res_cur_rem) throw \\\"Missing Current Month's Remuneration\\\";\\n\\t}\\n\\telse{\\n\\t  if (!data.cur_net_rem) throw \\\"Missing Current Month's Remuneration\\\";\\n\\t}\\n\\t\\n\\tvar formulaaa = data.mtd_formula;\\n\\tif(types == \\\"Resident\\\" && formulaaa == \\\"28%\\\"){\\n\\t  alert(\\\"28% of remuneration after deduct  tax exempt allowances is only for Non-Resident. Please correct your MTD Formula in the Personal Details section\\\");\\n\\t  return;\\n\\t}\\n\\t\\n\\tvar months = data.month;\\n\\tvar years = data.year;\\n\\tvar code = data.fullname;\\n\\t//console.log(\\\"afiqah: \\\",code);\\n\\tif(!code){\\n\\t  var full = data.fname;\\n\\t}\\n\\telse{\\n\\t  var cond = [\\\"number\\\",\\\"=\\\",code];\\n\\t  var field = [\\\"first_name\\\",\\\"surname\\\",\\\"number\\\"];\\n\\t  var res = await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[cond],field]);\\n\\t  var first = res[0].first_name;\\n\\t  var last = res[0].surname;\\n\\t  var full = first+\\\" \\\"+last;\\n\\t  //console.log(\\\"afiqahh: \\\",full);\\n\\t}\\n\\t\\n\\tvar type = data.type_of_residency;\\n\\tvar formula = data.mtd_formula;\\n  \\n\\tif(formula==\\\"Normal\\\"){\\n\\t  //NormalMTD();\\n\\t  var Normal_vals = await NormalMTD();\\n\\t  var M = Normal_vals.M;\\n\\t  var R = Normal_vals.R;\\n\\t  var B = Normal_vals.B;\\n\\t  var mtd_rou = Normal_vals.mtd_rou;\\n\\t  console.log(\\\"af103: \\\",M,R,B,mtd_rou);\\n\\t}\\n\\telse if(formula==\\\"REP\\\"){\\n\\t  //REPMTD();\\n\\t  var REP_vals = await REPMTD();\\n\\t  var R = REP_vals.R;\\n\\n\\t  var T = REP_vals.T;\\n\\t  var mtd_rou = REP_vals.mtd_rou;\\n\\t  console.log(\\\"af309:\\\", R,T,mtd_rou);\\n\\t}\\n\\telse if(formula==\\\"IRDA\\\"){\\n\\t  //IRDAMTD();\\n\\t  var IRDA_vals = await IRDAMTD();\\n\\t  var mtd_rou = IRDA_vals.mtd_rou;\\n\\t  console.log(\\\"af309:\\\",mtd_rou);\\n\\t}\\n\\telse if (formula==\\\"28%\\\"){\\n\\t  //NonResidentMTD();\\n\\t  var NON_vals = await NonResidentMTD();\\n\\t  var mtd_rou = NON_vals.mtd_rou;    \\n\\t}\\n\\t\\n\\t/*var MM = data.M;\\n\\tvar RR = data.R_res;\\n\\tvar BB = data.B;\\n\\tconsole.log(\\\"af102: \\\",MM,RR,BB)\\n\\tvar TT = data.T_REP;\\n\\tconsole.log(\\\"af307: \\\",RR,TT)*/\\n  \\n\\tvar vals1={\\n    id_no:data.id_no,\\n\\t  full_name:full,\\n\\t  employment_category:data.employment_category,\\n\\t  type_of_residency:data.type_of_residency,\\n\\t  mtd_formula:data.mtd_formula,\\n\\t  status_category:data.status_category,\\n\\t  disabled_individual:data.disabled_individual,\\n\\t  disabled_spouse:data.disabled_spouse,\\n\\t  month: data.month,\\n\\t  year: data.year,\\n\\t  child_under_18_50: data.child_under_18_50,\\n\\t  child_under_18_100: data.child_under_18_100,\\n\\t  child_under_18_total: data.child_under_18_total,\\n\\t  child_18_study_50: data.child_18_study_50,\\n\\t  child_18_study_100: data.child_18_study_100,\\n\\t  child_18_study_total: data.child_18_study_total,\\n\\t  child_18_full_time_50: data.child_18_full_time_50,\\n\\t  child_18_full_time_100: data.child_18_full_time_100,\\n\\t  child_18_full_time_total: data.child_18_full_time_total,\\n\\t  disabled_child_50: data.disabled_child_50,\\n\\t  disabled_child_100: data.disabled_child_100,\\n\\t  disabled_child_total: data.disabled_child_total,\\n\\t  disabled_child_study_50: data.disabled_child_study_50,\\n\\t  disabled_child_study_100: data.disabled_child_study_100,\\n\\t  disabled_child_study_total: data.disabled_child_study_total,\\n\\t  prev_acc_rem_bik_vola: data.prev_acc_rem_bik_vola,\\n\\t  prev_acc_epf: data.prev_acc_epf,\\n\\t  prev_net_acc_rem: data.prev_net_acc_rem,\\n\\t  prev_acc_mtd: data.prev_acc_mtd,\\n\\t  prev_total_acc_zakat: data.prev_total_acc_zakat,\\n\\t  prev_med_exp: data.prev_med_exp,\\n\\t  prev_father_relief: data.prev_father_relief,\\n\\t  prev_mother_relief: data.prev_mother_relief,\\n\\t  prev_support_disabled: data.prev_support_disabled,\\n\\t  prev_edu_fees: data.prev_edu_fees,\\n\\t  prev_med_exp_serious: data.prev_med_exp_serious,\\n\\t  prev_com_med_exam: data.prev_com_med_exam,\\n\\t  prev_total_a_b: data.prev_total_a_b,\\n\\t  prev_net_dep_sspn: data.prev_net_dep_sspn,\\n\\t  prev_alimony: data.prev_alimony,\\n\\t  prev_ins_ret_civ_ser: data.prev_ins_ret_civ_ser,\\n\\t  prev_ins_oth_ret_civ_ser: data.prev_ins_oth_ret_civ_ser,\\n\\t  prev_edu_med_ins_prem: data.prev_edu_med_ins_prem,\\n\\t  prev_def_annuity: data.prev_def_annuity,\\n\\t  prev_socso_cont: data.prev_socso_cont,\\n\\t  prev_purch: data.prev_purch,\\n\\t  prev_purch_bre_equip: data.prev_purch_bre_equip,\\n\\t  prev_fee_child_care: data.prev_fee_child_care,\\n\\t  prev_total_acc_deduct: data.prev_total_acc_deduct,\\n\\t  cur_mon_rem: data.cur_net_rem,\\n\\t  cur_mon_epf: data.cur_epf,\\n\\t  cur_total_net_rem: data.cur_total_net_rem,\\n\\t  cur_bik: data.cur_bik,\\n\\t  cur_vola: data.cur_vola,\\n\\t  cur_bonus:data.cur_bonus,\\n\\t  cur_arrears: data.cur_arrears,\\n\\t  cur_commission: data.cur_commission,\\n\\t  cur_gratuity: data.cur_gratuity,\\n\\t  cur_compensation: data.cur_compensation,\\n\\t  cur_director_fee: data.cur_director_fee,\\n\\t  cur_inc_tax_on_behalf: data.cur_inc_tax_on_behalf,\\n\\t  cur_others: data.cur_others,\\n\\t  cur_total_add_rem: data.cur_total_add_rem,\\n\\t  cur_add_rem_epf: data.cur_add_rem_epf,\\n\\t  cur_total_net_add_rem: data.cur_total_net_add_rem,\\n\\t  cur_med_exp: data.cur_med_exp,\\n\\t  cur_father_relief: data.cur_father_relief,\\n\\t  cur_mother_relief: data.cur_mother_relief,\\n\\t  cur_support_disabled: data.cur_support_disabled,\\n\\t  cur_edu_fees: data.cur_edu_fees,\\n\\t  cur_med_exp_serious: data.cur_med_exp_serious,\\n\\t  cur_com_med_exam: data.cur_com_med_exam,\\n\\t  cur_total_a_b: data.cur_total_a_b,\\n\\t  cur_net_dep_sspn: data.cur_net_dep_sspn,\\n\\t  cur_alimony: data.prev_alimony,\\n\\t  cur_ins_ret_civ_ser: data.cur_ins_ret_civ_ser,\\n\\t  cur_ins_oth_ret_civ_ser: data.cur_ins_oth_ret_civ_ser,\\n\\t  cur_edu_med_ins_prem: data.cur_edu_med_ins_prem,\\n\\t  cur_def_annuity: data.cur_def_annuity,\\n\\t  cur_socso_cont: data.cur_socso_cont,\\n\\t  cur_purch: data.cur_purch,\\n\\t  cur_purch_bre_equip: data.cur_purch_bre_equip,\\n\\t  cur_fee_child_care: data.cur_fee_child_care,\\n\\t  cur_total_deduct: data.cur_total_deduct,\\n\\t  cur_zakat: data.cur_zakat,\\n\\t  Y: data.Y,\\n\\t  K: data.K,\\n\\t  E: data.E,\\n\\t  Y1: data.Y1,\\n\\t  K1: data.K1,\\n\\t  Y2: data.Y2,\\n\\t  K2: data.K2,\\n\\t  n: data.n,\\n\\t  D: data.D,\\n\\t  S: data.S,\\n\\t  Du: data.Du,\\n\\t  Su: data.Su,\\n\\t  QC: data.QC,\\n\\t  ELP: data.ELP,\\n\\t  LP1: data.LP1,\\n\\t  P_resident: data.P_res,\\n\\t  M: data.M,\\n\\t  R_resident: data.R_res,\\n\\t  B: data.B,\\n\\t  Z_resident: data.Z_res,\\n\\t  X_resident: data.X_res,\\n\\t  curMonthMTD_resident: data.curMTD_res,\\n\\t  netMTD_resident: data.netMTD_res,\\n\\t  P_REP: data.P_REP,\\n\\t  R_REP: data.R_REP,\\n\\t  T: data.T_REP,\\n\\t  Z_REP: data.Z_REP,\\n\\t  X_REP: data.X_REP,\\n\\t  curMonthMTD_REP: data.curMTD_REP,\\n\\t  netMTD_REP: data.netMTD_REP,\\n\\t  P_IRDA: data.P_IRDA,\\n\\t  R_IRDA: data.R_IRDA,\\n\\t  Z_IRDA: data.Z_IRDA,\\n\\t  X_IRDA: data.X_IRDA,\\n\\t  curMonthMTD_IRDA: data.curMTD_IRDA,\\n\\t  netMTD_IRDA: data.netMTD_IRDA,\\n\\t  mtdb: data.mtdb,\\n\\t  Yt: data.Yt,\\n\\t  Kt: data.Kt,\\n\\t  P_CS: data.P_CS,\\n\\t  CS: data.CS,\\n\\t  mtdC: data.mtdc,\\n\\t  mtd: data.mtd,\\n\\t\\tmtd_round:mtd_rou,\\n\\t\\tQ:data.Q,\\n\\t\\tC:data.C,\\n\\t};\\n  \\n\\tvar vals2={\\n    id_no:data.id_no,\\n\\t  full_name:full,\\n\\t  employment_category:data.employment_category,\\n\\t  type_of_residency:data.type_of_residency,\\n\\t  mtd_formula:data.mtd_formula,\\n\\t  status_category:data.status_category,\\n\\t  disabled_individual:data.disabled_individual,\\n\\t  disabled_spouse:data.disabled_spouse,\\n\\t  month: data.month,\\n\\t  year: data.year,\\n\\t  child_under_18_50: data.child_under_18_50,\\n\\t  child_under_18_100: data.child_under_18_100,\\n\\t  child_under_18_total: data.child_under_18_total,\\n\\t  child_18_study_50: data.child_18_study_50,\\n\\t  child_18_study_100: data.child_18_study_100,\\n\\t  child_18_study_total: data.child_18_study_total,\\n\\t  child_18_full_time_50: data.child_18_full_time_50,\\n\\t  child_18_full_time_100: data.child_18_full_time_100,\\n\\t  child_18_full_time_total: data.child_18_full_time_total,\\n\\t  disabled_child_50: data.disabled_child_50,\\n\\t  disabled_child_100: data.disabled_child_100,\\n\\t  disabled_child_total: data.disabled_child_total,\\n\\t  disabled_child_study_50: data.disabled_child_study_50,\\n\\t  disabled_child_study_100: data.disabled_child_study_100,\\n\\t  disabled_child_study_total: data.disabled_child_study_total,\\n\\t  prev_acc_rem_bik_vola: data.prev_acc_rem_bik_vola,\\n\\t  prev_acc_epf: data.prev_acc_epf,\\n\\t  prev_net_acc_rem: data.prev_net_acc_rem,\\n\\t  prev_acc_mtd: data.prev_acc_mtd,\\n\\t  prev_total_acc_zakat: data.prev_total_acc_zakat,\\n\\t  prev_med_exp: data.prev_med_exp,\\n\\t  prev_father_relief: data.prev_father_relief,\\n\\t  prev_mother_relief: data.prev_mother_relief,\\n\\t  prev_support_disabled: data.prev_support_disabled,\\n\\t  prev_edu_fees: data.prev_edu_fees,\\n\\t  prev_med_exp_serious: data.prev_med_exp_serious,\\n\\t  prev_com_med_exam: data.prev_com_med_exam,\\n\\t  prev_total_a_b: data.prev_total_a_b,\\n\\t  prev_net_dep_sspn: data.prev_net_dep_sspn,\\n\\t  prev_alimony: data.prev_alimony,\\n\\t  prev_ins_ret_civ_ser: data.prev_ins_ret_civ_ser,\\n\\t  prev_ins_oth_ret_civ_ser: data.prev_ins_oth_ret_civ_ser,\\n\\t  prev_edu_med_ins_prem: data.prev_edu_med_ins_prem,\\n\\t  prev_def_annuity: data.prev_def_annuity,\\n\\t  prev_socso_cont: data.prev_socso_cont,\\n\\t  prev_purch: data.prev_purch,\\n\\t  prev_purch_bre_equip: data.prev_purch_bre_equip,\\n\\t  prev_fee_child_care: data.prev_fee_child_care,\\n\\t  prev_total_acc_deduct: data.prev_total_acc_deduct,\\n\\t  cur_mon_rem: data.cur_net_rem,\\n\\t  cur_bik: data.cur_bik,\\n\\t  cur_vola: data.cur_vola,\\n\\t  cur_bonus:data.cur_bonus,\\n\\t  cur_arrears: data.cur_arrears,\\n\\t  cur_commission: data.cur_commission,\\n\\t  cur_gratuity: data.cur_gratuity,\\n\\t  cur_compensation: data.cur_compensation,\\n\\t  cur_director_fee: data.cur_director_fee,\\n\\t  cur_inc_tax_on_behalf: data.cur_inc_tax_on_behalf,\\n\\t  cur_others: data.cur_others,\\n\\t  cur_total_add_rem: data.cur_total_add_rem,\\n\\t  cur_add_rem_epf: data.cur_add_rem_epf,\\n\\t  cur_total_net_add_rem: data.cur_total_net_add_rem,\\n\\t  cur_med_exp: data.cur_med_exp,\\n\\t  cur_father_relief: data.cur_father_relief,\\n\\t  cur_mother_relief: data.cur_mother_relief,\\n\\t  cur_support_disabled: data.cur_support_disabled,\\n\\t  cur_edu_fees: data.cur_edu_fees,\\n\\t  cur_med_exp_serious: data.cur_med_exp_serious,\\n\\t  cur_com_med_exam: data.cur_com_med_exam,\\n\\t  cur_total_a_b: data.cur_total_a_b,\\n\\t  cur_net_dep_sspn: data.cur_net_dep_sspn,\\n\\t  cur_alimony: data.prev_alimony,\\n\\t  cur_ins_ret_civ_ser: data.cur_ins_ret_civ_ser,\\n\\t  cur_ins_oth_ret_civ_ser: data.cur_ins_oth_ret_civ_ser,\\n\\t  cur_edu_med_ins_prem: data.cur_edu_med_ins_prem,\\n\\t  cur_def_annuity: data.cur_def_annuity,\\n\\t  cur_socso_cont: data.cur_socso_cont,\\n\\t  cur_purch: data.cur_purch,\\n\\t  cur_purch_bre_equip: data.cur_purch_bre_equip,\\n\\t  cur_fee_child_care: data.cur_fee_child_care,\\n\\t  cur_total_deduct: data.cur_total_deduct,\\n\\t  cur_zakat: data.cur_zakat,\\n\\t  non_res_cur_rem:data.non_res_cur_remm,\\n\\t  non_res_bik: data.non_res_bikk,\\n\\t  non_res_vola: data.non_res_volaa,\\n\\t  non_res_add_rem: data.non_res_add_remm,\\n\\t  non_res_mtd: data.non_res_mtdd,\\n\\t  mtd_round_none: mtd_rou,\\n\\t};\\n  \\n\\tif(type==\\\"Resident\\\"){\\n\\t  await rpc_execute(\\\"hr2.pcb\\\",\\\"create\\\",[vals1]);\\n\\t}\\n\\telse if(type==\\\"Non-Resident\\\"){\\n\\t  await rpc_execute(\\\"hr2.pcb\\\",\\\"create\\\",[vals2]);\\n\\t}\\n  \\n\\tvar formula = data.mtd_formula;\\n\\talert(\\\"Calculation completed\\\");\\n\\ton_load();\\n\\tvar pages = 1;\\n\\t\\n\\tconsole.log(\\\"af401:\\\",formula);\\n\\t\\n\\tredirect_page(\\\"pcb_form_view\\\",{page:pages,fname:full,month:months,year:years,form:formula})\\n  }\\n  \\n  \\n  \\n  function twoNumm(str){\\n\\tconsole.log(3347);\\n\\tvar stg = str.toString();\\n\\tconsole.log(\\\"afiqahh: \\\",stg);\\n\\t\\n\\tvar check = stg.includes(\\\".\\\");\\n\\tif (check == false){\\n\\t  check = str.toFixed(2);\\n\\t  console.log(\\\"afiqah0: \\\",check);\\n\\t  console.log(3355);\\n\\t  stg = check.toString();\\n\\t  console.log(\\\"afiqah00: \\\",stg);\\n\\t}\\n\\t\\n\\tvar split = stg.split(\\\".\\\");\\n\\tconsole.log(\\\"afiqahhh: \\\",split);\\n\\t\\n\\tvar dec = split[1];\\n\\tconsole.log(\\\"afiqahhh: \\\", dec);\\n\\t\\n\\tvar spl = dec.match(/.{1,2}/g);\\n\\tconsole.log(\\\"afiqahhhh: \\\", spl);\\n\\t\\n\\tvar comb = split[0] + \\\".\\\" + spl[0];\\n\\tconsole.log(\\\"afiqahhhhh: \\\", comb);\\n\\t\\n\\tvar conv = parseFloat(comb);\\n\\tconsole.log(\\\"afiqahhhhhh: \\\",conv);\\n\\t\\n\\tvar arr = [comb,conv];\\n\\t\\n\\treturn arr;\\n  }\\n  \\n  \\n  async function load_options(query) {\\n\\t\\n\\tvar data = get_data();\\n\\tvar name = data.name;\\n\\tconsole.log(\\\"load_options\\\",query);\\n\\tvar fields = [\\\"first_name\\\",\\\"surname\\\",\\\"number\\\"];\\n\\tvar res = await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[],fields]);\\n\\tvar first = res[0].first_name;\\n\\t//console.log(\\\"afi: \\\",first);\\n\\t\\n\\tvar slct = [];\\n\\tres.forEach(o=>{\\n\\t  slct.push({\\n\\t\\tvalue: o.number,\\n\\t\\tlabel: \\\"[\\\"+o.number+\\\"] \\\"+o.first_name+\\\" \\\"+o.surname,\\n\\t  });\\n\\t});\\n\\treturn slct;\\n  }\\n  \\n  function back(){\\n\\t redirect_page(\\\"existing_pcb\\\");\\n  }\\n  \\n  function twoNum(str){\\n\\tconsole.log(3406);\\n\\tconsole.log(str);\\n\\tvar stg = str.toString();\\n\\tconsole.log(\\\"afiqahh: \\\",stg);\\n\\t\\n\\tvar check = stg.includes(\\\".\\\");\\n\\tif (check == false){\\n\\t  check = str.toFixed(2);\\n\\t  console.log(\\\"afiqah0: \\\",check);\\n\\t  console.log(3414);\\n\\t  stg = check.toString();\\n\\t  console.log(\\\"afiqah00: \\\",stg);\\n\\t}\\n\\t\\n\\tvar split = stg.split(\\\".\\\");\\n\\tconsole.log(\\\"afiqahhh: \\\",split);\\n\\t\\n\\tvar dec = split[1];\\n\\tconsole.log(\\\"afiqahhh: \\\", dec);\\n\\t//alert(dec);\\n\\tconsole.log(stg,3425);\\n\\tvar strnine = dec.toString();\\n\\t\\n\\tvar splnine = strnine.split(\\\"\\\");\\n\\tvar nine_1 = splnine[1];\\n\\tif (nine_1 == 9){ \\n\\t  var same1 = true;\\n\\t};\\n\\tvar nine_2 = splnine[2];\\n\\tif (nine_2 == 9){ \\n\\t  var same2 = true;\\n\\t};\\n\\tvar nine_3 = splnine[3];\\n\\tif (nine_3 == 9){ \\n\\t  var same3 = true;\\n\\t};\\n\\t\\n\\tif(same1 == true && same2 == true && same3 == true){\\n\\t  var nin = splnine[0];\\n\\t  //var nine_11= parseInt(nine_1);\\n\\t  var ninn= parseInt(nin);\\n\\t  var ninnn = ninn + 1;\\n\\t  var end = 0;\\n\\t  var comb = split[0] + \\\".\\\" + ninnn + end;\\n\\t  console.log(\\\"afiqahhhhh: \\\", comb);\\n\\t  \\n\\t  var conv = parseFloat(comb);\\n\\t  console.log(\\\"afiqahhhhhh: \\\",conv);\\n\\t  \\n\\t  var arr = [\\\"0\\\",conv];\\n\\t  \\n\\t  return arr;\\n\\t  \\n\\t}\\n\\telse{\\n\\t  var spl = dec.match(/.{1,2}/g);\\n\\t  console.log(\\\"afiqahhhh: \\\", spl);\\n\\t\\n\\t  var comb = split[0] + \\\".\\\" + spl[0];\\n\\t  console.log(\\\"afiqahhhhh: \\\", comb);\\n\\t  \\n\\t  var conv = parseFloat(comb);\\n\\t  console.log(\\\"afiqahhhhhh: \\\",conv);\\n\\t  \\n\\t  var arr = [comb,conv];\\n\\t  \\n\\t  return arr;\\n\\t}\\n\\t\\n  }\\n  \"}, \"pcb_main\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\"}, {\"type\": \"image\", \"min_height\": 50, \"image_file\": \"Smart-B,HE5GVBSc19E=.png\", \"width\": \"250\", \"height\": \"250\", \"padding_right\": 50, \"padding_left\": 65, \"margin_right\": 50, \"margin_left\": 70}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\\n\\n\\n\"}, {\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"PCB CALCULATOR\"}, {\"attributes\": {\"align\": \"center\", \"header\": 1}, \"insert\": \"\\n\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [2, 4], \"_col_widths\": \"[2,4]\", \"min_height\": 50}, {\"type\": \"block\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"NAME\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"I I/C NUMBER\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MONTH\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"STATUS\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MARITAL STATUS\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DISABLED INDIVIDUAL\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DISABLED SPOUSE\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \" :\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \" :\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \" :\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \" :\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \" :\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \" :\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \" :\\n\"}]}}]}, {\"children\": [{\"type\": \"text\"}, {\"type\": \"text\"}, {\"type\": \"text\"}, {\"type\": \"text\"}, {\"type\": \"text\"}, {\"type\": \"text\"}, {\"type\": \"text\"}]}], \"num_cols\": 3, \"col_widths\": [2, 0.2, 3], \"_col_widths\": \"[2,0.2,3]\", \"border_color\": \"rgba(0,0,0,0.89)\", \"min_height\": null, \"margin_right\": 30, \"margin_left\": 70, \"background_color\": \"rgba(66,110,111,0.66)\", \"padding_right\": 50, \"padding_left\": 30, \"hover_background_color\": \"#000000\"}, {\"type\": \"text\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#bbbbbb\", \"bold\": true}, \"insert\": \"              \"}, {\"attributes\": {\"background\": \"#000000\", \"color\": \"#bbbbbb\", \"bold\": true}, \"insert\": \"   CHILDREN\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Eligible Rate\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\", \"background\": \"#000000\", \"bold\": true}, \"insert\": \"No. of Children Claimed by Ownself\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [5, 1, 1], \"_col_widths\": \"[5,1,1]\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Under the age of 18 years\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"100%\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"50%\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"18 Years & above and studying(included Certificate/Matriculation)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Above 18 years and studying full time in diploma level onwards(Malaysia) or Degree level onwards (outside Malaysia)\\n\"}]}}, {\"type\": \"text\"}, {\"type\": \"text\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled child\\n\"}]}}, {\"type\": \"text\"}, {\"type\": \"text\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled child studying in diploma or higher level (in Malaysia)/degree or its equivalent (outside Malaysia)\\n\"}]}}, {\"type\": \"text\"}, {\"type\": \"text\"}]], \"num_cols\": 3, \"num_rows\": 5, \"_col_widths\": \"[4,1,1]\", \"col_widths\": [4, 1, 1], \"table_bordered\": true, \"table_striped\": true}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#66a3e0\", \"bold\": true}, \"insert\": \"ACCUMULATED REMUNERATION/MT D/REBATE/DEDUCTION UNTIL BEFORE CURRENT MONTH FOR CURRENT YEAR(INCLUDING FROM PREVIOUS EMPLOYER\"}, {\"attributes\": {\"background\": \"#66a3e0\"}, \"insert\": \")\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated remuneration/Benefit in kind (BIK)/Value Of Living Accomodation (VOLA)\\n\"}]}}, {\"type\": \"text\"}, {\"type\": \"text\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated EPF and Other Approved Funds\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net accumulated remuneration\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated MTD  paid (including MTD on additional remuneration)\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total accumulated zakat paid\\n\"}]}}]], \"num_cols\": 3, \"num_rows\": 6, \"table_bordered\": true, \"_col_widths\": \"[4,1,1]\", \"col_widths\": [4, 1, 1]}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#66a3e0\", \"bold\": true}, \"insert\": \"OTHER ACCUMULATED DEDUCTIONS\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Medical expenses for own parents, special need and parent care; or\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Father relief\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Mother relief\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Basic suppporting equipment for disabled self,spouse,child or parent\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Education fees\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Medical expenses on serious diseases for self,spouse or child\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Complete medical examination for self,spouse, or child\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total a+b\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net deposit in Skim Simpanan Pendidikan Nasional (SSPN)\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Payment of alimony to former wife\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Life insurance premium for Retired Civil Servant\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Life insurance premium for Other than Retired Civil Servant\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Education and medical insurance premium\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Deferred annuity premium or contribution to private returement scheme\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SOSCO Contribution\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Purchase of readings,computers,smartphone,tablet,sport equipment,gymnasium membership and subscription of broadband internet\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Purchase of Breastfeeding Equipment (deduction is allowed once every 2 years for women tax payer only)\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Fees paid to Child Care Centre and Kindergartens \\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Accumulated Deductions\\n\"}]}}]], \"num_rows\": 20, \"num_cols\": 3, \"_col_widths\": \"[4,1,1]\", \"col_widths\": [4, 1, 1], \"table_bordered\": true, \"table_striped\": true}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#66a3e0\", \"bold\": true}, \"insert\": \"CURRENT MONTH'S REMUNERATION\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#f9f9f9\"}, \"insert\": \"Current month's remuneration\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"Current month's EPF and Other Approved Funds\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#f9f9f9\"}, \"insert\": \"Total net current month's remuneration\"}, {\"insert\": \"\\n\"}]}}]], \"num_cols\": 3, \"num_rows\": 4, \"_col_widths\": \"[4,1,1]\", \"col_widths\": [4, 1, 1], \"table_bordered\": true, \"table_striped\": true}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#66a3e0\", \"bold\": true}, \"insert\": \"CURRENT MONTH'S ADDITIONAL REMUNERATION\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#f9f9f9\"}, \"insert\": \"Bonus\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"Arrears\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#f9f9f9\"}, \"insert\": \"Comissions (not paid monthly)\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"Gratuity\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#f9f9f9\"}, \"insert\": \"Compensation\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"Director's fee(not paid monthly)\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#f9f9f9\"}, \"insert\": \"Income tax paid by employers on behalf of employees\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"Others\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#f9f9f9\"}, \"insert\": \"Total additional remuneration (a) to (h)\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"Additional remuneration's EPF [not exceeding rm6000 per year]\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total net additional remuneration\\n\"}]}}]], \"num_cols\": 3, \"num_rows\": 12, \"_col_widths\": \"[4,1,1]\", \"col_widths\": [4, 1, 1], \"table_bordered\": true, \"table_striped\": true}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#66a3e0\", \"bold\": true}, \"insert\": \"CURRENT MONTH'S DEDUCTION\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Medical expenses for own parents,special need and parent care; or\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Father relief\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Mother relief\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Basic supporting equipment for disabled self,spouse,child or parent\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Education fees\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Medical expenses on serious diseases for self,spouse or child\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Complete medical examination for self,spouse or child\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total a+b\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net deposit in Skim Simpanan Pendidikan Nasional(SSPN)\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Payment of alimony to former wife\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Life insurance premium for Other than Retired Civil Servant\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Life insurance premium for Other than Retired Civil Servant\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Education and medical insurance premium\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Deferred annuity premium or contribution to private returement scheme\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SOSCO Contribution\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Purchase of readings,computers,smartphone,tablet,sport equipment,gymnasium membership and subsciption of broadband internet\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Purchase of Breastfeeding Equipment(deduction is allowed once every 2 years for women taz payer only)\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Fees paid to Child Care Centre and Kindergartens\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Monthly deductions\\n\"}]}}]], \"num_cols\": 3, \"num_rows\": 20, \"_col_widths\": \"[4,1,1]\", \"col_widths\": [4, 1, 1], \"table_bordered\": true, \"table_striped\": true}], \"min_height\": 3000}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#66a3e0\", \"bold\": true}, \"insert\": \"CURRENT MONTH'S REBATE INFORMATION\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\nZakat or Fitrah\\n\"}]}}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [4, 1, 1], \"hidden\": true, \"_col_widths\": \"[4,1,1]\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#66a3e0\", \"size\": \"large\", \"bold\": true}, \"insert\": \"CALCULATION\"}, {\"insert\": \"\\n\"}]}}]}, \"code\": null}, \"pcb_form\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"PCB Form\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 70, \"margin_right\": 20, \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\", \"color\": \"#000000\", \"font_bold\": false}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"If you have filled up the form before, click here.\\n\"}]}, \"margin_top\": 8, \"font_size\": 12, \"on_click\": \"set_page(\\\"existing_pcb\\\")\", \"margin_right\": 20}], \"min_height\": null, \"name\": \"bex1\", \"dyn_props\": \"{hidden:bex1}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"If you want to fill up a new PCB Form, click here.\\n\"}]}, \"margin_top\": 8, \"margin_right\": 20, \"font_size\": 12, \"on_click\": \"set_page(\\\"existing_pcb\\\")\"}], \"min_height\": null, \"name\": \"bex2\", \"dyn_props\": \"{hidden:bex2}\", \"hidden\": true}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"smartB-logo-2-300x148,EodqyPDYCn8=,SH9laBrrYfU=,Ip6J7k7ESiQ=.png\", \"width\": \"250\", \"height\": \"120\"}]}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"margin_top\": 0, \"margin_left\": 70, \"margin_right\": 70}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Personal Details\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70, \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\", \"color\": \"#ffffff\", \"background_color\": \"#0a1e38\", \"font_bold\": false, \"margin_bottom\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Name\\n\"}]}, \"font_size\": 17, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"color\": \"#000000\", \"font_size\": 17, \"font_name\": \"Verdana\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"background_color\": \"#ffffff\", \"color\": \"#000000\", \"placeholder\": \"Name\", \"model\": \"hr2.employee\", \"name\": \"fullname\", \"hover_background_color\": \"#000000\", \"placeholder_color\": \"#000000\", \"load_options\": \"load_options(query)\", \"on_change\": \"get_id()\", \"onchange_method\": \"\"}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": null, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[1.5,0.2,3]\", \"vertical_align\": \"middle\", \"color\": \"#000000\", \"placeholder_color\": \"#000000\", \"hover_background_color\": \"#000000\", \"margin_bottom\": 20}], \"min_height\": null, \"name\": \"bname1\", \"dyn_props\": \"{hidden:bname1}\", \"margin_bottom\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Name\\n\"}]}, \"font_size\": 17, \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"font_size\": 17, \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"name\": \"fname\", \"placeholder\": \"Name\"}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": null, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[1.5,0.2,3]\", \"vertical_align\": \"middle\"}], \"min_height\": null, \"name\": \"bname2\", \"dyn_props\": \"{hidden:bname2}\", \"hidden\": true}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Gender\\n\"}]}, \"font_size\": 17, \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"_selection\": \"[[\\\"Male\\\",\\\"Male\\\"],[\\\"Female\\\",\\\"Female\\\"]]\", \"selection\": [[\"Male\", \"Male\"], [\"Female\", \"Female\"]], \"name\": \"gender\"}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_left\": 80, \"margin_right\": 80, \"min_height\": 50, \"_col_widths\": \"[1.5,0.2,3]\"}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Identity card or Passport No\\n\"}]}, \"letter_spacing\": \"3\", \"font_size\": 17, \"font_name\": \"Verdana\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"name\": \"id_no\", \"placeholder\": \"IDENTITY CARD or PASSPORT NO\"}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[1.5,0.2,3]\", \"vertical_align\": \"middle\"}], \"min_height\": 50}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Employment Category\\n\"}]}, \"font_size\": 17, \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"color\": \"#000000\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"color\": \"#000000\", \"font_size\": 17, \"font_name\": \"Verdana\", \"letter_spacing\": \"\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Employment Category\", \"_selection\": \"[[1,\\\"Previously employed in current year\\\"],[2,\\\"Previously not employed in current year\\\"]]\", \"selection\": [[1, \"Previously employed in current year\"], [2, \"Previously not employed in current year\"]], \"model\": \"hr2.employment.category\", \"name\": \"employment_category\", \"background_color\": \"#ffffff\", \"placeholder_color\": \"#000000\", \"on_change\": \"category()\"}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[1.5,0.2,3]\", \"vertical_align\": \"middle\", \"hover_background_color\": \"#000000\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Types of Residency\\n\"}]}, \"font_size\": 17, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"color\": \"#000000\", \"font_size\": 17, \"font_name\": \"Verdana\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"_selection\": \"[[\\\"Resident\\\",\\\"Resident\\\"],[\\\"Non-Resident\\\",\\\"Non-Resident\\\"]]\", \"selection\": [[\"Resident\", \"Resident\"], [\"Non-Resident\", \"Non-Resident\"]], \"placeholder\": \"Types of Residency\", \"background_color\": \"#ffffff\", \"name\": \"type_of_residency\", \"on_change\": \"category()\"}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[1.5,0.2,3]\", \"font_size\": 15, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"\", \"vertical_align\": \"middle\", \"hover_background_color\": \"#000000\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD Formula\\n\"}]}, \"font_size\": 17, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"font_size\": 17, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"MTD Formula\", \"_selection\": \"[[\\\"Normal\\\",\\\"Normal Remuneration\\\"],[\\\"REP\\\",\\\"Returning Expert Program (REP)\\\"],[\\\"IRDA\\\",\\\"Knowledge Worker at Specified Region (Iskandar Malaysia)\\\"],[\\\"28%\\\",\\\"28% of remuneration after deduct  tax exempt allowances\\\"]]\", \"selection\": [[\"Normal\", \"Normal Remuneration\"], [\"REP\", \"Returning Expert Program (REP)\"], [\"IRDA\", \"Knowledge Worker at Specified Region (Iskandar Malaysia)\"], [\"28%\", \"28% of remuneration after deduct  tax exempt allowances\"]], \"name\": \"mtd_formula\"}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[1.5,0.2,3]\", \"vertical_align\": \"middle\"}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Status Category\\n\"}]}, \"font_size\": 17, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"font_size\": 17, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Status Category\", \"_selection\": \"[[\\\"Single\\\",\\\"Category 1 = Single\\\"],[\\\"Married and husband/wife is not working\\\",\\\"Category 2 = Married and husband/wife is not working\\\"],[\\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\",\\\"Category 3 = Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"]]\", \"selection\": [[\"Single\", \"Category 1 = Single\"], [\"Married and husband/wife is not working\", \"Category 2 = Married and husband/wife is not working\"], [\"Married and husband/wife is working, divorced or widowed, or single with adopted child\", \"Category 3 = Married and husband/wife is working, divorced or widowed, or single with adopted child\"]], \"name\": \"status_category\"}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[1.5,0.2,3]\", \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled Individual\\n\"}]}, \"font_size\": 17, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"font_size\": 17, \"font_name\": \"Verdana\", \"letter_spacing\": \"\", \"color\": \"#000000\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Disabled Individual\", \"_selection\": \"[[\\\"yes\\\",\\\"Yes\\\"],[\\\"no\\\",\\\"No\\\"]]\", \"selection\": [[\"yes\", \"Yes\"], [\"no\", \"No\"]], \"name\": \"disabled_individual\"}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"vertical_align\": \"middle\", \"_col_widths\": \"[1.5,0.2,3]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled Spouse\\n\"}]}, \"font_size\": 17, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"font_size\": 17, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Disabled Spouse\", \"_selection\": \"[[\\\"yes\\\",\\\"Yes\\\"],[\\\"no\\\",\\\"No\\\"]]\", \"selection\": [[\"yes\", \"Yes\"], [\"no\", \"No\"]], \"name\": \"disabled_spouse\"}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"vertical_align\": \"middle\", \"_col_widths\": \"[1.5,0.2,3]\"}], \"min_height\": 50, \"margin_left\": null, \"margin_right\": null, \"name\": \"bperd\", \"dyn_props\": \"{hidden:bperd}\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Month\\n\"}]}, \"font_size\": 17, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"font_size\": 17, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Month\", \"_selection\": \"[[1,\\\"January\\\"],[2,\\\"February\\\"],[3,\\\"March\\\"],[4,\\\"April\\\"],[5,\\\"May\\\"],[6, \\\"June\\\"],[7,\\\"July\\\"],[8,\\\"August\\\"],[9,\\\"September\\\"],[10,\\\"October\\\"],[11,\\\"November\\\"],[12,\\\"December\\\"]]\", \"selection\": [[1, \"January\"], [2, \"February\"], [3, \"March\"], [4, \"April\"], [5, \"May\"], [6, \"June\"], [7, \"July\"], [8, \"August\"], [9, \"September\"], [10, \"October\"], [11, \"November\"], [12, \"December\"]], \"on_change\": \"\", \"name\": \"month\"}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"vertical_align\": \"middle\", \"_col_widths\": \"[1.5,0.2,3]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Year\\n\"}]}, \"font_size\": 17, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"font_size\": 17, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"Year\", \"name\": \"year\"}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"_col_widths\": \"[1.5,0.2,3]\", \"vertical_align\": \"middle\", \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80}], \"min_height\": 50, \"height\": \"\", \"dyn_props\": \"{hidden:box1}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Children - \"}, {\"insert\": \"No of children claimed by Ownself\\n\"}]}, \"margin_left\": 70, \"margin_right\": 70, \"background_color\": \"#0a1e38\", \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"font_bold\": false, \"letter_spacing\": \"2.5\", \"margin_top\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Eligible Rate\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"50%\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"font_name\": \"Verdana\", \"align\": \"center\", \"letter_spacing\": \"3\", \"color\": \"#000000\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"100%\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}]}], \"num_cols\": 4, \"col_widths\": [4, 1, 1, 1], \"margin_top\": 20, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[4,1,1,1]\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Under the age of 18 years\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"align\": \"center\", \"margin_right\": 10, \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 10, \"margin_right\": 5, \"placeholder\": \"No. of child\", \"placeholder_color\": \"#3bd9d9\", \"name\": \"child_under_18_50\", \"on_change\": \"childUnder18()\", \"onchange_method\": \"\", \"field_value\": \"\"}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 8, \"margin_right\": 8, \"placeholder\": \"No.of child\", \"name\": \"child_under_18_100\", \"on_change\": \"childUnder18()\", \"onchange_method\": \"\", \"field_value\": \"\"}, {\"type\": \"field\", \"field_type\": \"text\", \"margin_left\": 5, \"margin_right\": 10, \"placeholder\": \"RM\", \"disabled\": true, \"name\": \"child_under_18_total\", \"readonly\": false}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"18 years & above and studying (included Certificate/Matriculation)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 10, \"margin_right\": 5, \"placeholder\": \"No. of child\", \"name\": \"child_18_study_50\", \"on_change\": \"child18Study()\"}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 8, \"margin_right\": 8, \"placeholder\": \"No.of child\", \"name\": \"child_18_study_100\", \"on_change\": \"child18Study()\"}, {\"type\": \"field\", \"margin_left\": 5, \"margin_right\": 10, \"field_type\": \"text\", \"placeholder\": \"RM\", \"disabled\": true, \"name\": \"child_18_study_total\", \"readonly\": false}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Above 18 years and studying full time in Diploma level onwards (Malaysia) or Degree level onwards (outside Malaysia)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 10, \"margin_right\": 5, \"placeholder\": \"No. of child\", \"name\": \"child_18_full_time_50\", \"on_change\": \"child18FullTime()\"}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 8, \"margin_right\": 8, \"placeholder\": \"No. of child\", \"name\": \"child_18_full_time_100\", \"on_change\": \"child18FullTime()\"}, {\"type\": \"field\", \"margin_left\": 5, \"margin_right\": 10, \"field_type\": \"text\", \"placeholder\": \"RM\", \"disabled\": true, \"name\": \"child_18_full_time_total\", \"readonly\": false}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled child\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 10, \"margin_right\": 5, \"placeholder\": \"No.of child\", \"name\": \"disabled_child_50\", \"scale\": null, \"on_change\": \"childDisabled()\"}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 8, \"margin_right\": 8, \"placeholder\": \"No.of child\", \"name\": \"disabled_child_100\", \"on_change\": \"childDisabled()\"}, {\"type\": \"field\", \"field_type\": \"text\", \"margin_left\": 5, \"margin_right\": 10, \"placeholder\": \"RM\", \"disabled\": true, \"name\": \"disabled_child_total\", \"readonly\": false}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled child studying in Diploma level onwards (Malaysia) or Degree level onwards (outside Malaysia)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 10, \"margin_right\": 5, \"placeholder\": \"No. of child\", \"name\": \"disabled_child_study_50\", \"on_change\": \"childDisabledStudy()\"}, {\"type\": \"field\", \"margin_left\": 8, \"margin_right\": 8, \"field_type\": \"number\", \"placeholder\": \"No.of child\", \"name\": \"disabled_child_study_100\", \"on_change\": \"childDisabledStudy()\"}, {\"type\": \"field\", \"field_type\": \"text\", \"margin_left\": 5, \"margin_right\": 10, \"placeholder\": \"RM\", \"readonly\": false, \"disabled\": true, \"name\": \"disabled_child_study_total\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled child studying in Diploma level onwards (Malaysia) or Degree level onwards (outside Malaysia)\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"1.0\"}]], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"table_bordered\": false, \"border_color\": \"#000000\", \"border_width\": null, \"num_cols\": 4, \"_col_widths\": \"[4,1,1,1]\", \"col_widths\": [4, 1, 1, 1], \"vertical_align\": \"middle\", \"table_striped\": false, \"num_rows\": 5, \"table_hover\": false}], \"min_height\": 50, \"height\": \"450\", \"margin_top\": 10, \"dyn_props\": \"{hidden:box2}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Accumulated Remuneration/MTD/Rebate/Deduction until before current month\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  for current year - \"}, {\"insert\": \"including from previous employer\\n\"}]}, \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70, \"background_color\": \"#0a1e38\", \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"1.0\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"align\": \"center\", \"font_size\": 18, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"margin_left\": 5, \"font_bold\": false}]}], \"num_cols\": 2, \"col_widths\": [6, 1], \"margin_top\": 20, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[6,1]\", \"vertical_align\": \"middle\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated remuneration/Benefit-in-Kind (BIK)/Value of Living Accommodation (VOLA)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_right\": 10, \"margin_left\": 5, \"placeholder\": \"RM\", \"name\": \"prev_acc_rem_bik_vola\", \"on_change\": \"prevNetAccRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated EPF and other approved funds\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 5, \"margin_right\": 10, \"placeholder\": \"RM\", \"name\": \"prev_acc_epf\", \"on_change\": \"prevNetAccRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net Accumulated Remuneration\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"disabled\": true, \"name\": \"prev_net_acc_rem\", \"readonly\": false}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated MTD paid (including MTD on additional remuneration)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_acc_mtd\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total accumulated zakat paid\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_total_acc_zakat\"}]], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[6,1]\", \"col_widths\": [6, 1], \"table_bordered\": false, \"num_cols\": 2, \"num_rows\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  \"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Other Accumulated Deduction\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 80, \"margin_right\": 80, \"background_color\": \"#c1c1c1\", \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\", \"font_size\": 12, \"padding_top\": 3, \"padding_bottom\": 3}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"1.0\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"align\": \"center\", \"font_size\": 18, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_left\": 5, \"margin_right\": 10, \"font_bold\": false}]}], \"num_cols\": 2, \"col_widths\": [6, 1], \"margin_left\": 80, \"margin_right\": 80, \"margin_top\": 20, \"_col_widths\": \"[6,1]\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Medical Expenses for own parents, special need and parent care\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"align\": \"center\", \"scale\": null, \"text_align\": \"center\", \"margin_top\": 8, \"name\": \"prev_parents_exp\", \"on_change\": \"PrevParents1()\", \"width\": null, \"height\": null}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_right\": 10, \"margin_left\": 5, \"name\": \"prev_med_exp\", \"on_change\": \"prevDeduction()\", \"disabled\": false}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Father Relief\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"placeholder\": \"\", \"margin_left\": null, \"margin_right\": null, \"align\": \"center\", \"margin_top\": 8, \"name\": \"prev_father_mother_relief\", \"on_change\": \"PrevParents2()\"}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_father_relief\", \"disabled\": true, \"readonly\": false, \"on_change\": \"prevDeduction()\", \"background_color\": \"#ffffff\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Mother Relief\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_mother_relief\", \"disabled\": true, \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Basic supporting equipment for disabled self, spouse, child or parent\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_support_disabled\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Education fees\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_edu_fees\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"a) Medical expenses on serious diseases for self, spouse or child\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_med_exp_serious\", \"on_change\": \"prevMedExpenses()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"b) Complete medical examination for self, spouse or child\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_com_med_exam\", \"on_change\": \"prevMedExpenses()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total of a and b\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"disabled\": true, \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_total_a_b\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net Deposit in Skim Simpanan Pendidikan Nasional (SSPN)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"disabled\": false, \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_net_dep_sspn\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Payment of alimony to former wife\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_alimony\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Life insurance premium for Retired Civil Servant\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"align\": \"center\", \"margin_top\": 8, \"name\": \"prev_civ_servant\", \"on_change\": \"prevLifeInsurance1()\"}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_ins_ret_civ_ser\", \"on_change\": \"prevDeduction()\", \"disabled\": true}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Life insurance premium for Other than Retired Civil Servant\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"align\": \"center\", \"margin_top\": 8, \"name\": \"prev_other_civ_servant\", \"on_change\": \"prevLifeInsurance2()\"}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_ins_oth_ret_civ_ser\", \"disabled\": false, \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Education and medical insurance premium\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_edu_med_ins_prem\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Deferred annuity premium or contribution to Private Retirement Scheme\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_def_annuity\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SOCSO Contribution\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_bottom\": null, \"margin_right\": 10, \"name\": \"prev_socso_cont\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Purchase of readings, computer, smartphone, tablet, sport equipment, gymnasium membership and subscription of broadband internet\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_purch\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Purchase of breastfeeding equipment (deduction is allowed once every 2 years for women tax payer only)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_purch_bre_equip\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Fees paid to child care centre and kindergartens \\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_fee_child_care\", \"on_change\": \"prevDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Accumulated Deductions\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"disabled\": true, \"margin_left\": 5, \"margin_right\": 10, \"name\": \"prev_total_acc_deduct\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"field\"}]], \"margin_left\": 80, \"margin_right\": 80, \"margin_top\": 10, \"table_bordered\": false, \"num_cols\": 3, \"_col_widths\": \"[5.5,0.5,1]\", \"col_widths\": [5.5, 0.5, 1], \"num_rows\": 19, \"vertical_align\": \"middle\"}], \"min_height\": 50, \"height\": \"1600\", \"margin_left\": null, \"margin_right\": null, \"avoid_keyboard\": true, \"margin_top\": 10, \"dyn_props\": \"{hidden:box3}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Current Month's Remuneration\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70, \"background_color\": \"#0a1e38\", \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\", \"color\": \"#ffffff\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"1.0\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_left\": 5, \"margin_right\": 10, \"font_bold\": false}]}], \"num_cols\": 2, \"col_widths\": [6, 1], \"margin_top\": 20, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[6,1]\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Current month's remuneration\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_net_rem\", \"on_change\": \"currNetRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Current month's EPF and other approved funds [not exceeding RM4000 per year]\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_epf\", \"on_change\": \"currNetRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Net Current Month's Remuneration\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"disabled\": true, \"readonly\": false, \"name\": \"cur_total_net_rem\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Benefit-in-Kind (BIK)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_bik\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Value Of Living Accommodation (VOLA)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_vola\"}]], \"margin_left\": 80, \"margin_right\": 80, \"margin_top\": 10, \"table_bordered\": false, \"num_cols\": 2, \"num_rows\": 5, \"_col_widths\": \"[6,1]\", \"col_widths\": [6, 1], \"vertical_align\": \"middle\"}], \"min_height\": 50, \"height\": \"390\", \"page_break_after\": true, \"dyn_props\": \"{hidden:box4}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Current Month's Remuneration\"}, {\"insert\": \"\\n\"}]}, \"background_color\": \"#0a1e38\", \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\", \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}]}], \"num_cols\": 2, \"col_widths\": [6, 1], \"_col_widths\": \"[6,1]\", \"margin_top\": 20, \"margin_left\": 80, \"margin_right\": 80}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Current month's remuneration\\n\"}]}, \"font_size\": 16, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"name\": \"non_res_cur_rem\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Benefit-in-Kind (BIK)\\n\"}]}, \"font_size\": 16, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"name\": \"non_res_cur_bik\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Value of Living Accommodation (VOLA)\\n\"}]}, \"font_size\": 16, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"name\": \"non_res_cur_vola\"}]], \"num_cols\": 2, \"num_rows\": 3, \"_col_widths\": \"[6,1]\", \"col_widths\": [6, 1], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"table_bordered\": false}], \"min_height\": 50, \"dyn_props\": \"{hidden:box8}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Current Month's Additional Remuneration\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70, \"background_color\": \"#0a1e38\", \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\", \"color\": \"#ffffff\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_left\": 5, \"margin_right\": 10, \"font_bold\": false}]}], \"num_cols\": 2, \"col_widths\": [6, 1], \"_col_widths\": \"[6,1]\", \"margin_top\": 20, \"margin_left\": 80, \"margin_right\": 80, \"vertical_align\": \"middle\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bonus\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_bonus\", \"on_change\": \"addRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Arrears\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_arrears\", \"on_change\": \"addRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Commissions (not paid monthly)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_commission\", \"on_change\": \"addRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Gratuity\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_gratuity\", \"on_change\": \"addRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Compensation\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_compensation\", \"on_change\": \"addRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Director's fee (not paid monthly)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_director_fee\", \"on_change\": \"addRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Income tax paid by employers on behalf of employees\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_inc_tax_on_behalf\", \"on_change\": \"addRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Others\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_others\", \"on_change\": \"addRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Additional Remuneration\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"disabled\": true, \"name\": \"cur_total_add_rem\", \"on_change\": \"addRem()\"}], [null, null], [null, null]], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"num_cols\": 2, \"num_rows\": 9, \"_col_widths\": \"[6,1]\", \"col_widths\": [6, 1], \"table_bordered\": false, \"vertical_align\": \"middle\"}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Additional remuneration's EPF [not exceeding RM4000 per year]\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16, \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, {\"type\": \"field\", \"name\": \"cur_add_rem_epf\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"on_change\": \"addRem()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Total Net Additional Remuneration\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16, \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, {\"type\": \"field\", \"name\": \"cur_total_net_add_rem\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"disabled\": true, \"margin_left\": 5, \"margin_right\": 10}]], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"num_cols\": 2, \"_col_widths\": \"[6,1]\", \"col_widths\": [6, 1], \"vertical_align\": \"middle\", \"table_bordered\": false}], \"min_height\": 50, \"name\": \"baddrem\", \"dyn_props\": \"{hidden:baddrem}\"}], \"min_height\": 50, \"height\": \"\", \"dyn_props\": \"{hidden:box5}\", \"header\": true}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Current Month's Deduction\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70, \"background_color\": \"#0a1e38\", \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"1.0\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"1.0\", \"margin_left\": 5, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [6, 1], \"_col_widths\": \"[6,1]\", \"margin_top\": 20, \"margin_left\": 80, \"margin_right\": 80}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Medical expenses for own parents, special need and parent care\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"placeholder\": \"\", \"margin_left\": null, \"margin_right\": null, \"align\": \"center\", \"margin_top\": 8, \"name\": \"cur_parents_exp\", \"on_change\": \"curParents1()\"}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_med_exp\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Father Relief\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"placeholder\": \"\", \"margin_left\": null, \"margin_right\": null, \"align\": \"center\", \"margin_top\": 8, \"name\": \"cur_father_mother_relief\", \"on_change\": \"curParents2()\"}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_father_relief\", \"disabled\": true, \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Mother Relief\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_mother_relief\", \"disabled\": true, \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Basic supporting equipment for disabled self, spouse, child or parent\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_support_disabled\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Education fees\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"margin_left\": 5, \"margin_right\": 10, \"placeholder\": \"RM\", \"name\": \"cur_edu_fees\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"a) Medical expenses on serious diseases for self, spouse or child\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_med_exp_serious\", \"on_change\": \"curMedExpenses()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"b) Complete medical examination for self, spouse or child\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_com_med_exam\", \"on_change\": \"curMedExpenses()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total of a and b\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"disabled\": true, \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_total_a_b\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net deposit in Skim Simpanan Pendidikan Nasional (SSPN)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_net_dep_sspn\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Payment of alimony to former wife\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_alimony\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Life insurance premium for Retired Civil Servant\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"placeholder\": \"\", \"margin_left\": null, \"margin_right\": null, \"align\": \"center\", \"margin_top\": 8, \"name\": \"cur_civ_servant\", \"on_change\": \"curLifeInsurance1()\"}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_ins_ret_civ_ser\", \"on_change\": \"curDeduction()\", \"disabled\": true, \"onchange_method\": \"\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Life insurance premium for Other than Retired Civil Servant\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"placeholder\": \"\", \"margin_left\": null, \"margin_right\": null, \"align\": \"center\", \"margin_top\": 8, \"name\": \"cur_other_civ_servant\", \"on_change\": \"curLifeInsurance2()\"}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_ins_oth_ret_civ_ser\", \"disabled\": false, \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Education and medical insurance premium\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_edu_med_ins_prem\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Deferred annuity premium or contribution to Private Retirement Scheme\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_def_annuity\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SOCSO Contribution\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_socso_cont\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Purchase of readings, computer, smartphone, tablet, sport equipment, gymnasium membership and subscription of broadband internet\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_purch\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Purchase of breastfeeding equipment (deduction is allowed once every 2 years for women tax payer only)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_purch_bre_equip\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Fees paid to child care centre and kindergartens\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_fee_child_care\", \"on_change\": \"curDeduction()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Monthly Deduction\\n\"}]}, \"font_size\": 16, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, null, {\"type\": \"field\", \"name\": \"cur_total_deduct\", \"field_type\": \"text\", \"placeholder\": \"RM\", \"disabled\": true, \"margin_left\": 5, \"margin_right\": 10}]], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"num_cols\": 3, \"num_rows\": 19, \"_col_widths\": \"[5.5,0.5,1]\", \"col_widths\": [5.5, 0.5, 1], \"table_bordered\": false}], \"min_height\": 50, \"height\": \"1150\", \"dyn_props\": \"{hidden:box6}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Current Month's Rebate Information\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70, \"background_color\": \"#0a1e38\", \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"1.0\", \"margin_left\": 5, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [6, 1], \"margin_top\": 20, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[6,1]\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Zakat or Fitrah\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"RM\", \"margin_left\": 5, \"margin_right\": 10, \"name\": \"cur_zakat\"}], []], \"num_rows\": 1, \"_col_widths\": \"[6,1]\", \"col_widths\": [6, 1], \"num_cols\": 2, \"vertical_align\": \"middle\", \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"table_hover\": false, \"table_bordered\": false}], \"min_height\": 50, \"height\": \"180\", \"dyn_props\": \"{hidden:box7}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"text\": \"Back\", \"icon\": \"arrow-left\", \"padding_top\": 10, \"padding_left\": 15, \"padding_right\": 15, \"padding_bottom\": 10, \"on_click\": \"back()\"}]}, {\"children\": [{\"type\": \"button\", \"margin_left\": null, \"margin_right\": 10, \"margin_top\": null, \"width\": \"\", \"height\": \"\", \"text\": \"Calculate\", \"font_name\": \"\", \"letter_spacing\": \"\", \"font_bold\": false, \"on_click\": \"calculate()\", \"margin_bottom\": null, \"icon\": \"calculator\", \"padding_top\": 10, \"padding_left\": 15, \"padding_right\": 15, \"padding_bottom\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 10], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"margin_bottom\": 50, \"_col_widths\": \"[1,10]\"}], \"min_height\": 50, \"name\": \"bcalc1\", \"dyn_props\": \"{hidden:bcalc1}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"text\": \"Back\", \"icon\": \"arrow-left\", \"padding_top\": 10, \"padding_left\": 15, \"padding_right\": 15, \"padding_bottom\": 10}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Update\", \"margin_top\": null, \"margin_left\": null, \"margin_right\": null, \"margin_bottom\": null, \"width\": \"\", \"height\": \"\", \"icon\": \"pencil\", \"padding_top\": 10, \"padding_left\": 15, \"padding_right\": 15, \"padding_bottom\": 10, \"on_click\": \"\"}]}], \"num_cols\": 2, \"col_widths\": [1, 10], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"margin_bottom\": 50, \"_col_widths\": \"[1,10]\"}], \"min_height\": 50, \"name\": \"bcalc2\", \"dyn_props\": \"{hidden:bcalc2}\", \"hidden\": true}, {\"type\": \"box\", \"children\": [], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Y\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_left\": null, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"width\": null, \"height\": null, \"margin_left\": null, \"name\": \"Y\", \"placeholder\": \"Y\", \"align\": \"center\", \"margin_right\": null}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"K\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": null, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"margin_right\": null, \"placeholder\": \"K\", \"name\": \"K\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"E\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": null, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"E\", \"placeholder\": \"E\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Y1\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": null, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"hidden\": false}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"Y1\", \"placeholder\": \"Y1\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"K1\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": null, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"K1\", \"placeholder\": \"K1\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Y2\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": null, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"Y2\", \"placeholder\": \"Y2\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"K2\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": null, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"K2\", \"placeholder\": \"K2\"}]}], \"num_cols\": 14, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"margin_left\": 15, \"margin_right\": 85, \"margin_top\": 10, \"margin_bottom\": 5, \"vertical_align\": \"middle\", \"align\": \"center\", \"_col_widths\": \"\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"D\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"D\", \"placeholder\": \"D\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"S\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"S\", \"placeholder\": \"S\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Du\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"Du\", \"placeholder\": \"Du\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Su\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"Su\", \"placeholder\": \"Su\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"n\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"n\", \"placeholder\": \"n\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"QC\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"QC\", \"field_type\": \"number\", \"placeholder\": \"QC\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"ELP\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"ELP\", \"field_type\": \"number\", \"placeholder\": \"ELP\"}]}], \"num_cols\": 14, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"vertical_align\": \"middle\", \"margin_left\": 15, \"margin_right\": 85, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"LP1\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"LP1\", \"field_type\": \"number\", \"placeholder\": \"LP1\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"color\": \"#000000\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"P_res\", \"placeholder\": \"P - Res\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"M\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"M\", \"field_type\": \"number\", \"placeholder\": \"M\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"R\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"R_res\", \"field_type\": \"number\", \"placeholder\": \"R - Res\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"B\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"B\", \"field_type\": \"number\", \"placeholder\": \"B\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Z\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"name\": \"\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"Z_res\", \"field_type\": \"number\", \"placeholder\": \"Z - Res\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"X\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"X_res\", \"field_type\": \"number\", \"placeholder\": \"X - Res\"}]}], \"num_cols\": 14, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"vertical_align\": \"middle\", \"margin_left\": 15, \"margin_right\": 85, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cur MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_name\": \"Segoe UI Light\", \"color\": \"#000000\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"curMTD_res\", \"field_type\": \"number\", \"placeholder\": \"Cur MTD\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"netMTD_res\", \"field_type\": \"number\", \"placeholder\": \"Net MTD\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"P_REP\", \"field_type\": \"number\", \"placeholder\": \"P - REP\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"R\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_name\": \"Segoe UI Light\", \"color\": \"#000000\", \"letter_spacing\": \"3\", \"name\": \"\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"R_REP\", \"field_type\": \"number\", \"placeholder\": \"R - REP\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"T\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"T_REP\", \"field_type\": \"number\", \"placeholder\": \"T - REP\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Z\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"Z_REP\", \"field_type\": \"number\", \"placeholder\": \"Z - REP\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"X\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"X_REP\", \"field_type\": \"number\", \"placeholder\": \"X - REP\"}]}], \"num_cols\": 14, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"vertical_align\": \"middle\", \"margin_left\": 15, \"margin_right\": 85, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cur MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"curMTD_REP\", \"field_type\": \"number\", \"placeholder\": \"Cur MTD\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"netMTD_REP\", \"field_type\": \"number\", \"placeholder\": \"Net MTD\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_name\": \"Segoe UI Light\", \"color\": \"#000000\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"P_IRDA\", \"field_type\": \"number\", \"placeholder\": \"P - IRDA\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"R\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"R_IRDA\", \"field_type\": \"number\", \"placeholder\": \"R - IRDA\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Z\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"Z_IRDA\", \"field_type\": \"number\", \"placeholder\": \"Z - IRDA\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"X\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"X_IRDA\", \"field_type\": \"number\", \"placeholder\": \"X -IRDA\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cur MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"curMTD_IRDA\", \"field_type\": \"number\", \"placeholder\": \"Cur MTD\"}]}], \"num_cols\": 14, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"vertical_align\": \"middle\", \"margin_left\": 15, \"margin_right\": 85, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"netMTD_IRDA\", \"field_type\": \"number\", \"placeholder\": \"Net MTD\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD(B)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_name\": \"Segoe UI Light\", \"color\": \"#000000\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"mtdb\", \"field_type\": \"number\", \"placeholder\": \"MTD - B\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Yt\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"Yt\", \"field_type\": \"number\", \"placeholder\": \"Yt\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Kt\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"Kt\", \"field_type\": \"number\", \"placeholder\": \"Kt\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P - CS\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"P_CS\", \"field_type\": \"number\", \"placeholder\": \"P - CS\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"CS\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"CS\", \"field_type\": \"number\", \"placeholder\": \"CS\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD(C)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"name\": \"\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"mtdc\", \"field_type\": \"number\", \"placeholder\": \"MTD - C\"}]}], \"num_cols\": 14, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"vertical_align\": \"middle\", \"margin_left\": 15, \"margin_right\": 85, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"mtd\", \"field_type\": \"number\", \"placeholder\": \"MTD\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NR-Cur\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_name\": \"Segoe UI Light\", \"color\": \"#000000\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"non_res_cur_remm\", \"placeholder\": \"Non Resident\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NR-BIK\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"non_res_bikk\", \"placeholder\": \"Non Resident\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NR-Vola\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"non_res_volaa\", \"placeholder\": \"Non Resident\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NR-Add\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"non_res_add_remm\", \"placeholder\": \"Non Resident\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NR MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"non_res_mtdd\", \"placeholder\": \"Non Resident\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"CSK2\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": false, \"font_name\": \"Segoe UI Light\", \"color\": \"#000000\", \"letter_spacing\": \"3\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"CSK2\", \"placeholder\": \"CSK2\"}]}], \"num_cols\": 14, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"vertical_align\": \"middle\", \"margin_left\": 15, \"margin_right\": 85, \"margin_bottom\": 30}], \"min_height\": 50, \"dyn_props\": \"{hidden:boxz}\", \"name\": \"boxz\"}], \"min_height\": 50, \"height\": \"\", \"background_color\": \"#ffffff\", \"margin_left\": null, \"margin_right\": null, \"margin_top\": null}], \"background_color\": \"#ffffff\"}, \"code\": \"\\n\\n/*\\nISDA and Normal Remuneration: if user didn't fill the children fields, will invoke a error (within twoNum() function)\\nREP error: inside REPMTD(): the R of output of REPMTD function is undefined\\n\\n*/\\n\\nasync function on_load(){\\n\\tset_field_value(\\\"C\\\",0);\\n\\tset_field_value('Q',2000);\\n\\tvar page = page_params.page;\\n\\t\\n\\t\\n\\tif (page == 1 || page == 2  || page == 4){\\n\\t  set_data({bex1:true,bex2:false,bname1:true,bname2:false,bcalc1:true,boxz:true});\\n\\t  initialValue();\\n\\t  var name = page_params.fname;\\n\\t  var month = page_params.month;\\n\\t  var year = page_params.year;\\n\\t  var formula = page_params.form;\\n\\t  console.log(\\\"afiqah: \\\", name, month, year)\\n\\t  \\n\\t  var conds = [[\\\"full_name\\\",\\\"ilike\\\",name],[\\\"month\\\",\\\"=\\\",month],[\\\"year\\\",\\\"=\\\",year],[\\\"mtd_formula\\\",\\\"=\\\",formula]];\\n\\t  \\n\\t  var fields = [\\\"full_name\\\",\\\"month\\\",\\\"year\\\",\\\"employment_category\\\",\\\"type_of_residency\\\",\\\"mtd_formula\\\",\\n\\t\\t\\t\\t\\t\\\"status_category\\\",\\\"disabled_individual\\\",\\\"disabled_spouse\\\",\\n\\t\\t\\t\\t\\t\\\"child_under_18_50\\\",\\\"child_under_18_100\\\",\\\"child_under_18_total\\\",\\n\\t\\t\\t\\t\\t\\\"child_18_study_50\\\",\\\"child_18_study_100\\\",\\\"child_18_study_total\\\",\\n\\t\\t\\t\\t\\t\\\"child_18_full_time_50\\\",\\\"child_18_full_time_100\\\",\\\"child_18_full_time_total\\\",\\n\\t\\t\\t\\t\\t\\\"disabled_child_50\\\",\\\"disabled_child_100\\\",\\\"disabled_child_total\\\",\\n\\t\\t\\t\\t\\t\\\"disabled_child_study_50\\\",\\\"disabled_child_study_100\\\",\\\"disabled_child_study_total\\\",\\n\\t\\t\\t\\t\\t\\\"prev_acc_rem_bik_vola\\\",\\\"prev_acc_epf\\\",\\\"prev_net_acc_rem\\\",\\\"prev_acc_mtd\\\",\\\"prev_total_acc_zakat\\\",\\n\\t\\t\\t\\t\\t\\\"prev_med_exp\\\",\\\"prev_father_relief\\\",\\\"prev_mother_relief\\\",\\n\\t\\t\\t\\t\\t\\\"prev_support_disabled\\\",\\\"prev_edu_fees\\\",\\\"prev_med_exp_serious\\\",\\\"prev_com_med_exam\\\",\\n\\t\\t\\t\\t\\t\\\"prev_total_a_b\\\",\\\"prev_net_dep_sspn\\\",\\\"prev_alimony\\\",\\\"prev_ins_ret_civ_ser\\\",\\n\\t\\t\\t\\t\\t\\\"prev_ins_oth_ret_civ_ser\\\",\\\"prev_edu_med_ins_prem\\\",\\\"prev_def_annuity\\\",\\\"prev_socso_cont\\\",\\n\\t\\t\\t\\t\\t\\\"prev_purch\\\",\\\"prev_purch_bre_equip\\\",\\\"prev_fee_child_care\\\",\\\"prev_total_acc_deduct\\\",\\n\\t\\t\\t\\t\\t\\\"cur_mon_rem\\\",\\\"cur_mon_epf\\\",\\\"cur_total_net_rem\\\",\\\"cur_bik\\\",\\\"cur_vola\\\",\\n\\t\\t\\t\\t\\t\\\"non_res_cur_rem\\\",\\\"non_res_bik\\\",\\\"non_res_vola\\\",\\n\\t\\t\\t\\t\\t\\\"cur_bonus\\\",\\\"cur_arrears\\\",\\\"cur_commission\\\",\\\"cur_gratuity\\\",\\\"cur_compensation\\\",\\n\\t\\t\\t\\t\\t\\\"cur_director_fee\\\",\\\"cur_inc_tax_on_behalf\\\",\\\"cur_others\\\",\\\"cur_total_add_rem\\\",\\n\\t\\t\\t\\t\\t\\\"cur_add_rem_epf\\\",\\\"cur_total_net_add_rem\\\",\\n\\t\\t\\t\\t\\t\\\"cur_med_exp\\\",\\\"cur_father_relief\\\",\\\"cur_mother_relief\\\",\\\"cur_support_disabled\\\",\\n\\t\\t\\t\\t\\t\\\"cur_edu_fees\\\",\\\"cur_med_exp_serious\\\",\\\"cur_com_med_exam\\\",\\\"cur_total_a_b\\\",\\n\\t\\t\\t\\t\\t\\\"cur_net_dep_sspn\\\",\\\"cur_alimony\\\",\\\"cur_ins_ret_civ_ser\\\",\\\"cur_ins_oth_ret_civ_ser\\\",\\n\\t\\t\\t\\t\\t\\\"cur_edu_med_ins_prem\\\",\\\"cur_def_annuity\\\",\\\"cur_socso_cont\\\",\\\"cur_purch\\\",\\\"cur_purch_bre_equip\\\",\\n\\t\\t\\t\\t\\t\\\"cur_fee_child_care\\\",\\\"cur_total_deduct\\\",\\\"cur_zakat\\\",\\\"mtd\\\",\\\"mtd_round\\\",\\\"id_no\\\"\\n\\t\\t\\t\\t   ]\\n\\t  \\n\\t  var  res = await rpc_execute(\\\"hr2.pcb\\\",\\\"search_read_path\\\",[conds,fields]);\\n\\t  \\n\\t  //Personal Details\\n\\t  var names = res[0].full_name;\\n\\t  var months = res[0].month;\\n\\t  var years = res[0].year;\\n\\t  var emp_cat = res[0].employment_category;\\n\\t  var type_res = res[0].type_of_residency;\\n\\t  var mtdf = res[0].mtd_formula;\\n\\t  var status = res[0].status_category;\\n\\t  var dis_in = res[0].disabled_individual;\\n\\t\\tvar dis_sp = res[0].disabled_spouse;\\n\\t\\tvar id=res[0].id_no;\\n\\t  \\n\\t  //Children\\n\\t  var c_und1850 = res[0].child_under_18_50;\\n\\t  var c_und18100 = res[0].child_under_18_100;\\n\\t  var c_und18tot = res[0].child_under_18_total;\\n\\t  var c_18stu50 = res[0].child_18_study_50;\\n\\t  var c_18stu100 = res[0].child_18_study_100;\\n\\t  var c_18stutot = res[0].child_18_study_total;\\n\\t  var c_18ful50 = res[0].child_18_full_time_50;\\n\\t  var c_18ful100 = res[0].child_18_full_time_100;\\n\\t  var c_18fultot = res[0].child_18_full_time_total;\\n\\t  var c_dis50\\t= res[0].disabled_child_50;\\n\\t  var c_dis100 = res[0].disabled_child_100;\\n\\t  var c_distot = res[0].disabled_child_total;\\n\\t  var c_distu50 = res[0].disabled_child_study_50;\\n\\t  var c_distu100 = res[0].disabled_child_study_100;\\n\\t  var c_distutot = res[0].disabled_child_study_total;\\n\\t  \\n\\t  \\n\\t  //Previous Remuneration\\n\\t  var pr_accrem = res[0].prev_acc_rem_bik_vola;\\n\\t  var pr_epf = res[0].prev_acc_epf;\\n\\t  var pr_netrem = res[0].prev_net_acc_rem;\\n\\t  var pr_mtdpaid = res[0].prev_acc_mtd;\\n\\t  var pr_zakat = res[0].prev_total_acc_zakat;\\n\\t  \\n\\t  //Previous Deduction\\n\\t  var pr_medexp = res[0].prev_med_exp;\\n\\t  var pr_father = res[0].prev_father_relief;\\n\\t  var pr_mother = res[0].prev_mother_relief;\\n\\t  if(pr_father != 0 || pr_mother != 0){\\n\\t\\tset_data({prev_parents_exp:false,\\n\\t\\t\\t\\t  prev_father_mother_relief:true,\\n\\t\\t})\\n\\t  }\\n\\t  var pr_supdis = res[0].prev_support_disabled;\\n\\t  var pr_edufee = res[0].prev_edu_fees;\\n\\t  var pr_sermed = res[0].prev_med_exp_serious;\\n\\t  var pr_commed = res[0].prev_com_med_exam;\\n\\t  var pr_totlab = res[0].prev_total_a_b;\\n\\t  var pr_sspn = res[0].prev_net_dep_sspn;\\n\\t  var pr_alimon = res[0].prev_alimony;\\n\\t  var pr_retcer = res[0].prev_ins_ret_civ_ser;\\n\\t  var pr_othret = res[0].prev_ins_oth_ret_civ_ser;\\n\\t  if(pr_retcer != 0){\\n\\t\\tset_data({prev_civ_servant:true,\\n\\t\\t\\t\\t  prev_other_civ_servant:false,\\n\\t\\t})\\n\\t  }\\n\\t  var pr_edupre = res[0].prev_edu_med_ins_prem;\\n\\t  var pr_annuit = res[0].prev_def_annuity;\\n\\t  var pr_socso = res[0].prev_socso_cont;\\n\\t  var pr_purcha = res[0].prev_purch;\\n\\t  var pr_purbre = res[0].prev_purch_bre_equip;\\n\\t  var pr_childc = res[0].prev_fee_child_care;\\n\\t  var pr_deduct = res[0].prev_total_acc_deduct;\\n\\t  \\n\\t  //Current Remuneration\\n\\t  var cu_rem = res[0].cur_mon_rem;\\n\\t  var cu_epf = res[0].cur_mon_epf;\\n\\t  var cu_total = res[0].cur_total_net_rem;\\n\\t  var cu_bik = res[0].cur_bik;\\n\\t  var cu_vola = res[0].cur_vola;\\n\\t  \\n\\t  //Non-Resident Current Remuneration\\n\\t  var non_cur_rem = res[0].non_res_cur_rem;\\n\\t  var non_bik = res[0].non_res_bik;\\n\\t  var non_vola = res[0].non_res_vola;\\n\\t  \\n\\t  //Current Additional Remuneration\\n\\t  var cu_bonus = res[0].cur_bonus;\\n\\t  var cu_arrear = res[0].cur_arrears;\\n\\t  var cu_commis = res[0].cur_commission;\\n\\t  var cu_gratui = res[0].cur_gratuity;\\n\\t  var cu_compen = res[0].cur_compensation;\\n\\t  var cu_direct = res[0].cur_director_fee;\\n\\t  var cu_inctax = res[0].cur_inc_tax_on_behalf;\\n\\t  var cu_others = res[0].cur_others;\\n\\t  var cu_totadd = res[0].cur_total_add_rem;\\n\\t  var cu_addepf = res[0].cur_add_rem_epf;\\n\\t  var cu_netadd = res[0].cur_total_net_add_rem;\\n\\t  \\n\\t  //Current Deduction\\n\\t  var cu_medexp = res[0].cur_med_exp;\\n\\t  var cu_father = res[0].cur_father_relief;\\n\\t  var cu_mother = res[0].cur_mother_relief;\\n\\t  if(cu_father != 0 || cu_mother != 0){\\n\\t\\tset_data({cur_parents_exp:false,\\n\\t\\t\\t\\t  cur_father_mother_relief:true,\\n\\t\\t})\\n\\t  }\\n\\t  var cu_supdis = res[0].cur_support_disabled\\n\\t  var cu_edufee = res[0].cur_edu_fees;\\n\\t  var cu_sermed = res[0].cur_med_exp_serious;\\n\\t  var cu_commed = res[0].cur_com_med_exam;\\n\\t  var cu_totlab = res[0].cur_total_a_b;\\n\\t  var cu_sspn = res[0].cur_net_dep_sspn;\\n\\t  var cu_alimon = res[0].cur_alimony;\\n\\t  var cu_retcer = res[0].cur_ins_ret_civ_ser;\\n\\t  var cu_othret = res[0].cur_ins_oth_ret_civ_ser;\\n\\t  if(cu_retcer != 0){\\n\\t\\tset_data({cur_civ_servant:true,\\n\\t\\t\\t\\t  cur_other_civ_servant:false,\\n\\t\\t})\\n\\t  }\\n\\t  var cu_edupre = res[0].cur_edu_med_ins_prem;\\n\\t  var cu_annuit = res[0].cur_def_annuity;\\n\\t  var cu_socso = res[0].cur_socso_cont;\\n\\t  var cu_purcha = res[0].cur_purch;\\n\\t  var cu_purbre = res[0].cur_purch_bre_equip;\\n\\t  var cu_childc = res[0].cur_fee_child_care;\\n\\t  var cu_deduct = res[0].cur_total_deduct;\\n\\t  \\n\\t  //Current Rebate\\n\\t  var cu_zakat = res[0].cur_zakat;\\n\\t  \\n\\t  var mtdr = res[0].mtd_round;\\n  \\n\\t  /*if(page == 1){\\n\\t\\tset_data({fname:names,month:months,year:years,employment_category:emp_cat,type_of_residency:type_res,mtd_formula:mtdf,status_category:status,\\n\\t\\t\\t\\t  disabled_individual:dis_in,disabled_spouse:dis_sp,\\n\\t\\t\\t\\t});\\n\\t  \\n\\t\\tcategory();\\n\\t   \\n\\t\\tset_data({mtd_formula:mtdf,child_under_18_50:c_und1850,\\n\\t\\t\\t\\t  child_under_18_100:c_und18100,\\n\\t\\t\\t\\t  child_under_18_total:c_und18tot,\\n\\t\\t\\t\\t  child_18_study_50:c_18stu50,\\n\\t\\t\\t\\t  child_18_study_100:c_18stu100,\\n\\t\\t\\t\\t  child_18_study_total:c_18stutot,\\n\\t\\t\\t\\t  child_18_full_time_50:c_18ful50,\\n\\t\\t\\t\\t  child_18_full_time_100:c_18ful100,\\n\\t\\t\\t\\t  child_18_full_time_total:c_18fultot,\\n\\t\\t\\t\\t  disabled_child_50:c_dis50,\\n\\t\\t\\t\\t  disabled_child_100:c_dis100,\\n\\t\\t\\t\\t  disabled_child_total:c_distot,\\n\\t\\t\\t\\t  disabled_child_study_50:c_distu50,\\n\\t\\t\\t\\t  disabled_child_study_100:c_distu100,\\n\\t\\t\\t\\t  disabled_child_study_total:c_distutot,\\n\\t\\t\\t\\t  prev_acc_rem_bik_vola:pr_accrem,\\n\\t\\t\\t\\t  prev_acc_epf:pr_epf,\\n\\t\\t\\t\\t  prev_net_acc_rem:pr_netrem,\\n\\t\\t\\t\\t  prev_acc_mtd:pr_mtdpaid,\\n\\t\\t\\t\\t  prev_total_acc_zakat:pr_zakat,\\n\\t\\t\\t\\t  prev_med_exp:pr_medexp,\\n\\t\\t\\t\\t  prev_father_relief:pr_father,\\n\\t\\t\\t\\t  prev_mother_relief:pr_mother,\\n\\t\\t\\t\\t  prev_support_disabled:pr_supdis,\\n\\t\\t\\t\\t  prev_edu_fees:pr_edufee,\\n\\t\\t\\t\\t  prev_med_exp_serious:pr_sermed,\\n\\t\\t\\t\\t  prev_com_med_exam:pr_commed,\\n\\t\\t\\t\\t\\tprev_total_a_b:pr_totlab,\\n\\t\\t\\t\\t  prev_net_dep_sspn:pr_sspn,\\n\\t\\t\\t\\t  prev_alimony:pr_alimon,\\n\\t\\t\\t\\t  prev_ins_ret_civ_ser:pr_retcer,\\n\\t\\t\\t\\t  prev_ins_oth_ret_civ_ser:pr_othret,\\n\\t\\t\\t\\t\\tprev_edu_med_ins_prem:pr_edupre,\\n\\t\\t\\t\\t  prev_def_annuity:pr_annuit,\\n\\t\\t\\t\\t  prev_socso_cont:pr_socso,\\n\\t\\t\\t\\t  prev_purch:pr_purcha,\\n\\t\\t\\t\\t  prev_purch_bre_equip:pr_purbre,\\n\\t\\t\\t\\t  prev_fee_child_care:pr_childc,\\n\\t\\t\\t\\t  prev_total_acc_deduct:pr_deduct,\\n\\t\\t\\t\\t  cur_net_rem:cu_rem,\\n\\t\\t\\t\\t  cur_epf:cu_epf,\\n\\t\\t\\t\\t  cur_total_net_rem:cu_total,\\n\\t\\t\\t\\t  cur_bik:cu_bik,\\n\\t\\t\\t\\t  cur_vola:cu_vola,\\n\\t\\t\\t\\t  non_res_cur_rem:non_cur_rem,\\n\\t\\t\\t\\t  non_res_cur_bik:non_bik,\\n\\t\\t\\t\\t  non_res_cur_vola:non_vola,\\n\\t\\t\\t\\t  cur_bonus:cu_bonus,\\n\\t\\t\\t\\t  cur_arrears:cu_arrear,\\n\\t\\t\\t\\t  cur_commission:cu_commis,\\n\\t\\t\\t\\t  cur_gratuity:cu_gratui,\\n\\t\\t\\t\\t\\tcur_compensation:cu_compen,\\n\\t\\t\\t\\t  cur_director_fee:cu_direct,\\n\\t\\t\\t\\t  cur_inc_tax_on_behalf:cu_inctax,\\n\\t\\t\\t\\t  cur_others:cu_others,\\n\\t\\t\\t\\t  cur_total_add_rem:cu_totadd,\\n\\t\\t\\t\\t  cur_add_rem_epf:cu_addepf,\\n\\t\\t\\t\\t  cur_total_net_add_rem:cu_netadd,\\n\\t\\t\\t\\t  cur_med_exp:cu_medexp,\\n\\t\\t\\t\\t  cur_father_relief:cu_father,\\n\\t\\t\\t\\t  cur_mother_relief:cu_mother,\\n\\t\\t\\t\\t  cur_support_disabled:cu_supdis,\\n\\t\\t\\t\\t  cur_edu_fees:cu_edufee,\\n\\t\\t\\t\\t  cur_med_exp_serious:cu_sermed,\\n\\t\\t\\t\\t  cur_com_med_exam:cu_commed,\\n\\t\\t\\t\\t  cur_total_a_b:cu_totlab,\\n\\t\\t\\t\\t  cur_net_dep_sspn:cu_sspn,\\n\\t\\t\\t\\t  cur_alimony:cu_alimon,\\n\\t\\t\\t\\t  cur_ins_ret_civ_ser:cu_retcer,\\n\\t\\t\\t\\t  cur_ins_oth_ret_civ_ser:cu_othret,\\n\\t\\t\\t\\t  cur_edu_med_ins_prem:cu_edupre,\\n\\t\\t\\t\\t  cur_def_annuity:cu_annuit,\\n\\t\\t\\t\\t  cur_socso_cont:cu_socso,\\n\\t\\t\\t\\t  cur_purch:cu_purcha,\\n\\t\\t\\t\\t  cur_purch_bre_equip:cu_purbre,\\n\\t\\t\\t\\t  cur_fee_child_care:cu_childc,\\n\\t\\t\\t\\t  cur_total_deduct:cu_deduct,\\n\\t\\t\\t\\t  cur_zakat:cu_zakat,\\n\\t\\t\\t\\t});\\n\\t  }*/\\n\\t  \\n\\t  if (page == 2 || page == 4){\\n\\t\\tset_data({bcalc1:false});\\n\\t\\t\\n\\t\\tvar mon = parseInt(months);\\n\\t\\tvar mont = mon + 1;\\n\\t\\tconsole.log(\\\"af2: \\\",mon, mont);\\n\\t\\t\\n\\t\\tvar pr_accre = parseFloat(pr_accrem);\\n\\t\\tvar cu_re = parseFloat(cu_rem);\\n\\t\\tvar cu_bi = parseFloat(cu_bik);\\n\\t\\tvar cu_vol = parseFloat(cu_vola);\\n\\t\\tvar cu_totad = parseFloat(cu_totadd);\\n\\t\\tvar accumu_rem = pr_accre + cu_re + cu_bi + cu_vol + cu_totad;\\n\\t\\t\\n\\t\\tvar pr_ep = parseFloat(pr_epf);\\n\\t\\tvar cu_ep = parseFloat(cu_epf);\\n\\t\\tvar cu_addep = parseFloat(cu_addepf);\\n\\t\\tvar accumu_epf = pr_ep + cu_ep + cu_addep; \\n\\t\\t\\n\\t\\t//var pr_netre = parseFloat(pr_netrem);\\n\\t\\t//var cu_tota = parseFloat(cu_total);\\n\\t\\tvar accumu_netrem = accumu_rem - accumu_epf;\\n\\t\\t\\n\\t\\tvar pr_mtdpai = parseFloat(pr_mtdpaid);\\n\\t\\tvar mt = parseFloat(mtdr);\\n\\t\\tvar accumu_mtd = pr_mtdpai + mt;\\n\\t\\t\\n\\t\\tvar pr_zaka = parseFloat(pr_zakat);\\n\\t\\tvar cu_zaka = parseFloat(cu_zakat);\\n\\t\\tvar accumu_zak = pr_zaka + cu_zaka;\\n\\t\\t\\n\\t\\tvar pr_medex = parseFloat(pr_medexp);\\n\\t\\tvar cu_medex = parseFloat(cu_medexp);\\n\\t\\tvar acc_medexp = pr_medex + cu_medex;\\n\\t\\t\\n\\t\\tvar pr_fathe = parseFloat(pr_father);\\n\\t\\tvar cu_fathe = parseFloat(cu_father);\\n\\t\\tvar acc_father = pr_fathe + cu_fathe;\\n\\t\\t\\n\\t\\tvar pr_mothe = parseFloat(pr_mother);\\n\\t\\tvar cu_mothe = parseFloat(cu_mother);\\n\\t\\tvar acc_mother = pr_mothe + cu_mothe;\\n\\t\\t\\n\\t\\tif(acc_father != 0 || acc_mother != 0){\\n\\t\\t  set_data({prev_parents_exp:false,\\n\\t\\t\\t\\t  prev_father_mother_relief:true,\\n\\t\\t  })\\n\\t\\t  get_component(\\\"prev_med_exp\\\").set_props({disabled:true});\\n\\t\\t  get_component(\\\"prev_father_relief\\\").set_props({disabled:false});\\n\\t\\t  get_component(\\\"prev_mother_relief\\\").set_props({disabled:false});\\n\\t\\t}\\n\\t\\t\\n\\t\\tvar pr_supdi = parseFloat(pr_supdis);\\n\\t\\tvar cu_supdi = parseFloat(cu_supdis);\\n\\t\\tvar acc_supdis = pr_supdi + cu_supdi;\\n\\t\\t\\n\\t\\tvar pr_edufe = parseFloat(pr_edufee);\\n\\t\\tvar cu_edufe = parseFloat(cu_edufee);\\n\\t\\tvar acc_edufee = pr_edufe + cu_edufe;\\n\\t\\t\\n\\t\\tvar pr_serme = parseFloat(pr_sermed);\\n\\t\\tvar cu_serme = parseFloat(cu_sermed);\\n\\t\\tvar acc_sermed = pr_serme + cu_serme;\\n\\t\\t\\n\\t\\tvar pr_comme = parseFloat(pr_commed);\\n\\t\\tvar cu_comme = parseFloat(cu_commed);\\n\\t\\tvar acc_commed = pr_comme + cu_comme;\\n\\t\\t\\n\\t\\tvar pr_totla = parseFloat(pr_totlab);\\n\\t\\tvar cu_totla = parseFloat(cu_totlab);\\n\\t\\tvar acc_totlab = pr_totla + cu_totla;\\n\\t\\t\\n\\t\\tvar pr_ssp = parseFloat(pr_sspn);\\n\\t\\tvar cu_ssp = parseFloat(cu_sspn);\\n\\t\\tvar acc_sspn = pr_ssp + cu_ssp;\\n\\t\\t\\n\\t\\tvar pr_alimo = parseFloat(pr_alimon);\\n\\t\\tvar cu_alimo = parseFloat(cu_alimon);\\n\\t\\tvar acc_alimon = pr_alimo + cu_alimo;\\n\\t\\t\\n\\t\\tvar pr_retce = parseFloat(pr_retcer);\\n\\t\\tvar cu_retce = parseFloat(cu_retcer);\\n\\t\\tvar acc_retcer = pr_retce + cu_retce;\\n\\t\\t\\n\\t\\tvar pr_othre = parseFloat(pr_othret);\\n\\t\\tvar cu_othre = parseFloat(cu_othret);\\n\\t\\tvar acc_othret = pr_othre + cu_othre;\\n\\t\\t\\n\\t\\tif(acc_retcer != 0){\\n\\t\\t\\tset_data({prev_civ_servant:true,\\n\\t\\t\\t\\t\\tprev_other_civ_servant:false,\\n\\t\\t\\t})\\n\\t\\t  get_component(\\\"prev_ins_ret_civ_ser\\\").set_props({disabled:false});\\n\\t\\t  get_component(\\\"prev_ins_oth_ret_civ_ser\\\").set_props({disabled:true});\\n\\t\\t}\\n\\t\\t\\n\\t\\tvar pr_edupr = parseFloat(pr_edupre);\\n\\t\\tvar cu_edupr = parseFloat(cu_edupre);\\n\\t\\tvar acc_edupre = pr_edupr + cu_edupr;\\n\\t\\t\\n\\t\\tvar pr_annui = parseFloat(pr_annuit);\\n\\t\\tvar cu_annui = parseFloat(cu_annuit);\\n\\t\\tvar acc_annuit = pr_annui + cu_annui;\\n\\t\\t\\n\\t\\tvar pr_socs = parseFloat(pr_socso);\\n\\t\\tvar cu_socs = parseFloat(cu_socso);\\n\\t\\tvar acc_socso = pr_socs + cu_socs;\\n\\t\\t\\n\\t\\tvar pr_purch = parseFloat(pr_purcha);\\n\\t\\tvar cu_purch = parseFloat(cu_purcha);\\n\\t\\tvar acc_purcha = pr_purch + cu_purch;\\n\\t\\t\\n\\t\\tvar pr_purbr = parseFloat(pr_purbre);\\n\\t\\tvar cu_purbr = parseFloat(cu_purbre);\\n\\t\\tvar acc_purbre = pr_purbr + cu_purbr;\\n\\t\\t\\n\\t\\tvar pr_child = parseFloat(pr_childc);\\n\\t\\tvar cu_child = parseFloat(cu_childc);\\n\\t\\tvar acc_childc = pr_child + cu_child;\\n\\t\\t\\t\\n\\t\\tset_data({fname:names,\\n\\t\\t\\t\\t  month:mont,\\n\\t\\t\\t\\t\\tyear:years,\\n\\t\\t\\t\\t\\tid_no:id,\\n\\t\\t\\t\\t  employment_category:emp_cat,\\n\\t\\t\\t\\t  type_of_residency:type_res,\\n\\t\\t\\t\\t  mtd_formula:mtdf,\\n\\t\\t\\t\\t  status_category:status,\\n\\t\\t\\t\\t  disabled_individual:dis_in,\\n\\t\\t\\t\\t  disabled_spouse:dis_sp,\\n\\t\\t\\t\\t});\\n\\t  \\n\\t\\tcategory();\\n\\t\\t\\n\\t\\tset_data({child_under_18_50:parseInt(c_und1850),\\n\\t\\t\\t\\t  child_under_18_100:parseInt(c_und18100),\\n\\t\\t\\t\\t  child_under_18_total:parseInt(c_und18tot),\\n\\t\\t\\t\\t  child_18_study_50:parseInt(c_18stu50),\\n\\t\\t\\t\\t  child_18_study_100:parseInt(c_18stu100),\\n\\t\\t\\t\\t  child_18_study_total:parseInt(c_18stutot),\\n\\t\\t\\t\\t  child_18_full_time_50:parseInt(c_18ful50),\\n\\t\\t\\t\\t  child_18_full_time_100:parseInt(c_18ful100),\\n\\t\\t\\t\\t  child_18_full_time_total:parseInt(c_18fultot),\\n\\t\\t\\t\\t  disabled_child_50:parseInt(c_dis50),\\n\\t\\t\\t\\t  disabled_child_100:parseInt(c_dis100),\\n\\t\\t\\t\\t  disabled_child_total:parseInt(c_distot),\\n\\t\\t\\t\\t  disabled_child_study_50:parseInt(c_distu50),\\n\\t\\t\\t\\t  disabled_child_study_100:parseInt(c_distu100),\\n\\t\\t\\t\\t  disabled_child_study_total:parseInt(c_distutot),\\n\\t\\t\\t\\t  prev_acc_rem_bik_vola:accumu_rem,\\n\\t\\t\\t\\t  prev_acc_epf:accumu_epf,\\n\\t\\t\\t\\t  prev_net_acc_rem:accumu_netrem,\\n\\t\\t\\t\\t  prev_acc_mtd:accumu_mtd,\\n\\t\\t\\t\\t  prev_total_acc_zakat:accumu_zak,\\n\\t\\t\\t\\t  prev_med_exp:acc_medexp,\\n\\t\\t\\t\\t  prev_father_relief:acc_father,\\n\\t\\t\\t\\t  prev_mother_relief:acc_mother,\\n\\t\\t\\t\\t  prev_support_disabled:acc_supdis,\\n\\t\\t\\t\\t  prev_edu_fees:acc_edufee,\\n\\t\\t\\t\\t  prev_med_exp_serious:acc_sermed,\\n\\t\\t\\t\\t  prev_com_med_exam:acc_commed,\\n\\t\\t\\t\\t  prev_total_a_b:acc_totlab,\\n\\t\\t\\t\\t  prev_net_dep_sspn:acc_sspn,\\n\\t\\t\\t\\t  prev_alimony:acc_alimon,\\n\\t\\t\\t\\t  prev_ins_ret_civ_ser:acc_retcer,\\n\\t\\t\\t\\t  prev_ins_oth_ret_civ_ser:acc_othret,\\n\\t\\t\\t\\t  prev_edu_med_ins_prem:acc_edupre,\\n\\t\\t\\t\\t  prev_def_annuity:acc_annuit, \\n\\t\\t\\t\\t  prev_socso_cont:acc_socso,\\n\\t\\t\\t\\t  prev_purch:acc_purcha,\\n\\t\\t\\t\\t  prev_purch_bre_equip:acc_purbre,\\n\\t\\t\\t\\t  prev_fee_child_care:acc_childc,\\n\\t\\t\\t   });\\n\\t\\tconsole.log(\\\"af3: \\\",accumu_epf);\\n\\t\\t//prevNetAccRem();\\n\\t\\tprevDeduction();\\n\\t\\tprevMedExpenses();\\n\\t\\t/*set_data({cur_net_rem:cu_rem,\\n\\t\\t\\t\\t  cur_epf:cu_epf,\\n\\t\\t\\t\\t  cur_total_net_rem:cu_total,\\n\\t\\t\\t\\t  cur_bik:cu_bik,\\n\\t\\t\\t\\t  cur_vola:cu_vola,\\n\\t\\t\\t\\t });*/\\n\\t\\t/*currNetRem();\\n\\t\\ttotalNetAddRem();*/\\n\\t\\t\\n\\t  }\\n\\t}\\n\\t  \\n\\telse{\\n\\t  set_data({bname1:false,bname2:true,bex1:false,bex2:true,boxz:true,bcalc1:false,bcalc2:true});\\n\\t  initialValue();\\n\\t}\\n\\n\\tset_data({type_of_residency:\\\"Non-Resident\\\"})\\t\\n\\tcategory();\\n\\tset_data({type_of_residency:\\\"Resident\\\"})\\n\\tcategory();\\n\\tset_data({mtd_formula:null})\\n\\tset_data({type_of_residency:null})\\n\\t\\n}\\n\\nasync function get_id(){\\n\\tvar data=get_data();\\n\\tif (data.fullname==null){\\n\\t\\treturn;\\n\\t}\\n\\tvar cond = [\\\"number\\\",\\\"=\\\",String(data.fullname)];\\n\\tvar field = [\\\"number\\\",\\\"ic_no\\\",\\\"passport_no\\\"];\\n  var res = await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[cond],field]);\\n\\tif (res[0].ic_no.length>8){\\n\\t\\t await set_data({\\n\\t\\t\\tid_no:res[0].ic_no,\\n\\t\\t});\\n\\t}\\n\\telse if (res[0].passport_no!=null){\\n\\t\\t set_data({\\n\\t\\t\\tid_no:res[0].passport_no\\n\\t\\t});\\n\\t}\\n\\n\\n\\n  }\\n  \\n  \\n  function initialValue(){\\n\\tset_data({\\n\\t  fullname:null,\\n\\t  employment_category:null,\\n\\t  type_of_residency:null,\\n\\t  mtd_formula:null,\\n\\t  status_category:null,\\n\\t  disabled_individual:null,\\n\\t  disabled_spouse:null,\\n\\t  month:0,\\n\\t  year:0,\\n\\t  child_under_18_50:0,\\n\\t  child_under_18_100:0,\\n\\t  child_under_18_total:0,\\n\\t  child_18_study_50:0,\\n\\t  child_18_study_100:0,\\n\\t  child_18_study_total:0,\\n\\t  child_18_full_time_50:0,\\n\\t  child_18_full_time_100:0,\\n\\t  child_18_full_time_total:0,\\n\\t  disabled_child_50:0,\\n\\t  disabled_child_100:0,\\n\\t  disabled_child_total:0,\\n\\t  disabled_child_study_50:0,\\n\\t  disabled_child_study_100:0,\\n\\t  disabled_child_study_total:0,\\n\\t  prev_acc_rem_bik_vola:0,\\n\\t  prev_acc_epf:0,\\n\\t  prev_net_acc_rem:0,\\n\\t  prev_acc_mtd:0,\\n\\t  prev_total_acc_zakat:0,\\n\\t  prev_parents_exp:true,\\n\\t  prev_father_mother_relief:false,\\n\\t  prev_med_exp:0,\\n\\t  prev_father_relief:0,\\n\\t  prev_mother_relief:0,\\n\\t  prev_support_disabled:0,\\n\\t  prev_edu_fees:0,\\n\\t  prev_med_exp_serious:0,\\n\\t  prev_com_med_exam:0,\\n\\t  prev_total_a_b:0,\\n\\t  prev_net_dep_sspn:0,\\n\\t  prev_alimony:0,\\n\\t  prev_civ_servant:false,\\n\\t  prev_other_civ_servant:true,\\n\\t  prev_ins_ret_civ_ser:0,\\n\\t  prev_ins_oth_ret_civ_ser:0,\\n\\t  prev_edu_med_ins_prem:0,\\n\\t  prev_def_annuity:0,\\n\\t  prev_socso_cont:0,\\n\\t  prev_purch:0,\\n\\t  prev_purch_bre_equip:0,\\n\\t  prev_fee_child_care:0,\\n\\t  prev_total_acc_deduct:0,\\n\\t  cur_net_rem:0,\\n\\t  cur_epf:0,\\n\\t  cur_total_net_rem:0,\\n\\t  cur_bik:0,\\n\\t  cur_vola:0,\\n\\t  non_res_cur_rem:0,\\n\\t  non_res_cur_bik:0,\\n\\t  non_res_cur_vola:0,\\n\\t  cur_bonus:0,\\n\\t  cur_arrears:0,\\n\\t  cur_commission:0,\\n\\t  cur_gratuity:0,\\n\\t  cur_compensation:0,\\n\\t  cur_director_fee:0,\\n\\t  cur_inc_tax_on_behalf:0,\\n\\t  cur_others:0,\\n\\t  cur_total_add_rem:0,\\n\\t  cur_add_rem_epf:0,\\n\\t  cur_total_net_add_rem:0,\\n\\t  cur_parents_exp:true,\\n\\t  cur_father_mother_relief:false,\\n\\t  cur_med_exp:0,\\n\\t  cur_father_relief:0,\\n\\t  cur_mother_relief:0,\\n\\t  cur_support_disabled:0,\\n\\t  cur_edu_fees:0,\\n\\t  cur_med_exp_serious:0,\\n\\t  cur_com_med_exam:0,\\n\\t  cur_total_a_b:0,\\n\\t  cur_net_dep_sspn:0,\\n\\t  cur_alimony:0,\\n\\t  cur_civ_servant:false,\\n\\t  cur_other_civ_servant:true,\\n\\t  cur_ins_ret_civ_ser:0,\\n\\t  cur_ins_oth_ret_civ_ser:0,\\n\\t  cur_edu_med_ins_prem:0,\\n\\t  cur_def_annuity:0,\\n\\t  cur_socso_cont:0,\\n\\t  cur_purch:0,\\n\\t  cur_purch_bre_equip:0,\\n\\t  cur_fee_child_care:0,\\n\\t  cur_total_deduct:0,\\n\\t  cur_zakat:0,\\n\\t  Y: 0,\\n\\t  K: 0,\\n\\t  E: 0,\\n\\t  Y1: 0,\\n\\t  K1: 0,\\n\\t  Y2: 0,\\n\\t  K2: 0,\\n\\t  n: 0,\\n\\t  D: 0,\\n\\t  S: 0,\\n\\t  Du: 0,\\n\\t  Su: 0,\\n\\t  QC: 0,\\n\\t  ELP: 0,\\n\\t  LP1: 0,\\n\\t  P_res: 0,\\n\\t  M: 0,\\n\\t  R_res: 0,\\n\\t  B: 0,\\n\\t  Z_res: 0,\\n\\t  X_res: 0,\\n\\t  curMTD_res: 0,\\n\\t  netMTD_res: 0,\\n\\t  P_REP: 0,\\n\\t  R_REP: 0,\\n\\t  T_REP: 0,\\n\\t  Z_REP: 0,\\n\\t  X_REP: 0,\\n\\t  curMTD_REP: 0,\\n\\t  netMTD_REP: 0,\\n\\t  P_IRDA: 0,\\n\\t  R_IRDA: 0,\\n\\t  Z_IRDA: 0,\\n\\t  X_IRDA: 0,\\n\\t  curMTD_IRDA: 0,\\n\\t  netMTD_IRDA: 0,\\n\\t  mtdb: 0,\\n\\t  Yt: 0,\\n\\t  Kt: 0,\\n\\t  P_CS: 0,\\n\\t  CS: 0,\\n\\t  mtdc: 0,\\n\\t  mtd: 0\\n\\t});\\n  }\\n  \\n  function category(){\\n\\tvar data=get_data();\\n\\tvar categ = data.employment_category;\\n\\tvar type=data.type_of_residency;\\n\\tvar formula = data.mtd_formula;\\n  \\n\\tif (categ==\\\"2\\\" && type==\\\"Non-Resident\\\"){\\n\\t  set_data({mtd_formula: \\\"28%\\\"});\\n\\t  set_data({box1:false});\\n\\t  set_data({box2:true});\\n\\t  set_data({box3:true});\\n\\t  set_data({box4:true});\\n\\t  set_data({box5:false});\\n\\t  set_data({box6:true});\\n\\t  set_data({box7:true});\\n\\t  set_data({box8:false});\\n\\t  set_data({bperd:true});\\n\\t  set_data({baddrem:true});\\n\\t}\\n\\telse if(categ==\\\"2\\\" && type==\\\"Resident\\\"){\\n\\t  //set_data({mtd_formula: \\\"Normal\\\"})\\n\\t  set_data({box1:false});\\n\\t  set_data({box2:false});\\n\\t  set_data({box3:true});\\n\\t  set_data({box4:false});\\n\\t  set_data({box5:false});\\n\\t  set_data({box6:false});\\n\\t  set_data({box7:false});\\n\\t  set_data({box8:true});\\n\\t  set_data({bperd:false});\\n\\t  set_data({baddrem:false});\\n\\t}\\n\\telse if(categ==\\\"1\\\" && type==\\\"Non-Resident\\\"){\\n\\t  set_data({mtd_formula: \\\"28%\\\"});\\n\\t  set_data({box1:false});\\n\\t  set_data({box2:true});\\n\\t  set_data({box3:true});\\n\\t  set_data({box4:true});\\n\\t  set_data({box5:false});\\n\\t  set_data({box6:true});\\n\\t  set_data({box7:true});\\n\\t  set_data({box8:false});\\n\\t  set_data({bperd:true});\\n\\t  set_data({baddrem:true});\\n\\t}\\n\\telse if(categ==\\\"1\\\" && type==\\\"Resident\\\"){\\n\\t  //set_data({mtd_formula: \\\"Normal\\\"})\\n\\t  set_data({box1:false});\\n\\t  set_data({box2:false});\\n\\t  set_data({box3:false});\\n\\t  set_data({box4:false});\\n\\t  set_data({box5:false});\\n\\t  set_data({box6:false});\\n\\t  set_data({box7:false});\\n\\t  set_data({box8:true});\\n\\t  set_data({bperd:false});\\n\\t  set_data({baddrem:false});\\n\\t}\\n\\telse if(categ==\\\"2\\\"){\\n\\t  set_data({box1:false});\\n\\t  set_data({box2:false});\\n\\t  set_data({box3:true});\\n\\t  set_data({box4:false});\\n\\t  set_data({box5:false});\\n\\t  set_data({box6:false});\\n\\t  set_data({box7:false});\\n\\t  set_data({box8:true});\\n\\t  set_data({bperd:false});\\n\\t  set_data({baddrem:false});\\n\\t}\\n\\telse if(categ==\\\"1\\\"){\\n\\t  set_data({box1:false});\\n\\t  set_data({box2:false});\\n\\t  set_data({box3:false});\\n\\t  set_data({box4:false});\\n\\t  set_data({box5:false});\\n\\t  set_data({box6:false});\\n\\t  set_data({box7:false});\\n\\t  set_data({box8:true});\\n\\t  set_data({bperd:false});\\n\\t  set_data({baddrem:false});\\n\\t}\\n\\telse if(type==\\\"Non-Resident\\\"){\\n\\t  set_data({mtd_formula: \\\"28%\\\"});\\n\\t  set_data({box1:false});\\n\\t  set_data({box2:true});\\n\\t  set_data({box3:true});\\n\\t  set_data({box4:true});\\n\\t  set_data({box5:false});\\n\\t  set_data({box6:true});\\n\\t  set_data({box7:true});\\n\\t  set_data({box8:false});\\n\\t  set_data({bperd:true});\\n\\t  set_data({baddrem:true});\\n\\t}\\n\\telse if(type==\\\"Resident\\\"){\\n\\t  //set_data({mtd_formula: \\\"Normal\\\"});\\n\\t  set_data({box1:false});\\n\\t  set_data({box2:false});\\n\\t  set_data({box3:false});\\n\\t  set_data({box4:false});\\n\\t  set_data({box5:false});\\n\\t  set_data({box6:false});\\n\\t  set_data({box7:false});\\n\\t  set_data({box8:true});\\n\\t  set_data({bperd:false});\\n\\t  set_data({baddrem:false});\\n\\t}\\n  \\n  }\\n  \\n  \\n  function childUnder18(){\\n\\tvar data=get_data();\\n\\tvar under18_50=data.child_under_18_50;\\n\\tvar under18_100=data.child_under_18_100;\\n\\tconsole.log(\\\"harry1:\\\",under18_50,under18_100);\\n\\t\\n\\tif(under18_50!= under18_50){\\n\\t  under18_50 = 0;\\n\\t}\\n\\tif(under18_100!= under18_100){\\n\\t  under18_100 = 0;\\n\\t}\\n  \\n\\tvar rate50=0;\\n\\trate50 = under18_50*2000*0.5;\\n\\tvar rate100=0;\\n\\trate100 = under18_100*2000;\\n  \\n\\tvar total=0;\\n\\ttotal= rate50 + rate100;\\n\\tset_field_value(\\\"child_under_18_total\\\",total);\\n\\tvar new_c=data.C+under18_50*0.5+under18_100*1;\\n\\tset_field_value(\\\"C\\\",new_c);\\n\\t\\n  }\\n  \\n  \\n  function child18Study(){\\n\\tvar data=get_data();\\n\\tvar study18_50=data.child_18_study_50;\\n\\tvar study18_100=data.child_18_study_100;\\n\\t\\n\\tif(study18_50!= study18_50){\\n\\t  study18_50 = 0;\\n\\t}\\n\\tif(study18_100!= study18_100){\\n\\t  study18_100 = 0;\\n\\t}\\n  \\n\\tvar rate50=0;\\n\\trate50 = study18_50*2000*0.5;\\n\\tvar rate100=0;\\n\\trate100 = study18_100*2000;\\n  \\n\\tvar total=0;\\n\\ttotal= rate50 + rate100;\\n\\tset_field_value(\\\"child_18_study_total\\\",total);\\n\\tconsole.log(\\\"ang 783\\\",data.child_18_study_50,data.child_18_study_100,study18_100,total)\\n\\tvar new_c=data.C+study18_50*0.5+study18_100*1;\\n\\tset_field_value(\\\"C\\\",new_c);\\n\\n  }\\n  \\n  \\n  function child18FullTime(){\\n\\tvar data=get_data();\\n\\tvar full18_50=data.child_18_full_time_50;\\n\\tvar full18_100=data.child_18_full_time_100;\\n\\t\\n\\tif(full18_50!= full18_50){\\n\\t  full18_50 = 0;\\n\\t}\\n\\n\\tif(full18_100!= full18_100){\\n\\t  full18_100 = 0;\\n\\t}\\n\\n\\tvar rate50=0;\\n\\trate50 = full18_50*8000*0.5;\\n\\tvar rate100=0;\\n\\trate100 = full18_100*8000;\\n\\tvar total=0;\\n\\ttotal= rate50 + rate100;\\n\\tset_field_value(\\\"child_18_full_time_total\\\",total);\\n\\tvar new_c=data.C+full18_50*2+full18_100*4;\\n\\tset_field_value(\\\"C\\\",new_c);\\n  }\\n  \\n  \\n  function childDisabled(){\\n\\tvar data=get_data();\\n\\tvar disabled_50=data.disabled_child_50;\\n\\tvar disabled_100=data.disabled_child_100;\\n  \\n\\tif(disabled_50!= disabled_50){\\n\\t  disabled_50 = 0;\\n\\t}\\n\\tif(disabled_100!= disabled_100){\\n\\t  disabled_100 = 0;\\n\\t}\\n\\t\\n\\tvar rate50=0;\\n\\trate50 = disabled_50*6000*0.5;\\n\\tvar rate100=0;\\n\\trate100 = disabled_100*6000;\\n  \\n\\tvar total=0;\\n\\ttotal= rate50 + rate100;\\n\\tset_field_value(\\\"disabled_child_total\\\",total);\\n\\tvar new_c=data.C+disabled_50*1.5+disabled_100*3;\\n\\tset_field_value(\\\"C\\\",new_c);\\n  }\\n  \\n  \\n  function childDisabledStudy(){\\n\\tvar data=get_data();\\n\\tvar disStudy_50=data.disabled_child_study_50;\\n\\tvar disStudy_100=data.disabled_child_study_100;\\n\\t\\n\\tif(disStudy_50!= disStudy_50){\\n\\t  disStudy_50 = 0;\\n\\t}\\n\\tif(disStudy_100!= disStudy_100){\\n\\t  disStudy_100 = 0;\\n\\t}\\n  \\n\\tvar rate50=0;\\n\\trate50 = disStudy_50*14000*0.5;\\n\\tvar rate100=0;\\n\\trate100 = disStudy_100*14000;\\n  \\n\\tvar total=0;\\n\\ttotal= rate50 + rate100;\\n\\tset_field_value(\\\"disabled_child_study_total\\\",total);\\n\\tvar new_c=data.C+disStudy_50*3.5+disStudy_100*7;\\n\\tset_field_value(\\\"C\\\",new_c);\\n  }\\n  \\n  \\n  function prevNetAccRem(){\\n\\tvar data=get_data();\\n\\tvar remuneration=data.prev_acc_rem_bik_vola;\\n\\tvar epf= data.prev_acc_epf;\\n\\tvar curEpf=data.cur_epf; \\n\\tvar addEpf = data.cur_add_rem_epf;\\n\\tvar limit0=0;\\n\\tlimit0 = curEpf + epf + addEpf;\\n\\tif (limit0>4000){\\n\\t  alert(\\\"1.Total EPF on Monthly Remuneration, Additional Remuneration and Accumulated Remuneration cannot exceed RM 4,000.00. Please correct your amount\\\");\\n\\t\\tset_field_value(\\\"prev_acc_epf\\\",0);\\n\\t\\tset_field_value(\\\"prev_net_acc_rem\\\",0);\\n\\t}\\n  \\n\\tvar netRem=0;\\n\\tnetRem = remuneration - epf;\\n\\tset_field_value(\\\"prev_net_acc_rem\\\",netRem);\\n  \\n  }\\n  \\n  \\n  \\n  function PrevParents1(){\\n\\tvar data=get_data();\\n\\tvar expenses= data.prev_parents_exp;\\n\\tvar relief= data.prev_father_mother_relief;\\n\\t\\n\\tif(expenses==true){\\n\\t  set_data({prev_father_mother_relief:false});\\n\\t  get_component(\\\"prev_med_exp\\\").set_props({disabled:false});\\n\\t  get_component(\\\"prev_father_relief\\\").set_props({disabled:true});\\n\\t  set_data({prev_father_relief:0});\\n\\t  get_component(\\\"prev_mother_relief\\\").set_props({disabled:true});\\n\\t  set_data({prev_mother_relief:0});\\n\\t}\\n\\telse if (expenses==false){\\n\\t  set_data({prev_father_mother_relief:true});\\n\\t  get_component(\\\"prev_med_exp\\\").set_props({disabled:true});\\n\\t  set_data({prev_med_exp:0});\\n\\t  get_component(\\\"prev_father_relief\\\").set_props({disabled:false});\\n\\t  get_component(\\\"prev_mother_relief\\\").set_props({disabled:false});\\n\\t}\\n  }\\n  \\n  function PrevParents2(){\\n\\tvar data=get_data();\\n\\tvar expenses= data.prev_parents_exp;\\n\\tvar relief= data.prev_father_mother_relief;\\n\\t\\n\\tif(relief==true){\\n\\t  set_data({prev_parents_exp:false});\\n\\t  get_component(\\\"prev_med_exp\\\").set_props({disabled:true});\\n\\t  set_data({prev_med_exp:0});\\n\\t  get_component(\\\"prev_father_relief\\\").set_props({disabled:false});\\n\\t  get_component(\\\"prev_mother_relief\\\").set_props({disabled:false});\\n\\t}\\n\\telse if (relief == false){\\n\\t  set_data({prev_parents_exp:true});\\n\\t  get_component(\\\"prev_med_exp\\\").set_props({disabled:false});\\n\\t  get_component(\\\"prev_father_relief\\\").set_props({disabled:true});\\n\\t  set_data({prev_father_relief:0});\\n\\t  get_component(\\\"prev_mother_relief\\\").set_props({disabled:true});\\n\\t  set_data({prev_mother_relief:0});\\n\\t}\\n  }\\n  \\n  \\n  function prevMedExpenses(){\\n\\tvar data=get_data();\\n\\tvar serious=data.prev_med_exp_serious;\\n\\tvar curSerious=data.cur_med_exp_serious; \\n\\tvar limit6=0;\\n\\tlimit6 = curSerious + serious;\\n\\tif (limit6>6000){\\n\\t  alert(\\\"Deduction amount for Medical Expenses on Serious Disease is limited to RM 6,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_med_exp_serious\\\",0);\\n\\t}\\n\\t\\n\\tvar complete = data.prev_com_med_exam;      //Check Limit\\n\\tvar curComplete=data.cur_com_med_exam;\\n\\tvar limit7=0;\\n\\tlimit7 = curComplete + complete;\\n\\tif (limit7>500){\\n\\t  alert(\\\"Deduction amount Complete Medical Examination is limited to RM 500.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_com_med_exam\\\",0);\\n\\t}\\n  \\n\\tvar total=0;\\n\\ttotal = serious + complete;\\n\\tset_field_value(\\\"prev_total_a_b\\\",total);\\n  \\n  }\\n  \\n  \\n  \\n  function prevLifeInsurance1(){\\n\\tvar data=get_data();\\n\\tvar civil= data.prev_civ_servant;\\n\\tvar other= data.prev_other_civ_servant;\\n\\t\\n\\tif (civil==true){\\n\\t  set_data({prev_other_civ_servant:false});\\n\\t  get_component(\\\"prev_ins_ret_civ_ser\\\").set_props({disabled:false});\\n\\t  get_component(\\\"prev_ins_oth_ret_civ_ser\\\").set_props({disabled:true});\\n\\t  set_data({prev_ins_oth_ret_civ_ser:0});\\n\\t  set_data({prev_acc_epf:0,cur_epf:0});\\n\\t  var PrevRem = data.prev_acc_rem_bik_vola;\\n\\t  var curNetRem = data.cur_net_rem;\\n\\t  set_data({prev_net_acc_rem:PrevRem,cur_total_net_rem:curNetRem});\\n\\t}\\n\\telse if(civil==false){\\n\\t  set_data({prev_other_civ_servant:true});\\n\\t  get_component(\\\"prev_ins_ret_civ_ser\\\").set_props({disabled:true});\\n\\t  set_data({prev_ins_ret_civ_ser:0});\\n\\t  get_component(\\\"prev_ins_oth_ret_civ_ser\\\").set_props({disabled:false});\\n\\t}\\n  }\\n  \\n  function prevLifeInsurance2(){\\n\\tvar data=get_data();\\n\\tvar civil= data.prev_civ_servant;\\n\\tvar other= data.prev_other_civ_servant;\\n\\t\\n\\tif (other==true){\\n\\t  set_data({prev_civ_servant:false});\\n\\t  get_component(\\\"prev_ins_ret_civ_ser\\\").set_props({disabled:true});\\n\\t  set_data({prev_ins_ret_civ_ser:0});\\n\\t  get_component(\\\"prev_ins_oth_ret_civ_ser\\\").set_props({disabled:false});\\n\\t}\\n\\telse if (other==false){\\n\\t  set_data({prev_civ_servant:true});\\n\\t  get_component(\\\"prev_ins_ret_civ_ser\\\").set_props({disabled:false});\\n\\t  get_component(\\\"prev_ins_oth_ret_civ_ser\\\").set_props({disabled:true});\\n\\t  set_data({prev_ins_oth_ret_civ_ser:0});\\n\\t  set_data({prev_acc_epf:0,cur_epf:0});\\n\\t  var PrevRem = data.prev_acc_rem_bik_vola;\\n\\t  var curNetRem = data.cur_net_rem;\\n\\t  set_data({prev_net_acc_rem:PrevRem,cur_total_net_rem:curNetRem});\\n\\t}\\n  }\\n  \\n  \\n  function prevDeduction(){\\n\\tvar data=get_data();\\n\\t\\n\\tvar medical = parseFloat(data.prev_med_exp);  \\n\\tvar curMedical = parseFloat(data.cur_med_exp);\\t\\n\\tvar limit1=0;\\n\\tlimit1 = curMedical + medical;\\n\\tif (limit1>5000){\\n\\t  alert(\\\"Deduction amount for medical expenses of own parents is limited to RM 5,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_med_exp\\\",0);\\n\\t}\\n\\t\\n\\tvar father = parseFloat(data.prev_father_relief);\\t\\t\\t\\t// Field type: text\\n\\tvar curFather = parseFloat(data.cur_father_relief);\\t\\n\\tvar limit2=0;\\n\\tlimit2 = curFather + father;\\n\\tif (limit2>1500){\\n\\t  alert(\\\"Deduction amount for Father Relief is limited to RM 1,500.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_father_relief\\\",0);\\n\\t}\\n\\t\\n\\tvar mother = parseFloat(data.prev_mother_relief);\\t\\t\\t\\t// Field type: text\\n\\tvar curMother = parseFloat(data.cur_mother_relief);\\t\\n\\tvar limit3=curMother + mother;\\n\\tif (limit3>1500){\\n\\t  alert(\\\"Deduction amount for Mother Relief is limited to RM 1,500.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_mother_relief\\\",0);\\n\\t}\\n\\t\\n\\tvar relief=data.prev_father_mother_relief;\\t\\t//Checkbox\\n\\tvar noCiv=data.prev_other_civ_servant;\\t\\t\\t//Checkbox\\n\\t\\n\\tvar support=data.prev_support_disabled;\\n\\tvar curSupport=data.cur_support_disabled;\\n\\tvar limit4=0;\\n\\tlimit4 = support + curSupport;\\n\\tif (limit4>6000){\\n\\t  alert(\\\"Deduction amount for Basic Supporting Equipment is limited to RM 6,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_support_disabled\\\",0);\\n\\t}  \\n\\t\\n\\tvar edu=data.prev_edu_fees;\\n\\tvar curEdu=data.cur_edu_fees;\\n\\tvar limit5=0;\\n\\tlimit5 = edu + curEdu;\\n\\tif (limit5>7000){\\n\\t  alert(\\\"Deduction amount for Higher Education Fees is limited to RM 7,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_edu_fees\\\",0);\\n\\t}\\n\\t\\n\\tvar serious=data.prev_med_exp_serious;\\n\\tvar complete=data.prev_com_med_exam;\\n\\t\\n\\tvar totalab=data.prev_total_a_b; \\t\\t\\t\\t\\n\\tvar curTotalab=data.cur_total_a_b; \\n\\tvar limit8=0;\\n\\tlimit8 = curTotalab + totalab;\\n\\tif (limit8>6000){\\n\\t  alert(\\\"Total Deduction for Medical Expenses on Serious Diseases and Complete Medical Examination is limited to RM 6,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_total_a_b\\\",0);\\n\\t}\\n\\t\\n\\tvar sspn=data.prev_net_dep_sspn;\\t\\t\\t\\n\\tvar curSspn=data.cur_net_dep_sspn;\\n\\tvar limit9=0;\\n\\tlimit9 = curSspn + sspn;\\n\\tif (limit9>8000){\\n\\t  alert(\\\"Deduction amount for Net Deposit in Skim Simpanan Pendidikan Nasional (SSPN) is limited to RM 8,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_net_dep_sspn\\\",0);\\n\\t}\\n  \\n\\tvar alimony=data.prev_alimony;\\t\\t\\t\\n\\tvar curAlimony=data.cur_alimony;\\n\\tvar limit10=0;\\n\\tlimit10 = curAlimony + alimony;\\n\\tif (limit10>4000){\\n\\t  alert(\\\"Deduction amount for Payment of Alimony to Former Wife is limited to RM 4,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_alimony\\\",0);\\n\\t}\\n\\t\\n\\tvar civil=parseFloat(data.prev_ins_ret_civ_ser);\\t\\t\\t\\t// Field type: text\\t\\t\\n\\tvar curCivil=parseFloat(data.cur_ins_ret_civ_ser);\\t\\t\\t\\t// Field type: text\\n\\tvar limit11= 0;\\n\\tlimit11 = curCivil + civil;\\n\\tif (limit11>7000){\\n\\t  alert(\\\"Deduction amount for Retired Civil Servant is limited to RM 7,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_ins_ret_civ_ser\\\",0);\\n\\t}\\n\\t\\n\\tvar other=parseFloat(data.prev_ins_oth_ret_civ_ser);\\t\\t\\t// Field type: text\\t\\n\\tvar curOther=parseFloat(data.cur_ins_oth_ret_civ_ser);\\t\\t\\t// Field type: text\\n\\tvar limit12= 0;\\n\\tlimit12 = curOther + other;\\n\\tif (limit12>3000){\\n\\t  alert(\\\"Total of Life Insurance and Accumulated Life Insurance deduction cannot exceed RM 3000.00. Please correct your amount\\\");\\n\\t  set_data({prev_ins_oth_ret_civ_ser:0});\\n\\t}\\n\\t\\n\\tvar premium=data.prev_edu_med_ins_prem;\\t\\t\\n\\tvar curPremium=data.cur_edu_med_ins_prem;\\n\\tvar limit13=0;\\n\\tlimit13 = curPremium + premium;\\n\\tif (limit13>3000){\\n\\t  alert(\\\"Deduction amount for Education and Medical Insurance limited to RM 3,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_edu_med_ins_prem\\\",0);\\n\\t}\\n  \\n\\t\\n\\tvar annuity=data.prev_def_annuity;\\t\\t\\n\\tvar curAnnuity=data.cur_def_annuity;\\n\\tvar limit14=0;\\n\\tlimit14 = curAnnuity + annuity;\\n\\tif (limit14>3000){\\n\\t  alert(\\\"Deduction amount for Annuity Retained Premium or Contribution to Private Retirement Scheme is limted to RM 3,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_def_annuity\\\",0);\\n\\t}\\n  \\n\\tvar socso=data.prev_socso_cont;\\t\\t\\n\\tvar curSocso=data.cur_socso_cont;\\n\\tvar limit15=0;\\n\\tlimit15 = curSocso + socso;\\n\\tif (limit15>250){\\n\\t  alert(\\\"Contribution to SOCSO is limited to RM 250.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_socso_cont\\\",0);\\n\\t}\\n  \\n\\tvar purchase=data.prev_purch;\\t\\t\\t\\n\\tvar curPurchase=data.cur_purch;\\n\\tvar limit16=0;\\n\\tlimit16 = curPurchase + purchase;\\n\\tif (limit16>2500){\\n\\t  alert(\\\"Purchase of Readings, Computer, Smartphone, Tablet, Sport Equipment, Gymnasium Membership and Subscription of Broadband Internet is limited to RM 2,500.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_purch\\\",0);\\n\\t}\\n\\t\\n\\tvar equipment=data.prev_purch_bre_equip;\\n\\tvar curEquipment=data.cur_purch_bre_equip;\\n\\tvar limit17=0;\\n\\tlimit17 = curEquipment + equipment;\\n\\tif (limit17>1000){\\n\\t  alert(\\\"Purchase os Breastfeeding Equipment limited to RM 1,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_purch_bre_equip\\\",0);\\n\\t}\\n\\t\\n\\tvar child=data.prev_fee_child_care;\\t\\t\\t\\n\\tvar curChild=data.cur_fee_child_care;\\n\\tvar limit18=0;\\n\\tlimit18 = curChild + child;\\n\\tif (limit18>2000){\\n\\t  alert(\\\"Fees paid to Child Care Centre and Kindergartens is limited to RM 2,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"prev_fee_child_care\\\",0);\\n\\t}\\n\\t\\n\\tif (medical != medical){\\n\\t  set_data({prev_med_exp:0});\\n\\t  medical = data.prev_med_exp;\\n\\t  console.log(\\\"af602:\\\",medical);\\n\\t}\\n\\t\\n\\tif (father != father){\\n\\t  set_data({prev_father_relief:0});\\n\\t  father = data.prev_father_relief;\\n\\t  console.log(\\\"af603:\\\",father);\\n\\t}\\n\\t\\n\\tif (mother != mother){\\n\\t  set_data({prev_mother_relief:0});\\n\\t  mother = data.prev_mother_relief;\\n\\t  console.log(\\\"af604:\\\",mother);\\n\\t}\\n  \\n\\tif(civil != civil){\\n\\t  set_data({prev_ins_ret_civ_ser:0});\\n\\t  civil = data.prev_ins_ret_civ_ser;\\n\\t  console.log(\\\"af605:\\\",civil);\\n\\t}\\n\\t\\n\\tif(other!= other){\\n\\t  set_data({prev_ins_oth_ret_civ_ser:0});\\n\\t  other = data.prev_ins_oth_ret_civ_ser;\\n\\t  console.log(\\\"af606:\\\", other);\\n\\t}\\n  \\n\\t//set_data({prev_father_mother_relief:true});\\n  \\n\\tvar prevTotalDeduction=0;\\n\\tprevTotalDeduction = medical + father + mother + support + edu + totalab +\\n\\t  sspn + alimony + civil + other + premium + annuity + socso + \\n\\t  purchase + equipment + child;\\n\\tset_field_value(\\\"prev_total_acc_deduct\\\",prevTotalDeduction);\\n\\tconsole.log(\\\"af601:\\\",prevTotalDeduction,medical,curMedical);\\n  }\\n  \\n  \\n  function currNetRem(){\\n\\tvar data=get_data();\\n\\tvar remuneration=data.cur_net_rem;\\n\\t\\n\\tvar prevEpf = data.prev_acc_epf;\\n\\tvar epf= data.cur_epf;\\n\\tvar addEpf = data.cur_add_rem_epf;\\n\\tvar limit0=0;\\n\\tlimit0 = prevEpf + epf + addEpf;;\\n\\tif (limit0>4000){\\n\\t  alert(\\\"2.Total EPF on Monthly Remuneration, Additional Remuneration and Accumulated Remuneration cannot exceed RM 4,000.00. Please correct your amount\\\");\\n\\t\\tset_field_value(\\\"cur_epf\\\",0);\\n\\t\\tset_field_value(\\\"cur_total_net_rem\\\",0);\\n\\t}\\n  \\n\\tvar netRem=0;\\n\\tnetRem = remuneration - epf;\\n\\tset_field_value(\\\"cur_total_net_rem\\\",netRem);\\n  \\n  }\\n  \\n  \\n  function addRem(){\\n\\tvar data=get_data();\\n\\tvar bonus=data.cur_bonus;\\n\\tvar arrears=data.cur_arrears;\\n\\tvar commission=data.cur_commission;\\n\\tvar gratuity=data.cur_gratuity;\\n\\tvar compensation=data.cur_compensation;\\n\\tvar director=data.cur_director_fee;\\n\\tvar tax=data.cur_inc_tax_on_behalf;\\n\\tvar other=data.cur_others;\\n  \\n\\tvar totalAddRem=0;\\n\\ttotalAddRem = bonus + arrears + commission + gratuity + compensation + \\n\\t  director + tax + other;\\n\\tset_field_value(\\\"cur_total_add_rem\\\",totalAddRem);\\n  \\n\\ttotalNetAddRem();\\n  }\\n  \\n  \\n  function totalNetAddRem(){\\n\\tvar data=get_data();\\n\\tvar addRem=data.cur_total_add_rem;\\n\\t\\n\\tvar prevEpf = data.prev_acc_epf;\\n\\tvar curEpf= data.cur_epf;\\n\\tvar epf = data.cur_add_rem_epf;\\n\\tvar limit0=0;\\n\\tlimit0 = prevEpf + epf + curEpf;;\\n\\tif (limit0>4000){\\n\\t  alert(\\\"3.Total EPF on Monthly Remuneration, Additional Remuneration and Accumulated Remuneration cannot exceed RM 4,000.00. Please correct your amount\\\");\\n\\t\\tset_field_value(\\\"cur_add_rem_epf\\\",0);\\n\\t\\tset_field_value(\\\"cur_total_net_add_rem\\\",0);\\n\\t}\\n  \\n\\tvar totalNetAddRem=0;\\n\\ttotalNetAddRem= addRem - epf;\\n\\tset_field_value(\\\"cur_total_net_add_rem\\\",totalNetAddRem);\\n  }\\n  \\n  \\n  \\n  function curParents1(){\\n\\tvar data=get_data();\\n\\tvar expenses= data.cur_parents_exp;\\n\\tvar relief= data.cur_father_mother_relief;\\n  \\n\\tif (expenses==true){\\n\\t  set_data({cur_father_mother_relief:false});\\n\\t  get_component(\\\"cur_med_exp\\\").set_props({disabled:false});\\n\\t  get_component(\\\"cur_father_relief\\\").set_props({disabled:true});\\n\\t  set_data({cur_father_relief:0});\\n\\t  get_component(\\\"cur_mother_relief\\\").set_props({disabled:true});\\n\\t  set_data({cur_mother_relief:0});\\n\\t}\\n\\telse if(expenses==false){\\n\\t  set_data({cur_father_mother_relief:true});\\n\\t  get_component(\\\"cur_med_exp\\\").set_props({disabled:true});\\n\\t  set_data({cur_med_exp:0});\\n\\t  get_component(\\\"cur_father_relief\\\").set_props({disabled:false});\\n\\t  get_component(\\\"cur_mother_relief\\\").set_props({disabled:false});\\n\\t}\\n  }\\n  \\n  function curParents2(){\\n\\tvar data=get_data();\\n\\tvar expenses= data.cur_parents_exp;\\n\\tvar relief= data.cur_father_mother_relief;\\n  \\n\\tif (relief==true){\\n\\t  set_data({cur_parents_exp:false});\\n\\t  get_component(\\\"cur_med_exp\\\").set_props({disabled:true});\\n\\t  set_data({cur_med_exp:0});\\n\\t  get_component(\\\"cur_father_relief\\\").set_props({disabled:false});\\n\\t  get_component(\\\"cur_mother_relief\\\").set_props({disabled:false});\\n\\t}\\n\\telse if(relief==false){\\n\\t  set_data({cur_parents_exp:true});\\n\\t  get_component(\\\"cur_med_exp\\\").set_props({disabled:false});\\n\\t  get_component(\\\"cur_father_relief\\\").set_props({disabled:true});\\n\\t  set_data({cur_father_relief:0});\\n\\t  get_component(\\\"cur_mother_relief\\\").set_props({disabled:true});\\n\\t  set_data({cur_mother_relief:0});\\n\\t}\\n  \\n  }\\n  \\n  \\n  function curMedExpenses(){\\n\\tvar data=get_data();\\n\\t\\n\\tvar prevSerious = data.prev_med_exp_serious;      //Check Limit\\n\\tvar serious=data.cur_med_exp_serious; \\n\\tvar limit6=0;\\n\\tlimit6 = prevSerious + serious;\\n\\tif (limit6>6000){\\n\\t  alert(\\\"Deduction amount for Medical Expenses on Serious Disease is limited to RM 6,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_med_exp_serious\\\",0);\\n\\t}\\n  \\n\\tvar prevComplete = data.prev_com_med_exam;      //Check Limit\\n\\tvar complete=data.cur_com_med_exam;\\n\\tvar limit7=0;\\n\\tlimit7 = prevComplete + complete;\\n\\tif (limit7>500){\\n\\t  alert(\\\"Deduction amount Complete Medical Examination is limited to RM 500.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_com_med_exam\\\",0);\\n    }\\n    var total=0;\\n\\ttotal = serious + complete;\\n\\t\\n    \\n    if (total>6000){\\n        alert(\\\"Total Deduction amount Medical Expenses on Serious Disease and Complete Medical Examination is limited to RM 6000.00 per year. Please correct your amount\\\");\\n        set_field_value(\\\"cur_com_med_exam\\\",0);\\n        set_field_value(\\\"cur_med_exp_serious\\\",0);\\n        set_field_value(\\\"cur_total_a_b\\\",0);\\n      }\\n    else{\\n        set_field_value(\\\"cur_total_a_b\\\",total);\\n    }\\n\\t  \\n\\t\\n\\t\\n  \\n  }\\n  \\n  \\n  \\n  \\n  function curLifeInsurance1(){\\n\\tvar data=get_data();\\n\\tvar civil= data.cur_civ_servant;\\n\\tvar other= data.cur_other_civ_servant;\\n  \\n\\tif (civil==true){\\n\\t  set_data({cur_other_civ_servant:false});\\n\\t  get_component(\\\"cur_ins_ret_civ_ser\\\").set_props({disabled:false});\\n\\t  get_component(\\\"cur_ins_oth_ret_civ_ser\\\").set_props({disabled:true});\\n\\t  set_data({cur_ins_oth_ret_civ_ser:0});\\n\\t  set_data({cur_epf:0,prev_acc_epf:0});\\n\\t  var curNetRem = data.cur_net_rem;\\n\\t  var PrevRem = data.prev_acc_rem_bik_vola;\\n\\t  console.log(\\\"afi31:\\\",PrevRem);\\n\\t  set_data({cur_total_net_rem:curNetRem,prev_net_acc_rem:PrevRem});\\n\\t}\\n\\telse if (civil==false){\\n\\t  set_data({cur_other_civ_servant:true});\\n\\t  get_component(\\\"cur_ins_ret_civ_ser\\\").set_props({disabled:true});\\n\\t  set_data({cur_ins_ret_civ_ser:0});\\n\\t  get_component(\\\"cur_ins_oth_ret_civ_ser\\\").set_props({disabled:false});\\n\\t}\\n  }\\n  \\n  function curLifeInsurance2(){\\n\\tvar data=get_data();\\n\\tvar civil= data.cur_civ_servant;\\n\\tvar other= data.cur_other_civ_servant;\\n  \\n\\tif (other==true){\\n\\t  set_data({cur_civ_servant:false});\\n\\t  get_component(\\\"cur_ins_ret_civ_ser\\\").set_props({disabled:true});\\n\\t  set_data({cur_ins_ret_civ_ser:0});\\n\\t  get_component(\\\"cur_ins_oth_ret_civ_ser\\\").set_props({disabled:false});\\n\\t}\\n\\telse if(other==false){\\n\\t  set_data({cur_civ_servant:true});\\n\\t  get_component(\\\"cur_ins_ret_civ_ser\\\").set_props({disabled:false});\\n\\t  get_component(\\\"cur_ins_oth_ret_civ_ser\\\").set_props({disabled:true});\\n\\t  set_data({cur_ins_oth_ret_civ_ser:0});\\n\\t  set_data({cur_epf:0,prev_acc_epf:0});\\n\\t  var curNetRem = data.cur_net_rem;\\n\\t  var PrevRem = data.prev_acc_rem_bik_vola;\\n\\t  console.log(\\\"afi32:\\\",PrevRem);\\n\\t  set_data({cur_total_net_rem:curNetRem,prev_net_acc_rem:PrevRem});\\n\\t}\\n  }\\n  \\n  \\n  function curDeduction(){\\n\\tvar data=get_data();\\n  \\n\\tvar prevMedical = parseFloat(data.prev_med_exp);  \\n\\tvar medical = parseFloat(data.cur_med_exp);\\t\\n\\tvar limit1=0;\\n\\tlimit1 = prevMedical + medical;\\n\\tif (limit1>5000){\\n\\t  alert(\\\"Deduction amount for medical expenses of own parents is limited to RM 5,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_med_exp\\\",0);\\n\\t}\\n  \\n\\tvar prevFather = parseFloat(data.prev_father_relief);\\t\\t\\t\\t\\t\\t\\t\\t//limit\\n\\tvar father = parseFloat(data.cur_father_relief);\\t\\n\\tvar limit2=0;\\n\\tlimit2 = prevFather + father;\\n\\tif (limit2>1500){\\n\\t  alert(\\\"Deduction amount for Father Relief is limited to RM 1,500.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_father_relief\\\",0);\\n\\t}\\n  \\n\\tvar prevMother = parseFloat(data.prev_mother_relief);\\t\\t\\t\\t\\t\\t\\t\\t//limit\\n\\tvar mother = parseFloat(data.cur_mother_relief);\\t\\n\\tvar limit3=prevMother + mother;\\n\\tif (limit3>1500){\\n\\t  alert(\\\"Deduction amount for Mother Relief is limited to RM 1,500.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_mother_relief\\\",0);\\n\\t}\\n  \\n\\tvar relief=data.cur_father_mother_relief;\\t\\t\\t\\t\\t\\t\\t\\t//checkbox\\n\\tvar noCiv=data.cur_other_civ_servant;\\t\\t\\t\\t\\t\\t\\t\\t\\t//checkbox\\n  \\n\\tvar prevSupport = data.prev_support_disabled;\\t\\n\\tvar support=data.cur_support_disabled;\\n\\tvar limit4=0;\\n\\tlimit4 = prevSupport + support;\\n\\tif (limit4>6000){\\n\\t  alert(\\\"Deduction amount for Basic Supporting Equipment is limited to RM 6,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_support_disabled\\\",0);\\n\\t}\\n\\t\\n\\tvar prevEdu = data.prev_edu_fees;\\n\\tvar edu=data.cur_edu_fees;\\t\\n\\tvar limit5=0;\\n\\tlimit5 = prevEdu + edu;\\n\\tif (limit5>7000){\\n\\t  alert(\\\"Deduction amount for Higher Education Fees is limited to RM 7,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_edu_fees\\\",0);\\n\\t}\\n  \\n\\tvar prevSerious = data.prev_med_exp_serious;\\t\\t\\t//Check Limit\\n\\tvar serious=data.cur_med_exp_serious;\\t\\n\\tvar limit6=0;\\n\\tlimit6 = prevSerious + serious;\\n\\t\\n  \\n\\tvar prevComplete = data.prev_com_med_exam;\\t\\t\\t//Check Limit\\n\\tvar complete=data.cur_com_med_exam;\\n\\tvar limit7=0;\\n\\tlimit7 = prevComplete + complete;\\n\\t\\n  \\n\\tvar prevTotalab = data.prev_total_a_b; \\t\\t\\t\\t\\n\\tvar totalab=data.cur_total_a_b; \\n\\tvar limit8=0;\\n\\tlimit8 = prevTotalab + totalab;\\n\\tif (limit8>6000){\\n\\t  alert(\\\"Total Deduction for Medical Expenses on Serious Diseases and Complete Medical Examination is limited to RM 6,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_total_a_b\\\",0);\\n\\t}\\n  \\n  \\n\\tvar prevSspn = data.prev_net_dep_sspn;\\t\\t\\t\\n\\tvar sspn=data.cur_net_dep_sspn;\\n\\tvar limit9=0;\\n\\tlimit9 = prevSspn + sspn;\\n\\tif (limit9>8000){\\n\\t  alert(\\\"Deduction amount for Net Deposit in Skim Simpanan Pendidikan Nasional (SSPN) is limited to RM 8,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_net_dep_sspn\\\",0);\\n\\t}\\n  \\n  \\n\\tvar prevAlimony = data.prev_alimony;\\t\\t\\t\\n\\tvar alimony=data.cur_alimony;\\n\\tvar limit10=0;\\n\\tlimit10 = prevAlimony + alimony;\\n\\tif (limit10>4000){\\n\\t  alert(\\\"Deduction amount for Payment of Alimony to Former Wife is limited to RM 4,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_alimony\\\",0);\\n\\t}\\n  \\n\\tvar prevCivil = parseFloat(data.prev_ins_ret_civ_ser);\\t\\t\\t//Check Limit\\t\\t\\t\\n\\tvar civil=parseFloat(data.cur_ins_ret_civ_ser);\\t\\t\\t\\t// Field type: text\\n\\tvar limit11=0;\\n\\tlimit11 = prevCivil + civil;\\n\\tif (limit11>7000){\\n\\t  alert(\\\"Deduction amount for Retired Civil Servant is limited to RM 7,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_ins_ret_civ_ser\\\",0);\\n\\t}\\n  \\n\\tvar prevOther = parseFloat(data.prev_ins_oth_ret_civ_ser);\\t\\t//Check Limit\\t\\t\\n\\tvar other = parseFloat(data.cur_ins_oth_ret_civ_ser);\\t\\t\\t// Field type: text\\n\\tvar limit12=0;\\n\\tlimit12 = prevOther + other;\\n\\tif (limit12>3000){\\n\\t  alert(\\\"Total of Life Insurance and Accumulated Life Insurance deduction cannot exceed RM 3000.00. Please correct your amount\\\");\\n\\t  set_data({cur_ins_oth_ret_civ_ser:0});\\n\\t}\\n  \\n\\tvar prevPremium = data.prev_edu_med_ins_prem;\\t\\t\\t\\n\\tvar premium=data.cur_edu_med_ins_prem;\\n\\tvar limit13=0;\\n\\tlimit13 = prevPremium + premium;\\n\\tif (limit13>3000){\\n\\t  alert(\\\"Deduction amount for Education and Medical Insurance limited to RM 3,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_edu_med_ins_prem\\\",0);\\n\\t}\\n  \\n\\tvar prevAnnuity = data.prev_def_annuity;\\t\\t\\t\\n\\tvar annuity=data.cur_def_annuity;\\n\\tvar limit14=0;\\n\\tlimit14 = prevAnnuity + annuity;\\n\\tif (limit14>3000){\\n\\t  alert(\\\"Deduction amount for Annuity Retained Premium or Contribution to Private Retirement Scheme is limted to RM 3,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_def_annuity\\\",0);\\n\\t}\\n  \\n\\tvar prevSocso = data.prev_socso_cont;\\t\\t\\t\\n\\tvar socso=data.cur_socso_cont;\\n\\tvar limit15=0;\\n\\tlimit15 = prevSocso + socso;\\n\\tif (limit15>250){\\n\\t  alert(\\\"Contribution to SOCSO is limited to RM 250.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_socso_cont\\\",0);\\n\\t}\\n  \\n\\tvar prevPurchase = data.prev_purch;\\t\\t\\t\\n\\tvar purchase=data.cur_purch;\\n\\tvar limit16=0;\\n\\tlimit16 = prevPurchase + purchase;\\n\\tif (limit16>2500){\\n\\t  alert(\\\"Purchase of Readings, Computer, Smartphone, Tablet, Sport Equipment, Gymnasium Membership and Subscription of Broadband Internet is limited to RM 2,500.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_purch\\\",0);\\n\\t}\\n  \\n\\tvar prevEquipment = data.prev_purch_bre_equip;\\t\\t\\t\\n\\tvar equipment=data.cur_purch_bre_equip;\\n\\tvar limit17=0;\\n\\tlimit17 = prevEquipment + equipment;\\n\\tif (limit17>1000){\\n\\t  alert(\\\"Purchase os Breastfeeding Equipment limited to RM 1,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_purch_bre_equip\\\",0);\\n\\t}\\n  \\n\\tvar prevChild = data.prev_fee_child_care;\\t\\t\\t\\n\\tvar child=data.cur_fee_child_care;\\n\\tvar limit18=0;\\n\\tlimit18 = prevChild + child;\\n\\tif (limit18>2000){\\n\\t  alert(\\\"Fees paid to Child Care Centre and Kindergartens is limited to RM 2,000.00 per year. Please correct your amount\\\");\\n\\t  set_field_value(\\\"cur_fee_child_care\\\",0);\\n\\t}\\n  \\n\\tif (medical != medical){\\n\\t  set_data({cur_med_exp:0});\\n\\t  medical = data.cur_med_exp;\\n\\t  console.log(\\\"af602:\\\",medical);\\n\\t}\\n\\t\\n\\tif (father != father){\\n\\t  set_data({cur_father_relief:0});\\n\\t  father = data.cur_father_relief;\\n\\t  console.log(\\\"af603:\\\",father);\\n\\t}\\n\\t\\n\\tif (mother != mother){\\n\\t  set_data({cur_mother_relief:0});\\n\\t  mother = data.cur_mother_relief;\\n\\t  console.log(\\\"af604:\\\",mother);\\n\\t}\\n  \\n\\tif(civil != civil){\\n\\t  set_data({cur_ins_ret_civ_ser:0});\\n\\t  civil = data.cur_ins_ret_civ_ser;\\n\\t  console.log(\\\"af605:\\\",civil);\\n\\t}\\n\\t\\n\\tif(other!= other){\\n\\t  set_data({cur_ins_oth_ret_civ_ser:0});\\n\\t  other = data.cur_ins_oth_ret_civ_ser;\\n\\t  console.log(\\\"af606:\\\", other);\\n\\t}\\n  \\n\\tvar curTotalDeduction=0;\\n\\tcurTotalDeduction = medical + father + mother + support + edu + totalab +\\n\\t  sspn + alimony + civil + other + premium + annuity + socso + \\n\\t  purchase + equipment + child;\\n\\tset_field_value(\\\"cur_total_deduct\\\",curTotalDeduction);\\n\\tconsole.log(\\\"af601:\\\",curTotalDeduction,medical,father);\\n  \\n  }\\n  \\n  \\n  async function NormalMTD(){\\n\\tvar data=get_data();\\n\\tvar Y = parseFloat(data.prev_acc_rem_bik_vola);\\n\\tset_field_value(\\\"Y\\\",Y);\\n\\tvar K = parseFloat(data.prev_acc_epf);\\n\\tset_field_value(\\\"K\\\",K);\\n\\tvar E = parseFloat(data.prev_net_acc_rem);\\n\\tset_field_value(\\\"E\\\",E);\\n\\t\\n  \\n\\tvar curRem = parseFloat(data.cur_net_rem);\\n\\tvar curBik = parseFloat(data.cur_bik);\\n\\tvar curVola = parseFloat(data.cur_vola);\\n\\tconsole.log(\\\"tired: \\\",curRem,curBik,curVola);\\n\\tvar Y1 = 0;\\n\\tY1 = curRem + curBik + curVola;\\n\\tset_field_value(\\\"Y1\\\",Y1);\\n  \\n\\tvar K1 = parseFloat(data.cur_epf);\\n\\tset_field_value(\\\"K1\\\",K1);\\n\\tvar Y2 = Y1;\\n\\tset_field_value(\\\"Y2\\\",Y2);\\n  \\n\\tvar KK1 = K + K1;\\n\\tconsole.log(\\\"af202:\\\",K, K1, KK1);\\n\\tvar month = data.month;\\n\\tvar n = 12 - month;\\n\\tset_field_value(\\\"n\\\",n);\\n\\tvar K2 = 0;\\n\\tK2 = (4000 - KK1)/n;\\n  console.log(1651,K2)\\n\\tif (K2>K1){\\n\\t  K2 = K1;\\n\\t  var k2conv = twoNum(K2);\\n\\t  var stk2 = k2conv[0];\\n\\t  var nok2 = k2conv[1];\\n\\t  set_data({K2:nok2});\\n\\t}\\n\\telse if (K2\n                                                                                                                                        <K1){\\n\\t  K2 = K2;\\n\\t  var k2conv = twoNum(K2);\\n\\t  var stk2 = k2conv[0];\\n\\t  var nok2 = k2conv[1];\\n\\t  set_data({K2:nok2});\\n\\t}\\n\\tconsole.log(\\\"af201:\\\",K2, nok2);\\n  \\n\\t//value of D & S based on Status Category\\n\\tvar status = data.status_category;\\n\\tvar D = 0;\\n\\tvar S = 0;\\n  \\n\\tif (status == \\\"Single\\\" || status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t  D = 9000;\\n\\t  S = 0;\\n\\t}\\n\\telse if (status == \\\"Married and husband/wife is not working\\\"){\\n\\t  D = 9000;\\n\\t  S = 4000;\\n\\t}\\n\\tset_field_value(\\\"D\\\",D);\\n\\tset_field_value(\\\"S\\\",S);\\n  \\n\\tvar disInd = data.disabled_individual;\\n\\tvar Du = 0;\\n\\tif (disInd == \\\"yes\\\"){\\n\\t  Du = 6000;\\n\\t}\\n\\telse {\\n\\t  Du = 0;\\n\\t}\\n\\tset_field_value(\\\"Du\\\",Du);\\n  \\n\\tvar disSpo = data.disabled_spouse;\\n\\tvar Su = 0;\\n\\tif (disSpo == \\\"yes\\\"){\\n\\t  Su = 3500;\\n\\t}\\n\\telse{\\n\\t  Su = 0;\\n\\t}\\n\\tset_field_value(\\\"Su\\\",Su);\\n  \\n\\t//calculate QC\\n\\tvar totalUnder18 = parseFloat(data.child_under_18_total);\\n\\tvar total18Study = parseFloat(data.child_18_study_total);\\n\\tvar total18Full = parseFloat(data.child_18_full_time_total);\\n\\tvar totalDisabled = parseFloat(data.disabled_child_total);\\n\\tvar totalDisStudy = parseFloat(data.disabled_child_study_total);\\n\\tvar QC = 0;\\n\\t// \\n\\tQC = totalUnder18 + total18Study + total18Full + totalDisabled + totalDisStudy;\\n\\tset_field_value(\\\"QC\\\",QC);\\n  \\n\\tvar ELP = parseFloat(data.prev_total_acc_deduct);\\n\\tset_field_value(\\\"ELP\\\",ELP);\\n\\tvar LP1 = parseFloat(data.cur_total_deduct);\\n\\tset_field_value(\\\"LP1\\\",LP1);\\n  \\n\\t//calculate P\\n\\tvar P1 = 0;\\n\\tvar P2 = 0;\\n\\tvar P = 0;\\n\\tvar Y1K1 = Y1 - K1;\\n\\tvar Y2K2 = Y2 - nok2;\\n\\t\\n\\t\\n\\tP1 = E + Y1K1 + (Y2K2 * n);\\n\\tconsole.log(\\\"afiqahhhhhhhhh31:\\\",P1,E,Y1K1,Y2K2,n);\\n\\tconsole.log(1651,P1)\\n\\tvar p1conv = twoNum(P1);\\n\\tvar stp1 = p1conv[0];\\n\\tvar nop1 = p1conv[1];\\n\\t\\n\\tP2 = D + S + Du + Su + QC + ELP + LP1;\\n\\tP = nop1 - P2;\\n\\tconsole.log(\\\"afiqahhhhhhhhh32:\\\",nop1,P2, P);\\n\\t\\n\\tset_field_value(\\\"P_res\\\",P);\\n  \\n\\t//var formula = data.mtd_formula; \\n\\t//Resident Rate\\n\\t// Search DB Rate: START\\n\\tvar p = data.P_res;\\n\\tconsole.log(\\\"afi: \\\", p);\\n\\tvar cat = data.status_category;\\n\\t\\n\\tif(p\n                                                                                                                                            <5001){\\n\\t  var narpmin = 0;\\n\\t  var narpmax = 0;\\n\\t  var narm = 0;\\n\\t  var narr = 0;\\n\\t  var narb = 0;\\n\\t  console.log(\\\"af1: \\\", narpmin, narpmax, narm, narr, narb);\\n\\t  set_data({M:narm});\\n\\t  set_data({R_res:narr});\\n\\t  set_data({B:narb});\\n\\t  var M = data.M;\\n\\t  var R = data.R_res;\\n\\t  var B = data.B;\\n\\t  console.log(\\\"af2: \\\",M,R,B);\\n\\t}\\n\\t\\n\\telse if(p>5000){\\n\\t  var cond = [[]];\\n\\t  var field = [\\\"nar_no\\\",\\\"nar_p_max\\\",\\\"nar_m\\\",\\\"nar_r\\\",\\\"nar_b1\\\",\\\"nar_b2\\\",\\\"nar_p_min\\\"];\\n\\t  var res = await rpc_execute(\\\"hr2.deduction.mtd.lines\\\",\\\"search_read\\\",[cond,field]);\\n\\t  for(let i = 0; i>=0; i++){\\n\\t\\tvar narpmin = parseFloat(res[i].nar_p_min);\\n\\t\\tvar narpmax = res[0].nar_p_max?res[i].nar_p_max:\\\"null\\\";\\n\\t\\tconsole.log(\\\"af3: \\\",narpmin,narpmax);\\n  \\n\\t\\tif (narpmax == \\\"null\\\"){\\n\\t\\t  var narm = parseFloat(res[i].nar_m);\\n\\t\\t  var narR = parseFloat(res[i].nar_r);\\n\\t\\t  var narr = narR / 100;\\n  \\n\\t\\t  if (cat == \\\"Single\\\" || cat == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\t\\tvar narb = parseFloat(res[i].nar_b1);\\n\\t\\t  }\\n\\t\\t  else if (cat == \\\"Married and husband/wife is not working\\\"){\\n\\t\\t\\tvar narb = parseFloat(res[i].nar_b2);\\n\\t\\t  }\\n\\t\\t  console.log(\\\"af4: \\\", narpmin, narpmax, narm, narr, narb);\\n\\t\\t}\\n\\t\\telse if(narpmax == res[i].nar_p_max){\\n\\t\\t  narpmax = parseFloat(narpmax);\\n\\t\\t  console.log(\\\"af5: \\\", narpmax);\\n\\t\\t  var moret = Boolean(p>=narpmin);\\n\\t\\t  var lesst = Boolean(p<=narpmax);\\n\\t\\t  console.log(\\\"af6: \\\", moret,lesst);\\n  \\n\\t\\t  if (moret== true && lesst == true){\\n\\t\\t\\tvar narm = parseFloat(res[i].nar_m);\\n\\t\\t\\tvar narR = parseFloat(res[i].nar_r);\\n\\t\\t\\tvar narr = narR / 100;\\n\\t\\t\\tconsole.log(\\\"af7: \\\", narm, narr);\\n\\t\\t\\tif(cat ==\\\"Single\\\" || cat ==\\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\t\\t  var narb = parseFloat(res[i].nar_b1);\\n\\t\\t\\t}\\n\\t\\t\\telse if (cat == \\\"Married and husband/wife is not working\\\"){\\n\\t\\t\\t  var narb = parseFloat(res[i].nar_b2);\\n\\t\\t\\t}\\n\\t\\t\\tconsole.log(\\\"af8: \\\", narpmin, narpmax, narm, narr, narb);\\n\\t\\t\\tset_data({M:narm});\\n\\t\\t\\tset_data({R_res:narr});\\n\\t\\t\\tset_data({B:narb});\\n\\t\\t\\tvar M = data.M;\\n\\t\\t\\tvar R = data.R_res;\\n\\t\\t\\tvar B = data.B;\\n\\t\\t\\tconsole.log(\\\"af9: \\\",M,R,B)\\n\\t\\t\\tbreak;\\n\\t\\t  }\\n\\t\\t}\\n\\t  }\\n\\t}\\n\\t// Search DB Rate : END\\n\\t\\n\\t/*\\n\\t// Hard Code Rate: START\\n\\tvar M = 0;\\n\\tvar R = 0;\\n\\tvar B = 0;\\n  \\n\\t//Normal Deduction Rate\\n\\tif (P>5000 && P<=20000){\\n\\t  M = 5000;\\n\\t  R = 0.01;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tB = -400; //KIV\\n\\t  }\\n\\t  else{\\n\\t\\tB = -800; //KIV\\n\\t  }\\n\\t}\\n\\telse if (P>20000 && P<=35000){\\n\\t  M = 20000;\\n\\t  R = 0.03;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tB = -250; //KIV\\n\\t  }\\n\\t  else{\\n\\t\\tB = -650; //KIV\\n\\t  }\\n\\t}\\n\\telse if (P>35000 && P<=50000){\\n\\t  M = 35000;\\n\\t  R = 0.08;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tB = 600;\\n\\t  }\\n\\t  else{\\n\\t\\tB = 600;\\n\\t  }\\n\\t}\\n\\telse if (P>50000 && P<=70000){\\n\\t  M = 50000;\\n\\t  R = 0.14;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tB = 1800;\\n\\t  }\\n\\t  else{\\n\\t\\tB = 1800;\\n\\t  }\\n\\t}\\n\\telse if (P>70000 && P<=100000){\\n\\t  M = 70000;\\n\\t  R = 0.21;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tB = 4600;\\n\\t  }\\n\\t  else{\\n\\t\\tB = 4600;\\n\\t  }\\n\\t}\\n\\telse if (P>100000 && P<=250000){\\n\\t  M = 100000;\\n\\t  R = 0.24;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tB = 10900;\\n\\t  }\\n\\t  else{\\n\\t\\tB = 10900;\\n\\t  }\\n\\t}\\n\\telse if (P>250000 && P<=400000){\\n\\t  M = 250000;\\n\\t  R = 0.245;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tB = 46900;\\n\\t  }\\n\\t  else{\\n\\t\\tB = 46900;\\n\\t  }\\n\\t}\\n\\telse if (P>400000 && P<=600000){\\n\\t  M = 400000;\\n\\t  R = 0.25;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tB = 83650;\\n\\t  }\\n\\t  else{\\n\\t\\tB = 83650;\\n\\t  }\\n\\t}\\n\\telse if (P>600000 && P<=1000000){\\n\\t  M = 600000;\\n\\t  R = 0.26;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tB = 133650;\\n\\t  }\\n\\t  else{\\n\\t\\tB = 133650;\\n\\t  }\\n\\t}\\n\\telse if (P>1000000){\\n\\t  M = 1000000;\\n\\t  R = 0.28;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tB = 237650;\\n\\t  }\\n\\t  else{\\n\\t\\tB = 237650;\\n\\t  }\\n\\t}\\n  \\n\\tset_field_value(\\\"M\\\",M);\\n\\tset_field_value(\\\"R_res\\\",R);\\n\\tset_field_value(\\\"B\\\",B);\\n\\t// Hard Code Rate: END\\n\\t*/\\n  \\n\\tvar Z = parseFloat(data.prev_total_acc_zakat);\\n\\tset_field_value(\\\"Z_res\\\",Z);\\n\\tvar X = parseFloat(data.prev_acc_mtd);\\n\\tset_field_value(\\\"X_res\\\",X);\\n  \\n\\t// Step 1 = Resident Calculation\\n\\tvar yearlyTax = (P-M)*R + B;\\n\\tconsole.log(1940,yearlyTax)\\n\\tvar yearlyTaxconv = twoNum(yearlyTax);\\n\\t  var styt = yearlyTaxconv[0];\\n\\t  var noyt = yearlyTaxconv[1];\\n\\t\\n\\tvar curMonthMTD = (noyt - (Z + X))/(n + 1);\\n\\tif (curMonthMTD <=0){\\n\\t  set_field_value(\\\"curMTD_res\\\",0);\\n\\t}\\n\\telse if (curMonthMTD>0){\\n\\t  var curMonthMTDconv = twoNum(curMonthMTD);\\n\\t  var stcm = curMonthMTDconv[0];\\n\\t  var nocm = curMonthMTDconv[1];\\n\\t  set_field_value(\\\"curMTD_res\\\",nocm);\\n\\t}\\n\\tvar curZakat = parseFloat(data.cur_zakat);\\n\\tvar curMonthMTD1 = parseFloat(data.curMTD_res);\\n\\tvar netMTD = Math.round((curMonthMTD1 - curZakat) * 100) / 100;\\n\\tset_field_value(\\\"netMTD_res\\\",netMTD);\\n\\t\\n\\tvar totaladd = data.cur_total_net_add_rem;\\n\\tconsole.log(\\\"af501:\\\",totaladd);\\n\\tif(totaladd == 0){\\n\\t  set_field_value(\\\"mtdb\\\",0);\\n\\t  set_field_value(\\\"Yt\\\",0);\\n\\t   set_field_value(\\\"Kt\\\",0);\\n\\t  set_data({CSK2:0});\\n\\t  set_field_value(\\\"P_CS\\\",0);\\n\\t  set_field_value(\\\"CS\\\",0);\\n\\t  set_field_value(\\\"mtdc\\\",0);\\n\\t  set_field_value(\\\"mtd\\\",netMTD);\\n\\t  if (netMTD <= 0){\\n\\t\\tvar conv = 0;\\n\\t  }\\n\\t  else{\\n\\t\\tvar nomtd = netMTD;\\n\\t\\tconsole.log(1929,nomtd);\\n\\t\\tvar stnomtd = nomtd.toString();\\n\\t\\tconsole.log(1978,stnomtd);\\n\\t\\tvar split = stnomtd.split(\\\".\\\");  \\n\\t\\tvar dec = split[1];\\n\\t\\tconsole.log(1981,stnomtd);\\n\\t\\tvar splitt = dec.split(\\\"\\\");\\n\\t\\tvar decc = splitt[1];\\n\\t\\tvar node = parseInt(decc);\\n\\n\\t\\tif (node<=5 && node>=2.5){\\n\\t\\t  var last = 5;\\n\\t\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t\\t}\\n\\t\\telse if (node<=5){\\n\\t\\t  var last = 0;\\n\\t\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t\\t}\\n\\t\\telse{\\n\\t\\t  var last = 0;\\n\\t\\t  var convv = parseInt(splitt[0]);\\n\\t\\t  var incr = convv;\\n\\t\\t  var com = split[0] + \\\".\\\" + incr + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",dec, decc, node, com, conv);\\n\\t\\t}\\n\\t  }\\n\\t}\\n\\t\\n\\telse{\\n\\t  //Step 2 = MTD(B)\\n\\t  var mtdB = X + (curMonthMTD1*(n+1));\\n\\t  var mtdBconv = twoNum(mtdB);\\n\\t  var stmb = mtdBconv[0];\\n\\t  var nomb = mtdBconv[1];\\n\\t  set_field_value(\\\"mtdb\\\",nomb);\\n  \\n\\t  //Step 3 = Yearly Tax (CS)\\n\\t  var Yt = parseFloat(data.cur_total_add_rem);\\n\\t  set_field_value(\\\"Yt\\\",Yt);\\n\\t  var Kt = parseFloat(data.cur_add_rem_epf);\\n\\t  set_field_value(\\\"Kt\\\",Kt);\\n\\t  var KK1Kt = K + K1 + Kt;\\n\\t  var CSK2 = (4000 - KK1Kt)/n;\\n  \\n\\t  if (CSK2>K1){\\n\\t\\tCSK2 = K1;\\n\\t\\tvar csk2conv = twoNum(CSK2);\\n\\t\\tvar stcsk2 = csk2conv[0];\\n\\t\\tvar nocsk2 = csk2conv[1];\\n\\t\\tset_data({CSK2:nocsk2});\\n\\t  }\\n\\t  else if (CSK2\n                                                                                                                                                <K1){\\n\\t\\t//K2 = K2;\\n\\t\\tvar csk2conv = twoNum(CSK2);\\n\\t\\tvar stcsk2 = csk2conv[0];\\n\\t\\tvar nocsk2 = csk2conv[1];\\n\\t\\tset_data({CSK2:nocsk2});\\n\\t  }\\n  \\n  \\n\\t  var Y2CSK2 = Y2 - nocsk2;\\n\\t  var YtKt = Yt - Kt;\\n\\t  \\n\\t  var CSP1 = E + Y1K1 + (Y2CSK2*n) + YtKt;\\n\\t  var csp1conv = twoNum(CSP1);\\n\\t  var stcsp1 = csp1conv[0];\\n\\t  var nocsp1 = csp1conv[1];\\n\\t  console.log(\\\"louis12:\\\",CSP1,E,Y1K1,Y2CSK2,n,YtKt,nocsp1);\\n\\t\\n\\t  var CSP2 = D + S + Du + Su + QC + ELP + LP1;\\n\\t  var CSP = nocsp1 - CSP2;\\n\\t  var cspconv = twoNum(CSP);\\n\\t\\tvar stcsp = cspconv[0];\\n\\t\\tvar nocsp = cspconv[1];\\n\\t\\tset_field_value(\\\"CS\\\",nocsp);\\n\\t  set_field_value(\\\"P_CS\\\",CSP);\\n\\t  var CS = (nocsp - M)*R + B;\\n\\t  if (CS <=0){\\n\\t\\tset_field_value(\\\"CS\\\",0);\\n\\t  }\\n\\t  else if (CS>0){\\n\\t\\tvar csconv = twoNum(CS);\\n\\t\\tvar stcs = csconv[0];\\n\\t\\tvar nocs = csconv[1];\\n\\t\\tset_field_value(\\\"CS\\\",nocs);\\n\\t  }\\n\\t  console.log(\\\"louis13:\\\",CSP2,CSP,nocsp,CS,nocs);\\n\\t  \\n\\t\\n\\t  //Step 4 = Additional Remuneration\\n\\t  var mtdC = nocs - (nomb + Z);\\n\\t  if (mtdC <=0){\\n\\t\\tset_field_value(\\\"mtdc\\\",0);\\n\\t  }\\n\\t  else if (mtdC>0){\\n\\t\\t/*var mtdcconv = twoNum(mtdC);\\n\\t\\tvar stmtdc = mtdcconv[0];\\n\\t\\tvar nomtdc = mtdcconv[1];\\n\\t\\tset_field_value(\\\"mtdc\\\",nomtdc);*/\\n\\t\\tconsole.log(2024,mtdC);\\n\\t\\tvar stg = mtdC.toString();\\n\\t\\tconsole.log(\\\"afiqahh: \\\",stg);\\n\\t\\n\\t\\tvar check = stg.includes(\\\".\\\");\\n\\t\\tif (check == false){\\n\\t\\t  check = mtdC.toFixed(2);\\t//mtdC change by ang from str,stg\\n\\t\\t  console.log(\\\"afiqah0: \\\",check);\\n\\t\\t  console.log(2032,check)\\n\\t\\t  stg = check.toString();\\n\\t\\t  console.log(\\\"afiqah00: \\\",stg);\\n\\t\\t}\\n\\t\\tconsole.log(2091,stg)\\n\\t\\tvar split = stg.split(\\\".\\\");\\n\\t\\tconsole.log(\\\"afiqahhh: \\\",split);\\n\\t\\n\\t\\tvar dec = split[1];\\n\\t\\tconsole.log(\\\"afiqahhh: \\\", dec);\\n\\t\\n\\t\\tvar spl = dec.match(/.{1,3}/g);\\n\\t\\tconsole.log(\\\"afiqahhhh: \\\", spl);\\n\\t\\t\\n\\t\\n\\t\\tvar comb = split[0] + \\\".\\\" + spl[0];\\n\\t\\tconsole.log(\\\"afiqahhhhh: \\\", comb);\\n\\t\\t\\n\\t\\t \\n\\t\\tvar fxd = parseFloat(comb);\\n\\t\\tconsole.log(\\\"afiqahhhhhh: \\\",fxd);\\n\\t\\tvar conv = fxd.toFixed(2);\\n\\t\\tconsole.log(\\\"afiqahhhhhha: \\\",conv);\\n\\t\\tset_field_value(\\\"mtdc\\\",conv);\\n\\t\\t\\n\\t  }\\n\\t  //console.log(\\\"louis14:\\\",Z,mtdB,nomb,netMTD,mtdC,nomtdc);\\n\\t  console.log(\\\"louis14:\\\",Z,mtdB,nomb,netMTD,mtdC,conv);\\n  \\n\\t  var mtdcc = parseFloat(data.mtdc);\\n\\t  //step 5 = MTD Current Month\\n\\t  var MTd = netMTD + mtdcc;\\n\\t  var MTD = twoNum(MTd);\\n\\t  var stmtd = MTD[0];\\n\\t  var nomtd = MTD[1];\\n\\t  console.log(\\\"louis15:\\\",mtdcc,MTd,nomtd);\\n\\t  //return;\\n\\t \\n\\t  if(nomtd <= 0){\\n\\t\\tnomtd = nomtd ;\\n\\t\\tvar conv = 0;\\n\\t  }\\n\\t  else{\\n\\t\\t  console.log(2075,nomtd);\\n\\t\\tvar stnomtd = nomtd.toString();\\n\\t\\tvar split = stnomtd.split(\\\".\\\");  \\n\\t\\tvar dec = split[1];\\n\\t\\tconsole.log(2134,dec)\\n\\t\\tif (dec==null) dec=\\\"00\\\";\\n\\t\\tvar splitt = dec.split(\\\"\\\");\\n\\t\\tvar decc = splitt[1];\\n\\t\\tvar node = parseInt(decc);\\n\\t\\t//alert(\\\"node = \\\",node)\\n\\t\\tif (node<=5 && node>=2.5){\\n\\t\\t  var last = 5;\\n\\t\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t\\t}\\n\\t\\telse if (node<=5){\\n\\t\\t  var last = 0;\\n\\t\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t\\t}\\n\\n\\t\\telse{\\n\\t\\t  var last = 0;\\n\\t\\t  var convv = parseInt(splitt[0]);\\n\\t\\t  var incr = convv;\\n\\t\\t  var com = split[0] + \\\".\\\" + incr + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",dec, decc, node, com, conv);\\n\\t\\t}\\n\\t  }\\n\\t\\n\\t  set_field_value(\\\"mtd\\\",nomtd);\\n\\t}\\n\\t//return;\\n   \\n\\t\\n\\tvar MM = data.M;\\n\\tvar RR = data.R_res;\\n\\tvar BB = data.B;\\n\\tconsole.log(\\\"af101: \\\",MM,RR,BB);\\n\\t//return;\\n\\treturn {\\n\\t  M: M,\\n\\t  R: R,\\n\\t  B: B,\\n\\t  mtd_rou: conv,\\n\\t};\\n  }\\n  \\n  \\n  async function REPMTD(){\\n\\tvar data=get_data();\\n\\tvar Y = parseFloat(data.prev_acc_rem_bik_vola);\\n\\tset_field_value(\\\"Y\\\",Y);\\n\\tvar K = parseFloat(data.prev_acc_epf);\\n\\tset_field_value(\\\"K\\\",K);\\n\\tvar E = parseFloat(data.prev_net_acc_rem);\\n\\tset_field_value(\\\"E\\\",E);\\n  \\n\\tvar curRem = parseFloat(data.cur_net_rem);\\n\\tvar curBik = parseFloat(data.cur_bik);\\n\\tvar curVola = parseFloat(data.cur_vola);\\n\\tvar Y1 = 0;\\n\\tY1 = curRem + curBik + curVola;\\n\\tset_field_value(\\\"Y1\\\",Y1);\\n  \\n\\tvar K1 = parseFloat(data.cur_epf);\\n\\tset_field_value(\\\"K1\\\",K1);\\n\\tvar Y2 = Y1;\\n\\tset_field_value(\\\"Y2\\\",Y2);\\n  \\n\\tvar KK1 = K + K1;\\n\\t\\n\\tvar month = data.month;\\n\\tvar n = 12 - month;\\n\\tset_field_value(\\\"n\\\",n);\\n\\tvar K2 = 0;\\n\\tK2 = (4000 - KK1)/n;\\n\\t\\n\\tif (K2>K1){\\n\\t  K2 = K1;\\n\\t  var k2conv = twoNum(K2);\\n\\t  var stk2 = k2conv[0];\\n\\t  var nok2 = k2conv[1];\\n\\t  set_data({K2:nok2});\\n\\t}\\n\\telse if (K2\n                                                                                                                                                    <K1){\\n\\t  K2 = K2;\\n\\t  var k2conv = twoNum(K2);\\n\\t  var stk2 = k2conv[0];\\n\\t  var nok2 = k2conv[1];\\n\\t  set_data({K2:nok2});\\n\\t}\\n\\tvar kk2 = data.K2;\\n\\tconsole.log(\\\"af310:\\\", K, K1,KK1,n,K2,nok2,kk2);\\n  \\n\\t//value of D & S based on Status Category\\n\\tvar status = data.status_category;\\n\\tvar D = 0;\\n\\tvar S = 0;\\n  \\n\\tif (status == \\\"Single\\\" || status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t  D = 9000;\\n\\t  S = 0;\\n\\t}\\n\\telse if (status == \\\"Married and husband/wife is not working\\\"){\\n\\t  D = 9000;\\n\\t  S = 4000;\\n\\t}\\n\\tset_field_value(\\\"D\\\",D);\\n\\tset_field_value(\\\"S\\\",S);\\n  \\n\\tvar disInd = data.disabled_individual;\\n\\tvar Du = 0;\\n\\tif (disInd == \\\"yes\\\"){\\n\\t  Du = 6000;\\n\\t}\\n\\telse {\\n\\t  Du = 0;\\n\\t}\\n\\tset_field_value(\\\"Du\\\",Du);\\n  \\n\\tvar disSpo = data.disabled_spouse;\\n\\tvar Su = 0;\\n\\tif (disSpo == \\\"yes\\\"){\\n\\t  Su = 3500;\\n\\t}\\n\\telse{\\n\\t  Su = 0;\\n\\t}\\n\\tset_field_value(\\\"Su\\\",Su);\\n  \\n\\t//calculate QC\\n\\tvar totalUnder18 = parseFloat(data.child_under_18_total);\\n\\tvar total18Study = parseFloat(data.child_18_study_total);\\n\\tvar total18Full = parseFloat(data.child_18_full_time_total);\\n\\tvar totalDisabled = parseFloat(data.disabled_child_total);\\n\\tvar totalDisStudy = parseFloat(data.disabled_child_study_total);\\n\\tvar QC = 0;\\n\\tQC = totalUnder18 + total18Study + total18Full + totalDisabled + totalDisStudy;\\n\\tset_field_value(\\\"QC\\\",QC);\\n  \\n\\tvar ELP = parseFloat(data.prev_total_acc_deduct);\\n\\tset_field_value(\\\"ELP\\\",ELP);\\n\\tvar LP1 = parseFloat(data.cur_total_deduct);\\n\\tset_field_value(\\\"LP1\\\",LP1);\\n  \\n\\t//calculate P\\n\\tvar P1 = 0;\\n\\tvar P2 = 0;\\n\\tvar P = 0;\\n\\tvar Y1K1 = Y1 - K1;\\n\\tvar Y2K2 = Y2 - nok2;\\n\\t\\n\\tP1 = E + Y1K1 + (Y2K2 * n);\\n\\tvar p1conv = twoNum(P1);\\n\\tvar stp1 = p1conv[0];\\n\\tvar nop1 = p1conv[1];\\n\\t\\n\\t\\n\\tP2 = D + S + Du + Su + QC + ELP + LP1;\\n\\tP = nop1 - P2;\\n\\tset_field_value(\\\"P_REP\\\",P);\\n  \\n\\t//var formula = data.mtd_formula; \\n\\t\\n\\t// START Search RATE\\n\\tvar p = data.P_REP;\\n\\tconsole.log(\\\"af301:\\\" ,p);\\n\\t\\n\\tvar cat = data.status_category;\\n\\n\\t\\n\\tvar cond = [[\\\"rep_t1\\\",\\\"!=\\\",null]];\\n\\tvar field = [\\\"rep_p_min\\\",\\\"rep_p_max\\\",\\\"rep_r\\\",\\\"rep_t1\\\",\\\"rep_t2\\\"];\\n\\tvar res = await rpc_execute(\\\"hr2.deduction.mtd.lines\\\",\\\"search_read\\\",[cond,field]);\\n\\tfor(let i=0; i\n                                                                                                                                                        <res.length;i++){\\n\\n\\t  var reppmin = res[i].rep_p_min?res[i].rep_p_min:\\\"null\\\";\\n\\t  var reppmax = res[i].rep_p_max?res[i].rep_p_max:\\\"null\\\";\\n\\t  console.log(\\\"af302: \\\",reppmin,reppmax);\\n\\t  \\n\\t  if(reppmax == res[i].rep_p_max){\\n\\t\\treppmax = parseFloat(reppmax);\\n\\t\\tif(p<=reppmax){\\n\\t\\t  var repR = parseFloat(res[i].rep_r);\\n\\t\\t  var repr = repR / 100;\\n\\t\\t  console.log(\\\"af303:\\\",repr);\\n\\t\\t  if(cat == \\\"Single\\\" || cat == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\t\\tvar rept =  parseFloat(res[i].rep_t1);\\n\\n\\t\\t  }\\n\\t\\t  else if(cat == \\\"Married and husband/wife is not working\\\"){\\n\\t\\t\\tvar rept = parseFloat(res[i].rep_t2);\\n\\n\\t\\t  }\\n\\t\\t  console.log(\\\"deduct: \\\",reppmin,reppmax,repr,rept);\\n\\t\\t    set_data({R_REP:repr, T_REP:rept});\\n\\t\\t\\tvar data=get_data();\\n\\t\\t\\tconsole.log(\\\"ang2273\\\",data.R_REP,data.T_REP,repr,rept);\\n\\t\\t\\tvar R = data.R_REP;\\n\\t\\t\\tvar T = data.T_REP;\\n\\t\\t\\tconsole.log(\\\"ang\\\",2271);\\n\\t\\t\\tconsole.log(\\\"af304: R:\\\",R)\\n\\t\\t\\tconsole.log(\\\"af304: T:\\\",T)\\n\\n\\t\\t}\\n\\t  }\\n\\t  else if(reppmin == res[i].rep_p_min){\\n\\t\\treppmin = parseFloat(reppmin);\\n\\t\\tif (p>=reppmin){\\n\\t\\t  var repR = parseFloat(res[i].rep_r);\\n\\t\\t  var repr = repR / 100;\\n\\t\\t  console.log(\\\"af303:\\\",repr);\\n\\t\\t  if(cat == \\\"Single\\\" || cat == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\t\\tvar rept =  parseFloat(res[i].rep_t1);\\n\\n\\t\\t  }\\n\\n\\t\\t  else if(cat == \\\"Married and husband/wife is not working\\\"){\\n\\t\\t\\tvar rept = parseFloat(res[i].rep_t2);\\n\\n\\t\\t  }\\n\\t\\t  console.log(\\\"deduct: \\\",reppmin,reppmax,repr,rept);\\n\\t\\t\\tset_data({R_REP:repr, T_REP:rept});\\n\\t\\t\\t\\n\\t\\t\\t\\tvar data=get_data();\\n\\t\\t\\t\\t\\n\\n\\t\\t\\tconsole.log(\\\"ang2301\\\",data.R_REP,data.T_REP,repr,rept);\\n\\t\\t\\tvar R = data.R_REP;\\n\\t\\t\\tvar T = data.T_REP;\\n\\t\\n\\t\\t\\tconsole.log(\\\"ang\\\",2291)\\n\\t\\t\\tconsole.log(\\\"af304: R:\\\",R)\\n\\t\\t\\tconsole.log(\\\"af304: T:\\\",T)\\n\\n\\t\\t}\\n\\t  }\\n\\t}\\n\\t/*\\n\\t//REP Deduction Rate: Hard Code: START\\n\\t//REP Rate\\n\\tvar R = 0;\\n\\tvar T = 0;\\n  \\n\\t\\n\\tif (P<=35000){\\n\\t  R = 0.15;\\n\\t  if(status == \\\"Single\\\"||status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t\\tT = 400; \\n\\t  }\\n\\t  else{\\n\\t\\tT = 800; \\n\\t  }\\n\\t}\\n\\telse if (P>35000){\\n\\t  R = 0.15;\\n\\t  T = 0;\\n\\t}\\n\\tset_field_value(\\\"R_REP\\\",R);\\n\\tset_field_value(\\\"T_REP\\\",T);\\n\\t// HARD CODE END\\n\\t*/\\n\\t\\n\\tvar Z = parseFloat(data.prev_total_acc_zakat); \\n\\tset_field_value(\\\"Z_REP\\\",Z);\\n\\tvar X = parseFloat(data.prev_acc_mtd);\\n\\tset_field_value(\\\"X_REP\\\",X);\\n  \\n\\t// Step 1 = REP Calculation\\n\\tvar yearlyTax = (P*R) - T;\\n\\tconsole.log(2345);\\n\\tvar yearlyTaxconv = twoNum(yearlyTax);\\n\\t  var styt = yearlyTaxconv[0];\\n\\t  var noyt = yearlyTaxconv[1];\\n\\t\\n\\tvar curMonthMTD = (noyt - (Z + X))/(n + 1);\\n\\tconsole.log(2346);\\n\\tset_field_value(\\\"curMTD_REP\\\",curMonthMTD);\\n\\tif (curMonthMTD <=0){\\n\\t  set_field_value(\\\"curMTD_REP\\\",0);\\n\\t}\\n\\telse if (curMonthMTD>0){\\n\\t  var curMonthMTDconv = twoNum(curMonthMTD);\\n\\t  var stcm = curMonthMTDconv[0];\\t\\t\\n\\t  var nocm = curMonthMTDconv[1];\\n\\t  set_field_value(\\\"curMTD_REP\\\",nocm);\\n\\t}\\n\\t\\n\\tvar curZakat = parseFloat(data.cur_zakat);\\n\\tvar curMonthMTD1 = parseFloat(data.curMTD_REP);\\n    var netMTD = Math.round((curMonthMTD1 - curZakat) * 100) / 100;\\n\\tset_field_value(\\\"netMTD_REP\\\",netMTD);\\n\\tconsole.log(\\\"af311:\\\",curZakat,curMonthMTD,netMTD);\\n  \\n\\tvar totaladd = data.cur_total_net_add_rem;\\n\\tconsole.log(\\\"af501:\\\",totaladd);\\n\\tif(totaladd == 0){\\n\\t  set_field_value(\\\"mtdb\\\",0);\\n\\t  set_field_value(\\\"Yt\\\",0);\\n\\t   set_field_value(\\\"Kt\\\",0);\\n\\t  set_data({CSK2:0});\\n\\t  set_field_value(\\\"P_CS\\\",0);\\n\\t  set_field_value(\\\"CS\\\",0);\\n\\t  set_field_value(\\\"mtdc\\\",0);\\n\\t  set_field_value(\\\"mtd\\\",netMTD);\\n\\t  if (netMTD <= 0){\\n\\t\\tvar conv = 0;\\n\\t  }\\n\\t  else{\\n\\t\\tvar nomtd = netMTD;\\n\\t\\tconsole.log(2355,nomtd);\\n\\t\\tvar stnomtd = nomtd.toString();\\n\\t\\tvar split = stnomtd.split(\\\".\\\");  \\n\\t\\tvar dec = split[1];\\n\\t\\tif (dec==null) dec=\\\"00\\\";\\n\\t\\tvar splitt = dec.split(\\\"\\\");\\n\\t\\tvar decc = splitt[1];\\n\\t\\tif (decc==null) decc=\\\"00\\\";\\n\\t\\tvar node = parseInt(decc);\\n\\t\\tconsole.log(2418);\\n\\t\\tif (node<=5 && node>=2.5){\\n\\t\\t  var last = 5;\\n\\t\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t\\t}\\n\\t\\telse if (node<=5){\\n\\t\\t  var last = 0;\\n\\t\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t\\t}\\n\\t\\telse{\\n\\t\\t  var last = 0;\\n\\t\\t  var convv = parseInt(splitt[0]);\\n\\t\\t  var incr = convv;\\n\\t\\t  var com = split[0] + \\\".\\\" + incr + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",dec, decc, node, com, conv);\\n\\t\\t}\\n\\t  }\\n\\t}\\n\\t\\n\\telse{\\n\\t  //Step 2 = MTD(B)\\n\\t  var mtdB = X + (curMonthMTD1*(n+1));\\n\\t  var mtdBconv = twoNum(mtdB);\\n\\t  var stmb = mtdBconv[0];\\n\\t  var nomb = mtdBconv[1];\\n\\t  set_field_value(\\\"mtdb\\\",nomb);\\n  \\n\\t  //Step 3 = Yearly Tax (CS)\\n\\t  var Yt = parseFloat(data.cur_total_add_rem);\\n\\t  set_field_value(\\\"Yt\\\",Yt);\\n\\t  var Kt = parseFloat(data.cur_add_rem_epf);\\n\\t  set_field_value(\\\"Kt\\\",Kt);\\n\\t  var KK1Kt = K + K1 + Kt;\\n\\t  var CSK2 = (4000 - KK1Kt)/n;\\n  \\n\\t  if (CSK2>K1){\\n\\t\\tCSK2 = K1;\\n\\t\\tvar csk2conv = twoNum(CSK2);\\n\\t\\tvar stcsk2 = csk2conv[0];\\n\\t\\tvar nocsk2 = csk2conv[1];\\n\\t\\tset_data({CSK2:nocsk2});\\n\\t  }\\n\\t  else if (CSK2\n                                                                                                                                                            <K1){\\n\\t\\t//K2 = K2;\\n\\t\\tvar csk2conv = twoNum(CSK2);\\n\\t\\tvar stcsk2 = csk2conv[0];\\n\\t\\tvar nocsk2 = csk2conv[1];\\n\\t\\tset_data({CSK2:nocsk2});\\n\\t  }\\n  \\n  \\n\\t  var Y2CSK2 = Y2 - CSK2;\\n\\t  var YtKt = Yt - Kt;\\n\\t  \\n\\t  var CSP1 = E + Y1K1 + (Y2CSK2*n) + YtKt;\\n\\t  var csp1conv = twoNum(CSP1);\\n\\t  var stcsp1 = csp1conv[0];\\n\\t  var nocsp1 = csp1conv[1];\\n\\t\\n\\t  var CSP2 = D + S + Du + Su + QC + ELP + LP1;\\n\\t  var CSP = nocsp1 - CSP2;\\n\\t  var cspconv = twoNum(CSP);\\n\\t\\tvar stcsp = cspconv[0];\\n\\t\\tvar nocsp = cspconv[1];\\n\\t\\tset_field_value(\\\"CS\\\",nocsp);\\n\\t  set_field_value(\\\"P_CS\\\",CSP);\\n\\t  var CS = (nocsp*R) - T;\\n\\t  if (CS <=0){\\n\\t\\tset_field_value(\\\"CS\\\",0);\\n\\t  }\\n\\t  else if (CS>0){\\n\\t\\tvar csconv = twoNum(CS);\\n\\t\\tvar stcs = csconv[0];\\n\\t\\tvar nocs = csconv[1];\\n\\t\\talert(CS);\\n\\t\\tset_field_value(\\\"CS\\\",nocs);\\n\\t  }\\n\\t\\n\\t  //Step 4 = Additional Remuneration\\n\\t  var mtdC = nocs - (nomb + Z);\\n\\t  if (mtdC <=0){\\n\\t\\tset_field_value(\\\"mtdc\\\",0);\\n\\t  }\\n\\t  else if (mtdC>0){\\n\\t\\t/*var mtdcconv = twoNum(mtdC);\\n\\t\\tvar stmtdc = mtdcconv[0];\\n\\t\\tvar nomtdc = mtdcconv[1];\\n\\t\\tset_field_value(\\\"mtdc\\\",nomtdc);*/\\n\\t\\tconsole.log(2451);\\n\\t\\tvar stg = mtdC.toString();\\n\\t\\tconsole.log(\\\"afiqahh: \\\",stg);\\n\\t\\t\\t\\n\\t\\tvar check = stg.includes(\\\".\\\");\\n\\t\\tif (check == false){\\n\\t\\t  check = mtdC.toFixed(2);\\t//mtdC change by ang from str,stg\\n\\t\\t  console.log(\\\"afiqah0: \\\",check);\\n\\t\\t  console.log(2459);\\n\\t\\t  stg = check.toString();\\n\\t\\t  console.log(\\\"afiqah00: \\\",stg);\\n\\t\\t}\\n\\t\\n\\t\\tvar split = stg.split(\\\".\\\");\\n\\t\\tconsole.log(\\\"afiqahhh: \\\",split);\\n\\t\\n\\t\\tvar dec = split[1];\\n\\t\\tconsole.log(\\\"afiqahhh: \\\", dec);\\n\\t\\n\\t\\tvar spl = dec.match(/.{1,3}/g);\\n\\t\\tconsole.log(\\\"afiqahhhh: \\\", spl);\\n\\t\\t\\n\\t\\n\\t\\tvar comb = split[0] + \\\".\\\" + spl[0];\\n\\t\\tconsole.log(\\\"afiqahhhhh: \\\", comb);\\n\\t\\t\\n\\t\\t \\n\\t\\tvar fxd = parseFloat(comb);\\n\\t\\tconsole.log(\\\"afiqahhhhhh: \\\",fxd);\\n\\t\\tvar conv = fxd.toFixed(2);\\n\\t\\tconsole.log(\\\"afiqahhhhhha: \\\",conv);\\n\\t\\tset_field_value(\\\"mtdc\\\",conv);\\n\\t  }\\n  \\n\\t  var mtdcc = parseFloat(data.mtdc);\\n\\t  //step 5 = MTD Current Month\\n\\t  var MTd = netMTD + mtdcc;\\n\\t  var MTD = twoNum(MTd);\\n\\t  var stmtd = MTD[0];\\n\\t  var nomtd = MTD[1];\\n\\t  console.log(\\\"af314:\\\",netMTD,mtdcc,MTd,nomtd);\\n\\t  console.log(\\\"louis13:\\\",CSP2,CSP,nocsp,CS,nocs);\\n\\t  console.log(\\\"louis14:\\\",Z,mtdB,nomb,netMTD,mtdC,conv);\\n\\t  console.log(\\\"louis15:\\\",mtdcc,MTd,nomtd);\\n\\t  \\n\\t  if(nomtd <= 0){\\n\\t\\tnomtd = nomtd ;\\n\\t\\tvar conv = 0;\\n\\t  }\\n\\t  else{\\n\\t\\tconsole.log(2501);\\n\\t\\tvar stnomtd = nomtd.toString();\\n\\t\\tvar split = stnomtd.split(\\\".\\\");  \\n\\t\\tvar dec = split[1];\\n\\t\\tvar splitt = dec.split(\\\"\\\");\\n\\t\\tvar decc = splitt[1];\\n\\t\\tvar node = parseInt(decc);\\n\\t\\tif ((node<=5 && node>=2.5)||(node>5 && node\n                                                                                                                                                                <7.5)){\\n\\t\\t  var last = 5;\\n\\t\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t\\t}\\n\\t\\telse if (node<=5){\\n\\t\\t\\tvar last = 0;\\n\\t\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t\\t}\\n\\t\\t\\n\\t\\telse{\\n\\t\\t  var last = 0;\\n\\t\\t  var convv = parseInt(splitt[0]);\\n\\t\\t  var incr = convv;\\n\\t\\t  var com = split[0] + \\\".\\\" + incr + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",dec, decc, node, com, conv);\\n\\t\\t}\\n\\t  }\\n\\t\\n\\t  set_field_value(\\\"mtd\\\",nomtd);\\n\\t}\\t\\n\\tvar RR = data.R_REP;\\n\\tvar TT = data.T_REP;\\n\\tconsole.log(\\\"af308: \\\",RR,TT);\\n\\t//return;\\n\\tconsole.log('2539',R,T);\\n\\n\\treturn {\\n\\t  R: R,\\n\\t  T: T,\\n\\t  mtd_rou: conv,\\n\\t};\\n  \\n  }\\n  \\n  \\n  function IRDAMTD(){\\n\\tvar data=get_data();\\n\\tvar Y = parseFloat(data.prev_acc_rem_bik_vola);\\n\\tset_field_value(\\\"Y\\\",Y);\\n\\tvar K = parseFloat(data.prev_acc_epf);\\n\\tset_field_value(\\\"K\\\",K);\\n\\tvar E = parseFloat(data.prev_net_acc_rem);\\n\\tset_field_value(\\\"E\\\",E);\\n\\tconsole.log(\\\"afi33:\\\",E);\\n  \\n\\tvar curRem = parseFloat(data.cur_net_rem);\\n\\tvar curBik = parseFloat(data.cur_bik);\\n\\tvar curVola = parseFloat(data.cur_vola);\\n\\tvar Y1 = 0;\\n\\tY1 = curRem + curBik + curVola;\\n\\tset_field_value(\\\"Y1\\\",Y1);\\n  \\n\\tvar K1 = parseFloat(data.cur_epf);\\n\\tset_field_value(\\\"K1\\\",K1);\\n\\tvar Y2 = Y1;\\n\\tset_field_value(\\\"Y2\\\",Y2);\\n  \\n\\tvar KK1 = K + K1;\\n\\tvar month = data.month;\\n\\tvar n = 12 - month;\\n\\tset_field_value(\\\"n\\\",n);\\n\\tvar K2 = 0;\\n\\tK2 = (4000 - KK1)/n;\\n  \\n\\tif (K2>K1){\\n\\t  K2 = K1;\\n\\t  var k2conv = twoNum(K2);\\n\\t  var stk2 = k2conv[0];\\n\\t  var nok2 = k2conv[1];\\n\\t  set_data({K2:nok2});\\n\\t}\\n\\telse if (K2\n                                                                                                                                                                    <K1){\\n\\t  //K2 = K2;\\n\\t  var k2conv = twoNum(K2);\\n\\t  var stk2 = k2conv[0];\\n\\t  var nok2 = k2conv[1];\\n\\t  set_data({K2:nok2});\\n\\t}\\n  \\n\\t//value of D & S based on Status Category\\n\\tvar status = data.status_category;\\n\\tvar D = 0;\\n\\tvar S = 0;\\n  \\n\\tif (status == \\\"Single\\\" || status == \\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"){\\n\\t  D = 9000;\\n\\t  S = 0;\\n\\t}\\n\\telse if (status == \\\"Married and husband/wife is not working\\\"){\\n\\t  D = 9000;\\n\\t  S = 4000;\\n\\t}\\n\\n\\tset_field_value(\\\"D\\\",D);\\n\\tset_field_value(\\\"S\\\",S);\\n  \\n\\tvar disInd = data.disabled_individual;\\n\\tvar Du = 0;\\n\\tif (disInd == \\\"yes\\\"){\\n\\t  Du = 6000;\\n\\t}\\n\\telse {\\n\\t  Du = 0;\\n\\t}\\n\\tset_field_value(\\\"Du\\\",Du);\\n  \\n\\tvar disSpo = data.disabled_spouse;\\n\\tvar Su = 0;\\n\\tif (disSpo == \\\"yes\\\"){\\n\\t  Su = 3500;\\n\\t}\\n\\telse{\\n\\t  Su = 0;\\n\\t}\\n\\tset_field_value(\\\"Su\\\",Su);\\n  \\n\\t//calculate QC\\n\\tvar totalUnder18 = parseFloat(data.child_under_18_total);\\n\\tvar total18Study = parseFloat(data.child_18_study_total);\\n\\tvar total18Full = parseFloat(data.child_18_full_time_total);\\n\\tvar totalDisabled = parseFloat(data.disabled_child_total);\\n\\tvar totalDisStudy = parseFloat(data.disabled_child_study_total);\\n\\tvar QC = 0;\\n\\tQC = totalUnder18 + total18Study + total18Full + totalDisabled + totalDisStudy;\\n\\n\\tset_field_value(\\\"QC\\\",QC);\\n\\t\\n\\tvar ELP = parseFloat(data.prev_total_acc_deduct);\\n\\tset_field_value(\\\"ELP\\\",ELP);\\n\\tvar LP1 = parseFloat(data.cur_total_deduct);\\n\\tset_field_value(\\\"LP1\\\",LP1);\\n  \\n\\t//calculate P\\n\\tvar P1 = 0;\\n\\tvar P2 = 0;\\n\\tvar P = 0;\\n\\tvar Y1K1 = Y1 - K1;\\n\\tvar Y2K2 = Y2 - nok2;\\n\\t\\n\\tP1 = E + Y1K1 + (Y2K2 * n);\\n\\tvar p1conv = twoNum(P1);\\n\\tvar stp1 = p1conv[0];\\n\\tvar nop1 = p1conv[1];\\n\\t\\n\\tP2 = D + S + Du + Su + QC + ELP + LP1;\\n\\tP = nop1 - P2;\\n\\tset_field_value(\\\"P_IRDA\\\",P);\\n  \\n\\t//var formula = data.mtd_formula; \\n\\t//IRDA Rate\\n\\tvar R = 0.15;  \\n\\tset_field_value(\\\"R_IRDA\\\",R);\\n\\tvar Z = parseFloat(data.prev_total_acc_zakat); \\n\\tset_field_value(\\\"Z_IRDA\\\",Z);\\n\\tvar X = parseFloat(data.prev_acc_mtd);\\n\\tset_field_value(\\\"X_IRDA\\\",X);\\n\\t\\n\\t// Step 1 = IRDA Calculation\\n\\tvar yearlyTax = (P*R);\\n\\t\\n\\tvar yearlyTaxconv = twoNum(yearlyTax);\\n\\t  var styt = yearlyTaxconv[0];\\n\\t  var noyt = yearlyTaxconv[1];\\n\\t\\n\\tvar curMonthMTD = (noyt - (Z + X))/(n + 1);\\n\\tif (curMonthMTD <=0){\\n\\t  set_field_value(\\\"curMTD_IRDA\\\",0);\\n\\t}\\n\\telse if (curMonthMTD>0){\\n\\t  var curMonthMTDconv = twoNum(curMonthMTD);\\n\\t  var stcm = curMonthMTDconv[0];\\n\\t  var nocm = curMonthMTDconv[1];\\n\\t  set_field_value(\\\"curMTD_IRDA\\\",nocm);\\n\\t}\\n\\t\\n\\tvar curZakat = parseFloat(data.cur_zakat);\\n\\tvar curMonthMTD1 = parseFloat(data.curMTD_IRDA);\\n\\tvar netMTD = Math.round((curMonthMTD1 - curZakat) * 100) / 100;\\n\\tset_field_value(\\\"netMTD_IRDA\\\",netMTD);\\n\\t\\n\\tvar totaladd = data.cur_total_net_add_rem;\\n\\tconsole.log(\\\"af501:\\\",totaladd);\\n\\tif(totaladd == 0){\\n\\t  set_field_value(\\\"mtdb\\\",0);\\n\\t  set_field_value(\\\"Yt\\\",0);\\n\\t   set_field_value(\\\"Kt\\\",0);\\n\\t  set_data({CSK2:0});\\n\\t  set_field_value(\\\"P_CS\\\",0);\\n\\t  set_field_value(\\\"CS\\\",0);\\n\\t  set_field_value(\\\"mtdc\\\",0);\\n\\t  set_field_value(\\\"mtd\\\",netMTD);\\n\\t  if (netMTD <= 0){\\n\\t\\tvar conv = 0;\\n\\t  }\\n\\t  else{\\n\\t\\tvar nomtd = netMTD;\\n\\t\\tconsole.log(2699)\\n\\t\\tvar stnomtd = nomtd.toString();\\n\\t\\tvar split = stnomtd.split(\\\".\\\");  \\n\\t\\tvar dec = split[1];\\n\\t\\tif (dec==null) dec=\\\"00\\\";\\n\\t\\tvar splitt = dec.split(\\\"\\\");\\n\\t\\tvar decc = splitt[1];\\n\\t\\tvar node = parseInt(decc);\\n\\t\\tif (node<=5 && node>=2.5){\\n\\t\\t\\tvar last = 5;\\n\\t\\t\\tvar com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t\\t\\tvar conv = parseFloat(com);\\n\\t\\t\\tconsole.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t\\t}\\n\\t\\telse if (node<=5){\\n\\t\\t\\tvar last = 0;\\n\\t\\t\\tvar com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t\\t\\tvar conv = parseFloat(com);\\n\\t\\t\\tconsole.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t\\t}\\n\\t\\telse{\\n\\t\\t  var last = 0;\\n\\t\\t  var convv = parseInt(splitt[0]);\\n\\t\\t  var incr = convv;\\n\\t\\t  var com = split[0] + \\\".\\\" + incr + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",dec, decc, node, com, conv);\\n\\t\\t}\\n\\t  }\\n\\t}\\n\\t\\n\\telse{\\n\\t  //Step 2 = MTD(B)\\n\\t  var mtdB = X + (curMonthMTD1*(n+1));\\n\\t  var mtdBconv = twoNum(mtdB);\\n\\t  var stmb = mtdBconv[0];\\n\\t  var nomb = mtdBconv[1];\\n\\t  set_field_value(\\\"mtdb\\\",nomb);\\n  \\n\\t  //Step 3 = Yearly Tax (CS)\\n\\t  var Yt = parseFloat(data.cur_total_add_rem);\\n\\t  set_field_value(\\\"Yt\\\",Yt);\\n\\t  var Kt = parseFloat(data.cur_add_rem_epf);\\n\\t  set_field_value(\\\"Kt\\\",Kt);\\n\\t  var KK1Kt = K + K1 + Kt;\\n\\t  var CSK2 = (4000 - KK1Kt)/n;\\n  \\n\\t  if (CSK2>K1){\\n\\t\\tCSK2 = K1;\\n\\t\\tvar csk2conv = twoNum(CSK2);\\n\\t\\tvar stcsk2 = csk2conv[0];\\n\\t\\tvar nocsk2 = csk2conv[1];\\n\\t\\tset_data({CSK2:nocsk2});\\n\\t  }\\n\\t  else if (CSK2\n                                                                                                                                                                        <K1){\\n\\t\\t//K2 = K2;\\n\\t\\tvar csk2conv = twoNum(CSK2);\\n\\t\\tvar stcsk2 = csk2conv[0];\\n\\t\\tvar nocsk2 = csk2conv[1];\\n\\t\\tset_data({CSK2:nocsk2});\\n\\t  }\\n  \\n  \\n\\t  var Y2CSK2 = Y2 - nocsk2;\\n\\t  var YtKt = Yt - Kt;\\n\\t  \\n\\t  var CSP1 = E + Y1K1 + (Y2CSK2*n) + YtKt;\\n\\t  var csp1conv = twoNum(CSP1);\\n\\t  var stcsp1 = csp1conv[0];\\n\\t  var nocsp1 = csp1conv[1];\\n\\t\\n\\t  var CSP2 = D + S + Du + Su + QC + ELP + LP1;\\n\\t  var CSP = nocsp1 - CSP2;\\n\\t  var cspconv = twoNum(CSP);\\n\\t\\tvar stcsp = cspconv[0];\\n\\t\\tvar nocsp = cspconv[1];\\n\\t\\tset_field_value(\\\"CS\\\",nocsp);\\n\\t  set_field_value(\\\"P_CS\\\",CSP);\\n\\t  var CS = (CSP*R);\\n\\t  if (CS <=0){\\n\\t\\tset_field_value(\\\"CS\\\",0);\\n\\t  }\\n\\t  else if (CS>0){\\n\\t\\tvar csconv = twoNum(CS);\\n\\t\\tvar stcs = csconv[0];\\n\\t\\tvar nocs = csconv[1];\\n\\t\\tset_field_value(\\\"CS\\\",nocs);\\n\\t  }\\n\\t\\n\\t  //Step 4 = Additional Remuneration\\n\\t  var mtdC = nocs - (nomb + Z);\\n\\t  if (mtdC <=0){\\n\\t\\tset_field_value(\\\"mtdc\\\",0);\\n\\t  }\\n\\t  else if (mtdC>0){\\n\\t\\t/*var mtdcconv = twoNum(mtdC);\\n\\t\\tvar stmtdc = mtdcconv[0];\\n\\t\\tvar nomtdc = mtdcconv[1];\\n\\t\\tset_field_value(\\\"mtdc\\\",nomtdc);*/\\n\\t\\tconsole.log(2791);\\n\\t\\tvar stg = mtdC.toString();\\n\\t\\tconsole.log(\\\"afiqahh: \\\",stg);\\n\\t\\n\\t\\tvar check = stg.includes(\\\".\\\");\\n\\t\\tif (check == false){\\n\\t\\t\\talert(stg);\\n\\t\\t  check = mtdC.toFixed(2); //mtdC change by ang from str,stg\\n\\t\\t  console.log(\\\"afiqah0: \\\",check);\\n\\t\\t  console.log(2799);\\n\\t\\t  stg = check.toString();\\n\\t\\t  console.log(\\\"afiqah00: \\\",stg);\\n\\t\\t}\\n\\t\\n\\t\\tvar split = stg.split(\\\".\\\");\\n\\t\\tconsole.log(\\\"afiqahhh: \\\",split);\\n\\t\\n\\t\\tvar dec = split[1];\\n\\t\\tconsole.log(\\\"afiqahhh: \\\", dec);\\n\\t\\n\\t\\tvar spl = dec.match(/.{1,3}/g);\\n\\t\\tconsole.log(\\\"afiqahhhh: \\\", spl);\\n\\t\\t\\n\\t\\n\\t\\tvar comb = split[0] + \\\".\\\" + spl[0];\\n\\t\\tconsole.log(\\\"afiqahhhhh: \\\", comb);\\n\\t\\t\\n\\t\\t \\n\\t\\tvar fxd = parseFloat(comb);\\n\\t\\tconsole.log(\\\"afiqahhhhhh: \\\",fxd);\\n\\t\\tvar conv = fxd.toFixed(2);\\n\\t\\tconsole.log(\\\"afiqahhhhhha: \\\",conv);\\n\\t\\tset_field_value(\\\"mtdc\\\",conv);\\n\\t  }\\n  \\n\\t  var mtdcc = parseFloat(data.mtdc);\\n\\t  //step 5 = MTD Current Month\\n\\t  var MTd = netMTD + mtdcc;\\n\\t  var MTD = twoNum(MTd);\\n\\t  var stmtd = MTD[0];\\n\\t  var nomtd = MTD[1];\\n\\t  console.log(\\\"af314:\\\",netMTD,mtdcc,MTd,nomtd);\\n\\t \\n\\t  if(nomtd <= 0){\\n\\t\\tnomtd = nomtd ;\\n\\t\\tvar conv = 0;\\n\\t  }\\n\\t  else{\\n\\t\\t  console.log(2838);\\n\\t\\tvar stnomtd = nomtd.toString();\\n\\t\\tvar split = stnomtd.split(\\\".\\\");  \\n\\t\\tvar dec = split[1];\\n\\t\\tvar splitt = dec.split(\\\"\\\");\\n\\t\\tvar decc = splitt[1];\\n\\t\\tvar node = parseInt(decc);\\n\\t\\tif (node<=5 && node>=2.5){\\n\\t\\t  var last = 5;\\n\\t\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t\\t}\\n\\t\\telse if (node<=5){\\n\\t\\t  var last = 0;\\n\\t\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t\\t}\\n\\t\\telse{\\n\\t\\t  var last = 0;\\n\\t\\t  var convv = parseInt(splitt[0]);\\n\\t\\t  var incr = convv;\\n\\t\\t  var com = split[0] + \\\".\\\" + incr + last;\\n\\t\\t  var conv = parseFloat(com);\\n\\t\\t  console.log(\\\"af315:\\\",dec, decc, node, com, conv);\\n\\t\\t}\\n\\t  }\\n\\t\\n\\t  set_field_value(\\\"mtd\\\",nomtd);\\n\\t}\\n\\t\\n  /*\\n\\t//Step 2 = MTD(B)\\n\\tvar mtdB = X + (curMonthMTD1*(n+1));\\n\\tvar mtdBconv = twoNum(mtdB);\\n\\t  var stmb = mtdBconv[0];\\n\\t  var nomb = mtdBconv[1];\\n\\tset_field_value(\\\"mtdb\\\",nomb);\\n  \\n  \\n\\t//Step 3 = Yearly Tax (CS)\\n\\tvar Yt = parseFloat(data.cur_total_add_rem);\\n\\tset_field_value(\\\"Yt\\\",Yt);\\n\\tvar Kt = parseFloat(data.cur_add_rem_epf);\\n\\tset_field_value(\\\"Kt\\\",Kt);\\n\\tvar KK1Kt = K + K1 + Kt;\\n\\tvar CSK2 = (4000 - KK1Kt)/n;\\n  \\n\\tif (CSK2>K1){\\n\\t  CSK2 = K1;\\n\\t  var csk2conv = twoNum(CSK2);\\n\\t  var stcsk2 = csk2conv[0];\\n\\t  var nocsk2 = csk2conv[1];\\n\\t  set_data({CSK2:nocsk2});\\n\\t}\\n\\telse if (CSK2\n                                                                                                                                                                            <K1){\\n\\t  //K2 = K2;\\n\\t  var csk2conv = twoNum(CSK2);\\n\\t  var stcsk2 = csk2conv[0];\\n\\t  var nocsk2 = csk2conv[1];\\n\\t  set_data({CSK2:nocsk2});\\n\\t}\\n  \\n\\tvar Y2CSK2 = Y2 - CSK2;\\n\\tvar YtKt = Yt - Kt;\\n\\t\\n\\tvar CSP1 = E + Y1K1 + (Y2CSK2*n) + YtKt;\\n\\tvar csp1conv = twoNum(CSP1);\\n\\t  var stcsp1 = csp1conv[0];\\n\\t  var nocsp1 = csp1conv[1];\\n\\t\\n\\tvar CSP2 = D + S + Du + Su + QC + ELP + LP1;\\n\\tvar CSP = nocsp1 - CSP2;\\n\\tset_field_value(\\\"P_CS\\\",CSP);\\n\\tvar CS = (CSP*R);\\n\\tif (CS <=0){\\n\\t  set_field_value(\\\"CS\\\",0);\\n\\t}\\n\\telse if (CS>0){\\n\\t  var csconv = twoNum(CS);\\n\\t  var stcs = csconv[0];\\n\\t  var nocs = csconv[1];\\n\\t  set_field_value(\\\"CS\\\",nocs);\\n\\t}\\n\\t\\n\\t//Step 4 = Additional Remuneration\\n\\tvar mtdC = nocs - (mtdB + Z);\\n\\tif (mtdC <=0){\\n\\t  set_field_value(\\\"mtdc\\\",0);\\n\\t}\\n\\telse if (mtdC>0){\\n\\t  var mtdcconv = twoNum(mtdC);\\n\\t  var stmtdc = mtdcconv[0];\\n\\t  var nomtdc = mtdcconv[1];\\n\\t  set_field_value(\\\"mtdc\\\",nomtdc);\\n\\t}\\n  \\n\\tvar mtdcc = parseFloat(data.mtdc);\\n\\t//step 5 = MTD Current Month\\n\\tvar MTd = netMTD + mtdcc;\\n\\tvar MTD = twoNum(MTd);\\n\\tvar stmtd = MTD[0];\\n\\tvar nomtd = MTD[1];\\n\\tconsole.log(\\\"af314:\\\",netMTD,mtdcc,MTd,nomtd);\\n\\t\\n\\tvar stnomtd = nomtd.toString();\\n\\tvar split = stnomtd.split(\\\".\\\");  \\n\\tvar dec = split[1];\\n\\tvar splitt = dec.split(\\\"\\\");\\n\\tvar decc = splitt[1];\\n\\tvar node = parseInt(decc);\\n\\tif (node<=5){\\n\\t  var last = 5;\\n\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t  var conv = parseFloat(com);\\n\\t  console.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t}\\n\\telse{\\n\\t  var last = 0;\\n\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t  var conv = parseFloat(com);\\n\\t  console.log(\\\"af315:\\\",dec, decc, node, com, conv);\\n\\t}\\n\\t\\n\\tset_field_value(\\\"mtd\\\",nomtd);\\n\\t*/\\n\\t\\n\\treturn {\\n\\t  mtd_rou: conv,\\n\\t};\\n  \\n\\t\\n  }\\n  \\n  function NonResidentMTD(){\\n\\tvar data=get_data();\\n\\tvar curRem = data.non_res_cur_rem;\\n\\tset_field_value(\\\"non_res_cur_remm\\\",curRem);\\n\\tvar curBik = data.non_res_cur_bik;\\n\\tset_field_value(\\\"non_res_bikk\\\",curBik);\\n\\tvar curVola = data.non_res_cur_vola;\\n\\tset_field_value(\\\"non_res_volaa\\\",curVola);\\n\\tvar curAddRem = data.cur_total_add_rem;\\n\\tset_field_value(\\\"non_res_add_remm\\\",curAddRem);\\n\\tvar total = 0;\\n\\ttotal = curRem + curBik + curVola + curAddRem ;\\n\\tvar MTd = total * 0.30;\\n\\tvar MTD = twoNum(MTd);\\n\\tvar stmtd = MTD[0];\\n\\tvar nomtd = MTD[1];\\n\\t\\n\\tvar stnomtd = nomtd.toString();\\n\\tconsole.log(3038,stnomtd);\\n\\tvar split = stnomtd.split(\\\".\\\");  \\n\\tvar dec = split[1];\\n\\tif (dec==null) dec=\\\"00\\\";\\n\\tconsole.log(3040,dec);\\n\\tvar splitt = dec.split(\\\"\\\");\\n\\tvar decc = splitt[1];\\n\\tvar node = parseInt(decc);\\n\\tconsole.log(3044);\\n\\t\\t\\n\\tif (node<=5 && node>=2.5){\\n\\t  var last = 5;\\n\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t  var conv = parseFloat(com);\\n\\t  console.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t}\\n\\telse if (node<=5){\\n\\t\\tvar last = 0;\\n\\t  var com = split[0] + \\\".\\\" + splitt[0] + last;\\n\\t  var conv = parseFloat(com);\\n\\t  console.log(\\\"af315:\\\",stnomtd,dec, decc, node, com, conv);\\n\\t}\\n\\telse{\\n\\t  var last = 0;\\n\\t  var convv = parseInt(splitt[0]);\\n\\t  var incr = convv + vv + 1;\\n\\t  var com = split[0] + \\\".\\\" + incr + last;\\n\\t  var conv = parseFloat(com);\\n\\t  console.log(\\\"af315:\\\",dec, decc, node, com, conv);\\n\\t}\\n\\tset_field_value(\\\"non_res_mtdd\\\",nomtd);\\n\\treturn {\\n\\t  mtd_rou: conv,\\n\\t};\\n  }\\n  \\n  \\n  async function calculate(){\\n  \\n\\tvar data = get_data();\\n\\t\\n\\tif (!data.fullname && !data.fname) throw \\\"Missing Name\\\";\\n\\tif (!data.employment_category) throw \\\"Missing Employment Category\\\";\\n\\tif (!data.type_of_residency) throw \\\"Missing Type of Residency\\\";\\n\\tif (!data.mtd_formula) throw \\\"Missing MTD Formula\\\";\\n\\tif (!data.month) throw \\\"Missing Month\\\";\\n\\tif (data.status_category!=\\\"Married and husband/wife is working, divorced or widowed, or single with adopted child\\\" && data.prev_alimony>=1) throw \\\"Invalid Status Category for Alimony\\\";\\n\\tif (data.gender==null) throw \\\"Missing Gender\\\";\\n\\tif (data.gender==\\\"Male\\\" && data.cur_purch_bre_equip>=1) throw  \\\"Only Female is Eligible to Breastfeeding Equipment Reduction\\\";\\n\\t\\n\\tvar types = data.type_of_residency;\\n\\tif(types != \\\"Non-Resident\\\"){\\n\\t  if (!data.status_category) throw \\\"Missing Status Category\\\";\\n\\t}\\n\\t\\n\\tvar emp_cat = data.employment_category;\\n\\tif (emp_cat == 1 && types == \\\"Resident\\\"){\\n\\t  if (!data.prev_acc_rem_bik_vola) throw \\\"Missing Accumulated remuneration/Benefit-in-Kind (BIK)/Value of Living Accommodation (VOLA)\\\";\\n\\t  if (!data.cur_net_rem) throw \\\"Missing Current Month's Remuneration\\\";\\n\\t}\\n\\telse if (emp_cat == 1 && types == \\\"Non-Resident\\\"){\\n\\t\\t  if (!data.non_res_cur_rem) throw \\\"Missing Current Month's Remuneration\\\";\\n\\t}\\n\\telse if (emp_cat == 2 && types == \\\"Non-Resident\\\"){\\n\\t\\t  if (!data.non_res_cur_rem) throw \\\"Missing Current Month's Remuneration\\\";\\n\\t}\\n\\telse{\\n\\t  if (!data.cur_net_rem) throw \\\"Missing Current Month's Remuneration\\\";\\n\\t}\\n\\t\\n\\tvar formulaaa = data.mtd_formula;\\n\\tif(types == \\\"Resident\\\" && formulaaa == \\\"28%\\\"){\\n\\t  alert(\\\"28% of remuneration after deduct  tax exempt allowances is only for Non-Resident. Please correct your MTD Formula in the Personal Details section\\\");\\n\\t  return;\\n\\t}\\n\\t\\n\\tvar months = data.month;\\n\\tvar years = data.year;\\n\\tvar code = data.fullname;\\n\\t//console.log(\\\"afiqah: \\\",code);\\n\\tif(!code){\\n\\t  var full = data.fname;\\n\\t}\\n\\telse{\\n\\t  var cond = [\\\"number\\\",\\\"=\\\",code];\\n\\t  var field = [\\\"first_name\\\",\\\"surname\\\",\\\"number\\\"];\\n\\t  var res = await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[cond],field]);\\n\\t  var first = res[0].first_name;\\n\\t  var last = res[0].surname;\\n\\t  var full = first+\\\" \\\"+last;\\n\\t  //console.log(\\\"afiqahh: \\\",full);\\n\\t}\\n\\t\\n\\tvar type = data.type_of_residency;\\n\\tvar formula = data.mtd_formula;\\n  \\n\\tif(formula==\\\"Normal\\\"){\\n\\t  //NormalMTD();\\n\\t  var Normal_vals = await NormalMTD();\\n\\t  var M = Normal_vals.M;\\n\\t  var R = Normal_vals.R;\\n\\t  var B = Normal_vals.B;\\n\\t  var mtd_rou = Normal_vals.mtd_rou;\\n\\t  console.log(\\\"af103: \\\",M,R,B,mtd_rou);\\n\\t}\\n\\telse if(formula==\\\"REP\\\"){\\n\\t  //REPMTD();\\n\\t  var REP_vals = await REPMTD();\\n\\t  var R = REP_vals.R;\\n\\n\\t  var T = REP_vals.T;\\n\\t  var mtd_rou = REP_vals.mtd_rou;\\n\\t\\tconsole.log(\\\"af309:\\\", R,T,mtd_rou);\\n\\t\\tdata=get_data();\\n\\t\\tvar cs_rep_rsda=data.curMTD_REP*(data.n+1);\\t\\t//quick fix annual leave Yu Hang\\n\\t\\tcs_rep_rsda=Math.round(cs_rep_rsda*20)/20;\\n\\t\\tset_data({CS:cs_rep_rsda})\\n\\t\\talert(cs_rep_rsda);\\n\\t}\\n\\telse if(formula==\\\"IRDA\\\"){\\n\\t  //IRDAMTD();\\n\\t  var IRDA_vals = await IRDAMTD();\\t\\t\\t//quick fix annual leave by Yu Hang\\n\\t  var mtd_rou = IRDA_vals.mtd_rou;\\n\\t\\tconsole.log(\\\"af309:\\\",mtd_rou);\\n\\t\\tdata=get_data();\\n\\t\\tvar cs_rep_rsda=data.curMTD_IRDA*(data.n+1);\\n\\t\\tcs_rep_rsda=Math.round(cs_rep_rsda*20)/20;\\n\\t\\tset_data({CS:cs_rep_rsda})\\n\\t\\talert(cs_rep_rsda);\\n\\t}\\n\\telse if (formula==\\\"28%\\\"){\\n\\t  //NonResidentMTD();\\n\\t  var NON_vals = await NonResidentMTD();\\n\\t  var mtd_rou = NON_vals.mtd_rou;    \\n\\t}\\n\\t\\n\\t/*var MM = data.M;\\n\\tvar RR = data.R_res;\\n\\tvar BB = data.B;\\n\\tconsole.log(\\\"af102: \\\",MM,RR,BB)\\n\\tvar TT = data.T_REP;\\n\\tconsole.log(\\\"af307: \\\",RR,TT)*/\\n\\t\\n\\t\\n\\tdata=get_data();\\n\\tvar seq=await rpc_execute(\\\"sequence\\\",\\\"search_read\\\",[[\\\"name\\\",\\\"=\\\",\\\"PCB Form\\\"],[\\\"name\\\"]]);    //find the next Seq number for new record\\n  var seq_id=seq[0].id;\\n  var s_id=await rpc_execute(\\\"sequence\\\",\\\"get_next_number\\\",[seq_id]);\\n  \\n\\tvar vals1={\\n\\t\\tnumber:s_id,\\n    id_no:data.id_no,\\n\\t  full_name:full,\\n\\t  employment_category:data.employment_category,\\n\\t  type_of_residency:data.type_of_residency,\\n\\t  mtd_formula:data.mtd_formula,\\n\\t  status_category:data.status_category,\\n\\t  disabled_individual:data.disabled_individual,\\n\\t  disabled_spouse:data.disabled_spouse,\\n\\t  month: data.month,\\n\\t  year: data.year,\\n\\t  child_under_18_50: data.child_under_18_50,\\n\\t  child_under_18_100: data.child_under_18_100,\\n\\t  child_under_18_total: data.child_under_18_total,\\n\\t  child_18_study_50: data.child_18_study_50,\\n\\t  child_18_study_100: data.child_18_study_100,\\n\\t  child_18_study_total: data.child_18_study_total,\\n\\t  child_18_full_time_50: data.child_18_full_time_50,\\n\\t  child_18_full_time_100: data.child_18_full_time_100,\\n\\t  child_18_full_time_total: data.child_18_full_time_total,\\n\\t  disabled_child_50: data.disabled_child_50,\\n\\t  disabled_child_100: data.disabled_child_100,\\n\\t  disabled_child_total: data.disabled_child_total,\\n\\t  disabled_child_study_50: data.disabled_child_study_50,\\n\\t  disabled_child_study_100: data.disabled_child_study_100,\\n\\t  disabled_child_study_total: data.disabled_child_study_total,\\n\\t  prev_acc_rem_bik_vola: data.prev_acc_rem_bik_vola,\\n\\t  prev_acc_epf: data.prev_acc_epf,\\n\\t  prev_net_acc_rem: data.prev_net_acc_rem,\\n\\t  prev_acc_mtd: data.prev_acc_mtd,\\n\\t  prev_total_acc_zakat: data.prev_total_acc_zakat,\\n\\t  prev_med_exp: data.prev_med_exp,\\n\\t  prev_father_relief: data.prev_father_relief,\\n\\t  prev_mother_relief: data.prev_mother_relief,\\n\\t  prev_support_disabled: data.prev_support_disabled,\\n\\t  prev_edu_fees: data.prev_edu_fees,\\n\\t  prev_med_exp_serious: data.prev_med_exp_serious,\\n\\t  prev_com_med_exam: data.prev_com_med_exam,\\n\\t  prev_total_a_b: data.prev_total_a_b,\\n\\t  prev_net_dep_sspn: data.prev_net_dep_sspn,\\n\\t  prev_alimony: data.prev_alimony,\\n\\t  prev_ins_ret_civ_ser: data.prev_ins_ret_civ_ser,\\n\\t  prev_ins_oth_ret_civ_ser: data.prev_ins_oth_ret_civ_ser,\\n\\t  prev_edu_med_ins_prem: data.prev_edu_med_ins_prem,\\n\\t  prev_def_annuity: data.prev_def_annuity,\\n\\t  prev_socso_cont: data.prev_socso_cont,\\n\\t  prev_purch: data.prev_purch,\\n\\t  prev_purch_bre_equip: data.prev_purch_bre_equip,\\n\\t  prev_fee_child_care: data.prev_fee_child_care,\\n\\t  prev_total_acc_deduct: data.prev_total_acc_deduct,\\n\\t  cur_mon_rem: data.cur_net_rem,\\n\\t  cur_mon_epf: data.cur_epf,\\n\\t  cur_total_net_rem: data.cur_total_net_rem,\\n\\t  cur_bik: data.cur_bik,\\n\\t  cur_vola: data.cur_vola,\\n\\t  cur_bonus:data.cur_bonus,\\n\\t  cur_arrears: data.cur_arrears,\\n\\t  cur_commission: data.cur_commission,\\n\\t  cur_gratuity: data.cur_gratuity,\\n\\t  cur_compensation: data.cur_compensation,\\n\\t  cur_director_fee: data.cur_director_fee,\\n\\t  cur_inc_tax_on_behalf: data.cur_inc_tax_on_behalf,\\n\\t  cur_others: data.cur_others,\\n\\t  cur_total_add_rem: data.cur_total_add_rem,\\n\\t  cur_add_rem_epf: data.cur_add_rem_epf,\\n\\t  cur_total_net_add_rem: data.cur_total_net_add_rem,\\n\\t  cur_med_exp: data.cur_med_exp,\\n\\t  cur_father_relief: data.cur_father_relief,\\n\\t  cur_mother_relief: data.cur_mother_relief,\\n\\t  cur_support_disabled: data.cur_support_disabled,\\n\\t  cur_edu_fees: data.cur_edu_fees,\\n\\t  cur_med_exp_serious: data.cur_med_exp_serious,\\n\\t  cur_com_med_exam: data.cur_com_med_exam,\\n\\t  cur_total_a_b: data.cur_total_a_b,\\n\\t  cur_net_dep_sspn: data.cur_net_dep_sspn,\\n\\t  cur_alimony: data.prev_alimony,\\n\\t  cur_ins_ret_civ_ser: data.cur_ins_ret_civ_ser,\\n\\t  cur_ins_oth_ret_civ_ser: data.cur_ins_oth_ret_civ_ser,\\n\\t  cur_edu_med_ins_prem: data.cur_edu_med_ins_prem,\\n\\t  cur_def_annuity: data.cur_def_annuity,\\n\\t  cur_socso_cont: data.cur_socso_cont,\\n\\t  cur_purch: data.cur_purch,\\n\\t  cur_purch_bre_equip: data.cur_purch_bre_equip,\\n\\t  cur_fee_child_care: data.cur_fee_child_care,\\n\\t  cur_total_deduct: data.cur_total_deduct,\\n\\t  cur_zakat: data.cur_zakat,\\n\\t  Y: data.Y,\\n\\t  K: data.K,\\n\\t  E: data.E,\\n\\t  Y1: data.Y1,\\n\\t  K1: data.K1,\\n\\t  Y2: data.Y2,\\n\\t  K2: data.K2,\\n\\t  n: data.n,\\n\\t  D: data.D,\\n\\t  S: data.S,\\n\\t  Du: data.Du,\\n\\t  Su: data.Su,\\n\\t  QC: data.QC,\\n\\t  ELP: data.ELP,\\n\\t  LP1: data.LP1,\\n\\t  P_resident: data.P_res,\\n\\t  M: data.M,\\n\\t  R_resident: data.R_res,\\n\\t  B: data.B,\\n\\t  Z_resident: data.Z_res,\\n\\t  X_resident: data.X_res,\\n\\t  curMonthMTD_resident: data.curMTD_res,\\n\\t  netMTD_resident: data.netMTD_res,\\n\\t  P_REP: data.P_REP,\\n\\t  R_REP: data.R_REP,\\n\\t  T: data.T_REP,\\n\\t  Z_REP: data.Z_REP,\\n\\t  X_REP: data.X_REP,\\n\\t  curMonthMTD_REP: data.curMTD_REP,\\n\\t  netMTD_REP: data.netMTD_REP,\\n\\t  P_IRDA: data.P_IRDA,\\n\\t  R_IRDA: data.R_IRDA,\\n\\t  Z_IRDA: data.Z_IRDA,\\n\\t  X_IRDA: data.X_IRDA,\\n\\t  curMonthMTD_IRDA: data.curMTD_IRDA,\\n\\t  netMTD_IRDA: data.netMTD_IRDA,\\n\\t  mtdb: data.mtdb,\\n\\t  Yt: data.Yt,\\n\\t  Kt: data.Kt,\\n\\t  P_CS: data.P_CS,\\n\\t  CS: data.CS,\\n\\t  mtdC: data.mtdc,\\n\\t  mtd: data.mtd,\\n\\t\\tmtd_round:mtd_rou,\\n\\t\\tQ:data.Q,\\n\\t\\tC:data.C,\\n\\t};\\n  \\n\\tvar vals2={\\n    id_no:data.id_no,\\n\\t  full_name:full,\\n\\t  employment_category:data.employment_category,\\n\\t  type_of_residency:data.type_of_residency,\\n\\t  mtd_formula:data.mtd_formula,\\n\\t  status_category:data.status_category,\\n\\t  disabled_individual:data.disabled_individual,\\n\\t  disabled_spouse:data.disabled_spouse,\\n\\t  month: data.month,\\n\\t  year: data.year,\\n\\t  child_under_18_50: data.child_under_18_50,\\n\\t  child_under_18_100: data.child_under_18_100,\\n\\t  child_under_18_total: data.child_under_18_total,\\n\\t  child_18_study_50: data.child_18_study_50,\\n\\t  child_18_study_100: data.child_18_study_100,\\n\\t  child_18_study_total: data.child_18_study_total,\\n\\t  child_18_full_time_50: data.child_18_full_time_50,\\n\\t  child_18_full_time_100: data.child_18_full_time_100,\\n\\t  child_18_full_time_total: data.child_18_full_time_total,\\n\\t  disabled_child_50: data.disabled_child_50,\\n\\t  disabled_child_100: data.disabled_child_100,\\n\\t  disabled_child_total: data.disabled_child_total,\\n\\t  disabled_child_study_50: data.disabled_child_study_50,\\n\\t  disabled_child_study_100: data.disabled_child_study_100,\\n\\t  disabled_child_study_total: data.disabled_child_study_total,\\n\\t  prev_acc_rem_bik_vola: data.prev_acc_rem_bik_vola,\\n\\t  prev_acc_epf: data.prev_acc_epf,\\n\\t  prev_net_acc_rem: data.prev_net_acc_rem,\\n\\t  prev_acc_mtd: data.prev_acc_mtd,\\n\\t  prev_total_acc_zakat: data.prev_total_acc_zakat,\\n\\t  prev_med_exp: data.prev_med_exp,\\n\\t  prev_father_relief: data.prev_father_relief,\\n\\t  prev_mother_relief: data.prev_mother_relief,\\n\\t  prev_support_disabled: data.prev_support_disabled,\\n\\t  prev_edu_fees: data.prev_edu_fees,\\n\\t  prev_med_exp_serious: data.prev_med_exp_serious,\\n\\t  prev_com_med_exam: data.prev_com_med_exam,\\n\\t  prev_total_a_b: data.prev_total_a_b,\\n\\t  prev_net_dep_sspn: data.prev_net_dep_sspn,\\n\\t  prev_alimony: data.prev_alimony,\\n\\t  prev_ins_ret_civ_ser: data.prev_ins_ret_civ_ser,\\n\\t  prev_ins_oth_ret_civ_ser: data.prev_ins_oth_ret_civ_ser,\\n\\t  prev_edu_med_ins_prem: data.prev_edu_med_ins_prem,\\n\\t  prev_def_annuity: data.prev_def_annuity,\\n\\t  prev_socso_cont: data.prev_socso_cont,\\n\\t  prev_purch: data.prev_purch,\\n\\t  prev_purch_bre_equip: data.prev_purch_bre_equip,\\n\\t  prev_fee_child_care: data.prev_fee_child_care,\\n\\t  prev_total_acc_deduct: data.prev_total_acc_deduct,\\n\\t  cur_mon_rem: data.cur_net_rem,\\n\\t  cur_bik: data.cur_bik,\\n\\t  cur_vola: data.cur_vola,\\n\\t  cur_bonus:data.cur_bonus,\\n\\t  cur_arrears: data.cur_arrears,\\n\\t  cur_commission: data.cur_commission,\\n\\t  cur_gratuity: data.cur_gratuity,\\n\\t  cur_compensation: data.cur_compensation,\\n\\t  cur_director_fee: data.cur_director_fee,\\n\\t  cur_inc_tax_on_behalf: data.cur_inc_tax_on_behalf,\\n\\t  cur_others: data.cur_others,\\n\\t  cur_total_add_rem: data.cur_total_add_rem,\\n\\t  cur_add_rem_epf: data.cur_add_rem_epf,\\n\\t  cur_total_net_add_rem: data.cur_total_net_add_rem,\\n\\t  cur_med_exp: data.cur_med_exp,\\n\\t  cur_father_relief: data.cur_father_relief,\\n\\t  cur_mother_relief: data.cur_mother_relief,\\n\\t  cur_support_disabled: data.cur_support_disabled,\\n\\t  cur_edu_fees: data.cur_edu_fees,\\n\\t  cur_med_exp_serious: data.cur_med_exp_serious,\\n\\t  cur_com_med_exam: data.cur_com_med_exam,\\n\\t  cur_total_a_b: data.cur_total_a_b,\\n\\t  cur_net_dep_sspn: data.cur_net_dep_sspn,\\n\\t  cur_alimony: data.prev_alimony,\\n\\t  cur_ins_ret_civ_ser: data.cur_ins_ret_civ_ser,\\n\\t  cur_ins_oth_ret_civ_ser: data.cur_ins_oth_ret_civ_ser,\\n\\t  cur_edu_med_ins_prem: data.cur_edu_med_ins_prem,\\n\\t  cur_def_annuity: data.cur_def_annuity,\\n\\t  cur_socso_cont: data.cur_socso_cont,\\n\\t  cur_purch: data.cur_purch,\\n\\t  cur_purch_bre_equip: data.cur_purch_bre_equip,\\n\\t  cur_fee_child_care: data.cur_fee_child_care,\\n\\t  cur_total_deduct: data.cur_total_deduct,\\n\\t  cur_zakat: data.cur_zakat,\\n\\t  non_res_cur_rem:data.non_res_cur_remm,\\n\\t  non_res_bik: data.non_res_bikk,\\n\\t  non_res_vola: data.non_res_volaa,\\n\\t  non_res_add_rem: data.non_res_add_remm,\\n\\t  non_res_mtd: data.non_res_mtdd,\\n\\t\\tmtd_round_none: mtd_rou,\\n\\t\\tR_nonres:30,\\n\\t};\\n  \\n\\tif(type==\\\"Resident\\\"){\\n\\t  await rpc_execute(\\\"hr2.pcb\\\",\\\"create\\\",[vals1]);\\n\\t}\\n\\telse if(type==\\\"Non-Resident\\\"){\\n\\t  await rpc_execute(\\\"hr2.pcb\\\",\\\"create\\\",[vals2]);\\n\\t}\\n  \\n\\tvar formula = data.mtd_formula;\\n\\talert(\\\"Calculation completed\\\");\\n\\ton_load();\\n\\tvar pages = 1;\\n\\t\\n\\tconsole.log(\\\"af401:\\\",formula);\\n\\tvar update_seq=await rpc_execute(\\\"sequence\\\", \\\"increment_number\\\", [seq_id]); //update seq number\\n\\tredirect_page(\\\"pcb_form_view\\\",{page:pages,fname:full,month:months,year:years,form:formula})\\n  }\\n  \\n  \\n  \\n  function twoNumm(str){\\n\\tconsole.log(3347);\\n\\tvar stg = str.toString();\\n\\tconsole.log(\\\"afiqahh: \\\",stg);\\n\\t\\n\\tvar check = stg.includes(\\\".\\\");\\n\\tif (check == false){\\n\\t  check = str.toFixed(2);\\n\\t  console.log(\\\"afiqah0: \\\",check);\\n\\t  console.log(3355);\\n\\t  stg = check.toString();\\n\\t  console.log(\\\"afiqah00: \\\",stg);\\n\\t}\\n\\t\\n\\tvar split = stg.split(\\\".\\\");\\n\\tconsole.log(\\\"afiqahhh: \\\",split);\\n\\t\\n\\tvar dec = split[1];\\n\\tconsole.log(\\\"afiqahhh: \\\", dec);\\n\\t\\n\\tvar spl = dec.match(/.{1,2}/g);\\n\\tconsole.log(\\\"afiqahhhh: \\\", spl);\\n\\t\\n\\tvar comb = split[0] + \\\".\\\" + spl[0];\\n\\tconsole.log(\\\"afiqahhhhh: \\\", comb);\\n\\t\\n\\tvar conv = parseFloat(comb);\\n\\tconsole.log(\\\"afiqahhhhhh: \\\",conv);\\n\\t\\n\\tvar arr = [comb,conv];\\n\\t\\n\\treturn arr;\\n  }\\n  \\n  \\n  async function load_options(query) {\\n\\t\\n\\tvar data = get_data();\\n\\tvar name = data.name;\\n\\tconsole.log(\\\"load_options\\\",query);\\n\\tvar fields = [\\\"first_name\\\",\\\"surname\\\",\\\"number\\\"];\\n\\tvar res = await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[],fields]);\\n\\tvar first = res[0].first_name;\\n\\t//console.log(\\\"afi: \\\",first);\\n\\t\\n\\tvar slct = [];\\n\\tres.forEach(o=>{\\n\\t  slct.push({\\n\\t\\tvalue: o.number,\\n\\t\\tlabel: \\\"[\\\"+o.number+\\\"] \\\"+o.first_name+\\\" \\\"+o.surname,\\n\\t  });\\n\\t});\\n\\treturn slct;\\n  }\\n  \\n  function back(){\\n\\t redirect_page(\\\"existing_pcb\\\");\\n  }\\n  \\n  function twoNum(str){\\n\\tconsole.log(str,3555);\\n\\tvar stg = str.toString();\\n\\tconsole.log(\\\"afiqahh: \\\",stg);\\n\\t\\n\\tvar check = stg.includes(\\\".\\\");\\n\\tif (check == false){\\n\\t  check = str.toFixed(2);\\n\\t  console.log(\\\"afiqah0: \\\",check);\\n\\t\\tconsole.log(3414,typeof check);\\n\\t\\tif (check==null || check==\\\"null\\\") check=\\\"00\\\";\\n\\t  stg = check.toString();\\n\\t  console.log(\\\"afiqah00: \\\",stg);\\n\\t}\\n\\t\\n\\tvar split = stg.split(\\\".\\\");\\n\\tconsole.log(\\\"afiqahhh: \\\",split);\\n\\t\\n\\tvar dec = split[1];\\n\\tconsole.log(\\\"afiqahhh: \\\", dec);\\n\\t//alert(dec);\\n\\t\\n\\tif (dec==null || dec==undefined) dec=\\\"00\\\";\\n\\tconsole.log(dec,3425);\\n\\tvar strnine = dec.toString();\\n\\t\\n\\tvar splnine = strnine.split(\\\"\\\");\\n\\tvar nine_1 = splnine[1];\\n\\tif (nine_1 == 9){ \\n\\t  var same1 = true;\\n\\t};\\n\\tvar nine_2 = splnine[2];\\n\\tif (nine_2 == 9){ \\n\\t  var same2 = true;\\n\\t};\\n\\tvar nine_3 = splnine[3];\\n\\tif (nine_3 == 9){ \\n\\t  var same3 = true;\\n\\t};\\n\\t\\n\\tif(same1 == true && same2 == true && same3 == true){\\n\\t  var nin = splnine[0];\\n\\t  //var nine_11= parseInt(nine_1);\\n\\t  var ninn= parseInt(nin);\\n\\t  var ninnn = ninn + 1;\\n\\t  var end = 0;\\n\\t  var comb = split[0] + \\\".\\\" + ninnn + end;\\n\\t  console.log(\\\"afiqahhhhh: \\\", comb);\\n\\t  \\n\\t  var conv = parseFloat(comb);\\n\\t  console.log(\\\"afiqahhhhhh: \\\",conv);\\n\\t  \\n\\t  var arr = [\\\"0\\\",conv];\\n\\t  \\n\\t  return arr;\\n\\t  \\n\\t}\\n\\telse{\\n\\t\\tconsole.log(\\\"afiqahhhh: 3614\\\", dec);\\n\\t  var spl = dec.match(/.{1,2}/g);\\n\\t  console.log(\\\"afiqahhhh: 3616\\\", spl);\\n\\t\\n\\t  var comb = split[0] + \\\".\\\" + spl[0];\\n\\t  console.log(\\\"afiqahhhhh: \\\", comb);\\n\\t  \\n\\t  var conv = parseFloat(comb);\\n\\t  console.log(\\\"afiqahhhhhh: \\\",conv);\\n\\t  \\n\\t  var arr = [comb,conv];\\n\\t  \\n\\t  return arr;\\n\\t}\\n\\t\\n  }\\n  \"}, \"pcb_form_print\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"PCB Calculation\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 50, \"margin_left\": 40, \"margin_right\": 40, \"margin_bottom\": 40, \"border_bottom_width\": null}, {\"type\": \"table\", \"elements\": [[{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"NAME\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\"}]}], \"num_cols\": 3, \"col_widths\": [1, 0.2, 2], \"_col_widths\": \"[1,0.2,2]\", \"padding_top\": null, \"padding_bottom\": null, \"border_bottom_width\": 1, \"border_color\": \"#c1c1c1\", \"margin_bottom\": null}], [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"IC NUMBER\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\"}]}], \"num_cols\": 3, \"col_widths\": [1, 0.2, 2], \"_col_widths\": \"[1,0.2,2]\", \"padding_top\": null, \"padding_bottom\": null, \"border_color\": \"#c1c1c1\", \"border_bottom_width\": 1}], [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"EMPLOYMENT CATEGORY\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\"}]}], \"num_cols\": 3, \"col_widths\": [1, 0.2, 2], \"_col_widths\": \"[1,0.2,2]\", \"padding_bottom\": null, \"border_color\": \"#c1c1c1\", \"border_bottom_width\": 1, \"padding_top\": null}], [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TYPE OF RESIDENCY\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\"}]}], \"num_cols\": 3, \"col_widths\": [1, 0.2, 2], \"_col_widths\": \"[1,0.2,2]\", \"padding_bottom\": null, \"border_color\": \"#c1c1c1\", \"border_bottom_width\": 1, \"padding_top\": null}], [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MTD FORMULA\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\"}]}], \"num_cols\": 3, \"col_widths\": [1, 0.2, 2], \"_col_widths\": \"[1,0.2,2]\", \"padding_bottom\": null, \"border_color\": \"#c1c1c1\", \"border_bottom_width\": 1, \"padding_top\": null}], [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"STATUS CATEGORY\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\"}]}], \"num_cols\": 3, \"col_widths\": [1, 0.2, 2], \"_col_widths\": \"[1,0.2,2]\", \"padding_bottom\": null, \"border_color\": \"#c1c1c1\", \"border_bottom_width\": 1, \"padding_top\": null}], [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DISABLED INDIVIDUAL\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\"}]}], \"num_cols\": 3, \"col_widths\": [1, 0.2, 2], \"_col_widths\": \"[1,0.2,2]\", \"padding_bottom\": null, \"border_color\": \"#c1c1c1\", \"border_bottom_width\": 1, \"padding_top\": null}], [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DISABLED SPOUSE\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\"}]}], \"num_cols\": 3, \"col_widths\": [1, 0.2, 2], \"_col_widths\": \"[1,0.2,2]\", \"padding_bottom\": null, \"border_color\": \"#c1c1c1\", \"border_bottom_width\": 1, \"padding_top\": null}], [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"MONTH\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\"}]}], \"num_cols\": 3, \"col_widths\": [1, 0.2, 2], \"_col_widths\": \"[1,0.2,2]\", \"margin_bottom\": null, \"padding_bottom\": null, \"border_color\": \"#c1c1c1\", \"border_bottom_width\": 1, \"padding_top\": null}], [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"YEAR\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\"}]}], \"num_cols\": 3, \"col_widths\": [1, 0.2, 2], \"_col_widths\": \"[1,0.2,2]\", \"padding_top\": null, \"padding_bottom\": null, \"border_color\": \"#c1c1c1\", \"border_bottom_width\": 1}]], \"num_cols\": 1, \"margin_left\": 50, \"margin_right\": 50, \"num_rows\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CHILDREN - \"}, {\"insert\": \"No of children claimed by ownself\\n\"}]}, \"margin_top\": 30, \"margin_left\": 50, \"margin_right\": 50, \"border_bottom_width\": 1}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Eligible Rate\"}, {\"insert\": \"\\t\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"50%\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"100%\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Total (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Under the age of 18 years\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"3000\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"18 years & above and studying (included Certificate/Matriculation)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"3000\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Above 18 years & studying full time in Diploma level onward (Malaysia) or Degree level onward (outside Malaysia)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"12000\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled child\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"9000\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled child studying in Diploma or higher level (Malaysia)/ Degree or its equivalent \\n(outside Malaysia)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"1\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"21000\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]], \"margin_top\": 20, \"margin_left\": 50, \"margin_right\": 50, \"num_cols\": 4, \"num_rows\": 6, \"_col_widths\": \"[4,1,1,1]\", \"col_widths\": [4, 1, 1, 1], \"table_bordered\": true, \"table_striped\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Accumulated Remuneration/MTD/Rebate/Deduction until Before Current Month for Current Year (including from Previous Company)\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 30, \"margin_left\": 50, \"margin_right\": 50, \"border_bottom_width\": 1}, {\"type\": \"table\", \"elements\": [[null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated remuneration/ Benefit-In-Kind (BIK)/ Value Of Living Accommodation (VOLA)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated EPF and Other Approved Funds\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net Accumulated Remuneration\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated MTD Paid (including MTD on additional remuneration)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Accumulated Zakat paid\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]], \"margin_top\": 20, \"margin_left\": 50, \"margin_right\": 50, \"num_cols\": 2, \"_col_widths\": \"[4,1]\", \"col_widths\": [4, 1], \"num_rows\": 6, \"table_bordered\": true, \"table_striped\": true}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Other Accumulated Deduction\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 50, \"margin_right\": 50}, {\"type\": \"table\", \"elements\": [[null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Medical expenses for own parents, special need and parent care; or\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Father relief\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Mother relief\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Basic supporting equipment for disabled self, spouse, child, or parent\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Education fees\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"a) Medical expenses on serious disease for self, spouse or child\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"b) Complete medical examination for self, spouse or child\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total a + b\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net deposit in Skim Simpanan Pendidikan Nasional (SSPN)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Payment of alimony to former wife\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Life insurance premium for Retired Civil Servant\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Life insurance premium for Other than Retired Civil Servant\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Education and medical insurance premium\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Deferred annuity premium or contribution to private retirement scheme\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SOCSO Contribution \\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Purchase of readings, computer, smartphone, tablet, sport equipment, gymnasium membership and subscription of broadband internet\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Purchase of Breastfeeding Equipment (deduction is allowed once every 2 years for women tax payer only)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Fees paid to Child Care Centre and Kindergartens\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Accumulated Deductions\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"0\\n\"}]}}]], \"margin_top\": 10, \"margin_left\": 50, \"margin_right\": 50, \"num_cols\": 2, \"_col_widths\": \"[4,1]\", \"col_widths\": [4, 1], \"num_rows\": 20}], \"min_height\": 50, \"height\": \"\", \"margin_left\": 20, \"margin_top\": 20, \"margin_right\": 20, \"margin_bottom\": 20}]}, \"code\": null}, \"pcb_form_view\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"PCB Form\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 70, \"margin_right\": 20, \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\", \"color\": \"#000000\", \"font_bold\": false}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"If you have filled up the form before, click here.\\n\"}]}, \"margin_top\": 8, \"font_size\": 12, \"on_click\": \"set_page(\\\"existing_pcb\\\")\", \"margin_right\": 20}], \"min_height\": null, \"name\": \"bex1\", \"dyn_props\": \"{hidden:bex1}\", \"hidden\": true}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"If you want to fill up a new PCB Form, click here.\\n\"}]}, \"margin_top\": 8, \"margin_right\": 20, \"font_size\": 12, \"on_click\": \"set_page(\\\"existing_pcb\\\")\"}], \"min_height\": null, \"name\": \"bex2\", \"dyn_props\": \"{hidden:bex2}\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"smartB-logo-2-300x148,EodqyPDYCn8=,SH9laBrrYfU=,Ip6J7k7ESiQ=.png\", \"width\": \"250\", \"height\": \"120\"}]}], \"num_cols\": 2, \"col_widths\": [4, 1], \"_col_widths\": \"[4,1]\", \"margin_top\": 0, \"margin_left\": 70, \"margin_right\": 70}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Personal Details\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70, \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\", \"color\": \"#ffffff\", \"background_color\": \"#0a1e38\", \"font_bold\": false, \"margin_bottom\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Name\\n\"}]}, \"font_size\": 17, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"color\": \"#000000\", \"font_size\": 17, \"font_name\": \"Verdana\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"background_color\": \"#ffffff\", \"color\": \"#000000\", \"placeholder\": \"Name\", \"model\": \"hr2.employee\", \"name\": \"fullname\", \"hover_background_color\": \"#000000\", \"placeholder_color\": \"#000000\", \"load_options\": \"load_options(query)\"}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": null, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[1.5,0.2,3]\", \"vertical_align\": \"middle\", \"color\": \"#000000\", \"placeholder_color\": \"#000000\", \"hover_background_color\": \"#000000\"}], \"min_height\": null, \"name\": \"bname1\", \"dyn_props\": \"{hidden:bname1}\", \"hidden\": true}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Name\\n\"}]}, \"font_size\": 17, \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"font_size\": 17, \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"name\": \"fname\", \"placeholder\": \"Name\", \"disabled\": true}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": null, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[1.5,0.2,3]\", \"vertical_align\": \"middle\"}], \"min_height\": null, \"name\": \"bname2\", \"dyn_props\": \"{hidden:bname2}\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Employment Category\\n\"}]}, \"font_size\": 17, \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"color\": \"#000000\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"color\": \"#000000\", \"font_size\": 17, \"font_name\": \"Verdana\", \"letter_spacing\": \"\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Employment Category\", \"_selection\": \"[[1,\\\"Previously Employed\\\"],[2,\\\"Previously not employed\\\"]]\", \"selection\": [[1, \"Previously Employed\"], [2, \"Previously not employed\"]], \"model\": \"hr2.employment.category\", \"name\": \"employment_category\", \"background_color\": \"#ffffff\", \"placeholder_color\": \"#000000\", \"on_change\": \"category()\", \"disabled\": true, \"readonly\": false}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[1.5,0.2,3]\", \"vertical_align\": \"middle\", \"hover_background_color\": \"#000000\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Types of Residency\\n\"}]}, \"font_size\": 17, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"color\": \"#000000\", \"font_size\": 17, \"font_name\": \"Verdana\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"_selection\": \"[[\\\"Resident\\\",\\\"Resident\\\"],[\\\"Non-Resident\\\",\\\"Non-Resident\\\"]]\", \"selection\": [[\"Resident\", \"Resident\"], [\"Non-Resident\", \"Non-Resident\"]], \"placeholder\": \"Types of Residency\", \"background_color\": \"#ffffff\", \"name\": \"type_of_residency\", \"on_change\": \"category()\", \"disabled\": true}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[1.5,0.2,3]\", \"font_size\": 15, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"\", \"vertical_align\": \"middle\", \"hover_background_color\": \"#000000\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD Formula\\n\"}]}, \"font_size\": 17, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"font_size\": 17, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"MTD Formula\", \"_selection\": \"[[\\\"Normal\\\",\\\"Normal Remuneration\\\"],[\\\"REP\\\",\\\"Returning Expert Program (REP)\\\"],[\\\"IRDA\\\",\\\"Knowledge Worker at Specified Region (Iskandar Malaysia)\\\"],[\\\"28%\\\",\\\"28% of remuneration after deduct  tax exempt allowances\\\"]]\", \"selection\": [[\"Normal\", \"Normal Remuneration\"], [\"REP\", \"Returning Expert Program (REP)\"], [\"IRDA\", \"Knowledge Worker at Specified Region (Iskandar Malaysia)\"], [\"28%\", \"28% of remuneration after deduct  tax exempt allowances\"]], \"name\": \"mtd_formula\", \"disabled\": true}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[1.5,0.2,3]\", \"vertical_align\": \"middle\"}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Status Category\\n\"}]}, \"font_size\": 17, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"font_size\": 17, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Status Category\", \"_selection\": \"[[\\\"cat1\\\",\\\"Category 1 = Single\\\"],[\\\"cat2\\\",\\\"Category 2 = Married and husband/wife is not working\\\"],[\\\"cat3\\\",\\\"Category 3 = Married and husband/wife is working, divorced or widowed, or single with adopted child\\\"]]\", \"selection\": [[\"cat1\", \"Category 1 = Single\"], [\"cat2\", \"Category 2 = Married and husband/wife is not working\"], [\"cat3\", \"Category 3 = Married and husband/wife is working, divorced or widowed, or single with adopted child\"]], \"name\": \"status_category\", \"disabled\": true}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"_col_widths\": \"[1.5,0.2,3]\", \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled Individual\\n\"}]}, \"font_size\": 17, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"font_size\": 17, \"font_name\": \"Verdana\", \"letter_spacing\": \"\", \"color\": \"#000000\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Disabled Individual\", \"_selection\": \"[[\\\"yes\\\",\\\"Yes\\\"],[\\\"no\\\",\\\"No\\\"]]\", \"selection\": [[\"yes\", \"Yes\"], [\"no\", \"No\"]], \"name\": \"disabled_individual\", \"disabled\": true}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"vertical_align\": \"middle\", \"_col_widths\": \"[1.5,0.2,3]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled Spouse\\n\"}]}, \"font_size\": 17, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"font_size\": 17, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Disabled Spouse\", \"_selection\": \"[[\\\"yes\\\",\\\"Yes\\\"],[\\\"no\\\",\\\"No\\\"]]\", \"selection\": [[\"yes\", \"Yes\"], [\"no\", \"No\"]], \"name\": \"disabled_spouse\", \"disabled\": true}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"vertical_align\": \"middle\", \"_col_widths\": \"[1.5,0.2,3]\"}], \"min_height\": 50, \"name\": \"bperd\", \"dyn_props\": \"{hidden:bperd}\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Month\\n\"}]}, \"font_size\": 17, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"font_size\": 17, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Month\", \"_selection\": \"[[1,\\\"January\\\"],[2,\\\"February\\\"],[3,\\\"March\\\"],[4,\\\"April\\\"],[5,\\\"May\\\"],[6, \\\"June\\\"],[7,\\\"July\\\"],[8,\\\"August\\\"],[9,\\\"September\\\"],[10,\\\"October\\\"],[11,\\\"November\\\"],[12,\\\"December\\\"]]\", \"selection\": [[1, \"January\"], [2, \"February\"], [3, \"March\"], [4, \"April\"], [5, \"May\"], [6, \"June\"], [7, \"July\"], [8, \"August\"], [9, \"September\"], [10, \"October\"], [11, \"November\"], [12, \"December\"]], \"on_change\": \"\", \"name\": \"month\", \"disabled\": true}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"vertical_align\": \"middle\", \"_col_widths\": \"[1.5,0.2,3]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Year\\n\"}]}, \"font_size\": 17, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}, \"font_size\": 17, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Year\", \"name\": \"year\", \"disabled\": true}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 3], \"_col_widths\": \"[1.5,0.2,3]\", \"vertical_align\": \"middle\", \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80}], \"min_height\": 50, \"height\": \"\", \"dyn_props\": \"{hidden:box1}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Children - \"}, {\"insert\": \"No of children claimed by Ownself\\n\"}]}, \"margin_left\": 70, \"margin_right\": 70, \"background_color\": \"#0a1e38\", \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"font_bold\": false, \"letter_spacing\": \"2.5\", \"margin_top\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Eligible Rate\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"50%\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"font_name\": \"Verdana\", \"align\": \"center\", \"letter_spacing\": \"3\", \"color\": \"#000000\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"100%\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}]}], \"num_cols\": 4, \"col_widths\": [4, 1, 1, 1], \"margin_top\": 20, \"margin_left\": 95, \"margin_right\": 95, \"_col_widths\": \"[4,1,1,1]\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Under the age of 18 years\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"align\": \"center\", \"margin_right\": 10, \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_under_18_50}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_under_18_100}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_under_18_total}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"18 years & above and studying (included Certificate/Matriculation)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_18_study_50}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_18_study_100}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_18_study_total}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Above 18 years and studying full time in Diploma level onwards (Malaysia) or Degree level onwards (outside Malaysia)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_18_full_time_50}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_18_full_time_100}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{child_18_full_time_total}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled child\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_child_50}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_child_100}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_child_total}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled child studying in Diploma level onwards (Malaysia) or Degree level onwards (outside Malaysia)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_child_study_50}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_child_study_100}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{disabled_child_study_total}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Disabled child studying in Diploma level onwards (Malaysia) or Degree level onwards (outside Malaysia)\\n\"}]}, \"font_size\": 16, \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"1.0\"}]], \"margin_top\": 10, \"margin_left\": 95, \"margin_right\": 95, \"table_bordered\": false, \"border_color\": \"#000000\", \"border_width\": null, \"num_cols\": 4, \"_col_widths\": \"[4.3,1,1,1]\", \"col_widths\": [4.3, 1, 1, 1], \"vertical_align\": \"middle\", \"table_striped\": false, \"num_rows\": 5, \"table_hover\": false}], \"min_height\": 50, \"height\": \"450\", \"margin_top\": 10, \"dyn_props\": \"{hidden:box2}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Accumulated Remuneration/MTD/Rebate/Deduction until before current month\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  for current year - \"}, {\"insert\": \"including from previous employer\\n\"}]}, \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70, \"background_color\": \"#0a1e38\", \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"1.0\", \"margin_right\": 20}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"align\": \"center\", \"font_size\": 18, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_right\": null, \"margin_left\": null, \"font_bold\": false}]}], \"num_cols\": 2, \"col_widths\": [6, 1], \"margin_top\": 20, \"margin_left\": 85, \"margin_right\": 110, \"_col_widths\": \"[6,1]\", \"vertical_align\": \"middle\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated remuneration/Benefit-in-Kind (BIK)/Value of Living Accommodation (VOLA)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_acc_rem_bik_vola}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated EPF and other approved funds\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_acc_epf}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net Accumulated Remuneration\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_net_acc_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accumulated MTD paid (including MTD on additional remuneration)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_acc_mtd}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total accumulated zakat paid\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_total_acc_zakat}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_top\": 10, \"margin_left\": 95, \"margin_right\": 95, \"_col_widths\": \"[6,1]\", \"col_widths\": [6, 1], \"table_bordered\": false, \"num_cols\": 2, \"num_rows\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  \"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Other Accumulated Deduction\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 80, \"margin_right\": 80, \"background_color\": \"#c1c1c1\", \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\", \"font_size\": 12, \"padding_top\": 3, \"padding_bottom\": 3}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"1.0\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"align\": \"center\", \"font_size\": 18, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_left\": null, \"margin_right\": null, \"font_bold\": false}]}], \"num_cols\": 2, \"col_widths\": [6, 1], \"margin_left\": 80, \"margin_right\": 110, \"margin_top\": 20, \"_col_widths\": \"[6,1]\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Medical Expenses for own parents, special need and parent care\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_med_exp}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Father Relief\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_father_relief}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Mother Relief\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_mother_relief}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Basic supporting equipment for disabled self, spouse, child or parent\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_support_disabled}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Education fees\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_edu_fees}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"a) Medical expenses on serious diseases for self, spouse or child\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_med_exp_serious}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"b) Complete medical examination for self, spouse or child\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_com_med_exam}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total of a and b\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_total_a_b}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net Deposit in Skim Simpanan Pendidikan Nasional (SSPN)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_net_dep_sspn}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Payment of alimony to former wife\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_alimony}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Life insurance premium for Retired Civil Servant\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_ins_ret_civ_ser}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Life insurance premium for Other than Retired Civil Servant\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_ins_oth_ret_civ_ser}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Education and medical insurance premium\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_edu_med_ins_prem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Deferred annuity premium or contribution to Private Retirement Scheme\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_def_annuity}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SOCSO Contribution\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_socso_cont}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Purchase of readings, computer, smartphone, tablet, sport equipment, gymnasium membership and subscription of broadband internet\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_purch}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Purchase of breastfeeding equipment (deduction is allowed once every 2 years for women tax payer only)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_purch_bre_equip}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Fees paid to child care centre and kindergartens \\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_fee_child_care}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Accumulated Deductions\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_total_acc_deduct}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"field\"}]], \"margin_left\": 95, \"margin_right\": 95, \"margin_top\": 10, \"table_bordered\": false, \"num_cols\": 3, \"_col_widths\": \"[5.5,0.5,1]\", \"col_widths\": [5.5, 0.5, 1], \"num_rows\": 19, \"vertical_align\": \"middle\"}], \"min_height\": 50, \"height\": \"1400\", \"margin_left\": null, \"margin_right\": null, \"avoid_keyboard\": true, \"margin_top\": 10, \"dyn_props\": \"{hidden:box3}\", \"background_color\": \"#ffffff\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Current Month's Remuneration\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70, \"background_color\": \"#0a1e38\", \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\", \"color\": \"#ffffff\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"1.0\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_left\": null, \"margin_right\": null, \"font_bold\": false}]}], \"num_cols\": 2, \"col_widths\": [6, 1], \"margin_top\": 20, \"margin_left\": 85, \"margin_right\": 110, \"_col_widths\": \"[6,1]\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Current month's remuneration\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_net_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Current month's EPF and other approved funds [not exceeding RM4000 per year]\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_epf}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Net Current Month's Remuneration\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_net_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Benefit-in-Kind (BIK)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_bik}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Value Of Living Accommodation (VOLA)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_vola}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 80, \"margin_right\": 80, \"margin_top\": 10, \"table_bordered\": false, \"num_cols\": 2, \"num_rows\": 5, \"_col_widths\": \"[6,1]\", \"col_widths\": [6, 1], \"vertical_align\": \"middle\"}], \"min_height\": 50, \"height\": \"390\", \"page_break_after\": true, \"dyn_props\": \"{hidden:box4}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Current Month's Remuneration\"}, {\"insert\": \"\\n\"}]}, \"background_color\": \"#0a1e38\", \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\", \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}]}], \"num_cols\": 2, \"col_widths\": [6, 1], \"_col_widths\": \"[6,1]\", \"margin_top\": 20, \"margin_left\": 85, \"margin_right\": 110}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Current month's remuneration\\n\"}]}, \"font_size\": 16, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{non_res_cur_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Benefit-in-Kind (BIK)\\n\"}]}, \"font_size\": 16, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{non_res_cur_bik}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Value of Living Accommodation (VOLA)\\n\"}]}, \"font_size\": 16, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{non_res_cur_vola}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 2, \"num_rows\": 3, \"_col_widths\": \"[6,1]\", \"col_widths\": [6, 1], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"table_bordered\": false}], \"min_height\": 50, \"dyn_props\": \"{hidden:box8}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Current Month's Additional Remuneration\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70, \"background_color\": \"#0a1e38\", \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\", \"color\": \"#ffffff\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_left\": null, \"margin_right\": null, \"font_bold\": false}]}], \"num_cols\": 2, \"col_widths\": [6, 1], \"_col_widths\": \"[6,1]\", \"margin_top\": 20, \"margin_left\": 85, \"margin_right\": 110, \"vertical_align\": \"middle\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bonus\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_bonus}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Arrears\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_arrears}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Commissions (not paid monthly)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_commission}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Gratuity\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_gratuity}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Compensation\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_compensation}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Director's fee (not paid monthly)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_director_fee}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Income tax paid by employers on behalf of employees\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_inc_tax_on_behalf}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Others\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_others}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Additional Remuneration\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_add_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Additional remuneration's EPF [not exceeding RM4000 per year]\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_add_rem_epf}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Net Additional Remuneration\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_net_add_rem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"num_cols\": 2, \"num_rows\": 11, \"_col_widths\": \"[6,1]\", \"col_widths\": [6, 1], \"table_bordered\": false}], \"min_height\": 50, \"height\": \"600\", \"dyn_props\": \"{hidden:box5}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Current Month's Deduction\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70, \"background_color\": \"#0a1e38\", \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"1.0\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"1.0\", \"margin_left\": 5, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [6, 1], \"_col_widths\": \"[6,1]\", \"margin_top\": 20, \"margin_left\": 80, \"margin_right\": 80}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Medical expenses for own parents, special need and parent care\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_med_exp}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Father Relief\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_father_relief}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Mother Relief\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_mother_relief}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Basic supporting equipment for disabled self, spouse, child or parent\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_support_disabled}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Education fees\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_edu_fees}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"a) Medical expenses on serious diseases for self, spouse or child\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_med_exp_serious}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"b) Complete medical examination for self, spouse or child\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_com_med_exam}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total of a and b\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_a_b}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net deposit in Skim Simpanan Pendidikan Nasional (SSPN)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_net_dep_sspn}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Payment of alimony to former wife\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_alimony}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Life insurance premium for Retired Civil Servant\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_ins_ret_civ_ser}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Life insurance premium for Other than Retired Civil Servant\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_ins_oth_ret_civ_ser}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Education and medical insurance premium\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_edu_med_ins_prem}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Deferred annuity premium or contribution to Private Retirement Scheme\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_def_annuity}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SOCSO Contribution\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_socso_cont}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Purchase of readings, computer, smartphone, tablet, sport equipment, gymnasium membership and subscription of broadband internet\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_purch}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Purchase of breastfeeding equipment (deduction is allowed once every 2 years for women tax payer only)\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_purch_bre_equip}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Fees paid to child care centre and kindergartens\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_fee_child_care}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Monthly Deduction\\n\"}]}, \"font_size\": 16, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_total_deduct}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"num_cols\": 3, \"num_rows\": 19, \"_col_widths\": \"[5.5,0.5,1]\", \"col_widths\": [5.5, 0.5, 1], \"table_bordered\": false}], \"min_height\": 50, \"height\": \"1050\", \"dyn_props\": \"{hidden:box6}\", \"header\": true}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Current Month's Rebate Information\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70, \"background_color\": \"#0a1e38\", \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"margin_right\": 9}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"1.0\", \"margin_left\": null, \"margin_right\": null}]}], \"num_cols\": 2, \"col_widths\": [6, 1], \"margin_top\": 20, \"margin_left\": 85, \"margin_right\": 110, \"_col_widths\": \"[6,1]\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Zakat or Fitrah\\n\"}]}, \"font_size\": 16, \"color\": \"#000000\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\", \"font_bold\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cur_zakat}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], []], \"num_rows\": 1, \"_col_widths\": \"[6,1]\", \"col_widths\": [6, 1], \"num_cols\": 2, \"vertical_align\": \"middle\", \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"table_hover\": false, \"table_bordered\": false}], \"min_height\": 50, \"height\": \"180\", \"dyn_props\": \"{hidden:box7}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  \"}, {\"attributes\": {\"size\": \"large\", \"color\": \"#ffffff\", \"bold\": true}, \"insert\": \"MTD Calculation\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70, \"background_color\": \"#0a1e38\", \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"font_size\": 16, \"font_name\": \"Verdana\", \"letter_spacing\": \"1\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 2, \"_col_widths\": \"[6,1]\", \"col_widths\": [6, 1], \"margin_left\": 85, \"margin_right\": 110, \"margin_top\": 20, \"vertical_align\": \"middle\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net MTD\\n\"}]}, \"font_size\": 16, \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cal_netmtd}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": null, \"font_name\": \"\", \"letter_spacing\": \"\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Yearly MTD\\n\"}]}, \"font_size\": 16, \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cal_yearmtd}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Yearly Tax\\n\"}]}, \"font_size\": 16, \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cal_yeartax}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Additional Remuneration\\n\"}]}, \"font_size\": 16, \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cal_addmtd}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD\\n\"}]}, \"font_size\": 16, \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cal_mtd}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD (after rounding to nearest upper 5 cents)\\n\"}]}, \"font_size\": 16, \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{round}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 2, \"_col_widths\": \"[6,1]\", \"col_widths\": [6, 1], \"vertical_align\": \"middle\", \"margin_left\": 80, \"margin_right\": 80, \"margin_top\": 10, \"num_rows\": 6, \"table_bordered\": false}], \"min_height\": 50, \"margin_bottom\": 40, \"name\": \"mtdcalc1\", \"dyn_props\": \"{hidden:mtdcalc1}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"color\": \"#ffffff\", \"bold\": true}, \"insert\": \"  MTD Calculation\"}, {\"insert\": \"\\n\"}]}, \"background_color\": \"#0a1e38\", \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70, \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\"}]}, {\"children\": [{\"type\": \"text\", \"font_size\": 16, \"font_name\": \"Verdana\", \"letter_spacing\": \"1\", \"contents\": {\"ops\": [{\"insert\": \"RM\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 2, \"_col_widths\": \"[6,1]\", \"col_widths\": [6, 1], \"margin_left\": 85, \"margin_right\": 110, \"margin_top\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD\\n\"}]}, \"font_size\": 16, \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{nonmtd}\"}, {\"attributes\": {\"align\": \"right\", \"direction\": \"rtl\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD (after rounding to nearest upper 5 cents)\\n\"}]}, \"font_size\": 16, \"font_name\": \"Verdana\", \"letter_spacing\": \"3\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{nonmtdr}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 2, \"num_rows\": 2, \"_col_widths\": \"[6,1]\", \"col_widths\": [6, 1], \"vertical_align\": \"middle\", \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"table_bordered\": false}], \"min_height\": 50, \"name\": \"mtdcalc2\", \"margin_bottom\": 40, \"dyn_props\": \"{hidden:mtdcalc2}\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"text\": \"Back\", \"icon\": \"arrow-left\", \"padding_top\": 10, \"padding_left\": 15, \"padding_right\": 15, \"padding_bottom\": 10, \"on_click\": \"back()\"}]}, {\"children\": [{\"type\": \"button\", \"margin_left\": 5, \"margin_right\": 5, \"margin_top\": null, \"width\": \"\", \"height\": \"\", \"text\": \"Calculate Next Month\", \"font_name\": \"\", \"letter_spacing\": \"\", \"font_bold\": false, \"on_click\": \"calcNext()\", \"margin_bottom\": null, \"padding_top\": 10, \"padding_left\": 15, \"padding_right\": 15, \"padding_bottom\": 10, \"icon\": \"calculator\"}]}, {\"children\": [{\"type\": \"button\", \"name\": \"\", \"icon\": \"print\", \"text\": \"Print PDF\", \"margin_left\": 5, \"margin_right\": 5, \"padding_top\": 10, \"padding_left\": 15, \"padding_right\": 15, \"padding_bottom\": 10}]}, {\"children\": [{\"type\": \"button\", \"icon\": \"plus-circle\", \"text\": \"New Form\", \"margin_top\": null, \"margin_left\": null, \"margin_right\": null, \"margin_bottom\": null, \"padding_top\": 10, \"padding_left\": 15, \"padding_right\": 15, \"padding_bottom\": 10, \"on_click\": \"newForm()\"}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 8, \"margin_top\": 10, \"margin_left\": 80, \"margin_right\": 80, \"margin_bottom\": 50, \"col_widths\": [0.7, 1.3, 0.93, 1, 1, 1, 1, 1.07], \"_col_widths\": \"[0.7,1.3,0.93,1,1,1,1,1.07]\"}, {\"type\": \"box\", \"children\": [], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Y\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_left\": null, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"width\": null, \"height\": null, \"margin_left\": null, \"name\": \"Y\", \"placeholder\": \"Y\", \"align\": \"center\", \"margin_right\": null}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"K\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": null, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"margin_right\": null, \"placeholder\": \"K\", \"name\": \"K\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"E\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": null, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"E\", \"placeholder\": \"E\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Y1\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": null, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"hidden\": false}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"Y1\", \"placeholder\": \"Y1\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"K1\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": null, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"K1\", \"placeholder\": \"K1\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Y2\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": null, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"Y2\", \"placeholder\": \"Y2\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"K2\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": null, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"K2\", \"placeholder\": \"K2\"}]}], \"num_cols\": 14, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"margin_left\": 15, \"margin_right\": 85, \"margin_top\": 10, \"margin_bottom\": 5, \"vertical_align\": \"middle\", \"align\": \"center\", \"_col_widths\": \"\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"D\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"D\", \"placeholder\": \"D\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"S\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": false, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"S\", \"placeholder\": \"S\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Du\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"Du\", \"placeholder\": \"Du\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Su\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"Su\", \"placeholder\": \"Su\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"n\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"n\", \"placeholder\": \"n\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"QC\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"QC\", \"field_type\": \"number\", \"placeholder\": \"QC\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"ELP\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"ELP\", \"field_type\": \"number\", \"placeholder\": \"ELP\"}]}], \"num_cols\": 14, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"vertical_align\": \"middle\", \"margin_left\": 15, \"margin_right\": 85, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"LP1\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"LP1\", \"field_type\": \"number\", \"placeholder\": \"LP1\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10, \"color\": \"#000000\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"P_res\", \"placeholder\": \"P - Res\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"M\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"M\", \"field_type\": \"number\", \"placeholder\": \"M\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"R\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"R_res\", \"field_type\": \"number\", \"placeholder\": \"R - Res\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"B\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"B\", \"field_type\": \"number\", \"placeholder\": \"B\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Z\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"name\": \"\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"Z_res\", \"field_type\": \"number\", \"placeholder\": \"Z - Res\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"X\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"X_res\", \"field_type\": \"number\", \"placeholder\": \"X - Res\"}]}], \"num_cols\": 14, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"vertical_align\": \"middle\", \"margin_left\": 15, \"margin_right\": 85, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cur MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_name\": \"Segoe UI Light\", \"color\": \"#000000\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"curMTD_res\", \"field_type\": \"number\", \"placeholder\": \"Cur MTD\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"netMTD_res\", \"field_type\": \"number\", \"placeholder\": \"Net MTD\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"P_REP\", \"field_type\": \"number\", \"placeholder\": \"P - REP\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"R\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_name\": \"Segoe UI Light\", \"color\": \"#000000\", \"letter_spacing\": \"3\", \"name\": \"\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"R_REP\", \"field_type\": \"number\", \"placeholder\": \"R - REP\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"T\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"T_REP\", \"field_type\": \"number\", \"placeholder\": \"T - REP\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Z\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"Z_REP\", \"field_type\": \"number\", \"placeholder\": \"Z - REP\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"X\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"X_REP\", \"field_type\": \"number\", \"placeholder\": \"X - REP\"}]}], \"num_cols\": 14, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"vertical_align\": \"middle\", \"margin_left\": 15, \"margin_right\": 85, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cur MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"curMTD_REP\", \"field_type\": \"number\", \"placeholder\": \"Cur MTD\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"netMTD_REP\", \"field_type\": \"number\", \"placeholder\": \"Net MTD\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_name\": \"Segoe UI Light\", \"color\": \"#000000\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"P_IRDA\", \"field_type\": \"number\", \"placeholder\": \"P - IRDA\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"R\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"R_IRDA\", \"field_type\": \"number\", \"placeholder\": \"R - IRDA\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Z\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"Z_IRDA\", \"field_type\": \"number\", \"placeholder\": \"Z - IRDA\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"X\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"X_IRDA\", \"field_type\": \"number\", \"placeholder\": \"X -IRDA\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cur MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"curMTD_IRDA\", \"field_type\": \"number\", \"placeholder\": \"Cur MTD\"}]}], \"num_cols\": 14, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"vertical_align\": \"middle\", \"margin_left\": 15, \"margin_right\": 85, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"netMTD_IRDA\", \"field_type\": \"number\", \"placeholder\": \"Net MTD\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD(B)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_name\": \"Segoe UI Light\", \"color\": \"#000000\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"mtdb\", \"field_type\": \"number\", \"placeholder\": \"MTD - B\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Yt\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"Yt\", \"field_type\": \"number\", \"placeholder\": \"Yt\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Kt\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"Kt\", \"field_type\": \"number\", \"placeholder\": \"Kt\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"P - CS\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"P_CS\", \"field_type\": \"number\", \"placeholder\": \"P - CS\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"CS\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"CS\", \"field_type\": \"number\", \"placeholder\": \"CS\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD(C)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"name\": \"\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"mtdc\", \"field_type\": \"number\", \"placeholder\": \"MTD - C\"}]}], \"num_cols\": 14, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"vertical_align\": \"middle\", \"margin_left\": 15, \"margin_right\": 85, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"mtd\", \"field_type\": \"number\", \"placeholder\": \"MTD\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NR-Cur\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_name\": \"Segoe UI Light\", \"color\": \"#000000\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"non_res_cur_remm\", \"placeholder\": \"Non Resident\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NR-BIK\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"non_res_bikk\", \"placeholder\": \"Non Resident\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NR-Vola\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"non_res_volaa\", \"placeholder\": \"Non Resident\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NR-Add\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"non_res_add_remm\", \"placeholder\": \"Non Resident\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NR MTD\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"color\": \"#000000\", \"font_name\": \"Segoe UI Light\", \"letter_spacing\": \"3\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"non_res_mtdd\", \"placeholder\": \"Non Resident\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_name\": \"Segoe UI Light\", \"color\": \"#ffffff\", \"letter_spacing\": \"3\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\"}]}], \"num_cols\": 14, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"vertical_align\": \"middle\", \"margin_left\": 15, \"margin_right\": 85, \"margin_bottom\": 30}], \"min_height\": 50, \"dyn_props\": \"{hidden:boxz}\", \"name\": \"boxz\"}], \"min_height\": 50, \"height\": \"\", \"background_color\": \"#ffffff\", \"margin_left\": null, \"margin_right\": null, \"margin_top\": null}], \"background_color\": \"#ffffff\"}, \"code\": \"//// ONLY 700+ lines of codes\\n\\nasync function on_load(){  \\n  var page = page_params.page;\\n  if (page == 1){ //IF-ELSE 1\\n    set_data({boxz:true});\\n    initialValue();\\n    var name = page_params.fname;\\n    var month = page_params.month;\\n    var year = page_params.year;\\n    var formula = page_params.form;\\n    console.log(\\\"afiqah: \\\", name, month, year)\\n\\n    var conds = [[\\\"full_name\\\",\\\"ilike\\\",name],[\\\"month\\\",\\\"=\\\",month],[\\\"year\\\",\\\"=\\\",year],[\\\"mtd_formula\\\",\\\"=\\\",formula]]\\n    var fields = [\\\"full_name\\\",\\\"month\\\",\\\"year\\\",\\\"employment_category\\\",\\\"type_of_residency\\\",\\\"mtd_formula\\\",\\n                  \\\"status_category\\\",\\\"disabled_individual\\\",\\\"disabled_spouse\\\",\\n                  \\\"child_under_18_50\\\",\\\"child_under_18_100\\\",\\\"child_under_18_total\\\",\\n                  \\\"child_18_study_50\\\",\\\"child_18_study_100\\\",\\\"child_18_study_total\\\",\\n                  \\\"child_18_full_time_50\\\",\\\"child_18_full_time_100\\\",\\\"child_18_full_time_total\\\",\\n                  \\\"disabled_child_50\\\",\\\"disabled_child_100\\\",\\\"disabled_child_total\\\",\\n                  \\\"disabled_child_study_50\\\",\\\"disabled_child_study_100\\\",\\\"disabled_child_study_total\\\",\\n                  \\\"prev_acc_rem_bik_vola\\\",\\\"prev_acc_epf\\\",\\\"prev_net_acc_rem\\\",\\\"prev_acc_mtd\\\",\\\"prev_total_acc_zakat\\\",\\n                  \\\"prev_med_exp\\\",\\\"prev_father_relief\\\",\\\"prev_mother_relief\\\",\\n                  \\\"prev_support_disabled\\\",\\\"prev_edu_fees\\\",\\\"prev_med_exp_serious\\\",\\\"prev_com_med_exam\\\",\\n                  \\\"prev_total_a_b\\\",\\\"prev_net_dep_sspn\\\",\\\"prev_alimony\\\",\\\"prev_ins_ret_civ_ser\\\",\\n                  \\\"prev_ins_oth_ret_civ_ser\\\",\\\"prev_edu_med_ins_prem\\\",\\\"prev_def_annuity\\\",\\\"prev_socso_cont\\\",\\n                  \\\"prev_purch\\\",\\\"prev_purch_bre_equip\\\",\\\"prev_fee_child_care\\\",\\\"prev_total_acc_deduct\\\",\\n                  \\\"cur_mon_rem\\\",\\\"cur_mon_epf\\\",\\\"cur_total_net_rem\\\",\\\"cur_bik\\\",\\\"cur_vola\\\",\\n                  \\\"non_res_cur_rem\\\",\\\"non_res_bik\\\",\\\"non_res_vola\\\",\\n                  \\\"cur_bonus\\\",\\\"cur_arrears\\\",\\\"cur_commission\\\",\\\"cur_gratuity\\\",\\\"cur_compensation\\\",\\n                  \\\"cur_director_fee\\\",\\\"cur_inc_tax_on_behalf\\\",\\\"cur_others\\\",\\\"cur_total_add_rem\\\",\\n                  \\\"cur_add_rem_epf\\\",\\\"cur_total_net_add_rem\\\",\\n                  \\\"cur_med_exp\\\",\\\"cur_father_relief\\\",\\\"cur_mother_relief\\\",\\\"cur_support_disabled\\\",\\n                  \\\"cur_edu_fees\\\",\\\"cur_med_exp_serious\\\",\\\"cur_com_med_exam\\\",\\\"cur_total_a_b\\\",\\n                  \\\"cur_net_dep_sspn\\\",\\\"cur_alimony\\\",\\\"cur_ins_ret_civ_ser\\\",\\\"cur_ins_oth_ret_civ_ser\\\",\\n                  \\\"cur_edu_med_ins_prem\\\",\\\"cur_def_annuity\\\",\\\"cur_socso_cont\\\",\\\"cur_purch\\\",\\\"cur_purch_bre_equip\\\",\\n                  \\\"cur_fee_child_care\\\",\\\"cur_total_deduct\\\",\\\"cur_zakat\\\",\\\"netMTD_resident\\\",\\\"netMTD_REP\\\",\\\"netMTD_IRDA\\\",\\\"mtdb\\\",\\\"CS\\\",\\\"mtdC\\\",\\\"mtd\\\",\\\"mtd_round\\\",\\n                  \\\"non_res_mtd\\\",\\\"mtd_round_none\\\",\\n                 ]\\n\\n    //\\\"netMTD_resident\\\",\\\"netMTD_REP\\\",\\\"netMTD_IRDA\\\",\\\"mtdb\\\",\\\"CS\\\",\\\"mtdC\\\",\\\"mtd\\\",\\\"mtd_round\\\"\\n\\n    var  res = await rpc_execute(\\\"hr2.pcb\\\",\\\"search_read\\\",[conds,fields]); //Max 30OCT20, why search_read_path? \\n\\n    //Personal Details\\n    var names = res[0].full_name;\\n    var months = res[0].month;\\n    var years = res[0].year;\\n    var emp_cat = res[0].employment_category;\\n    //var collecName=res[0].brand_id?res[0].brand_id:0000;\\n    var type_res = res[0].type_of_residency;\\n    var mtd = res[0].mtd_formula;\\n    var status = res[0].status_category;\\n    var dis_in = res[0].disabled_individual;\\n    var dis_sp = res[0].disabled_spouse;\\n    //console.log(\\\"afiqah :\\\",names, months, years, emp_cat, type_res, mtd, status, dis_in, dis_sp);\\n\\n    //Children\\n    var c_und1850 = res[0].child_under_18_50;\\n    var c_und18100 = res[0].child_under_18_100;\\n    var c_und18tot = res[0].child_under_18_total;\\n    var c1_total = round(c_und18tot);\\n    var c_18stu50 = res[0].child_18_study_50;\\n    var c_18stu100 = res[0].child_18_study_100;\\n    var c_18stutot = res[0].child_18_study_total;\\n    var c2_total = round(c_18stutot);\\n    var c_18ful50 = res[0].child_18_full_time_50;\\n    var c_18ful100 = res[0].child_18_full_time_100;\\n    var c_18fultot = res[0].child_18_full_time_total;\\n    var c3_total = round(c_18fultot);\\n    var c_dis50\\t= res[0].disabled_child_50;\\n    var c_dis100 = res[0].disabled_child_100;\\n    var c_distot = res[0].disabled_child_total;\\n    var c4_total = round(c_distot);\\n    var c_distu50 = res[0].disabled_child_study_50;\\n    var c_distu100 = res[0].disabled_child_study_100;\\n    var c_distutot = res[0].disabled_child_study_total;\\n    var c5_total = round(c_distutot);\\n\\n    //Previous Remuneration\\n    var pr_accre = res[0].prev_acc_rem_bik_vola;\\n    var pr_accrem = round(pr_accre);\\n    var pr_ep = res[0].prev_acc_epf;\\n    var pr_epf = round(pr_ep);\\n    var pr_netre = res[0].prev_net_acc_rem;\\n    var pr_netrem = round(pr_netre);\\n    var pr_mtdpai = res[0].prev_acc_mtd;\\n    var pr_mtdpaid = round(pr_mtdpai);\\n    var pr_zaka = res[0].prev_total_acc_zakat;\\n    var pr_zakat = round(pr_zaka);\\n\\n    //Previous Deduction\\n    var pr_medex = res[0].prev_med_exp;\\n    var pr_medexp = round(pr_medex);\\n    var pr_fathe = res[0].prev_father_relief;\\n    var pr_father = round(pr_fathe);\\n    var pr_mothe = res[0].prev_mother_relief;\\n    var pr_mother = round(pr_mothe);\\n    /*if(pr_father != 0 || pr_mother != 0){\\n      set_data({prev_parents_exp:false,\\n                prev_father_mother_relief:true,\\n      })\\n    }*/\\n    var pr_supdi = res[0].prev_support_disabled;\\n    var pr_supdis = round(pr_supdi);\\n    var pr_edufe = res[0].prev_edu_fees;\\n    var pr_edufee = round(pr_edufe);\\n    var pr_serme = res[0].prev_med_exp_serious;\\n    var pr_sermed = round(pr_serme);\\n    var pr_comme = res[0].prev_com_med_exam;\\n    var pr_commed = round(pr_comme);\\n    var pr_totlabb = res[0].prev_total_a_b;\\n    var pr_totlab = round(pr_totlabb);\\n    var pr_ssp = res[0].prev_net_dep_sspn;\\n    var pr_sspn = round(pr_ssp);\\n    var pr_alimo = res[0].prev_alimony;\\n    var pr_alimon = round(pr_alimo);\\n    var pr_retce = res[0].prev_ins_ret_civ_ser;\\n    var pr_retcer = round(pr_retce);\\n    var pr_othre = res[0].prev_ins_oth_ret_civ_ser;\\n    var pr_othret = round(pr_othre);\\n    /*if(pr_retcer != 0){\\n      set_data({prev_civ_servant:true,\\n                prev_other_civ_servant:false,\\n      })\\n    }*/\\n    var pr_edupr = res[0].prev_edu_med_ins_prem;\\n    var pr_edupre = round(pr_edupr);\\n    var pr_annui = res[0].prev_def_annuity;\\n    var pr_annuit = round(pr_annui);\\n    var pr_socs = res[0].prev_socso_cont;\\n    var pr_socso = round(pr_socs);\\n    var pr_purch = res[0].prev_purch;\\n    var pr_purcha = round(pr_purch);\\n    var pr_purbr = res[0].prev_purch_bre_equip;\\n    var pr_purbre = round(pr_purbr);\\n    var pr_child = res[0].prev_fee_child_care;\\n    var pr_childc = round(pr_child);\\n    var pr_deduc = res[0].prev_total_acc_deduct;\\n    var pr_deduct = round(pr_deduc);\\n    //console.log(\\\"afiqah :\\\",pr_alimon,pr_purbre);\\n\\n    //Current Remuneration\\n    var cu_re = res[0].cur_mon_rem;\\n    var cu_rem = round(cu_re);\\n    var cu_ep = res[0].cur_mon_epf;\\n    var cu_epf = round(cu_ep);\\n    var cu_tota = res[0].cur_total_net_rem;\\n    var cu_total = round(cu_tota);\\n    var cu_bi = res[0].cur_bik;\\n    var cu_bik = round(cu_bi); \\n    var cu_vol = res[0].cur_vola;\\n    var cu_vola = round(cu_vol);\\n\\n    //Non-Resident Current Remuneration\\n    var non_cur_re = res[0].non_res_cur_rem;\\n    var non_cur_rem = round(non_cur_re);\\n    var non_bi = res[0].non_res_bik;\\n    var non_bik = round(non_bi);\\n    var non_vol = res[0].non_res_vola;\\n    var non_vola = round(non_vol);\\n\\n    //Current Additional Remuneration\\n    var cu_bonu = res[0].cur_bonus;\\n    var cu_bonus = round(cu_bonu);\\n    var cu_arrea = res[0].cur_arrears;\\n    var cu_arrear = round(cu_arrea);\\n    var cu_commi = res[0].cur_commission;\\n    var cu_commis = round(cu_commi);\\n    var cu_gratu = res[0].cur_gratuity;\\n    var cu_gratui = round(cu_gratu);\\n    var cu_compe = res[0].cur_compensation;\\n    var cu_compen = round(cu_compe);\\n    var cu_direc = res[0].cur_director_fee;\\n    var cu_direct = round(cu_direc);\\n    var cu_incta = res[0].cur_inc_tax_on_behalf;\\n    var cu_inctax = round(cu_incta);\\n    var cu_other = res[0].cur_others;\\n    var cu_others = round(cu_other);\\n    var cu_totad = res[0].cur_total_add_rem;\\n    var cu_totadd = round(cu_totad);\\n    var cu_addep = res[0].cur_add_rem_epf;\\n    var cu_addepf = round(cu_addep);\\n    var cu_netad = res[0].cur_total_net_add_rem;\\n    var cu_netadd = round(cu_netad);\\n\\n    //Current Deduction\\n    var cu_medex = res[0].cur_med_exp;\\n    var cu_medexp = round(cu_medex);\\n    var cu_fathe = res[0].cur_father_relief;\\n    var cu_father = round(cu_fathe);\\n    var cu_mothe = res[0].cur_mother_relief;\\n    var cu_mother = round(cu_mothe);\\n    /*if(cu_father != 0 || cu_mother != 0){\\n      set_data({cur_parents_exp:false,\\n                cur_father_mother_relief:true,\\n      })\\n    }*/\\n    var cu_supdi = res[0].cur_support_disabled\\n    var cu_supdis = round(cu_supdi);\\n    var cu_edufe = res[0].cur_edu_fees;\\n    var cu_edufee = round(cu_edufe);\\n    var cu_serme = res[0].cur_med_exp_serious;\\n    var cu_sermed = round(cu_serme);\\n    var cu_comme = res[0].cur_com_med_exam;\\n    var cu_commed = round(cu_comme);\\n    var cu_totla = res[0].cur_total_a_b;\\n    var cu_totlab = round(cu_totla);\\n    var cu_ssp = res[0].cur_net_dep_sspn;\\n    var cu_sspn = round(cu_ssp);\\n    var cu_alimo = res[0].cur_alimony;\\n    var cu_alimon = round(cu_alimo);\\n    var cu_retce = res[0].cur_ins_ret_civ_ser;\\n    var cu_retcer = round(cu_retce);\\n    var cu_othre = res[0].cur_ins_oth_ret_civ_ser;\\n    var cu_othret = round(cu_othre);\\n    /*if(cu_retcer != 0){\\n      set_data({cur_civ_servant:true,\\n                cur_other_civ_servant:false,\\n      })\\n    }*/\\n    var cu_edupr = res[0].cur_edu_med_ins_prem;\\n    var cu_edupre = round(cu_edupr);\\n    var cu_annui = res[0].cur_def_annuity;\\n    var cu_annuit = round(cu_annui);\\n    var cu_socs = res[0].cur_socso_cont;\\n    var cu_socso = round(cu_socs);\\n    var cu_purch = res[0].cur_purch;\\n    var cu_purcha = round(cu_purch);\\n    var cu_purbr = res[0].cur_purch_bre_equip;\\n    var cu_purbre = round(cu_purbr);\\n    console.log(\\\"afiqah5: \\\",cu_purbr, cu_purbre);\\n    var cu_child = res[0].cur_fee_child_care;\\n    var cu_childc = round(cu_child);\\n    var cu_deduc = res[0].cur_total_deduct;\\n    var cu_deduct = round(cu_deduc);\\n\\n    //Current Rebate\\n    var cu_zaka = res[0].cur_zakat;\\n    var cu_zakat = round(cu_zaka);\\n\\n    //Calculation\\n    var net_ress = res[0].netMTD_resident;\\n    var net_res = round(net_ress);\\n    var net_repp = res[0].netMTD_REP;\\n    var net_rep = round(net_repp);\\n    var net_irda = res[0].netMTD_IRDA;\\n    var net_ird = round(net_irda);\\n    var yearMT = res[0].mtdb;\\n    var yearMTD = round(yearMT);\\n    var yearta = res[0].CS;\\n    var yeartax = round(yearta);\\n    var addMT = res[0].mtdC;\\n    var addMTD = round(addMT);\\n    var finalmtD = res[0].mtd;\\n    var finalmtd = round(finalmtD);\\n    var roundmtD = res[0].mtd_round;\\n    var roundmtd = round(roundmtD);\\n\\n    var nonmtdd = res[0].non_res_mtd;\\n    var nonmtd = round(nonmtdd);\\n    var nonmtdrr = res[0].mtd_round_none;\\n    var nonmtdr = round(nonmtdrr);\\n\\n    //\\\"netMTD_resident\\\",\\\"netMTD_REP\\\",\\\"netMTD_IRDA\\\",\\\"mtdb\\\",\\\"CS\\\",\\\"mtdC\\\",\\\"mtd\\\",\\\"mtd_round\\\"\\n\\n    set_data({\\n      fname:names,\\n      month:months,\\n      year:years,\\n      employment_category:emp_cat,\\n      type_of_residency:type_res,\\n      mtd_formula:mtd,\\n      status_category:status,\\n      disabled_individual:dis_in,\\n      disabled_spouse:dis_sp,\\n    });\\n\\n    category();\\n\\n    set_data({\\n      type_of_residency:type_res,\\n    });\\n    \\n    set_data({\\n      \\\"child_under_18_50\\\":c_und1850,\\n      \\\"child_under_18_100\\\":c_und18100,\\n      \\\"child_under_18_total\\\":c1_total,\\n      \\\"child_18_study_50\\\":c_18stu50,\\n      \\\"child_18_study_100\\\":c_18stu100,\\n      \\\"child_18_study_total\\\":c2_total,\\n      \\\"child_18_full_time_50\\\":c_18ful50,\\n      \\\"child_18_full_time_100\\\":c_18ful100,\\n      \\\"child_18_full_time_total\\\":c3_total,\\n      \\\"disabled_child_50\\\":c_dis50,\\n      \\\"disabled_child_100\\\":c_dis100,\\n      \\\"disabled_child_total\\\":c4_total,\\n      \\\"disabled_child_study_50\\\":c_distu50,\\n      \\\"disabled_child_study_100\\\":c_distu100,\\n      \\\"disabled_child_study_total\\\":c5_total,\\n      \\\"prev_acc_rem_bik_vola\\\":pr_accrem,\\n      \\\"prev_acc_epf\\\":pr_epf,\\n      \\\"prev_net_acc_rem\\\":pr_netrem,\\n      \\\"prev_acc_mtd\\\":pr_mtdpaid,\\n      \\\"prev_total_acc_zakat\\\":pr_zakat,\\n      \\\"prev_med_exp\\\":pr_medexp,\\n      \\\"prev_father_relief\\\":pr_father,\\n      \\\"prev_mother_relief\\\":pr_mother,\\n      \\\"prev_support_disabled\\\":pr_supdis,\\n      \\\"prev_edu_fees\\\":pr_edufee,\\n      \\\"prev_med_exp_serious\\\":pr_sermed,\\n      \\\"prev_com_med_exam\\\":pr_commed,\\n      \\\"prev_total_a_b\\\":pr_totlab,\\n      \\\"prev_net_dep_sspn\\\":pr_sspn,\\n      \\\"prev_alimony\\\":pr_alimon,\\n      \\\"prev_ins_ret_civ_ser\\\":pr_retcer,\\n      \\\"prev_ins_oth_ret_civ_ser\\\":pr_othret,\\n      \\\"prev_edu_med_ins_prem\\\":pr_edupre,\\n      \\\"prev_def_annuity\\\":pr_annuit,\\n      \\\"prev_socso_cont\\\":pr_socso,\\n      \\\"prev_purch\\\":pr_purcha,\\n      \\\"prev_purch_bre_equip\\\":pr_purbre,\\n      \\\"prev_fee_child_care\\\":pr_childc,\\n      \\\"prev_total_acc_deduct\\\":pr_deduct,\\n      \\\"cur_net_rem\\\":cu_rem,\\n      \\\"cur_epf\\\":cu_epf,\\n      \\\"cur_total_net_rem\\\":cu_total,\\n      \\\"cur_bik\\\":cu_bik,\\n      \\\"cur_vola\\\":cu_vola,\\n      \\\"non_res_cur_rem\\\":non_cur_rem,\\n      \\\"non_res_cur_bik\\\":non_bik,\\n      \\\"non_res_cur_vola\\\":non_vola,\\n      \\\"cur_bonus\\\":cu_bonus,\\n      \\\"cur_arrears\\\":cu_arrear,\\n      \\\"cur_commission\\\":cu_commis,\\n      \\\"cur_gratuity\\\":cu_gratui,\\n      \\\"cur_compensation\\\":cu_compen,\\n      \\\"cur_director_fee\\\":cu_direct,\\n      \\\"cur_inc_tax_on_behalf\\\":cu_inctax,\\n      \\\"cur_others\\\":cu_others,\\n      \\\"cur_total_add_rem\\\":cu_totadd,\\n      \\\"cur_add_rem_epf\\\":cu_addepf,\\n      \\\"cur_total_net_add_rem\\\":cu_netadd,\\n      \\\"cur_med_exp\\\":cu_medexp,\\n      \\\"cur_father_relief\\\":cu_father,\\n      \\\"cur_mother_relief\\\":cu_mother,\\n      \\\"cur_support_disabled\\\":cu_supdis,\\n      \\\"cur_edu_fees\\\":cu_edufee,\\n      \\\"cur_med_exp_serious\\\":cu_sermed,\\n      \\\"cur_com_med_exam\\\":cu_commed,\\n      \\\"cur_total_a_b\\\":cu_totlab,\\n      \\\"cur_net_dep_sspn\\\":cu_sspn,\\n      \\\"cur_alimony\\\":cu_alimon,\\n      \\\"cur_ins_ret_civ_ser\\\":cu_retcer,\\n      \\\"cur_ins_oth_ret_civ_ser\\\":cu_othret,\\n      \\\"cur_edu_med_ins_prem\\\":cu_edupre,\\n      \\\"cur_def_annuity\\\":cu_annuit,\\n      \\\"cur_socso_cont\\\":cu_socso,\\n      \\\"cur_purch\\\":cu_purcha,\\n      \\\"cur_purch_bre_equip\\\":cu_purbre,\\n      \\\"cur_fee_child_care\\\":cu_childc,\\n      \\\"cur_total_deduct\\\":cu_deduct,\\n      \\\"cur_zakat\\\":cu_zakat,\\n    });\\n\\n    //[[\\\"Normal\\\",\\\"Normal Remuneration\\\"],[\\\"REP\\\",\\\"Returning Expert Program (REP)\\\"],[\\\"IRDA\\\",\\\"Knowledge Worker at Specified Region (Iskandar Malaysia)\\\"],[\\\"28%\\\",\\\"28% of remuneration after deduct  tax exempt allowances\\\"]]\\n\\n    if(mtd == \\\"Normal\\\"){ // IF-ELSEIF-ELSE 1.1\\n      set_data({\\n        mtdcalc1:false, \\n        mtdcalc2:true,\\n        ////\\n        \\\"cal_netmtd\\\":net_res,\\n        \\\"cal_yearmtd\\\":yearMTD,\\n        \\\"cal_yeartax\\\":yeartax,\\n        \\\"cal_addmtd\\\":addMTD,\\n        \\\"cal_mtd\\\":finalmtd,\\n        \\\"round\\\":roundmtd,\\n      });\\n    }\\n    else if(mtd == \\\"REP\\\"){\\n      set_data({\\n        mtdcalc1:false, \\n        mtdcalc2:true,\\n        ////\\n        \\\"cal_netmtd\\\":net_rep,\\n        \\\"cal_yearmtd\\\":yearMTD,\\n        \\\"cal_yeartax\\\":yeartax,\\n        \\\"cal_addmtd\\\":addMTD,\\n        \\\"cal_mtd\\\":finalmtd,\\n        \\\"round\\\":roundmtd,\\n      });\\n    }\\n    else if(mtd == \\\"IRDA\\\"){\\n      set_data({\\n        mtdcalc1:false, \\n        mtdcalc2:true,\\n        ////\\n        \\\"cal_netmtd\\\":net_ird,\\n        \\\"cal_yearmtd\\\":yearMTD,\\n        \\\"cal_yeartax\\\":yeartax,\\n        \\\"cal_addmtd\\\":addMTD,\\n        \\\"cal_mtd\\\":finalmtd,\\n        \\\"round\\\":roundmtd,\\n      });\\n    }\\n    else{\\n      set_data({\\n        mtdcalc1:true, \\n        mtdcalc2: false,\\n        \\\"nonmtd\\\":nonmtd,\\n        \\\"nonmtdr\\\":nonmtdr,\\n      });\\n    } // end IF-ELSEIF-ELSE 1.1\\n  }\\n  else{\\n    //set_data({bname1:false});\\n    //set_data({bname2:true});\\n    //set_data({bex1:false});\\n    //set_data({bex2:true});\\n    set_data({boxz:true});\\n    initialValue();\\n  } //end IF-ELSE 1\\n} //end on_load()\\n\\nfunction round(n){\\n  var num = Number(n);\\n  var fxed = num.toFixed(2);\\n  //console.log(\\\"afiqah1: \\\", typeof fxed);\\n  //console.log(\\\"afiqah2: \\\", fxed);\\n  return fxed;\\n}\\n\\n\\nfunction initialValue(){\\n  set_data({\\n    fullname:null,\\n    employment_category:null,\\n    type_of_residency:null,\\n    mtd_formula:null,\\n    status_category:null,\\n    disabled_individual:null,\\n    disabled_spouse:null,\\n    month:0,\\n    year:0,\\n    child_under_18_50:0,\\n    child_under_18_100:0,\\n    child_under_18_total:0,\\n    child_18_study_50:0,\\n    child_18_study_100:0,\\n    child_18_study_total:0,\\n    child_18_full_time_50:0,\\n    child_18_full_time_100:0,\\n    child_18_full_time_total:0,\\n    disabled_child_50:0,\\n    disabled_child_100:0,\\n    disabled_child_total:0,\\n    disabled_child_study_50:0,\\n    disabled_child_study_100:0,\\n    disabled_child_study_total:0,\\n    prev_acc_rem_bik_vola:0,\\n    prev_acc_epf:0,\\n    prev_net_acc_rem:0,\\n    prev_acc_mtd:0,\\n    prev_total_acc_zakat:0,\\n    prev_parents_exp:true,\\n    prev_father_mother_relief:false,\\n    prev_med_exp:0,\\n    prev_father_relief:0,\\n    prev_mother_relief:0,\\n    prev_support_disabled:0,\\n    prev_edu_fees:0,\\n    prev_med_exp_serious:0,\\n    prev_com_med_exam:0,\\n    prev_total_a_b:0,\\n    prev_net_dep_sspn:0,\\n    prev_alimony:0,\\n    prev_civ_servant:false,\\n    prev_other_civ_servant:true,\\n    prev_ins_ret_civ_ser:0,\\n    prev_ins_oth_ret_civ_ser:0,\\n    prev_edu_med_ins_prem:0,\\n    prev_def_annuity:0,\\n    prev_socso_cont:0,\\n    prev_purch:0,\\n    prev_purch_bre_equip:0,\\n    prev_fee_child_care:0,\\n    prev_total_acc_deduct:0,\\n    cur_net_rem:0,\\n    cur_epf:0,\\n    cur_total_net_rem:0,\\n    cur_bik:0,\\n    cur_vola:0,\\n    non_res_cur_rem:0,\\n    non_res_cur_bik:0,\\n    non_res_cur_vola:0,\\n    cur_bonus:0,\\n    cur_arrears:0,\\n    cur_commission:0,\\n    cur_gratuity:0,\\n    cur_compensation:0,\\n    cur_director_fee:0,\\n    cur_inc_tax_on_behalf:0,\\n    cur_others:0,\\n    cur_total_add_rem:0,\\n    cur_add_rem_epf:0,\\n    cur_total_net_add_rem:0,\\n    cur_parents_exp:true,\\n    cur_father_mother_relief:false,\\n    cur_med_exp:0,\\n    cur_father_relief:0,\\n    cur_mother_relief:0,\\n    cur_support_disabled:0,\\n    cur_edu_fees:0,\\n    cur_med_exp_serious:0,\\n    cur_com_med_exam:0,\\n    cur_total_a_b:0,\\n    cur_net_dep_sspn:0,\\n    cur_alimony:0,\\n    cur_civ_servant:false,\\n    cur_other_civ_servant:true,\\n    cur_ins_ret_civ_ser:0,\\n    cur_ins_oth_ret_civ_ser:0,\\n    cur_edu_med_ins_prem:0,\\n    cur_def_annuity:0,\\n    cur_socso_cont:0,\\n    cur_purch:0,\\n    cur_purch_bre_equip:0,\\n    cur_fee_child_care:0,\\n    cur_total_deduct:0,\\n    cur_zakat:0,\\n    Y: 0,\\n    K: 0,\\n    E: 0,\\n    Y1: 0,\\n    K1: 0,\\n    Y2: 0,\\n    K2: 0,\\n    n: 0,\\n    D: 0,\\n    S: 0,\\n    Du: 0,\\n    Su: 0,\\n    QC: 0,\\n    ELP: 0,\\n    LP1: 0,\\n    P_res: 0,\\n    M: 0,\\n    R_res: 0,\\n    B: 0,\\n    Z_res: 0,\\n    X_res: 0,\\n    curMTD_res: 0,\\n    netMTD_res: 0,\\n    P_REP: 0,\\n    R_REP: 0,\\n    T_REP: 0,\\n    Z_REP: 0,\\n    X_REP: 0,\\n    curMTD_REP: 0,\\n    netMTD_REP: 0,\\n    P_IRDA: 0,\\n    R_IRDA: 0,\\n    Z_IRDA: 0,\\n    X_IRDA: 0,\\n    curMTD_IRDA: 0,\\n    netMTD_IRDA: 0,\\n    mtdb: 0,\\n    Yt: 0,\\n    Kt: 0,\\n    P_CS: 0,\\n    CS: 0,\\n    mtdc: 0,\\n    mtd: 0\\n  });\\n} // end initialValue()\\n\\nfunction category(){\\n  var data=get_data();\\n  var categ = data.employment_category;\\n  var type=data.type_of_residency;\\n  var formula = data.mtd_formula;\\n  \\n  /*\\n  categ = 1: \\\"Previously Employed\\\"\\n  categ = 2: \\\"Previously not employed\\\"\\n  */\\n  if (categ==\\\"2\\\" && type==\\\"Non-Resident\\\"){ // IF-ELSEIF-ELSE 1\\n    set_data({\\n      mtd_formula: \\\"28%\\\",\\n      box1:false,\\n      box2:true,\\n      box3:true,\\n      box4:true,\\n      box5:false,\\n      box6:true,\\n      box7:true,\\n      box8:false,\\n      bperd:true,\\n    });\\n  }\\n  else if(categ==\\\"2\\\" && type==\\\"Resident\\\"){\\n    //set_data({mtd_formula: \\\"Normal\\\"}) // why commented? no need mtd_formula?\\n    set_data({\\n      box1:false,\\n      box2:false,\\n      box3:true,\\n      box4:false,\\n      box5:false,\\n      box6:false,\\n      box7:false,\\n      box8:true,\\n    }); // why missing bpred?\\n  }\\n  else if(categ==\\\"1\\\" && type==\\\"Non-Resident\\\"){\\n    set_data({\\n      mtd_formula: \\\"28%\\\",\\n      box1:false,\\n      box2:true,\\n      box3:true,\\n      box4:true,\\n      box5:false,\\n      box6:true,\\n      box7:true,\\n      box8:false,\\n      bperd:true,\\n    });\\n  }\\n  else if(categ==\\\"1\\\" && type==\\\"Resident\\\"){\\n    //set_data({mtd_formula: \\\"Normal\\\"}) // why commented? no need mtd_formula?\\n    set_data({\\n      box1:false,\\n      box2:false,\\n      box3:false,\\n      box4:false,\\n      box5:false,\\n      box6:false,\\n      box7:false,\\n      box8:true,\\n    });    \\n  }\\n  else if(categ==\\\"2\\\"){\\n    set_data({\\n      box1:false,\\n      box2:false,\\n      box3:true,\\n      box4:false,\\n      box5:false,\\n      box6:false,\\n      box7:false,\\n      box8:true,\\n    }); \\n  }\\n  else if(categ==\\\"1\\\"){\\n    set_data({\\n      box1:false,\\n      box2:false,\\n      box3:false,\\n      box4:false,\\n      box5:false,\\n      box6:false,\\n      box7:false,\\n      box8:true,\\n    });     \\n  }\\n  else if(type==\\\"Non-Resident\\\"){\\n    set_data({\\n      mtd_formula: \\\"28%\\\",\\n      box1:false,\\n      box2:true,\\n      box3:true,\\n      box4:true,\\n      box5:false,\\n      box6:true,\\n      box7:true,\\n      box8:false,\\n      bperd:true,\\n    }); \\n  }\\n  else if(type==\\\"Resident\\\"){\\n    //set_data({mtd_formula: \\\"Normal\\\"});\\n    set_data({\\n      box1:false,\\n      box2:false,\\n      box3:false,\\n      box4:false,\\n      box5:false,\\n      box6:false,\\n      box7:false,\\n      box8:true,\\n    }); \\n  } // end IF-ELSEIF-ELSE 1\\n\\n} // end category()\\n\\nasync function calcNext(){\\n  var data = get_data();\\n  var fnames = data.fname;\\n  var months = data.month;\\n  var years = data.year;\\n  var formula = data.mtd_formula;\\n  var pages = 4\\n  redirect_page(\\\"pcb_form\\\",{page:pages,fname:fnames,month:months,year:years,form:formula});\\n}\\n\\nasync function newForm(){\\n  var page = 3;\\n  redirect_page(\\\"pcb_form\\\",{page:page});\\n}\\n\\nfunction back(){\\n  redirect_page(\\\"existing_pcb\\\");\\n}\\n\\n\\n\\n/*function childUnder18(){\\n  var data=get_data();\\n  var under18_50=data.child_under_18_50;\\n  var under18_100=data.child_under_18_100;\\n\\n  var rate50=0;\\n  rate50 = under18_50*2000*0.5;\\n  var rate100=0;\\n  rate100 = under18_100*2000;\\n\\n  var total=0;\\n  total= rate50 + rate100;\\n  set_field_value(\\\"child_under_18_total\\\",total);\\n}\\n\\n\\nfunction child18Study(){\\n  var data=get_data();\\n  var study18_50=data.child_18_study_50;\\n  var study18_100=data.child_18_study_100;\\n\\n  var rate50=0;\\n  rate50 = study18_50*2000*0.5;\\n  var rate100=0;\\n  rate100 = study18_100*2000;\\n\\n  var total=0;\\n  total= rate50 + rate100;\\n  set_field_value(\\\"child_18_study_total\\\",total);\\n}\\n\\n\\nfunction child18FullTime(){\\n  var data=get_data();\\n  var full18_50=data.child_18_full_time_50;\\n  var full18_100=data.child_18_full_time_100;\\n\\n  var rate50=0;\\n  rate50 = full18_50*8000*0.5;\\n  var rate100=0;\\n  rate100 = full18_100*8000;\\n\\n  var total=0;\\n  total= rate50 + rate100;\\n  set_field_value(\\\"child_18_full_time_total\\\",total);\\n}\\n\\n\\nfunction childDisabled(){\\n  var data=get_data();\\n  var disabled_50=data.disabled_child_50;\\n  var disabled_100=data.disabled_child_100;\\n\\n  var rate50=0;\\n  rate50 = disabled_50*6000*0.5;\\n  var rate100=0;\\n  rate100 = disabled_100*6000;\\n\\n  var total=0;\\n  total= rate50 + rate100;\\n  set_field_value(\\\"disabled_child_total\\\",total);\\n}\\n\\n\\nfunction childDisabledStudy(){\\n  var data=get_data();\\n  var disStudy_50=data.disabled_child_study_50;\\n  var disStudy_100=data.disabled_child_study_100;\\n\\n  var rate50=0;\\n  rate50 = disStudy_50*14000*0.5;\\n  var rate100=0;\\n  rate100 = disStudy_100*14000;\\n\\n  var total=0;\\n  total= rate50 + rate100;\\n  set_field_value(\\\"disabled_child_study_total\\\",total);\\n}\\n\\n\\nfunction prevNetAccRem(){\\n  var data=get_data();\\n  var remuneration=data.prev_acc_rem_bik_vola;\\n  var epf= data.prev_acc_epf;\\n  var curEpf=data.cur_epf; \\n  var limit0=0;\\n  limit0 = curEpf + epf;\\n  if (limit0>4000){\\n    alert(\\\"Total EPF on Monthly Remuneration, Additional Remuneration and Accumulated Remuneration cannot exceed RM 4,000.00. Please correct your amount\\\");\\n    set_field_value(\\\"prev_acc_epf\\\",0);\\n  }\\n\\n  var netRem=0;\\n  netRem = remuneration - epf;\\n  set_field_value(\\\"prev_net_acc_rem\\\",netRem);\\n\\n}\\n\\n\\n\\nfunction PrevParents1(){\\n  var data=get_data();\\n  var expenses= data.prev_parents_exp;\\n  var relief= data.prev_father_mother_relief;\\n\\n  if(expenses==true){\\n    set_data({prev_father_mother_relief:false});\\n    get_component(\\\"prev_med_exp\\\").set_props({disabled:false});\\n    get_component(\\\"prev_father_relief\\\").set_props({disabled:true});\\n    set_data({prev_father_relief:0});\\n    get_component(\\\"prev_mother_relief\\\").set_props({disabled:true});\\n    set_data({prev_mother_relief:0});\\n  }\\n  else if (expenses==false){\\n    set_data({prev_father_mother_relief:true});\\n    get_component(\\\"prev_med_exp\\\").set_props({disabled:true});\\n    set_data({prev_med_exp:0});\\n    get_component(\\\"prev_father_relief\\\").set_props({disabled:false});\\n    get_component(\\\"prev_mother_relief\\\").set_props({disabled:false});\\n  }\\n}\\n\\nfunction PrevParents2(){\\n  var data=get_data();\\n  var expenses= data.prev_parents_exp;\\n  var relief= data.prev_father_mother_relief;\\n\\n  if(relief==true){\\n    set_data({prev_parents_exp:false});\\n    get_component(\\\"prev_med_exp\\\").set_props({disabled:true});\\n    set_data({prev_med_exp:0});\\n    get_component(\\\"prev_father_relief\\\").set_props({disabled:false});\\n    get_component(\\\"prev_mother_relief\\\").set_props({disabled:false});\\n  }\\n  else if (relief == false){\\n    set_data({prev_parents_exp:true});\\n    get_component(\\\"prev_med_exp\\\").set_props({disabled:false});\\n    get_component(\\\"prev_father_relief\\\").set_props({disabled:true});\\n    set_data({prev_father_relief:0});\\n    get_component(\\\"prev_mother_relief\\\").set_props({disabled:true});\\n    set_data({prev_mother_relief:0});\\n  }\\n}\\n\\n\\nfunction prevMedExpenses(){\\n  var data=get_data();\\n  var serious=data.prev_med_exp_serious;\\n  var curSerious=data.cur_med_exp_serious; \\n  var limit6=0;\\n  limit6 = curSerious + serious;\\n  if (limit6>6000){\\n    alert(\\\"Deduction amount for Medical Expenses on Serious Disease is limited to RM 6,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"prev_med_exp_serious\\\",0);\\n  }\\n\\n  var complete = data.prev_com_med_exam;      //Check Limit\\n  var curComplete=data.cur_com_med_exam;\\n  var limit7=0;\\n  limit7 = curComplete + complete;\\n  if (limit7>500){\\n    alert(\\\"Deduction amount Complete Medical Examination is limited to RM 500.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"prev_com_med_exam\\\",0);\\n  }\\n\\n  var total=0;\\n  total = serious + complete;\\n  set_field_value(\\\"prev_total_a_b\\\",total);\\n\\n}\\n\\n\\n\\nfunction prevLifeInsurance1(){\\n  var data=get_data();\\n  var civil= data.prev_civ_servant;\\n  var other= data.prev_other_civ_servant;\\n\\n  if (civil==true){\\n    set_data({prev_other_civ_servant:false});\\n    get_component(\\\"prev_ins_ret_civ_ser\\\").set_props({disabled:false});\\n    get_component(\\\"prev_ins_oth_ret_civ_ser\\\").set_props({disabled:true});\\n    set_data({prev_ins_oth_ret_civ_ser:0});\\n    set_data({prev_acc_epf:0});\\n    var PrevRem = data.prev_acc_rem_bik_vola;\\n    set_data({prev_net_acc_rem:PrevRem});\\n  }\\n  else if(civil==false){\\n    set_data({prev_other_civ_servant:true});\\n    get_component(\\\"prev_ins_ret_civ_ser\\\").set_props({disabled:true});\\n    set_data({prev_ins_ret_civ_ser:0});\\n    get_component(\\\"prev_ins_oth_ret_civ_ser\\\").set_props({disabled:false});\\n  }\\n}\\n\\nfunction prevLifeInsurance2(){\\n  var data=get_data();\\n  var civil= data.prev_civ_servant;\\n  var other= data.prev_other_civ_servant;\\n\\n  if (other==true){\\n    set_data({prev_civ_servant:false});\\n    get_component(\\\"prev_ins_ret_civ_ser\\\").set_props({disabled:true});\\n    set_data({prev_ins_ret_civ_ser:0});\\n    get_component(\\\"prev_ins_oth_ret_civ_ser\\\").set_props({disabled:false});\\n  }\\n  else if (other==false){\\n    set_data({prev_civ_servant:true});\\n    get_component(\\\"prev_ins_ret_civ_ser\\\").set_props({disabled:false});\\n    get_component(\\\"prev_ins_oth_ret_civ_ser\\\").set_props({disabled:true});\\n    set_data({prev_ins_oth_ret_civ_ser:0});\\n    set_data({prev_acc_epf:0});\\n    var PrevRem = data.prev_acc_rem_bik_vola;\\n    set_data({prev_net_acc_rem:PrevRem});\\n  }\\n}\\n\\n\\nfunction prevDeduction(){\\n  var data=get_data();\\n\\n  var medical = parseFloat(data.prev_med_exp);  \\n  var curMedical = parseFloat(data.cur_med_exp);\\t\\n  var limit1=0;\\n  limit1 = curMedical + medical;\\n  if (limit1>5000){\\n    alert(\\\"Deduction amount for medical expenses of own parents is limited to RM 5,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"prev_med_exp\\\",0);\\n  }\\n\\n  var father = parseFloat(data.prev_father_relief);\\t\\t\\t\\t// Field type: text\\n  var curFather = parseFloat(data.cur_father_relief);\\t\\n  var limit2=0;\\n  limit2 = curFather + father;\\n  if (limit2>1500){\\n    alert(\\\"Deduction amount for Father Relief is limited to RM 1,500.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"prev_father_relief\\\",0);\\n  }\\n\\n  var mother = parseFloat(data.prev_mother_relief);\\t\\t\\t\\t// Field type: text\\n  var curMother = parseFloat(data.cur_mother_relief);\\t\\n  var limit3=curMother + mother;\\n  if (limit3>1500){\\n    alert(\\\"Deduction amount for Mother Relief is limited to RM 1,500.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"prev_mother_relief\\\",0);\\n  }\\n\\n  var relief=data.prev_father_mother_relief;\\t\\t//Checkbox\\n  var noCiv=data.prev_other_civ_servant;\\t\\t\\t//Checkbox\\n\\n  var support=data.prev_support_disabled;\\n  var curSupport=data.cur_support_disabled;\\n  var limit4=0;\\n  limit4 = support + curSupport;\\n  if (limit4>6000){\\n    alert(\\\"Deduction amount for Basic Supporting Equipment is limited to RM 6,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"prev_support_disabled\\\",0);\\n  }  \\n\\n  var edu=data.prev_edu_fees;\\n  var curEdu=data.cur_edu_fees;\\n  var limit5=0;\\n  limit5 = edu + curEdu;\\n  if (limit5>7000){\\n    alert(\\\"Deduction amount for Higher Education Fees is limited to RM 7,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"prev_edu_fees\\\",0);\\n  }\\n\\n  var serious=data.prev_med_exp_serious;\\n  var complete=data.prev_com_med_exam;\\n\\n  var totalab=data.prev_total_a_b; \\t\\t\\t\\t\\n  var curTotalab=data.cur_total_a_b; \\n  var limit8=0;\\n  limit8 = curTotalab + totalab;\\n  if (limit8>6000){\\n    alert(\\\"Total Deduction for Medical Expenses on Serious Diseases and Complete Medical Examination is limited to RM 6,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"prev_total_a_b\\\",0);\\n  }\\n\\n  var sspn=data.prev_net_dep_sspn;\\t\\t\\t\\n  var curSspn=data.cur_net_dep_sspn;\\n  var limit9=0;\\n  limit9 = curSspn + sspn;\\n  if (limit9>8000){\\n    alert(\\\"Deduction amount for Net Deposit in Skim Simpanan Pendidikan Nasional (SSPN) is limited to RM 8,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"prev_net_dep_sspn\\\",0);\\n  }\\n\\n  var alimony=data.prev_alimony;\\t\\t\\t\\n  var curAlimony=data.cur_alimony;\\n  var limit10=0;\\n  limit10 = curAlimony + alimony;\\n  if (limit10>4000){\\n    alert(\\\"Deduction amount for Payment of Alimony to Former Wife is limited to RM 4,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"prev_alimony\\\",0);\\n  }\\n\\n  var civil=parseFloat(data.prev_ins_ret_civ_ser);\\t\\t\\t\\t// Field type: text\\t\\t\\n  var curCivil=parseFloat(data.cur_ins_ret_civ_ser);\\t\\t\\t\\t// Field type: text\\n  var limit11= 0;\\n  limit11 = curCivil + civil;\\n  if (limit11>7000){\\n    alert(\\\"Deduction amount for Retired Civil Servant is limited to RM 7,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"prev_ins_ret_civ_ser\\\",0);\\n  }\\n\\n  var other=parseFloat(data.prev_ins_oth_ret_civ_ser);\\t\\t\\t// Field type: text\\t\\n  var curOther=parseFloat(data.cur_ins_oth_ret_civ_ser);\\t\\t\\t// Field type: text\\n  var limit12= 0;\\n  limit12 = curOther + other;\\n  if (limit12>3000){\\n    alert(\\\"Total of Life Insurance and Accumulated Life Insurance deduction cannot exceed RM 3000.00. Please correct your amount\\\");\\n    set_data({prev_ins_oth_ret_civ_ser:0});\\n  }\\n\\n  var premium=data.prev_edu_med_ins_prem;\\t\\t\\n  var curPremium=data.cur_edu_med_ins_prem;\\n  var limit13=0;\\n  limit13 = curPremium + premium;\\n  if (limit13>3000){\\n    alert(\\\"Deduction amount for Education and Medical Insurance limited to RM 3,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"prev_edu_med_ins_prem\\\",0);\\n  }\\n\\n\\n  var annuity=data.prev_def_annuity;\\t\\t\\n  var curAnnuity=data.cur_def_annuity;\\n  var limit14=0;\\n  limit14 = curAnnuity + annuity;\\n  if (limit14>3000){\\n    alert(\\\"Deduction amount for Annuity Retained Premium or Contribution to Private Retirement Scheme is limted to RM 3,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"prev_def_annuity\\\",0);\\n  }\\n\\n  var socso=data.prev_socso_cont;\\t\\t\\n  var curSocso=data.cur_socso_cont;\\n  var limit15=0;\\n  limit15 = curSocso + socso;\\n  if (limit15>250){\\n    alert(\\\"Contribution to SOCSO is limited to RM 250.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"prev_socso_cont\\\",0);\\n  }\\n\\n  var purchase=data.prev_purch;\\t\\t\\t\\n  var curPurchase=data.cur_purch;\\n  var limit16=0;\\n  limit16 = curPurchase + purchase;\\n  if (limit16>2500){\\n    alert(\\\"Purchase of Readings, Computer, Smartphone, Tablet, Sport Equipment, Gymnasium Membership and Subscription of Broadband Internet is limited to RM 2,500.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"prev_purch\\\",0);\\n  }\\n\\n  var equipment=data.prev_purch_bre_equip;\\n  var curEquipment=data.cur_purch_bre_equip;\\n  var limit17=0;\\n  limit17 = curEquipment + equipment;\\n  if (limit17>1000){\\n    alert(\\\"Purchase os Breastfeeding Equipment limited to RM 1,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"prev_purch_bre_equip\\\",0);\\n  }\\n\\n  var child=data.prev_fee_child_care;\\t\\t\\t\\n  var curChild=data.cur_fee_child_care;\\n  var limit18=0;\\n  limit18 = curChild + child;\\n  if (limit18>1000){\\n    alert(\\\"Fees paid to Child Care Centre and Kindergartens is limited to RM 1,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"prev_fee_child_care\\\",0);\\n  }\\n\\n\\n  //set_data({prev_father_mother_relief:true});\\n\\n  var prevTotalDeduction=0;\\n  prevTotalDeduction = medical + father + mother + support + edu + totalab +\\n    sspn + alimony + civil + other + premium + annuity + socso + \\n    purchase + equipment + child;\\n  set_field_value(\\\"prev_total_acc_deduct\\\",prevTotalDeduction);\\n}\\n\\n\\nfunction currNetRem(){\\n  var data=get_data();\\n  var remuneration=data.cur_net_rem;\\n\\n  var prevEpf = data.prev_acc_epf;\\n  var epf= data.cur_epf;\\n  var limit0=0;\\n  limit0 = prevEpf + epf;\\n  if (limit0>4000){\\n    alert(\\\"Total EPF on Monthly Remuneration, Additional Remuneration and Accumulated Remuneration cannot exceed RM 4,000.00. Please correct your amount\\\");\\n    set_field_value(\\\"cur_epf\\\",0);\\n  }\\n\\n  var netRem=0;\\n  netRem = remuneration - epf;\\n  set_field_value(\\\"cur_total_net_rem\\\",netRem);\\n\\n}\\n\\n\\nfunction addRem(){\\n  var data=get_data();\\n  var bonus=data.cur_bonus;\\n  var arrears=data.cur_arrears;\\n  var commission=data.cur_commission;\\n  var gratuity=data.cur_gratuity;\\n  var compensation=data.cur_compensation;\\n  var director=data.cur_director_fee;\\n  var tax=data.cur_inc_tax_on_behalf;\\n  var other=data.cur_others;\\n\\n  var totalAddRem=0;\\n  totalAddRem = bonus + arrears + commission + gratuity + compensation + \\n    director + tax + other;\\n  set_field_value(\\\"cur_total_add_rem\\\",totalAddRem);\\n\\n  totalNetAddRem();\\n}\\n\\n\\nfunction totalNetAddRem(){\\n  var data=get_data();\\n  var addRem=data.cur_total_add_rem;\\n  var epf=data.cur_add_rem_epf;\\n\\n  var totalNetAddRem=0;\\n  totalNetAddRem= addRem - epf;\\n  set_field_value(\\\"cur_total_net_add_rem\\\",totalNetAddRem);\\n}\\n\\n\\n\\nfunction curParents1(){\\n  var data=get_data();\\n  var expenses= data.cur_parents_exp;\\n  var relief= data.cur_father_mother_relief;\\n\\n  if (expenses==true){\\n    set_data({cur_father_mother_relief:false});\\n    get_component(\\\"cur_med_exp\\\").set_props({disabled:false});\\n    get_component(\\\"cur_father_relief\\\").set_props({disabled:true});\\n    set_data({cur_father_relief:0});\\n    get_component(\\\"cur_mother_relief\\\").set_props({disabled:true});\\n    set_data({cur_mother_relief:0});\\n  }\\n  else if(expenses==false){\\n    set_data({cur_father_mother_relief:true});\\n    get_component(\\\"cur_med_exp\\\").set_props({disabled:true});\\n    set_data({cur_med_exp:0});\\n    get_component(\\\"cur_father_relief\\\").set_props({disabled:false});\\n    get_component(\\\"cur_mother_relief\\\").set_props({disabled:false});\\n  }\\n}\\n\\nfunction curParents2(){\\n  var data=get_data();\\n  var expenses= data.cur_parents_exp;\\n  var relief= data.cur_father_mother_relief;\\n\\n  if (relief==true){\\n    set_data({cur_parents_exp:false});\\n    get_component(\\\"cur_med_exp\\\").set_props({disabled:true});\\n    set_data({cur_med_exp:0});\\n    get_component(\\\"cur_father_relief\\\").set_props({disabled:false});\\n    get_component(\\\"cur_mother_relief\\\").set_props({disabled:false});\\n  }\\n  else if(relief==false){\\n    set_data({cur_parents_exp:true});\\n    get_component(\\\"cur_med_exp\\\").set_props({disabled:false});\\n    get_component(\\\"cur_father_relief\\\").set_props({disabled:true});\\n    set_data({cur_father_relief:0});\\n    get_component(\\\"cur_mother_relief\\\").set_props({disabled:true});\\n    set_data({cur_mother_relief:0});\\n  }\\n\\n}\\n\\n\\nfunction curMedExpenses(){\\n  var data=get_data();\\n\\n  var prevSerious = data.prev_med_exp_serious;      //Check Limit\\n  var serious=data.cur_med_exp_serious; \\n  var limit6=0;\\n  limit6 = prevSerious + serious;\\n  if (limit6>6000){\\n    alert(\\\"Deduction amount for Medical Expenses on Serious Disease is limited to RM 6,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"cur_med_exp_serious\\\",0);\\n  }\\n\\n  var prevComplete = data.prev_com_med_exam;      //Check Limit\\n  var complete=data.cur_com_med_exam;\\n  var limit7=0;\\n  limit7 = prevComplete + complete;\\n  if (limit7>500){\\n    alert(\\\"Deduction amount Complete Medical Examination is limited to RM 500.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"cur_com_med_exam\\\",0);\\n  }\\n\\n\\n  var total=0;\\n  total = serious + complete;\\n  set_field_value(\\\"cur_total_a_b\\\",total);\\n\\n}\\n\\n\\n\\n\\nfunction curLifeInsurance1(){\\n  var data=get_data();\\n  var civil= data.cur_civ_servant;\\n  var other= data.cur_other_civ_servant;\\n\\n  if (civil==true){\\n    set_data({cur_other_civ_servant:false});\\n    get_component(\\\"cur_ins_ret_civ_ser\\\").set_props({disabled:false});\\n    get_component(\\\"cur_ins_oth_ret_civ_ser\\\").set_props({disabled:true});\\n    set_data({cur_ins_oth_ret_civ_ser:0});\\n    set_data({cur_epf:0});\\n    var curNetRem = data.cur_net_rem;\\n    set_data({cur_total_net_rem:curNetRem});\\n  }\\n  else if (civil==false){\\n    set_data({cur_other_civ_servant:true});\\n    get_component(\\\"cur_ins_ret_civ_ser\\\").set_props({disabled:true});\\n    set_data({cur_ins_ret_civ_ser:0});\\n    get_component(\\\"cur_ins_oth_ret_civ_ser\\\").set_props({disabled:false});\\n  }\\n}\\n\\nfunction curLifeInsurance2(){\\n  var data=get_data();\\n  var civil= data.cur_civ_servant;\\n  var other= data.cur_other_civ_servant;\\n\\n  if (other==true){\\n    set_data({cur_civ_servant:false});\\n    get_component(\\\"cur_ins_ret_civ_ser\\\").set_props({disabled:true});\\n    set_data({cur_ins_ret_civ_ser:0});\\n    get_component(\\\"cur_ins_oth_ret_civ_ser\\\").set_props({disabled:false});\\n  }\\n  else if(other==false){\\n    set_data({cur_civ_servant:true});\\n    get_component(\\\"cur_ins_ret_civ_ser\\\").set_props({disabled:false});\\n    get_component(\\\"cur_ins_oth_ret_civ_ser\\\").set_props({disabled:true});\\n    set_data({cur_ins_oth_ret_civ_ser:0});\\n    set_data({cur_epf:0});\\n    var curNetRem = data.cur_net_rem;\\n    set_data({cur_total_net_rem:curNetRem});\\n  }\\n}\\n\\n\\nfunction curDeduction(){\\n  var data=get_data();\\n\\n  var prevMedical = parseFloat(data.prev_med_exp);  \\n  var medical = parseFloat(data.cur_med_exp);\\t\\n  var limit1=0;\\n  limit1 = prevMedical + medical;\\n  if (limit1>5000){\\n    alert(\\\"Deduction amount for medical expenses of own parents is limited to RM 5,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"cur_med_exp\\\",0);\\n  }\\n\\n  var prevFather = parseFloat(data.prev_father_relief);\\t\\t\\t\\t\\t\\t\\t\\t//limit\\n  var father = parseFloat(data.cur_father_relief);\\t\\n  var limit2=0;\\n  limit2 = prevFather + father;\\n  if (limit2>1500){\\n    alert(\\\"Deduction amount for Father Relief is limited to RM 1,500.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"cur_father_relief\\\",0);\\n  }\\n\\n  var prevMother = parseFloat(data.prev_mother_relief);\\t\\t\\t\\t\\t\\t\\t\\t//limit\\n  var mother = parseFloat(data.cur_mother_relief);\\t\\n  var limit3=prevMother + mother;\\n  if (limit3>1500){\\n    alert(\\\"Deduction amount for Mother Relief is limited to RM 1,500.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"cur_mother_relief\\\",0);\\n  }\\n\\n  var relief=data.cur_father_mother_relief;\\t\\t\\t\\t\\t\\t\\t\\t//checkbox\\n  var noCiv=data.cur_other_civ_servant;\\t\\t\\t\\t\\t\\t\\t\\t\\t//checkbox\\n\\n  var prevSupport = data.prev_support_disabled;\\t\\n  var support=data.cur_support_disabled;\\n  var limit4=0;\\n  limit4 = prevSupport + support;\\n  if (limit4>6000){\\n    alert(\\\"Deduction amount for Basic Supporting Equipment is limited to RM 6,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"cur_support_disabled\\\",0);\\n  }\\n\\n  var prevEdu = data.prev_edu_fees;\\n  var edu=data.cur_edu_fees;\\t\\n  var limit5=0;\\n  limit5 = prevEdu + edu;\\n  if (limit5>7000){\\n    alert(\\\"Deduction amount for Higher Education Fees is limited to RM 7,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"cur_edu_fees\\\",0);\\n  }\\n\\n  var prevSerious = data.prev_med_exp_serious;\\t\\t\\t//Check Limit\\n  var serious=data.cur_med_exp_serious;\\t\\n  var limit6=0;\\n  limit6 = prevSerious + serious;\\n\\n\\n  var prevComplete = data.prev_com_med_exam;\\t\\t\\t//Check Limit\\n  var complete=data.cur_com_med_exam;\\n  var limit7=0;\\n  limit7 = prevComplete + complete;\\n\\n\\n  var prevTotalab = data.prev_total_a_b; \\t\\t\\t\\t\\n  var totalab=data.cur_total_a_b; \\n  var limit8=0;\\n  limit8 = prevTotalab + totalab;\\n  if (limit8>6000){\\n    alert(\\\"Total Deduction for Medical Expenses on Serious Diseases and Complete Medical Examination is limited to RM 6,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"cur_total_a_b\\\",0);\\n  }\\n\\n\\n  var prevSspn = data.prev_net_dep_sspn;\\t\\t\\t\\n  var sspn=data.cur_net_dep_sspn;\\n  var limit9=0;\\n  limit9 = prevSspn + sspn;\\n  if (limit9>8000){\\n    alert(\\\"Deduction amount for Net Deposit in Skim Simpanan Pendidikan Nasional (SSPN) is limited to RM 8,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"cur_net_dep_sspn\\\",0);\\n  }\\n\\n\\n  var prevAlimony = data.prev_alimony;\\t\\t\\t\\n  var alimony=data.cur_alimony;\\n  var limit10=0;\\n  limit10 = prevAlimony + alimony;\\n  if (limit10>4000){\\n    alert(\\\"Deduction amount for Payment of Alimony to Former Wife is limited to RM 4,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"cur_alimony\\\",0);\\n  }\\n\\n  var prevCivil = parseFloat(data.prev_ins_ret_civ_ser);\\t\\t\\t//Check Limit\\t\\t\\t\\n  var civil=parseFloat(data.cur_ins_ret_civ_ser);\\t\\t\\t\\t// Field type: text\\n  var limit11=0;\\n  limit11 = prevCivil + civil;\\n  if (limit11>7000){\\n    alert(\\\"Deduction amount for Retired Civil Servant is limited to RM 7,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"cur_ins_ret_civ_ser\\\",0);\\n  }\\n\\n  var prevOther = parseFloat(data.prev_ins_oth_ret_civ_ser);\\t\\t//Check Limit\\t\\t\\n  var other = parseFloat(data.cur_ins_oth_ret_civ_ser);\\t\\t\\t// Field type: text\\n  var limit12=0;\\n  limit12 = prevOther + other;\\n  if (limit12>3000){\\n    alert(\\\"Total of Life Insurance and Accumulated Life Insurance deduction cannot exceed RM 3000.00. Please correct your amount\\\");\\n    set_data({cur_ins_oth_ret_civ_ser:0});\\n  }\\n\\n  var prevPremium = data.prev_edu_med_ins_prem;\\t\\t\\t\\n  var premium=data.cur_edu_med_ins_prem;\\n  var limit13=0;\\n  limit13 = prevPremium + premium;\\n  if (limit13>3000){\\n    alert(\\\"Deduction amount for Education and Medical Insurance limited to RM 3,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"cur_edu_med_ins_prem\\\",0);\\n  }\\n\\n  var prevAnnuity = data.prev_def_annuity;\\t\\t\\t\\n  var annuity=data.cur_def_annuity;\\n  var limit14=0;\\n  limit14 = prevAnnuity + annuity;\\n  if (limit14>3000){\\n    alert(\\\"Deduction amount for Annuity Retained Premium or Contribution to Private Retirement Scheme is limted to RM 3,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"cur_def_annuity\\\",0);\\n  }\\n\\n  var prevSocso = data.prev_socso_cont;\\t\\t\\t\\n  var socso=data.cur_socso_cont;\\n  var limit15=0;\\n  limit15 = prevSocso + socso;\\n  if (limit15>250){\\n    alert(\\\"Contribution to SOCSO is limited to RM 250.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"cur_socso_cont\\\",0);\\n  }\\n\\n  var prevPurchase = data.prev_purch;\\t\\t\\t\\n  var purchase=data.cur_purch;\\n  var limit16=0;\\n  limit16 = prevPurchase + purchase;\\n  if (limit16>2500){\\n    alert(\\\"Purchase of Readings, Computer, Smartphone, Tablet, Sport Equipment, Gymnasium Membership and Subscription of Broadband Internet is limited to RM 2,500.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"cur_purch\\\",0);\\n  }\\n\\n  var prevEquipment = data.prev_purch_bre_equip;\\t\\t\\t\\n  var equipment=data.cur_purch_bre_equip;\\n  var limit17=0;\\n  limit17 = prevEquipment + equipment;\\n  if (limit17>1000){\\n    alert(\\\"Purchase os Breastfeeding Equipment limited to RM 1,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"cur_purch_bre_equip\\\",0);\\n  }\\n\\n  var prevChild = data.prev_fee_child_care;\\t\\t\\t\\n  var child=data.cur_fee_child_care;\\n  var limit18=0;\\n  limit18 = prevChild + child;\\n  if (limit18>1000){\\n    alert(\\\"Fees paid to Child Care Centre and Kindergartens is limited to RM 1,000.00 per year. Please correct your amount\\\");\\n    set_field_value(\\\"cur_fee_child_care\\\",0);\\n  }\\n\\n\\n  var curTotalDeduction=0;\\n  curTotalDeduction = medical + father + mother + support + edu + totalab +\\n    sspn + alimony + civil + other + premium + annuity + socso + \\n    purchase + equipment + child;\\n  set_field_value(\\\"cur_total_deduct\\\",curTotalDeduction);\\n}\\n\\n\\nasync function NormalMTD(){\\n  var data=get_data();\\n  var Y = data.prev_acc_rem_bik_vola;\\n  set_field_value(\\\"Y\\\",Y);\\n  var K = data.prev_acc_epf;\\n  set_field_value(\\\"K\\\",K);\\n  var E = data.prev_net_acc_rem;\\n  set_field_value(\\\"E\\\",E);\\n\\n  var curRem = data.cur_net_rem;\\n  var curBik = data.cur_bik;\\n  var curVola = data.cur_vola;\\n  var Y1 = 0;\\n  Y1 = curRem + curBik + curVola;\\n  set_field_value(\\\"Y1\\\",Y1);\\n\\n  var K1 = data.cur_epf;\\n  set_field_value(\\\"K1\\\",K1);\\n  var Y2 = Y1;\\n  set_field_value(\\\"Y2\\\",Y2);\\n\\n  var KK1 = K + K1;\\n  var month = data.month;\\n  var n = 12 - month;\\n  set_field_value(\\\"n\\\",n);\\n  var K2 = 0;\\n  K2 = (4000 - KK1)/n;\\n\\n  if (K2>K1){\\n    K2 = K1;\\n    var k2conv = twoNum(K2);\\n    var stk2 = k2conv[0];\\n    var nok2 = k2conv[1];\\n    set_data({K2:nok2});\\n  }\\n  else if (K2\n                                                                                                                                                                                <K1){\\n    //K2 = K2;\\n    var k2conv = twoNum(K2);\\n    var stk2 = k2conv[0];\\n    var nok2 = k2conv[1];\\n    set_data({K2:nok2});\\n  }\\n\\n  //value of D & S based on Status Category\\n  var status = data.status_category;\\n  var D = 0;\\n  var S = 0;\\n\\n  if (status == \\\"cat1\\\" || status == \\\"cat3\\\"){\\n    D = 9000;\\n    S = 0;\\n  }\\n  else if (status == \\\"cat2\\\"){\\n    D = 9000;\\n    S = 4000;\\n  }\\n  set_field_value(\\\"D\\\",D);\\n  set_field_value(\\\"S\\\",S);\\n\\n  var disInd = data.disabled_individual;\\n  var Du = 0;\\n  if (disInd == \\\"yes\\\"){\\n    Du = 6000;\\n  }\\n  else {\\n    Du = 0;\\n  }\\n  set_field_value(\\\"Du\\\",Du);\\n\\n  var disSpo = data.disabled_spouse;\\n  var Su = 0;\\n  if (disSpo == \\\"yes\\\"){\\n    Su = 3500;\\n  }\\n  else{\\n    Su = 0;\\n  }\\n  set_field_value(\\\"Su\\\",Su);\\n\\n  //calculate QC\\n  var totalUnder18 = data.child_under_18_total;\\n  var total18Study = data.child_18_study_total;\\n  var total18Full = data.child_18_full_time_total;\\n  var totalDisabled = data.disabled_child_total;\\n  var totalDisStudy = data.disabled_child_study_total;\\n  var QC = 0;\\n  QC = totalUnder18 + total18Study + total18Full + totalDisabled + totalDisStudy;\\n  set_field_value(\\\"QC\\\",QC);\\n\\n  var ELP = data.prev_total_acc_deduct;\\n  set_field_value(\\\"ELP\\\",ELP);\\n  var LP1 = data.cur_total_deduct;\\n  set_field_value(\\\"LP1\\\",LP1);\\n\\n  //calculate P\\n  var P1 = 0;\\n  var P2 = 0;\\n  var P = 0;\\n  var Y1K1 = Y1 - K1;\\n  var Y2K2 = Y2 - K2;\\n\\n  P1 = E + Y1K1 + (Y2K2 * n);\\n  var p1conv = twoNum(P1);\\n  var stp1 = p1conv[0];\\n  var nop1 = p1conv[1];\\n\\n  P2 = D + S + Du + Su + QC + ELP + LP1;\\n  P = nop1 - P2;\\n  set_field_value(\\\"P_res\\\",P);\\n\\n  //var formula = data.mtd_formula; \\n  //Resident Rate\\n\\n  var M = 0;\\n  var R = 0;\\n  var B = 0;\\n\\n  //Normal Deduction Rate\\n  if (P>5000 && P<=20000){\\n    M = 5000;\\n    R = 0.01;\\n    if(status == \\\"cat1\\\"||status == \\\"cat3\\\"){\\n      B = -400; //KIV\\n    }\\n    else{\\n      B = -800; //KIV\\n    }\\n  }\\n  else if (P>20000 && P<=35000){\\n    M = 20000;\\n    R = 0.03;\\n    if(status == \\\"cat1\\\"||status == \\\"cat3\\\"){\\n      B = -250; //KIV\\n    }\\n    else{\\n      B = -650; //KIV\\n    }\\n  }\\n  else if (P>35000 && P<=50000){\\n    M = 35000;\\n    R = 0.08;\\n    if(status == \\\"cat1\\\"||status == \\\"cat3\\\"){\\n      B = 600;\\n    }\\n    else{\\n      B = 600;\\n    }\\n  }\\n  else if (P>50000 && P<=70000){\\n    M = 50000;\\n    R = 0.14;\\n    if(status == \\\"cat1\\\"||status == \\\"cat3\\\"){\\n      B = 1800;\\n    }\\n    else{\\n      B = 1800;\\n    }\\n  }\\n  else if (P>70000 && P<=100000){\\n    M = 70000;\\n    R = 0.21;\\n    if(status == \\\"cat1\\\"||status == \\\"cat3\\\"){\\n      B = 4600;\\n    }\\n    else{\\n      B = 4600;\\n    }\\n  }\\n  else if (P>100000 && P<=250000){\\n    M = 100000;\\n    R = 0.24;\\n    if(status == \\\"cat1\\\"||status == \\\"cat3\\\"){\\n      B = 10900;\\n    }\\n    else{\\n      B = 10900;\\n    }\\n  }\\n  else if (P>250000 && P<=400000){\\n    M = 250000;\\n    R = 0.245;\\n    if(status == \\\"cat1\\\"||status == \\\"cat3\\\"){\\n      B = 46900;\\n    }\\n    else{\\n      B = 46900;\\n    }\\n  }\\n  else if (P>400000 && P<=600000){\\n    M = 400000;\\n    R = 0.25;\\n    if(status == \\\"cat1\\\"||status == \\\"cat3\\\"){\\n      B = 83650;\\n    }\\n    else{\\n      B = 83650;\\n    }\\n  }\\n  else if (P>600000 && P<=1000000){\\n    M = 600000;\\n    R = 0.26;\\n    if(status == \\\"cat1\\\"||status == \\\"cat3\\\"){\\n      B = 133650;\\n    }\\n    else{\\n      B = 133650;\\n    }\\n  }\\n  else if (P>1000000){\\n    M = 1000000;\\n    R = 0.28;\\n    if(status == \\\"cat1\\\"||status == \\\"cat3\\\"){\\n      B = 237650;\\n    }\\n    else{\\n      B = 237650;\\n    }\\n  }\\n\\n  set_field_value(\\\"M\\\",M);\\n  set_field_value(\\\"R_res\\\",R);\\n  set_field_value(\\\"B\\\",B);\\n\\n  var Z = data.prev_total_acc_zakat; \\n  set_field_value(\\\"Z_res\\\",Z);\\n  var X = data.prev_acc_mtd;\\n  set_field_value(\\\"X_res\\\",X);\\n\\n  // Step 1 = Resident Calculation\\n  var yearlyTax = (P-M)*R + B;\\n\\n  var yearlyTaxconv = twoNum(yearlyTax);\\n    var styt = yearlyTaxconv[0];\\n    var noyt = yearlyTaxconv[1];\\n\\n  var curMonthMTD = (noyt - (Z + X))/(n + 1);\\n  if (curMonthMTD <=0){\\n    set_field_value(\\\"curMTD_res\\\",0);\\n  }\\n  else if (curMonthMTD>0){\\n    var curMonthMTDconv = twoNum(curMonthMTD);\\n    var stcm = curMonthMTDconv[0];\\n    var nocm = curMonthMTDconv[1];\\n    set_field_value(\\\"curMTD_res\\\",nocm);\\n  }\\n  var curZakat = data.cur_zakat;\\n  var curMonthMTD1 = data.curMTD_res;\\n  var netMTD = curMonthMTD1 - curZakat;\\n  set_field_value(\\\"netMTD_res\\\",netMTD);\\n\\n  //Step 2 = MTD(B)\\n  var mtdB = X + (curMonthMTD1*(n+1));\\n  var mtdBconv = twoNum(mtdB);\\n    var stmb = mtdBconv[0];\\n    var nomb = mtdBconv[1];\\n  set_field_value(\\\"mtdb\\\",nomb);\\n\\n  //Step 3 = Yearly Tax (CS)\\n  var Yt = data.cur_total_add_rem;\\n  set_field_value(\\\"Yt\\\",Yt);\\n  var Kt = data.cur_add_rem_epf;\\n  set_field_value(\\\"Kt\\\",Kt);\\n  var KK1Kt = K + K1 + Kt;\\n  var CSK2 = (4000 - KK1Kt)/n;\\n\\n  if (CSK2>K1){\\n    CSK2 = K1;\\n    var csk2conv = twoNum(CSK2);\\n    var stcsk2 = csk2conv[0];\\n    var nocsk2 = csk2conv[1];\\n    set_data({K2:nocsk2});\\n  }\\n  else if (CSK2\n                                                                                                                                                                                    <K1){\\n    //K2 = K2;\\n    var csk2conv = twoNum(CSK2);\\n    var stcsk2 = csk2conv[0];\\n    var nocsk2 = csk2conv[1];\\n    set_data({K2:nocsk2});\\n  }\\n\\n\\n  var Y2CSK2 = Y2 - CSK2;\\n  var YtKt = Yt - Kt;\\n\\n  var CSP1 = E + Y1K1 + (Y2CSK2*n) + YtKt;\\n  var csp1conv = twoNum(CSP1);\\n    var stcsp1 = csp1conv[0];\\n    var nocsp1 = csp1conv[1];\\n\\n  var CSP2 = D + S + Du + Su + QC + ELP + LP1;\\n  var CSP = nocsp1 - CSP2;\\n  set_field_value(\\\"P_CS\\\",CSP);\\n  var CS = (CSP - M)*R + B;\\n  if (CS <=0){\\n    set_field_value(\\\"CS\\\",0);\\n  }\\n  else if (CS>0){\\n    var csconv = twoNum(CS);\\n    var stcs = csconv[0];\\n    var nocs = csconv[1];\\n    set_field_value(\\\"CS\\\",nocs);\\n  }\\n\\n  //Step 4 = Additional Remuneration\\n  var mtdC = nocs - (mtdB + Z);\\n  if (mtdC <=0){\\n    set_field_value(\\\"mtdc\\\",0);\\n  }\\n  else if (mtdC>0){\\n    var mtdcconv = twoNum(mtdC);\\n    var stmtdc = mtdcconv[0];\\n    var nomtdc = mtdcconv[1];\\n    set_field_value(\\\"mtdc\\\",nomtdc);\\n  }\\n\\n  var mtdcc = data.mtdc;\\n  //step 5 = MTD Current Month\\n  var MTd = netMTD + mtdcc;\\n  var MTD = MTd.toFixed(2);\\n  set_field_value(\\\"mtd\\\",MTD);\\n\\n}\\n\\n\\nfunction REPMTD(){\\n  var data=get_data();\\n  var Y = data.prev_acc_rem_bik_vola;\\n  set_field_value(\\\"Y\\\",Y);\\n  var K = data.prev_acc_epf;\\n  set_field_value(\\\"K\\\",K);\\n  var E = data.prev_net_acc_rem;\\n  set_field_value(\\\"E\\\",E);\\n\\n  var curRem = data.cur_net_rem;\\n  var curBik = data.cur_bik;\\n  var curVola = data.cur_vola;\\n  var Y1 = 0;\\n  Y1 = curRem + curBik + curVola;\\n  set_field_value(\\\"Y1\\\",Y1);\\n\\n  var K1 = data.cur_epf;\\n  set_field_value(\\\"K1\\\",K1);\\n  var Y2 = Y1;\\n  set_field_value(\\\"Y2\\\",Y2);\\n\\n  var KK1 = K + K1;\\n  var month = data.month;\\n  var n = 12 - month;\\n  set_field_value(\\\"n\\\",n);\\n  var K2 = 0;\\n  K2 = (4000 - KK1)/n;\\n\\n  if (K2>K1){\\n    K2 = K1;\\n    var k2conv = twoNum(K2);\\n    var stk2 = k2conv[0];\\n    var nok2 = k2conv[1];\\n    set_data({K2:nok2});\\n  }\\n  else if (K2\n                                                                                                                                                                                        <K1){\\n    //K2 = K2;\\n    var k2conv = twoNum(K2);\\n    var stk2 = k2conv[0];\\n    var nok2 = k2conv[1];\\n    set_data({K2:nok2});\\n  }\\n\\n  //value of D & S based on Status Category\\n  var status = data.status_category;\\n  var D = 0;\\n  var S = 0;\\n\\n  if (status == \\\"cat1\\\" || status == \\\"cat3\\\"){\\n    D = 9000;\\n    S = 0;\\n  }\\n  else if (status == \\\"cat2\\\"){\\n    D = 9000;\\n    S = 4000;\\n  }\\n  set_field_value(\\\"D\\\",D);\\n  set_field_value(\\\"S\\\",S);\\n\\n  var disInd = data.disabled_individual;\\n  var Du = 0;\\n  if (disInd == \\\"yes\\\"){\\n    Du = 6000;\\n  }\\n  else {\\n    Du = 0;\\n  }\\n  set_field_value(\\\"Du\\\",Du);\\n\\n  var disSpo = data.disabled_spouse;\\n  var Su = 0;\\n  if (disSpo == \\\"yes\\\"){\\n    Su = 3500;\\n  }\\n  else{\\n    Su = 0;\\n  }\\n  set_field_value(\\\"Su\\\",Su);\\n\\n  //calculate QC\\n  var totalUnder18 = data.child_under_18_total;\\n  var total18Study = data.child_18_study_total;\\n  var total18Full = data.child_18_full_time_total;\\n  var totalDisabled = data.disabled_child_total;\\n  var totalDisStudy = data.disabled_child_study_total;\\n  var QC = 0;\\n  QC = totalUnder18 + total18Study + total18Full + totalDisabled + totalDisStudy;\\n  set_field_value(\\\"QC\\\",QC);\\n\\n  var ELP = data.prev_total_acc_deduct;\\n  set_field_value(\\\"ELP\\\",ELP);\\n  var LP1 = data.cur_total_deduct;\\n  set_field_value(\\\"LP1\\\",LP1);\\n\\n  //calculate P\\n  var P1 = 0;\\n  var P2 = 0;\\n  var P = 0;\\n  var Y1K1 = Y1 - K1;\\n  var Y2K2 = Y2 - K2;\\n\\n  P1 = E + Y1K1 + (Y2K2 * n);\\n  var p1conv = twoNum(P1);\\n  var stp1 = p1conv[0];\\n  var nop1 = p1conv[1];\\n\\n  P2 = D + S + Du + Su + QC + ELP + LP1;\\n  P = nop1 - P2;\\n  set_field_value(\\\"P_REP\\\",P);\\n\\n  //var formula = data.mtd_formula; \\n  //REP Rate\\n  var R = 0;\\n  var T = 0;\\n\\n  //REP Deduction Rate\\n  if (P<=35000){\\n    R = 0.15;\\n    if(status == \\\"cat1\\\"||status == \\\"cat3\\\"){\\n      T = 400; \\n    }\\n    else{\\n      T = 800; \\n    }\\n  }\\n  else if (P>35000){\\n    R = 0.15;\\n    T = 0;\\n  }\\n  set_field_value(\\\"R_REP\\\",R);\\n  set_field_value(\\\"T_REP\\\",T);\\n\\n  var Z = data.prev_total_acc_zakat; \\n  set_field_value(\\\"Z_REP\\\",Z);\\n  var X = data.prev_acc_mtd;\\n  set_field_value(\\\"X_REP\\\",X);\\n\\n  // Step 1 = REP Calculation\\n  var yearlyTax = (P*R) - T;\\n\\n  var yearlyTaxconv = twoNum(yearlyTax);\\n    var styt = yearlyTaxconv[0];\\n    var noyt = yearlyTaxconv[1];\\n\\n  var curMonthMTD = (noyt - (Z + X))/(n + 1);\\n  set_field_value(\\\"curMTD_REP\\\",curMonthMTD);\\n  if (curMonthMTD <=0){\\n    set_field_value(\\\"curMTD_res\\\",0);\\n  }\\n  else if (curMonthMTD>0){\\n    var curMonthMTDconv = twoNum(curMonthMTD);\\n    var stcm = curMonthMTDconv[0];\\n    var nocm = curMonthMTDconv[1];\\n    set_field_value(\\\"curMTD_res\\\",nocm);\\n  }\\n\\n  var curZakat = data.cur_zakat;\\n  var curMonthMTD1 = data.curMTD_res;\\n  var netMTD = curMonthMTD1 - curZakat;\\n  set_field_value(\\\"netMTD_REP\\\",netMTD);\\n\\n\\n  //Step 2 = MTD(B)\\n  var mtdB = X + (curMonthMTD*(n+1));\\n  var mtdBconv = twoNum(mtdB);\\n    var stmb = mtdBconv[0];\\n    var nomb = mtdBconv[1];\\n  set_field_value(\\\"mtdb\\\",nomb);\\n\\n  //Step 3 = Yearly Tax (CS)\\n  var Yt = data.cur_total_add_rem;\\n  set_field_value(\\\"Yt\\\",Yt);\\n  var Kt = data.cur_add_rem_epf;\\n  set_field_value(\\\"Kt\\\",Kt);\\n  var KK1Kt = K + K1 + Kt;\\n  var CSK2 = (4000 - KK1Kt)/n;\\n\\n  if (CSK2>K1){\\n    CSK2 = K1;\\n    var csk2conv = twoNum(CSK2);\\n    var stcsk2 = csk2conv[0];\\n    var nocsk2 = csk2conv[1];\\n    set_data({K2:nocsk2});\\n  }\\n  else if (CSK2\n                                                                                                                                                                                            <K1){\\n    //K2 = K2;\\n    var csk2conv = twoNum(CSK2);\\n    var stcsk2 = csk2conv[0];\\n    var nocsk2 = csk2conv[1];\\n    set_data({K2:nocsk2});\\n  }\\n\\n  var Y2CSK2 = Y2 - CSK2;\\n  var YtKt = Yt - Kt;\\n\\n  var CSP1 = E + Y1K1 + (Y2CSK2*n) + YtKt;\\n  var csp1conv = twoNum(CSP1);\\n    var stcsp1 = csp1conv[0];\\n    var nocsp1 = csp1conv[1];\\n\\n  var CSP2 = D + S + Du + Su + QC + ELP + LP1;\\n  var CSP = nocsp1 - CSP2;\\n  set_field_value(\\\"P_CS\\\",CSP);\\n  var CS = (CSP*R) - T;\\n  if (CS <=0){\\n    set_field_value(\\\"CS\\\",0);\\n  }\\n  else if (CS>0){\\n    var csconv = twoNum(CS);\\n    var stcs = csconv[0];\\n    var nocs = csconv[1];\\n    set_field_value(\\\"CS\\\",nocs);\\n  }\\n\\n  //Step 4 = Additional Remuneration\\n  var mtdC = nocs - (mtdB + Z);\\n  if (mtdC <=0){\\n    set_field_value(\\\"mtdc\\\",0);\\n  }\\n  else if (mtdC>0){\\n    var mtdcconv = twoNum(mtdC);\\n    var stmtdc = mtdcconv[0];\\n    var nomtdc = mtdcconv[1];\\n    set_field_value(\\\"mtdc\\\",nomtdc);\\n  }\\n\\n  var mtdcc = data.mtdc;\\n  //step 5 = MTD Current Month\\n  var MTd = netMTD + mtdcc;\\n  var MTD = MTd.toFixed(2);\\n  set_field_value(\\\"mtd\\\",MTD);\\n\\n}\\n\\n\\nfunction IRDAMTD(){\\n  var data=get_data();\\n  var Y = data.prev_acc_rem_bik_vola;\\n  set_field_value(\\\"Y\\\",Y);\\n  var K = data.prev_acc_epf;\\n  set_field_value(\\\"K\\\",K);\\n  var E = data.prev_net_acc_rem;\\n  set_field_value(\\\"E\\\",E);\\n\\n  var curRem = data.cur_net_rem;\\n  var curBik = data.cur_bik;\\n  var curVola = data.cur_vola;\\n  var Y1 = 0;\\n  Y1 = curRem + curBik + curVola;\\n  set_field_value(\\\"Y1\\\",Y1);\\n\\n  var K1 = data.cur_epf;\\n  set_field_value(\\\"K1\\\",K1);\\n  var Y2 = Y1;\\n  set_field_value(\\\"Y2\\\",Y2);\\n\\n  var KK1 = K + K1;\\n  var month = data.month;\\n  var n = 12 - month;\\n  set_field_value(\\\"n\\\",n);\\n  var K2 = 0;\\n  K2 = (4000 - KK1)/n;\\n\\n  if (K2>K1){\\n    K2 = K1;\\n    var k2conv = twoNum(K2);\\n    var stk2 = k2conv[0];\\n    var nok2 = k2conv[1];\\n    set_data({K2:nok2});\\n  }\\n  else if (K2\n                                                                                                                                                                                                <K1){\\n    //K2 = K2;\\n    var k2conv = twoNum(K2);\\n    var stk2 = k2conv[0];\\n    var nok2 = k2conv[1];\\n    set_data({K2:nok2});\\n  }\\n\\n  //value of D & S based on Status Category\\n  var status = data.status_category;\\n  var D = 0;\\n  var S = 0;\\n\\n  if (status == \\\"cat1\\\" || status == \\\"cat3\\\"){\\n    D = 9000;\\n    S = 0;\\n  }\\n  else if (status == \\\"cat2\\\"){\\n    D = 9000;\\n    S = 4000;\\n  }\\n  set_field_value(\\\"D\\\",D);\\n  set_field_value(\\\"S\\\",S);\\n\\n  var disInd = data.disabled_individual;\\n  var Du = 0;\\n  if (disInd == \\\"yes\\\"){\\n    Du = 6000;\\n  }\\n  else {\\n    Du = 0;\\n  }\\n  set_field_value(\\\"Du\\\",Du);\\n\\n  var disSpo = data.disabled_spouse;\\n  var Su = 0;\\n  if (disSpo == \\\"yes\\\"){\\n    Su = 3500;\\n  }\\n  else{\\n    Su = 0;\\n  }\\n  set_field_value(\\\"Su\\\",Su);\\n\\n  //calculate QC\\n  var totalUnder18 = data.child_under_18_total;\\n  var total18Study = data.child_18_study_total;\\n  var total18Full = data.child_18_full_time_total;\\n  var totalDisabled = data.disabled_child_total;\\n  var totalDisStudy = data.disabled_child_study_total;\\n  var QC = 0;\\n  QC = totalUnder18 + total18Study + total18Full + totalDisabled + totalDisStudy;\\n  set_field_value(\\\"QC\\\",QC);\\n\\n  var ELP = data.prev_total_acc_deduct;\\n  set_field_value(\\\"ELP\\\",ELP);\\n  var LP1 = data.cur_total_deduct;\\n  set_field_value(\\\"LP1\\\",LP1);\\n\\n  //calculate P\\n  var P1 = 0;\\n  var P2 = 0;\\n  var P = 0;\\n  var Y1K1 = Y1 - K1;\\n  var Y2K2 = Y2 - K2;\\n\\n  P1 = E + Y1K1 + (Y2K2 * n);\\n  var p1conv = twoNum(P1);\\n  var stp1 = p1conv[0];\\n  var nop1 = p1conv[1];\\n\\n  P2 = D + S + Du + Su + QC + ELP + LP1;\\n  P = nop1 - P2;\\n  set_field_value(\\\"P_IRDA\\\",P);\\n\\n  //var formula = data.mtd_formula; \\n  //IRDA Rate\\n  var R = 0.15;  \\n  set_field_value(\\\"R_IRDA\\\",R);\\n  var Z = data.prev_total_acc_zakat; \\n  set_field_value(\\\"Z_IRDA\\\",Z);\\n  var X = data.prev_acc_mtd;\\n  set_field_value(\\\"X_IRDA\\\",X);\\n\\n  // Step 1 = IRDA Calculation\\n  var yearlyTax = (P*R);\\n\\n  var yearlyTaxconv = twoNum(yearlyTax);\\n    var styt = yearlyTaxconv[0];\\n    var noyt = yearlyTaxconv[1];\\n\\n  var curMonthMTD = (noyt - (Z + X))/(n + 1);\\n  if (curMonthMTD <=0){\\n    set_field_value(\\\"curMTD_res\\\",0);\\n  }\\n  else if (curMonthMTD>0){\\n    var curMonthMTDconv = twoNum(curMonthMTD);\\n    var stcm = curMonthMTDconv[0];\\n    var nocm = curMonthMTDconv[1];\\n    set_field_value(\\\"curMTD_res\\\",nocm);\\n  }\\n\\n  var curZakat = data.cur_zakat;\\n  var curMonthMTD1 = data.curMTD_res;\\n  var netMTD = curMonthMTD1 - curZakat;\\n  set_field_value(\\\"netMTD_IRDA\\\",netMTD);\\n\\n\\n  //Step 2 = MTD(B)\\n  var mtdB = X + (curMonthMTD1*(n+1));\\n  var mtdBconv = twoNum(mtdB);\\n    var stmb = mtdBconv[0];\\n    var nomb = mtdBconv[1];\\n  set_field_value(\\\"mtdb\\\",nomb);\\n\\n\\n  //Step 3 = Yearly Tax (CS)\\n  var Yt = data.cur_total_add_rem;\\n  set_field_value(\\\"Yt\\\",Yt);\\n  var Kt = data.cur_add_rem_epf;\\n  set_field_value(\\\"Kt\\\",Kt);\\n  var KK1Kt = K + K1 + Kt;\\n  var CSK2 = (4000 - KK1Kt)/n;\\n\\n  if (CSK2>K1){\\n    CSK2 = K1;\\n    var csk2conv = twoNum(CSK2);\\n    var stcsk2 = csk2conv[0];\\n    var nocsk2 = csk2conv[1];\\n    set_data({K2:nocsk2});\\n  }\\n  else if (CSK2\n                                                                                                                                                                                                    <K1){\\n    //K2 = K2;\\n    var csk2conv = twoNum(CSK2);\\n    var stcsk2 = csk2conv[0];\\n    var nocsk2 = csk2conv[1];\\n    set_data({K2:nocsk2});\\n  }\\n\\n  var Y2CSK2 = Y2 - CSK2;\\n  var YtKt = Yt - Kt;\\n\\n  var CSP1 = E + Y1K1 + (Y2CSK2*n) + YtKt;\\n  var csp1conv = twoNum(CSP1);\\n    var stcsp1 = csp1conv[0];\\n    var nocsp1 = csp1conv[1];\\n\\n  var CSP2 = D + S + Du + Su + QC + ELP + LP1;\\n  var CSP = nocsp1 - CSP2;\\n  set_field_value(\\\"P_CS\\\",CSP);\\n  var CS = (CSP*R);\\n  if (CS <=0){\\n    set_field_value(\\\"CS\\\",0);\\n  }\\n  else if (CS>0){\\n    var csconv = twoNum(CS);\\n    var stcs = csconv[0];\\n    var nocs = csconv[1];\\n    set_field_value(\\\"CS\\\",nocs);\\n  }\\n\\n  //Step 4 = Additional Remuneration\\n  var mtdC = nocs - (mtdB + Z);\\n  if (mtdC <=0){\\n    set_field_value(\\\"mtdc\\\",0);\\n  }\\n  else if (mtdC>0){\\n    var mtdcconv = twoNum(mtdC);\\n    var stmtdc = mtdcconv[0];\\n    var nomtdc = mtdcconv[1];\\n    set_field_value(\\\"mtdc\\\",nomtdc);\\n  }\\n\\n  var mtdcc = data.mtdc;\\n  //step 5 = MTD Current Month\\n  var MTd = netMTD + mtdcc;\\n  var MTD = MTd.toFixed(2);\\n  set_field_value(\\\"mtd\\\",MTD);\\n}\\n\\nfunction NonResidentMTD(){\\n  var data=get_data();\\n  var curRem = data.non_res_cur_rem;\\n  set_field_value(\\\"non_res_cur_remm\\\",curRem);\\n  var curBik = data.non_res_cur_bik;\\n  set_field_value(\\\"non_res_bikk\\\",curBik);\\n  var curVola = data.non_res_cur_vola;\\n  set_field_value(\\\"non_res_volaa\\\",curVola);\\n  var curAddRem = data.cur_total_add_rem;\\n  set_field_value(\\\"non_res_add_remm\\\",curAddRem);\\n  var total = 0;\\n  total = curRem + curBik + curVola + curAddRem ;\\n  var MTD = total * 0.28;\\n  set_field_value(\\\"non_res_mtdd\\\",MTD);\\n}\\n\\nasync function normal(){\\n\\n  var data = get_data();\\n  var p = data.prev_acc_rem_bik_vola;\\n  var cat = data.status_category;\\n\\n  if(p \n                                                                                                                                                                                                        <5001){\\n      var narpmin = 0;\\n      var narpmax = 0;\\n      var narm = 0;\\n      var narr = 0;\\n      var narb = 0;\\n     console.log(\\\"deduct: \\\",narpmin,narpmax,narm,narr,narb);\\n    }\\n\\n  else if (p>5000){\\n  for(let i=1; i>0;i++){\\n    var cond = [[\\\"nar_no\\\",\\\"=\\\",i]];\\n    var field = [\\\"nar_p_min\\\",\\\"nar_p_max\\\",\\\"nar_m\\\",\\\"nar_r\\\",\\\"nar_b1\\\",\\\"nar_b2\\\"];\\n    var res = await rpc_execute(\\\"hr2.deduction.mtd.lines\\\",\\\"search_read\\\",[cond,field]);\\n    var narpmin = parseFloat(res[0].nar_p_min);\\n    var narpmax = res[0].nar_p_max?res[0].nar_p_max:\\\"null\\\";\\n    console.log(\\\"rate: \\\",narpmin,narpmax);\\n\\n\\n    if(narpmax == \\\"null\\\"){\\n        var narm = parseFloat(res[0].nar_m);\\n        var narr = parseFloat(res[0].nar_r);\\n      if(cat == \\\"cat1\\\" || cat == \\\"cat3\\\"){\\n        var narb =  parseFloat(res[0].nar_b1);\\n      }\\n      else if(cat == \\\"cat2\\\"){\\n        var narb = parseFloat(res[0].nar_b2);\\n      }\\n        console.log(\\\"deduct: \\\",narpmin,narpmax,narm,narr,narb);\\n        break;\\n    }\\n\\n    if (narpmax == res[0].nar_p_max){\\n      narpmax = parseFloat(narpmax);\\n      if(p>=narpmin && p<=narpmax){\\n        var narm = parseFloat(res[0].nar_m);\\n        var narr = parseFloat(res[0].nar_r);\\n        if(cat == \\\"cat1\\\" || cat == \\\"cat3\\\"){\\n          var narb =  parseFloat(res[0].nar_b1);\\n        }\\n        else if(cat == \\\"cat2\\\"){\\n          var narb = parseFloat(res[0].nar_b2);\\n        }\\n        console.log(\\\"deduct: \\\",narpmin,narpmax,narm,narr,narb);\\n        break;\\n      }\\n    }\\n  }\\n  }\\n}\\n\\nasync function rep(){\\n  var data = get_data();\\n  var p = data.prev_acc_rem_bik_vola;\\n  var cat = data.status_category;\\n\\n  for(let i=1; i>0;i++){\\n    var cond = [[\\\"rep_no\\\",\\\"=\\\",i]];\\n    var field = [\\\"rep_p_min\\\",\\\"rep_p_max\\\",\\\"rep_r\\\",\\\"rep_t1\\\",\\\"rep_t2\\\"];\\n    var res = await rpc_execute(\\\"hr2.deduction.mtd.lines\\\",\\\"search_read\\\",[cond,field]);\\n    var reppmin = res[0].rep_p_min?res[0].rep_p_min:\\\"null\\\";\\n    var reppmax = res[0].rep_p_max?res[0].rep_p_max:\\\"null\\\";\\n    console.log(\\\"rate: \\\",reppmin,reppmax);\\n\\n    if(reppmax == res[0].rep_p_max){\\n      reppmax = parseFloat(reppmax);\\n      if(p<=reppmax){\\n        var repr = parseFloat(res[0].rep_r);\\n        if(cat == \\\"cat1\\\" || cat == \\\"cat3\\\"){\\n          var rept =  parseFloat(res[0].rep_t1);\\n        }\\n        else if(cat == \\\"cat2\\\"){\\n          var rept = parseFloat(res[0].rep_t2);\\n        }\\n        console.log(\\\"deduct: \\\",reppmin,reppmax,repr,rept);\\n        break;\\n      }\\n    }\\n    else if(reppmin == res[0].rep_p_min){\\n      reppmin = parseFloat(reppmin);\\n      if (p>=reppmin){\\n        var repr = parseFloat(res[0].rep_r);\\n        if(cat == \\\"cat1\\\" || cat == \\\"cat3\\\"){\\n          var rept =  parseFloat(res[0].rep_t1);\\n        }\\n        else if(cat == \\\"cat2\\\"){\\n          var rept = parseFloat(res[0].rep_t2);\\n        }\\n        console.log(\\\"deduct: \\\",reppmin,reppmax,repr,rept);\\n        break;\\n      }\\n    }\\n  }\\n}\\n\\n\\nasync function calculate(){\\n\\n  var data = get_data();\\n\\n  if (!data.fullname) throw \\\"Missing Name\\\";\\n  if (!data.employment_category) throw \\\"Missing Employment Category\\\";\\n  if (!data.type_of_residency) throw \\\"Missing Type of Residency\\\";\\n  if (!data.status_category) throw \\\"Missing Status Category\\\";\\n\\n  var code = data.fullname;\\n  //console.log(\\\"afiqah: \\\",code);\\n\\n  var cond = [\\\"number\\\",\\\"=\\\",code];\\n  var field = [\\\"first_name\\\",\\\"surname\\\",\\\"number\\\"];\\n  var res = await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[cond],field]);\\n  var first = res[0].first_name;\\n  var last = res[0].surname;\\n  var full = first+\\\" \\\"+last;\\n  //console.log(\\\"afiqahh: \\\",full);\\n\\n  var type = data.type_of_residency;\\n  var formula = data.mtd_formula;\\n\\n  if(formula==\\\"Normal\\\"){\\n    NormalMTD();\\n  }\\n  else if(formula==\\\"REP\\\"){\\n    REPMTD();\\n  }\\n  else if(formula==\\\"IRDA\\\"){\\n    IRDAMTD();\\n  }\\n  else if (formula==\\\"28%\\\"){\\n    NonResidentMTD();\\n  }\\n\\n  var vals1={\\n\\n    full_name:full,\\n    employment_category:data.employment_category,\\n    type_of_residency:data.type_of_residency,\\n    mtd_formula:data.mtd_formula,\\n    status_category:data.status_category,\\n    disabled_individual:data.disabled_individual,\\n    disabled_spouse:data.disabled_spouse,\\n    month: data.month,\\n    year: data.year,\\n    child_under_18_50: data.child_under_18_50,\\n    child_under_18_100: data.child_under_18_100,\\n    child_under_18_total: data.child_under_18_total,\\n    child_18_study_50: data.child_18_study_50,\\n    child_18_study_100: data.child_18_study_100,\\n    child_18_study_total: data.child_18_study_total,\\n    child_18_full_time_50: data.child_18_full_time_50,\\n    child_18_full_time_100: data.child_18_full_time_100,\\n    child_18_full_time_total: data.child_18_full_time_total,\\n    disabled_child_50: data.disabled_child_50,\\n    disabled_child_100: data.disabled_child_100,\\n    disabled_child_total: data.disabled_child_total,\\n    disabled_child_study_50: data.disabled_child_study_50,\\n    disabled_child_study_100: data.disabled_child_study_100,\\n    disabled_child_study_total: data.disabled_child_study_total,\\n    prev_acc_rem_bik_vola: data.prev_acc_rem_bik_vola,\\n    prev_acc_epf: data.prev_acc_epf,\\n    prev_net_acc_rem: data.prev_net_acc_rem,\\n    prev_acc_mtd: data.prev_acc_mtd,\\n    prev_total_acc_zakat: data.prev_total_acc_zakat,\\n    prev_med_exp: data.prev_med_exp,\\n    prev_father_relief: data.prev_father_relief,\\n    prev_mother_relief: data.prev_mother_relief,\\n    prev_support_disabled: data.prev_support_disabled,\\n    prev_edu_fees: data.prev_edu_fees,\\n    prev_med_exp_serious: data.prev_med_exp_serious,\\n    prev_com_med_exam: data.prev_com_med_exam,\\n    prev_total_a_b: data.prev_total_a_b,\\n    prev_net_dep_sspn: data.prev_net_dep_sspn,\\n    prev_alimony: data.prev_alimony,\\n    prev_ins_ret_civ_ser: data.prev_ins_ret_civ_ser,\\n    prev_ins_oth_ret_civ_ser: data.prev_ins_oth_ret_civ_ser,\\n    prev_edu_med_ins_prem: data.prev_edu_med_ins_prem,\\n    prev_def_annuity: data.prev_def_annuity,\\n    prev_socso_cont: data.prev_socso_cont,\\n    prev_purch: data.prev_purch,\\n    prev_purch_bre_equip: data.prev_purch_bre_equip,\\n    prev_fee_child_care: data.prev_fee_child_care,\\n    prev_total_acc_deduct: data.prev_total_acc_deduct,\\n    cur_mon_rem: data.cur_net_rem,\\n    cur_mon_epf: data.cur_epf,\\n    cur_total_net_rem: data.cur_total_net_rem,\\n    cur_bik: data.cur_bik,\\n    cur_vola: data.cur_vola,\\n    cur_bonus:data.cur_bonus,\\n    cur_arrears: data.cur_arrears,\\n    cur_commission: data.cur_commission,\\n    cur_gratuity: data.cur_gratuity,\\n    cur_compensation: data.cur_compensation,\\n    cur_director_fee: data.cur_director_fee,\\n    cur_inc_tax_on_behalf: data.cur_inc_tax_on_behalf,\\n    cur_others: data.cur_others,\\n    cur_total_add_rem: data.cur_total_add_rem,\\n    cur_add_rem_epf: data.cur_add_rem_epf,\\n    cur_total_net_add_rem: data.cur_total_net_add_rem,\\n    cur_med_exp: data.cur_med_exp,\\n    cur_father_relief: data.cur_father_relief,\\n    cur_mother_relief: data.cur_mother_relief,\\n    cur_support_disabled: data.cur_support_disabled,\\n    cur_edu_fees: data.cur_edu_fees,\\n    cur_med_exp_serious: data.cur_med_exp_serious,\\n    cur_com_med_exam: data.cur_com_med_exam,\\n    cur_total_a_b: data.cur_total_a_b,\\n    cur_net_dep_sspn: data.cur_net_dep_sspn,\\n    cur_alimony: data.prev_alimony,\\n    cur_ins_ret_civ_ser: data.cur_ins_ret_civ_ser,\\n    cur_ins_oth_ret_civ_ser: data.cur_ins_oth_ret_civ_ser,\\n    cur_edu_med_ins_prem: data.cur_edu_med_ins_prem,\\n    cur_def_annuity: data.cur_def_annuity,\\n    cur_socso_cont: data.cur_socso_cont,\\n    cur_purch: data.cur_purch,\\n    cur_purch_bre_equip: data.cur_purch_bre_equip,\\n    cur_fee_child_care: data.cur_fee_child_care,\\n    cur_total_deduct: data.cur_total_deduct,\\n    cur_zakat: data.cur_zakat,\\n    Y: data.Y,\\n    K: data.K,\\n    E: data.E,\\n    Y1: data.Y1,\\n    K1: data.K1,\\n    Y2: data.Y2,\\n    K2: data.K2,\\n    n: data.n,\\n    D: data.D,\\n    S: data.S,\\n    Du: data.Du,\\n    Su: data.Su,\\n    QC: data.QC,\\n    ELP: data.ELP,\\n    LP1: data.LP1,\\n    P_resident: data.P_res,\\n    M: data.M,\\n    R_resident: data.R_res,\\n    B: data.B,\\n    Z_resident: data.Z_res,\\n    X_resident: data.X_res,\\n    curMonthMTD_resident: data.curMTD_res,\\n    netMTD_resident: data.netMTD_res,\\n    P_REP: data.P_REP,\\n    R_REP: data.R_REP,\\n    T: data.T_REP,\\n    Z_REP: data.Z_REP,\\n    X_REP: data.X_REP,\\n    curMonthMTD_REP: data.curMTD_REP,\\n    netMTD_REP: data.netMTD_REP,\\n    P_IRDA: data.P_IRDA,\\n    R_IRDA: data.R_IRDA,\\n    Z_IRDA: data.Z_IRDA,\\n    X_IRDA: data.X_IRDA,\\n    curMonthMTD_IRDA: data.curMTD_IRDA,\\n    netMTD_IRDA: data.netMTD_IRDA,\\n    mtdb: data.mtdb,\\n    Yt: data.Yt,\\n    Kt: data.Kt,\\n    P_CS: data.P_CS,\\n    CS: data.CS,\\n    mtdC: data.mtdc,\\n    mtd: data.mtd\\n\\n  };\\n\\n  var vals2={\\n\\n    full_name:full,\\n    employment_category:data.employment_category,\\n    type_of_residency:data.type_of_residency,\\n    mtd_formula:data.mtd_formula,\\n    status_category:data.status_category,\\n    disabled_individual:data.disabled_individual,\\n    disabled_spouse:data.disabled_spouse,\\n    month: data.month,\\n    year: data.year,\\n    child_under_18_50: data.child_under_18_50,\\n    child_under_18_100: data.child_under_18_100,\\n    child_under_18_total: data.child_under_18_total,\\n    child_18_study_50: data.child_18_study_50,\\n    child_18_study_100: data.child_18_study_100,\\n    child_18_study_total: data.child_18_study_total,\\n    child_18_full_time_50: data.child_18_full_time_50,\\n    child_18_full_time_100: data.child_18_full_time_100,\\n    child_18_full_time_total: data.child_18_full_time_total,\\n    disabled_child_50: data.disabled_child_50,\\n    disabled_child_100: data.disabled_child_100,\\n    disabled_child_total: data.disabled_child_total,\\n    disabled_child_study_50: data.disabled_child_study_50,\\n    disabled_child_study_100: data.disabled_child_study_100,\\n    disabled_child_study_total: data.disabled_child_study_total,\\n    prev_acc_rem_bik_vola: data.prev_acc_rem_bik_vola,\\n    prev_acc_epf: data.prev_acc_epf,\\n    prev_net_acc_rem: data.prev_net_acc_rem,\\n    prev_acc_mtd: data.prev_acc_mtd,\\n    prev_total_acc_zakat: data.prev_total_acc_zakat,\\n    prev_med_exp: data.prev_med_exp,\\n    prev_father_relief: data.prev_father_relief,\\n    prev_mother_relief: data.prev_mother_relief,\\n    prev_support_disabled: data.prev_support_disabled,\\n    prev_edu_fees: data.prev_edu_fees,\\n    prev_med_exp_serious: data.prev_med_exp_serious,\\n    prev_com_med_exam: data.prev_com_med_exam,\\n    prev_total_a_b: data.prev_total_a_b,\\n    prev_net_dep_sspn: data.prev_net_dep_sspn,\\n    prev_alimony: data.prev_alimony,\\n    prev_ins_ret_civ_ser: data.prev_ins_ret_civ_ser,\\n    prev_ins_oth_ret_civ_ser: data.prev_ins_oth_ret_civ_ser,\\n    prev_edu_med_ins_prem: data.prev_edu_med_ins_prem,\\n    prev_def_annuity: data.prev_def_annuity,\\n    prev_socso_cont: data.prev_socso_cont,\\n    prev_purch: data.prev_purch,\\n    prev_purch_bre_equip: data.prev_purch_bre_equip,\\n    prev_fee_child_care: data.prev_fee_child_care,\\n    prev_total_acc_deduct: data.prev_total_acc_deduct,\\n    cur_mon_rem: data.cur_net_rem,\\n    cur_bik: data.cur_bik,\\n    cur_vola: data.cur_vola,\\n    cur_bonus:data.cur_bonus,\\n    cur_arrears: data.cur_arrears,\\n    cur_commission: data.cur_commission,\\n    cur_gratuity: data.cur_gratuity,\\n    cur_compensation: data.cur_compensation,\\n    cur_director_fee: data.cur_director_fee,\\n    cur_inc_tax_on_behalf: data.cur_inc_tax_on_behalf,\\n    cur_others: data.cur_others,\\n    cur_total_add_rem: data.cur_total_add_rem,\\n    cur_add_rem_epf: data.cur_add_rem_epf,\\n    cur_total_net_add_rem: data.cur_total_net_add_rem,\\n    cur_med_exp: data.cur_med_exp,\\n    cur_father_relief: data.cur_father_relief,\\n    cur_mother_relief: data.cur_mother_relief,\\n    cur_support_disabled: data.cur_support_disabled,\\n    cur_edu_fees: data.cur_edu_fees,\\n    cur_med_exp_serious: data.cur_med_exp_serious,\\n    cur_com_med_exam: data.cur_com_med_exam,\\n    cur_total_a_b: data.cur_total_a_b,\\n    cur_net_dep_sspn: data.cur_net_dep_sspn,\\n    cur_alimony: data.prev_alimony,\\n    cur_ins_ret_civ_ser: data.cur_ins_ret_civ_ser,\\n    cur_ins_oth_ret_civ_ser: data.cur_ins_oth_ret_civ_ser,\\n    cur_edu_med_ins_prem: data.cur_edu_med_ins_prem,\\n    cur_def_annuity: data.cur_def_annuity,\\n    cur_socso_cont: data.cur_socso_cont,\\n    cur_purch: data.cur_purch,\\n    cur_purch_bre_equip: data.cur_purch_bre_equip,\\n    cur_fee_child_care: data.cur_fee_child_care,\\n    cur_total_deduct: data.cur_total_deduct,\\n    cur_zakat: data.cur_zakat,\\n    non_res_cur_rem:data.non_res_cur_remm,\\n    non_res_bik: data.non_res_bikk,\\n    non_res_vola: data.non_res_volaa,\\n    non_res_add_rem: data.non_res_add_remm,\\n    non_res_mtd: data.non_res_mtdd\\n\\n  };\\n\\n  if(type==\\\"Resident\\\"){\\n    await rpc_execute(\\\"hr2.pcb\\\",\\\"create\\\",[vals1]);\\n  }\\n  else if(type==\\\"Non-Resident\\\"){\\n    await rpc_execute(\\\"hr2.pcb\\\",\\\"create\\\",[vals2]);\\n  }\\n\\n\\n  alert(\\\"Calculation completed\\\");\\n  on_load();\\n}\\n\\n\\n\\nfunction twoNum(str){\\n\\n  var stg = str.toString();\\n  console.log(\\\"afiqahh: \\\",stg);\\n\\n  var check = stg.includes(\\\".\\\");\\n  if (check == false){\\n    check = str.toFixed(2);\\n    console.log(\\\"afiqah0: \\\",check);\\n    stg = check.toString();\\n    console.log(\\\"afiqah00: \\\",stg);\\n  }\\n\\n  var split = stg.split(\\\".\\\");\\n  console.log(\\\"afiqahhh: \\\",split);\\n\\n  var dec = split[1];\\n  console.log(\\\"afiqahhh: \\\", dec);\\n\\n  var spl = dec.match(/.{1,2}/g);\\n  console.log(\\\"afiqahhhh: \\\", spl);\\n\\n  var comb = split[0] + \\\".\\\" + spl[0];\\n  console.log(\\\"afiqahhhhh: \\\", comb);\\n\\n  var conv = parseFloat(comb);\\n  console.log(\\\"afiqahhhhhh: \\\",conv);\\n\\n  var arr = [comb,conv];\\n\\n  return arr;\\n}\\n\\n\\nasync function load_options(query) {\\n\\n  var data = get_data();\\n  var name = data.name;\\n  console.log(\\\"load_options\\\",query);\\n  var fields = [\\\"first_name\\\",\\\"surname\\\",\\\"number\\\"];\\n  var res = await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[],fields]);\\n  var first = res[0].first_name;\\n  //console.log(\\\"afi: \\\",first);\\n\\n  var slct = [];\\n  res.forEach(o=>{\\n    slct.push({\\n      value: o.number,\\n      label: \\\"[\\\"+o.number+\\\"] \\\"+o.first_name+\\\" \\\"+o.surname,\\n    });\\n  });\\n  return slct;\\n}\\n*/\\n\"}, \"price_calc\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [], \"min_height\": 50}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"transparent-logo,v04YxwvAUjA=,f9NYCL_v-lQ=.png\", \"width\": \"280\", \"height\": \"150\", \"align\": \"center\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"PRICE CALCULATOR\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 25, \"letter_spacing\": \"2.5\"}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10, \"header\": true}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Contact Details\"}, {\"insert\": \"\\n\"}]}, \"background_color\": \"#0a1e38\", \"color\": \"#ffffff\", \"padding_left\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Name\\n\"}]}, \"font_size\": 15, \"letter_spacing\": \"\", \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"name\", \"field_type\": \"text\", \"placeholder\": \"\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Email\\n\"}]}, \"font_size\": 15, \"letter_spacing\": \"\", \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"email\", \"field_type\": \"text\", \"placeholder\": \"\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Phone Number\\n\"}]}, \"font_size\": 15, \"letter_spacing\": \"\", \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"phone_number\", \"field_type\": \"text\", \"placeholder\": \"\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Address / Location, Country\\n\"}]}, \"font_size\": 15, \"letter_spacing\": \"\", \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"address_location_country\", \"field_type\": \"textarea\", \"placeholder\": \"\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Which currency do you intent to pay with?\\n\"}]}, \"font_size\": 15, \"letter_spacing\": \"\", \"margin_bottom\": 5}], \"min_height\": 50, \"margin_top\": 20}, {\"type\": \"field\", \"name\": \"currency\", \"field_type\": \"text\", \"placeholder\": \"MYR\", \"disabled\": true, \"readonly\": true, \"font_size\": 25}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Basic Information Required\"}, {\"insert\": \"\\n\"}]}, \"background_color\": \"#0a1e38\", \"color\": \"#ffffff\", \"margin_top\": null, \"padding_left\": 10, \"margin_left\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"How many employees are there in your organisation/company?\\n\"}]}, \"font_size\": 15, \"letter_spacing\": \"\", \"margin_bottom\": 5}, {\"type\": \"field\", \"margin_bottom\": 10, \"name\": \"employee_num\", \"field_type\": \"number\", \"placeholder\": \"\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"How many companies will the system cover?\\n\"}]}, \"font_size\": 15, \"letter_spacing\": \"\", \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"companies_num\", \"field_type\": \"number\", \"placeholder\": \"\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"How many users would need access to this system? (Users are defined by number of logins. Also, only one user can login into one machine at any one time.)\\n\"}]}, \"font_size\": 15, \"letter_spacing\": \"\", \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"users\", \"field_type\": \"number\", \"placeholder\": \"\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"How many locations would be using the system? (Locations are defined by property address)\\n\"}]}, \"font_size\": 15, \"letter_spacing\": \"\", \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"locations_num\", \"field_type\": \"number\", \"placeholder\": \"\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"How many customised documents do you need? (We charge RM1,500 for 1 set of 5 documents. We also offer our standard documents without charges)\\n\"}]}, \"font_size\": 15, \"letter_spacing\": \"\", \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"customised_documents_num\", \"field_type\": \"number\", \"placeholder\": \"\", \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"How many Master Products/ SKU's do you have? Please include both master and child products (roughly)\\n\"}]}, \"margin_bottom\": 5, \"font_size\": 15}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"field\", \"name\": \"master_products_sku_avg\", \"field_type\": \"number\", \"placeholder\": \"Average\", \"margin_left\": 10, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"master_products_sku_max\", \"field_type\": \"number\", \"placeholder\": \"Maximum\", \"margin_left\": 10, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"How many Bill Of Materials do you have?\\n\"}]}, \"margin_bottom\": 5, \"font_size\": 15}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"field\", \"name\": \"bill_of_materials_avg\", \"field_type\": \"number\", \"placeholder\": \"Average\", \"margin_left\": 10, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"field\", \"name\": \"bill_of_materials_max\", \"field_type\": \"number\", \"placeholder\": \"Maximum\", \"margin_left\": 10, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Do you need us to migrate the data? (We charge a migration fee for that)\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"checkbox\", \"align\": \"center\", \"name\": \"is_migrate_data\"}]}], \"num_cols\": 2, \"col_widths\": [3, 0.5], \"_col_widths\": \"[3,0.5]\", \"margin_bottom\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Do you need face-to-face training? (The price includes online training already)\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"checkbox\", \"align\": \"center\", \"name\": \"is_face_to_face\"}]}], \"num_cols\": 2, \"col_widths\": [3, 0.5], \"_col_widths\": \"[3,0.5]\"}], \"min_height\": 50, \"margin_right\": 20}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"What modules/features do you need in the system (You can pick more than one)?\\n\"}]}, \"font_size\": 15, \"letter_spacing\": \"\", \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Accounting\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"checkbox\", \"width\": null, \"height\": null, \"name\": \"has_accounting\"}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"[2,0.5]\", \"margin_bottom\": 5, \"margin_top\": 15, \"margin_left\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Inventory\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"checkbox\", \"name\": \"has_inventory\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": 5, \"margin_left\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Sales & CRM\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"checkbox\", \"name\": \"has_sales_CRM\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": 5, \"margin_left\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Purchasing\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"checkbox\", \"name\": \"has_purchasing\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": 5, \"margin_left\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Manufacturing\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"checkbox\", \"name\": \"has_manufacturing\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": 5, \"margin_left\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Human Resource\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"checkbox\", \"name\": \"has_human_resource\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": 5, \"margin_left\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Point of Sales\\n\"}]}, \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 10}], \"min_height\": 50, \"margin_left\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"*\"}, {\"insert\": \"Please contact us directly for further detail.\\n\\n\"}]}}], \"min_height\": 50, \"margin_top\": 20, \"margin_right\": 10, \"margin_left\": 10, \"margin_bottom\": 10}]}], \"num_cols\": 2, \"col_widths\": [3, 1.5], \"_col_widths\": \"[3,1.5]\"}], \"min_height\": 50, \"margin_top\": 20, \"margin_left\": 20}]}], \"num_cols\": 2, \"col_widths\": [1, 3], \"_col_widths\": \"[1,3]\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Questionnaire\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 30, \"background_color\": \"#0a1e38\", \"color\": \"#ffffff\", \"padding_left\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"How many of the following do you produce per day:\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \"Average\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \"Maximum\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [2, 1, 1], \"_col_widths\": \"[2,1,1]\", \"margin_right\": 10, \"margin_top\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Customer Invoices\\n\"}]}}, {\"type\": \"field\", \"name\": \"customer_invoices_avg\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"\", \"onchange_method\": \"\"}, {\"type\": \"field\", \"name\": \"customer_invoices_max\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"onChangeInput()\", \"onchange_method\": \"onChangeInput()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Customer Credit Notes\\n\"}]}}, {\"type\": \"field\", \"name\": \"customer_credit_notes_avg\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"\", \"onchange_method\": \"\"}, {\"type\": \"field\", \"name\": \"customer_credit_notes_max\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"onChangeInput()\", \"onchange_method\": \"onChangeInput()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Customer Debit Notes\\n\"}]}}, {\"type\": \"field\", \"name\": \"customer_debit_notes_avg\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"\", \"onchange_method\": \"\"}, {\"type\": \"field\", \"name\": \"customer_debit_notes_max\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"onChangeInput()\", \"onchange_method\": \"onChangeInput()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Supplier Invoices\\n\"}]}}, {\"type\": \"field\", \"name\": \"supplier_invoices_avg\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"\", \"onchange_method\": \"\"}, {\"type\": \"field\", \"name\": \"supplier_invoices_max\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"onChangeInput()\", \"onchange_method\": \"onChangeInput()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Supplier Credit Notes\\n\"}]}}, {\"type\": \"field\", \"name\": \"supplier_credit_notes_avg\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"\", \"onchange_method\": \"\"}, {\"type\": \"field\", \"name\": \"supplier_credit_notes_max\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"onChangeInput()\", \"onchange_method\": \"onChangeInput()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Supplier Debit Notes\\n\"}]}}, {\"type\": \"field\", \"name\": \"supplier_debit_notes_avg\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"\", \"onchange_method\": \"\"}, {\"type\": \"field\", \"name\": \"supplier_debit_notes_max\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"onChangeInput()\", \"onchange_method\": \"onChangeInput()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"How many Invoices do you print per day?\\n\"}]}}, {\"type\": \"field\", \"name\": \"invoices_print_day_avg\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"\", \"onchange_method\": \"\"}, {\"type\": \"field\", \"name\": \"invoices_print_day_max\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"onChangeInput()\", \"onchange_method\": \"onChangeInput()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"How many Customer Payments do you record per day?\\n\"}]}}, {\"type\": \"field\", \"name\": \"customer_payments_record_day_avg\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"\", \"onchange_method\": \"\"}, {\"type\": \"field\", \"name\": \"customer_payments_record_day_max\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"onChangeInput()\", \"onchange_method\": \"onChangeInput()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Purchase Order\\n\"}]}, \"font_size\": null}, {\"type\": \"field\", \"name\": \"purchase_order_avg\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"\", \"onchange_method\": \"\"}, {\"type\": \"field\", \"name\": \"purchase_order_max\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"onChangeInput()\", \"onchange_method\": \"onChangeInput()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Goods Receipt\\n\"}]}}, {\"type\": \"field\", \"name\": \"goods_receipt_avg\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"\", \"onchange_method\": \"\"}, {\"type\": \"field\", \"name\": \"goods_receipt_max\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"onChangeInput()\", \"onchange_method\": \"onChangeInput()\"}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Average\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Maximum\\n\"}]}}]], \"num_cols\": 3, \"num_rows\": 10, \"_col_widths\": \"[2,1,1]\", \"col_widths\": [2, 1, 1], \"margin_top\": null, \"margin_right\": 10, \"margin_left\": null, \"table_hover\": true}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"How many of the following do you record per day:\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \"Average\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \"Maximum\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [2, 1, 1], \"_col_widths\": \"[2,1,1]\", \"margin_left\": 10, \"margin_top\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Goods Receipt\\n\"}]}}, {\"type\": \"field\", \"name\": \"goods_receipt_record_avg\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"\", \"onchange_method\": \"\"}, {\"type\": \"field\", \"name\": \"goods_receipt_record_max\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"onChangeInput()\", \"onchange_method\": \"onChangeInput()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Goods Issue\\n\"}]}}, {\"type\": \"field\", \"name\": \"goods_issue_avg\", \"field_type\": \"number\", \"placeholder\": \"0\", \"onchange_method\": \"\", \"on_change\": \"\"}, {\"type\": \"field\", \"name\": \"goods_issue_max\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"onChangeInput()\", \"onchange_method\": \"onChangeInput()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Goods Transfer\\n\"}]}}, {\"type\": \"field\", \"name\": \"goods_transfer_avg\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"\", \"onchange_method\": \"\"}, {\"type\": \"field\", \"name\": \"goods_transfer_max\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"onChangeInput()\", \"onchange_method\": \"onChangeInput()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Landed Cost\\n\"}]}}, {\"type\": \"field\", \"name\": \"landed_cost_avg\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"\", \"onchange_method\": \"\"}, {\"type\": \"field\", \"name\": \"landed_cost_max\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"onChangeInput()\", \"onchange_method\": \"onChangeInput()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"How many Sales Inquiries do you receive per day?\\n\"}]}}, {\"type\": \"field\", \"name\": \"sales_inquiries_receive_day_avg\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"\", \"onchange_method\": \"\"}, {\"type\": \"field\", \"name\": \"sales_inquiries_receive_day_max\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"onChangeInput()\", \"onchange_method\": \"onChangeInput()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"How many Sales Quotation do you prepared per day?\\n\"}]}}, {\"type\": \"field\", \"name\": \"sales_quotation_prepared_day_avg\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"\", \"onchange_method\": \"\"}, {\"type\": \"field\", \"name\": \"sales_quotation_prepared_day_max\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"onChangeInput()\", \"onchange_method\": \"onChangeInput()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"How many Sales Quotation do you print per day?\\n\"}]}}, {\"type\": \"field\", \"name\": \"sales_quotation_print_day_avg\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"\", \"onchange_method\": \"\"}, {\"type\": \"field\", \"name\": \"sales_quotation_print_day_max\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"onChangeInput()\", \"onchange_method\": \"onChangeInput()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"How many Sales Order do you receive per day?\\n\"}]}}, {\"type\": \"field\", \"name\": \"sales_order_receive_day_avg\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"\", \"onchange_method\": \"\"}, {\"type\": \"field\", \"name\": \"sales_order_receive_day_max\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"onChangeInput()\", \"onchange_method\": \"onChangeInput()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"How many Purchase Request do you make per day?\\n\"}]}}, {\"type\": \"field\", \"name\": \"purchase_request_make_day_avg\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"\", \"onchange_method\": \"\"}, {\"type\": \"field\", \"name\": \"purchase_request_make_day_max\", \"field_type\": \"number\", \"placeholder\": \"0\", \"on_change\": \"onChangeInput()\", \"onchange_method\": \"onChangeInput()\"}], [null, null, null]], \"num_cols\": 3, \"num_rows\": 9, \"_col_widths\": \"[2,1,1]\", \"col_widths\": [2, 1, 1], \"margin_top\": null, \"margin_left\": 10, \"margin_right\": null, \"table_hover\": true, \"_fold_col_widths\": \"\", \"fold_col_widths\": null}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"button\", \"text\": \"Calculate\", \"size\": \"\", \"width\": \"120\", \"height\": \"50\", \"align\": \"center\", \"background_color\": null, \"hover_background_color\": \"#000000\", \"font_size\": 18, \"font_bold\": true, \"on_click\": \"onSubmit()\"}], \"min_height\": 50, \"margin_top\": 55, \"margin_left\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Monthly Subscription\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"name\": \"monthly_sub\", \"field_type\": \"number\", \"placeholder\": \"0\", \"text_align\": \"right\", \"align\": \"right\", \"readonly\": true, \"disabled\": false, \"font_bold\": true}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Total\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"name\": \"total\", \"field_type\": \"text\", \"placeholder\": \"0\", \"text_align\": \"right\", \"align\": \"right\", \"readonly\": true, \"disabled\": false, \"font_bold\": true}]], \"margin_top\": 10, \"margin_left\": 20, \"_col_widths\": \"[1,1]\", \"col_widths\": [1, 1]}]}], \"num_cols\": 3, \"col_widths\": [2, 2, 1.5], \"_col_widths\": \"[2,2,1.5]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Maximum Total Transactions\"}, {\"insert\": \"\\n\"}]}, \"align\": \"center\", \"border_top_width\": 0, \"margin_top\": 5}]}, {\"children\": []}, {\"children\": [{\"type\": \"field\", \"name\": \"total_max\", \"field_type\": \"number\", \"placeholder\": \"0\", \"readonly\": true, \"font_bold\": true, \"font_size\": 18}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [6, 1, 1], \"_col_widths\": \"[6,1,1]\", \"avoid_keyboard\": true, \"border_width\": 0, \"border_radius\": 0, \"border_color\": \"#c6c6c6\", \"padding_top\": 1, \"padding_right\": 1, \"padding_left\": 1, \"padding_bottom\": 1, \"margin_right\": 5, \"margin_left\": 5, \"margin_bottom\": 5, \"margin_top\": null}], \"min_height\": 50}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10, \"margin_top\": 30}, {\"type\": \"box\", \"children\": [], \"min_height\": 50, \"footer\": true, \"margin_left\": 10, \"margin_right\": 10, \"margin_top\": 20}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [0.3, 4, 0.3], \"_col_widths\": \"[0.3,4,0.3]\"}]}, \"code\": \"    /**\\n     * async function on_load(){\\n        var fields=['full_name','month','year'];\\n        var data=await get_data();\\n        var pcb_form=null;\\n        var pcb_list=await rpc_execute('hr2.pcb','search_read',[fields]);\\n        //alert(data.full_name);\\n        //alert(data.month_year);\\n        \\n        for (var i=0;i\n                                                                                                                                                                                                            <pcb_list.length;i++){\\n                //alert(pcb_list[i].full_name);\\n            \\n            if (pcb_list[i].full_name==\\\"Ee Jie Yap\\\"){\\n            \\n                        alert(\\\"5555555555555555555555\\\");\\n            if (pcb_list[i].month.toString()+\\\" / \\\"+pcb_list[i].year.toString()==\\\"12 / 2019\\\"){\\n                pcb_form=pcb_list[i];\\n                alert(\\\"5555555555555555555555\\\");\\n            }\\n            }\\n        }\\n        \\n        \\n\\n        if (pcb_form.mtd_formula=='Normal'){\\n\\n            set_data({\\n                P=pcb_form[\\\"P_resident\\\"],\\n                M=pcb_form[\\\"M\\\"],\\n                R=pcb_form[\\\"R_resident\\\"],\\n                B=pcb_form[\\\"B\\\"],\\n                Z=pcb_form.Z_resident,\\n                X=pcb_form.X_resdient,\\n                curMonthMTD=pcb_form.curMonthMTD_resident,\\n                netMTD=pcb_form.netMTD_resident,\\n\\n\\n\\n            });\\n        }\\n        else if (pcb_form.mtd_formula=='REP'){\\n            set_data({\\n            P=pcb_form[\\\"P_REP\\\"],\\n            R=pcb_form[\\\"R_REP\\\"],\\n            Z=pcb_form.Z_REP,\\n            X=pcb_form.X_REP,\\n            curMonthMTD=pcb_form.curMonthMTD_REP,\\n            netMTD=pcb_form.netMTD_REP,\\n        });\\n\\n                }\\n        else if (pcb_form.mtd_formula=='IRDA'){\\n            set_data({\\n                P:pcb_form[\\\"P_IRDA\\\"],\\n                R:pcb_form[\\\"R_IRDA\\\"],\\n                Z:pcb_form.Z_IRDA,\\n                X:pcb_form.X_IRDA,\\n                curMonthMTD:pcb_form.curMonthMTD_IRDA,\\n                netMTD:pcb_form.netMTD_IRDA,\\n            });\\n        \\n                }\\n        else if (pcb_form.mtd_formula=='28%'){\\n            set_data({        \\n            cur_rem:pcb_form.non_res_cur_rem,\\n            bik:pcb_form.non_res_bik,\\n            vola:pcb_form.non_res_vola,\\n            add_rem:pcb_form.non_res_add_rem,\\n            netMTD:pcb_form.non_res_mtd,\\n                });\\n            }\\n        \\n    }\\n    \\n    * \\n    */\\n\\n    /**  async function on_load(){\\n        var fields=['full_name','month','year'];\\n        var data=await get_data();\\n        var pcb_form=null;\\n        var pcb_list=await rpc_execute('hr2.pcb','search_read',[fields]);\\n        //alert(data.full_name);\\n        //alert(data.month_year);\\n        \\n        for (var i=0;i\n                                                                                                                                                                                                                <pcb_list.length;i++){\\n                //alert(pcb_list[i].full_name);\\n            \\n            if (pcb_list[i].full_name==\\\"Ee Jie Yap\\\"){\\n            \\n                        alert(\\\"5555555555555555555555\\\");\\n            if (pcb_list[i].month.toString()+\\\" / \\\"+pcb_list[i].year.toString()==\\\"12 / 2019\\\"){\\n                pcb_form=pcb_list[i];\\n                alert(\\\"5555555555555555555555\\\");\\n            }\\n            }\\n        }\\n        alert(pcb_form.mtd_formula);\\n        \\n\\n        if (pcb_form.mtd_formula=='Normal'){\\n            alert(\\\"normal\\\")\\n        }\\n        else if (pcb_form.mtd_formula=='REP'){\\n            alert(\\\"REP\\\")\\n\\n                }\\n        else if (pcb_form.mtd_formula=='IRDA'){\\n            alert(\\\"IRDA\\\")\\n        \\n                }\\n        else if (pcb_form.mtd_formula=='28%'){\\n        alert('28%')\\n            set_data({\\n            cur_rem:pcb_form.non_res_cur_rem,\\n            bik:pcb_form.non_res_bik,\\n            vola:pcb_form.non_res_vola,\\n            add_rem:pcb_form.non_res_add_rem,\\n            netMTD:pcb_form.non_res_mtd,\\n            })\\n        \\n    }\\n    }\\n    * \\n    */\\n\\n\\n\\n\\n\\n\\n   async function on_load()\\n   {\\n   await reload();\\n   }\\n\\n   async function reload(){\\n   set_data({\\n\\n       name:null,\\n       email:null,\\n       phone_number:null,\\n       address_location_country:null,\\n       currency:\\\"MYR\\\",\\n       employee_num:null,\\n       companies_num:null,\\n       users:null,\\n       locations_num:null,\\n       customised_documents_num:null,\\n       master_products_sku_avg:00,\\n       master_products_sku_max:00,\\n       bill_of_materials_avg:00,\\n       bill_of_materials_max:00,\\n       is_migrate_data:null,\\n       is_face_to_face:null,\\n       has_accounting:null,\\n       has_inventory:null,\\n       has_sales_CRM:null,\\n       has_purchasing:null,\\n       has_manufacturing:null,\\n       has_human_resource:null,\\n       //has_point_of_sales:null,\\n       customer_invoices_avg:00,\\n       customer_credit_notes_avg:00,\\n       customer_debit_notes_avg:00,\\n       supplier_invoices_avg:00,\\n       supplier_credit_notes_avg:00,\\n       supplier_debit_notes_avg:00,\\n       invoices_print_day_avg:00,\\n       customer_payments_record_day_avg:00,\\n       purchase_order_avg:00,\\n       goods_receipt_avg:00,\\n       goods_receipt_record_avg:00,\\n       goods_issue_avg:00,\\n       goods_transfer_avg:00,\\n       landed_cost_avg:00,\\n       sales_inquiries_receive_day_avg:00,\\n       sales_quotation_prepared_day_avg:00,\\n       sales_quotation_print_day_avg:00,\\n       sales_order_receive_day_avg:00,\\n       purchase_request_make_day_avg:00,\\n       customer_invoices_max:00,\\n       customer_credit_notes_max:00,\\n       customer_debit_notes_max:00,\\n       supplier_invoices_max:00,\\n       supplier_credit_notes_max:00,\\n       supplier_debit_notes_max:00,\\n       invoices_print_day_max:00,\\n       customer_payments_record_day_max:00,\\n       purchase_order_max:00,\\n       goods_receipt_max:00,\\n       goods_receipt_record_max:00,\\n       goods_issue_max:00,\\n       goods_transfer_max:00,\\n       landed_cost_max:00,\\n       sales_inquiries_receive_day_max:00,\\n       sales_quotation_prepared_day_max:00,\\n       sales_quotation_print_day_max:00,\\n       sales_order_receive_day_max:00,\\n       purchase_request_make_day_max:00,\\n       total_price:00,\\n       month_sub:00,\\n\\n   });\\n   \\n   \\n   }\\n   async function onSubmit()\\n   {\\n   var data=get_data();\\n   var is_std=await check_std();\\n   var is_valid=await check_input();\\n   if (is_valid){\\n   var calculated=await calc(is_std);\\n\\n   var submission={\\n       \\n   name:data.name,\\n   email:data.email,\\n   phone_number:data.phone_number,\\n   address_location_country:data.address_location_country,\\n   currency: data.currency,\\n   employee:data.employee_num,\\n   companies:data.companies_num,\\n   users:data.users,\\n   locations:data.locations_num,\\n   customised_documents:data.customised_documents_num,\\n   master_products_sku_avg:data.master_products_sku_avg,\\n   master_products_sku_max:data.master_products_sku_max,\\n   bom_avg:data.bill_of_materials_avg,\\n   bom_max:data.bill_of_materials_max,\\n   migrate:data.is_migrate_data,\\n   ftf_training:data.is_face_to_face,\\n   accounting:data.has_accounting,\\n   inventory:data.has_inventory,\\n   sales_crm:data.has_sales_CRM,\\n   purchasing:data.has_purchasing,\\n   manufacturing:data.has_manufacturing,\\n   human_resource:data.has_human_resource,\\n   pos:data.has_point_of_sales,\\n       customer_invoices_avg:data.customer_invoices_avg,\\n       customer_credit_notes_avg:data.customer_credit_notes_avg,\\n       customer_debit_notes_avg:data.customer_debit_notes_avg,\\n       supplier_invoices_avg:data.supplier_invoices_avg,\\n       supplier_credit_notes_avg:data.supplier_credit_notes_avg,\\n       supplier_debit_notes_avg:data.supplier_debit_notes_avg,\\n       invoices_print_day_avg:data.invoices_print_day_avg,\\n       customer_payments_record_day_avg:data.customer_payments_record_day_avg,\\n       purchase_order_avg:data.purchase_order_avg,\\n       goods_receipt_avg:data.goods_receipt_avg,\\n       //goods_receipt_record_avg:data.goods_receipt_record_avg,\\n       goods_issue_avg:data.goods_issue_avg,\\n       goods_transfer_avg:data.goods_transfer_avg,\\n       landed_cost_avg:data.landed_cost_avg,\\n       sales_inquiries_receive_day_avg:data.sales_inquiries_receive_day_avg,\\n       sales_quotation_prepared_day_avg:data.sales_quotation_prepared_day_avg,\\n       sales_quotation_print_day_avg:data.sales_quotation_print_day_avg,\\n       sales_order_receive_day_avg:data.sales_order_receive_day_avg,\\n       purchase_request_make_day_avg:data.purchase_request_make_day_avg,\\n       customer_invoices_max:data.customer_invoices_max,\\n       customer_credit_notes_max:data.customer_credit_notes_max,\\n       customer_debit_notes_max:data.customer_debit_notes_max,\\n       supplier_invoices_max:data.supplier_invoices_max,\\n       supplier_credit_notes_max:data.supplier_credit_notes_max,\\n       supplier_debit_notes_max:data.supplier_debit_notes_max,\\n       invoices_print_day_max:data.invoices_print_day_max,\\n       customer_payments_record_day_max:data.customer_payments_record_day_max,\\n       purchase_order_max:data.purchase_order_max,\\n       goods_receipt_max:data.goods_receipt_max,\\n       goods_receipt_record_max:data.goods_receipt_record_max,\\n       goods_issue_max:data.goods_issue_max,\\n       goods_transfer_max:data.goods_transfer_max,\\n       landed_cost_max:data.landed_cost_max,\\n       sales_inquiries_receive_day_max:data.sales_inquiries_receive_day_max,\\n       sales_quotation_prepared_day_max:data.sales_quotation_prepared_day_max,\\n       sales_quotation_print_day_max:data.sales_quotation_print_day_max,\\n       sales_order_receive_day_max:data.sales_order_receive_day_max,\\n       purchase_request_make_day_max:data.purchase_request_make_day_max,\\n\\n       total_price:calculated.total,\\n       month_sub:calculated.monthly_sub,\\n       total:data.total_max,\\n       \\n       };\\n\\n       var req=await rpc_execute(\\\"price.calc\\\",\\\"create\\\",[submission]);\\n   set_data({\\n\\n       monthly_sub:calculated.monthly_sub,\\n       total:calculated.total,\\n\\n   });\\n   }\\n\\n   else{\\n   set_data({\\n\\n       monthly_sub:00,\\n       total:00,\\n   }\\n   )\\n   }\\n       //on_load();\\n   }\\n\\n   async function check_input(){\\n   var data=get_data();\\n   var input_module={\\n\\n       //migrate:data.is_migrate_data,\\n       //ftf_training:data.is_face_to_face,\\n       accounting:data.has_accounting,\\n       inventory:data.has_inventory,\\n       sales_crm:data.has_sales_CRM,\\n       purchasing:data.has_purchasing,\\n       manufacturing:data.has_manufacturing,\\n       human_resource:data.has_human_resource,\\n       pos:data.has_point_of_sales,\\n\\n   }\\n\\n\\n   var input_company_detail={\\n       companies:data.companies_num,\\n       users:data.users,\\n       locations:data.locations_num,\\n       employee:data.employee_num,\\n   }\\n\\n   var input_contact_detail={\\n       name:data.name,\\n       email:data.email,\\n       phone_number:data.phone_number,\\n       address_location_country:data.address_location_country,\\n   }\\n\\n   var valid_contact_detail=true;\\n   var at_least_one_service=false;\\n   var valid_transition_input=true;\\n   var valid_bom=true;\\n   var valid_product_sku=true;\\n\\n   for (var key of Object.keys(input_contact_detail)){\\n       if (input_contact_detail[key].length\n                                                                                                                                                                                                                    <1){\\n           valid_contact_detail=false;\\n       }\\n   }\\n\\n   \\n   for (var key of Object.keys(input_module)){\\n       //alert(input_module[key]);\\n       if (input_module[key]==true){\\n           at_least_one_service=true;\\n       }\\n   }\\n\\n   if (data.total_max<=0|| data.total_max==null){\\n       valid_transition_input=false;\\n   }\\n\\n   if (data.bill_of_materials_max<=0|| data.bill_of_materials_max==null){\\n     valid_bom=false;\\n}\\nif (data.master_products_sku_max<=0|| data.master_products_sku_max==null){\\n    valid_product_sku=false;\\n}\\n\\n   valid_company_detail=true;\\n\\n   for (var key of Object.keys(input_company_detail)){\\n       if (input_company_detail[key]\n                                                                                                                                                                                                                        <1){\\n       valid_company_detail=false;\\n       }\\n   }\\n   if (valid_contact_detail==false){\\n   alert(\\\"Please fill the contact detail!\\\")\\n   }\\n   if (valid_company_detail==false){\\n   alert(\\\"Please input a valid company's information!\\\")\\n   }\\n   if (at_least_one_service==false){\\n   alert('Please choose at least one module for the system!');\\n   }\\n   if (valid_transition_input==false){\\n       alert(\\\"Maximum Total Transactions must be more than 1!\\\");\\n   }\\n   if (valid_product_sku==false){\\n    alert(\\\"Maximum Master Products/SKU's must be more than 1!\\\");\\n    }\\n    if (valid_bom==false){\\n        alert(\\\"Maximum Bill of Material must be more than 1!\\\");\\n    }\\n\\n\\n\\n\\n   if ((at_least_one_service==false) || (valid_company_detail==false) ||(valid_contact_detail==false) || (valid_transition_input==false) || (valid_bom==false) || (valid_product_sku==false)){\\n   return false;\\n   }\\n   else {\\n   return true;\\n   }\\n   }\\n\\n\\n\\n\\n\\n   async function check_std(){\\n   /*\\n   for checking whether the user input is valid or not, if not stop the calculation process\\n\\n   condition:\\n   1) user need to click at least one of the module for system\\n   2) the company information fields cannot be empty\\n\\n   */\\n    var fields=[\\\"date_created\\\",\\n        \\\"lite_bom_max\\\",\\n        \\\"lite_employee_max\\\",\\n        \\\"lite_product_code_max\\\",\\n        \\\"lite_transaction_max\\\",\\n        \\\"std_bom_max\\\",\\n        \\\"std_employee_max\\\",\\n        \\\"std_product_code_max\\\",\\n        \\\"std_transaction_max\\\",\\n        ];\\n    var constant_unsorted=await rpc_execute(\\\"price_calculator_ad\\\",\\\"search_read\\\",[[],fields]); \\n    var constant_sorted = _.sortBy(constant_unsorted, [\\\"date_created\\\"]);\\n\\n    var constant=constant_sorted.reverse()[0];\\n  \\n\\n    var data=get_data();\\n   var over_capacity=false;\\n   var is_std=false;\\n\\n   \\n    if (data.master_products_sku_max>constant[\\\"lite_product_code_max\\\"] || data.master_products_sku_avg>constant[\\\"lite_product_code_max\\\"]){\\n       if (data.master_products_sku_max>constant[\\\"std_product_code_max\\\"]){\\n       over_capacity=true;\\n       }\\n       is_std=true;\\n   }\\n\\n\\n   if (data.bill_of_materials_max>constant[\\\"lite_bom_max\\\"] || data.bill_of_materials_avg>constant[\\\"lite_bom_max\\\"]){\\n\\n       is_std=true;\\n   }\\n\\n   if (data.bill_of_materials_max>constant[\\\"std_bom_max\\\"]){\\n    over_capacity=true;\\n    }\\n   \\n   if ( data.total_max>constant[\\\"lite_transaction_max\\\"]){\\n           is_std=true;\\n   }\\n   if (data.total_max>constant[\\\"std_transaction_max\\\"]){\\n           over_capacity=true;\\n   }\\n\\n   if (data.employee_num>constant[\\\"lite_employee_max\\\"]){\\n       if (data.employee_num>constant[\\\"std_employee_max\\\"]){\\n       over_capacity=true;\\n       }\\n       \\n       is_std=true;\\n   }\\n\\n\\n   if (over_capacity){\\n       alert(\\\"Your company's requirement exceed our capacity of standard package, please contact to our sales team directly.\\\");\\n   }\\n   \\n   \\n   return is_std;\\n   }\\n\\n   function onChangeInput(){\\n       var data=get_data();\\n   var input_max={    \\n       customer_invoices_max:data.customer_invoices_max,\\n       customer_credit_notes_max:data.customer_credit_notes_max,\\n       customer_debit_notes_max:data.customer_debit_notes_max,\\n       supplier_invoices_max:data.supplier_invoices_max,\\n       supplier_credit_notes_max:data.supplier_credit_notes_max,\\n       supplier_debit_notes_max:data.supplier_debit_notes_max,\\n       invoices_print_day_max:data.invoices_print_day_max,\\n       customer_payments_record_day_max:data.customer_payments_record_day_max,\\n       purchase_order_max:data.purchase_order_max,\\n       goods_receipt_max:data.goods_receipt_max,\\n       goods_receipt_record_max:data.goods_receipt_record_max,\\n       goods_issue_max:data.goods_issue_max,\\n       goods_transfer_max:data.goods_transfer_max,\\n       landed_cost_max:data.landed_cost_max,\\n       sales_inquiries_receive_day_max:data.sales_inquiries_receive_day_max,\\n       sales_quotation_prepared_day_max:data.sales_quotation_prepared_day_max,\\n       sales_quotation_print_day_max:data.sales_quotation_print_day_max,\\n       sales_order_receive_day_max:data.sales_order_receive_day_max,\\n       purchase_request_make_day_max:data.purchase_request_make_day_max,\\n\\n\\n               }\\n\\n\\n\\n       var max_total=0;\\n\\n\\n       for (var key of Object.keys(input_max)){\\n           max_total+=input_max[key];\\n       }\\n       \\n   set_data({\\n\\n       total_max:max_total,\\n   });\\n   }\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n\\n   async function calc(is_std){\\n\\n   var total_price=0;\\n   var data=get_data();\\n\\n\\n\\n   input_condition={\\n       migrate:data.is_migrate_data,\\n       ftf_training:data.is_face_to_face,\\n   }\\n\\n\\n   input_module={\\n       online_price_accounting : data.has_accounting,\\n       online_price_inventory : data.has_inventory,\\n       online_price_sales : data.has_sales_CRM,\\n       online_price_purchase : data.has_purchasing,\\n       online_price_manufacturing : data.has_manufacturing,\\n       online_price_hr : data.has_human_resource,\\n       online_price_pos : data.has_point_of_sales,\\n   }\\n\\n\\n   /*\\n   category_to_get:\\n\\n   a list contain the code of the product category select by user\\n   */\\n   category_to_get=[]\\n   var i=0;\\n   for (key of Object.keys(input_module)){\\n       if (input_module[key]==true){\\n       category_to_get[i]=key;\\n       i++;\\n\\n       }\\n       \\n\\n\\n       }\\n\\n       /*\\n       Choosing the name of price list to be input according the level of user\\n       */\\n       if (!is_std){\\n       var target='Online Price - Lite';\\n   \\n       }\\n       else{\\n       var target='Online Price - Standard';\\n       }\\n\\n\\n   var price_list_final=[];\\n   var insert=['list_id','product_id','price'];\\n   price_list_items=await rpc_execute(\\\"price.list.item\\\",\\\"search_read\\\",[[],insert]);\\n   //alert(price_list_items[0].list_id[1]);\\n   //alert(price_list_items[0].product_id[1]);  //774,[P-0002b] Conf - Inventory,\\n\\n   for (var i=0;i\n                                                                                                                                                                                                                            <price_list_items.length ;i++){\\n\\n\\n       if (price_list_items[i].list_id[1]==target){\\n       price_list_final.push(price_list_items[i])\\n       \\n       }\\n   }\\n   //alert(price_list_final.length);\\n\\n   /*\\n\\n   for filtering the product, for example,\\n   user not clicking the Migrate, the Migrate will add to the filter so that \\n   the program will filter out any product relevant with Migrate\\n\\n   */\\n   var text_filter=[];\\n   if (input_condition.migrate!=true){\\n\\n   text_filter.push('Migration');\\n   }\\n\\n   if (input_condition.ftf_training!=true){\\n\\n   text_filter.push('Training');\\n   \\n   }\\n\\n   var data=[\\\"name\\\",\\\"code\\\",\\\"categ_id\\\"];\\n   product_list=await rpc_execute('product','search_read',[[],data]);\\n   product_to_count=[];\\n\\n   /*\\n\\n   Triple Nested Loops:\\n   first loop iter i = a list of product to check\\n   second loop iter j = a list of product category select by user (get the products belong to any category inputed by user)\\n   third loop iter k = a list of text filter to check   (filter the unwanted products)\\n   get check the a list of products by selecting a product in any category of user input and didn't included substring of text filter\\n   \\n   */ \\n\\n\\n   for (var i=0;i\n                                                                                                                                                                                                                                <product_list.length;i++){\\n   for (var j=0;j\n                                                                                                                                                                                                                                    <category_to_get.length;j++){\\n\\n       if (product_list[i].categ_id!=null){\\n       if (product_list[i].categ_id[1].includes(category_to_get[j])){\\n           var valid=true;\\n\\n           for (var k=0;k\n                                                                                                                                                                                                                                        <text_filter.length;k++){\\n           if (product_list[i].name.includes(text_filter[k])){\\n               valid=false;\\n\\n           }\\n           }\\n           if (valid==true){\\n               product_to_count.push(product_list[i]);\\n           }\\n       }\\n       }\\n   }\\n   }\\n\\n   /*\\n   calculate the price of configuration, training and migration of the modules.\\n   finding product by comparing the product ID of the price list and and the products selected by user\\n   \\n   */ \\n   var count=0;\\n   for (var i=0; i\n                                                                                                                                                                                                                                            <price_list_final.length;i++){\\n       for (var j=0;j\n                                                                                                                                                                                                                                                <product_to_count.length;j++){\\n       if (price_list_final[i] !=null){\\n           if (price_list_final[i].product_id[1].includes(product_to_count[j].name)){\\n           total_price+=price_list_final[i].price;\\n           //alert(product_to_count[j].name);\\n           \\n           count++;\\n           }\\n       }\\n       }\\n   }\\n   //alert(total_price);\\n   //alert(count);\\n\\n   data=get_data();\\n   input={\\n   customised_documents:data.customised_documents_num,\\n   companies:data.companies_num,\\n   users:data.users,\\n   locations:data.locations_num,\\n   }\\n\\n\\n\\n\\n\\n\\n   /*\\n   a for loop perform the calculation of any product which can be sold by multiple units, multiplier depends on user input and the pricing detail\\n   finding price by comparing the product ID of the price list and hardcored product name\\n   */\\n   var monthly_subscription=0;\\n   for (var i=0;i\n                                                                                                                                                                                                                                                    <price_list_final.length;i++){\\n   //alert(price_list_final[i].product_id[1]);\\n   if (price_list_final[i] !=null){\\n\\n\\n   if (input.customised_documents != null && price_list_final[i].product_id[1].includes('Custom Forms')){\\n       if (input.customised_documents>0){\\n       var custom_price=price_list_final[i].price;\\n       if (input.customised_documents%5==0){\\n       total_price+= (input.customised_documents/5)*custom_price;\\n       }\\n       else{\\n           total_price+=1*custom_price+Math.floor(input.customised_documents/5)*custom_price;\\n\\n       }\\n       //alert(total_price);\\n       }\\n   }\\n\\n   if (input.users >5 && price_list_final[i].product_id[1].includes('Additional User')){\\n       var user_price=price_list_final[i].price;\\n       monthly_subscription+= (input.users-5)*user_price;\\n       //alert(total_price);\\n   }\\n\\n   if (input.locations>1 && price_list_final[i].product_id[1].includes('Additional Warehouse')){\\n       var location_price=price_list_final[i].price;\\n       monthly_subscription += (input.locations-1)*location_price;\\n       //alert(total_price);\\n   }\\n\\n   if (input.companies>1 && price_list_final[i].product_id[1].includes('Additional Company')){\\n       var company_price=price_list_final[i].price;\\n       monthly_subscription+=(input.companies-1)*company_price;\\n       //alert(total_price);\\n   }\\n\\n   if (price_list_final[i].product_id[1].includes('Lite Subs')){\\n       monthly_subscription+=price_list_final[i].price;\\n       //alert(monthly_subscription);\\n\\n   }\\n   }\\n\\n\\n\\n\\n   \\n\\n   }\\n   var calculated={\\n\\n       monthly_sub:monthly_subscription,\\n       total:total_price,\\n\\n   }\\n\\n   //alert(\\\"finished calculated\\\");\\n\\n   return calculated;\\n\\n\\n   }\"}, \"print_quotation\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd. \"}, {\"insert\": \"\\n\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27,\\n47400 Petaling Jaya, Selangor \\n\\nTel: +6 03-7622 9772 / 012-287 2735\\nEmail: \"}, {\"attributes\": {\"color\": \"#222222\"}, \"insert\": \"accounts@smartb.co\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"align\": \"right\", \"image_file\": \"SmartB-08 (1),-mK5jci3th8=.png\", \"margin_right\": 20, \"width\": \"\", \"height\": \"135\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"QUOTATION\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 30, \"margin_top\": 25}]}], \"num_cols\": 2, \"col_widths\": [4, 2], \"_col_widths\": \"[4,2]\", \"padding_bottom\": 10}], \"min_height\": 50, \"margin_top\": 60, \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"CUSTOMER:         {contact_id.name}\\n\\nContact Person:  {contact_person_id.name}\\nEmail:                    {contact_person_id.email}\\nPhone:                  {contact_person_id.phone}\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Quotation No.\\nDate\\nValidity\\nSalesperson\\nCurrency\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\n30 Days\\n{user_id.name}\\n{currency_id.code}\\n\"}]}, \"font_size\": 16}]}], \"num_cols\": 4, \"col_widths\": [17, 6, 1, 6], \"_col_widths\": \"[17,6,1,6]\", \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"border_top_width\": 1, \"border_left_width\": 0, \"border_right_width\": 0, \"border_bottom_width\": 1, \"border_color\": \"#9e9e9e\"}], \"min_height\": 50, \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"ITEM\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"color\": \"#000000\", \"bold\": true}, \"insert\": \"DESCRIPTION\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"QTY\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"UNIT\"}, {\"insert\": \"\\t\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"U/PRICE\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"AMOUNT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{uom_id.name}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_number(unit_price,\\\"0,0\\\")}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"padding_right\": 10}]], \"num_cols\": 6, \"_col_widths\": \"[0.5,4,1,1,1,1]\", \"col_widths\": [0.5, 4, 1, 1, 1, 1], \"num_rows\": 2, \"table_bordered\": true, \"table_hover\": true, \"field_rows\": \"lines\", \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"margin_top\": 10, \"margin_left\": null, \"margin_right\": null, \"border_top_width\": 2, \"border_left_width\": 2, \"border_right_width\": 2, \"border_bottom_width\": 2}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"  Subtotal: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"Sales & Service Tax: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"margin_left\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_right\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [5, 1], \"_col_widths\": \"[5,1]\", \"margin_left\": 5, \"padding_bottom\": 10}], \"min_height\": 50, \"margin_left\": 60, \"margin_right\": 60, \"page_break_after\": false}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true}, \"insert\": \"Remarks\"}, {\"insert\": \": \\n{other_info}\\n\"}]}, \"border_width\": 1, \"border_radius\": 0, \"border_color\": \"rgba(0,0,0,0.26)\", \"font_size\": 16}], \"min_height\": 50, \"page_break_after\": true, \"margin_left\": 60, \"margin_right\": 60, \"margin_top\": 30}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Implementation Terms & Conditions\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\", \"bold\": true}, \"insert\": \"1. Implementation & Scheduling\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"i) The company shall allocate time and resources to support the implementation of the system in your business. Where required, an implementation schedule will be provided.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"ii) BOTH PARTIES WILL ADHERE TO THE IMPLEMENTATION CYCLE, the implementation cycle will commence the moment all records and information required submitted. Any possible delay due to technicality or practicality will be discussed.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"iii) The project implementation process breakdown is as such (will be followed unless mentioned and agreed by both parties to a new schedule) :\\u00a0\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"i) Design phase (minimum of 4 weeks)\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"ii) Building Phase (minimum of 6 weeks)\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"iii) In-house Testing phase (minimum of 4 weeks)\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"iv) Client Testing/ Dry Run phase (minimum of 4 weeks)\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"v) Project Live\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"Any delay that is due to the complexity of the project or others will be communicated to the company. SmartB will provide TWO person-in-charge (ONE programmer & ONE support) each with a defined scope on the project.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"iv) Once the schedule is agreed, the company shall provide at least TWO person-in-charge (PIC) who will ensure that the timeline of the implementation is met. The TWO PIC will be responsible for defining the project scope as well responsible to gather all the necessary documents and records for project implementation. Where there is a delay, terms (and penalties) stated in this quotation is applied (see below).\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15, \"padding_left\": 10, \"padding_right\": 5, \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"v) The \\u201cdry run\\u201d (or practice on the demo account) will start as soon as the training is completed. Any outstanding issues must be communicated to SmartB (emailed to support@smartb.co) within 2 weeks after the delivery of the training. If no issues are communicated, or unless agreed on the schedule, it is assumed that the system and training have been successfully implemented.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"vi) SmartB will develop the solution as per the initially defined scope but during the dry run stage if the company found the solution or the features to unsatisfactory The Company is allowed to change or add feature that is within to initial design scope (any alteration that is above or outside of initial design scope will be charged and treated as a separate project).\\u00a0Each of the changes or addition required will be communicated to SmartB through an issue log function (refer to clause on Issue Log). This will be allowed during the testing phase and will be compiled and worked on till a cut off period within the testing phase (agreed by SmartB and The Company), all bugs, alteration and addition will be done during and after the cut off period. Anything after the cut off period will be treated as separate project and will be charged accordingly.\\u00a0\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"vii) Unless there are any outstanding issues or delay, the full (or any outstanding fees) fee/invoice must be paid and cleared to SmartB Solutions Sdn Bhd within 30 days after the training has been delivered. The subscription fees relating to this service will also start at the same time.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\\n\\n\"}, {\"insert\": \"\\n\"}]}, \"font_name\": \"15\", \"padding_left\": 5, \"padding_right\": 10, \"margin_left\": 5, \"margin_right\": 5, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 15, \"margin_left\": 5}], \"min_height\": 600, \"margin_left\": 60, \"margin_right\": 60, \"page_break_after\": false, \"padding_top\": 40, \"margin_top\": 0}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"viii) \"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"All implemented solutions which deemed finalised and approved by client after testing will be recognised as project completion. Any additional consultation and changes to the solution beyond the period of project completion may apply additional charges. The penalty of the delay is 10% (per month and non- compounding) of the total price quoted for the implementation of the system. Any additional charges shall be informed and approved by Client. \"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"ix) It is the responsibility of the client to read the terms & conditions. Once the deposit is paid, it is assumed that you have agreed and accepted these terms.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\", \"bold\": true}, \"insert\": \"2. Super Users\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"i) Each company must assign Super Users (an IT staff or equivalent) in order to support the implementation and long term operations of the system in the company. The ratio of super users to users should be at a minimum of 1:10. That means, the company should have at least 1 Super User to support the needs of 10 users. Super Users are like IT supervisors to the company and shall be the first line of support to the business.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"ii) Once the subscription begins, assuming that the setup, configuration, and training is completed, all communications can only come directly from the Super Users and SmartB will continue to provide on-going support to them.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\\n\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15, \"padding_left\": 10, \"padding_right\": 5, \"margin_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"iii) As this is an electronic quotation, these terms are assumed agreeable and acceptable once the deposit is paid.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\", \"bold\": true}, \"insert\": \"3. Training\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"i) Unless stated, all training(s) is assumed to be only done once. If more training is required for various outlets and branches, training days will be charged separately upon Client approval. All necessary supplement training will be communicated to SmartB before the project live phase.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"ii) In order to support the training of the users in the business, each user will be given access to SmartB\\u2019s membership site. If you have not received one, please email us at support@smartb.co to request for one.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\", \"bold\": true}, \"insert\": \"4. Issue Log\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"To provide a holistic and customer centric service SmartB has developed an Issue Log function within the SmartB Solution that is developed for The Company. This feature will record all issues submitted by The Company and keep update accordingly on the completion of the issues. (Refer to online academy on how to use issue log to submit issues or query). SmartB has a scheduled practice to keep track of all issues on timely manner and dedicated personal to support but in case of urgency an email can be sent to \"}, {\"attributes\": {\"color\": \"#0563c1\", \"link\": \"mailto:support@smartb.co\"}, \"insert\": \"support@smartb.co\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \" after the submission of issue log.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15, \"padding_left\": 5, \"margin_right\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"padding_top\": 20, \"margin_top\": 5, \"margin_left\": 5, \"margin_bottom\": 15}], \"min_height\": 50, \"margin_left\": 60, \"margin_right\": 60, \"dyn_props\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"On behalf of : {contact_id.name}\\n\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Approved and signed by:\"}, {\"insert\": \"\\n\\n\\n\\n_______________________________\\n\\nName:\\nDate:\\n\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Company Stamp:\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}]}], \"col_widths\": [1, 1]}], \"min_height\": 50, \"padding_top\": 40, \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 40}], \"fields\": \" [\\\"contact_person_id.phone\\\",\\\"other_info\\\",\\\"contact_person_id.name\\\",\\\"contact_person_id.email\\\",\\\"contact_id.name\\\",\\\"contact_id.default_address_id.address\\\", \\\"contact_id.email\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"ref\\\",\\\"pay_term_id.name\\\",\\\"user_id.name\\\",\\\"lines.index\\\",\\\"lines.product_id.code\\\",\\\"lines.product_id.name\\\",\\\"lines.description\\\",\\\"lines.uom_id.name\\\",\\\"lines.unit_price\\\",\\\"lines.qty\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"currency_id.code\\\",\\\"amount_total\\\",\\\"other_info\\\",\\\"exp_date\\\",\\\"amount_tax\\\"]\", \"filename\": \"Quotation-{number}\", \"header_height\": \"40\", \"footer_height\": \"130\", \"repeat_mode\": \"one\"}, \"code\": \"function on_load() {\\n  var data=get_data();\\n    _.forEach(data._list_data||[],data=>{ \\n      _.forEach(data.lines,o=>{\\n        o.qty=numberWithCommas(o.qty);\\n      });\\n  });\\n  _.forEach(data.lines,o=>{\\n    o.qty=numberWithCommas(o.qty);\\n  });\\n  set_data({lines:data.lines});\\n}\\n\\nfunction numberWithCommas(x) {\\n    var parts = x.toString().split(\\\".\\\");\\n    parts[0] = parts[0].replace(/\\\\B(?=(\\\\d{3})+(?!\\\\d))/g, \\\",\\\");\\n    return parts.join(\\\".\\\");\\n}\"}, \"print_quotation_hardware\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd. \"}, {\"insert\": \"\\n\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27,\\n47400 Petaling Jaya, Selangor \\n\\nTel: +6 03-7622 9772 / 012-287 2735\\n\\nEmail: accounts@smartb.co\\u00a0\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"align\": \"right\", \"image_file\": \"SmartB-08 (1),b6M_J2KTtRs=.png\", \"margin_right\": 20, \"height\": \"135\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"QUOTATION\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 30, \"margin_top\": 40}]}], \"num_cols\": 2, \"col_widths\": [4, 2], \"_col_widths\": \"[4,2]\", \"padding_bottom\": 20}], \"min_height\": 50, \"margin_top\": 60, \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"CUSTOMER:         {contact_id.name}\\n\\nContact Person:  {contact_person_id.name}\\nEmail:                    {contact_person_id.email}\\nPhone:                  {contact_person_id.phone}\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Quotation No.\\nDate\\nValidity\\nSalesperson\\nCurrency\\n\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\n30 Days\\n{user_id.name}\\n{currency_id.code}\\n\"}]}, \"font_size\": 16}]}], \"num_cols\": 4, \"col_widths\": [17, 6, 1, 6], \"_col_widths\": \"[17,6,1,6]\", \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"border_top_width\": 1, \"border_left_width\": 0, \"border_right_width\": 0, \"border_bottom_width\": 1, \"border_color\": \"#9e9e9e\"}], \"min_height\": 50, \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"ITEM\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"color\": \"#000000\", \"bold\": true}, \"insert\": \"DESCRIPTION\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"QTY\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"UNIT\"}, {\"insert\": \"\\t\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"U/PRICE (MYR)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DISC\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"AMOUNT (MYR)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{uom_id.name}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_number(unit_price,\\\"0,0\\\")}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{discount}%\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15, \"padding_right\": null}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"padding_right\": 10}]], \"num_cols\": 7, \"_col_widths\": \"[0.5,4,1,1,1,1,1]\", \"col_widths\": [0.5, 4, 1, 1, 1, 1, 1], \"num_rows\": 2, \"table_bordered\": true, \"table_hover\": true, \"field_rows\": \"lines\", \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"margin_top\": 10, \"margin_left\": null, \"margin_right\": null, \"border_top_width\": 2, \"border_left_width\": 2, \"border_right_width\": 2, \"border_bottom_width\": 2}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"  Subtotal (MYR): \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"Sales & Service Tax: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"margin_left\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total (MYR):\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_right\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [5, 1], \"_col_widths\": \"[5,1]\", \"margin_left\": 5, \"padding_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Payment Terms:\"}, {\"insert\": \" \\n- Full payment is required in order to proceed with the implementation or delivery.\\n\"}]}, \"font_size\": 15, \"margin_top\": 20}], \"min_height\": 50, \"margin_left\": 60, \"margin_right\": 60, \"page_break_after\": true}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Implementation Terms & Conditions\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\", \"bold\": true}, \"insert\": \"1. Implementation & Scheduling\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"i) The company shall allocate time and resources to support the implementation of the system in your business. Where required, an implementation schedule will be provided.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"ii) BOTH PARTIES WILL ADHERE TO THE IMPLEMENTATION CYCLE, the implementation cycle will commence the moment all records and information required submitted. Any possible delay due to technicality or practicality will be discussed.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"iii) The project implementation process breakdown is as such (will be followed unless mentioned and agreed by both parties to a new schedule) :\\u00a0\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"i) Design phase (minimum of 4 weeks)\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"ii) Building Phase (minimum of 6 weeks)\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"iii) In-house Testing phase (minimum of 4 weeks)\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"iv) Client Testing/ Dry Run phase (minimum of 4 weeks)\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"v) Project Live\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"Any delay that is due to the complexity of the project or others will be communicated to the company. SmartB will provide TWO person-in-charge (ONE programmer & ONE support) each with a defined scope on the project.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"iv) Once the schedule is agreed, the company shall provide at least TWO person-in-charge (PIC) who will ensure that the timeline of the implementation is met. The TWO PIC will be responsible for defining the project scope as well responsible to gather all the necessary documents and records for project implementation. Where there is a delay, terms (and penalties) stated in this quotation is applied (see below).\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15, \"padding_left\": 10, \"padding_right\": 5, \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"v) The \\u201cdry run\\u201d (or practice on the demo account) will start as soon as the training is completed. Any outstanding issues must be communicated to SmartB (emailed to support@smartb.co) within 2 weeks after the delivery of the training. If no issues are communicated, or unless agreed on the schedule, it is assumed that the system and training have been successfully implemented.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"vi) SmartB will develop the solution as per the initially defined scope but during the dry run stage if the company found the solution or the features to unsatisfactory The Company is allowed to change or add feature that is within to initial design scope (any alteration that is above or outside of initial design scope will be charged and treated as a separate project).\\u00a0Each of the changes or addition required will be communicated to SmartB through an issue log function (refer to clause on Issue Log). This will be allowed during the testing phase and will be compiled and worked on till a cut off period within the testing phase (agreed by SmartB and The Company), all bugs, alteration and addition will be done during and after the cut off period. Anything after the cut off period will be treated as separate project and will be charged accordingly.\\u00a0\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"vii) Unless there are any outstanding issues or delay, the full (or any outstanding fees) fee/invoice must be paid and cleared to SmartB Solutions Sdn Bhd within 30 days after the training has been delivered. The subscription fees relating to this service will also start at the same time.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\\n\\n\"}, {\"insert\": \"\\n\"}]}, \"font_name\": \"15\", \"padding_left\": 5, \"padding_right\": 10, \"margin_left\": 5, \"margin_right\": 5, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 15, \"margin_left\": 5}], \"min_height\": 600, \"margin_left\": 60, \"margin_right\": 60, \"page_break_after\": false, \"padding_top\": 40, \"margin_top\": 0}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"viii) Additional charges may apply if the implementation is delayed for 1 month, or more (where there is no fault of SmartB), beyond the terms of what was agreed. The penalty of the delay is 10% (per month and non-compounding) of the total price quoted for the implementation of the system. Alternatively, the remaining of the setup fee will be required and the subscription to start immediately.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"ix) Additional charges may apply if the implemented solution which deemed finalized and complete require additional consultation and changes after the date of completion.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"\\u00a0\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"ix) It is the responsibility of the client to read the terms & conditions. Once the deposit is paid, it is assumed that you have agreed and accepted these terms.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\", \"bold\": true}, \"insert\": \"2. Super Users\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"i) Each company must assign Super Users (an IT staff or equivalent) in order to support the implementation and long term operations of the system in the company. The ratio of super users to users should be at a minimum of 1:10. That means, the company should have at least 1 Super User to support the needs of 10 users. Super Users are like IT supervisors to the company and shall be the first line of support to the business.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"ii) Once the subscription begins, assuming that the setup, configuration, and training is completed, all communications can only come directly from the Super Users and SmartB will continue to provide on-going support to them.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\\n\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15, \"padding_left\": 10, \"padding_right\": 5, \"margin_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"iii) As this is an electronic quotation, these terms are assumed agreeable and acceptable once the deposit is paid.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\", \"bold\": true}, \"insert\": \"3. Training\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"i) Unless stated, all training(s) is assumed to be only done once. If more training is required for various outlets and branches, training days will be charged separately. All necessary supplement training will be communicated to SmartB before the project live phase.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"ii) In order to support the training of the users in the business, each user will be given access to SmartB\\u2019s membership site. If you have not received one, please email us at support@smartb.co to request for one.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\", \"bold\": true}, \"insert\": \"4. Issue Log\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"To provide a holistic and customer centric service SmartB has developed an Issue Log function within the SmartB Solution that is developed for The Company. This feature will record all issues submitted by The Company and keep update accordingly on the completion of the issues. (Refer to online academy on how to use issue log to submit issues or query). SmartB has a scheduled practice to keep track of all issues on timely manner and dedicated personal to support but in case of urgency an email can be sent to \"}, {\"attributes\": {\"color\": \"#0563c1\", \"link\": \"mailto:support@smartb.co\"}, \"insert\": \"support@smartb.co\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \" after the submission of issue log.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15, \"padding_left\": 5, \"margin_right\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"padding_top\": 20, \"margin_top\": 5, \"margin_left\": 5, \"margin_bottom\": 15}], \"min_height\": 50, \"margin_left\": 60, \"margin_right\": 60, \"dyn_props\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"On behalf of : {contact_id.name}\\n\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Approved and signed by:\"}, {\"insert\": \"\\n\\n\\n\\n_______________________________\\n\\nName:\\nDate:\\n\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Company Stamp:\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}]}], \"col_widths\": [1, 1]}], \"min_height\": 50, \"padding_top\": 40, \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 40}], \"fields\": \" [\\\"contact_person_id.phone\\\",\\\"contact_person_id.name\\\",\\\"contact_person_id.email\\\",\\\"contact_id.name\\\",\\\"contact_id.default_address_id.address\\\", \\\"contact_id.email\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"ref\\\",\\\"pay_term_id.name\\\",\\\"user_id.name\\\",\\\"lines.index\\\",\\\"lines.product_id.code\\\",\\\"lines.product_id.name\\\",\\\"lines.discount\\\",\\\"lines.description\\\",\\\"lines.uom_id.name\\\",\\\"lines.unit_price\\\",\\\"lines.qty\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"currency_id.code\\\",\\\"amount_total\\\",\\\"other_info\\\",\\\"exp_date\\\",\\\"amount_tax\\\"]\", \"filename\": \"Quotation-{number}\", \"header_height\": \"40\", \"footer_height\": \"130\", \"repeat_mode\": \"one\"}, \"code\": null}, \"print_quotation_simple\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd. \"}, {\"insert\": \"\\n\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27,\\n47400 Petaling Jaya, Selangor \\n\\nTel: +6 03-7622 9772 / 012-287 2735\\nEmail: \"}, {\"attributes\": {\"color\": \"#222222\"}, \"insert\": \"accounts@smartb.co\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"align\": \"right\", \"image_file\": \"SmartB-08 (1),AdcE2u1P02I=.png\", \"margin_right\": 20, \"height\": \"135\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"QUOTATION\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 30, \"margin_top\": 25}]}], \"num_cols\": 2, \"col_widths\": [4, 2], \"_col_widths\": \"[4,2]\", \"padding_bottom\": 10}], \"min_height\": 50, \"margin_top\": 60, \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"CUSTOMER:         {contact_id.name}\\n\\nContact Person:  {contact_person_id.name}\\nEmail:                    {contact_person_id.email}\\nPhone:                  {contact_person_id.phone}\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Quotation No.\\nDate\\nValidity\\nSalesperson\\nCurrency\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\n30 Days\\n{user_id.name}\\n{currency_id.code}\\n\"}]}, \"font_size\": 16}]}], \"num_cols\": 4, \"col_widths\": [17, 6, 1, 6], \"_col_widths\": \"[17,6,1,6]\", \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"border_top_width\": 1, \"border_left_width\": 0, \"border_right_width\": 0, \"border_bottom_width\": 1, \"border_color\": \"#9e9e9e\"}], \"min_height\": 50, \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"ITEM\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"color\": \"#000000\", \"bold\": true}, \"insert\": \"DESCRIPTION\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"QTY\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TAX\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"AMOUNT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{tax_id.code}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, null]], \"num_cols\": 5, \"_col_widths\": \"[0.5,6,0.5,0.5,1.5]\", \"col_widths\": [0.5, 6, 0.5, 0.5, 1.5], \"num_rows\": 2, \"table_bordered\": true, \"table_hover\": true, \"field_rows\": \"lines\", \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"margin_top\": 10, \"margin_left\": null, \"margin_right\": null, \"border_top_width\": 2, \"border_left_width\": 2, \"border_right_width\": 2, \"border_bottom_width\": 2}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"  Subtotal: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"Sales & Service Tax: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"margin_left\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_right\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [5, 1], \"_col_widths\": \"[5,1]\", \"margin_left\": 5, \"padding_bottom\": 10}], \"min_height\": 50, \"margin_left\": 60, \"margin_right\": 60, \"page_break_after\": false}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true}, \"insert\": \"Remarks\"}, {\"insert\": \": \\n{other_info}\\n\"}]}, \"border_width\": 1, \"border_radius\": 0, \"border_color\": \"rgba(0,0,0,0.26)\", \"font_size\": 16}], \"min_height\": 50, \"page_break_after\": true, \"margin_left\": 60, \"margin_right\": 60, \"margin_top\": 30}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Implementation Terms & Conditions\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\", \"bold\": true}, \"insert\": \"1. Implementation & Scheduling\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"i) The company shall allocate time and resources to support the implementation of the system in your business. Where required, an implementation schedule will be provided.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"ii) BOTH PARTIES WILL ADHERE TO THE IMPLEMENTATION CYCLE, the implementation cycle will commence the moment all records and information required submitted. Any possible delay due to technicality or practicality will be discussed.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"iii) The project implementation process breakdown is as such (will be followed unless mentioned and agreed by both parties to a new schedule) :\\u00a0\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"i) Design phase (minimum of 4 weeks)\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"ii) Building Phase (minimum of 6 weeks)\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"iii) In-house Testing phase (minimum of 4 weeks)\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"iv) Client Testing/ Dry Run phase (minimum of 4 weeks)\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"v) Project Live\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"Any delay that is due to the complexity of the project or others will be communicated to the company. SmartB will provide TWO person-in-charge (ONE programmer & ONE support) each with a defined scope on the project.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"iv) Once the schedule is agreed, the company shall provide at least TWO person-in-charge (PIC) who will ensure that the timeline of the implementation is met. The TWO PIC will be responsible for defining the project scope as well responsible to gather all the necessary documents and records for project implementation. Where there is a delay, terms (and penalties) stated in this quotation is applied (see below).\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15, \"padding_left\": 10, \"padding_right\": 5, \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"v) The \\u201cdry run\\u201d (or practice on the demo account) will start as soon as the training is completed. Any outstanding issues must be communicated to SmartB (emailed to support@smartb.co) within 2 weeks after the delivery of the training. If no issues are communicated, or unless agreed on the schedule, it is assumed that the system and training have been successfully implemented.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"vi) SmartB will develop the solution as per the initially defined scope but during the dry run stage if the company found the solution or the features to unsatisfactory The Company is allowed to change or add feature that is within to initial design scope (any alteration that is above or outside of initial design scope will be charged and treated as a separate project).\\u00a0Each of the changes or addition required will be communicated to SmartB through an issue log function (refer to clause on Issue Log). This will be allowed during the testing phase and will be compiled and worked on till a cut off period within the testing phase (agreed by SmartB and The Company), all bugs, alteration and addition will be done during and after the cut off period. Anything after the cut off period will be treated as separate project and will be charged accordingly.\\u00a0\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"vii) Unless there are any outstanding issues or delay, the full (or any outstanding fees) fee/invoice must be paid and cleared to SmartB Solutions Sdn Bhd within 30 days after the training has been delivered. The subscription fees relating to this service will also start at the same time.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\\n\\n\"}, {\"insert\": \"\\n\"}]}, \"font_name\": \"15\", \"padding_left\": 5, \"padding_right\": 10, \"margin_left\": 5, \"margin_right\": 5, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 15, \"margin_left\": 5}], \"min_height\": 600, \"margin_left\": 60, \"margin_right\": 60, \"page_break_after\": false, \"padding_top\": 40, \"margin_top\": 0}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"viii) \"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"All implemented solutions which deemed finalised and approved by client after testing will be recognised as project completion. Any additional consultation and changes to the solution beyond the period of project completion may apply additional charges. The penalty of the delay is 10% (per month and non- compounding) of the total price quoted for the implementation of the system. Any additional charges shall be informed and approved by Client. \"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"ix) It is the responsibility of the client to read the terms & conditions. Once the deposit is paid, it is assumed that you have agreed and accepted these terms.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\", \"bold\": true}, \"insert\": \"2. Super Users\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"i) Each company must assign Super Users (an IT staff or equivalent) in order to support the implementation and long term operations of the system in the company. The ratio of super users to users should be at a minimum of 1:10. That means, the company should have at least 1 Super User to support the needs of 10 users. Super Users are like IT supervisors to the company and shall be the first line of support to the business.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"ii) Once the subscription begins, assuming that the setup, configuration, and training is completed, all communications can only come directly from the Super Users and SmartB will continue to provide on-going support to them.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\\n\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15, \"padding_left\": 10, \"padding_right\": 5, \"margin_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"iii) As this is an electronic quotation, these terms are assumed agreeable and acceptable once the deposit is paid.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\", \"bold\": true}, \"insert\": \"3. Training\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"i) Unless stated, all training(s) is assumed to be only done once. If more training is required for various outlets and branches, training days will be charged separately upon Client approval. All necessary supplement training will be communicated to SmartB before the project live phase.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"ii) In order to support the training of the users in the business, each user will be given access to SmartB\\u2019s membership site. If you have not received one, please email us at support@smartb.co to request for one.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\", \"bold\": true}, \"insert\": \"4. Issue Log\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"To provide a holistic and customer centric service SmartB has developed an Issue Log function within the SmartB Solution that is developed for The Company. This feature will record all issues submitted by The Company and keep update accordingly on the completion of the issues. (Refer to online academy on how to use issue log to submit issues or query). SmartB has a scheduled practice to keep track of all issues on timely manner and dedicated personal to support but in case of urgency an email can be sent to \"}, {\"attributes\": {\"color\": \"#0563c1\", \"link\": \"mailto:support@smartb.co\"}, \"insert\": \"support@smartb.co\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \" after the submission of issue log.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15, \"padding_left\": 5, \"margin_right\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"padding_top\": 20, \"margin_top\": 5, \"margin_left\": 5, \"margin_bottom\": 15}], \"min_height\": 50, \"margin_left\": 60, \"margin_right\": 60, \"dyn_props\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a system generated document. No signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \"\\n\"}]}, \"align\": \"center\", \"font_size\": 16}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"font_size\": 16}]}], \"col_widths\": [1, 1]}], \"min_height\": 50, \"padding_top\": 40, \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 40}], \"fields\": \" [\\\"lines.amount_tax\\\",\\\"lines.tax_id.code\\\",\\\"contact_person_id.phone\\\",\\\"other_info\\\",\\\"contact_person_id.name\\\",\\\"contact_person_id.email\\\",\\\"contact_id.name\\\",\\\"contact_id.default_address_id.address\\\", \\\"contact_id.email\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"ref\\\",\\\"pay_term_id.name\\\",\\\"user_id.name\\\",\\\"lines.index\\\",\\\"lines.product_id.code\\\",\\\"lines.product_id.name\\\",\\\"lines.description\\\",\\\"lines.uom_id.name\\\",\\\"lines.unit_price\\\",\\\"lines.qty\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"currency_id.code\\\",\\\"amount_total\\\",\\\"other_info\\\",\\\"exp_date\\\",\\\"amount_tax\\\"]\", \"filename\": \"Quotation-{number}\", \"header_height\": \"40\", \"footer_height\": \"130\", \"repeat_mode\": \"one\"}, \"code\": \"function on_load() {\\n  var data=get_data();\\n    _.forEach(data._list_data||[],data=>{ \\n      _.forEach(data.lines,o=>{\\n        o.qty=numberWithCommas(o.qty);\\n      });\\n  });\\n  _.forEach(data.lines,o=>{\\n    o.qty=numberWithCommas(o.qty);\\n  });\\n  set_data({lines:data.lines});\\n}\\n\\nfunction numberWithCommas(x) {\\n    var parts = x.toString().split(\\\".\\\");\\n    parts[0] = parts[0].replace(/\\\\B(?=(\\\\d{3})+(?!\\\\d))/g, \\\",\\\");\\n    return parts.join(\\\".\\\");\\n}\"}, \"print_quotation_simple2\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd. \"}, {\"insert\": \"\\n\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27,\\n47400 Petaling Jaya, Selangor \\n\\nTel: +6 03-7622 9772 / 012-287 2735\\nEmail: \"}, {\"attributes\": {\"color\": \"#222222\"}, \"insert\": \"accounts@smartb.co\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"align\": \"right\", \"image_file\": \"SmartB-08 (1),AdcE2u1P02I=.png\", \"margin_right\": 20, \"height\": \"135\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"QUOTATION\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 30, \"margin_top\": 25}]}], \"num_cols\": 2, \"col_widths\": [4, 2], \"_col_widths\": \"[4,2]\", \"padding_bottom\": 10}], \"min_height\": 50, \"margin_top\": 60, \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"CUSTOMER:         {contact_id.name}\\n\\nContact Person:  {contact_person_id.name}\\nEmail:                    {contact_person_id.email}\\nPhone:                  {contact_person_id.phone}\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Quotation No.\\nDate\\nValidity\\nSalesperson\\nCurrency\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{date}\\n30 Days\\n{user_id.name}\\n{currency_id.code}\\n\"}]}, \"font_size\": 16}]}], \"num_cols\": 4, \"col_widths\": [17, 6, 1, 6], \"_col_widths\": \"[17,6,1,6]\", \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"border_top_width\": 1, \"border_left_width\": 0, \"border_right_width\": 0, \"border_bottom_width\": 1, \"border_color\": \"#9e9e9e\"}], \"min_height\": 50, \"margin_left\": 60, \"margin_right\": 60}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"ITEM\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"color\": \"#000000\", \"bold\": true}, \"insert\": \"DESCRIPTION\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"AMOUNT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, null, null, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 15}, null, null, null]], \"num_cols\": 3, \"_col_widths\": \"[0.5,6,2]\", \"col_widths\": [0.5, 6, 2], \"num_rows\": 2, \"table_bordered\": true, \"table_hover\": true, \"field_rows\": \"lines\", \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"margin_top\": 10, \"margin_left\": null, \"margin_right\": null, \"border_top_width\": 2, \"border_left_width\": 2, \"border_right_width\": 2, \"border_bottom_width\": 2}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"  Subtotal: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"Sales & Service Tax: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"margin_left\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_right\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [5, 1], \"_col_widths\": \"[5,1]\", \"margin_left\": 5, \"padding_bottom\": 10}], \"min_height\": 50, \"margin_left\": 60, \"margin_right\": 60, \"page_break_after\": false}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true}, \"insert\": \"Remarks\"}, {\"insert\": \": \\n{other_info}\\n\"}]}, \"border_width\": 1, \"border_radius\": 0, \"border_color\": \"rgba(0,0,0,0.26)\", \"font_size\": 16}], \"min_height\": 50, \"page_break_after\": true, \"margin_left\": 60, \"margin_right\": 60, \"margin_top\": 30}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Implementation Terms & Conditions\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\", \"bold\": true}, \"insert\": \"1. Implementation & Scheduling\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"i) The company shall allocate time and resources to support the implementation of the system in your business. Where required, an implementation schedule will be provided.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"ii) BOTH PARTIES WILL ADHERE TO THE IMPLEMENTATION CYCLE, the implementation cycle will commence the moment all records and information required submitted. Any possible delay due to technicality or practicality will be discussed.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"iii) The project implementation process breakdown is as such (will be followed unless mentioned and agreed by both parties to a new schedule) : \"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"i) Design phase (minimum of 4 weeks)\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"ii) Building Phase (minimum of 6 weeks)\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"iii) In-house Testing phase (minimum of 4 weeks)\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"iv) Client Testing/ Dry Run phase (minimum of 4 weeks)\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"v) Project Live\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"Any delay that is due to the complexity of the project or others will be communicated to the company. SmartB will provide TWO person-in-charge (ONE programmer & ONE support) each with a defined scope on the project.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"iv) Once the schedule is agreed, the company shall provide at least TWO person-in-charge (PIC) who will ensure that the timeline of the implementation is met. The TWO PIC will be responsible for defining the project scope as well responsible to gather all the necessary documents and records for project implementation. Where there is a delay, terms (and penalties) stated in this quotation is applied (see below).\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15, \"padding_left\": 10, \"padding_right\": 5, \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"v) The \\u201cdry run\\u201d (or practice on the demo account) will start as soon as the training is completed. Any outstanding issues must be communicated to SmartB (emailed to support@smartb.co) within 2 weeks after the delivery of the training. If no issues are communicated, or unless agreed on the schedule, it is assumed that the system and training have been successfully implemented.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"vi) SmartB will develop the solution as per the initially defined scope but during the dry run stage if the company found the solution or the features to unsatisfactory The Company is allowed to change or add feature that is within to initial design scope (any alteration that is above or outside of initial design scope will be charged and treated as a separate project). Each of the changes or addition required will be communicated to SmartB through an issue log function (refer to clause on Issue Log). This will be allowed during the testing phase and will be compiled and worked on till a cut off period within the testing phase (agreed by SmartB and The Company), all bugs, alteration and addition will be done during and after the cut off period. Anything after the cut off period will be treated as separate project and will be charged accordingly. \"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"vii) Unless there are any outstanding issues or delay, the full (or any outstanding fees) fee/invoice must be paid and cleared to SmartB Solutions Sdn Bhd within 30 days after the training has been delivered. The subscription fees relating to this service will also start at the same time.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\\n\\n\"}, {\"insert\": \"\\n\"}]}, \"font_name\": \"15\", \"padding_left\": 5, \"padding_right\": 10, \"margin_left\": 5, \"margin_right\": 5, \"font_size\": 15}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 15, \"margin_left\": 5}], \"min_height\": 600, \"margin_left\": 60, \"margin_right\": 60, \"page_break_after\": false, \"padding_top\": 40, \"margin_top\": 0}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"viii) \"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"All implemented solutions which deemed finalised and approved by client after testing will be recognised as project completion. Any additional consultation and changes to the solution beyond the period of project completion may apply additional charges. The penalty of the delay is 10% (per month and non- compounding) of the total price quoted for the implementation of the system. Any additional charges shall be informed and approved by Client. \"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"ix) It is the responsibility of the client to read the terms & conditions. Once the deposit is paid, it is assumed that you have agreed and accepted these terms.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\", \"bold\": true}, \"insert\": \"2. Super Users\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"i) Each company must assign Super Users (an IT staff or equivalent) in order to support the implementation and long term operations of the system in the company. The ratio of super users to users should be at a minimum of 1:10. That means, the company should have at least 1 Super User to support the needs of 10 users. Super Users are like IT supervisors to the company and shall be the first line of support to the business.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \"ii) Once the subscription begins, assuming that the setup, configuration, and training is completed, all communications can only come directly from the Super Users and SmartB will continue to provide on-going support to them.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\\n\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15, \"padding_left\": 10, \"padding_right\": 5, \"margin_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"iii) As this is an electronic quotation, these terms are assumed agreeable and acceptable once the deposit is paid.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\", \"bold\": true}, \"insert\": \"3. Training\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"i) Unless stated, all training(s) is assumed to be only done once. If more training is required for various outlets and branches, training days will be charged separately upon Client approval. All necessary supplement training will be communicated to SmartB before the project live phase.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"ii) In order to support the training of the users in the business, each user will be given access to SmartB\\u2019s membership site. If you have not received one, please email us at support@smartb.co to request for one.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\", \"bold\": true}, \"insert\": \"4. Issue Log\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"To provide a holistic and customer centric service SmartB has developed an Issue Log function within the SmartB Solution that is developed for The Company. This feature will record all issues submitted by The Company and keep update accordingly on the completion of the issues. (Refer to online academy on how to use issue log to submit issues or query). SmartB has a scheduled practice to keep track of all issues on timely manner and dedicated personal to support but in case of urgency an email can be sent to \"}, {\"attributes\": {\"color\": \"#0563c1\", \"link\": \"mailto:support@smartb.co\"}, \"insert\": \"support@smartb.co\"}, {\"attributes\": {\"color\": \"#000000\", \"background\": \"transparent\"}, \"insert\": \" after the submission of issue log.\"}, {\"attributes\": {\"align\": \"justify\"}, \"insert\": \"\\n\\n\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 15, \"padding_left\": 5, \"margin_right\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"padding_top\": 20, \"margin_top\": 5, \"margin_left\": 5, \"margin_bottom\": 15}], \"min_height\": 50, \"margin_left\": 60, \"margin_right\": 60, \"dyn_props\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"On behalf of : {contact_id.name}\\n\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Approved and signed by:\"}, {\"insert\": \"\\n\\n\\n\\n_______________________________\\n\\nName:\\nDate:\\n\\n\"}]}, \"font_size\": 16}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\\n\\n\"}, {\"attributes\": {\"color\": \"#000000\"}, \"insert\": \"Company Stamp:\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}]}], \"col_widths\": [1, 1]}], \"min_height\": 50, \"padding_top\": 40, \"margin_left\": 60, \"margin_right\": 60, \"margin_bottom\": 40}], \"fields\": \" [\\\"contact_person_id.phone\\\",\\\"other_info\\\",\\\"contact_person_id.name\\\",\\\"contact_person_id.email\\\",\\\"contact_id.name\\\",\\\"contact_id.default_address_id.address\\\", \\\"contact_id.email\\\",\\\"contact_id.phone\\\",\\\"number\\\",\\\"date\\\",\\\"ref\\\",\\\"pay_term_id.name\\\",\\\"user_id.name\\\",\\\"lines.index\\\",\\\"lines.product_id.code\\\",\\\"lines.product_id.name\\\",\\\"lines.description\\\",\\\"lines.uom_id.name\\\",\\\"lines.unit_price\\\",\\\"lines.qty\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"currency_id.code\\\",\\\"amount_total\\\",\\\"other_info\\\",\\\"exp_date\\\",\\\"amount_tax\\\"]\", \"filename\": \"Quotation-{number}\", \"header_height\": \"40\", \"footer_height\": \"130\", \"repeat_mode\": \"one\"}, \"code\": \"function on_load() {\\n  var data=get_data();\\n    _.forEach(data._list_data||[],data=>{ \\n      _.forEach(data.lines,o=>{\\n        o.qty=numberWithCommas(o.qty);\\n      });\\n  });\\n  _.forEach(data.lines,o=>{\\n    o.qty=numberWithCommas(o.qty);\\n  });\\n  set_data({lines:data.lines});\\n}\\n\\nfunction numberWithCommas(x) {\\n    var parts = x.toString().split(\\\".\\\");\\n    parts[0] = parts[0].replace(/\\\\B(?=(\\\\d{3})+(?!\\\\d))/g, \\\",\\\");\\n    return parts.join(\\\".\\\");\\n}\"}, \"print_po_new\": {\"layout\": {\"elements\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"Logo v2,Ekuvy9_g66k=.jpeg\", \"width\": \"300\", \"height\": \"120\"}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SmartB Solutions Sdn. Bhd.\\nUnit A211, Lobby 3, Block A,\\nDamansara Intan E-Business Centre 1, Jalan SS20/27\\n47400 Petaling Jaya, Selangor\\nTel: +6 03-7622 9772 / 012-287 2735\\n\\nEmail: accounts@smartb.co\\n\"}]}}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"PURCHASE ORDER\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"align\": \"center\", \"font_size\": 15, \"border_width\": null, \"margin_top\": 20}], \"min_height\": 30}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"vertical_align\": \"bottom\", \"margin_bottom\": 10, \"_col_widths\": \"\", \"margin_left\": 40, \"margin_right\": 40}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#ffffff\"}, \"insert\": \"BILLING / SHIPPING DETAILS:\"}, {\"insert\": \"\\n\"}]}, \"background_color\": \"#666666\", \"padding_top\": 5, \"padding_bottom\": 10, \"padding_left\": 5, \"padding_right\": 5, \"border_top_width\": 1, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_top\": null, \"margin_left\": null}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#ffffff\"}, \"insert\": \"Doc Details\"}, {\"insert\": \"\\n\"}]}, \"background_color\": \"#666666\", \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 10, \"border_top_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"margin_top\": null, \"margin_right\": null, \"border_left_width\": 1}]}], \"num_cols\": 2, \"col_widths\": [2, 1], \"_col_widths\": \"[2,1]\", \"border_width\": null, \"margin_top\": 20, \"margin_left\": 40, \"margin_right\": 40}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SmartB Solutions Sdn. Bhd.\\n\"}]}, \"padding_left\": 10, \"padding_top\": 5, \"padding_right\": 5, \"padding_bottom\": 5}], \"min_height\": 135, \"footer\": false, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}], \"min_height\": 50, \"border_right_width\": null, \"border_bottom_width\": null, \"border_left_width\": null}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"PO No\\nSupplier\\nSupp Email\\nDate\\nRef\\nCurrency\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n:\\n:\\n:\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n{contact_id.name}\\n{contact_id.email}\\n{date}\\n{ref}\\n{currency_id.name}\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [0.5, 0.1, 1], \"_col_widths\": \"[0.5,0.1,1]\", \"padding_left\": 5, \"padding_top\": 5, \"padding_right\": 5, \"padding_bottom\": 3, \"border_bottom_width\": 1, \"border_right_width\": 1}]}], \"num_cols\": 2, \"col_widths\": [2, 1], \"_col_widths\": \"[2,1]\"}], \"min_height\": 50, \"margin_left\": 40, \"margin_right\": 40}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#ffffff\"}, \"insert\": \"Item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"background_color\": \"#666666\", \"color\": \"#ffffff\", \"margin_top\": -5, \"margin_right\": -5, \"margin_left\": -5, \"margin_bottom\": -5, \"padding_top\": 5, \"padding_right\": 5, \"padding_bottom\": 5, \"padding_left\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#ffffff\"}, \"insert\": \"Product Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"background_color\": \"#666666\", \"margin_top\": -5, \"margin_right\": -5, \"margin_bottom\": -5, \"margin_left\": -5, \"padding_top\": 5, \"padding_right\": 5, \"padding_left\": 5, \"padding_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Unit\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"background_color\": \"#666666\", \"color\": \"#ffffff\", \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5, \"margin_top\": -5, \"margin_left\": -5, \"margin_right\": -5, \"margin_bottom\": -5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Unit Price\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"background_color\": \"#666666\", \"color\": \"#ffffff\", \"margin_top\": -5, \"margin_left\": -5, \"margin_right\": -5, \"margin_bottom\": -5, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Qty\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"background_color\": \"#666666\", \"color\": \"#ffffff\", \"margin_top\": -5, \"margin_left\": -5, \"margin_right\": -5, \"margin_bottom\": -5, \"padding_top\": 5, \"padding_left\": 5, \"padding_bottom\": 5, \"padding_right\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"DIsc Amt\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"background_color\": \"#666666\", \"color\": \"#ffffff\", \"margin_top\": -5, \"margin_left\": -5, \"margin_right\": -5, \"margin_bottom\": -5, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Amount\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"background_color\": \"#666666\", \"color\": \"#ffffff\", \"margin_top\": -5, \"margin_left\": -5, \"margin_bottom\": -5, \"margin_right\": -5, \"padding_top\": 5, \"padding_left\": 5, \"padding_bottom\": 5, \"padding_right\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"background_color\": \"#666666\", \"color\": \"#ffffff\", \"margin_top\": -5, \"margin_left\": -5, \"margin_right\": -5, \"margin_bottom\": -5, \"padding_top\": 5, \"padding_left\": 5, \"padding_bottom\": 5, \"padding_right\": 5}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": null, \"margin_bottom\": null, \"align\": \"center\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}, \"margin_bottom\": null, \"align\": \"center\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{uom_id.name}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": null}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": null, \"align\": \"center\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": null, \"align\": \"center\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(discount_amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": null, \"align\": \"center\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": null, \"align\": \"center\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": null, \"align\": \"center\"}]], \"num_cols\": 7, \"field_rows\": \"lines\", \"num_rows\": 2, \"table_bordered\": true, \"padding_top\": 5, \"padding_bottom\": 5, \"padding_left\": 5, \"padding_right\": 5, \"_col_widths\": \"[0.3,2.5,3,0.9,0.9,0.7,0.9]\", \"col_widths\": [0.3, 2.5, 3, 0.9, 0.9, 0.7, 0.9], \"margin_top\": 10, \"vertical_align\": \"middle\", \"margin_left\": 40, \"margin_right\": 40, \"border_width\": 3, \"border_top_width\": 3, \"border_left_width\": 3, \"border_bottom_width\": 3, \"border_right_width\": 3, \"border_radius\": null, \"table_striped\": false, \"border_color\": \"#000000\", \"width\": \"\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Subtotal: {fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"Tax Amount: {fmt_money(amount_tax)}         \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"Total Amount:\"}, {\"attributes\": {\"bold\": true}, \"insert\": \" \"}, {\"insert\": \"{fmt_money(amount_total)}      \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 20, \"margin_right\": 40}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Additional Info:\\n\"}]}, \"background_color\": \"#666666\", \"color\": \"#ffffff\", \"padding_top\": 5, \"padding_right\": 5, \"padding_left\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 40, \"margin_right\": 40, \"margin_top\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{other_info}\\n\"}]}, \"border_width\": 1, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 40, \"margin_right\": 40}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Terms & Conditions:\\n\"}]}, \"background_color\": \"#666666\", \"padding_top\": 5, \"padding_right\": 5, \"padding_left\": 5, \"padding_bottom\": 5, \"color\": \"#ffffff\"}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 40, \"margin_right\": 40, \"margin_top\": 40}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"All goods to be delivered 14 days from date of PO\"}, {\"attributes\": {\"list\": \"ordered\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 5, \"padding_left\": null, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 40, \"margin_right\": 40, \"border_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is computer generated document. No Siganture required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"min_height\": 50, \"margin_top\": 50}], \"fields\": \"[\\\"currency_id.name\\\",\\\"number\\\",\\\"delivery_date\\\",\\\"date\\\",\\\"contact_id.name\\\",\\\"other_info\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\",\\\"lines.index\\\",\\\"lines.product_id.name\\\",\\\"lines.product_id.code\\\",\\\"lines.description\\\",\\\"lines.uom_id.name\\\",\\\"lines.unit_price\\\",\\\"lines.qty\\\",\\\"lines.discount_amount\\\",\\\"lines.amount\\\",\\\"contact_id.default_address_id.address\\\",\\\"ref\\\",\\\"contact_id.email\\\",\\\"lines.amount_tax\\\",\\\"pay_term_id.name\\\",\\\"currency_id.code\\\",\\\"contact_id.phone\\\",\\\"purchase_request_id.number\\\"]\", \"show_page_no\": true, \"custom_css\": \"body{\\ntable\\n{\\nborder-width:2px;border-color:black;\\n}}\", \"page_margin_top\": 20}, \"code\": null}, \"print_po_template\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd. \"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27,\\n47400 Petaling Jaya, Selangor \\nTel: +6 03-7622 9772 / 012-287 2735\\n\\nEmail: \"}, {\"attributes\": {\"color\": \"#222222\"}, \"insert\": \"accounts@smartb.co\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 20}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"align\": \"right\", \"margin_right\": 20, \"image_file\": \"SmartB-03,PvbKj2ki3XE=.jpg\", \"width\": \"220\", \"height\": \"100\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 10, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"PURCHASE ORDER\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 10, \"margin_bottom\": 10, \"margin_left\": 20, \"margin_right\": 20}], \"min_height\": 50, \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 20, \"margin_bottom\": 10, \"header\": false}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"background\": \"#ffffff\", \"bold\": true}, \"insert\": \"BILLING / SHIPPING DETAIL\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 20, \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_id.name}\\n{contact_id.default_address_id.address} {contact_id.default_address_id.address2}\\n{contact_id.default_address_id.postal_code} {contact_id.default_address_id.city}\\n{contact_id.default_address_id.country_id.name}\\n\"}]}, \"margin_left\": 20}]}, {\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"bold\": true}, \"insert\": \"PURCHASE ORDER DETAILS\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 20, \"margin_bottom\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"PO No\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \" Supplier\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"Supplier Email\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \" Date\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \" Ref\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"Currency\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 5, \"margin_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_right\": null, \"align\": \"center\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n{contact_id.name}\\n{contact_id.email}\\n{date}\\n{ref}\\n{currency_id.name}\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [1, 0.1, 1.5], \"_col_widths\": \"[1,0.1,1.5]\"}]}], \"num_cols\": 3, \"col_widths\": [4, 1, 3], \"margin_top\": 10, \"_col_widths\": \"[4,1,3]\", \"margin_left\": 20, \"margin_right\": 20}], \"min_height\": 50, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"ITEM\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DESCRIPTION\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"UNIT\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"QUANTITY\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"UNIT PRICE\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TAX RATE\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DISC AMT\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"AMOUNT\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{uom_id.name}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{tax_id.name}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(discount_amount)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 8, \"num_rows\": 2, \"_col_widths\": \"[0.5,5,0.5,0.5,1,1,1,1]\", \"col_widths\": [0.5, 5, 0.5, 0.5, 1, 1, 1, 1], \"table_bordered\": true, \"margin_left\": 20, \"margin_right\": 20, \"field_rows\": \"lines\", \"margin_bottom\": 10, \"margin_top\": 10, \"table_striped\": true}], \"min_height\": 50, \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 10, \"header\": false, \"footer\": false}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Subtotal\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"Tax amount\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"Total amount\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 5, \"margin_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{currency_id.code} {fmt_money(amount_subtotal)}\\n{currency_id.code} {fmt_money(amount_tax)}\\n{currency_id.code} {fmt_money(amount_total)}\\n\"}]}, \"margin_right\": 20}]}], \"num_cols\": 3, \"col_widths\": [5, 0.1, 1.5], \"_col_widths\": \"[5,0.1,1.5]\", \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 10, \"margin_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"{fmt_words(amount_total)} RINGGIT ONLY\"}, {\"attributes\": {\"indent\": 2}, \"insert\": \"\\n\"}]}, \"margin_top\": 20, \"margin_bottom\": 20, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TERMS AND CONDITIONS\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"All goods to be delivered 14 days from date of PO\"}, {\"attributes\": {\"list\": \"ordered\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 1, \"num_rows\": 2, \"margin_left\": 20, \"margin_right\": 20, \"table_bordered\": true, \"table_striped\": true}], \"min_height\": 50, \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is computer generated document. No signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20, \"margin_top\": 10, \"margin_bottom\": 10}], \"min_height\": 50, \"footer\": true, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": 20}], \"fields\": \"[\\\"number\\\",\\\"contact_id.name\\\",\\\"contact_id.email\\\",\\\"date\\\",\\\"ref\\\",\\\"currency_id.name\\\", \\\"contact_id.name\\\",\\\"contact_id.default_address_id.address\\\",\\\"contact_id.default_address_id.address2\\\",\\\"contact_id.default_address_id.postal_code\\\",\\\"contact_id.default_address_id.city\\\",\\\"contact_id.default_address_id.country_id.name\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.uom_id.name\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.tax_id.name\\\",\\\"lines.discount_amount\\\",\\\"lines.amount\\\",\\\"currency_id.code\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\",\\\"amount_total\\\"]\", \"page_margin_top\": 10, \"custom_css\": \"\"}, \"code\": null}, \"print_stock_count\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"Stock Count\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Warehouse: \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{location_id.name}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Number: \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Date: \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{date}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"_col_widths\": \"[1, 1, 1]\", \"margin_left\": 50, \"margin_right\": null, \"margin_top\": 10}], \"min_height\": 0, \"background_color\": \"#ffffff\", \"padding_top\": null, \"padding_bottom\": null, \"padding_left\": 10, \"padding_right\": 10, \"margin_top\": 20, \"margin_bottom\": 0, \"margin_left\": null, \"margin_right\": null, \"header\": true, \"footer\": false}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"No\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Description\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"New Qty\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"New Cost Price\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"New Cost Amount\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{counter}\\n\"}]}, \"on_click\": \"\", \"name\": \"\", \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product_id.code} {product_id.name}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{new_qty}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{unit_price}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{new_cost_amount}\\n\"}]}, \"font_size\": 18}, null]], \"num_cols\": 8, \"_col_widths\": \"[0.5, 3, 0.5, 1, 1, 1, 1, 1]\", \"col_widths\": [0.5, 3, 0.5, 1, 1, 1, 1, 1], \"field_rows\": \"lines\", \"table_bordered\": true, \"table_striped\": true, \"table_hover\": true, \"on_click\": \"\", \"margin_left\": 50, \"margin_right\": 50, \"margin_top\": 10, \"num_rows\": null}], \"min_height\": 50, \"dyn_props\": \"{hidden: hide}\", \"margin_bottom\": 10, \"margin_top\": 0, \"padding_top\": null, \"padding_bottom\": null, \"avoid_keyboard\": true}, {\"type\": \"box\", \"children\": [], \"min_height\": 50, \"footer\": true}], \"min_height\": null, \"padding_top\": 15, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 30, \"background_color\": \"#ffffff\", \"height\": \"\", \"avoid_keyboard\": true}], \"min_height\": 50}], \"background_color\": \"#f1f1f1\", \"custom_css\": \"body {\\nbackground-color:#f1f1f1;\\n}\", \"fields\": \"[\\\"location_id.name\\\", \\\"number\\\", \\\"date\\\",  \\\"lines.product_id.code\\\", \\\"lines.product_id.name\\\", \\\"lines.new_qty\\\", \\\"lines.unit_price\\\", \\\"lines.new_cost_amount\\\"]\", \"header_height\": \"155\", \"show_page_no\": true, \"footer_height\": \"100\"}, \"code\": \"function on_load(){\\n  var data = get_data();\\n  var lines = data.lines;\\n  \\n  var date = data.date;\\n  var new_date = moment(date).format('DD MMMM YYYY');\\n  data.date = new_date;\\n\\n  var counter = 0;\\n\\n  for (let line of lines){\\n    line.counter = counter + 1;\\n    counter++;\\n  }\\n\\n  set_data();\\n}\\n\"}, \"profit_lost\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"font\": \"serif\", \"bold\": true}, \"insert\": \"Profit and Loss\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"table\", \"elements\": [[null, {\"type\": \"field\", \"field_type\": \"date\", \"placeholder\": \"Date\"}, {\"type\": \"field\", \"field_type\": \"date\", \"placeholder\": \"Date\"}, {\"type\": \"field\", \"field_type\": \"date\", \"placeholder\": \"Date\"}, {\"type\": \"field\", \"field_type\": \"date\", \"placeholder\": \"Date\"}, {\"type\": \"field\", \"field_type\": \"date\", \"placeholder\": \"Date\"}, {\"type\": \"field\", \"field_type\": \"date\", \"placeholder\": \"Date\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"YTD\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Sales - Projects\\n\"}]}}, null, null, null, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Sales - Subscription \\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Income\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Cost of Sales \\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Gross Profit\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Salary related Expenses\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Net Remuneration\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Marketing\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Motor Vehicle Expense\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total OPERATING EXPENSES\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total NON-OPERATING EXPENSES\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Expenses\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net Income\\n\"}]}}]], \"num_cols\": 8, \"num_rows\": 14, \"table_bordered\": true, \"_col_widths\": \"[1.5,1,1,1,1,1,1,1]\", \"col_widths\": [1.5, 1, 1, 1, 1, 1, 1, 1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"GP Margin (Excl Subs)\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"GP Margin (Incl Subs)\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NP Margin (Excl Subs)\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NP Margin (Incl Subs)\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"GP Margin (Incl Salary)\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Sales / Salary\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Salary / Total Cost\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Marketing / Total Cost\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Motor Cost / Total Cost\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Non OP Cost / Total Cost\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Other Cost / Total Cost\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"OP Cost / Total Cost\\n\"}]}}]], \"num_cols\": 8, \"num_rows\": 12, \"_col_widths\": \"[1.5,1,1,1,1,1,1,1]\", \"col_widths\": [1.5, 1, 1, 1, 1, 1, 1, 1], \"margin_left\": 20, \"margin_right\": 20, \"table_bordered\": true}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"font\": \"serif\", \"bold\": true}, \"insert\": \"Bank and Cash\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Banks and Cash\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Net Debtors\\n\"}]}}, null, null, null, null, null, null]], \"margin_left\": 20, \"margin_right\": 180, \"num_cols\": 7, \"num_rows\": 2, \"_col_widths\": \"[1.5,1,1,1,1,1,1]\", \"col_widths\": [1.5, 1, 1, 1, 1, 1, 1]}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cash Flow Chg %\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cash Flow Change\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Debtor Change ratio\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Debtor Change\\n\"}]}}, null, null, null, null, null]], \"num_cols\": 6, \"num_rows\": 4, \"margin_left\": 20, \"margin_right\": 340, \"_col_widths\": \"[1.5,1,1,1,1,1]\", \"col_widths\": [1.5, 1, 1, 1, 1, 1]}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cash / OP Cost\\n\"}]}}], []], \"num_rows\": 1, \"num_cols\": 7, \"_col_widths\": \"[1.5,1,1,1,1,1,1]\", \"col_widths\": [1.5, 1, 1, 1, 1, 1, 1], \"margin_left\": 20, \"margin_right\": 180}], \"min_height\": 50}]}, \"code\": null}, \"profit_loss\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"From:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"date\", \"placeholder\": \"From Date\", \"name\": \"date_from\", \"on_change\": \"\", \"onchange_method\": \"\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": null}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"To:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"date\", \"placeholder\": \"Date\", \"name\": \"date_to\", \"on_change\": \"\", \"onchange_method\": \"\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_right\": null}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"button\", \"width\": \"120\", \"height\": \"65\", \"text\": \"Cur Mth\", \"align\": \"center\", \"background_color\": \"#40cc2f\", \"color\": \"#ffffff\", \"on_click\": \"create_report(1)\"}]}, {\"children\": []}, {\"children\": [{\"type\": \"button\", \"align\": \"center\", \"width\": \"120\", \"height\": \"65\", \"background_color\": \"#40cc2f\", \"color\": \"#ffffff\", \"text\": \"Prev Mth\", \"on_click\": \"create_report(2)\"}]}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1], \"margin_left\": null, \"margin_right\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Performance Analysis\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"min_height\": 50, \"margin_top\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{Period}\\n\"}]}, \"font_size\": 18, \"font_bold\": true}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{Month} Amt\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"YTD\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{string}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"align\": \"left\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount_ytd}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount2}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}]], \"num_cols\": 3, \"num_rows\": 2, \"_col_widths\": \"[1,1,1]\", \"col_widths\": [1, 1, 1], \"table_bordered\": true, \"field_rows\": \"lines\", \"table_hover\": true, \"margin_top\": null, \"margin_left\": null, \"margin_right\": null}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Ratios\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": null, \"margin_right\": null}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Ratios / Percentage\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"YTD Ratios / Percentage\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"GP Margins (Excl Subs)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{GPMargin_ExclSubs.amt} %\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{GPMargin_ExclSubs.amt_ytd} %\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"GP Margins (Incl Subs)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{GPMargin_InclSubs.amt} \"}, {\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"%\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{GPMargin_InclSubs.amt_ytd} \"}, {\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"%\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NP Margin (Excl Subs)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{NPMargin_ExclSubs.amt} %\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{NPMargin_ExclSubs.amt_ytd} %\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NP Margin (Incl Subs)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{NPMargin_InclSubs.amt} \"}, {\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"%\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{NPMargin_InclSubs.amt_ytd} \"}, {\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"%\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"GP Margin (Incl Salary)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{GPMargin_InclSlry.amt} %\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{GPMargin_InclSlry.amt_ytd} %\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Sales / Salary\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{SalesOvrSlry.amt}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{SalesOvrSlry.amt_ytd}\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Salary / Total Cost\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{SlryOvrT_Cost.amt} %\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{SlryOvrT_Cost.amt_ytd} %\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Marketing / Total Cost\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{MrktOvrT_Cost.amt} \"}, {\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"%\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{MrktOvrT_Cost.amt_ytd} \"}, {\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"%\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Motor Cost / Total Cost\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{MotorOverT_Cost.amt} %\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{MotorOverT_Cost.amt_ytd} %\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Non Op Cost / Total Cost\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{NOpCostOverT_Cost.amt} \"}, {\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"%\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{NOpCostOverT_Cost.amt_ytd} \"}, {\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"%\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Other Cost / Total Cost\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{OtherOverT_Cost.amt} %\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{OtherOverT_Cost.amt_ytd} %\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Op Cost / Total Cost\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{OPCostOverT_Cost.amt} %\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{OPCostOverT_Cost.amt_ytd} %\\n\"}]}}]], \"field_rows\": \"\", \"table_bordered\": true, \"_col_widths\": \"[0.7,1,1]\", \"col_widths\": [0.7, 1, 1], \"num_cols\": 3, \"num_rows\": 13, \"name\": \"\", \"margin_top\": 10, \"table_hover\": false, \"repeat_rows_range\": \"\", \"table_striped\": true, \"_col_aligns\": \"\", \"col_aligns\": null, \"margin_left\": null, \"margin_right\": null, \"width\": \"\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Balance Sheet\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"min_height\": 50, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Assets\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{Month} Amount\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Prev Mth Amt\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Prev 2 Mth Amt\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Var 1\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Var 2\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{string}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount1}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount2}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{variance}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{variance2}\\n\"}]}}]], \"num_cols\": 6, \"num_rows\": 2, \"field_rows\": \"bs\", \"_col_widths\": \"[0.5,1,1,1,1,1]\", \"col_widths\": [0.5, 1, 1, 1, 1, 1], \"margin_left\": 20, \"margin_right\": 20, \"table_bordered\": true}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Cash & Debtor Ratios\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Items\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Amount Percentage / Ratio / Changes\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Previous Month Amount Percentage / Ratio\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cash Flow Change %\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{CashFlowPrctg} %\\n\"}]}}, {\"type\": \"text\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cash Flow Change\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{CashFlowChange}\\n\"}]}}, {\"type\": \"text\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Debtor Change Ratio\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{DebtorRatio} %\\n\"}]}}, {\"type\": \"text\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Debtor Change\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{DebtorChange}\\n\"}]}}, {\"type\": \"text\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cash / Op Cost\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{CashOvrOp}\\n\"}]}}, {\"type\": \"text\"}]], \"num_cols\": 2, \"num_rows\": 6, \"table_bordered\": true, \"_col_widths\": \"[0.7,1,1]\", \"col_widths\": [0.7, 1, 1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"box\", \"children\": [], \"min_height\": 50}], \"fields\": \"\"}, \"code\": \"async function on_load(){\\n  // var date=new Date('December 1, 2019');\\n  // date.setDate(1);\\n  // var end_date= new Date(date.getFullYear(), date.getMonth()+1, 0);\\n\\n  // set_data({\\n  //   date_from:date,\\n  //   date_to:end_date\\n  // });\\n\\n  var data = get_data();\\n  var dateFrom = data.date_from;\\n  var dateTo = data.date_to;\\n  \\n  await create_report(1); //default will create a report of current month first\\n  \\n  if(dateFrom == null && dateTo == null){ //get default date, else do nothing\\n      var setData = await rpc_execute(\\\"report.profit.loss\\\", \\\"default_get\\\", []); \\n    \\n    //turn current date to month in string\\n    const currentDate = new Date(setData.date_to);  \\n    const month = currentDate.toLocaleString('default', { month: 'long' });\\n    \\n  set_data({\\n    date_from : setData.date_from,\\n    date_to : setData.date_to,\\n    Month : month\\n  });\\n  }//end if\\n}\\n\\nfunction check_date(){\\n  var data=get_data();\\n  //alert(\\\"run check date\\\");\\n  date1=new Date(data.date_from);\\n  date2=new Date(data.date_to);\\n  if (date1-date2>0){\\n      alert('The period u selected is invalid!');\\n  }\\n\\n}\\n\\n//rewrite existing p&l and balance sheet report id\\n\\nasync function create_report(button){\\n  var data = get_data();\\n  var dateFrom=data.date_from;\\n  var dateTo=data.date_to;\\n\\n  \\n  var data = get_data();\\n\\n  var showYTD = true;\\n  var comPeriod = 3;\\n  var comWith = \\\"month\\\";\\n  var comPeriod2 = 1;\\n  var month=null;\\n  var pl_id = 885; //hardcoded\\n  var bs_id = 164; //hardcoded\\n  \\n  var vals = {\\n    date_from : dateFrom,\\n    date_to : dateTo,\\n    show_ytd : showYTD\\n  };\\n  var vals2={\\n    date : dateTo,\\n    compare_periods : comPeriod,\\n    compare_with : comWith\\n  };\\n  var vals3={\\n    date_from : dateFrom,\\n    date_to : dateTo,\\n    show_ytd : showYTD,\\n    compare_periods : comPeriod2,\\n    compare_with : comWith\\n  }\\n  \\n  //var res = await rpc_execute(\\\"report.profit.loss\\\", \\\"create\\\", [vals]); //create id for profit & loss\\n  //var res2 = await rpc_execute(\\\"report.balance.sheet\\\", \\\"create\\\", [vals2]); //create id for balance sheet\\n  switch(button){\\n    case 1:\\n      \\n          var compare1 = await rpc_execute(\\\"report.profit.loss\\\",\\\"write\\\", [[pl_id],vals]);\\n          var reads1 = await rpc_execute(\\\"report.profit.loss\\\",\\\"read\\\", [[pl_id],vals]);\\n          var compare2 = await rpc_execute(\\\"report.balance.sheet\\\", \\\"write\\\", [[bs_id], vals2]);\\n          var reads2 = await rpc_execute(\\\"report.balance.sheet\\\", \\\"read\\\", [[bs_id], vals2]);\\n       \\n          //await on_load([pl_id], [bs_id], button);\\n          await get_report_data([pl_id], [bs_id], button);\\n\\n        break;\\n    case 2:\\n      \\n          var compare1 = await rpc_execute(\\\"report.profit.loss\\\", \\\"write\\\", [[pl_id],vals3]);\\n          var reads1= await rpc_execute(\\\"report.profit.loss\\\", \\\"read\\\", [[pl_id],vals3]);\\n          var compare2 = await rpc_execute(\\\"report.balance.sheet\\\", \\\"write\\\", [[bs_id],vals2]);\\n          var reads2 = await rpc_execute(\\\"report.balance.sheet\\\", \\\"read\\\", [[bs_id], vals2]);\\n\\t\\n      \\n          //await on_load([pl_id], [bs_id], button);\\n         await get_report_data([pl_id], [bs_id], button);\\n\\n        \\n\\n      break;\\n               }\\n}\\n\\n//calculate p&l data\\nasync function get_report_data(res, res2, button){\\n\\n  var cond = res; //set condition get the data according to id\\n  var res = await rpc_execute(\\\"report.profit.loss\\\", \\\"get_report_data\\\", [cond]);\\n  //var res = await rpc_execute(\\\"report.profit.loss\\\", \\\"get_report_data\\\", [[885]]);\\n  //console.log('Condition ',cond)\\n  var lines = []; //array use for calculation\\n  var linesWFormat = []; //use for display purpose on the table layout\\n\\n  \\n  var income = [\\\"Total Sales- ERP Projects\\\", \\\"Total Sales - Subscription\\\",\\\"Total Sales - Automation Projects\\\",\\\"Total Income\\\", \\\"Total Cost of Sales\\\", \\\"Gross Profit\\\",\\\"Total Other Income\\\",\\n  \\\"Total Salary related Expenses\\\", \\\"Total Net Remuneration\\\", \\\"Total Marketing\\\", \\\"Total Motor Vehicle Expense\\\",\\n  \\\"Total OPERATING EXPENSES\\\", \\\"Total NON-OPERATING EXPENSES\\\", \\\"Total Expenses\\\",\\\"Net Income\\\"];\\n\\n  var numberObj = [];\\n  var assign = [];\\n  var incomeString = [];\\n  var calc = [];\\n  var addMissingIncome=new Object();\\n  \\n  console.log(\\\"what is res\\\", res);\\n\\n  //Retrieve all the report data according to date and income\\n  for(var i=0; i\n                                                                                                                                                                                                                                                        <res.lines.length; i++){\\n    if(!income.includes(res.lines[i].string)){\\n       continue;\\n    }\\n\\n    var strg = res.lines[i].string;\\n    switch(button){ //reassign the amount based on button trigger\\n      case 1:\\n        var amt = res.lines[i].amount;\\n        var dateTo = res.date_to;\\n        var dateFrom = res.date_from;\\n        break;\\n      case 2:\\n        var amt = res.lines[i].amount1;\\n        var dateTo = res.date_to1;\\n        var dateFrom = res.date_from1;\\n        break;\\n      default:\\n        var amt = res.lines[i].amount;\\n        var dateTo = res.date_to;\\n        var dateFrom = res.date_from;\\n                               }\\n    \\n    var amt_ytd = res.lines[i].amount_ytd;\\n    \\n    lines[i]={ //use for calculation data\\n      string : strg,\\n      amount : amt,\\n      amount_ytd : amt_ytd,\\n      _cid : _.uniqueId()\\n    }; //end obj\\n    \\n    numberObj.push(lines[i]);//push report data into new array\\n    \\n  }; //end loop\\n  \\n  console.log(\\\"old numberObj??\\\", numberObj);\\n  \\n  //check missing data\\n  \\n  for(let i=0, len=income.length; i\n                                                                                                                                                                                                                                                            <len; i++){ // Fixed 13 income array\\n    for(let j=0, len=numberObj.length; j\n                                                                                                                                                                                                                                                                <len; j++){ //This will add up the array up to 13 if the report have missing income, example: current month\\n      if(numberObj[j].string !== income[j]){ //if database income not same with specified income\\n          console.log(\\\"test  :  \\\"+String(numberObj.length));\\n        numberObj.splice(j, 0, addMissingIncome={string: income[j], amount: 0, amount_ytd: 0}); //fill up the missing array up to 13 with amount as 0\\n      };//end if\\n    }; //end inner loop\\n  }; //end outer loop\\n  \\n  console.log(\\\"numberOBj latest update\\\", numberObj);\\n\\n  for(let x=0, len=numberObj.length; x\n                                                                                                                                                                                                                                                                    <len; x++){\\n    \\n    var strg = numberObj[x].string;\\n    var amt = numberObj[x].amount;\\n    var amt_ytd = numberObj[x].amount_ytd;\\n    \\n    function formatNumber(num) { //change the number into comma style(string)\\n      return num.toString().replace(/(\\\\d)(?=(\\\\d{3})+(?!\\\\d))/g, '$1,')\\n    };\\n    \\n    linesWFormat[x]={ //assign the number with comma style format\\n      string : strg,\\n      amount : formatNumber(amt.toFixed(0)),\\n      amount_ytd : formatNumber(amt_ytd.toFixed(0)),\\n      _cid : _.uniqueId()\\n    }; //end obj\\n    \\n    assign[x]={ //set amt & ytd into assign object\\n      amount : numberObj[x].amount,\\n      ytd : numberObj[x].amount_ytd,\\n    }\\n    \\n\\n    switch(x){\\n      case 0 : var T_SalesProj = assign[x]; break;\\n      case 1 : var T_SalesSubs = assign[x]; break;\\n      case 2 : var T_SalesProj_auto = assign[x]; break;\\n      case 3 : var T_Income = assign[x]; break;\\n      case 4 : var T_CostSales = assign[x]; break;\\n      case 5 : var GProfit = assign[x]; break;\\n      case 6 : var total_other = assign[x]; break;\\n      case 7 : var T_SalaryExpss = assign[x]; break;\\n      case 8 : var T_NetRenu = assign[x]; break;\\n      case 9 : var T_Market = assign[x]; break;\\n      case 10 : var T_MVehExpss = assign[x]; break;\\n      case 11 : var OpExpss = assign[x]; break;\\n      case 12 : var N_OpsExpss = assign[x]; break;\\n      case 13 : var T_Expss = assign[x]; break;\\n      case 14 : var NetIncome = assign[x]; break;\\n      \\n      \\n            };//end switch\\n      \\n          }; //end loop\\n  //calculation\\n  console.log(T_SalesProj.amount);\\n  console.log(T_SalesSubs.amount);\\n  console.log( T_SalesProj_auto.amount);\\n  console.log(T_Income.amount);\\n  console.log(T_CostSales.amount);\\n  console.log(GProfit.amount);\\n  console.log(total_other.amount);\\n  console.log(T_SalaryExpss.amount);\\n  console.log(T_NetRenu.amount);\\n  console.log(T_Market.amount);\\n  console.log(T_MVehExpss.amount);\\n  console.log(OpExpss.amount);\\n  console.log(N_OpsExpss.amount);\\n  console.log(T_Expss.amount);\\n  console.log(NetIncome.amount);\\n  var c={\\n    GPMargin_ExclSubs : {amt : (((T_SalesProj.amount - T_CostSales.amount) / T_SalesProj.amount) * 100).toFixed(2),\\n                        amt_ytd : (((T_SalesProj.ytd - T_CostSales.ytd) / T_SalesProj.ytd) * 100).toFixed(2)},\\n    GPMargin_InclSubs : {amt : ((GProfit.amount / T_Income.amount) * 100).toFixed(2),\\n                        amt_ytd : ((GProfit.ytd / T_Income.ytd) * 100).toFixed(2)},\\n    NPMargin_ExclSubs : {amt : (((NetIncome.amount - T_SalesSubs.amount) / T_SalesProj.amount) * 100).toFixed(2),\\n                        amt_ytd : (((NetIncome.ytd - T_SalesSubs.ytd) / T_SalesProj.ytd) * 100).toFixed(2)},\\n    NPMargin_InclSubs : {amt : ((NetIncome.amount / T_Income.amount) *100).toFixed(2),\\n                        amt_ytd : ((NetIncome.ytd / T_Income.ytd) *100).toFixed(2)},\\n    GPMargin_InclSlry : {amt : (((T_SalesProj.amount - T_NetRenu.amount - T_CostSales.amount)/T_SalesProj.amount) * 100).toFixed(2),\\n                        amt_ytd : (((T_SalesProj.ytd - T_NetRenu.ytd - T_CostSales.ytd)/T_SalesProj.ytd) * 100).toFixed(2)},\\n    SalesOvrSlry : {amt : (T_SalesProj.amount / T_NetRenu.amount).toFixed(2),\\n                   amt_ytd : (T_SalesProj.ytd / T_NetRenu.ytd).toFixed(2)},\\n    SlryOvrT_Cost : {amt : ((T_NetRenu.amount / T_Expss.amount) * 100).toFixed(2),\\n                     amt_ytd : ((T_NetRenu.ytd / T_Expss.ytd) * 100).toFixed(2)},\\n    MrktOvrT_Cost : {amt : ((T_Market.amount / T_Expss.amount) * 100).toFixed(2),\\n                    amt_ytd : ((T_Market.ytd / T_Expss.ytd) * 100).toFixed(2)},\\n    MotorOverT_Cost : {amt : ((T_MVehExpss.amount / T_Expss.amount) * 100).toFixed(2),\\n                      amt_ytd : ((T_MVehExpss.ytd / T_Expss.ytd) * 100).toFixed(2)},\\n    NOpCostOverT_Cost : {amt : ((N_OpsExpss.amount / T_Expss.amount) * 100).toFixed(2),\\n                        amt_ytd : ((N_OpsExpss.ytd / T_Expss.ytd) * 100).toFixed(2)},\\n    OPCostOverT_Cost : {amt : ((OpExpss.amount / T_Expss.amount) * 100).toFixed(2),\\n                       amt_ytd : ((OpExpss.ytd / T_Expss.ytd) * 100).toFixed(2)}\\n  }\\n\\n  //reference to c object calculation\\n  var c2={\\n    OtherOverT_Cost : {amt : (100 - c.SlryOvrT_Cost.amt - c.MrktOvrT_Cost.amt - c.MotorOverT_Cost.amt - c.NOpCostOverT_Cost.amt).toFixed(2),\\n                      amt_ytd : (100 - c.SlryOvrT_Cost.amt_ytd - c.MrktOvrT_Cost.amt_ytd - c.MotorOverT_Cost.amt_ytd - c.NOpCostOverT_Cost.amt_ytd).toFixed(2)}\\n  }\\n  \\n  var currentDate = new Date(dateFrom);  // 2009-11-10\\n  const start_month = currentDate.toLocaleString('default', { month: 'long' });\\n  const start_day = currentDate.toLocaleString('default', { day: \\\"2-digit\\\" });\\n  const start_year = currentDate.toLocaleString('default', { year: \\\"numeric\\\" });\\n  var period = \\\"From \\\"+start_day+\\\" \\\"+start_month+\\\" \\\"+start_year+\\\" to \\\";\\n\\n  currentDate = new Date(dateTo);  // 2009-11-10\\n  const end_month = currentDate.toLocaleString('default', { month: 'long' });\\n  const end_day = currentDate.toLocaleString('default', { day: \\\"2-digit\\\" });\\n  const end_year = currentDate.toLocaleString('default', { year: \\\"numeric\\\" });\\n  period += end_day+\\\" \\\"+end_month+\\\" \\\"+end_year;\\n\\n  set_data({\\n    lines : linesWFormat,\\n    GPMargin_ExclSubs : c.GPMargin_ExclSubs,\\n    GPMargin_InclSubs : c.GPMargin_InclSubs,\\n    NPMargin_ExclSubs : c.NPMargin_ExclSubs,\\n    NPMargin_InclSubs : c.NPMargin_InclSubs,\\n    GPMargin_InclSlry : c.GPMargin_InclSlry,\\n    SalesOvrSlry : c.SalesOvrSlry,\\n    SlryOvrT_Cost : c.SlryOvrT_Cost,\\n    MrktOvrT_Cost : c.MrktOvrT_Cost,\\n    MotorOverT_Cost : c.MotorOverT_Cost,\\n    NOpCostOverT_Cost : c.NOpCostOverT_Cost,\\n    OtherOverT_Cost : c2.OtherOverT_Cost,\\n    OPCostOverT_Cost : c.OPCostOverT_Cost,\\n    Month : start_month,\\n    Period : period\\n    \\n  });\\n  \\n  get_balance_sheet(res2, OpExpss.amount, button); //bring the id to balance sheet function & OP Cost\\n\\n};\\n\\n//calculate balance sheet\\nasync function get_balance_sheet(res2, OpExpssObj, button){\\n  console.log(\\\"check 3 values bs\\\", res2 + \\\" \\\" + OpExpssObj + \\\" \\\" + button);\\n  var cond = res2;\\n  var res2 = await rpc_execute(\\\"report.balance.sheet\\\", \\\"get_report_data\\\", [cond]);\\n  var lines = [];\\n  var linesWF = [];\\n  var assets = [\\\"Total Banks & Cash\\\",\\\"Total Net Debtors\\\"];\\n  var numberObj2 = [];\\n  var assign2 = [];\\n  \\n  for(var i=0; i\n                                                                                                                                                                                                                                                                        <res2.lines.length; i++){\\n    if(!assets.includes(res2.lines[i].string)){\\n       continue;\\n       }\\n    var strg = res2.lines[i].string;\\n    var dateTo1 = res2.lines[0].date_to1;\\n    console.log(\\\"dAte\\\",dateTo1)\\n    switch (button){\\n      case 1:\\n        var amt = res2.lines[i].amount;\\n        var amt1 = res2.lines[i].amount1;\\n        var amt2 = res2.lines[i].amount2;\\n        break;\\n      case 2:\\n        var amt = res2.lines[i].amount1;\\n        var amt1 = res2.lines[i].amount2;\\n        var amt2 = res2.lines[i].amount3;\\n        break;\\n      default:\\n        var amt = res2.lines[i].amount;\\n        var amt1 = res2.lines[i].amount1;\\n        var amt2 = res2.lines[i].amount2;\\n                  }\\n    \\n    //rows object stored in lines\\n    lines[i]={\\n      string : strg,\\n      amount : amt,\\n      amount1 : amt1,\\n      amount2 : amt2,\\n      variance : amt - amt1,\\n      variance2 : amt1 - amt2,\\n     _cid : _.uniqueId()\\n    };\\n    \\n    function formatNums(num) { //change the number into comma style(string)\\n      return num.toString().replace(/(\\\\d)(?=(\\\\d{3})+(?!\\\\d))/g, '$1,')\\n    }\\n    \\n    var nullable;\\n    if(amt1 != null || amt2 != null){\\n      nullable = true;\\n    }else{\\n      nullable = false;\\n    }\\n      \\n    linesWF[i]={\\n      string : strg,\\n      amount : formatNums(amt.toFixed(0)),\\n      amount1 : nullable? formatNums(amt1.toFixed(0)) : null, //only format amount if it is not null\\n      amount2 : nullable? formatNums(amt2.toFixed(0)) : null,\\n      variance : formatNums((lines[i].variance).toFixed(0)),\\n      variance2 : formatNums((lines[i].variance2).toFixed(0)),\\n      _cid : _.uniqueId()\\n    }\\n    \\n    numberObj2.push(lines[i]); //push report data into new array\\n    var y = numberObj2.length-1;//set an incremental index, array start from 0\\n    \\n    console.log(\\\"numberObj?\\\", numberObj2);\\n    \\n    assign2[y]={ //set amt & ytd into assign object\\n      amount : numberObj2[y].amount,\\n      amount1 : numberObj2[y].amount1,\\n      amount2 : numberObj2[y].amount2\\n    }\\n    \\n    switch(y){\\n      case 0: var T_Bank_Cash = assign2[y];break;\\n      case 1: var T_NetDebtors = assign2[y];break;\\n            }\\n  }//end loop\\n  \\n  //calculation\\n  var c={\\n    CashFlowPrctg : (((T_Bank_Cash.amount - T_Bank_Cash.amount1) / T_Bank_Cash.amount1) * 100).toFixed(2),\\n    CashFlowChange : (T_Bank_Cash.amount - T_Bank_Cash.amount1).toFixed(0),\\n    DebtorRatio : (((T_NetDebtors.amount - T_NetDebtors.amount1) / T_NetDebtors.amount1) * 100).toFixed(2),\\n    DebtorChange : (T_NetDebtors.amount - T_NetDebtors.amount1).toFixed(0),\\n    CashOvrOp : (T_Bank_Cash.amount / OpExpssObj).toFixed(2)\\n  }\\n  \\n  set_data({\\n    bs : linesWF,\\n    CashFlowPrctg : c.CashFlowPrctg,\\n    CashFlowChange : formatNums(c.CashFlowChange),\\n    DebtorRatio : c.DebtorRatio,\\n    DebtorChange : formatNums(c.DebtorChange),\\n    CashOvrOp : c.CashOvrOp,\\n    \\n  });\\n}\"}, \"profit_loss (test)\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"From:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"date\", \"placeholder\": \"From Date\", \"name\": \"date_from\", \"on_change\": \"\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": null}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"To:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"date\", \"placeholder\": \"Date\", \"name\": \"date_to\", \"on_change\": \"\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_right\": null}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"button\", \"width\": \"120\", \"height\": \"65\", \"text\": \"Current Month Report\", \"align\": \"center\", \"background_color\": \"#40cc2f\", \"color\": \"#ffffff\", \"on_click\": \"create_report(1)\"}]}, {\"children\": []}, {\"children\": [{\"type\": \"button\", \"align\": \"center\", \"width\": \"120\", \"height\": \"65\", \"text\": \"Previous Month Report\", \"background_color\": \"#1dd806\", \"color\": \"#f4efef\", \"on_click\": \"create_report(2)\"}]}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1], \"margin_left\": null, \"margin_right\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Profit and Loss\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Current Month: {Month}\\n\"}]}}], \"min_height\": 50, \"margin_top\": 10}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Income\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Amount\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"YTD\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{string}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"align\": \"left\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount_ytd}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount2}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}]], \"num_cols\": 3, \"num_rows\": 2, \"_col_widths\": \"[1,1,1]\", \"col_widths\": [1, 1, 1], \"table_bordered\": true, \"field_rows\": \"lines\", \"table_hover\": true, \"margin_top\": null, \"margin_left\": null, \"margin_right\": null}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Calculations\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": null, \"margin_right\": null}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Calculation\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Amount Percentage / Ratio\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"YTD Percentage / Ratio\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"GP Margins (Excl Subs)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{GPMargin_ExclSubs.amt} %\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{GPMargin_ExclSubs.amt_ytd} %\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"GP Margins (Incl Subs)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{GPMargin_InclSubs.amt} \"}, {\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"%\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{GPMargin_InclSubs.amt_ytd} \"}, {\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"%\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NP Margin (Excl Subs)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{NPMargin_ExclSubs.amt} %\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{NPMargin_ExclSubs.amt_ytd} %\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NP Margin (Incl Subs)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{NPMargin_InclSubs.amt} \"}, {\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"%\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{NPMargin_InclSubs.amt_ytd} \"}, {\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"%\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"GP Margin (Incl Salary)\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{GPMargin_InclSlry.amt} %\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{GPMargin_InclSlry.amt_ytd} %\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Sales / Salary\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{SalesOvrSlry.amt}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{SalesOvrSlry.amt_ytd}\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Salary / Total Cost\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{SlryOvrT_Cost.amt} %\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{SlryOvrT_Cost.amt_ytd} %\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Marketing / Total Cost\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{MrktOvrT_Cost.amt} \"}, {\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"%\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{MrktOvrT_Cost.amt_ytd} \"}, {\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"%\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Motor Cost / Total Cost\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{MotorOverT_Cost.amt} %\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{MotorOverT_Cost.amt_ytd} %\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Non Op Cost / Total Cost\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{NOpCostOverT_Cost.amt} \"}, {\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"%\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{NOpCostOverT_Cost.amt_ytd} \"}, {\"attributes\": {\"background\": \"#ffffff\"}, \"insert\": \"%\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Other Cost / Total Cost\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{OtherOverT_Cost.amt} %\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{OtherOverT_Cost.amt_ytd} %\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Op Cost / Total Cost\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{OPCostOverT_Cost.amt} %\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{OPCostOverT_Cost.amt_ytd} %\\n\"}]}}]], \"field_rows\": \"\", \"table_bordered\": true, \"_col_widths\": \"[0.7,1,1]\", \"col_widths\": [0.7, 1, 1], \"num_cols\": 3, \"num_rows\": 13, \"name\": \"\", \"margin_top\": 10, \"table_hover\": false, \"repeat_rows_range\": \"\", \"table_striped\": true, \"_col_aligns\": \"\", \"col_aligns\": null, \"margin_left\": null, \"margin_right\": null, \"width\": \"\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Balance Sheet\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"min_height\": 50, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Assets\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Current Month Amount\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Previous Month Amount\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Previous 2 Months Amount\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Variance\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{string}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount1}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount2}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{variance}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 5, \"num_rows\": 2, \"field_rows\": \"bs\", \"_col_widths\": \"[0.5,1,1,1,1]\", \"col_widths\": [0.5, 1, 1, 1, 1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Calculations\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Calculation\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Amount Percentage / Ratio / Changes\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Amount Percentage / Ratio / Changes (Previous 2 Month)\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cash Flow Change %\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{CashFlowPrctg} %\\n\"}]}}, {\"type\": \"text\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cash Flow Change\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{CashFlowChange}\\n\"}]}}, {\"type\": \"text\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Debtor Change Ratio\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{DebtorRatio} %\\n\"}]}}, {\"type\": \"text\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Debtor Change\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{DebtorChange}\\n\"}]}}, {\"type\": \"text\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cash / Op Cost\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{CashOvrOp}\\n\"}]}}, {\"type\": \"text\"}]], \"num_cols\": 2, \"num_rows\": 6, \"table_bordered\": true, \"_col_widths\": \"[0.7,1]\", \"col_widths\": [0.7, 1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"box\", \"children\": [], \"min_height\": 50}], \"fields\": \"\"}, \"code\": \"async function on_load(res, res2, button){\\n  await get_report_data(res, res2, button);\\n  \\n  var data = get_data();\\n  var dateFrom = data.date_from;\\n  var dateTo = data.date_to;\\n  \\n  if(dateFrom == null && dateTo == null){ //get default date, else do nothing\\n  \\tvar setData = await rpc_execute(\\\"report.profit.loss\\\", \\\"default_get\\\", []); \\n    \\n    //turn current date to month in string\\n    const currentDate = new Date(setData.date_to);  \\n\\tconst month = currentDate.toLocaleString('default', { month: 'long' });\\n    \\n  set_data({\\n    date_from : setData.date_from,\\n    date_to : setData.date_to,\\n    Month : month\\n  });\\n  }//end if\\n}\\n\\n//rewrite existing p&l and balance sheet report id\\nasync function create_report(button){\\n  \\n  var data = get_data();\\n  var dateFrom = data.date_from;\\n  var dateTo = data.date_to;\\n  var showYTD = true;\\n  var comPeriod = 3;\\n  var comWith = \\\"month\\\";\\n  var comPeriod2 = 1;\\n  \\n  var pl_id = 885; //hardcoded\\n  var bs_id = 164; //hardcoded\\n  \\n  var vals = {\\n    date_from : dateFrom,\\n    date_to : dateTo,\\n    show_ytd : showYTD\\n  };\\n  var vals2={\\n    date : dateTo,\\n    compare_periods : comPeriod,\\n    compare_with : comWith\\n  };\\n  var vals3={\\n    date_from : dateFrom,\\n    date_to : dateTo,\\n    show_ytd : showYTD,\\n    compare_periods : comPeriod2,\\n    compare_with : comWith\\n  }\\n  \\n  //var res = await rpc_execute(\\\"report.profit.loss\\\", \\\"create\\\", [vals]); //create id for profit & loss\\n  //var res2 = await rpc_execute(\\\"report.balance.sheet\\\", \\\"create\\\", [vals2]); //create id for balance sheet\\n  switch(button){\\n    case 1:\\n  \\t\\tvar compare1 = await rpc_execute(\\\"report.profit.loss\\\",\\\"write\\\", [[pl_id],vals]);\\n  \\t\\tvar reads1 = await rpc_execute(\\\"report.profit.loss\\\",\\\"read\\\", [[pl_id],vals]);\\n  \\t\\tvar compare2 = await rpc_execute(\\\"report.balance.sheet\\\", \\\"write\\\", [[bs_id], vals2]);\\n  \\t\\tvar reads2 = await rpc_execute(\\\"report.balance.sheet\\\", \\\"read\\\", [[bs_id], vals2]);\\n      \\tawait on_load([pl_id], [bs_id], button);\\n      break;\\n    case 2:\\n      \\tvar compare1 = await rpc_execute(\\\"report.profit.loss\\\", \\\"write\\\", [[pl_id],vals3]);\\n      \\tvar reads1= await rpc_execute(\\\"report.profit.loss\\\", \\\"read\\\", [[pl_id],vals3]);\\n      \\tvar compare2 = await rpc_execute(\\\"report.balance.sheet\\\", \\\"write\\\", [[bs_id],vals2]);\\n      \\tvar reads2 = await rpc_execute(\\\"report.balance.sheet\\\", \\\"read\\\", [[bs_id], vals2]);\\n      \\tawait on_load([pl_id], [bs_id], button);\\n      break;\\n               }\\n  \\n}\\n\\n//calculate p&l data\\nasync function get_report_data(res, res2, button){\\n  var cond = res; //set condition get the data according to id\\n  var res = await rpc_execute(\\\"report.profit.loss\\\", \\\"get_report_data\\\", [cond]);\\n  var lines = []; //array use for calculation\\n  var linesWFormat = []; //use for display purpose on the table layout\\n  var income = [\\\"Total Sales- Projects\\\", \\\"Total Sales - Subscription\\\",\\\"Total Income\\\", \\\"Total Cost of Sales\\\", \\\"Gross Profit\\\",\\n               \\\"Total Salary related Expenses\\\", \\\"Total Net Remuneration\\\", \\\"Total Marketing\\\", \\\"Total Marketing\\\", \\\"Total Motor Vehicle Expense\\\",\\n               \\\"Total OPERATING EXPENSES\\\", \\\"Total NON-OPERATING EXPENSES\\\", \\\"Total Expenses\\\", \\\"Net Income\\\"];\\n  var numberObj = [];\\n  var assign = [];\\n  var incomeString = [];\\n  var calc = [];\\n  \\n  //Retrieve all the report data according to date and income\\n  for(var i=0; i\n                                                                                                                                                                                                                                                                            <res.lines.length; i++){\\n    if(!income.includes(res.lines[i].string)){\\n       continue;\\n    }\\n    var strg = res.lines[i].string;\\n    switch(button){ //reassign the amount based on button trigger\\n      case 1:\\n        var amt = res.lines[i].amount;\\n        var dateTo = res.date_to;\\n        break;\\n      case 2:\\n        var amt = res.lines[i].amount1;\\n        var dateTo = res.date_to1;\\n        break;\\n      default:\\n        var amt = res.lines[i].amount;\\n        var dateTo = res.date_to;\\n                               }\\n    var amt_ytd = res.lines[i].amount_ytd;\\n    \\n    lines[i]={ //use for calculation data\\n      string : strg,\\n      amount : amt,\\n      amount_ytd : amt_ytd,\\n      _cid : _.uniqueId(),\\n    };\\n    \\n    function formatNumber(num) { //change the number into comma style(string)\\n      return num.toString().replace(/(\\\\d)(?=(\\\\d{3})+(?!\\\\d))/g, '$1,')\\n    }\\n    \\n    linesWFormat[i]={ //assign the number with comma style format\\n      string : strg,\\n      amount : formatNumber(amt.toFixed(0)),\\n      amount_ytd : formatNumber(amt_ytd.toFixed(0)),\\n      _cid : _.uniqueId()\\n    }\\n    \\n    numberObj.push(lines[i]); //push report data into new array\\n    var x = numberObj.length-1;//set an incremental index, array start from 0\\n    \\n    assign[x]={ //set amt & ytd into assign object\\n      amount : numberObj[x].amount,\\n      ytd : numberObj[x].amount_ytd,\\n    }\\n    \\n    switch(x){\\n      case 0 : var T_SalesProj = assign[x]; break;\\n      case 1 : var T_SalesSubs = assign[x]; break;\\n      case 2 : var T_Income = assign[x]; break;\\n      case 3 : var T_CostSales = assign[x]; break;\\n      case 4 : var GProfit = assign[x]; break;\\n      case 5 : var T_SalaryExpss = assign[x]; break;\\n      case 6 : var T_NetRenu = assign[x]; break;\\n      case 7 : var T_Market = assign[x]; break;\\n      case 8 : var T_MVehExpss = assign[x]; break;\\n      case 9 : var OpExpss = assign[x]; break;\\n      case 10 : var N_OpsExpss = assign[x]; break;\\n      case 11 : var T_Expss = assign[x]; break;\\n      case 12 : var NetIncome = assign[x]; break;\\n            }\\n  } //end loop\\n  \\n  //calculation\\n  var c={\\n    GPMargin_ExclSubs : {amt : (((T_SalesProj.amount - T_CostSales.amount) / T_SalesProj.amount) * 100).toFixed(2),\\n                        amt_ytd : (((T_SalesProj.ytd - T_CostSales.ytd) / T_SalesProj.ytd) * 100).toFixed(2)},\\n    GPMargin_InclSubs : {amt : ((GProfit.amount / T_Income.amount) * 100).toFixed(2),\\n                        amt_ytd : ((GProfit.ytd / T_Income.ytd) * 100).toFixed(2)},\\n    NPMargin_ExclSubs : {amt : (((NetIncome.amount - T_SalesSubs.amount) / T_SalesProj.amount) * 100).toFixed(2),\\n                        amt_ytd : (((NetIncome.ytd - T_SalesSubs.ytd) / T_SalesProj.ytd) * 100).toFixed(2)},\\n    NPMargin_InclSubs : {amt : ((NetIncome.amount / T_Income.amount) *100).toFixed(2),\\n                        amt_ytd : ((NetIncome.ytd / T_Income.ytd) *100).toFixed(2)},\\n    GPMargin_InclSlry : {amt : (((T_SalesProj.amount - T_NetRenu.amount - T_CostSales.amount)/T_SalesProj.amount) * 100).toFixed(2),\\n                        amt_ytd : (((T_SalesProj.ytd - T_NetRenu.ytd - T_CostSales.ytd)/T_SalesProj.ytd) * 100).toFixed(2)},\\n    SalesOvrSlry : {amt : (T_SalesProj.amount / T_NetRenu.amount).toFixed(2),\\n                   amt_ytd : (T_SalesProj.ytd / T_NetRenu.ytd).toFixed(2)},\\n    SlryOvrT_Cost : {amt : ((T_NetRenu.amount / T_Expss.amount) * 100).toFixed(2),\\n                     amt_ytd : ((T_NetRenu.ytd / T_Expss.ytd) * 100).toFixed(2)},\\n    MrktOvrT_Cost : {amt : ((T_Market.amount / T_Expss.amount) * 100).toFixed(2),\\n                    amt_ytd : ((T_Market.ytd / T_Expss.ytd) * 100).toFixed(2)},\\n    MotorOverT_Cost : {amt : ((T_MVehExpss.amount / T_Expss.amount) * 100).toFixed(2),\\n                      amt_ytd : ((T_MVehExpss.ytd / T_Expss.ytd) * 100).toFixed(2)},\\n    NOpCostOverT_Cost : {amt : ((N_OpsExpss.amount / T_Expss.amount) * 100).toFixed(2),\\n                        amt_ytd : ((N_OpsExpss.ytd / T_Expss.ytd) * 100).toFixed(2)},\\n    OPCostOverT_Cost : {amt : ((OpExpss.amount / T_Expss.amount) * 100).toFixed(2),\\n                       amt_ytd : ((OpExpss.ytd / T_Expss.ytd) * 100).toFixed(2)}\\n  }\\n  \\n  //reference to c object calculation\\n  var c2={\\n    OtherOverT_Cost : {amt : (100 - c.SlryOvrT_Cost.amt - c.MrktOvrT_Cost.amt - c.MotorOverT_Cost.amt - c.NOpCostOverT_Cost.amt).toFixed(2),\\n                      amt_ytd : (100 - c.SlryOvrT_Cost.amt_ytd - c.MrktOvrT_Cost.amt_ytd - c.MotorOverT_Cost.amt_ytd - c.NOpCostOverT_Cost.amt_ytd).toFixed(2)}\\n  }\\n  \\n  const currentDate = new Date(dateTo);  // 2009-11-10\\n  const month = currentDate.toLocaleString('default', { month: 'long' });\\n\\n  set_data({\\n    lines : linesWFormat,\\n    GPMargin_ExclSubs : c.GPMargin_ExclSubs,\\n    GPMargin_InclSubs : c.GPMargin_InclSubs,\\n    NPMargin_ExclSubs : c.NPMargin_ExclSubs,\\n    NPMargin_InclSubs : c.NPMargin_InclSubs,\\n    GPMargin_InclSlry : c.GPMargin_InclSlry,\\n    SalesOvrSlry : c.SalesOvrSlry,\\n    SlryOvrT_Cost : c.SlryOvrT_Cost,\\n    MrktOvrT_Cost : c.MrktOvrT_Cost,\\n    MotorOverT_Cost : c.MotorOverT_Cost,\\n    NOpCostOverT_Cost : c.NOpCostOverT_Cost,\\n    OtherOverT_Cost : c2.OtherOverT_Cost,\\n    OPCostOverT_Cost : c.OPCostOverT_Cost,\\n    Month : month\\n    \\n  });\\n  get_balance_sheet(res2, OpExpss.amount, button); //bring the id to balance sheet function & OP Cost\\n}\\n\\n//calculate balance sheet\\nasync function get_balance_sheet(res2, OpExpssObj, button){\\n  var cond = res2;\\n  var res2 = await rpc_execute(\\\"report.balance.sheet\\\", \\\"get_report_data\\\", [cond]);\\n  var lines = [];\\n  var linesWF = [];\\n  var assets = [\\\"Total Banks & Cash\\\",\\\"Total Net Debtors\\\"];\\n  var numberObj2 = [];\\n  var assign2 = [];\\n  \\n  \\n  for(var i=0; i\n                                                                                                                                                                                                                                                                                <res2.lines.length; i++){\\n    if(!assets.includes(res2.lines[i].string)){\\n       continue;\\n       }\\n    var strg = res2.lines[i].string;\\n    var dateTo1 = res2.lines[0].date_to1;\\n    console.log(\\\"dAte\\\",dateTo1)\\n    switch (button){\\n      case 1:\\n        var amt = res2.lines[i].amount;\\n    \\tvar amt1 = res2.lines[i].amount1;\\n    \\tvar amt2 = res2.lines[i].amount2;\\n        break;\\n      case 2:\\n        var amt = res2.lines[i].amount1;\\n    \\tvar amt1 = res2.lines[i].amount2;\\n    \\tvar amt2 = res2.lines[i].amount3;\\n        break;\\n      default:\\n        var amt = res2.lines[i].amount;\\n    \\tvar amt1 = res2.lines[i].amount1;\\n    \\tvar amt2 = res2.lines[i].amount2;\\n                  }\\n    \\n    //rows object stored in lines\\n    lines[i]={\\n      string : strg,\\n      amount : amt,\\n      amount1 : amt1,\\n      amount2 : amt2,\\n      variance : amt - amt2,\\n     _cid : _.uniqueId()\\n    };\\n    \\n    function formatNums(num) { //change the number into comma style(string)\\n      return num.toString().replace(/(\\\\d)(?=(\\\\d{3})+(?!\\\\d))/g, '$1,')\\n    }\\n    \\n    var nullable;\\n    if(amt1 != null || amt2 != null){\\n      nullable = true;\\n       }else{\\n         nullable = false;\\n       }\\n      \\n    linesWF[i]={\\n      string : strg,\\n      amount : formatNums(amt.toFixed(0)),\\n      amount1 : nullable? formatNums(amt1.toFixed(0)) : null, //only format amount if it is not null\\n      amount2 : nullable? formatNums(amt2.toFixed(0)) : null,\\n      variance : formatNums((lines[i].variance).toFixed(0)),\\n      _cid : _.uniqueId()\\n    }\\n    \\n    numberObj2.push(lines[i]); //push report data into new array\\n    var y = numberObj2.length-1;//set an incremental index, array start from 0\\n    \\n    console.log(\\\"numberObj?\\\", numberObj2);\\n    \\n    assign2[y]={ //set amt & ytd into assign object\\n      amount : numberObj2[y].amount,\\n      amount1 : numberObj2[y].amount1,\\n      amount2 : numberObj2[y].amount2\\n    }\\n    \\n    switch(y){\\n      case 0: var T_Bank_Cash = assign2[y];break;\\n      case 1: var T_NetDebtors = assign2[y];break;\\n            }\\n  }//end loop\\n  \\n  //calculation\\n  var c={\\n    CashFlowPrctg : (((T_Bank_Cash.amount - T_Bank_Cash.amount1) / T_Bank_Cash.amount1) * 100).toFixed(2),\\n    CashFlowChange : (T_Bank_Cash.amount - T_Bank_Cash.amount1).toFixed(0),\\n    DebtorRatio : (((T_NetDebtors.amount - T_NetDebtors.amount1) / T_NetDebtors.amount1) * 100).toFixed(2),\\n    DebtorChange : (T_NetDebtors.amount - T_NetDebtors.amount1).toFixed(0),\\n    CashOvrOp : (T_Bank_Cash.amount / OpExpssObj).toFixed(2)\\n  }\\n  \\n  set_data({\\n    bs : linesWF,\\n    CashFlowPrctg : c.CashFlowPrctg,\\n    CashFlowChange : formatNums(c.CashFlowChange),\\n    DebtorRatio : c.DebtorRatio,\\n    DebtorChange : formatNums(c.DebtorChange),\\n    CashOvrOp : c.CashOvrOp,\\n    \\n  });\\n}\"}, \"print_po\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\", \"size\": \"large\", \"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd. \"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"Unit A211, Lobby 3, Damansara Intan\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \" 1, Jalan SS20/27\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"47400 Petaling Jaya, Selangor \"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"\\ufeff\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"Tel: +6 03-7622 9772 / 012-287 2735 \"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\", \"bold\": true}, \"insert\": \" \"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"Email: accounts@smartb.co \"}, {\"insert\": \"\\n\\n\\n\"}]}, \"margin_left\": 50}]}, {\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"smartB-logo-2-300x148,EodqyPDYCn8=,SH9laBrrYfU=,QY6ZtCZ1s38=.png\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"smartB-logo-2-300x148,1vogq92Srxg=.png\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"align\": \"left\", \"hidden\": false}], \"min_height\": 50, \"header\": true, \"margin_bottom\": null, \"margin_top\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [], \"min_height\": 20, \"margin_left\": 10, \"margin_right\": 10, \"page_break_after\": true}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"CUSTOMER :\\n{contact_id.name}\\n{contact_id.default_address_id.address}\\n\"}]}, \"padding_top\": null, \"padding_left\": null, \"padding_bottom\": 10, \"border_top_width\": null, \"border_left_width\": null, \"border_right_width\": null, \"border_bottom_width\": null, \"font_size\": 18, \"margin_right\": null}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 20}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"CN NO\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"\\t\\t              \\t\\t\\tCN DATE\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"\\t\\t   \\t\\t\\t  \\tCUSTOMER \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"     INV NO\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"\\t\\t\\t\\t\\t                \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_right\": null, \"margin_right\": null}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\\n\"}]}, \"font_size\": 18, \"margin_left\": null, \"padding_left\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \" {date}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.code}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \" {ref}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{pay_term_id.name}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_left\": 5}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 2], \"_col_widths\": \"[1.5,0.2,2]\"}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 40, \"margin_right\": 40, \"margin_top\": null, \"_col_widths\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"ITEM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"DESCRIPTION\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"QUANTITY\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"UNIT PRICE\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"DIS\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"AMOUNT\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_discount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}]], \"num_cols\": 6, \"num_rows\": 2, \"_col_widths\": \"[0.5,3,0.5,1,1,1]\", \"col_widths\": [0.5, 3, 0.5, 1, 1, 1], \"table_bordered\": true, \"table_striped\": true, \"field_rows\": \"lines\", \"margin_left\": 40, \"margin_top\": 20, \"margin_right\": 40}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"font\": \"serif\", \"bold\": true}, \"insert\": \"REMARK:\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"font\": \"serif\"}, \"insert\": \"{memo}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_left\": 20}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 30, \"margin_right\": 30}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Malaysian Ringgit {amount_total_words} ONLY\\n\"}]}, \"font_size\": 18}], \"min_height\": 20, \"margin_left\": 10, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\"}], \"min_height\": 20}]}], \"num_cols\": 2, \"col_widths\": [3, 1], \"margin_left\": 40, \"margin_right\": 40, \"_col_widths\": \"[3,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL ({currency_id.code}):\"}, {\"attributes\": {\"bold\": true}, \"insert\": \" {fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 40, \"margin_right\": 40, \"border_top_width\": 1, \"border_bottom_width\": 1, \"padding_left\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [], \"min_height\": 50, \"margin_left\": 350, \"margin_right\": null, \"border_bottom_width\": 1, \"margin_bottom\": 20, \"width\": \"450\"}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 40, \"margin_right\": 40}], \"min_height\": 50}], \"min_height\": 50, \"footer\": true, \"margin_bottom\": 20}], \"min_height\": 50}], \"min_height\": 50}], \"min_height\": 50}], \"fields\": \"[\\\"contact_id.name\\\",\\\"contact_id.default_address_id.address\\\",\\\"number\\\",\\\"date\\\",\\\"contact_id.code\\\",\\\"pay_term_id.name\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.discount\\\",\\\"lines.amount\\\",\\\"currency_id.code\\\",\\\"amount_total\\\",\\\"amount_total_words\\\",\\\"memo\\\",\\\"sale_id.number\\\",\\\"pay_term_id.name\\\",\\\"contact_id.code\\\",\\\"lines.amount_discount\\\",\\\"ref\\\"]\", \"width\": \"\", \"height\": \"\", \"header_height\": \"270\", \"footer_height\": \"270\", \"filename\": \"CREDIT NOTE-{number}\"}, \"code\": null}, \"po_review\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"Purchase Order Review\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": null}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"From {from} to {to}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": 25}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"Filter Purchase Order with Number \"}, {\"attributes\": {\"color\": \"#e60000\", \"bold\": true}, \"insert\": \"or\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \" Contact\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Date From:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_right\": 5, \"margin_top\": 5, \"margin_bottom\": 5, \"align\": \"right\"}]}, {\"children\": [{\"type\": \"field\", \"margin_top\": 5, \"margin_bottom\": 5, \"field_type\": \"date\", \"name\": \"date_from\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Date To:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_right\": 5, \"margin_top\": 5, \"margin_bottom\": 5}]}, {\"children\": [{\"type\": \"field\", \"margin_top\": 5, \"margin_bottom\": 5, \"margin_right\": 5, \"margin_left\": 5, \"field_type\": \"date\", \"name\": \"date_to\"}]}, {\"children\": []}], \"num_cols\": 6, \"col_widths\": [2, 0.5, 0.5, 0.5, 0.5, 2], \"_col_widths\": \"[2,0.5,0.5,0.5,0.5,2]\", \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"PO Number:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"margin_top\": 5, \"margin_bottom\": 5, \"margin_right\": 5, \"align\": \"right\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select2\", \"model\": \"purchase.order\", \"on_change\": \"set_data({contact_id:null})\", \"name\": \"po_id\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Contact:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"margin_top\": 5, \"margin_bottom\": 5, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select2\", \"model\": \"contact\", \"name\": \"contact_id\", \"on_change\": \"set_data({po_id:null})\"}]}, {\"children\": [{\"type\": \"button\", \"icon\": \"refresh\", \"on_click\": \"on_load()\", \"width\": \"30\", \"height\": \"30\", \"padding_top\": 5, \"padding_right\": 5, \"padding_left\": 5, \"padding_bottom\": 5, \"margin_top\": 5, \"margin_bottom\": 5, \"align\": \"center\", \"background_color\": \"#d1ffeb\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Go\", \"width\": \"100\", \"height\": \"40\", \"background_color\": \"#8eff1f\", \"font_bold\": true, \"font_size\": 18, \"align\": \"center\", \"on_click\": \"submit()\"}]}, {\"children\": []}], \"num_cols\": 7, \"col_widths\": [1, 0.5, 1, 0.5, 1, 0.3, 0.7], \"_col_widths\": \"[1,0.5,1,0.5,1,0.3,0.7]\", \"margin_bottom\": 30}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"PO NUMBER\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DATE\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CONTACT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"PO AMOUNT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"GR AMOUNT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SI AMOUNT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 16}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{po_number}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{date}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_name}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM \"}, {\"insert\": \"{po_amount}\\n\"}]}, \"font_size\": 16, \"background_color\": null, \"padding_left\": null, \"padding_top\": null, \"padding_right\": null, \"padding_bottom\": null, \"margin_top\": null, \"margin_right\": null, \"margin_bottom\": null, \"margin_left\": null, \"on_click\": \"display_po(_cid)\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM \"}, {\"insert\": \"{gr_amount}\\n\"}]}, \"font_size\": 16, \"on_click\": \"display_gr(_cid)\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM \"}, {\"insert\": \"{si_amount}\\n\"}]}, \"font_size\": 16, \"on_click\": \"display_si(_cid)\"}]], \"num_cols\": 6, \"_col_widths\": \"[0.5,0.5,1,0.5,0.5,0.5]\", \"col_widths\": [0.5, 0.5, 1, 0.5, 0.5, 0.5], \"table_hover\": true, \"table_bordered\": true, \"table_striped\": true, \"field_rows\": \"lines\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"No Purchase Order found for current month.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"hidden\": false, \"dyn_props\": \"\"}], \"min_height\": 50, \"dyn_props\": \"{hidden:hide}\", \"hidden\": true}], \"min_height\": 50, \"padding_top\": 10, \"padding_left\": 50, \"padding_right\": 50, \"padding_bottom\": 10}]}, \"code\": \"async function on_load(){\\n  var today = new Date();\\n  var start_date = new Date(today.getFullYear(), today.getMonth(), 1);\\n  var end_date = new Date(today.getFullYear(), today.getMonth()+1, 0);\\n\\n  var from = start_date.getFullYear() + \\\"-\\\" + (\\\"0\\\" + (start_date.getMonth() + 1)).slice(-2) + \\\"-\\\" + (\\\"0\\\" + start_date.getDate()).slice(-2);\\n  var to = end_date.getFullYear() + \\\"-\\\" + (\\\"0\\\" + (end_date.getMonth() + 1)).slice(-2) + \\\"-\\\" + (\\\"0\\\" + end_date.getDate()).slice(-2);\\n\\n  set_data({\\n    po_id:null,\\n    contact_id:null,\\n    date_from: from,\\n    date_to : to,\\n    from:from,\\n    to:to\\n  })\\n\\n  var all_po = await rpc_execute(\\\"purchase.order\\\",\\\"search_read\\\",[[[\\\"date\\\", \\\">=\\\", from],[\\\"date\\\", \\\"<=\\\", to]],[\\\"date\\\", \\\"number\\\", \\\"contact_id\\\",\\\"amount_total\\\", \\\"pickings\\\", \\\"invoices\\\"]]);\\n  console.log(\\\"all po: \\\",all_po);\\n\\n  if(all_po.length <=0) {\\n    set_data({hide:false});\\n    //alert(\\\"No Purchase Order for \\\"+from+\\\" until \\\"+to+\\\". \\\");\\n  }\\n\\n  var array = [];\\n  for(var i=0; i\n                                                                                                                                                                                                                                                                                    <all_po.length; i++){\\n    var rel_inv = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[[[\\\"id\\\",\\\"=\\\",all_po[i].invoices[0]]],[\\\"amount_total\\\"]]);\\n    console.log(\\\"rel inv: \\\",rel_inv);\\n\\n    var si_amount = 0;\\n    if(!rel_inv){\\n      si_amount = 0;\\n    } else {\\n      for(var j=0; j\n                                                                                                                                                                                                                                                                                        <rel_inv.length; j++){\\n        si_amount = si_amount + rel_inv[j].amount_total;\\n      }\\n    }\\n    console.log(\\\"si amount\\\",si_amount);\\n\\n    var rel_gr = await rpc_execute(\\\"stock.picking\\\",\\\"search_read\\\",[[[\\\"id\\\",\\\"=\\\",all_po[i].pickings[0]]],[\\\"cost_total\\\"]]);\\n    console.log(\\\"rel gr: \\\",rel_gr);\\n\\n    var gr_amount = 0;\\n    if(!rel_gr){\\n      gr_amount = 0;\\n    } else {\\n      for(var j=0; j\n                                                                                                                                                                                                                                                                                            <rel_gr.length; j++){\\n        gr_amount = gr_amount + rel_gr[j].cost_total;\\n      }\\n    }\\n    console.log(\\\"gr amount\\\",gr_amount);\\n\\n    array[i]={\\n      _cid: _.uniqueId(),\\n      po_number:all_po[i].number,\\n      po_id:all_po[i].id,\\n      date:all_po[i].date,\\n      contact_name:all_po[i].contact_id[1],\\n      po_amount:thousands_separators((all_po[i].amount_total).toFixed(2)),\\n      gr_id:all_po[i].pickings,\\n      gr_amount:thousands_separators(gr_amount.toFixed(2)),\\n      si_id:all_po[i].invoices,\\n      si_amount:thousands_separators(si_amount.toFixed(2)),\\n    };\\n  }\\n\\n  set_data({\\n    lines:array,\\n  }); \\n\\n\\n\\n}\\n\\nasync function submit(){\\n  set_data({hide:true});\\n  var data = get_data();\\n  var from = data.date_from;\\n  var to = data.date_to;\\n\\n  if(!data.contact_id && !data.po_id){\\n    var all_po = await rpc_execute(\\\"purchase.order\\\",\\\"search_read\\\",[[[\\\"date\\\", \\\">=\\\", from],[\\\"date\\\", \\\"<=\\\", to]],[\\\"date\\\", \\\"number\\\", \\\"contact_id\\\",\\\"amount_total\\\", \\\"pickings\\\", \\\"invoices\\\"]]);\\n    console.log(\\\"all po: \\\",all_po);\\n\\n    if(all_po.length <=0) {\\n      alert(\\\"No Purchase Order for \\\"+from+\\\" until \\\"+to+\\\". \\\");\\n    }\\n\\n    var array = [];\\n    for(var i=0; i\n                                                                                                                                                                                                                                                                                                <all_po.length; i++){\\n      var rel_inv = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[[[\\\"id\\\",\\\"=\\\",all_po[i].invoices[0]]],[\\\"amount_total\\\"]]);\\n      console.log(\\\"rel inv: \\\",rel_inv);\\n\\n      var si_amount = 0;\\n      if(!rel_inv){\\n        si_amount = 0;\\n      } else {\\n        for(var j=0; j\n                                                                                                                                                                                                                                                                                                    <rel_inv.length; j++){\\n          si_amount = si_amount + rel_inv[j].amount_total;\\n        }\\n      }\\n      console.log(\\\"si amount\\\",si_amount);\\n\\n      var rel_gr = await rpc_execute(\\\"stock.picking\\\",\\\"search_read\\\",[[[\\\"id\\\",\\\"=\\\",all_po[i].pickings[0]]],[\\\"cost_total\\\"]]);\\n      console.log(\\\"rel gr: \\\",rel_gr);\\n\\n      var gr_amount = 0;\\n      if(!rel_gr){\\n        gr_amount = 0;\\n      } else {\\n        for(var j=0; j\n                                                                                                                                                                                                                                                                                                        <rel_gr.length; j++){\\n          gr_amount = gr_amount + rel_gr[j].cost_total;\\n        }\\n      }\\n      console.log(\\\"gr amount\\\",gr_amount);\\n\\n      array[i]={\\n        _cid: _.uniqueId(),\\n        po_number:all_po[i].number,\\n        po_id:all_po[i].id,\\n        date:all_po[i].date,\\n        contact_name:all_po[i].contact_id[1],\\n        po_amount:thousands_separators((all_po[i].amount_total).toFixed(2)),\\n        gr_id:all_po[i].pickings?all_po[i].pickings:null,\\n        gr_amount:thousands_separators(gr_amount.toFixed(2)),\\n        si_id:all_po[i].invoices?all_po[i].invoices:null,\\n        si_amount:thousands_separators(si_amount.toFixed(2)),\\n      };\\n    }\\n\\n    set_data({\\n      lines:array,\\n      date_from: from,\\n      date_to : to,\\n      from:from,\\n      to:to\\n    });   \\n  }\\n  else if(!data.contact_id){\\n    await onchange_po();\\n  }\\n  else if(!data.po_id){\\n    await onchange_contact();\\n  }\\n}\\n\\nasync function onchange_po(){\\n  var data = get_data();\\n  console.log(\\\"selected po id: \\\",data.po_id.id);\\n  var po_id = data.po_id.id;\\n\\n  var selected_po = await rpc_execute(\\\"purchase.order\\\",\\\"search_read\\\",[[[\\\"id\\\",\\\"=\\\",po_id]],[\\\"date\\\", \\\"number\\\", \\\"contact_id\\\",\\\"amount_total\\\", \\\"pickings\\\", \\\"invoices\\\"]]);\\n  console.log(\\\"selected po: \\\",selected_po);\\n\\n  set_data({contact_id:null});\\n\\n  var array = [];\\n  for(var i=0; i\n                                                                                                                                                                                                                                                                                                            <selected_po.length; i++){\\n\\n    var rel_inv = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[[[\\\"id\\\",\\\"=\\\",selected_po[i].invoices[0]]],[\\\"amount_total\\\"]]);\\n    console.log(\\\"rel inv: \\\",rel_inv);\\n\\n    var si_amount = 0;\\n    if(!rel_inv){\\n      si_amount = 0;\\n    } else {\\n      for(var j=0; j\n                                                                                                                                                                                                                                                                                                                <rel_inv.length; j++){\\n        si_amount = si_amount + rel_inv[j].amount_total;\\n      }\\n    }\\n    console.log(\\\"si amount\\\",si_amount);\\n\\n    var rel_gr = await rpc_execute(\\\"stock.picking\\\",\\\"search_read\\\",[[[\\\"id\\\",\\\"=\\\",selected_po[i].pickings[0]]],[\\\"cost_total\\\"]]);\\n    console.log(\\\"rel gr: \\\",rel_gr);\\n\\n    var gr_amount = 0;\\n    if(!rel_gr){\\n      gr_amount = 0;\\n    } else {\\n      for(var j=0; j\n                                                                                                                                                                                                                                                                                                                    <rel_gr.length; j++){\\n        gr_amount = gr_amount + rel_gr[j].cost_total;\\n      }\\n    }\\n    console.log(\\\"gr amount\\\",gr_amount);\\n\\n    array[i]={\\n      _cid: _.uniqueId(),\\n      po_number:selected_po[i].number,\\n      po_id:selected_po[i].id,\\n      contact_name:selected_po[i].contact_id[1],\\n      date:selected_po[i].date,\\n      po_amount:thousands_separators((selected_po[i].amount_total).toFixed(2)),\\n      gr_id:selected_po[i].pickings,\\n      gr_amount:thousands_separators(gr_amount.toFixed(2)),\\n      si_id:selected_po[i].invoices,\\n      si_amount:thousands_separators(si_amount.toFixed(2)),\\n    };\\n  }\\n\\n  set_data({\\n    lines:array,\\n  }); \\n}\\n\\nasync function onchange_contact(){\\n  var data = get_data();\\n  console.log(\\\"selected contact id: \\\",data.contact_id.id);\\n  var contact_id = data.contact_id.id;\\n  var from = data.date_from;\\n  var to = data.date_to;\\n\\n  var selected_po = await rpc_execute(\\\"purchase.order\\\",\\\"search_read\\\",[[[\\\"contact_id\\\",\\\"=\\\",contact_id],[\\\"date\\\", \\\">=\\\", from],[\\\"date\\\", \\\"<=\\\", to]],[\\\"date\\\", \\\"number\\\", \\\"contact_id\\\",\\\"amount_total\\\", \\\"pickings\\\", \\\"invoices\\\"]]);\\n  console.log(\\\"selected po: \\\",selected_po);\\n  set_data({po_id:null});\\n\\n  if(selected_po.length <=0) {\\n    alert(\\\"No Purchase Order from \\\"+data.contact_id.name+\\\" for \\\"+from+\\\" until \\\"+to+\\\". \\\");\\n  }\\n\\n  var array = [];\\n  for(var i=0; i\n                                                                                                                                                                                                                                                                                                                        <selected_po.length; i++){\\n\\n    var rel_inv = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[[[\\\"id\\\",\\\"=\\\",selected_po[i].invoices[0]]],[\\\"amount_total\\\"]]);\\n    console.log(\\\"rel inv: \\\",rel_inv);\\n\\n    var si_amount = 0;\\n    if(!rel_inv){\\n      si_amount = 0;\\n    } else {\\n      for(var j=0; j\n                                                                                                                                                                                                                                                                                                                            <rel_inv.length; j++){\\n        si_amount = si_amount + rel_inv[j].amount_total;\\n      }\\n    }\\n    console.log(\\\"si amount\\\",si_amount);\\n\\n    var rel_gr = await rpc_execute(\\\"stock.picking\\\",\\\"search_read\\\",[[[\\\"id\\\",\\\"=\\\",selected_po[i].pickings[0]]],[\\\"cost_total\\\"]]);\\n    console.log(\\\"rel gr: \\\",rel_gr);\\n\\n    var gr_amount = 0;\\n    if(!rel_gr){\\n      gr_amount = 0;\\n    } else {\\n      for(var j=0; j\n                                                                                                                                                                                                                                                                                                                                <rel_gr.length; j++){\\n        gr_amount = gr_amount + rel_gr[j].cost_total;\\n      }\\n    }\\n    console.log(\\\"gr amount\\\",gr_amount);\\n\\n    array[i]={\\n      _cid: _.uniqueId(),\\n      po_number:selected_po[i].number,\\n      po_id:selected_po[i].id,\\n      contact_name:selected_po[i].contact_id[1],\\n      date:selected_po[i].date,\\n      po_amount:thousands_separators((selected_po[i].amount_total).toFixed(2)),\\n      gr_id:selected_po[i].pickings,\\n      gr_amount:thousands_separators(gr_amount.toFixed(2)),\\n      si_id:selected_po[i].invoices,\\n      si_amount:thousands_separators(si_amount.toFixed(2)),\\n    };\\n  }\\n\\n  set_data({\\n    lines:array,\\n  }); \\n}\\n\\nasync function display_po(_cid){\\n  var data = get_data();\\n  var lines = data.lines;\\n  var selected_line_id = _cid;\\n\\n  for(var i=0; i\n                                                                                                                                                                                                                                                                                                                                    <lines.length; i++){\\n    if(lines[i]._cid == selected_line_id){\\n      var selected_po = lines[i].po_id;\\n    }  \\n  }\\n\\n  window.open(\\\"http://main.smartb.co/action?name=purchase&mode=form&active_id=\\\"+selected_po);\\n}\\n\\nasync function display_gr(_cid){\\n  var data = get_data();\\n  var lines = data.lines;\\n  var selected_line_id = _cid;\\n\\n  for(var i=0; i\n                                                                                                                                                                                                                                                                                                                                        <lines.length; i++){\\n    if(lines[i]._cid == selected_line_id){\\n      if(lines[i].gr_amount == 0){\\n        throw \\\"This Purchase Order is not linked to any Good Receipt.\\\"\\n      }else{\\n        var selected_gr = lines[i].gr_id;\\n      }\\n    }  \\n  }\\n\\n  window.open(\\\"http://main.smartb.co/action?name=pick_in&mode=form&active_id=\\\"+selected_gr);\\n}\\n\\nasync function display_si(_cid){\\n  var data = get_data();\\n  var lines = data.lines;\\n  var selected_line_id = _cid;\\n\\n  for(var i=0; i\n                                                                                                                                                                                                                                                                                                                                            <lines.length; i++){\\n    if(lines[i]._cid == selected_line_id){\\n      var selected_si = lines[i].si_id;\\n      if(lines[i].si_amount == 0){\\n        throw \\\"This Purchase Order is not linked to any Supplier Invoice.\\\"\\n      }\\n    }\\n  }\\n\\n  for(var x=0; x\n                                                                                                                                                                                                                                                                                                                                                <selected_si.length; x++){\\n    window.open(\\\"http://main.smartb.co/action?name=supp_invoice&mode=form&active_id=\\\"+selected_si[x]);\\n  }\\n}\\n\\nfunction thousands_separators(num){\\n  var num_parts = num.toString().split(\\\".\\\");\\n  num_parts[0] = num_parts[0].replace(/\\\\B(?=(\\\\d{3})+(?!\\\\d))/g, \\\",\\\");\\n  return num_parts.join(\\\".\\\");\\n}\"}, \"purchase_order\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\", \"size\": \"large\", \"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd. \"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"Unit A211, Lobby 3, Damansara Intan\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \" 1, Jalan SS20/27\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"47400 Petaling Jaya, Selangor \"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"\\ufeff\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"Tel: +6 03-7622 9772 / 012-287 2735 \"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\", \"bold\": true}, \"insert\": \" \"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\"}, \"insert\": \"Email: accounts@smartb.co \"}, {\"insert\": \"\\n\\n\\n\"}]}, \"margin_left\": 50}]}, {\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-08 (1) (1),kkgdbfJ1tzw=.png\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"smartB-logo-2-300x148,1vogq92Srxg=.png\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"align\": \"left\", \"hidden\": false}], \"min_height\": 50, \"header\": true, \"margin_bottom\": null, \"margin_top\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"BILLING / SHIPPING DETAILS:\\n\\n{bill_address_id.address}\\n{bill_address_id.address2}\\n{bill_address_id.postal_code}\\n{bill_address_id.city}\\n{bill_address_id.country_id.name}\\n\"}]}, \"padding_top\": null, \"padding_left\": null, \"padding_bottom\": 10, \"border_top_width\": null, \"border_left_width\": null, \"border_right_width\": null, \"border_bottom_width\": null, \"font_size\": 18, \"margin_right\": null}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 20}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"PURCHASE ORDER\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"PO No\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"\\t\\t       \\t\\t\\tSupplier \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"Supplier Email\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"\\t\\t   \\t\\t  \\tDate\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"     Ref\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"Currency\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"\\t\\t\\t\\t\\t                \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_right\": null, \"margin_right\": null}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"margin_left\": null, \"padding_left\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n{contact_id.name}\\n{contact_id.email}\\n{date}\\n{ref}\\n{currency_id.name}\\n\"}]}, \"font_size\": 18, \"padding_left\": 5}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 2], \"_col_widths\": \"[1.5,0.2,2]\"}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 40, \"margin_right\": 40, \"margin_top\": null, \"_col_widths\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"ITEM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"DESCRIPTION\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"QUANTITY\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"UNIT PRICE\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"Disc Amt\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"AMOUNT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_discount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}], [null, null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Subtotal:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, null], [null, null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Tax Amount:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Amount:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 6, \"num_rows\": 2, \"_col_widths\": \"[0.5,3,0.5,1,1,1]\", \"col_widths\": [0.5, 3, 0.5, 1, 1, 1], \"table_bordered\": true, \"table_striped\": true, \"field_rows\": \"lines\", \"margin_left\": 40, \"margin_top\": 20, \"margin_right\": 40}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Subtotal:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Tax Amount:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Amount:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount_tax}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [5, 1.5], \"_col_widths\": \"[5,1.5]\"}], \"min_height\": 50, \"margin_bottom\": 20}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": []}, {\"children\": []}], \"col_widths\": [1, 1]}], \"min_height\": 50, \"container\": true}], \"min_height\": 50}], \"min_height\": 50}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"fields\": \"[\\\"bill_address_id.country_id.name\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.address2\\\",\\\"bill_address_id.address\\\",\\\"currency_id.name\\\",\\\"contact_id.email\\\",\\\"contact_id.name\\\",\\\"contact_id.default_address_id.address\\\",\\\"number\\\",\\\"date\\\",\\\"contact_id.code\\\",\\\"pay_term_id.name\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.amount\\\",\\\"currency_id.code\\\",\\\"amount_total\\\",\\\"amount_total_words\\\",\\\"pay_term_id.name\\\",\\\"contact_id.name\\\",\\\"ref\\\"]\", \"width\": \"\", \"height\": \"\", \"header_height\": \"270\", \"footer_height\": \"270\", \"filename\": \"CREDIT NOTE-{number}\"}, \"code\": \"async function on_load()\\r\\n{\\r\\n  var data = get_data();\\r\\n  var change = Math.round((data.remarks-data.total)*100)/100;\\r\\n  set_data({change:change});\\r\\n}\"}, \"print_invoice_R\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9782/ 012-287 2735\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": bookings@sixhatch.com\\n\"}]}, \"font_size\": 17}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"margin_left\": 300, \"image_file\": \"download,KU9SOv2DnCY=.png\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"RECEIPT\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILLING DETAILS \"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n{bill_address_id.address}\\n{bill_address_id.postal_code}\\n{bill_address_id.city}, {bill_address_id.province_id.name}, {bill_address_id.country_id.name}\\n{contact_id.phone}\\n\"}]}, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DETAILS\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Receipt number\\nDate \\n\\n\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n\\n\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n{date}\\n\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 3], \"margin_top\": 10, \"_col_widths\": \"[3,1,3]\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Item \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Unit\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Unit Price(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Quantity \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Amount (RM)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{uom_id.name}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 6, \"margin_left\": 20, \"margin_right\": 20, \"num_rows\": null, \"_col_widths\": \"[1,4,1,1.5,1,1.5]\", \"col_widths\": [1, 4, 1, 1.5, 1, 1.5], \"table_bordered\": true, \"margin_top\": 20, \"field_rows\": \"lines\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 800, \"margin_bottom\": null, \"num_rows\": 3, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"Terms for deposit\"}, {\"insert\": \"\\nFull refund will be made on the following conditions:\\n\\n\\u2022No items within the venue is broken, damaged or affected by the use of the space\\n\\u2022The venue is kept clean within reasonable grounds\\n\\u2022Unless a cleaning fee is collected, the venue is assumed to be kept clean just like how it was before the event started.\\n\\u2022Assuming no shoes allowed\\n\\u2022Assuming no food and drinks allowed (again, unless cleaning fee collected)\\n\\u2022Participants to leave venue on time. Any delays will incur additional cost.\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Company Name: SmartB Solutions Sdn. Bhd.\\nComp Reg\\u00a0: 1240771-A\\nContact : +6 03-7622 9782 / 012-287 2735\\n\"}]}, \"border_right_width\": 1, \"margin_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name : Alliance Bank Malaysia\\nBank Account No\\u00a0: 620650010021190\\nSwift Code\\u00a0:MFBBMYKL\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"box\", \"children\": [], \"min_height\": 50}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"*Hatch or SixHatch.com is a division under SmartB Solutions Sdn Bhd.\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"box\", \"children\": [], \"min_height\": 50}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"This is a computer generated document. No Signature required.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 20, \"margin_right\": 20}], \"min_height\": 50}], \"fields\": \"[\\\"contact_id.name\\\",\\\"bill_address_id.address\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.province_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"contact_id.phone\\\",\\\"date\\\",\\\"number\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.uom_id.name\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]\", \"filename\": \"Receipt-{number}\"}, \"code\": null}, \"print_invoice_R1\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"insert\": \"\\nUnit A211, Lobby 3, Damansara Intan\\n1, Jalan SS20/27 \\n47400 Petaling Jaya, Selangor \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Tel\"}, {\"insert\": \": +6 03-7622 9772 / 012-287 2735 \\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Email\"}, {\"insert\": \": accounts@smartb.co\\n\"}]}, \"font_size\": 17}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"margin_left\": 300, \"image_file\": \"SmartB-08 (1) (1),XKmUulEVBxY=.png\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"RECEIPT\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"BILLING DETAILS \"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n{bill_address_id.address}\\n{bill_address_id.postal_code}\\n{bill_address_id.city}, {bill_address_id.province_id.name}, {bill_address_id.country_id.name}\\n{contact_id.phone}\\n\"}]}, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"INVOICE DETAILS\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Receipt number\\nDate \\nInvoice \\nNote \\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n:\\n:\\n:\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"R2017-12001\"}, {\"insert\": \"\\n{date}\\n{number}\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [3, 1, 3], \"margin_top\": 10, \"_col_widths\": \"[3,1,3]\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Item \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Unit\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Unit Price(RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Quantity \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Amount (RM)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{uom_id.name}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 6, \"margin_left\": 20, \"margin_right\": 20, \"num_rows\": null, \"_col_widths\": \"[1,4,1,1.5,1,1.5]\", \"col_widths\": [1, 4, 1, 1.5, 1, 1.5], \"table_bordered\": true, \"margin_top\": 20, \"field_rows\": \"lines\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SUBTOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TAX : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"TOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"margin_left\": 800, \"margin_bottom\": null, \"num_rows\": 3, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name : Alliance Bank Malaysia\\nBank Account No\\u00a0: 620650010021190\\nSwift Code\\u00a0:MFBBMYKL\\n\"}]}, \"border_right_width\": 1, \"margin_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name : Alliance Bank Malaysia\\nBank Account No\\u00a0: 620650010021190\\nSwift Code\\u00a0:MFBBMYKL\\n\"}]}, \"margin_left\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"margin_top\": 20, \"margin_left\": 20, \"margin_right\": 20}], \"min_height\": 50}], \"fields\": \"[\\\"contact_id.name\\\",\\\"bill_address_id.address\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.province_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"contact_id.phone\\\",\\\"date\\\",\\\"number\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.uom_id.name\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]\", \"filename\": \"Receipt-{number}\"}, \"code\": null}, \"saber.pm.task.sample\": {\"layout\": {\"elements\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"font\": \"serif\", \"bold\": true}, \"insert\": \"Builder / Person In-Charge  \"}, {\"attributes\": {\"align\": \"right\", \"indent\": 1}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Select Name\", \"_selection\": \"\", \"selection\": null, \"name\": \"builderField\", \"load_options\": \"\", \"padding_right\": 400, \"model\": \"hr2.employee\", \"condition\": \"[[\\\"work_status\\\",\\\"=\\\",\\\"Working\\\"]]\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"padding_left\": 20, \"padding_right\": 20, \"margin_top\": 50}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Task Type  \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"name\": \"taskField\", \"field_type\": \"select\", \"placeholder\": \"Select Task Type\", \"_selection\": \"[[\\\"bug\\\",\\\"Bug\\\"],[\\\"update\\\",\\\"Update\\\"],[\\\"new\\\",\\\"New Request\\\"]]\", \"selection\": [[\"bug\", \"Bug\"], [\"update\", \"Update\"], [\"new\", \"New Request\"]], \"padding_right\": 400}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"padding_left\": 20, \"padding_right\": 20}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\"}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Actual End Date  \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"date\", \"name\": \"dateField\", \"placeholder\": \"Select Actual End Date\", \"model\": \"\", \"padding_right\": 420, \"field_value\": \"\"}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\"}]}, {\"children\": [{\"type\": \"text\"}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"font\": \"serif\", \"bold\": true}, \"insert\": \"Status \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"name\": \"status\", \"field_type\": \"select\", \"placeholder\": \"Select Status\", \"_selection\": \"[[\\\"complete\\\",\\\"Completed\\\"],[\\\"waiting\\\",\\\"Waiting\\\"],[\\\"ongoing\\\",\\\"Ongoing\\\"],[\\\"onhold\\\",\\\"On Hold\\\"],[\\\"inque\\\",\\\"In Que\\\"]]\", \"selection\": [[\"complete\", \"Completed\"], [\"waiting\", \"Waiting\"], [\"ongoing\", \"Ongoing\"], [\"onhold\", \"On Hold\"], [\"inque\", \"In Que\"]], \"width\": \"200\"}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"button\", \"size\": \"small\", \"text\": \"FILTER\", \"padding_top\": 5, \"padding_left\": 40, \"padding_right\": 40, \"padding_bottom\": 5, \"align\": \"center\", \"margin_top\": 50, \"on_click\": \"filterFunction()\", \"background_color\": \"#000000\", \"hover_background_color\": \"#1ca49c\", \"font_size\": 24, \"font_bold\": false, \"color\": \"#ffffff\", \"letter_spacing\": \"5\"}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"padding_bottom\": 20, \"avoid_keyboard\": true}, {\"type\": \"text\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"ID\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"width\": \"\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Sub Task Name\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Task Type\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Start Time\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Actual Start Date\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"End Time\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Actual End Date\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Total Duration (hours)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Actual Duration (hours)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Task Status\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Percentage(%)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Builder\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Tester\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Parent Task\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{id}\\n\"}]}, \"width\": \"30\", \"align\": \"center\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{name}\\n\"}]}, \"width\": \"160\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}, \"width\": \"300\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{type}\\n\"}]}, \"width\": \"70\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{time_start}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{act_date_start}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{time_end}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{act_date_end}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{duration}\\n\"}]}, \"width\": \"70\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{act_duration}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{status}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{percentage}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{builder}\\n\"}]}, \"width\": \"100\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{tester}\\n\"}]}}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{parent_task}\\n\"}]}}]}, {\"children\": [{\"type\": \"button\", \"icon\": \"arrow-right\", \"link_target\": \"_blank\", \"link_url\": \"\", \"on_click\": \"open_task(tsk_id)\"}]}], \"col_widths\": [1, 1]}]], \"num_cols\": 15, \"field_rows\": \"lines\", \"width\": \"\", \"_col_widths\": \"\", \"col_widths\": null, \"table_bordered\": true, \"padding_left\": 10, \"padding_right\": 10}, {\"type\": \"box\", \"children\": [], \"min_height\": 50, \"container\": true, \"horiz_scroll\": true}]}, \"code\": \"async function filterFunction(){\\n  var data = get_data();\\n  console.log(data);\\n  var conds = [];\\n  if (data.builderField) conds.push([\\\"builder\\\",\\\"=\\\",data.builderField]);\\n  if (data.taskField) conds.push([\\\"type\\\",\\\"=\\\",data.taskField]);\\n  if (data.dateField) conds.push([\\\"act_date_end\\\",\\\"<=\\\",data.dateField+\\\" 23:59:59\\\"]);\\n  if (data.status) conds.push([\\\"status\\\",\\\"=\\\",data.status]);\\n  var fields = [\\\"sub_id\\\",\\\"name\\\",\\\"description\\\",\\\"type\\\",\\\"time_start\\\",\\\"act_date_start\\\",\\\"time_end\\\",\\\"act_date_end\\\",\\\"duration\\\",\\\"act_duration\\\",\\\"status\\\",\\\"percentage\\\",\\\"builder\\\",\\\"tester\\\",\\\"tsk_id\\\"];\\n  var res = await rpc_execute(\\\"pm.task.lines\\\",\\\"search_read\\\",[conds,fields]);\\n  var res_display = null;\\n  res = res.filter((l)=>{return l.name || l.description});\\n  res.forEach((l)=>{\\n    l.duration = l.duration?l.duration.toFixed(2):null;\\n    l.act_duration = l.act_duration?l.act_duration.toFixed(2):null;\\n    l.builder = l.builder?l.builder[1]:null;\\n    l.tester = l.tester?l.tester[1]:null;\\n    l.parent_task = l.tsk_id?l.tsk_id[1]:null;\\n    l.tsk_id = l.tsk_id?l.tsk_id[0]:null;\\n  });\\n  if (res.length > 50) {\\n    alert (`${res.length} records found. Displaying first 50`);\\n    res_display = res.slice(0,50);\\n  } else {\\n    res_display = res;\\n  }\\n  set_data({lines:null});\\n  set_data({lines:res_display});\\n}\\n\\nfunction open_task(tsk_id){\\n  var url = `https://main.smartb.co/action?name=pm_task&mode=form&active_id=${tsk_id}`;\\n  window.open(url,\\\"_blank\\\");\\n}\\n\\n/*async function load_option(query) {\\n  \\nvar fields2 = [\\\"builder\\\"];\\nvar res = await rpc_execute(\\\"pm.task.lines\\\",\\\"search_read\\\",[[],fields2]);\\n//var uniqueArray = [];\\nvar uniqueObj = {}\\nvar slct = [];\\nvar n= \\\"\\\";\\nvar n_id = null;\\n\\nfor(i=0;i\n                                                                                                                                                                                                                                                                                                                                                    <res.length;i++){\\n\\n    if(res[i].builder != null){\\n      n_id = res[i].builder[0];\\n      n = res[i].builder[1];\\n    }\\n  \\n  uniqueObj[n_id] = n;\\n    \\n\\n}\\n    \\nfor(var item in uniqueObj){\\n  slct.push({\\n  value: item,\\n  label: uniqueObj[item],\\n  });\\n}\\nreturn slct;\\n\\n}*/\"}, \"sb_stock_count\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"Stock Count\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Warehouse: \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{location_id.name}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Number: \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Date: \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{date}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"_col_widths\": \"[1, 1, 1]\", \"margin_left\": 40, \"margin_right\": 40, \"margin_top\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"No\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18, \"margin_left\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_width\": null, \"border_right_width\": 2, \"margin_right\": 21}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Item\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18, \"margin_left\": null}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_right_width\": 2, \"margin_right\": 14}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"System Qty\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18, \"margin_left\": 4, \"padding_left\": null}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_right_width\": 2, \"margin_right\": 110}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Check\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18, \"margin_left\": null}]}], \"num_cols\": 4, \"col_widths\": [0.5, 3, 1.3, 0.9], \"margin_left\": 40, \"margin_right\": 10, \"margin_top\": 20, \"_col_widths\": \"[0.5,3,1.3,0.9]\", \"border_width\": 2}], \"min_height\": 0, \"background_color\": \"#ffffff\", \"padding_top\": null, \"padding_bottom\": null, \"padding_left\": 10, \"padding_right\": 10, \"margin_top\": 20, \"margin_bottom\": 0, \"margin_left\": null, \"margin_right\": 30, \"header\": true, \"footer\": false}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[null, null, null, null, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{counter}\\n\"}]}, \"on_click\": \"\", \"name\": \"\", \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product_id.code} {product_id.name}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prev_qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, null, null, null]], \"num_cols\": 5, \"_col_widths\": \"[0.5, 4, 1, 1, 1]\", \"col_widths\": [0.5, 4, 1, 1, 1], \"field_rows\": \"lines\", \"table_bordered\": true, \"table_striped\": true, \"table_hover\": true, \"on_click\": \"\", \"margin_left\": 50, \"margin_right\": 50, \"margin_top\": 0, \"num_rows\": null, \"dyn_props\": \"\n                                                                                                                                                                                                                                                                                                                                                        <table>\\n  \n                                                                                                                                                                                                                                                                                                                                                            <tr>\\n    \n                                                                                                                                                                                                                                                                                                                                                                <th colspan=\\\"2\\\">Check</th>\\n\n                                                                                                                                                                                                                                                                                                                                                            </tr>\\n\n                                                                                                                                                                                                                                                                                                                                                        </table>\", \"margin_bottom\": 0, \"padding_top\": 0, \"padding_bottom\": 0, \"border_width\": null}], \"min_height\": 50, \"dyn_props\": \"{hidden: hide}\", \"margin_bottom\": 10, \"margin_top\": 0, \"padding_top\": null, \"padding_bottom\": null, \"avoid_keyboard\": true}, {\"type\": \"box\", \"children\": [], \"min_height\": 50, \"footer\": true}], \"min_height\": 50}], \"background_color\": \"#f1f1f1\", \"custom_css\": \"body {\\nbackground-color:#f1f1f1;\\n}\", \"fields\": \"[\\\"location_id.name\\\", \\\"number\\\", \\\"date\\\",  \\\"lines.product_id.code\\\", \\\"lines.product_id.name\\\", \\\"lines.prev_qty\\\"]\", \"header_height\": \"170\", \"show_page_no\": true, \"footer_height\": \"100\", \"filename\": \"{number}\"}, \"code\": \"function on_load(){\\n  var data = get_data();\\n  var lines = data.lines;\\n  \\n  var date = data.date;\\n  var new_date = moment(date).format('DD MMMM YYYY');\\n  data.date = new_date;\\n\\n  var counter = 0;\\n\\n  for (let line of lines){\\n    line.counter = counter + 1;\\n    counter++;\\n  }\\n\\n  set_data();\\n}\\n\"}, \"shopee_express_airway_bill\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"width\": \"150\", \"height\": \"\", \"image_file\": null, \"margin_top\": 10, \"padding_top\": 30, \"padding_bottom\": 30, \"url\": \"https://backend-prod2.netforce.com/static/db/nfo_urbanw/files/8ff944703c424af425f0256120a42259-removebg-preview%2CSLLWuHFPGCg%3D%2CFEcwzN8Ncic%3D%2CHVRPUxcbjvw%3D.png\"}, {\"type\": \"image\", \"min_height\": 50, \"image_file\": null, \"margin_top\": 5, \"width\": \"150\", \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5, \"margin_left\": 5, \"url\": \"https://backend-prod2.netforce.com/static/db/nfo_urbanw/files/shopee-removebg-preview%2C1FWZVBKlSr4%3D%2C2BYOpM4KjFU%3D%2COCt-EIf7G3A%3D.png\"}]}, {\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"height\": \"100\", \"margin_top\": 30, \"align\": \"center\", \"width\": \"1000\", \"barcode_value\": \"{ship_tracking}\", \"barcode_type\": \"code128\", \"name\": \"\", \"bar_width\": \"5\", \"margin_left\": null}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"{ship_tracking}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 10, \"font_size\": 20}]}], \"num_cols\": 3, \"col_widths\": [1, 0.01, 5], \"_col_widths\": \"[1,0.01,5]\", \"margin_bottom\": 0, \"margin_left\": 5, \"margin_right\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Order Details \"}, {\"insert\": \"\\n\"}]}, \"padding_bottom\": null, \"padding_top\": 7, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"margin_right\": 5, \"margin_top\": 5, \"margin_left\": 5, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Ship By Date:\\t{exp_ship_date}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Weight (kg):\\t\\t{weight}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Order ID:\\t\\t\\t\"}, {\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n\"}]}, \"padding_bottom\": 100, \"margin_bottom\": null, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_right\": 5, \"margin_left\": 5, \"margin_bottom\": 5}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Order Details (Courier)\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 7, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"margin_right\": 5, \"margin_top\": 5, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"PDO\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_bottom\": 57, \"padding_top\": 50, \"margin_top\": null, \"margin_bottom\": null, \"font_size\": 30, \"width\": \"370\"}], \"min_height\": 50, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_right\": 5, \"margin_bottom\": 5, \"width\": \"\"}]}], \"num_cols\": 2, \"col_widths\": [2.2, 1], \"_col_widths\": \"[2.2,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Sender Details (Pengirim)\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 7, \"padding_bottom\": null, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Name:\\t\\t{contact_id.name}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Phone:\\t    {contact_id.phone}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Address:\\t{ship_address_id.address} {ship_address_id.address2}{ship_address_id.postal_code} {ship_address_id.city} {ship_address_id.province_id.name}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Postcode:\\t{ship_address_id.postal_code}\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_left\": null, \"margin_right\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Recipient Details (Penerima)\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 7, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Name:\\t\\t{recipient_first_name} {recipient_last_name}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Phone:\\t\\t{recipient_phone}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Address:\\t{recipient_address} {recipient_address2} {recipient_city} {recipient_postcode} {recipient_province} {recipient_country}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Postcode:\\t{recipient_postcode} \"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}], \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"POD\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 7, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Name:\\t\\t\\t\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"I.C.:\\t\\t\\t\\t\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Signature:\\t\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[null, null, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{index}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{product_id.code}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{qty}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 16}]], \"num_cols\": 3, \"_col_widths\": \"[0.5,4.5,1]\", \"col_widths\": [0.5, 4.5, 1], \"field_rows\": \"lines\", \"table_bordered\": true, \"margin_top\": 0, \"margin_bottom\": 0, \"padding_top\": 0, \"padding_bottom\": 0}], \"min_height\": 150, \"border_width\": null, \"padding_top\": 5, \"padding_left\": 5, \"padding_bottom\": 5, \"padding_right\": 5, \"page_break_after\": false, \"border_top_width\": 1}], \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5, \"margin_bottom\": 20, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\"}], \"min_height\": 50, \"margin_right\": 5, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{routing_info_1}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"font_size\": 18}], \"min_height\": 50, \"margin_right\": 5, \"border_left_width\": 1, \"border_bottom_width\": null, \"border_right_width\": 1, \"border_top_width\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{routing_info_2}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"font_size\": 18}], \"min_height\": 50, \"margin_right\": 5, \"border_top_width\": null, \"border_left_width\": 1, \"border_right_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{recipient_province}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"font_size\": 18}], \"min_height\": 50, \"margin_right\": 5, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"{recipient_postcode}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"margin_top\": 20, \"margin_bottom\": 30, \"font_size\": 25}, {\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"align\": \"center\", \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"width\": \"200\", \"height\": \"200\", \"margin_top\": 100, \"barcode_value\": \"{ship_tracking}\", \"barcode_type\": \"qr\"}], \"min_height\": 50, \"margin_top\": 50}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{ship_tracking}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"margin_bottom\": 53, \"margin_top\": 10, \"font_size\": 23}], \"min_height\": 635, \"margin_right\": 5, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"margin_bottom\": 20, \"height\": \"\", \"width\": \"370\"}]}], \"num_cols\": 2, \"col_widths\": [3, 1], \"margin_left\": null, \"margin_right\": null, \"_col_widths\": \"[3,1]\"}], \"min_height\": 50, \"border_top_width\": 2, \"border_right_width\": 2, \"border_left_width\": 2, \"border_bottom_width\": 2, \"margin_left\": 10, \"margin_right\": 10}], \"fields\": \"[\\\"recipient_phone\\\",\\\"exp_ship_date\\\",\\\"number\\\", \\\"contact_id.name\\\", \\\"contact_id.phone\\\", \\\"ship_tracking\\\", \\\"ship_address_id.address\\\",  \\\"ship_address_id.address2\\\", \\\"ship_address_id.postal_code\\\", \\\"ship_address_id.city\\\", \\\"ship_address_id.province_id.name\\\", \\\"recipient_first_name\\\",\\\"recipient_last_name\\\",\\\"recipient_address\\\",\\\"recipient_address2\\\",\\\"recipient_city\\\",\\\"recipient_postcode\\\",\\\"recipient_province\\\",\\\"recipient_country\\\",\\\"recipient_phone\\\",\\\"lines.index\\\",\\\"lines.product_id.code\\\",\\\"lines.qty\\\"]\"}, \"code\": null}, \"invoice_downloader\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"Shopee/Lazada Invoice Downloader\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SmartB Solutions Sdn Bhd\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 3, 1], \"margin_bottom\": 30, \"_col_widths\": \"[1,3,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Order No.\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"margin_right\": 20, \"padding_top\": 5}]}, {\"children\": [{\"type\": \"field\", \"name\": \"memo\", \"field_type\": \"text\", \"model\": \"\", \"placeholder\": \"please fill in your order no.\", \"field_value\": \"\", \"load_options\": \"\", \"load_name\": \"\", \"condition\": \"\", \"margin_right\": null}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}, {\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Address\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"small\", \"italic\": true}, \"insert\": \"(if different from billing address)\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 20, \"font_size\": 18, \"padding_top\": 5}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"textarea\", \"name\": \"ship_address\"}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [0.3, 1, 0.1, 1, 0.2], \"padding_left\": null, \"padding_right\": null, \"align\": \"center\", \"margin_top\": 50, \"margin_right\": 60, \"_col_widths\": \"[0.3,1,0.1,1,0.2]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"button\", \"text\": \"Go\", \"icon\": \"arrow-right\", \"size\": \"normal\", \"align\": \"center\", \"on_click\": \"add()\", \"width\": \"100\", \"height\": \"50\", \"border_width\": 0, \"border_radius\": 15, \"border_color\": \"#f77e18\", \"font_bold\": true, \"color\": \"#ffffff\", \"background_color\": \"#ff9c00\", \"font_size\": 15}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Cancel\", \"icon\": \"remove\", \"size\": \"normal\", \"on_click\": \"clear()\", \"width\": \"100\", \"height\": \"50\", \"background_color\": \"#e7716e\", \"color\": \"#ffffff\", \"font_bold\": true, \"font_size\": 15, \"border_width\": 0, \"border_radius\": 15}]}], \"col_widths\": [1, 1]}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"margin_top\": 30}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#ffffff\", \"bold\": true}, \"insert\": \"Order Details:\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_top\": 5, \"padding_left\": 10, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"background_color\": \"#545353\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Date: \"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{date}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_top\": null, \"padding_left\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Address: \"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{shipping_address}{ship_address}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"margin_top\": 10, \"margin_bottom\": null, \"_col_widths\": \"[1,2]\"}], \"min_height\": 50, \"margin_top\": 50, \"margin_left\": 20, \"margin_right\": 20, \"background_color\": \"#ffffff\", \"padding_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"button\", \"align\": \"right\", \"width\": \"150\", \"height\": \"50\", \"text\": \"Generate Invoice\", \"icon\": \"\", \"font_size\": 15, \"font_bold\": true, \"color\": \"#ffffff\", \"background_color\": \"#f77e18\", \"on_click\": \"print_pdf()\", \"border_width\": 0, \"border_radius\": 15}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 10, \"margin_left\": 20, \"margin_right\": 20}], \"min_height\": 50, \"padding_top\": 30, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 30, \"background_color\": \"#f1f1f1\", \"show_phone\": true, \"show_tablet\": true, \"show_desktop\": true}]}, \"code\": \"/*async function load_memo(query){\\n  //if(query == \\\"%\\\") query = \\\"\\\";\\n  var data = get_data();\\n  var slct = [];\\n  var cond = [[]];\\n  var memo = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[cond,['memo','id']]);\\n\\n  console.log(\\\"memo : \\\"+memo);\\n  for (var i = 0; i< memo.length; i++) {\\n    var memo = memo[i];\\n\\n    var value = memo.id;\\n    var label = memo.memo;\\n\\n    slct.push({\\n      value: value,\\n      label: label,\\n    });\\n  }\\n  return slct;\\n}*/\\n/*\\nasync function load_memo() {\\n  var data = get_data();\\n  var slct = [];\\n  var cond=[[\\\"type\\\",\\\"=\\\",\\\"out\\\"]];\\n  var invoice = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[cond,['memo']]);\\n\\n  for (var i = 0; i < invoice.length; i++) {\\n    var invoice = invoice[i];\\n    var value = invoice.id;\\n    var label = invoice.memo;\\n    slct.push({\\n      value: value,\\n      label: label,\\n    });\\n  }\\n  return slct;\\n}\\n\\nasync function load_memo_name(query) {\\n  var data = get_data();\\n  var cond=[[\\\"type\\\",\\\"=\\\",\\\"out\\\"]];\\n  var invoice = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[cond,['memo']]);\\n\\n  var result = [];\\n  for (var invoice of invoice) {\\n    if (!invoice.memo) {\\n      console.log('invoice not found', invoice);\\n      continue;\\n    }\\n    var label = invoice.memo;\\n    var id = invoice.id; \\n    if (label.includes(query)) {\\n      result.push({\\n        value: id,\\n        label: label,\\n      });\\n    } else {\\n      result = await load_memo();\\n    }\\n  }\\n  return result;\\n}\\n*/\\nasync function add(){\\n  var data = get_data();\\n  console.log(\\\"testing\\\", data.memo);\\n  //var memo = \\\"Order ID-\\\" + data.memo;\\n  var memo = data.memo;\\n  var ship_address = data.ship_address;\\n  if(!data.memo)throw \\\"Missing Order No!\\\";\\n\\n  var inv = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[[[\\\"memo\\\",\\\"ilike\\\",memo],[\\\"type\\\",\\\"=\\\",\\\"out\\\"]],[\\\"date\\\",\\\"number\\\",\\\"bill_address_id\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]]);\\n  if (inv.length === 0) throw (`Invoice NOT found for Order Number: ${data.memo}`)\\n  var invoice_id = inv[0].id;\\n  /*var line=\\n      {\\n        date: inv[0].date,\\n      }\\n  if (!data.lines) data.lines = [];\\n  data.lines.push(line);*/\\n\\n  set_data({\\n    shipping_address:inv[0].bill_address_id,\\n    date:inv[0].date,\\n    ship_address:ship_address,\\n    invoice_id:invoice_id,\\n  });\\n}\\n\\nasync function print_pdf(){\\n  var data=get_data();\\n\\n  //// write shipping address into ref\\n  if(data.ship_address){\\n    var vals = {\\n    ref: data.ship_address\\n    };\\n    await rpc_execute(\\\"account.invoice\\\",\\\"write\\\",[[data.invoice_id],vals]);\\n  }\\n  ////\\n\\n  //var url=\\\"https://backend-prod2.netforce.com/render_page_pdf?page_id=348&active_id=425&database=nfo_main&user_id=63&company_id=1&token=bmZvX21haW4gNjM=|1616407803|3919087415faee3ebb1e5756bba8d530a68bff0c\\\"\\n  //var url=\\\"https://pages-prod2.netforce.com/?page=stock_margin_print&db=nfo_main&user_id=8&company_id=1&token=bmZvX21haW4gNjM=|1616407803|3919087415faee3ebb1e5756bba8d530a68bff0c\\\";\\n  console.log(\\\"ship_address\\\", data.ship_address);\\n  var res = await rpc_execute(\\\"account.invoice\\\",\\\"read_path\\\",[[data.invoice_id],[\\\"contact_id.invoice_print_template_id\\\"]]);\\n  if (res.length != 0 && res[0].contact_id && res[0].contact_id.invoice_print_template_id){\\n    var page_id = res[0].contact_id.invoice_print_template_id;\\n  } else {\\n    var page_id = 428;\\n  }\\n  var pdf = `https://backend-prod2.netforce.com/render_page_pdf?page_id=${page_id}&active_id=${data.invoice_id}&database=nfo_main&user_id=54&company_id=1&token=bmZvX21haW4gNTQ=|1628487047|8b9d188d55d2695923451581f1650427e0fa8369&ship_address=${data.ship_address}&lang=en_US&no_download=1`;\\n\\n  //var pdf += \\\"&active_id=\\\"+data.memo+\\\"&database=nfo_urbanw\\\";\\n  /*if(data.product_categ){\\n    url += \\\"&product_categ=\\\"+data.product_categ.id;\\n  }\\n  if(data.product){\\n    url += \\\"&product=\\\"+data.product.id;\\n  }\\n  if(data.brand){\\n    url += \\\"&brand=\\\"+data.brand.id;\\n  }*/\\n\\n  //var url2 = \\\"https://backend-prod2.netforce.com/render_page_pdf?page_id=428\\\" +(pdf);\\n  window.open(pdf);\\n  clear();\\n}\\n\\nfunction clear()\\n{\\n  set_data({\\n    memo:null,\\n    shipping_address:null,\\n    date:null,\\n    ship_address:null,\\n  });\\n}\"}, \"so_report\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"Custom Sales Report\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_top\": 20, \"margin_bottom\": 10, \"align\": \"center\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Sales Category:\\n\"}]}, \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"sale_category\", \"field_type\": \"select2\", \"placeholder\": \"Sales Category\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"End Date:\\n\"}]}, \"margin_left\": 20, \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"end_date\", \"field_type\": \"date\", \"margin_left\": 20, \"placeholder\": \"Start Date\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Product Category:\\n\"}]}, \"margin_left\": 20, \"margin_bottom\": 5}, {\"type\": \"field\", \"margin_left\": 20, \"name\": \"prod_category\", \"field_type\": \"select2\", \"placeholder\": \"Product Category\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Product Code:\\n\"}]}, \"margin_left\": 20, \"margin_bottom\": 5}, {\"type\": \"field\", \"margin_left\": 20, \"name\": \"prod_code\", \"field_type\": \"text\", \"placeholder\": \"Product Code\"}]}], \"num_cols\": 4, \"col_widths\": [1, 1, 1, 1], \"margin_top\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Compared Period:\\n\"}]}, \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"comp_period\", \"field_type\": \"text\", \"placeholder\": \"Compare Period\", \"border_radius\": null}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"End Date:\\n\"}]}, \"margin_left\": 20, \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"end_date\", \"field_type\": \"date\", \"placeholder\": \"End Date\", \"margin_left\": 20}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Sales Category:\\n\"}]}, \"margin_left\": 20, \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"sale_category\", \"field_type\": \"select\", \"placeholder\": \"Sales Category\", \"margin_left\": 20}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Product Category:\\n\"}]}, \"margin_left\": 20, \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"prod_category\", \"field_type\": \"select2\", \"placeholder\": \"Product Category\", \"margin_left\": 20}]}], \"num_cols\": 4, \"col_widths\": [1, 1, 1, 1], \"margin_bottom\": 10, \"margin_top\": 10, \"align\": \"center\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Product Code:\\n\"}]}, \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"prod_code\", \"field_type\": \"text\", \"placeholder\": \"Product Code\"}]}, {\"children\": [{\"type\": \"text\"}, {\"type\": \"button\", \"text\": \"Search\", \"size\": \"large\", \"name\": \"submit\", \"margin_left\": 20, \"height\": \"25\", \"width\": \"50\", \"background_color\": \"#061558\", \"color\": \"#ffffff\"}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 1, 1, 1]}], \"min_height\": 50, \"padding_bottom\": 20}]}, \"code\": null}, \"si_analysis\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"Supplier Invoice Analysis\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"From {from} to {to}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": 25}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"Filter Supplier Invoice with Number \"}, {\"attributes\": {\"color\": \"#e60000\", \"bold\": true}, \"insert\": \"or\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \" Contact\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Date From:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 5, \"margin_top\": 5, \"margin_bottom\": 5}]}, {\"children\": [{\"type\": \"field\", \"name\": \"date_from\", \"field_type\": \"date\", \"on_change\": \"\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Date To:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 5, \"margin_top\": 5, \"margin_bottom\": 5}]}, {\"children\": [{\"type\": \"field\", \"name\": \"date_to\", \"field_type\": \"date\", \"on_change\": \"\"}]}, {\"children\": []}], \"num_cols\": 6, \"col_widths\": [2, 0.5, 0.5, 0.5, 0.5, 2], \"_col_widths\": \"[2,0.5,0.5,0.5,0.5,2]\", \"background_color\": null, \"padding_top\": 10, \"padding_bottom\": 10, \"padding_right\": 10, \"padding_left\": 10, \"margin_bottom\": 20, \"avoid_keyboard\": false}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SI Number:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"margin_top\": 5, \"margin_bottom\": 5, \"margin_right\": 5, \"align\": \"right\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select2\", \"model\": \"account.invoice\", \"on_change\": \"set_data({contact_id:null})\", \"name\": \"si_id\", \"condition\": \"[[\\\"type\\\",\\\"=\\\",\\\"in\\\"]]\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Contact:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"margin_top\": 5, \"margin_bottom\": 5, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select2\", \"model\": \"contact\", \"name\": \"contact_id\", \"on_change\": \"set_data({si_id:null})\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"30\", \"height\": \"30\", \"icon\": \"refresh\", \"align\": \"center\", \"border_radius\": 5, \"padding_top\": 5, \"padding_bottom\": 5, \"padding_right\": 5, \"padding_left\": 5, \"margin_top\": 5, \"margin_bottom\": 5, \"on_click\": \"on_load()\", \"background_color\": \"#d1ffeb\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Go\", \"on_click\": \"submit()\", \"width\": \"100\", \"height\": \"40\", \"background_color\": \"#8eff1f\", \"font_size\": 18, \"font_bold\": true}]}], \"num_cols\": 7, \"col_widths\": [1, 0.5, 1, 0.5, 1, 0.3, 0.7], \"_col_widths\": \"[1,0.5,1,0.5,1,0.3,0.7]\", \"margin_bottom\": 30}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SI NUMBER\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DATE\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CONTACT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SI AMOUNT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"GR AMOUNT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SI AMOUNT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 16}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{si_number}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{date}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_name}\\n\"}]}, \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM \"}, {\"insert\": \"{si_amount}\\n\"}]}, \"font_size\": 16, \"background_color\": null, \"padding_left\": null, \"padding_top\": null, \"padding_right\": null, \"padding_bottom\": null, \"margin_top\": null, \"margin_right\": null, \"margin_bottom\": null, \"margin_left\": null, \"on_click\": \"display_si(_cid)\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM \"}, {\"insert\": \"{gr_amount}\\n\"}]}, \"font_size\": 16, \"on_click\": \"display_gr(_cid)\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"RM \"}, {\"insert\": \"{si_amount}\\n\"}]}, \"font_size\": 16, \"on_click\": \"display_si(_cid)\"}]], \"num_cols\": 5, \"_col_widths\": \"[0.5,0.5,1,0.5,0.5]\", \"col_widths\": [0.5, 0.5, 1, 0.5, 0.5], \"table_hover\": true, \"table_bordered\": true, \"table_striped\": true, \"field_rows\": \"lines\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"No Supplier Invoice fund for current month.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"min_height\": 50, \"hidden\": true, \"dyn_props\": \"{hidden:hide}\"}], \"min_height\": 50, \"padding_top\": 10, \"padding_left\": 50, \"padding_right\": 50, \"padding_bottom\": 10}]}, \"code\": \"async function on_load(){\\n  var today = new Date();\\n  var start_date = new Date(today.getFullYear(), today.getMonth(), 1);\\n  var end_date = new Date(today.getFullYear(), today.getMonth()+1, 0);\\n\\n  var from = start_date.getFullYear() + \\\"-\\\" + (\\\"0\\\" + (start_date.getMonth() + 1)).slice(-2) + \\\"-\\\" + (\\\"0\\\" + start_date.getDate()).slice(-2);\\n  var to = end_date.getFullYear() + \\\"-\\\" + (\\\"0\\\" + (end_date.getMonth() + 1)).slice(-2) + \\\"-\\\" + (\\\"0\\\" + end_date.getDate()).slice(-2);\\n\\n  set_data({\\n    si_id:null,\\n    contact_id:null,\\n    date_from: from,\\n    date_to : to,\\n    from:from,\\n    to:to\\n  })\\n  var all_si = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[[[\\\"type\\\",\\\"=\\\",\\\"in\\\"],[\\\"date\\\", \\\">=\\\", from],[\\\"date\\\", \\\"<=\\\", to]],[\\\"date\\\", \\\"number\\\", \\\"contact_id\\\",\\\"amount_total\\\"]]);\\n  console.log(\\\"all si: \\\",all_si);\\n\\n  if(all_si.length <=0) {\\n    set_data({hide:false});\\n    //alert(\\\"No Purchase Order for \\\"+from+\\\" until \\\"+to+\\\". \\\");\\n  }\\n\\n  var array = [];\\n  for(var i=0; i\n                                                                                                                                                                                                                                                                                                                                                        <all_si.length; i++){\\n    var rel_gr = await rpc_execute(\\\"stock.picking\\\",\\\"search_read\\\",[[[\\\"invoice_id\\\",\\\"=\\\",all_si[i].id]],[\\\"cost_total\\\"]]);\\n    console.log(\\\"rel gr: \\\",rel_gr);\\n\\n    var gr_amount = 0;\\n    if(!rel_gr){\\n      gr_amount = 0;\\n      var gr_id = null;\\n    } else {\\n      for(var j=0; j\n                                                                                                                                                                                                                                                                                                                                                            <rel_gr.length; j++){\\n        gr_amount = gr_amount + rel_gr[j].cost_total;\\n        var gr_id = rel_gr[j].id;\\n      }\\n    }\\n    console.log(\\\"gr amount\\\",gr_amount);\\n\\n    array[i]={\\n      _cid: _.uniqueId(),\\n      date:all_si[i].date,\\n      contact_name:all_si[i].contact_id[1],\\n      si_id:all_si[i].id,\\n      si_number:all_si[i].number,\\n      si_amount:thousands_separators((all_si[i].amount_total).toFixed(2)),\\n      gr_id:gr_id,\\n      gr_amount:thousands_separators(gr_amount.toFixed(2)),\\n    };\\n  }\\n\\n  set_data({\\n    lines:array,\\n  }); \\n}\\n\\nasync function submit(){\\n  set_data({hide:true});\\n  var data = get_data();\\n  var from = data.date_from;\\n  var to = data.date_to;\\n\\n  if(!data.contact_id && !data.si_id){\\n    var all_si = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[[[\\\"type\\\",\\\"=\\\",\\\"in\\\"],[\\\"date\\\", \\\">=\\\", from],[\\\"date\\\", \\\"<=\\\", to]],[\\\"date\\\", \\\"number\\\", \\\"contact_id\\\",\\\"amount_total\\\"]]);\\n    console.log(\\\"all si: \\\",all_si);\\n\\n    if(all_si.length <=0) {\\n      alert(\\\"No Supplier Invoice found for \\\"+from+\\\" until \\\"+to+\\\". \\\");\\n    }\\n\\n    var array = [];\\n    for(var i=0; i\n                                                                                                                                                                                                                                                                                                                                                                <all_si.length; i++){\\n      var rel_gr = await rpc_execute(\\\"stock.picking\\\",\\\"search_read\\\",[[[\\\"invoice_id\\\",\\\"=\\\",all_si[i].id]],[\\\"cost_total\\\"]]);\\n      console.log(\\\"rel gr: \\\",rel_gr);\\n\\n      var gr_amount = 0;\\n      if(!rel_gr){\\n        gr_amount = 0;\\n        var gr_id = null;\\n      } else {\\n        for(var j=0; j\n                                                                                                                                                                                                                                                                                                                                                                    <rel_gr.length; j++){\\n          gr_amount = gr_amount + rel_gr[j].cost_total;\\n          var gr_id = rel_gr[j].id;\\n        }\\n      }\\n      console.log(\\\"gr amount\\\",gr_amount);\\n\\n      array[i]={\\n        _cid: _.uniqueId(),\\n        date:all_si[i].date,\\n        contact_name:all_si[i].contact_id[1],\\n        si_id:all_si[i].id,\\n        si_number:all_si[i].number,\\n        si_amount:thousands_separators((all_si[i].amount_total).toFixed(2)),\\n        gr_id:gr_id,\\n        gr_amount:thousands_separators(gr_amount.toFixed(2)),\\n      };\\n    }\\n\\n    set_data({\\n      lines:array,\\n    });   \\n  }\\n  else if(!data.contact_id){\\n    await onchange_si();\\n  }\\n  else if(!data.si_id){\\n    await onchange_contact();\\n  }\\n}\\n\\n/*\\nasync function onchange_date(){\\n  var data = get_data();\\n  var from = data.date_from;\\n  var to = data.date_to;\\n\\n  if(!data.contact_id && !data.si_id){\\n    var all_si = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[[[\\\"type\\\",\\\"=\\\",\\\"in\\\"],[\\\"date\\\", \\\">=\\\", from],[\\\"date\\\", \\\"<=\\\", to]],[\\\"date\\\", \\\"number\\\", \\\"contact_id\\\",\\\"amount_total\\\"]]);\\n    console.log(\\\"all si: \\\",all_si);\\n\\n    var array = [];\\n    for(var i=0; i\n                                                                                                                                                                                                                                                                                                                                                                        <all_si.length; i++){\\n      var rel_gr = await rpc_execute(\\\"stock.picking\\\",\\\"search_read\\\",[[[\\\"invoice_id\\\",\\\"=\\\",all_si[i].id]],[\\\"cost_total\\\"]]);\\n      console.log(\\\"rel gr: \\\",rel_gr);\\n\\n      var gr_amount = 0;\\n      if(!rel_gr){\\n        gr_amount = 0;\\n        var gr_id = null;\\n      } else {\\n        for(var j=0; j\n                                                                                                                                                                                                                                                                                                                                                                            <rel_gr.length; j++){\\n          gr_amount = gr_amount + rel_gr[j].cost_total;\\n          var gr_id = rel_gr[j].id;\\n        }\\n      }\\n      console.log(\\\"gr amount\\\",gr_amount);\\n\\n      array[i]={\\n        _cid: _.uniqueId(),\\n        date:all_si[i].date,\\n        contact_name:all_si[i].contact_id[1],\\n        si_id:all_si[i].id,\\n        si_number:all_si[i].number,\\n        si_amount:thousands_separators((all_si[i].amount_total).toFixed(2)),\\n        gr_id:gr_id,\\n        gr_amount:thousands_separators(gr_amount.toFixed(2)),\\n      };\\n    }\\n\\n    set_data({\\n      lines:array,\\n    });   \\n  }\\n  else if(!data.contact_id){\\n    await onchange_si();\\n  }\\n  else if(!data.si_id){\\n    await onchange_contact();\\n  }\\n}\\n*/\\n\\nasync function onchange_si(){\\n  var data = get_data();\\n  console.log(\\\"selected si id: \\\",data.si_id.id);\\n  var si_id = data.si_id.id;\\n  var date_from = data.date_from;\\n  var date_to = data.date_to;\\n\\n  var selected_si = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[[[\\\"id\\\",\\\"=\\\",si_id]],[\\\"date\\\", \\\"number\\\", \\\"contact_id\\\",\\\"amount_total\\\", \\\"pickings\\\"]]);\\n  console.log(\\\"selected si: \\\",selected_si);\\n  set_data({contact_id:null});\\n\\n  var array = [];\\n  for(var i=0; i\n                                                                                                                                                                                                                                                                                                                                                                                <selected_si.length; i++){\\n    var rel_gr = await rpc_execute(\\\"stock.picking\\\",\\\"search_read\\\",[[[\\\"invoice_id\\\",\\\"=\\\",selected_si[i].id]],[\\\"cost_total\\\"]]);\\n    console.log(\\\"rel gr: \\\",rel_gr);\\n\\n    var gr_amount = 0;\\n    if(!rel_gr){\\n      gr_amount = 0;\\n      var gr_id = null;\\n    } else {\\n      for(var j=0; j\n                                                                                                                                                                                                                                                                                                                                                                                    <rel_gr.length; j++){\\n        gr_amount = gr_amount + rel_gr[j].cost_total;\\n        var gr_id = rel_gr[j].id;\\n      }\\n    }\\n    console.log(\\\"gr amount\\\",gr_amount);\\n\\n    array[i]={\\n      _cid: _.uniqueId(),\\n      date:selected_si[i].date,\\n      contact_name:selected_si[i].contact_id[1],\\n      si_id:selected_si[i].id,\\n      si_number:selected_si[i].number,\\n      si_amount:thousands_separators((selected_si[i].amount_total).toFixed(2)),\\n      gr_id:gr_id,\\n      gr_amount:thousands_separators(gr_amount.toFixed(2)),\\n    };\\n  }\\n\\n  set_data({\\n    lines:array,\\n  }); \\n}\\n\\nasync function onchange_contact(){\\n  var data = get_data();\\n  console.log(\\\"selected contact id: \\\",data.contact_id.id);\\n  var contact_id = data.contact_id.id;\\n  var date_from = data.date_from;\\n  var date_to = data.date_to;\\n\\n  var selected_si = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[[[\\\"contact_id\\\",\\\"=\\\",contact_id],[\\\"date\\\", \\\">=\\\", date_from],[\\\"date\\\", \\\"<=\\\", date_to]],[\\\"date\\\", \\\"number\\\", \\\"contact_id\\\",\\\"amount_total\\\", \\\"pickings\\\"]]);\\n  console.log(\\\"selected si: \\\",selected_si);\\n  set_data({si_id:null});\\n\\n  if(selected_si.length <=0) {\\n    alert(\\\"No Supplier Invoice from \\\"+data.contact_id.name+\\\" for \\\"+date_from+\\\" until \\\"+date_to+\\\". \\\");\\n  }\\n\\n  var array = [];\\n  for(var i=0; i\n                                                                                                                                                                                                                                                                                                                                                                                        <selected_si.length; i++){\\n    var rel_gr = await rpc_execute(\\\"stock.picking\\\",\\\"search_read\\\",[[[\\\"invoice_id\\\",\\\"=\\\",selected_si[i].id]],[\\\"cost_total\\\"]]);\\n    console.log(\\\"rel gr: \\\",rel_gr);\\n\\n    var gr_amount = 0;\\n    if(!rel_gr){\\n      gr_amount = 0;\\n      var gr_id = null;\\n    } else {\\n      for(var j=0; j\n                                                                                                                                                                                                                                                                                                                                                                                            <rel_gr.length; j++){\\n        gr_amount = gr_amount + rel_gr[j].cost_total;\\n        var gr_id = rel_gr[j].id;\\n      }\\n    }\\n    console.log(\\\"gr amount\\\",gr_amount);\\n\\n    array[i]={\\n      _cid: _.uniqueId(),\\n      date:selected_si[i].date,\\n      contact_name:selected_si[i].contact_id[1],\\n      si_id:selected_si[i].id,\\n      si_number:selected_si[i].number,\\n      si_amount:thousands_separators((selected_si[i].amount_total).toFixed(2)),\\n      gr_id:gr_id,\\n      gr_amount:thousands_separators(gr_amount.toFixed(2)),\\n    };\\n  }\\n\\n  set_data({\\n    lines:array,\\n  }); \\n}\\n\\nasync function display_si(_cid){\\n  var data = get_data();\\n  var lines = data.lines;\\n  var selected_line_id = _cid;\\n\\n  for(var i=0; i\n                                                                                                                                                                                                                                                                                                                                                                                                <lines.length; i++){\\n    if(lines[i]._cid == selected_line_id){\\n      var selected_si = lines[i].si_id;\\n    }  \\n  }\\n\\n  window.open(\\\"http://main.smartb.co/action?name=supp_invoice&mode=form&active_id=\\\"+selected_si);\\n}\\n\\nasync function display_gr(_cid){\\n  var data = get_data();\\n  var lines = data.lines;\\n  var selected_line_id = _cid;\\n\\n  for(var i=0; i<lines.length; i++){\\n    if(lines[i]._cid == selected_line_id){\\n      if(lines[i].gr_amount == 0){\\n        throw \\\"This Purchase Order is not linked to any Good Receipt.\\\"\\n      }else{\\n        var selected_gr = lines[i].gr_id;\\n      }\\n    }  \\n  }\\n\\n  window.open(\\\"http://main.smartb.co/action?name=pick_in&mode=form&active_id=\\\"+selected_gr);\\n}\\n\\nfunction thousands_separators(num)\\n{\\n  var num_parts = num.toString().split(\\\".\\\");\\n  num_parts[0] = num_parts[0].replace(/\\\\B(?=(\\\\d{3})+(?!\\\\d))/g, \\\",\\\");\\n  return num_parts.join(\\\".\\\");\\n}\\n\\n\\n\"}, \"test_lz_ab\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Drop-off\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_top\": 2, \"font_size\": 18}, {\"type\": \"image\", \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5, \"margin_bottom\": 5, \"align\": \"center\", \"image_file\": \"Logo-LEL-EXPRESS,46alcPdq3iM=,PRb8ukHWGI0=,LYCiuTBSV_A=.png\", \"height\": \"140\"}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Delivery\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_top\": 2, \"font_size\": 18}, {\"type\": \"image\", \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5, \"margin_bottom\": 5, \"align\": \"center\", \"image_file\": \"Logo-LEL-EXPRESS,46alcPdq3iM=,PRb8ukHWGI0=,8zwHzn9H4RQ=.png\", \"height\": \"140\"}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_left_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"{recipient_postcode}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 20, \"padding_top\": 60, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 20}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"border_width\": null, \"border_color\": \"#000000\", \"border_bottom_width\": 2}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"barcode_type\": \"code128\", \"align\": \"center\", \"barcode_value\": \"{ship_tracking}\", \"width\": \"250\", \"height\": \"120\", \"margin_top\": 5}], \"min_height\": 50}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Tracking Number: \"}, {\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"{ship_tracking}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Seller: {contact_id.name}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"{ship_address_id.address} {ship_address_id.address2}{ship_address_id.postal_code} {ship_address_id.city} {ship_address_id.province_id.name}\"}, {\"insert\": \"\\n\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"{contact_id.phone}\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_top\": null, \"font_size\": 18, \"padding_left\": 2}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_right_width\": 1, \"border_bottom_width\": null, \"height\": \"\", \"min_height\": 260}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"{number}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5, \"font_size\": 18}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"padding_top\": null, \"padding_bottom\": null}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"COD\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_top_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"MYR\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_top_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"KG\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5, \"font_size\": 18}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_top_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{exp_ship_date}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_top_width\": 1}]}], \"num_cols\": 2, \"col_widths\": [2, 1], \"_col_widths\": \"[2,1]\", \"border_bottom_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"align\": \"center\", \"width\": \"250\", \"height\": \"120\", \"barcode_type\": \"code128\", \"barcode_value\": \"{number}\", \"margin_top\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Order ID : \"}, {\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"{number}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_bottom_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Customer: {recipient_first_name} {recipient_last_name}\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_top\": null, \"font_size\": 18, \"padding_left\": 2}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{recipient_address} {recipient_address2} {recipient_city} {recipient_postcode} {recipient_province} {recipient_country}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"{recipient_phone}\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_top\": 10, \"font_size\": 18, \"padding_left\": 2}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"height\": \"180\", \"border_right_width\": null, \"_col_widths\": \"\"}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"barcode_type\": \"qr\", \"align\": \"center\", \"barcode_value\": \"{ship_tracking}\", \"width\": \"200\", \"height\": \"200\"}], \"min_height\": 50, \"height\": \"\", \"width\": \"\", \"border_width\": null, \"padding_top\": 20, \"padding_bottom\": 20, \"border_left_width\": 1}]}], \"num_cols\": 2, \"col_widths\": [2, 1], \"_col_widths\": \"[2,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"RECEIVER COPY\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_top_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"No.\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Item\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Quantity\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{index}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{product_id.name}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{qty}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}]], \"table_bordered\": true, \"table_striped\": false, \"_col_widths\": \"[0.5,4.5,1]\", \"col_widths\": [0.5, 4.5, 1], \"num_cols\": 3, \"field_rows\": \"lines\"}], \"min_height\": 50, \"border_top_width\": 1, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}], \"min_height\": 50, \"border_width\": 3, \"margin_left\": 10, \"margin_right\": 10}], \"fields\": \"[\\\"recipient_phone\\\",\\\"exp_ship_date\\\",\\\"number\\\",\\\"ship_tracking\\\", \\\"contact_id.name\\\", \\\"ship_address_id.address\\\", \\\"ship_address_id.address2\\\", \\\"ship_address_id.postal_code\\\", \\\"ship_address_id.province_id.name\\\", \\\"ship_address_id.city\\\", \\\"recipient_first_name\\\",\\\"recipient_last_name\\\",\\\"recipient_address\\\",\\\"recipient_address2\\\",\\\"recipient_city\\\",\\\"recipient_postcode\\\",\\\"recipient_province\\\",\\\"recipient_country\\\",\\\"recipient_phone\\\",\\\"lines.index\\\",\\\"lines.product_id.name\\\",\\\"lines.qty\\\"]\"}, \"code\": null}, \"test_po_azira\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"GAPURNA PERMAI SDN BHD\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"color\": \"#ffffff\"}], \"min_height\": 50, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5, \"background_color\": \"#8e0024\"}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1.8, 1], \"_col_widths\": \"[1.8,1]\", \"margin_left\": 50, \"margin_bottom\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"transparent\", \"color\": \"#000000\", \"size\": \"large\", \"bold\": true}, \"insert\": \"GAPURNA PERMAI SDN. BHD. (Co. No.: 494200-P)\"}, {\"insert\": \"\\n\\n42-2, JALAN MEDAN SETIA 2, PLAZA DAMANSARA, BUKIT DAMANSARA, 50490\\nKUALA LUMPUR\\n\"}]}, \"margin_left\": null, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"PURCHASE ORDER\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"min_height\": 50, \"margin_top\": 45}]}, {\"children\": []}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"smartB-logo-2-300x148,1vogq92Srxg=.png\"}]}], \"num_cols\": 2, \"col_widths\": [1.8, 1], \"align\": \"left\", \"hidden\": false, \"_col_widths\": \"[1.8,1]\", \"margin_left\": 50, \"border_bottom_width\": 3}], \"min_height\": 50, \"header\": true, \"margin_bottom\": null, \"margin_top\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TO\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{contact_id.name}\"}, {\"insert\": \"\\n{contact_id.default_address_id.address}\\n{contact_id.default_address_id.address2}\\n{contact_id.default_address_id.postal_code} {contact_id.default_address_id.city} {contact_id.default_address_id.province_id.name}\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [0.1, 0.1, 1.6], \"_col_widths\": \"[0.1,0.1,1.6]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TEL\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_id.phone}\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [0.1, 0.1, 1.6], \"_col_widths\": \"[0.1,0.1,1.6]\", \"margin_top\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"TITLE\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \":\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"underline\": true, \"bold\": true}, \"insert\": \"STOCK PURCHASE FOR OUTLET\"}, {\"insert\": \"\\n\"}]}}]}], \"num_cols\": 3, \"col_widths\": [0.1, 0.1, 1.6], \"_col_widths\": \"[0.1,0.1,1.6]\", \"margin_top\": 5}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 20}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"PO REF. NO.\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"\\t\\t       \\t\\t\\tDATE\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \"TERMS\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 14, \"padding_right\": null, \"margin_right\": null}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 14, \"margin_left\": null, \"padding_left\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{date}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{pay_term_id.name}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 14, \"padding_left\": 5}]}], \"num_cols\": 3, \"col_widths\": [1.5, 0.2, 2], \"_col_widths\": \"[1.5,0.2,2]\"}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 40, \"margin_right\": 40, \"margin_top\": 20, \"_col_widths\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 14}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Description\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Quantity\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 14}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Unit Price (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 14}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Total (RM)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 14}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 14}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\\n\"}]}, \"font_size\": 14}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 14}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(unit_price)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 14}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 14}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}], [null, null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Subtotal:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, null], [null, null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Tax Amount:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}], [null, null, null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Amount:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 5, \"num_rows\": 2, \"_col_widths\": \"[0.5,3,0.5,1,1]\", \"col_widths\": [0.5, 3, 0.5, 1, 1], \"table_bordered\": true, \"table_striped\": true, \"field_rows\": \"lines\", \"margin_left\": 30, \"margin_top\": 20, \"margin_right\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Subtotal:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Tax Amount:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total Amount:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{subtotal}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount_tax}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{total_mount}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [5, 1.5], \"_col_widths\": \"[5,1.5]\", \"avoid_keyboard\": true}], \"min_height\": 50, \"footer\": false, \"margin_bottom\": 20, \"hidden\": true}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Please delivery to:\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"No.17, Jalan Tinju 13/50,\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Block 2, Worldwide Business Park, 40100 Shah Alam, Selangor\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": []}, {\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SUBTOTAL : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TAX : \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_top\": null, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"GRAND TOTAL :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_top\": null, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM {fmt_money(amount_subtotal)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": null}], \"min_height\": 30, \"border_width\": 1, \"border_color\": \"rgba(0,0,0,0.13)\", \"margin_left\": 15}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM {fmt_money(amount_tax)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": null}], \"min_height\": 30, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"shadow_color\": \"rgba(0,0,0,0.13)\", \"border_color\": \"rgba(0,0,0,0.13)\", \"margin_left\": 15}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM {fmt_money(amount_total)}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": null}], \"min_height\": 30, \"border_right_width\": 1, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_color\": \"rgba(0,0,0,0.13)\", \"margin_left\": 15}]}], \"num_cols\": 5, \"col_widths\": [2.5, 1, 0.4, 1, 1.1], \"_col_widths\": \"[2.5,1,0.4,1,1.1]\", \"margin_left\": 30}], \"min_height\": 50, \"container\": true}], \"min_height\": 50}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"APPROVAL:\"}, {\"insert\": \"\\n\"}]}, \"color\": \"#000000\", \"background_color\": \"rgba(102,102,102,0.07)\", \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"border_right_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"PREPARED BY,\"}, {\"insert\": \"\\n\"}]}, \"padding_bottom\": 50, \"padding_top\": 5, \"padding_left\": 5}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NAME\\nDATE\\n\"}]}, \"padding_left\": 5, \"padding_top\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{user_id.first_name} {user_id.last_name}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{date}\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 5}]}], \"num_cols\": 3, \"col_widths\": [0.2, 0.1, 1], \"margin_right\": 200, \"border_top_width\": 1, \"_col_widths\": \"[0.2,0.1,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"VERIFIED BY,\"}, {\"insert\": \"\\n\"}]}, \"padding_bottom\": 50, \"padding_top\": 5, \"padding_left\": 5}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NAME\\nDATE\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{user_id.first_name} {user_id.last_name}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{date}\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 5}]}], \"num_cols\": 3, \"col_widths\": [0.2, 0.1, 1], \"margin_right\": 200, \"border_top_width\": 1, \"_col_widths\": \"[0.2,0.1,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CHECKED BY,\"}, {\"insert\": \"\\n\"}]}, \"padding_bottom\": 50, \"padding_top\": 5, \"padding_left\": 5}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"padding_top\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NAME\\nDATE\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Mohd Faizi Ganesh\"}, {\"insert\": \"\\n\\n\"}]}, \"padding_top\": 5}]}], \"num_cols\": 3, \"col_widths\": [0.2, 0.1, 1], \"margin_right\": 200, \"border_top_width\": 1, \"_col_widths\": \"[0.2,0.1,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"APPROVED BY,\"}, {\"insert\": \"\\n\"}]}, \"padding_bottom\": 50, \"padding_top\": 5, \"padding_left\": 5}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NAME\\nDATE\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}, {\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Mark Foong\"}, {\"insert\": \"\\n\\n\"}]}, \"padding_top\": 5}]}], \"num_cols\": 3, \"col_widths\": [0.2, 0.1, 1], \"margin_right\": 200, \"border_top_width\": 1, \"_col_widths\": \"[0.2,0.1,1]\"}], \"min_height\": 50, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"ACKNOWLEDGEMENT & ACCEPTANCE\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5, \"background_color\": \"rgba(102,102,102,0.07)\", \"border_left_width\": null}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"AUTHORISED SIGNATURE,\"}, {\"insert\": \"\\n\"}]}, \"padding_bottom\": 50, \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"NAME\\n\"}]}, \"padding_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\"}]}], \"num_cols\": 3, \"col_widths\": [0.3, 0.1, 1.8], \"border_top_width\": 1, \"_col_widths\": \"[0.3,0.1,1.8]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"COMPANY CHOP & ADDRESS,\"}, {\"insert\": \"\\n\"}]}, \"padding_bottom\": 50, \"padding_top\": 5, \"padding_left\": 5}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_top\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"DATE\\n\"}]}, \"padding_left\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\"}]}], \"num_cols\": 3, \"col_widths\": [0.3, 0.1, 1.8], \"border_top_width\": 1, \"_col_widths\": \"[0.3,0.1,1.8]\"}]}], \"num_cols\": 2, \"col_widths\": [1, 0.7], \"_col_widths\": \"[1,0.7]\", \"margin_left\": 40, \"border_right_width\": null}], \"min_height\": 50, \"margin_top\": 20}], \"fields\": \"[\\\"user_id.first_name\\\",\\\"user_id.last_name\\\",\\\"user_id.name\\\",\\\"bill_address_id.country_id.name\\\",\\\"bill_address_id.city\\\",\\\"bill_address_id.postal_code\\\",\\\"bill_address_id.address2\\\",\\\"bill_address_id.address\\\",\\\"currency_id.name\\\",\\\"contact_id.email\\\",\\\"contact_id.name\\\",\\\"contact_id.default_address_id.address\\\",\\\"number\\\",\\\"date\\\",\\\"contact_id.code\\\",\\\"pay_term_id.name\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.amount\\\",\\\"currency_id.code\\\",\\\"amount_total\\\",\\\"amount_total_words\\\",\\\"ref\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]\", \"width\": \"\", \"height\": \"\", \"header_height\": \"200\", \"footer_height\": \"50\", \"filename\": \"PO-{number}\", \"page_margin_left\": 20, \"page_margin_right\": 20, \"page_margin_top\": 20, \"page_margin_bottom\": 20}, \"code\": \"function on_load(){\\n  var data = get_data();\\n  var date = data.date;\\n  var new_date = moment(date).format('YY/MM/DD');\\n  data.date = \\\"12134565\\\";\\n  data.number = \\\"TESTTTT\\\";\\n  \\n  set_data();\\n}\"}, \"test_se_ab\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"width\": \"300\", \"height\": \"\", \"image_file\": \"8ff944703c424af425f0256120a42259-removebg-preview,SLLWuHFPGCg=,FEcwzN8Ncic=.png\", \"margin_top\": 30, \"padding_top\": 30, \"padding_bottom\": 30}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"shopee-removebg-preview,1FWZVBKlSr4=,2BYOpM4KjFU=.png\", \"margin_top\": 30, \"width\": \"250\", \"padding_top\": 5, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 5, \"margin_left\": 20}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"height\": \"70\", \"margin_top\": 30, \"align\": \"center\", \"width\": \"250\", \"barcode_value\": \"{ship_tracking}\", \"barcode_type\": \"code128\", \"name\": \"\", \"bar_width\": \"1\", \"margin_left\": null}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"{ship_tracking}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 10, \"font_size\": 20}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 3], \"_col_widths\": \"[1,1,3]\", \"margin_bottom\": 0, \"margin_left\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Order Details \"}, {\"insert\": \"\\n\"}]}, \"padding_bottom\": null, \"padding_top\": 7, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"margin_right\": 5, \"margin_top\": 5, \"margin_left\": 5, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Ship By Date:\\t{exp_ship_date}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Weight (kg):\\t\\t{weight}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Order ID:\\t\\t\\t\"}, {\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"{number}\"}, {\"insert\": \"\\n\"}]}, \"padding_bottom\": 100, \"margin_bottom\": null, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_right\": 5, \"margin_left\": 5, \"margin_bottom\": 5}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Order Details (Courier)\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 7, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"margin_right\": 5, \"margin_top\": 5, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"PDO\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_bottom\": 57, \"padding_top\": 50, \"margin_top\": null, \"margin_bottom\": null, \"font_size\": 30, \"width\": \"370\"}], \"min_height\": 50, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_right\": 5, \"margin_bottom\": 5, \"width\": \"\"}]}], \"num_cols\": 2, \"col_widths\": [2.2, 1], \"_col_widths\": \"[2.2,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Sender Details (Pengirim)\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 7, \"padding_bottom\": null, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Name:\\t\\t{contact_id.name}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Phone:\\t    {contact_id.phone}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Address:\\t{ship_address_id.address} {ship_address_id.address2}{ship_address_id.postal_code} {ship_address_id.city} {ship_address_id.province_id.name}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Postcode:\\t{ship_address_id.postal_code}\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1, \"margin_left\": null, \"margin_right\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Recipient Details (Penerima)\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 7, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Name:\\t\\t{recipient_first_name} {recipient_last_name}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Phone:\\t\\t{recipient_phone}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Address:\\t{recipient_address} {recipient_address2} {recipient_city} {recipient_postcode} {recipient_province} {recipient_country}\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Postcode:\\t{recipient_postcode} \"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}], \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"POD\"}, {\"insert\": \"\\n\"}]}, \"padding_top\": 7, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}], \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Name:\\t\\t\\t\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"I.C.:\\t\\t\\t\\t\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"size\": \"large\"}, \"insert\": \"Signature:\\t\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 2, \"margin_left\": 5, \"font_size\": 18}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"No.\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Item\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Quantity\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{index}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{product_id.name}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{qty}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}]], \"num_cols\": 3, \"_col_widths\": \"[0.5,4.5,1]\", \"col_widths\": [0.5, 4.5, 1], \"field_rows\": \"lines\", \"table_bordered\": true}], \"min_height\": 150, \"border_width\": null, \"padding_top\": 5, \"padding_left\": 5, \"padding_bottom\": 5, \"padding_right\": 5, \"page_break_after\": false, \"border_top_width\": 1}], \"min_height\": 50, \"margin_left\": 5, \"margin_right\": 5, \"margin_bottom\": 20, \"border_left_width\": 1, \"border_bottom_width\": 1, \"border_right_width\": 1}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\"}], \"min_height\": 50, \"margin_right\": 5, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{routing_info_1}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"font_size\": 18}], \"min_height\": 50, \"margin_right\": 5, \"border_left_width\": 1, \"border_bottom_width\": null, \"border_right_width\": 1, \"border_top_width\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{routing_info_2}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"font_size\": 18}], \"min_height\": 50, \"margin_right\": 5, \"border_top_width\": null, \"border_left_width\": 1, \"border_right_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{recipient_province}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"font_size\": 18}], \"min_height\": 50, \"margin_right\": 5, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"{recipient_postcode}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"margin_top\": 20, \"margin_bottom\": 30, \"font_size\": 25}, {\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"align\": \"center\", \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"width\": \"200\", \"height\": \"200\", \"margin_top\": 100, \"barcode_value\": \"{ship_tracking}\", \"barcode_type\": \"qr\"}, {\"type\": \"image\", \"min_height\": 50, \"align\": \"center\", \"barcode_type\": \"code128\", \"barcode_value\": \"{ship_tracking}\", \"bar_width\": \"1\", \"height\": \"150\", \"margin_top\": 30}], \"min_height\": 50, \"margin_top\": 50}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"{ship_tracking}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"margin_bottom\": 53, \"margin_top\": 10, \"font_size\": 23}], \"min_height\": 635, \"margin_right\": 5, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"margin_bottom\": 20, \"height\": \"\", \"width\": \"370\"}]}], \"num_cols\": 2, \"col_widths\": [3, 1], \"margin_left\": null, \"margin_right\": null, \"_col_widths\": \"[3,1]\"}], \"min_height\": 50, \"border_top_width\": 2, \"border_right_width\": 2, \"border_left_width\": 2, \"border_bottom_width\": 2, \"margin_left\": 10, \"margin_right\": 10}], \"fields\": \"[\\\"recipient_phone\\\",\\\"exp_ship_date\\\",\\\"number\\\", \\\"contact_id.name\\\", \\\"contact_id.phone\\\", \\\"ship_tracking\\\", \\\"ship_address_id.address\\\",  \\\"ship_address_id.address2\\\", \\\"ship_address_id.postal_code\\\", \\\"ship_address_id.city\\\", \\\"ship_address_id.province_id.name\\\", \\\"recipient_first_name\\\",\\\"recipient_last_name\\\",\\\"recipient_address\\\",\\\"recipient_address2\\\",\\\"recipient_city\\\",\\\"recipient_postcode\\\",\\\"recipient_province\\\",\\\"recipient_country\\\",\\\"recipient_phone\\\",\\\"lines.index\\\",\\\"lines.product_id.name\\\",\\\"lines.qty\\\"]\"}, \"code\": null}, \"tickets\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"New Issue \"}, {\"insert\": \"\\n\"}]}, \"font_size\": 26}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Project\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"name\": \"project\", \"model\": \"project\", \"readonly\": true}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"margin_right\": 20, \"_col_widths\": \"[1,2]\", \"padding_right\": null}]}, {\"children\": []}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Number\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"name\": \"number\", \"on_change\": \"\", \"load_options\": \"\", \"readonly\": false, \"disabled\": true}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\"}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Date\\n\"}]}, \"hidden\": true}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"date\", \"name\": \"date\", \"readonly\": true, \"disabled\": false, \"visibility\": \"hidden\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\"}]}], \"num_cols\": 4, \"col_widths\": [1, 0.3, 1, 1], \"margin_right\": 50, \"_col_widths\": \"[1,0.3,1,1]\", \"margin_bottom\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Issuer\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"name\": \"issuer\", \"placeholder\": \"--Please fill in your name--\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_right\": 20, \"hidden\": true, \"visibility\": \"hidden\"}]}, {\"children\": []}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Email\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"name\": \"client_email\", \"field_type\": \"text\", \"model\": \"\", \"readonly\": false, \"placeholder\": \"--Please fill in your email--\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\"}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 0.3, 1, 1], \"margin_right\": 50, \"_col_widths\": \"[1,0.3,1,1]\", \"margin_bottom\": 30}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Issue Details \"}, {\"attributes\": {\"size\": \"small\"}, \"insert\": \"(Please fill up all the required field)\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18, \"margin_bottom\": 20, \"color\": \"#000000\", \"background_color\": \"#ffffff\", \"padding_left\": null, \"border_bottom_width\": 1}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Title\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"--Please fill in the title--\", \"name\": \"title\", \"background_color\": \"#ffffff\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_right\": 20}]}, {\"children\": []}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Issue Type\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"--Please select issue type--\", \"_selection\": \"[[\\\"bug\\\",\\\"Bug\\\"],[\\\"change\\\",\\\"Modification Request\\\"],[\\\"new_feature\\\",\\\"New Feature Request\\\"],[\\\"question\\\",\\\"Question\\\"]]\", \"selection\": [[\"bug\", \"Bug\"], [\"change\", \"Modification Request\"], [\"new_feature\", \"New Feature Request\"], [\"question\", \"Question\"]], \"name\": \"type\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\"}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 0.3, 1, 1], \"_col_widths\": \"[1,0.3,1,1]\", \"margin_right\": 50, \"margin_bottom\": 30}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Priority\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"_selection\": \"[[\\\"0\\\",\\\"Low\\\"],[\\\"1\\\",\\\"Medium\\\"],[\\\"2\\\",\\\"High\\\"]]\", \"selection\": [[\"0\", \"Low\"], [\"1\", \"Medium\"], [\"2\", \"High\"]], \"placeholder\": \"--Please select priority--\", \"name\": \"priority\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_right\": 20}]}, {\"children\": []}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"URL\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"name\": \"url\", \"placeholder\": \"--Please paste url link--\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\"}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 0.3, 1, 1], \"margin_right\": 50, \"margin_bottom\": 30, \"_col_widths\": \"[1,0.3,1,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Problem\\nDescription\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"textarea\", \"name\": \"description\", \"margin_right\": null, \"height\": \"\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_right\": 20}]}, {\"children\": []}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Screenshot:\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"files\", \"name\": \"screenshot\", \"placeholder\": \"\", \"height\": \"\", \"width\": \"\", \"scale\": null, \"padding_bottom\": null, \"margin_bottom\": null}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_bottom\": null, \"padding_bottom\": null}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 0.3, 1, 1], \"margin_right\": 50, \"margin_bottom\": 120, \"_col_widths\": \"[1,0.3,1,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"size\": \"large\", \"text\": \"Submit\", \"align\": \"left\", \"padding_top\": 10, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 10, \"font_size\": 18, \"border_width\": 0, \"width\": \"140\", \"height\": \"50\", \"background_color\": \"#878d8a\", \"color\": \"#ffffff\", \"font_bold\": true, \"on_click\": \"add()\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"New Issue\", \"size\": \"large\", \"width\": \"140\", \"height\": \"50\", \"align\": \"left\", \"padding_top\": 10, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 10, \"font_size\": 18, \"font_bold\": true, \"border_width\": 0, \"background_color\": \"#2f71ab\", \"placeholder_color\": \"#000000\", \"color\": \"#ffffff\", \"on_click\": \"new_req()\"}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"\", \"margin_right\": null}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [0.9, 1, 1, 1], \"padding_top\": null, \"_col_widths\": \"[0.9,1,1,1]\", \"margin_top\": 30, \"margin_bottom\": 30, \"padding_bottom\": 0}], \"min_height\": null, \"padding_top\": 20, \"padding_left\": 30, \"padding_right\": 30, \"padding_bottom\": 5, \"background_color\": \"#ffffff\", \"margin_bottom\": 0}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  var data=get_data();\\n // var dbname = rpc.get_database();\\n  //alert(dbname);\\n  //dbname=dbname.slice(4,dbname.length);\\n\\n  //var project_id=await rpc_execute(\\\"project\\\",\\\"search_read\\\",[[[\\\"number\\\",\\\"=\\\",(dbname).toUpperCase()]],[\\\"name\\\"]]);\\n  var project_code = page_params.project_code;\\n  var project_id = await rpc_execute(\\\"project\\\",\\\"search_read\\\",[[[\\\"number\\\",\\\"=\\\",project_code]],[\\\"name\\\"]]);\\n  console.log(\\\"testing -->\\\",project_id);\\n  var defaults = await rpc_execute(\\\"issue\\\",\\\"default_get\\\",[]);\\n  console.log(\\\"Defaults: \\\",defaults);\\n  var number = defaults.number;\\n  var date=data.date;\\n  console.log(\\\"project_id\\\", project_id.length)\\n  if (project_id.length == 0)\\n  {\\n    project_id_ = null\\n  }\\n  else{\\n    project_id_ = project_id[0].id\\n  }\\n  set_data({\\n    project:project_id_,\\n    project_code:project_code,\\n    date:moment(),\\n    number:number,\\n  });\\n}\\n/*\\nasync function get_number() {\\n  var seq_id=await rpc_execute(\\\"sequence\\\",\\\"find_sequence\\\",[],{model:\\\"issue\\\"});\\n  console.log(\\\"khal -->\\\",seq_id);\\n\\n  for (var i=0; i\n                                                                                                                                                                                                                                                                                                                                                                                                    <100; i++) {\\n    var number=await rpc_execute(\\\"sequence\\\",\\\"get_next_number\\\",[seq_id]);\\n    var res=await rpc_execute(\\\"issue\\\",\\\"search\\\",[[[\\\"number\\\",\\\"=\\\",number]]]);\\n    if (res.length==0) return number;\\n    await rpc_execute(\\\"sequence\\\",\\\"increment_number\\\",[seq_id]);\\n  }\\n}*/\\n\\nfunction add(){\\n  var data = get_data();\\n  var project = data.project;\\n  var date = data.date;\\n  var number = data.number;\\n  var issuer = data.issuer;\\n  var client_email = data.client_email;\\n  var title = data.title;\\n  var type = data.type;\\n  var priority = data.priority;\\n  var description = data.description;\\n  var url = data.url;\\n  var screenshot = data.screenshot?JSON.parse(data.screenshot)[0]:null;\\n  \\n  \\n  if(!project)throw \\\"Missing project!\\\";\\n  if(!date)throw \\\"Missing date!\\\";\\n  if(!number)throw \\\"Missing number!\\\";\\n  if(!issuer)throw \\\"Missing Issuer!\\\";\\n  if(!client_email)throw \\\"Missing Issuer's Email!\\\";\\n  if(!title)throw \\\"Missing title!\\\";\\n  if(!type)throw \\\"Missing issue type!\\\";\\n  if(!priority)throw \\\"Missing priority!\\\";\\n  if(!url)throw \\\"Missing url!\\\";\\n\\n  var vals = {\\n    number:number,\\n    project_id:project,\\n    date_created:date,\\n    title:title,\\n    issuer:issuer,\\n    client_email:client_email,\\n    type:type,\\n    url:url,\\n    description:description,\\n    screenshot:screenshot,\\n    priority:priority,\\n    state:\\\"new\\\",\\n  }\\n\\n  try{\\n    var issue_id = await rpc_execute(\\\"issue\\\",\\\"create\\\",[vals]);\\n  }catch(err){\\n    alert(err);\\n  }\\n\\n  alert(\\\"Issue \\\"+number+\\\" created successfully!\\\");\\n}\\n\\n/*\\nasync function save(){\\n  var data = get_data();\\n  var project = data.project;\\n  var date = data.date;\\n  var number = data.number;\\n  var title = data.title;\\n  var type = data.type;\\n  var priority = data.priority;\\n  var description = data.description;\\n  var url = data.url;\\n  var screenshot = data.screenshot?JSON.parse(data.screenshot)[0]:null;\\n  \\n  \\n  if(!project)throw \\\"Missing project!\\\";\\n  if(!date)throw \\\"Missing date!\\\";\\n  if(!number)throw \\\"Missing number!\\\";\\n  if(!title)throw \\\"Missing title!\\\";\\n  if(!type)throw \\\"Missing issue type!\\\";\\n  if(!priority)throw \\\"Missing priority!\\\";\\n  if(!url)throw \\\"Missing url!\\\";\\n\\n  var vals = {\\n    number:number,\\n    project_id:project,\\n    date_created:date,\\n    title:title,\\n    type:type,\\n    url:url,\\n    description:description,\\n    screenshot:screenshot,\\n    priority:priority,\\n    state:\\\"new\\\",\\n  }\\n\\n  try{\\n    var issue_id = await rpc_execute(\\\"issue\\\",\\\"write\\\",[[],[vals]]);\\n  }catch(err){\\n    alert(err);\\n  }\\n\\n  alert(\\\"Issue \\\"+number+\\\" saved successfully!\\\");\\n  //cancel();\\n}*/\\n\\nfunction new_req(){\\n  var data = get_data();\\n  /*set_data({\\n    //number:null,\\n    title:null,\\n    type:null,\\n    priority:null,\\n    description:null,\\n    url:null,\\n    screenshot:null,\\n  });*/\\n  //on_load();\\n  redirect_page(\\\"tickets\\\", {project_code:data.project_code});\\n}\"}, \"time_tracker\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Name\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"model\": \"base.user\", \"name\": \"name\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Date\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"date\"}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\", \"margin_top\": 10}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 50, \"margin_right\": 50}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"field\", \"name\": \"client\", \"field_type\": \"select\", \"placeholder\": \"CLIENT\", \"model\": \"client.db.tracker.database\", \"margin_right\": 5}]}, {\"children\": [{\"type\": \"field\", \"name\": \"task_id\", \"field_type\": \"select\", \"model\": \"pm.task\", \"placeholder\": \"TASK\", \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"field\", \"name\": \"hours\", \"field_type\": \"number\", \"placeholder\": \"HOURS\", \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"field\", \"name\": \"project\", \"field_type\": \"select\", \"model\": \"pm.project\", \"placeholder\": \"PROJECT\", \"margin_left\": 5}]}, {\"children\": [{\"type\": \"button\", \"text\": \"ADD\", \"icon\": \"plus\", \"size\": \"small\", \"intent\": \"default\", \"align\": \"center\", \"on_click\": \"add_task()\"}]}], \"num_cols\": 5, \"col_widths\": [1.5, 2, 1, 2, 0.5], \"margin_top\": 30, \"_col_widths\": \"[1.5,2,1,2,0.5]\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Number\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Client\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Task\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Hours\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Project\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sequence}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{client}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{task_id}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{hours}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{project}\\n\"}]}}, {\"type\": \"button\", \"icon\": \"times\", \"size\": \"small\", \"on_click\": \"delete_task()\"}]], \"num_cols\": 6, \"_col_widths\": \"[0.2,1.5,2,1,2,0.2]\", \"col_widths\": [0.2, 1.5, 2, 1, 2, 0.2], \"margin_top\": 30}], \"min_height\": 50, \"margin_top\": 50, \"margin_left\": 30, \"margin_right\": 30}], \"min_height\": 50}], \"fields\": \"[\\\"name\\\",\\\"client\\\",\\\"task\\\"]\"}, \"code\": \"async function add_task() {\\n  var data=get_data();\\n  if (!data.lines) data.lines=[];\\n  var vals={\\n    _cid: _.uniqueId(),\\n    sequence: data.lines.length+1,\\n    client:data.client,\\n    task:data.task,\\n    hours:data.hours,\\n    project:data.project,\\n  };\\n  //alert(\\\"vals=\\\"+JSON.stringify(vals));\\n  data.lines.push(vals);\\n  set_data(data);\\n}\\n\\nasync function delete_task(_cid) {\\n  //alert(\\\"delete_area \\\"+_cid);\\n  var data=get_data();\\n  data.lines=_.filter(data.lines,o=>o._cid!=_cid);\\n  set_data(data.lines);\\n  _.forEach(data.lines,o=> {\\n    var index = data.lines.indexOf(o)+1;\\n    o.sequence=index;\\n  });\\n}\"}, \"t_tracker_form\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"Time Tracker Form\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#202124\"}, \"insert\": \"This is to help better manage the cost of projects, part-timers and other related activities. Re-submit if you have more than 1 Task\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Name :\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 17, \"margin_left\": 5, \"margin_top\": 3}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"name\": \"user_id\", \"readonly\": true, \"on_change\": \"\", \"placeholder\": \"\", \"model\": \"base.user\"}]}], \"num_cols\": 2, \"col_widths\": [0.5, 1], \"margin_left\": 10, \"margin_right\": 10, \"background_color\": \"#eaf3f2\", \"_col_widths\": \"[0.5,1]\", \"padding_left\": null, \"avoid_keyboard\": true}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Date :\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 17, \"margin_left\": 5, \"margin_top\": 3}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"date\", \"name\": \"date\", \"readonly\": false, \"on_change\": \"\", \"placeholder\": \"\", \"model\": \"\"}]}], \"num_cols\": 2, \"col_widths\": [0.5, 1], \"margin_left\": 10, \"margin_right\": 10, \"background_color\": \"#eaf3f2\", \"_col_widths\": \"[0.5,1]\", \"padding_left\": null, \"avoid_keyboard\": true}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"PICK\"}, {\"insert\": \"\\n\"}]}, \"padding_right\": null, \"margin_right\": null}]}, {\"children\": [{\"type\": \"field\", \"padding_left\": 5, \"padding_right\": 5, \"model\": \"client.db.tracker.database\", \"field_type\": \"select2\", \"name\": \"client_id\", \"placeholder\": \"Client Name\"}]}, {\"children\": [{\"type\": \"field\", \"padding_left\": 10, \"name\": \"project_id\", \"field_type\": \"select2\", \"placeholder\": \"Project\", \"model\": \"pm.project\", \"condition\": \"[[\\\"database\\\",\\\"=\\\",client_id],[\\\"proj_status\\\",\\\"!=\\\",\\\"completed\\\"]]\", \"on_change\": \"\", \"padding_right\": 10, \"load_options\": \"get_projects(query)\"}]}, {\"children\": [{\"type\": \"field\", \"padding_left\": 10, \"padding_right\": null, \"name\": \"task_id\", \"field_type\": \"select2\", \"placeholder\": \"Task\", \"model\": \"pm.task\", \"condition\": \"[[\\\"proj_number\\\",\\\"=\\\",project_id],[\\\"state\\\",\\\"in\\\",[\\\"ready\\\",\\\"in_prog\\\",\\\"on_going\\\",\\\"on_going1\\\",\\\"on_hold\\\",\\\"others\\\"]]]\", \"readonly\": false}]}, {\"children\": [{\"type\": \"field\", \"padding_left\": 15, \"padding_right\": 10, \"field_type\": \"number\", \"name\": \"hours\", \"placeholder\": \"No.Hours\"}]}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [0.2, 1.5, 4, 4, 1.5], \"padding_top\": null, \"margin_top\": 50, \"_col_widths\": \"[0.2,1.5,4,4,1.5]\", \"folding\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"size\": \"small\", \"intent\": \"success\", \"icon\": \"plus\", \"text\": \"Add\", \"font_bold\": true, \"align\": \"right\", \"padding_left\": null, \"padding_right\": null, \"hidden\": false, \"on_click\": \"add()\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Clear\", \"size\": \"small\", \"intent\": \"warning\", \"padding_left\": null, \"padding_right\": null, \"font_bold\": true, \"align\": \"right\", \"on_click\": \"clear()\"}]}], \"num_cols\": 2, \"col_widths\": [0.2, 0.2], \"margin_left\": 350, \"padding_left\": null, \"padding_right\": null, \"margin_right\": null, \"_col_widths\": \"[0.2,0.2]\"}], \"min_height\": 50, \"margin_top\": 30, \"margin_right\": 10, \"margin_left\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"CLIENT\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"PROJECT\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"TASK\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"HOURS\"}, {\"insert\": \"\\n\"}]}}, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{client_name}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{project_name}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{task_name}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{hours}\\n\"}]}}, {\"type\": \"button\", \"icon\": \"times\", \"size\": \"small\", \"align\": \"center\", \"margin_left\": null, \"margin_right\": null, \"on_click\": \"delete_line(_cid)\"}, null], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL HOURS\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{total_hours}\\n\"}]}}]], \"num_cols\": 5, \"table_bordered\": false, \"table_striped\": true, \"field_rows\": \"lines\", \"table_hover\": true, \"num_rows\": 3}], \"min_height\": 50, \"margin_top\": 50, \"margin_left\": 10, \"background_color\": \"#f5f9f9\", \"margin_right\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"button\", \"size\": \"normal\", \"text\": \"SUBMIT\", \"font_bold\": true, \"align\": \"right\", \"intent\": \"success\", \"width\": \"100\", \"height\": \"50\", \"on_click\": \"submit()\"}], \"min_height\": 50, \"margin_top\": 50, \"margin_left\": 400, \"margin_right\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [], \"min_height\": 50}], \"min_height\": 50, \"margin_top\": 70, \"margin_left\": 130, \"margin_right\": 120, \"margin_bottom\": 30}], \"min_height\": 50, \"margin_top\": 70, \"margin_left\": 100, \"margin_right\": 100, \"margin_bottom\": 20}], \"min_height\": 50, \"margin_left\": 100, \"margin_right\": 100, \"margin_top\": 50, \"background_color\": \"#85c2f9\"}]}, \"code\": \"\\nasync function on_load()\\n{\\n  var data = get_data();\\n  var user_id = get_cookie(\\\"user_id\\\");\\n  data.user_id = user_id;\\n  data.date = moment().format('YYYY-MM-DD');\\n  data.lines = [];\\n  data.total_hours = null;\\n  set_data();\\n}\\n\\nasync function add()\\n{\\n  var data = get_data();\\n  //required all fields\\n  if(!data.user_id)throw \\\"Missing Name!\\\";\\n  if(!data.date)throw \\\"Missing Date!\\\";\\n  if(!data.client_id)throw \\\"Missing Client Name!\\\";\\n  if(!data.project_id) throw \\\"Missing Project!\\\";\\n  if(!data.task_id)throw \\\"Missing Task!\\\";\\n  if(!data.hours)throw \\\"Missing Hours!\\\";\\n\\n\\n  var line=\\n      {\\n        _cid: _.uniqueId(),\\n        client_id: data.client_id.id,\\n        client_name: data.client_id.name,\\n        project_id: data.project_id.id,\\n        project_name: data.project_id.name,\\n        task_id: data.task_id.id,\\n        task_name: data.task_id.name,\\n        hours: data.hours,\\n      }\\n  if (!data.lines) data.lines = [];\\n  data.lines.push(line);\\n  data.total_hours = _.reduce(data.lines,(memo,next)=>{return memo + next.hours},0);\\n  clear();\\n}\\n\\nfunction clear()\\n{\\n  set_data({\\n    project_id:null,\\n    client_id:null,\\n    task_id:null,\\n    hours:null,\\n  });\\n}\\n\\nfunction delete_line(_cid) {\\n  var data = get_data();\\n  console.log('data_lines',data.lines);\\n  data.lines = _.filter(data.lines,(l)=>{\\n    return l._cid != _cid;\\n  })\\n  set_data();\\n}\\n\\nasync function submit() {\\n  var data = get_data();\\n  var vals = _.map(data.lines,(l)=>{\\n    return {\\n      name: data.user_id,\\n      date: data.date,\\n      client: l.client_id,\\n      project: l.project_id,\\n      task: l.task_id,\\n      hours: l.hours,\\n    }\\n  });\\n  await rpc_execute(\\\"pm.time.tracker\\\",\\\"submit\\\",[vals]);\\n  alert(\\\"Submitted Successfully\\\");\\n  on_load()\\n}\\n\\n//to make project auto-load when task selected\\n/*async function onchange_task()\\n{\\n  var data = get_data();\\n  var task_id=data.task_id.id;\\n  console.log(\\\"display task_id \\\",task_id);\\n  var res=await rpc_execute(\\\"pm.task\\\",\\\"read\\\",[[task_id],[\\\"proj_number\\\"]]);\\n  console.log(\\\"display res \\\",res);\\n  var emp=res[0];\\n  console.log(\\\"display emp \\\",emp);\\n  console.log(\\\"display emp.proj_number \\\",emp.proj_number);\\n  console.log(\\\"display emp.proj_number[0] \\\",emp.proj_number[0]);\\n  data.project_id={\\n    id:emp.proj_number[0],\\n    name:emp.proj_number[1],\\n  }\\n\\n  console.log(\\\"display data.project \\\",data.project);\\n  set_data();\\n  //return data;\\n}*/\\n\\n//Chin: No need to read from backend. We just need to submit new data to backend\\nasync function build_table(){\\n  var data=[\\\"name\\\", \\\"date\\\", \\\"client\\\", \\\"task\\\",\\\"hours\\\"];\\n  var table_data = await rpc_execute(\\\"pm.time.tracker\\\",\\\"search_read\\\",[[],data]);\\n  var array=[];\\n  var i=0;\\n  for(i;i\n                                                                                                                                                                                                                                                                                                                                                                                                        <table_data.length;i++){\\n    array[i] = {\\n      Name:table_data[i].name,\\n      date_task:table_data[i].date,\\n      Cname:table_data[i].client,\\n      Task:table_data[i].task,\\n      no_hour:table_data[i].hours,\\n    };\\n  }\\n  set_data({\\n    data_to_show:array,\\n  })\\n}\\n/*\\nasync function read_trackers()\\n{\\n  var fields=[\\\"name\\\",\\\"date\\\",\\\"client\\\",\\\"task\\\",\\\"hours\\\"];\\n  var res=await rpc_execute(\\\"hr.employee\\\",\\\"search_read\\\",[[[]],fields]);\\n  var data =[];\\n\\n  for(i=0;i\n                                                                                                                                                                                                                                                                                                                                                                                                            <res.length;i++)\\n  {\\n    var Name=res[i].name;\\n    var date_task=res[i].date;\\n    var Cname=res[i].client;\\n    var Task=res[i].task;\\n    var no_hour=res[i].hours;\\n\\n    data[i]=\\n      {\\n      name:Name,\\n      date:date_task,\\n      client:Cname,\\n      task:Task,\\n      hours:no_hour.\\n    };\\n  }\\n  set_data({data_to_show:data});\\n}\\n*/\\n\"}, \"time_tracker_form_improved\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"Time Tracker Form\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"SmartB Solutions Sdn. Bhd.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#202124\"}, \"insert\": \"This is to help better manage the cost of projects, part-timers and other related activities. Re-submit if you have more than 1 Task\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Name :\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 17, \"margin_left\": 5, \"margin_top\": 3}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"name\": \"user_id\", \"readonly\": true, \"on_change\": \"\", \"placeholder\": \"\", \"model\": \"base.user\"}]}], \"num_cols\": 2, \"col_widths\": [0.5, 1], \"margin_left\": 10, \"margin_right\": 10, \"background_color\": \"#eaf3f2\", \"_col_widths\": \"[0.5,1]\", \"padding_left\": null, \"avoid_keyboard\": true}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Date :\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 17, \"margin_left\": 5, \"margin_top\": 3}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"date\", \"name\": \"date\", \"readonly\": false, \"on_change\": \"onchange_date()\", \"placeholder\": \"\", \"model\": \"\"}]}], \"num_cols\": 2, \"col_widths\": [0.5, 1], \"margin_left\": 10, \"margin_right\": 10, \"background_color\": \"#eaf3f2\", \"_col_widths\": \"[0.5,1]\", \"padding_left\": null, \"avoid_keyboard\": true}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"PICK\"}, {\"insert\": \"\\n\"}]}, \"padding_right\": null, \"margin_right\": null}]}, {\"children\": [{\"type\": \"field\", \"padding_left\": 5, \"padding_right\": 5, \"model\": \"client.db.tracker.database\", \"field_type\": \"select2\", \"name\": \"client_id\", \"placeholder\": \"Client Name\"}]}, {\"children\": [{\"type\": \"field\", \"padding_left\": 10, \"name\": \"project_id\", \"field_type\": \"select2\", \"placeholder\": \"Project\", \"model\": \"pm.project\", \"condition\": \"[[\\\"database\\\",\\\"=\\\",client_id],[\\\"proj_status\\\",\\\"!=\\\",\\\"completed\\\"]]\", \"on_change\": \"\", \"padding_right\": 10, \"load_options\": \"\"}]}, {\"children\": [{\"type\": \"field\", \"padding_left\": 10, \"padding_right\": null, \"name\": \"task_id\", \"field_type\": \"select2\", \"placeholder\": \"Task\", \"model\": \"pm.task\", \"condition\": \"[[\\\"proj_number\\\",\\\"=\\\",project_id],[\\\"state\\\",\\\"in\\\",[\\\"ready\\\",\\\"in_prog\\\",\\\"on_going\\\",\\\"on_going1\\\",\\\"on_hold\\\",\\\"others\\\"]]]\", \"readonly\": false}]}, {\"children\": [{\"type\": \"field\", \"padding_left\": 15, \"padding_right\": 10, \"field_type\": \"number\", \"name\": \"hours\", \"placeholder\": \"No.Hours\"}]}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [0.2, 1.5, 4, 4, 1.5], \"padding_top\": null, \"margin_top\": 50, \"_col_widths\": \"[0.2,1.5,4,4,1.5]\", \"folding\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"size\": \"small\", \"intent\": \"success\", \"icon\": \"plus\", \"text\": \"Add\", \"font_bold\": true, \"align\": \"right\", \"padding_left\": null, \"padding_right\": null, \"hidden\": false, \"on_click\": \"add()\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Clear\", \"size\": \"small\", \"intent\": \"warning\", \"padding_left\": null, \"padding_right\": null, \"font_bold\": true, \"align\": \"right\", \"on_click\": \"clear()\"}]}], \"num_cols\": 2, \"col_widths\": [0.2, 0.2], \"margin_left\": 350, \"padding_left\": null, \"padding_right\": null, \"margin_right\": null, \"_col_widths\": \"[0.2,0.2]\"}], \"min_height\": 50, \"margin_top\": 30, \"margin_right\": 10, \"margin_left\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"CLIENT\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"PROJECT\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"TASK\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"HOURS\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"REMARKS\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{client_name}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{project_name}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{task_name}\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"number\", \"name\": \"hours\"}, {\"type\": \"field\", \"field_type\": \"textarea\", \"name\": \"remarks\"}, {\"type\": \"button\", \"icon\": \"times\", \"size\": \"small\", \"on_click\": \"delete_line(_cid)\", \"align\": \"center\"}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL HOURS\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{total_hours}\\n\"}]}}, null]], \"num_cols\": 6, \"table_bordered\": false, \"table_striped\": true, \"field_rows\": \"lines\", \"table_hover\": true, \"num_rows\": 3}], \"min_height\": 50, \"margin_top\": 50, \"margin_left\": 10, \"background_color\": \"#f5f9f9\", \"margin_right\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"button\", \"size\": \"normal\", \"text\": \"SUBMIT\", \"font_bold\": true, \"align\": \"right\", \"intent\": \"success\", \"width\": \"100\", \"height\": \"50\", \"on_click\": \"submit()\"}], \"min_height\": 50, \"margin_top\": 50, \"margin_left\": 400, \"margin_right\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [], \"min_height\": 50}], \"min_height\": 50, \"margin_top\": 70, \"margin_left\": 130, \"margin_right\": 120, \"margin_bottom\": 30}], \"min_height\": 50, \"margin_top\": 70, \"margin_left\": 100, \"margin_right\": 100, \"margin_bottom\": 20}], \"min_height\": 50, \"margin_left\": 100, \"margin_right\": 100, \"margin_top\": 50, \"background_color\": \"#85c2f9\"}]}, \"code\": \"async function on_load() {\\n  var data = get_data();\\n  var user_id = get_cookie(\\\"user_id\\\");\\n  data.user_id = user_id;\\n  data.date = moment().format('YYYY-MM-DD');\\n  data.lines = [];\\n  data.total_hours = null;\\n  set_data();\\n  \\n  await onchange_date();\\n}\\n\\nasync function onchange_date() {\\n  var data = get_data();\\n  data.lines = [];\\n  const user_id = data.user_id;\\n  const date = data.date;\\n  var cond = [[\\\"name\\\",\\\"=\\\",user_id], [\\\"date\\\",\\\"=\\\",date]]; \\n  var field = [ \\\"name\\\",\\\"date\\\",\\\"client\\\",\\\"project\\\",\\\"task\\\",\\\"hours\\\",\\\"tracker_id\\\",\\\"remarks\\\"];\\n  var res = await rpc_execute(\\\"pm.time.tracker.lines\\\",\\\"search_read\\\",[cond,field]);\\n  console.log(\\\"onchange_date res =>\\\",res);\\n  var tracker_ids = res.map(o=> o.tracker_id[0]);\\n  console.log(\\\"onchange_date tracker_ids =>\\\",tracker_ids);\\n  var tracker = await rpc_execute(\\\"pm.time.tracker\\\",\\\"read\\\",[tracker_ids,[\\\"project\\\"]]);\\n  console.log(\\\"onchange_date tracker =>\\\",tracker);\\n  \\n  for (let i = 0 ; i < res.length; i++) {\\n    res[i].project = tracker[i].project; //assume they have the same order\\n  }\\n  \\n  res.forEach(l => {\\n    var line = {\\n      _cid: _.uniqueId(),\\n      line_id: l.id? l.id : null,\\n      client_id: l.client[0],\\n      client_name: l.client[1],\\n      task_id: l.task[0],\\n      task_name: l.task[1],\\n      project_id: l.project[0],\\n      project_name: l.project[1],\\n      hours: parseFloat(l.hours),\\n      remarks: l.remarks,\\n    }\\n    if (!data.lines) data.lines = [];\\n    data.lines.push(line);\\n  });\\n  \\n  data.total_hours = _.reduce(data.lines,(memo,next)=>{return memo + next.hours},0);\\n  console.log(\\\"onchange_date final data =>\\\",data);\\n  set_data();\\n}\\n\\nasync function add() {\\n  var data = get_data();\\n  //required all fields\\n  if(!data.user_id)throw \\\"Missing Name!\\\";\\n  if(!data.date)throw \\\"Missing Date!\\\";\\n  if(!data.client_id)throw \\\"Missing Client Name!\\\";\\n  if(!data.project_id) throw \\\"Missing Project!\\\";\\n  if(!data.task_id)throw \\\"Missing Task!\\\";\\n  if(!data.hours)throw \\\"Missing Hours!\\\";\\n  if(data.hours < 0) throw \\\"No. of hours cannot be less than 0!\\\";\\n  var line=\\n      {\\n        _cid: _.uniqueId(),\\n        client_id: data.client_id.id,\\n        client_name: data.client_id.name,\\n        project_id: data.project_id.id,\\n        project_name: data.project_id.name,\\n        task_id: data.task_id.id,\\n        task_name: data.task_id.name,\\n        hours: data.hours,\\n        remarks: data.remarks,\\n      }\\n  if (!data.lines) data.lines = [];\\n  data.lines.push(line);\\n  data.total_hours = _.reduce(data.lines,(memo,next)=>{return memo + next.hours},0);\\n  clear();\\n}\\n\\nfunction clear() {\\n  set_data({\\n    project_id:null,\\n    client_id:null,\\n    task_id:null,\\n    hours:null,\\n  });\\n}\\n\\nfunction delete_line(_cid){\\n  var data = get_data();\\n  console.log('data_lines',data.lines);\\n  data.lines = _.filter(data.lines,(l)=>{\\n  return l._cid != _cid;\\n    })\\n  data.total_hours = _.reduce(data.lines,(memo,next)=>{return memo + next.hours},0);\\n  set_data();\\n}\\n\\nasync function submit() {\\n  var data = get_data();\\n  \\n  if(data.lines.length == 0) throw (\\\"Please ensure that you've added at least 1 task before submitting.\\\");\\n  \\n  /* /// to edit hours, no need to filtered out existing pm.time.tracker.lines\\n  data.lines = data.lines.filter(o=>{\\n    return o.line_id == null;\\n  }); */\\n  \\n  console.log(\\\"submit filtered data =>\\\",data);\\n  var vals = _.map(data.lines,(l)=>{\\n    return {\\n      line_id: l.line_id,\\n      name: data.user_id,\\n      date: data.date,\\n      client: l.client_id,\\n      project: l.project_id,\\n      task: l.task_id,\\n      hours: l.hours,\\n      remarks: l.remarks,\\n    }\\n  });\\n  console.log(\\\"submit vals =>\\\",vals);\\n  await rpc_execute(\\\"pm.time.tracker\\\",\\\"submit\\\",[vals]);\\n  alert(\\\"Submitted Successfully\\\");\\n  on_load();\\n}\\n\\n//to make project auto-load when task selected\\n/*async function onchange_task()\\n{\\n  var data = get_data();\\n  var task_id=data.task_id.id;\\n  console.log(\\\"display task_id \\\",task_id);\\n  var res=await rpc_execute(\\\"pm.task\\\",\\\"read\\\",[[task_id],[\\\"proj_number\\\"]]);\\n  console.log(\\\"display res \\\",res);\\n  var emp=res[0];\\n  console.log(\\\"display emp \\\",emp);\\n  console.log(\\\"display emp.proj_number \\\",emp.proj_number);\\n  console.log(\\\"display emp.proj_number[0] \\\",emp.proj_number[0]);\\n  data.project_id={\\n    id:emp.proj_number[0],\\n    name:emp.proj_number[1],\\n  }\\n\\n  console.log(\\\"display data.project \\\",data.project);\\n  set_data();\\n  //return data;\\n}*/\\n\\n/*async function onload_project(){\\n  var data = get_data();\\n  var cond = [[\\\"database\\\",\\\"=\\\",data.client_id]]; \\n  var field = [\\\"number\\\",\\\"title\\\"];\\n  var res = await rpc_execute(\\\"pm.project\\\",\\\"search_read\\\",[cond,field]);\\n  console.log(\\\"res project\\\", res);\\n\\n  var array = [];\\n  \\n  res.forEach((filter_res)=>{\\n    array.push({\\n      value: filter_res.id,\\n      label: `${filter_res.number} ${filter_res.title}`,\\n    });\\n  });\\n  \\n  return array;\\n}*/\\n\\n//Chin: No need to read from backend. We just need to submit new data to backend\\nasync function build_table(){\\n  var data=[\\\"name\\\", \\\"date\\\", \\\"client\\\", \\\"task\\\",\\\"hours\\\"];\\n  var table_data = await rpc_execute(\\\"pm.time.tracker\\\",\\\"search_read\\\",[[],data]);\\n  var array=[];\\n  var i=0;\\n  for(i;i\n                                                                                                                                                                                                                                                                                                                                                                                                                <table_data.length;i++){\\n    array[i] = {\\n      Name:table_data[i].name,\\n      date_task:table_data[i].date,\\n      Cname:table_data[i].client,\\n      Task:table_data[i].task,\\n      no_hour:table_data[i].hours,\\n    };\\n  }\\n  set_data({\\n    data_to_show:array,\\n  })\\n}\\n/*\\nasync function read_trackers()\\n{\\n  var fields=[\\\"name\\\",\\\"date\\\",\\\"client\\\",\\\"task\\\",\\\"hours\\\"];\\n  var res=await rpc_execute(\\\"hr.employee\\\",\\\"search_read\\\",[[[]],fields]);\\n  var data =[];\\n\\n  for(i=0;iundefined<res.length;i++)\\n  {\\n    var Name=res[i].name;\\n    var date_task=res[i].date;\\n    var Cname=res[i].client;\\n    var Task=res[i].task;\\n    var no_hour=res[i].hours;\\n\\n    data[i]=\\n      {\\n      name:Name,\\n      date:date_task,\\n      client:Cname,\\n      task:Task,\\n      hours:no_hour.\\n    };\\n  }\\n  set_data({data_to_show:data});\\n}\\n*/\\n\"}, \"t_tracker_summary\": {\"layout\": {\"elements\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"font\": \"serif\", \"bold\": true}, \"insert\": \"Project :\"}, {\"attributes\": {\"align\": \"right\", \"indent\": 1}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Select Project\", \"_selection\": \"\", \"selection\": null, \"name\": \"project_task\", \"load_options\": \"\", \"padding_right\": 400, \"model\": \"pm.project\", \"condition\": \"\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"padding_left\": 20, \"padding_right\": 20, \"margin_top\": 50}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Name :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"name\": \"name_track\", \"field_type\": \"select\", \"placeholder\": \"Select Name\", \"_selection\": \"\", \"selection\": null, \"padding_right\": 400, \"model\": \"base.user\", \"condition\": \"\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"padding_left\": 20, \"padding_right\": 20}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\"}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"From Date :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"date\", \"name\": \"start_date\", \"placeholder\": \"Start Date\", \"model\": \"\", \"padding_right\": 400, \"field_value\": \"\"}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"_col_widths\": \"\", \"margin_right\": null, \"margin_left\": null}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\"}]}, {\"children\": [{\"type\": \"text\"}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"To Date :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"name\": \"end_date\", \"field_type\": \"date\", \"placeholder\": \"End Date\", \"padding_right\": 400}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\"}]}, {\"children\": [{\"type\": \"text\"}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"font\": \"serif\", \"bold\": true}, \"insert\": \"Client :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"name\": \"client_name\", \"field_type\": \"select\", \"placeholder\": \"Select Client\", \"_selection\": \"\", \"selection\": null, \"width\": \"200\", \"model\": \"client.db.tracker.database\"}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"button\", \"size\": \"small\", \"text\": \"FILTER\", \"padding_top\": 5, \"padding_left\": 40, \"padding_right\": 40, \"padding_bottom\": 5, \"align\": \"center\", \"margin_top\": 50, \"on_click\": \"filterFunction()\", \"background_color\": \"#000000\", \"hover_background_color\": \"#1ca49c\", \"font_size\": 24, \"font_bold\": false, \"color\": \"#ffffff\", \"letter_spacing\": \"5\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"CLEAR\", \"size\": \"small\", \"padding_top\": 5, \"padding_bottom\": 5, \"padding_left\": 40, \"padding_right\": 40, \"margin_top\": 50, \"align\": \"center\", \"font_size\": 24, \"letter_spacing\": \"5\", \"on_click\": \"clear()\"}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 1, 1, 1], \"padding_bottom\": 20, \"avoid_keyboard\": true, \"padding_left\": 230, \"padding_right\": 100}, {\"type\": \"text\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Project\"}, {\"insert\": \"\\n\"}]}, \"width\": \"\", \"on_click\": \"sort({table:\\\"lines\\\",field:\\\"tracker_id.project.proj_title\\\"})\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Name\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"sort({table:\\\"lines\\\",field:\\\"name.name\\\"})\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Date\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"sort({table:\\\"lines\\\",field:\\\"date\\\"})\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Client\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"sort({table:\\\"lines\\\",field:\\\"client.name\\\"})\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Task\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"sort({table:\\\"lines\\\",field:\\\"task.name\\\"})\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Hours\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"sort({table:\\\"lines\\\",field:\\\"hours\\\"})\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Rate\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"sort({table:\\\"lines\\\",field:\\\"rate\\\"})\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Cost\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"sort({table:\\\"lines\\\",field:\\\"cost\\\"})\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Remarks\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Actual Duration (hours)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Task Status\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Percentage(%)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Builder\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"Tester\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Parent Task\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{tracker_id.project.proj_title}\\n\"}]}, \"width\": \"\", \"align\": \"center\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{name.name}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"width\": \"\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{date}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"width\": \"\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{client.name}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"width\": \"\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{task.name}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{hours}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{rate}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cost}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{remarks}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{act_duration}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{status}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{percentage}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{builder}\\n\"}]}, \"width\": \"100\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{tester}\\n\"}]}}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{parent_task}\\n\"}]}}]}, {\"children\": [{\"type\": \"button\", \"icon\": \"arrow-right\", \"link_target\": \"_blank\", \"link_url\": \"\", \"on_click\": \"open_task(tsk_id)\"}]}], \"col_widths\": [1, 1]}]], \"num_cols\": 9, \"field_rows\": \"lines\", \"width\": \"\", \"_col_widths\": \"\", \"col_widths\": null, \"table_bordered\": true, \"padding_left\": null, \"padding_right\": null, \"table_striped\": true, \"margin_left\": 10, \"margin_right\": 10, \"name\": \"table\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"margin_left\": 10, \"padding_right\": 20, \"text\": \"Summary\", \"size\": \"small\", \"on_click\": \"summary()\", \"background_color\": \"rgba(0,0,0,0.52)\", \"color\": \"#fbf4f4\", \"letter_spacing\": \"1\", \"padding_left\": 20}]}, {\"children\": [{\"type\": \"button\", \"padding_right\": 20, \"text\": \"Export\", \"size\": \"small\", \"letter_spacing\": \"1\", \"color\": \"#fbf4f4\", \"background_color\": \"rgba(0,0,0,0.52)\", \"padding_left\": 20, \"on_click\": \"export_tracker()\"}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [0.5, 0.5, 1, 1, 1], \"margin_bottom\": 10, \"_col_widths\": \"[0.5,0.5,1,1,1]\"}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Name\"}, {\"insert\": \"\\n\"}]}, \"on_click\": \"sort({table:\\\"sum_lines\\\",field:\\\"name\\\"})\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Project\"}, {\"insert\": \"\\n\"}]}, \"on_click\": \"sort({table:\\\"sum_lines\\\",field:\\\"proj_name\\\"})\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Total Hours\"}, {\"insert\": \"\\n\"}]}, \"on_click\": \"sort({table:\\\"sum_lines\\\",field:\\\"total_hours\\\"})\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Total Costs\"}, {\"insert\": \"\\n\"}]}, \"on_click\": \"sort({table:\\\"sum_lines\\\",field:\\\"total_cost\\\"})\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{name}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{proj_name}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{total_hours}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{total_cost}\\n\"}]}}, {\"type\": \"button\", \"icon\": \"times\", \"size\": \"small\", \"align\": \"center\", \"color\": \"#f5f2f2\", \"background_color\": \"#fe3535\", \"on_click\": \"remove_line(_cid)\"}]], \"margin_left\": 10, \"margin_right\": 600, \"field_rows\": \"sum_lines\", \"table_bordered\": true, \"table_striped\": true, \"num_cols\": 5, \"num_rows\": null, \"name\": \"table1\"}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"field\", \"readonly\": true, \"field_type\": \"number\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 10, \"margin_right\": 600}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [], \"min_height\": 50, \"margin_left\": 500, \"margin_right\": 50}], \"min_height\": 50, \"margin_top\": 10}, {\"type\": \"box\", \"children\": [], \"min_height\": 50, \"container\": true, \"horiz_scroll\": true}]}, \"code\": \"async function on_load()\\n{\\n  var data = get_data();\\n  data.lines = [];\\n  //data.total_cost = null;\\n  data.sum_lines = []; //Chin\\n  set_data();\\n}\\n\\nasync function filterFunction(){\\n  var data = get_data();\\n  console.log(data);\\n  var conds = [];\\n  //if (data.project_task) conds.push([\\\"project\\\",\\\"=\\\",data.project_task]);\\n  if (data.project_task) {\\n    //Chin\\n    var trackers = await rpc_execute(\\\"pm.time.tracker\\\",\\\"search\\\",[[[\\\"project\\\",\\\"=\\\",data.project_task]]]);\\n    conds.push([\\\"tracker_id\\\",\\\"in\\\",trackers]);\\n  }\\n  if (data.name_track) conds.push([\\\"name\\\",\\\"=\\\",data.name_track]);\\n  if (data.start_date) conds.push([\\\"date\\\",\\\">=\\\",data.start_date]);\\n  if (data.end_date) conds.push([\\\"date\\\",\\\"<=\\\",data.end_date+\\\" 23:59:59\\\"]);\\n  if (data.client_name) conds.push([\\\"client\\\",\\\"=\\\",data.client_name]);\\n\\n  var fields = [\\\"tracker_id.project.proj_title\\\",\\\"name.name\\\",\\\"client.name\\\",\\\"task.name\\\",\\\"date\\\",\\\"hours\\\",\\\"rate\\\",\\\"cost\\\",\\\"remarks\\\"];\\n  var res = await rpc_execute(\\\"pm.time.tracker.lines\\\",\\\"search_read_path\\\",[conds,fields]);\\n  var res_display = null;\\n  res = res.filter((l)=>{return l.client || l.name});//tracker_id.project.proj_title\\n  res.forEach((l)=>{\\n    //Chin 2020-11-13 Add _cid to each line\\n    l._cid = _.uniqueId();\\n  });\\n  if (res.length > 1000) {\\n    alert (`${res.length} records found. Displaying first 200`);//khal changed limit to 1000 - 09032021\\n    res_display = res.slice(0,1000);\\n  } else {\\n    res_display = res;\\n  }\\n  set_data({lines:null});\\n  set_data({lines:res_display});\\n  set_data({sum_lines:[]});\\n  //clear()\\n  //summary();\\n}\\n\\nasync function summary()\\n{\\n  var data = get_data();\\n  console.log('data_summary',data.lines);\\n  /*\\n  var line=\\n      {\\n      \\t//_cid: _.uniqueId(),\\n    \\tname: data.name_tracker,\\n      }\\n  */\\n  data.sum_lines = [];\\n  //data.lines.push(line);\\n  //data.total_hours = _.reduce(data.lines,(memo,next)=>{return memo + next.hours},0);\\n  var groups =_.groupBy(data.lines, function(l){ return l.name?l.name.name:\\\"No Name\\\";});\\n  for ( var [key,val] of Object.entries(groups)) {\\n\\n    var start_line = {\\n      _cid: _.uniqueId(),\\n      name:key,\\n      projects:[],\\n      total_cost: 0,\\n      total_hours:0,\\n    }\\n    //console.log(\\\"start_line: \\\",start_line);\\n    var reduced_line = _.reduce(val,(memo,line)=>{\\n      let project = line.tracker_id.project.proj_title;\\n      if (_.indexOf(memo.projects,project) == -1) {\\n        memo.projects.push(project);\\n      }\\n      memo.total_cost += (line.cost?parseFloat(line.cost):0);\\n      memo.total_hours += (line.hours?parseFloat(line.hours):0);\\n      return memo;\\n    },start_line);\\n    reduced_line.proj_name = reduced_line.projects.join(',')\\n    data.sum_lines.push(reduced_line);\\n  };\\n  //console.log(\\\"xxx\\\",data.sum_lines);\\n  set_data();\\n}\\nfunction clear()\\n{\\n  set_data({\\n    project_task:null,\\n    name_track:null,\\n    start_date:null,\\n    end_date:null,\\n    client_name:null,\\n  });\\n}\\n\\nfunction remove_line(_cid) {\\n  var data = get_data();\\n  console.log('sum_lines',data.sum_lines);\\n  data.sum_lines = _.filter(data.sum_lines,(l)=>{\\n    return l._cid != _cid;\\n  })\\n  set_data();\\n}\\n\\nfunction export_tracker(){\\n  var data=get_data();\\n  var filename=\\\"t_tracker_list\\\"+\\\".xlsx\\\";\\n  var filename1=\\\"t_tracker_summary\\\"+\\\".xlsx\\\";\\n  //var filename1=\\\"t_tracker_summary-\\\"+data.project_task+\\\".xlsx\\\";\\n  var comp=get_component(\\\"table\\\");\\n  console.log(\\\"display comp \\\", comp);\\n  var comp1=get_component(\\\"table1\\\");\\n  console.log(\\\"display comp1\\\",comp1);\\n  comp.export_xls(filename);\\n  comp1.export_xls(filename1);\\n}\\n\\n//Chin 2020-11-13 For Sorting\\nfunction sort({table,field,reload}) {\\n  console.log(\\\"sort\\\",table,field,reload);\\n  if (!reload) reload = true;\\n  if (!table || !field) {\\n    console.error(\\\"Invalid Argument: \\\",{table:table, field:field});\\n    return;\\n  }\\n  var data = get_data();\\n  if (!data.sort_desc) data.sort_desc = {};\\n  if (!data.sort_desc[table]) data.sort_desc[table] = {};\\n  let desc = data.sort_desc[table][field];\\n  if (desc == null) {\\n    //Default Sorting\\n    desc = data.sort_desc[table][field] = true;      \\n  } else {\\n    //Toggle function\\n    desc = data.sort_desc[table][field] = !desc;\\n  }\\n  console.log(\\\"desc: \\\",desc);\\n  const path = field.split(\\\".\\\");\\n  console.log(\\\"path: \\\",path);\\n  if (!data[table]) {\\n    console.error(\\\"table not found. \\\",{table:table, data:data});\\n    return;\\n  }\\n  var t =data[table];\\n  if (!Array.isArray(t)) {\\n    console.error(\\\"Invalid table format. \\\",{table:table, t:t});\\n    return;\\n  }\\n  t = t.sort((a,b)=>{\\n    let a_val = a;\\n    let b_val = b;\\n    for (let subpath of path) {\\n      if (typeof(a_val) === \\\"object\\\" && a_val !== null) a_val = a_val[subpath];      \\n      if (typeof(b_val) === \\\"object\\\" && b_val !== null) b_val = b_val[subpath];\\n    }\\n    let sort_val = a_val > b_val?1:-1;\\n    if (desc) sort_val *= -1;\\n    console.log(\\\"sort\\\", a_val, b_val, sort_val);\\n    return sort_val;\\n  });\\n  if (reload){\\n    set_data();\\n  }\\n}\\n\\n/*\\nasync function load_option(query) {\\n\\nvar fields2 = [\\\"name.name\\\"];\\nvar res = await rpc_execute(\\\"pm.time.tracker.lines\\\",\\\"search_read\\\",[[],fields2]);\\n//var uniqueArray = [];\\nvar uniqueObj = {}\\nvar slct = [];\\nvar n= \\\"\\\";\\nvar n_id = null;\\n\\nfor(i=0;iundefined<res.length;i++){\\n\\n    if(res[i].builder != null){\\n      n_id = res[i].builder[0];\\n      n = res[i].builder[1];\\n    }\\n\\n  uniqueObj[n_id] = n;\\n\\n\\n}\\n\\nfor(var item in uniqueObj){\\n  slct.push({\\n  value: item,\\n  label: uniqueObj[item],\\n  });\\n}\\nreturn slct;\\n\\n}\\n*/\"}, \"tss4\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"SmartB-06,xhnPZR-Soo8=.png\", \"height\": \"80\", \"align\": \"center\", \"image_size\": \"contain\"}], \"min_height\": 50, \"background_color\": \"#000000\", \"border_radius\": null, \"border_color\": \"#f34141\", \"border_bottom_width\": 5}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#f34141\", \"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"Stock Summary\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 20, \"margin_bottom\": 10, \"border_color\": \"#f34141\", \"border_bottom_width\": 2}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"font\": \"serif\"}, \"insert\": \"Stock Closing Balance As of \"}, {\"attributes\": {\"size\": \"large\", \"font\": \"serif\", \"color\": \"#66a3e0\", \"bold\": true}, \"insert\": \"{today}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"placeholder_color\": \"#5683e4\"}], \"min_height\": 50}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Code\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Product Name\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Qty\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Amount\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prod_code}\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{prod_name}\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{close_qty}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12, \"width\": \"100%\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{close_amt}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12, \"width\": \"100%\"}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{total_close_qty}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{total_close_amt}\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12}]], \"num_cols\": 4, \"_col_widths\": \"[1,3,1,2]\", \"col_widths\": [1, 3, 1, 2], \"table_bordered\": true, \"table_striped\": false, \"table_hover\": false, \"num_rows\": 3, \"field_rows\": \"lines\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"back2,mcFUCIPxyd4=.png\", \"width\": \"20\", \"height\": \"20\", \"align\": \"center\", \"on_click\": \"back()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Back\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"back()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"orientation,s214sZ_qXOA=.png\", \"width\": \"20\", \"height\": \"20\", \"align\": \"center\", \"on_click\": \"setOrientation()\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Change Orientation\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"setOrientation()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"power-button,KzKcRPOB-YE=.png\", \"width\": \"20\", \"height\": \"20\", \"align\": \"center\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5, \"on_click\": \"exit()\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Exit\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"exit()\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"margin_top\": 20, \"margin_bottom\": 350, \"_col_widths\": \"[1,1,1]\"}], \"min_height\": 50, \"padding_left\": 15, \"padding_right\": 15, \"padding_top\": 10, \"vert_scroll\": true, \"height\": \"\"}], \"background_color\": \"#ffffff\"}, \"code\": \"async function on_load(){\\n  await table();\\n}\\n\\nasync function table(){\\n  var report_id=page_params.report_id;\\n  var fields=[\\\"total_close_amt\\\",\\\"total_close_qty\\\",\\\"date_from\\\",\\\"date_to\\\"];\\n  var res = await rpc_execute(\\\"report.stock.summary\\\",\\\"get_report_data\\\",[[report_id]]);\\n  var date_from=res.date_from;\\n  var date_to=res.date_to;\\n  var total_close_amt=res.total_close_amt;\\n  var total_close_qty=res.total_close_qty;\\n  var today=moment().format(\\\"DD-MM-YYYY\\\");\\n  if(!res.lines) return;\\n  var lines=[];\\n  function format_num(num) {\\n    if (typeof(num) != 'number') return null;\\n    num = Math.round(num);\\n    if (num < 0) {\\n      num = `(${num * -1})` // '(' + num*-1 + ')' \\n    } else {\\n      num = num.toString();\\n    }\\n    return num.replace(/\\\\B(?=(\\\\d{3})+(?!\\\\d))/g, \\\",\\\")\\n  }\\n\\t\\n  for(var i=0; iundefined<res.lines.length; i++)\\n  {\\n    var l=res.lines[i];\\n\\n    lines.push({\\n      _cid: _.uniqueId(),\\n      prod_code:l.prod_code,\\n      prod_name:l.prod_name,\\n      close_amt:format_num(l.close_amt),\\n      close_qty:l.close_qty,\\n    });\\n  }\\n  if (lines.length == 0) {\\n    lines.push({\\n      _cid: _.uniqueId(),\\n      prod_code: \\\"-\\\",\\n      prod_name:\\\"-\\\",\\n      close_amt: \\\"-\\\",\\n      close_qty: \\\"-\\\",\\n    });\\n  }\\n  set_data({\\n    lines: lines,\\n    date_from:moment(date_from).format(\\\"DD-MM-YYYY\\\"),\\n    date_to:moment(date_to).format(\\\"DD-MM-YYYY\\\"),\\n    total_close_amt:format_num(total_close_amt),\\n    total_close_qty:total_close_qty,\\n    today:today,\\n  });\\n}\\n\\nfunction back(){\\n  set_page(\\\"stock_summary\\\");\\n}\\n\\nfunction exit(){\\n  close_app();\\n}\\n\\nasync function setOrientation() {\\n  var res=await get_orientation();\\n  if (res == \\\"PORTRAIT_UP\\\"){\\n    set_orientation(\\\"LANDSCAPE\\\");\\n  } else if (res == \\\"LANDSCAPE\\\"){\\n    set_orientation(\\\"PORTRAIT_UP\\\");\\n  }\\n}\"}, \"rpc_main\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"UNDERSTANDING RPC EXECUTE \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"min_height\": 50, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Index\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Function\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Link\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"read\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"button\", \"width\": \"150\", \"height\": \"30\", \"text\": \"go\", \"align\": \"center\", \"on_click\": \"redirect_page(\\\"rpc_read\\\")\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"search\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"button\", \"text\": \"next\", \"width\": \"150\", \"height\": \"30\", \"align\": \"center\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"search_read\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"button\", \"text\": \"access\", \"width\": \"150\", \"height\": \"30\", \"align\": \"center\", \"on_click\": \" redirect_page(\\\"rpc_search_read\\\")\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"search_read_path\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"button\", \"text\": \"\", \"icon\": \"arrowright\", \"width\": \"150\", \"height\": \"30\", \"align\": \"center\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"create\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"button\", \"icon\": \"fire\", \"width\": \"150\", \"height\": \"30\", \"align\": \"center\"}]], \"name\": \"table\", \"num_cols\": 2, \"num_rows\": 6, \"_col_widths\": \"[1,1]\", \"col_widths\": [1, 1], \"table_bordered\": true, \"table_striped\": true}], \"min_height\": 50, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Documentation\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RPC Explaination\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Rpc\", \"width\": \"150\", \"height\": \"30\", \"on_click\": \"window.open(\\\"https://members.smartb.co/module-1/rpc-editor-js/\\\")\", \"align\": \"center\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"border_width\": 1, \"border_radius\": 1, \"padding_top\": null, \"padding_bottom\": null, \"padding_left\": null, \"padding_right\": null, \"_col_widths\": \"[1,1]\", \"margin_top\": 5, \"margin_left\": 20, \"margin_right\": 20, \"margin_bottom\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Documentation by \"}, {\"attributes\": {\"italic\": true}, \"insert\": \"Yu Hang\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Doc\", \"width\": \"150\", \"height\": \"30\", \"align\": \"center\", \"on_click\": \"redirect_page(\\\"test_rpc\\\")\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20, \"align\": \"center\", \"border_width\": 1, \"border_radius\": 1, \"margin_top\": 5, \"margin_bottom\": 5, \"_col_widths\": \"[1,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SmartB Developer Project\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"button\", \"on_click\": \"window.open(\\\"https://members.smartb.co/module-5/part1-mini-project/\\\")\", \"width\": \"150\", \"height\": \"30\", \"align\": \"center\", \"text\": \"Project\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 20, \"margin_right\": 20, \"border_width\": 1, \"border_radius\": 1, \"margin_top\": 5, \"margin_bottom\": 5, \"_col_widths\": \"[1,1]\"}], \"min_height\": 50, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10}, {\"type\": \"box\", \"children\": [], \"min_height\": 50}], \"min_height\": 50, \"background_color\": \"#e1f3f1\"}]}, \"code\": null}, \"deposit\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"text\": \"Test Print\", \"on_click\": \" test_print2()\"}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM {fmt_money(amt_to_pay)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 40, \"font_bold\": true, \"align\": \"left\", \"background_color\": \"#b0bec5\", \"padding_top\": 10}], \"min_height\": 100, \"background_color\": \"#b0bec5\", \"width\": \"300\", \"margin_left\": 150, \"margin_right\": 150}, {\"type\": \"box\", \"children\": [], \"min_height\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DEPOSIT :\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"PAID\", \"padding_top\": null, \"padding_left\": null, \"padding_right\": null, \"padding_bottom\": null, \"name\": \"amt_paid\", \"on_change\": \"onchange_amt_paid()\", \"margin_top\": null}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"padding_bottom\": 10}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"text\": \"EXACT\", \"size\": \"normal\", \"width\": 100, \"height\": 70, \"padding_top\": null, \"padding_left\": null, \"padding_right\": null, \"padding_bottom\": null, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10, \"background_color\": \"#1a237e\", \"method\": \"\", \"on_click\": \"set_amt_paid(amt_to_pay)\", \"color\": \"#ffffff\", \"font_bold\": true}]}, {\"children\": [{\"type\": \"button\", \"text\": \"{pmt_amt1}\", \"size\": \"normal\", \"width\": 100, \"height\": 70, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10, \"background_color\": \"#1a237e\", \"name\": \"\", \"on_click\": \"set_amt_paid(pmt_amt1)\", \"font_bold\": true, \"color\": \"#ffffff\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"{pmt_amt2}\", \"size\": \"normal\", \"width\": 100, \"height\": 70, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10, \"background_color\": \"#1a237e\", \"on_click\": \"set_amt_paid(pmt_amt2)\", \"color\": \"#ffffff\", \"font_bold\": true}]}, {\"children\": [{\"type\": \"button\", \"text\": \"{pmt_amt3}\", \"size\": \"normal\", \"width\": 100, \"height\": 70, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10, \"background_color\": \"#1a237e\", \"on_click\": \"set_amt_paid(pmt_amt3)\", \"color\": \"#ffffff\", \"font_bold\": true}]}, {\"children\": [{\"type\": \"button\", \"text\": \"{pmt_amt4}\", \"size\": \"normal\", \"width\": 100, \"height\": 70, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10, \"background_color\": \"#1a237e\", \"on_click\": \"set_amt_paid(pmt_amt4)\", \"font_bold\": true, \"color\": \"#ffffff\"}]}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1]}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Transaction No:\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Enter Transaction No.\", \"name\": \"trans_no\"}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1]}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"70\", \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"CASH\", \"background_color\": \"#ff0266\", \"align\": \"right\", \"on_click\": \"pay(2)\", \"margin_left\": 10, \"margin_right\": 10, \"margin_top\": null, \"margin_bottom\": null}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"70\", \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"CHEQUE\", \"background_color\": \"#000000\", \"align\": \"left\", \"on_click\": \"pay(3)\", \"margin_right\": 10, \"padding_left\": null, \"padding_right\": null, \"margin_left\": 10}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"70\", \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"TRANSFER\", \"background_color\": \"#0336ff\", \"align\": \"left\", \"on_click\": \"pay(1)\", \"margin_right\": 10, \"margin_left\": 10}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"70\", \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"VISA/MAS TER\", \"background_color\": \"#d2abd9\", \"align\": \"left\", \"on_click\": \"pay(4)\", \"margin_right\": 10, \"margin_left\": 10}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"70\", \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"DEBIT\", \"background_color\": \"#abd2d9\", \"align\": \"left\", \"on_click\": \"pay(6)\", \"margin_right\": 10, \"margin_left\": 10}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"70\", \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"MyDebit\", \"background_color\": \"#d68e8f\", \"align\": \"left\", \"on_click\": \"pay(5)\", \"margin_right\": 10, \"margin_left\": 10}]}], \"num_cols\": 6, \"col_widths\": [1, 1, 1, 1, 1, 1]}], \"min_height\": 50, \"padding_top\": 20, \"padding_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"             AMOUNT DUE: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 25, \"font_bold\": true}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM {fmt_money(amt_return)}\\n\"}]}, \"font_size\": 25, \"font_bold\": true, \"padding_left\": 10}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"font_size\": 25, \"font_bold\": true}], \"min_height\": 50}], \"min_height\": 50}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"background_color\": \"#eeeeee\", \"padding_top\": 50}], \"min_height\": 50, \"background_color\": \"#eeeeee\"}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"button\", \"width\": 100, \"height\": 50, \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"BACK\", \"background_color\": \"#616161\", \"align\": \"center\", \"on_click\": \"click_back()\"}]}, {\"children\": [{\"type\": \"button\", \"width\": 100, \"height\": 50, \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"CANCEL\", \"background_color\": \"#f10000\", \"align\": \"center\", \"on_click\": \"click_cancel()\"}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 1, 1, 1], \"padding_top\": 20, \"background_color\": \"#eeeeee\", \"padding_bottom\": 80}]}, \"code\": \"function click_back()\\n{\\nredirect_page(\\\"main1\\\");\\n}\\n\\nfunction click_cancel()\\n{\\n  var pop = confirm(\\\"Are you sure you want to cancel this transaction?\\\");\\n  if(pop)\\n  {\\n    redirect_page(\\\"main1\\\");\\n  }\\n  else \\n    return 0;\\n}\\n\\nasync function on_load()\\n{\\n  var form_id=page_params.form_id;\\n  var vals = await rpc_execute(\\\"form.data\\\",\\\"get_value\\\",[form_id]);\\n  var total=vals.total;\\n  var due=vals.due\\n  //var total = Math.round((vals.total)*0.05)/0.05;\\n  if(vals.page_no)\\n  {\\n    var sum = Math.round((due)/0.05)*0.05;\\n  }\\n  else{\\n   var sum = Math.round((total)/0.05)*0.05;\\n  }\\n  var after_round = Math.round((sum)/0.05)*0.05;\\n  var round = after_round - sum;\\n  \\n  var abs_amt = Math.abs(vals.total);\\n  var bills = [1,5,10,20,50,100];\\n  var pmt_amts=get_pay_amounts(abs_amt,bills);\\n  if(pmt_amts[0]==vals.total) pmt_amts=pmt_amts.slice(1);\\n  var pmt_amt1=pmt_amts[0];\\n  var pmt_amt2=pmt_amts[1];\\n  var pmt_amt3=pmt_amts[2];\\n  var pmt_amt4=pmt_amts[3];\\n  set_data({\\n   \\t  amt_to_pay:sum,\\n      amt_disc:vals.disc_amount,\\n      subtotal:vals.subtotal,\\n      pro_id:vals.pro_id,\\n      rounding:round,\\n      pmt_amt1: pmt_amt1,\\n      pmt_amt2: pmt_amt2,      \\n      pmt_amt3: pmt_amt3,  \\n      pmt_amt4: pmt_amt4,      \\n});\\n}\\n\\nfunction get_pay_amounts(abs_amt,bills) {\\n  if(_.isEmpty(bills)) return [];\\n  var bill_amt=bills[0];\\n  var n=Math.ceil(abs_amt/bill_amt);\\n  var amounts = [n*bill_amt];\\n  amounts=_.concat(amounts,get_pay_amounts(abs_amt,bills.slice(1)));\\n  amounts=_.uniq(amounts);\\n  amounts=_.orderBy(amounts);\\n  return amounts;\\n}\\n\\nfunction set_amt_paid(amt)\\n{\\n  var total=Math.round((amt)*100)/100;\\n  set_data({amt_paid:total});\\n  var data=get_data();\\n  var abs_amt_topay = Math.abs(data.amt_to_pay)\\n  var amt_return = Math.round((data.amt_paid-abs_amt_topay)*100)/100;\\n  set_data({amt_return:amt_return});\\n}\\n\\nasync function onchange_amt_paid(){\\n\\tvar data = get_data();\\n  \\tvar abs_amt = Math.abs(data.amt_to_pay);\\n  \\tvar amt_return=Math.round((data.amt_paid-abs_amt)*100)/100;\\n  \\tvar amt_return = Math.abs(amt_return);\\n  \\tif(data.amt_paid==null)\\n    {var amt_return  = null;}\\n  \\tset_data({amt_return:amt_return});\\n}\\n\\nasync function pay(button){\\n  var form_id=page_params.form_id;\\n  var vals = await rpc_execute(\\\"form.data\\\",\\\"get_value\\\",[form_id]);\\n  var date=moment().format(\\\"YYYY-MM-DD\\\").toString();\\n  var data = get_data();\\n  if(!data.amt_paid)throw \\\"Missing Amount\\\";\\n  var trans_id=data.trans_no;\\n  var line = vals.inv_lines;\\n  var pv_lines = vals.pv_lines;\\n  var GI_lines = vals.GI_lines;\\n  var contact_id=vals.contact;\\n  var employee = vals.employee;\\n  var so_no=vals.so_no;\\n  var location_id=get_cookie(\\\"location_id\\\");\\n  var employee_id = vals.employee_id;\\n  var deposit=vals.deposit;\\n  switch(button){\\n      case 2:\\n    \\tvar method_id=2;\\n    \\tvar trans_no = null;\\n        break;\\n    case 4:\\n      if(!trans_id)throw \\\"Missing Transaction Number !\\\";\\n      var method_id=4;\\n      var trans_no =trans_id ;\\n      break;\\n    case 1:\\n      if(!trans_id)throw \\\"Missing Transaction Number !\\\";\\n      var method_id=1;\\n      var trans_no = trans_id;\\n      break;\\n    case 3:\\n      if(!trans_id)throw \\\"Missing Transaction Number !\\\";\\n      var method_id=3;\\n      var trans_no = trans_id;\\n      break\\n    case 5:\\n      if(!trans_id)throw \\\"Missing Transaction Number !\\\";\\n      var method_id=5;\\n      var trans_no = trans_id;\\n      break;\\n    case 6:\\n      if(!data.trans_no)throw \\\"Missing Transaction Number !\\\";\\n      var method_id=6;\\n      var trans_no = trans_id;\\n     }\\n  var cond=[[\\\"sequence\\\", \\\"=\\\", method_id]];\\n  var field=[\\\"service_charge\\\"];\\n  var pv_res = await rpc_execute (\\\"payment.method\\\",\\\"search_read\\\",[cond,field]);\\n  var charge_percent=pv_res[0].service_charge; \\n  var total_charge=(charge_percent/100)*(data.amt_to_pay);\\n  var type=\\\"in\\\";\\n  if(location_id==511)\\n  {\\n  var res=await rpc_execute(\\\"sale.order\\\",\\\"default_get\\\",[[\\\"number\\\"]],{context:{sequence_id:69}});\\n  var inv_res=await rpc_execute(\\\"account.invoice\\\",\\\"default_get\\\",[[\\\"number\\\"]],{context:{defaults:{type:\\\"out\\\",inv_type:\\\"invoice\\\"},sequence_id:63}});\\n  var GI_res=await rpc_execute(\\\"stock.picking\\\",\\\"default_get\\\",[[\\\"number\\\"]],{context:{pick_type:\\\"out\\\",journal_id:13}});\\n  var GI_no=GI_res.number;\\n  var ctx={type:type,pay_type:\\\"direct\\\",sequence_id:65};\\n  var inv_pv_ctx={type:type,pay_type:\\\"invoice\\\",sequence_id:65};\\n  var journal_id=13;\\n  }\\n  else\\n  {\\n  var res=await rpc_execute(\\\"sale.order\\\",\\\"default_get\\\",[[\\\"number\\\"]],{context:{sequence_id:70}});\\n  var inv_res=await rpc_execute(\\\"account.invoice\\\",\\\"default_get\\\",[[\\\"number\\\"]],{context:{defaults:{type:\\\"out\\\",inv_type:\\\"invoice\\\"},sequence_id:64}});\\n  var GI_res=await rpc_execute(\\\"stock.picking\\\",\\\"default_get\\\",[[\\\"number\\\"]],{context:{pick_type:\\\"out\\\",journal_id:14}});\\n  var GI_no=GI_res.number;\\n  var ctx={type:type,pay_type:\\\"direct\\\",sequence_id:66}; \\n  var inv_pv_ctx={type:type,pay_type:\\\"invoice\\\",sequence_id:66};\\n  var journal_id=14;\\n  }\\n  \\n  //Check for First time Payment\\n  if(!vals.page_no) {\\n  //First time Payment. Create Sales Order, Direct Payment\\n  //Create Sales Order\\n  if((data.amt_paid)>(data.amt_to_pay))throw \\\"Please key in lower deposit value\\\";\\n   var receipt_type=1;\\n   var so_vals = {\\n     number:res.number,\\n     due_date:date,\\n     date:date,\\n     contact_id:contact_id,\\n     ref:employee,\\n     sale_categ_id:1,\\n     pay_method_id:method_id,\\n     transaction_no:trans_no,\\n     other_info:data.amt_paid,\\n     lines:[],\\n   };                       \\n   _.forEach(line,o=>{\\n    so_vals.lines.push([\\\"create\\\",o]);\\n   });\\n   var so_id=await rpc_execute(\\\"sale.order\\\",\\\"create\\\",[so_vals],{context:{}});\\n   var so_res = await rpc_execute (\\\"sale.order\\\",\\\"search_read\\\",[[[\\\"id\\\",\\\"=\\\",so_id]],[\\\"number\\\"]]);\\n    \\n    \\n    //Create Direct Payment\\n    var pmt_vals={\\n    account_id: 900,\\n    type: \\\"in\\\",\\n    pay_type: \\\"direct\\\",\\n    contact_id:contact_id,\\n    ref:so_res[0].number,\\n    related_id:\\\"sale.order,\\\"+so_id,\\n    lines:[],\\n  };\\n    var pmt_line = { \\n      description:\\\"POS DEPOSIT\\\",\\n      amount:data.amt_paid,\\n      account_id:902,\\n    };\\n  pmt_vals.lines.push([\\\"create\\\",pmt_line]); \\n  var pmt_id=await rpc_execute(\\\"account.payment\\\",\\\"create\\\",[pmt_vals],{context:ctx});\\n  await rpc_execute(\\\"account.payment\\\",\\\"post\\\",[[pmt_id]]);\\n    \\n  if(button==4||button==5||button==6)\\n  {\\n \\tvar pmt_vals2={\\n\\t\\taccount_id: 554, //Alliance Bank\\n\\t\\ttype: \\\"out\\\",\\n\\t\\tpay_type: \\\"direct\\\",\\n    \\temployee_id:employee_id,\\n    \\tcontact_id:contact_id,\\n   \\t\\tpay_method_id:method_id,\\n    \\ttransaction_no:trans_no,\\n        related_id:\\\"sale.order,\\\"+so_id,\\n\\t    lines:[],\\n\\t};\\n\\n  var pv_lines2={\\n   //type: \\\"direct\\\",\\n   description:\\\"CREDIT CARD CHARGE \\\",\\n   amount:total_charge,\\n   account_id:807, //CREDIT CARD EXPENSE ACCT.\\n  };\\n  \\n  pmt_vals2.lines.push([\\\"create\\\",pv_lines2]);  \\n\\n  var pmt_id2=await rpc_execute(\\\"account.payment\\\",\\\"create\\\",[pmt_vals2],{context:ctx});\\n  await rpc_execute(\\\"account.payment\\\",\\\"post\\\",[[pmt_id2]]);\\n  }\\n    \\n   test_print(so_id,receipt_type,location_id);\\n   redirect_page(\\\"main1\\\");\\n  } //End of First Time payment\\n    \\n\\n  \\n if(vals.page_no)\\n  { // Payment for existing Sales Order\\n    /* Check for Fully paid: If:\\n    \\tNot Fully paid: Create Direct Payment\\n        Fully paid: Create Invoice, Create Direct/Invoice Payment?, Link Back Previous Payment?, Create Goods Issue, Complete Sales Order, \\n    */\\n    var contact=vals.contact;\\n    \\n    //Check for Fully paid\\n    var paid=data.amt_paid;\\n    //var due=data.amt_return;\\n    //var compare=paid-due;\\n   \\n    if((paid)!=(data.amt_to_pay)||(paid)>(data.amt_to_pay)) {\\n      //Not Fully paid. Only Create Direct Payment\\n      var pmt_vals={\\n      account_id: 900,\\n      type: \\\"in\\\",\\n      pay_type: \\\"direct\\\",\\n      contact_id:contact_id,\\n      ref:so_no,\\n      related_id:\\\"sale.order,\\\"+vals.so_id,\\n      lines:[],\\n      };\\n      var pmt_line = { \\n        description:\\\"POS DEPOSIT\\\",\\n        amount:data.amt_paid,\\n        account_id:901,\\n      };\\n      pmt_vals.lines.push([\\\"create\\\",pmt_line]); \\n      var pmt_id=await rpc_execute(\\\"account.payment\\\",\\\"create\\\",[pmt_vals],{context:ctx});\\n      await rpc_execute(\\\"account.payment\\\",\\\"post\\\",[[pmt_id]]);\\n    };\\n    \\n   /*var inv_no=res.number;\\n   var employee_id = vals.employee_id;\\n   card_payment(trans_no,employee_id,contact_id,method_id,so_no,total_charge,ctx);*/\\n    \\n    \\n   if(((paid)==(data.amt_to_pay))||(data.amt_return)) {\\n     //Full Payment\\n     //Create Invoice\\n     var receipt_type=2;\\n     var so_id=vals.so_id;\\n     var invoice_vals = {\\n     number:inv_res.number,\\n     due_date:date,\\n     date:date,\\n     type:\\\"out\\\",\\n     inv_type: \\\"invoice\\\",\\n     contact_id:contact_id,\\n     memo:employee,\\n     sale_categ_id:1,\\n     account_id:899, //Debit debtor\\n     pay_method_id:method_id,\\n     transaction_no:trans_no,\\n     remarks:data.amt_paid,\\n     related_id:\\\"sale.order,\\\"+so_id,\\n     rounding_amount:data.rounding,\\n     amount_change:data.amt_return?data.amt_return:0,\\n     lines:[],\\n   };\\n     \\n    _.forEach(line,o=>{\\n    invoice_vals.lines.push([\\\"create\\\",o]);\\n   });\\n     \\n   var before_round = vals.total;\\n   var after_round = Math.round((before_round)/0.05)*0.05;\\n   var round =after_round - before_round ;\\n   if(round!=0) { // <== david change\\n    var round_vals={\\n      description: \\\"Rounding\\\",\\n      account_id: 665,\\n      amount: round,\\n    }; \\n    var round_amount=Math.round((round)*100 )/ 100;\\n    //invoice_vals.rounding_amount=round_amount;\\n   invoice_vals.lines.push([\\\"create\\\",round_vals]);\\n   }\\n   \\n   var inv_id=await rpc_execute(\\\"account.invoice\\\",\\\"create\\\",[invoice_vals],{context:{}});\\n   await rpc_execute(\\\"account.invoice\\\",\\\"approve\\\",[[inv_id]],{context:{}});\\n     \\n   //Invoice Payment or Direct Payment? Link Previous Payment?\\n     \\n    //Create GI\\n    var GI_vals = {\\n    journal_id:journal_id,\\n    invoice_id:inv_id,\\n    date:date,\\n    contact_id:contact_id,\\n    number:GI_no,\\n    type:\\\"out\\\",\\n    lines:[],\\n    };\\n    _.forEach(GI_lines,o=>{\\n    GI_vals.lines.push([\\\"create\\\",o]);  \\n    });\\n    var pick_id= await rpc_execute(\\\"stock.picking\\\", \\\"create\\\",[GI_vals],{context:{}});\\n    await rpc_execute(\\\"stock.picking\\\",\\\"set_done\\\",[[pick_id]]);\\n    await rpc_execute(\\\"sale.order\\\",\\\"confirm\\\",[[so_id]],{context:{}});//Confirm Sales Order\\n  }\\n\\t//create invoice payment for last payment\\n    var pmt_vals_last={\\n\\t\\taccount_id: 900,//cash acct \\n\\t\\ttype: type,\\n\\t\\tpay_type: \\\"invoice\\\",\\n    \\temployee_id:employee_id,\\n    \\tcontact_id:contact_id,\\n    \\trelated_id:\\\"sale.order,\\\"+ so_id,\\n\\t    lines:[],\\n        ref:so_no,\\n\\t};\\n    var pmt_line_last = { \\n      type: \\\"invoice\\\",\\n      invoice_id: inv_id, // <== link to invoice\\n      amount:data.amt_paid,\\n    }\\n    pmt_vals_last.lines.push([\\\"create\\\",pmt_line_last]);  \\n  \\tvar pmt_id_last=await rpc_execute(\\\"account.payment\\\",\\\"create\\\",[pmt_vals_last],{context:inv_pv_ctx});\\n \\tawait rpc_execute(\\\"account.payment\\\",\\\"post\\\",[[pmt_id_last]]);  \\n    \\n   //create invoice payment for previous payment\\n\\t\\tvar pmt_vals_pre={\\n\\t\\taccount_id:535,//pre-payment acct\\n\\t\\ttype: type,\\n\\t\\tpay_type: \\\"invoice\\\",\\n    \\temployee_id:employee_id,\\n    \\tcontact_id:contact_id,\\n    \\trelated_id:\\\"sale.order,\\\"+ so_id,\\n\\t    lines:[],\\n\\t};\\n      var pmt_line_pre = { \\n      type: \\\"invoice\\\",\\n      invoice_id: inv_id, // <== link to invoice\\n      amount:deposit,\\n    };\\n    pmt_vals_pre.lines.push([\\\"create\\\",pmt_line_pre]);  \\n  \\tvar pmt_id_pre=await rpc_execute(\\\"account.payment\\\",\\\"create\\\",[pmt_vals_pre],{context:inv_pv_ctx});\\n \\tawait rpc_execute(\\\"account.payment\\\",\\\"post\\\",[[pmt_id_pre]]); \\n    test_print(inv_id,receipt_type,location_id);\\n }\\n  alert(\\\"Payment recorded\\\"); \\n  redirect_page(\\\"main1\\\");\\n}\\n\\n    \\n    // 1. create invoice 2. create payment referring to invoice\\n/* var pmt_vals={\\n\\t\\taccount_id: cash_account_id,\\n\\t\\ttype: type,\\n\\t\\tpay_type: \\\"invoice\\\",\\n    \\temployee_id:employee_id,\\n    \\tcontact_id:contact_id,\\n    \\tref:inv_no,\\n    \\trelated_id:\\\"sale.order,\\\"+ so_id,\\n\\t    lines:[],\\n\\t};\\n\\tvar pmt_line = { \\n      type: \\\"invoice\\\",\\n      invoice_id: inv_id, // <== link to invoice\\n      amount:data.amt_paid,\\n      account_id:901,\\n    }\\n \\n    pmt_vals.lines.push([\\\"create\\\",pmt_line]);  \\n  var pmt_id=await rpc_execute(\\\"account.payment\\\",\\\"create\\\",[pmt_vals],{context:ctx});\\n  await rpc_execute(\\\"account.payment\\\",\\\"post\\\",[[pmt_id]]); // <== invoice status will be paid when payment is posted\\n    */\\n\\n\\n/*function print(inv_id,location_id)\\n{\\n  switch(location_id){\\n    case \\\"511\\\":\\n      var url = \\\"http://pages-test.netforce.com/?db=nfo_ysis&page=sales_receipt_usj&print=1&active_id=\\\"+ inv_id;\\n  \\t  var win=open(url);\\n      break;\\n    case \\\"512\\\":\\n      var url = \\\"http://pages-test.netforce.com/?db=nfo_ysis&page=sales_receipt_sunway&print=1&active_id=\\\"+ inv_id;\\n  \\t  var win=open(url);\\n       }\\n    setTimeout(()=>{\\n      console.log(\\\"close window\\\");\\n    win.close();\\n  },5000);\\n}*/\\n\\n/*function print_temp_bill(so_id,location_id)\\n{\\n  switch(location_id){\\n    case \\\"511\\\":\\n      var url = \\\"http://pages-test.netforce.com/?db=nfo_ysis&page=bill_receipt_usj&print=1&active_id=\\\"+ so_id;\\n      test_print(url)\\n  \\t  var win=open(url);\\n      break;\\n    case \\\"512\\\":\\n      var url = \\\"http://pages-test.netforce.com/?db=nfo_ysis&page=bill_receipt_sunway&print=1&active_id=\\\"+ so_id;\\n  \\t  var win=open(url);\\n       }\\n   setTimeout(()=>{\\n      console.log(\\\"close window\\\");\\n    win.close();\\n  },5000);\\n}*/\\n\\nasync function test_print(number,receipt_type,location_id){\\n  switch(location_id) {\\n    case \\\"511\\\":\\n      var page=\\\"receipt_usj\\\";\\n      break;\\n    case \\\"512\\\":\\n      var page=\\\"receipt_sunway\\\";\\n          }\\n  if(receipt_type==2) //---> full payment receipt\\n  {\\n    var link=\\\"https://backend-test.netforce.com/render_page_pos?db=nfo_ysis&page=\\\"+\\\"dep_\\\"+ page + \\\"&print=1&active_id=\\\"+number;\\n  }\\n  if(receipt_type==1) //---> deposit payment receipt\\n  {\\n    var link=\\\"https://backend-test.netforce.com/render_page_pos?db=nfo_ysis&page=\\\"+ \\\"bill_\\\"+page + \\\"&print=1&active_id=\\\"+number;\\n  }\\n  var data=await fetch(link);\\n  var text=await data.text();\\n  text=text+\\\"\\\\r\\\\n\\\\x1b\\\\x69\\\";\\n  console.log(\\\"data\\\",data);\\n  console.log(\\\"buf\\\",text);\\n  print_raw(\\\"POS-80C\\\",text);//POS-80C\\n  window.open(link+\\\"&no_download=1\\\");\\n}\\n\\nasync function test_print2() {\\n  var data=await fetch(\\\"https://backend-test.netforce.com/render_page_pos?db=nfo_ysis&page=sales_receipt_usj&print=1&active_id=1547&no_download=1\\\");\\n  //var buf=await data.arrayBuffer();\\n  //buf=buf+\\\"\\\\r\\\\n\\\\x1b\\\\x69\\\";\\n  var text=await data.text();\\n  text=text+\\\"\\\\r\\\\n\\\\x1b\\\\x69\\\";\\n  console.log(\\\"data\\\",data);\\n  console.log(\\\"buf\\\",text);\\n  print_raw(\\\"POS-80C\\\",text);//POS-80C\\n}\\n\\nfunction test_bi()\\n{\\n  var url=\\\"https://app.powerbi.com/reportEmbed?reportId=01945029-038b-4fc2-84b9-5f5aea8831b3&autoAuth=true&ctid=f500f882-681d-4809-ac54-6370fce91584\\\";\\n  window.open(url);\\n}\\n/*function test_print() {\\n  var data=\\\"testing\\\\r\\\\n1234\\\\r\\\\naaaa\\\\r\\\\nbbbbb\\\\r\\\\ncccccc\\\\r\\\\n\\\\x1b\\\\x69\\\";\\n  print_raw(\\\"POS-80C\\\",data);\\n}\\n*/\\n//http://www.starmicronics.com/support/mannualfolder/escpos_cm_en.pdf\\n//https://www.codeproject.com/Questions/450967/How-do-i-send-cut-paper-command-after-printing-thr\"}, \"first_page_with_serial_no\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"GR, GT and GI\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"min_height\": 50, \"margin_top\": 10, \"margin_bottom\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Goods Receive\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"button\", \"text\": \"From existing GR\", \"size\": \"large\", \"align\": \"center\", \"margin_top\": 50, \"margin_left\": 50, \"margin_right\": 0, \"margin_bottom\": 50, \"width\": \"175\", \"height\": \"75\", \"on_click\": \"set_page(\\\"gr_from_existing_with_existing_serial_no\\\")\"}, {\"type\": \"button\", \"text\": \"From existing GR with weight\", \"align\": \"center\", \"margin_top\": 50, \"margin_left\": 50, \"margin_right\": 0, \"margin_bottom\": 50, \"width\": \"175\", \"height\": \"75\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"New GR\", \"align\": \"center\", \"margin_top\": 50, \"margin_left\": 50, \"margin_right\": 50, \"margin_bottom\": 50, \"width\": \"175\", \"height\": \"75\"}, {\"type\": \"button\", \"text\": \"New GR with weight\", \"align\": \"center\", \"margin_top\": 50, \"margin_left\": 50, \"margin_right\": 50, \"margin_bottom\": 50, \"width\": \"175\", \"height\": \"75\"}]}], \"col_widths\": [1, 1]}], \"min_height\": 50}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Goods Transfer\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"button\", \"text\": \"From existing GT\", \"align\": \"center\", \"margin_top\": 50, \"margin_left\": 50, \"margin_right\": 50, \"margin_bottom\": 50, \"width\": \"175\", \"height\": \"75\"}, {\"type\": \"button\", \"text\": \"New GT\", \"align\": \"center\", \"margin_top\": 50, \"margin_left\": 50, \"margin_right\": 50, \"margin_bottom\": 50, \"width\": \"175\", \"height\": \"75\"}], \"min_height\": 50, \"border_width\": null, \"border_color\": \"#b3b3b3\", \"border_left_width\": 2, \"border_right_width\": 2}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Goods Issue\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"button\", \"text\": \"From existing GI\", \"align\": \"center\", \"margin_top\": 50, \"margin_left\": 50, \"margin_right\": 50, \"margin_bottom\": 50, \"width\": \"175\", \"height\": \"75\"}, {\"type\": \"button\", \"text\": \"New GI\", \"align\": \"center\", \"margin_top\": 50, \"margin_left\": 50, \"margin_right\": 50, \"margin_bottom\": 50, \"width\": \"175\", \"height\": \"75\"}], \"min_height\": 50}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1]}], \"min_height\": 50}], \"min_height\": 50}]}, \"code\": \"\"}, \"menu\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"YSIS-LOGO,tGrFAH-XXb8=.jpg\", \"width\": \"400\", \"height\": \"200\", \"align\": \"center\"}], \"min_height\": 50, \"background_color\": \"#ffffff\"}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"monospace\"}, \"insert\": \"PLEASE SELECT YOUR STORE...\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 20, \"color\": \"#ffffff\", \"padding_top\": 10}], \"min_height\": 50, \"background_color\": \"#434939\", \"padding_left\": 10}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"button\", \"width\": \"500\", \"height\": \"150\", \"margin_top\": 70, \"margin_left\": 10, \"margin_right\": null, \"align\": \"center\", \"background_color\": \"#6b94cd\", \"text\": \"USJ \", \"font_bold\": true, \"font_size\": 60, \"color\": \"#ffffff\", \"on_click\": \"usj()\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"500\", \"height\": \"150\", \"margin_right\": 10, \"margin_top\": 70, \"align\": \"center\", \"background_color\": \"#bab7e1\", \"text\": \"SUNWAY\", \"font_bold\": true, \"font_size\": 70, \"color\": \"#ffffff\", \"on_click\": \"sunway()\"}]}], \"col_widths\": [1, 1]}], \"min_height\": null, \"margin_left\": 100, \"margin_right\": 100, \"height\": \"350\", \"background_color\": \"#cdd2d3\", \"width\": \"\"}], \"min_height\": null, \"background_color\": \"#ffffff\", \"height\": \"450\"}]}, \"code\": \"async function usj(){\\n  var location_id=511;\\n  set_cookie(\\\"location_id\\\",location_id);\\n  redirect_page(\\\"main1\\\");\\n}\\n\\nasync function sunway(){\\n  var location_id=512;\\n  set_cookie(\\\"location_id\\\",location_id);\\n  redirect_page(\\\"main1\\\");\\n}\"}, \"top_up\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"~ Employee ~\", \"padding_top\": null, \"padding_right\": null, \"padding_left\": null, \"height\": 20, \"model\": \"hr.employee\", \"name\": \"employee\"}], \"min_height\": 50, \"padding_top\": 5, \"padding_left\": 10, \"padding_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"monospace\"}, \"insert\": \"You're now adding cart for\"}, {\"attributes\": {\"bold\": true}, \"insert\": \" \"}, {\"attributes\": {\"font\": \"monospace\", \"bold\": true}, \"insert\": \"{so_no},\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 14, \"margin_left\": 10, \"padding_top\": null, \"padding_left\": null, \"margin_top\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"monospace\", \"bold\": true}, \"insert\": \"{contact}\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 14, \"padding_top\": 5}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1.5, 1, 1], \"padding_left\": 10, \"_col_widths\": \"[1.5,1,1]\"}], \"min_height\": 50, \"background_color\": \"#eeeeee\"}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"name\": \"customer\", \"placeholder\": \"~ Select Customer ~\", \"padding_bottom\": null, \"padding_right\": null, \"padding_left\": null, \"background_color\": \"#ffffff\", \"color\": \"#000000\", \"margin_left\": 10, \"model\": \"contact\", \"padding_top\": null, \"margin_top\": 5, \"margin_right\": 5}], \"min_height\": 50, \"margin_left\": 10, \"border_left_width\": 1, \"border_top_width\": 1, \"border_right_width\": 1, \"width\": \"\"}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"~ Select Product ~\", \"padding_right\": 5, \"margin_left\": 5, \"model\": \"product\", \"margin_top\": 5, \"name\": \"product\"}], \"min_height\": 50, \"border_top_width\": 1, \"border_right_width\": null, \"border_left_width\": 1, \"border_bottom_width\": 1, \"margin_left\": 10}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"~Type Barcode~\", \"padding_bottom\": 5, \"padding_top\": 8, \"scale\": null, \"padding_right\": 10, \"padding_left\": 10}], \"min_height\": 50, \"border_top_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"margin_right\": 10}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1.5, 1, 1], \"_col_widths\": \"[1.5,1,1]\", \"padding_top\": 10, \"background_color\": \"#eeeeee\", \"border_top_width\": 1, \"border_radius\": 2}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"text\": \"SEARCH\", \"width\": \"80\", \"height\": \"30\", \"margin_top\": 5, \"margin_left\": null, \"align\": \"center\", \"font_size\": 10, \"font_bold\": true, \"color\": \"#ffffff\", \"background_color\": \"#00b8d4\", \"on_double_click\": \"\", \"on_click\": \"search_contact()\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"80\", \"height\": 30, \"text\": \"NEW\", \"font_size\": 10, \"font_bold\": false, \"padding_bottom\": null, \"margin_top\": 5, \"background_color\": \"#000000\", \"color\": \"#ffffff\", \"margin_left\": null, \"align\": \"center\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"80\", \"height\": 30, \"text\": \"CLEAR\", \"font_size\": 10, \"font_bold\": true, \"padding_bottom\": null, \"margin_top\": 5, \"background_color\": \"#ff5252\", \"color\": \"#ffffff\", \"margin_left\": null, \"on_click\": \"clear1()\", \"align\": \"center\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"border_width\": 1, \"margin_left\": 10, \"padding_bottom\": 5, \"padding_right\": 5}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"button\", \"width\": \"80\", \"height\": 30, \"text\": \"ENTER\", \"font_size\": 10, \"font_bold\": true, \"padding_bottom\": null, \"margin_top\": 5, \"background_color\": \"#00b8d4\", \"color\": \"#ffffff\", \"align\": \"center\", \"margin_bottom\": null, \"on_click\": \"enter_product()\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 10, \"border_right_width\": null, \"border_bottom_width\": 1, \"border_left_width\": 1, \"padding_bottom\": 5, \"padding_top\": 2}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"width\": \"80\", \"height\": 30, \"text\": \"CLEAR\", \"font_size\": 10, \"font_bold\": true, \"padding_bottom\": null, \"margin_top\": 5, \"background_color\": \"#ff5252\", \"color\": \"#ffffff\", \"margin_left\": 5, \"align\": \"center\", \"on_click\": \"clear2()\", \"margin_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"border_bottom_width\": 1, \"border_right_width\": 1, \"padding_top\": 2, \"margin_right\": 10}]}], \"num_cols\": 3, \"col_widths\": [1.5, 1, 1], \"_col_widths\": \"[1.5,1,1]\"}], \"min_height\": 50}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CODE\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DESCRIPTION\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"UNIT PRICE\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"QTY.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"UOM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DISC %\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DISC AMT\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"AMOUNT\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{code}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"{price}\", \"name\": \"price\", \"on_change\": \"on_change_subtotal(_cid)\"}, {\"type\": \"field\", \"field_type\": \"number\", \"padding_left\": 10, \"padding_right\": 10, \"name\": \"qty\", \"on_change\": \"onchange_qty(_data,_cid)\", \"placeholder\": \"Qty\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{uom}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"text\", \"name\": \"disc\", \"on_change\": \"onchange_qty(_data,_cid)\", \"onchange_method\": \"\", \"placeholder\": \"{disc}\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(disc_amt)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"align\": \"center\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"align\": \"center\"}, {\"type\": \"button\", \"width\": 30, \"height\": 30, \"text\": \"X\", \"font_size\": 10, \"font_bold\": true, \"padding_bottom\": null, \"margin_top\": 5, \"background_color\": \"#ff5252\", \"color\": \"#ffffff\", \"on_click\": \"delete_line(_cid,lock_id)\"}]], \"num_cols\": 9, \"padding_top\": 30, \"padding_left\": 10, \"padding_right\": 10, \"background_color\": \"#eeeeee\", \"table_striped\": true, \"field_rows\": \"lines\", \"table_hover\": true, \"table_bordered\": true}], \"min_height\": 50, \"padding_bottom\": null, \"page_break_after\": true, \"background_color\": \"#eeeeee\", \"border_top_width\": null, \"border_bottom_width\": null, \"border_radius\": 2, \"border_width\": null, \"color\": \"#eeeeee\"}], \"min_height\": 50, \"background_color\": \"#cacec2\"}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"font\": \"serif\", \"bold\": true}, \"insert\": \"{fmt_money(total)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_left\": 10, \"font_size\": 18, \"color\": \"#000000\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DISCOUNT : \"}, {\"insert\": \"{fmt_money(discount)}\\n\"}]}, \"padding_left\": 10, \"font_size\": 16, \"color\": \"#000000\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TAX              :\"}, {\"insert\": \" {fmt_money(tax)}\\n\"}]}, \"padding_left\": 10, \"color\": \"#000000\", \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SUBTOTAL : \"}, {\"insert\": \"{fmt_money(subtotal2)}\\n\"}]}, \"padding_left\": 10, \"padding_bottom\": 10, \"color\": \"#000000\", \"font_size\": 16}], \"min_height\": 50, \"border_top_width\": 1, \"border_right_width\": 1, \"border_left_width\": 1, \"background_color\": \"#ffffff\"}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"button\", \"text\": \"PAY\", \"width\": \"120\", \"height\": 50, \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 30, \"margin_top\": null, \"padding_top\": null, \"background_color\": \"#e2d3d5\", \"color\": \"#000000\", \"on_click\": \"top_up()\", \"font_size\": 14}, {\"type\": \"button\", \"text\": \"SAVE\", \"width\": \"120\", \"height\": 50, \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 30, \"margin_top\": null, \"padding_top\": null, \"background_color\": \"#64ffda\", \"color\": \"#000000\", \"on_click\": \"top_up()\", \"font_size\": 14}, {\"type\": \"button\", \"text\": \"CANCEL\", \"width\": \"120\", \"height\": 50, \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 30, \"margin_top\": null, \"padding_top\": null, \"background_color\": \"#ffccbc\", \"color\": \"#000000\", \"on_click\": \" cancel()\", \"font_size\": 14}, {\"type\": \"image\", \"min_height\": 50, \"padding_left\": null, \"padding_right\": null, \"width\": \"170\", \"height\": \"140\", \"align\": \"center\", \"image_file\": \"smartB logo final (without background) (1),YrSbmMXe85M=.png\"}], \"min_height\": 50, \"border_left_width\": 1, \"background_color\": \"#ffffff\", \"padding_top\": 20, \"padding_bottom\": 20}], \"min_height\": 50, \"border_top_width\": 1, \"background_color\": \"#fedbd0\"}]}], \"num_cols\": 3, \"col_widths\": [0, 3, 0.5], \"_col_widths\": \"[0,3,0.5]\", \"border_bottom_width\": 1}], \"min_height\": 50, \"background_color\": \"#eeeeee\"}]}, \"code\": \"async function on_load()\\n{ \\n  if(page_params.topup_id)\\n  {\\n    var form_id=page_params.topup_id;\\n    var vals = await rpc_execute(\\\"form.data\\\",\\\"get_value\\\",[form_id]);\\n    var so_id = vals.so_id;\\n    var so_no = vals.so_no;\\n    var contact_id=vals.contact_id;\\n    var contact_name=vals.contact_name;\\n    var cond=[[\\\"id\\\",\\\"=\\\",so_id]];\\n    var field = [\\\"lines\\\"];\\n    var data = [];\\n    var res = await rpc_execute (\\\"sale.order\\\",\\\"search_read\\\",[cond,field]);\\n    var line_array= res[0].lines;\\n    load_sale(line_array);\\n    /*for (var i = 0;i< line_array.length;i++) {\\n      var line=line_array[i];\\n      var res2 = await rpc_execute(\\\"sale.order.line\\\",\\\"read_path\\\",[[line],[\\\"product_id.id\\\",\\\"qty\\\",\\\"discount\\\"]]);\\n      var pro_id= res2[0].product_id.id;\\n      var disc=res2[0].discount;\\n      var qty=res2[0].qty;\\n      data[i]={\\n        qty:qty,\\n        disc:disc,\\n      };\\n    set_data(data);   \\n    enter_product(pro_id);\\n    };*/\\n    set_data({so_no:so_no});\\n    set_data({customer:contact_id});\\n    set_data({contact:contact_name});\\n  }\\n  var data = get_data();\\n  if (!data.lines){\\n  set_data({total:0.00});}\\n}\\n\\n\\nfunction cancel() {\\n  var pop = confirm(\\\"Are you sure you want to cancel this transaction?\\\");\\n  if (pop){\\n    redirect_page(\\\"main1\\\");\\n  }\\n  else {\\n    return;\\n  }\\n}\\n\\n\\nfunction clear1() {\\n  set_data({customer:null});\\n}\\n\\nfunction clear2() {\\n  set_data({product:null,\\n        barcode:null\\n      });\\n}\\n\\nasync function search_contact()\\n{\\n  var data=get_data(); \\n  var cust_id = data.customer;\\n  if(data.customer)\\n  {\\n    var contact_url =\\\"https://ysis.smartb.co/action?name=contact&mode=form&active_id=\\\" + cust_id;\\n     window.open(contact_url);\\n  }\\n  else{throw \\\"Missing Customer\\\";}\\n}\\n\\nasync function enter_product(pro_id,other_info)\\n{\\n  var form_id=page_params.topup_id;\\n  var vals = await rpc_execute(\\\"form.data\\\",\\\"get_value\\\",[form_id]);\\n  var so_id = vals.so_id;\\n  var data = get_data();\\n  var product_id = data.product;\\n  if(pro_id)\\n  {\\n    product_id = pro_id;\\n  }\\n  if(!product_id)throw \\\"Missing Product\\\";\\n  var fields = [\\\"code\\\",\\\"name\\\",\\\"uom_id\\\",\\\"sale_price\\\",\\\"sale_account_id\\\"];\\n  var cond = [[\\\"id\\\",\\\"=\\\",product_id]];\\n  var product_res = await rpc_execute(\\\"product\\\",\\\"search_read\\\",[cond,fields]);\\n  var pro_code = product_res[0].code;\\n  var pro_name = product_res[0].name;\\n  var pro_uom = product_res[0].uom_id;\\n  var pro_price = product_res[0].sale_price;\\n  var sale_account_id = product_res[0].sale_account_id;\\n  //var cond2=[[\\\"id\\\",\\\"=\\\" ,so_id]];\\n // var fields2 = [\\\"lines\\\"];\\n  //var res = await rpc_execute (\\\"sale.order\\\",\\\"search_read_path\\\",[cond2,fields2]);\\n  //var direct_line = res[0].lines;\\n // var x = direct_line.length;\\n  if(!data.lines) data.lines=[];\\n  var product_line={\\n    id:product_id,\\n    uom_id:pro_uom[0],\\n    _cid:_.uniqueId(),\\n    code:pro_code,\\n    description:pro_name,\\n    uom:pro_uom[1],\\n    price:pro_price, \\n    sale_account_id:sale_account_id[0],\\n    qty:other_info?other_info.qty:0,\\n    disc:other_info?other_info.disc:0,\\n    lock_id:other_info?1:null,\\n  };\\n  \\n  data.lines.push(product_line);\\n  set_data(data);\\n  return product_line._cid;\\n}\\n\\nasync function delete_line(_cid,lock_id)\\n{\\n  if(lock_id)throw \\\"Product is locked!\\\";\\n  var data=get_data();\\n  var selected_line =_.filter(data.lines,l=>l._cid==_cid);\\n  var line = selected_line[0];\\n  var index = _.findIndex(data.lines,line);\\n  var line_disc_amt = data.lines[index].disc_amt;\\n  var line_total = data.lines[index].total;\\n  var line_subtotal = data.lines[index].amount;\\n  var m1 = (data.discount)-line_disc_amt;\\n  var m2 = (data.total)-line_subtotal;\\n  var m3 = (data.subtotal2)-line_total;\\n  set_data({discount:m1});\\n  set_data({total:m2});\\n  set_data({subtotal2:m3});\\n  data.lines=_.filter(data.lines,l=>l._cid!=_cid);\\n  data.lines=_.filter(data.lines,l=>l._cid!=_cid);\\n  _.forEach(data.lines,o=> {\\n    var index = data.lines.indexOf(o)+1;\\n    o.index=index;\\n  });\\n  set_data(data.lines);\\n}\\n\\nasync function on_change_subtotal(_cid)\\n{\\n  var data=get_data();\\n  var selected_line =_.filter(data.lines,l=>l._cid==_cid);\\n  var qty = _.map(selected_line,\\\"qty\\\");\\n  var disc= _.map(selected_line,\\\"disc\\\");\\n  var price= _.map(selected_line,\\\"price\\\");\\n  var total_pro = qty*price;\\n  var disc_amt = (disc/100)*total_pro;\\n  var total2 = total_pro - disc_amt;\\n  var line = selected_line[0];\\n  var index = _.findIndex(data.lines,line);\\n  data.lines[index].amount=total2;\\n  data.lines[index].disc_amt=disc_amt;\\n  data.lines[index].total_pro=total_pro;\\n  set_data({lines:data.lines});\\n  var arr=data.lines;\\n  var total3=0;\\n  var disc_total=0;\\n  var subtotal2=0;\\n  for (var i=0; iundefined<arr.length; i++) {\\n  var selected_line = arr[i];\\n  var count = selected_line.amount;\\n  var count2 = selected_line.disc_amt;\\n  var count3 = selected_line.total_pro;\\n  total3 = total3 + count;  \\n  disc_total = disc_total + count2;\\n  subtotal2 = subtotal2 + count3;\\n  };\\n  set_data({\\n    total:total3,\\n    discount:disc_total,\\n    subtotal2:subtotal2,\\n  });\\n}\\n\\nasync function on_barcode(barcode) {\\n  var data = get_data();\\n  var fields = [\\\"code\\\",\\\"name\\\",\\\"uom_id\\\",\\\"sale_price\\\",\\\"sale_account_id\\\"];\\n  var cond = [[\\\"code\\\",\\\"=\\\",barcode]];\\n  var product_res = await rpc_execute(\\\"product\\\",\\\"search_read\\\",[cond,fields]);\\n  var pro_code = product_res[0].code;\\n  var pro_name = product_res[0].name;\\n  var pro_uom = product_res[0].uom_id;\\n  var pro_price = product_res[0].sale_price;\\n  var product_id = product_res[0].id;\\n  var sale_account_id = product_res[0].sale_account_id;\\n  var product_line={\\n    id:product_id,\\n    _cid:_.uniqueId(),\\n    code:pro_code,\\n    description:pro_name,\\n    uom:pro_uom[1],\\n    price:pro_price, \\n    sale_account_id:sale_account_id[0],\\n  };\\n  if(!data.lines) data.lines=[];\\n  data.lines.push(product_line);\\n  set_data(data);\\n}\\n  \\nasync function onchange_qty(line,_cid) {\\n  console.log(\\\"onchange_qty\\\",line);\\n  var pricelist_id=6; // XXX\\n  var prod_id=line.id;\\n  var qty=line.qty;\\n  var price=await rpc_execute(\\\"price.list\\\",\\\"get_price\\\",[pricelist_id,prod_id,qty]);\\n  line.price=price;\\n  on_change_subtotal(_cid);\\n}\\n\\nasync function top_up()\\n{\\n  var data = get_data();\\n  var date=moment().format(\\\"YYYY-MM-DD\\\").toString();\\n  var form_id=page_params.topup_id;\\n  var vals = await rpc_execute(\\\"form.data\\\",\\\"get_value\\\",[form_id]);\\n  if(!form_id)throw \\\"Missing top up ID\\\";\\n  var so_id = vals.so_id;\\n  console.log(\\\"so_id\\\",so_id);\\n  if(!data.employee) throw \\\"Missing Employee\\\";\\n  if(!data.lines)throw\\\"Missing Product\\\";\\n  var total = data.total;\\n  var discount = data.discount;\\n  var subtotal = data.subtotal2;\\n  var lines = data.lines;\\n  var contact = vals.contact_id;\\n  var employee_id = data.employee;  \\n  var so_lines=lines.map(l=>{\\n    return {\\n      product_id: l.id,\\n      description:l.description,\\n      sale_account_id:l.sale_account_id,\\n      discount:l.disc,\\n      amount:l.amount,\\n      qty:l.qty,\\n      unit_price:l.price,\\n      uom_id:l.uom_id,\\n    };\\n  });\\n  var so_vals = {\\n    due_date:date,\\n    date:date,\\n    contact_id:contact,\\n    ref:employee_id[1],\\n    sale_categ_id:1,\\n    lines:[],\\n  };\\n   _.forEach(so_lines,o=>{\\n    so_vals.lines.push([\\\"create\\\",o]);\\n  });\\n  rpc_execute(\\\"sale.order\\\",\\\"write\\\",[[so_id],so_vals],{context:{}});\\n  alert(\\\"Add cart sucessfully\\\");\\n  redirect_page(\\\"main1\\\");\\n}\\n\\nasync function load_sale(line_ids) {\\n  const promises=line_ids.map(async o=>{\\n    var res=await rpc_execute(\\\"sale.order.line\\\",\\\"read\\\",[[o],[\\\"product_id\\\",\\\"qty\\\",\\\"discount\\\"]])\\n    console.log(\\\"line\\\",res);\\n    var product_id=res[0].product_id[0];\\n    var other_info={\\n      qty:res[0].qty,\\n      disc:res[0].discount,\\n    };\\n    var cid=await enter_product(product_id,other_info);\\n    on_change_subtotal(cid);\\n  });\\n  await Promise.all(promises);\\n}\"}, \"main1\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"width\": \"125\", \"height\": \"50\", \"text\": \"MAIN\", \"padding_right\": null, \"align\": \"right\", \"font_bold\": true, \"font_size\": 14, \"background_color\": \"#e1f5fe\", \"color\": \"#000000\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"125\", \"height\": \"50\", \"text\": \"BACKEND\", \"font_bold\": true, \"font_size\": 14, \"on_click\": \"tab2()\", \"background_color\": \"#000000\", \"color\": \"#ffffff\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": null, \"margin_top\": null}], \"min_height\": 35, \"border_right_width\": 1, \"background_color\": \"#244692\", \"padding_top\": null, \"padding_left\": null, \"padding_right\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"button\", \"text\": \"CLOSE SALE\", \"width\": \"120\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 45, \"background_color\": \"#ffffff\", \"on_click\": \"to_close_sale()\", \"font_size\": 16, \"margin_top\": 20, \"font_name\": \"Arial\"}, {\"type\": \"button\", \"text\": \"STOCK BALANCE\", \"width\": \"120\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 45, \"background_color\": \"#ffffff\", \"on_click\": \"stock_balance()\", \"font_size\": 16}, {\"type\": \"button\", \"text\": \"HISTORY\", \"width\": \"120\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 45, \"background_color\": \"#ffffff\", \"on_click\": \" transaction()\", \"font_size\": 16}, {\"type\": \"button\", \"text\": \"PRE-ORDER\", \"width\": \"120\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 150, \"background_color\": \"#ffffff\", \"on_click\": \"pre_order()\", \"font_size\": 16}, {\"type\": \"button\", \"text\": \"SIGN OUT\", \"width\": \"250\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": null, \"background_color\": \"#894242\", \"on_click\": \"sign_out()\", \"font_size\": 16, \"color\": \"#ffffff\"}], \"min_height\": 50, \"border_right_width\": 1, \"background_color\": \"#244692\", \"footer\": false, \"margin_bottom\": null, \"padding_bottom\": 100, \"margin_top\": null, \"padding_top\": 20, \"height\": \"625\"}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"~ Employee ~\", \"padding_top\": null, \"padding_right\": null, \"padding_left\": null, \"height\": 20, \"model\": \"hr.employee\", \"name\": \"employee\", \"on_change\": \"onchange_employee()\"}], \"min_height\": 50, \"padding_top\": 5, \"padding_left\": 10, \"padding_right\": 10}]}, {\"children\": []}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"{location}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 20, \"padding_top\": 10}], \"min_height\": 50}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1.5, 1, 1], \"padding_left\": 10, \"_col_widths\": \"[1.5,1,1]\"}], \"min_height\": 50, \"background_color\": \"#eeeeee\"}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"name\": \"customer\", \"placeholder\": \"~ Select Customer ~\", \"padding_bottom\": null, \"padding_right\": null, \"padding_left\": null, \"background_color\": \"#ffffff\", \"color\": \"#000000\", \"margin_left\": 10, \"model\": \"contact\", \"padding_top\": null, \"margin_top\": 5, \"margin_right\": 5}], \"min_height\": 50, \"margin_left\": 10, \"border_left_width\": 1, \"border_top_width\": 1, \"border_right_width\": 1, \"width\": \"\"}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"~ Select Product ~\", \"padding_right\": 5, \"margin_left\": 5, \"model\": \"product\", \"margin_top\": 5, \"name\": \"product\", \"on_change\": \"onchange_product_selection()\"}], \"min_height\": 50, \"border_top_width\": 1, \"border_right_width\": null, \"border_left_width\": 1, \"border_bottom_width\": 1, \"margin_left\": 10}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"~Type Barcode~\", \"padding_bottom\": 5, \"padding_top\": 8, \"scale\": null, \"padding_right\": 10, \"padding_left\": 10, \"name\": \"barcode\", \"on_change\": \"onchange_barcode_selection()\"}], \"min_height\": 50, \"border_top_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"margin_right\": 10}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1.5, 1, 1], \"_col_widths\": \"[1.5,1,1]\", \"padding_top\": 10, \"background_color\": \"#eeeeee\", \"border_top_width\": 1, \"border_radius\": 2}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"text\": \"SEARCH\", \"width\": \"80\", \"height\": \"30\", \"margin_top\": 5, \"margin_left\": null, \"align\": \"center\", \"font_size\": 10, \"font_bold\": false, \"color\": \"#ffffff\", \"background_color\": \"#00b8d4\", \"on_double_click\": \"\", \"on_click\": \"search_contact()\", \"font_name\": \"\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"80\", \"height\": 30, \"text\": \"NEW\", \"font_size\": 10, \"font_bold\": false, \"padding_bottom\": null, \"margin_top\": 5, \"background_color\": \"#000000\", \"color\": \"#ffffff\", \"margin_left\": null, \"align\": \"center\", \"on_click\": \"\", \"link_target\": \"_blank\", \"link_url\": \"https://ysis.smartb.co/action?name=contact\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"80\", \"height\": 30, \"text\": \"CLEAR\", \"font_size\": 10, \"font_bold\": false, \"padding_bottom\": null, \"margin_top\": 5, \"background_color\": \"#ff5252\", \"color\": \"#ffffff\", \"margin_left\": null, \"on_click\": \"clear1()\", \"align\": \"center\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"border_width\": 1, \"margin_left\": 10, \"padding_bottom\": 5, \"padding_right\": 5}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"button\", \"width\": \"80\", \"height\": 30, \"text\": \"ENTER\", \"font_size\": 10, \"font_bold\": false, \"padding_bottom\": null, \"margin_top\": 5, \"background_color\": \"#00b8d4\", \"color\": \"#ffffff\", \"align\": \"center\", \"margin_bottom\": null, \"on_click\": \"enter_product()\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 10, \"border_right_width\": null, \"border_bottom_width\": 1, \"border_left_width\": 1, \"padding_bottom\": 5, \"padding_top\": 2}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"width\": \"80\", \"height\": 30, \"text\": \"CLEAR\", \"font_size\": 10, \"font_bold\": false, \"padding_bottom\": null, \"margin_top\": 5, \"background_color\": \"#ff5252\", \"color\": \"#ffffff\", \"margin_left\": 5, \"align\": \"center\", \"on_click\": \"clear2()\", \"margin_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"border_bottom_width\": 1, \"border_right_width\": 1, \"padding_top\": 2, \"margin_right\": 10}]}], \"num_cols\": 3, \"col_widths\": [1.5, 1, 1], \"_col_widths\": \"[1.5,1,1]\"}], \"min_height\": 50}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"CODE\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"DESCRIPTION\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"UOM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"QTY\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DISC %\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"U/P\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"DISC AMT\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"AMOUNT\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{code}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"select\", \"name\": \"uom_id\", \"placeholder\": \"UoM\", \"model\": \"uom\", \"on_change\": \"onchange_uom(_data)\"}, {\"type\": \"field\", \"field_type\": \"number\", \"padding_left\": 10, \"padding_right\": 10, \"name\": \"qty\", \"on_change\": \"onchange_qty(_data,_cid)\", \"placeholder\": \"Qty\"}, {\"type\": \"field\", \"field_type\": \"number\", \"name\": \"disc\", \"on_change\": \"onchange_qty(_data,_cid)\", \"onchange_method\": \"\", \"placeholder\": \"Disc\"}, {\"type\": \"field\", \"name\": \"price\", \"field_type\": \"number\", \"placeholder\": \"Price\", \"on_change\": \"on_change_subtotal(_cid)\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(disc_amt)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"align\": \"center\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"align\": \"center\"}, {\"type\": \"button\", \"width\": 30, \"height\": 30, \"text\": \"X\", \"font_size\": 10, \"font_bold\": true, \"padding_bottom\": null, \"margin_top\": 5, \"background_color\": \"#ff5252\", \"color\": \"#ffffff\", \"on_click\": \"delete_line(_cid)\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\\n\"}]}}]], \"num_cols\": 9, \"padding_top\": 30, \"padding_left\": 10, \"padding_right\": 10, \"background_color\": \"#eeeeee\", \"table_striped\": true, \"field_rows\": \"lines\", \"table_hover\": true, \"table_bordered\": true, \"_col_widths\": \"[1,1,2,2,2,2,1,1,1]\", \"col_widths\": [1, 1, 2, 2, 2, 2, 1, 1, 1]}], \"min_height\": 50, \"padding_bottom\": null, \"page_break_after\": true, \"background_color\": \"#eeeeee\", \"border_top_width\": null, \"border_bottom_width\": null, \"border_radius\": 2, \"border_width\": null, \"color\": \"#eeeeee\"}], \"min_height\": 50, \"background_color\": \"#cacec2\"}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"font\": \"serif\", \"bold\": true}, \"insert\": \"{fmt_money(total)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_left\": 10, \"font_size\": 18, \"color\": \"#000000\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"DISCOUNT   :\"}, {\"attributes\": {\"bold\": true}, \"insert\": \" \"}, {\"attributes\": {\"font\": \"serif\"}, \"insert\": \"{fmt_money(discount)}\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 10, \"font_size\": 16, \"color\": \"#000000\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"TAX                 :\"}, {\"attributes\": {\"font\": \"serif\"}, \"insert\": \" {fmt_money(tax)}\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 10, \"color\": \"#000000\", \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"ROUNDING  : \"}, {\"attributes\": {\"font\": \"serif\"}, \"insert\": \"{fmt_money(rounding)}\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 10, \"padding_bottom\": null, \"font_size\": 16}], \"min_height\": 50, \"border_top_width\": 1, \"border_right_width\": 1, \"border_left_width\": 1, \"background_color\": \"#ffffff\"}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"button\", \"text\": \"PAYMENT\", \"width\": \"150\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 80, \"margin_top\": null, \"padding_top\": null, \"background_color\": \"#64ffda\", \"color\": \"#000000\", \"on_click\": \"payment()\", \"font_size\": 16}, {\"type\": \"button\", \"text\": \"DEPOSIT\", \"width\": \"150\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 80, \"margin_top\": null, \"color\": \"#000000\", \"background_color\": \"#81d4fa\", \"font_size\": 16, \"on_click\": \"deposit()\"}, {\"type\": \"button\", \"text\": \"CLEAR ALL\", \"width\": \"150\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 20, \"margin_top\": null, \"background_color\": \"#ffccbc\", \"color\": \"#000000\", \"on_click\": \"cancel()\", \"font_size\": 16}, {\"type\": \"image\", \"min_height\": 50, \"padding_left\": null, \"padding_right\": null, \"width\": \"170\", \"height\": \"140\", \"align\": \"center\", \"image_file\": \"smartB logo final (without background) (1),YrSbmMXe85M=.png\"}], \"min_height\": 50, \"border_left_width\": 1, \"background_color\": \"#ffffff\", \"padding_top\": 20, \"padding_bottom\": 20, \"margin_bottom\": null}], \"min_height\": 50, \"border_top_width\": 1, \"background_color\": \"#fedbd0\"}]}], \"num_cols\": 3, \"col_widths\": [0.5, 2, 0.5], \"_col_widths\": \"[0.5,2,0.5]\", \"border_bottom_width\": 1}], \"min_height\": 50, \"background_color\": \"#eeeeee\"}]}, \"code\": \"async function on_load()\\n{\\n  \\n  if(page_params.form_id){\\n    var data3 = [];\\n    var form_id=page_params.form_id;\\n    var vals = await rpc_execute(\\\"form.data\\\",\\\"get_value\\\",[form_id]);\\n    var data2 = vals.data2;\\n    for (var i=0;iundefined<data2.length;i++)\\n    {\\n      var pro_id = data2[i].pro_id;\\n      var qty = data2[i].qty;\\n      var discount = data2[i].discount;\\n      data3[i] = {\\n      qty:qty,\\n      disc:discount,\\n    };\\n     set_data(data3);\\n     enter_product(pro_id);   \\n    };\\n    \\n  } \\n  /*if(page_params.topup_id)\\n  {\\n    var form_id=page_params.topup_id;\\n    var vals = await rpc_execute(\\\"form.data\\\",\\\"get_value\\\",[form_id]);\\n    var so_id = vals.so_id;\\n    var so_no = vals.so_no;\\n    var contact_id=vals.contact_id;\\n    console.log(contact_id);\\n    var display = \\\"TOP UP FOR \\\" + so_no;\\n    set_data({display_text:display});\\n    set_data({customer:contact_id});\\n  }*/\\n  var location_id=get_cookie(\\\"location_id\\\");\\n  if(!location_id){\\n    redirect_page(\\\"menu\\\");\\n  }\\n  if(location_id==511){\\n    set_data({location:\\\"U S J\\\"});\\n  }\\n  if(location_id==512)\\n  {\\n     set_data({location:\\\"SUNWAY\\\"});\\n  }\\n  var cookies = parseInt(get_cookie(\\\"employee_id\\\"));\\n  console.log(cookies+\\\"hi\\\");\\n  if(cookies)\\n    {\\n      set_data({employee:cookies});\\n    }\\n  var data = get_data();\\n  if (!data.lines){\\n  set_data({total:0.00});}  \\n}\\n\\nfunction to_close_sale() {\\n  redirect_page(\\\"close_sale\\\");\\n}\\n\\nasync function cancel() {\\n  var data=get_data();\\n  if(!data.lines)throw \\\"Empty Cart!\\\";\\n  var pop = confirm(\\\"Are you sure you want to clear cart?\\\");\\n  if (pop){\\n    set_data({lines:null});\\n  }\\n  else {\\n    return;\\n  }\\n}\\n\\nasync function deposit() {\\n   var data = get_data();\\n  var location_id=get_cookie(\\\"location_id\\\");\\n  if(!data.employee) throw \\\"Missing Employee!\\\";\\n  if(!data.customer) throw \\\"Missing Customer Contact!\\\";\\n  if(!data.product) throw \\\"Missing Product!\\\";\\n  var total = data.total;\\n  var discount = data.discount;\\n  var subtotal = data.subtotal2;\\n  var lines = data.lines;\\n  var contact = data.customer;\\n  var employee_id = data.employee;\\n  var so_lines=lines.map(l=>{\\n    return {\\n      description: l.description,\\n      product_id: l.id,\\n      sale_account_id:l.sale_account_id,\\n      discount:l.disc?l.disc:0,\\n      amount:l.amount,\\n      qty:l.qty,\\n      unit_price:l.price,\\n      uom_id:l.uom_id,\\n      sequence_no:l.index,\\n      location_id:location_id,\\n    };\\n  });\\n  \\n  var pv_lines = lines.map(l=>{\\n     return {\\n     type: \\\"direct\\\",\\n   \\t description: \\\"Deposit\\\",\\n     amount:data.total,\\n     account_id:534, //DEBTOR\\n    };\\n  });\\n  \\n  var field = [\\\"first_name\\\"];\\n  var cond = [[\\\"id\\\",\\\"=\\\",employee_id]];\\n  var res = await rpc_execute(\\\"hr.employee\\\",\\\"search_read_path\\\",[cond,field]);\\n  var name = res[0].first_name;\\n  \\n  if(data.total==0.00)throw \\\"Please add cart !\\\";\\n  var form_id=page_params.form_id;\\n  var form_data={\\n    total:total,\\n    discount:discount,\\n    subtotal : subtotal,\\n    inv_lines:so_lines,\\n    pv_lines:pv_lines,\\n    contact:data.customer,\\n    employee:name,\\n    employee_id:employee_id,\\n  };\\n  var form_id=await rpc_execute(\\\"form.data\\\",\\\"set_value\\\",[form_id,form_data]);\\n  redirect_page(\\\"deposit\\\",{form_id:form_id});\\n}\\n\\nfunction stock_balance(){\\n  redirect_page(\\\"balance\\\");\\n}\\nfunction tab2(){\\n  redirect_page(\\\"main2\\\");\\n}\\n\\nfunction transaction(){\\n  redirect_page(\\\"transaction\\\");\\n}\\n\\nfunction pre_order(){\\n  redirect_page(\\\"order\\\");\\n}\\n\\nfunction clear1() {\\n  set_data({customer:null});\\n}\\n\\nfunction clear2() {\\n  set_data({product:null,\\n        barcode:null\\n      });\\n}\\n\\nasync function search_contact()\\n{\\n  var data=get_data(); \\n  var cust_id = data.customer;\\n  if(data.customer)\\n  {\\n    var contact_url =\\\"https://ysis.smartb.co/action?name=contact&mode=form&active_id=\\\" + cust_id;\\n     window.open(contact_url);\\n  }\\n  else{throw \\\"Missing Customer\\\";}\\n}\\n\\n \\nasync function enter_product(pro_id)\\n{\\n \\n  var data = get_data();\\n  if(!data.product)\\n  {\\n     var product_code=data.barcode;\\n     var cond = [\\\"or\\\",[\\\"code\\\",\\\"=\\\",product_code],[\\\"barcode\\\",\\\"=\\\",product_code]];\\n     var fields= [\\\"code\\\"];\\n     var res_pro = await rpc_execute(\\\"product\\\",\\\"search_read\\\",[cond,fields]);\\n     var product_id = res_pro[0].id;\\n  }\\n  else{\\n  var product_id = data.product;\\n  }\\n  if(pro_id)\\n  {\\n    product_id = pro_id;\\n  }\\n  if(!product_id)throw \\\"Missing Product\\\";\\n  var fields = [\\\"code\\\",\\\"name\\\",\\\"uom_id\\\",\\\"uom_id.name\\\",\\\"sale_price\\\",\\\"categ_id.sale_account_id\\\",\\\"categ_id.sale_account_id.code\\\"];\\n  //var cond = [[\\\"id\\\",\\\"=\\\",product_id]];\\n  //\\\"categ_id.sale_account_id.code\\\"\\n  var product_res = await rpc_execute(\\\"product\\\",\\\"read_path\\\",[[product_id],fields]);\\n  var pro_code = product_res[0].code;\\n  var pro_name = product_res[0].name;\\n  var pro_uom_id = product_res[0].uom_id.id;\\n  var pro_uom_name = product_res[0].uom_id.name;\\n  var pro_price = product_res[0].sale_price;\\n  var sale_account_id = product_res[0].categ_id.sale_account_id.id;\\n  if(!sale_account_id) throw \\\"Missing Sales Account in Product\\\";\\n  if(!data.lines) data.lines=[];\\n  var product_line={\\n    id:product_id,\\n    uom_id:pro_uom_id,\\n    _cid:_.uniqueId(),\\n    index:data.lines.length+1,\\n    code:pro_code,\\n    description:pro_name,\\n    uom:pro_uom_name,\\n    price:pro_price, \\n    sale_account_id:sale_account_id,\\n  };\\n  data.lines.push(product_line);\\n  set_data(data);\\n}\\n\\nasync function delete_line(_cid)\\n{\\n  var data=get_data();\\n  var selected_line =_.filter(data.lines,l=>l._cid==_cid);\\n  var line = selected_line[0];\\n  var index = _.findIndex(data.lines,line);\\n  var line_disc_amt = data.lines[index].disc_amt;\\n  var line_total = data.lines[index].total;\\n  var line_subtotal = data.lines[index].amount;\\n  var m1 = (data.discount)-line_disc_amt;\\n  var m2 = (data.total)-line_subtotal;\\n  var m3 = (data.subtotal2)-line_total;\\n  set_data({discount:m1});\\n  set_data({total:m2});\\n  set_data({subtotal2:m3});\\n  data.lines=_.filter(data.lines,l=>l._cid!=_cid);\\n  _.forEach(data.lines,o=> {\\n    var index = data.lines.indexOf(o)+1;\\n    o.index=index;\\n  });\\n  set_data(data.lines);\\n}\\n\\nasync function on_change_subtotal(_cid)\\n{\\n  var data=get_data();\\n  var selected_line =_.filter(data.lines,l=>l._cid==_cid);\\n  console.log(\\\"onchage_line\\\",selected_line);\\n  var qty = _.map(selected_line,\\\"qty\\\");\\n  var disc= _.map(selected_line,\\\"disc\\\");\\n  var price= _.map(selected_line,\\\"price\\\");\\n  var index = _.findIndex(data.lines,selected_line[0]);\\n  //var total_before_disc=qty*price;\\n  var total_pro = qty*price;\\n  var disc_amt = (disc/100)*total_pro;\\n  var total2 = total_pro - disc_amt;\\n  var line = selected_line[0];\\n  //data.lines[index].price=disc_price;\\n  data.lines[index].amount=total2;\\n  data.lines[index].disc_amt=disc_amt;\\n  data.lines[index].total_pro=total_pro;\\n  console.log(\\\"data\\\",data);\\n  set_data(data);\\n  var arr=data.lines;\\n  var total3=0;\\n  var disc_total=0;\\n  var subtotal2=0;\\n  for (var i=0; iundefined<arr.length; i++) {\\n  var selected_line = arr[i];\\n  var count = selected_line.amount;\\n  var count2 = selected_line.disc_amt;\\n  var count3 = selected_line.total_pro;\\n  total3 = total3 + count;  \\n  disc_total = disc_total + count2;\\n  subtotal2 = subtotal2 + count3;\\n  };\\n  set_data({total:total3,\\n            discount:disc_total,\\n            subtotal2:subtotal2,\\n           });\\n}\\n\\n\\n\\nasync function payment()\\n{\\n  var data = get_data();\\n  var location_id=get_cookie(\\\"location_id\\\");\\n  if(!data.employee) throw \\\"Missing Employee!\\\";\\n  if(!data.customer) throw \\\"Missing Customer Contact!\\\";\\n  if(data.lines==null) throw \\\"Missing Product!\\\";\\n  var total = data.total;\\n  if(!data.discount){\\n   var discount = null;\\n  }\\n  else{\\n   var discount=data.discount;\\n  }\\n  var subtotal = data.subtotal2;\\n  var lines = data.lines;\\n  var contact = data.customer;\\n  var employee_id = data.employee;\\n  var inv_lines=lines.map(l=>{\\n    return {\\n      description: l.description,\\n      product_id: l.id,\\n      account_id:l.sale_account_id,\\n      discount:l.disc,\\n      amount:l.amount,\\n      qty:l.qty,\\n      unit_price:l.price,\\n      uom_id:l.uom_id,\\n    };\\n  });\\n  \\n  var GI_lines=lines.map(l=>{\\n return {\\n      product_id: l.id,\\n      qty:l.qty,\\n      uom_id:l.uom_id,\\n   \\t  location_to_id:507,\\n   \\t  location_from_id:location_id,\\n    };\\n  });\\n  \\n  var pv_lines ={\\n     type: \\\"invoice\\\",\\n   description:\\\"Cash Sale\\\",\\n   amount:total,\\n   account_id:534, //DEBTOR\\n  };\\n  \\n  var field = [\\\"first_name\\\"];\\n  var cond = [[\\\"id\\\",\\\"=\\\",employee_id]];\\n  var res = await rpc_execute(\\\"hr.employee\\\",\\\"search_read_path\\\",[cond,field]);\\n  var name = res[0].first_name;\\n  \\n  if(data.total==0.00)throw \\\"Mandatory field missing!\\\";\\n  var form_id=page_params.form_id;\\n  var form_data={\\n    total:total,\\n    discount:discount,\\n    subtotal : subtotal,\\n    inv_lines: inv_lines,\\n    pv_lines:pv_lines,\\n    GI_lines:GI_lines,\\n    contact:data.customer,\\n    employee:name,\\n    employee_id:employee_id,\\n  };\\n  var form_id=await rpc_execute(\\\"form.data\\\",\\\"set_value\\\",[form_id,form_data]);\\n  redirect_page(\\\"payment\\\",{form_id:form_id});\\n}\\n\\nasync function on_barcode(barcode) {\\n  console.log(\\\"on_barcode: \\\",barcode);\\n  set_data({barcode:barcode});\\n  enter_product();\\n}\\n\\nasync function onchange_qty(line,_cid) {\\n  var data=get_data();\\n  console.log(\\\"hi\\\",data);\\n  console.log(\\\"onchange_qty\\\",line);\\n  var pricelist_id=6; // XXX\\n  var prod_id=line.id;\\n  var qty=line.qty;\\n  var uom_id=line.uom_id;\\n  var price=await rpc_execute(\\\"price.list\\\",\\\"get_price\\\",[pricelist_id,prod_id,qty,uom_id]);\\n  line.price=price;\\n  set_data({});\\n  on_change_subtotal(_cid);\\n}\\n\\nfunction customer()\\n{\\n  var url = \\\"https://ysis.smartb.co/action?name=contact&active_tab=1\\\";\\n  window.open(url);\\n}\\n  \\nasync function onchange_employee()\\n{\\n  var data = get_data();\\n  var employee = data.employee;\\n  console.log(employee);\\n  set_cookie(\\\"employee_id\\\",employee);\\n}\\n\\nfunction sign_out()\\n{\\n  var pop = confirm(\\\"Are you sure you want to sign out?\\\")\\n  if(pop)\\n  {\\n    redirect(\\\"https://ysis.smartb.co/login\\\");\\n  }\\n  else{\\n    return 0;\\n  }\\n}\\n\\nasync function onchange_product_selection()\\n{\\n  var data = get_data();\\n  if(data.product)\\n  {\\n    set_data({barcode:null});\\n  }\\n}\\n\\nasync function onchange_barcode_selection()\\n{\\n  var data = get_data();\\n  if(data.barcode)\\n  {\\n    set_data({product:null});\\n  }\\n}\\n\\nasync function onchange_uom(line) {\\n  console.log(\\\"onchange_uom\\\",line);\\n  var pricelist_id=6; // XXX\\n  var prod_id=line.id;\\n  var uom_id=line.uom_id;\\n  var qty=line.qty;\\n  var price=await rpc_execute(\\\"price.list\\\",\\\"get_price\\\",[pricelist_id,prod_id,qty,uom_id]);\\n  line.price=price;\\n  set_data({});\\n}\"}, \"rpc_search_read\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"UNDERSTANDING RPC EXECUTE \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Function :\"}, {\"insert\": \" \"}, {\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"search_read\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_right\": 5, \"margin_top\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"italic\": true}, \"insert\": \"In a rpc, there are 4 variable that will affect the result which are \\\"Model name\\\", \\\"Method name\\\", \\\"Condition\\\" and \\\"Field\\\"\"}, {\"insert\": \"\\nBelow are an example of rpc, select the correct variable for each drop down. Find out what is the name of the product with code \"}, {\"attributes\": {\"italic\": true, \"bold\": true}, \"insert\": \"C-0001\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 10, \"margin_left\": 5, \"margin_right\": 5, \"margin_bottom\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"rpc_execute(\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"name\": \"mod1\", \"field_value\": \"\", \"_selection\": \"[[\\\"model\\\",\\\"model\\\"],[\\\"product\\\",\\\"product\\\"]]\", \"selection\": [[\"model\", \"model\"], [\"product\", \"product\"]], \"placeholder\": \"model name\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"_selection\": \"[[\\\"search_read\\\",\\\"search_read\\\"],[\\\"read\\\",\\\"read\\\"]]\", \"selection\": [[\"search_read\", \"search_read\"], [\"read\", \"read\"]], \"name\": \"mod2\", \"placeholder\": \"method name\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"( [[ \\\"code\\\" ,\\\"=\\\" ,\\\"\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_value\": \"\", \"field_type\": \"select\", \"name\": \"mod2_5\", \"placeholder\": \"condition\", \"_selection\": \"[[\\\"C-0001\\\",\\\"C-0001\\\"],[\\\"apple\\\",\\\"apple\\\"]]\", \"selection\": [[\"C-0001\", \"C-0001\"], [\"apple\", \"apple\"]]}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"\\\"]],[\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"_selection\": \"[[\\\"name\\\",\\\"name\\\"],[\\\"type\\\",\\\"type\\\"]]\", \"selection\": [[\"name\", \"name\"], [\"type\", \"type\"]], \"name\": \"mod3\", \"model\": \"\", \"placeholder\": \"fields\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \" \"}, {\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \" ]);\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 8, \"col_widths\": [0.2, 1, 1, 1, 0.8, 0.3, 1, 0.2], \"margin_top\": 10, \"margin_bottom\": 15, \"_col_widths\": \"[0.2,1,1,1,0.8,0.3,1,0.2]\", \"margin_left\": 5, \"margin_right\": 5}, {\"type\": \"button\", \"width\": \"100\", \"height\": \"50\", \"align\": \"center\", \"text\": \"Run\", \"on_click\": \"run()\", \"margin_bottom\": 10}], \"min_height\": 50}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Result :\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{run}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 5, \"margin_right\": 5, \"margin_top\": 10, \"margin_bottom\": 20}], \"min_height\": 50, \"border_width\": 1, \"border_radius\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"italic\": true}, \"insert\": \"Reconstruct the above rpc by typing it out below, the result should be same as above\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_right\": 5, \"margin_top\": 5, \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"mod4\", \"field_type\": \"text\", \"margin_top\": 10, \"margin_bottom\": 10}, {\"type\": \"button\", \"text\": \"Run\", \"on_click\": \"click()\", \"align\": \"center\", \"size\": \"large\", \"width\": \"100\", \"height\": \"50\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"                                                           Result:\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{run2}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\"}], \"min_height\": 50, \"margin_top\": 20, \"margin_bottom\": 30, \"padding_top\": 10, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 10, \"border_width\": 1, \"border_radius\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"italic\": true}, \"insert\": \"Write a rpc to find the first_name, surname and the type_of_position for user with the id number EMP-0002 in hr2 model. Note that this is an async function.\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 30, \"margin_bottom\": 10, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"condition =\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"placeholder\": \"[condition]\", \"field_type\": \"text\", \"name\": \"con1\"}]}], \"num_cols\": 2, \"col_widths\": [1, 3], \"_col_widths\": \"[1,3]\", \"margin_left\": 5, \"margin_right\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"field=\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"[field]\", \"name\": \"con2\"}]}], \"num_cols\": 2, \"col_widths\": [1, 3], \"_col_widths\": \"[1,3]\", \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": []}], \"col_widths\": [1, 1]}, {\"type\": \"field\", \"name\": \"mod5\", \"field_type\": \"text\", \"padding_top\": 5, \"padding_bottom\": 5, \"margin_left\": 5, \"margin_right\": 5}, {\"type\": \"button\", \"text\": \"Run\", \"size\": \"\", \"width\": \"100\", \"height\": \"50\", \"align\": \"center\", \"on_click\": \"click2()\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Result :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{run3}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 3], \"_col_widths\": \"[1,3]\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 20, \"margin_top\": 10}], \"min_height\": 50, \"header\": false, \"margin_top\": 20, \"margin_bottom\": 20, \"margin_left\": null, \"margin_right\": null, \"border_width\": 1, \"border_radius\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Example of search_read\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"show()\"}, {\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"search_read,aKWN3-9Mmmk=.png\", \"name\": \"img1\", \"margin_top\": 10, \"margin_bottom\": 10, \"align\": \"center\"}], \"min_height\": 50, \"dyn_props\": \"{hidden:hide}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"search_read2,G72o_Zji7-0=.png\", \"align\": \"center\", \"margin_top\": 10, \"margin_bottom\": 10, \"dyn_props\": \"\", \"name\": \"img2\"}], \"min_height\": 50, \"dyn_props\": \"{hidden:hide2}\"}], \"min_height\": 50, \"border_width\": 1, \"border_radius\": 1, \"margin_top\": 20, \"margin_bottom\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"button\", \"on_click\": \" redirect_page(\\\"rpc_main\\\")\", \"width\": \"150\", \"height\": \"50\", \"align\": \"center\", \"icon\": \"home\"}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [], \"min_height\": 50}], \"min_height\": 50, \"border_width\": null, \"border_radius\": null, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10}], \"min_height\": 50, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10}], \"min_height\": 50, \"background_color\": \"#e1f3f1\"}]}, \"code\": \"function on_load(){\\n  var data = get_data();\\n\\n  set_data({\\n    hide:true,\\n    hide2:true,\\n  })\\n}\\nasync function run(){\\n  var data = get_data();\\n  var mod1 = data.mod1;\\n  var mod2=data.mod2;\\n  var mod2_5=data.mod2_5\\n  var mod3 = data.mod3;\\n\\n  if(mod1 != \\\"product\\\"){   \\n    throw \\\"Wrong model code\\\";\\n  };\\n  if(mod2 != \\\"search_read\\\"){\\n    throw \\\"Wrong method name\\\";\\n  };\\n  if(mod2_5 != \\\"C-0001\\\"){\\n    throw \\\"Wrong condition name\\\";\\n  };\\n  if(mod3 != \\\"name\\\"){\\n    throw \\\"Wrong field name\\\";\\n  };\\n\\n  if(mod1 && mod2 && mod2_5 && mod3){\\n    var cond =[\\\"code\\\",\\\"=\\\",\\\"C-0001\\\"];\\n    var field=[\\\"name\\\"]; \\n    var req = await rpc_execute(\\\"product\\\",\\\"search_read\\\",[cond,field]);\\n    var run = req[0].name;\\n    alert(\\\" rpc execute and the result is \\\"+run);\\n    set_data({\\n      run:run,\\n    });\\n  }\\n  else{\\n    var run = \\\"error\\\";  \\n    alert(\\\" rpc execute \\\"+run);\\n    set_data({\\n      run:run,\\n    });\\n  }\\n}\\n\\n\\nasync function click(){\\n  var data = get_data();\\n  var code = data.mod4;  \\n\\n  var str = 'rpc_execute(\\\"product\\\",\\\"search_read\\\",[[[\\\"code\\\",\\\"=\\\",\\\"C-0001\\\"]],[\\\"name\\\"]);';\\n  if(code != str){\\n    let result = \\\"Error\\\";\\n    alert(\\\"wrong code\\\");\\n    set_data({\\n      run2:result,\\n    })   \\n  }\\n  else{\\n    var req = await rpc_execute(\\\"product\\\",\\\"search_read\\\",[[[\\\"code\\\",\\\"=\\\",\\\"C-0001\\\"]],[\\\"name\\\"]]);\\n    var run = req[0].name?req[0].name:0;\\n    let result = code;\\n    alert(code + \\\" is the correct answer\\\");\\n    set_data({\\n      run2:run,\\n    })\\n  } \\n}\\n\\nasync function click2(){\\n  var data = get_data();\\n\\n  var con1 = data.con1;\\n  var condition= [\\\"number\\\",\\\"=\\\",\\\"EMP-0002\\\"];\\n  var str1= JSON.stringify(condition);\\n\\n  if(con1 != str1){\\n    throw \\\"Condition is wrong\\\";   \\n  }\\n\\n  var con2 = data.con2;\\n  var field =[\\\"first_name\\\",\\\"surname\\\",\\\"type_of_position\\\"];\\n  var str2= JSON.stringify(field);\\n\\n  if(con2 != str2){\\n    throw \\\"Field is wrong\\\";\\n  }\\n\\n  var req = await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[condition],field]);\\n  var str3 = 'await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[condition],field]);'; \\n\\n  if(str3 != data.mod5){\\n    var result = \\\"Error\\\";\\n    alert(\\\"Error in code\\\");\\n    set_data({\\n      run3:result,\\n    });\\n  }\\n  else{\\n\\n    var name= req[0].first_name;\\n    var sur = req[0].surname;\\n    var pos = req[0].type_of_position;\\n    var result = name + \\\" \\\"+sur+\\\"  \\\"+pos;\\n    alert(\\\"success \\\"+ result)\\n\\n    set_data({\\n      run3:result,\\n    });\\n  }\\n\\n}\\n\\nfunction show(){\\n  var data = get_data();\\n  if(data.hide != true && data.hide2 != true){\\n    set_data({\\n      hide:true,\\n      hide2:true,\\n    });\\n  }else{\\n    set_data({\\n      hide:false,\\n      hide2:false,\\n    });\\n  }\\n}\"}, \"gr_from_existing_with_existing_serial_no\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"GR from existing\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"min_height\": 50, \"margin_top\": 10, \"margin_bottom\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"GR:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 5, \"margin_bottom\": 5, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"field\", \"name\": \"picking_id\", \"field_type\": \"select\", \"model\": \"stock.picking\", \"condition\": \"\", \"margin_top\": 5, \"margin_left\": 5, \"margin_bottom\": 5, \"margin_right\": 5, \"on_change\": \"select_number()\", \"on_change_text\": \"\", \"_selection\": \"\", \"selection\": null}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1]}], \"min_height\": 50}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Reference:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_top\": null, \"margin_right\": 5, \"margin_bottom\": 5}]}, {\"children\": [{\"type\": \"field\", \"name\": \"reference\", \"field_type\": \"text\", \"margin_left\": 5, \"margin_bottom\": 5, \"margin_right\": 5, \"placeholder\": \"\"}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Serial no:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 5, \"margin_bottom\": 5}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"margin_left\": 5, \"margin_right\": 5, \"margin_bottom\": 5, \"name\": \"serial_no\", \"on_change\": \"update_serial_no()\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Add\", \"margin_left\": 5, \"margin_bottom\": 5, \"on_click\": \"add_line()\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1]}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Product\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Quantity\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"UoM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Serial No\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"name\": \"select_all\", \"align\": \"center\", \"on_change\": \"select_all()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{uom}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{serial_no}\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"name\": \"selected\", \"align\": \"center\"}]], \"num_rows\": null, \"num_cols\": 5, \"vertical_align\": \"middle\", \"field_rows_inner\": \"\", \"margin_top\": 5, \"margin_left\": 5, \"margin_right\": 5, \"margin_bottom\": 5, \"table_striped\": true, \"table_hover\": true, \"dyn_props\": \"{hidden: lines_hidden}\", \"repeat_rows_range\": \"\", \"field_rows\": \"lines\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"red\"}, \"insert\": \"*Clients need to confirm qty and validate\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": null, \"margin_left\": 5, \"margin_bottom\": 5, \"dyn_props\": \"{hidden: lines_hidden}\"}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"button\", \"text\": \"Confirm\", \"align\": \"center\", \"on_click\": \"confirm_button()\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Cancel\", \"align\": \"center\", \"on_click\": \"cancel()\"}]}], \"col_widths\": [1, 1]}], \"min_height\": 50}]}, \"code\": \"var type = \\\"GR\\\";\\n\\nasync function on_load(){\\n  lines_hidden = true;\\n  set_data({lines: [],})\\n}\\n\\nasync function select_number(){\\n  var data = get_data();\\n  var picking_id = data.picking_id;  //id of stock.picking\\n  var fields_sp = [\\\"number\\\",\\\"ref\\\",\\\"db_id\\\"];\\n  var fields_sm = [\\\"db_id\\\",\\\"lot_id\\\",\\\"product_id\\\",\\\"uom_id\\\",\\\"qty\\\"];\\n  var stock = await get_model(\\\"stock.picking\\\").search_read([[\\\"db_id\\\",\\\"=\\\",picking_id]],fields_sp);\\n  var lines = await get_model(\\\"stock.move\\\").search_read([[\\\"picking_id\\\",\\\"=\\\",picking_id]],fields_sm)\\n  stock[0][\\\"lines\\\"]=lines;\\n  console.log(type, \\\" : \\\",stock[0]);\\n  set_data({stock: stock[0],})\\n}\\n\\nasync function add_line(){\\n  if(!check_compulsory()){\\n    return false;\\n  }\\n  var data = get_data();\\n  var stock = data.stock;\\n  var field_lot = [\\\"number\\\",\\\"db_id\\\"];\\n  var serial_no = await get_model(\\\"stock.lot\\\").search_read([[\\\"number\\\",\\\"=\\\",data.serial_no]],field_lot);\\n  if(serial_no.length == 0) {\\n    dialog.showMessageBox({message: \\\"There is no serial number \\\" + data.serial_no + \\\" for any \\\" + type});\\n    return;\\n  }\\n  var lot_id = serial_no[0].db_id;\\n  var found = false;\\n  var lines = data.lines ? data.lines : [];\\n  for(var line of stock.lines){\\n    if(line.lot_id == lot_id){\\n      found = true;\\n      var product = line.product_id ? await get_model(\\\"product\\\").search_read([[\\\"db_id\\\",\\\"=\\\",line.product_id]], [\\\"name\\\"]) : null;\\n      var uom = line.uom_id ? await get_model(\\\"uom\\\").search_read([[\\\"db_id\\\",\\\"=\\\",line.uom_id]], [\\\"name\\\"]) : null;\\n      var new_line = {\\n        product: product ? product[0].name : null,\\n        uom: uom ? uom[0].name : null,\\n        qty: line.qty,\\n        serial_no: data.serial_no,\\n        selected: true,\\n      }\\n      lines.push(new_line);\\n      break;\\n    }\\n  }\\n  if(!found) throw \\\"There is no serial number \\\" + data.serial_no + \\\" for \\\" + stock.number;\\n  else{\\n    lines_hidden = false;\\n    set_data({\\n      lines: lines,\\n      serial_no: null,\\n    });\\n  }\\n}\\n\\nfunction check_compulsory(){\\n  var ref_comp = false;\\n  var data = get_data();\\n  if(!data.picking_id) {\\n    dialog.showMessageBox({message:type + \\\" number is compulsory!\\\"});\\n    return false;\\n  }\\n  if(ref_comp && !data.reference){\\n    dialog.showMessageBox({message: \\\"Reference is compulsory!\\\"});\\n    return false;\\n  }\\n  if(!data.serial_no){ \\n    dialog.showMessageBox({message: \\\"Please scan serial number.\\\"});\\n    return false;\\n  }\\n  return true;\\n}\\n\\nfunction select_all(){\\n  var data = get_data();\\n  var new_lines = [];\\n  for(var line of data.lines){\\n    line.selected = data.select_all;\\n    new_lines.push(line);\\n  }\\n  set_data({\\n    lines: new_lines,\\n  })\\n}\\n\\nfunction confirm_button(){\\n  var data = get_data();\\n  var selected_lines = [];\\n  for(var line of data.lines){\\n    if(line.selected) selected_lines.push(line);\\n  }\\n  if(selected_lines.length == 0) dialog.showMessageBox({message: \\\"No any selected product.\\\"});\\n  else set_page(\\\"confirm_with_serial_no_without_weight\\\",{picking_id:data.picking_id, lines: selected_lines});\\n}\\n\\nfunction cancel(){\\n  console.log(\\\"cancel\\\");\\n  if(confirm(\\\"Are you sure you want to cancel?\\\")) set_page(\\\"first_page_with_serial_no\\\");\\n}\\n\"}, \"confirm_with_serial_no_without_weight\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"Confirm\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"align\": \"center\"}], \"min_height\": 50, \"margin_top\": 10, \"margin_bottom\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"{number}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"align\": \"center\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"GR summary\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"align\": \"center\"}], \"min_height\": 50}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Product\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Quantity\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"UoM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Serial No\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"name\": \"select_all\", \"align\": \"center\", \"on_change\": \"select_all()\"}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{uom}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{serial_no}\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"name\": \"selected\", \"align\": \"center\"}]], \"num_rows\": null, \"num_cols\": 4, \"vertical_align\": \"middle\", \"field_rows_inner\": \"\", \"margin_top\": 5, \"margin_left\": 5, \"margin_right\": 5, \"margin_bottom\": 5, \"table_striped\": true, \"table_hover\": true, \"dyn_props\": \"{hidden: lines_hidden}\", \"repeat_rows_range\": \"\", \"field_rows\": \"lines\"}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"button\", \"text\": \"Validate\", \"align\": \"center\", \"on_click\": \"validate()\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Cancel\", \"align\": \"center\", \"on_click\": \"cancel()\"}]}], \"col_widths\": [1, 1]}], \"min_height\": 50}]}, \"code\": \"async function on_load(){\\n  console.log(\\\"loading\\\");\\n  var stock = await get_model(\\\"stock.picking\\\").search_read([[\\\"db_id\\\",\\\"=\\\",page_params.picking_id]],[\\\"number\\\"]);\\n  console.log(stock);\\n  set_data({\\n    number: stock[0].number,\\n    lines: page_params.lines,\\n  })\\n}\\n\\nfunction validate(){\\n}\\n\\nfunction cancel(){\\n  if(confirm(\\\"Are you sure you want to cancel?\\\")) set_page(\\\"first_page_with_serial_no\\\");\\n}\"}, \"main2\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"width\": \"110\", \"height\": \"50\", \"text\": \"MAIN\", \"padding_right\": null, \"align\": \"right\", \"font_bold\": true, \"font_size\": 14, \"background_color\": \"#e1f5fe\", \"color\": \"#000000\", \"on_click\": \"tab1()\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"110\", \"height\": \"50\", \"text\": \"BACKEND\", \"font_bold\": true, \"font_size\": 14, \"on_click\": \"\", \"background_color\": \"#000000\", \"color\": \"#ffffff\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": null, \"margin_top\": null}], \"min_height\": 35, \"border_right_width\": 1, \"background_color\": \"#244692\", \"padding_top\": null, \"padding_left\": null, \"padding_right\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"button\", \"text\": \"CUSTOMER\", \"width\": \"120\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 30, \"background_color\": \"#ffffff\", \"on_click\": \"\", \"font_size\": 16, \"margin_top\": 20, \"font_name\": \"Arial\", \"link_url\": \"https://ysis.smartb.co/action?name=contact&active_tab=1\"}, {\"type\": \"button\", \"text\": \"PRODUCT\", \"width\": \"120\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 30, \"background_color\": \"#ffffff\", \"on_click\": \"\", \"font_size\": 16, \"link_url\": \"https://ysis.smartb.co/action?name=product\"}, {\"type\": \"button\", \"text\": \"DELIVERY ORDER\", \"width\": \"120\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 30, \"background_color\": \"#ffffff\", \"on_click\": \"\", \"font_size\": 16, \"link_url\": \"https://ysis.smartb.co/action?name=pick_out\"}, {\"type\": \"button\", \"text\": \"GOOD RECEIPT\", \"width\": \"120\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 30, \"background_color\": \"#ffffff\", \"on_click\": \"\", \"font_size\": 16, \"margin_left\": null, \"link_url\": \"https://ysis.smartb.co/action?name=pick_in\"}, {\"type\": \"button\", \"text\": \"GOOD TRANSFER\", \"width\": \"120\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 30, \"background_color\": \"#ffffff\", \"on_click\": \"\", \"font_size\": 16, \"link_url\": \"https://ysis.smartb.co/action?name=pick_internal\"}, {\"type\": \"button\", \"text\": \"PRODUCT TRANSFORM\", \"width\": \"120\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 30, \"background_color\": \"#ffffff\", \"on_click\": \"\", \"font_size\": 16, \"link_url\": \"https://ysis.smartb.co/action?name=transform\"}], \"min_height\": 50, \"border_right_width\": 1, \"background_color\": \"#244692\", \"footer\": false, \"margin_bottom\": null, \"padding_bottom\": 100, \"margin_top\": null, \"padding_top\": 20, \"height\": \"625\"}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"~ Employee ~\", \"padding_top\": null, \"padding_right\": null, \"padding_left\": null, \"height\": 20, \"model\": \"hr.employee\", \"name\": \"employee\", \"on_change\": \"onchange_employee()\"}], \"min_height\": 50, \"padding_top\": 5, \"padding_left\": 10, \"padding_right\": 10}]}, {\"children\": []}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"{location}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 20, \"padding_top\": 10}], \"min_height\": 50}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1.5, 1, 1], \"padding_left\": 10, \"_col_widths\": \"[1.5,1,1]\"}], \"min_height\": 50, \"background_color\": \"#eeeeee\"}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"name\": \"customer\", \"placeholder\": \"~ Select Customer ~\", \"padding_bottom\": null, \"padding_right\": null, \"padding_left\": null, \"background_color\": \"#ffffff\", \"color\": \"#000000\", \"margin_left\": 10, \"model\": \"contact\", \"padding_top\": null, \"margin_top\": 5, \"margin_right\": 5}], \"min_height\": 50, \"margin_left\": 10, \"border_left_width\": 1, \"border_top_width\": 1, \"border_right_width\": 1, \"width\": \"\"}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"~ Select Product ~\", \"padding_right\": 5, \"margin_left\": 5, \"model\": \"product\", \"margin_top\": 5, \"name\": \"product\", \"on_change\": \"onchange_product_selection()\"}], \"min_height\": 50, \"border_top_width\": 1, \"border_right_width\": null, \"border_left_width\": 1, \"border_bottom_width\": 1, \"margin_left\": 10}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"~Type Barcode~\", \"padding_bottom\": 5, \"padding_top\": 8, \"scale\": null, \"padding_right\": 10, \"padding_left\": 10, \"name\": \"barcode\", \"on_change\": \"onchange_barcode_selection()\"}], \"min_height\": 50, \"border_top_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"margin_right\": 10}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1.5, 1, 1], \"_col_widths\": \"[1.5,1,1]\", \"padding_top\": 10, \"background_color\": \"#eeeeee\", \"border_top_width\": 1, \"border_radius\": 2}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"text\": \"SEARCH\", \"width\": \"80\", \"height\": \"30\", \"margin_top\": 5, \"margin_left\": null, \"align\": \"center\", \"font_size\": 10, \"font_bold\": false, \"color\": \"#ffffff\", \"background_color\": \"#00b8d4\", \"on_double_click\": \"\", \"on_click\": \"search_contact()\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"80\", \"height\": 30, \"text\": \"NEW\", \"font_size\": 10, \"font_bold\": false, \"padding_bottom\": null, \"margin_top\": 5, \"background_color\": \"#000000\", \"color\": \"#ffffff\", \"margin_left\": null, \"align\": \"center\", \"on_click\": \"customer()\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"80\", \"height\": 30, \"text\": \"CLEAR\", \"font_size\": 10, \"font_bold\": false, \"padding_bottom\": null, \"margin_top\": 5, \"background_color\": \"#ff5252\", \"color\": \"#ffffff\", \"margin_left\": null, \"on_click\": \"clear1()\", \"align\": \"center\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"border_width\": 1, \"margin_left\": 10, \"padding_bottom\": 5, \"padding_right\": 5}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"button\", \"width\": \"80\", \"height\": 30, \"text\": \"ENTER\", \"font_size\": 10, \"font_bold\": false, \"padding_bottom\": null, \"margin_top\": 5, \"background_color\": \"#00b8d4\", \"color\": \"#ffffff\", \"align\": \"center\", \"margin_bottom\": null, \"on_click\": \"enter_product()\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 10, \"border_right_width\": null, \"border_bottom_width\": 1, \"border_left_width\": 1, \"padding_bottom\": 5, \"padding_top\": 2}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"width\": \"80\", \"height\": 30, \"text\": \"CLEAR\", \"font_size\": 10, \"font_bold\": false, \"padding_bottom\": null, \"margin_top\": 5, \"background_color\": \"#ff5252\", \"color\": \"#ffffff\", \"margin_left\": 5, \"align\": \"center\", \"on_click\": \"clear2()\", \"margin_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"border_bottom_width\": 1, \"border_right_width\": 1, \"padding_top\": 2, \"margin_right\": 10}]}], \"num_cols\": 3, \"col_widths\": [1.5, 1, 1], \"_col_widths\": \"[1.5,1,1]\"}], \"min_height\": 50}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"CODE\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"DESCRIPTION\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"UNIT PRICE\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"QTY.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"UOM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"DISC %\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"DISC AMT\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"AMOUNT\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{code}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"name\": \"price\", \"field_type\": \"number\", \"placeholder\": \"Price\", \"on_change\": \"on_change_subtotal(_cid)\"}, {\"type\": \"field\", \"field_type\": \"number\", \"padding_left\": 10, \"padding_right\": 10, \"name\": \"qty\", \"on_change\": \"onchange_qty(_data,_cid)\", \"placeholder\": \"Qty\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{uom}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"text\", \"name\": \"disc\", \"on_change\": \"onchange_qty(_data,_cid)\", \"onchange_method\": \"\", \"placeholder\": \"Disc\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(disc_amt)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"align\": \"center\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"align\": \"center\"}, {\"type\": \"button\", \"width\": 30, \"height\": 30, \"text\": \"X\", \"font_size\": 10, \"font_bold\": true, \"padding_bottom\": null, \"margin_top\": 5, \"background_color\": \"#ff5252\", \"color\": \"#ffffff\", \"on_click\": \"delete_line(_cid)\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\\n\"}]}}]], \"num_cols\": 9, \"padding_top\": 30, \"padding_left\": 10, \"padding_right\": 10, \"background_color\": \"#eeeeee\", \"table_striped\": true, \"field_rows\": \"lines\", \"table_hover\": true, \"table_bordered\": true}], \"min_height\": 50, \"padding_bottom\": null, \"page_break_after\": true, \"background_color\": \"#eeeeee\", \"border_top_width\": null, \"border_bottom_width\": null, \"border_radius\": 2, \"border_width\": null, \"color\": \"#eeeeee\"}], \"min_height\": 50, \"background_color\": \"#cacec2\"}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"font\": \"serif\", \"bold\": true}, \"insert\": \"{fmt_money(total)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_left\": 10, \"font_size\": 18, \"color\": \"#000000\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"DISCOUNT   :\"}, {\"attributes\": {\"bold\": true}, \"insert\": \" \"}, {\"attributes\": {\"font\": \"serif\"}, \"insert\": \"{fmt_money(discount)}\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 10, \"font_size\": 16, \"color\": \"#000000\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"TAX                 :\"}, {\"attributes\": {\"font\": \"serif\"}, \"insert\": \" {fmt_money(tax)}\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 10, \"color\": \"#000000\", \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"ROUNDING  : \"}, {\"attributes\": {\"font\": \"serif\"}, \"insert\": \"{fmt_money(rounding)}\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 10, \"padding_bottom\": null, \"font_size\": 16}], \"min_height\": 50, \"border_top_width\": 1, \"border_right_width\": 1, \"border_left_width\": 1, \"background_color\": \"#ffffff\"}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"button\", \"text\": \"PAYMENT\", \"width\": \"150\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 80, \"margin_top\": null, \"padding_top\": null, \"background_color\": \"#64ffda\", \"color\": \"#000000\", \"on_click\": \"payment()\", \"font_size\": 16}, {\"type\": \"button\", \"text\": \"DEPOSIT\", \"width\": \"150\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 80, \"margin_top\": null, \"color\": \"#000000\", \"background_color\": \"#81d4fa\", \"font_size\": 16, \"on_click\": \"deposit()\"}, {\"type\": \"button\", \"text\": \"CLEAR ALL\", \"width\": \"150\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 20, \"margin_top\": null, \"background_color\": \"#ffccbc\", \"color\": \"#000000\", \"on_click\": \"cancel()\", \"font_size\": 16}, {\"type\": \"image\", \"min_height\": 50, \"padding_left\": null, \"padding_right\": null, \"width\": \"170\", \"height\": \"140\", \"align\": \"center\", \"image_file\": \"smartB logo final (without background) (1),YrSbmMXe85M=.png\"}], \"min_height\": 50, \"border_left_width\": 1, \"background_color\": \"#ffffff\", \"padding_top\": 20, \"padding_bottom\": 20, \"margin_bottom\": null}], \"min_height\": 50, \"border_top_width\": 1, \"background_color\": \"#fedbd0\"}]}], \"num_cols\": 3, \"col_widths\": [0.5, 2, 0.5], \"_col_widths\": \"[0.5,2,0.5]\", \"border_bottom_width\": 1}], \"min_height\": 50, \"background_color\": \"#eeeeee\"}]}, \"code\": \"async function on_load()\\n{\\n  \\n  if(page_params.form_id){\\n    var data3 = [];\\n    var form_id=page_params.form_id;\\n    var vals = await rpc_execute(\\\"form.data\\\",\\\"get_value\\\",[form_id]);\\n    var data2 = vals.data2;\\n    for (var i=0;iundefined<data2.length;i++)\\n    {\\n      var pro_id = data2[i].pro_id;\\n      var qty = data2[i].qty;\\n      var discount = data2[i].discount;\\n      data3[i] = {\\n      qty:qty,\\n      disc:discount,\\n    };\\n     set_data(data3);\\n     enter_product(pro_id);   \\n    };\\n    \\n  } \\n  /*if(page_params.topup_id)\\n  {\\n    var form_id=page_params.topup_id;\\n    var vals = await rpc_execute(\\\"form.data\\\",\\\"get_value\\\",[form_id]);\\n    var so_id = vals.so_id;\\n    var so_no = vals.so_no;\\n    var contact_id=vals.contact_id;\\n    console.log(contact_id);\\n    var display = \\\"TOP UP FOR \\\" + so_no;\\n    set_data({display_text:display});\\n    set_data({customer:contact_id});\\n  }*/\\n  var location_id=get_cookie(\\\"location_id\\\");\\n  if(!location_id){\\n    redirect_page(\\\"menu\\\");\\n  }\\n  if(location_id==511){\\n    set_data({location:\\\"U S J\\\"});\\n  }\\n  if(location_id==512)\\n  {\\n     set_data({location:\\\"SUNWAY\\\"});\\n  }\\n  var cookies = parseInt(get_cookie(\\\"employee_id\\\"));\\n  console.log(cookies+\\\"hi\\\");\\n  if(cookies)\\n    {\\n      set_data({employee:cookies});\\n    }\\n  var data = get_data();\\n  if (!data.lines){\\n  set_data({total:0.00});}  \\n}\\n\\n\\n\\nfunction cancel() {\\n  var pop = confirm(\\\"Are you sure you want to clear cart?\\\");\\n  if (pop){\\n    set_data({lines:null});\\n  }\\n  else {\\n    return;\\n  }\\n}\\n\\nasync function deposit() {\\n   var data = get_data();\\n  var location_id=get_cookie(\\\"location_id\\\");\\n  if(!data.employee) throw \\\"Missing Employee!\\\";\\n  if(!data.customer) throw \\\"Missing Customer Contact!\\\";\\n  var total = data.total;\\n  var discount = data.discount;\\n  var subtotal = data.subtotal2;\\n  var lines = data.lines;\\n  var contact = data.customer;\\n  var employee_id = data.employee;\\n  var so_lines=lines.map(l=>{\\n    return {\\n      description: l.description,\\n      product_id: l.id,\\n      sale_account_id:l.sale_account_id,\\n      discount:l.disc?l.disc:0,\\n      amount:l.amount,\\n      qty:l.qty,\\n      unit_price:l.price,\\n      uom_id:l.uom_id,\\n      sequence_no:l.index,\\n      location_id:location_id,\\n    };\\n  });\\n  \\n  var pv_lines = lines.map(l=>{\\n     return {\\n     type: \\\"direct\\\",\\n   \\t description: \\\"Deposit\\\",\\n     amount:data.total,\\n     account_id:534, //DEBTOR\\n    };\\n  });\\n  \\n  var field = [\\\"first_name\\\"];\\n  var cond = [[\\\"id\\\",\\\"=\\\",employee_id]];\\n  var res = await rpc_execute(\\\"hr.employee\\\",\\\"search_read_path\\\",[cond,field]);\\n  var name = res[0].first_name;\\n  \\n  if(data.total==0.00)throw \\\"Please add cart !\\\";\\n  var form_id=page_params.form_id;\\n  var form_data={\\n    total:total,\\n    discount:discount,\\n    subtotal : subtotal,\\n    inv_lines:so_lines,\\n    pv_lines:pv_lines,\\n    contact:data.customer,\\n    employee:name,\\n    employee_id:employee_id,\\n  };\\n  var form_id=await rpc_execute(\\\"form.data\\\",\\\"set_value\\\",[form_id,form_data]);\\n  redirect_page(\\\"deposit\\\",{form_id:form_id});\\n}\\n\\nfunction tab1(){\\n  redirect_page(\\\"main1\\\");\\n}\\n\\nfunction clear1() {\\n  set_data({customer:null});\\n}\\n\\nfunction clear2() {\\n  set_data({product:null,\\n        barcode:null\\n      });\\n}\\n\\nasync function search_contact()\\n{\\n  var data=get_data(); \\n  var cust_id = data.customer;\\n  if(data.customer)\\n  {\\n    var contact_url =\\\"https://ysis.smartb.co/action?name=contact&mode=form&active_id=\\\" + cust_id;\\n     window.open(contact_url);\\n  }\\n  else{throw \\\"Missing Customer\\\";}\\n}\\n\\n \\nasync function enter_product(pro_id)\\n{\\n \\n  var data = get_data();\\n  if(!data.product)\\n  {\\n     var product_code=data.barcode;\\n     var cond = [[\\\"code\\\",\\\"=\\\",product_code]];\\n     var fields= [\\\"code\\\"];\\n     var res_pro = await rpc_execute(\\\"product\\\",\\\"search_read\\\",[cond,fields]);\\n     var product_id = res_pro[0].id;\\n  }\\n  else{\\n  var product_id = data.product;\\n  }\\n  if(pro_id)\\n  {\\n    product_id = pro_id;\\n  }\\n  if(!product_id)throw \\\"Missing Product\\\";\\n  var fields = [\\\"code\\\",\\\"name\\\",\\\"uom_id\\\",\\\"uom_id.name\\\",\\\"sale_price\\\",\\\"categ_id.sale_account_id\\\",\\\"categ_id.sale_account_id.code\\\"];\\n  //var cond = [[\\\"id\\\",\\\"=\\\",product_id]];\\n  //\\\"categ_id.sale_account_id.code\\\"\\n  var product_res = await rpc_execute(\\\"product\\\",\\\"read_path\\\",[[product_id],fields]);\\n  var pro_code = product_res[0].code;\\n  var pro_name = product_res[0].name;\\n  var pro_uom_id = product_res[0].uom_id.id;\\n  var pro_uom_name = product_res[0].uom_id.name;\\n  var pro_price = product_res[0].sale_price;\\n  var sale_account_id = product_res[0].categ_id.sale_account_id.id;\\n  if(!sale_account_id) throw \\\"Missing Sales Account in Product\\\";\\n  if(!data.lines) data.lines=[];\\n  var product_line={\\n    id:product_id,\\n    uom_id:pro_uom_id,\\n    _cid:_.uniqueId(),\\n    index:data.lines.length+1,\\n    code:pro_code,\\n    description:pro_name,\\n    uom:pro_uom_name,\\n    price:pro_price, \\n    sale_account_id:sale_account_id,\\n  };\\n  data.lines.push(product_line);\\n  set_data(data);\\n}\\n\\nasync function delete_line(_cid)\\n{\\n  var data=get_data();\\n  var selected_line =_.filter(data.lines,l=>l._cid==_cid);\\n  var line = selected_line[0];\\n  var index = _.findIndex(data.lines,line);\\n  var line_disc_amt = data.lines[index].disc_amt;\\n  var line_total = data.lines[index].total;\\n  var line_subtotal = data.lines[index].amount;\\n  var m1 = (data.discount)-line_disc_amt;\\n  var m2 = (data.total)-line_subtotal;\\n  var m3 = (data.subtotal2)-line_total;\\n  set_data({discount:m1});\\n  set_data({total:m2});\\n  set_data({subtotal2:m3});\\n  data.lines=_.filter(data.lines,l=>l._cid!=_cid);\\n  _.forEach(data.lines,o=> {\\n    var index = data.lines.indexOf(o)+1;\\n    o.index=index;\\n  });\\n  set_data(data.lines);\\n}\\n\\nasync function on_change_subtotal(_cid)\\n{\\n  var data=get_data();\\n  var selected_line =_.filter(data.lines,l=>l._cid==_cid);\\n  console.log(\\\"onchage_line\\\",selected_line);\\n  var qty = _.map(selected_line,\\\"qty\\\");\\n  var disc= _.map(selected_line,\\\"disc\\\");\\n  var price= _.map(selected_line,\\\"price\\\");\\n  var index = _.findIndex(data.lines,selected_line[0]);\\n  //var total_before_disc=qty*price;\\n  var total_pro = qty*price;\\n  var disc_amt = (disc/100)*total_pro;\\n  var total2 = total_pro - disc_amt;\\n  var line = selected_line[0];\\n  //data.lines[index].price=disc_price;\\n  data.lines[index].amount=total2;\\n  data.lines[index].disc_amt=disc_amt;\\n  data.lines[index].total_pro=total_pro;\\n  console.log(\\\"data\\\",data);\\n  set_data(data);\\n  var arr=data.lines;\\n  var total3=0;\\n  var disc_total=0;\\n  var subtotal2=0;\\n  for (var i=0; iundefined<arr.length; i++) {\\n  var selected_line = arr[i];\\n  var count = selected_line.amount;\\n  var count2 = selected_line.disc_amt;\\n  var count3 = selected_line.total_pro;\\n  total3 = total3 + count;  \\n  disc_total = disc_total + count2;\\n  subtotal2 = subtotal2 + count3;\\n  };\\n    set_data({total:total3,\\n            discount:disc_total,\\n            subtotal2:subtotal2,\\n           });\\n}\\n\\n\\n\\nasync function payment()\\n{\\n  var data = get_data();\\n  var location_id=get_cookie(\\\"location_id\\\");\\n  if(!data.employee) throw \\\"Missing Employee!\\\";\\n  if(!data.customer) throw \\\"Missing Customer Contact!\\\";\\n  if(!data.product) throw \\\"Missing Product!\\\";\\n  var total = data.total;\\n  var discount = data.discount;\\n  var subtotal = data.subtotal2;\\n  var lines = data.lines;\\n  var contact = data.customer;\\n  var employee_id = data.employee;\\n  var inv_lines=lines.map(l=>{\\n    return {\\n      description: l.description,\\n      product_id: l.id,\\n      account_id:l.sale_account_id,\\n      discount:l.disc,\\n      amount:l.amount,\\n      qty:l.qty,\\n      unit_price:l.price,\\n      uom_id:l.uom_id,\\n    };\\n  });\\n  \\n  var GI_lines=lines.map(l=>{\\n return {\\n      product_id: l.id,\\n      qty:l.qty,\\n      uom_id:l.uom_id,\\n   \\t  location_to_id:507,\\n   \\t  location_from_id:location_id,\\n    };\\n  });\\n  \\n  var pv_lines = lines.map(l=>{\\n     return {\\n     type: \\\"direct\\\",\\n   description:\\\"Cash Sale\\\",\\n   amount: total,\\n   account_id:534, //DEBTOR\\n    };\\n  });\\n  \\n  var field = [\\\"first_name\\\"];\\n  var cond = [[\\\"id\\\",\\\"=\\\",employee_id]];\\n  var res = await rpc_execute(\\\"hr.employee\\\",\\\"search_read_path\\\",[cond,field]);\\n  var name = res[0].first_name;\\n  \\n  if(data.total==0.00)throw \\\"Please add cart !\\\";\\n  var form_id=page_params.form_id;\\n  var form_data={\\n    total:total,\\n    discount:discount,\\n    subtotal : subtotal,\\n    inv_lines: inv_lines,\\n    pv_lines:pv_lines,\\n    GI_lines:GI_lines,\\n    contact:data.customer,\\n    employee:name,\\n    employee_id:employee_id,\\n  };\\n  var form_id=await rpc_execute(\\\"form.data\\\",\\\"set_value\\\",[form_id,form_data]);\\n  redirect_page(\\\"payment\\\",{form_id:form_id});\\n}\\n\\nasync function on_barcode(barcode) {\\n  var data = get_data();\\n  var fields = [\\\"id\\\",\\\"code\\\",\\\"name\\\",\\\"uom_id\\\",\\\"uom_id.name\\\",\\\"sale_price\\\",\\\"sale_account_id\\\",\\\"categ_id.sale_account_id\\\",\\\"categ_id.sale_account_id.code\\\"];\\n  var field1=[\\\"name\\\"];\\n  var cond1 = [[\\\"code\\\",\\\"=\\\",barcode]];\\n  var product_res1 = await rpc_execute(\\\"product\\\",\\\"search_read\\\",[cond1,field1]);\\n  var pro_id=product_res1[0].id;\\n   var product_res = await rpc_execute(\\\"product\\\",\\\"read_path\\\",[[pro_id],fields]);\\n  var pro_code = product_res[0].code;\\n  var pro_name = product_res[0].name;\\n  var pro_uom = product_res[0].uom_id.id;\\n  var pro_uom_name = product_res[0].uom_id.name;\\n  var pro_price = product_res[0].sale_price;\\n  var product_id = product_res[0].id;\\n  var sale_account_id = product_res[0].categ_id.sale_account_id.id;\\n  var product_line={\\n    id:product_id,\\n    uom_id:pro_uom,\\n    uom:pro_uom_name,\\n    _cid:_.uniqueId(),\\n    code:pro_code,\\n    description:pro_name,\\n    price:pro_price, \\n    sale_account_id:sale_account_id,\\n  };\\n  if(!data.lines) data.lines=[];\\n  data.lines.push(product_line);\\n  set_data(data);\\n}\\n  \\nasync function onchange_qty(line,_cid) {\\n  console.log(\\\"onchange_qty\\\",line);\\n  var pricelist_id=6; // XXX\\n  var prod_id=line.id;\\n  var qty=line.qty;\\n  var price=await rpc_execute(\\\"price.list\\\",\\\"get_price\\\",[pricelist_id,prod_id,qty]);\\n  line.price=price;\\n  set_data({});\\n  on_change_subtotal(_cid);\\n}\\n\\nfunction customer()\\n{\\n  var url = \\\"https://ysis.smartb.co/action?name=contact&active_tab=1\\\";\\n  window.open(url);\\n}\\n  \\nasync function onchange_employee()\\n{\\n  var data = get_data();\\n  var employee = data.employee;\\n  console.log(employee);\\n  set_cookie(\\\"employee_id\\\",employee);\\n}\\n\\nfunction sign_out()\\n{\\n  var pop = confirm(\\\"Are you sure you want to sign out?\\\")\\n  if(pop)\\n  {\\n    redirect(\\\"https://ysis.smartb.co/login\\\");\\n  }\\n  else{\\n    return 0;\\n  }\\n}\\n\\nasync function onchange_product_selection()\\n{\\n  var data = get_data();\\n  if(data.product)\\n  {\\n    set_data({barcode:null});\\n  }\\n}\\n\\nasync function onchange_barcode_selection()\\n{\\n  var data = get_data();\\n  if(data.barcode)\\n  {\\n    set_data({product:null});\\n  }\\n}\"}, \"rpc_read\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"UNDERSTANDING RPC EXECUTE \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Function :\"}, {\"insert\": \" \"}, {\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"read\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_right\": 5, \"margin_top\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"italic\": true}, \"insert\": \"In a rpc, there are 4 variable that will affect the result which are \\\"Model name\\\", \\\"Method name\\\", \\\"Condition\\\" and \\\"Field\\\"\"}, {\"insert\": \"\\nBelow are an example of rpc, select the correct variable for each drop down. Find out what is the name of the product with code \"}, {\"attributes\": {\"italic\": true, \"bold\": true}, \"insert\": \"C-0001\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 10, \"margin_left\": 5, \"margin_right\": 5, \"margin_bottom\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"rpc_execute(\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"name\": \"mod1\", \"field_value\": \"\", \"_selection\": \"[[\\\"model\\\",\\\"model\\\"],[\\\"product\\\",\\\"product\\\"]]\", \"selection\": [[\"model\", \"model\"], [\"product\", \"product\"]], \"placeholder\": \"model name\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"_selection\": \"[[\\\"search_read\\\",\\\"search_read\\\"],[\\\"read\\\",\\\"read\\\"]]\", \"selection\": [[\"search_read\", \"search_read\"], [\"read\", \"read\"]], \"name\": \"mod2\", \"placeholder\": \"method name\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"( [[ \\\"code\\\" ,\\\"=\\\" ,\\\"\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_value\": \"\", \"field_type\": \"select\", \"name\": \"mod2_5\", \"placeholder\": \"condition\", \"_selection\": \"[[\\\"C-0001\\\",\\\"C-0001\\\"],[\\\"apple\\\",\\\"apple\\\"]]\", \"selection\": [[\"C-0001\", \"C-0001\"], [\"apple\", \"apple\"]]}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"\\\"]],[\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"_selection\": \"[[\\\"name\\\",\\\"name\\\"],[\\\"type\\\",\\\"type\\\"]]\", \"selection\": [[\"name\", \"name\"], [\"type\", \"type\"]], \"name\": \"mod3\", \"model\": \"\", \"placeholder\": \"fields\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \" \"}, {\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \" ]);\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 8, \"col_widths\": [0.2, 1, 1, 1, 0.8, 0.3, 1, 0.2], \"margin_top\": 10, \"margin_bottom\": 15, \"_col_widths\": \"[0.2,1,1,1,0.8,0.3,1,0.2]\", \"margin_left\": 5, \"margin_right\": 5}, {\"type\": \"button\", \"width\": \"100\", \"height\": \"50\", \"align\": \"center\", \"text\": \"Run\", \"on_click\": \"run()\", \"margin_bottom\": 10}], \"min_height\": 50}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Result :\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{run}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 5, \"margin_right\": 5, \"margin_top\": 10, \"margin_bottom\": 20}], \"min_height\": 50, \"border_width\": 1, \"border_radius\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"italic\": true}, \"insert\": \"Reconstruct the above rpc by typing it out below, the result should be same as above\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_right\": 5, \"margin_top\": 5, \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"mod4\", \"field_type\": \"text\", \"margin_top\": 10, \"margin_bottom\": 10}, {\"type\": \"button\", \"text\": \"Run\", \"on_click\": \"click()\", \"align\": \"center\", \"size\": \"large\", \"width\": \"100\", \"height\": \"50\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"                                                           Result:\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{run2}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 2], \"_col_widths\": \"[1,2]\"}], \"min_height\": 50, \"margin_top\": 20, \"margin_bottom\": 30, \"padding_top\": 10, \"padding_left\": 5, \"padding_right\": 5, \"padding_bottom\": 10, \"border_width\": 1, \"border_radius\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"italic\": true}, \"insert\": \"Write a rpc to find the first_name, surname and the type_of_position for user with the id number EMP-0002 in hr2 model. Note that this is an async function.\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 30, \"margin_bottom\": 10, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"condition =\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"placeholder\": \"[condition]\", \"field_type\": \"text\", \"name\": \"con1\"}]}], \"num_cols\": 2, \"col_widths\": [1, 3], \"_col_widths\": \"[1,3]\", \"margin_left\": 5, \"margin_right\": 5}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"field=\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"[field]\", \"name\": \"con2\"}]}], \"num_cols\": 2, \"col_widths\": [1, 3], \"_col_widths\": \"[1,3]\", \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": []}], \"col_widths\": [1, 1]}, {\"type\": \"field\", \"name\": \"mod5\", \"field_type\": \"text\", \"padding_top\": 5, \"padding_bottom\": 5, \"margin_left\": 5, \"margin_right\": 5}, {\"type\": \"button\", \"text\": \"Run\", \"size\": \"\", \"width\": \"100\", \"height\": \"50\", \"align\": \"center\", \"on_click\": \"click2()\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Result :\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_left\": 5, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{run3}\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 3], \"_col_widths\": \"[1,3]\", \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 20, \"margin_top\": 10}], \"min_height\": 50, \"header\": false, \"margin_top\": 20, \"margin_bottom\": 20, \"margin_left\": null, \"margin_right\": null, \"border_width\": 1, \"border_radius\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Example of read\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"show()\"}, {\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"search_read,aKWN3-9Mmmk=.png\", \"name\": \"img1\", \"margin_top\": 10, \"margin_bottom\": 10, \"align\": \"center\"}], \"min_height\": 50, \"dyn_props\": \"{hidden:hide}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"search_read2,G72o_Zji7-0=.png\", \"align\": \"center\", \"margin_top\": 10, \"margin_bottom\": 10, \"dyn_props\": \"\", \"name\": \"img2\"}], \"min_height\": 50, \"dyn_props\": \"{hidden:hide2}\"}], \"min_height\": 50, \"border_width\": 1, \"border_radius\": 1, \"margin_top\": 20, \"margin_bottom\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"button\", \"on_click\": \" redirect_page(\\\"rpc_main\\\")\", \"width\": \"150\", \"height\": \"50\", \"align\": \"center\", \"icon\": \"home\"}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [], \"min_height\": 50}], \"min_height\": 50, \"border_width\": null, \"border_radius\": null, \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 10}], \"min_height\": 50, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10}], \"min_height\": 50, \"background_color\": \"#e1f3f1\"}]}, \"code\": \"function on_load(){\\n  var data = get_data();\\n\\n  set_data({\\n    hide:true,\\n    hide2:true,\\n  })\\n}\\nasync function run(){\\n  var data = get_data();\\n  var mod1 = data.mod1;\\n  var mod2=data.mod2;\\n  var mod2_5=data.mod2_5;\\n  var mod3 = data.mod3;\\n\\n  if(mod1 != \\\"product\\\"){   \\n    throw \\\"Wrong model code\\\";\\n  };\\n  if(mod2 != \\\"search_read\\\"){\\n    throw \\\"Wrong method name\\\";\\n  };\\n  if(mod2_5 != \\\"C-0001\\\"){\\n    throw \\\"Wrong condition name\\\";\\n  };\\n  if(mod3 != \\\"name\\\"){\\n    throw \\\"Wrong field name\\\";\\n  };\\n\\n  if(mod1 && mod2 && mod2_5 && mod3){\\n    var cond =[\\\"code\\\",\\\"=\\\",\\\"C-0001\\\"];\\n    var field=[\\\"name\\\"]; \\n    var req = await rpc_execute(\\\"product\\\",\\\"search_read\\\",[cond,field]);\\n    var run = req[0].name;\\n    alert(\\\" rpc execute and the result is \\\"+run);\\n    set_data({\\n      run:run,\\n    });\\n  }\\n  else{\\n    var run = \\\"error\\\";  \\n    alert(\\\" rpc execute \\\"+run);\\n    set_data({\\n      run:run,\\n    });\\n  }\\n}\\n\\n\\nasync function click(){\\n  var data = get_data();\\n  var code = data.mod4;  \\n\\n  var str = 'rpc_execute(\\\"product\\\",\\\"search_read\\\",[[[\\\"code\\\",\\\"=\\\",\\\"C-0001\\\"]],[\\\"name\\\"]);';\\n  if(code != str){\\n    let result = \\\"Error\\\";\\n    alert(\\\"wrong code\\\");\\n    set_data({\\n      run2:result,\\n    })   \\n  }\\n  else{\\n    var req = await rpc_execute(\\\"product\\\",\\\"search_read\\\",[[[\\\"code\\\",\\\"=\\\",\\\"C-0001\\\"]],[\\\"name\\\"]]);\\n    var run = req[0].name?req[0].name:0;\\n    let result = code;\\n    alert(code + \\\" is the correct answer\\\");\\n    set_data({\\n      run2:run,\\n    })\\n  } \\n}\\n\\nasync function click2(){\\n  var data = get_data();\\n\\n  var con1 = data.con1;\\n  var condition= [\\\"number\\\",\\\"=\\\",\\\"EMP-0002\\\"];\\n  var str1= JSON.stringify(condition);\\n\\n  if(con1 != str1){\\n    throw \\\"Condition is wrong\\\";   \\n  }\\n\\n  var con2 = data.con2;\\n  var field =[\\\"first_name\\\",\\\"surname\\\",\\\"type_of_position\\\"];\\n  var str2= JSON.stringify(field);\\n\\n  if(con2 != str2){\\n    throw \\\"Field is wrong\\\";\\n  }\\n\\n  var req = await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[condition],field]);\\n  var str3 = 'await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[condition],field]);'; \\n\\n  if(str3 != data.mod5){\\n    var result = \\\"Error\\\";\\n    alert(\\\"Error in code\\\");\\n    set_data({\\n      run3:result,\\n    });\\n  }\\n  else{\\n\\n    var name= req[0].first_name;\\n    var sur = req[0].surname;\\n    var pos = req[0].type_of_position;\\n    var result = name + \\\" \\\"+sur+\\\"  \\\"+pos;\\n    alert(\\\"success \\\"+ result)\\n\\n    set_data({\\n      run3:result,\\n    });\\n  }\\n\\n}\\n\\nfunction show(){\\n  var data = get_data();\\n  if(data.hide != true && data.hide2 != true){\\n    set_data({\\n      hide:true,\\n      hide2:true,\\n    });\\n  }else{\\n    set_data({\\n      hide:false,\\n      hide2:false,\\n    });\\n  }\\n}\"}, \"close_sale\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"size\": \"large\", \"bold\": true}, \"insert\": \"CLOSE SALE\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 20}], \"min_height\": 50, \"margin_left\": 10, \"margin_right\": 10, \"padding_bottom\": null, \"margin_bottom\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"$\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Quantity\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Amount\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"100.00\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"number\", \"height\": null, \"on_change\": \"on_change_subtotal(100)\", \"name\": \"qty100\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{fmt_money(amount100)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"50.00\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"number\", \"name\": \"qty50\", \"on_change\": \"on_change_subtotal(50)\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"bold\": true}, \"insert\": \"{fmt_money(amount50)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"20.00\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"number\", \"on_change\": \"on_change_subtotal(20)\", \"name\": \"qty20\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"bold\": true}, \"insert\": \"{fmt_money(amount20)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"10.00\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"number\", \"on_change\": \"on_change_subtotal(10)\", \"name\": \"qty10\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"bold\": true}, \"insert\": \"{fmt_money(amount10)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"5.00\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"number\", \"on_change\": \"on_change_subtotal(5)\", \"name\": \"qty5\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"bold\": true}, \"insert\": \"{fmt_money(amount5)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"1.00\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"number\", \"on_change\": \"on_change_subtotal(1)\", \"name\": \"qty1\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"bold\": true}, \"insert\": \"{fmt_money(amount1)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"0.50\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"number\", \"on_change\": \"on_change_subtotal(0.5,\\\"50sen\\\")\", \"name\": \"qty50sen\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"bold\": true}, \"insert\": \"{fmt_money(amount50sen)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"0.20\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"number\", \"on_change\": \"on_change_subtotal(0.2,\\\"20sen\\\")\", \"name\": \"qty20sen\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"bold\": true}, \"insert\": \"{fmt_money(amount20sen)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"0.10\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"number\", \"on_change\": \"on_change_subtotal(0.1,\\\"10sen\\\")\", \"name\": \"qty10sen\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"bold\": true}, \"insert\": \"{fmt_money(amount10sen)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"0.05\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"number\", \"on_change\": \"on_change_subtotal(0.05,\\\"5sen\\\")\", \"name\": \"qty5sen\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#ffffff\", \"bold\": true}, \"insert\": \"{fmt_money(amount5sen)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 3, \"num_rows\": 11, \"_col_widths\": \"[1,1,1]\", \"col_widths\": [1, 1, 1], \"padding_bottom\": null, \"margin_left\": 10, \"table_bordered\": true, \"table_striped\": true, \"table_hover\": true, \"field_rows\": \"\", \"field_rows_inner\": \"\", \"order_rows\": \"\"}], \"min_height\": 200, \"width\": \"500\"}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"OPENING\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"color\": \"#ffffff\", \"padding_top\": 10}], \"min_height\": 50, \"background_color\": \"#3f51b5\", \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"margin_left\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(open_balance)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": null}], \"min_height\": 50, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"margin_left\": 10, \"footer\": true}], \"min_height\": 50, \"padding_top\": null, \"padding_bottom\": 50}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"CLOSING\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 10, \"color\": \"#ffffff\"}], \"min_height\": 50, \"background_color\": \"#000000\", \"border_top_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"margin_right\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(close_balance)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"min_height\": 50, \"border_bottom_width\": 1, \"border_right_width\": 1, \"border_left_width\": 1, \"margin_right\": 10}], \"min_height\": 50, \"padding_bottom\": 50}]}], \"col_widths\": [1, 1]}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"TOTAL CASH IN \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 16}], \"min_height\": 50, \"width\": \"\", \"height\": \"\", \"margin_left\": 120, \"margin_right\": 120, \"background_color\": \"#cc99cc\", \"border_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"{fmt_money(total_in)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"min_height\": 50, \"margin_left\": 120, \"margin_right\": 120, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"TOTAL COUNT \"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 16, \"font_bold\": true, \"padding_top\": 5}], \"min_height\": 50, \"width\": \"300\", \"margin_left\": 120, \"margin_top\": 10, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"margin_right\": 120, \"background_color\": \"#b2ebf2\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"{fmt_money(total1)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 16, \"font_bold\": true}], \"min_height\": 50, \"width\": \"300\", \"margin_left\": 120, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"margin_right\": 120}], \"min_height\": 200, \"margin_bottom\": 20, \"margin_top\": 10}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": []}, {\"children\": []}], \"col_widths\": [1, 1]}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"50\", \"align\": \"center\", \"text\": \"BACK\", \"font_bold\": true, \"background_color\": \"#616161\", \"color\": \"#ffffff\", \"on_click\": \"click_back()\"}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1], \"_col_widths\": \"\", \"padding_left\": 10}], \"min_height\": 50}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": null, \"margin_bottom\": 20}], \"min_height\": null, \"padding_bottom\": null, \"container\": false}], \"min_height\": 50, \"margin_top\": 5}]}, \"code\": \"async function on_load()\\n{\\n  var date=moment().format(\\\"YYYY-MM-DD\\\");\\n  set_data({date:date});\\n  await load_data();\\n}\\nasync function on_change_subtotal(note,mul)\\n{\\n   var data=get_data();\\n   if(mul)\\n   {\\n    var qty_field=\\\"qty\\\"+mul;\\n    var amount_field=\\\"amount\\\"+mul;\\n   }\\n  else\\n  {\\n   var qty_field=\\\"qty\\\"+note;\\n   var amount_field=\\\"amount\\\"+note;\\n  }  \\n   console.log(\\\"hi\\\",qty_field);\\n   var qty = data[qty_field];\\n   var amount = qty * note;\\n   data[amount_field]=amount;\\n  set_data(data);  \\n  total();\\n}\\n\\nfunction total() {\\n  var data=get_data();\\n  var notes=[100,50,20,10,5,1,\\\"50sen\\\",\\\"20sen\\\",\\\"10sen\\\",\\\"5sen\\\"];\\n  var total=0;\\n  _.forEach(notes,o=>{\\n    var key=\\\"amount\\\"+o;\\n    console.log(\\\"key\\\",data[key]);\\n    var amount = data[key]?data[key]:0;\\n    total=total+amount;\\n  });\\n  set_data({total1:total});\\n}\\nvar ACCOUNT_ID=900;\\n\\nasync function load_data() {\\n  var data=get_data();\\n  var date=data.date;\\n  if (!date) return;\\n  var date_before=moment(date).add(-7,\\\"day\\\").format(\\\"YYYY-MM-DD\\\");\\n  var fields=[\\\"debit\\\",\\\"credit\\\",\\\"balance\\\"]; \\n  var ctx={\\n    date_to: date_before,\\n  };\\n \\n  var res=await rpc_execute(\\\"account.account\\\",\\\"read\\\",[[ACCOUNT_ID],fields],{context:ctx});\\n  var bal_open=res[0];  \\n  \\n  var ctx={\\n    date_from: date_before,\\n    date_to: date,\\n  };\\n  var res=await rpc_execute(\\\"account.account\\\",\\\"read\\\",[[ACCOUNT_ID],fields],{context:ctx});\\n  var bal_period=res[0];\\n  \\n  var ctx={\\n    date_to: date,\\n  };\\n  var res=await rpc_execute(\\\"account.account\\\",\\\"read\\\",[[ACCOUNT_ID],fields],{context:ctx});\\n  var bal_close=res[0];\\n  \\n  var open_balance=bal_open.balance;\\n  var close_balance=bal_close.balance;\\n  //var total_in=bal_period.debit;\\n  var total_in=close_balance-open_balance;\\n  \\n    set_data({\\n    open_balance: open_balance,\\n    close_balance: close_balance,\\n    total_in: total_in,\\n  });\\n}\\n\\nfunction click_back() {\\n  redirect_page(\\\"main1\\\");\\n}\"}, \"payment\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM {fmt_money(amt_to_pay)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 40, \"font_bold\": true, \"align\": \"left\", \"background_color\": \"#b0bec5\", \"padding_top\": 10}], \"min_height\": 100, \"background_color\": \"#b0bec5\", \"width\": \"300\", \"margin_left\": 150, \"margin_right\": 150}, {\"type\": \"box\", \"children\": [], \"min_height\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"PAID :\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"PAID\", \"padding_top\": null, \"padding_left\": null, \"padding_right\": null, \"padding_bottom\": null, \"name\": \"amt_paid\", \"on_change\": \"onchange_amt_paid()\", \"margin_top\": null}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"padding_bottom\": 10}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"text\": \"EXACT\", \"size\": \"normal\", \"width\": 100, \"height\": 70, \"padding_top\": null, \"padding_left\": null, \"padding_right\": null, \"padding_bottom\": null, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10, \"background_color\": \"#1a237e\", \"method\": \"\", \"on_click\": \"set_amt_paid(amt_to_pay)\", \"color\": \"#ffffff\", \"font_bold\": true}]}, {\"children\": [{\"type\": \"button\", \"text\": \"{pmt_amt1}\", \"size\": \"normal\", \"width\": 100, \"height\": 70, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10, \"background_color\": \"#1a237e\", \"name\": \"\", \"on_click\": \"set_amt_paid(pmt_amt1)\", \"font_bold\": true, \"color\": \"#ffffff\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"{pmt_amt2}\", \"size\": \"normal\", \"width\": 100, \"height\": 70, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10, \"background_color\": \"#1a237e\", \"on_click\": \"set_amt_paid(pmt_amt2)\", \"color\": \"#ffffff\", \"font_bold\": true}]}, {\"children\": [{\"type\": \"button\", \"text\": \"{pmt_amt3}\", \"size\": \"normal\", \"width\": 100, \"height\": 70, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10, \"background_color\": \"#1a237e\", \"on_click\": \"set_amt_paid(pmt_amt3)\", \"color\": \"#ffffff\", \"font_bold\": true}]}, {\"children\": [{\"type\": \"button\", \"text\": \"{pmt_amt4}\", \"size\": \"normal\", \"width\": 100, \"height\": 70, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10, \"background_color\": \"#1a237e\", \"on_click\": \"set_amt_paid(pmt_amt4)\", \"font_bold\": true, \"color\": \"#ffffff\"}]}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1]}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Transaction No:\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Enter Transaction No.\", \"name\": \"trans_no\"}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1]}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"70\", \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"CASH\", \"background_color\": \"#ff0266\", \"align\": \"right\", \"on_click\": \"pay(2)\", \"margin_left\": 10, \"margin_right\": 10, \"margin_top\": null, \"margin_bottom\": null}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"70\", \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"CHEQUE\", \"background_color\": \"#000000\", \"align\": \"left\", \"on_click\": \"pay(3)\", \"margin_right\": 10, \"padding_left\": null, \"padding_right\": null, \"margin_left\": 10}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"70\", \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"TRANSFER\", \"background_color\": \"#0336ff\", \"align\": \"left\", \"on_click\": \"pay(1)\", \"margin_right\": 10, \"margin_left\": 10}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"70\", \"font_size\": 15, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"VISA/MAS TER\", \"background_color\": \"#d2abd9\", \"align\": \"left\", \"on_click\": \"pay(4)\", \"margin_right\": 10, \"margin_left\": 10}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"70\", \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"DEBIT\", \"background_color\": \"#abd2d9\", \"align\": \"left\", \"on_click\": \"pay(6)\", \"margin_right\": 10, \"margin_left\": 10}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"70\", \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"MyDebit\", \"background_color\": \"#d68e8f\", \"align\": \"left\", \"on_click\": \"pay(5)\", \"margin_right\": 10, \"margin_left\": 10}]}, {\"children\": []}], \"num_cols\": 6, \"col_widths\": [1, 1, 1, 1, 1, 1]}], \"min_height\": 50, \"padding_top\": 20, \"padding_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"            RETURN: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 25, \"font_bold\": true}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM {fmt_money(amt_return)}\\n\"}]}, \"font_size\": 25, \"font_bold\": true, \"padding_left\": 10}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"font_size\": 25, \"font_bold\": true}], \"min_height\": 50}], \"min_height\": 50}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"background_color\": \"#eeeeee\", \"padding_top\": 50}], \"min_height\": 50, \"background_color\": \"#eeeeee\"}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"button\", \"width\": 100, \"height\": 50, \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"BACK\", \"background_color\": \"#616161\", \"align\": \"center\", \"on_click\": \"click_back()\"}]}, {\"children\": [{\"type\": \"button\", \"width\": 100, \"height\": 50, \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"CANCEL\", \"background_color\": \"#f10000\", \"align\": \"center\", \"on_click\": \"click_cancel()\"}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 1, 1, 1], \"padding_top\": 20, \"background_color\": \"#eeeeee\", \"padding_bottom\": 80}]}, \"code\": \"function click_back()\\n{\\nredirect_page(\\\"main1\\\");\\n}\\n\\nfunction click_cancel()\\n{\\n  var pop = confirm(\\\"Are you sure you want to cancel this transaction?\\\");\\n  if(pop)\\n  {\\n    redirect_page(\\\"main1\\\");\\n  }\\n  else \\n    return 0;\\n}\\n\\nasync function on_load()\\n{\\n  var form_id=page_params.form_id;\\n  var vals = await rpc_execute(\\\"form.data\\\",\\\"get_value\\\",[form_id]);\\n  var before_round = vals.total;\\n  var after_round = Math.round((before_round)/0.05)*0.05;\\n  var round = after_round - before_round;\\n  set_data({rounding:round,\\n            amt_to_pay:after_round,\\n            amt_disc:vals.disc_amount,\\n            subtotal:vals.subtotal,\\n            pro_id:vals.pro_id,\\n           });\\n  var abs_amt = Math.abs(vals.total);\\n  var bills = [1,5,10,20,50,100];\\n  var pmt_amts=get_pay_amounts(abs_amt,bills);\\n  if(pmt_amts[0]==vals.total) pmt_amts=pmt_amts.slice(1);\\n  var pmt_amt1=pmt_amts[0];\\n  var pmt_amt2=pmt_amts[1];\\n  var pmt_amt3=pmt_amts[2];\\n  var pmt_amt4=pmt_amts[3];\\n  set_data({\\n      pmt_amt1: pmt_amt1,\\n      pmt_amt2: pmt_amt2,      \\n      pmt_amt3: pmt_amt3,  \\n      pmt_amt4: pmt_amt4,      \\n});\\n}\\n\\nfunction get_pay_amounts(abs_amt,bills) {\\n  if(_.isEmpty(bills)) return [];\\n  var bill_amt=bills[0];\\n  var n=Math.ceil(abs_amt/bill_amt);\\n  var amounts = [n*bill_amt];\\n  amounts=_.concat(amounts,get_pay_amounts(abs_amt,bills.slice(1)));\\n  amounts=_.uniq(amounts);\\n  amounts=_.orderBy(amounts);\\n  return amounts;\\n}\\n\\nfunction set_amt_paid(amt)\\n{\\n  var total=Math.round((amt)*100)/100;\\n  set_data({amt_paid:total});\\n  var data=get_data();\\n  var abs_amt_topay = Math.abs(data.amt_to_pay);\\n  var amt_return = Math.round((data.amt_paid-abs_amt_topay)*100)/100;\\n  set_data({amt_return:amt_return});\\n}\\n\\nasync function onchange_amt_paid(){\\n\\tvar data = get_data();\\n  \\tvar abs_amt = Math.abs(data.amt_to_pay);\\n  \\tvar amt_return=Math.round((data.amt_paid-abs_amt)*100)/100;\\n  \\tif(data.amt_paid==null)\\n    {var amt_return  = null;}\\n  \\tset_data({amt_return:amt_return});\\n}\\n\\nasync function pay(button){\\n  var form_id=page_params.form_id;\\n  var vals = await rpc_execute(\\\"form.data\\\",\\\"get_value\\\",[form_id]);\\n  var date=moment().format(\\\"YYYY-MM-DD\\\").toString();\\n  var data = get_data();\\n  if(!data.amt_paid)throw \\\"Missing Paid Amount!\\\";\\n  var trans_id=data.trans_no;\\n  var line = vals.inv_lines;\\n  var pv_lines = vals.pv_lines;\\n  var GI_lines = vals.GI_lines;\\n  var discount=vals.discount;\\n  var contact_id=vals.contact;\\n  var employee = vals.employee;\\n  var rounding=data.rounding;\\n  var location_id=get_cookie(\\\"location_id\\\");\\n  var type=\\\"in\\\";\\n  if(location_id==511)\\n  {\\n  var res=await rpc_execute(\\\"account.invoice\\\",\\\"default_get\\\",[[\\\"number\\\"]],{context:{defaults:{type:\\\"out\\\",inv_type:\\\"invoice\\\"},sequence_id:63}});\\n  var GI_res=await rpc_execute(\\\"stock.picking\\\",\\\"default_get\\\",[[\\\"number\\\"]],{context:{pick_type:\\\"out\\\",journal_id:13}});\\n  var GI_no=GI_res.number;\\n  var ctx={type:type,pay_type:\\\"invoice\\\",sequence_id:65};\\n  var journal_id=13;\\n  }\\n  else\\n  {\\n  var res=await rpc_execute(\\\"account.invoice\\\",\\\"default_get\\\",[[\\\"number\\\"]],{context:{defaults:{type:\\\"out\\\",inv_type:\\\"invoice\\\"},sequence_id:64}});\\n  var GI_res=await rpc_execute(\\\"stock.picking\\\",\\\"default_get\\\",[[\\\"number\\\"]],{context:{pick_type:\\\"out\\\",journal_id:14}});\\n  var GI_no=GI_res.number;\\n  var ctx={type:type,pay_type:\\\"invoice\\\",sequence_id:66}; \\n  var journal_id=14;\\n  }\\n    switch(button){\\n      case 2:\\n    \\tvar method_id=2;\\n    \\tvar trans_no = null;\\n        break;\\n    case 4:\\n      if(!trans_id)throw \\\"Missing Transaction Number !\\\";\\n      var method_id=4;\\n      var trans_no =trans_id ;\\n      break;\\n    case 1:\\n      if(!trans_id)throw \\\"Missing Transaction Number !\\\";\\n      var method_id=1;\\n      var trans_no = trans_id;\\n      break;\\n    case 3:\\n      if(!trans_id)throw \\\"Missing Transaction Number !\\\";\\n      var method_id=3;\\n      var trans_no = trans_id;\\n      break\\n    case 5:\\n      if(!trans_id)throw \\\"Missing Transaction Number !\\\";\\n      var method_id=5;\\n      var trans_no = trans_id;\\n      break;\\n    case 6:\\n      if(!data.trans_no)throw \\\"Missing Transaction Number !\\\";\\n      var method_id=6;\\n      var trans_no = trans_id;\\n     }\\n  var cond=[[\\\"sequence\\\", \\\"=\\\", method_id]];\\n  var field=[\\\"service_charge\\\"];\\n  var pv_res = await rpc_execute (\\\"payment.method\\\",\\\"search_read\\\",[cond,field]);\\n  var charge_percent=pv_res[0].service_charge;\\n  \\n  var total_charge=(charge_percent/100)*(data.amt_to_pay);\\n  var payment_amt=(data.amt_to_pay)-total_charge;\\n\\n  var invoice_vals = {\\n   number:res.number,\\n    due_date:date,\\n    date:date,\\n    type:\\\"out\\\",\\n    inv_type: \\\"invoice\\\",\\n    contact_id:contact_id,\\n    memo:employee,\\n    account_id:899,\\n    pay_method_id:method_id,\\n    transaction_no:trans_no,\\n    remarks:data.amt_paid,\\n    rounding_amount:rounding,\\n    sale_categ_id:1,\\n    amount_change:data.amt_return?data.amt_return:0,\\n    //total:data.amt_to_pay,\\n    //amount_rounding:rounding,\\n    lines:[],\\n  };\\n  \\n  _.forEach(line,o=>{\\n    invoice_vals.lines.push([\\\"create\\\",o]);\\n  });\\n  \\n  if(rounding) { // <== david change\\n    var round_vals={\\n      description: \\\"Rounding\\\",\\n      account_id: 665,\\n      amount: rounding,\\n    };\\n    var round_amount=Math.round((rounding)*100 )/ 100;\\n    invoice_vals.rounding_amount=round_amount;\\n    invoice_vals.lines.push([\\\"create\\\",round_vals]);\\n    pv_lines.amount=(vals.total)+rounding;\\n  }\\n  \\n  //invoice_vals.lines.push([\\\"create\\\",line]);\\n  var inv_id=await rpc_execute(\\\"account.invoice\\\",\\\"create\\\",[invoice_vals],{context:{}});\\n  await rpc_execute(\\\"account.invoice\\\",\\\"approve\\\",[[inv_id]],{context:{}}); \\n  await rpc_execute(\\\"account.invoice\\\",\\\"write\\\",[[inv_id],{state:\\\"paid\\\"}],{context:{}}); \\n  \\n  \\n  var inv_no=res.number;\\n  var cash_account_id=900; //cash or credit card\\n  var type=\\\"in\\\";\\n  var employee_id = vals.employee_id;\\n  var pmt_vals={\\n\\t\\taccount_id: cash_account_id,\\n\\t\\ttype: type,\\n    \\tref:inv_no,\\n\\t\\tpay_type:\\\"invoice\\\",\\n    \\temployee_id:employee_id,\\n    \\tcontact_id:contact_id,\\n    \\tmemo:data.amt_paid,\\n   \\t\\tpay_method_id:method_id,\\n    \\ttransaction_no:trans_no,\\n\\t    lines:[],\\n\\t};\\n  pv_lines.invoice_id=inv_id;\\n\\n    pmt_vals.lines.push([\\\"create\\\",pv_lines]);  \\n  var GI_vals = {\\n    journal_id:journal_id,\\n    invoice_id:inv_id,\\n    date:date,\\n    contact_id:contact_id,\\n    number:GI_no,\\n    type:\\\"out\\\",\\n    lines:[],\\n  };\\n  _.forEach(GI_lines,o=>{\\n    GI_vals.lines.push([\\\"create\\\",o]);  \\n  });\\n  var pick_id= await rpc_execute(\\\"stock.picking\\\", \\\"create\\\",[GI_vals],{context:{}});//<-----David\\n  await rpc_execute(\\\"stock.picking\\\",\\\"set_done\\\",[[pick_id]]);\\n\\n  var pmt_id=await rpc_execute(\\\"account.payment\\\",\\\"create\\\",[pmt_vals],{context:ctx});\\n  await rpc_execute(\\\"account.payment\\\",\\\"post\\\",[[pmt_id]]);\\n  \\n  if(button==4||button==5||button==6)\\n  {\\n \\tvar pmt_vals2={\\n\\t\\taccount_id: 554, //Alliance Bank\\n\\t\\ttype: \\\"out\\\",\\n    \\tref:inv_no,\\n\\t\\tpay_type: \\\"direct\\\",\\n    \\temployee_id:employee_id,\\n    \\tcontact_id:contact_id,\\n   \\t\\tpay_method_id:method_id,\\n    \\ttransaction_no:trans_no,\\n\\t    lines:[],\\n\\t};\\n\\n  var pv_lines2={\\n   //type: \\\"direct\\\",\\n   description:\\\"CREDIT CARD CHARGE \\\",\\n   amount:total_charge,\\n   account_id:807, //CREDIT CARD EXPENSE ACCT.\\n  };\\n  \\n  pmt_vals2.lines.push([\\\"create\\\",pv_lines2]);  \\n\\n  var pmt_id2=await rpc_execute(\\\"account.payment\\\",\\\"create\\\",[pmt_vals2],{context:ctx});\\n  await rpc_execute(\\\"account.payment\\\",\\\"post\\\",[[pmt_id2]]);\\n  }\\n  \\n  //print(inv_id,location_id);\\n  test_print(inv_id,location_id);\\n  alert(\\\"Payment recorded\\\");\\n  redirect_page(\\\"main1\\\");\\n}\\n\\nasync function test_print(pmt_id,location_id) {\\n  switch(location_id) {\\n    case \\\"511\\\":\\n      var page=\\\"sales_receipt_usj\\\";\\n      break;\\n    case \\\"512\\\":\\n      var page=\\\"sales_receipt_sunway\\\";\\n           }\\n  var data=await fetch(\\\"https://backend-test.netforce.com/render_page_pos?db=nfo_ysis&page=\\\" + page + \\\"&print=1&active_id=\\\" + pmt_id+\\\"&no_download=1\\\");\\n  //var printer_name=\\\"HP DJ 3630 series (Network)\\\";//POS-80C\\n  var text=await data.text();\\n  text=text+\\\"\\\\r\\\\n\\\\x1b\\\\x69\\\";\\n  console.log(\\\"data\\\",data);\\n  console.log(\\\"text\\\",text);\\n  print_raw(\\\"POS-80C\\\",text);//POS-80C\\n  window.open(\\\"https://backend-test.netforce.com/render_page_pos?db=nfo_ysis&page=\\\" + page + \\\"&print=1&active_id=\\\" + pmt_id+\\\"&no_download=1\\\");\\n}\\n\\n/*function print(pmt_id,location_id)\\n{\\n  switch(location_id){\\n    case \\\"511\\\":\\n      var url = \\\"http://pages-test.netforce.com/?db=nfo_ysis&page=sales_receipt_usj&print=1&active_id=\\\"+ pmt_id;\\n  \\t  var win=open(url);\\n      break;\\n    case \\\"512\\\":\\n      var url = \\\"http://pages-test.netforce.com/?db=nfo_ysis&page=sales_receipt_sunway&print=1&active_id=\\\"+ pmt_id;\\n  \\t  var win=open(url);\\n        }\\n    setTimeout(()=>{\\n      console.log(\\\"close window\\\");\\n    win.close();\\n  },5000);\\n}\\n*/\"}, \"order\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"PRE-ORDER\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 25, \"background_color\": \"#993333\", \"color\": \"#ffffff\"}], \"min_height\": 50, \"background_color\": \"#993333\"}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"ENTER RECEIPT NO\", \"margin_top\": 10, \"name\": \"receipt\", \"margin_left\": 20}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"40\", \"text\": \"SEARCH\", \"align\": \"center\", \"background_color\": \"#00b8d4\", \"font_bold\": true, \"color\": \"#ffffff\", \"on_click\": \"search()\", \"margin_left\": null, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"40\", \"text\": \"CLEAR\", \"align\": \"center\", \"background_color\": \"#ff5252\", \"font_bold\": true, \"color\": \"#ffffff\", \"on_click\": \"click_clear()\", \"margin_top\": 10}]}, {\"children\": []}, {\"children\": []}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"40\", \"text\": \"PROCEED\", \"align\": \"center\", \"background_color\": \"#cc9966\", \"font_bold\": true, \"color\": \"#ffffff\", \"on_click\": \"proceed()\", \"margin_top\": 10}]}], \"num_cols\": 6, \"col_widths\": [1, 1, 1, 1, 1, 1]}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"NO.\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TIME\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CONTACT\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL AMOUNT\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"STATUS\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"AMOUNT DUE\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"ACTIONS\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{number}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{date}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact}\\n\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM {fmt_money(amount_total)}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{state}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount_due)}\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"scale\": 2, \"align\": \"center\", \"name\": \"selected\", \"margin_top\": 5}]], \"num_cols\": 7, \"border_width\": 1, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"field_rows\": \"lines\", \"margin_left\": 20, \"margin_right\": 20, \"table_bordered\": true, \"table_striped\": true, \"table_hover\": true, \"margin_top\": 20, \"_col_widths\": \"[1,1,2,1,1,1]\", \"col_widths\": [1, 1, 2, 1, 1, 1]}], \"min_height\": 450}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"50\", \"text\": \"BACK\", \"align\": \"center\", \"background_color\": \"#616161\", \"font_bold\": true, \"color\": \"#ffffff\", \"on_click\": \"click_back()\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"50\", \"text\": \"REPRINT \", \"align\": \"center\", \"background_color\": \"#ff0266\", \"font_bold\": true, \"color\": \"#ffffff\", \"on_click\": \"reprint()\"}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 1, 1, 1], \"margin_bottom\": null, \"padding_bottom\": 10}], \"min_height\": 50}], \"min_height\": 50}], \"min_height\": 50, \"background_color\": \"#eeeeee\"}], \"min_height\": 50, \"background_color\": \"#3f51b5\", \"border_width\": null, \"margin_left\": null, \"margin_right\": null}], \"min_height\": 600, \"background_color\": \"#eeeeee\"}]}, \"code\": \"async function on_load(){\\n  var location_id=get_cookie(\\\"location_id\\\");\\n  if(location_id){\\n  search(location_id);\\n  }\\n}\\n\\n/*async function pay()\\n{\\n  var data=get_data();\\n   var select_lines=_.filter(data.lines,l=>l.selected);\\n   if (select_lines.length==0) throw \\\"No lines selected\\\";\\n   if (select_lines.length>1) throw \\\"Please select one transation only!\\\";\\n   var total = _.map(select_lines,\\\"amount_due\\\");\\n   if (!total) throw \\\"Nothing to pay\\\";\\n   var so_id=_.map(select_lines,\\\"so_id\\\");\\n  var so_no=_.map(select_lines,\\\"number\\\");\\n   var contact_id=_.map(select_lines,\\\"contact_id\\\");\\n   var page_no = 1;\\n   var form_data={\\n    total: total,\\n    so_id: so_id[0],\\n    so_no:so_no[0],\\n    page_no:page_no,\\n    contact_id:contact_id[0],\\n  };\\n  var form_id=page_params.form_id;\\n  var form_id=await rpc_execute(\\\"form.data\\\",\\\"set_value\\\",[form_id,form_data])\\n  redirect_page(\\\"deposit\\\",{form_id:form_id});\\n}*/\\n\\nasync function search(location_id)\\n{\\n  var data=get_data();\\n  var receipt_no=data.receipt;\\n  if(location_id)\\n  {\\n    switch(location_id){\\n      case \\\"511\\\":\\n        var cond=[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"],[\\\"number\\\",\\\"ilike\\\",\\\"USJ\\\"]];\\n        break;\\n      case \\\"512\\\":\\n        var cond=[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"],[\\\"number\\\",\\\"ilike\\\",\\\"SUN\\\"]];\\n             }\\n  }\\n  if(receipt_no) {\\n    var cond=[[\\\"state\\\",\\\"=\\\",\\\"draft\\\"],[\\\"number\\\",\\\"ilike\\\",receipt_no]];\\n  } else {\\n    cond.push([\\\"sale_categ_id\\\", \\\"=\\\", 1]);\\n  };\\n  var fields=[\\\"number\\\",\\\"amount_total\\\",\\\"contact_id\\\",\\\"date\\\",\\\"state\\\"];\\n  var res=await rpc_execute(\\\"sale.order\\\",\\\"search_read\\\",[cond,fields]);\\n  if(res.length==0)throw \\\" No record found\\\";\\n  var data = [];\\n  var paid=0;\\n  var payment=0;\\n  var due = 0;\\n  for(var i=0;iundefined<res.length;i++)\\n  {\\n    var number = res[i].number;\\n  \\tvar amount_total = res[i].amount_total;\\n  \\tvar contact_id = res[i].contact_id;\\n    console.log(contact_id);\\n  \\tvar date = res[i].date;\\n  \\tvar state = res[i].state;\\n  \\tvar so_id=res[i].id;\\n    var contact_name = contact_id[1];\\n    \\n  \\tvar cond2=[[\\\"related_id\\\",\\\"=\\\",\\\"sale.order,\\\"+so_id.toString()]];\\n  \\tvar fields2=[\\\"amount_total\\\"];\\n \\tvar res2=await rpc_execute(\\\"account.payment\\\",\\\"search_read\\\",[cond2,fields2]);\\n    if(res2.length==0) {\\n      console.log(\\\"paid\\\",0);\\n      paid=0;\\n    } else {\\n    paid=0;\\n    //if(res2.length!=0){\\n    for(var x=0;xundefined<res2.length;x++)\\n    {\\n    payment= res2[x].amount_total;\\n    paid = paid + payment;\\n    }; \\n   } \\n    due= amount_total-paid;\\n    data[i]= {\\n    number:number,\\n    amount_total:amount_total,\\n    contact:contact_name,\\n    date:date,\\n    state:state,\\n    amount_due:due,\\n    so_id:so_id,\\n    contact_id:contact_id[0],\\n      };\\n  };\\n  set_data({lines:data});\\n}\\n\\n/*async function search()\\n{\\n var data = get_data();\\n console.log(\\\"lines\\\",data.lines);\\n if(!data.receipt) throw \\\"Missing Receipt No. \\\";\\n var number = data.receipt.toString();\\n var cond=[[\\\"number\\\",\\\"ilike\\\",number]];\\n var fields = [\\\"number\\\",\\\"date\\\",\\\"number\\\",\\\"amount_total\\\",\\\"contact_id\\\",\\\"state\\\"];\\n var res = await rpc_execute (\\\"sale.order\\\",\\\"search_read\\\",[cond,fields]);\\n var data = [];\\n for (var i = 0; i < res.length; i++) {\\n    var order = res[i].id;\\n    var date = res[i].date;\\n    var amount = res[i].amount_total;\\n    var number = res[i].number;\\n   \\tvar status= res[i].state;\\n    var contact_id = res[i].contact_id;\\n    var contact_name = contact_id[1];\\n   \\t\\n    data[i]={date:date,\\n             contact: contact_name,\\n             amount_total: amount,\\n             number:number,\\n             date:date,\\n             state:status,\\n             amount_due:due,\\n            };\\n   };\\n   set_data({lines:data});\\n \\n}\\n*/\\nfunction click_back()\\n{\\n  redirect_page(\\\"main1\\\");\\n}\\n\\nasync function proceed(){\\n   var data=get_data();  \\n   var select_lines=_.filter(data.lines,l=>l.selected);\\n   if (select_lines.length==0) throw \\\"No lines selected\\\";\\n   if (select_lines.length>1) throw \\\"Please select one transation only!\\\";\\n   var so_id=_.map(select_lines,\\\"so_id\\\");\\n  var so_no=_.map(select_lines,\\\"number\\\");\\n  var contact_id=_.map(select_lines,\\\"contact_id\\\");\\n  var contact_name = _.map(select_lines,\\\"contact\\\");\\n  var amount_due = _.map(select_lines,\\\"amount_due\\\");\\n  var amount_total= _.map(select_lines,\\\"amount_total\\\");\\n  var form_data={\\n    so_id: so_id[0],\\n    so_no:so_no[0],\\n    contact_id:contact_id[0],\\n    contact_name:contact_name[0],\\n    amount_due:amount_due,\\n    total:amount_total,\\n  };\\n  var form_id=page_params.form_id;\\n  var form_id=await rpc_execute(\\\"form.data\\\",\\\"set_value\\\",[form_id,form_data])\\n  redirect_page(\\\"top_up\\\",{topup_id:form_id});\\n}\\n\\nfunction click_clear() {\\n  var data = get_data();\\n  set_data({\\n    lines:null,\\n    receipt:null,\\n  });\\n  on_load();\\n}\\n\\nfunction reprint()\\n{\\n  var data=get_data();\\n  var location_id=get_cookie(\\\"location_id\\\");\\n  var select_lines=_.filter(data.lines,l=>l.selected);\\n  if (select_lines.length==0) throw \\\"No lines selected\\\";\\n  if (select_lines.length>1) throw \\\"Please select one transation only!\\\";\\n  var so_id=_.map(select_lines,\\\"so_id\\\");\\n  if(location_id==511){\\n    var url=\\\"https://backend-test.netforce.com/render_page_pos?db=nfo_ysis&page=bill_receipt_usj&print=1&active_id=\\\"+so_id+\\\"&no_download=1\\\";\\n  }\\n  if(location_id==512) {\\n\\t var url=\\\"https://backend-test.netforce.com/render_page_pos?db=nfo_ysis&page=bill_receipt_sunway&print=1&active_id=\\\"+so_id+\\\"&no_download=1\\\";\\n  }\\nvar win=open(url);\\n}\"}, \"balance\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"STOCK BALANCE\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], \"min_height\": 30}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"field\", \"field_type\": \"select2\", \"padding_left\": 30, \"padding_right\": 30, \"placeholder\": \"Location\", \"name\": \"location\", \"model\": \"stock.location\", \"condition\": \"[[\\\"type\\\",\\\"=\\\",\\\"internal\\\"]]\"}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select2\", \"placeholder\": \"Product\", \"padding_right\": null, \"padding_left\": 50, \"name\": \"product\", \"model\": \"product\", \"on_change\": \"\", \"condition\": \"[[\\\"stock_balances.location_id\\\",\\\"=\\\",location]]\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"38\", \"text\": \"SEARCH\", \"background_color\": \"#00e676\", \"font_bold\": true, \"align\": \"center\", \"color\": \"#ffffff\", \"on_click\": \"search()\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"38\", \"text\": \"CLEAR\", \"background_color\": \"#f10000\", \"font_bold\": true, \"align\": \"center\", \"color\": \"#ffffff\", \"on_click\": \"click_clear()\"}]}], \"num_cols\": 4, \"col_widths\": [1, 1, 1, 1]}], \"min_height\": 50, \"margin_top\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"PRODUCT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"VIRTUAL QTY\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"PHYSICAL QTY\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"LOCATION\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#f3f4f6\"}, \"insert\": \"{name}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{virt_qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{phys_qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{location}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]], \"num_cols\": 4, \"table_bordered\": true, \"table_striped\": true, \"table_hover\": false, \"margin_left\": 30, \"margin_right\": 30, \"field_rows\": \"lines\"}], \"min_height\": 50}], \"min_height\": 250}, {\"type\": \"box\", \"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"38\", \"text\": \"BACK\", \"background_color\": \"#616161\", \"font_bold\": true, \"align\": \"center\", \"color\": \"#ffffff\", \"on_click\": \"click_back() \"}], \"min_height\": 50, \"padding_top\": 10}], \"min_height\": 650, \"background_color\": \"#eeeeee\", \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1}]}, \"code\": \"function click_back() {\\n  redirect_page(\\\"main1\\\");\\n}\\n\\nasync function search(){\\n  var data = get_data();\\n  if(!data.product)throw \\\"Missing Product!\\\";\\n  if(!data.location) throw \\\"Missing Location!\\\";\\n  var location_id = data.location?data.location.id:null;\\n  var product_id = data.product?data.product.id:null;\\n  //var conds=[[[\\\"product_id\\\", \\\"=\\\", product_id],[\\\"location_id\\\", \\\"=\\\", location_id]]];\\n  var conds=[[]];\\n  if(location_id) {\\n    conds[0].push([\\\"location_id\\\", \\\"=\\\", location_id]);\\n  };\\n  if(product_id) {\\n    conds[0].push([\\\"product_id\\\", \\\"=\\\", product_id]);\\n  };\\n  if(conds[0].length===0) throw \\\"Please Select Location or Product\\\";\\n  var fields = [\\\"qty_phys\\\",\\\"qty_virt\\\",\\\"product_id\\\",\\\"location_id\\\"];\\n  var res = await rpc_execute (\\\"stock.balance\\\",\\\"search_read\\\",[conds,fields]);\\n  _.forEach(res,o=>{\\n    var phys = o.qty_phys;\\n  \\tvar virt = o.qty_virt;\\n  \\tvar location = o.location_id[1];\\n  \\tvar product = o.product_id[1];\\n    var location_id = o.location_id[0];\\n    var product_id = o.product_id[0];\\n  \\tvar line = {\\n      phys_qty:phys,\\n      virt_qty:virt,\\n      name:product,\\n      location:location,\\n      product_id:product_id,\\n      location_id:location_id,\\n  \\t};\\n  \\tif(!data.lines) data.lines=[];\\n  \\tdata.lines.unshift(line);\\n  });\\n  set_data(data);\\n}\\n\\nfunction click_clear()\\n{\\n  set_data({\\n    location:null,\\n    product:null,\\n    lines:null,\\n  });\\n  //set_data({product:null});\\n}\"}, \"transaction\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"TRANSACTIONS\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 25, \"background_color\": \"#244692\", \"color\": \"#ffffff\"}], \"min_height\": 50, \"background_color\": \"#244692\"}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"ENTER RECEIPT NO\", \"margin_top\": 20, \"name\": \"receipt\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"50\", \"text\": \"SEARCH\", \"align\": \"center\", \"background_color\": \"#00b8d4\", \"font_bold\": true, \"color\": \"#ffffff\", \"on_click\": \"search()\", \"margin_left\": null, \"margin_top\": 10}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"50\", \"text\": \"CLEAR\", \"align\": \"center\", \"background_color\": \"#ff5252\", \"font_bold\": true, \"color\": \"#ffffff\", \"on_click\": \"click_clear()\", \"margin_top\": 10}]}], \"num_cols\": 4, \"col_widths\": [1, 1, 1, 1]}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"NO.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TIME\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CONTACT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"AMOUNT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"STATUS\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"ACTIONS\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{ref}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{write_time}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM {fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{state}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"scale\": 2, \"align\": \"center\", \"name\": \"selected\", \"margin_top\": 5, \"margin_bottom\": 5, \"margin_left\": 5, \"margin_right\": 5, \"limit\": 1}]], \"num_cols\": 6, \"border_width\": 1, \"border_top_width\": 1, \"border_left_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"field_rows\": \"lines\", \"margin_left\": 20, \"margin_right\": 20, \"table_bordered\": true, \"table_striped\": true, \"table_hover\": true, \"margin_top\": 20, \"_col_widths\": \"[1,1,1,1,1,1]\", \"col_widths\": [1, 1, 1, 1, 1, 1]}], \"min_height\": 450}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"width\": \"150\", \"height\": \"70\", \"text\": \"BACK\", \"align\": \"center\", \"background_color\": \"#616161\", \"font_bold\": true, \"color\": \"#ffffff\", \"on_click\": \"click_back()\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"150\", \"height\": \"70\", \"text\": \"REFUND/EXCHANGE\", \"align\": \"center\", \"background_color\": \"#ff0266\", \"font_bold\": true, \"color\": \"#ffffff\", \"on_click\": \"exchange()\", \"font_size\": null}]}, {\"children\": [{\"type\": \"button\", \"width\": \"150\", \"height\": \"70\", \"text\": \"REPRINT(ROLL)\", \"align\": \"center\", \"padding_bottom\": 10, \"background_color\": \"#0336ff\", \"font_bold\": true, \"color\": \"#ffffff\", \"on_click\": \"reprint_roll()\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"150\", \"height\": \"70\", \"text\": \"REPRINT(A4)\", \"align\": \"center\", \"padding_bottom\": 10, \"background_color\": \"#212121\", \"font_bold\": true, \"color\": \"#ffffff\", \"on_click\": \"reprint_A4()\"}]}], \"num_cols\": 4, \"col_widths\": [1, 1, 1, 1], \"margin_bottom\": null, \"padding_bottom\": 10}], \"min_height\": 50}], \"min_height\": 50}], \"min_height\": 50, \"background_color\": \"#eeeeee\"}], \"min_height\": 50, \"background_color\": \"#3f51b5\", \"border_width\": null, \"margin_left\": null, \"margin_right\": null}], \"min_height\": 600, \"background_color\": \"#eeeeee\"}]}, \"code\": \"async function on_load() {\\n  var location_id=get_cookie(\\\"location_id\\\");\\n  var date_cond=moment().format(\\\"YYYY-MM-DD\\\");\\n  if(location_id)\\n  {\\n    switch(location_id){\\n      case \\\"511\\\":\\n        var cond=[[[\\\"type\\\",\\\"=\\\",\\\"in\\\"],[\\\"date\\\", \\\"between\\\", [date_cond, date_cond]],[\\\"number\\\",\\\"ilike\\\",\\\"USJ\\\"],[\\\"pay_type\\\", \\\"=\\\", \\\"invoice\\\"],[\\\"account_id\\\", \\\"=\\\", 900]]];\\n        break;\\n      case \\\"512\\\":\\n        var cond=[[[\\\"type\\\",\\\"=\\\",\\\"in\\\"],[\\\"date\\\", \\\"between\\\", [date_cond, date_cond]],[\\\"number\\\",\\\"ilike\\\",\\\"SUN\\\"],[\\\"pay_type\\\", \\\"=\\\", \\\"invoice\\\"],[\\\"account_id\\\", \\\"=\\\", 900]]];\\n             }\\n  }\\n  //var cond=[[[\\\"type\\\",\\\"=\\\",\\\"in\\\"],[\\\"date\\\", \\\"between\\\", [date_cond, date_cond]]]];\\n  var fields = [\\\"direct_lines\\\",\\\"date\\\",\\\"write_time\\\",\\\"number\\\",\\\"amount_total\\\",\\\"contact_id\\\",\\\"state\\\",\\\"ref\\\"];\\n  var res = await rpc_execute (\\\"account.payment\\\",\\\"search_read_path\\\",[cond,fields]);\\n  var data = [];\\n  for (var i = 0; i < res.length; i++) {\\n    var payment = res[i].id;\\n    var date = res[i].date;\\n    var write_time = res[i].write_time;\\n    var amount = res[i].amount_total;\\n    var number = res[i].number;\\n    var contact_id = res[i].contact_id;\\n    var state = res[i].state;\\n    var ref = res[i].ref;\\n    var cond2 = [[\\\"id\\\",\\\"=\\\",contact_id]];\\n    var field2 = [\\\"name\\\"];\\n  \\tvar res2 = await rpc_execute(\\\"contact\\\",\\\"search_read_path\\\",[cond2,field2]);\\n    var contact_name = res2[0].name;\\n    data[i]={date:date,\\n             write_time: write_time,\\n             contact: contact_name,\\n             amount: amount,\\n             ref:ref,\\n             id:payment,\\n             state:state,\\n            };\\n   };\\n   set_data({lines:data});\\n}\\n\\nfunction click_back() {\\n  redirect_page(\\\"main1\\\");\\n}\\n\\nasync function search()\\n{\\n var data = get_data();\\n var location_id=get_cookie(\\\"location_id\\\");\\n if(!data.receipt) throw \\\"Missing Receipt No. \\\";\\n var number = data.receipt.toString();\\n if(location_id)\\n  {\\n    switch(location_id){\\n      case \\\"511\\\":\\n        var cond=[[\\\"ref\\\",\\\"ilike\\\",\\\"USJ\\\"],[\\\"pay_type\\\", \\\"=\\\", \\\"invoice\\\"],[\\\"account_id\\\", \\\"=\\\", 900]];\\n        break;\\n      case \\\"512\\\":\\n        var cond=[[\\\"ref\\\",\\\"ilike\\\",\\\"SUN\\\"],[\\\"pay_type\\\", \\\"=\\\", \\\"invoice\\\"],[\\\"account_id\\\", \\\"=\\\", 900]];\\n             }\\n  }\\n //var cond=[[\\\"number\\\",\\\"ilike\\\",number]];\\n var fields = [\\\"direct_lines\\\",\\\"date\\\",\\\"write_time\\\",\\\"number\\\",\\\"amount_total\\\",\\\"contact_id\\\",\\\"state\\\",\\\"ref\\\"];\\n var res = await rpc_execute (\\\"account.payment\\\",\\\"search_read\\\",[cond,fields]);\\n if(res.length==0)throw \\\" No record found !\\\";\\n var data = [];\\n \\n  for (var i = 0; i < res.length; i++) {\\n    var payment = res[i].id;\\n    var date = res[i].date;\\n    var write_time = res[i].write_time;\\n    var amount = res[i].amount_total;\\n    var number = res[i].number;\\n    var contact_id = res[i].contact_id;\\n    var state = res[i].state;\\n    var ref= res[i].ref;\\n    data[i]={date:date,\\n             write_time: write_time,\\n             contact: contact_id[1],\\n             amount: amount,\\n             ref:ref,\\n             id:payment,\\n             state:state,\\n            };\\n   };\\n   set_data({lines:data});\\n}\\n  \\nfunction click_clear() {\\n  var data = get_data();\\n  set_data({\\n    lines:null,\\n    receipt:null,\\n  });\\n  on_load();\\n}\\n\\n/*async function refund()\\n{\\n  var data=get_data();\\n  var select_lines=_.filter(data.lines,l=>l.selected);\\n  if (select_lines.length>1)throw \\\"Please select one transaction only!\\\";\\n  var pop = confirm(\\\"Are you sure you want to refund ? \\\");\\n  if (pop) { \\n  if (select_lines.length==0) throw \\\"No lines selected\\\";\\n  var payment_id=_.map(select_lines,\\\"id\\\");\\n  var id = payment_id[0];\\n  await rpc_execute(\\\"account.payment\\\",\\\"void\\\",[[id]],{context:{}});\\n  \\n  var cond=[[\\\"id\\\",\\\"=\\\",id]];\\n  var field = [\\\"ref\\\"];\\n  var res = await rpc_execute(\\\"account.payment\\\",\\\"search_read\\\",[cond,field]);\\n  var inv_no = res[0].ref;\\n  \\n  var cond2=[[[\\\"number\\\",\\\"=\\\",inv_no],[\\\"type\\\", \\\"=\\\", \\\"out\\\"]]];\\n  var field2 = [\\\"number\\\"];\\n  var res2 = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[cond2,field2]);\\n  var inv_id = res2[0].id;\\n  await rpc_execute(\\\"account.invoice\\\",\\\"void\\\",[[inv_id]],{context:{}});\\n  alert(\\\"The transaction has been voided\\\");\\n  }\\n  else{return 0};\\n}*/\\n\\nasync function exchange()\\n{\\n  var data=get_data();\\n  var select_lines=_.filter(data.lines,l=>l.selected);\\n  if (select_lines.length==0) throw \\\"No lines selected\\\";\\n  if (select_lines.length>1)throw \\\"Please select one transaction only!\\\";\\n  var password = prompt(\\\"Enter Password : \\\", \\\"Enter your password here\\\");\\n  if(password==\\\"123456\\\")\\n  {\\n  var payment_id=_.map(select_lines,\\\"id\\\");\\n  var id = payment_id[0];\\n  await rpc_execute(\\\"account.payment\\\",\\\"void\\\",[[id]],{context:{}});//void payment\\n  var cond=[[\\\"id\\\",\\\"=\\\",id]];\\n  var field = [\\\"ref\\\"];\\n  var res = await rpc_execute(\\\"account.payment\\\",\\\"search_read\\\",[cond,field]);\\n  var inv_no = res[0].ref;\\n\\n  var cond2=[[[\\\"number\\\",\\\"=\\\",inv_no],[\\\"type\\\", \\\"=\\\", \\\"out\\\"]]];\\n  var field2 = [\\\"number\\\"];\\n  var res2 = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[cond2,field2]); \\n  var inv_id = res2[0].id;\\n  await rpc_execute(\\\"account.invoice\\\",\\\"void\\\",[[inv_id]],{context:{}}); //void invoice\\n    \\n  var cond3=[[\\\"invoice_id\\\",\\\"=\\\",inv_id]];\\n  var field3=[\\\"number\\\"];\\n  var res3 = await rpc_execute(\\\"stock.picking\\\",\\\"search_read\\\",[cond3,field3]); \\n  var GI_ID=res3[0].id;\\n  \\n  await rpc_execute(\\\"stock.picking\\\",\\\"to_draft\\\",[[GI_ID]]); \\n   await rpc_execute(\\\"stock.picking\\\",\\\"void\\\",[[GI_ID]]); \\n    \\n   copy(inv_no);\\n  alert(\\\"The transaction has been voided\\\");\\n  }\\n  else{\\n  alert(\\\"Incorrect Password!\\\");\\n  };\\n}\\n\\nasync function copy(inv_no)\\n{\\n  var data=get_data();\\n  var cond2=[[[\\\"number\\\",\\\"=\\\",inv_no],[\\\"type\\\", \\\"=\\\", \\\"out\\\"]]];\\n  var field2 = [\\\"lines\\\"];\\n  var res2 = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[cond2,field2]);\\n  \\n  var data = [];\\n  for(var i=0;iundefined<res2.length;i++)\\n  {\\n  var line_id = res2[i].lines[0];\\n  var field3 = [\\\"product_id\\\",\\\"qty\\\",\\\"discount\\\"];\\n  var res3 = await rpc_execute(\\\"account.invoice.line\\\",\\\"read_path\\\",[[line_id],field3]);\\n  var product_id = res3[0].product_id;\\n  var qty = res3[0].qty;\\n  var discount = res3[0].discount\\n  data[i] = {\\n    pro_id:product_id,\\n    qty:qty,\\n    discount:discount,\\n  };\\n  };\\n    var form_data = {\\n    data2:data,\\n  };\\n  var form_id=page_params.form_id;\\n  var form_id=await rpc_execute(\\\"form.data\\\",\\\"set_value\\\",[form_id,form_data])\\n  redirect_page(\\\"main1\\\",{form_id:form_id});\\n}\\n\\nasync function reprint_roll(){\\n  var data=get_data();\\n  var location_id=get_cookie(\\\"location_id\\\");\\n  var select_lines=_.filter(data.lines,l=>l.selected);\\n  if (select_lines.length==0) throw \\\"No lines selected\\\";\\n  if (select_lines.length>1) throw \\\"Please select one transation only!\\\";\\n  var payment_id=_.map(select_lines,\\\"id\\\");\\n  //to get the ref of payment \\n  var id=payment_id[0];\\n  var cond=[[\\\"id\\\",\\\"=\\\",id]];\\n  var field = [\\\"ref\\\"];\\n  var res = await rpc_execute(\\\"account.payment\\\",\\\"search_read\\\",[cond,field]);\\n  var ref = res[0].ref;\\n  //search for invoice first by ref from payment\\n  var cond2=[[\\\"number\\\",\\\"=\\\",ref]];\\n  var field2 = [\\\"memo\\\"];\\n  var res2 = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[cond2,field2]);\\n  //check whether exist in invoice\\n  if(res2.length!=0)\\n  {\\n  var inv_receipt_id=res2[0].id;\\n  }\\n  //check whether exist in sale order\\n  if(res2.length==0)\\n  {\\n    var cond3=[[\\\"number\\\",\\\"=\\\",ref]];\\n    var field3=[\\\"number\\\"];\\n    var res3=await rpc_execute(\\\"sale.order\\\",\\\"search_read\\\",[cond3,field3]);\\n    var so_receipt_id=res3[0].id;\\n    \\n    var cond4=[[\\\"related_id\\\",\\\"=\\\",\\\"sale.order\\\"+\\\",\\\"+so_receipt_id]];\\n    var field4=[\\\"number\\\"];\\n    var res4 = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[cond4,field4]);\\n    var final_dep_receipt_id=res4[0].id;\\n  }\\n  \\n  if(location_id==511){\\n    if(inv_receipt_id)\\n    {\\n      var roll=\\\"sales_receipt_usj\\\";\\n      var url=\\\"https://backend-test.netforce.com/render_page_pos?db=nfo_ysis&page=\\\" + roll + \\\"&print=1&active_id=\\\" + inv_receipt_id+\\\"&no_download=1\\\"\\n    }\\n    if(final_dep_receipt_id)\\n    {\\n      var roll=\\\"dep_receipt_usj\\\";\\n      var url=\\\"https://backend-test.netforce.com/render_page_pos?db=nfo_ysis&page=\\\" + roll + \\\"&print=1&active_id=\\\" +final_dep_receipt_id+\\\"&no_download=1\\\"\\n    }\\n    //var A4=\\\"cash_sale_usj\\\";  \\n  }\\n  if(location_id==512) {\\n    if(inv_receipt_id)\\n    {\\n      var roll=\\\"sales_receipt_sunway\\\";\\n      var url=\\\"https://backend-test.netforce.com/render_page_pos?db=nfo_ysis&page=\\\" + roll + \\\"&print=1&active_id=\\\" + inv_receipt_id+\\\"&no_download=1\\\" \\n    }\\n    if(final_dep_receipt_id)\\n    {\\n      var roll=\\\"dep_receipt_sunway\\\";\\n      var url=\\\"https://backend-test.netforce.com/render_page_pos?db=nfo_ysis&page=\\\" + roll + \\\"&print=1&active_id=\\\" +final_dep_receipt_id+\\\"&no_download=1\\\"\\n    }\\n\\t//var A4=\\\"cash_sale_sunway\\\";\\n  }\\n  var data=await fetch(url);\\n  //var buf=await data.arrayBuffer();\\n  //buf=buf+\\\"\\\\r\\\\n\\\\x1b\\\\x69\\\";\\n  var text=await data.text();\\n  text=text+\\\"\\\\r\\\\n\\\\x1b\\\\x69\\\";\\n  console.log(\\\"data\\\",data);\\n  console.log(\\\"buf\\\",text);\\n  print_raw(\\\"POS-80C\\\",text);//POS-80C\\n  window.open(url+\\\"&no_download=1\\\");\\n  alert(\\\"Printed successfully\\\");\\n}\\n\\nasync function reprint_A4(){\\n  var data=get_data();\\n  var location_id=get_cookie(\\\"location_id\\\");\\n  var select_lines=_.filter(data.lines,l=>l.selected);\\n  if (select_lines.length==0) throw \\\"No lines selected\\\";\\n  if (select_lines.length>1) throw \\\"Please select one transation only!\\\";\\n    var payment_id=_.map(select_lines,\\\"id\\\");\\n  //to get the ref of payment \\n  var id=payment_id[0];\\n  var cond=[[\\\"id\\\",\\\"=\\\",id]];\\n  var field = [\\\"ref\\\"];\\n  var res = await rpc_execute(\\\"account.payment\\\",\\\"search_read\\\",[cond,field]);\\n  var ref = res[0].ref;\\n  //search for invoice first by ref from payment\\n  var cond2=[[\\\"number\\\",\\\"=\\\",ref]];\\n  var field2 = [\\\"memo\\\"];\\n  var res2 = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[cond2,field2]);\\n  //check whether exist in invoice\\n  if(res2.length!=0)\\n  {\\n  var inv_receipt_id=res2[0].id;\\n  }\\n  //check whether exist in sale order\\n  if(res2.length==0)\\n  {\\n    var cond3=[[\\\"number\\\",\\\"=\\\",ref]];\\n    var field3=[\\\"number\\\"];\\n    var res3=await rpc_execute(\\\"sale.order\\\",\\\"search_read\\\",[cond3,field3]);\\n    var so_receipt_id=res3[0].id;\\n    \\n    var cond4=[[\\\"related_id\\\",\\\"=\\\",\\\"sale.order\\\"+\\\",\\\"+so_receipt_id]];\\n    var field4=[\\\"number\\\"];\\n    var res4 = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[cond4,field4]);\\n    var final_dep_receipt_id=res4[0].id;\\n  }\\n  \\n  if(location_id==511){\\n    if(inv_receipt_id)\\n    {\\n      //\\\"http://pages-test.netforce.com/?db=nfo_ysis&page=\\\"+a4+\\\"&print=1&active_id=\\\"+inv_receipt_id;\\n      var a4=\\\"cash_sale_usj\\\";\\n      var url=\\\"http://pages-test.netforce.com/?db=nfo_ysis&page=\\\"+a4+\\\"&print=1&active_id=\\\"+inv_receipt_id;\\n    }\\n    if(final_dep_receipt_id)\\n    {\\n      var a4=\\\"cash_sale_usj\\\";\\n      var url=\\\"http://pages-test.netforce.com/?db=nfo_ysis&page=\\\"+a4+\\\"&print=1&active_id=\\\"+final_dep_receipt_id;\\n    }\\n    \\n  }\\n  if(location_id==512) {\\n    if(inv_receipt_id)\\n    {\\n      var a4=\\\"cash_sale_sunway\\\";\\n      var url=\\\"http://pages-test.netforce.com/?db=nfo_ysis&page=\\\"+a4+\\\"&print=1&active_id=\\\"+inv_receipt_id;\\n    }\\n    if(final_dep_receipt_id)\\n    {\\n      var a4=\\\"cash_sale_sunway\\\";\\n      var url=\\\"http://pages-test.netforce.com/?db=nfo_ysis&page=\\\"+a4+\\\"&print=1&active_id=\\\"+final_dep_receipt_id;\\n    }\\n  }\\n  window.open(url);\\n  alert(\\\"Printed successfully\\\");\\n}\\n\\n/*async function test_print2() {\\n  var data=await fetch(\\\"http://backend-test.netforce.com/render_page_pos?db=nfo_ysis&page=sales_receipt_usj&print=1&active_id=1547&no_download=1\\\");\\n  //var buf=await data.arrayBuffer();\\n  //buf=buf+\\\"\\\\r\\\\n\\\\x1b\\\\x69\\\";\\n  var text=await data.text();\\n  text=text+\\\"\\\\r\\\\n\\\\x1b\\\\x69\\\";\\n  console.log(\\\"data\\\",data);\\n  console.log(\\\"buf\\\",text);\\n  print_raw(\\\"POS-80C\\\",text);//POS-80C\\n}*/\"}, \"contact_search\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Search\", \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"button\", \"text\": \"SEARCH\", \"width\": \"100\", \"height\": \"50\", \"align\": \"center\", \"margin_top\": 5}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Fields\", \"margin_right\": 10}, {\"type\": \"button\", \"text\": \"CLEAR\", \"width\": \"100\", \"height\": \"50\", \"align\": \"center\", \"margin_top\": 5}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"border_right_width\": null}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Sort\", \"align\": \"left\", \"margin_left\": 10}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}, {\"type\": \"button\", \"text\": \"SORT\", \"width\": \"100\", \"height\": \"50\", \"align\": \"center\", \"margin_top\": 5}]}], \"num_cols\": 2, \"col_widths\": [2, 1], \"_col_widths\": \"[2,1]\"}], \"min_height\": 50, \"margin_top\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[], []]}], \"min_height\": 50}]}, \"code\": null}, \"main1(copy)\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"width\": \"110\", \"height\": \"50\", \"text\": \"MAIN\", \"padding_right\": null, \"align\": \"right\", \"font_bold\": true, \"font_size\": 14, \"background_color\": \"#e1f5fe\", \"color\": \"#000000\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"110\", \"height\": \"50\", \"text\": \"BACKEND\", \"font_bold\": true, \"font_size\": 14, \"on_click\": \"tab2()\", \"background_color\": \"#000000\", \"color\": \"#ffffff\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_bottom\": null, \"margin_top\": null}], \"min_height\": 35, \"border_right_width\": 1, \"background_color\": \"#244692\", \"padding_top\": null, \"padding_left\": null, \"padding_right\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"button\", \"text\": \"CLOSE SALE\", \"width\": \"120\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 45, \"background_color\": \"#ffffff\", \"on_click\": \"to_close_sale()\", \"font_size\": 16, \"margin_top\": 20, \"font_name\": \"Arial\"}, {\"type\": \"button\", \"text\": \"STOCK BALANCE\", \"width\": \"120\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 45, \"background_color\": \"#ffffff\", \"on_click\": \"stock_balance()\", \"font_size\": 16}, {\"type\": \"button\", \"text\": \"HISTORY\", \"width\": \"120\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 45, \"background_color\": \"#ffffff\", \"on_click\": \" transaction()\", \"font_size\": 16}, {\"type\": \"button\", \"text\": \"PRE-ORDER\", \"width\": \"120\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 150, \"background_color\": \"#ffffff\", \"on_click\": \"pre_order()\", \"font_size\": 16}, {\"type\": \"button\", \"text\": \"SIGN OUT\", \"width\": \"250\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": null, \"background_color\": \"#894242\", \"on_click\": \"sign_out()\", \"font_size\": 16, \"color\": \"#ffffff\"}], \"min_height\": 50, \"border_right_width\": 1, \"background_color\": \"#244692\", \"footer\": false, \"margin_bottom\": null, \"padding_bottom\": 100, \"margin_top\": null, \"padding_top\": 20, \"height\": \"625\"}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"~ Employee ~\", \"padding_top\": null, \"padding_right\": null, \"padding_left\": null, \"height\": 20, \"model\": \"hr.employee\", \"name\": \"employee\", \"on_change\": \"onchange_employee()\"}], \"min_height\": 50, \"padding_top\": 5, \"padding_left\": 10, \"padding_right\": 10}]}, {\"children\": []}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"{location}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 20, \"padding_top\": 10}], \"min_height\": 50}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1.5, 1, 1], \"padding_left\": 10, \"_col_widths\": \"[1.5,1,1]\"}], \"min_height\": 50, \"background_color\": \"#eeeeee\"}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"name\": \"customer\", \"placeholder\": \"~ Select Customer ~\", \"padding_bottom\": null, \"padding_right\": null, \"padding_left\": null, \"background_color\": \"#ffffff\", \"color\": \"#000000\", \"margin_left\": 10, \"model\": \"contact\", \"padding_top\": null, \"margin_top\": 5, \"margin_right\": 5}], \"min_height\": 50, \"margin_left\": 10, \"border_left_width\": 1, \"border_top_width\": 1, \"border_right_width\": 1, \"width\": \"\"}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"~ Select Product ~\", \"padding_right\": 5, \"margin_left\": 5, \"model\": \"product\", \"margin_top\": 5, \"name\": \"product\", \"on_change\": \"onchange_product_selection()\"}], \"min_height\": 50, \"border_top_width\": 1, \"border_right_width\": null, \"border_left_width\": 1, \"border_bottom_width\": 1, \"margin_left\": 10}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"~Type Barcode~\", \"padding_bottom\": 5, \"padding_top\": 8, \"scale\": null, \"padding_right\": 10, \"padding_left\": 10, \"name\": \"barcode\", \"on_change\": \"onchange_barcode_selection()\"}], \"min_height\": 50, \"border_top_width\": 1, \"border_right_width\": 1, \"border_bottom_width\": 1, \"margin_right\": 10}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1.5, 1, 1], \"_col_widths\": \"[1.5,1,1]\", \"padding_top\": 10, \"background_color\": \"#eeeeee\", \"border_top_width\": 1, \"border_radius\": 2}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"text\": \"SEARCH\", \"width\": \"80\", \"height\": \"30\", \"margin_top\": 5, \"margin_left\": null, \"align\": \"center\", \"font_size\": 10, \"font_bold\": false, \"color\": \"#ffffff\", \"background_color\": \"#00b8d4\", \"on_double_click\": \"\", \"on_click\": \"search_contact()\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"80\", \"height\": 30, \"text\": \"NEW\", \"font_size\": 10, \"font_bold\": false, \"padding_bottom\": null, \"margin_top\": 5, \"background_color\": \"#000000\", \"color\": \"#ffffff\", \"margin_left\": null, \"align\": \"center\", \"on_click\": \"customer()\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"80\", \"height\": 30, \"text\": \"CLEAR\", \"font_size\": 10, \"font_bold\": false, \"padding_bottom\": null, \"margin_top\": 5, \"background_color\": \"#ff5252\", \"color\": \"#ffffff\", \"margin_left\": null, \"on_click\": \"clear1()\", \"align\": \"center\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"border_width\": 1, \"margin_left\": 10, \"padding_bottom\": 5, \"padding_right\": 5}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"button\", \"width\": \"80\", \"height\": 30, \"text\": \"ENTER\", \"font_size\": 10, \"font_bold\": false, \"padding_bottom\": null, \"margin_top\": 5, \"background_color\": \"#00b8d4\", \"color\": \"#ffffff\", \"align\": \"center\", \"margin_bottom\": null, \"on_click\": \"enter_product()\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 10, \"border_right_width\": null, \"border_bottom_width\": 1, \"border_left_width\": 1, \"padding_bottom\": 5, \"padding_top\": 2}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"width\": \"80\", \"height\": 30, \"text\": \"CLEAR\", \"font_size\": 10, \"font_bold\": false, \"padding_bottom\": null, \"margin_top\": 5, \"background_color\": \"#ff5252\", \"color\": \"#ffffff\", \"margin_left\": 5, \"align\": \"center\", \"on_click\": \"clear2()\", \"margin_bottom\": 5}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"border_bottom_width\": 1, \"border_right_width\": 1, \"padding_top\": 2, \"margin_right\": 10}]}], \"num_cols\": 3, \"col_widths\": [1.5, 1, 1], \"_col_widths\": \"[1.5,1,1]\"}], \"min_height\": 50}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CODE\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DESCRIPTION\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"UNIT PRICE\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"QTY.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"UOM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DISC %\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"DISC AMT\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"AMOUNT\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{code}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{description}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"name\": \"price\", \"field_type\": \"number\", \"placeholder\": \"Price\", \"on_change\": \"on_change_subtotal(_cid)\"}, {\"type\": \"field\", \"field_type\": \"number\", \"padding_left\": 10, \"padding_right\": 10, \"name\": \"qty\", \"on_change\": \"onchange_qty(_data,_cid)\", \"placeholder\": \"Qty\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{uom}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"text\", \"name\": \"disc\", \"on_change\": \"onchange_qty(_data,_cid)\", \"onchange_method\": \"\", \"placeholder\": \"Disc\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(disc_amt)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"align\": \"center\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{fmt_money(amount)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"align\": \"center\"}, {\"type\": \"button\", \"width\": 30, \"height\": 30, \"text\": \"X\", \"font_size\": 10, \"font_bold\": true, \"padding_bottom\": null, \"margin_top\": 5, \"background_color\": \"#ff5252\", \"color\": \"#ffffff\", \"on_click\": \"delete_line(_cid)\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{index}\\n\"}]}}]], \"num_cols\": 9, \"padding_top\": 30, \"padding_left\": 10, \"padding_right\": 10, \"background_color\": \"#eeeeee\", \"table_striped\": true, \"field_rows\": \"lines\", \"table_hover\": true, \"table_bordered\": true}], \"min_height\": 50, \"padding_bottom\": null, \"page_break_after\": true, \"background_color\": \"#eeeeee\", \"border_top_width\": null, \"border_bottom_width\": null, \"border_radius\": 2, \"border_width\": null, \"color\": \"#eeeeee\"}], \"min_height\": 50, \"background_color\": \"#cacec2\"}]}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"font\": \"serif\", \"bold\": true}, \"insert\": \"{fmt_money(total)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_left\": 10, \"font_size\": 18, \"color\": \"#000000\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"DISCOUNT   :\"}, {\"attributes\": {\"bold\": true}, \"insert\": \" \"}, {\"attributes\": {\"font\": \"serif\"}, \"insert\": \"{fmt_money(discount)}\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 10, \"font_size\": 16, \"color\": \"#000000\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"TAX                 :\"}, {\"attributes\": {\"font\": \"serif\"}, \"insert\": \" {fmt_money(tax)}\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 10, \"color\": \"#000000\", \"font_size\": 16}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"font\": \"serif\", \"bold\": true}, \"insert\": \"ROUNDING  : \"}, {\"attributes\": {\"font\": \"serif\"}, \"insert\": \"{fmt_money(rounding)}\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 10, \"padding_bottom\": null, \"font_size\": 16}], \"min_height\": 50, \"border_top_width\": 1, \"border_right_width\": 1, \"border_left_width\": 1, \"background_color\": \"#ffffff\"}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"button\", \"text\": \"PAYMENT\", \"width\": \"150\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 80, \"margin_top\": null, \"padding_top\": null, \"background_color\": \"#64ffda\", \"color\": \"#000000\", \"on_click\": \"payment()\", \"font_size\": 16}, {\"type\": \"button\", \"text\": \"DEPOSIT\", \"width\": \"150\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 80, \"margin_top\": null, \"color\": \"#000000\", \"background_color\": \"#81d4fa\", \"font_size\": 16, \"on_click\": \"deposit()\"}, {\"type\": \"button\", \"text\": \"CLEAR ALL\", \"width\": \"150\", \"height\": \"60\", \"align\": \"center\", \"font_bold\": true, \"margin_bottom\": 20, \"margin_top\": null, \"background_color\": \"#ffccbc\", \"color\": \"#000000\", \"on_click\": \"cancel()\", \"font_size\": 16}, {\"type\": \"image\", \"min_height\": 50, \"padding_left\": null, \"padding_right\": null, \"width\": \"170\", \"height\": \"140\", \"align\": \"center\", \"image_file\": \"smartB logo final (without background) (1),YrSbmMXe85M=.png\"}], \"min_height\": 50, \"border_left_width\": 1, \"background_color\": \"#ffffff\", \"padding_top\": 20, \"padding_bottom\": 20, \"margin_bottom\": null}], \"min_height\": 50, \"border_top_width\": 1, \"background_color\": \"#fedbd0\"}]}], \"num_cols\": 3, \"col_widths\": [0.5, 2, 0.5], \"_col_widths\": \"[0.5,2,0.5]\", \"border_bottom_width\": 1}], \"min_height\": 50, \"background_color\": \"#eeeeee\"}]}, \"code\": \"async function on_load()\\n{\\n  \\n  if(page_params.form_id){\\n    var data3 = [];\\n    var form_id=page_params.form_id;\\n    var vals = await rpc_execute(\\\"form.data\\\",\\\"get_value\\\",[form_id]);\\n    var data2 = vals.data2;\\n    for (var i=0;iundefined<data2.length;i++)\\n    {\\n      var pro_id = data2[i].pro_id;\\n      var qty = data2[i].qty;\\n      var discount = data2[i].discount;\\n      data3[i] = {\\n      qty:qty,\\n      disc:discount,\\n    };\\n     set_data(data3);\\n     enter_product(pro_id);   \\n    };\\n    \\n  } \\n  /*if(page_params.topup_id)\\n  {\\n    var form_id=page_params.topup_id;\\n    var vals = await rpc_execute(\\\"form.data\\\",\\\"get_value\\\",[form_id]);\\n    var so_id = vals.so_id;\\n    var so_no = vals.so_no;\\n    var contact_id=vals.contact_id;\\n    console.log(contact_id);\\n    var display = \\\"TOP UP FOR \\\" + so_no;\\n    set_data({display_text:display});\\n    set_data({customer:contact_id});\\n  }*/\\n  var location_id=get_cookie(\\\"location_id\\\");\\n  if(!location_id){\\n    redirect_page(\\\"menu\\\");\\n  }\\n  if(location_id==511){\\n    set_data({location:\\\"U S J\\\"});\\n  }\\n  if(location_id==512)\\n  {\\n     set_data({location:\\\"SUNWAY\\\"});\\n  }\\n  var cookies = parseInt(get_cookie(\\\"employee_id\\\"));\\n  console.log(cookies+\\\"hi\\\");\\n  if(cookies)\\n    {\\n      set_data({employee:cookies});\\n    }\\n  var data = get_data();\\n  if (!data.lines){\\n  set_data({total:0.00});}  \\n}\\n\\nfunction to_close_sale() {\\n  redirect_page(\\\"close_sale\\\");\\n}\\n\\nfunction cancel() {\\n  var pop = confirm(\\\"Are you sure you want to clear cart?\\\");\\n  if (pop){\\n    set_data({lines:null});\\n  }\\n  else {\\n    return;\\n  }\\n}\\n\\nasync function deposit() {\\n   var data = get_data();\\n  var location_id=get_cookie(\\\"location_id\\\");\\n  if(!data.employee) throw \\\"Missing Employee!\\\";\\n  if(!data.customer) throw \\\"Missing Customer Contact!\\\";\\n  var total = data.total;\\n  var discount = data.discount;\\n  var subtotal = data.subtotal2;\\n  var lines = data.lines;\\n  var contact = data.customer;\\n  var employee_id = data.employee;\\n  var so_lines=lines.map(l=>{\\n    return {\\n      description: l.description,\\n      product_id: l.id,\\n      sale_account_id:l.sale_account_id,\\n      discount:l.disc?l.disc:0,\\n      amount:l.amount,\\n      qty:l.qty,\\n      unit_price:l.price,\\n      uom_id:l.uom_id,\\n      sequence_no:l.index,\\n      location_id:location_id,\\n    };\\n  });\\n  \\n  var pv_lines = lines.map(l=>{\\n     return {\\n     type: \\\"direct\\\",\\n   \\t description: \\\"Deposit\\\",\\n     amount:data.total,\\n    };\\n  });\\n  \\n  var field = [\\\"last_name\\\"];\\n  var cond = [[\\\"id\\\",\\\"=\\\",employee_id]];\\n  var res = await rpc_execute(\\\"hr.employee\\\",\\\"search_read_path\\\",[cond,field]);\\n  var name = res[0].last_name;\\n  \\n  if(data.total==0.00)throw \\\"Please add cart !\\\";\\n  var form_id=page_params.form_id;\\n  var form_data={\\n    total:total,\\n    discount:discount,\\n    subtotal : subtotal,\\n    inv_lines:so_lines,\\n    pv_lines:pv_lines,\\n    contact:data.customer,\\n    employee:name,\\n    employee_id:employee_id,\\n  };\\n  var form_id=await rpc_execute(\\\"form.data\\\",\\\"set_value\\\",[form_id,form_data]);\\n  redirect_page(\\\"deposit\\\",{form_id:form_id});\\n}\\n\\nfunction stock_balance(){\\n  redirect_page(\\\"balance\\\");\\n}\\nfunction tab2(){\\n  redirect_page(\\\"main2\\\");\\n}\\n\\nfunction transaction(){\\n  redirect_page(\\\"transaction\\\");\\n}\\n\\nfunction pre_order(){\\n  redirect_page(\\\"order\\\");\\n}\\n\\nfunction clear1() {\\n  set_data({customer:null});\\n}\\n\\nfunction clear2() {\\n  set_data({product:null,\\n        barcode:null\\n      });\\n}\\n\\nasync function search_contact()\\n{\\n  var data=get_data(); \\n  var cust_id = data.customer;\\n  if(data.customer)\\n  {\\n    var contact_url =\\\"https://ysis.smartb.co/action?name=contact&mode=form&active_id=\\\" + cust_id;\\n     window.open(contact_url);\\n  }\\n  else{throw \\\"Missing Customer\\\";}\\n}\\n\\n \\nasync function enter_product(pro_id)\\n{\\n \\n  var data = get_data();\\n  if(!data.product)\\n  {\\n     var product_code=data.barcode;\\n     var cond = [[\\\"code\\\",\\\"=\\\",product_code]];\\n     var fields= [\\\"code\\\"];\\n     var res_pro = await rpc_execute(\\\"product\\\",\\\"search_read\\\",[cond,fields]);\\n     var product_id = res_pro[0].id;\\n  }\\n  else{\\n  var product_id = data.product;\\n  }\\n  if(pro_id)\\n  {\\n    product_id = pro_id;\\n  }\\n  if(!product_id)throw \\\"Missing Product\\\";\\n  var fields = [\\\"code\\\",\\\"name\\\",\\\"uom_id\\\",\\\"uom_id.name\\\",\\\"sale_price\\\",\\\"categ_id.sale_account_id\\\",\\\"categ_id.sale_account_id.code\\\"];\\n  //var cond = [[\\\"id\\\",\\\"=\\\",product_id]];\\n  //\\\"categ_id.sale_account_id.code\\\"\\n  var product_res = await rpc_execute(\\\"product\\\",\\\"read_path\\\",[[product_id],fields]);\\n  var pro_code = product_res[0].code;\\n  var pro_name = product_res[0].name;\\n  var pro_uom_id = product_res[0].uom_id.id;\\n  var pro_uom_name = product_res[0].uom_id.name;\\n  var pro_price = product_res[0].sale_price;\\n  var sale_account_id = product_res[0].categ_id.sale_account_id.id;\\n  if(!sale_account_id) throw \\\"Missing Sales Account in Product\\\";\\n  if(!data.lines) data.lines=[];\\n  var product_line={\\n    id:product_id,\\n    uom_id:pro_uom_id,\\n    _cid:_.uniqueId(),\\n    index:data.lines.length+1,\\n    code:pro_code,\\n    description:pro_name,\\n    uom:pro_uom_name,\\n    price:pro_price, \\n    sale_account_id:sale_account_id,\\n  };\\n  data.lines.push(product_line);\\n  set_data(data);\\n}\\n\\nasync function delete_line(_cid)\\n{\\n  var data=get_data();\\n  var selected_line =_.filter(data.lines,l=>l._cid==_cid);\\n  var line = selected_line[0];\\n  var index = _.findIndex(data.lines,line);\\n  var line_disc_amt = data.lines[index].disc_amt;\\n  var line_total = data.lines[index].total;\\n  var line_subtotal = data.lines[index].amount;\\n  var m1 = (data.discount)-line_disc_amt;\\n  var m2 = (data.total)-line_subtotal;\\n  var m3 = (data.subtotal2)-line_total;\\n  set_data({discount:m1});\\n  set_data({total:m2});\\n  set_data({subtotal2:m3});\\n  data.lines=_.filter(data.lines,l=>l._cid!=_cid);\\n  _.forEach(data.lines,o=> {\\n    var index = data.lines.indexOf(o)+1;\\n    o.index=index;\\n  });\\n  set_data(data.lines);\\n}\\n\\nasync function on_change_subtotal(_cid)\\n{\\n  var data=get_data();\\n  var selected_line =_.filter(data.lines,l=>l._cid==_cid);\\n  console.log(\\\"onchage_line\\\",selected_line);\\n  var qty = _.map(selected_line,\\\"qty\\\");\\n  var disc= _.map(selected_line,\\\"disc\\\");\\n  var price= _.map(selected_line,\\\"price\\\");\\n  var index = _.findIndex(data.lines,selected_line[0]);\\n  var total_before_disc=qty*price;\\n  var disc_amt = (disc/100)*price;\\n  var disc_price=price-disc_amt;\\n  var total_pro = qty*disc_price;\\n  var total_disc= total_before_disc-total_pro;\\n  //var total2 = total_pro - disc_amt;\\n  var line = selected_line[0];\\n  data.lines[index].price=disc_price;\\n  data.lines[index].amount=total_pro;\\n  data.lines[index].disc_amt=total_disc;\\n  data.lines[index].total_pro=total_pro;\\n  console.log(\\\"data\\\",data);\\n  set_data(data);\\n  var arr=data.lines;\\n  var total3=0;\\n  var disc_total=0;\\n  var subtotal2=0;\\n  for (var i=0; iundefined<arr.length; i++) {\\n  var selected_line = arr[i];\\n  var count = selected_line.amount;\\n  var count2 = selected_line.disc_amt;\\n  var count3 = selected_line.total_pro;\\n  total3 = total3 + count;  \\n  disc_total = disc_total + count2;\\n  subtotal2 = subtotal2 + count3;\\n  };\\n  set_data({total:total3});\\n  set_data({discount:disc_total});\\n  set_data({subtotal2:subtotal2});\\n}\\n\\n\\n\\nasync function payment()\\n{\\n  var data = get_data();\\n  var location_id=get_cookie(\\\"location_id\\\");\\n  if(!data.employee) throw \\\"Missing Employee!\\\";\\n  if(!data.customer) throw \\\"Missing Customer Contact!\\\";\\n  var total = data.total;\\n  var discount = data.discount;\\n  var subtotal = data.subtotal2;\\n  var lines = data.lines;\\n  var contact = data.customer;\\n  var employee_id = data.employee;\\n  var inv_lines=lines.map(l=>{\\n    return {\\n      description: l.description,\\n      product_id: l.id,\\n      account_id:l.sale_account_id,\\n      discount:l.disc,\\n      amount:l.amount,\\n      qty:l.qty,\\n      unit_price:l.price,\\n      uom_id:l.uom_id,\\n    };\\n  });\\n  \\n  var GI_lines=lines.map(l=>{\\n return {\\n      product_id: l.id,\\n      qty:l.qty,\\n      uom_id:l.uom_id,\\n   \\t  location_to_id:507,\\n   \\t  location_from_id:location_id,\\n    };\\n  });\\n  \\n  var pv_lines = lines.map(l=>{\\n     return {\\n     type: \\\"direct\\\",\\n   description:l.description,\\n   amount: l.amount,\\n   account_id:l.sale_account_id,\\n     qty:l.qty,\\n     product_id:l.id,\\n     unit_price:l.price,\\n    };\\n  });\\n  \\n  var field = [\\\"last_name\\\"];\\n  var cond = [[\\\"id\\\",\\\"=\\\",employee_id]];\\n  var res = await rpc_execute(\\\"hr.employee\\\",\\\"search_read_path\\\",[cond,field]);\\n  var name = res[0].last_name;\\n  \\n  if(data.total==0.00)throw \\\"Please add cart !\\\";\\n  var form_id=page_params.form_id;\\n  var form_data={\\n    total:total,\\n    discount:discount,\\n    subtotal : subtotal,\\n    inv_lines: inv_lines,\\n    pv_lines:pv_lines,\\n    GI_lines:GI_lines,\\n    contact:data.customer,\\n    employee:name,\\n    employee_id:employee_id,\\n  };\\n  var form_id=await rpc_execute(\\\"form.data\\\",\\\"set_value\\\",[form_id,form_data]);\\n  redirect_page(\\\"payment\\\",{form_id:form_id});\\n}\\n\\nasync function on_barcode(barcode) {\\n  var data = get_data();\\n  var fields = [\\\"id\\\",\\\"code\\\",\\\"name\\\",\\\"uom_id\\\",\\\"uom_id.name\\\",\\\"sale_price\\\",\\\"sale_account_id\\\",\\\"categ_id.sale_account_id\\\",\\\"categ_id.sale_account_id.code\\\"];\\n  var field1=[\\\"name\\\"];\\n  var cond1 = [[\\\"code\\\",\\\"=\\\",barcode]];\\n  var product_res1 = await rpc_execute(\\\"product\\\",\\\"search_read\\\",[cond1,field1]);\\n  var pro_id=product_res1[0].id;\\n   var product_res = await rpc_execute(\\\"product\\\",\\\"read_path\\\",[[pro_id],fields]);\\n  var pro_code = product_res[0].code;\\n  var pro_name = product_res[0].name;\\n  var pro_uom = product_res[0].uom_id.id;\\n  var pro_uom_name = product_res[0].uom_id.name;\\n  var pro_price = product_res[0].sale_price;\\n  var product_id = product_res[0].id;\\n  var sale_account_id = product_res[0].categ_id.sale_account_id.id;\\n  var product_line={\\n    id:product_id,\\n    uom_id:pro_uom,\\n    uom:pro_uom_name,\\n    _cid:_.uniqueId(),\\n    code:pro_code,\\n    description:pro_name,\\n    price:pro_price, \\n    sale_account_id:sale_account_id,\\n  };\\n  if(!data.lines) data.lines=[];\\n  data.lines.push(product_line);\\n  set_data(data);\\n}\\n  \\nasync function onchange_qty(line,_cid) {\\n  console.log(\\\"onchange_qty\\\",line);\\n  var pricelist_id=6; // XXX\\n  var prod_id=line.id;\\n  var qty=line.qty;\\n  var price=await rpc_execute(\\\"price.list\\\",\\\"get_price\\\",[pricelist_id,prod_id,qty]);\\n  line.price=price;\\n  set_data({});\\n  on_change_subtotal(_cid);\\n}\\n\\nfunction customer()\\n{\\n  var url = \\\"https://ysis.smartb.co/action?name=contact&active_tab=1\\\";\\n  window.open(url);\\n}\\n  \\nasync function onchange_employee()\\n{\\n  var data = get_data();\\n  var employee = data.employee;\\n  console.log(employee);\\n  set_cookie(\\\"employee_id\\\",employee);\\n}\\n\\nfunction sign_out()\\n{\\n  var pop = confirm(\\\"Are you sure you want to sign out?\\\")\\n  if(pop)\\n  {\\n    redirect(\\\"https://ysis.smartb.co/login\\\");\\n  }\\n  else{\\n    return 0;\\n  }\\n}\\n\\nasync function onchange_product_selection()\\n{\\n  var data = get_data();\\n  if(data.product)\\n  {\\n    set_data({barcode:null});\\n  }\\n}\\n\\nasync function onchange_barcode_selection()\\n{\\n  var data = get_data();\\n  if(data.barcode)\\n  {\\n    set_data({product:null});\\n  }\\n}\"}, \"payment_copy\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM {fmt_money(amt_to_pay)}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 40, \"font_bold\": true, \"align\": \"left\", \"background_color\": \"#b0bec5\", \"padding_top\": 10}], \"min_height\": 100, \"background_color\": \"#b0bec5\", \"width\": \"300\", \"margin_left\": 150, \"margin_right\": 150}, {\"type\": \"box\", \"children\": [], \"min_height\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"PAID :\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"field\", \"field_type\": \"number\", \"placeholder\": \"PAID\", \"padding_top\": null, \"padding_left\": null, \"padding_right\": null, \"padding_bottom\": null, \"name\": \"amt_paid\", \"on_change\": \"onchange_amt_paid()\", \"margin_top\": null}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"padding_bottom\": 10}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"text\": \"EXACT\", \"size\": \"normal\", \"width\": 100, \"height\": 70, \"padding_top\": null, \"padding_left\": null, \"padding_right\": null, \"padding_bottom\": null, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10, \"background_color\": \"#1a237e\", \"method\": \"\", \"on_click\": \"set_amt_paid(amt_to_pay)\", \"color\": \"#ffffff\", \"font_bold\": true}]}, {\"children\": [{\"type\": \"button\", \"text\": \"{pmt_amt1}\", \"size\": \"normal\", \"width\": 100, \"height\": 70, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10, \"background_color\": \"#1a237e\", \"name\": \"\", \"on_click\": \"set_amt_paid(pmt_amt1)\", \"font_bold\": true, \"color\": \"#ffffff\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"{pmt_amt2}\", \"size\": \"normal\", \"width\": 100, \"height\": 70, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10, \"background_color\": \"#1a237e\", \"on_click\": \"set_amt_paid(pmt_amt2)\", \"color\": \"#ffffff\", \"font_bold\": true}]}, {\"children\": [{\"type\": \"button\", \"text\": \"{pmt_amt3}\", \"size\": \"normal\", \"width\": 100, \"height\": 70, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10, \"background_color\": \"#1a237e\", \"on_click\": \"set_amt_paid(pmt_amt3)\", \"color\": \"#ffffff\", \"font_bold\": true}]}, {\"children\": [{\"type\": \"button\", \"text\": \"{pmt_amt4}\", \"size\": \"normal\", \"width\": 100, \"height\": 70, \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 10, \"background_color\": \"#1a237e\", \"on_click\": \"set_amt_paid(pmt_amt4)\", \"font_bold\": true, \"color\": \"#ffffff\"}]}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1]}, {\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Transaction No:\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Enter Transaction No.\", \"name\": \"trans_no\"}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1]}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"70\", \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"CASH\", \"background_color\": \"#ff0266\", \"align\": \"right\", \"on_click\": \"pay(2)\", \"margin_left\": 10, \"margin_right\": 10, \"margin_top\": null, \"margin_bottom\": null}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"70\", \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"CHEQUE\", \"background_color\": \"#000000\", \"align\": \"left\", \"on_click\": \"pay(4)\", \"margin_right\": 10, \"padding_left\": null, \"padding_right\": null, \"margin_left\": 10}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"70\", \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"TRANSFER\", \"background_color\": \"#0336ff\", \"align\": \"left\", \"on_click\": \"pay(1)\", \"margin_right\": 10, \"margin_left\": 10}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"70\", \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"VISA\", \"background_color\": \"#d2abd9\", \"align\": \"left\", \"on_click\": \"pay(4)\", \"margin_right\": 10, \"margin_left\": 10}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"70\", \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"MASTER\", \"background_color\": \"#abd2d9\", \"align\": \"left\", \"on_click\": \"pay(5)\", \"margin_right\": 10, \"margin_left\": 10}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"70\", \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"Debit \", \"background_color\": \"#d68e8f\", \"align\": \"left\", \"on_click\": \"pay(6)\", \"margin_right\": 10, \"margin_left\": 10}]}], \"num_cols\": 6, \"col_widths\": [1, 1, 1, 1, 1, 1]}], \"min_height\": 50, \"padding_top\": 20, \"padding_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"            RETURN: \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"font_size\": 25, \"font_bold\": true}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM {fmt_money(amt_return)}\\n\"}]}, \"font_size\": 25, \"font_bold\": true, \"padding_left\": 10}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 1], \"font_size\": 25, \"font_bold\": true}], \"min_height\": 50}], \"min_height\": 50}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"background_color\": \"#eeeeee\", \"padding_top\": 50}], \"min_height\": 50, \"background_color\": \"#eeeeee\"}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"button\", \"width\": 100, \"height\": 50, \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"BACK\", \"background_color\": \"#616161\", \"align\": \"center\", \"on_click\": \"click_back()\"}]}, {\"children\": [{\"type\": \"button\", \"width\": 100, \"height\": 50, \"font_size\": 16, \"color\": \"#ffffff\", \"font_bold\": true, \"text\": \"CANCEL\", \"background_color\": \"#f10000\", \"align\": \"center\", \"on_click\": \"click_cancel()\"}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 1, 1, 1], \"padding_top\": 20, \"background_color\": \"#eeeeee\", \"padding_bottom\": 80}]}, \"code\": \"function click_back()\\n{\\nredirect_page(\\\"main1\\\");\\n}\\n\\nfunction click_cancel()\\n{\\n  var pop = confirm(\\\"Are you sure you want to cancel this transaction?\\\");\\n  if(pop)\\n  {\\n    redirect_page(\\\"main1\\\");\\n  }\\n  else \\n    return 0;\\n}\\n\\nasync function on_load()\\n{\\n  var form_id=page_params.form_id;\\n  var vals = await rpc_execute(\\\"form.data\\\",\\\"get_value\\\",[form_id]);\\n  var before_round = vals.total;\\n  var after_round = Math.round((before_round)/0.05)*0.05;\\n  var round = before_round - after_round;\\n  set_data({rounding:round});\\n  set_data({amt_to_pay:after_round});\\n  set_data({amt_disc:vals.disc_amount});\\n  set_data({subtotal:vals.subtotal});\\n  set_data({pro_id:vals.pro_id});\\n  var abs_amt = Math.abs(vals.total);\\n  var bills = [1,5,10,20,50,100];\\n  var pmt_amts=get_pay_amounts(abs_amt,bills);\\n  if(pmt_amts[0]==vals.total) pmt_amts=pmt_amts.slice(1);\\n  var pmt_amt1=pmt_amts[0];\\n  var pmt_amt2=pmt_amts[1];\\n  var pmt_amt3=pmt_amts[2];\\n  var pmt_amt4=pmt_amts[3];\\n  set_data({\\n      pmt_amt1: pmt_amt1,\\n      pmt_amt2: pmt_amt2,      \\n      pmt_amt3: pmt_amt3,  \\n      pmt_amt4: pmt_amt4,      \\n});\\n}\\n\\nfunction get_pay_amounts(abs_amt,bills) {\\n  if(_.isEmpty(bills)) return [];\\n  var bill_amt=bills[0];\\n  var n=Math.ceil(abs_amt/bill_amt);\\n  var amounts = [n*bill_amt];\\n  amounts=_.concat(amounts,get_pay_amounts(abs_amt,bills.slice(1)));\\n  amounts=_.uniq(amounts);\\n  amounts=_.orderBy(amounts);\\n  return amounts;\\n}\\n\\nfunction set_amt_paid(amt)\\n{\\n  var total=Math.round((amt)*100)/100;\\n  set_data({amt_paid:total});\\n  var data=get_data();\\n  var abs_amt_topay = Math.abs(data.amt_to_pay);\\n  var amt_return = Math.round((data.amt_paid-abs_amt_topay)*100)/100;\\n  set_data({amt_return:amt_return});\\n  console.log(amt_return+\\\"hi\\\");\\n}\\n\\nasync function onchange_amt_paid(){\\n\\tvar data = get_data();\\n  \\tvar abs_amt = Math.abs(data.amt_to_pay);\\n  \\tvar amt_return=Math.round((data.amt_paid-abs_amt)*100)/100;\\n  \\tif(data.amt_paid==null)\\n    {var amt_return  = null;}\\n  \\tset_data({amt_return:amt_return});\\n}\\n\\nasync function pay(button){\\n  var form_id=page_params.form_id;\\n  var vals = await rpc_execute(\\\"form.data\\\",\\\"get_value\\\",[form_id]);\\n  var date=moment().format(\\\"YYYY-MM-DD\\\").toString();\\n  var data = get_data();\\n  if(!data.amt_paid)throw \\\"Missing Paid Amount!\\\";\\n  var trans_id=data.trans_no;\\n  var line = vals.inv_lines;\\n  var pv_lines = vals.pv_lines;\\n  var GI_lines = vals.GI_lines;\\n  var discount=vals.discount;\\n  var contact_id=vals.contact;\\n  var employee = vals.employee;\\n  var rounding=data.rounding;\\n  var location_id=get_cookie(\\\"location_id\\\");\\n  if(location_id==511)\\n  {\\n  //var res=await rpc_execute(\\\"account.invoice\\\",\\\"default_get\\\",[[\\\"number\\\"]],{context:{defaults:{type:\\\"out\\\",inv_type:\\\"invoice\\\"},sequence_id:63}});\\n  var GI_res=await rpc_execute(\\\"stock.picking\\\",\\\"default_get\\\",[[\\\"number\\\"]],{context:{pick_type:\\\"out\\\",journal_id:13}});\\n  var GI_no=GI_res.number;\\n  var ctx={type:type,pay_type:\\\"direct\\\",sequence_id:65};\\n  var journal_id=13;\\n  }\\n  else\\n  {\\n  //var res=await rpc_execute(\\\"account.invoice\\\",\\\"default_get\\\",[[\\\"number\\\"]],{context:{defaults:{type:\\\"out\\\",inv_type:\\\"invoice\\\"},sequence_id:64}});\\n  var GI_res=await rpc_execute(\\\"stock.picking\\\",\\\"default_get\\\",[[\\\"number\\\"]],{context:{pick_type:\\\"out\\\",journal_id:14}});\\n  var GI_no=GI_res.number;\\n  var ctx={type:type,pay_type:\\\"direct\\\",sequence_id:66}; \\n  var journal_id=14;\\n  }\\n    switch(button){\\n      case 2:\\n    \\tvar method_id=2;\\n    \\tvar trans_no = null;\\n        break;\\n    case 4:\\n      if(!trans_id)throw \\\"Missing Transaction Number !\\\";\\n      var method_id=4;\\n      var trans_no =trans_id ;\\n      break;\\n    case 1:\\n      if(!trans_id)throw \\\"Missing Transaction Number !\\\";\\n      var method_id=1;\\n      var trans_no = trans_id;\\n      break;\\n    case 3:\\n      if(!trans_id)throw \\\"Missing Transaction Number !\\\";\\n      var method_id=3;\\n      var trans_no = trans_id;\\n      break\\n    case 5:\\n      if(!trans_id)throw \\\"Missing Transaction Number !\\\";\\n      var method_id=5;\\n      var trans_no = trans_id;\\n      break;\\n    case 6:\\n      if(!data.trans_no)throw \\\"Missing Transaction Number !\\\";\\n      var method_id=6;\\n      var trans_no = trans_id;\\n     }\\n \\n /* var invoice_vals = {\\n   number:res.number,\\n    due_date:date,\\n    date:date,\\n    type:\\\"out\\\",\\n    inv_type: \\\"invoice\\\",\\n    contact_id:contact_id,\\n    memo:employee,\\n    account_id:899,\\n    pay_method_id:method_id,\\n    transaction_no:trans_no,\\n    remarks:data.amt_paid,\\n    total:data.amt_to_pay,\\n    amount_rounding:rounding,\\n    lines:[],\\n  };\\n  \\n  _.forEach(line,o=>{\\n    invoice_vals.lines.push([\\\"create\\\",o]);\\n  });\\n  //invoice_vals.lines.push([\\\"create\\\",line]);\\n  var inv_id=await rpc_execute(\\\"account.invoice\\\",\\\"create\\\",[invoice_vals],{context:{}});\\n  await rpc_execute(\\\"account.invoice\\\",\\\"approve\\\",[[inv_id]],{context:{}}); \\n  await rpc_execute(\\\"account.invoice\\\",\\\"write\\\",[[inv_id],{state:\\\"paid\\\"}],{context:{}}); \\n  */\\n  var cash_account_id=900; //cash or credit card\\n  var type=\\\"in\\\";\\n  var employee_id = vals.employee_id;\\n  var pmt_vals={\\n\\t\\taccount_id: cash_account_id,\\n\\t\\ttype: type,\\n\\t\\tpay_type: \\\"direct\\\",\\n    \\temployee_id:employee_id,\\n    \\tcontact_id:contact_id,\\n    \\tmemo:data.amt_paid,\\n    \\tdiscount:discount,\\n   \\t\\tpay_method_id:method_id,\\n    \\ttransaction_no:trans_no,\\n\\t    lines:[],\\n\\t};\\n  _.forEach(pv_lines,o=>{\\n    pmt_vals.lines.push([\\\"create\\\",o]);  \\n  }); \\n \\n  var GI_vals = {\\n    journal_id:journal_id,\\n    //invoice_id:inv_id,\\n    date:date,\\n    contact_id:contact_id,\\n    number:GI_no,\\n    type:\\\"out\\\",\\n    lines:[],\\n  };\\n  _.forEach(GI_lines,o=>{\\n    GI_vals.lines.push([\\\"create\\\",o]);  \\n  });\\n  var pick_id= await rpc_execute(\\\"stock.picking\\\", \\\"create\\\",[GI_vals],{context:{}});\\n  await rpc_execute(\\\"stock.picking\\\",\\\"set_done\\\",[[pick_id]]);\\n\\n  var pmt_id=await rpc_execute(\\\"account.payment\\\",\\\"create\\\",[pmt_vals],{context:ctx});\\n  await rpc_execute(\\\"account.payment\\\",\\\"post\\\",[[pmt_id]]);\\n  console.log(location_id+\\\"hi\\\");\\n  print(pmt_id,location_id);\\n  alert(\\\"Payment recorded\\\");\\n  redirect_page(\\\"main1\\\");\\n}\\n\\nfunction print(pmt_id,location_id)\\n{\\n  switch(location_id){\\n    case \\\"511\\\":\\n      var url = \\\"http://pages-test.netforce.com/?db=nfo_ysis&page=sales_receipt_usj&print=1&active_id=\\\"+ pmt_id;\\n  \\t  var win=open(url);\\n      break;\\n    case \\\"512\\\":\\n      var url = \\\"http://pages-test.netforce.com/?db=nfo_ysis&page=sales_receipt_sunway&print=1&active_id=\\\"+ pmt_id;\\n  \\t  var win=open(url);\\n        }\\n   /* setTimeout(()=>{\\n      console.log(\\\"close window\\\");\\n    win.close();\\n  },5000);*/\\n}\"}, \"null\": {\"layout\": null, \"code\": null}, \"CC-001\": {\"layout\": {\"elements\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Stock Analysis\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": null, \"margin_left\": null, \"margin_right\": null, \"margin_bottom\": null, \"align\": \"center\", \"font_size\": 20, \"placeholder_color\": \"#000000\", \"show_phone\": false, \"background_color\": \"#001cff\", \"color\": \"#ffffff\", \"padding_top\": 20, \"padding_bottom\": 20}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"color\": \"#ffffff\"}, \"insert\": \"Stock Value by Warehouse\"}, {\"insert\": \"\\n\"}]}, \"padding_left\": 5, \"background_color\": \"#c4c4c4\"}]}, {\"children\": [{\"type\": \"field\", \"name\": \"date1\", \"field_type\": \"date\", \"placeholder\": \"Date\", \"align\": \"right\", \"margin_left\": 10, \"margin_right\": 5}]}, {\"children\": [{\"type\": \"button\", \"padding_top\": null, \"padding_left\": null, \"padding_right\": null, \"padding_bottom\": null, \"align\": \"left\", \"height\": \"35\", \"width\": \"100\", \"text\": \"GEN\", \"icon\": \"\", \"background_color\": \"#ff0000\", \"placeholder_color\": \"#ffffff\", \"on_click\": \"onchange_month1()\", \"dyn_props\": \"{hidden:hiden}\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1]}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"color\": \"#ffffff\"}, \"insert\": \"Inventory by Warehouse\"}, {\"insert\": \"\\n\"}]}, \"background_color\": \"#c2c2c2\"}]}, {\"children\": [{\"type\": \"field\", \"name\": \"date2\", \"field_type\": \"date\", \"placeholder\": \"Date\", \"align\": \"right\", \"margin_left\": 10, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"button\", \"width\": \"100\", \"height\": \"35\", \"text\": \"GEN\", \"background_color\": \"#ff0000\", \"placeholder_color\": \"#ffffff\", \"on_click\": \"onchange_month2()\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1]}]}], \"col_widths\": [1, 1]}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"chart\", \"name\": \"chart_data1\", \"chart_type\": \"bar\", \"chart_data\": \"chart_data1\"}]}, {\"children\": [{\"type\": \"chart\", \"chart_type\": \"bar\", \"chart_data\": \"chart_data2\", \"name\": \"chart_data2\"}]}], \"col_widths\": [1, 1]}]}, \"code\": \"async function on_load()\\n{\\n\\n  var date=moment().format(\\\"YYYY-MM-DD\\\");\\n  console.log(\\\"ddd\\\",date);\\n  set_data({date1:date,\\n            date2:date,\\n           });\\n  await onchange_month1();\\n  await onchange_month2();\\n  \\n} \\n\\nasync function onchange_month1()\\n{\\n  var data=get_data();\\n  if(!data.date1) throw \\\"Missing Date!\\\";\\n  var date1=data.date1;\\n  var chart_data=await cal_stock_value(date1);\\n  set_data({chart_data1:chart_data});\\n  console.log(\\\"xxx\\\",chart_data);\\n}\\n\\nasync function onchange_month2()\\n{\\n  var data=get_data();\\n  if(!data.date2) throw \\\"Missing Date!\\\";\\n  var date2=data.date2;\\n  var chart_data=await cal_stock_qty(date2);\\n  set_data({chart_data2:chart_data});\\n  console.log(\\\"xxx\\\",chart_data);\\n}\\n\\nasync function cal_stock_value(date1)\\n{\\n  var array=[];\\n  var loc_id=[];\\n  //var loc_id=[17,16,4,15];\\n  var field=[\\\"code\\\"];\\n  var cond=[[\\\"type\\\",\\\"=\\\",\\\"internal\\\"]];\\n  var loc_res=await rpc_execute(\\\"stock.location\\\",\\\"search_read_path\\\",[cond,field]);\\n  for(var i=0;iundefined<loc_res.length;i++)\\n  {\\n    loc_id.push(loc_res[i].id);\\n  }\\n  console.log(\\\"sss\\\",loc_id);\\n  const promises = _.map(loc_id,async l=>{\\n   var res=await rpc_execute(\\\"report.stock.summary\\\",\\\"create\\\",[{location_id:l, date_from:date1, date_to:date1}]);\\n    var get=await rpc_execute(\\\"report.stock.summary\\\",\\\"get_report_data\\\",[[res]],{context: {limit: 1000, offset: 0}});\\n    var loc_name=get.location_id[1];\\n    var amt=get.total_close_amt;\\n     array.push([loc_name,amt]);\\n  });\\n  await Promise.all(promises);\\n  return array;\\n  //console.log(\\\"xxx\\\",get1.location_id[1]);\\n}\\n\\nasync function cal_stock_qty(date2)\\n{\\n  var array=[];\\n  var loc_id=[];\\n  //var loc_id=[17,16,4,15];\\n  var field=[\\\"code\\\"];\\n  var cond=[[\\\"type\\\",\\\"=\\\",\\\"internal\\\"]];\\n  var loc_res=await rpc_execute(\\\"stock.location\\\",\\\"search_read_path\\\",[cond,field]);\\n  for(var i=0;iundefined<loc_res.length;i++)\\n  {\\n    loc_id.push(loc_res[i].id);\\n  }\\n  console.log(\\\"sss\\\",loc_id);\\n  const promises = _.map(loc_id,async l=>{\\n   var res=await rpc_execute(\\\"report.stock.summary\\\",\\\"create\\\",[{location_id:l, date_from:date2, date_to:date2}]);\\n    var get=await rpc_execute(\\\"report.stock.summary\\\",\\\"get_report_data\\\",[[res]],{context: {limit: 1000, offset: 0}});\\n    var loc_name=get.location_id[1];\\n    var qty=get.total_close_qty;\\n     array.push([loc_name,qty]);\\n  });\\n  await Promise.all(promises);\\n  return array;\\n  //console.log(\\\"xxx\\\",get1.location_id[1]);\\n}\\n\\nfunction click(){\\n  var hid = false;\\n  set_data({hiden: hid})\\n}\\n\\n/*function pop(){\\n  var hid = true;\\n  set_data({hiden: hid})\\n}*/\"}, \"new_db\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Create Database\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 20}, {\"type\": \"field\", \"field_type\": \"text\", \"name\": \"dbname\", \"placeholder\": \"Database Name (The New DB Name)\", \"margin_bottom\": 10, \"width\": \"200\"}, {\"type\": \"field\", \"margin_bottom\": 10, \"field_type\": \"text\", \"name\": \"template\", \"placeholder\": \"Template Name (The Existing DB Name)\"}, {\"type\": \"button\", \"text\": \"Create Database\", \"on_click\": \"create_db()\"}], \"min_height\": 50, \"padding_top\": 20, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 20}]}, \"code\": \"async function create_db() {\\n  var data=get_data();\\n  var dbname=data.dbname;\\n  if (!dbname) throw \\\"Missing database name\\\";\\n  var template=data.template;\\n  if (!template) throw \\\"Missing template\\\";\\n  var res=await rpc_execute(\\\"database\\\",\\\"create_db\\\",[dbname,template]);\\n  alert(\\\"Database created: \\\"+res.url);\\n}\"}, \"delete_db\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Delete Database\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 20}, {\"type\": \"field\", \"name\": \"dbname\", \"field_type\": \"text\", \"placeholder\": \"Database Name\", \"margin_bottom\": 10}, {\"type\": \"field\", \"field_type\": \"password\", \"name\": \"password\", \"placeholder\": \"Password\", \"margin_bottom\": 20}, {\"type\": \"button\", \"text\": \"Delete Database\", \"on_click\": \"delete_db()\"}], \"min_height\": 50, \"padding_top\": 20, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 20}]}, \"code\": \"async function delete_db() {\\n  var data=get_data();\\n  if (!data.dbname) throw \\\"Missing database name\\\";  \\n  if (data.password!=\\\"Smartb2020\\\") throw \\\"Invalid password\\\";\\n  var res=confirm(\\\"Are you sure?\\\");\\n  if (!res) return;\\n  await rpc_execute(\\\"database\\\",\\\"delete_db\\\",[data.dbname]);\\n  alert(\\\"Database deleted\\\");\\n}\"}, \"main_desktop\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Main\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"align\": \"right\", \"font_size\": 24, \"font_bold\": true}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"_col_widths\": \"[1,1,1]\", \"margin_left\": 30, \"margin_right\": 30, \"vertical_align\": \"middle\", \"align\": \"center\"}], \"min_height\": null, \"background_color\": null, \"border_width\": null, \"border_color\": \"#000000\", \"padding_top\": 30, \"padding_bottom\": null, \"align\": \"center\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#888888\"}, \"insert\": \"Username\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 5, \"margin_top\": 15}, {\"type\": \"field\", \"field_type\": \"text\", \"name\": \"username\", \"placeholder\": \"\", \"margin_bottom\": 20, \"color\": \"#333333\", \"placeholder_color\": \"#cccccc\", \"border_radius\": 5}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#888888\"}, \"insert\": \"Password\"}, {\"insert\": \"\\n\"}]}, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"password\", \"name\": \"password\", \"placeholder\": \"\", \"margin_bottom\": 20, \"color\": \"#333333\", \"placeholder_color\": \"#cccccc\", \"border_radius\": 5}, {\"type\": \"button\", \"text\": \"Login\", \"size\": \"large\", \"intent\": \"primary\", \"background_color\": \"#f28705\", \"color\": \"#ffffff\", \"padding_top\": null, \"padding_bottom\": null, \"font_bold\": true, \"on_click\": \"login()\", \"width\": \"100%\", \"margin_left\": null, \"margin_right\": null, \"border_radius\": 5, \"margin_bottom\": 15, \"margin_top\": 30}, {\"type\": \"button\", \"size\": \"large\", \"text\": \"test only\", \"on_click\": \"test()\"}], \"min_height\": null, \"padding_top\": 15, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 30, \"background_color\": null, \"margin_left\": 20, \"margin_right\": 20, \"border_color\": \"#cccccc\", \"border_bottom_width\": null, \"show_phone\": false, \"show_tablet\": false, \"vert_scroll\": true, \"page_break_after\": true, \"height\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\", \"bold\": true}, \"insert\": \"test\"}, {\"insert\": \"\\n\"}]}, \"on_click\": \"set_page(\\\"desktop_test_page\\\")\", \"color\": \"#505050\", \"align\": \"left\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#888888\"}, \"insert\": \"Powered by \"}, {\"attributes\": {\"color\": \"#888888\", \"bold\": true}, \"insert\": \"SmartB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"color\": \"#000000\", \"align\": \"right\", \"on_click\": \"\"}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"_col_widths\": \"[1,1,1]\", \"margin_bottom\": 15, \"vertical_align\": \"middle\", \"align\": \"right\"}], \"min_height\": null, \"padding_left\": 40, \"padding_right\": 40}], \"background_color\": \"#ffffff\", \"custom_css\": \"body {\\n  padding: 1rem;\\n}\"}, \"code\": \"async function test(){\\n  var local_model = \\\"stock.picking\\\";\\n  var id = 273;\\n  var delete_items = await rpc_execute(local_model,\\\"read\\\",[[id],[\\\"state\\\"]]);\\n  console.log(delete_items);\\n}\\n\\nasync function on_load(){  \\n  console.log(\\\"start loading.\\\");\\n  if(window.setInterval) {\\n    console.log(\\\"clearInterval\\\");\\n    clearInterval(window.setInterval);\\n  } \\n  clear_login_cookies();\\n  load_model(); \\n  if(!get_offline()){\\n    download_user_new();\\n  }\\n  console.log(\\\"loaded success.\\\");\\n  setInterval(sync,600000);\\n}\\n\\nasync function clear_login_cookies(){ \\n  console.log(\\\"start clearing login cookies.\\\");\\n  if(get_cookie(\\\"user_id\\\")) clear_cookie(\\\"user_id\\\");\\n  if(get_cookie(\\\"company_id\\\")) clear_cookie(\\\"company_id\\\");\\n  if(get_cookie(\\\"token\\\")) clear_cookie(\\\"token\\\");\\n  if(get_cookie(\\\"profile\\\")) clear_cookie(\\\"profile\\\");\\n  if(get_cookie(\\\"password\\\")) clear_cookie(\\\"password\\\");\\n  if(get_cookie(\\\"username\\\")) clear_cookie(\\\"username\\\");  \\n  console.log(\\\"done clearing login cookies.\\\");\\n}\\n\\nfunction load_model() {\\n  console.log(\\\"start loading model.\\\");\\n  create_model('stock.move', vals_stock_move);\\n  create_model('stock.picking', vals_stock_picking);\\n  create_model('stock.lot', vals_stock_lot);\\n  create_model('stock.balance',vals_stock_balance);\\n  create_model('base.user',vals_user);\\n  create_model('product',vals_product);\\n  create_model('uom',vals_uom);\\n  //avoid repeat download\\n  create_model('last_updated',vals_last_updated);\\n  //for offline operation\\n  create_model('operation_offline',vals_operation_offline);\\n  console.log(\\\"done loading model.\\\");\\n}\\n\\nfunction create_model(name, fields) {\\n  console.log(\\\"start creating model:\\\", name);\\n  class className extends Model {\\n    _name = name;\\n    _fields = fields;\\n    get_field_code(){\\n      return Object.keys(this._fields).filter(item=>{return item!=\\\"db_id\\\" && item!=\\\"lot_num\\\"&& item!=\\\"synced\\\"&& item!=\\\"deleted\\\"});  //Max filter out \\\"db_id\\\"; \\n    }\\n  }\\n  className.register();\\n  let m = get_model(name);\\n  console.log(`Model created: ${name}`,m);\\n}\\n\\nasync function download_user_new(){\\n  try{\\n    console.log(\\\"start download users.\\\");\\n    var res=await rpc_execute(\\\"login\\\",\\\"login\\\",[\\\"Admin\\\",\\\"Smartb2020\\\"]);\\n    set_cookie(\\\"token\\\",res.token); // only token is used to verify user permission\\n    var res=await rpc_execute(\\\"base.user\\\",\\\"get_enc_password\\\",[]);\\n    await update_local_db(\\\"base.user\\\", res);\\n    clear_cookie(\\\"token\\\");// clear_cookie(\\\"user_id\\\"); clear_cookie(\\\"profile\\\"); clear_cookie(\\\"company_id\\\");\\n  }catch(err){\\n    throw err;\\n  }\\n  console.log(\\\"download user success.\\\");\\n} \\n\\nasync function update_local_db (local_model, items) {  \\n  try{\\n    var model=get_model(local_model);\\n    var fields = await model.get_field_code();\\n    var datas = await rpc_execute(local_model,\\\"search\\\",[[]]);\\n    var delete_items = await get_model(local_model).search([\\\"not\\\",[\\\"db_id\\\",\\\"in\\\", datas]]);\\n    for(var item of delete_items){\\n      await get_model(local_model).delete([item]);\\n    }\\n    for (var item of items) { \\n      var vals={};\\n      if(!item){\\n        throw \\\"there is some null elements while update \\\"+ local_model +\\\" with \\\"+items; \\n      }\\n      vals[\\\"db_id\\\"]=item.id;//Max: see class' get_field_code(), removed \\\"db_id\\\" among the field_codes\\n      vals[\\\"synced\\\"]=true;\\n      vals[\\\"deleted\\\"]=false;\\n      for(var field of fields){\\n        if(item[field]){\\n          if(typeof(item[field])==\\\"object\\\") vals[field]=item[field][0];  //for some fields that have more than one element, such as product_id\\n          else vals[field] = item[field];\\n        }\\n        else vals[field]=0;\\n      }\\n      var offline_items = await model.search_read([[\\\"db_id\\\",\\\"=\\\",item.id]],[\\\"db_id\\\"]);\\n      console.log('max offline_items',offline_items);\\n      if (offline_items.length>0) {\\n        var offline_item=offline_items[0];  \\n        var offline_item_id = offline_item.id;\\n        console.log(`Local Model: ${local_model}, ${offline_item[\\\"db_id\\\"]} already in db, updating...`);\\n        await model.write([offline_item_id],vals);//WRITE  \\n      } else {\\n        console.log(`Local Model: ${local_model}, item not yet in db, creating...`); \\n        var offline_item_id=await model.create(vals);//CREATE DB  \\n      }\\t\\n    }//end for-of\\n    \\n    var now=moment().format(\\\"YYYY-MM-DD HH:mm:ss\\\");\\n    var last_updated = await get_model(\\\"last_updated\\\").search_read([[\\\"name\\\",\\\"=\\\",local_model]],[]);\\n    if(last_updated.length==0){\\n      await get_model(\\\"last_updated\\\").create({name:local_model,time:now,});\\n    }\\n    else{\\n      await get_model(\\\"last_updated\\\").write(last_updated[0].id,{time: now});\\n    }\\n  }catch(err){\\n    throw err;\\n  }\\n} \\n\\nasync function login() {\\n  var data=get_data();\\n  if(!data)throw \\\"no data!\\\";\\n  var username=data.username;\\n  var password=data.password;\\n  try{\\n    var res=await rpc_execute(\\\"login\\\",\\\"login\\\",[username,password]);\\n    set_cookie(\\\"user_id\\\",res.user_id);\\n    set_cookie(\\\"token\\\",res.token);\\n    set_cookie(\\\"profile\\\",res.profile_code);\\n    set_cookie(\\\"company_id\\\",res.company_id);\\n    console.log(\\\"set cookie done.\\\")\\n  } \\n  catch (err) { \\n    var user = await get_model('base.user').search_read([[\\\"login\\\",\\\"=\\\",username]],[\\\"db_id\\\",\\\"profile_id\\\",\\\"company_id\\\",\\\"password\\\"]);\\n    if(user.length == 0) throw \\\"User not existed\\\";\\n    var password_valid=await check_password(password,user[0].password);\\n    if(password_valid){\\n      set_cookie(\\\"username\\\",username); //rpc login again when trying to validate stock mvmt\\n      set_cookie(\\\"password\\\",password);\\n    }else{\\n      dialog.showMessageBox({title:\\\"SmartB Desktop\\\", message:`Invalid password for login: ${username}`});\\n      return;\\n    }\\n  }\\n\\n  if(data.username == 'Say Peng'){  //go to zeek 01:\\n    var model_names = [\\\"stock.picking\\\",\\\"stock.move\\\",\\\"stock.lot\\\",\\\"stock.balance\\\",\\\"product\\\",\\\"uom\\\"];\\n    await update_local_dbs(model_names);\\n    set_page(\\\"first_page_with_serial_no\\\");\\n  }\\n  else{\\n    console.log(\\\"invalid credentials \\\" + data.username);\\n  }\\n} \\n\\n//Max 28 Jan 2021 : to be used after \\\"crypto\\\" library is installed\\nasync function check_password(password, enc_password){\\n  //const crypto_pbkdf2=util.promisify(crypto.pbkdf2);\\n  let [algo,salt,hash]=enc_password.split('$');\\n  console.log(\\\"max \\\\n algo\\\",algo,\\\"\\\\n salt\\\",salt,\\\"\\\\n hash\\\",hash);\\n  if(algo !==\\\"pbkdf2\\\"){\\n    dialog.showMessageBox({title:\\\"SmartB Desktop\\\", message:\\\"Unknown password encryption algorithm\\\"});\\n    return;\\n  }\\n  let hash2=await pbkdf2_hex(password,salt);\\n  console.log(\\\"max hash2\\\",hash2);\\n  return hash2===hash;\\n}\\n\\nasync function pbkdf2_hex(password,salt,iterations=1000,keylen=24,digest='sha1'){\\n  console.log(\\\"inside pbkdf2_hex\\\");\\n  const crypto_pbkdf2=util.promisify(crypto.pbkdf2);\\n  console.log(\\\"before hash\\\");\\n  let hash = await crypto_pbkdf2(password, salt, iterations, keylen, digest);  \\n  console.log(\\\"hash\\\",hash);\\n  return hash.toString('hex');\\n} \\n\\nasync function update_local_dbs(model_names){\\n  try{\\n    for(var model_name of model_names){\\n      var model = get_model(model_name);\\n      var cond = [];\\n      var last_updated = await get_model(\\\"last_updated\\\").search_read([[\\\"name\\\",\\\"=\\\",model_name]],[\\\"time\\\"]);\\n      if(last_updated.length>0){\\n        cond.push([\\\"write_time\\\",\\\">\\\",last_updated[0].time]);\\n      }\\n      var datas = await rpc_execute(model_name, \\\"search_read\\\", [cond,model.get_field_code()]);\\n      await update_local_db(model_name,datas);\\n    }\\n  }catch(err){\\n    throw err;\\n  }\\n}\\n\\n\\nasync function sync(){\\n  try{\\n    console.log(\\\"start sync\\\");\\n    if(get_offline()){\\n      dialog.showMessageBox({message:\\\"Please connect the internet to sync.\\\"});\\n      return;\\n    }\\n    sync_specific(\\\"create\\\");\\n    sync_specific(\\\"other\\\");\\n    sync_specific(\\\"delete\\\");\\n  }\\n  catch(err){\\n    throw err;\\n  }\\n  var ids = await get_model(\\\"operation_offline\\\").search([]);\\n  await get_model(\\\"operation_offline\\\").delete(ids);\\n  var models = [\\\"stock.picking\\\",\\\"stock.move\\\",\\\"stock.lot\\\",\\\"stock.balance\\\",\\\"product\\\",\\\"uom\\\"];\\n  update_local_dbs(models);\\n  dialog.showMessageBox({message:\\\"Sync done.\\\"});\\n}\\n\\nasync function sync_specific(type){//type:create,delete,other\\n  try{\\n    console.log(\\\"start sync \\\"+type+\\\" item.\\\");\\n    var fields = [\\\"db_id\\\",\\\"name\\\",\\\"model\\\"];\\n    if(type==\\\"other\\\"){\\n      var cond=[[\\\"name\\\",\\\"!=\\\",\\\"create\\\"],[\\\"name\\\",\\\"!=\\\",\\\"delete\\\"]];\\n    }\\n    else{\\n      var cond = [[\\\"name\\\",\\\"=\\\",type]];\\n    } \\n    var operations =await get_model(\\\"operation_offline\\\").search_read(cond,fields);\\n    for(var operation of operations){\\n      var model = await get_model(operation.model);\\n      if(operation.name==\\\"create\\\"){\\n        var offline_item = await model.read([operation.db_id],model.get_field_code());\\n        var item = offline_item[0];\\n        var value ={};\\n        for(var field of model.get_field_code()){\\n          value[field] = item[field];\\n        }\\n        var id = await rpc_execute(operation.model,\\\"create\\\",[value]);\\n        await model.write([operation.db_id],{db_id:id});\\n      }\\n      else{\\n        var item = await model.read([operation.db_id],[\\\"db_id\\\"]);\\n        await rpc_execute(operation.model,operation.name,[[item[0].db_id]]);\\n      }\\n    }\\n    console.log(\\\"end sync \\\"+type+\\\" item.\\\");\\n  }\\n  catch(err){\\n    throw err;\\n  }\\n}\\n\\n\\nasync function exit() {\\n  //await set_data_store(\\\"database\\\",null);\\n  close_app();\\n}\\n\\nvar vals_stock_picking = {\\n  db_id:fields.Integer(\\\"db_id\\\"),\\n  number: fields.Char(\\\"Number\\\"),\\n  date: fields.Char(\\\"Date\\\"),\\n  contact_id: fields.Integer(\\\"Contact id\\\"),\\n  invoice_id: fields.Integer(\\\"Invoice id\\\"),\\n  type: fields.Char(\\\"Type\\\"),\\n  state: fields.Char(\\\"State\\\"),\\n  synced: fields.Integer(\\\"Synced\\\"),\\n  deleted: fields.Integer(\\\"Deleted\\\"),\\n  ref: fields.Char(\\\"Reference\\\"),\\n};\\n\\nvar vals_stock_move = {\\n  db_id:fields.Integer(\\\"db_id\\\"),\\n  number: fields.Char(\\\"Number\\\"),\\n  picking_id: fields.Integer(\\\"Picking id\\\"),\\n  product_id: fields.Integer(\\\"Product\\\"),\\n  invoice_id: fields.Integer(\\\"Invoice\\\"),\\n  uom_id: fields.Integer(\\\"uom\\\"),\\n  lot_id: fields.Integer(\\\"Lot id\\\"),\\n  cost_price: fields.Decimal(\\\"Cost Price\\\"),\\n  cost_amount: fields.Decimal(\\\"Cost Amount\\\"),\\n  location_from_id:fields.Integer(\\\"Location From\\\"),\\n  location_to_id:fields.Integer(\\\"Location To\\\"),\\n  sequence:fields.Integer(\\\"Sequence\\\"),\\n  qty:fields.Integer(\\\"Qty\\\"),\\n  track_id: fields.Integer(\\\"Track id\\\"),\\n  notes: fields.Char(\\\"Notes\\\"),\\n  synced: fields.Integer(\\\"Synced\\\"),\\n  deleted: fields.Integer(\\\"Deleted\\\"),\\n};\\n\\nvar vals_stock_lot = {\\n  db_id:fields.Integer(\\\"db_id\\\"),\\n  number: fields.Char(\\\"Number\\\"),\\n  product_id: fields.Integer(\\\"Product id\\\"),\\n  stock_balances: fields.Char(\\\"Stock Quantities\\\"),\\n  synced: fields.Integer(\\\"Synced\\\"),\\n  deleted: fields.Integer(\\\"Deleted\\\"),\\n};\\n\\nvar vals_stock_balance = {\\n  db_id:fields.Integer(\\\"db_id\\\"),\\n  lot_id: fields.Integer(\\\"Lot\\\"),\\n  product_id: fields.Integer(\\\"Product id\\\"),\\n  qty_phys: fields.Integer(\\\"Qty Phys\\\"),\\n  uom_id: fields.Integer(\\\"UoM\\\"),\\n  location_id: fields.Integer(\\\"Location\\\"),\\n  synced: fields.Integer(\\\"Synced\\\"),\\n  deleted: fields.Integer(\\\"Deleted\\\"),\\n};\\n\\nvar vals_user = {\\n  db_id: fields.Integer(\\\"db_id\\\"),\\n  name: fields.Char(\\\"Name\\\"),\\n  login: fields.Char(\\\"Login\\\"),\\n  profile_id: fields.Integer(\\\"Profile\\\"),\\n  company_id: fields.Char(\\\"Company\\\"),\\n  password: fields.Char(\\\"Password\\\", size=256),\\n  //device_tokens: fields.Char(\\\"Device Tokens\\\"),\\n  synced: fields.Integer(\\\"Synced\\\"),\\n  deleted: fields.Integer(\\\"Deleted\\\"),\\n};\\n\\nvar vals_product = {\\n  db_id:fields.Integer(\\\"db_id\\\"),\\n  cost_price: fields.Decimal(\\\"Cost Price\\\"),\\n  name: fields.Char(\\\"Name\\\"),\\n  require_unique_lot: fields.Integer(\\\"Require Unique Lot\\\"),\\n  synced: fields.Integer(\\\"Synced\\\"),\\n  deleted: fields.Integer(\\\"Deleted\\\"),\\n};\\n\\nvar vals_uom = {\\n  db_id:fields.Integer(\\\"db_id\\\"),\\n  name: fields.Char(\\\"Name\\\"),\\n  require_unique_lot: fields.Integer(\\\"Require Unique Lot\\\"),\\n  synced: fields.Integer(\\\"Synced\\\"),\\n  deleted: fields.Integer(\\\"Deleted\\\"),\\n};\\n\\nvar vals_last_updated = {\\n  db_id:fields.Integer(\\\"db_id\\\"),\\n  name: fields.Char(\\\"Name\\\"),\\n  time: fields.DateTime(\\\"Time\\\"),\\n};\\n\\nvar vals_operation_offline = {\\n  db_id:fields.Integer(\\\"db_id\\\"),\\n  name: fields.Char(\\\"Name\\\"),\\n  model: fields.Char(\\\"Model\\\"),\\n};\"}, \"employee_register\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\"}, \"insert\": \"Registration Form\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 70, \"border_bottom_width\": null, \"margin_right\": 20, \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"smartB-logo-2-300x148,EodqyPDYCn8=,SH9laBrrYfU=,NqXzVsmLask=.png\", \"height\": \"130\", \"width\": \"230\"}]}], \"num_cols\": 2, \"col_widths\": [4, 1], \"margin_top\": 30, \"margin_left\": 70, \"margin_right\": 70, \"_col_widths\": \"[4,1]\", \"hidden\": false}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Personal Details\"}, {\"insert\": \"\\n\"}]}, \"margin_right\": 70, \"margin_top\": 30, \"margin_left\": 70, \"background_color\": \"#3bd9d9\", \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Title\\n\"}]}, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"_selection\": \"[[\\\"Mr.\\\",\\\"Mr.\\\"],[\\\"Mrs.\\\",\\\"Mrs.\\\"],[\\\"Miss\\\",\\\"Miss\\\"]]\", \"selection\": [[\"Mr.\", \"Mr.\"], [\"Mrs.\", \"Mrs.\"], [\"Miss\", \"Miss\"]], \"placeholder\": \"Title\", \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"title\", \"margin_bottom\": null}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"_col_widths\": \"[1.2,0.2,4]\", \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"First Name\\n\"}]}, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_size\": 15, \"margin_bottom\": 5}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"First Name\", \"font_size\": null, \"font_name\": \"\", \"letter_spacing\": \"\", \"name\": \"first_name\", \"margin_bottom\": null}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\", \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": null}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Surname\\n\"}]}, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Surname\", \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"surname\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Home Address\\n\"}]}, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_size\": 15}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"textarea\", \"placeholder\": \"Address\", \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"home_address\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\", \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"City\\n\"}]}, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_size\": 15, \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"City\", \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"city\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\", \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"State\\n\"}]}, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_size\": 15, \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"State\", \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"state\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\", \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Postcode\\n\"}]}, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_size\": 15, \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Postcode\", \"name\": \"postcode\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\", \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Gender\\n\"}]}, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_size\": 15, \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Gender\", \"_selection\": \"[[\\\"Male\\\",\\\"Male\\\"],[\\\"Female\\\",\\\"Female\\\"]]\", \"selection\": [[\"Male\", \"Male\"], [\"Female\", \"Female\"]], \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"gender\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\", \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"IC No.\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"IC No.\", \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"ic_no\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\", \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Date of Birth\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"date\", \"placeholder\": \"Date of Birth\", \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"birth_date\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Marital Status\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Marital Status\", \"_selection\": \"[[\\\"Single\\\",\\\"Single\\\"],[\\\"Married\\\",\\\"Married\\\"],[\\\"Divorced\\\",\\\"Divorced\\\"],[\\\"Widowed\\\",\\\"Widowed\\\"]]\", \"selection\": [[\"Single\", \"Single\"], [\"Married\", \"Married\"], [\"Divorced\", \"Divorced\"], [\"Widowed\", \"Widowed\"]], \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"marital_status\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\", \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Nationality\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Nationality\", \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"nationality\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\", \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Religion\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Religion\", \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"religion\", \"disabled\": false}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\", \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Mobile No.\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Mobile No.\", \"font_size\": 16, \"font_name\": \"Glacial Indifference\", \"letter_spacing\": \"1\", \"name\": \"mobile_phone\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\", \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Home No.\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Home No.\", \"name\": \"home_no\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\", \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 70, \"margin_right\": 70, \"margin_top\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Working Details\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 70, \"margin_right\": 70, \"margin_top\": 20, \"background_color\": \"#3bd9d9\", \"color\": \"#ffffff\", \"font_name\": \"Verdana\", \"letter_spacing\": \"2.5\", \"font_size\": null}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Expected Salary\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"placeholder\": \"Per Month\", \"field_type\": \"number\", \"name\": \"salary\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Job Title\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"name\": \"job_title\", \"placeholder\": \"Job Title\", \"model\": \"hr2.job.title\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Type of Position\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Type of Position\", \"_selection\": \"[[\\\"Internship\\\",\\\"Internship\\\"],[\\\"Full Time\\\",\\\"Full Time\\\"],[\\\"Part Time\\\",\\\"Part Time\\\"],[\\\"Project Based\\\",\\\"Project Based\\\"]]\", \"selection\": [[\"Internship\", \"Internship\"], [\"Full Time\", \"Full Time\"], [\"Part Time\", \"Part Time\"], [\"Project Based\", \"Project Based\"]], \"name\": \"type_of_position\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Name\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"placeholder\": \"Bank Name\", \"name\": \"bank_name\", \"model\": \"hr2.bank\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\"}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"EPF No.\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"placeholder\": \"EPF No.\", \"field_type\": \"text\", \"name\": \"epf_no\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"SOCSO No.\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"SOCSO No.\", \"name\": \"socso_no\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Income Tax No.\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Income Tax No.\", \"name\": \"income_tax_no\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Bank Account No.\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Bank Account No.\", \"name\": \"bank_acc_no\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_left\": 70, \"margin_right\": 70, \"margin_top\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"  Emergency Contact\"}, {\"insert\": \"\\n\"}]}, \"margin_top\": 20, \"margin_left\": 70, \"margin_right\": 70, \"background_color\": \"#3bd9d9\", \"color\": \"#ffffff\", \"letter_spacing\": \"2.5\", \"font_name\": \"Verdana\", \"font_size\": null}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Primary Contact\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Name\", \"name\": \"ec_primary_contact\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Address\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"placeholder\": \"Address\", \"field_type\": \"textarea\", \"name\": \"ec_address\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"_col_widths\": \"[1.2,0.2,4]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"City\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"City\", \"name\": \"ec_city\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"State\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"State\", \"name\": \"ec_state\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Postcode\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Postcode\", \"name\": \"ec_postcode\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"_col_widths\": \"[1.2,0.2,4]\", \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"vertical_align\": \"middle\"}]}, {\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Relationship\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Relationship\", \"name\": \"ec_relationship\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Mobile No.\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Mobile No.\", \"name\": \"ec_mobile_phone\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Alternate No.\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Alternate No.\", \"name\": \"ec_alternate_no\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Email\\n\"}]}, \"font_size\": 15, \"font_name\": \"Verdana\", \"letter_spacing\": \"2\", \"font_bold\": false}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \":\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"text\", \"placeholder\": \"Email\", \"name\": \"ec_email\"}]}], \"num_cols\": 3, \"col_widths\": [1.2, 0.2, 4], \"margin_top\": 10, \"margin_left\": 10, \"margin_right\": 10, \"_col_widths\": \"[1.2,0.2,4]\", \"vertical_align\": \"middle\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20, \"margin_left\": 70, \"margin_right\": 70}, {\"type\": \"button\", \"margin_top\": 50, \"margin_left\": 70, \"margin_right\": 70, \"text\": \"REGISTER\", \"width\": \"150\", \"height\": \"40\", \"font_bold\": false, \"background_color\": \"#737171\", \"color\": \"#ffffff\", \"hover_background_color\": \"#3bd9d9\", \"letter_spacing\": \"2.5\", \"font_name\": \"Montserrat\", \"on_click\": \"registerEmployee()\", \"margin_bottom\": 30}], \"min_height\": 50, \"height\": \"\", \"footer\": true, \"background_color\": \"#ffffff\", \"show_phone\": true, \"show_desktop\": false, \"show_tablet\": false}], \"font_size\": \"Verdana\"}, \"code\": \"async function on_load()\\n{\\n  var number = await get_number();\\n  set_data({\\n    number:number,\\n    title:null,  \\t\\t\\n    gender:null,\\n    first_name:null,\\n    surname:null,\\n    ic_no:null,\\n    birth_date:null,\\n    home_address:null,\\n    city:null,\\n    state:null,\\n    postcode:null,\\n    marital_status:null,\\n    nationality:null,\\n    religion:null,\\n    mobile_phone:null,\\n    home_no:null,\\n    salary:null,\\n    job_title:null,\\n    type_of_position:null,\\n    epf_no:null,\\n    socso_no:null,\\n    income_tax_no:null,\\n    bank_name:null,\\n    bank_acc_no:null,\\n    ec_primary_contact:null,\\n    ec_relationship:null,\\n    ec_address:null,\\n    ec_city:null,\\n    ec_state:null,\\n    ec_postcode:null,\\n    ec_mobile_phone:null,\\n    ec_alternate_no:null,\\n    ec_email:null,\\n  });\\n}\\n\\nasync function get_number() {\\n  var seq=await rpc_execute(\\\"sequence\\\",\\\"search_read\\\",[[\\\"name\\\",\\\"=\\\",\\\"Employee Code\\\"],[\\\"name\\\"]]);\\n  var seq_id=seq[0].id;\\n  var num=await rpc_execute(\\\"sequence\\\",\\\"get_next_number\\\",[seq_id]);\\n  return num;\\n}\\n\\nasync function registerEmployee()\\n{\\n  var data=get_data();\\n  if (!data.title) throw \\\"Missing Title\\\";\\n  if (!data.gender) throw \\\"Missing Gender\\\";\\n  if (!data.first_name) throw \\\"Missing First Name\\\";\\n  if (!data.surname) throw \\\"Missing Surname\\\";\\n  if (!data.ic_no) throw \\\"Missing IC No.\\\";\\n  if (!data.birth_date) throw \\\"Missing Date of Birth\\\";\\n  if (!data.home_address) throw \\\"Missing Home Address\\\";\\n  if (!data.city) throw \\\"Missing City\\\";\\n  if (!data.state) throw \\\"Missing State\\\";\\n  if (!data.postcode) throw \\\"Missing Postcode\\\";\\n  if (!data.marital_status) throw \\\"Missing Marital Status\\\";\\n  if (!data.nationality) throw \\\"Missing Nationality\\\";\\n  if (!data.religion) throw \\\"Missing Religion\\\";\\n  if (!data.mobile_phone) throw \\\"Missing Mobile No.\\\";\\n  if (!data.home_no) throw \\\"Missing Home No.\\\";\\n  if (!data.salary) throw \\\"Missing Expected Salary\\\";\\n  if (!data.job_title) throw \\\"Missing Job Title\\\";\\n  \\n  //var position = get_field_value(\\\"type_of_position\\\");\\n  if (data.type_of_position==\\\"Full Time\\\"){\\n    if (!data.epf_no) throw \\\"Missing EPF No\\\";\\n    if (!data.socso_no) throw \\\"Missing SOCSO No\\\";\\n    if (!data.income_tax_no) throw \\\"Missing Income Tax No\\\";\\n  }\\n  \\n  if (!data.bank_name) throw \\\"Missing Bank Name\\\";\\n  if (!data.bank_acc_no) throw \\\"Missing Bank Account No.\\\";\\n  if (!data.ec_primary_contact) throw \\\"Missing Primary's Contact\\\";\\n  if (!data.ec_relationship) throw \\\"Missing Emergency Contact's Relationship\\\";\\n  if (!data.ec_address) throw \\\"Missing Emergency Contact's Address\\\";\\n  if (!data.ec_city) throw \\\"Missing Emergency Contact's City\\\";\\n  if (!data.ec_state) throw \\\"Missing Emergency Contact's State\\\";\\n  if (!data.ec_postcode) throw \\\"Missing Emergency Contact's Postcode\\\";\\n  if (!data.ec_mobile_phone) throw \\\"Missing Emergency Contact's Mobile No.\\\";\\n  if (!data.ec_alternate_no) throw \\\"Missing Emergency Contact's Alternate No.\\\";\\n  if (!data.ec_email) throw \\\"Missing Emergency Contact's Email \\\";\\n  \\n  /*var title=data.title;\\n  var gender=data.gender;\\n  var first=data.first_name;\\n  var last=data.last_name;\\n  var ic=data.ic_no;\\n  var dob=data.birth_date;\\n  var address=data.home_address;\\n  var city=data.city;\\n  var state=data.state;\\n  var postcode=data.postcode;\\n  var marital=data.marital_status;\\n  var nation=data.nationality;\\n  var religion=data.religion;\\n  var phone=data.mobile_phone;\\n  var home=data.home_no;\\n  var salary=data.salary;\\n  var job=data.job_title;\\n  var position=data.type_of_position;\\n  var epf=data.epf_no;\\n  var socso=data.socso_no;\\n  var tax=data.income_tax_no;\\n  var bank=data.bank_name;\\n  var account=data.bank_acc_no;\\n  var ecContact=data.ec_primary_contact;\\n  var ecRelation=data.ec_relationship;\\n  var ecAddress=data.ec_address;\\n  var ecCity=data.ec_city;\\n  var ecState=data.ec_state;\\n  var ecPostcode=data.ec_postcode;\\n  var ecPhone=data.ec_mobile_phone;\\n  var ecAlternate=data.ec_alternate_no;\\n  var ecEmail=data.ec_email;*/\\n  \\n  var vals={\\n    \\n    number: data.number,\\n    title:data.title,\\n    first_name:data.first_name,\\n    surname:data.surname,\\n    gender:data.gender,\\n    ic_no:data.ic_no,\\n    birth_date:data.birth_date,\\n    home_address:data.home_address,\\n    city:data.city,\\n    state:data.state,\\n    postcode:data.postcode,\\n    marital_status:data.marital_status,\\n    nationality:data.nationality,\\n    religion:data.religion,\\n    mobile_phone:data.mobile_phone,\\n    home_no:data.home_no,\\n    salary:data.salary,\\n    job_title:data.job_title,\\n    type_of_position:data.type_of_position,\\n    epf_no:data.epf_no,\\n    socso_no:data.socso_no,\\n    income_tax_no:data.income_tax_no,\\n    bank_name:data.bank_name,\\n    bank_acc_no:data.bank_acc_no,\\n    ec_primary_contact:data.ec_primary_contact,\\n    ec_relationship:data.ec_relationship,\\n    ec_address:data.ec_address,\\n    ec_city:data.ec_city,\\n    ec_state:data.ec_state,\\n    ec_postcode:data.ec_postcode,\\n    ec_mobile_phone:data.ec_mobile_phone,\\n    ec_alternate_no:data.ec_alternate_no,\\n    ec_email:data.ec_email,\\n  };\\n  \\n  await rpc_execute(\\\"hr2.employee\\\",\\\"create\\\",[vals]);\\n  alert(\\\"Registration Successful\\\");\\n  on_load();\\n}\\n\\n\"}, \"IP-001\": {\"layout\": null, \"code\": null}, \"notification_for_review_finance_vs_stock_value\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"From:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 20}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"date\", \"name\": \"date_from\", \"placeholder\": \"Please select start date\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"To:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 20}]}, {\"children\": [{\"type\": \"field\", \"name\": \"date_to\", \"field_type\": \"date\", \"placeholder\": \"Please select end date\"}]}], \"num_cols\": 4, \"col_widths\": [1, 2, 1, 2], \"padding_left\": 20, \"padding_right\": 20, \"_col_widths\": \"[1, 2, 1, 2]\", \"margin_top\": 40, \"margin_bottom\": 20}, {\"type\": \"button\", \"text\": \"Confirm\", \"align\": \"center\", \"on_click\": \"confirm()\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#202124\", \"size\": \"huge\", \"bold\": true}, \"insert\": \"Review Finance Vs Stock Value\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"From {date_from} to {date_to}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"dyn_props\": \"{hidden:hide}\"}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#222222\", \"bold\": true}, \"insert\": \"Total Closing Amount in Stock Summary\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#222222\", \"bold\": true}, \"insert\": \"Total Account Balance in Account Summary\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Difference\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM {total_close_amt}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM {total_account_balance}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"RM {difference}\\n\"}]}}]], \"num_cols\": 3, \"margin_top\": 10}, {\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"button\", \"text\": \"Check Stock Summary\", \"size\": \"\", \"on_click\": \"go_check(\\\"report_stock_summary\\\")\", \"width\": \"200\", \"height\": \"50\", \"align\": \"center\", \"font_bold\": true, \"background_color\": \"#bef5d6\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Check Balance Sheet\", \"on_click\": \"go_check(\\\"report_balance_sheet\\\")\", \"width\": \"200\", \"height\": \"50\", \"align\": \"center\", \"font_bold\": true, \"background_color\": \"#f5e5c9\"}]}], \"col_widths\": [1, 1]}], \"min_height\": 50, \"padding_left\": 20, \"padding_right\": 20}]}, \"code\": \"async function on_load(){\\n  //delete_data();\\n  set_date();\\n  \\n  set_data({\\n    stock_summary_id: null,\\n    account_sum_id: null,\\n    total_close_amt: null,\\n    total_account_balance: null,\\n    difference: null,\\n  });\\n  \\n  //var res=await rpc_execute(\\\"stock.picking\\\",\\\"read_path\\\",[[593],[\\\"write_time\\\",\\\"number\\\",\\\"invoice_id\\\",\\\"lines.product_id\\\",\\\"lines.product_id.name\\\",\\\"lines.qty\\\",\\\"lines.uom_id.name\\\",\\\"lines.lot_id\\\",\\\"lines.cost_price\\\",\\\"lines.cost_amount\\\",\\\"lines.track_id\\\"]]);\\n  \\n}\\n\\nasync function confirm() {\\n  var page_data = get_data();\\n  var from = page_data.date_from;\\n  var to = page_data.date_to;\\n  \\n  if (from == null || to == null) throw \\\"Date cannot be empty\\\";\\n  if (Date.parse(to) < Date.parse(from)) throw \\\"Start date cannot be greater than end date\\\";\\n  \\n  var data = await rpc_execute(\\\"control\\\", \\\"get_report\\\", [page_data.date_from, page_data.date_to]);\\n  set_data({\\n    stock_summary_id: data[0].stock_summary_id,\\n    account_sum_id: data[0].account_sum_id,\\n    total_close_amt: data[0].total_close_amt,\\n    total_account_balance: data[0].total_account_balance,\\n    difference: data[0].difference,\\n  });\\n}\\n\\nfunction set_date(){\\n  var now = new Date();\\n  var from = new Date(now.getFullYear(), now.getMonth(), 2);\\n  set_data({\\n    date_from: from.toISOString().split(\\\"T\\\")[0],\\n    date_to: now.toISOString().split(\\\"T\\\")[0],\\n  });\\n}\\n\\nfunction go_check(model){\\n  var data = get_data();\\n  var id = -1;\\n  if(model == \\\"report_stock_summary\\\") id = data.stock_summary_id;\\n  else if(model == \\\"report_balance_sheet\\\") id = data.account_sum_id;\\n  else alert(\\\"please check the model name in code.\\\");\\n  //var url = \\\"http://urbanw.smartb.co/action?name=\\\"+model+\\\"&active_id=\\\"+id;\\n  var url = \\\"https://main.smartb.co/action?name=\\\"+model+\\\"&active_id=\\\"+id;\\n  window.open(url);\\n}\\n\\nasync function delete_data(){\\n  var datas = await rpc_execute(\\\"control\\\",\\\"search_read\\\",[[],[\\\"difference\\\"]]);\\n  for(var data of datas){\\n    await rpc_execute(\\\"control\\\",\\\"delete\\\",[[data.id]]);\\n  }\\n}\\n/*\\nasync function test(){\\n  var id = await rpc_execute(\\\"report.balance.sheet\\\",\\\"create\\\",[{date: \\\"2021-05-31\\\"}]);\\n  var data = await rpc_execute(\\\"report.balance.sheet\\\",\\\"get_report_data\\\",[[id]]);\\n  console.log(data);\\n} */\"}, \"notification_settings\": {\"layout\": {\"elements\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\"}, \"insert\": \"Notification Settings\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 10, \"margin_bottom\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Template Name:\\n\"}]}, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"select2\", \"name\": \"name_filter\", \"on_change\": \"\", \"margin_right\": 10, \"model\": \"email.template\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}, \"margin_right\": 10, \"margin_bottom\": 5}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 5, \"col_widths\": [1, 1, 1, 1, 1], \"_col_widths\": \"[1,1,1,1,1]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"text\": \"Search\", \"on_click\": \"search()\", \"width\": \"105\", \"height\": \"35\", \"background_color\": \"#2d6aa0\", \"color\": \"#ffffff\", \"margin_top\": 20, \"margin_right\": 20}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Clear\", \"on_click\": \"clear_filter()\", \"size\": \"normal\", \"width\": \"105\", \"height\": \"35\", \"background_color\": \"#2d6aa0\", \"placeholder_color\": \"#ffffff\", \"color\": \"#ffffff\", \"margin_top\": 20}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 5], \"_col_widths\": \"[1,1,5]\"}], \"min_height\": 50, \"background_color\": \"#e8f1ff\", \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 20, \"margin_top\": 20, \"margin_bottom\": 20, \"border_width\": 2, \"border_color\": \"#cccccc\"}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"E-mail:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 10, \"margin_top\": 5}]}, {\"children\": [{\"type\": \"field\", \"name\": \"to_email\", \"field_type\": \"text\", \"placeholder\": \"Recipient email address\", \"margin_left\": 10}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 2], \"_col_widths\": \"[1,1,2]\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Notification:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 10, \"margin_top\": 5}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 2], \"padding_right\": 10, \"padding_left\": 10, \"_col_widths\": \"[1, 1, 2]\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"field\", \"name\": \"selected_all\", \"field_type\": \"checkbox\", \"text_align\": \"center\", \"on_change\": \"_selected_all()\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Template Name\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"From\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"To\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Subject\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Timeout (s)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Status\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"field\", \"field_type\": \"checkbox\", \"name\": \"selected\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{name}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{from_addr}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{to_addrs}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{subject}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{timeout}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{state}\\n\"}]}}]], \"num_cols\": 5, \"margin_top\": 20, \"margin_bottom\": 10, \"margin_left\": 10, \"margin_right\": 10, \"field_rows\": \"lines\", \"table_striped\": true, \"table_bordered\": true, \"table_hover\": true}, {\"type\": \"button\", \"size\": \"large\", \"text\": \"Confirm\", \"on_click\": \"confirm()\", \"width\": \"120\", \"height\": \"50\", \"align\": \"center\", \"margin_top\": 10}], \"min_height\": 50}]}, \"code\": \"async function on_load(){\\n  search();\\n}\\n\\nasync function search(){\\n  var data = get_data();\\n  var cond = [];\\n  if(data.name_filter) cond.push([\\\"id\\\",\\\"=\\\",data.name_filter.id]);\\n  var fields = [\\\"name\\\",\\\"from_addr\\\",\\\"to_addrs\\\",\\\"subject\\\"];\\n  var tmpls = await rpc_execute(\\\"email.template\\\",\\\"search_read\\\",[cond,fields]);\\n  var lines = [];\\n  for(var tmpl of tmpls){\\n    var line = {\\n      id: tmpl.id,\\n      name: tmpl.name,\\n      from_addr: tmpl.from_addr,\\n      to_addrs: tmpl.to_addrs,\\n      subject: tmpl.subject,\\n      selected: false,\\n    }\\n    lines.push(line);\\n  }\\n  set_data({lines:lines,selected_all:false,});\\n  set_data({lines:lines,selected_all:false,});\\n}\\n\\nasync function _selected_all(){\\n  var data = get_data();\\n  var all = data.selected_all;\\n  var lines = data.lines;\\n  for(var line of lines){\\n    line.selected=all;\\n  }\\n  set_data({lines:lines,});\\n}\\n\\nasync function clear_filter(){\\n  set_data({name_filter: null});\\n  search();\\n}\\n\\nasync function confirm(){\\n  var data = get_data();\\n  if(!data.to_email){\\n    throw \\\"Email address is compulsory!\\\";\\n  }\\n  var selected_lines = [];\\n  for(var line of data.lines){\\n    if(line.selected){\\n      var line_args = await rpc_execute(\\\"email.template\\\",\\\"read\\\",[[line.id],[\\\"to_addrs\\\"]]);\\n      var to_addrs = line_args[0].to_addrs;\\n      console.log(to_addrs,data.to_email,check(to_addrs,data.to_email));\\n      if(!check(to_addrs,data.to_email)) to_addrs += ',' + data.to_email;\\n      await rpc_execute(\\\"email.template\\\",\\\"write\\\",[[line.id],{to_addrs:to_addrs,}]);\\n    }\\n  }\\n  alert(\\\"setting success!\\\");\\n  on_load();\\n}\\n\\nfunction check(strs, str){\\n  for(var i =0; i < strs.length;i++){\\n    if(strs[i]==',') return strs.substring(0,i)==str || check(strs.substring(i+1,strs.length),str);\\n  }\\n  return strs==str;\\n}\\n\"}, \"testing_zh\": {\"layout\": null, \"code\": null}, \"rahman\": {\"layout\": null, \"code\": null}, \"print_pop\": {\"layout\": null, \"code\": null}, \"P&L_Date_Testing\": {\"layout\": {\"elements\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\"}, \"insert\": \"Profit and Loss\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"underline\": true}, \"insert\": \"Filter(Optional)\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Tracking 1\\n\"}]}, \"margin_top\": 10, \"margin_bottom\": null}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"field\", \"field_type\": \"select\", \"name\": \"tracking1\", \"placeholder\": \"Tracking 1 Dropdown\", \"model\": \"account.track.categ\", \"margin_top\": null, \"margin_bottom\": 10}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Tracking 2\\n\"}]}, \"margin_bottom\": null, \"margin_top\": 10}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"field\", \"placeholder\": \"Tracking 2 Dropdown\", \"name\": \"tracking2\", \"field_type\": \"select\", \"model\": \"account.track.categ\", \"margin_bottom\": 10}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Contact\\n\"}]}, \"margin_bottom\": null}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"field\", \"name\": \"contact\", \"field_type\": \"select\", \"placeholder\": \"Contact Dropdown\", \"model\": \"contact\", \"margin_bottom\": 10}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Start Date :\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"field\", \"placeholder\": \"Select Start Date\", \"field_type\": \"date\", \"margin_bottom\": 10, \"width\": \"500\", \"name\": \"start_date\"}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"End Date :\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}], \"min_height\": 50}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}], \"min_height\": 50, \"margin_top\": null, \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"field\", \"field_type\": \"date\", \"placeholder\": \"Select End Date\", \"margin_left\": null, \"width\": \"500\", \"margin_bottom\": 30, \"name\": \"end_date\"}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1], \"margin_left\": 20, \"margin_right\": 20}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"play,0soOTVIJGrA=,kQD2Znr9KqU=.png\", \"width\": \"30\", \"height\": \"30\", \"align\": \"center\", \"on_click\": \"run()\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Run\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"run()\"}]}, {\"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"cross,wSZbiE4fzMw=,t5Urj4ZE4Tg=.png\", \"width\": \"30\", \"height\": \"30\", \"align\": \"center\", \"on_click\": \"cancel()\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Cancel\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"on_click\": \"cancel()\"}]}], \"col_widths\": [1, 1]}], \"min_height\": 50, \"margin_left\": null}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Powered by SmartB\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 1, \"col_widths\": [1]}]}, \"code\": \"async function on_load(){\\n  var date= new Date();\\n  var firstDay=new Date(date.getFullYear(), date.getMonth(),2);\\n  var lastDay=new Date(date.getFullYear(), date.getMonth()+1,1);\\n  set_data({\\n    show_ytd:true,\\n    company_name:\\\"SmartB\\\",\\n    col0: lastDay,\\n    date_from: firstDay,\\n    date_to: lastDay,\\n    //date_from_ytd:\\\"01-10-2021\\\",\\n  });\\n}\\n\\nasync function run(){\\n  var data=get_data();\\n  var inputData={\\n    track2_id:data.tracking2,\\n    track_id:data.tracking1,\\n    contact_id:data.contact,\\n    date_from : data.start_date,\\n    date_to : data.end_date,\\n  };\\n  \\n  var sheet_id = await rpc_execute(\\\"report.profit.loss\\\",\\\"create\\\",[inputData]);\\n  set_page(\\\"pnl\\\",{sheet_id:sheet_id});\\n}\\n\\nfunction cancel(){\\n  set_page(\\\"finance_main\\\");\\n}\"}, \"RM-01\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Receive Materials\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"padding_top\": 20, \"padding_left\": 20, \"padding_right\": 20, \"padding_bottom\": 20, \"font_size\": 20, \"font_bold\": true}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Select goods receipt:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 20}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select2\", \"name\": \"goods_receipt\", \"model\": \"stock.picking\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"padding_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Lorry status:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 20}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select2\", \"_selection\": \"[[\\\"loaded\\\",\\\"Loaded\\\"],[\\\"empty\\\",\\\"Empty\\\"]]\", \"selection\": [[\"loaded\", \"Loaded\"], [\"empty\", \"Empty\"]], \"name\": \"lorry_state\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"padding_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Loaded lorry weight:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 20}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"loaded_weight\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"padding_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Empty lorry weight:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 20}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"name\": \"empty_weight\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"padding_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Net weight:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 20}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"number\", \"readonly\": true, \"name\": \"net_weight\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"padding_bottom\": 20}, {\"type\": \"button\", \"text\": \"Validate\", \"align\": \"center\", \"icon\": \"OK\", \"hidden\": false, \"background_color\": \"#eeeeee\", \"padding_top\": 10, \"padding_bottom\": 10, \"width\": \"200\", \"method\": \"validate\"}], \"min_height\": 50}]}, \"code\": \"async function validate(){\\n  var pick_id = get_field_value(\\\"goods_receipt\\\");\\n  if (!pick_id) throw \\\"Missing goods receipt\\\";\\n  var lorry_state = get_field_value(\\\"lorry_state\\\");\\n  if (!lorry_state) throw \\\"Missing lorry state\\\";\\n  var loaded_weight = get_field_value(\\\"loaded_weight\\\");\\n  var empty_weight = get_field_value(\\\"empty_weight\\\");\\n  var vals = {};\\n  if (loaded_weight) vals.truck_loaded_weight = loaded_weight;\\n  if(empty_weight) vals.truck_empty_weight = empty_weight;\\n  await NF.execute(\\\"stock.picking\\\",\\\"write\\\",[[pick_id],vals]);\\n  if(empty_weight){\\n    await NF.execute(\\\"stock.picking\\\",\\\"set_done\\\",[[pick_id]]);\\n  }\\n}\"}, \"review_CI_vs_GI\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#0066cc\", \"size\": \"huge\", \"bold\": true}, \"insert\": \"Review Customer Invoice vs Good Issue\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": []}, {\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"From:  \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"name\": \"firstDay\", \"field_type\": \"date\", \"placeholder\": \"First Day\"}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"To:  \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"name\": \"today\", \"field_type\": \"date\", \"placeholder\": \"Today\"}]}, {\"children\": []}, {\"children\": []}, {\"children\": []}], \"num_cols\": 10, \"col_widths\": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1], \"padding_top\": 40, \"padding_bottom\": 40, \"margin_left\": 50, \"margin_right\": 50}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Contact Category:   \"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"field\", \"name\": \"contact_categ\", \"field_type\": \"select\", \"placeholder\": \"Select Contact Category\", \"model\": \"contact.categ\", \"on_change\": \"onchange_contact_categ()\"}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 1, 1, 1]}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"button\", \"text\": \"Clear Data\", \"on_click\": \"clear()\", \"width\": \"120\", \"height\": \"50\", \"align\": \"center\", \"background_color\": \"#e7716e\", \"placeholder_color\": \"#000000\", \"color\": \"#ffffff\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Reload Page\", \"on_click\": \"reload()\", \"width\": \"120\", \"height\": \"50\", \"align\": \"center\", \"color\": \"#ffffff\", \"background_color\": \"#55b277\"}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 1, 1, 1], \"padding_top\": 20, \"padding_bottom\": 20}], \"min_height\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#f9f9f9\", \"bold\": true}, \"insert\": \"Contact\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"No. of Customer Invoice\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"No. of Good Issue\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Difference (CI vs GI)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"field\", \"name\": \"contact_name\", \"field_type\": \"text\", \"placeholder\": \"Contact Name\", \"readonly\": true, \"align\": \"center\", \"text_align\": \"center\"}, {\"type\": \"field\", \"name\": \"total_invoice\", \"field_type\": \"text\", \"placeholder\": \"Total Invoice\", \"readonly\": true, \"align\": \"center\", \"text_align\": \"center\"}, {\"type\": \"field\", \"placeholder\": \"Total Goods Issue\", \"name\": \"total_gi\", \"field_type\": \"text\", \"readonly\": true, \"align\": \"center\", \"text_align\": \"center\"}, {\"type\": \"field\", \"name\": \"difference\", \"field_type\": \"text\", \"placeholder\": \"Difference (CI vs GI)\", \"readonly\": true, \"align\": \"center\", \"text_align\": \"center\"}]], \"num_cols\": 4, \"_col_widths\": \"[1,1,1,1]\", \"col_widths\": [1, 1, 1, 1], \"table_bordered\": true, \"table_striped\": true, \"table_hover\": true, \"field_rows\": \"lines\", \"padding_top\": 30, \"margin_left\": 10, \"margin_right\": 10, \"border_width\": 1, \"border_radius\": 1, \"dyn_props\": \"{hidden:hide}\"}], \"min_height\": 50, \"hidden\": true, \"dyn_props\": \"{hidden:hide}\"}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"button\", \"text\": \"Check Customer Invoice\", \"on_click\": \"check_cust_invoice()\", \"width\": \"150\", \"height\": \"60\", \"align\": \"center\", \"background_color\": \"#9c9595\", \"color\": \"#ffffff\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Check Good Issue\", \"on_click\": \"check_good_issue()\", \"width\": \"150\", \"height\": \"60\", \"align\": \"center\", \"background_color\": \"#9c9595\", \"color\": \"#ffffff\"}]}, {\"children\": []}], \"num_cols\": 4, \"col_widths\": [1, 1, 1, 1], \"padding_top\": 30, \"padding_bottom\": 30, \"dyn_props\": \"{hidden:hide}\"}], \"min_height\": 50, \"hidden\": true, \"dyn_props\": \"{hidden:hide}\"}]}, \"code\": \"async function on_load(){\\n  var data = get_data();\\n  var date = moment().format('YYYY-MM-DD');\\n  var firstDay= moment().startOf('month').format('YYYY-MM-DD');\\n  var contact_categ = data.contact_categ;\\n  set_data({\\n    firstDay: firstDay,\\n    today: date,\\n    lines:[], //ddd\\n    contact_categ:2,\\n  });\\n  onchange_contact_categ();\\n}\\n\\nasync function onchange_contact_categ(){\\n  var data = get_data();\\n  set_data({lines:null});\\n  var array = [];\\n  var res_contact = await rpc_execute(\\\"contact\\\",\\\"search_read_path\\\",[[[\\\"categ_id\\\",\\\"=\\\",data.contact_categ]],[\\\"name\\\"]])\\n  for(var i = 0 ; i < res_contact.length ; i++){\\n    var res_invoice = await rpc_execute(\\\"account.invoice\\\",\\\"search_read_path\\\",[[[\\\"contact_id\\\",\\\"=\\\",res_contact[i].id],[\\\"type\\\",\\\"=\\\",\\\"out\\\"],[\\\"date\\\",\\\">\\\",data.firstDay],[\\\"date\\\",\\\"<\\\",data.today]],[\\\"number\\\"]])\\n    var res_gi = await rpc_execute(\\\"stock.picking\\\",\\\"search_read_path\\\",[[[\\\"contact_id\\\",\\\"=\\\",res_contact[i].id],[\\\"type\\\",\\\"=\\\",\\\"out\\\"],[\\\"date\\\",\\\">\\\",data.firstDay],[\\\"date\\\",\\\"<\\\",data.today]],[\\\"number\\\"]])\\n    var total_invoice = res_invoice.length;\\n    var total_gi = res_gi.length;\\n\\n    var difference = 0;\\n    if(total_invoice > total_gi){\\n      difference = total_invoice - total_gi; \\n    }else{\\n      difference = total_gi - total_invoice;\\n    }\\n\\n    array.push({\\n      contact_id:res_contact[i].id,\\n      contact_name:res_contact[i].name,\\n      total_invoice:total_invoice,\\n      total_gi:total_gi,\\n      difference:difference,\\n    });\\n  }\\n  set_data({\\n    lines:array,\\n    hide:false,\\n    firstDay:data.firstDay,\\n    today:data.today,\\n  });\\n}\\n\\nasync function check_cust_invoice(){\\n  var data = get_data();\\n\\n  if(!data.contact_categ){\\n    alert(\\\"Please select a CONTACT CATEGORY!\\\");\\n  }else{\\n    let check_cust_invoice = confirm(\\\"You will be direct to CUSTOMER INVOICE PAGE in a new tab.\\\");\\n    if (check_cust_invoice) {\\n      var url_1 = `http://urbanw.smartb.co/action?name=cust_invoice&search_condition=%5B%5B%22contact_categ_id%22%2C%22%3D%22%2C${data.contact_categ}%5D%2C%5B%22date%22%2C%22between%22%2C%5B%22${data.firstDay}%2009%3A02%3A12%22%2C%22${data.today}%2009%3A02%3A12%22%5D%5D%5D&active_tab=1`\\n      //var url_d = `https://urbanw.smartb.co/action?name=cust_invoice&active_tab=1&search_condition=%5B%5B%22date%22%2C%22between%22%2C%5B%22${data.firstDay}%22%2C%22${data.today}%22%5D%5D%2C%5B%22contact_categ_id%22%2C%22%3D%22%2C${data.contact_categ}%5D%5D`;\\n      \\n      //var url_1 = `https://urbanw.smartb.co/action?name=cust_invoice&search_condition=%5B%5B%22contact_categ_id%22%2C%22%3D%22%2C${data.contact_categ}%5D%5D&active_tab=1`\\n      window.open(url_1);\\n      //window.open(`http://urbanw.smartb.co/action?name=cust_invoice&active_tab=1`);\\n    } else {\\n      alert(\\\"Action canceled\\\");\\n    }\\n  }\\n}\\n\\nasync function check_good_issue(){\\n  var data = get_data();\\n\\n  if(!data.contact_categ){\\n    alert(\\\"Please select a CONTACT CATEGORY!\\\");\\n  }else{\\n    let check_good_issue = confirm(\\\"You will be direct to GOOD ISSUE PAGE in a new tab.\\\");\\n    if (check_good_issue) {\\n      var url_2 = `http://urbanw.smartb.co/action?name=pick_out&search_condition=%5B%5B%22contact_categ_id%22%2C%22%3D%22%2C${data.contact_categ}%5D%2C%5B%22date%22%2C%22between%22%2C%5B%22${data.firstDay}%2009%3A02%3A12%22%2C%22${data.today}%2009%3A02%3A12%22%5D%5D%5D&active_tab=0`\\n      //var url_2 = `https://urbanw.smartb.co/action?name=pick_out&search_condition=%5B%5B%22contact_categ_id%22%2C%22%3D%22%2C${data.contact_categ}%5D%5D&active_tab=0`\\n      window.open(url_2);\\n      //window.open(`http://urbanw.smartb.co/action?name=pick_out`);\\n    } else {\\n      alert(\\\"Action canceled\\\");\\n    }\\n  }\\n}\\n\\nfunction clear(){\\n  var data = get_data();\\n  let clear = confirm(\\\"Are you sure want to clear the data for CONTACT CATEGORY and TABLE?\\\");\\n  if (clear) {\\n    set_data({\\n      contact_categ:null,\\n      lines:[],\\n      hide:false,\\n    });\\n    alert(\\\"Data clearing\\\");\\n  } else {\\n    alert(\\\"Action canceled\\\");\\n  }\\n}\\n\\nfunction reload(){\\n  let reload = confirm(\\\"Are you sure want to reload the page?\\\");\\n  if (reload) {\\n    location.reload();\\n    alert(\\\"Page reloading.\\\");\\n  } else {\\n    alert(\\\"Action canceled\\\");\\n  }\\n}\"}, \"RPC Documentation\": {\"layout\": {\"footer_height\": \"100\", \"header_height\": \"50\", \"elements\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true, \"size\": \"large\"}, \"insert\": \"Example of Reading Data from Model\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"col_widths\": [1, 1], \"num_cols\": 2, \"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CODE\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"OUTPUT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}]}, {\"background_color\": \"#4b4b4b\", \"min_height\": 50, \"margin_right\": 20, \"margin_left\": 20, \"type\": \"box\", \"children\": [{\"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"{code1}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#66b966\", \"bold\": true}, \"insert\": \"// read data based on fields\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"{output1}\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"{code2}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#66b966\", \"bold\": true}, \"insert\": \"// read data based on conditions and fields\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"{output2}\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"{code3}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#66b966\", \"bold\": true}, \"insert\": \"// search id based on conditions\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"{output3}\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"{code4}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#66b966\", \"bold\": true}, \"insert\": \"// read single or multiple model item based on id and field\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"{output4}\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"{code6}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#66b966\", \"bold\": true}, \"insert\": \"// read a single model item based on id\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"{output6}\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"{code7}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#66b966\", \"bold\": true}, \"insert\": \"// able to read both normal fields and tables field in one lines of code\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"{output7}\"}, {\"insert\": \"\\n\"}]}}]], \"_col_widths\": \"[1,1]\", \"col_widths\": [1, 1], \"num_cols\": 2, \"num_rows\": 6, \"type\": \"table\"}, {\"background_color\": \"#ffffff\", \"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true, \"size\": \"large\"}, \"insert\": \"When reading the table data of the model\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"col_widths\": [1, 1], \"num_cols\": 2, \"type\": \"columns\", \"columns\": [{\"children\": [{\"border_color\": \"#ffffff\", \"type\": \"text\", \"border_right_width\": null, \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"{code5}\"}, {\"insert\": \"\\n\"}]}}]}, {\"children\": [{\"border_color\": \"#ffffff\", \"type\": \"text\", \"border_left_width\": 2, \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"{output5}\"}, {\"insert\": \"\\n\"}]}}]}]}]}, {\"margin_top\": 50, \"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true, \"size\": \"large\"}, \"insert\": \"Playground : Read Data from Model\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"min_height\": 50, \"padding_top\": null, \"type\": \"box\", \"children\": [{\"margin_right\": 20, \"num_cols\": 4, \"margin_left\": 20, \"col_widths\": [1, 1, 1, 1], \"margin_bottom\": 10, \"type\": \"columns\", \"columns\": [{\"children\": [{\"field_type\": \"select\", \"selection\": [[\"hr2.employee\", \"hr2.employee\"], [\"pm.task.lines\", \"pm.task.lines\"]], \"type\": \"field\", \"_selection\": \"[[\\\"hr2.employee\\\",\\\"hr2.employee\\\"],[\\\"pm.task.lines\\\",\\\"pm.task.lines\\\"]]\"}]}, {\"children\": [{\"field_type\": \"select\", \"selection\": [[\"read\", \"read\"], [\"search_read\", \"search_read\"], [\"search\", \"search\"], [\"write\", \"write\"], [\"create\", \"create\"]], \"type\": \"field\", \"_selection\": \"[[\\\"read\\\",\\\"read\\\"],[\\\"search_read\\\",\\\"search_read\\\"],[\\\"search\\\",\\\"search\\\"],[\\\"write\\\",\\\"write\\\"],[\\\"create\\\",\\\"create\\\"]]\"}]}, {\"children\": []}, {\"children\": []}]}], \"padding_bottom\": 10}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true, \"size\": \"large\"}, \"insert\": \"Example of calling a function in custom model\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"background_color\": \"#4b4b4b\", \"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#bbbbbb\", \"size\": \"large\"}, \"insert\": \"await rpc_execute(\\\"\"}, {\"attributes\": {\"color\": \"#66b966\", \"size\": \"large\"}, \"insert\": \"model_name\"}, {\"attributes\": {\"color\": \"#bbbbbb\", \"size\": \"large\"}, \"insert\": \"\\\", \\\"\"}, {\"attributes\": {\"color\": \"#66b966\", \"size\": \"large\"}, \"insert\": \"function_name\"}, {\"attributes\": {\"color\": \"#bbbbbb\", \"size\": \"large\"}, \"insert\": \"\\\", [[\"}, {\"attributes\": {\"color\": \"#66b966\", \"size\": \"large\"}, \"insert\": \"database_id\"}, {\"attributes\": {\"color\": \"#bbbbbb\", \"size\": \"large\"}, \"insert\": \"],[\"}, {\"attributes\": {\"color\": \"#66b966\", \"size\": \"large\"}, \"insert\": \"fields\"}, {\"attributes\": {\"color\": \"#bbbbbb\", \"size\": \"large\"}, \"insert\": \"]]);\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"margin_top\": 50, \"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true, \"size\": \"large\"}, \"insert\": \"Example of creating and changing the model item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"col_widths\": [1], \"num_cols\": 1, \"type\": \"columns\", \"columns\": [{\"children\": [{\"margin_right\": 20, \"type\": \"text\", \"margin_left\": 20, \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#66b966\", \"bold\": true}, \"insert\": \"Modified from\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\", \"underline\": true}, \"insert\": \"https://main.smartb.co/action?name=model&mode=form&active_id=622\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#66b966\", \"bold\": true}, \"insert\": \"Remind:  rpc_execute is for page builder, exec commands for model code\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"function\\u00a0create_employee_leaves(ids){\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0var\\u00a0submission={\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0number:s_id,\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0employee:ids[0],\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0resign_date:emp.resign_date,\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0hire_date:emp.hire_date,\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0type_of_position:emp.type_of_position,\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0day_obtained:null,\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0status:emp.work_status,\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0employee:ids,\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0leaves_period:period_id,\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0leave_type:l_type,\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0base_leaves:b_leaves,\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0leaves_adjust:0,\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0leaves_carry_forward:0,\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0var\\u00a0adjustment={\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0employee:ids[0],\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0}\"}, {\"insert\": \"\\n\\n\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0var\\u00a0task_id=exec(\\\"hr2.employee.leaves\\\",\\\"create\\\",[submission]);\\u00a0\"}, {\"attributes\": {\"color\": \"#66b966\", \"bold\": true}, \"insert\": \"//task_id\\u00a0is\\u00a0id\\u00a0of\\u00a0new\\u00a0item\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0var\\u00a0write\\u00a0=exec(\\\"hr2.employee.leaves\\\",\\u00a0\\\"write\\\",\\u00a0[[task_id],\\u00a0adjustment]);\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0exec(\\\"sequence\\\",\\u00a0\\\"increment_number\\\",\\u00a0[seq_id]);//\\u00a0update\\u00a0the\\u00a0sequence\\u00a0number\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0}\"}, {\"insert\": \"\\n\"}]}, \"background_color\": \"#4b4b4b\"}]}, {\"children\": []}]}, {\"margin_top\": 50, \"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true, \"size\": \"large\"}, \"insert\": \"Example of adding table data to Model Item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"margin_right\": 20, \"type\": \"text\", \"margin_left\": 20, \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#66b966\", \"bold\": true}, \"insert\": \"Modified from \"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\", \"underline\": true}, \"insert\": \"https://inhesion.smartb.co/action?name=model&mode=form&active_id=813\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"function\\u00a0import_template(ids){\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0var\\u00a0tracker\\u00a0=\\u00a0exec(\\\"batch.tracker\\\",\\u00a0\\\"read\\\",\\u00a0[ids,[\\\"product\\\",\\\"moq\\\",\\\"main_process\\\"]])[0];\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0//read\\u00a0the\\u00a0product\\u00a0selected\\u00a0by\\u00a0user\\u00a0from\\u00a0the\\u00a0\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0var\\u00a0template\\u00a0=\\u00a0exec(\\\"batch.template\\\",\\u00a0\\\"search_read\\\",\\u00a0[[[\\\"product\\\",\\\"=\\\",tracker.product[0]]],\\u00a0[\\\"batch_number\\\",\\\"bisque_in_stock_qty\\\"]]);\\u00a0\\u00a0\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0changes={\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0moq:template.moq,\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0main_process:template.main_process[0],\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0lines:[],\\u00a0\"}, {\"attributes\": {\"color\": \"#66b966\", \"bold\": true}, \"insert\": \"//\\u00a0the\\u00a0table\\u00a0table\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0};\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0var\\u00a0lines\\u00a0=\\u00a0exec(\\\"batch.template.lines\\\",\\u00a0\\\"read\\\",\\u00a0[template.lines,[\\\"activity_code\\\",\\\"activity_name\\\",\\\"bom\\\",\\\"master_prod_code\\\",\\\"prod_code\\\",\\\"ref\\\",\\\"seq\\\",\\\"station_name\\\",\\\"std_time_hrs\\\",\\\"time_calc_method\\\"]]);\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0for\\u00a0(var\\u00a0i=0;iundefined<lines.length;i++){\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0submission={\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0activity_codes:lines[i].activity_name[0],\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0bill_of_mat:lines[i].bom[0],\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0master_prod_code:lines[i].master_prod_code,\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0prod_code:lines[i].prod_code[0],\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0station_name:lines[i].station_name[0],\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0std_time_hrs:lines[i].std_time_hrs,\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0time_calc_method:lines[i].time_calc_method[0],\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0changes.lines.push([\\\"create\\\",submission]);\"}, {\"attributes\": {\"color\": \"#66b966\", \"bold\": true}, \"insert\": \"//\\u00a0add\\u00a0the\\u00a0row\\u00a0the\\u00a0table\\u00a0\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0var\\u00a0write\\u00a0=exec(\\\"batch.tracker\\\",\\u00a0\\\"write\\\",\\u00a0[ids,changes]);\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0//fill_first_row(ids);\"}, {\"insert\": \"\\n}\\n\\n\\n\"}]}, \"background_color\": \"#4b4b4b\"}, {\"margin_top\": 50, \"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true, \"size\": \"large\"}, \"insert\": \"Example changing the table field value of Model Item\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"col_widths\": [1], \"num_cols\": 1, \"type\": \"columns\", \"columns\": [{\"children\": [{\"margin_right\": 20, \"type\": \"text\", \"margin_left\": 20, \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#66b966\", \"bold\": true}, \"insert\": \"Modified from \"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\", \"underline\": true}, \"insert\": \"https://inhesion.smartb.co/action?name=model&mode=form&active_id=813\"}, {\"insert\": \"\\n\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"function\\u00a0update_prod_cost(ids){\\u00a0//update\\u00a0product\\u00a0cost\\u00a0for\\u00a0each\\u00a0row\\u00a0of\\u00a0table\\u00a0from\\u00a0Bill\\u00a0of\\u00a0Material\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0const\\u00a0tracker\\u00a0=\\u00a0exec(\\\"batch.tracker\\\",\\u00a0\\\"read\\\",\\u00a0[ids,[\\\"product\\\",\\\"lines\\\"]])[0];\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0const\\u00a0lines\\u00a0=\\u00a0exec(\\\"batch.tracker.lines\\\",\\u00a0\\\"read\\\",\\u00a0[tracker.lines,[\\\"expected_qty_received\\\"]]);\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0for\\u00a0(var\\u00a0i=0;iundefined<lines.length;i++){\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0if\\u00a0(lines[i].bill_of_mat==null)\\u00a0throw\\u00a0\\\"Missing\\u00a0Bill\\u00a0of\\u00a0Material\\u00a0for\\u00a0price\\u00a0calculation\\\";\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0var\\u00a0prod_cost=0;\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0if\\u00a0(lines[i].actual_qty_received!=null){\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0prod_cost=Math.round(prod_cost*parseFloat(lines[i].actual_qty_received)*10)/10;\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0var\\u00a0adjustment={\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0actual_cost:prod_cost\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0};\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0var\\u00a0write\\u00a0=exec(\\\"batch.tracker.lines\\\",\\u00a0\\\"write\\\",\\u00a0[[lines[i].id],adjustment]);\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0\\u00a0}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"\\u00a0\\u00a0\\u00a0\\u00a0}\"}, {\"insert\": \"\\n\"}, {\"attributes\": {\"color\": \"#bbbbbb\"}, \"insert\": \"}\"}, {\"insert\": \"\\n\"}]}, \"background_color\": \"#4b4b4b\"}]}, {\"children\": []}]}, {\"min_height\": 100, \"type\": \"box\", \"children\": [], \"footer\": true}]}, \"code\": \"async function on_load(){\\n\\nvar data=await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[],[\\\"first_name\\\",\\\"surname\\\",\\\"work_status\\\"]])\\t//\\n  var data_str=JSON.stringify(data);\\n  await set_data({output1:data_str,\\n                  code1:'await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[[],[\\\"fist_name\\\",\\\"surname\\\"]])'\\n                 })\\nvar cond=[[\\\"hire_date\\\",\\\"<\\\",\\\"2020-01-01\\\"],[\\\"work_status\\\",\\\"=\\\",\\\"Working\\\"]]\\nvar data=await rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[cond,[\\\"first_name\\\",\\\"surname\\\",\\\"work_status\\\",\\\"hire_date\\\"]])\\t//\\n  var data_str=JSON.stringify(data);\\n  await set_data({output2:data_str,\\n                  code2:'cond=[[\\\"hire_date\\\",\\\"<\\\",\\\"2020-01-01\\\"],[\\\"work_status\\\",\\\"=\\\",\\\"Working\\\"]] \\\\n rpc_execute(\\\"hr2.employee\\\",\\\"search_read\\\",[cond,[\\\"first_name\\\",\\\"surname\\\",\\\"working_status\\\",\\\"hire_date\\\"]])'\\n                 })\\nvar cond=[[\\\"hire_date\\\",\\\"<\\\",\\\"2020-01-01\\\"],[\\\"work_status\\\",\\\"=\\\",\\\"Working\\\"]]\\nvar data=await rpc_execute(\\\"hr2.employee\\\",\\\"search\\\",[cond])\\t//\\n  var data_str=JSON.stringify(data);\\n  await set_data({output3:data_str,\\n                  code3:'var cond=[[\\\"hire_date\\\",\\\"<\\\",\\\"2020-01-01\\\"],[\\\"work_status\\\",\\\"=\\\",\\\"Working\\\"]] \\\\n rpc_execute(\\\"hr2.employee\\\",\\\"search\\\",[cond])'\\n                 })\\n\\nvar data=await rpc_execute(\\\"hr2.employee\\\",\\\"read\\\",[[100032,100039],[\\\"first_name\\\",\\\"surname\\\",\\\"work_status\\\",\\\"hire_date\\\"]])\\t//\\n  var data_str=JSON.stringify(data);\\n  await set_data({output4:data_str,\\n                  code4:'var data=await rpc_execute(\\\"hr2.employee\\\",\\\"read\\\",[[100032,100039],[\\\"first_name\\\",\\\"surname\\\",\\\"work_status\\\",\\\"hire_date\\\"]])'\\n                 })\\n\\n  var data=await rpc_execute(\\\"pm.task\\\",\\\"read_one\\\",[189])\\t//\\n  var task_lines =await rpc_execute(\\\"pm.task.lines\\\", \\\"read\\\", [data.lines,[\\\"name\\\",\\\"Builder\\\",\\\"status\\\",\\\"percentage\\\"]]);\\n  var data_str=JSON.stringify(data);\\n  await set_data({output5:data_str,\\n                  code5:' var data=await rpc_execute(\\\"pm.task\\\",\\\"read_one\\\",[189]) \\\\n var task_lines =await rpc_execute(\\\"bom.line\\\", \\\"read\\\", [data.lines,[\\\"name\\\",\\\"Builder\\\",\\\"status\\\",\\\"percentage\\\"]]);'\\n                 })\\n\\n  var data=await rpc_execute(\\\"hr2.employee\\\",\\\"read_one\\\",[100032])\\t//\\n  var data_str=JSON.stringify(data);\\n  await set_data({output6:data_str,\\n                  code6:'var data=await rpc_execute(\\\"hr2.employee\\\",\\\"read_one\\\",[[100032]])'\\n                 })\\n\\n  var res=await rpc_execute(\\\"pm.task\\\",\\\"read_path\\\",[[112],[\\\"number\\\",\\\"builder\\\",\\\"lines.act_date_start\\\",\\\"lines.act_date_end\\\"]]);\\t//\\n  var data_str=JSON.stringify(res);\\n  await set_data({output7:data_str,\\n                  code7:'var res=await rpc_execute(\\\"pm.task\\\",\\\"read_path\\\",[[[112]],[\\\"number\\\",\\\"builder\\\",\\\"lines.act_date_start\\\",\\\"lines.act_date_end\\\"]])[0];'\\n                 })\\n}\"}, \"stock_margin_print\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Stock Margin Report\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"From {from} to {to}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12, \"font_bold\": false}], \"min_height\": null, \"margin_top\": 30, \"padding_left\": 20, \"padding_right\": 20, \"header\": false, \"height\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"PRODUCTS\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"QUANTITY\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL AMOUNT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL PROFIT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"AVG PROFIT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"AVG MARGIN %\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"[{code}] {product}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{profit}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{avg_of_profit}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{avg_of_margin} %\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SUM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sum_qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sum_amount}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sum_profit}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sum_avg_profit}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sum_avg_margin} %\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]], \"field_rows\": \"lines\", \"num_cols\": 6, \"_col_widths\": \"[3,1,1,1,1,1]\", \"col_widths\": [3, 1, 1, 1, 1, 1], \"margin_left\": null, \"margin_right\": null, \"margin_bottom\": null, \"table_bordered\": true, \"table_striped\": true, \"margin_top\": 20, \"table_hover\": false, \"num_rows\": 3}], \"min_height\": 50, \"margin_top\": 20, \"padding_left\": 20, \"padding_right\": 20, \"page_break_after\": false, \"page_break_inside_avoid\": false, \"padding_top\": 0, \"padding_bottom\": 10}], \"fields\": \"\", \"page_margin_top\": 20, \"page_margin_bottom\": 20, \"header_height\": \"\", \"show_page_no\": false}, \"code\": \"async function on_load(){ \\n  set_data(null);\\n\\n  var date_from=page_params.date_from;\\n  var date_to=page_params.date_to;\\n  var product=parseInt(page_params.product);\\n  var product_categ=parseInt(page_params.product_categ);\\n  var brand= parseInt(page_params.brand);\\n\\n  set_data({\\n    date_from:date_from,\\n    date_to:date_to,\\n    product:product,\\n    product_categ:product_categ,\\n    brand:brand\\n  });\\n\\n\\n  // read the given condition\\n  var cond = await get_cond();\\n\\n  // find the data satisfy the conditions\\n  var all_data = await rpc_execute(\\\"stock.margin.report\\\", \\\"search_read\\\", [[], [\\\"product_categ\\\", \\\"amount\\\", \\\"cost_amount\\\", \\\"date\\\", \\\"number\\\", \\\"product_code\\\", \\\"product_id\\\", \\\"product_name\\\", \\\"qty\\\", \\\"brand\\\"]]);\\n  var cur_data = [];\\n  for(var i = 0; i < all_data.length; i++){\\n    if(await satisfy(all_data[i], cond.all)){\\n      cur_data.push(all_data[i]);\\n    }\\n  }\\n\\n  await read_report(cur_data);\\n}\\n\\nasync function run_report(){\\n  var data = get_data();\\n  if(!data.date_from || !data.date_to){\\n    alert(\\\"Date fields are compulsory!\\\")\\n  }\\n  else{\\n    await on_load();\\n  }\\n}\\n\\n// read condition from page\\nasync function get_cond(){\\n  var data = get_data();\\n  var dateFrom = data.date_from;\\n  var dateTo = data.date_to;\\n  var product = data.product;\\n  var product_categ = data.product_categ;\\n  var brand = data.brand;\\n\\n  // if not input date_from or date_to, use this month as condition\\n  var now = new Date();\\n  if(!dateFrom){\\n    dateFrom = new Date(now.getFullYear(),now.getMonth(),1);\\n  }\\n  else{\\n    dateFrom = new Date(dateFrom);\\n  }\\n  if(!dateTo){\\n    dateTo = now;\\n  }\\t\\n  else{\\n    dateTo = new Date(dateTo);\\n  }\\n\\n  var from = dateFrom.getFullYear() + \\\"-\\\" + (\\\"0\\\" + (dateFrom.getMonth() + 1)).slice(-2) + \\\"-\\\" + (\\\"0\\\" + dateFrom.getDate()).slice(-2);\\n  var to = dateTo.getFullYear() + \\\"-\\\" + (\\\"0\\\" + (dateTo.getMonth() + 1)).slice(-2) + \\\"-\\\" + (\\\"0\\\" + dateTo.getDate()).slice(-2);\\n  set_data({\\n    from: from,\\n    to : to,\\n  })\\n\\n  // condition for different model\\n  return {\\n    all: {\\n      date_from: dateFrom, \\n      date_to: dateTo,\\n      product: product,\\n      product_categ: product_categ,\\n      brand: brand,\\n    },\\n  }\\n}\\n\\nasync function satisfy(data, cond){ // cond: {date_from, date_to, product, product_categ, brand}\\n  // check date\\n  if(await before_than(data.date, cond.date_from)){ return false; }\\n  if(await before_than(cond.date_to, data.date)){ return false; }\\n\\n  // check product\\n  if(cond.product && data.product_id != cond.product){ return false; }\\n\\n  // check product category\\n  if(cond.product_categ && await read_id_from_product_categ_id(data.product_categ) != cond.product_categ){ return false; }\\n\\n  // check brand\\n  if(cond.brand && data.brand != cond.brand){ return false; }\\n\\n  return true;\\n}\\n\\n// since the product.categ_id is a string but not an id only\\nasync function read_id_from_product_categ_id(product_categ){\\n  if(!product_categ){ return null; }\\n  else{\\n    var id = \\\"\\\";\\n    for(var i = 1; i < product_categ.length; i++){\\n      if(product_categ[i] == ','){ break; }\\n      id += product_categ[i];\\n    }\\n    return parseInt(id);\\n  }\\n}\\n\\n// return true if date1 < date2\\nasync function before_than(date1, date2){\\n  var time1 = new Date(date1).getTime();\\n  var time2 = new Date(date2).getTime();\\n  var diff = time1 - time2;\\n  if(diff < 0) { return true; }\\n  else { return false; }\\n}\\n\\nasync function read_report(data){\\n  var visited = [];\\n  var lines = [];\\n  for(var i = 0; i < data.length; i++){   \\n    if(data[i].product_name == null) { continue; }\\n\\n    // check if this product has read\\n    var repeated = false;\\n    for(var j = 0; j < visited.length; j++){\\n      if(data[i].product_id == visited[j]){\\n        repeated = true;\\n        break;\\n      }\\n    }\\n    if(repeated){ continue; }\\n    visited.push(data[i].product_id);\\n\\n    var sum = await sum_by_product(data, data[i].product_name);\\n    lines.push({\\n      product: data[i].product_name,\\n      code: data[i].product_code,\\n      qty: sum.qty,\\n      amount: sum.amount.toFixed(2),\\n      profit: (sum.amount - sum.cost_amount).toFixed(2),\\n      avg_of_profit: sum.qty == 0 ? 0 : ((sum.amount - sum.cost_amount) / sum.qty).toFixed(2),\\n      avg_of_margin: sum.amount == 0 ? 0 : ((sum.amount - sum.cost_amount) * 100 / sum.amount).toFixed(2),\\n    });\\n  }\\n  var sum_qty = 0, sum_amount = 0, sum_profit = 0, sum_avg_profit = 0, sum_avg_margin = 0;\\n  for(var i = 0; i < lines.length; i++){\\n    sum_qty += parseInt(lines[i].qty);\\n    sum_amount += parseFloat(lines[i].amount);\\n    sum_profit += parseFloat(lines[i].profit);\\n    \\n    if(parseFloat(lines[i].profit) < 0){ lines[i].profit = \\\"(\\\" + (-lines[i].profit) + \\\")\\\"; }\\n    if(parseFloat(lines[i].avg_of_profit) < 0){ lines[i].avg_of_profit = \\\"(\\\" + (-lines[i].avg_of_profit) + \\\")\\\"; }\\n    if(parseFloat(lines[i].avg_of_margin) < 0){ lines[i].avg_of_margin = \\\"(\\\" + (-lines[i].avg_of_margin) + \\\")\\\"; }\\n  }\\n  sum_avg_profit = sum_profit / sum_qty;\\n  sum_avg_margin = sum_profit * 100 / sum_amount;\\n  \\n  sum_amount = sum_amount.toFixed(2);\\n  sum_profit = sum_profit.toFixed(2);\\n  sum_avg_profit = sum_avg_profit.toFixed(2);\\n  sum_avg_margin = sum_avg_margin.toFixed(2);\\n  \\n  if(sum_amount < 0){ sum_amount = \\\"(\\\" + (-sum_amount) + \\\")\\\"; }\\n  if(sum_profit < 0){ sum_profit = \\\"(\\\" + (-sum_profit) + \\\")\\\"; }\\n  if(sum_avg_profit < 0){ sum_avg_profit = \\\"(\\\" + (-sum_avg_profit) + \\\")\\\"; }\\n  if(sum_avg_margin < 0){ sum_avg_margin = \\\"(\\\" + (-sum_avg_margin) + \\\")\\\"; }\\n  \\n  set_data({\\n    lines: lines,\\n    sum_qty: sum_qty,\\n    sum_amount: sum_amount,\\n    sum_profit: sum_profit,\\n    sum_avg_profit: sum_avg_profit,\\n    sum_avg_margin: sum_avg_margin,\\n  }); \\n  set_data({\\n    lines: lines,\\n    sum_qty: sum_qty,\\n    sum_amount: sum_amount,\\n    sum_profit: sum_profit,\\n    sum_avg_profit: sum_avg_profit,\\n    sum_avg_margin: sum_avg_margin,\\n  });\\n}\\n\\n// formula for the output\\nasync function sum_by_product(data, product){\\n  var sum_amount = 0;\\n  var sum_cost_amount = 0;\\n  var qty = 0;\\n  for(var i = 0; i < data.length; i++){\\n    if(data[i].product_name == product){\\n      sum_amount += data[i].amount ? parseFloat(data[i].amount) : 0;\\n      sum_cost_amount += parseFloat(data[i].cost_amount);\\n      qty += parseFloat(data[i].qty);\\n    }\\n  }\\n  return {\\n    amount: sum_amount,\\n    cost_amount: sum_cost_amount,\\n    qty: qty,\\n  };\\n}\\n\\nfunction print_pdf(){\\n  var data=get_data();\\n  if(!data.date_from) {data.date_from=\\\"2000-01-01\\\"};\\n  if(!data.date_to) throw alert (\\\"Please Select End Date\\\");\\n\\n  //var url=\\\"https://backend-prod2.netforce.com/render_page_pdf?page_id=348&active_id=425&database=nfo_main&user_id=63&company_id=1&token=bmZvX21haW4gNjM=|1616407803|3919087415faee3ebb1e5756bba8d530a68bff0c\\\"\\n  var url=\\\"https://pages-prod2.netforce.com/?page=stock_margin_print&db=nfo_main&user_id=8&company_id=1&token=bmZvX21haW4gNjM=|1616407803|3919087415faee3ebb1e5756bba8d530a68bff0c\\\";\\n\\n  url += \\\"&date_from=\\\"+data.date_from+\\\"&date_to=\\\"+data.date_to;\\n  if(data.product_categ){\\n    url += \\\"&product_categ=\\\"+data.product_categ;\\n  }\\n  if(data.product){\\n    url += \\\"&product=\\\"+data.product;\\n  }\\n  if(data.brand){\\n    url += \\\"&brand=\\\"+data.brand;\\n  }\\n\\n  var url2 = \\\"https://backend-prod2.netforce.com/convert_to_pdf?url=\\\" + encodeURIComponent(url);\\n  window.open(url2);\\n}\\n\\n\\n\"}, \"stock_margin_print_v1\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Stock Margin Report\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"From {from} to {to}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12, \"font_bold\": false}], \"min_height\": null, \"margin_top\": 30, \"padding_left\": 20, \"padding_right\": 20, \"header\": false, \"height\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"PRODUCTS\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"QUANTITY\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SUM OF INVOICE/ LINES/AMOUNT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SUM OF PROFIT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"AVG OF PROFIT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"AVG MARGIN %\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"[{code}] {product}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sum_of_amount}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sum_of_profit}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{avg_of_profit}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{avg_of_margin} %\\n\"}]}}]], \"field_rows\": \"lines\", \"num_cols\": 6, \"_col_widths\": \"[3,1,1,1,1,1]\", \"col_widths\": [3, 1, 1, 1, 1, 1], \"margin_left\": null, \"margin_right\": null, \"margin_bottom\": null, \"table_bordered\": true, \"table_striped\": true, \"margin_top\": 20, \"table_hover\": false, \"num_rows\": null}], \"min_height\": 50, \"margin_top\": 20, \"padding_left\": 20, \"padding_right\": 20, \"page_break_after\": false, \"page_break_inside_avoid\": false, \"padding_top\": 0, \"padding_bottom\": 10}], \"fields\": \"\", \"page_margin_top\": 20, \"page_margin_bottom\": 20, \"header_height\": \"\", \"show_page_no\": false}, \"code\": \"async function on_load(){ \\n  set_data({lines:[]});\\n\\n  var date_from=page_params.date_from;\\n  var date_to=page_params.date_to;\\n  var product=parseInt(page_params.product);\\n  var product_categ=parseInt(page_params.product_categ);\\n  var brand= parseInt(page_params.brand);\\n\\n  set_data({\\n    date_from:date_from,\\n    date_to:date_to,\\n    product:product,\\n    product_categ:product_categ,\\n    brand:brand\\n  });\\n\\n\\n  // read the given condition\\n  var cond = await get_cond();\\n\\n  // find the data satisfy the conditions\\n  var all_data = await rpc_execute(\\\"stock.margin.report\\\", \\\"search_read\\\", [[], [\\\"product_categ\\\", \\\"amount\\\", \\\"cost_amount\\\", \\\"date\\\", \\\"number\\\", \\\"product_code\\\", \\\"product_id\\\", \\\"product_name\\\", \\\"qty\\\", \\\"brand\\\"]]);\\n  var cur_data = [];\\n  for(var i = 0; i < all_data.length; i++){\\n    if(await satisfy(all_data[i], cond.all)){\\n      cur_data.push(all_data[i]);\\n    }\\n  }\\n\\n  await read_report(cur_data);\\n}\\n\\nasync function run_report(){\\n  var data = get_data();\\n  if(!data.date_from || !data.date_to){\\n    alert(\\\"Date fields are compulsory!\\\")\\n  }\\n  else{\\n    await on_load();\\n  }\\n}\\n\\n// read condition from page\\nasync function get_cond(){\\n  var data = get_data();\\n  var dateFrom = data.date_from;\\n  var dateTo = data.date_to;\\n  var product = data.product;\\n  var product_categ = data.product_categ;\\n  var brand = data.brand;\\n\\n  // if not input date_from or date_to, use this month as condition\\n  var now = new Date();\\n  if(!dateFrom){\\n    dateFrom = new Date(now.getFullYear(),now.getMonth(),1);\\n  }\\n  else{\\n    dateFrom = new Date(dateFrom);\\n  }\\n  if(!dateTo){\\n    dateTo = now;\\n  }\\t\\n  else{\\n    dateTo = new Date(dateTo);\\n  }\\n\\n  var from = dateFrom.getFullYear() + \\\"-\\\" + (\\\"0\\\" + (dateFrom.getMonth() + 1)).slice(-2) + \\\"-\\\" + (\\\"0\\\" + dateFrom.getDate()).slice(-2);\\n  var to = dateTo.getFullYear() + \\\"-\\\" + (\\\"0\\\" + (dateTo.getMonth() + 1)).slice(-2) + \\\"-\\\" + (\\\"0\\\" + dateTo.getDate()).slice(-2);\\n  set_data({\\n    from: from,\\n    to : to,\\n  })\\n\\n  // condition for different model\\n  return {\\n    all: {\\n      date_from: dateFrom, \\n      date_to: dateTo,\\n      product: product,\\n      product_categ: product_categ,\\n      brand: brand,\\n    },\\n  }\\n}\\n\\nasync function satisfy(data, cond){ // cond: {date_from, date_to, product, product_categ, brand}\\n  // check date\\n  if(await before_than(data.date, cond.date_from)){ return false; }\\n  if(await before_than(cond.date_to, data.date)){ return false; }\\n\\n  // check product\\n  if(cond.product && data.product_id != cond.product){ return false; }\\n\\n  // check product category\\n  if(cond.product_categ && await read_id_from_product_categ_id(data.product_categ) != cond.product_categ){ return false; }\\n\\n  // check brand\\n  if(cond.brand && data.brand != cond.brand){ return false; }\\n\\n  return true;\\n}\\n\\n// since the product.categ_id is a string but not an id only\\nasync function read_id_from_product_categ_id(product_categ){\\n  if(!product_categ){ return null; }\\n  else{\\n    var id = \\\"\\\";\\n    for(var i = 1; i < product_categ.length; i++){\\n      if(product_categ[i] == ','){ break; }\\n      id += product_categ[i];\\n    }\\n    return parseInt(id);\\n  }\\n}\\n\\n// return true if date1 < date2\\nasync function before_than(date1, date2){\\n  var time1 = new Date(date1).getTime();\\n  var time2 = new Date(date2).getTime();\\n  var diff = time1 - time2;\\n  if(diff < 0) { return true; }\\n  else { return false; }\\n}\\n\\nasync function read_report(data){\\n  var visited = [];\\n  var lines = [];\\n  for(var i = 0; i < data.length; i++){   \\n    if(data[i].product_name == null) { continue; }\\n\\n    // check if this product has read\\n    var repeated = false;\\n    for(var j = 0; j < visited.length; j++){\\n      if(data[i].product_id == visited[j]){\\n        repeated = true;\\n        break;\\n      }\\n    }\\n    if(repeated){ continue; }\\n    visited.push(data[i].product_id);\\n\\n    var sum = await sum_by_product(data, data[i].product_name);\\n    var new_line = {\\n      product: data[i].product_name,\\n      code: data[i].product_code,\\n      qty: sum.qty,\\n      sum_of_amount: sum.amount.toFixed(2),\\n      sum_of_profit: (sum.amount - sum.cost_amount).toFixed(2),\\n      avg_of_profit: sum.qty == 0 ? 0 : ((sum.amount - sum.cost_amount) / sum.qty).toFixed(2),\\n      avg_of_margin: sum.amount == 0 ? 0 : ((sum.amount - sum.cost_amount) * 100 / sum.amount).toFixed(2),\\n    };\\n    if(parseFloat(new_line.sum_of_profit) < 0){ new_line.sum_of_profit = \\\"(\\\" + (-new_line.sum_of_profit) + \\\")\\\"; }\\n    if(parseFloat(new_line.avg_of_profit) < 0){ new_line.avg_of_profit = \\\"(\\\" + (-new_line.avg_of_profit) + \\\")\\\"; }\\n    if(parseFloat(new_line.avg_of_margin) < 0){ new_line.avg_of_margin = \\\"(\\\" + (-new_line.avg_of_margin) + \\\")\\\"; }\\n    \\n    lines.push(new_line);\\n  }\\n\\n  set_data({lines:lines});\\n}\\n\\n// formula for the output\\nasync function sum_by_product(data, product){\\n  var sum_amount = 0;\\n  var sum_cost_amount = 0;\\n  var qty = 0;\\n  for(var i = 0; i < data.length; i++){\\n    if(data[i].product_name == product){\\n      sum_amount += data[i].amount ? parseFloat(data[i].amount) : 0;\\n      sum_cost_amount += parseFloat(data[i].cost_amount);\\n      qty += parseFloat(data[i].qty);\\n    }\\n  }\\n  return {\\n    amount: sum_amount,\\n    cost_amount: sum_cost_amount,\\n    qty: qty,\\n  };\\n}\\n\\nfunction print_pdf(){\\n  var data=get_data();\\n  if(!data.date_from) {data.date_from=\\\"2000-01-01\\\"};\\n  if(!data.date_to) throw alert (\\\"Please Select End Date\\\");\\n\\n  //var url=\\\"https://backend-prod2.netforce.com/render_page_pdf?page_id=348&active_id=425&database=nfo_main&user_id=63&company_id=1&token=bmZvX21haW4gNjM=|1616407803|3919087415faee3ebb1e5756bba8d530a68bff0c\\\"\\n  var url=\\\"https://pages-prod2.netforce.com/?page=stock_margin_print&db=nfo_main&user_id=8&company_id=1&token=bmZvX21haW4gNjM=|1616407803|3919087415faee3ebb1e5756bba8d530a68bff0c\\\";\\n\\n  url += \\\"&date_from=\\\"+data.date_from+\\\"&date_to=\\\"+data.date_to;\\n  if(data.product_categ){\\n    url += \\\"&product_categ=\\\"+data.product_categ;\\n  }\\n  if(data.product){\\n    url += \\\"&product=\\\"+data.product;\\n  }\\n  if(data.brand){\\n    url += \\\"&brand=\\\"+data.brand;\\n  }\\n\\n  var url2 = \\\"https://backend-prod2.netforce.com/convert_to_pdf?url=\\\" + encodeURIComponent(url);\\n  window.open(url2);\\n}\\n\\n\\n\"}, \"report_stock_margin\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Stock Margin Report\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}], \"min_height\": 50, \"border_bottom_width\": 1, \"border_color\": \"#eeeeee\", \"avoid_keyboard\": true, \"padding_top\": 15, \"padding_bottom\": 15}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"From\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"date_from\", \"field_type\": \"date\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"To\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"date_to\", \"field_type\": \"date\", \"margin_left\": 10, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Product\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"product\", \"field_type\": \"select2\", \"model\": \"product\", \"margin_left\": 10, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Product Category\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"select2\", \"name\": \"product_categ\", \"model\": \"product.categ\", \"margin_left\": 10, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Brand\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"select2\", \"name\": \"brand\", \"model\": \"product.brand\", \"margin_left\": 10, \"margin_right\": 10}]}], \"num_cols\": 5, \"col_widths\": [2, 2, 3, 3, 3], \"_col_widths\": \"[2,2,3,3,3]\", \"padding_top\": null, \"padding_left\": null, \"padding_right\": null}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"width\": \"105\", \"height\": \"35\", \"on_click\": \"clear_filter()\", \"text\": \"Clear\", \"color\": \"#ffffff\", \"background_color\": \"#2d6aa0\", \"font_size\": null, \"margin_top\": 20, \"align\": \"left\"}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 4], \"_col_widths\": \"[1,4]\"}], \"min_height\": 50, \"margin_top\": 20, \"margin_bottom\": 10, \"header\": false, \"background_color\": \"#e8f1ff\", \"border_width\": 2, \"border_color\": \"#cccccc\", \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"width\": \"105\", \"height\": \"35\", \"on_click\": \"run_report()\", \"text\": \"Run Report\", \"color\": \"#ffffff\", \"background_color\": \"#2d6aa0\", \"font_size\": null, \"margin_top\": 20, \"align\": \"left\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"105\", \"height\": \"35\", \"on_click\": \"print_pdf()\", \"text\": \"Print PDF\", \"color\": \"#000000\", \"background_color\": \"#e6e6e6\", \"font_size\": null, \"margin_top\": 20, \"align\": \"left\"}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 4], \"_col_widths\": \"[1,1,4]\", \"padding_left\": null, \"padding_right\": null, \"padding_bottom\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Stock Margin Report\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"From {from} to {to}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12, \"font_bold\": false}], \"min_height\": null, \"margin_top\": 30, \"padding_left\": 20, \"padding_right\": 20, \"header\": false, \"height\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"PRODUCTS\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"QUANTITY\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL INVOICE AMOUNT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL PROFIT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"AVG PROFIT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"AVG MARGIN %\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{profit}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{avg_of_profit}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{avg_of_margin} %\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SUM TOTAL\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sum_qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sum_amount}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sum_profit}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sum_avg_profit}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sum_avg_margin} %\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SHIPPING\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{shipping}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"CREDIT NOTES\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"({cr_sum})\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"background\": \"#f9f9f9\", \"bold\": true}, \"insert\": \"NET TOTAL (ECOMMERCE SALES)\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\"}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{final_sum}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]], \"field_rows\": \"lines\", \"num_cols\": 6, \"_col_widths\": \"[3,1,1,1,1,1]\", \"col_widths\": [3, 1, 1, 1, 1, 1], \"margin_left\": null, \"margin_right\": null, \"margin_bottom\": null, \"table_bordered\": true, \"table_striped\": true, \"margin_top\": 20, \"table_hover\": false, \"num_rows\": 6}], \"min_height\": 50, \"margin_top\": 20, \"padding_left\": 20, \"padding_right\": 20, \"page_break_after\": false, \"page_break_inside_avoid\": false, \"padding_top\": 0, \"padding_bottom\": 10}], \"fields\": \"\", \"page_margin_top\": 20, \"page_margin_bottom\": 20, \"header_height\": \"\", \"show_page_no\": false}, \"code\": \"async function on_load(){\\n  set_data(null);\\n\\n  // read the given condition\\n  var cond = await get_cond();\\n  \\n  var stocks = await read_stock_picking(cond.stock);\\n  var all_data = await read_info(stocks);\\n  \\n  var cur_data = [];\\n  for(var i = 0; i < all_data.length; i++){\\n    if(await satisfy(all_data[i], cond.all)){\\n      cur_data.push(all_data[i]);\\n    }\\n  }\\n  await read_report(cur_data,cond.cr);\\n  \\n  console.log(\\\"data satisfying condition:\\\\n\\\");\\n  console.log(cur_data);\\n \\n  //check_GI_by_number(cur_data,cond.stock_picking);\\n  //check_GI_by_product(data.lines,cond.stock_picking);\\n}\\n\\nasync function run_report(){\\n  var data = get_data();\\n  if(!data.date_from || !data.date_to){\\n    alert(\\\"Date fields are compulsory!\\\")\\n  }\\n  else{\\n    await on_load();\\n  }\\n}\\n\\nfunction clear_filter(){\\n  set_data({\\n    date_from: null,\\n    date_to: null,\\n    product: null,\\n    product_categ: null,\\n    brand: null,\\n  });\\n}\\n\\n// read condition from page\\nasync function get_cond(){\\n  var data = get_data();\\n  var dateFrom = data.date_from;\\n  var dateTo = data.date_to;\\n  var product = data.product;\\n  var product_categ = data.product_categ;\\n  var brand = data.brand;\\n\\n  checkDate();\\n\\n  // if not input date_from or date_to, use this month as condition\\n  var now = new Date();\\n  if(!dateFrom){\\n    dateFrom = new Date(now.getFullYear(),now.getMonth(),1);\\n  }\\n  else{\\n    dateFrom = new Date(dateFrom);\\n  }\\n  if(!dateTo){\\n    dateTo = now;\\n  }\\t\\n  else{\\n    dateTo = new Date(dateTo);\\n  }\\n\\n  var from = dateFrom.getFullYear() + \\\"-\\\" + (\\\"0\\\" + (dateFrom.getMonth() + 1)).slice(-2) + \\\"-\\\" + (\\\"0\\\" + dateFrom.getDate()).slice(-2);\\n  var to = dateTo.getFullYear() + \\\"-\\\" + (\\\"0\\\" + (dateTo.getMonth() + 1)).slice(-2) + \\\"-\\\" + (\\\"0\\\" + dateTo.getDate()).slice(-2);\\n  set_data({\\n    from: from,\\n    to : to,\\n  })\\n  dateFrom.setHours(0);\\n  dateFrom.setMinutes(0);\\n  dateFrom.setSeconds(0);\\n  dateTo.setHours(23);\\n  dateTo.setMinutes(59);\\n  dateTo.setSeconds(59);\\n  \\n  var cond_product = product ? [\\\"product_id\\\",\\\"=\\\",product.id] : [];\\n  var cond_product_categ = product_categ ? [\\\"categ_id\\\", \\\"=\\\", product_categ.id] : [];\\n  var cond_brand = brand ? [\\\"brand_id\\\", \\\"=\\\", brand.id] : [];\\n\\n  // condition for different model\\n  return {\\n    stock: [[\\\"date\\\", \\\">=\\\", dateFrom], [\\\"date\\\", \\\"<=\\\", dateTo],[\\\"journal_id\\\",\\\"=\\\",4],[\\\"state\\\",\\\"=\\\",\\\"done\\\"]],\\n    cr:[[\\\"date\\\", \\\">=\\\", dateFrom], [\\\"date\\\", \\\"<=\\\", dateTo]],\\n    all: {\\n      date_from: dateFrom, \\n      date_to: dateTo,\\n      product: product ? product.id : null,\\n      product_categ: product_categ ? product_categ.id : null,\\n      brand: brand ? brand.id : null,\\n    },\\n  }\\n}\\n\\n// check if date condition is available\\nfunction checkDate(){\\n  var data=get_data();\\n  date1=new Date(data.date_from);\\n  date2=new Date(data.date_to);\\n  if (date1-date2>0){\\n    alert('The period u selected is invalid!');\\n  }\\n}\\n\\nasync function read_stock_picking(cond){\\n  var stocks = await rpc_execute(\\\"stock.picking\\\", \\\"search_read_path\\\", [cond, [\\\"journal_id\\\",\\\"lines.product_id\\\", \\\"lines.qty\\\", \\\"lines.cost_amount\\\", \\\"date\\\", \\\"number\\\", \\\"invoice_id\\\"]]);\\n  return stocks;\\n}\\n\\nasync function read_info(stocks){  \\n  //read invoices from stocks\\n  var invoice_ids=[];\\n  var stocks_without_invoice = [];\\n  for(var s of stocks){\\n    if(s.invoice_id) invoice_ids.push(s.invoice_id);\\n    else stocks_without_invoice.push(s.number);\\n  }\\n  if(stocks_without_invoice.length>0){\\n    alert(\\\"Warning: \\\"+JSON.stringify(stocks_without_invoice)+\\\" have no invoice.\\\");\\n  }\\n  var invoices = await rpc_execute(\\\"account.invoice\\\",\\\"read_path\\\",[invoice_ids,[\\\"number\\\",\\\"lines.product_id\\\",\\\"lines.amount\\\"]]);\\n  \\n  //read products from stock.lines\\n  var product_ids=[];\\n  for(var s of stocks){\\n    for(var line of s.lines){\\n      if(line.product_id) product_ids.push(line.product_id);\\n    }\\n  }\\n  var products = await rpc_execute(\\\"product\\\", \\\"read\\\", [product_ids, [\\\"code\\\", \\\"name\\\", \\\"categ_id\\\", \\\"brand_id\\\"]]);\\n  \\n  var data = [];\\n  \\n  for(var i = 0; i < stocks.length; i++){\\n    \\n    //find stocks[i]'s invoice\\n    if(!stocks[i].invoice_id){\\n      console.log(stocks[i].number,\\\" has no invoice!!\\\");\\n      continue;\\n    }\\n    var invoice;\\n    for(var inv of invoices){\\n      if(inv.id==stocks[i].invoice_id){\\n        invoice=inv;\\n        break;\\n      }\\n    }\\n\\n    for(var il of invoice.lines){\\n      //find cost_amount and qty\\n      var cost_amount = 0;\\n      var qty = 0;\\n      for(var l of stocks[i].lines){\\n        if(il.product_id==l.product_id){\\n          cost_amount+=l.cost_amount;\\n          qty+=l.qty;\\n        }\\n      }\\n      \\n      //find product\\n      var product;\\n      for(var p of products){\\n        if(il.product_id==p.id){\\n          var product=p;\\n          break;\\n        }\\n      }\\n      \\n      data.push({\\n        number: stocks[i].number,\\n        date:stocks[i].date,\\n        product_id: il.product_id,\\n        product_categ: il.product_id?product.categ_id:null,  //change\\n        product_name: il.product_id?product.name:null,\\n        product_code: il.product_id?product.code:null,\\n        brand: product && product.brand_id? product.brand_id[0] : null,\\n        qty: qty,\\n        cost_amount: cost_amount,\\n        amount: il.amount,\\n      });\\n    }\\n  }\\n  return data;\\n}\\n\\nasync function create_data(data){\\n  for(var i = 0; i < data.length; i++){\\n    await rpc_execute(\\\"stock.margin.report\\\", \\\"create\\\", [data[i]]);\\n  }\\n}\\n\\nasync function satisfy(data, cond){ // cond: {date_from, date_to, product, product_categ, brand}\\n  // check date\\n  if(await before_than(data.date, cond.date_from)){ return false; }\\n  if(await before_than(cond.date_to, data.date)){ return false; }\\n\\n  // check product\\n  if(cond.product && data.product_id != cond.product){ return false; }\\n\\n  // check product category\\n  if(cond.product_categ && await read_id_from_product_categ_id(data.product_categ) != cond.product_categ){ return false; }  // change\\n\\n  // check brand\\n  if(cond.brand && data.brand != cond.brand){ return false; }\\n\\n  return true;\\n}\\n\\n// since the product.categ_id is a string but not an id only\\nasync function read_id_from_product_categ_id(product_categ){\\n  if(!product_categ){ return null; }\\n  else{\\n    var id = \\\"\\\";\\n    for(var i = 1; i < product_categ.length; i++){\\n      if(product_categ[i] == ','){ break; }\\n      id += product_categ[i];\\n    }\\n    return parseInt(id);\\n  }\\n}\\n\\n// return true if date1 < date2\\nasync function before_than(date1, date2){\\n  var time1 = new Date(date1).getTime();\\n  var time2 = new Date(date2).getTime();\\n  var diff = time1 - time2;\\n  if(diff < 0) { return true; }\\n  else { return false; }\\n}\\n\\nasync function read_report(data,cond_cr){\\n  var visited = [];\\n  var lines = [];\\n  var shipping = 0;\\n  for(var i = 0; i < data.length; i++){ \\n    // check if this product has read\\n    var repeated = false;\\n    for(var j = 0; j < visited.length; j++){\\n      if(data[i].product_id == visited[j]){\\n        repeated = true;\\n        break;\\n      }\\n    }\\n    if(repeated){ continue; }\\n    visited.push(data[i].product_id);\\n\\n    var sum = await sum_by_product(data, data[i].product_id);\\n    if(!data[i].product_id){\\n      shipping+=sum.amount;\\n      continue;\\n    }\\n    lines.push({\\n      number: data[i].number,\\n      product: data[i].product_name,\\n      product_id: data[i].product_id,\\n      code: data[i].product_code,\\n      qty: sum.qty,\\n      amount: sum.amount.toFixed(2),\\n      profit: (sum.amount - sum.cost_amount).toFixed(2),\\n      avg_of_profit: sum.qty == 0 ? 0 : ((sum.amount - sum.cost_amount) / sum.qty).toFixed(2),\\n      avg_of_margin: sum.amount == 0 ? 0 : ((sum.amount - sum.cost_amount) * 100 / sum.amount).toFixed(2),\\n    });\\n  }\\n  var sum_qty = 0, sum_amount = 0, sum_profit = 0, sum_avg_profit = 0, sum_avg_margin = 0;\\n  for(var i = 0; i < lines.length; i++){\\n    sum_qty += parseInt(lines[i].qty);\\n    sum_amount += parseFloat(lines[i].amount);\\n    sum_profit += parseFloat(lines[i].profit);\\n    \\n    if(parseFloat(lines[i].profit) < 0){ lines[i].profit = \\\"(\\\" + (-lines[i].profit) + \\\")\\\"; }\\n    if(parseFloat(lines[i].avg_of_profit) < 0){ lines[i].avg_of_profit = \\\"(\\\" + (-lines[i].avg_of_profit) + \\\")\\\"; }\\n    if(parseFloat(lines[i].avg_of_margin) < 0){ lines[i].avg_of_margin = \\\"(\\\" + (-lines[i].avg_of_margin) + \\\")\\\"; }\\n  }\\n  sum_avg_profit = sum_profit / sum_qty;\\n  sum_avg_margin = sum_profit * 100 / sum_amount;\\n  \\n  //calculate cr\\n  var invoices=await rpc_execute(\\\"account.invoice\\\",\\\"search_read_path\\\",[cond_cr,[\\\"number\\\",\\\"lines.amount\\\"]]);\\n  var cr_sum=0;\\n  for(var inv of invoices){\\n    if(inv.number[0]=='C'&&inv.number[1]=='R'){\\n      for(var l of inv.lines){\\n        cr_sum+=l.amount;\\n      }\\n    }\\n  }\\n  \\n  var final_sum = sum_amount+shipping-cr_sum;\\n  sum_amount = sum_amount.toFixed(2);\\n  sum_profit = sum_profit.toFixed(2);\\n  sum_avg_profit = sum_avg_profit.toFixed(2);\\n  sum_avg_margin = sum_avg_margin.toFixed(2);\\n  \\n  if(sum_amount < 0){ sum_amount = \\\"(\\\" + (-sum_amount) + \\\")\\\"; }\\n  if(sum_profit < 0){ sum_profit = \\\"(\\\" + (-sum_profit) + \\\")\\\"; }\\n  if(sum_avg_profit < 0){ sum_avg_profit = \\\"(\\\" + (-sum_avg_profit) + \\\")\\\"; }\\n  if(sum_avg_margin < 0){ sum_avg_margin = \\\"(\\\" + (-sum_avg_margin) + \\\")\\\"; }\\n  \\n  \\n  set_data({\\n    lines: lines,\\n    sum_qty: sum_qty,\\n    sum_amount: sum_amount,\\n    sum_profit: sum_profit,\\n    sum_avg_profit: sum_avg_profit,\\n    sum_avg_margin: sum_avg_margin,\\n    shipping: shipping.toFixed(2),\\n    final_sum: final_sum.toFixed(2),\\n    cr_sum:cr_sum.toFixed(2),\\n  }); \\n  set_data({\\n    lines: lines,\\n    sum_qty: sum_qty,\\n    sum_amount: sum_amount,\\n    sum_profit: sum_profit,\\n    sum_avg_profit: sum_avg_profit,\\n    sum_avg_margin: sum_avg_margin,\\n    shipping: shipping.toFixed(2),\\n    final_sum: final_sum.toFixed(2),\\n    cr_sum: cr_sum.toFixed(2),\\n  });\\n}\\n\\n// formula for the output\\nasync function sum_by_product(data, product){\\n  var sum_amount = 0;\\n  var sum_cost_amount = 0;\\n  var qty = 0;\\n  for(var i = 0; i < data.length; i++){\\n    if(data[i].product_id == product){\\n      sum_amount += data[i].amount ? parseFloat(data[i].amount) : 0;\\n      sum_cost_amount += parseFloat(data[i].cost_amount);\\n      qty += parseFloat(data[i].qty);\\n    }\\n  }\\n  return {\\n    amount: sum_amount,\\n    cost_amount: sum_cost_amount,\\n    qty: qty,\\n  };\\n}\\n\\nfunction print_pdf(){\\n  var data=get_data();\\n  if(!data.date_from) {data.date_from=\\\"2000-01-01\\\"};\\n  if(!data.date_to) throw alert (\\\"Please Select End Date\\\");\\n\\n  //var url=\\\"https://backend-prod2.netforce.com/render_page_pdf?page_id=348&active_id=425&database=nfo_main&user_id=63&company_id=1&token=bmZvX21haW4gNjM=|1616407803|3919087415faee3ebb1e5756bba8d530a68bff0c\\\"\\n  var url=\\\"https://pages-prod2.netforce.com/?page=stock_margin_print&db=nfo_main&user_id=8&company_id=1&token=bmZvX21haW4gNjM=|1616407803|3919087415faee3ebb1e5756bba8d530a68bff0c\\\";\\n\\n  url += \\\"&date_from=\\\"+data.date_from+\\\"&date_to=\\\"+data.date_to;\\n  if(data.product_categ){\\n    url += \\\"&product_categ=\\\"+data.product_categ.id;\\n  }\\n  if(data.product){\\n    url += \\\"&product=\\\"+data.product.id;\\n  }\\n  if(data.brand){\\n    url += \\\"&brand=\\\"+data.brand.id;\\n  }\\n\\n  var url2 = \\\"https://backend-prod2.netforce.com/convert_to_pdf?url=\\\" + encodeURIComponent(url);\\n  window.open(url2);\\n}\\n\\nasync function check_GI_by_number(data,cond){\\n  var gi = await rpc_execute(\\\"stock.picking\\\",\\\"search_read\\\",[cond,[\\\"number\\\"]]);\\n  console.log(gi);\\n  var problem_report=[];\\n  var problem_gi=[];\\n  for(var d of data){\\n    var found = false;\\n    for(var g of gi){\\n      if(d.number==g.number){\\n        found=true;\\n        break;\\n      }\\n    }\\n    if(!found){\\n      problem_report.push(d);\\n    }\\n  }\\n  for(var g of gi){\\n    var found = false;\\n    for(var d of data){\\n      if(d.number==g.number){\\n        found=true;\\n        break;\\n      }\\n    }\\n    if(!found){\\n      problem_gi.push(g);\\n    }\\n  }\\n  console.log(\\\"gi that is not included in report:\\\");\\n  console.log(problem_gi);\\n  console.log(\\\"report that is not included in gi\\\");\\n  console.log(problem_report);\\n}\\n\\nasync function check_GI_by_product(data,cond){\\n  var gi = await rpc_execute(\\\"stock.picking\\\",\\\"search_read\\\",[cond,[\\\"number\\\",\\\"lines\\\"]]);\\n  var lines=[];\\n  for(var g of gi){\\n    lines.push.apply(lines,g.lines);\\n  }\\n  var stock_move = await rpc_execute(\\\"stock.move\\\",\\\"read\\\",[lines,[\\\"product_id\\\",\\\"qty\\\"]]);\\n  console.log(stock_move);\\n  var problem_report=[];\\n  var problem_gi=[];\\n  for(var d of data){\\n    var qty = 0;\\n    for(var s of stock_move){\\n      if(d.product_id==s.product_id[0]){\\n        qty+=s.qty;\\n      }\\n    }\\n    if(qty>d.qty) problem_gi.push(d.product);\\n    if(d.qty>qty) problem_report.push(qty);\\n  }\\n  console.log(\\\"product that is less in report:\\\");\\n  console.log(problem_gi);\\n  console.log(\\\"product that is less in gi\\\");\\n  console.log(problem_report);\\n}\\n\\nasync function check_GI_by_amount(data,cond){\\n  var stocks = await rpc_execute(\\\"stock.picking\\\",\\\"search_read_path\\\",[cond,[\\\"journal_id\\\",\\\"lines.product_id\\\", \\\"lines.qty\\\", \\\"lines.cost_amount\\\", \\\"date\\\", \\\"number\\\", \\\"invoice_id\\\"]]);\\n  var info = await read_info(stocks);\\n  console.log(info);\\n}\"}, \"report_stock_margin_v1\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Stock Margin Report\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}], \"min_height\": 50, \"border_bottom_width\": 1, \"border_color\": \"#eeeeee\", \"avoid_keyboard\": true, \"padding_top\": 15, \"padding_bottom\": 15}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"From\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"date_from\", \"field_type\": \"date\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"To\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"date_to\", \"field_type\": \"date\", \"margin_left\": 10, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Product\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"product\", \"field_type\": \"select2\", \"model\": \"product\", \"margin_left\": 10, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Product Category\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"select2\", \"name\": \"product_categ\", \"model\": \"product.categ\", \"margin_left\": 10, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Brand\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"select2\", \"name\": \"brand\", \"model\": \"product.brand\", \"margin_left\": 10, \"margin_right\": 10}]}], \"num_cols\": 5, \"col_widths\": [2, 2, 3, 3, 3], \"_col_widths\": \"[2,2,3,3,3]\", \"padding_top\": null, \"padding_left\": null, \"padding_right\": null}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"width\": \"105\", \"height\": \"35\", \"on_click\": \"clear_filter()\", \"text\": \"Clear\", \"color\": \"#ffffff\", \"background_color\": \"#2d6aa0\", \"font_size\": null, \"margin_top\": 20, \"align\": \"left\"}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 4], \"_col_widths\": \"[1,4]\"}], \"min_height\": 50, \"margin_top\": 20, \"margin_bottom\": 10, \"header\": false, \"background_color\": \"#e8f1ff\", \"border_width\": 2, \"border_color\": \"#cccccc\", \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"width\": \"105\", \"height\": \"35\", \"on_click\": \"run_report()\", \"text\": \"Run Report\", \"color\": \"#ffffff\", \"background_color\": \"#2d6aa0\", \"font_size\": null, \"margin_top\": 20, \"align\": \"left\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"105\", \"height\": \"35\", \"on_click\": \"print_pdf()\", \"text\": \"Print PDF\", \"color\": \"#000000\", \"background_color\": \"#e6e6e6\", \"font_size\": null, \"margin_top\": 20, \"align\": \"left\"}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 6], \"_col_widths\": \"[1,1,6]\", \"padding_left\": null, \"padding_right\": null, \"padding_bottom\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Stock Margin Report\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"From {from} to {to}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12, \"font_bold\": false}], \"min_height\": null, \"margin_top\": 30, \"padding_left\": 20, \"padding_right\": 20, \"header\": false, \"height\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"PRODUCTS\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"QUANTITY\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL INVOICE AMOUNT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL PROFIT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"AVG PROFIT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"AVG MARGIN %\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"[{code}] {product}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sum_of_amount}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sum_of_profit}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{avg_of_profit}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{avg_of_margin} %\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]], \"field_rows\": \"lines\", \"num_cols\": 6, \"_col_widths\": \"[3,1,1,1,1,1]\", \"col_widths\": [3, 1, 1, 1, 1, 1], \"margin_left\": null, \"margin_right\": null, \"margin_bottom\": null, \"table_bordered\": true, \"table_striped\": true, \"margin_top\": 20, \"table_hover\": false, \"num_rows\": null}, {\"type\": \"table\", \"elements\": [[], []]}], \"min_height\": 50, \"margin_top\": 20, \"padding_left\": 20, \"padding_right\": 20, \"page_break_after\": false, \"page_break_inside_avoid\": false, \"padding_top\": 0, \"padding_bottom\": 10}], \"fields\": \"\", \"page_margin_top\": 20, \"page_margin_bottom\": 20, \"header_height\": \"\", \"show_page_no\": false}, \"code\": \"async function on_load(){ \\n  set_data({lines:[]});\\n  \\n  //await delete_data();\\n\\n  var stocks = await read_stock_picking();\\n  var new_data = await read_info(stocks);\\n  await create_data(new_data);\\n  \\n  // read the given condition\\n  var cond = await get_cond();\\n  \\n  // find the data satisfy the conditions\\n  var all_data = await rpc_execute(\\\"stock.margin.report\\\", \\\"search_read\\\", [[], [\\\"product_categ\\\", \\\"amount\\\", \\\"cost_amount\\\", \\\"date\\\", \\\"number\\\", \\\"product_code\\\", \\\"product_id\\\", \\\"product_name\\\", \\\"qty\\\", \\\"brand\\\"]]);\\n  var cur_data = [];\\n  for(var i = 0; i < all_data.length; i++){\\n    if(await satisfy(all_data[i], cond.all)){\\n      cur_data.push(all_data[i]);\\n    }\\n  }\\n  await read_report(cur_data);\\n}\\n\\nasync function delete_data(){\\n  var data = await rpc_execute(\\\"stock.margin.report\\\", \\\"search_read\\\", [[],[\\\"number\\\"]]);\\n  for(var i = 0; i < data.length; i++){\\n    await rpc_execute(\\\"stock.margin.report\\\", \\\"delete\\\", [[data[i].id]]);\\n  }\\n}\\n\\nasync function run_report(){\\n  var data = get_data();\\n  if(!data.date_from || !data.date_to){\\n    alert(\\\"Date fields are compulsory!\\\")\\n  }\\n  else{\\n    await on_load();\\n  }\\n}\\n\\nfunction clear_filter(){\\n  set_data({\\n    date_from: null,\\n    date_to: null,\\n    product: null,\\n    product_categ: null,\\n    brand: null,\\n  });\\n}\\n\\n// read condition from page\\nasync function get_cond(){\\n  var data = get_data();\\n  var dateFrom = data.date_from;\\n  var dateTo = data.date_to;\\n  var product = data.product;\\n  var product_categ = data.product_categ;\\n  var brand = data.brand;\\n\\n  checkDate();\\n\\n  // if not input date_from or date_to, use this month as condition\\n  var now = new Date();\\n  if(!dateFrom){\\n    dateFrom = new Date(now.getFullYear(),now.getMonth(),1);\\n  }\\n  else{\\n    dateFrom = new Date(dateFrom);\\n  }\\n  if(!dateTo){\\n    dateTo = now;\\n  }\\t\\n  else{\\n    dateTo = new Date(dateTo);\\n  }\\n\\n  var from = dateFrom.getFullYear() + \\\"-\\\" + (\\\"0\\\" + (dateFrom.getMonth() + 1)).slice(-2) + \\\"-\\\" + (\\\"0\\\" + dateFrom.getDate()).slice(-2);\\n  var to = dateTo.getFullYear() + \\\"-\\\" + (\\\"0\\\" + (dateTo.getMonth() + 1)).slice(-2) + \\\"-\\\" + (\\\"0\\\" + dateTo.getDate()).slice(-2);\\n  set_data({\\n    from: from,\\n    to : to,\\n  })\\n  var cond_product = product ? [product.id] : [];\\n  var cond_product_categ = product_categ ? [\\\"categ_id\\\", \\\"=\\\", product_categ.id] : [];\\n  var cond_brand = brand ? [\\\"brand_id\\\", \\\"=\\\", brand.id] : [];\\n\\n  // condition for different model\\n  return {\\n    stock_picking: [[\\\"date\\\", \\\">=\\\", from], [\\\"date\\\", \\\"<=\\\", to]],\\n    product: [cond_product, cond_product_categ, cond_brand],\\n    all: {\\n      date_from: dateFrom, \\n      date_to: dateTo,\\n      product: product ? product.id : null,\\n      product_categ: product_categ ? product_categ.id : null,\\n      brand: brand ? brand.id : null,\\n    },\\n  }\\n}\\n\\n// check if date condition is available\\nfunction checkDate(){\\n  var data=get_data();\\n  date1=new Date(data.date_from);\\n  date2=new Date(data.date_to);\\n  if (date1-date2>0){\\n    alert('The period u selected is invalid!');\\n  }\\n}\\n\\nasync function read_stock_picking(){\\n  var data = await rpc_execute(\\\"stock.margin.report\\\", \\\"search_read_path\\\", [[], [\\\"number\\\"]]);\\n  var stocks = await rpc_execute(\\\"stock.picking\\\", \\\"search_read_path\\\", [[], [\\\"lines.product_id\\\", \\\"date\\\", \\\"number\\\", \\\"invoice_id\\\"]]);\\n\\n  // check if the data not in database\\n  var new_data = [];\\n  for(var i = 0; i < stocks.length; i++){\\n    var repeated = false;\\n    for(var j = 0; j < data.length; j++){\\n      if(stocks[i].number == data[j].number){\\n        repeated = true;\\n        break;\\n      }\\n    }\\n    if(!repeated){ \\n      new_data.push(stocks[i]); \\n    }\\n  }\\n  \\n  for(var i = 0; i < data.length; i++){\\n    var existed = false;\\n    for(var j = 0; j < stocks.length; j++){\\n      if(stocks[j].number == data[i].number){\\n        existed = true;\\n        break;\\n      }\\n    }\\n    if(!existed){ \\n      await rpc_execute(\\\"stock.margin.report\\\", \\\"delete\\\", [[data[i].id]]);\\n    }\\n  }\\n\\n  return new_data;\\n}\\n\\nasync function read_info(stocks){\\n  var data = [];\\n  for(var i = 0; i < stocks.length; i++){\\n    var lines = [];\\n    for(var j = 0; j < stocks[i].lines.length; j++){\\n      var product = await rpc_execute(\\\"product\\\", \\\"read\\\", [[stocks[i].lines[j].product_id], [\\\"code\\\", \\\"name\\\", \\\"categ_id\\\", \\\"brand_id\\\"]]);\\n      if(product.length == 0){continue;}\\n      var stock_move = await rpc_execute(\\\"stock.move\\\", \\\"search_read_path\\\", [[[\\\"product_id\\\", \\\"=\\\", product[0].id]], [\\\"qty\\\", \\\"cost_amount\\\"]]);\\n      lines.push({\\n        product: product[0],\\n        qty: stock_move[0].qty,\\n        cost_amount: stock_move[0].cost_amount,\\n      });\\n    }// end for\\n\\n    if(stocks[i].invoice_id != null){\\n      var invoices = await rpc_execute(\\\"account.invoice\\\", \\\"read_path\\\", [[stocks[i].invoice_id], [\\\"number\\\", \\\"lines\\\"]]);\\n      var invoice_lines = [];\\n      for(var j = 0; j < invoices[0].lines.length; j++){\\n        var invoice_line = await rpc_execute(\\\"account.invoice.line\\\", \\\"read_path\\\", [[invoices[0].lines[j]], [\\\"product_id\\\", \\\"amount\\\"]]);\\n        var invoice_product_name = invoice_line[0].product_id ? await rpc_execute(\\\"product\\\", \\\"read\\\", [[invoice_line[0].product_id], [\\\"name\\\"]]) : null;\\n        if(invoice_product_name && invoice_product_name.length == 0){continue;}\\n        invoice_lines.push({\\n          product: invoice_product_name ? invoice_product_name[0].name : null,\\n          amount: invoice_line[0].amount,\\n        });\\n      }//end for\\n\\n      var invoice = {\\n        number: invoices[0].number,\\n        lines: invoice_lines,\\n      }\\n      }//end if\\n    else{\\n      var invoice = null;\\n    }\\n\\n    for(var j = 0; j < lines.length; j++){\\n      var amount = null;\\n      if(invoice){\\n        for(var k = 0; k < invoice.lines.length; k++){\\n          if(invoice.lines[k].product == lines[j].product.name){\\n            amount = invoice.lines[k].amount;\\n            break;\\n          }// end if\\n        }// end for\\n      }// end if\\n\\n      data.push({\\n        number: stocks[i].number,\\n        date:stocks[i].date,\\n        product_id: lines[j].product.id,\\n        product_categ: lines[j].product.categ_id,  //change\\n        product_name: lines[j].product.name,\\n        product_code: lines[j].product.code,\\n        brand: lines[j].product.brand_id ? lines[j].product.brand_id[0] : null,\\n        qty: lines[j].qty,\\n        cost_amount: lines[j].cost_amount,\\n        amount: amount,\\n      });\\n    }// end for\\n  }// end for\\n\\n  return data;\\n}\\n\\nasync function create_data(data){\\n  for(var i = 0; i < data.length; i++){\\n    await rpc_execute(\\\"stock.margin.report\\\", \\\"create\\\", [data[i]]);\\n  }\\n}\\n\\nasync function satisfy(data, cond){ // cond: {date_from, date_to, product, product_categ, brand}\\n  // check date\\n  if(await before_than(data.date, cond.date_from)){ return false; }\\n  if(await before_than(cond.date_to, data.date)){ return false; }\\n\\n  // check product\\n  if(cond.product && data.product_id != cond.product){ return false; }\\n\\n  // check product category\\n  if(cond.product_categ && await read_id_from_product_categ_id(data.product_categ) != cond.product_categ){ return false; }  // change\\n\\n  // check brand\\n  if(cond.brand && data.brand != cond.brand){ return false; }\\n\\n  return true;\\n}\\n\\n// since the product.categ_id is a string but not an id only\\nasync function read_id_from_product_categ_id(product_categ){\\n  if(!product_categ){ return null; }\\n  else{\\n    var id = \\\"\\\";\\n    for(var i = 1; i < product_categ.length; i++){\\n      if(product_categ[i] == ','){ break; }\\n      id += product_categ[i];\\n    }\\n    return parseInt(id);\\n  }\\n}\\n\\n// return true if date1 < date2\\nasync function before_than(date1, date2){\\n  var time1 = new Date(date1).getTime();\\n  var time2 = new Date(date2).getTime();\\n  var diff = time1 - time2;\\n  if(diff < 0) { return true; }\\n  else { return false; }\\n}\\n\\nasync function read_report(data){\\n  var visited = [];\\n  var lines = [];\\n  for(var i = 0; i < data.length; i++){   \\n    if(data[i].product_name == null) { continue; }\\n\\n    // check if this product has read\\n    var repeated = false;\\n    for(var j = 0; j < visited.length; j++){\\n      if(data[i].product_id == visited[j]){\\n        repeated = true;\\n        break;\\n      }\\n    }\\n    if(repeated){ continue; }\\n    visited.push(data[i].product_id);\\n\\n    var sum = await sum_by_product(data, data[i].product_name);\\n    var new_line = {\\n      product: data[i].product_name,\\n      code: data[i].product_code,\\n      qty: sum.qty,\\n      sum_of_amount: sum.amount.toFixed(2),\\n      sum_of_profit: (sum.amount - sum.cost_amount).toFixed(2),\\n      avg_of_profit: sum.qty == 0 ? 0 : ((sum.amount - sum.cost_amount) / sum.qty).toFixed(2),\\n      avg_of_margin: sum.amount == 0 ? 0 : ((sum.amount - sum.cost_amount) * 100 / sum.amount).toFixed(2),\\n    };\\n    if(parseFloat(new_line.sum_of_profit) < 0){ new_line.sum_of_profit = \\\"(\\\" + (-new_line.sum_of_profit) + \\\")\\\"; }\\n    if(parseFloat(new_line.avg_of_profit) < 0){ new_line.avg_of_profit = \\\"(\\\" + (-new_line.avg_of_profit) + \\\")\\\"; }\\n    if(parseFloat(new_line.avg_of_margin) < 0){ new_line.avg_of_margin = \\\"(\\\" + (-new_line.avg_of_margin) + \\\")\\\"; }\\n    \\n    lines.push(new_line);\\n  }\\n\\n  set_data({lines:lines});\\n}\\n\\n// formula for the output\\nasync function sum_by_product(data, product){\\n  var sum_amount = 0;\\n  var sum_cost_amount = 0;\\n  var qty = 0;\\n  for(var i = 0; i < data.length; i++){\\n    if(data[i].product_name == product){\\n      sum_amount += data[i].amount ? parseFloat(data[i].amount) : 0;\\n      sum_cost_amount += parseFloat(data[i].cost_amount);\\n      qty += parseFloat(data[i].qty);\\n    }\\n  }\\n  return {\\n    amount: sum_amount,\\n    cost_amount: sum_cost_amount,\\n    qty: qty,\\n  };\\n}\\n\\nfunction print_pdf(){\\n  var data=get_data();\\n  if(!data.date_from) {data.date_from=\\\"2000-01-01\\\"};\\n  if(!data.date_to) throw alert (\\\"Please Select End Date\\\");\\n\\n  //var url=\\\"https://backend-prod2.netforce.com/render_page_pdf?page_id=348&active_id=425&database=nfo_main&user_id=63&company_id=1&token=bmZvX21haW4gNjM=|1616407803|3919087415faee3ebb1e5756bba8d530a68bff0c\\\"\\n  var url=\\\"https://pages-prod2.netforce.com/?page=stock_margin_print&db=nfo_main&user_id=8&company_id=1&token=bmZvX21haW4gNjM=|1616407803|3919087415faee3ebb1e5756bba8d530a68bff0c\\\";\\n\\n  url += \\\"&date_from=\\\"+data.date_from+\\\"&date_to=\\\"+data.date_to;\\n  if(data.product_categ){\\n    url += \\\"&product_categ=\\\"+data.product_categ.id;\\n  }\\n  if(data.product){\\n    url += \\\"&product=\\\"+data.product.id;\\n  }\\n  if(data.brand){\\n    url += \\\"&brand=\\\"+data.brand.id;\\n  }\\n\\n  var url2 = \\\"https://backend-prod2.netforce.com/convert_to_pdf?url=\\\" + encodeURIComponent(url);\\n  window.open(url2);\\n}\\n\"}, \"report_stock_margin_v2\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Stock Margin Report\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}], \"min_height\": 50, \"border_bottom_width\": 1, \"border_color\": \"#eeeeee\", \"avoid_keyboard\": true, \"padding_top\": 15, \"padding_bottom\": 15}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"From\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"date_from\", \"field_type\": \"date\", \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"To\"}, {\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"*\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"date_to\", \"field_type\": \"date\", \"margin_left\": 10, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Product\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"field\", \"name\": \"product\", \"field_type\": \"select2\", \"model\": \"product\", \"margin_left\": 10, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Product Category\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"select2\", \"name\": \"product_categ\", \"model\": \"product.categ\", \"margin_left\": 10, \"margin_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Brand\\n\"}]}, \"margin_left\": 10, \"margin_right\": 10, \"margin_bottom\": 5}, {\"type\": \"field\", \"field_type\": \"select2\", \"name\": \"brand\", \"model\": \"product.brand\", \"margin_left\": 10, \"margin_right\": 10}]}], \"num_cols\": 5, \"col_widths\": [2, 2, 3, 3, 3], \"_col_widths\": \"[2,2,3,3,3]\", \"padding_top\": null, \"padding_left\": null, \"padding_right\": null}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"width\": \"105\", \"height\": \"35\", \"on_click\": \"clear_filter()\", \"text\": \"Clear\", \"color\": \"#ffffff\", \"background_color\": \"#2d6aa0\", \"font_size\": null, \"margin_top\": 20, \"align\": \"left\"}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 4], \"_col_widths\": \"[1,4]\"}], \"min_height\": 50, \"margin_top\": 20, \"margin_bottom\": 10, \"header\": false, \"background_color\": \"#e8f1ff\", \"border_width\": 2, \"border_color\": \"#cccccc\", \"padding_top\": 10, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 20}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"width\": \"105\", \"height\": \"35\", \"on_click\": \"run_report()\", \"text\": \"Run Report\", \"color\": \"#ffffff\", \"background_color\": \"#2d6aa0\", \"font_size\": null, \"margin_top\": 20, \"align\": \"left\"}]}, {\"children\": [{\"type\": \"button\", \"width\": \"105\", \"height\": \"35\", \"on_click\": \"print_pdf()\", \"text\": \"Print PDF\", \"color\": \"#000000\", \"background_color\": \"#e6e6e6\", \"font_size\": null, \"margin_top\": 20, \"align\": \"left\"}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 4], \"_col_widths\": \"[1,1,4]\", \"padding_left\": null, \"padding_right\": null, \"padding_bottom\": null}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Stock Margin Report\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"From {from} to {to}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 12, \"font_bold\": false}], \"min_height\": null, \"margin_top\": 30, \"padding_left\": 20, \"padding_right\": 20, \"header\": false, \"height\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"PRODUCTS\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"QUANTITY\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL INVOICE AMOUNT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"TOTAL PROFIT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"AVG PROFIT\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"AVG MARGIN %\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{amount}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{profit}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{avg_of_profit}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{avg_of_margin} %\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"SUM\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sum_qty}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sum_amount}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sum_profit}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sum_avg_profit}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{sum_avg_margin} %\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{shipping}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}], [null, null, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{final_sum}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}]], \"field_rows\": \"lines\", \"num_cols\": 6, \"_col_widths\": \"[3,1,1,1,1,1]\", \"col_widths\": [3, 1, 1, 1, 1, 1], \"margin_left\": null, \"margin_right\": null, \"margin_bottom\": null, \"table_bordered\": true, \"table_striped\": true, \"margin_top\": 20, \"table_hover\": false, \"num_rows\": 5}], \"min_height\": 50, \"margin_top\": 20, \"padding_left\": 20, \"padding_right\": 20, \"page_break_after\": false, \"page_break_inside_avoid\": false, \"padding_top\": 0, \"padding_bottom\": 10}], \"fields\": \"\", \"page_margin_top\": 20, \"page_margin_bottom\": 20, \"header_height\": \"\", \"show_page_no\": false}, \"code\": \"async function on_load(){\\n  set_data(null);\\n  //await delete_data();\\n\\n  var stocks = await read_stock_picking();\\n  console.log(stocks);\\n  var new_data = await read_info(stocks);\\n\\n  await create_data(new_data);\\n  \\n  // read the given condition\\n  var cond = await get_cond();\\n  console.log(cond.all);\\n  \\n  // find the data satisfy the conditions\\n  var all_data = await rpc_execute(\\\"stock.margin.report\\\", \\\"search_read\\\", [[], [\\\"product_categ\\\", \\\"amount\\\", \\\"cost_amount\\\", \\\"date\\\", \\\"number\\\", \\\"product_code\\\", \\\"product_id\\\", \\\"product_name\\\", \\\"qty\\\", \\\"brand\\\"]]);\\n  var cur_data = [];\\n  for(var i = 0; i < all_data.length; i++){\\n    if(await satisfy(all_data[i], cond.all)){\\n      cur_data.push(all_data[i]);\\n    }\\n  }\\n  await read_report(cur_data);\\n  console.log(\\\"data satisfying condition:\\\\n\\\");\\n  console.log(cur_data);\\n  var report = await rpc_execute(\\\"account.invoice.line\\\", \\\"read_path\\\", [[5425], [\\\"product_id\\\", \\\"amount\\\"]]);\\n  console.log(\\\"say peng test:\\\\n\\\");\\n  console.log(report);\\n  var data = get_data();\\n  //check_GI_by_number(cur_data,cond.stock_picking);\\n  //check_GI_by_product(data.lines,cond.stock_picking);\\n}\\n\\nasync function delete_data(id=null){\\n  if(id){\\n    rpc_execute(\\\"stock.margin.report\\\",\\\"delete\\\",[[id]]);\\n    return;\\n  }\\n  var data = await rpc_execute(\\\"stock.margin.report\\\", \\\"search_read\\\", [[],[\\\"number\\\"]]);\\n  for(var i = 0; i < data.length; i++){\\n    await rpc_execute(\\\"stock.margin.report\\\", \\\"delete\\\", [[data[i].id]]);\\n  }\\n}\\n\\nasync function run_report(){\\n  var data = get_data();\\n  if(!data.date_from || !data.date_to){\\n    alert(\\\"Date fields are compulsory!\\\")\\n  }\\n  else{\\n    await on_load();\\n  }\\n}\\n\\nfunction clear_filter(){\\n  set_data({\\n    date_from: null,\\n    date_to: null,\\n    product: null,\\n    product_categ: null,\\n    brand: null,\\n  });\\n}\\n\\n// read condition from page\\nasync function get_cond(){\\n  var data = get_data();\\n  var dateFrom = data.date_from;\\n  var dateTo = data.date_to;\\n  var product = data.product;\\n  var product_categ = data.product_categ;\\n  var brand = data.brand;\\n\\n  checkDate();\\n\\n  // if not input date_from or date_to, use this month as condition\\n  var now = new Date();\\n  if(!dateFrom){\\n    dateFrom = new Date(now.getFullYear(),now.getMonth(),1);\\n  }\\n  else{\\n    dateFrom = new Date(dateFrom);\\n  }\\n  if(!dateTo){\\n    dateTo = now;\\n  }\\t\\n  else{\\n    dateTo = new Date(dateTo);\\n  }\\n\\n  var from = dateFrom.getFullYear() + \\\"-\\\" + (\\\"0\\\" + (dateFrom.getMonth() + 1)).slice(-2) + \\\"-\\\" + (\\\"0\\\" + dateFrom.getDate()).slice(-2);\\n  var to = dateTo.getFullYear() + \\\"-\\\" + (\\\"0\\\" + (dateTo.getMonth() + 1)).slice(-2) + \\\"-\\\" + (\\\"0\\\" + dateTo.getDate()).slice(-2);\\n  set_data({\\n    from: from,\\n    to : to,\\n  })\\n  dateFrom.setHours(0);\\n  dateFrom.setMinutes(0);\\n  dateFrom.setSeconds(0);\\n  dateTo.setHours(23);\\n  dateTo.setMinutes(59);\\n  dateTo.setSeconds(59);\\n  \\n  var cond_product = product ? [\\\"product_id\\\",\\\"=\\\",product.id] : [];\\n  var cond_product_categ = product_categ ? [\\\"categ_id\\\", \\\"=\\\", product_categ.id] : [];\\n  var cond_brand = brand ? [\\\"brand_id\\\", \\\"=\\\", brand.id] : [];\\n\\n  // condition for different model\\n  return {\\n    stock_picking: [[\\\"date\\\", \\\">=\\\", dateFrom], [\\\"date\\\", \\\"<=\\\", dateTo],[\\\"journal_id\\\",\\\"=\\\",4],[\\\"state\\\",\\\"=\\\",\\\"done\\\"]],\\n    product: [cond_product, cond_product_categ, cond_brand],\\n    all: {\\n      from: from,\\n      to: to,\\n      date_from: dateFrom, \\n      date_to: dateTo,\\n      product: product ? product.id : null,\\n      product_categ: product_categ ? product_categ.id : null,\\n      brand: brand ? brand.id : null,\\n    },\\n  }\\n}\\n\\n// check if date condition is available\\nfunction checkDate(){\\n  var data=get_data();\\n  date1=new Date(data.date_from);\\n  date2=new Date(data.date_to);\\n  if (date1-date2>0){\\n    alert('The period u selected is invalid!');\\n  }\\n}\\n\\nasync function read_stock_picking(){\\n  var data = await rpc_execute(\\\"stock.margin.report\\\", \\\"search_read_path\\\", [[[\\\"product_id\\\",\\\"!=\\\",null]], [\\\"journal_id\\\",\\\"number\\\"]]);\\n  var stocks = await rpc_execute(\\\"stock.picking\\\", \\\"search_read_path\\\", [[[\\\"state\\\", \\\"=\\\", \\\"done\\\"]], [\\\"journal_id\\\",\\\"lines.product_id\\\", \\\"lines.qty\\\", \\\"lines.cost_amount\\\", \\\"date\\\", \\\"number\\\", \\\"invoice_id\\\"]]);\\n  // check if the data not in database\\n  var new_data = [];\\n  for(var i = 0; i < stocks.length; i++){\\n    var repeated = false;\\n    if(!stocks[i].invoice_id||!isGI(stocks[i])) continue;\\n    for(var j = 0; j < data.length; j++){\\n      if(stocks[i].number == data[j].number){\\n        repeated = true;\\n        break;\\n      }\\n    }\\n    if(!repeated){ \\n      new_data.push(stocks[i]); \\n    }\\n  }\\n  \\n  for(var i = 0; i < data.length; i++){\\n    var existed = false;\\n    for(var j = 0; j < stocks.length; j++){\\n      if(stocks[j].number == data[i].number){\\n        existed = true;\\n        break;\\n      }\\n    }\\n    if(!existed || !isGI(data[i])){ \\n      await rpc_execute(\\\"stock.margin.report\\\", \\\"delete\\\", [[data[i].id]]);\\n    }\\n  }\\n\\n  return new_data;\\n}\\n\\nfunction isGI(stock){\\n  if(stock.journal_id == 4) return true;\\n  else return false;\\n}\\n\\nasync function read_info(stocks){\\n  var data = [];\\n  for(var i = 0; i < stocks.length; i++){\\n    var lines = [];\\n    var visited = [];\\n    for(var j = 0; j < stocks[i].lines.length; j++){\\n      var existed = false;\\n      for(var v of visited){\\n        if(v==stocks[i].lines[j].product_id){\\n          existed =true;\\n          break;\\n        }\\n      }\\n      if(existed) continue;\\n      var product = await rpc_execute(\\\"product\\\", \\\"read\\\", [[stocks[i].lines[j].product_id], [\\\"code\\\", \\\"name\\\", \\\"categ_id\\\", \\\"brand_id\\\"]]);\\n      if(product.length==0){\\n        continue;\\n      }\\n      visited.push(stocks[i].lines[j].product_id);\\n      var qty = 0;\\n      var cost_amount = 0;\\n      for(var k = j;kundefined<stocks[i].lines.length;k++){\\n        if(stocks[i].lines[k].product_id==product[0].id){\\n          qty+=stocks[i].lines[k].qty;\\n          cost_amount+=stocks[i].lines[k].cost_amount;\\n        }\\n      }\\n      lines.push({\\n        product: product[0],\\n        qty: qty,\\n        cost_amount: cost_amount,\\n      });\\n    }// end for\\n    \\n\\n    if(stocks[i].invoice_id != null){\\n      var invoices = await rpc_execute(\\\"account.invoice\\\", \\\"read_path\\\", [[stocks[i].invoice_id], [\\\"number\\\", \\\"lines\\\"]]);\\n      var invoice_lines = [];\\n      for(var j = 0; j < invoices[0].lines.length; j++){\\n        var invoice_line = await rpc_execute(\\\"account.invoice.line\\\", \\\"read_path\\\", [[invoices[0].lines[j]], [\\\"product_id\\\", \\\"amount\\\"]]);\\n        var invoice_product_name;\\n        if(invoice_line[0].product_id){\\n          invoice_product_name = await rpc_execute(\\\"product\\\", \\\"read\\\", [[invoice_line[0].product_id], [\\\"code\\\",\\\"name\\\"]]);\\n          var prod = invoice_product_name[0].name;\\n          var code = invoice_product_name[0].code;\\n        }\\n        else{\\n          var prod=null;\\n          var code=null;\\n        }\\n        invoice_lines.push({\\n          product_id: invoice_line[0].product_id,\\n          product: prod,\\n          product_code: code,\\n          amount: invoice_line[0].amount,\\n          qty: invoice_line[0].qty,\\n        });\\n      }//end for\\n\\n      var invoice = {\\n        number: invoices[0].number,\\n        lines: invoice_lines,\\n      }\\n    }//end if\\n    else{\\n      var invoice = null;\\n    }\\n    \\n    for(var j = 0; j < lines.length; j++){\\n      var line;\\n      var found = false;       \\n      if(invoice){\\n        for(var k = 0; k < invoice.lines.length; k++){\\n          if(invoice.lines[k].product_id == lines[j].product.id){\\n            line = invoice.lines[k];\\n            found = true;\\n            break;\\n          }// end if\\n        }// end for\\n        if(!found) {\\n          console.log(lines[j].product_id + \\\" product not existed in invoice, details:\\\\n\\\");\\n          console.log(invoice,lines);\\n        }\\n      \\n\\n        data.push({\\n          journal_id: stocks[i].journal_id,\\n          number: stocks[i].number,\\n          date:stocks[i].date,\\n          product_id: lines[j].product.id,\\n          product_categ: lines[j].product.categ_id,  //change\\n          product_name: lines[j].product.name,\\n          product_code: lines[j].product.code,\\n          brand: lines[j].product.brand_id ? lines[j].product.brand_id[0] : null,\\n          qty: lines[j].qty,\\n          cost_amount: lines[j].cost_amount,\\n          amount: line.amount,\\n        });\\n      }//end if\\n    }// end for\\n    var shipping_qty=0;\\n    var shipping_amount=0;\\n    if(invoice){\\n      for(var j = 0;jundefined<invoice.lines.length;j++){\\n        if(!invoice.lines[j].product_id){\\n          shipping_qty+=1;\\n          shipping_amount+=invoice.lines[j].amount;\\n        }\\n      }\\n      data.push({\\n        journal_id: stocks[i].journal_id,\\n        number: stocks[i].number,\\n        date:stocks[i].date,\\n        product_id: null,\\n        product_categ: null,  //change\\n        product_name: null,\\n        product_code: null,\\n        brand: null,\\n        qty: shipping_qty,\\n        cost_amount: 0,\\n        amount: shipping_amount,\\n      });\\n    }//end if\\n  }// end for\\n\\n  return data;\\n}\\n\\nasync function create_data(data){\\n  for(var i = 0; i < data.length; i++){\\n    await rpc_execute(\\\"stock.margin.report\\\", \\\"create\\\", [data[i]]);\\n  }\\n}\\n\\nasync function satisfy(data, cond){ // cond: {date_from, date_to, product, product_categ, brand}\\n  // check date\\n  if(await before_than(data.date, cond.date_from)){ return false; }\\n  if(await before_than(cond.date_to, data.date)){ return false; }\\n\\n  // check product\\n  if(cond.product && data.product_id != cond.product){ return false; }\\n\\n  // check product category\\n  if(cond.product_categ && await read_id_from_product_categ_id(data.product_categ) != cond.product_categ){ return false; }  // change\\n\\n  // check brand\\n  if(cond.brand && data.brand != cond.brand){ return false; }\\n\\n  return true;\\n}\\n\\n// since the product.categ_id is a string but not an id only\\nasync function read_id_from_product_categ_id(product_categ){\\n  if(!product_categ){ return null; }\\n  else{\\n    var id = \\\"\\\";\\n    for(var i = 1; i < product_categ.length; i++){\\n      if(product_categ[i] == ','){ break; }\\n      id += product_categ[i];\\n    }\\n    return parseInt(id);\\n  }\\n}\\n\\n// return true if date1 < date2\\nasync function before_than(date1, date2){\\n  var time1 = new Date(date1).getTime();\\n  var time2 = new Date(date2).getTime();\\n  var diff = time1 - time2;\\n  if(diff < 0) { return true; }\\n  else { return false; }\\n}\\n\\nasync function read_report(data){\\n  var visited = [];\\n  var lines = [];\\n  var shipping = 0;\\n  for(var i = 0; i < data.length; i++){ \\n    // check if this product has read\\n    var repeated = false;\\n    for(var j = 0; j < visited.length; j++){\\n      if(data[i].product_id == visited[j]){\\n        repeated = true;\\n        break;\\n      }\\n    }\\n    if(repeated){ continue; }\\n    visited.push(data[i].product_id);\\n\\n    var sum = await sum_by_product(data, data[i].product_id);\\n    if(!data[i].product_id){\\n      shipping+=sum.amount;\\n      continue;\\n    }\\n    lines.push({\\n      number: data[i].number,\\n      product: data[i].product_name,\\n      product_id: data[i].product_id,\\n      code: data[i].product_code,\\n      qty: sum.qty,\\n      amount: sum.amount.toFixed(2),\\n      profit: (sum.amount - sum.cost_amount).toFixed(2),\\n      avg_of_profit: sum.qty == 0 ? 0 : ((sum.amount - sum.cost_amount) / sum.qty).toFixed(2),\\n      avg_of_margin: sum.amount == 0 ? 0 : ((sum.amount - sum.cost_amount) * 100 / sum.amount).toFixed(2),\\n    });\\n  }\\n  var sum_qty = 0, sum_amount = 0, sum_profit = 0, sum_avg_profit = 0, sum_avg_margin = 0;\\n  for(var i = 0; i < lines.length; i++){\\n    sum_qty += parseInt(lines[i].qty);\\n    sum_amount += parseFloat(lines[i].amount);\\n    sum_profit += parseFloat(lines[i].profit);\\n    \\n    if(parseFloat(lines[i].profit) < 0){ lines[i].profit = \\\"(\\\" + (-lines[i].profit) + \\\")\\\"; }\\n    if(parseFloat(lines[i].avg_of_profit) < 0){ lines[i].avg_of_profit = \\\"(\\\" + (-lines[i].avg_of_profit) + \\\")\\\"; }\\n    if(parseFloat(lines[i].avg_of_margin) < 0){ lines[i].avg_of_margin = \\\"(\\\" + (-lines[i].avg_of_margin) + \\\")\\\"; }\\n  }\\n  sum_avg_profit = sum_profit / sum_qty;\\n  sum_avg_margin = sum_profit * 100 / sum_amount;\\n  \\n  var final_sum = sum_amount+shipping;\\n  sum_amount = sum_amount.toFixed(2);\\n  sum_profit = sum_profit.toFixed(2);\\n  sum_avg_profit = sum_avg_profit.toFixed(2);\\n  sum_avg_margin = sum_avg_margin.toFixed(2);\\n  \\n  if(sum_amount < 0){ sum_amount = \\\"(\\\" + (-sum_amount) + \\\")\\\"; }\\n  if(sum_profit < 0){ sum_profit = \\\"(\\\" + (-sum_profit) + \\\")\\\"; }\\n  if(sum_avg_profit < 0){ sum_avg_profit = \\\"(\\\" + (-sum_avg_profit) + \\\")\\\"; }\\n  if(sum_avg_margin < 0){ sum_avg_margin = \\\"(\\\" + (-sum_avg_margin) + \\\")\\\"; }\\n  \\n  set_data({\\n    lines: lines,\\n    sum_qty: sum_qty,\\n    sum_amount: sum_amount,\\n    sum_profit: sum_profit,\\n    sum_avg_profit: sum_avg_profit,\\n    sum_avg_margin: sum_avg_margin,\\n    shipping: shipping.toFixed(2),\\n    final_sum: final_sum.toFixed(2),\\n  }); \\n  set_data({\\n    lines: lines,\\n    sum_qty: sum_qty,\\n    sum_amount: sum_amount,\\n    sum_profit: sum_profit,\\n    sum_avg_profit: sum_avg_profit,\\n    sum_avg_margin: sum_avg_margin,\\n    shipping: shipping.toFixed(2),\\n    final_sum: final_sum.toFixed(2),\\n  });\\n}\\n\\n// formula for the output\\nasync function sum_by_product(data, product){\\n  var sum_amount = 0;\\n  var sum_cost_amount = 0;\\n  var qty = 0;\\n  for(var i = 0; i < data.length; i++){\\n    if(data[i].product_id == product){\\n      sum_amount += data[i].amount ? parseFloat(data[i].amount) : 0;\\n      sum_cost_amount += parseFloat(data[i].cost_amount);\\n      qty += parseFloat(data[i].qty);\\n    }\\n  }\\n  return {\\n    amount: sum_amount,\\n    cost_amount: sum_cost_amount,\\n    qty: qty,\\n  };\\n}\\n\\nfunction print_pdf(){\\n  var data=get_data();\\n  if(!data.date_from) {data.date_from=\\\"2000-01-01\\\"};\\n  if(!data.date_to) throw alert (\\\"Please Select End Date\\\");\\n\\n  //var url=\\\"https://backend-prod2.netforce.com/render_page_pdf?page_id=348&active_id=425&database=nfo_main&user_id=63&company_id=1&token=bmZvX21haW4gNjM=|1616407803|3919087415faee3ebb1e5756bba8d530a68bff0c\\\"\\n  var url=\\\"https://pages-prod2.netforce.com/?page=stock_margin_print&db=nfo_main&user_id=8&company_id=1&token=bmZvX21haW4gNjM=|1616407803|3919087415faee3ebb1e5756bba8d530a68bff0c\\\";\\n\\n  url += \\\"&date_from=\\\"+data.date_from+\\\"&date_to=\\\"+data.date_to;\\n  if(data.product_categ){\\n    url += \\\"&product_categ=\\\"+data.product_categ.id;\\n  }\\n  if(data.product){\\n    url += \\\"&product=\\\"+data.product.id;\\n  }\\n  if(data.brand){\\n    url += \\\"&brand=\\\"+data.brand.id;\\n  }\\n\\n  var url2 = \\\"https://backend-prod2.netforce.com/convert_to_pdf?url=\\\" + encodeURIComponent(url);\\n  window.open(url2);\\n}\\n\\nasync function check_GI_by_number(data,cond){\\n  var gi = await rpc_execute(\\\"stock.picking\\\",\\\"search_read\\\",[cond,[\\\"number\\\"]]);\\n  console.log(gi);\\n  var problem_report=[];\\n  var problem_gi=[];\\n  for(var d of data){\\n    var found = false;\\n    for(var g of gi){\\n      if(d.number==g.number){\\n        found=true;\\n        break;\\n      }\\n    }\\n    if(!found){\\n      problem_report.push(d);\\n    }\\n  }\\n  for(var g of gi){\\n    var found = false;\\n    for(var d of data){\\n      if(d.number==g.number){\\n        found=true;\\n        break;\\n      }\\n    }\\n    if(!found){\\n      problem_gi.push(g);\\n    }\\n  }\\n  console.log(\\\"gi that is not included in report:\\\");\\n  console.log(problem_gi);\\n  console.log(\\\"report that is not included in gi\\\");\\n  console.log(problem_report);\\n}\\n\\nasync function check_GI_by_product(data,cond){\\n  var gi = await rpc_execute(\\\"stock.picking\\\",\\\"search_read\\\",[cond,[\\\"number\\\",\\\"lines\\\"]]);\\n  var lines=[];\\n  for(var g of gi){\\n    lines.push.apply(lines,g.lines);\\n  }\\n  var stock_move = await rpc_execute(\\\"stock.move\\\",\\\"read\\\",[lines,[\\\"product_id\\\",\\\"qty\\\"]]);\\n  console.log(stock_move);\\n  var problem_report=[];\\n  var problem_gi=[];\\n  for(var d of data){\\n    var qty = 0;\\n    for(var s of stock_move){\\n      if(d.product_id==s.product_id[0]){\\n        qty+=s.qty;\\n      }\\n    }\\n    if(qty>d.qty) problem_gi.push(d.product);\\n    if(d.qty>qty) problem_report.push(qty);\\n  }\\n  console.log(\\\"product that is less in report:\\\");\\n  console.log(problem_gi);\\n  console.log(\\\"product that is less in gi\\\");\\n  console.log(problem_report);\\n}\\n\\nasync function check_GI_by_amount(data,cond){\\n  var stocks = await rpc_execute(\\\"stock.picking\\\",\\\"search_read_path\\\",[cond,[\\\"journal_id\\\",\\\"lines.product_id\\\", \\\"lines.qty\\\", \\\"lines.cost_amount\\\", \\\"date\\\", \\\"number\\\", \\\"invoice_id\\\"]]);\\n  var info = await read_info(stocks);\\n  console.log(info);\\n}\"}, \"test_datepicker\": {\"layout\": {\"elements\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{test}\\n\"}]}}]}, \"code\": null}, \"23\": {\"layout\": null, \"code\": null}, \"test_picking_list\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"Picking Dashboard\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": 20}], \"min_height\": 50, \"avoid_keyboard\": true, \"margin_left\": 50, \"margin_right\": 50}, {\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\"}, \"insert\": \"Please choose a contact number.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [0.5, 1, 0.5], \"_col_widths\": \"[0.5,1,0.5]\", \"margin_left\": null, \"margin_right\": null, \"margin_top\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select2\", \"model\": \"contact\", \"name\": \"contact\", \"on_change\": \"onchange_contact()\", \"width\": \"\", \"condition\": \"[[\\\"or\\\", [\\\"name\\\", \\\"ilike\\\", \\\"Shopee\\\"], [\\\"name\\\", \\\"ilike\\\", \\\"Lazada\\\"] ]]\", \"placeholder\": \"Please select a contact\"}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [0.5, 1, 0.5], \"margin_left\": null, \"margin_right\": null, \"margin_top\": 15, \"_col_widths\": \"[0.5,1,0.5]\", \"avoid_keyboard\": false}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"button\", \"align\": \"center\", \"text\": \"Print Airway Bills\", \"background_color\": \"#2d6aa0\", \"size\": \"large\", \"font_bold\": false, \"color\": \"#ffffff\", \"padding_bottom\": 10, \"padding_top\": 10, \"padding_left\": 20, \"padding_right\": 20, \"on_click\": \"confirm(\\\"airway_bill\\\")\", \"dyn_props\": \"{hidden:hide_print_button}\"}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"padding_left\": null, \"padding_right\": null, \"margin_left\": null, \"margin_right\": null, \"margin_top\": 20, \"margin_bottom\": null, \"_col_widths\": \"[1,1,1]\", \"hidden\": true}], \"min_height\": 50, \"background_color\": \"#fafafa\", \"padding_top\": 20, \"padding_bottom\": 30, \"padding_left\": 10, \"padding_right\": 10, \"margin_top\": 20, \"margin_bottom\": 20, \"margin_left\": 100, \"margin_right\": 100}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total: \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{lines.length}\"}, {\"insert\": \"\\n\"}]}, \"margin_left\": 50, \"margin_right\": 50}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Order No\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Item(s)\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Qty\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Tracking No\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{order_no}\\n\"}]}, \"on_click\": \"\", \"name\": \"order_no\", \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{item}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{tracking_no}\\n\"}]}, \"font_size\": 18}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"name\": \"selected\", \"on_change\": \"only_one_selected(data)\"}]], \"num_cols\": 4, \"_col_widths\": \"[1,3,1,1]\", \"col_widths\": [1, 3, 1, 1], \"field_rows\": \"lines\", \"table_bordered\": true, \"table_striped\": true, \"table_hover\": true, \"on_click\": \"\", \"margin_left\": 50, \"margin_right\": 50, \"margin_top\": 10}], \"min_height\": 50, \"dyn_props\": \"{hidden: hide}\", \"margin_bottom\": 10, \"margin_top\": 10, \"padding_top\": 10, \"padding_bottom\": 10}], \"min_height\": null, \"padding_top\": 15, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 30, \"background_color\": \"#ffffff\", \"height\": \"\"}], \"background_color\": \"#f1f1f1\", \"custom_css\": \"body {\\nbackground-color:#f1f1f1;\\n}\"}, \"code\": \"async function on_load(){\\n  var today = new Date();\\n  today = today.getFullYear() + \\\"-\\\" + (\\\"0\\\" + (today.getMonth() + 1)).slice(-2) + \\\"-\\\" + (\\\"0\\\" + today.getDate()).slice(-2) ;\\n\\n  set_data ({\\n    lines: null,\\n    hide: true, \\n    hide_print_button: true,\\n  });\\n}\\n\\nasync function confirm(option) {\\n  var data = get_data();\\n  var contact = data.contact.id; \\n  \\n  if(option == \\\"airway_bill\\\") {\\n    await print_airway_bill(contact)\\n  }\\n}\\n\\nasync function onchange_contact(){\\n  var data = get_data(); \\n  var contact = data.contact.id;\\n  set_data({lines:null});\\n  \\n  console.log(\\\"a\\\");\\n  console.log(data.contact.id);\\n  \\n  var conds = [[\\\"id\\\", \\\"=\\\", contact]];\\n  var fields = [\\\"name\\\", \\\"code\\\"];\\n  var contact = await rpc_execute(\\\"contact\\\", \\\"search_read\\\", [conds, fields]);\\n  \\n  var contact_name = contact[0].name;\\n  var contact_code = contact[0].code;\\n  var now = new Date();\\n  now = (\\\"0\\\" + now.getDate()).slice(-2) + \\\"/\\\" + (\\\"0\\\" + (now.getMonth() + 1)).slice(-2) + \\\"/\\\" + now.getFullYear() ;\\n  \\n  var conds = [[\\\"type\\\", \\\"=\\\", \\\"out\\\"], [\\\"state\\\", \\\"in\\\", [\\\"draft\\\",\\\"pending\\\"]], [\\\"contact_id\\\", \\\"=\\\", contact[0].id]];\\n  var fields = [\\\"number\\\", \\\"contact_id\\\", \\\"date\\\", \\\"lines.product_id.name\\\", \\\"lines.product_id.code\\\", \\\"lines.qty\\\", \\\"ship_method_id\\\", \\\"ship_tracking\\\"];\\n  var picking_list = await rpc_execute(\\\"stock.picking\\\", \\\"search_read_path\\\", [conds, fields]);\\n  var array = [];\\n\\n  var picking_list_no = contact_code + \\\"/\\\" + now;\\n  for (let pick of picking_list) {\\n    var lines = pick.lines;\\n\\n    var item_name = \\\"\\\";\\n    var item_code = \\\"\\\";\\n    var qty = \\\"\\\";\\n\\n    for (let line of lines) {\\n      item_name = item_name + line.product_id.name + \\\"\\\\n\\\";\\n      item_code = item_code + line.product_id.code + \\\"\\\\n\\\";\\n      qty = qty + line.qty + \\\"\\\\n\\\";\\n    }\\n    array.push({\\n      _cid: _.uniqueId(),\\n      order_no:pick.number,\\n      item:item_name,\\n      qty:qty,\\n      tracking_no:pick.ship_tracking,\\n      id:pick.id,\\n    });\\n  }\\n  \\n  set_data({\\n    hide:false,\\n    hide_print_button: false,\\n    lines:array.reverse(),\\n    contact_name:contact_name,\\n    contact_code:contact_code,\\n    date:now,\\n    picking_list_no:picking_list_no\\n  }); \\n}\\n\\nasync function print_airway_bill(){\\n  var data = get_data();\\n  var contact = data.contact.id;\\n  var contact_name = data.contact_name;\\n  var lines = data.lines;\\n\\n  if (!lines.length) throw (\\\"No records found\\\");\\n  \\n  console.log(\\\"------>\\\", data.contact_name);\\n  var pick_ids=lines.map(l=>l.id);\\n\\n  var user_id = get_cookie(\\\"user_id\\\");\\n  var company_id = get_cookie(\\\"company_id\\\");\\n  var token = get_cookie(\\\"token\\\");\\n\\n  if (JSON.stringify(contact_name).includes(\\\"Shopee\\\")) var url = `https://backend-prod2.netforce.com/render_page_pdf?page_id=523&ids=${JSON.stringify(pick_ids)}&database=nfo_main&user_id=${user_id}&company_id=${company_id}&token=${token}`;\\n  else if (JSON.stringify(contact_name).includes(\\\"Lazada\\\")) var url = `https://backend-prod2.netforce.com/render_page_pdf?page_id=524&ids=${JSON.stringify(pick_ids)}&database=nfo_main&user_id=${user_id}&company_id=${company_id}&token=${token}`;\\n  \\n  console.log(\\\"url\\\",url);\\n  window.open(url);\\n\\tif (!lines) throw (\\\"No records found.\\\");\\n  //await rpc_execute(\\\"stock.picking\\\",\\\"approve\\\",[pick_ids]);\\n}\"}, \"testsankomain\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"image\", \"min_height\": 50, \"image_file\": \"logo,1_h5CR6U0SE=.png\", \"width\": \"100\", \"height\": \"100\"}], \"min_height\": 50}]}, \"code\": null}, \"testsankomain123\": {\"layout\": {\"elements\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"test\\n\"}]}, \"font_size\": 30, \"font_bold\": false}]}, \"code\": null}, \"time_tracker_import\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Time Tracker Import\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Instructions:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"padding_right\": 10}]}, {\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Create csv file with header like the table below.\"}, {\"attributes\": {\"list\": \"ordered\"}, \"insert\": \"\\n\"}, {\"insert\": \"Save the csv file and open it with Notepad.\"}, {\"attributes\": {\"list\": \"ordered\"}, \"insert\": \"\\n\"}, {\"insert\": \"Copy all from notepad and Paste in the \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Import Text\"}, {\"insert\": \" below.\"}, {\"attributes\": {\"list\": \"ordered\"}, \"insert\": \"\\n\"}, {\"insert\": \"Click \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Check \"}, {\"insert\": \"to and check the table.\"}, {\"attributes\": {\"list\": \"ordered\"}, \"insert\": \"\\n\"}, {\"insert\": \"Click \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"Import\"}, {\"insert\": \" to import the transactions.\"}, {\"attributes\": {\"list\": \"ordered\"}, \"insert\": \"\\n\"}]}}]}], \"num_cols\": 2, \"col_widths\": [1, 3], \"_col_widths\": \"[1,3]\", \"vertical_align\": \"middle\"}], \"min_height\": 50}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Import Text:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"padding_right\": 20}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"textarea\", \"name\": \"import_text\", \"height\": \"50\"}]}], \"num_cols\": 2, \"col_widths\": [1, 3], \"margin_top\": 20, \"_col_widths\": \"[1,3]\", \"vertical_align\": \"middle\"}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"button\", \"on_click\": \"check()\", \"text\": \"CHECK\", \"align\": \"center\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"IMPORT\", \"icon\": \"up\", \"on_click\": \"submit()\", \"align\": \"center\"}]}], \"num_cols\": 2, \"col_widths\": [1, 1], \"margin_top\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Date\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Project Number\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Employee Name\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Client Name\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Task Number\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Hours\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Rate\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{date}\\n\"}]}}, {\"type\": \"field\", \"field_type\": \"select\", \"name\": \"project_id\", \"model\": \"pm.project\"}, {\"type\": \"field\", \"field_type\": \"select\", \"name\": \"user_id\", \"model\": \"base.user\"}, {\"type\": \"field\", \"field_type\": \"select\", \"name\": \"client_id\", \"model\": \"client.db.tracker.database\"}, {\"type\": \"field\", \"field_type\": \"select\", \"name\": \"task_id\", \"model\": \"pm.task\"}, {\"type\": \"field\", \"field_type\": \"number\", \"name\": \"hours\"}, {\"type\": \"field\", \"name\": \"rate\", \"field_type\": \"number\"}]], \"num_cols\": 7, \"field_rows\": \"lines\", \"num_rows\": null, \"_col_widths\": \"[1,1,1,1,1,1,1]\", \"col_widths\": [1, 1, 1, 1, 1, 1, 1]}]}, \"code\": \"function on_load() {\\n  set_data({\\n    lines: []\\n  })\\n}\\n\\nasync function check() {\\n  var data = get_data();\\n  if (!data.import_text) throw \\\"Missing Import Text\\\";\\n  var records = data.import_text.split('\\\\n');\\n  var vals = [];\\n  var line_num = 0;\\n  var colnames = {\\n    date: \\\"Date\\\",\\n    project_number: \\\"Project Number\\\",\\n    user_name: \\\"Employee Name\\\",\\n    client_name: \\\"Client Name\\\",\\n    task_number: \\\"Task Number\\\",\\n    hours: \\\"Hours\\\",\\n    //khal try test\\n    rate: \\\"Rate\\\"\\n  };\\n  var template = {};\\n  for (let record of records) {\\n    let l = record.split(',');\\n    console.log('line ',line_num,l);\\n    if (line_num == 0) {\\n      // Header\\n      for (const [key, value] of Object.entries(colnames)) {\\n        let index = _.indexOf(l,value);\\n        if (index < 0) throw \\\"Column Not Found: \\\" + value;\\n        template[key] = index;\\n      }\\n    } else { //khal try test\\n      if (l.length != 7) {\\n        continue;\\n      }\\n      let val = {};\\n      for (const [field, index] of Object.entries(template)) {\\n        val[field] = l[index];\\n      }\\n      vals.push(val)\\n    }\\n    line_num += 1;\\n  }\\n  console.log('vals: ',vals);\\n  data.lines = await rpc_execute(\\\"pm.time.tracker\\\",\\\"check_records\\\",[vals]);\\n  set_data();\\n}\\n\\n\\nasync function submit() {\\n  var data = get_data();\\n  var vals = _.map(data.lines,(l)=>{\\n    return {\\n      name: l.user_id,\\n      date: l.date,\\n      client: l.client_id,\\n      project: l.project_id,\\n      task: l.task_id,\\n      hours: l.hours,\\n      //khal try test\\n      rate: l.rate,\\n    }\\n  });\\n  await rpc_execute(\\\"pm.time.tracker\\\",\\\"submit\\\",[vals]);\\n  alert(\\\"Submitted Successfully\\\");\\n  on_load()\\n}\"}, \"trial_form\": {\"layout\": null, \"code\": null}, \"01_zeek_draft_gi\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Please choose a Goods Issue\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 20, \"align\": \"center\", \"margin_bottom\": 30}], \"min_height\": 50}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Number\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Date\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Contact\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Invoice\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Invoice\"}, {\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{gi_number}\\n\"}]}, \"on_click\": \"select_gi(_cid)\", \"name\": \"gi_number\", \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{date}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_id}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{invoice_id}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{invoice_id}\\n\"}]}}]], \"num_cols\": 4, \"_col_widths\": \"[1,1,1,1]\", \"col_widths\": [1, 1, 1, 1], \"field_rows\": \"lines\", \"table_bordered\": true, \"table_striped\": true, \"table_hover\": true, \"on_click\": \"\", \"margin_left\": 50, \"margin_right\": 50, \"margin_top\": 50}], \"min_height\": 50, \"padding_top\": 30, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 30}]}, \"code\": \"async function on_load(){ \\n  var cond = [[\\\"type\\\",\\\"=\\\",\\\"out\\\"],[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]];\\n  var fields = [\\\"number\\\",\\\"date\\\",\\\"contact_id\\\",\\\"invoice_id\\\"];\\n  var draft_gi = await rpc_execute(\\\"stock.picking\\\",\\\"search_read\\\",[cond,fields]);\\n  console.log(\\\"draft_gi: \\\",draft_gi);\\n  console.log(JSON.stringify(draft_gi));\\n\\n  var array = [];\\n\\n  for(var i=0; iundefined<draft_gi.length; i++){\\n    if(draft_gi[i].contact_id != null)\\n      var contact_name = draft_gi[i].contact_id[1];\\n    else\\n      var contact_name =\\\"-\\\";\\n\\n    if(draft_gi[i].invoice_id != null)\\n      var invoice_number = draft_gi[i].invoice_id[1];\\n    else\\n      var invoice_number =\\\"-\\\";\\n\\n\\n    array[i]={\\n      _cid: _.uniqueId(),\\n      gi_number:draft_gi[i].number,\\n      date:draft_gi[i].date,\\n      contact_id:contact_name,\\n      invoice_id:invoice_number,\\n    };\\n  }\\n\\n  set_data({\\n    lines:array.reverse(),\\n  }); \\n}\\n\\nasync function select_gi(_cid){\\n  console.log(_cid);\\n  var data = get_data();\\n  var lines = data.lines;\\n  var gi_number = data.gi_number;\\n  var selected_line_id = _cid;\\n\\n  for(var i=0; iundefined<lines.length; i++){\\n    if(lines[i]._cid == selected_line_id){\\n      var selected_gi = lines[i].gi_number;\\n    }  \\n  }\\n  //alert(\\\"GI selected: \\\"+selected_gi);\\n  var pick_id = await rpc_execute(\\\"stock.picking\\\",\\\"search\\\",[[[\\\"number\\\",\\\"=\\\",selected_gi]]]);\\n  //alert(pick_id);\\n  \\n  redirect_page(\\\"02_zeek_confirm_validate\\\",{pick_id:pick_id[0]});\\n}\"}, \"01_zeek_draft_gi_offline\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"image\", \"min_height\": 50, \"url\": \"https://upload.wikimedia.org/wikipedia/commons/thumb/b/b1/Back_Arrow.svg/1024px-Back_Arrow.svg.png\", \"width\": \"40\", \"height\": \"40\", \"on_click\": \"set_page(\\\"main_desktop\\\")\"}]}, {\"children\": []}], \"num_cols\": 2, \"col_widths\": [1, 8], \"_col_widths\": \"[1,8]\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"large\", \"bold\": true}, \"insert\": \"Please choose a Goods Issue\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_size\": 20, \"align\": \"center\", \"margin_bottom\": 30}], \"min_height\": 50}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Number\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Date\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Contact\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Invoice\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"\\n\"}]}}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{gi_number}\\n\"}]}, \"on_click\": \"\", \"name\": \"gi_number\", \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{date}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{contact_id}\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{invoice_id}\\n\"}]}, \"font_size\": 18}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"name\": \"selected\", \"on_change\": \"only_one_selected(data)\"}]], \"num_cols\": 5, \"_col_widths\": \"[2,2,2,2,1]\", \"col_widths\": [2, 2, 2, 2, 1], \"field_rows\": \"lines\", \"table_bordered\": true, \"table_striped\": true, \"table_hover\": true, \"on_click\": \"\", \"margin_left\": 50, \"margin_right\": 50, \"margin_top\": 50}, {\"type\": \"button\", \"margin_left\": 50, \"size\": \"large\", \"text\": \"Confirm\", \"on_click\": \"confirm()\"}, {\"type\": \"button\", \"text\": \"Sync\", \"size\": \"large\", \"on_click\": \"sync_button()\", \"margin_left\": 50, \"margin_top\": 20}], \"min_height\": 50, \"padding_top\": 30, \"padding_left\": 10, \"padding_right\": 10, \"padding_bottom\": 30}]}, \"code\": \"async function on_load(){ \\n  var cond = [[\\\"type\\\",\\\"=\\\",\\\"out\\\"],[\\\"state\\\",\\\"=\\\",\\\"draft\\\"],[\\\"deleted\\\",\\\"=\\\",false]];\\n  var fields = [\\\"number\\\",\\\"date\\\",\\\"contact_id\\\",\\\"invoice_id\\\",\\\"db_id\\\"];\\n  var draft_gi = await get_model(\\\"stock.picking\\\").search_read(cond,fields);\\n  console.log(\\\"draft_gi: \\\",draft_gi);\\n  console.log(JSON.stringify(draft_gi));\\n\\n  var array = [];\\n\\n  for(var i=0; iundefined<draft_gi.length; i++){\\n    if(draft_gi[i].contact_id != null)\\n      var contact_name = draft_gi[i].contact_id[1];\\n    else\\n      var contact_name =\\\"-\\\";\\n\\n    if(draft_gi[i].invoice_id != null)\\n      var invoice_number = draft_gi[i].invoice_id[1];\\n    else\\n      var invoice_number =\\\"-\\\";\\n\\n\\n    array[i]={\\n      _cid: _.uniqueId(),\\n      gi_number:draft_gi[i].number,\\n      date:draft_gi[i].date,\\n      contact_id:contact_name,\\n      invoice_id:invoice_number,\\n      selected: false,\\n    };\\n  }\\n\\n  set_data({\\n    lines:array.reverse(),\\n  }); \\n}\\n\\nasync function only_one_selected(line){\\n  var data = get_data();\\n  var lines = data.lines;\\n\\n  for(var i=0; iundefined<lines.length; i++){\\n    if(lines[i].selected == true && lines[i]._cid != line._cid){\\n      lines[i].selected = false;\\n    }  \\n  }\\n  \\n}\\n\\nasync function confirm(){\\n  var data = get_data();\\n  var lines = data.lines;\\n\\n  for(var i=0; iundefined<lines.length; i++){\\n    if(lines[i].selected == true){\\n      var selected_gi = lines[i].gi_number;\\n    }  \\n  }\\n  //alert(\\\"GI selected: \\\"+selected_gi);\\n  var pick_id =await get_model(\\\"stock.picking\\\").search_read([[\\\"number\\\",\\\"=\\\",selected_gi]],[\\\"db_id\\\"]);\\n  //alert(pick_id);\\n  \\n  set_page(\\\"02_zeek_confirm_validate_offline\\\",{pick_id:pick_id[0].db_id});\\n}\\n\\nasync function sync_button(){\\n  sync();\\n  set_page(\\\"main_desktop\\\");\\n}\\n\\nasync function sync(){\\n  try{\\n    console.log(\\\"start sync\\\");\\n    if(get_offline()){\\n      dialog.showMessageBox({message:\\\"Please connect the internet to sync.\\\"});\\n      return;\\n    }\\n    sync_specific(\\\"create\\\");\\n    sync_specific(\\\"other\\\");\\n    sync_specific(\\\"delete\\\");\\n  }\\n  catch(err){\\n    throw err;\\n  }\\n  var ids = await get_model(\\\"operation_offline\\\").search([]);\\n  await get_model(\\\"operation_offline\\\").delete(ids);\\n  var models = [\\\"stock.picking\\\",\\\"stock.move\\\",\\\"stock.lot\\\",\\\"stock.balance\\\",\\\"product\\\",\\\"uom\\\"];\\n  update_local_dbs(models);\\n  dialog.showMessageBox({message:\\\"Sync done.\\\"});\\n}\\n\\nasync function sync_specific(type){//type:create,delete,other\\n  try{\\n    console.log(\\\"start sync \\\"+type+\\\" item.\\\");\\n    var fields = [\\\"db_id\\\",\\\"name\\\",\\\"model\\\"];\\n    if(type==\\\"other\\\"){\\n      var cond=[[\\\"name\\\",\\\"!=\\\",\\\"create\\\"],[\\\"name\\\",\\\"!=\\\",\\\"delete\\\"]];\\n    }\\n    else{\\n      var cond = [[\\\"name\\\",\\\"=\\\",type]];\\n    } \\n    var operations =await get_model(\\\"operation_offline\\\").search_read(cond,fields);\\n    for(var operation of operations){\\n      var model = await get_model(operation.model);\\n      if(operation.name==\\\"create\\\"){\\n        var offline_item = await model.read([operation.db_id],model.get_field_code());\\n        var item = offline_item[0];\\n        var value ={};\\n        for(var field of model.get_field_code()){\\n          value[field] = item[field];\\n        }\\n        var id = await rpc_execute(operation.model,\\\"create\\\",[value]);\\n        await model.write([operation.db_id],{db_id:id});\\n      }\\n      else{\\n        var item = await model.read([operation.db_id],[\\\"db_id\\\"]);\\n        await rpc_execute(operation.model,operation.name,[[item[0].db_id]]);\\n      }\\n    }\\n    console.log(\\\"end sync \\\"+type+\\\" item.\\\");\\n  }\\n  catch(err){\\n    throw err;\\n  }\\n}\\n\\nasync function update_local_dbs(model_names){\\n  try{\\n    for(var model_name of model_names){\\n      var model = get_model(model_name);\\n      var cond = [];\\n      var last_updated = await get_model(\\\"last_updated\\\").search_read([[\\\"name\\\",\\\"=\\\",model_name]],[\\\"time\\\"]);\\n      if(last_updated.length>0){\\n        cond.push([\\\"write_time\\\",\\\">\\\",last_updated[0].time]);\\n      }\\n      var datas = await rpc_execute(model_name, \\\"search_read\\\", [cond,model.get_field_code()]);\\n      console.log(datas);\\n      await update_local_db(model_name,datas);\\n    }\\n  }catch(err){\\n    throw err;\\n  }\\n}\\n\\nasync function update_local_db (local_model, items) {  \\n  try{\\n    var model=get_model(local_model);\\n    var fields = await model.get_field_code();\\n    var datas = await rpc_execute(local_model,\\\"search\\\",[[]]);\\n    var delete_items = await get_model(local_model).search([\\\"not\\\",[\\\"db_id\\\",\\\"in\\\", datas]]);\\n    for(var item of delete_items){\\n      await get_model(local_model).delete([item]);\\n    }\\n    for (var item of items) { \\n      var vals={};\\n      if(!item){\\n        throw \\\"there is some null elements while update \\\"+ local_model +\\\" with \\\"+items; \\n      }\\n      vals[\\\"db_id\\\"]=item.id;//Max: see class' get_field_code(), removed \\\"db_id\\\" among the field_codes\\n      vals[\\\"synced\\\"]=true;\\n      vals[\\\"deleted\\\"]=false;\\n      for(var field of fields){\\n        if(item[field]){\\n          if(typeof(item[field])==\\\"object\\\") vals[field]=item[field][0];  //for some fields that have more than one element, such as product_id\\n          else vals[field] = item[field];\\n        }\\n        else vals[field]=0;\\n      }\\n      var offline_items = await model.search_read([[\\\"db_id\\\",\\\"=\\\",item.id]],[\\\"db_id\\\"]);\\n      console.log('max offline_items',offline_items);\\n      if (offline_items.length>0) {\\n        var offline_item=offline_items[0];  \\n        var offline_item_id = offline_item.id;\\n        console.log(`Local Model: ${local_model}, ${offline_item[\\\"db_id\\\"]} already in db, updating...`);\\n        await model.write([offline_item_id],vals);//WRITE  \\n      } else {\\n        console.log(`Local Model: ${local_model}, item not yet in db, creating...`); \\n        var offline_item_id=await model.create(vals);//CREATE DB  \\n      }\\t\\n    }//end for-of\\n    \\n    var now=moment().format(\\\"YYYY-MM-DD HH:mm:ss\\\");\\n    var last_updated = await get_model(\\\"last_updated\\\").search_read([[\\\"name\\\",\\\"=\\\",local_model]],[]);\\n    if(last_updated.length==0){\\n      await get_model(\\\"last_updated\\\").create({name:local_model,time:now,});\\n    }\\n    else{\\n      await get_model(\\\"last_updated\\\").write(last_updated[0].id,{time: now});\\n    }\\n  }catch(err){\\n    throw err;\\n  }\\n} \\n\\n\"}, \"02_zeek_confirm_validate\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"{gi_number}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_size\": 24}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"Please scan the serial number of confirmed items.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Location:\"}, {\"insert\": \"\\n\"}]}, \"margin_right\": null, \"font_size\": 20, \"margin_left\": 5}]}, {\"children\": [{\"type\": \"field\", \"field_type\": \"select2\", \"name\": \"location_from\", \"placeholder\": \"Select From Location\", \"model\": \"stock.location\"}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [0.4, 1, 1], \"_col_widths\": \"[0.4,1,1]\"}]}, {\"children\": [{\"type\": \"field\", \"align\": \"center\", \"text_align\": \"center\", \"field_type\": \"text\", \"name\": \"serial\", \"margin_left\": 20, \"margin_right\": 20, \"on_barcode\": \"\", \"on_submit\": \"enter_serial()\", \"placeholder\": \"--Serial No--\", \"visibility\": \"hidden\"}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [2, 1, 1], \"margin_top\": 30, \"padding_top\": null, \"width\": \"\", \"_col_widths\": \"[2,1,1]\", \"margin_bottom\": 20}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Product\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Quantity\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"UoM\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Cost Price\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Serial No\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, null, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product_name}\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{uom}\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cost_price}\\n\"}]}, \"font_size\": 20}, {\"type\": \"field\", \"name\": \"serial_no\", \"field_type\": \"text\", \"font_size\": 20}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"name\": \"selected\"}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"name\": \"selected\", \"align\": \"center\", \"text_align\": \"center\", \"width\": \"50%\", \"height\": \"50%\"}]], \"num_cols\": 6, \"margin_top\": 20, \"field_rows\": \"lines\", \"num_rows\": null, \"_col_widths\": \"[4,2,2,2,2,1]\", \"col_widths\": [4, 2, 2, 2, 2, 1], \"table_bordered\": true, \"table_striped\": true, \"table_hover\": true}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": []}, {\"children\": [{\"type\": \"button\", \"text\": \"Back\", \"icon\": \"arrow-left\", \"font_bold\": true, \"width\": \"150\", \"align\": \"center\", \"on_click\": \"redirect_page(\\\"01_zeek_draft_gi\\\")\", \"font_size\": 20, \"height\": \"100\"}]}, {\"children\": [{\"type\": \"button\", \"align\": \"center\", \"on_click\": \"next()\", \"background_color\": \"#5cff33\", \"text\": \"Next\", \"icon\": \"arrow-right\", \"font_bold\": true, \"width\": \"150\", \"font_size\": 20, \"height\": \"100\"}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 6, \"col_widths\": [1, 1, 1, 1, 1, 1], \"_col_widths\": \"[1,1,1,1,1,1]\"}], \"min_height\": 50, \"dyn_props\": \"{hidden:hide_box_01}\", \"name\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total item(s): \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{total_item}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": 10, \"font_size\": 26}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Product\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Quantity\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"UoM\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Cost Price\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Serial No\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Serial No\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product_name}\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{uom}\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cost_price}\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{serial_no}\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{serial_no}\\n\"}]}, \"font_size\": 18}]], \"num_cols\": 5, \"_col_widths\": \"[1,1,1,1,1]\", \"col_widths\": [1, 1, 1, 1, 1], \"field_rows\": \"confirmed_lines\"}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": []}, {\"children\": [{\"type\": \"button\", \"text\": \"Cancel\", \"icon\": \"remove\", \"align\": \"center\", \"width\": \"150\", \"font_bold\": true, \"background_color\": \"#ffaaa8\", \"color\": \"#000000\", \"on_click\": \"set_data({hide_box_01:false,hide_box_02:true});\\t\", \"height\": \"100\", \"font_size\": 20}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Validate\", \"icon\": \"check\", \"font_bold\": true, \"align\": \"center\", \"background_color\": \"#5cff33\", \"on_click\": \"validate()\", \"width\": \"150\", \"height\": \"100\", \"font_size\": 20}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 6, \"col_widths\": [1, 1, 1, 1, 1, 1], \"_col_widths\": \"[1,1,1,1,1,1]\"}], \"min_height\": 50, \"margin_top\": 20, \"padding_top\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"padding_left\": 10, \"dyn_props\": \"{hidden:hide_box_02}\"}], \"min_height\": 50, \"padding_top\": 30, \"padding_left\": 30, \"padding_right\": 30, \"padding_bottom\": 30}, {\"type\": \"overlay\", \"left\": 96, \"top\": 8, \"witdh\": 0, \"height\": 0, \"children\": []}], \"custom_css\": \"\"}, \"code\": \"async function on_load(){ \\n  if(page_params.pick_id) {\\n    var pick_id = page_params.pick_id;\\n\\n    var cond = [[\\\"id\\\",\\\"=\\\",pick_id]];\\n    var fields = [\\\"number\\\"];\\n    var gi_number = await rpc_execute(\\\"stock.picking\\\",\\\"search_read\\\",[cond,fields]);\\n\\n    set_data({\\n      pick_id:pick_id,\\n      gi_number:gi_number[0].number,\\n      pick_id:pick_id,\\n      hide_box_01:false,\\n      hide_box_02:true,\\n    });\\n    await onchange_goodissue();\\n  }\\n}\\n\\nasync function enter_serial() {\\n  console.log(\\\"point serial\\\");\\n  var data=get_data();     \\n  var lines = data.lines;\\n  var total_item = data.total_item;\\n  var i = data.i;\\n  console.log(\\\"point 2\\\");\\n\\n  if(total_item > 0)\\n  {    \\n    set_data({ \\n      i:i,\\n      serial_scan:true,\\n      gi_scan:false,\\n    });\\n  }\\n\\n  await on_barcode(data.serial);\\n\\n}\\n\\nasync function on_barcode(barcode) {\\n  var data = get_data();\\n  var i = data.i;\\n  var total_item = data.total_item;\\n  var lines = data.lines;\\n  if(barcode){\\n    lines[i].serial_no = barcode;\\n    lines[i].selected = true;\\n\\n    i = i + 1;\\n    total_item = total_item - 1;\\n\\n    set_data({\\n      lines:lines,\\n      total_item:total_item,\\n      i:i,\\n    });\\n  }\\n}\\n\\n/*\\nasync function onchange_goodissue() {\\n  var data=get_data();\\n  var pick_id=data.pick_id;\\n  if (!pick_id ) return;\\n\\n  var res=await rpc_execute(\\\"stock.picking\\\",\\\"search_read_path\\\",[[\\\"id\\\",\\\"=\\\",pick_id],[\\\"number\\\",\\\"invoice_id\\\",\\\"lines.product_id\\\",\\\"lines.product_id.name\\\",\\\"lines.qty\\\",\\\"lines.uom_id.name\\\",\\\"lines.lot_id\\\",\\\"lines.cost_price\\\",\\\"lines.cost_amount\\\"]]);\\n  console.log(\\\"dani \\\",res);\\n  if (res.length==0) throw \\\"Invalid Goods Issue\\\";\\n  var gi=res[0];\\n  var lines=gi.lines;\\n\\n  var total_qty = 0;\\n  var original_length = lines.length;\\n\\n  for(var count=0; countundefined<lines.length; count++){\\n    total_qty = total_qty + lines[count].qty;    \\n  }\\n\\n  console.log(\\\"total qty \\\",total_qty);\\n  var data=[];\\n  for( var j=0; jundefined<original_length; j++){\\n    for(var i=0;iundefined<total_qty;i++){\\n      var product_id = lines[j].product_id.id;\\n      var name=lines[j].product_id.name;\\n      var qty=lines[j].qty;\\n      var uom=lines[j].uom_id.name;\\n      var lot_id=lines[j].lot_id;\\n\\n      if(!lot_id){\\n        var lot = null;\\n      }else{\\n        var res2=await rpc_execute(\\\"stock.lot\\\",\\\"search_read_path\\\",[[[\\\"id\\\",\\\"=\\\",lot_id]],[\\\"number\\\"]]);\\n        var lot = res2[0].number;\\n      }\\n\\n      var res_prod = await rpc_execute(\\\"product\\\",\\\"search_read_path\\\",[[[\\\"id\\\",\\\"=\\\",product_id]],[\\\"cost_price\\\"]]);\\n      console.log(\\\"res_prod \\\",res_prod);\\n      var price=res_prod[0].cost_price?res_prod[0].cost_price:0;\\n      var amount=price.toFixed(2);\\n\\n      data[i]={\\n        product_id:product_id,\\n        product_name:name,\\n        qty:qty,\\n        uom:uom,\\n        serial_no:lot,\\n        cost_price:price,\\n        cost_amount:amount,\\n      };\\n\\n      if(data[i].qty >1){\\n        var dup_index = i;\\n        for( var k=dup_index+1; kundefined<dup_index+1+qty; k++){\\n          data[k]={\\n            product_id:data[dup_index].product_id,\\n            product_name:data[dup_index].product_name,\\n            qty:1,\\n            uom:data[dup_index].uom,\\n            serial_no:data[dup_index].serial_no,\\n            cost_price:data[dup_index].cost_price,\\n            cost_amount:data[dup_index].cost_amount,\\n          };\\n        }\\n        data[i].qty = 1;\\n      }\\n    }\\n  }\\n\\n  set_data({\\n    lines:data,\\n    total_item:lines.length,\\n    i:0,\\n  });\\n}\\n*/\\n\\nasync function onchange_goodissue() {\\n  var data=get_data();\\n  var pick_id=data.pick_id;\\n  if (!pick_id ) return;\\n\\n  var res=await rpc_execute(\\\"stock.picking\\\",\\\"search_read_path\\\",[[\\\"id\\\",\\\"=\\\",pick_id],[\\\"number\\\",\\\"invoice_id\\\",\\\"lines.product_id\\\",\\\"lines.product_id.name\\\",\\\"lines.qty\\\",\\\"lines.uom_id.name\\\",\\\"lines.lot_id\\\",\\\"lines.cost_price\\\",\\\"lines.cost_amount\\\",\\\"lines.track_id\\\"]]);\\n  console.log(\\\"dani \\\",res);\\n  if (res.length==0) throw \\\"Invalid Goods Issue\\\";\\n  var gi=res[0];\\n  var lines=gi.lines;\\n\\n  var total_qty = 0;\\n  var original_length = lines.length;\\n\\n  for(var count=0; countundefined<lines.length; count++){\\n    total_qty = total_qty + lines[count].qty;    \\n  }\\n\\n  console.log(\\\"total qty \\\",total_qty);\\n  var data=[];\\n  for(var i=0;iundefined<lines.length;i++)\\n  {\\n    var product_id = lines[i].product_id.id;\\n    var name=lines[i].product_id.name;\\n    var qty=lines[i].qty;\\n    var uom=lines[i].uom_id.name;\\n    var lot_id=lines[i].lot_id;\\n    var track = lines[i].track_id;\\n\\n    if(!lot_id){\\n      var lot = null;\\n    }else{\\n      var res2=await rpc_execute(\\\"stock.lot\\\",\\\"search_read_path\\\",[[[\\\"id\\\",\\\"=\\\",lot_id]],[\\\"number\\\"]]);\\n      var lot = res2[0].number;\\n    }\\n\\n    var res_prod = await rpc_execute(\\\"product\\\",\\\"search_read_path\\\",[[[\\\"id\\\",\\\"=\\\",product_id]],[\\\"cost_price\\\"]]);\\n    console.log(\\\"res_prod \\\",res_prod);\\n    var price=res_prod[0].cost_price?res_prod[0].cost_price:0;\\n    var amount=price.toFixed(2);\\n    data[i]={\\n      product_id:product_id,\\n      product_name:name,\\n      qty:qty,\\n      uom:uom,\\n      serial_no:lot,\\n      cost_price:price,\\n      cost_amount:amount,\\n      track_id:track,\\n      location_from:data.location_from_id,\\n    };\\n\\n    if(data[i].qty >1){\\n      var dup_index = i;\\n      for( var j=0; jundefined<data[i].qty-1; j++){\\n        data[original_length]={\\n          product_id:data[dup_index].product_id,\\n          product_name:data[dup_index].product_name,\\n          qty:1,\\n          uom:data[dup_index].uom,\\n          serial_no:data[dup_index].serial_no,\\n          cost_price:data[dup_index].cost_price,\\n          cost_amount:data[dup_index].cost_amount,\\n          track_id:data[dup_index].track_id,\\n          location_from_id:data[dup_index].location_from,\\n        };\\n        original_length++;\\n      }\\n      data[i].qty = 1;\\n    }\\n  }\\n\\n  set_data({\\n    lines:data,\\n    total_item:lines.length,\\n    i:0,\\n  });\\n}\\n\\nasync function next(){\\n  var data = get_data();\\n  var lines = data.lines;\\n  var confirmed_lines = data.confirmed_lines;\\n  console.log(\\\"lines \\\",lines);\\n\\n\\n  var selected_lines = _.filter(data.lines,o=>{ \\n    return o.selected;\\n  });\\n  console.log(\\\"selected_lines \\\",selected_lines);\\n\\n  var array = [];\\n  for(var i=0; iundefined<selected_lines.length; i++){\\n    array[i]={\\n      product_id:selected_lines[i].product_id?selected_lines[i].product_id:null,\\n      product_name:selected_lines[i].product_name?selected_lines[i].product_name:\\\"-\\\",\\n      qty:selected_lines[i].qty?selected_lines[i].qty:0,\\n      uom:selected_lines[i].uom?selected_lines[i].uom:\\\"-\\\",\\n      serial_no:selected_lines[i].serial_no?selected_lines[i].serial_no:\\\"-\\\",\\n      cost_price:selected_lines[i].cost_price?selected_lines[i].cost_price:0,\\n      cost_amount:selected_lines[i].cost_amount?selected_lines[i].cost_amount:0,\\n      track_id:selected_lines[i].track_id?selected_lines[i].track_id:0,\\n    };\\n  }\\n\\n  set_data({\\n    confirmed_lines:array,  \\n    hide_box_02:false,\\n    hide_box_01:true,\\n    //i:0,\\n  });\\n\\n  set_data({total_item:selected_lines.length});\\n}\\n\\nasync function validate(){\\n  var data = get_data();\\n  var pick_id = data.pick_id;\\n  //var location_from_id = data.location_from_id;//khal test\\n  var gi_number = data.gi_number;\\n  if(confirm(\\\"Validate \\\"+gi_number+\\\"?\\\")){\\n    var select_lines=_.filter(data.lines,l=>l.selected);\\n    if (select_lines.length==0) throw \\\"No lines selected\\\";\\n    //if (select_lines.length!=data.lines.length) throw \\\"Incorrect validation\\\";\\n\\n    var stock_move = await rpc_execute(\\\"stock.move\\\",\\\"search\\\",[[\\\"picking_id\\\",\\\"=\\\",pick_id]]);\\n\\n    for( var j=0; jundefined<stock_move.length; j++){\\n      await rpc_execute(\\\"stock.move\\\",\\\"delete\\\",[[stock_move[j]]]); \\n    }\\n\\n    try{\\n      for(var i=0; iundefined<select_lines.length;i++){\\n        var check_req = await rpc_execute(\\\"product\\\",\\\"search_read_path\\\",[[[\\\"id\\\",\\\"=\\\",select_lines[i].product_id]],[\\\"require_unique_lot\\\"]]);\\n        if(check_req[0].require_unique_lot && select_lines[i].serial_no == null)\\n          throw \\\"Product \\\"+select_lines[i].product_name+\\\" requires serial number.\\\";\\n\\n        /*try{\\n          var check_bal = await rpc_execute(\\\"stock.balance\\\",\\\"search_read\\\",[[[\\\"product_id\\\",\\\"=\\\",select_lines[i].product_id],[\\\"lot_id\\\",\\\"=\\\",null]],[\\\"qty_phys\\\"]]);\\n          console.log(\\\"dani check bal 1 \\\"+check_bal);\\n          if(check_bal){\\n            //console.log(\\\"dani check bal 4 \\\"+check_bal[0].qty_phys);\\n            var in_stock = check_bal[0].qty_phys?check_bal[0].qty_phys:0;\\n            if(in_stock <= 0) throw \\\"No stock balance for \\\"+select_lines[i].product_name;\\n            //await rpc_execute(\\\"stock.balance\\\",\\\"write\\\",[[check_bal[0].id],{qty_phys:in_stock-1}]); \\n            var updated_stock = in_stock - 1;\\n          }else{\\n            throw \\\"No stock balance for \\\"+select_lines[i].product_name;\\n          }\\n        }catch(err){\\n          console.log(\\\"this error: \\\"+err);\\n          throw \\\"ERROR: \\\"+err;\\n        }*/\\n\\n        var sm_vals={\\n          picking_id:pick_id, \\n          product_id:select_lines[i].product_id, \\n          uom_id:1,\\n          location_from_id:data.location_from.id,\\n          //location_from_id:location_from_id,//khal test\\n          location_to_id:6,\\n          sequence:i+1, \\n          qty:1, \\n          //cost_price:select_lines[i].cost_price, \\n          //cost_amount:select_lines[i].cost_amount, \\n          track_id:select_lines[i].track_id,\\n          notes:select_lines[i].serial_no,\\n        };\\n        \\n        await rpc_execute(\\\"stock.move\\\",\\\"create\\\",[sm_vals],{}); \\n        //var new_sm = await rpc_execute(\\\"stock.move\\\",\\\"create\\\",[sm_vals],{}); \\n        try{\\n          var check_bal = await rpc_execute(\\\"stock.balance\\\",\\\"search_read\\\",[[[\\\"product_id\\\",\\\"=\\\",select_lines[i].product_id],[\\\"lot_id\\\",\\\"=\\\",null],[\\\"location_id\\\",\\\"=\\\",sm_vals.location_from_id]],[\\\"qty_phys\\\"]]);\\n          console.log(\\\"dani check bal 1 \\\"+check_bal);\\n          if(check_bal){\\n            //console.log(\\\"dani check bal 4 \\\"+check_bal[0].qty_phys);\\n            var in_stock = check_bal[0].qty_phys?check_bal[0].qty_phys:0;\\n            if(in_stock <= 0) throw \\\"No stock balance for \\\"+select_lines[i].product_name;\\n            //await rpc_execute(\\\"stock.balance\\\",\\\"write\\\",[[check_bal[0].id],{qty_phys:in_stock-1}]); \\n            var updated_stock = in_stock - 1;\\n          }else{\\n            throw \\\"No stock balance for \\\"+select_lines[i].product_name;\\n          }\\n        }catch(err){\\n          console.log(\\\"this error: \\\"+err);\\n          throw \\\"ERROR: \\\"+err;\\n        }\\n        //await rpc_execute(\\\"stock.move\\\",\\\"set_done_fast\\\",[[new_sm]]);\\n      }\\n      //await rpc_execute(\\\"stock.picking\\\",\\\"set_done_fast\\\",[[pick_id]]);\\n      await rpc_execute(\\\"stock.picking\\\",\\\"set_done\\\",[[pick_id]]);\\n      \\n      alert(gi_number+\\\" validated!\\\");\\n\\n      set_page(\\\"01_zeek_draft_gi\\\");\\n    }\\n    catch(err){\\n      alert(\\\"Error: \\\"+err);\\n    }\\n  }else{\\n    //do nothing...\\n  }\\n}\\n\\n\"}, \"02_zeek_confirm_validate_offline\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"{gi_number}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"font_bold\": true, \"font_size\": 24}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"Please scan the serial number of confirmed items.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": [{\"type\": \"field\", \"align\": \"center\", \"text_align\": \"center\", \"field_type\": \"text\", \"name\": \"serial\", \"margin_left\": 20, \"margin_right\": 20, \"on_barcode\": \"\", \"on_submit\": \"enter_serial()\", \"placeholder\": \"--Serial No--\", \"visibility\": \"hidden\"}]}, {\"children\": []}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"margin_top\": 30, \"padding_top\": null, \"width\": \"\", \"_col_widths\": \"\"}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Product\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Quantity\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"UoM\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Cost Price\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Serial No\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, null, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product_name}\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{uom}\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cost_price}\\n\"}]}, \"font_size\": 20}, {\"type\": \"field\", \"name\": \"serial_no\", \"field_type\": \"text\", \"font_size\": 20}, {\"type\": \"field\", \"name\": \"selected\", \"field_type\": \"checkbox\", \"text_align\": \"center\", \"align\": \"center\", \"font_size\": 20, \"width\": \"50%\", \"height\": \"50%\", \"field_value\": \"\", \"readonly\": false, \"max_value\": \"\", \"scale\": null, \"dyn_props\": \"\"}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"name\": \"selected\", \"align\": \"center\", \"text_align\": \"center\", \"width\": \"50\", \"height\": \"50\"}]], \"num_cols\": 6, \"margin_top\": 20, \"field_rows\": \"lines\", \"num_rows\": null, \"_col_widths\": \"[4,2,2,2,2,1]\", \"col_widths\": [4, 2, 2, 2, 2, 1], \"table_bordered\": true, \"table_striped\": true, \"table_hover\": true}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": []}, {\"children\": [{\"type\": \"button\", \"text\": \"Back\", \"icon\": \"arrow-left\", \"font_bold\": true, \"width\": \"150\", \"align\": \"center\", \"on_click\": \"set_page(\\\"01_zeek_draft_gi_offline\\\")\", \"font_size\": 20, \"height\": \"100\"}]}, {\"children\": [{\"type\": \"button\", \"align\": \"center\", \"on_click\": \"next()\", \"background_color\": \"#5cff33\", \"text\": \"Next\", \"icon\": \"arrow-right\", \"font_bold\": true, \"width\": \"150\", \"font_size\": 20, \"height\": \"100\"}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 6, \"col_widths\": [1, 1, 1, 1, 1, 1], \"_col_widths\": \"[1,1,1,1,1,1]\"}], \"min_height\": 50, \"dyn_props\": \"{hidden:hide_box_01}\", \"name\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"Total item(s): \"}, {\"attributes\": {\"bold\": true}, \"insert\": \"{total_item}\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_bottom\": 10, \"font_size\": 26}, {\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Product\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Quantity\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"UoM\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Cost Price\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Serial No\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Serial No\"}, {\"insert\": \"\\n\"}]}, \"font_size\": 18}], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product_name}\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{uom}\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cost_price}\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{serial_no}\\n\"}]}, \"font_size\": 20}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{serial_no}\\n\"}]}, \"font_size\": 18}]], \"num_cols\": 5, \"_col_widths\": \"[1,1,1,1,1]\", \"col_widths\": [1, 1, 1, 1, 1], \"field_rows\": \"confirmed_lines\"}, {\"type\": \"columns\", \"columns\": [{\"children\": []}, {\"children\": []}, {\"children\": [{\"type\": \"button\", \"text\": \"Cancel\", \"icon\": \"remove\", \"align\": \"center\", \"width\": \"150\", \"font_bold\": true, \"background_color\": \"#ffaaa8\", \"color\": \"#000000\", \"on_click\": \"set_data({hide_box_01:false,hide_box_02:true});\\t\", \"height\": \"100\", \"font_size\": 20}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Validate\", \"icon\": \"check\", \"font_bold\": true, \"align\": \"center\", \"background_color\": \"#5cff33\", \"on_click\": \"validate()\", \"width\": \"150\", \"height\": \"100\", \"font_size\": 20}]}, {\"children\": []}, {\"children\": []}], \"num_cols\": 6, \"col_widths\": [1, 1, 1, 1, 1, 1], \"_col_widths\": \"[1,1,1,1,1,1]\"}], \"min_height\": 50, \"margin_top\": 20, \"padding_top\": 10, \"padding_right\": 10, \"padding_bottom\": 10, \"padding_left\": 10, \"dyn_props\": \"{hidden:hide_box_02}\"}], \"min_height\": 50, \"padding_top\": 30, \"padding_left\": 30, \"padding_right\": 30, \"padding_bottom\": 30}, {\"type\": \"overlay\", \"left\": 96, \"top\": 8, \"witdh\": 0, \"height\": 0, \"children\": []}], \"custom_css\": \"\"}, \"code\": \"async function on_load(){ \\n  if(page_params.pick_id) {\\n    var pick_id = page_params.pick_id;\\n\\n    var cond = [[\\\"db_id\\\",\\\"=\\\",pick_id]];\\n    var fields = [\\\"number\\\"];\\n    var gi_number = await get_model(\\\"stock.picking\\\").search_read(cond,fields);\\n\\n    set_data({\\n      pick_id:pick_id,\\n      gi_number:gi_number[0].number,\\n      pick_id:pick_id,\\n      hide_box_01:false,\\n      hide_box_02:true,\\n    });\\n    await onchange_goodissue();\\n  }\\n}\\n\\nasync function enter_serial() {\\n  console.log(\\\"point serial\\\");\\n  var data=get_data();     \\n  var lines = data.lines;\\n  var total_item = data.total_item;\\n  var i = data.i;\\n  console.log(\\\"point 2\\\");\\n\\n  if(total_item > 0)\\n  {    \\n    set_data({ \\n      i:i,\\n      serial_scan:true,\\n      gi_scan:false,\\n    });\\n  }\\n\\n  await on_barcode(data.serial);\\n\\n}\\n\\nasync function on_barcode(barcode) {\\n  var data = get_data();\\n  var i = data.i;\\n  var total_item = data.total_item;\\n  var lines = data.lines;\\n  if(barcode){\\n    lines[i].serial_no = barcode;\\n    lines[i].selected = true;\\n\\n    i = i + 1;\\n    total_item = total_item - 1;\\n\\n    set_data({\\n      lines:lines,\\n      total_item:total_item,\\n      i:i,\\n    });\\n  }\\n}\\nasync function onchange_goodissue() {\\n  var data=get_data();\\n  var pick_id=data.pick_id;\\n  if (!pick_id ) return;\\n\\n  var res= await get_model(\\\"stock.picking\\\").search_read([[\\\"db_id\\\",\\\"=\\\",pick_id]],[\\\"db_id\\\",\\\"number\\\",\\\"invoice_id\\\"]);\\n  if (res.length==0) throw \\\"Invalid Goods Issue\\\";\\n  var gi=res[0];\\n  var lines=await get_model(\\\"stock.move\\\").search_read([[\\\"picking_id\\\",\\\"=\\\",gi.db_id],[\\\"deleted\\\",\\\"=\\\",false]],[\\\"product_id\\\",\\\"qty\\\",\\\"uom_id\\\",\\\"lot_id\\\",\\\"cost_price\\\",\\\"cost_amount\\\",\\\"track_id\\\"]);\\n  var total_qty = 0;\\n  var original_length = lines.length;\\n\\n  for(var count=0; countundefined<lines.length; count++){\\n    total_qty = total_qty + lines[count].qty;    \\n  }\\n\\n  var data=[];\\n  for(var i=0;iundefined<lines.length;i++)\\n  {\\n    var product = await get_model(\\\"product\\\").search_read([[\\\"db_id\\\",\\\"=\\\",lines[i].product_id]],[\\\"db_id\\\",\\\"name\\\",\\\"cost_price\\\"]);\\n    if(product.length==0) throw \\\"there is no product \\\"+lines[i].product_id;\\n    var res_uom = await get_model(\\\"uom\\\").search_read([[\\\"db_id\\\",\\\"=\\\",lines[i].uom_id]],[\\\"name\\\"]);\\n    if(res_uom.length==0) throw \\\"there is no uom\\\"+lines[i].uom_id;\\n    \\n    var product_id = product[0].db_id;\\n    var name=product[0].name;\\n    var qty=lines[i].qty;\\n    var uom=res_uom[0].name;\\n    var lot_id=lines[i].lot_id;\\n    var track = lines[i].track_id;\\n    var price=product[0].cost_price?product[0].cost_price:0;\\n    var amount=price.toFixed(2);\\n\\n    if(!lot_id){\\n      var lot = null;\\n    }else{\\n      var res2=await get_model(\\\"stock.lot\\\").search_read_path([[\\\"db_id\\\",\\\"=\\\",lot_id]],[\\\"number\\\"]);\\n      var lot = res2[0].number;\\n    }\\n\\n    data[i]={\\n      product_id:product_id,\\n      product_name:name,\\n      qty:qty,\\n      uom:uom,\\n      serial_no:lot,\\n      cost_price:price,\\n      cost_amount:amount,\\n      track_id:track,\\n    };\\n\\n    if(data[i].qty >1){\\n      var dup_index = i;\\n      for( var j=0; jundefined<data[i].qty-1; j++){\\n        data[original_length]={\\n          product_id:data[dup_index].product_id,\\n          product_name:data[dup_index].product_name,\\n          qty:1,\\n          uom:data[dup_index].uom,\\n          serial_no:data[dup_index].serial_no,\\n          cost_price:data[dup_index].cost_price,\\n          cost_amount:data[dup_index].cost_amount,\\n          track_id:data[dup_index].track_id,\\n        };\\n        original_length++;\\n      }\\n      data[i].qty = 1;\\n    }\\n  }\\n\\n  set_data({\\n    lines:data,\\n    total_item:lines.length,\\n    i:0,\\n  });\\n}\\n\\nasync function next(){\\n  var data = get_data();\\n  var lines = data.lines;\\n  var confirmed_lines = data.confirmed_lines;\\n  console.log(\\\"lines \\\",lines);\\n\\n\\n  var selected_lines = _.filter(data.lines,o=>{ \\n    return o.selected;\\n  });\\n  console.log(\\\"selected_lines \\\",selected_lines);\\n\\n  var array = [];\\n  for(var i=0; iundefined<selected_lines.length; i++){\\n    array[i]={\\n      product_id:selected_lines[i].product_id?selected_lines[i].product_id:null,\\n      product_name:selected_lines[i].product_name?selected_lines[i].product_name:\\\"-\\\",\\n      qty:selected_lines[i].qty?selected_lines[i].qty:0,\\n      uom:selected_lines[i].uom?selected_lines[i].uom:\\\"-\\\",\\n      serial_no:selected_lines[i].serial_no?selected_lines[i].serial_no:\\\"-\\\",\\n      cost_price:selected_lines[i].cost_price?selected_lines[i].cost_price:0,\\n      cost_amount:selected_lines[i].cost_amount?selected_lines[i].cost_amount:0,\\n      track_id:selected_lines[i].track_id?selected_lines[i].track_id:0,\\n    };\\n  }\\n\\n  set_data({\\n    confirmed_lines:array,  \\n    hide_box_02:false,\\n    hide_box_01:true,\\n    //i:0,\\n  });\\n\\n  set_data({total_item:selected_lines.length});\\n}\\n\\nasync function validate(){\\n  var data = get_data();\\n  var pick_id = data.pick_id;\\n  var gi_number = data.gi_number;\\n  if(confirm(\\\"Validate \\\"+gi_number+\\\"?\\\")){\\n    var select_lines=_.filter(data.lines,l=>l.selected);\\n    if (select_lines.length==0) throw \\\"No lines selected\\\";\\n    //if (select_lines.length!=data.lines.length) throw \\\"Incorrect validation\\\";\\n    for(var i=0; iundefined<select_lines.length;i++){\\n        try{\\n          var check_req = await get_model(\\\"product\\\").search_read_path([[\\\"db_id\\\",\\\"=\\\",select_lines[i].product_id]],[\\\"require_unique_lot\\\"]);\\n          if(check_req[0].require_unique_lot && select_lines[i].serial_no == null)\\n            throw \\\"Product \\\"+select_lines[i].product_name+\\\" requires serial number.\\\";\\n          var check_bal = await get_model(\\\"stock.balance\\\").search_read([[\\\"product_id\\\",\\\"=\\\",select_lines[i].product_id],[\\\"lot_id\\\",\\\"=\\\",0]],[\\\"qty_phys\\\"]);\\n          console.log(\\\"dani check bal 1 \\\"+check_bal);\\n          if(check_bal){\\n            //console.log(\\\"dani check bal 4 \\\"+check_bal[0].qty_phys);\\n            var in_stock = check_bal[0].qty_phys?check_bal[0].qty_phys:0;\\n            if(in_stock <= 0) throw \\\"No stock balance for \\\"+select_lines[i].product_name;\\n            //await rpc_execute(\\\"stock.balance\\\",\\\"write\\\",[[check_bal[0].id],{qty_phys:in_stock-1}]); \\n            var updated_stock = in_stock - 1;\\n          }else{\\n            throw \\\"No stock balance for \\\"+select_lines[i].product_name;\\n          }\\n        }catch(err){\\n          console.log(\\\"this error: \\\"+err);\\n          throw \\\"ERROR: \\\"+err;\\n        }\\n    }\\n    var stock_move =await get_model(\\\"stock.move\\\").search_read([[\\\"picking_id\\\",\\\"=\\\",pick_id],[\\\"deleted\\\",\\\"=\\\",false]],[\\\"db_id\\\"]);\\n\\n    for( var j=0; jundefined<stock_move.length; j++){\\n      await get_model(\\\"stock.move\\\").write([stock_move[j].id],{deleted:true,}); \\n      await get_model(\\\"operation_offline\\\").create({model:\\\"stock.move\\\",db_id:stock_move[j].id,name:\\\"delete\\\"});\\n    }\\n\\n    try{\\n      for(var i=0;iundefined<select_lines.length;i++){\\n        var sm_vals={\\n          picking_id:pick_id, \\n          product_id:select_lines[i].product_id, \\n          uom_id:1,\\n          location_from_id:4,\\n          location_to_id:6,\\n          sequence:i+1, \\n          qty:1, \\n          //cost_price:select_lines[i].cost_price, \\n          //cost_amount:select_lines[i].cost_amount, \\n          track_id:select_lines[i].track_id,\\n          notes:select_lines[i].serial_no,\\n        };\\n        var id  =await get_model(\\\"stock.move\\\").create(sm_vals);\\n        await get_model(\\\"operation_offline\\\").create({name:\\\"create\\\",model:\\\"stock.move\\\",db_id:id}); \\n        //var new_sm = await rpc_execute(\\\"stock.move\\\",\\\"create\\\",[sm_vals],{}); \\n        //await rpc_execute(\\\"stock.move\\\",\\\"set_done_fast\\\",[[new_sm]]);\\n        //await rpc_execute(\\\"stock.picking\\\",\\\"set_done_fast\\\",[[pick_id]]);\\n        var pick_id_db = await get_model(\\\"stock.picking\\\").search([[\\\"db_id\\\",\\\"=\\\",pick_id]]);\\n        pick_id_db=pick_id_db[0]?pick_id_db[0]:pick_id_db;\\n        await get_model(\\\"operation_offline\\\").create({model:\\\"stock.picking\\\",name:\\\"set_done\\\",db_id:pick_id_db});  // say peng signed\\n      }\\n      alert(gi_number+\\\" validated!\\\");\\n\\n      set_page(\\\"01_zeek_draft_gi_offline\\\");\\n    }\\n    catch(err){\\n      alert(\\\"Error: \\\"+err);\\n    }\\n  }else{\\n    //do nothing...\\n  }\\n}\\n\\n//check is id in model has the fields\\nasync function check(model,id,fields){\\n  var item = await get_model(model).read([id],fields)[0];\\n  if(!item)return false;\\n  for(var field of fields){\\n    if(!item[field]) return false;\\n  }\\n  return true;\\n}\\n\\n\"}, \"zeek_gi\": {\"layout\": {\"elements\": [{\"type\": \"box\", \"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"size\": \"huge\", \"bold\": true}, \"insert\": \"Zeek GI Validate\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"color\": \"#e60000\"}, \"insert\": \"Please scan the barcode of tracking number or choose Goods Issue.\"}, {\"attributes\": {\"align\": \"center\"}, \"insert\": \"\\n\"}]}, \"margin_top\": 10}, {\"type\": \"columns\", \"columns\": [{\"children\": [{\"type\": \"columns\", \"num_cols\": 2, \"columns\": [{\"children\": [{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"GI Number:\"}, {\"attributes\": {\"align\": \"right\"}, \"insert\": \"\\n\"}]}, \"margin_right\": 30}]}, {\"children\": [{\"type\": \"field\", \"placeholder\": \"Tracking number\", \"field_type\": \"text\", \"model\": \"\", \"condition\": \"\", \"name\": \"gi_no\", \"on_change\": \"\", \"on_change_text\": \"\", \"on_barcode\": \"\", \"on_submit\": \"enter_barcode()\", \"visibility\": \"hidden\"}, {\"type\": \"field\", \"field_type\": \"select\", \"margin_top\": 5, \"model\": \"stock.picking\", \"condition\": \"[[\\\"type\\\",\\\"=\\\",\\\"out\\\"],[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]]\", \"on_change\": \"onchange_goodissue()\", \"_selection\": \"\", \"selection\": null, \"name\": \"gi_select\", \"placeholder\": \"Select Goods Issue\"}]}], \"col_widths\": [1, 1]}]}, {\"children\": [{\"type\": \"field\", \"align\": \"center\", \"text_align\": \"center\", \"field_type\": \"text\", \"name\": \"serial\", \"margin_left\": 20, \"margin_right\": 20, \"on_barcode\": \"\", \"on_submit\": \"enter_serial()\", \"placeholder\": \"--Serial No--\", \"visibility\": \"\"}]}, {\"children\": [{\"type\": \"button\", \"text\": \"Validate\", \"size\": \"large\", \"on_click\": \"validate()\", \"margin_top\": null, \"padding_top\": 10, \"padding_bottom\": 10, \"padding_left\": 20, \"padding_right\": 20, \"align\": \"right\", \"background_color\": \"#ffffff\", \"hover_background_color\": \"#ffffff\", \"color\": \"#277d8d\", \"font_bold\": true, \"border_radius\": 5, \"placeholder_color\": \"#ffffff\"}]}], \"num_cols\": 3, \"col_widths\": [1, 1, 1], \"margin_top\": 30, \"padding_top\": null, \"width\": \"\", \"_col_widths\": \"\"}, {\"type\": \"box\", \"children\": [{\"type\": \"table\", \"elements\": [[{\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Product\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Quantity\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"UoM\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Cost Price\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Cost Amount\"}, {\"insert\": \"\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"attributes\": {\"bold\": true}, \"insert\": \"Serial No\"}, {\"insert\": \"\\n\"}]}}, null], [{\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{product_name}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{qty}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{uom}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cost_price}\\n\"}]}}, {\"type\": \"text\", \"contents\": {\"ops\": [{\"insert\": \"{cost_amount}\\n\"}]}}, {\"type\": \"field\", \"name\": \"serial_no\", \"field_type\": \"text\", \"text_align\": \"center\", \"align\": \"center\"}, {\"type\": \"field\", \"field_type\": \"checkbox\", \"name\": \"selected\", \"align\": \"center\", \"text_align\": \"center\"}]], \"num_cols\": 7, \"margin_top\": 20, \"field_rows\": \"lines\", \"num_rows\": null, \"_col_widths\": \"[4,2,2,2,2,3,0.3]\", \"col_widths\": [4, 2, 2, 2, 2, 3, 0.3], \"table_bordered\": true, \"table_striped\": true, \"table_hover\": true}], \"min_height\": 50, \"dyn_props\": \"{hidden:table_box}\", \"name\": \"table_box\"}], \"min_height\": 50, \"padding_top\": 30, \"padding_left\": 30, \"padding_right\": 30, \"padding_bottom\": 30}]}, \"code\": \"async function on_load(){ \\n  set_data({\\n    gi_no:null,\\n    serial:null,\\n    gi_scan:true,\\n    serial_scan:false,\\n    table_box:true,\\n  }); \\n\\n  if(page_params.gi_no) {\\n    var gi_no = page_params.gi_no;\\n    set_data({gi_no:gi_no});\\n    await onchange_goodissue();\\n  }\\n}\\n\\nasync function enter_barcode() {\\n  console.log(\\\"point barcode\\\");\\n  var data=get_data();\\n  //if (data.gi_no) { \\n  if (!data.gi_no) { \\n    throw \\\"Missing barcode\\\";\\n    return;\\n  }\\n  console.log(\\\"point 1\\\"); \\n  set_data({\\n    gi_scan:true,\\n    serial_scan:false,\\n  });\\n  await on_barcode(data.gi_no);\\n}\\n\\nasync function enter_serial() {\\n  console.log(\\\"point serial\\\");\\n  var data=get_data();     \\n  var lines = data.lines;\\n  var total_item = data.total_item;\\n  var i = data.i;\\n  console.log(\\\"point 2\\\");\\n\\n  if(total_item > 0)\\n  {    \\n    set_data({ \\n      i:i,\\n      serial_scan:true,\\n      gi_scan:false,\\n    });\\n  }\\n\\n  await on_barcode(data.serial);\\n\\n}\\n\\nasync function on_barcode(barcode) {\\n  var data = get_data();\\n  console.log(\\\"point 3: \\\",data.gi_scan);\\n\\n  if(data.gi_scan == true){\\n    if(barcode){\\n      //var gi_no=barcode;\\n      set_data({\\n        gi_no:barcode,\\n        gi_scan:false,\\n      });\\n      await onchange_goodissue();\\n    }else{ \\n      var gi_no=data.gi_no;\\n      set_data({\\n        gi_no:gi_no,\\n        gi_scan:false,\\n      });\\n      await onchange_goodissue();\\n    }\\n  }\\n  else{\\n    var data=get_data();  \\n    var i = data.i;\\n    var total_item = data.total_item;\\n    var lines = data.lines;\\n    if(barcode){\\n      lines[i].serial_no = barcode;\\n      lines[i].selected = true;\\n\\n      i = i + 1;\\n      total_item = total_item - 1;\\n\\n      set_data({\\n        lines:lines,\\n        total_item:total_item,\\n        i:i,\\n      });\\n    }\\n  }\\n}\\n\\nasync function onchange_goodissue() {\\n  var data=get_data();\\n  var gi_no=data.gi_no;\\n  var gi_select=data.gi_select;\\n  if (!gi_no && !gi_select) return;\\n  set_data({table_box:false});\\n\\n  if(gi_no){\\n    var res=await rpc_execute(\\\"stock.picking\\\",\\\"search_read_path\\\",[[\\\"ref\\\",\\\"=\\\",gi_no],[\\\"number\\\",\\\"invoice_id\\\",\\\"lines.product_id\\\",\\\"lines.product_id.name\\\",\\\"lines.qty\\\",\\\"lines.uom_id.name\\\",\\\"lines.lot_id\\\",\\\"lines.cost_price\\\",\\\"lines.cost_amount\\\"]]);\\n    console.log(\\\"dani \\\",res);\\n    if (res.length==0) throw \\\"Invalid good issue\\\";\\n    var gi=res[0];\\n    var lines=gi.lines;\\n  }\\n  if(gi_select){\\n    var res=await rpc_execute(\\\"stock.picking\\\",\\\"search_read_path\\\",[[\\\"id\\\",\\\"=\\\",gi_select],[\\\"number\\\",\\\"invoice_id\\\",\\\"lines.product_id\\\",\\\"lines.product_id.name\\\",\\\"lines.qty\\\",\\\"lines.uom_id.name\\\",\\\"lines.lot_id\\\",\\\"lines.cost_price\\\",\\\"lines.cost_amount\\\"]]);\\n    console.log(\\\"dani \\\",res);\\n    if (res.length==0) throw \\\"Invalid good issue\\\";\\n    var gi=res[0];\\n    var lines=gi.lines;\\n  }\\n\\n  var data=[];\\n  for(var i=0;iundefined<lines.length;i++)\\n  {\\n    var product_id = lines[i].product_id.id;\\n\\n\\n    var name=lines[i].product_id.name;\\n    var qty=lines[i].qty;\\n    var uom=lines[i].uom_id.name;\\n    var lot_id=lines[i].lot_id;\\n\\n    if(!lot_id){\\n      var lot = null;\\n    }else{\\n      var res2=await rpc_execute(\\\"stock.lot\\\",\\\"search_read_path\\\",[[[\\\"id\\\",\\\"=\\\",lot_id]],[\\\"number\\\"]]);\\n      var lot = res2[0].number;\\n    }\\n\\n    var res_prod = await rpc_execute(\\\"product\\\",\\\"search_read_path\\\",[[[\\\"id\\\",\\\"=\\\",product_id]],[\\\"cost_price\\\"]]);\\n    var price=res_prod[0].cost_price?res_prod[0].cost_price:0;\\n    var amount=price.toFixed(2);\\n    data[i]={\\n      product_id:product_id,\\n      product_name:name,\\n      qty:qty,\\n      uom:uom,\\n      serial_no:lot,\\n      cost_price:price,\\n      cost_amount:amount,\\n    };\\n  }\\n\\n  set_data({\\n    lines:data,\\n    total_item:lines.length,\\n    i:0,\\n  });\\n}\\n\\nasync function validate(){\\n  var data=get_data();\\n  var gi_no=data.gi_no;\\n  var gi_select=data.gi_select;\\n  var select_lines=_.filter(data.lines,l=>l.selected);\\n  if (select_lines.length==0) throw \\\"No lines selected\\\";\\n  if (select_lines.length!=data.lines.length) throw \\\"Incorrect validation\\\";\\n\\n  if(gi_no){\\n    var res3=await rpc_execute(\\\"stock.picking\\\",\\\"search_read_path\\\",[[[\\\"ref\\\",\\\"=\\\",gi_no]],[\\\"id\\\"]]);\\n    var gi_id = res3[0].id;\\n    console.log(\\\"dani \\\",gi_id);\\n  }\\n  if(gi_select){\\n    var gi_id = gi_select;\\n    var res4=await rpc_execute(\\\"stock.picking\\\",\\\"search_read_path\\\",[[[\\\"id\\\",\\\"=\\\",gi_id]],[\\\"number\\\"]]);\\n    var gi_no = res4[0].number;  \\n  }\\n\\n  try{\\n    for(var i=0; iundefined<select_lines.length;i++){\\n      var stock_move = await rpc_execute(\\\"stock.move\\\",\\\"search\\\",[[\\\"picking_id\\\",\\\"=\\\",gi_id]]);\\n      var check_req = await rpc_execute(\\\"product\\\",\\\"search_read_path\\\",[[[\\\"id\\\",\\\"=\\\",select_lines[i].product_id]],[\\\"require_unique_lot\\\"]]);\\n      if(check_req[0].require_unique_lot && select_lines[i].serial_no == null)\\n        throw \\\"Product \\\"+select_lines[i].product_name+\\\" requires serial number.\\\";\\n\\n      try{\\n        var check_bal = await rpc_execute(\\\"stock.balance\\\",\\\"search_read_path\\\",[[[\\\"product_id\\\",\\\"=\\\",select_lines[i].product_id],[\\\"lot_id\\\",\\\"=\\\",null]],[\\\"qty_phys\\\"]]);\\n        console.log(\\\"dani check bal 1 \\\"+check_bal);\\n        if(check_bal){\\n          console.log(\\\"dani check bal 4 \\\"+check_bal[0].qty_phys);\\n          var in_stock = check_bal[0].qty_phys?check_bal[0].qty_phys:0;\\n          if(in_stock <= 0) throw \\\"No stock balance for \\\"+select_lines[i].product_name;\\n          //await rpc_execute(\\\"stock.balance\\\",\\\"write\\\",[[check_bal[0].id],{qty_phys:in_stock-1}]); \\n          var updated_stock = in_stock - 1;\\n        }else{\\n          throw \\\"No stock balance for \\\"+select_lines[i].product_name;\\n        }\\n      }catch(err){\\n        console.log(\\\"this error: \\\"+err);\\n        throw \\\"ERROR: \\\"+err;\\n      }\\n\\n      var date = new Date();\\n      var vals = {\\n        number:select_lines[i].serial_no,\\n        mfg_date:date,\\n        product_id:select_lines[i].product_id,\\n      };\\n      \\n      /*\\n      if(select_lines[i].serial_no != null){\\n        var new_lot = await rpc_execute(\\\"stock.lot\\\",\\\"create\\\",[vals],{});\\n        await rpc_execute(\\\"stock.move\\\",\\\"write\\\",[[stock_move[i]],{lot_id:new_lot?new_lot:null, notes:select_lines[i].serial_no}]);\\n      }\\n      await rpc_execute(\\\"stock.move\\\",\\\"write\\\",[[stock_move[i]],{sequence:i+1, cost_price:select_lines[i].cost_price, cost_amount:select_lines[i].cost_amount}]); */\\n      await rpc_execute(\\\"stock.move\\\",\\\"write\\\",[[stock_move[i]],{sequence:i+1, cost_price:select_lines[i].cost_price, cost_amount:select_lines[i].cost_amount, notes:select_lines[i].serial_no}]); \\n\\n    }\\n    await rpc_execute(\\\"stock.picking\\\",\\\"set_done_fast\\\",[[gi_id]]);\\n    //await rpc_execute(\\\"stock.picking\\\",\\\"write\\\",[[gi_id],{state:\\\"done\\\"}]); \\n    alert(gi_no+\\\" validated\\\");\\n\\n    //set_page(\\\"zeek_gi\\\",{gi_no:\\\"GI-\\\"+gi_no});\\n    set_page(\\\"zeek_gi\\\");\\n  }\\n  catch(err){\\n    alert(\\\"Error: \\\"+err);\\n  }\\n}\"}}, \"settings\": {\"date_format\": \"DD/MM/YYYY\", \"use_buddhist_date\": null}, \"hash\": \"8c108e0c\"}, \"error\": null, \"id\": 1690785668589, \"dt\": 2650}"}],"_postman_id":"08bb9f36-5559-440c-9f05-8d493faf91ae"},{"name":"params/base.user/read","id":"16904650-2fd9-4583-99da-47549c52d0fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690785681970,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"base.user\",\r\n        \"read\",\r\n        [\r\n            [\r\n                \"106\"\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"num_new_notifs\",\r\n                \"show_timer\",\r\n                \"image\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"last_activ_time\": \"2023-07-31 11:39:24\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\"><strong>Description:</strong></h1>\n<p>The JSON-RPC API provided at the above endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC). JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Usage:</strong></p>\n<p>Clients can send HTTP POST requests to the specified endpoint to invoke remote procedures on the server. The request and response payloads are formatted as JSON objects.</p>\n<p><strong>HTTP Method:</strong> POST</p>\n<p><strong>Request Format:</strong></p>\n<p>To utilize the API, clients should send a POST request to the endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><strong>\"id\" (Number or String, optional):</strong> A unique identifier for the request. While optional, providing an \"id\" can help the client match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><strong>\"method\" (String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><strong>\"params\" (Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><strong>\"id\" (Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to facilitate matching responses with their corresponding requests.</li>\n<li><strong>\"result\" (Any):</strong> The result of the RPC method call. This field will contain the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><strong>\"error\" (Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><strong>\"code\" (Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><strong>\"message\" (String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>Ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Handle any potential errors by checking the \"error\" field in the response object.</li>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>params: \"base.user\", \"read\",</strong></p>\n<p>the \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><strong>Element 1 (String): \"base.user\":</strong> The first element of the array is a string, specifically \"base.user.\" This string identifies the target object or service on the server that will handle the API request.</li>\n<li><strong>Element 2 (String): \"read\":</strong> The second element of the array is also a string, specifically \"read.\" This string specifies the name of the method within the \"base.user\" service that the client wants to execute.</li>\n</ol>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</p>\n</li>\n<li><p>The first two elements of the \"params\" array (\"base.user\" and \"read\") identify the specific service and method on the server that the client wants to invoke.</p>\n</li>\n<li><p>The server will use this information to execute the requested functionality, in this case, the \"read\" method within the \"base.user\" service.</p>\n</li>\n<li><p>The \"params\" array may include additional elements if the method being called requires input parameters.</p>\n</li>\n</ul>\n<p>The client sends the API request to the server with the \"base.user\" model and \"read\" method specified in the \"params\" array. The server will process the request, retrieve user data, and return the corresponding user information as part of the API response.</p>\n<p><strong>[ \"name\",</strong> \"num_new_notifs\", <strong>\"show_timer\",</strong>\"image\" ]</p>\n<p>The provided JSON array represents a list of properties or attributes related to a user interface (UI) component or entity. Each element in the array corresponds to a specific property, and together, they define the characteristics or features of the UI component.</p>\n<p><strong>Explanation:</strong></p>\n<p>The JSON array contains the following elements:</p>\n<ol>\n<li><code>\"name\"</code> <strong>(String):</strong> This property represents the name or title of the UI component. It is likely used to display the name of the component on the user interface.</li>\n<li><code>\"num_new_notifs\"</code> <strong>(String):</strong> This property is associated with the number of new notifications. It might be used to indicate to the user how many new notifications they have received.</li>\n<li><code>\"show_timer\"</code> <strong>(String):</strong> This property relates to whether or not a timer is displayed on the UI component. The value of this property may be used to control the visibility of a timer or countdown.</li>\n<li><code>\"image\"</code> <strong>(String):</strong> This property represents an image associated with the UI component. It could be a URL or a reference to an image file that is displayed as part of the user interface.</li>\n</ol>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The properties in the JSON array likely define the configuration and content of a specific user interface element or widget.</li>\n<li>These properties are used to control how the UI component behaves, looks, and interacts with the user.</li>\n<li>The server or frontend application would typically use this information to render the UI component with the specified properties.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"b649cbaa-05ae-436c-9f7d-c13235d02fdb","name":"params/base.user/read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690785681970,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"base.user\",\r\n        \"read\",\r\n        [\r\n            [\r\n                \"106\"\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"num_new_notifs\",\r\n                \"show_timer\",\r\n                \"image\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"last_activ_time\": \"2023-07-31 11:39:24\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 02 Aug 2023 07:04:44 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=d5SouQYI7gSYHshfCHHBaqfvx9sbLwvENYmJb1Z0YMDgOvPC%2BNai4Kw5KVwu7WF2Wtqbvw%2FcDAVTBakkCrXrhcKu9fOKDwZN3AQam7fkzVroYMNc0kB6aDqs%2B4ro2phsXLnJRBB9kraVx7P7uw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f0477f0299d4d3f-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"id\": 106,\n            \"image\": null,\n            \"show_timer\": null,\n            \"name\": \"mahnoor\",\n            \"num_new_notifs\": 0\n        }\n    ],\n    \"error\": null,\n    \"id\": 1690785681970,\n    \"dt\": 14\n}"}],"_postman_id":"16904650-2fd9-4583-99da-47549c52d0fe"},{"name":"params/company/read","id":"c03d7634-b768-4ff9-8449-b232a1b11ade","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690785681976,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"company\",\r\n        \"read\",\r\n        [\r\n            [\r\n                \"1\"\r\n            ],\r\n            [\r\n                \"name\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"last_activ_time\": \"2023-07-31 11:39:24\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\"><strong>Description</strong></h1>\n<p>The JSON-RPC API provided at the above endpoint enables clients to perform remote procedure calls (RPC) and interact with the backend model of SmartB. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> A unique identifier for the request. While optional, providing an \"id\" can help the client match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field will contain the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>API Endpoints and Methods:</strong></p>\n<p>Clients can use the appropriate API endpoint and method according to their specific use cases.</p>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Handle any potential errors by checking the \"error\" field in the response object.</li>\n</ul>\n<h1 id=\"code-explanation\"><strong>Code Explanation</strong></h1>\n<p><strong>\"params\": [ \"company\", \"read\",]</strong></p>\n<p>The \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><strong>Element 1 (String): \"company\"</strong>: The first element of the array is a string, specifically \"company.\" This string identifies the target object or service on the server that will handle the API request.</li>\n<li><strong>Element 2 (String): \"read\"</strong>: The second element of the array is also a string, specifically \"read.\" This string specifies the name of the method within the \"company\" service that the client wants to execute.</li>\n<li><strong>Element 3 (Array): Nested Array of Arrays</strong>: The third element in the \"params\" array represents the positional parameters for the \"read\" method. In this case, it is a nested array containing two sub-arrays.</li>\n<li><strong>Sub-Array 1 (Array): [\"1\"]</strong>: This sub-array contains a single element, the string \"1.\" It appears to represent the ID or identifier of the company for which information is being requested. The server may use this ID to retrieve data related to the specific company.</li>\n<li><strong>Sub-Array 2 (Array): [\"name\"]</strong>: This sub-array contains a single element, the string \"name.\" It appears to represent the specific field or attribute of the company that the client wants to retrieve. In this case, the client is requesting the company's name.</li>\n</ol>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</li>\n<li>The first two elements of the \"params\" array (\"company\" and \"read\") identify the specific service and method on the server that the client wants to invoke.</li>\n<li>The third element (a nested array) contains the positional parameters required for the \"read\" method. In this, it includes two sub-arrays: one for the company ID and the other for the requested field.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"47e35a3a-0141-4173-a7b0-a172dd8f4adf","name":"params/company/read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690785681976,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"company\",\r\n        \"read\",\r\n        [\r\n            [\r\n                \"1\"\r\n            ],\r\n            [\r\n                \"name\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"last_activ_time\": \"2023-07-31 11:39:24\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 02 Aug 2023 07:08:28 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=ADCkAGysU2n6KSV4v%2FIGmLOdABvQaFqW4QY6Z7EvVJ7uV6MnqQNhXfRjIR9IVRzvwUCF5nQnTrIxSnLfl0XMyghg1OfkHt5tcAcbGAOX%2B1F%2Fpvd4IU2KEy9pFIBMq3OsY0JgVaRiVNJlJuFlyQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f047d680f304d3f-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"id\": 1,\n            \"name\": \"SmartB\"\n        }\n    ],\n    \"error\": null,\n    \"id\": 1690785681976,\n    \"dt\": 6\n}"}],"_postman_id":"c03d7634-b768-4ff9-8449-b232a1b11ade"},{"name":"params/inline.help/search_read","id":"b6363f97-fd47-40f2-8618-5a1095609214","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690785682002,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"contact_board\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"last_activ_time\": \"2023-07-31 11:39:24\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\"><strong>Description</strong></h1>\n<p>The JSON-RPC API provided at the above endpoint enables clients to interact with the backend model of SmartB using remote procedure calls (RPC). JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> A unique identifier for the request. While optional, providing an \"id\" can help the client match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field will contain the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>Ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Handle any potential errors by checking the \"error\" field in the response object.</li>\n</ul>\n<h1 id=\"code-explanation\"><strong>Code Explanation</strong></h1>\n<p><strong>\"params\": [</strong><strong>\"inline.help\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"action\",<strong>\"=\",</strong>\"contact_board\"<strong>]</strong>]<strong>],****{}, ]</strong></p>\n<p>In the provided JSON-RPC API request, the \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><strong>Element 1 (String): \"inline.help\"</strong>: The first element of the array is a string, specifically \"inline.help.\" This string identifies the target object or service on the server that will handle the API request. In this case, it seems to represent the \"inline.help\" service.</li>\n<li><strong>Element 2 (String): \"search_read\"</strong>: The second element of the array is also a string, specifically \"search_read.\" This string specifies the name of the method within the \"inline.help\" service that the client wants to execute. It appears that the client is requesting to perform a search and read operation within the \"inline.help\" service.</li>\n<li><strong>Element 3 (Array): Nested Array</strong>: The third element in the \"params\" array represents the positional parameters for the \"search_read\" method. It is a nested array containing another array.</li>\n<li><strong>Nested Array (Array): [[\"action\", \"=\", \"contact_board\"]]</strong>: This nested array represents the search domain or criteria to filter the records to be read from the \"inline.help\" service. It contains another nested array with three elements, where:</li>\n</ol>\n<ul>\n<li><strong>Element 1: \"action\" (String):</strong> The name of the field or attribute to be searched.</li>\n<li><strong>Element 2: \"=\" (String):</strong> The search operator used to match the value.</li>\n<li><strong>Element 3: \"contact_board\" (String):</strong> The value to be matched in the \"action\" field.</li>\n<li><strong>Element 4 (Object): {}:</strong> The fourth element in the \"params\" array is an empty object. This object might be used to pass additional options or settings to the \"search_read\" method, but no specific options are provided in this case.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</li>\n<li>The first two elements of the \"params\" array (\"inline.help\" and \"search_read\") identify the specific service and method on the server that the client wants to invoke.</li>\n<li>The third element (a nested array) contains the positional parameters required for the \"search_read\" method. In this example, it includes a search domain with the condition \"action = 'contact_board'.</li>\n</ul>\n<p><strong>Note:</strong></p>\n<p>The client sends the API request to the server with the \"inline.help\" model and \"search_read\" method specified in the \"params\" array. The server will process the request and perform a search and read operation within the \"inline.help\" model, filtering records based on the provided search domain. The server will return the matching records as part of the API response.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"35c3be50-3f90-4db4-93c8-7283cdfb6e4a","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690785682002,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"contact_board\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"last_activ_time\": \"2023-07-31 11:39:24\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 02 Aug 2023 07:12:28 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=9IvvgaZuunsP7tpsIVodFM6X%2Fo9BWuB%2BmG9KXyKcEFoJ0Ibos3gRnNmXWn8sDlj8J8caNAFR%2FfqSPz1VFhpnxeAsjARwVMO6dfBslNpsuH7RnmARoZSv1e%2BI8gpU4w8bbLkqUJ7tINU4K25ieA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f048344c8ee4d3f-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1690785682002,\n    \"dt\": 11\n}"}],"_postman_id":"b6363f97-fd47-40f2-8618-5a1095609214"},{"name":"params/report.contact/contacts_per_categ","id":"7b050ce8-59ea-4dd7-b837-ec61848fc9d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690785682008,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.contact\",\r\n        \"contacts_per_categ\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"last_activ_time\": \"2023-07-31 11:39:24\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\"><strong>Description</strong></h1>\n<p>The JSON-RPC API provided at the above endpoint allows clients to interact with the backend model of SmartB using the JSON-RPC protocol. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To use the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> A unique identifier for the request. Although optional, including an \"id\" can help the client match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server responds with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to assist the client in matching responses with their corresponding requests.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number)</strong>: A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will depend on the specific implementation and services provided by the backend.</li>\n<li>The \"Content-Type\" header should be set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\"><strong>Code Explanation</strong></h1>\n<p><strong>\"params\": [</strong><strong>\"report.contact\",</strong>\"contacts_per_categ\",<strong>[],</strong>{<strong>\"context\": {}****},</strong></p>\n<p><strong>]</strong></p>\n<p>The \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><strong>Element 1 (String): \"report.contact\"</strong>: The first element of the array is a string, specifically \"report.contact.\" This string identifies the target object or service on the server that will handle the API request. In this case, it seems to represent the \"report.contact\" service.</li>\n<li><strong>Element 2 (String): \"contacts_per_categ\"</strong>: The second element of the array is also a string, specifically \"contacts_per_categ.\" This string specifies the name of the method within the \"report.contact\" service that the client wants to execute. It appears that the client is requesting to generate a report of contacts per category.</li>\n<li><strong>Element 3 (Array): Empty Array</strong>: The third element in the \"params\" array represents the positional parameters for the \"contacts_per_categ\" method. It is an empty array in this case, which indicates that the method does not require any specific parameters.</li>\n<li><strong>Element 4 (Object): {\"context\": {}}</strong>: The fourth element in the \"params\" array is an object containing a single field \"context.\" It appears to be used to provide additional context or settings to the \"contacts_per_categ\" method. In this case, the \"context\" object is empty, indicating that no specific context data is being passed.</li>\n</ol>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</li>\n<li>The first two elements of the \"params\" array (\"report.contact\" and \"contacts_per_categ\") identify the specific service and method on the server that the client wants to invoke.</li>\n<li>The third element (an empty array) indicates that the \"contacts_per_categ\" method does not require any specific parameters for its execution.</li>\n<li>The fourth element (an object with an empty \"context\" field) might be used to pass additional options or settings to the \"contacts_per_categ\" method. In this example, no specific options are provided.</li>\n</ul>\n<p><strong>Notee:</strong></p>\n<p>The client sends the API request to the server with the \"report.contact\" model and \"contacts_per_categ\" method specified in the \"params\" array. The server will process the request and generate a report containing contacts categorized based on some criteria. Since the \"context\" object is empty, the server will generate the report using default settings or criteria.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"dc544971-1306-4432-b495-dcc32828f455","name":"params/report.contact/contacts_per_categ","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690785682008,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.contact\",\r\n        \"contacts_per_categ\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"last_activ_time\": \"2023-07-31 11:39:24\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 02 Aug 2023 07:14:32 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Eq4PD2xkG76CqemPSt2PgncItOxXWIW15%2FD02CoPdNor9bvQMeo7wdiWg704X%2Bq948FDU7vif6fqOlcbpr%2FZjb45hcgTWX%2BT2EfupCPOZmolZntApd%2BwZ4qDgxbFXAStVcotS7BljNmcw1fWYg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f04864a68d34d3f-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            \"e-Comm\",\n            4\n        ]\n    ],\n    \"error\": null,\n    \"id\": 1690785682008,\n    \"dt\": 12\n}"}],"_postman_id":"7b050ce8-59ea-4dd7-b837-ec61848fc9d4"},{"name":"params/contact/search_read","id":"55b35211-3144-4cd1-906e-f7d98a157d44","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690785682020,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"contact\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"categ_id\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": \"write_time desc\",\r\n            \"offset\": 0,\r\n            \"limit\": 10,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"last_activ_time\": \"2023-07-31 11:41:22\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\"><strong>Description</strong></h1>\n<p>The JSON-RPC API available at the above endpoint allows clients to interact with the backend model of SmartB using the JSON-RPC (Remote Procedure Call) protocol. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To make API calls, clients should use HTTP POST requests to the specified endpoint. The request payload must be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. If provided, the same identifier will be included in the response to help clients match responses with corresponding requests, particularly useful for batch processing.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure (method) to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help clients match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the model provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\"><strong>Code Explanation</strong></h1>\n<p><strong>\"params\": [</strong><strong>\"contact\",</strong>\"search_read\",<strong>[</strong>[],<strong>[</strong>\"name\",<strong>\"code\",</strong>\"categ_id\",<strong>\"active\"<strong>]</strong>],</strong></p>\n<p>The \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><strong>Element 1 (String): \"contact\"</strong>: The first element of the array is a string, specifically \"contact.\" This string identifies the target object or service on the server that will handle the API request. In this case, it seems to represent the \"contact\" service, which likely deals with operations related to contacts or contacts-related data.</li>\n<li><strong>Element 2 (String): \"search_read\"</strong>: The second element of the array is also a string, specifically \"search_read.\" This string specifies the name of the method within the \"contact\" service that the client wants to execute. The \"search_read\" method is commonly used to search for and retrieve records based on certain criteria.</li>\n<li><strong>Element 3 (Array): Nested Array of Arrays</strong>: The third element in the \"params\" array represents the positional parameters for the \"search_read\" method. It is a nested array containing two sub-arrays.</li>\n<li><strong>Sub-Array 1 (Array): []</strong>: The first sub-array is an empty array. This sub-array is typically used to define the search domain or filter criteria for the records to be retrieved. When the array is empty, it means that no specific filter is being applied, and the method will return all available records that match the request.</li>\n<li><strong>Sub-Array 2 (Array): [\"name\", \"code\", \"categ_id\", \"active\"]</strong></li>\n</ol>\n<ul>\n<li><code>\"name\"</code>: The \"name\" attribute represents the name or title of the entity. It typically provides a human-readable identifier that describes the entity's purpose, category, or functionality.</li>\n<li><code>\"code\"</code>: The \"code\" attribute represents a code or unique identifier associated with the entity. It is often used for system identification or referencing purposes, and it can be particularly helpful when working with larger datasets.</li>\n<li><code>\"categ_id\"</code>: The \"categ_id\" attribute likely refers to a category or category identifier that the entity belongs to. It could indicate the group or classification to which the entity is assigned.</li>\n<li><code>\"active\"</code>: The \"active\" attribute is a boolean value that indicates whether the entity is currently active or inactive. This attribute is often used to control the visibility or availability of the entity in a system.</li>\n</ul>\n<p>When using a Sub-Array like provided, you're essentially specifying which attributes you want to retrieve or manipulate when working with data objects related to the given entity (e.g., products, services). In this case, the Sub-Array includes attributes like \"name,\" \"code,\" \"categ_id,\" and \"active,\" which are commonly used for querying, displaying, or updating information about these entities.</p>\n<p>This sub-array indicates the fields of the \"contact\" records that the client wants to retrieve as part of the API response.</p>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</li>\n<li>The first two elements of the \"params\" array (\"contact\" and \"search_read\") identify the specific service and method on the server that the client wants to invoke.</li>\n<li>The third element (a nested array) contains the positional parameters required for the \"search_read\" method. In this example, it includes an empty sub-array (indicating no specific filter) and a sub-array listing the desired fields.</li>\n<li>The actual functionality associated with the \"contact\" service and \"search_read\" method will depend on the server's implementation and the specific requirements of the API.</li>\n</ul>\n<p><strong>Note:</strong></p>\n<p>The client sends the API request to the server with the \"contact\" model and \"search_read\" method specified in the \"params\" array. The server will process the request and perform a search and read operation within the \"contact\" model, retrieving all available records. The server will return the requested fields (\"name,\" \"code,\" \"categ_id,\" and \"active\") for each contact as part of the API response.</p>\n<p><strong>{****\"count\": true,</strong>\"order\": \"write_time desc\",<strong>\"offset\": 0,</strong>\"limit\": 10,<strong>\"context\": {}****},</strong></p>\n<p>The provided JSON object appears to be a set of parameters used for performing a search and read operation on a data resource, typically using an API or database query. Each field in the object represents a specific option or setting for customizing the search and read process. Let's explain each field:</p>\n<ol>\n<li><strong>\"count\": true</strong>: This field is a boolean value set to <code>true</code>. When <code>true</code>, it indicates that the API or database query should return the count of total records that match the search criteria without actually retrieving the full data. This is useful when the client needs to know how many records exist without fetching all of them.</li>\n<li><strong>\"order\": \"write_time desc\"</strong>: The \"order\" field specifies the order in which the retrieved records should be sorted. In this example, the value is <code>\"write_time desc\"</code>, which means the records will be sorted in descending order based on the \"write_time\" field. The \"desc\" stands for \"descending,\" which implies the most recent or latest records will appear first.</li>\n<li><strong>\"offset\": 0</strong>: The \"offset\" field defines the starting position from where the records will be retrieved. In this case, it is set to <code>0</code>, indicating that the retrieval should start from the first record.</li>\n<li><strong>\"limit\": 10</strong>: The \"limit\" field sets the maximum number of records to be retrieved in a single request. In this case, it is set to <code>10</code>, meaning the API or database query will fetch a maximum of 10 records that match the search criteria.</li>\n<li><strong>\"context\": {}</strong>: The \"context\" field is an empty object. It might be used to provide additional context or settings for the search and read operation. In this example, no specific context data is being passed.</li>\n</ol>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The combination of these parameters allows clients to customize the search and read operation based on their specific requirements.</li>\n<li>The \"count\" parameter is often useful when dealing with large datasets to get an idea of the number of matching records before fetching the full data.</li>\n<li>The \"order\" parameter helps control the order in which records are presented, either in ascending or descending order based on the specified field.</li>\n<li>The \"offset\" and \"limit\" parameters work together to control pagination, enabling clients to retrieve data in smaller chunks to improve performance and reduce data transfer.</li>\n<li>The \"context\" parameter can be used to pass additional options or settings specific to the API or database query. In this, it is an empty object, so no additional context data is provided.</li>\n</ul>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"a5598801-f863-4a41-a683-5746cb81cbea","name":"New Request","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690785682020,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"contact\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"categ_id\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": \"write_time desc\",\r\n            \"offset\": 0,\r\n            \"limit\": 10,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"last_activ_time\": \"2023-07-31 11:41:22\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 02 Aug 2023 07:15:52 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=CNpm5kQqsu12srhNgPkz4qVVcE2gIPW4KlZXYJnMn1GfhYFg4JpQHgsj8zbifxpJSpORbks1xhPjtCObUPUFDzApa4aUFvprnQyOIT6jcKyV6Uno3yyOJHuiHdfq8ogA%2FFyvOxxHs%2BKrDqZNdQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f04883bc8ae4d3f-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 1046,\n                \"categ_id\": null,\n                \"code\": \"C-0941\",\n                \"active\": true,\n                \"name\": \"Peninsular Steel Galvanising Sdn Bhd \"\n            },\n            {\n                \"id\": 1047,\n                \"categ_id\": null,\n                \"code\": \"C-0942\",\n                \"active\": true,\n                \"name\": \"John NG\"\n            },\n            {\n                \"id\": 1044,\n                \"categ_id\": null,\n                \"code\": \"C-0939\",\n                \"active\": true,\n                \"name\": \"Mexpower \"\n            },\n            {\n                \"id\": 1045,\n                \"categ_id\": null,\n                \"code\": \"C-0940\",\n                \"active\": true,\n                \"name\": \"Collin Chang\"\n            },\n            {\n                \"id\": 1042,\n                \"categ_id\": null,\n                \"code\": \"C-0937\",\n                \"active\": true,\n                \"name\": \"Litosfera Malaya Legacy (LML)\"\n            },\n            {\n                \"id\": 1043,\n                \"categ_id\": null,\n                \"code\": \"C-0938\",\n                \"active\": true,\n                \"name\": \"Nyak Zahaslan\"\n            },\n            {\n                \"id\": 1040,\n                \"categ_id\": null,\n                \"code\": \"C-0935\",\n                \"active\": true,\n                \"name\": \"Hudeccan \"\n            },\n            {\n                \"id\": 1041,\n                \"categ_id\": null,\n                \"code\": \"C-0936\",\n                \"active\": true,\n                \"name\": \"Sree Shamala\"\n            },\n            {\n                \"id\": 1039,\n                \"categ_id\": null,\n                \"code\": \"C-0934\",\n                \"active\": true,\n                \"name\": \"Quantum Computing Sdn. Bhd .\"\n            },\n            {\n                \"id\": 1037,\n                \"categ_id\": null,\n                \"code\": \"C-0933\",\n                \"active\": true,\n                \"name\": \"Mr Kevin Khoo\"\n            }\n        ],\n        935\n    ],\n    \"error\": null,\n    \"id\": 1690785682020,\n    \"dt\": 16\n}"}],"_postman_id":"55b35211-3144-4cd1-906e-f7d98a157d44"}],"id":"8b6aca63-570a-47c0-aa1b-1c54ec0d1e23","_postman_id":"8b6aca63-570a-47c0-aa1b-1c54ec0d1e23","description":""},{"name":"Contacts","item":[{"name":"Contacts","item":[{"name":"params/inline.help/search_read","id":"9b6f69f6-f99a-464c-9440-a9b91950ff1f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698216505839,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"contact\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-25 11:48:09\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\"><strong>Description</strong></h1>\n<p>The JSON-RPC API provided at the above endpoint enables clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"contact\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"inline.help\" entity, indicating that the operation will be performed within this entity. The \"inline.help\" entity is typically used for providing contextual help or guidance within the system.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[ \"action\", \"=\", \"contact\" ]]</strong>: This is the third parameter, which contains a nested list. It serves as a search domain to filter records based on specific criteria. In this case:<ol>\n<li><strong>\"action\":</strong> This field is used to specify a particular action or context, and it is set to \"=\" (equals).</li>\n<li><strong>\"=\":</strong> This is an operator that indicates equality. It means that the \"action\" field should be equal to the following value.</li>\n<li><strong>\"contact\":</strong> This is the value to which the \"action\" field should be equal. It appears to be related to a specific action or context within the \"inline.help\" entity, possibly for helping with contact-related processes.</li>\n</ol>\n</li>\n<li><strong>{}</strong>: This is the fourth parameter and represents a dictionary with various options. However, in this request, it is empty, indicating no specific options are provided. An empty context implies that there are no additional contextual parameters or settings specified for this search and read operation.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity, specifically related to a context denoted by \"contact.\" The request aims to retrieve records related to this context but doesn't specify any additional options or context settings. It is likely used for providing contextual help or information for contact-related processes within the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"3cc3704c-0363-4970-9c89-4f8fe6d7ce5b","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698216505839,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"contact\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-25 11:48:09\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Oct 2023 06:50:00 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=evr9ICxijiIpQtYP%2B2VaxZp%2FMJrl2LZ5BeVqg4VT8g3f0chxRZ7KiwdFtICyP1hkjxfSASAwEZ8RuJm34dCiWlJjv1e12XUVJVR%2Ft3Q8E%2F9EmHQOrb9KTHXhoO1WdTY0oHXHgwFA17pX81fS%2BQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"81b885d68a2a0485-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1698216505839,\n    \"dt\": 6\n}"}],"_postman_id":"9b6f69f6-f99a-464c-9440-a9b91950ff1f"},{"name":"params/contact/search_read","id":"9efef41c-64e9-4f75-bec1-d6d148deae93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698216505848,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"contact\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"type\",\r\n                \"categ_id\",\r\n                \"phone\",\r\n                \"contact_person_id\",\r\n                \"org_id\",\r\n                \"email\",\r\n                \"state\",\r\n                \"company_id\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-25 11:48:09\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\"><strong>Description</strong></h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using the JSON-RPC (Remote Procedure Call) protocol. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload must be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. If provided, the same identifier will be included in the response to help clients match responses with corresponding requests, particularly useful for batch processing.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure (method) to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server responds with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help clients match responses with their corresponding requests.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> (Object, optional): If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"contact\",</strong>\"search_read\",<strong>[</strong>[<strong>[]</strong>],<strong>[</strong>\"name\",<strong>\"code\",</strong>\"type\",<strong>\"categ_id\",</strong>\"phone\",<strong>\"contact_person_id\",</strong>\"org_id\",<strong>\"email\",</strong>\"state\",<strong>\"company_id\",</strong>\"active\"<strong>]****],</strong></p>\n<p>In the provided JSON-RPC API request, the \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><p><strong>Element 1 (String): \"contact\"</strong>: The first element of the array is a string, specifically \"contact.\" This string identifies the target object or service on the server that will handle the API request. In this case, it seems to represent the \"contact\" service, which likely deals with operations related to contacts or contacts-related data.</p>\n</li>\n<li><p><strong>Element 2 (String): \"search_read\"</strong>: The second element of the array is also a string, specifically \"search_read.\" This string specifies the name of the method within the \"contact\" service that the client wants to execute. The \"search_read\" method is commonly used to search for and retrieve records based on certain criteria.</p>\n</li>\n<li><p><strong>Element 3 (Array): Nested Array of Arrays</strong>: The third element in the \"params\" array represents the positional parameters for the \"search_read\" method. It is a nested array containing two sub-arrays.</p>\n</li>\n<li><p><strong>Sub-Array 1 (Array): [[]]</strong>: The first sub-array is an array with one nested array inside it. It appears to represent the search domain or filter criteria for the records to be retrieved. In this case, it is an empty array \"[]\" inside the first sub-array, which indicates that no specific filter is being applied. The method will return all available records that match the request.</p>\n</li>\n<li><p><strong>Sub-Array 2 (Array): [\"name\", \"code\", \"type\", \"categ_id\", \"phone\", \"contact_person_id\", \"org_id\", \"email\", \"state\", \"company_id\", \"active\"]</strong></p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"name\"</code>: The name of the contact. It represents the name of the person or organization associated with the contact.</p>\n</li>\n<li><p><code>\"code\"</code>: The code associated with the contact. It may be a unique identifier or a specific code related to the contact.</p>\n</li>\n<li><p><code>\"type\"</code>: The type of the contact. It indicates the category or type of the contact, such as \"individual,\" \"organization,\" or other relevant categories.</p>\n</li>\n<li><p><code>\"categ_id\"</code>: The category ID associated with the contact. It refers to the category or group to which the contact belongs.</p>\n</li>\n<li><p><code>\"phone\"</code>: The contact's phone number. It represents the primary phone number for the contact.</p>\n</li>\n<li><p><code>\"contact_person_id\"</code>: The ID of the contact person associated with the contact. It could refer to a specific person or representative linked to the contact.</p>\n</li>\n<li><p><code>\"org_id\"</code>: The ID of the organization associated with the contact. It refers to the organization to which the contact is related.</p>\n</li>\n</ul>\n<ol>\n<li><p><code>\"email\"</code>: The contact's email address. It represents the primary email address for the contact.</p>\n</li>\n<li><p><code>\"state\"</code>: The state of the contact. It could indicate the current status or state of the contact.</p>\n</li>\n<li><p><code>\"company_id\"</code>: The ID of the company associated with the contact. It refers to the company or business entity to which the contact is linked.</p>\n</li>\n<li><p><code>\"active\"</code>: A flag indicating whether the contact is active or inactive. It may be a Boolean value (true/false) to show the active status of the contact.</p>\n</li>\n</ol>\n<p>By including these field names in Sub-Array 2 of the API request, the client is specifying that it wants the server to return data corresponding to these specific fields for each record that matches the search criteria. The actual data returned in the response will vary based on the records found in the backend system that match the provided search conditions.</p>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</p>\n</li>\n<li><p>The first two elements of the \"params\" array (\"contact\" and \"search_read\") identify the specific service and method on the server that the client wants to invoke.</p>\n</li>\n<li><p>The third element (a nested array) contains the positional parameters required for the \"search_read\" method. In this example, it includes an empty sub-array (indicing no specific filter) and a sub-array listing the desired fields.</p>\n</li>\n<li><p>The actual functionality associated with the \"contact\" service and \"search_read\" method will depend on the server's implementation and the specific requirements of the API.</p>\n</li>\n</ul>\n<p><strong>Note:</strong></p>\n<p>In this, the client sends the API request to the server with the \"contact\" model and \"search_read\" method specified in the \"params\" array. The server will process the request and perform a search and read operation within the \"contact\" service, retrieving all available records. The server will return the requested fields (\"name,\" \"code,\" \"type,\" \"categ_id,\" \"phone,\" \"contact_person_id,\" \"org_id,\" \"email,\" \"state,\" \"company_id,\" and \"active\") for each contact as part of the API response.</p>\n<p><strong>{</strong>\"count\": true,\"order\": null,\"offset\": 0,\"limit\": 100,\"context\": {}<strong>},</strong></p>\n<p>In the provided JSON object, each field serves a specific purpose and provides settings for performing a search and read operation on a data resource, typically using an API or database query. Let's explain each field:</p>\n<ol>\n<li><p><strong>\"count\": true</strong>: This field is a boolean value set to <code>true</code>. When <code>true</code>, it indicates that the API or database query should return the count of total records that match the search criteria without actually retrieving the full data. This is useful when the client needs to know how many records exist without fetching all of them.</p>\n</li>\n<li><p><strong>\"order\": null</strong>: The \"order\" field specifies the order in which the retrieved records should be sorted. In this example, the value is set to <code>null</code>, which means that no specific sorting order is defined. When \"order\" is <code>null</code>, the records may be returned in any order determined by the API or database.</p>\n</li>\n<li><p><strong>\"offset\": 0</strong>: The \"offset\" field defines the starting position from where the records will be retrieved. In this case, it is set to <code>0</code>, indicating that the retrieval should start from the first record.</p>\n</li>\n<li><p><strong>\"limit\": 100</strong>: The \"limit\" field sets the maximum number of records to be retrieved in a single request. In this case, it is set to <code>100</code>, meaning the API or database query will fetch a maximum of 100 records that match the search criteria.</p>\n</li>\n<li><p><strong>\"context\": {}</strong>: The \"context\" field is an empty object. It might be used to provide additional context or settings for the search and read operation. In this example, no specific context data is being passed.</p>\n</li>\n</ol>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The combination of these parameters allows clients to customize the search and read operation based on their specific requirements.</p>\n</li>\n<li><p>The \"count\" parameter is often useful when dealing with large datasets to get an idea of the number of matching records before fetching the full data.</p>\n</li>\n<li><p>The \"order\" parameter helps control the order in which records are presented. In this example, since it is set to <code>null</code>, the actual sorting order may depend on the server's default behavior.</p>\n</li>\n<li><p>The \"offset\" and \"limit\" parameters work together to control pagination, enabling clients to retrieve data in smaller chunks to improve performance and reduce data transfer.</p>\n</li>\n<li><p>The \"context\" parameter can be used to pass additional options or settings specific to the API or database query. In this example, it is an empty object, so no additional context data is provided.</p>\n</li>\n</ul>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"ed1f797d-c4d7-4837-a88f-ca7a4e5246c4","name":"params/contact/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698216505848,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"contact\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"type\",\r\n                \"categ_id\",\r\n                \"phone\",\r\n                \"contact_person_id\",\r\n                \"org_id\",\r\n                \"email\",\r\n                \"state\",\r\n                \"company_id\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-25 11:48:09\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Oct 2023 07:05:34 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=gSjl4AroqJarMAeu9kzHEYBzN%2FyYN0F1HsOS1V%2FB9OJKOpTTpZ3%2FxRO7JE4ASW3fHuiCBfBKqNU1z315cz3h66r0qGLEaQ2gAPBxdnef%2FbB%2F2gwIUjeJFIlXt1neeymD0pyXiPZrCdy5eL4k8Q%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"81b89ca16b8103c3-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 1088,\n                \"code\": \"C-0982\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1087,\n                    \"[C-0981] ABC\",\n                    null\n                ],\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"saqib\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1087,\n                \"code\": \"C-0981\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1088,\n                    \"[C-0982] saqib\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"ABC\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1086,\n                \"code\": \"C-0980\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"OPEN SYSTEMS MATRIX SDN BHD\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1085,\n                \"code\": \"C-0979\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Senheng Official Store\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1084,\n                \"code\": \"C-0978\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Canva Pty. Ltd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1083,\n                \"code\": \"C-0977\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Food and Hotel Malaysia\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1082,\n                \"code\": \"C-0976\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Klinik Walia\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1081,\n                \"code\": \"C-0975\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    803,\n                    \"[C-0708] SULOMAS SDN BHD\",\n                    null\n                ],\n                \"email\": \"mable.lim@sulomas.com.my\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Mable Lim \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1080,\n                \"code\": \"C-0974\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": \"syazwan.zainol@gapurnapermai.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Syazwan \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1079,\n                \"code\": \"C-0973\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1078,\n                    \"[C-0972] Ninja Van Malaysia\",\n                    null\n                ],\n                \"email\": \"muhammadharith.mohdyussof@ninjavan.co\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Harith Yussof\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1078,\n                \"code\": \"C-0972\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1079,\n                    \"[C-0973] Harith Yussof\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Ninja Van Malaysia\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1077,\n                \"code\": \"C-0971\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Sek Hao Fu Restaurant\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1076,\n                \"code\": \"C-0970\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"CEO VAS SDN BHD\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1075,\n                \"code\": \"C-0969\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"MTDC - MALAYSIAN TECHNOLOGY DEVELOPMENT CORPORATION\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1074,\n                \"code\": \"C-0968\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Technical Asad\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1073,\n                \"code\": \"C-0967\",\n                \"type\": \"person\",\n                \"contact_person_id\": [\n                    1072,\n                    \"[C-0966] BYHISDAISY INTERNATIONAL SDN BHD\",\n                    null\n                ],\n                \"org_id\": [\n                    1072,\n                    \"[C-0966] BYHISDAISY INTERNATIONAL SDN BHD\",\n                    null\n                ],\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Amierrull Aqil\",\n                \"phone\": \"+60 16-611 3197\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1072,\n                \"code\": \"C-0966\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1073,\n                    \"[C-0967] Amierrull Aqil\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"BYHISDAISY INTERNATIONAL SDN BHD\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1071,\n                \"code\": \"C-0965\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1070,\n                    \"[C-0964] Mingle Manor Sdn Bhd\",\n                    null\n                ],\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Zulaikha \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1070,\n                \"code\": \"C-0964\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1071,\n                    \"[C-0965] Zulaikha \",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Mingle Manor Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1069,\n                \"code\": \"C-0963\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1068,\n                    \"[C-0962] Metropoly Packaging Sdn Bhd (1106268-W)\",\n                    null\n                ],\n                \"email\": \"cheesing@helipro.com.my\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Wong Chee Sing\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1068,\n                \"code\": \"C-0962\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1069,\n                    \"[C-0963] Wong Chee Sing\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Metropoly Packaging Sdn Bhd (1106268-W)\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1067,\n                \"code\": \"C-0961\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1066,\n                    \"[C-0960] BOON HONG FISHERY SDN BHD\",\n                    null\n                ],\n                \"email\": \"boonlin@bhfishery.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Boon Lin \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1066,\n                \"code\": \"C-0960\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1067,\n                    \"[C-0961] Boon Lin \",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": \"sales@bhfishery.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"BOON HONG FISHERY SDN BHD\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1065,\n                \"code\": \"C-0959\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    76,\n                    \"[C-0017] Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n                    null\n                ],\n                \"email\": \"rumaiz@inhesion.com.my\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Rumaiz\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1064,\n                \"code\": \"C-0958\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Google Play\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1063,\n                \"code\": \"C-0957\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1062,\n                    \"[C-0956] Udani carpets sdn bhd\",\n                    null\n                ],\n                \"email\": \"udanicarpets5@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Nikita\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1062,\n                \"code\": \"C-0956\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1063,\n                    \"[C-0957] Nikita\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Udani carpets sdn bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1061,\n                \"code\": \"TEST\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Javeria\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1060,\n                \"code\": \"C-0955\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1059,\n                    \"[C-0954] Intrix\",\n                    null\n                ],\n                \"email\": \"janice.tan@intrixgroup.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Janice Tan \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1059,\n                \"code\": \"C-0954\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1060,\n                    \"[C-0955] Janice Tan \",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Intrix\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1058,\n                \"code\": \"C-0953\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1057,\n                    \"[C-0952] Titan Metal Works Sdn.Bhd.\",\n                    null\n                ],\n                \"email\": \"danny@titanmetal.com.my \",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Danny Ng\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1057,\n                \"code\": \"C-0952\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1058,\n                    \"[C-0953] Danny Ng\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Titan Metal Works Sdn.Bhd.\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1056,\n                \"code\": \"C-0951\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1055,\n                    \"[C-0950] J-Sern Woo\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Endress+Hauser Malaysia\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1055,\n                \"code\": \"C-0950\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1056,\n                    \"[C-0951] Endress+Hauser Malaysia\",\n                    null\n                ],\n                \"email\": \"jsern.woo@endress.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"J-Sern Woo\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1054,\n                \"code\": \"C-0949\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    832,\n                    \"[C-0736] Sanko Plastic (Malaysia) Sdn Bhd\",\n                    null\n                ],\n                \"email\": \"george@sankoplastics.com.my\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"George\",\n                \"phone\": \"+60 12-240 7762\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1053,\n                \"code\": \"C-0948\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"F3 Technologies\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1052,\n                \"code\": \"C-0947\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"BT Business Consultancy\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1051,\n                \"code\": \"C-0946\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"GSC Cinema\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1050,\n                \"code\": \"C-0945\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Gula Cakery Tropicana\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1049,\n                \"code\": \"C-0944\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1048,\n                    \"[C-0943] Sinmar Group \",\n                    null\n                ],\n                \"email\": \"account@sinmar.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Ms Tean \",\n                \"phone\": \"0333413399\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1048,\n                \"code\": \"C-0943\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1049,\n                    \"[C-0944] Ms Tean \",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Sinmar Group \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1047,\n                \"code\": \"C-0942\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1046,\n                    \"[C-0941] Peninsular Steel Galvanising Sdn Bhd \",\n                    null\n                ],\n                \"email\": \"john@psg.my\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"John NG\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1046,\n                \"code\": \"C-0941\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1047,\n                    \"[C-0942] John NG\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": \"john@psg.my\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Peninsular Steel Galvanising Sdn Bhd \",\n                \"phone\": \" 0173778181\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1045,\n                \"code\": \"C-0940\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1044,\n                    \"[C-0939] Mexpower \",\n                    null\n                ],\n                \"email\": \"collinchang@mexpower.com.my\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Collin Chang\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1044,\n                \"code\": \"C-0939\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1045,\n                    \"[C-0940] Collin Chang\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Mexpower \",\n                \"phone\": \"+60 12-260 2314\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1043,\n                \"code\": \"C-0938\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1042,\n                    \"[C-0937] Litosfera Malaya Legacy (LML)\",\n                    null\n                ],\n                \"email\": \"nyak.zahaslan@yahoo.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Nyak Zahaslan\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1042,\n                \"code\": \"C-0937\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1043,\n                    \"[C-0938] Nyak Zahaslan\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Litosfera Malaya Legacy (LML)\",\n                \"phone\": \"+60 12-573 3345\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1041,\n                \"code\": \"C-0936\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1040,\n                    \"[C-0935] Hudeccan \",\n                    null\n                ],\n                \"email\": \"sham@hudeccan.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Sree Shamala\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1040,\n                \"code\": \"C-0935\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1041,\n                    \"[C-0936] Sree Shamala\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Hudeccan \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1039,\n                \"code\": \"C-0934\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1037,\n                    \"[C-0933] Mr Kevin Khoo\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Quantum Computing Sdn. Bhd .\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1037,\n                \"code\": \"C-0933\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Mr Kevin Khoo\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1036,\n                \"code\": \"C-0932\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Kuan Seng How\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1035,\n                \"code\": \"C-0931\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"OSPIT Mobility Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1034,\n                \"code\": \"C-0930\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Mawarfoto Stationary\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1033,\n                \"code\": \"C-0929\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1032,\n                    \"[C-0928] XIERA Trading\",\n                    null\n                ],\n                \"email\": \"nyak.zahaslan@yahoo.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Ms Fuzi Wan\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1032,\n                \"code\": \"C-0928\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1033,\n                    \"[C-0929] Ms Fuzi Wan\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"XIERA Trading\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1031,\n                \"code\": \"C-0927\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Ninso Global Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1030,\n                \"code\": \"C-0926\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Maccess Tech\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1029,\n                \"code\": \"C-0925\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": \"chowng@fihb.my\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Casey - Fedral Furniture \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1028,\n                \"code\": \"C-0924\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": \"kckhoo@tdesb.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"KC Khoo - Tools Depot Engineering Sdn.Bhd.\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1027,\n                \"code\": \"C-0923\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"RCJ Ventures - Management Consultants & Trainers\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1026,\n                \"code\": \"C-0922\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": \"lucky.z@rongtian.tech\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Shenzhen Rongtian Electronic Technology Co., Ltd.\",\n                \"phone\": \"0086-0591-28838483\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1025,\n                \"code\": \"C-0921\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1024,\n                    \"[C-0920] CAF Food Products Sdn. Bhd.\",\n                    null\n                ],\n                \"email\": \"mgowyongmg@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"MG Yong\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1024,\n                \"code\": \"C-0920\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1025,\n                    \"[C-0921] MG Yong\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"CAF Food Products Sdn. Bhd.\",\n                \"phone\": \"03-8723 3888\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1023,\n                \"code\": \"C-0919\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1022,\n                    \"[C-0918] Ivetworks sdn bhd\",\n                    null\n                ],\n                \"email\": \"ivetsecretary@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Janah Dawood\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1022,\n                \"code\": \"C-0918\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1023,\n                    \"[C-0919] Janah Dawood\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": \"ivetsecretary@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Ivetworks sdn bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1021,\n                \"code\": \"C-0917\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"The Coffee Bean & Tea Leaf (M) Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1020,\n                \"code\": \"C-0916\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": \"syprinting@yahoo.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"S & Y Printing Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1019,\n                \"code\": \"C-0915\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"ARCH COMPUTERS\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1018,\n                \"code\": \"C-0914\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1015,\n                    \"[C-0913] Michelle\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"See Hoy Facilities\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1015,\n                \"code\": \"C-0913\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Michelle\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1014,\n                \"code\": \"C-0912\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1013,\n                    \"[C-0911]  UEM Edgenta\",\n                    null\n                ],\n                \"email\": \"Aliza.sulaiman@edgenta.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Aliza\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1013,\n                \"code\": \"C-0911\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1014,\n                    \"[C-0912] Aliza\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \" UEM Edgenta\",\n                \"phone\": \"+60 11-3228 6466\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1012,\n                \"code\": \"C-0910\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1011,\n                    \"[C-0909] ABC\",\n                    null\n                ],\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"XYZ\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1011,\n                \"code\": \"C-0909\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"ABC\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1010,\n                \"code\": \"C-0908\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"ScreenPal\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1009,\n                \"code\": \"C-0907\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1008,\n                    \"[C-0906] Puras \",\n                    null\n                ],\n                \"email\": \"seetoh@mypuras.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"See Toh\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1008,\n                \"code\": \"C-0906\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1009,\n                    \"[C-0907] See Toh\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": \"seetoh@mypuras.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Puras \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1007,\n                \"code\": \"C-0905\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    877,\n                    \"[C-0779] Rurutiki Sdn Bhd\",\n                    null\n                ],\n                \"email\": \"corey.tan@rurutiki.com.my\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Corey Tan\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1006,\n                \"code\": \"C-0904\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1005,\n                    \"[C-0903] Tayopack Sdn. Bhd.\",\n                    null\n                ],\n                \"email\": \"azhar@tayopack.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Azhar \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1005,\n                \"code\": \"C-0903\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1006,\n                    \"[C-0904] Azhar \",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Tayopack Sdn. Bhd.\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1004,\n                \"code\": \"C-0902\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Zara Humaira Services Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1003,\n                \"code\": \"C-0901\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Employment Hero Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1002,\n                \"code\": \"C-0900\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"KLAY ENERSOL SDN. BHD.\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1001,\n                \"code\": \"C-0899\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1000,\n                    \"[C-0898] Exceltech Food Trading Sdn Bhd\",\n                    null\n                ],\n                \"email\": \"Martinlow@exceltechtrading.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Martine \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1000,\n                \"code\": \"C-0898\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1001,\n                    \"[C-0899] Martine \",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Exceltech Food Trading Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 999,\n                \"code\": \"C-0897\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"MMG Distribution Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 998,\n                \"code\": \"C-0896\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    997,\n                    \"[C-0895] Dialog Diyou PCR Sdn Bhd\",\n                    null\n                ],\n                \"email\": \"ollook@dialogasia.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Irene, Look Oy Ling\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 997,\n                \"code\": \"C-0895\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    998,\n                    \"[C-0896] Irene, Look Oy Ling\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Dialog Diyou PCR Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 996,\n                \"code\": \"C-0894\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    995,\n                    \"[C-0893] WWRC\",\n                    null\n                ],\n                \"email\": \"danny@wwrc.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Danny \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 995,\n                \"code\": \"C-0893\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    996,\n                    \"[C-0894] Danny \",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"WWRC\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 994,\n                \"code\": \"C-0892\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Mischine.my Shopee\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 993,\n                \"code\": \"C-0891\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    992,\n                    \"[C-0890] ST Engineering \",\n                    null\n                ],\n                \"email\": \"jkwang.han@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Alvin Han\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 992,\n                \"code\": \"C-0890\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    993,\n                    \"[C-0891] Alvin Han\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": \"jkwang.han@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"ST Engineering \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 991,\n                \"code\": \"C-0889\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"(MATRADE) Malaysia External Trade Development Corporation \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 990,\n                \"code\": \"C-0888\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Azira\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 989,\n                \"code\": \"C-0887\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"PAPA'S CAFE\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 988,\n                \"code\": \"C-0886\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": \"munfoong.chong@cygroupmy.com \",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"CY Plastic Chong\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 987,\n                \"code\": \"C-0885\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    986,\n                    \"[C-0884] TDC AUTOMOBILE SDN BHD\",\n                    null\n                ],\n                \"email\": \"dashoilroventz@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Roventz\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 986,\n                \"code\": \"C-0884\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    987,\n                    \"[C-0885] Roventz\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"TDC AUTOMOBILE SDN BHD\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            }\n        ],\n        975\n    ],\n    \"error\": null,\n    \"id\": 1698216505848,\n    \"dt\": 68\n}"}],"_postman_id":"9efef41c-64e9-4f75-bec1-d6d148deae93"}],"id":"d555b1f2-955c-4bf2-ae33-c71f55353df1","_postman_id":"d555b1f2-955c-4bf2-ae33-c71f55353df1","description":""},{"name":"Customers","item":[{"name":"params/contact/search_read","id":"a0ee0ea9-a75c-40da-8abb-acfca3f031ae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698217763202,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"contact\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    [\r\n                        \"customer\",\r\n                        \"=\",\r\n                        true\r\n                    ]\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"type\",\r\n                \"categ_id\",\r\n                \"phone\",\r\n                \"contact_person_id\",\r\n                \"org_id\",\r\n                \"email\",\r\n                \"state\",\r\n                \"company_id\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-25 12:08:56\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\"><strong>Description</strong></h1>\n<p>The JSON-RPC API provided at the above endpoint enables clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"contact\",<br />\"search_read\",<br />[<br />[<br />[<br />[<br />\"customer\",<br />\"=\",<br />true<br />]<br />]<br />],<br />[<br />\"name\",<br />\"code\",<br />\"type\",<br />\"categ_id\",<br />\"phone\",<br />\"contact_person_id\",<br />\"org_id\",<br />\"email\",<br />\"state\",<br />\"company_id\",<br />\"active\"<br />]<br />],<br />{<br />\"count\": true,<br />\"order\": null,<br />\"offset\": 0,<br />\"limit\": 100,<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"contact\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"contact\" entity, indicating that the operation will be performed within this entity. The \"contact\" entity is typically used to manage information related to contacts or customers.</p>\n</li>\n<li><p><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</p>\n</li>\n<li><p><strong>[[[ \"customer\", \"=\", true ]]]</strong>: This is the third parameter, which contains a nested list. It serves as a search domain to filter records based on specific criteria. In this case:</p>\n<ol>\n<li><p><strong>\"customer\":</strong> This field is used to specify a particular attribute or characteristic of contacts, and it is set to \"=\" (equals).</p>\n</li>\n<li><p><strong>\"=\":</strong> This is an operator that indicates equality. It means that the \"customer\" field should be equal to the following value.</p>\n</li>\n<li><p><strong>\"true\":</strong> This is the value to which the \"customer\" field should be equal. It appears that the search is filtering contacts to find those where the \"customer\" attribute is set to \"true,\" indicating that these are customer contacts.</p>\n</li>\n</ol>\n</li>\n<li><p><strong>[\"name\", \"code\", \"type\", \"categ_id\", \"phone\", \"contact_person_id\", \"org_id\", \"email\", \"state\", \"company_id\", \"active\"]</strong>: This is the fourth parameter and represents a list of fields or attributes that you want to retrieve for each record. In this request, you are retrieving contact records with the following fields:</p>\n<ol>\n<li><p><strong>\"name\":</strong> Represents the name of the contact.</p>\n</li>\n<li><p><strong>\"code\":</strong> Represents a code or identifier for the contact.</p>\n</li>\n<li><p><strong>\"type\":</strong> Indicates the type of the contact.</p>\n</li>\n<li><p><strong>\"categ_id\":</strong> Likely represents a reference to the category or category ID associated with the contact.</p>\n</li>\n<li><p><strong>\"phone\":</strong> Represents the phone number of the contact.</p>\n</li>\n<li><p><strong>\"contact_person_id\":</strong> May refer to the contact person associated with the contact.</p>\n</li>\n<li><p><strong>\"org_id\":</strong> Possibly represents an organization or company associated with the contact.</p>\n</li>\n<li><p><strong>\"email\":</strong> Represents the email address of the contact.</p>\n</li>\n<li><p><strong>\"state\":</strong> Indicates the state or status of the contact.</p>\n</li>\n<li><p><strong>\"company_id\":</strong> Likely represents the company to which the contact belongs.</p>\n</li>\n<li><p><strong>\"active\":</strong> Represents whether the contact is currently active or not.</p>\n</li>\n</ol>\n</li>\n<li><p><strong>{\"count\": true, \"order\": null, \"offset\": 0, \"limit\": 100, \"context\": {}}</strong>: This is the fifth parameter and represents a dictionary with various options:</p>\n<ul>\n<li><p><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. This allows you to determine how many customer contacts exist in the system.</p>\n</li>\n<li><p><strong>\"order\": null:</strong> Indicates that no specific sorting order is applied to the retrieved records. The records will be returned without any particular order.</p>\n</li>\n<li><p><strong>\"offset\": 0:</strong> Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve customer contact records starting from the first record.</p>\n</li>\n<li><p>\"limit\": 100: Specifies the maximum number of records to retrieve, which is set to 100 in this request. It means that the request will fetch up to 100 customer contact records in a single query. If there are more records, additional requests may be needed.</p>\n</li>\n<li><p><strong>\"context\": {}:</strong> Represents an empty context, which can be used to pass additional options or context information to the search_read operation. In this request, no additional context is provided.</p>\n</li>\n</ul>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"contact\" entity, specifically to retrieve customer contacts. It applies a filter to find contacts where the \"customer\" attribute is set to \"true\" and retrieves various attributes of these customer contacts. Additionally, it counts the total number of matching records, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 customer contact records. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"b6f6153c-1bde-4124-bcfc-e665802625df","name":"params/contact/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698217763202,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"contact\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    [\r\n                        \"customer\",\r\n                        \"=\",\r\n                        true\r\n                    ]\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"type\",\r\n                \"categ_id\",\r\n                \"phone\",\r\n                \"contact_person_id\",\r\n                \"org_id\",\r\n                \"email\",\r\n                \"state\",\r\n                \"company_id\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-25 12:08:56\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Oct 2023 07:12:34 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Ru7KFJ%2F%2Bzlng49l41yDypGgpmrG7U70V3zt2t01hypY%2Fg2EAJvg2lkLY7cqBELEluiPyHiWx70TipnTs3w9XLiijTX6lS9OMi89ruddFUZw0JfUi9kiVIuxJWHINJ4BgQmH4p4Kf69joGJNrbQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"81b8a6e5efdc22b5-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 1078,\n                \"code\": \"C-0972\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1079,\n                    \"[C-0973] Harith Yussof\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Ninja Van Malaysia\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1073,\n                \"code\": \"C-0967\",\n                \"type\": \"person\",\n                \"contact_person_id\": [\n                    1072,\n                    \"[C-0966] BYHISDAISY INTERNATIONAL SDN BHD\",\n                    null\n                ],\n                \"org_id\": [\n                    1072,\n                    \"[C-0966] BYHISDAISY INTERNATIONAL SDN BHD\",\n                    null\n                ],\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Amierrull Aqil\",\n                \"phone\": \"+60 16-611 3197\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1072,\n                \"code\": \"C-0966\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1073,\n                    \"[C-0967] Amierrull Aqil\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"BYHISDAISY INTERNATIONAL SDN BHD\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1071,\n                \"code\": \"C-0965\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1070,\n                    \"[C-0964] Mingle Manor Sdn Bhd\",\n                    null\n                ],\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Zulaikha \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1070,\n                \"code\": \"C-0964\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1071,\n                    \"[C-0965] Zulaikha \",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Mingle Manor Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1068,\n                \"code\": \"C-0962\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1069,\n                    \"[C-0963] Wong Chee Sing\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Metropoly Packaging Sdn Bhd (1106268-W)\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1067,\n                \"code\": \"C-0961\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1066,\n                    \"[C-0960] BOON HONG FISHERY SDN BHD\",\n                    null\n                ],\n                \"email\": \"boonlin@bhfishery.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Boon Lin \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1066,\n                \"code\": \"C-0960\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1067,\n                    \"[C-0961] Boon Lin \",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": \"sales@bhfishery.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"BOON HONG FISHERY SDN BHD\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1063,\n                \"code\": \"C-0957\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1062,\n                    \"[C-0956] Udani carpets sdn bhd\",\n                    null\n                ],\n                \"email\": \"udanicarpets5@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Nikita\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1062,\n                \"code\": \"C-0956\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1063,\n                    \"[C-0957] Nikita\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Udani carpets sdn bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1061,\n                \"code\": \"TEST\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Javeria\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1060,\n                \"code\": \"C-0955\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1059,\n                    \"[C-0954] Intrix\",\n                    null\n                ],\n                \"email\": \"janice.tan@intrixgroup.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Janice Tan \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1059,\n                \"code\": \"C-0954\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1060,\n                    \"[C-0955] Janice Tan \",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Intrix\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1058,\n                \"code\": \"C-0953\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1057,\n                    \"[C-0952] Titan Metal Works Sdn.Bhd.\",\n                    null\n                ],\n                \"email\": \"danny@titanmetal.com.my \",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Danny Ng\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1057,\n                \"code\": \"C-0952\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1058,\n                    \"[C-0953] Danny Ng\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Titan Metal Works Sdn.Bhd.\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1056,\n                \"code\": \"C-0951\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1055,\n                    \"[C-0950] J-Sern Woo\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Endress+Hauser Malaysia\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1055,\n                \"code\": \"C-0950\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1056,\n                    \"[C-0951] Endress+Hauser Malaysia\",\n                    null\n                ],\n                \"email\": \"jsern.woo@endress.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"J-Sern Woo\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1049,\n                \"code\": \"C-0944\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1048,\n                    \"[C-0943] Sinmar Group \",\n                    null\n                ],\n                \"email\": \"account@sinmar.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Ms Tean \",\n                \"phone\": \"0333413399\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1048,\n                \"code\": \"C-0943\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1049,\n                    \"[C-0944] Ms Tean \",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Sinmar Group \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1047,\n                \"code\": \"C-0942\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1046,\n                    \"[C-0941] Peninsular Steel Galvanising Sdn Bhd \",\n                    null\n                ],\n                \"email\": \"john@psg.my\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"John NG\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1046,\n                \"code\": \"C-0941\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1047,\n                    \"[C-0942] John NG\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": \"john@psg.my\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Peninsular Steel Galvanising Sdn Bhd \",\n                \"phone\": \" 0173778181\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1045,\n                \"code\": \"C-0940\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1044,\n                    \"[C-0939] Mexpower \",\n                    null\n                ],\n                \"email\": \"collinchang@mexpower.com.my\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Collin Chang\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1043,\n                \"code\": \"C-0938\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1042,\n                    \"[C-0937] Litosfera Malaya Legacy (LML)\",\n                    null\n                ],\n                \"email\": \"nyak.zahaslan@yahoo.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Nyak Zahaslan\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1042,\n                \"code\": \"C-0937\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1043,\n                    \"[C-0938] Nyak Zahaslan\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Litosfera Malaya Legacy (LML)\",\n                \"phone\": \"+60 12-573 3345\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1041,\n                \"code\": \"C-0936\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1040,\n                    \"[C-0935] Hudeccan \",\n                    null\n                ],\n                \"email\": \"sham@hudeccan.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Sree Shamala\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1040,\n                \"code\": \"C-0935\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1041,\n                    \"[C-0936] Sree Shamala\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Hudeccan \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1033,\n                \"code\": \"C-0929\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1032,\n                    \"[C-0928] XIERA Trading\",\n                    null\n                ],\n                \"email\": \"nyak.zahaslan@yahoo.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Ms Fuzi Wan\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1032,\n                \"code\": \"C-0928\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1033,\n                    \"[C-0929] Ms Fuzi Wan\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"XIERA Trading\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1025,\n                \"code\": \"C-0921\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1024,\n                    \"[C-0920] CAF Food Products Sdn. Bhd.\",\n                    null\n                ],\n                \"email\": \"mgowyongmg@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"MG Yong\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1024,\n                \"code\": \"C-0920\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1025,\n                    \"[C-0921] MG Yong\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"CAF Food Products Sdn. Bhd.\",\n                \"phone\": \"03-8723 3888\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1023,\n                \"code\": \"C-0919\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1022,\n                    \"[C-0918] Ivetworks sdn bhd\",\n                    null\n                ],\n                \"email\": \"ivetsecretary@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Janah Dawood\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1022,\n                \"code\": \"C-0918\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1023,\n                    \"[C-0919] Janah Dawood\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": \"ivetsecretary@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Ivetworks sdn bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1018,\n                \"code\": \"C-0914\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1015,\n                    \"[C-0913] Michelle\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"See Hoy Facilities\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1015,\n                \"code\": \"C-0913\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Michelle\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1014,\n                \"code\": \"C-0912\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1013,\n                    \"[C-0911]  UEM Edgenta\",\n                    null\n                ],\n                \"email\": \"Aliza.sulaiman@edgenta.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Aliza\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1013,\n                \"code\": \"C-0911\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1014,\n                    \"[C-0912] Aliza\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \" UEM Edgenta\",\n                \"phone\": \"+60 11-3228 6466\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1012,\n                \"code\": \"C-0910\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1011,\n                    \"[C-0909] ABC\",\n                    null\n                ],\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"XYZ\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1011,\n                \"code\": \"C-0909\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"ABC\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1009,\n                \"code\": \"C-0907\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1008,\n                    \"[C-0906] Puras \",\n                    null\n                ],\n                \"email\": \"seetoh@mypuras.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"See Toh\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1008,\n                \"code\": \"C-0906\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1009,\n                    \"[C-0907] See Toh\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": \"seetoh@mypuras.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Puras \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1006,\n                \"code\": \"C-0904\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1005,\n                    \"[C-0903] Tayopack Sdn. Bhd.\",\n                    null\n                ],\n                \"email\": \"azhar@tayopack.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Azhar \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1005,\n                \"code\": \"C-0903\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1006,\n                    \"[C-0904] Azhar \",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Tayopack Sdn. Bhd.\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1002,\n                \"code\": \"C-0900\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"KLAY ENERSOL SDN. BHD.\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1001,\n                \"code\": \"C-0899\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    1000,\n                    \"[C-0898] Exceltech Food Trading Sdn Bhd\",\n                    null\n                ],\n                \"email\": \"Martinlow@exceltechtrading.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Martine \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1000,\n                \"code\": \"C-0898\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1001,\n                    \"[C-0899] Martine \",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Exceltech Food Trading Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 998,\n                \"code\": \"C-0896\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    997,\n                    \"[C-0895] Dialog Diyou PCR Sdn Bhd\",\n                    null\n                ],\n                \"email\": \"ollook@dialogasia.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Irene, Look Oy Ling\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 997,\n                \"code\": \"C-0895\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    998,\n                    \"[C-0896] Irene, Look Oy Ling\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Dialog Diyou PCR Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 996,\n                \"code\": \"C-0894\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    995,\n                    \"[C-0893] WWRC\",\n                    null\n                ],\n                \"email\": \"danny@wwrc.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Danny \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 995,\n                \"code\": \"C-0893\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    996,\n                    \"[C-0894] Danny \",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"WWRC\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 993,\n                \"code\": \"C-0891\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    992,\n                    \"[C-0890] ST Engineering \",\n                    null\n                ],\n                \"email\": \"jkwang.han@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Alvin Han\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 992,\n                \"code\": \"C-0890\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    993,\n                    \"[C-0891] Alvin Han\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": \"jkwang.han@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"ST Engineering \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 987,\n                \"code\": \"C-0885\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    986,\n                    \"[C-0884] TDC AUTOMOBILE SDN BHD\",\n                    null\n                ],\n                \"email\": \"dashoilroventz@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Roventz\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 986,\n                \"code\": \"C-0884\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    987,\n                    \"[C-0885] Roventz\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"TDC AUTOMOBILE SDN BHD\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 983,\n                \"code\": \"C-0881\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    982,\n                    \"[C-0880] Chian Hardware & Fastener Sdn Bhd (Bosch)\",\n                    null\n                ],\n                \"email\": \"sales@chianhf.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Joyce - Bosch Consolidator\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 982,\n                \"code\": \"C-0880\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    983,\n                    \"[C-0881] Joyce - Bosch Consolidator\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Chian Hardware & Fastener Sdn Bhd (Bosch)\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 976,\n                \"code\": \"C-0875\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    975,\n                    \"[C-0874] Kendek Products\",\n                    null\n                ],\n                \"email\": \"tee.kendek@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Mr Tee\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 975,\n                \"code\": \"C-0874\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    976,\n                    \"[C-0875] Mr Tee\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Kendek Products\",\n                \"phone\": \"+60 10-276 5358\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 974,\n                \"code\": \"C-0873\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    973,\n                    \"[C-0872] QRZ MotorSports \",\n                    null\n                ],\n                \"email\": \"Soonkyap@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Alex\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 973,\n                \"code\": \"C-0872\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"QRZ MotorSports \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 972,\n                \"code\": \"C-0871\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    970,\n                    \"[C-0869] Markaids (Malaysia) Sdn Bhd \",\n                    null\n                ],\n                \"email\": \"suwaibah.abdghaffar@markaids.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Suwaibah Abd Ghaffar\",\n                \"phone\": \"+6019-673 5357\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 970,\n                \"code\": \"C-0869\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Markaids (Malaysia) Sdn Bhd \",\n                \"phone\": \"+603 7877 9733\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 968,\n                \"code\": \"C-0867\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    967,\n                    \"[C-0866] Hipple (Asia Pacific) Sdn Bhd\",\n                    null\n                ],\n                \"email\": \"joshinae@hotmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Jo Wong\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 967,\n                \"code\": \"C-0866\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    968,\n                    \"[C-0867] Jo Wong\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": \"joshinae@hotmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Hipple (Asia Pacific) Sdn Bhd\",\n                \"phone\": \"+60 17-637 8127\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 962,\n                \"code\": \"C-0861\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    961,\n                    \"[C-0860] Ashvertising Marketing\",\n                    null\n                ],\n                \"email\": \"shin@ashvertising.co\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Ms. Ashikin\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 961,\n                \"code\": \"C-0860\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    962,\n                    \"[C-0861] Ms. Ashikin\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Ashvertising Marketing\",\n                \"phone\": \"+60 13-235 5092\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 960,\n                \"code\": \"C-0859\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    959,\n                    \"[C-0858] Kendek Products Sdn Bhd\",\n                    null\n                ],\n                \"email\": \"tee.kendek@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Mr.Tee\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 959,\n                \"code\": \"C-0858\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    960,\n                    \"[C-0859] Mr.Tee\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": \"tee.kendek@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Kendek Products Sdn Bhd\",\n                \"phone\": \"+60 10-276 5358\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 957,\n                \"code\": \"C-0856\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    956,\n                    \"[C-0855] SMH RAIL SDN BHD\",\n                    null\n                ],\n                \"email\": \" john@smhrail.com.my\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"John Mharshel\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 956,\n                \"code\": \"C-0855\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    957,\n                    \"[C-0856] John Mharshel\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": \" john@smhrail.com.my\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"SMH RAIL SDN BHD\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 953,\n                \"code\": \"C-0852\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    952,\n                    \"[C-0851] SaniChem Resources Sdn. Bhd.\",\n                    null\n                ],\n                \"email\": \"afif@sanichem.com.my \",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Muhammad Afif Bin Md Sani \",\n                \"phone\": \"+6012 8644750\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 952,\n                \"code\": \"C-0851\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    953,\n                    \"[C-0852] Muhammad Afif Bin Md Sani \",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"SaniChem Resources Sdn. Bhd.\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 949,\n                \"code\": \"C-0848\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    950,\n                    \"[C-0849] Hafiz Hashim\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 948,\n                \"code\": \"C-0847\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    947,\n                    \"[C-0846] FrogAsia \",\n                    null\n                ],\n                \"email\": \"tilpreet.avatar@frogasia.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Tilpreet \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 947,\n                \"code\": \"C-0846\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    948,\n                    \"[C-0847] Tilpreet \",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"FrogAsia \",\n                \"phone\": \"+60 16-917 3570\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 946,\n                \"code\": \"C-0845\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    945,\n                    \"[C-0844] Lion Machinery Supply Sdn Bhd\",\n                    null\n                ],\n                \"email\": \"lionmachsupply@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Rebecca\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 945,\n                \"code\": \"C-0844\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    946,\n                    \"[C-0845] Rebecca\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Lion Machinery Supply Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 943,\n                \"code\": \"C-0842\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": \"luqman.zulakbar@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Luqman\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 940,\n                \"code\": \"C-0839\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    939,\n                    \"[C-0838] Red Dino \",\n                    null\n                ],\n                \"email\": \"kim@reddinoventures.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Kim Yoong\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 939,\n                \"code\": \"C-0838\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    940,\n                    \"[C-0839] Kim Yoong\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Red Dino \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 938,\n                \"code\": \"C-0837\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    937,\n                    \"[C-0836] SYSTEMATIC AVIATION SERVICES SDN BHD\",\n                    null\n                ],\n                \"email\": \"faiz@sassb.com.my\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Faiz Fahmi\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 937,\n                \"code\": \"C-0836\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    938,\n                    \"[C-0837] Faiz Fahmi\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": \"faiz@sassb.com.my\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"SYSTEMATIC AVIATION SERVICES SDN BHD\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 936,\n                \"code\": \"C-0835\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    935,\n                    \"[C-0834] Tom\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Tom - Ministry Of Finance\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 935,\n                \"code\": \"C-0834\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Tom\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 934,\n                \"code\": \"C-0833\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    933,\n                    \"[C-0832] Chong J Y\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"OUS Group\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 933,\n                \"code\": \"C-0832\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": \"juhnyung.chong@ous.com.my\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Chong J Y\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 930,\n                \"code\": \"C-0829\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    930,\n                    \"[C-0829] Atiqah - \",\n                    null\n                ],\n                \"email\": \"elfijewelleries@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Atiqah - \",\n                \"phone\": \"+60 17-711 0898\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 928,\n                \"code\": \"C-0828\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    927,\n                    \"[C-0827] Sklew Biotech\",\n                    null\n                ],\n                \"email\": \"najwa@sklewbiotech.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Najwa\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 927,\n                \"code\": \"C-0827\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    928,\n                    \"[C-0828] Najwa\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": \"https://sklewbiotech.com/\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Sklew Biotech\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 924,\n                \"code\": \"C-0824\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    923,\n                    \"[C-0823] SP REAL TRADE\",\n                    null\n                ],\n                \"email\": \"Shahputraworld@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Shah Putra\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 923,\n                \"code\": \"C-0823\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    924,\n                    \"[C-0824] Shah Putra\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": \"Shahputraworld@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"SP REAL TRADE\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 921,\n                \"code\": \"C-0821\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    920,\n                    \"[C-0820] Seasonings Specialities Sdn Bhd\",\n                    null\n                ],\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Ms. Goh Sim Cheng\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 920,\n                \"code\": \"C-0820\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    921,\n                    \"[C-0821] Ms. Goh Sim Cheng\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": \"customerservice@seasonings.com.my\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Seasonings Specialities Sdn Bhd\",\n                \"phone\": \"603-6258 7181 / 603-6258 9181\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 919,\n                \"code\": \"C-0819\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    918,\n                    \"[C-0818] Makna Setia Sdn Bhd\",\n                    null\n                ],\n                \"email\": \"Munkit17@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Mun kIt \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 918,\n                \"code\": \"C-0818\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": \"Munkit17@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Makna Setia Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 913,\n                \"code\": \"C-0813\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    911,\n                    \"[C-0812] Eleen Tan\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Lifestyle Ventures Sdn Bhd\\t\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 910,\n                \"code\": \"C-0811\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    568,\n                    \"[C-0482] Top Fruits Sdn. Bhd. (914914-H)\",\n                    null\n                ],\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Becky Yap\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 909,\n                \"code\": \"C-0810\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    908,\n                    \"[C-0809] Emax Beaute international Sdn Bhd\",\n                    null\n                ],\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Emma\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 908,\n                \"code\": \"C-0809\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Emax Beaute international Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 907,\n                \"code\": \"C-0808\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": [\n                    906,\n                    \"[C-0807] Gintell (M) Sdn Bhd\",\n                    null\n                ],\n                \"email\": \"ryan.lee@gintell.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Ryan Lee\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 906,\n                \"code\": \"C-0807\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Gintell (M) Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            }\n        ],\n        491\n    ],\n    \"error\": null,\n    \"id\": 1698217763202,\n    \"dt\": 136\n}"}],"_postman_id":"a0ee0ea9-a75c-40da-8abb-acfca3f031ae"}],"id":"098cf709-7161-44ba-a874-e49f0159b9f5","_postman_id":"098cf709-7161-44ba-a874-e49f0159b9f5","description":""},{"name":"Suppliers","item":[{"name":"params/contact/search_read","id":"1c65d965-6afa-4cc2-bcaf-8c4d553fcb70","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698218384595,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"contact\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    [\r\n                        \"supplier\",\r\n                        \"=\",\r\n                        true\r\n                    ]\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"type\",\r\n                \"categ_id\",\r\n                \"phone\",\r\n                \"contact_person_id\",\r\n                \"org_id\",\r\n                \"email\",\r\n                \"state\",\r\n                \"company_id\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-25 12:19:23\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\"><strong>Description</strong></h1>\n<p>The JSON-RPC API available at the provided endpoint enables clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\"><strong>Code Explanation</strong></h1>\n<p><strong>\"params\": [</strong>**\"contact\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>[</strong></strong>\"supplier\",<strong>**\"=\",<strong><strong>true</strong></strong>]**</strong>]<strong><strong>],<strong><strong>[</strong></strong>\"name\",</strong></strong>\"code\",<strong><strong>\"type\",</strong></strong>\"categ_id\",<strong><strong>\"phone\",</strong></strong>\"contact_person_id\",<strong><strong>\"org_id\",</strong></strong>\"email\",<strong><strong>\"state\",</strong></strong>\"company_id\",<strong>**\"active\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"count\": true,</strong></strong>\"order\": null,<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><p><strong>\"contact\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"contact\" entity, indicating that the operation will be performed within this entity. The \"contact\" entity is typically used to manage information related to contacts, which can include both customers and suppliers.</p>\n</li>\n<li><p><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</p>\n</li>\n<li><p><strong>[[[ \"supplier\", \"=\", true ]]]</strong>: This is the third parameter, which contains a nested list. It serves as a search domain to filter records based on specific criteria. In this case:</p>\n<ol>\n<li><strong>\"supplier\":</strong> This field is used to specify a particular attribute or characteristic of contacts, and it is set to \"=\" (equals).</li>\n<li><strong>\"=\":</strong> This is an operator that indicates equality. It means that the \"supplier\" field should be equal to the following value.</li>\n<li><strong>\"true\":</strong> This is the value to which the \"supplier\" field should be equal. It appears that the search is filtering contacts to find those where the \"supplier\" attribute is set to \"true,\" indicating that these are supplier contacts.</li>\n</ol>\n</li>\n<li><p><strong>[\"name\", \"code\", \"type\", \"categ_id\", \"phone\", \"contact_person_id\", \"org_id\", \"email\", \"state\", \"company_id\", \"active\"]</strong>: This is the fourth parameter and represents a list of fields or attributes that you want to retrieve for each record. In this request, you are retrieving contact records with the following fields:</p>\n<ol>\n<li><p><strong>\"name\":</strong> Represents the name of the contact.</p>\n</li>\n<li><p><strong>\"code\":</strong> Represents a code or identifier for the contact.</p>\n</li>\n<li><p><strong>\"type\":</strong> Indicates the type of the contact.</p>\n</li>\n<li><p><strong>\"categ_id\":</strong> Likely represents a reference to the category or category ID associated with the contact.</p>\n</li>\n<li><p><strong>\"phone\":</strong> Represents the phone number of the contact.</p>\n</li>\n<li><p><strong>\"contact_person_id\":</strong> May refer to the contact person associated with the contact.</p>\n</li>\n<li><p><strong>\"org_id\":</strong> Possibly represents an organization or company associated with the contact.</p>\n</li>\n<li><p><strong>\"email\":</strong> Represents the email address of the contact.</p>\n</li>\n<li><p><strong>\"state\":</strong> Indicates the state or status of the contact.</p>\n</li>\n<li><p><strong>\"company_id\":</strong> Likely represents the company to which the contact belongs.</p>\n</li>\n<li><p><strong>\"active\":</strong> Represents whether the contact is currently active or not.</p>\n</li>\n</ol>\n</li>\n<li><p><strong>{\"count\": true, \"order\": null, \"offset\": 0, \"limit\": 100, \"context\": {}}</strong>: This is the fifth parameter and represents a dictionary with various options:</p>\n<ol>\n<li><strong>\"count\":</strong> true: Specifies that you want to count the total number of records that match the search criteria. This allows you to determine how many supplier contacts exist in the system.</li>\n<li><strong>\"order\":</strong> null: Indicates that no specific sorting order is applied to the retrieved records. The records will be returned without any particular order.</li>\n<li><strong>\"offset\": 0:</strong> Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve supplier contact records starting from the first record.</li>\n<li><strong>\"limit\": 100:</strong> Specifies the maximum number of records to retrieve, which is set to 100 in this request. It means that the request will fetch up to 100 supplier contact records in a single query. If there are more records, additional requests may be needed.</li>\n<li><strong>\"context\": {}:</strong> Represents an empty context, which can be used to pass additional options or context information to the search_read operation. In this request, no additional context is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"contact\" entity, specifically to retrieve supplier contacts. It applies a filter to find contacts where the \"supplier\" attribute is set to \"true\" and retrieves various attributes of these supplier contacts. Additionally, it counts the total number of matching records, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 supplier contact records. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"000b331b-a080-4ceb-bc41-6a5ba8737f47","name":"params/contact/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698218384595,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"contact\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    [\r\n                        \"supplier\",\r\n                        \"=\",\r\n                        true\r\n                    ]\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"type\",\r\n                \"categ_id\",\r\n                \"phone\",\r\n                \"contact_person_id\",\r\n                \"org_id\",\r\n                \"email\",\r\n                \"state\",\r\n                \"company_id\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-25 12:19:23\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Oct 2023 07:24:08 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Sr2XWscCjnBcHbXjQo2pPkaBB80a55VrYm0sl5cxSGnfICJyQc0vIoCktBN1yX%2BwgEkrQGCQRzeTSxuqwE0cSyDX0tbCaOljOf2NXDgA0f4atuiHt56JRg0hVUQbIJKI4718nqSd6gJUi%2B7z0g%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"81b8b7da8ac0603a-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 1086,\n                \"code\": \"C-0980\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"OPEN SYSTEMS MATRIX SDN BHD\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1085,\n                \"code\": \"C-0979\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Senheng Official Store\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1084,\n                \"code\": \"C-0978\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Canva Pty. Ltd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1083,\n                \"code\": \"C-0977\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Food and Hotel Malaysia\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1077,\n                \"code\": \"C-0971\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Sek Hao Fu Restaurant\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1076,\n                \"code\": \"C-0970\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"CEO VAS SDN BHD\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1075,\n                \"code\": \"C-0969\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"MTDC - MALAYSIAN TECHNOLOGY DEVELOPMENT CORPORATION\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1074,\n                \"code\": \"C-0968\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Technical Asad\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1064,\n                \"code\": \"C-0958\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Google Play\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1053,\n                \"code\": \"C-0948\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"F3 Technologies\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1052,\n                \"code\": \"C-0947\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"BT Business Consultancy\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1039,\n                \"code\": \"C-0934\",\n                \"type\": \"org\",\n                \"contact_person_id\": [\n                    1037,\n                    \"[C-0933] Mr Kevin Khoo\",\n                    null\n                ],\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Quantum Computing Sdn. Bhd .\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1036,\n                \"code\": \"C-0932\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Kuan Seng How\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1035,\n                \"code\": \"C-0931\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"OSPIT Mobility Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1030,\n                \"code\": \"C-0926\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Maccess Tech\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1027,\n                \"code\": \"C-0923\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"RCJ Ventures - Management Consultants & Trainers\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1026,\n                \"code\": \"C-0922\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": \"lucky.z@rongtian.tech\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Shenzhen Rongtian Electronic Technology Co., Ltd.\",\n                \"phone\": \"0086-0591-28838483\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1021,\n                \"code\": \"C-0917\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"The Coffee Bean & Tea Leaf (M) Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1020,\n                \"code\": \"C-0916\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": \"syprinting@yahoo.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"S & Y Printing Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1019,\n                \"code\": \"C-0915\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"ARCH COMPUTERS\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1010,\n                \"code\": \"C-0908\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"ScreenPal\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1004,\n                \"code\": \"C-0902\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Zara Humaira Services Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 1003,\n                \"code\": \"C-0901\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Employment Hero Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 999,\n                \"code\": \"C-0897\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"MMG Distribution Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 991,\n                \"code\": \"C-0889\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"(MATRADE) Malaysia External Trade Development Corporation \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 981,\n                \"code\": \"C-0879\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Jump Street Malaysia Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 980,\n                \"code\": \"C-0878\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Giant Hypermarket \",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 979,\n                \"code\": \"C-0877\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Technoviz\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 977,\n                \"code\": \"C-0876\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"UNIFORTUNE HOLDINGS Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 966,\n                \"code\": \"C-0865\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"(AUTOMEX) INFORMA MARKETS MALAYSIA SDN BHD\",\n                \"phone\": \"+(603) 9771 2688\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 965,\n                \"code\": \"C-0864\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"AMB Tarsus Exhibitions Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 958,\n                \"code\": \"C-0857\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Ali, Muthu & Ah Hock\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 942,\n                \"code\": \"C-0841\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"UTAR - Universiti Tungku Abdul Rahman\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 941,\n                \"code\": \"C-0840\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"NSK GROCER SDN BHD\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 926,\n                \"code\": \"C-0826\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Drom Lux Ltd.\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 925,\n                \"code\": \"C-0825\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"CCBC VENTURE SDN BHD\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 889,\n                \"code\": \"C-0791\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": \"account@esevent.com.my\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"ES INTERNATIONAL EVENT MANAGEMENT SDN BHD\",\n                \"phone\": \"603-9132 1922\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 886,\n                \"code\": \"C-0788\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Platinum Sentral\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 883,\n                \"code\": \"C-0785\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"PROTOSS IT SDN BHD\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 876,\n                \"code\": \"C-0778\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"AVIMATIC SDN BHD\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 863,\n                \"code\": \"C-0767\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Checkers Hypermarket Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 852,\n                \"code\": \"C-0756\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"TS BRILLIANT CONSTRUCTION SDN BHD\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 851,\n                \"code\": \"C-0755\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"SIDEC Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 850,\n                \"code\": \"C-0754\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Signature Valley Enterprise (002530035-W)\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 845,\n                \"code\": \"C-0749\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Go More Printing\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 810,\n                \"code\": \"C-0715\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Monday.com, Ltd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 799,\n                \"code\": \"C-0704\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Syslab Technologies Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 798,\n                \"code\": \"C-0703\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"SLF TECHNOLOGY SDN BHD\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 791,\n                \"code\": \"C-0697\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"SC COOL SERVICES\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 782,\n                \"code\": \"C-0688\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Turkish Cafe Istanbul\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 781,\n                \"code\": \"C-0687\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"99 Speed Mart\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 769,\n                \"code\": \"C-0675\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"My SST\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 766,\n                \"code\": \"C-0672\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": \"drwilsontay@gmail.com\",\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"MQCC- MindQuest Consulting & Coaching\",\n                \"phone\": \"+(6012)6112218\",\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 756,\n                \"code\": \"C-0663\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"RHB Bank\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 753,\n                \"code\": \"C-0660\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Zhongshan Loease Electronic Technology\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 752,\n                \"code\": \"C-0659\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"L&Y GREAT ENTERPRISE\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 751,\n                \"code\": \"C-0658\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Pang Sin Yang\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 750,\n                \"code\": \"C-0657\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Mohammad Chow  Rest\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 746,\n                \"code\": \"C-0653\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Chin Yi XIang\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 742,\n                \"code\": \"C-0650\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Velo Resources (CT0092534-W)\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 736,\n                \"code\": \"C-0644\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Lenovo\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 734,\n                \"code\": \"C-0642\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Apple Store\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 731,\n                \"code\": \"C-0639\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Fly Office Supply\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 726,\n                \"code\": \"C-0635\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Bizsphere Sdn. Bhd. (860222-P)\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 725,\n                \"code\": \"C-0634\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"HappyFresh\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 724,\n                \"code\": \"C-0633\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"koperasi MATRADE Kuala Lumpur Berhad\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 723,\n                \"code\": \"C-0632\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Petronas\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 722,\n                \"code\": \"C-0631\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Trendcell Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 718,\n                \"code\": \"C-0627\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"AAP ASIA APPAREL SDN BHD\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 717,\n                \"code\": \"C-0626\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Public Key Services\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 714,\n                \"code\": \"C-0623\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Small and Medium Enterprises Assocation (SAMENTA)\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 710,\n                \"code\": \"C-0619\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Shell\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 697,\n                \"code\": \"C-0606\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"MindQuest Consulting & Coaching\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 689,\n                \"code\": \"C-0598\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Inactiv.com Media Solutions Pvt Ltd (Malcare)\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 686,\n                \"code\": \"C-0595\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Din Qayyim Synergy Sdn Bhd (MBE)\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 685,\n                \"code\": \"C-0594\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"SME Corporation Malaysia (SME Corp. Malaysia)\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 683,\n                \"code\": \"C-0592\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Vistage Asia Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 681,\n                \"code\": \"C-0590\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"EasyParcel\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 680,\n                \"code\": \"C-0589\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Chloe Wong Yan Tshin\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 679,\n                \"code\": \"C-0588\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"BlueSnap, Inc\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 648,\n                \"code\": \"C-0560\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Facebook, Inc.\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 647,\n                \"code\": \"C-0559\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"BP CLINICAL LAB SDN BHD\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 646,\n                \"code\": \"C-0558\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"NEUERA PACKAGING SDN BHD (1169942-V)\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 645,\n                \"code\": \"C-0557\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Lazada (LBB)\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": [\n                    2,\n                    \"e-Comm\",\n                    null\n                ]\n            },\n            {\n                \"id\": 644,\n                \"code\": \"C-0556\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"ANG STORE\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 643,\n                \"code\": \"C-0555\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"NT Shop Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 642,\n                \"code\": \"C-0554\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Suntex Locksmith Centre\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 641,\n                \"code\": \"C-0553\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"SY Digital Print Sdn Bhd (Co. No.: 1284665-W)\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 640,\n                \"code\": \"C-0552\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Megah Inovatif Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 639,\n                \"code\": \"C-0551\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"One Hygienic Sdn Bhd (881454-V)\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 636,\n                \"code\": \"C-0548\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Persatuan Pengusaha Kecil dan Sederhana Malaysia (PPM-001-10-13071995)\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 635,\n                \"code\": \"C-0547\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Suzanne, Lye, Fairuz & Yaw\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 631,\n                \"code\": \"C-0544\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Shenzhen Yiqi International Logistics Co., Ltd.\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 630,\n                \"code\": \"C-0543\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Yap Poh Har (Jasmine)\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 629,\n                \"code\": \"C-0542\",\n                \"type\": \"person\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"CHUNG KAI LENG\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 628,\n                \"code\": \"C-0541\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Test Supplier\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 627,\n                \"code\": \"C-0540\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Digital River Ireland, Ltd.\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 626,\n                \"code\": \"C-0539\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Grabfood\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 625,\n                \"code\": \"C-0538\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"SL Mailbox Sdn Bhd\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            },\n            {\n                \"id\": 623,\n                \"code\": \"C-0536\",\n                \"type\": \"org\",\n                \"contact_person_id\": null,\n                \"org_id\": null,\n                \"email\": null,\n                \"active\": true,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"name\": \"Shenzhen Luwei Technology Co., Ltd.\",\n                \"phone\": null,\n                \"state\": \"active\",\n                \"categ_id\": null\n            }\n        ],\n        326\n    ],\n    \"error\": null,\n    \"id\": 1698218384595,\n    \"dt\": 26\n}"}],"_postman_id":"1c65d965-6afa-4cc2-bcaf-8c4d553fcb70"}],"id":"c0ee2be0-aba2-40f5-83e7-b0a9af146e0b","_postman_id":"c0ee2be0-aba2-40f5-83e7-b0a9af146e0b","description":""}],"id":"4d12f159-07f6-4225-b1e0-4c87e0454171","_postman_id":"4d12f159-07f6-4225-b1e0-4c87e0454171","description":""},{"name":"Report","item":[{"name":"Contact Analysis","item":[{"name":"params/contact/search_read_path","id":"3e014f42-1c40-426a-95f7-eedbd6853159","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690860596316,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"contact\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"categ_id.name\",\r\n                \"industry_id.name\",\r\n                \"business_area_id.name\",\r\n                \"fleet_size_id.name\",\r\n                \"user_id.name\",\r\n                \"type\",\r\n                \"country_id.name\",\r\n                \"name\",\r\n                \"code\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"last_activ_time\": \"2023-08-01 08:27:47\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\"><strong>Description</strong></h1>\n<p>The JSON-RPC API available at the provided endpoint enables clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\"><strong>Code Explanation</strong></h1>\n<p><strong>\"params\": [</strong><strong>\"contact\",</strong>\"search_read_path\",<strong>[</strong>[],<strong>[</strong>\"categ_id.name\",<strong>\"industry_id.name\",</strong>\"business_area_id.name\",<strong>\"fleet_size_id.name\",</strong>\"user_id.name\",<strong>\"type\",</strong>\"country_id.name\",<strong>\"name\",</strong>\"code\"<strong>]****], ]</strong></p>\n<p>In the provided JSON-RPC API request, the \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><strong>Element 1 (String): \"contact\"</strong>: The first element of the array is a string, specifically \"contact.\" This string identifies the target object or service on the server that will handle the API request. In this case, it seems to represent the \"contact\" service, which likely deals with operations related to contacts or contacts-related data.</li>\n<li><strong>Element 2 (String): \"search_read_path\"</strong>: The second element of the array is also a string, specifically \"search_read_path.\" This string specifies the name of the method within the \"contact\" service that the client wants to execute. The \"search_read_path\" method may be a custom method provided by the API, allowing more complex search and read operations, possibly involving relationships between different data entities.</li>\n<li>**Element 3 (Array): Empty Array:**An empty array is simply an array with no elements, meaning it does not contain any data. It's often used to represent the absence of data or to initialize an array that might be populated later.</li>\n<li><strong>Element 4 (Array): Nested Array of Arrays</strong>: The fourth element in the \"params\" array represents the positional parameters for the \"search_read_path\" method. It is a nested array containing two sub-arrays.</li>\n</ol>\n<ul>\n<li><strong>Sub-Array 1 (Array): []</strong>: The first sub-array is an empty array. It seems to represent the search domain or filter criteria for the records to be retrieved. In this case, since it is empty, the method will return all available records without any specific filtering.</li>\n<li><strong>Sub-Array 2 (Array): [\"categ_id.name\", \"industry_id.name\", \"business_area_id.name\", \"fleet_size_id.name\", \"user_id.name\", \"type\", \"country_id.name\", \"name\", \"code\"]</strong></li>\n</ul>\n<p>The Sub-Array contains a list of attribute names. These attributes are likely associated with a specific data entity or object. Let's break down the elements within the Sub-Array:</p>\n<ul>\n<li><code>\"categ_id.name\"</code>: This attribute refers to the \"name\" of the category that the data entity belongs to. It indicates that the entity is categorized under a specific category, and this attribute retrieves the name of that category.</li>\n<li><code>\"industry_id.name\"</code>: This attribute retrieves the \"name\" of the industry that the data entity is associated with. It suggests that the entity is related to a particular industry category.</li>\n<li><code>\"business_area_id.name\"</code>: Similarly, this attribute fetches the \"name\" of the business area that the entity is connected to. It implies that the entity is categorized within a certain business area.</li>\n<li><code>\"fleet_size_id.name\"</code>: This attribute provides the \"name\" of the fleet size category that the entity falls under. It suggests that the entity's size is classified based on a fleet size category.</li>\n<li><code>\"user_id.name\"</code>: This attribute retrieves the \"name\" of the user associated with the entity. It implies that the entity has a connection to a specific user.</li>\n<li><code>\"type\"</code>: The \"type\" attribute represents a classification or categorization of the entity's type. It could describe the nature or purpose of the entity.</li>\n<li><code>\"country_id.name\"</code>: This attribute fetches the \"name\" of the country that the entity is associated with. It indicates a connection between the entity and a specific country.</li>\n<li><code>\"name\"</code>: The \"name\" attribute is likely the name or title of the entity itself. It provides a human-readable identifier for the entity.</li>\n<li><code>\"code\"</code>: The \"code\" attribute represents a code or unique identifier associated with the entity. It is often used for system identification, referencing, or querying.</li>\n</ul>\n<p>Using this Sub-Array allows you to retrieve specific attributes associated with a data entity, providing a comprehensive view of its context, categorization, and details. It's useful when you want to gather information about related entities in a structured and organized manner. These fields likely represent various attributes or information related to the contacts.</p>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</li>\n<li>The first two elements of the \"params\" array (\"contact\" and \"search_read_path\") identify the specific service and method on the server that the client wants to invoke.</li>\n<li>The third element (a nested array) contains the positional parameters required for the \"search_read_path\" method. In this example, it includes an empty sub-array (indicating no specific filter) and a sub-array listing the desired fields.</li>\n<li>The actual functionality associated with the \"contact\" service and \"search_read_path\" method will depend on the server's implementation and the specific requirements of the API.</li>\n</ul>\n<p><strong>Notee:</strong></p>\n<p>In this, the client sends the API request to the server with the \"contact\" model and \"search_read_path\" method specified in the \"params\" array. The server will process the request and perform a custom search and read operation within the \"contact\" model, retrieving all available records. The server will return the requested fields (\"categ_id.name,\" \"industry_id.name,\" \"business_area_id.name,\" \"fleet_size_id.name,\" \"user_id.name,\" \"type,\" \"country_id.name,\" \"name,\" and \"code\") for each contact as part of the API response.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"b9085fc8-371a-450f-8602-65f1755b23fe","name":"params/contact/search_read_path","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690860596316,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"contact\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"categ_id.name\",\r\n                \"industry_id.name\",\r\n                \"business_area_id.name\",\r\n                \"fleet_size_id.name\",\r\n                \"user_id.name\",\r\n                \"type\",\r\n                \"country_id.name\",\r\n                \"name\",\r\n                \"code\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"last_activ_time\": \"2023-08-01 08:27:47\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 02 Aug 2023 07:27:38 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=TzGzvV2ypZ6gjI59CUOHHBPwUmJ1YifuUcIlcstI5bWT7ZT5f%2BPOoaIUFJIdCWunpkjycFStugMwPL9%2BgDA6h4CIPvLW9jVV4dKZYxp48suEThY3tfXKtx8TVIuvR6O%2FzMfdb3B3WDf9%2B%2FySzA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f0499780a764d3f-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 1047,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0942\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"John NG\"\n            },\n            {\n                \"id\": 1046,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0941\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Peninsular Steel Galvanising Sdn Bhd \"\n            },\n            {\n                \"id\": 1045,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0940\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Collin Chang\"\n            },\n            {\n                \"id\": 1044,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0939\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mexpower \"\n            },\n            {\n                \"id\": 1043,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0938\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Nyak Zahaslan\"\n            },\n            {\n                \"id\": 1042,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0937\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Litosfera Malaya Legacy (LML)\"\n            },\n            {\n                \"id\": 1041,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0936\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sree Shamala\"\n            },\n            {\n                \"id\": 1040,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0935\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Hudeccan \"\n            },\n            {\n                \"id\": 1039,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0934\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Quantum Computing Sdn. Bhd .\"\n            },\n            {\n                \"id\": 1037,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0933\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mr Kevin Khoo\"\n            },\n            {\n                \"id\": 1036,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0932\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Kuan Seng How\"\n            },\n            {\n                \"id\": 1035,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0931\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"OSPIT Mobility Sdn Bhd\"\n            },\n            {\n                \"id\": 1034,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0930\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mawarfoto Stationary\"\n            },\n            {\n                \"id\": 1033,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0929\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ms Fuzi Wan\"\n            },\n            {\n                \"id\": 1032,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0928\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"XIERA Trading\"\n            },\n            {\n                \"id\": 1031,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0927\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ninso Global Sdn Bhd\"\n            },\n            {\n                \"id\": 1030,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0926\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Maccess Tech\"\n            },\n            {\n                \"id\": 1029,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0925\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Casey - Fedral Furniture \"\n            },\n            {\n                \"id\": 1028,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0924\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"KC Khoo - Tools Depot Engineering Sdn.Bhd.\"\n            },\n            {\n                \"id\": 1027,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0923\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"RCJ Ventures - Management Consultants & Trainers\"\n            },\n            {\n                \"id\": 1026,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0922\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shenzhen Rongtian Electronic Technology Co., Ltd.\"\n            },\n            {\n                \"id\": 1025,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0921\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"MG Yong\"\n            },\n            {\n                \"id\": 1024,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0920\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"CAF Food Products Sdn. Bhd.\"\n            },\n            {\n                \"id\": 1023,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0919\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Janah Dawood\"\n            },\n            {\n                \"id\": 1022,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0918\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ivetworks sdn bhd\"\n            },\n            {\n                \"id\": 1021,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0917\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"The Coffee Bean & Tea Leaf (M) Sdn Bhd\"\n            },\n            {\n                \"id\": 1020,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0916\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"S & Y Printing Sdn Bhd\"\n            },\n            {\n                \"id\": 1019,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0915\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"ARCH COMPUTERS\"\n            },\n            {\n                \"id\": 1018,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0914\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"See Hoy Facilities\"\n            },\n            {\n                \"id\": 1015,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0913\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Michelle\"\n            },\n            {\n                \"id\": 1014,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0912\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Aliza\"\n            },\n            {\n                \"id\": 1013,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0911\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \" UEM Edgenta\"\n            },\n            {\n                \"id\": 1012,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0910\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"XYZ\"\n            },\n            {\n                \"id\": 1011,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0909\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"ABC\"\n            },\n            {\n                \"id\": 1010,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0908\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"ScreenPal\"\n            },\n            {\n                \"id\": 1009,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0907\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"See Toh\"\n            },\n            {\n                \"id\": 1008,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0906\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Puras \"\n            },\n            {\n                \"id\": 1007,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0905\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Corey Tan\"\n            },\n            {\n                \"id\": 1006,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0904\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Azhar \"\n            },\n            {\n                \"id\": 1005,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0903\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Tayopack Sdn. Bhd.\"\n            },\n            {\n                \"id\": 1004,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0902\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Zara Humaira Services Sdn Bhd\"\n            },\n            {\n                \"id\": 1003,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0901\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Employment Hero Sdn Bhd\"\n            },\n            {\n                \"id\": 1002,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0900\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"KLAY ENERSOL SDN. BHD.\"\n            },\n            {\n                \"id\": 1001,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0899\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Martine \"\n            },\n            {\n                \"id\": 1000,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0898\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Exceltech Food Trading Sdn Bhd\"\n            },\n            {\n                \"id\": 999,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0897\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"MMG Distribution Sdn Bhd\"\n            },\n            {\n                \"id\": 998,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0896\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Irene, Look Oy Ling\"\n            },\n            {\n                \"id\": 997,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0895\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Dialog Diyou PCR Sdn Bhd\"\n            },\n            {\n                \"id\": 996,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0894\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Danny \"\n            },\n            {\n                \"id\": 995,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0893\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"WWRC\"\n            },\n            {\n                \"id\": 994,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0892\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mischine.my Shopee\"\n            },\n            {\n                \"id\": 993,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0891\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Alvin Han\"\n            },\n            {\n                \"id\": 992,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0890\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"ST Engineering \"\n            },\n            {\n                \"id\": 991,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0889\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"(MATRADE) Malaysia External Trade Development Corporation \"\n            },\n            {\n                \"id\": 990,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0888\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Azira\"\n            },\n            {\n                \"id\": 989,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0887\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"PAPA'S CAFE\"\n            },\n            {\n                \"id\": 988,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0886\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"CY Plastic Chong\"\n            },\n            {\n                \"id\": 987,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0885\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Roventz\"\n            },\n            {\n                \"id\": 986,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0884\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"TDC AUTOMOBILE SDN BHD\"\n            },\n            {\n                \"id\": 985,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0883\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Xboxing\"\n            },\n            {\n                \"id\": 984,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0882\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"TECHCAVE COMPUTER STORE\"\n            },\n            {\n                \"id\": 983,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0881\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Joyce - Bosch Consolidator\"\n            },\n            {\n                \"id\": 982,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0880\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Chian Hardware & Fastener Sdn Bhd (BOSCH)\"\n            },\n            {\n                \"id\": 981,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0879\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jump Street Malaysia Sdn Bhd\"\n            },\n            {\n                \"id\": 980,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0878\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Giant Hypermarket \"\n            },\n            {\n                \"id\": 979,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0877\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Technoviz\"\n            },\n            {\n                \"id\": 977,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0876\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"UNIFORTUNE HOLDINGS Sdn Bhd\"\n            },\n            {\n                \"id\": 976,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0875\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mr Tee\"\n            },\n            {\n                \"id\": 975,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0874\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Kendek Products\"\n            },\n            {\n                \"id\": 974,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0873\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Alex\"\n            },\n            {\n                \"id\": 973,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0872\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"QRZ MotorSports \"\n            },\n            {\n                \"id\": 972,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0871\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Suwaibah Abd Ghaffar\"\n            },\n            {\n                \"id\": 970,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0869\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Markaids (Malaysia) Sdn Bhd \"\n            },\n            {\n                \"id\": 968,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0867\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jo Wong\"\n            },\n            {\n                \"id\": 967,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0866\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Hipple (Asia Pacific) Sdn Bhd\"\n            },\n            {\n                \"id\": 966,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0865\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"(AUTOMEX) INFORMA MARKETS MALAYSIA SDN BHD\"\n            },\n            {\n                \"id\": 965,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0864\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"AMB Tarsus Exhibitions Sdn Bhd\"\n            },\n            {\n                \"id\": 964,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0863\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"John -  Inventory\"\n            },\n            {\n                \"id\": 963,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0862\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Yuki Lai - Austin Powder\"\n            },\n            {\n                \"id\": 962,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0861\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ms. Ashikin\"\n            },\n            {\n                \"id\": 961,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0860\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ashvertising Marketing\"\n            },\n            {\n                \"id\": 960,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0859\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mr.Tee\"\n            },\n            {\n                \"id\": 959,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0858\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Kendek Products Sdn Bhd\"\n            },\n            {\n                \"id\": 958,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0857\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ali, Muthu & Ah Hock\"\n            },\n            {\n                \"id\": 957,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0856\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"John Mharshel\"\n            },\n            {\n                \"id\": 956,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0855\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"SMH RAIL SDN BHD\"\n            },\n            {\n                \"id\": 955,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0854\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Amirul\"\n            },\n            {\n                \"id\": 954,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0853\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Namicoh Suria Sdn Bhd\"\n            },\n            {\n                \"id\": 953,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0852\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Muhammad Afif Bin Md Sani \"\n            },\n            {\n                \"id\": 952,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0851\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"SaniChem Resources Sdn. Bhd.\"\n            },\n            {\n                \"id\": 951,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0850\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Nur Afiqah Aiman\"\n            },\n            {\n                \"id\": 950,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0849\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Hafiz Hashim\"\n            },\n            {\n                \"id\": 949,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0848\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n            },\n            {\n                \"id\": 948,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0847\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Tilpreet \"\n            },\n            {\n                \"id\": 947,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0846\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"FrogAsia \"\n            },\n            {\n                \"id\": 946,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0845\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Rebecca\"\n            },\n            {\n                \"id\": 945,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0844\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Lion Machinery Supply Sdn Bhd\"\n            },\n            {\n                \"id\": 943,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0842\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Luqman\"\n            },\n            {\n                \"id\": 942,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0841\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"UTAR - Universiti Tungku Abdul Rahman\"\n            },\n            {\n                \"id\": 941,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0840\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"NSK GROCER SDN BHD\"\n            },\n            {\n                \"id\": 940,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0839\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Kim Yoong\"\n            },\n            {\n                \"id\": 939,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0838\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Red Dino \"\n            },\n            {\n                \"id\": 938,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0837\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Faiz Fahmi\"\n            },\n            {\n                \"id\": 937,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0836\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"SYSTEMATIC AVIATION SERVICES SDN BHD\"\n            },\n            {\n                \"id\": 936,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0835\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Tom - Ministry Of Finance\"\n            },\n            {\n                \"id\": 935,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0834\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Tom\"\n            },\n            {\n                \"id\": 934,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0833\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"OUS Group\"\n            },\n            {\n                \"id\": 933,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0832\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Chong J Y\"\n            },\n            {\n                \"id\": 932,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0831\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"How Mei Fang\"\n            },\n            {\n                \"id\": 931,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0830\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Elfi Jewellery\"\n            },\n            {\n                \"id\": 930,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0829\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Atiqah - \"\n            },\n            {\n                \"id\": 928,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0828\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Najwa\"\n            },\n            {\n                \"id\": 927,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0827\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sklew Biotech\"\n            },\n            {\n                \"id\": 926,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0826\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Drom Lux Ltd.\"\n            },\n            {\n                \"id\": 925,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0825\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"CCBC VENTURE SDN BHD\"\n            },\n            {\n                \"id\": 924,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0824\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shah Putra\"\n            },\n            {\n                \"id\": 923,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0823\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"SP REAL TRADE\"\n            },\n            {\n                \"id\": 922,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0822\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Breadstory (1 Utama)\"\n            },\n            {\n                \"id\": 921,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0821\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ms. Goh Sim Cheng\"\n            },\n            {\n                \"id\": 920,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0820\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Seasonings Specialities Sdn Bhd\"\n            },\n            {\n                \"id\": 919,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0819\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mun kIt \"\n            },\n            {\n                \"id\": 918,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0818\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Makna Setia Sdn Bhd\"\n            },\n            {\n                \"id\": 917,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0817\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Union Chain Group Sdn Bhd \"\n            },\n            {\n                \"id\": 916,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0816\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Kenny Leow\"\n            },\n            {\n                \"id\": 915,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0815\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Chong\"\n            },\n            {\n                \"id\": 914,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0814\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"CHIAN HARDWARE & FASTENER SDN BHD\"\n            },\n            {\n                \"id\": 913,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0813\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n            },\n            {\n                \"id\": 911,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0812\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Eleen Tan\"\n            },\n            {\n                \"id\": 910,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0811\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Becky Yap\"\n            },\n            {\n                \"id\": 909,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0810\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Emma\"\n            },\n            {\n                \"id\": 908,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0809\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Emax Beaute international Sdn Bhd\"\n            },\n            {\n                \"id\": 907,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0808\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ryan Lee\"\n            },\n            {\n                \"id\": 906,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0807\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Gintell (M) Sdn Bhd\"\n            },\n            {\n                \"id\": 905,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0806\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Suwei\"\n            },\n            {\n                \"id\": 904,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0805\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Eco & Green Exhibition Sdn Bhd\"\n            },\n            {\n                \"id\": 903,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0804\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Cynthia Musa\"\n            },\n            {\n                \"id\": 902,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0803\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"WarongKu\"\n            },\n            {\n                \"id\": 901,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0802\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Winnie \"\n            },\n            {\n                \"id\": 900,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0801\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Utopia Valley Sdn Bhd\"\n            },\n            {\n                \"id\": 899,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0800\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"CK Rahim Sdn Bhd\"\n            },\n            {\n                \"id\": 897,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0799\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Puan Nurul\"\n            },\n            {\n                \"id\": 896,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0798\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ken\"\n            },\n            {\n                \"id\": 895,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0797\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Clover Cafe \"\n            },\n            {\n                \"id\": 894,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0796\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ken Chia\"\n            },\n            {\n                \"id\": 893,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0795\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mode Fragrance\"\n            },\n            {\n                \"id\": 892,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0794\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"DR. PK Santha Kumar\"\n            },\n            {\n                \"id\": 891,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0793\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Techtide Global Resources\"\n            },\n            {\n                \"id\": 890,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0792\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"LTI Resources Sdn. Bhd.\"\n            },\n            {\n                \"id\": 889,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0791\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"ES INTERNATIONAL EVENT MANAGEMENT SDN BHD\"\n            },\n            {\n                \"id\": 888,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0790\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Hanim\"\n            },\n            {\n                \"id\": 887,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0789\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"GPE Tech Solution \"\n            },\n            {\n                \"id\": 886,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0788\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Platinum Sentral\"\n            },\n            {\n                \"id\": 885,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0787\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Siti Zuraidah\"\n            },\n            {\n                \"id\": 884,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0786\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Koputra\"\n            },\n            {\n                \"id\": 883,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0785\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"PROTOSS IT SDN BHD\"\n            },\n            {\n                \"id\": 882,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0784\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Quester \"\n            },\n            {\n                \"id\": 881,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0783\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Property & Food \"\n            },\n            {\n                \"id\": 880,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0782\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Lehnneesh\"\n            },\n            {\n                \"id\": 879,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0781\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"eMed Asia\"\n            },\n            {\n                \"id\": 878,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0780\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"James Sandi\"\n            },\n            {\n                \"id\": 877,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0779\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Rurutiki Sdn Bhd\"\n            },\n            {\n                \"id\": 876,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0778\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"AVIMATIC SDN BHD\"\n            },\n            {\n                \"id\": 875,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0777\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"BEH\"\n            },\n            {\n                \"id\": 874,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0776\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Techstream Sdn Bhd\"\n            },\n            {\n                \"id\": 873,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0775\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Edmond Chan\"\n            },\n            {\n                \"id\": 870,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0774\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Newton Technology Group\"\n            },\n            {\n                \"id\": 869,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0773\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Link Learn\"\n            },\n            {\n                \"id\": 868,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0772\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Fernandez\"\n            },\n            {\n                \"id\": 867,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0771\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Justin Lee\"\n            },\n            {\n                \"id\": 866,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0770\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"DGB Networks Sdn.Bhd.\"\n            },\n            {\n                \"id\": 865,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0769\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Angel \"\n            },\n            {\n                \"id\": 864,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0768\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"ES Crane Trading\"\n            },\n            {\n                \"id\": 863,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0767\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Checkers Hypermarket Sdn Bhd\"\n            },\n            {\n                \"id\": 862,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0766\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ms. Alya \"\n            },\n            {\n                \"id\": 861,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0765\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"MBP Solutions Sdn Bhd\"\n            },\n            {\n                \"id\": 860,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0764\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Aiman\"\n            },\n            {\n                \"id\": 859,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0763\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"SNS Medica\"\n            },\n            {\n                \"id\": 858,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0762\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Red Dino\"\n            },\n            {\n                \"id\": 857,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0761\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sebastian Wee\"\n            },\n            {\n                \"id\": 856,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0760\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ms Faz \"\n            },\n            {\n                \"id\": 855,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0759\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Grand Continental Hotel\"\n            },\n            {\n                \"id\": 854,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0758\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Chin Ji Hsia\"\n            },\n            {\n                \"id\": 853,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0757\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Bosch Malaysia\"\n            },\n            {\n                \"id\": 852,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0756\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"TS BRILLIANT CONSTRUCTION SDN BHD\"\n            },\n            {\n                \"id\": 851,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0755\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"SIDEC Sdn Bhd\"\n            },\n            {\n                \"id\": 850,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0754\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Signature Valley Enterprise (002530035-W)\"\n            },\n            {\n                \"id\": 849,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0753\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sammy \"\n            },\n            {\n                \"id\": 848,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0752\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Celovis Malaysia \"\n            },\n            {\n                \"id\": 847,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0751\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sayed \"\n            },\n            {\n                \"id\": 846,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0750\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Nura \"\n            },\n            {\n                \"id\": 845,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0749\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Go More Printing\"\n            },\n            {\n                \"id\": 844,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0748\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Foo Chee Shan \"\n            },\n            {\n                \"id\": 843,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0747\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Domos\"\n            },\n            {\n                \"id\": 842,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0746\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Al-Araff Shah\"\n            },\n            {\n                \"id\": 841,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0745\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Estilo Media\"\n            },\n            {\n                \"id\": 840,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0744\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Irfan Ali\"\n            },\n            {\n                \"id\": 839,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0743\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"ifixtech \"\n            },\n            {\n                \"id\": 838,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0742\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Lalamove Delivery\"\n            },\n            {\n                \"id\": 837,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0741\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Berry's Cake House Sdn Bhd\"\n            },\n            {\n                \"id\": 836,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0740\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Tom - Hayat \"\n            },\n            {\n                \"id\": 835,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0739\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Hayat AutoTech \"\n            },\n            {\n                \"id\": 834,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0738\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mr Chong \"\n            },\n            {\n                \"id\": 833,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0737\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"CY Plastic \"\n            },\n            {\n                \"id\": 832,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0736\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sanko Plastic (Malaysia) Sdn Bhd\"\n            },\n            {\n                \"id\": 830,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0735\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Yap Ooi Kok\"\n            },\n            {\n                \"id\": 829,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0734\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Expenses Claim\"\n            },\n            {\n                \"id\": 828,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0733\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mohd Azri Chok\"\n            },\n            {\n                \"id\": 827,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0732\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"SKY Blue Media\"\n            },\n            {\n                \"id\": 826,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0731\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Yap Boon \"\n            },\n            {\n                \"id\": 825,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0730\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"YAL Bulk Packing Service\"\n            },\n            {\n                \"id\": 824,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0729\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Urban Wowzer Sdn Bhd\"\n            },\n            {\n                \"id\": 823,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0728\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"White Umbrella Sdn. Bhd\"\n            },\n            {\n                \"id\": 822,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0727\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ms Flo\"\n            },\n            {\n                \"id\": 820,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0725\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"A Shutters \"\n            },\n            {\n                \"id\": 819,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0724\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mr.CK Leo\"\n            },\n            {\n                \"id\": 818,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0723\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Heritage House Legacy Sdn Bhd\"\n            },\n            {\n                \"id\": 817,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0722\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ms. Sara\"\n            },\n            {\n                \"id\": 816,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0721\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Kapten Batik\"\n            },\n            {\n                \"id\": 815,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0720\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ms Chan (Nilai)\"\n            },\n            {\n                \"id\": 814,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0719\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Zulaikha (LY Steel)\"\n            },\n            {\n                \"id\": 813,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0718\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jay Shan\"\n            },\n            {\n                \"id\": 812,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0717\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Karen \"\n            },\n            {\n                \"id\": 811,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0716\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Perbadanan Putrajaya\"\n            },\n            {\n                \"id\": 810,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0715\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Monday.com, Ltd\"\n            },\n            {\n                \"id\": 809,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0714\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"K-Fry Urban Korean\"\n            },\n            {\n                \"id\": 808,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0713\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Des\"\n            },\n            {\n                \"id\": 807,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0712\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"J Fleur Blossom \"\n            },\n            {\n                \"id\": 805,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": {\n                    \"id\": 8,\n                    \"name\": \"Admin\"\n                },\n                \"code\": \"C-0710\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Al Junior Ventures Services Sdn.Bhd.\"\n            },\n            {\n                \"id\": 804,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0709\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"7-Eleven\"\n            },\n            {\n                \"id\": 803,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0708\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"SULOMAS SDN BHD\"\n            },\n            {\n                \"id\": 802,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0707\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mr Soo\"\n            },\n            {\n                \"id\": 801,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0706\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Nam Tat Trading\"\n            },\n            {\n                \"id\": 799,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0704\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Syslab Technologies Sdn Bhd\"\n            },\n            {\n                \"id\": 798,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0703\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"SLF TECHNOLOGY SDN BHD\"\n            },\n            {\n                \"id\": 797,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0702\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"NOR ATIQAH BINTI NOR\"\n            },\n            {\n                \"id\": 793,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0699\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Charlie \"\n            },\n            {\n                \"id\": 792,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0698\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"CENTURY MARK PACIFIC MARKETING SDN BHD\"\n            },\n            {\n                \"id\": 791,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0697\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"SC COOL SERVICES\"\n            },\n            {\n                \"id\": 790,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": {\n                    \"id\": 8,\n                    \"name\": \"Admin\"\n                },\n                \"code\": \"C-0696\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Gapurnapermai (Costa Coffe)\"\n            },\n            {\n                \"id\": 789,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0695\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Nick Chong\"\n            },\n            {\n                \"id\": 788,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0694\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Petersime \"\n            },\n            {\n                \"id\": 787,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0693\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Karen\"\n            },\n            {\n                \"id\": 786,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0692\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Muhammad Aril\"\n            },\n            {\n                \"id\": 785,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0691\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Emerging EPC Sdn Bhd\"\n            },\n            {\n                \"id\": 784,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0690\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Bryan \"\n            },\n            {\n                \"id\": 783,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"code\": \"C-0689\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mark\"\n            },\n            {\n                \"id\": 782,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0688\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Turkish Cafe Istanbul\"\n            },\n            {\n                \"id\": 781,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0687\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"99 Speed Mart\"\n            },\n            {\n                \"id\": 780,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0686\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Joe\"\n            },\n            {\n                \"id\": 779,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0685\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Tom\"\n            },\n            {\n                \"id\": 778,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0684\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Lee Kuan\"\n            },\n            {\n                \"id\": 777,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0683\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Lee Kuan \"\n            },\n            {\n                \"id\": 776,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"code\": \"C-0682\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"OSK Construction Sdn Bhd\"\n            },\n            {\n                \"id\": 775,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0681\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Maz\"\n            },\n            {\n                \"id\": 774,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0680\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mr Chan\"\n            },\n            {\n                \"id\": 772,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0678\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Allan\"\n            },\n            {\n                \"id\": 771,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0677\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Frank Lee\"\n            },\n            {\n                \"id\": 770,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0676\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Frank lee\"\n            },\n            {\n                \"id\": 769,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0675\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"My SST\"\n            },\n            {\n                \"id\": 768,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0674\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Patric Tam\"\n            },\n            {\n                \"id\": 767,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0673\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Patrick Tam\"\n            },\n            {\n                \"id\": 766,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0672\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"MQCC- MindQuest Consulting & Coaching\"\n            },\n            {\n                \"id\": 765,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0670\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"RPD SD.BHD.\"\n            },\n            {\n                \"id\": 764,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0669\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sook Huey \"\n            },\n            {\n                \"id\": 763,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0668\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Flowfuel Sdn Bhd\"\n            },\n            {\n                \"id\": 762,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0667\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Admond\"\n            },\n            {\n                \"id\": 761,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"Kingsley\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Kingsley \"\n            },\n            {\n                \"id\": 760,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0671\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Edmund\"\n            },\n            {\n                \"id\": 759,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0666\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"BOB Bob\"\n            },\n            {\n                \"id\": 758,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0665\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Aziz bin Juniah\"\n            },\n            {\n                \"id\": 757,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0664\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shapadu Trans-System Sdn Bhd\"\n            },\n            {\n                \"id\": 756,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0663\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"RHB Bank\"\n            },\n            {\n                \"id\": 755,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0662\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Raymond Chong\"\n            },\n            {\n                \"id\": 753,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0660\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Zhongshan Loease Electronic Technology\"\n            },\n            {\n                \"id\": 752,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0659\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"L&Y GREAT ENTERPRISE\"\n            },\n            {\n                \"id\": 751,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0658\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Pang Sin Yang\"\n            },\n            {\n                \"id\": 750,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0657\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mohammad Chow  Rest\"\n            },\n            {\n                \"id\": 749,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0656\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Eddy Chen \"\n            },\n            {\n                \"id\": 748,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0655\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"KPG Synergy Sdn Bhd (307828-P)\"\n            },\n            {\n                \"id\": 747,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0654\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"AM Solution\"\n            },\n            {\n                \"id\": 746,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0653\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Chin Yi XIang\"\n            },\n            {\n                \"id\": 744,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0652\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jaslyn Tang\"\n            },\n            {\n                \"id\": 743,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0651\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"RICCA PEACOCK ASIA SDN BHD\"\n            },\n            {\n                \"id\": 742,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0650\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Velo Resources (CT0092534-W)\"\n            },\n            {\n                \"id\": 740,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0648\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Nurul\"\n            },\n            {\n                \"id\": 739,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0647\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Home Platform Sdn Bhd\"\n            },\n            {\n                \"id\": 738,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0646\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Adrienne Tan\"\n            },\n            {\n                \"id\": 737,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0645\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"A&A Plastic Industries Sdn Bhd\"\n            },\n            {\n                \"id\": 736,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0644\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Lenovo\"\n            },\n            {\n                \"id\": 735,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0643\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Vikki\"\n            },\n            {\n                \"id\": 734,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0642\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Apple Store\"\n            },\n            {\n                \"id\": 733,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0640\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"MAPC Sdn Bhd (1058586M)\"\n            },\n            {\n                \"id\": 732,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0641\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ms. Lyn\"\n            },\n            {\n                \"id\": 731,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0639\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Fly Office Supply\"\n            },\n            {\n                \"id\": 730,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0638\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"APO (Malaysia) Sdn Bhd\"\n            },\n            {\n                \"id\": 729,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0637\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Bergamot Sdn Bhd\"\n            },\n            {\n                \"id\": 727,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0636\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Immanuel\"\n            },\n            {\n                \"id\": 726,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0635\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Bizsphere Sdn. Bhd. (860222-P)\"\n            },\n            {\n                \"id\": 725,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0634\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"HappyFresh\"\n            },\n            {\n                \"id\": 724,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0633\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"koperasi MATRADE Kuala Lumpur Berhad\"\n            },\n            {\n                \"id\": 723,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0632\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Petronas\"\n            },\n            {\n                \"id\": 722,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0631\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Trendcell Sdn Bhd\"\n            },\n            {\n                \"id\": 720,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0629\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Frontline Cosmeceuticals (M) Sdn. Bhd\"\n            },\n            {\n                \"id\": 719,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0628\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Irene \"\n            },\n            {\n                \"id\": 718,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0627\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"AAP ASIA APPAREL SDN BHD\"\n            },\n            {\n                \"id\": 717,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0626\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Public Key Services\"\n            },\n            {\n                \"id\": 716,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0625\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Cubic Letrik Sdn. Bhd. [0166837D]\"\n            },\n            {\n                \"id\": 715,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0624\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Yuvarajah\"\n            },\n            {\n                \"id\": 714,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0623\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Small and Medium Enterprises Assocation (SAMENTA)\"\n            },\n            {\n                \"id\": 713,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0622\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ryan\"\n            },\n            {\n                \"id\": 712,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0621\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Alan Lim\"\n            },\n            {\n                \"id\": 711,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0620\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sushi Go Enterprise\"\n            },\n            {\n                \"id\": 710,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0619\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shell\"\n            },\n            {\n                \"id\": 709,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0618\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sathish\"\n            },\n            {\n                \"id\": 708,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0617\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"catridge station\"\n            },\n            {\n                \"id\": 707,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0616\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sky Resources Sdn. Bhd.\"\n            },\n            {\n                \"id\": 706,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0615\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Irene\"\n            },\n            {\n                \"id\": 705,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0614\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Austin Powder Sdn Bhd\"\n            },\n            {\n                \"id\": 704,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0613\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Haizad Hamzah\"\n            },\n            {\n                \"id\": 703,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0612\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ms Jessica Lum\"\n            },\n            {\n                \"id\": 702,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0611\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Cash Sales\"\n            },\n            {\n                \"id\": 701,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0610\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"WillFront Sdn Bhd\"\n            },\n            {\n                \"id\": 700,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0609\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ng Chee Meng\"\n            },\n            {\n                \"id\": 699,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0608\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Siew\"\n            },\n            {\n                \"id\": 698,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0607\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Gruppe Marketing Sdn Bhd\"\n            },\n            {\n                \"id\": 697,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0606\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"MindQuest Consulting & Coaching\"\n            },\n            {\n                \"id\": 696,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0605\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Faiz\"\n            },\n            {\n                \"id\": 695,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0604\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"CM Express Solution\"\n            },\n            {\n                \"id\": 694,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0603\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"MOHD FAZLI BIN ABD RAHIM\"\n            },\n            {\n                \"id\": 693,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0602\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Wong Xiu Ling\"\n            },\n            {\n                \"id\": 692,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0601\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": {\n                    \"id\": 1,\n                    \"name\": \"Malaysia\"\n                },\n                \"name\": \"CT Warehousing And Distribution Sdn Bhd\"\n            },\n            {\n                \"id\": 691,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0600\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sau Pin\"\n            },\n            {\n                \"id\": 690,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0599\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"THUNDER PRINT Sdn Bhd.\"\n            },\n            {\n                \"id\": 689,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0598\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Inactiv.com Media Solutions Pvt Ltd (Malcare)\"\n            },\n            {\n                \"id\": 687,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0596\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"PA EXPRESS SDN BHD\"\n            },\n            {\n                \"id\": 686,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0595\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Din Qayyim Synergy Sdn Bhd (MBE)\"\n            },\n            {\n                \"id\": 685,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0594\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"SME Corporation Malaysia (SME Corp. Malaysia)\"\n            },\n            {\n                \"id\": 684,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0593\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ms Lim\"\n            },\n            {\n                \"id\": 683,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0592\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Vistage Asia Sdn Bhd\"\n            },\n            {\n                \"id\": 682,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0591\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"A9 CCTV\"\n            },\n            {\n                \"id\": 681,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0590\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"EasyParcel\"\n            },\n            {\n                \"id\": 680,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0589\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Chloe Wong Yan Tshin\"\n            },\n            {\n                \"id\": 679,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0588\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"BlueSnap, Inc\"\n            },\n            {\n                \"id\": 678,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0587\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"M3 Venture Sdn Bhd\"\n            },\n            {\n                \"id\": 677,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0586\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Zeon Cheong\"\n            },\n            {\n                \"id\": 676,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0585\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Eco World Wellness M Sdn. Bhd.\"\n            },\n            {\n                \"id\": 674,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0583\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"APEX KNOWLEDGE SDN. BHD.\"\n            },\n            {\n                \"id\": 673,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0582\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jayasree Mary\"\n            },\n            {\n                \"id\": 671,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0581\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Rigel Technology (M) Sdn Bhd\"\n            },\n            {\n                \"id\": 670,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0580\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ms Sofiah Maya Sari Samjuhari \"\n            },\n            {\n                \"id\": 669,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0579\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jumbo Fruit Trading (M) S/B.\"\n            },\n            {\n                \"id\": 668,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0578\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Verdastro Sdn Bhd\"\n            },\n            {\n                \"id\": 667,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0577\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Joanne Chan\"\n            },\n            {\n                \"id\": 666,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0576\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n            },\n            {\n                \"id\": 665,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0575\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sakhr Ahmed Hatem\"\n            },\n            {\n                \"id\": 664,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0574\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Zati\"\n            },\n            {\n                \"id\": 663,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0573\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"ATV SPORT AND STYLE SDN BHD\"\n            },\n            {\n                \"id\": 662,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0572\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Koh Lee Pang\"\n            },\n            {\n                \"id\": 661,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0571\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Grand Meltique Food Trading Sdn. Bhd. \"\n            },\n            {\n                \"id\": 660,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0570\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sandy Low\"\n            },\n            {\n                \"id\": 659,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0569\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Lim JiaWen\"\n            },\n            {\n                \"id\": 658,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0568\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"MMC International Fulfilment Center\"\n            },\n            {\n                \"id\": 657,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0567\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Cheminent Services Sdn. Bhd. \"\n            },\n            {\n                \"id\": 656,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0566\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Joyce Lee\"\n            },\n            {\n                \"id\": 654,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0565\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ampmech Sdn Bhd\"\n            },\n            {\n                \"id\": 653,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0564\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Hong Tak Engineering Sdn Bhd (425775-U)\"\n            },\n            {\n                \"id\": 651,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0563\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Peng Teck Yeaw\"\n            },\n            {\n                \"id\": 650,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0562\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"DRN Manufacturing Sdn Bhd\"\n            },\n            {\n                \"id\": 649,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0561\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Hadi\"\n            },\n            {\n                \"id\": 648,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0560\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Facebook, Inc.\"\n            },\n            {\n                \"id\": 647,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0559\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"BP CLINICAL LAB SDN BHD\"\n            },\n            {\n                \"id\": 646,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0558\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"NEUERA PACKAGING SDN BHD (1169942-V)\"\n            },\n            {\n                \"id\": 645,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0557\",\n                \"categ_id\": {\n                    \"id\": 2,\n                    \"name\": \"e-Comm\"\n                },\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Lazada (LBB)\"\n            },\n            {\n                \"id\": 644,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0556\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"ANG STORE\"\n            },\n            {\n                \"id\": 643,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0555\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"NT Shop Sdn Bhd\"\n            },\n            {\n                \"id\": 642,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0554\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Suntex Locksmith Centre\"\n            },\n            {\n                \"id\": 641,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0553\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"SY Digital Print Sdn Bhd (Co. No.: 1284665-W)\"\n            },\n            {\n                \"id\": 640,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0552\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Megah Inovatif Sdn Bhd\"\n            },\n            {\n                \"id\": 639,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0551\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"One Hygienic Sdn Bhd (881454-V)\"\n            },\n            {\n                \"id\": 638,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0550\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jin Xi Cheong\"\n            },\n            {\n                \"id\": 637,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0549\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Poladrone Solutions Sdn Bhd\"\n            },\n            {\n                \"id\": 636,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0548\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Persatuan Pengusaha Kecil dan Sederhana Malaysia (PPM-001-10-13071995)\"\n            },\n            {\n                \"id\": 635,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0547\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Suzanne, Lye, Fairuz & Yaw\"\n            },\n            {\n                \"id\": 634,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0546\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"JJ Paw\"\n            },\n            {\n                \"id\": 632,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0545\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mighty Bakery Sdn Bhd (358975-H)\"\n            },\n            {\n                \"id\": 631,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0544\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shenzhen Yiqi International Logistics Co., Ltd.\"\n            },\n            {\n                \"id\": 630,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0543\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Yap Poh Har (Jasmine)\"\n            },\n            {\n                \"id\": 629,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0542\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"CHUNG KAI LENG\"\n            },\n            {\n                \"id\": 628,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0541\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Test Supplier\"\n            },\n            {\n                \"id\": 627,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0540\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Digital River Ireland, Ltd.\"\n            },\n            {\n                \"id\": 626,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0539\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Grabfood\"\n            },\n            {\n                \"id\": 625,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0538\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"SL Mailbox Sdn Bhd\"\n            },\n            {\n                \"id\": 624,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0537\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"JUST GOOD GROCER SDN BHD (1242073-T)\"\n            },\n            {\n                \"id\": 623,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0536\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shenzhen Luwei Technology Co., Ltd.\"\n            },\n            {\n                \"id\": 622,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0535\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sato\"\n            },\n            {\n                \"id\": 621,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0534\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"YST Ewarehouse Sdn Bhd\"\n            },\n            {\n                \"id\": 620,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0533\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sticker Pro\"\n            },\n            {\n                \"id\": 619,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0532\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jessica Lum \"\n            },\n            {\n                \"id\": 618,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0531\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Panwrite Plastic Industries Sdn Bhd\"\n            },\n            {\n                \"id\": 617,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0530\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"ADASTRA Intelectual Property Sdn. Bhd. (669684-U)\"\n            },\n            {\n                \"id\": 616,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0529\",\n                \"categ_id\": {\n                    \"id\": 2,\n                    \"name\": \"e-Comm\"\n                },\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shopee (Little BeeBoo)\"\n            },\n            {\n                \"id\": 614,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0528\",\n                \"categ_id\": {\n                    \"id\": 2,\n                    \"name\": \"e-Comm\"\n                },\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shopee (Zeox)\"\n            },\n            {\n                \"id\": 613,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0527\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shopee (Zeek Mall)\"\n            },\n            {\n                \"id\": 612,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0526\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Guangzhou Manon Clothing Co., Ltd.\"\n            },\n            {\n                \"id\": 611,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0525\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shenzhen Qinghong Toys Co., Ltd.\"\n            },\n            {\n                \"id\": 610,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0524\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Stan (Shenzhen) Technology Co., Ltd\"\n            },\n            {\n                \"id\": 609,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0523\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Dongguan Tediton Intelligent Technology Co., Ltd.\"\n            },\n            {\n                \"id\": 608,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0522\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jade Tan\"\n            },\n            {\n                \"id\": 607,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0521\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Park Games Equipment (M) Sdn Bhd (329704-H)\"\n            },\n            {\n                \"id\": 606,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0520\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"UOB Bank\"\n            },\n            {\n                \"id\": 605,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0519\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mail Boxes Etc (MBE) @ 3 Damansara\"\n            },\n            {\n                \"id\": 604,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0518\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jasmine See\"\n            },\n            {\n                \"id\": 603,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0517\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"KONE Elevator (M) Sdn Bhd\"\n            },\n            {\n                \"id\": 602,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0516\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shenzhen JinBeiEr Intellectual System Limited Company\"\n            },\n            {\n                \"id\": 601,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0515\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Yiwu Jiehao Maternal Baby Product Co., Ltd.\"\n            },\n            {\n                \"id\": 600,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0514\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jacky Wong\"\n            },\n            {\n                \"id\": 599,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0513\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Synerchem Sdn Bhd\"\n            },\n            {\n                \"id\": 598,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0512\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Changsha Loriya Garment Co., Ltd.\"\n            },\n            {\n                \"id\": 597,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0511\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"SHOP ANYWHERE ENTERPRISE (002633053-K)\"\n            },\n            {\n                \"id\": 596,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0510\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Foshan Dafar Garment Co., Ltd.\"\n            },\n            {\n                \"id\": 595,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0509\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Gansu Shengjiahua Trading Co., Ltd.\"\n            },\n            {\n                \"id\": 594,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0508\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Thing Tock Heng\"\n            },\n            {\n                \"id\": 593,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0507\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Lazada (ZeekMall)\"\n            },\n            {\n                \"id\": 592,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0506\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Lim Chee Yiing\"\n            },\n            {\n                \"id\": 591,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0505\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Choy Sheng Hang\"\n            },\n            {\n                \"id\": 590,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0504\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Siti Khalida binti Ramani @Abdullah\"\n            },\n            {\n                \"id\": 589,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0503\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shenzhen Best Cultural Gift Co., Ltd\"\n            },\n            {\n                \"id\": 588,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0502\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shawn Tan\"\n            },\n            {\n                \"id\": 587,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0501\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"MYXO CO. SDN. BHD. (Co Reg No.: 587049-V)\"\n            },\n            {\n                \"id\": 586,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0500\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"SIRIM Berhad\"\n            },\n            {\n                \"id\": 585,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0499\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Yiwu City Kuolove Crafts Co., Ltd.\"\n            },\n            {\n                \"id\": 584,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0498\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Dongguan Auschalink Fashion Garment Co., Ltd.\"\n            },\n            {\n                \"id\": 583,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0497\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Yiwu Zo Arts & Crafts Co., Ltd.\"\n            },\n            {\n                \"id\": 582,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0496\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Yiwu Qingkui Baby Products Co., Ltd.\"\n            },\n            {\n                \"id\": 581,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0495\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Dongguan Ma Mi Love Clothing Co., Ltd.\"\n            },\n            {\n                \"id\": 580,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0494\",\n                \"categ_id\": {\n                    \"id\": 2,\n                    \"name\": \"e-Comm\"\n                },\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Lazada (Zeekiot)\"\n            },\n            {\n                \"id\": 579,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0493\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Huizhou Aichen Technology Co., Ltd.\"\n            },\n            {\n                \"id\": 578,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0492\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Abdul Halim Chew\"\n            },\n            {\n                \"id\": 577,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0491\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shenzhen Geekroom E-Commerce Co., Ltd.\"\n            },\n            {\n                \"id\": 576,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0490\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"SiteGiant Sdn. Bhd\"\n            },\n            {\n                \"id\": 575,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0489\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"AIA Berhad\"\n            },\n            {\n                \"id\": 574,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0488\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mabel\"\n            },\n            {\n                \"id\": 573,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0487\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Solartech Sales & Service Sdn Bhd\"\n            },\n            {\n                \"id\": 572,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0486\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Kelvin Soo\"\n            },\n            {\n                \"id\": 571,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0485\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Pascal Engineering Sdn. Bhd. (601187-K)\"\n            },\n            {\n                \"id\": 570,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0484\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Iotech (Shenzhen) Co., Ltd.\"\n            },\n            {\n                \"id\": 569,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0483\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shenzhen Guba Innovation Technology Co., Ltd.\"\n            },\n            {\n                \"id\": 568,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0482\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n            },\n            {\n                \"id\": 567,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0481\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"universalgadgets (shopee)\"\n            },\n            {\n                \"id\": 566,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0480\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Yeahhost Sdn. Bhd.\"\n            },\n            {\n                \"id\": 565,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0479\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ivan Seah\"\n            },\n            {\n                \"id\": 564,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0478\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Load 2 Go Logistic Sdn Bhd (1240516-H)\"\n            },\n            {\n                \"id\": 563,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0477\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Zhongshan Shesheng Electronics Co., Ltd.\"\n            },\n            {\n                \"id\": 562,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0476\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ningbo Dooda Electronic Technology Co., Ltd.\"\n            },\n            {\n                \"id\": 561,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0475\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jiaxing Joyan Houseware Products Co., Ltd.\"\n            },\n            {\n                \"id\": 560,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0474\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shanghai Hifly Industry Company Limited\"\n            },\n            {\n                \"id\": 559,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0473\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ningbo Mingzhi Electronic Technology Company Limited\"\n            },\n            {\n                \"id\": 558,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0472\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shenzhen Daojia Electronic Technology Co., Ltd.\"\n            },\n            {\n                \"id\": 557,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0471\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Hangzhou Changjiang Electronics Co., Ltd.\"\n            },\n            {\n                \"id\": 556,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0470\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shantou Yuming Hardware Electronics Co., Ltd.\"\n            },\n            {\n                \"id\": 555,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0469\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shenzhen Eastech Company Limited\"\n            },\n            {\n                \"id\": 554,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0468\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shenzhen Sihaijialan Electronic Technology Co., Ltd.\"\n            },\n            {\n                \"id\": 553,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0467\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Dongguan Amplec Electronic Co., Ltd.\"\n            },\n            {\n                \"id\": 552,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0466\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shenzhen Sycreader RFID Technology Co., Ltd.\"\n            },\n            {\n                \"id\": 551,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0465\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mr Low Wei Hao\"\n            },\n            {\n                \"id\": 550,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0464\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Brightmount Trading Sdn Bhd\"\n            },\n            {\n                \"id\": 549,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0463\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jasmine Kim\"\n            },\n            {\n                \"id\": 548,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0462\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"KJL Solutions (002426240-T)\"\n            },\n            {\n                \"id\": 547,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0461\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shenzhen Shangjian Technology Co., Ltd.\"\n            },\n            {\n                \"id\": 545,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0460\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Alibaba.com\"\n            },\n            {\n                \"id\": 544,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0459\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Azahari\"\n            },\n            {\n                \"id\": 543,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0458\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Proton Commerce Sdn. Bhd\"\n            },\n            {\n                \"id\": 542,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0457\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"ZI SENG COURIER SERVICE\"\n            },\n            {\n                \"id\": 541,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0456\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"HEUS SDN. BHD.\"\n            },\n            {\n                \"id\": 540,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0455\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shenzhen Sunany Technology Limited\"\n            },\n            {\n                \"id\": 539,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0454\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"CJ Legend Technology Company Limited\"\n            },\n            {\n                \"id\": 538,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0453\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shenzhen Smartrol Technology Limited\"\n            },\n            {\n                \"id\": 537,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0452\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Pgeon Express Sdn.Bhd\"\n            },\n            {\n                \"id\": 536,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0451\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Test\"\n            },\n            {\n                \"id\": 535,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0450\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Eugene Tham\"\n            },\n            {\n                \"id\": 534,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0449\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Craftiviti Sdn. Bhd. (1125727-K)\"\n            },\n            {\n                \"id\": 533,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0448\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Raffcomm Sdn Bhd (499519-U) - [SSM e-Info]\"\n            },\n            {\n                \"id\": 532,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0447\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"ginmeitick\"\n            },\n            {\n                \"id\": 531,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0446\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Alexin Liew\"\n            },\n            {\n                \"id\": 530,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0445\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Kuen Engineering & Trading Sdn Bhd (604189-A)\"\n            },\n            {\n                \"id\": 529,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0444\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mr Yong\"\n            },\n            {\n                \"id\": 528,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0443\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Budiwata Sdn.Bhd.\"\n            },\n            {\n                \"id\": 527,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0442\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sun Man Boh Thong Trading\"\n            },\n            {\n                \"id\": 526,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0441\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shenzhen Blovedream Technology Co., Ltd.\"\n            },\n            {\n                \"id\": 525,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0440\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Guangzhou Netum Electronic Technology Co., Ltd.\"\n            },\n            {\n                \"id\": 524,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0439\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shenzhen Ketaisheng Technology Co., Ltd.\"\n            },\n            {\n                \"id\": 523,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0438\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Salim\"\n            },\n            {\n                \"id\": 522,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0437\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Wah Kong Corporation Sdn Bhd\"\n            },\n            {\n                \"id\": 521,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0436\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Grab\"\n            },\n            {\n                \"id\": 520,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0435\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jack Thong\"\n            },\n            {\n                \"id\": 519,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0434\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Rundo Food Sdn Bhd (875000-M)\"\n            },\n            {\n                \"id\": 518,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0433\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Agensi Pekerjaan Ajobthing Sdn Bhd 1036935-K\"\n            },\n            {\n                \"id\": 517,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0432\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Chicken Plus\"\n            },\n            {\n                \"id\": 516,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0431\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"biggorgeous\"\n            },\n            {\n                \"id\": 515,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0430\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Kenny Leow\"\n            },\n            {\n                \"id\": 514,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0429\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n            },\n            {\n                \"id\": 512,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0427\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Pinfosys Sdn Bhd\"\n            },\n            {\n                \"id\": 511,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0426\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"ooreeconcept\"\n            },\n            {\n                \"id\": 510,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0425\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Suzhou Eway Tech Co., Ltd.\"\n            },\n            {\n                \"id\": 509,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0424\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shenzhen Seesmart Display Technology Co., Ltd.\"\n            },\n            {\n                \"id\": 508,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0423\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shenzhen Starlight Wenhua Yishu Dianzi Shangwu Co., Ltd.\"\n            },\n            {\n                \"id\": 507,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0422\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ashley Tan\"\n            },\n            {\n                \"id\": 506,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0421\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Poon Wai Keat\"\n            },\n            {\n                \"id\": 505,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0420\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"BBSB Holdings Sdn Bhd\"\n            },\n            {\n                \"id\": 503,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0418\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Space Bazaar Sdn Bhd\"\n            },\n            {\n                \"id\": 502,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0417\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"cdtech\"\n            },\n            {\n                \"id\": 501,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0416\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"kpapa_venturee\"\n            },\n            {\n                \"id\": 500,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0415\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Daniel Chia\"\n            },\n            {\n                \"id\": 499,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0414\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ametal Tech Sdn Bhd (732515-P)\"\n            },\n            {\n                \"id\": 498,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0413\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Flavours Kitchen Sdn bhd\"\n            },\n            {\n                \"id\": 497,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0412\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Bexpress Marketing (M) Sdn Bhd (1152753-V)\"\n            },\n            {\n                \"id\": 496,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0411\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Bee Zhang Hong\"\n            },\n            {\n                \"id\": 495,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0410\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Lily Lee\"\n            },\n            {\n                \"id\": 494,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0409\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Wisdom Liberty\"\n            },\n            {\n                \"id\": 493,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0408\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ms Rina\"\n            },\n            {\n                \"id\": 492,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0407\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"AceTeam Networks Sdn Bhd \"\n            },\n            {\n                \"id\": 491,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0406\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mase Industries Sdn Bhd\"\n            },\n            {\n                \"id\": 490,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0405\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mr Ng Ling Ping\"\n            },\n            {\n                \"id\": 489,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0404\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Afiq\"\n            },\n            {\n                \"id\": 487,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0403\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Federation of Investment Managers Malaysia [199301017839 (272577-P)]\"\n            },\n            {\n                \"id\": 486,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0402\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Bank Simpanan National (BSN)\"\n            },\n            {\n                \"id\": 483,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0400\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Nazrien\"\n            },\n            {\n                \"id\": 482,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0399\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"SD Impex Sdn Bhd\"\n            },\n            {\n                \"id\": 481,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0398\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Laju Jaya Sdn Bhd\"\n            },\n            {\n                \"id\": 480,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0397\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Laman Seri Business Park\"\n            },\n            {\n                \"id\": 479,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0396\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mahkota Parking Sdn Bhd\"\n            },\n            {\n                \"id\": 478,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0395\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Luxor Tech Centre\"\n            },\n            {\n                \"id\": 477,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0394\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"South City Plaza (55873-H)\"\n            },\n            {\n                \"id\": 476,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0393\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"CYION Services Sdn Bhd\"\n            },\n            {\n                \"id\": 475,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0392\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Vivian Chin\"\n            },\n            {\n                \"id\": 474,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0391\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"G&A TRANSFORMATION SDN. BHD. (1104089-P)\"\n            },\n            {\n                \"id\": 473,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0390\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"DHL\"\n            },\n            {\n                \"id\": 472,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0389\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Guangzhou Luckydoor Electronic Equipment Co., Ltd.\"\n            },\n            {\n                \"id\": 471,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0388\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"LECOM Technology Limited\"\n            },\n            {\n                \"id\": 470,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0387\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"S. L. Chia\"\n            },\n            {\n                \"id\": 469,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0386\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"H.H. Precision Mould Sdn Bhd (131847-P)\"\n            },\n            {\n                \"id\": 468,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0385\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Porkbun LLC\"\n            },\n            {\n                \"id\": 467,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0384\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mr Thong\"\n            },\n            {\n                \"id\": 465,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0383\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n            },\n            {\n                \"id\": 464,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0382\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"VIMEO, Inc.\"\n            },\n            {\n                \"id\": 462,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0380\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Pesona Metro Sdn Bhd\"\n            },\n            {\n                \"id\": 460,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"code\": \"C-0378\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ken Lok\"\n            },\n            {\n                \"id\": 459,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0377\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Hail\"\n            },\n            {\n                \"id\": 458,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0376\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Alhani Trade Sdn. Bhd.\"\n            },\n            {\n                \"id\": 456,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0375\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"CF Wong\"\n            },\n            {\n                \"id\": 455,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0374\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Myangkasa Optikal Sdn Bhd\"\n            },\n            {\n                \"id\": 454,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0373\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Riomark (M) Sdn Bhd\"\n            },\n            {\n                \"id\": 453,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0372\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sunlight Pacific Sdn. Bhd.\"\n            },\n            {\n                \"id\": 452,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0371\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Cascades\"\n            },\n            {\n                \"id\": 450,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0369\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n            },\n            {\n                \"id\": 449,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0368\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Pravin\"\n            },\n            {\n                \"id\": 448,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0367\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"CCL Design Penang\"\n            },\n            {\n                \"id\": 447,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0366\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n            },\n            {\n                \"id\": 445,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0365\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shaik Taufik Bin Shaik Yusoff\"\n            },\n            {\n                \"id\": 444,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0364\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ir. Jenn Woo\"\n            },\n            {\n                \"id\": 443,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0363\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"MASTERJAYA ENVIRONMENT SDN BHD (249885-T)\"\n            },\n            {\n                \"id\": 442,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0362\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Universiti Tunku Abdul Rahman\"\n            },\n            {\n                \"id\": 441,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0361\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mutant Dreams Sdn Bhd\"\n            },\n            {\n                \"id\": 440,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0360\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jason\"\n            },\n            {\n                \"id\": 439,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0359\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"WIRELESSSPACE SDN BHD (930571-U)\"\n            },\n            {\n                \"id\": 438,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0358\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Pugal Nathan\"\n            },\n            {\n                \"id\": 437,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0357\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mettic Systeme Sdn Bhd\"\n            },\n            {\n                \"id\": 436,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0356\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Saeed Magad\"\n            },\n            {\n                \"id\": 435,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0355\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"MY IOL Sdn Bhd (1153794-M)\"\n            },\n            {\n                \"id\": 434,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0354\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Nucleus Tower\"\n            },\n            {\n                \"id\": 433,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0353\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Paradigm Mall\"\n            },\n            {\n                \"id\": 431,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0351\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Plaza Cygal\"\n            },\n            {\n                \"id\": 430,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0350\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Oasis Corporate Park\"\n            },\n            {\n                \"id\": 429,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0349\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"MR D.I.Y (M) SDN BHD\"\n            },\n            {\n                \"id\": 428,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0348\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Unifi\"\n            },\n            {\n                \"id\": 427,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0347\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Randy Lian Xiping\"\n            },\n            {\n                \"id\": 426,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0346\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Eutag Global (M) Sdn Bhd (212039-M)\"\n            },\n            {\n                \"id\": 425,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0345\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Moon Tan\"\n            },\n            {\n                \"id\": 424,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0344\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"June Heng\"\n            },\n            {\n                \"id\": 422,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0343\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Nature Environment Products Sdn Bhd (507751-V)\"\n            },\n            {\n                \"id\": 421,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"Test\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Syuhada\"\n            },\n            {\n                \"id\": 420,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0342\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Kha Chee Lam\"\n            },\n            {\n                \"id\": 419,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0341\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"7-Eleven Malaysia Sdn Bhd\"\n            },\n            {\n                \"id\": 418,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0340\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Alka Zarina\"\n            },\n            {\n                \"id\": 417,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0339\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Wan & Sons Bread Company\"\n            },\n            {\n                \"id\": 416,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0338\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sabertooth Technologies (309713)\"\n            },\n            {\n                \"id\": 415,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0337\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"MY EG SDN BHD (472638-X)\"\n            },\n            {\n                \"id\": 414,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0336\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sakina Samsuri\"\n            },\n            {\n                \"id\": 413,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0335\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"ESON BATU PAHAT PRECISION ENGINEERING SDN. BHD.\"\n            },\n            {\n                \"id\": 412,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0334\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jaya One Car Park Sdn Bhd\"\n            },\n            {\n                \"id\": 411,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0333\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Amano Malaysia Sdn Bhd\"\n            },\n            {\n                \"id\": 410,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0332\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"The Associated Chinese Chamber Of Commerce and Industry of Malaysia\"\n            },\n            {\n                \"id\": 409,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0331\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Domino's Pizza LLC\"\n            },\n            {\n                \"id\": 408,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0330\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mr Low\"\n            },\n            {\n                \"id\": 407,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0329\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Emily Lai\"\n            },\n            {\n                \"id\": 406,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0328\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"SteelWorks Engineering Sdn Bhd \"\n            },\n            {\n                \"id\": 405,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0327\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"JYM CHEE\"\n            },\n            {\n                \"id\": 404,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0326\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": {\n                    \"id\": 1,\n                    \"name\": \"Malaysia\"\n                },\n                \"name\": \"Wiltek Homeware Sdn Bhd (730858-A)\"\n            },\n            {\n                \"id\": 402,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0324\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Taiko Marketing Sdn Bhd\"\n            },\n            {\n                \"id\": 400,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0323\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Seng Mei Yen\"\n            },\n            {\n                \"id\": 399,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0322\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mr Sheah Kok Phang\"\n            },\n            {\n                \"id\": 398,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0321\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Streat Thai\"\n            },\n            {\n                \"id\": 397,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0320\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Pegasus Automation Sdn Bhd (778197-P)\"\n            },\n            {\n                \"id\": 396,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0319\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Pentaip (M) Sdn Bhd\"\n            },\n            {\n                \"id\": 395,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0318\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Eco-Shop Marketing Sdn Bhd (734055-M)\"\n            },\n            {\n                \"id\": 394,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0317\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"My Hero Hypermarket Sdn Bhd\"\n            },\n            {\n                \"id\": 393,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0316\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Adeline Villa & Rest House\"\n            },\n            {\n                \"id\": 392,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0315\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jacqueline Tan\"\n            },\n            {\n                \"id\": 391,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0314\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"xboxing\"\n            },\n            {\n                \"id\": 390,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0313\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Booking.com\"\n            },\n            {\n                \"id\": 389,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0312\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shermin\"\n            },\n            {\n                \"id\": 388,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0311\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Empire World Express Sdn Bhd (944635-D)\"\n            },\n            {\n                \"id\": 387,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0310\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Zien Lew\"\n            },\n            {\n                \"id\": 386,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0309\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"ANT FUTURES SDN BHD\"\n            },\n            {\n                \"id\": 385,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0308\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Tang Wai Loon\"\n            },\n            {\n                \"id\": 384,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0307\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Puzzle Planet Sdn Bhd (1322305-D)\"\n            },\n            {\n                \"id\": 383,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0306\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Fatin Nabila\"\n            },\n            {\n                \"id\": 382,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0305\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Edaran IT Services Sdn Bhd\"\n            },\n            {\n                \"id\": 381,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0304\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sunway Nexis\"\n            },\n            {\n                \"id\": 380,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0303\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"BAT SPEED\"\n            },\n            {\n                \"id\": 379,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0302\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Eastin Hotel & CP Tower\"\n            },\n            {\n                \"id\": 378,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0301\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Human Resources Development Fund (HRDF)\"\n            },\n            {\n                \"id\": 377,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0300\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jaymes Lye\"\n            },\n            {\n                \"id\": 376,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0299\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Waroeng Special Sambal\"\n            },\n            {\n                \"id\": 375,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0298\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Kar Chun Lau\"\n            },\n            {\n                \"id\": 374,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0297\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"KCJ Distribution SDN BHD (1198272-W)\"\n            },\n            {\n                \"id\": 373,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0296\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Nick Lim\"\n            },\n            {\n                \"id\": 372,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0295\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Menara MBMR (JMB)\"\n            },\n            {\n                \"id\": 371,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0294\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Auto Parking (M) Sdn Bhd\"\n            },\n            {\n                \"id\": 370,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0293\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"APPLE SOUTH ASIA PTE LTD\"\n            },\n            {\n                \"id\": 369,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0292\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Yao De\"\n            },\n            {\n                \"id\": 368,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0291\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"ADVANCEDATA NETWORK PTE LTD\"\n            },\n            {\n                \"id\": 367,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0290\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Indah Water Konsortium Sdn Bhd (211763-P)\"\n            },\n            {\n                \"id\": 366,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0289\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Dr Tan Ai Hooi\"\n            },\n            {\n                \"id\": 365,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0288\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Yong Weng Onn\"\n            },\n            {\n                \"id\": 364,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0287\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Japanese Agriculture Products SDN BHD (1286234-U)\"\n            },\n            {\n                \"id\": 363,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0286\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Muhammad Afiq\"\n            },\n            {\n                \"id\": 362,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0285\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"MARA LINER SDN BHD (0233945-T)\"\n            },\n            {\n                \"id\": 361,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0284\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Village Park Restaurant\"\n            },\n            {\n                \"id\": 360,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0283\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Itcom Enterprise (1980963-X)\"\n            },\n            {\n                \"id\": 359,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0282\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ruby Chak\"\n            },\n            {\n                \"id\": 358,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0281\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"HELP International School (802643-A)\"\n            },\n            {\n                \"id\": 357,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0280\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Susan Lee\"\n            },\n            {\n                \"id\": 356,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0279\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Prestar Precision Tube Sdn Bhd (643193-X)\"\n            },\n            {\n                \"id\": 355,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0278\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Coway (Malaysia) Sdn. Bhd.\"\n            },\n            {\n                \"id\": 354,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0277\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Site Ground\"\n            },\n            {\n                \"id\": 353,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0276\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Hero Distribution Sdn Bhd\"\n            },\n            {\n                \"id\": 352,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0275\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Skrin Corporate Services Sdn Bhd\"\n            },\n            {\n                \"id\": 351,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0274\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Cathrina\"\n            },\n            {\n                \"id\": 350,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0273\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Vettons Sdn Bhd (1286553-A)\"\n            },\n            {\n                \"id\": 349,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0272\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Leon Goh\"\n            },\n            {\n                \"id\": 347,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0271\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"PC Studio\"\n            },\n            {\n                \"id\": 346,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0270\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Eelaine Gan\"\n            },\n            {\n                \"id\": 345,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0269\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Innovix Distribution\"\n            },\n            {\n                \"id\": 344,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0268\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Springfresh Manufacturing SDN BHD\"\n            },\n            {\n                \"id\": 343,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0267\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ngee Boon Lau\"\n            },\n            {\n                \"id\": 342,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0266\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Brandon Gan\"\n            },\n            {\n                \"id\": 341,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0265\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Yap\"\n            },\n            {\n                \"id\": 340,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0264\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Amway (M) Sdn Bhd\"\n            },\n            {\n                \"id\": 339,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0263\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"fave\"\n            },\n            {\n                \"id\": 338,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0262\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Tee Poh Kong\"\n            },\n            {\n                \"id\": 336,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0261\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Power Packaging SDN BHD\"\n            },\n            {\n                \"id\": 335,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0260\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Solaris Dutamas\"\n            },\n            {\n                \"id\": 334,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0259\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Empire Shopping Gallery Subang Jaya\"\n            },\n            {\n                \"id\": 333,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0258\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Four Seasons Place KL\"\n            },\n            {\n                \"id\": 332,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0257\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"CREDIT GUARANTEE CORPORATION MALAYSIA BERHAD (12441-M) CGC\"\n            },\n            {\n                \"id\": 331,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0256\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Brigitte Rozario\"\n            },\n            {\n                \"id\": 330,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0255\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"GOURMET INGREDIENTS SDN BHD\"\n            },\n            {\n                \"id\": 329,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0254\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mohd Chan\"\n            },\n            {\n                \"id\": 328,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0253\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"TABUR NIAGA SDN BHD\"\n            },\n            {\n                \"id\": 327,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0252\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Triny\"\n            },\n            {\n                \"id\": 326,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0251\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Lena Heng\"\n            },\n            {\n                \"id\": 325,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0250\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Stan Wan\"\n            },\n            {\n                \"id\": 324,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0249\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Matdespatch\"\n            },\n            {\n                \"id\": 323,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0248\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Tham Hui Min\"\n            },\n            {\n                \"id\": 322,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0247\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"INOX ENGINEERING SDN BHD\"\n            },\n            {\n                \"id\": 321,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0246\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Tesco\"\n            },\n            {\n                \"id\": 320,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0245\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"AUTOMONT GATSBY SDN BHD\"\n            },\n            {\n                \"id\": 319,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0244\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"UNO LOCKSMITH\"\n            },\n            {\n                \"id\": 318,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0243\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"lth8888 (shopee)\"\n            },\n            {\n                \"id\": 317,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0242\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Entrepower Marketing (001341050-K)\"\n            },\n            {\n                \"id\": 316,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0241\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Masuri Mat Rozheki\"\n            },\n            {\n                \"id\": 315,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0240\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Westline Transporter SDN BHD\"\n            },\n            {\n                \"id\": 313,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0238\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Permata Alasan (M) Sdn Bhd\"\n            },\n            {\n                \"id\": 312,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0237\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Kelana Business Center\"\n            },\n            {\n                \"id\": 311,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0236\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Starhill Gallery\"\n            },\n            {\n                \"id\": 310,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0235\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"ERZ Teguh Enterprise\"\n            },\n            {\n                \"id\": 309,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0234\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mydin\"\n            },\n            {\n                \"id\": 308,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0233\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"KGB Holding Sdn Bhd\"\n            },\n            {\n                \"id\": 307,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0232\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"MITEC\"\n            },\n            {\n                \"id\": 306,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0231\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"10 Boulevard\"\n            },\n            {\n                \"id\": 305,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0230\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Plaza Pantai\"\n            },\n            {\n                \"id\": 304,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0229\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Menara PGRM 2\"\n            },\n            {\n                \"id\": 303,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0228\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Pastry World Sdn Bhd (759288-D)\"\n            },\n            {\n                \"id\": 301,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0227\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Eddie Ooi\"\n            },\n            {\n                \"id\": 300,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0226\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ah Loong\"\n            },\n            {\n                \"id\": 299,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0225\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Screencast-O-Matic\"\n            },\n            {\n                \"id\": 298,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0224\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Public Auto World Sdn Bhd\"\n            },\n            {\n                \"id\": 297,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0223\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"YS Metal Industries Sdn Bhd\"\n            },\n            {\n                \"id\": 296,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0222\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Wan Mohd Kamal\"\n            },\n            {\n                \"id\": 295,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0221\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Malaysian Timber Council\"\n            },\n            {\n                \"id\": 294,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0220\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Shopee\"\n            },\n            {\n                \"id\": 293,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0219\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mr Dakgalbi\"\n            },\n            {\n                \"id\": 292,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0218\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Cleaner\"\n            },\n            {\n                \"id\": 291,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0217\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Dynasis Enterprise\"\n            },\n            {\n                \"id\": 290,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0216\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Golden Screen Cinema\"\n            },\n            {\n                \"id\": 289,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0215\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Lazada.com.my\"\n            },\n            {\n                \"id\": 288,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0214\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Commisioner of Oath\"\n            },\n            {\n                \"id\": 287,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0213\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"HANNIZ EFNI\"\n            },\n            {\n                \"id\": 286,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0212\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"S P Setia Property Services Sdn Bhd\"\n            },\n            {\n                \"id\": 285,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0211\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Titijaya Asset Sdn Bhd (104250-T)\"\n            },\n            {\n                \"id\": 284,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0210\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Hometown Hainan Coffee\"\n            },\n            {\n                \"id\": 283,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0209\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"KFC\"\n            },\n            {\n                \"id\": 282,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0208\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"EZbuy Holdings Limited\"\n            },\n            {\n                \"id\": 281,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"SU-0003\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Post Office M'sia\"\n            },\n            {\n                \"id\": 280,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0207\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Plenty Golden Tyres Service (KL) Sdn Bhd\"\n            },\n            {\n                \"id\": 279,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0206\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Crystal Pure Trading (Water)\"\n            },\n            {\n                \"id\": 278,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0205\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Kelvin Tan\"\n            },\n            {\n                \"id\": 277,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0204\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Starlai Sdn Bhd\"\n            },\n            {\n                \"id\": 274,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"SU-0006\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Cube Integrated Malaysia S/B\"\n            },\n            {\n                \"id\": 273,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"SU-0005\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Invest Selangor Bhd\"\n            },\n            {\n                \"id\": 276,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"SU-0008\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"KWSP\"\n            },\n            {\n                \"id\": 270,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"SU-0002\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Prin Ten Concept\"\n            },\n            {\n                \"id\": 272,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"SU-0004\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Restaurant\"\n            },\n            {\n                \"id\": 269,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"SU-0001\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Wonder Print\"\n            },\n            {\n                \"id\": 268,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0203\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"NHN Air-Cond Services (002620909-M)\"\n            },\n            {\n                \"id\": 267,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0202\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Tenaga Nasional Berhad (TNB)\"\n            },\n            {\n                \"id\": 266,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0201\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"MTE Exhibition Sdn Bhd\"\n            },\n            {\n                \"id\": 265,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0200\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Meng Locksmith Center\"\n            },\n            {\n                \"id\": 264,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0199\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Dreamstime LLC\"\n            },\n            {\n                \"id\": 263,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0198\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"OptimizePress\"\n            },\n            {\n                \"id\": 262,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0197\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Thiam Sieng Group\"\n            },\n            {\n                \"id\": 261,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0196\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ms Yap\"\n            },\n            {\n                \"id\": 260,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0195\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Camera Valley Sdn Bhd\"\n            },\n            {\n                \"id\": 259,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0194\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Belux Auto Sdn Bhd\"\n            },\n            {\n                \"id\": 258,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0193\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"PJ Trade Centre\"\n            },\n            {\n                \"id\": 257,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0192\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"MidValley Megamall\"\n            },\n            {\n                \"id\": 256,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0191\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Boustead Hotels & Resorts Sdn Bhd\"\n            },\n            {\n                \"id\": 255,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0190\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"AutoParking M Sdn Bhd\"\n            },\n            {\n                \"id\": 254,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0189\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Cha Lao Gemilang Sdn Bhd (1099173-T) (Mohd Chan)\"\n            },\n            {\n                \"id\": 250,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0188\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"TREC Management Services Sdn Bhd\"\n            },\n            {\n                \"id\": 249,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0187\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"SCP Assets Sdn Bhd\"\n            },\n            {\n                \"id\": 248,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0186\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Prominent Excel Sdn Bhd\"\n            },\n            {\n                \"id\": 247,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0185\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Dats Management Sdn Bhd\"\n            },\n            {\n                \"id\": 246,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0184\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Common Icon Sdn Bhd\"\n            },\n            {\n                \"id\": 245,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0183\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"McDonald\"\n            },\n            {\n                \"id\": 244,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0182\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Wilson Parking\"\n            },\n            {\n                \"id\": 243,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0181\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Watson's Personal Care Stores Sdn Bhd\"\n            },\n            {\n                \"id\": 242,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0180\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"PB Gemilang Resources\"\n            },\n            {\n                \"id\": 241,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0179\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"All IT Hypermarket\"\n            },\n            {\n                \"id\": 240,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0178\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Icon City PHB\"\n            },\n            {\n                \"id\": 239,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0177\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Atria Shopping Gallery\"\n            },\n            {\n                \"id\": 238,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0176\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Damansara Intan Management Corporation\"\n            },\n            {\n                \"id\": 237,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0175\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Uptown Parking\"\n            },\n            {\n                \"id\": 236,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0174\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Secure Parking Corporation Sdn Bhd\"\n            },\n            {\n                \"id\": 235,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0173\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Secret Recipe\"\n            },\n            {\n                \"id\": 234,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0172\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Nando's Chickenland Malaysia Sdn Bhd\"\n            },\n            {\n                \"id\": 233,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0171\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mid Valley Megamall\"\n            },\n            {\n                \"id\": 232,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0170\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Merchant Square\"\n            },\n            {\n                \"id\": 231,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0169\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Semasa Parking Sdn Bhd\"\n            },\n            {\n                \"id\": 230,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0168\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"3 Damansara\"\n            },\n            {\n                \"id\": 229,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0167\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Farmer Street Food Dessert\"\n            },\n            {\n                \"id\": 228,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0166\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Aeon Big (M) Sdn Bhd\"\n            },\n            {\n                \"id\": 226,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0164\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ms Wong\"\n            },\n            {\n                \"id\": 225,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0163\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"HostGator.com\"\n            },\n            {\n                \"id\": 224,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0162\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Lembaga Hasil Dalam Negeri (LHDN)\"\n            },\n            {\n                \"id\": 223,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0161\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Dr Lee Wai Wai\"\n            },\n            {\n                \"id\": 222,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0160\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Lee Veterinary Clinic\"\n            },\n            {\n                \"id\": 221,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0159\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Web Hosting Pad\"\n            },\n            {\n                \"id\": 220,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0158\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Srilingam Ramesh\"\n            },\n            {\n                \"id\": 219,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0157\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ketua Pengarah Kastam Malaysia\"\n            },\n            {\n                \"id\": 216,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0156\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jabatan Kastam Diraja Malaysia\"\n            },\n            {\n                \"id\": 215,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0155\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jagdish Kaur\"\n            },\n            {\n                \"id\": 214,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0154\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jisna (Malaysia) Sdn Bhd (211316-X)\"\n            },\n            {\n                \"id\": 213,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0153\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Federation of Malaysian Manufacturers\"\n            },\n            {\n                \"id\": 212,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0152\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Harol Nizam Bin Habib\"\n            },\n            {\n                \"id\": 211,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0151\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Merpati Daya Maju (IP0395026-U)\"\n            },\n            {\n                \"id\": 210,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0150\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mr Koh\"\n            },\n            {\n                \"id\": 209,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0149\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Pyrope Industries Sdn Bhd (344682-D)\"\n            },\n            {\n                \"id\": 208,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0148\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Pos Malaysia Berhad\"\n            },\n            {\n                \"id\": 207,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0147\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Pacific Wise Sdn Bhd\"\n            },\n            {\n                \"id\": 206,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0146\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"The Chinese Chamber of Commerce & Industry of Kuala Lumpur & Selangor\"\n            },\n            {\n                \"id\": 205,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0145\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Brilliant Management Services (001166576-D)\"\n            },\n            {\n                \"id\": 204,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0144\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"TIME Internet\"\n            },\n            {\n                \"id\": 203,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0143\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Etiqa General Insurance Berhad\"\n            },\n            {\n                \"id\": 202,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0142\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"PT Wong & Co.\"\n            },\n            {\n                \"id\": 201,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0141\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Petron\"\n            },\n            {\n                \"id\": 200,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0140\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"IBM Singapore Pte. Ltd\"\n            },\n            {\n                \"id\": 199,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0139\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"IBM MALAYSIA SDN BHD\"\n            },\n            {\n                \"id\": 198,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0138\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ernest Wong\"\n            },\n            {\n                \"id\": 197,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0137\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Elegant Theme\"\n            },\n            {\n                \"id\": 196,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0136\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Internet Mailware\"\n            },\n            {\n                \"id\": 195,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0135\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n            },\n            {\n                \"id\": 194,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0134\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Olivia Loh\"\n            },\n            {\n                \"id\": 193,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0133\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mr Mohamed Ameen\"\n            },\n            {\n                \"id\": 192,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0132\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Am Globe Traders\"\n            },\n            {\n                \"id\": 191,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0131\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Prohub Solution\"\n            },\n            {\n                \"id\": 190,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0130\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Houses Lighting Sdn Bhd\"\n            },\n            {\n                \"id\": 189,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0129\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"NETPAY.MY-ECOM\"\n            },\n            {\n                \"id\": 188,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0128\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Upwork Global Inc\"\n            },\n            {\n                \"id\": 187,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0127\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Flex Point\"\n            },\n            {\n                \"id\": 186,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0126\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Azizah Osman\"\n            },\n            {\n                \"id\": 185,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0125\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Fiverr Internatinal Ltd\"\n            },\n            {\n                \"id\": 184,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0124\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jyh Tan\"\n            },\n            {\n                \"id\": 183,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0123\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Taseen Trading Sdn Bhd\"\n            },\n            {\n                \"id\": 182,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0122\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Bernice Saw\"\n            },\n            {\n                \"id\": 181,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0121\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"MCC Labels (Kuala Lumpur) Sdn Bhd\"\n            },\n            {\n                \"id\": 180,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0120\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"U Mobile Sdn Bhd\"\n            },\n            {\n                \"id\": 179,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0119\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Peringgit Sri Motor Sdn Bhd (199876-T)\"\n            },\n            {\n                \"id\": 178,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0118\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ronnie Chai\"\n            },\n            {\n                \"id\": 177,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0117\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n            },\n            {\n                \"id\": 176,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0116\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ashokan\"\n            },\n            {\n                \"id\": 175,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0115\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Kreatrz Group of Companies \"\n            },\n            {\n                \"id\": 173,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0113\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Cheng Yit Har\"\n            },\n            {\n                \"id\": 172,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0112\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Joko Wahono Winardi \"\n            },\n            {\n                \"id\": 171,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0111\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mandiri Sejahtera Sdn Bhd\"\n            },\n            {\n                \"id\": 170,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0110\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Dong Tan\"\n            },\n            {\n                \"id\": 168,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0108\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Perusahaan Cemerlang Raya Sdn Bhd (162783-K)\"\n            },\n            {\n                \"id\": 167,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0107\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Tean I Cung\"\n            },\n            {\n                \"id\": 166,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0106\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n            },\n            {\n                \"id\": 165,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0105\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ong Chin Kian\"\n            },\n            {\n                \"id\": 164,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0104\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Transcargo Worldwide (M) Sdn Bhd (767688-X)\"\n            },\n            {\n                \"id\": 163,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0103\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Kansiri Janssens\"\n            },\n            {\n                \"id\": 162,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0102\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mr KK Cheong\"\n            },\n            {\n                \"id\": 161,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0101\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mohd Kamal Dato' Mohd Zawawi\"\n            },\n            {\n                \"id\": 160,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0100\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"TECHNOFIT SDN BHD (469126-W)\"\n            },\n            {\n                \"id\": 159,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0099\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Patrick Wong\"\n            },\n            {\n                \"id\": 158,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0098\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"AGX Logistics Singapore Pte Ltd\"\n            },\n            {\n                \"id\": 157,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0097\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"David Ong\"\n            },\n            {\n                \"id\": 156,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0096\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Asset Management Resources Sdn Bhd (481274-x)\"\n            },\n            {\n                \"id\": 155,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0095\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Patrick Seah\"\n            },\n            {\n                \"id\": 154,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0094\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"SME Malaysia\"\n            },\n            {\n                \"id\": 153,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0093\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"MYDATA SSM\"\n            },\n            {\n                \"id\": 152,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0092\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"james wong\"\n            },\n            {\n                \"id\": 151,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0091\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Tan Boon Eu\"\n            },\n            {\n                \"id\": 150,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0090\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"ALUMINIUM ALLOY SMELTER INDUSTRIES SDN BHD \"\n            },\n            {\n                \"id\": 149,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0089\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Eric Lai\"\n            },\n            {\n                \"id\": 148,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0088\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sin Nam Ann Transport Sdn Bhd\"\n            },\n            {\n                \"id\": 147,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0087\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ruby Tay\"\n            },\n            {\n                \"id\": 146,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0086\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"4S DOOR SDN. BHD. (865917-V)\"\n            },\n            {\n                \"id\": 144,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0085\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mr Shan\"\n            },\n            {\n                \"id\": 143,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0084\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"ET WAREHOUSING & LOGISTICS SDN. BHD.\"\n            },\n            {\n                \"id\": 142,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0083\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Murali\"\n            },\n            {\n                \"id\": 141,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0082\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Colas Rail System Engineering Sdn Bhd (1058672-T)\"\n            },\n            {\n                \"id\": 140,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0081\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"BankTechAsia\"\n            },\n            {\n                \"id\": 139,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0080\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Agensi Pekerjaan Wobb Sdn Bhd (1106343-A)\"\n            },\n            {\n                \"id\": 138,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0079\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"CanLaw Asia Sdn Bhd\"\n            },\n            {\n                \"id\": 137,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0078\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Aina Amira Sakba\"\n            },\n            {\n                \"id\": 136,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0077\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \" Top Glove Corporation Bhd (474423-X)\"\n            },\n            {\n                \"id\": 135,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0076\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Danny Chan\"\n            },\n            {\n                \"id\": 134,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0075\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Desmond\"\n            },\n            {\n                \"id\": 133,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0074\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sendit Services\"\n            },\n            {\n                \"id\": 132,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0073\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"APP Timber Sdn Bhd\"\n            },\n            {\n                \"id\": 131,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0072\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Van Joe Chua\"\n            },\n            {\n                \"id\": 130,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0071\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Touch 'n Go Sdn Bhd (406400-X)\"\n            },\n            {\n                \"id\": 129,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0070\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Patricia Tain\"\n            },\n            {\n                \"id\": 128,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0069\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"LEDchain (M) Sdn Bhd\"\n            },\n            {\n                \"id\": 127,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0068\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Jenny\"\n            },\n            {\n                \"id\": 126,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0067\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Sing Hoe Weighing Equipment Sdn Bhd\"\n            },\n            {\n                \"id\": 125,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0066\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Thunder Match Technology sdn bhd\"\n            },\n            {\n                \"id\": 124,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0065\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Yvonne Yeoh\"\n            },\n            {\n                \"id\": 123,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0064\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Advance Nature Sdn Bhd (1245505-M)\"\n            },\n            {\n                \"id\": 122,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0063\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"PETALING JAYA CITY COUNCIL (MBPJ)\"\n            },\n            {\n                \"id\": 121,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0062\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Winstar Tech (Lelong)\"\n            },\n            {\n                \"id\": 120,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0061\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mazlina Mokhtar\"\n            },\n            {\n                \"id\": 119,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0060\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Nera (Malaysia) Sdn Bhd (0502477X)\"\n            },\n            {\n                \"id\": 118,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0059\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Propay Malaysia (HQ)\"\n            },\n            {\n                \"id\": 117,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0058\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Manish Mehta\"\n            },\n            {\n                \"id\": 116,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0057\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ingram Micro Malaysia Sdn Bhd\"\n            },\n            {\n                \"id\": 115,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0056\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Azrin Irwan Mohd Omar\"\n            },\n            {\n                \"id\": 114,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0055\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n            },\n            {\n                \"id\": 113,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0054\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Tia Seai Wen\"\n            },\n            {\n                \"id\": 112,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0053\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"RICOH (Malaysia) Sdn. Bhd. (10078-W)\"\n            },\n            {\n                \"id\": 111,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0052\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Satheesh Kumar \"\n            },\n            {\n                \"id\": 110,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0051\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Gabriel Pensader\"\n            },\n            {\n                \"id\": 109,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0050\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"AGX Philippines\"\n            },\n            {\n                \"id\": 108,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0049\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Richard Boak\"\n            },\n            {\n                \"id\": 107,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0048\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n            },\n            {\n                \"id\": 106,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0047\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Auto Marques Express Service Centre\"\n            },\n            {\n                \"id\": 105,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0046\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"KL Lim\"\n            },\n            {\n                \"id\": 104,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0045\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \" Namecheap, Inc.\"\n            },\n            {\n                \"id\": 103,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0044\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Dongfeng Commercial Vehicle (Malaysia) Sdn Bhd\"\n            },\n            {\n                \"id\": 102,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0043\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Maxim Bong\"\n            },\n            {\n                \"id\": 101,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0042\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Lead Mastery\"\n            },\n            {\n                \"id\": 100,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0041\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Rajeswary Thangavelu\"\n            },\n            {\n                \"id\": 99,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": {\n                    \"id\": 8,\n                    \"name\": \"Admin\"\n                },\n                \"code\": \"C-0040\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"GD Pavilion Sdn Bhd (1103184P)\"\n            },\n            {\n                \"id\": 98,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0039\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Fang Yi\"\n            },\n            {\n                \"id\": 97,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0038\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Bright Star Logistics Sdn Bhd\"\n            },\n            {\n                \"id\": 96,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0037\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Foong Mun Yiew\"\n            },\n            {\n                \"id\": 95,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0036\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Tan Ngan Lo Retail Stores Sdn Bhd\"\n            },\n            {\n                \"id\": 94,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0035\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Vistage Malaysia Sdn Bhd\"\n            },\n            {\n                \"id\": 93,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0034\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"JobStreet\"\n            },\n            {\n                \"id\": 92,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0033\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"AirAsia\"\n            },\n            {\n                \"id\": 91,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0032\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Invest Selangor Berhad\"\n            },\n            {\n                \"id\": 90,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0031\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"S & Y PRINTING SDN BHD\"\n            },\n            {\n                \"id\": 89,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0030\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"GWEE & LIM PLT\"\n            },\n            {\n                \"id\": 88,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0029\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Google Asia Pacific Pte. Ltd.\"\n            },\n            {\n                \"id\": 87,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0028\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ms Chen\"\n            },\n            {\n                \"id\": 86,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0027\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n            },\n            {\n                \"id\": 85,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0026\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Ucan Technologies\"\n            },\n            {\n                \"id\": 84,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0025\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"AmBank\"\n            },\n            {\n                \"id\": 83,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0024\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Making Changes PLT\"\n            },\n            {\n                \"id\": 82,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0023\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Alwin Director\"\n            },\n            {\n                \"id\": 81,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0022\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"David  Janssens\"\n            },\n            {\n                \"id\": 80,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0021\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Netforce Software Co. Ltd.\"\n            },\n            {\n                \"id\": 79,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0020\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Maybank\"\n            },\n            {\n                \"id\": 78,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0019\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Alliance Bank\"\n            },\n            {\n                \"id\": 77,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0018\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mike Chan\"\n            },\n            {\n                \"id\": 76,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0017\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n            },\n            {\n                \"id\": 75,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0016\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Cik Husna Ishak\"\n            },\n            {\n                \"id\": 74,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0015\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Bahrul Hisam Adam\"\n            },\n            {\n                \"id\": 73,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0014\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Seraya Technologi Sdn. Bhd. (1008183-V)\"\n            },\n            {\n                \"id\": 72,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"MAIN\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Smartb Solutions Sdn. Bhd.\"\n            },\n            {\n                \"id\": 71,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0013\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Red Zone Solution Sdn Bhd\"\n            },\n            {\n                \"id\": 70,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0012\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"AGX Logistics (M) Sdn Bhd (640551-H)\"\n            },\n            {\n                \"id\": 69,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0011\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"PERKESO-SIP\"\n            },\n            {\n                \"id\": 68,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0010\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"PERKESO-SOCSO\"\n            },\n            {\n                \"id\": 67,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0009\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"KWSP-EPF\"\n            },\n            {\n                \"id\": 66,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0008\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Salary\"\n            },\n            {\n                \"id\": 65,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"C-0007\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Dr Azwan\"\n            },\n            {\n                \"id\": 64,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"C-0006\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"V'asia Cosmetic & Healthcare\"\n            },\n            {\n                \"id\": 63,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"CUI-0005\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Mr Bryan Ng\"\n            },\n            {\n                \"id\": 61,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"CU-0009\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"KH Shutters Sdn Bhd (734835-T)\"\n            },\n            {\n                \"id\": 60,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"CUI-0004\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Lawrence\"\n            },\n            {\n                \"id\": 59,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"CU-0008\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Dios Pro Resources Sdn. Bhd. \"\n            },\n            {\n                \"id\": 58,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"CU-0004\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Speed Concrete Industries Sdn Bhd\"\n            },\n            {\n                \"id\": 55,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"CUI-0003\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Encik Mahdi\"\n            },\n            {\n                \"id\": 54,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": {\n                    \"id\": 8,\n                    \"name\": \"Admin\"\n                },\n                \"code\": \"CU-0007\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Kontena Nasional\"\n            },\n            {\n                \"id\": 53,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"CU-0005\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Tong Turbo Engineering Sdn Bhd.\"\n            },\n            {\n                \"id\": 52,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"CU-0002\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"IXORA Corporation Sdn Bhd\"\n            },\n            {\n                \"id\": 51,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"CU-0006\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Universal Cellular Engineering Services Sdn Bhd (380597-A)\"\n            },\n            {\n                \"id\": 50,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"CUI-0002\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Loges\"\n            },\n            {\n                \"id\": 49,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"person\",\n                \"user_id\": null,\n                \"code\": \"CUI-0001\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Kent\"\n            },\n            {\n                \"id\": 48,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"CU-0003\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Autochem Marketing Sdn Bhd (1075927-W)\"\n            },\n            {\n                \"id\": 44,\n                \"industry_id\": null,\n                \"business_area_id\": null,\n                \"type\": \"org\",\n                \"user_id\": null,\n                \"code\": \"CU-0001\",\n                \"categ_id\": null,\n                \"fleet_size_id\": null,\n                \"country_id\": null,\n                \"name\": \"Kolaborasi Kuntum Kasih Sdn. Bhd. \"\n            }\n        ],\n        935\n    ],\n    \"error\": null,\n    \"id\": 1690860596316,\n    \"dt\": 82\n}"}],"_postman_id":"3e014f42-1c40-426a-95f7-eedbd6853159"},{"name":"params/report.custom/search_read","id":"aca85516-f105-4df9-b660-89d92ad0c891","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690961417752,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"contact\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-02 12:29:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\"><strong>Description</strong></h1>\n<p>The JSON-RPC API available at the provided endpoint enables clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String)</strong>: A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\"><strong>Code Explanation</strong></h1>\n<p><strong>\"params\": [</strong><strong>\"report.custom\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"code\",<strong>\"=\",</strong>\"contact\"<strong>]</strong>],<strong>[</strong>\"name\",<strong>\"config\"<strong>]</strong>],</strong></p>\n<p>In the provided JSON-RPC API request, the \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><strong>Element 1 (String): \"report.custom\"</strong>: The first element of the array is a string, specifically \"report.custom.\" This string identifies the target object or service on the server that will handle the API request. In this case, it seems to represent the \"report.custom\" service, which is likely responsible for generating custom reports.</li>\n<li><strong>Element 2 (String): \"search_read\"</strong>: The second element of the array is also a string, specifically \"search_read.\" This string specifies the name of the method within the \"report.custom\" service that the client wants to execute. The \"search_read\" method is commonly used to search for and retrieve records based on certain criteria, similar to a database query.</li>\n<li><strong>Element 3 (Array): Nested Array of Arrays</strong>: The third element in the \"params\" array represents the positional parameters for the \"search_read\" method. It is a nested array containing two sub-arrays.</li>\n<li><strong>Sub-Array(Array): [\"name\", \"config\"]</strong>: The second sub-array contains a list of field names that the client wants to retrieve from the records that match the search criteria. The provided field names are: \"name\" and \"config.\" These fields likely represent attributes or information related to the custom report, such as the report name and configuration details.</li>\n<li><strong>Sub-Array(Array): [[\"code\", \"=\", \"contact\"]]</strong></li>\n</ol>\n<p>The first sub-array represents the search domain or filter criteria for the records to be retrieved. It contains one nested array. The nested array <code>[\"code\", \"=\", \"contact\"]</code> specifies the condition for the search.</p>\n<ul>\n<li><strong>Element 1: \"code\" (String)</strong>: The name of the field or attribute to be searched.</li>\n<li><strong>Element 2: \"=\" (String):</strong> The search operator used to match the value.</li>\n<li><strong>Element 3: \"contact\" (String):</strong> The value to be matched in the \"code\" field.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</li>\n<li>The first two elements of the \"params\" array (\"report.custom\" and \"search_read\") identify the specific service and method on the server that the client wants to invoke.</li>\n<li>The third element (a nested array) contains the positional parameters required for the \"search_read\" method. In this, it includes a search domain with the condition \"code = 'contact'\" and a list of desired fields.</li>\n</ul>\n<p><strong>Note:</strong></p>\n<p>In this, the client sends the API request to the server with the \"report.custom\" model and \"search_read\" method specified in the \"params\" array. The server will process the request and perform a search and read operation within the \"report.custom\" model, searching for records where the \"code\" field matches the value \"contact.\" The server will return the specified fields (\"name\" and \"config\") for each matching record as part of the API response, providing details about the custom report configuration.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"617a2899-6f78-4275-aba8-7480790b22e0","name":"params/report.custom/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690961417752,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"contact\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-02 12:29:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 02 Aug 2023 07:32:54 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=u5dCRgncQz7yUb9HkaviEtacqp9mg1zfkCCxl8RcxhLh%2F4SFGK8PH7%2FDpAsPqycevHfw7N%2BDgVSmWZ3TJi%2FJwQR5C5hZNGH10Rb8tsmXEU9cMG492cXMkyO%2FDWa6c1kPg6s91Zm7EQu68XoAEA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f04a12e48a94d3f-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1690961417752,\n    \"dt\": 10\n}"}],"_postman_id":"aca85516-f105-4df9-b660-89d92ad0c891"}],"id":"bb936c31-19f8-4b52-b31e-4d8eb203e17b","_postman_id":"bb936c31-19f8-4b52-b31e-4d8eb203e17b","description":""}],"id":"ce78afe6-c053-4a09-a8f0-9651d2b0a775","_postman_id":"ce78afe6-c053-4a09-a8f0-9651d2b0a775","description":""},{"name":"Setting","item":[{"name":"Contact Categories","item":[{"name":"params/contact.categ/search_read","id":"45cc57fb-4a48-4fb9-a8ee-a7739c636423","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690961822063,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"contact.categ\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"code\",\r\n                \"name\",\r\n                \"description\",\r\n                \"parent_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-02 12:35:56\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\"><strong>Description</strong></h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\"><strong>Code Explanation</strong></h1>\n<p><strong>\"params\": [</strong><strong>\"contact.categ\",</strong>\"search_read\",<strong>[</strong>[],<strong>[</strong>\"code\",<strong>\"name\",</strong>\"description\",**\"parent_id\"<strong>]</strong>],**<strong>]</strong></p>\n<p>In the provided JSON-RPC API request, the \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><strong>Element 1 (String): \"contact.categ\":</strong> The first element of the array is a string, specifically \"contact.categ.\" This string identifies the target object or service on the server that will handle the API request. In this case, it represents the \"contact.categ\" service, which is likely responsible for managing contact categories or contact groupings.</li>\n<li><strong>Element 2 (String): \"search_read\"</strong>: The second element of the array is also a string, specifically \"search_read.\" This string specifies the name of the method within the \"contact.categ\" service that the client wants to execute. The \"search_read\" method is commonly used to search for and retrieve records based on certain criteria, similar to a database query.</li>\n<li><strong>Element 3 (Array): Nested Array of Arrays</strong>: The third element in the \"params\" array represents the positional parameters for the \"search_read\" method. It is a nested array containing two sub-arrays.</li>\n<li><strong>Sub-Array 1 (Array): []</strong>: The first sub-array is an empty array. It seems to represent the search domain or filter criteria for the records to be retrieved. In this case, since it is empty, the method will return all available records without any specific filtering.</li>\n<li><strong>Sub-Array 2 (Array): [\"code\", \"name\", \"description\", \"parent_id\"]</strong></li>\n</ol>\n<ul>\n<li><code>code\"</code>: The code associated with the contact category. It may be a unique identifier or a specific code representing the contact category.</li>\n<li><code>\"name\"</code>: The name of the contact category. It represents the name or title of the contact category.</li>\n<li><code>\"description\"</code>: The description of the contact category. It provides additional information or details about the contact category.</li>\n<li><code>\"parent_id\"</code>: The ID of the parent contact category. It refers to the parent category to which the contact category belongs. This field establishes a hierarchical relationship between different contact categories.</li>\n</ul>\n<p>By including these field names in the Sub-Array of the API request, the client is specifying that it wants the server to return data corresponding to these specific fields for each record that matches the search criteria. The actual data returned in the response will vary based on the records found in the backend system that match the provided search conditions. These fields likely represent various attributes or information related to contact categories, such as the category code, name, description, and the ID of the parent category (if applicable).</p>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</li>\n<li>The first two elements of the \"params\" array (\"contact.categ\" and \"search_read\") identify the specific service and method on the server that the client wants to invoke.</li>\n<li>The third element (a nested array) contains the positional parameters required for the \"search_read\" method. In this example, it includes an empty sub-array (indicating no specific filter) and a sub-array listing the desired fields.</li>\n</ul>\n<p><strong>Note:</strong></p>\n<p>In this, the client sends the API request to the server with the \"contact.categ\" model and \"search_read\" method specified in the \"params\" array. The server will process the request and perform a search and read operation within the \"contact.categ\" service, searching for records that match the specified criteria (or returning all records if no criteria are specified). The server will return the specified fields (\"code,\" \"name,\" \"description,\" and \"parent_id\") for each matching record as part of the API response, providing details about contact categories and their properties.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"5e348ba1-6814-48c5-8587-ce230391d7e1","name":"params/contact.categ/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690961822063,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"contact.categ\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"code\",\r\n                \"name\",\r\n                \"description\",\r\n                \"parent_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-02 12:35:56\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 02 Aug 2023 07:42:58 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=6PVg%2BViUvjQY8806UvuGm58fnAjniNmkEIA47yC0ZauByvh5vb3we21DVFjhsrWtws1khS3kAF3JmTCgfphoIO32AfmJwuqeELbRnaDCj89abey%2FUX4FW%2BQPOni7Ht9qY7mLyKltLTmjo5nRgw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f04afecc85e87a8-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 2,\n                \"description\": null,\n                \"code\": null,\n                \"parent_id\": null,\n                \"name\": \"e-Comm\"\n            }\n        ],\n        1\n    ],\n    \"error\": null,\n    \"id\": 1690961822063,\n    \"dt\": 13\n}"}],"_postman_id":"45cc57fb-4a48-4fb9-a8ee-a7739c636423"}],"id":"895892c9-4bdb-453c-ada5-c535ff25c10a","_postman_id":"895892c9-4bdb-453c-ada5-c535ff25c10a","description":""},{"name":"Contact Groups","item":[{"name":"params/contact.group/search_read","id":"f3f86959-ca0a-4426-bb74-a4caebcbf166","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690962280701,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"contact.group\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"parent_id\",\r\n                \"sale_price_list_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-02 12:44:08\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\"><strong>Description</strong></h1>\n<p>The JSON-RPC API available at the provided endpoint enables clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\"><strong>Code Explanation</strong></h1>\n<p><strong>\"params\": [</strong><strong>\"contact.group\",</strong>\"search_read\",<strong>[</strong>[],<strong>[</strong>\"name\",<strong>\"code\",</strong>\"parent_id\",**\"sale_price_list_id\"<strong>]</strong>],**<strong>]</strong></p>\n<p>In the provided JSON-RPC API request, the \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><strong>Element 1 (String): \"contact.group\"</strong>: The first element of the array is a string, specifically \"contact.group.\" This string identifies the target object or service on the server that will handle the API request. In this case, it represents the \"contact.group\" service, which likely deals with operations related to contact groups or categories.</li>\n<li><strong>Element 2 (String): \"search_read\"</strong>: The second element of the array is also a string, specifically \"search_read.\" This string specifies the name of the method within the \"contact.group\" service that the client wants to execute. The \"search_read\" method is commonly used to search for and retrieve records based on certain criteria, similar to a database query.</li>\n<li><strong>Element 3 (Array): Nested Array of Arrays</strong>: The third element in the \"params\" array represents the positional parameters for the \"search_read\" method. It is a nested array containing two sub-arrays.</li>\n<li><strong>Sub-Array 1 (Array): []</strong>: The first sub-array is an empty array. It seems to represent the search domain or filter criteria for the records to be retrieved. In this case, since it is empty, the method will return all available records without any specific filtering.</li>\n<li><strong>Sub-Array 2 (Array): [\"name\", \"code\", \"parent_id\", \"sale_price_list_id\"]</strong></li>\n</ol>\n<p>These attributes are likely associated with a specific data entity or object. Let's break down the elements within the Sub-Array:</p>\n<ul>\n<li><code>\"name\"</code>: The \"name\" attribute refers to the name or title of the entity. It provides a human-readable identifier for the entity.</li>\n<li><code>\"code\"</code>: The \"code\" attribute represents a code or unique identifier associated with the entity. It's often used for system identification, referencing, or querying.</li>\n<li><code>\"parent_id\"</code>: The \"parent_id\" attribute indicates the parent entity to which the current entity is related. This is used when entities are organized in hierarchical or parent-child relationships.</li>\n<li><code>\"sale_price_list_id\"</code>: This attribute likely refers to the identifier or reference of the sale price list associated with the entity. It suggests that the entity is linked to a specific price list used for sales.</li>\n</ul>\n<p>Using this Sub-Array, you can retrieve specific attributes associated with a data entity, allowing you to understand its identity, hierarchy, and any related pricing information. It's useful when you want to access particular details about an entity for various operations, such as displaying, querying, or updating information. These fields likely represent various attributes or information related to contact groups, such as the group name, code, parent group ID (if applicable), and the ID of the associated sale price list.</p>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</li>\n<li>The first two elements of the \"params\" array (\"contact.group\" and \"search_read\") identify the specific service and method on the server that the client wants to invoke.</li>\n<li>The third element (a nested array) contains the positional parameters required for the \"search_read\" method. In this example, it includes an empty sub-array (indicating no specific filter) and a sub-array listing the desired fields.</li>\n</ul>\n<p><strong>Note:</strong></p>\n<p>In this, the client sends the API request to the server with the \"contact.group\" model and \"search_read\" method specified in the \"params\" array. The server will process the request and perform a search and read operation within the \"contact.group\" model, retrieving all available contact groups. The server will return the specified fields (\"name,\" \"code,\" \"parent_id,\" and \"sale_price_list_id\") for each contact group as part of the API response, providing details about the contact group attributes.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"2a1f97ea-d91e-4aa0-9c9c-d70714c363df","name":"params/contact.group/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690962280701,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"contact.group\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"parent_id\",\r\n                \"sale_price_list_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-02 12:44:08\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 02 Aug 2023 07:48:09 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=cQ6FUZaLEeD0JbB4IWzYEVC%2BDCujeitjZQmiaj0PAFjVJ7cQQRgxt16VASY%2FnLy9rGtYmsnG%2B9P8cQF%2BwrobbQ4ndFZ6%2FM1NtKiaSlpnQVSuOu52IckmTHGYJsP68iOCkkScE0saspG%2BoPxMQQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f04b7897ff187a8-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1690962280701,\n    \"dt\": 12\n}"}],"_postman_id":"f3f86959-ca0a-4426-bb74-a4caebcbf166"}],"id":"afe73ee9-a6a6-484b-9616-30e64a765af0","_postman_id":"afe73ee9-a6a6-484b-9616-30e64a765af0","description":""},{"name":"Relation Types","item":[{"name":"params/contact.relation.type/search_read","id":"20a8b598-68fb-4432-a349-1932c4a919ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690962581253,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"contact.relation.type\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-02 12:49:20\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\"><strong>Description</strong></h1>\n<p>The JSON-RPC API available at the provided endpoint enables clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\"><strong>Code Explanation</strong></h1>\n<p><strong>\"params\": [</strong><strong>\"contact.relation.type\",</strong>\"search_read\",<strong>[</strong>[],<strong>[</strong>\"name\"<strong>]****], ]</strong></p>\n<p>In the provided JSON-RPC API request, the \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><p><strong>Element 1 (String): \"contact.relation.type\":</strong> The first element of the array is a string, specifically \"contact.relation.type.\" This string identifies the target object or service on the server that will handle the API request. In this case, it represents the \"contact.relation.type\" service, which likely deals with operations related to contact relation types or relationship types between contacts.</p>\n</li>\n<li><p><strong>Element 2 (String): \"search_read\"</strong>: The second element of the array is also a string, specifically \"search_read.\" This string specifies the name of the method within the \"contact.relation.type\" service that the client wants to execute. The \"search_read\" method is commonly used to search for and retrieve records based on certain criteria, similar to a database query.</p>\n</li>\n<li><p><strong>Element 3 (Array): Nested Array of Arrays</strong>: The third element in the \"params\" array represents the positional parameters for the \"search_read\" method. It is a nested array containing two sub-arrays.</p>\n</li>\n<li><p><strong>Sub-Array 1 (Array): []</strong>: The first sub-array is an empty array. It seems to represent the search domain or filter criteria for the records to be retrieved. In this case, since it is empty, the method will return all available records without any specific filtering.</p>\n</li>\n<li><p><strong>Sub-Array 2 (Array): [\"name\"]</strong></p>\n</li>\n</ol>\n<ul>\n<li><code>\"name\"</code>: The \"name\" field represents the name or title of the data objects that the client is interested in. This field could refer to the name of a contact, a product, a category, or any other entity depending on the specific API endpoint being used.</li>\n</ul>\n<p>By including the \"name\" field in the Sub-Array of the API request, the client is indicating that it wants the server to return only the names of the data objects that match the search criteria. The actual data returned in the response will vary based on the records found in the backend system that match the provided search conditions.</p>\n<p>It's worth noting that the Sub-Array can include multiple field names, but in this specific request, the client is interested in retrieving only the names of the data objects.</p>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</li>\n<li>The first two elements of the \"params\" array (\"contact.relation.type\" and \"search_read\") identify the specific service and method on the server that the client wants to invoke.</li>\n<li>The third element (a nested array) contains the positional parameters required for the \"search_read\" method. In this example, it includes an empty sub-array (indicating no specific filter) and a sub-array listing the desired field (\"name\").</li>\n</ul>\n<p><strong>Note:</strong></p>\n<p>In this, the client sends the API request to the server with the \"contact.relation.type\" model and \"search_read\" method specified in the \"params\" array. The server will process the request and perform a search and read operation within the \"contact.relation.type\" service, retrieving all available contact relation types. The server will return the \"name\" field for each contact relation type as part of the API response, providing details about the names of various contact relation types.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"5f80528f-1d0f-427a-8a50-997b47a28f01","name":"params/contact.relation.type/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690962581253,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"contact.relation.type\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-02 12:49:20\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 02 Aug 2023 07:56:23 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=tT8QQNK%2FfGK5LBmnn75RXYdOVPFainZE7kf5vAzeZGNnA6r5nlvZ1iFCtviqinG9WWlToxtbj8YY58eX77bLqrpr6NJ6zY8RbL6DTZUxmeuxoLCghqXr24JY6PAC%2FB38ZqGP6Z578OV5bYG1CQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f04c397ad899fc7-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1690962581253,\n    \"dt\": 11\n}"}],"_postman_id":"20a8b598-68fb-4432-a349-1932c4a919ce"}],"id":"0ea212c7-cbe0-4878-8e2c-0b60e130351c","_postman_id":"0ea212c7-cbe0-4878-8e2c-0b60e130351c","description":""},{"name":"Regions","item":[{"name":"params/region/search_read","id":"0864bf25-2d9c-49d3-a551-90cd33704366","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690963089749,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"region\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-02 12:57:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\"><strong>Description</strong></h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> (Number or String, optional): An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> (String): The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> (Array or Object): An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> (Number or String, optional): If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> (Any): The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> (Object, optional): If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> (Number): A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> (String): A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<p><strong>Code Explanation</strong><br /><strong>\"params\": [</strong>**\"region\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"name\",**</strong>\"code\"<strong><strong>]</strong></strong>],**</p>\n<p>In the provided JSON-RPC API request, the \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><strong>Element 1 (String): \"region\"</strong>: The first element of the array is a string, specifically \"region.\" This string identifies the target object or service on the server that will handle the API request. In this case, it represents the \"region\" service, which likely deals with operations related to geographic regions or areas.</li>\n<li><strong>Element 2 (String): \"search_read\"</strong>: The second element of the array is also a string, specifically \"search_read.\" This string specifies the name of the method within the \"region\" service that the client wants to execute. The \"search_read\" method is commonly used to search for and retrieve records based on certain criteria, similar to a database query.</li>\n<li><strong>Element 3 (Array): Nested Array of Arrays</strong>: The third element in the \"params\" array represents the positional parameters for the \"search_read\" method. It is a nested array containing two sub-arrays.</li>\n<li><strong>Sub-Array 1 (Array): []</strong>: The first sub-array is an empty array. It seems to represent the search domain or filter criteria for the records to be retrieved. In this case, since it is empty, the method will return all available records without any specific filtering.</li>\n<li><strong>Sub-Array 2 (Array): [\"name\", \"code\"]</strong>:</li>\n</ol>\n<p>StartFragment</p>\n<ul>\n<li><code>\"name\"</code>: The \"name\" field represents the name or title of the data objects that the client is interested in. This field could refer to the name of a contact, a product, a category, or any other entity depending on the specific API endpoint being used.</li>\n<li><code>\"code\"</code>: The \"code\" field represents a code associated with the data objects. It may serve as a unique identifier or a specific code related to the entity represented by the data objects.</li>\n</ul>\n<p>By including the \"name\" and \"code\" fields in the Sub-Array of the API request, the client is indicating that it wants the server to return both the names and codes of the data objects that match the search criteria. The actual data returned in the response will vary based on the records found in the backend system that match the provided search conditions.</p>\n<p>The Sub-Array can include multiple field names to retrieve specific data attributes of the data objects. In this case, the client is interested in the \"name\" and \"code\" fields of the data objects.</p>\n<p>EndFragment</p>\n<p>The second sub-array contains a list of field names that the client wants to retrieve from the records that match the search criteria. The provided field names are: \"name\" and \"code.\" These fields likely represent various attributes or information related to regions, such as the region name and a unique identifier (code) for each region.</p>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</li>\n<li>The first two elements of the \"params\" array (\"region\" and \"search_read\") identify the specific service and method on the server that the client wants to invoke.</li>\n<li>The third element (a nested array) contains the positional parameters required for the \"search_read\" method. In this example, it includes an empty sub-array (indicating no specific filter) and a sub-array listing the desired fields (\"name\" and \"code\").</li>\n<li>The actual functionality associated with the \"region\" service and \"search_read\" method will depend on the server's implementation and the specific requirements of the API.</li>\n</ul>\n<p><strong>Note:</strong></p>\n<p>In this, the client sends the API request to the server with the \"region\" service and \"search_read\" method specified in the \"params\" array. The server will process the request and perform a search and read operation within the \"region\" service, retrieving all available regions. The server will return the \"name\" and \"code\" fields for each region as part of the API response, providing details about the names and codes of various geographic regions.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"e287446e-aab5-4afd-a48d-8b41b775f2dc","name":"params/region/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690963089749,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"region\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-02 12:57:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 02 Aug 2023 08:00:05 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=zzLL4506jG2JAALIulGlgM7dC4%2BB4RLq1YcBALN98KuYN0SdQGbuLX59%2FTbo6y6N7xEoBCuDlD58a3Yi%2Bl4IWW8wHVXDt2xH55sS5x0tODqz58rQPhh5jjJkur2zYn87UEVkeh%2BSx2pVfXq2yg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f04c9002f6f9fc7-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1690963089749,\n    \"dt\": 12\n}"}],"_postman_id":"0864bf25-2d9c-49d3-a551-90cd33704366"}],"id":"a1afad0d-55e8-48a1-894d-ad989d8d81c4","_postman_id":"a1afad0d-55e8-48a1-894d-ad989d8d81c4","description":""},{"name":"Industries","item":[{"name":"params/industry/search_read","id":"35e92f63-67c5-4dc4-98ce-1ffb70842135","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690963358905,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"industry\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"parent_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-02 13:01:29\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\"><strong>Description</strong></h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\"><strong>Code Explanation</strong></h1>\n<p><strong>\"params\": [</strong><strong>\"industry\",</strong>\"search_read\",<strong>[</strong>[],<strong>[</strong>\"name\",<strong>\"code\",</strong>\"parent_id\"<strong>]****],</strong></p>\n<p>In the provided JSON-RPC API request, the \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><strong>Element 1 (String): \"industry\"</strong>: The first element of the array is a string, specifically \"industry.\" This string identifies the target object or service on the server that will handle the API request. In this case, it represents the \"industry\" service, which likely deals with operations related to different industries or business sectors.</li>\n<li><strong>Element 2 (String): \"search_read\"</strong>: The second element of the array is also a string, specifically \"search_read.\" This string specifies the name of the method within the \"industry\" service that the client wants to execute. The \"search_read\" method is commonly used to search for and retrieve records based on certain criteria, similar to a database query.</li>\n<li><strong>Element 3 (Array): Nested Array of Arrays</strong>: The third element in the \"params\" array represents the positional parameters for the \"search_read\" method. It is a nested array containing two sub-arrays.</li>\n<li><strong>Sub-Array 1 (Array): []:</strong> The first sub-array is an empty array. It seems to represent the search domain or filter criteria for the records to be retrieved. In this case, since it is empty, the method will return all available records without any specific filtering.</li>\n<li><strong>Sub-Array 2 (Array): [\"name\", \"code\", \"parent_id\"]</strong></li>\n</ol>\n<ul>\n<li><code>\"name\"</code>: The \"name\" field represents the name or title of the data objects that the client is interested in. This field could refer to the name of a contact, a product, a category, or any other entity depending on the specific API endpoint being used.</li>\n<li><code>\"code\"</code>: The \"code\" field represents a code associated with the data objects. It may serve as a unique identifier or a specific code related to the entity represented by the data objects.</li>\n<li><code>\"parent_id\"</code>: The \"parent_id\" field represents the ID of the parent data object, if applicable. It refers to the parent entity or hierarchical relationship that the data objects may have.</li>\n</ul>\n<p>By including the \"name,\" \"code,\" and \"parent_id\" fields in the Sub-Array of the API request, the client is indicating that it wants the server to return these specific attributes for each data object that matches the search criteria. The actual data returned in the response will vary based on the records found in the backend system that match the provided search conditions. These fields likely represent various attributes or information related to industries, such as the industry name, a unique identifier (code) for each industry, and the ID of the parent industry (if applicable).</p>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</li>\n<li>The first two elements of the \"params\" array (\"industry\" and \"search_read\") identify the specific service and method on the server that the client wants to invoke.</li>\n<li>The third element (a nested array) contains the positional parameters required for the \"search_read\" method. In this example, it includes an empty sub-array (indicating no specific filter) and a sub-array listing the desired fields (\"name,\" \"code,\" and \"parent_id\").</li>\n</ul>\n<p><strong>Note:</strong></p>\n<p>In this, the client sends the API request to the server with the \"industry\" model and \"search_read\" method specified in the \"params\" array. The server will process the request and perform a search and read operation within the \"industry\" model, retrieving all available industries. The server will return the \"name,\" \"code,\" and \"parent_id\" fields for each industry as part of the API response, providing details about the names, codes, and parent industry IDs of various industries.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"7c9ab439-bb17-4d05-bb89-eb0d2942906f","name":"params/industry/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690963358905,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"industry\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"parent_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-02 13:01:29\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 02 Aug 2023 08:04:54 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=%2BUZzQsMJgOmS7rpjGhsXEe87awJ5yLkGERQsqbDAa6tSZXJ5s%2Bw%2BXma6tdtm%2Bo37UBpfrLBgIgqIMfChHKtTU%2BFpGJslRzrhEpfmXeulWrhABjaZ36v4jjnHveHPzJzxj%2BDSjwYrxw2WRuidkw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f04d011ca739fc7-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1690963358905,\n    \"dt\": 27\n}"}],"_postman_id":"35e92f63-67c5-4dc4-98ce-1ffb70842135"}],"id":"1204e628-1668-4ae3-929b-47a890805d6e","_postman_id":"1204e628-1668-4ae3-929b-47a890805d6e","description":""},{"name":"Business Area","item":[{"name":"params/business.area/search_read","id":"ae358b34-ecf9-49a4-9464-f5ab3f14bb87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690963642768,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"business.area\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"code\",\r\n                \"name\",\r\n                \"categ_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-02 13:05:57\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\"><strong>Description</strong></h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\"><strong>Code Explanation</strong></h1>\n<p><strong>\"params\": [</strong><strong>\"business.area\",</strong>\"search_read\",<strong>[</strong>[],<strong>[</strong>\"code\",<strong>\"name\",</strong>\"categ_id\"<strong>]****],</strong></p>\n<p>In the provided JSON-RPC API request, the \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><strong>Element 1 (String): \"business.area\"</strong>: The first element of the array is a string, specifically \"business.area.\" This string identifies the target object or service on the server that will handle the API request. In this case, it represents the \"business.area\" service, which likely deals with operations related to different business areas or departments within an organization.</li>\n<li><strong>Element 2 (String): \"search_read\"</strong>: The second element of the array is also a string, specifically \"search_read.\" This string specifies the name of the method within the \"business.area\" service that the client wants to execute. The \"search_read\" method is commonly used to search for and retrieve records based on certain criteria, similar to a database query.</li>\n<li><strong>Element 3 (Array): Nested Array of Arrays</strong>: The third element in the \"params\" array represents the positional parameters for the \"search_read\" method. It is a nested array containing two sub-arrays.</li>\n<li><strong>Sub-Array 1 (Array): []</strong>: The first sub-array is an empty array. It seems to represent the search domain or filter criteria for the records to be retrieved. In this case, since it is empty, the method will return all available records without any specific filtering.</li>\n<li><strong>Sub-Array 2 (Array): [\"code\", \"name\", \"categ_id\"]</strong></li>\n</ol>\n<p>These attributes are likely associated with a specific data entity or object. Let's break down the elements within the Sub-Array:</p>\n<ul>\n<li><code>\"code\"</code>: The \"code\" attribute represents a code or unique identifier associated with the entity. It's often used for system identification, referencing, or querying.</li>\n<li><code>\"name\"</code>: The \"name\" attribute refers to the name or title of the entity. It provides a human-readable identifier for the entity.</li>\n<li><code>\"categ_id\"</code>: The \"categ_id\" attribute likely refers to the category identifier that the entity belongs to. It indicates that the entity is categorized under a specific category.</li>\n</ul>\n<p>Using this Sub-Array, you can retrieve specific attributes associated with a data entity. This information can be valuable for understanding the identity, categorization, and identification of the entity. It's particularly useful when you want to access essential information about the entity for various operations such as display, querying, or further processing. These fields likely represent various attributes or information related to business areas, such as the area code, name, and the ID of the category to which the business area belongs.</p>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</li>\n<li>The first two elements of the \"params\" array (\"business.area\" and \"search_read\") identify the specific service and method on the server that the client wants to invoke.</li>\n<li>The third element (a nested array) contains the positional parameters required for the \"search_read\" method. In this example, it includes an empty sub-array (indicating no specific filter) and a sub-array listing the desired fields (\"code,\" \"name,\" and \"categ_id\").</li>\n</ul>\n<p><strong>Note:</strong></p>\n<p>In this, the client sends the API request to the server with the \"business.area\" model and \"search_read\" method specified in the \"params\" array. The server will process the request and perform a search and read operation within the \"business.area\" model, retrieving all available business areas. The server will return the \"code,\" \"name,\" and \"categ_id\" fields for each business area as part of the API response, providing details about the codes, names, and category IDs of various business areas.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"44354efd-ae67-450b-8127-88cd9e0a0139","name":"params/business.area/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690963642768,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"business.area\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"code\",\r\n                \"name\",\r\n                \"categ_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-02 13:05:57\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 02 Aug 2023 08:09:24 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=B1mXw%2BBUaFROtnLVHa%2F2k2NqSSp8LYkV2LdFByAogXy0TofDsNyICvBdr5rcjW8GazRy0v%2BYsurvV91%2F0514uEHIO71M8aOFelJssRNQ7%2B2HZrdMnni0BvK1WWA%2BDRf863yQCqjMirrLEoRPsg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f04d6a99e7f9fc7-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1690963642768,\n    \"dt\": 8\n}"}],"_postman_id":"ae358b34-ecf9-49a4-9464-f5ab3f14bb87"}],"id":"ff4f663c-32be-4a52-8017-a1a7376b5581","_postman_id":"ff4f663c-32be-4a52-8017-a1a7376b5581","description":""},{"name":"Fleet Sizes","item":[{"name":"params/fleet.size/search_read","id":"7405aec6-fad3-4833-bc76-7f98eafd60dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690963899688,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"fleet.size\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"code\",\r\n                \"name\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-02 13:11:02\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\"><strong>Description</strong></h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\"><strong>Code Explanation</strong></h1>\n<p><strong>\"params\": [</strong><strong>\"fleet.size\",</strong>\"search_read\",<strong>[</strong>[],<strong>[</strong>\"code\",<strong>\"name\"<strong>]</strong>],</strong></p>\n<p>In the provided JSON-RPC API request, the \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><strong>Element 1 (String): \"fleet.size\"</strong>: The first element of the array is a string, specifically \"fleet.size.\" This string identifies the target object or service on the server that will handle the API request. In this case, it represents the \"fleet.size\" service, which likely deals with operations related to different sizes or categories of fleets, such as vehicles or transportation units.</li>\n<li><strong>Element 2 (String): \"search_read\"</strong>: The second element of the array is also a string, specifically \"search_read.\" This string specifies the name of the method within the \"fleet.size\" service that the client wants to execute. The \"search_read\" method is commonly used to search for and retrieve records based on certain criteria, similar to a database query.</li>\n<li><strong>Element 3 (Array): Nested Array of Arrays</strong>: The third element in the \"params\" array represents the positional parameters for the \"search_read\" method. It is a nested array containing two sub-arrays.</li>\n<li><strong>Sub-Array 1 (Array): []</strong>: The first sub-array is an empty array. It seems to represent the search domain or filter criteria for the records to be retrieved. In this case, since it is empty, the method will return all available records without any specific filtering.</li>\n<li><strong>Sub-Array 2 (Array): [\"code\", \"name\"]</strong></li>\n</ol>\n<p>These attributes are likely associated with a specific data entity or object. Let's break down the elements within the Sub-Array:</p>\n<ul>\n<li><code>\"code\"</code>: The \"code\" attribute represents a code or unique identifier associated with the entity. It's often used for system identification, referencing, or querying purposes.</li>\n<li><code>\"name\"</code>: The \"name\" attribute refers to the name or title of the entity. It provides a human-readable identifier for the entity.</li>\n</ul>\n<p>Using this Sub-Array, you can retrieve specific attributes associated with a data entity. This information is valuable for understanding the entity's identity and essential details. The attributes \"code\" and \"name\" are commonly used attributes in many systems to uniquely identify and describe entities. Sub-Arrays like this are particularly useful when you want to retrieve a subset of attributes for a particular operation, such as displaying information, querying, or further processing of the entity's data.</p>\n<p>These fields likely represent various attributes or information related to fleet sizes, such as the size code and the corresponding name or description.</p>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</li>\n<li>The first two elements of the \"params\" array (\"fleet.size\" and \"search_read\") identify the specific model and method on the server that the client wants to invoke.</li>\n<li>The third element (a nested array) contains the positional parameters required for the \"search_read\" method. In this example, it includes an empty sub-array (indicating no specific filter) and a sub-array listing the desired fields (\"code\" and \"name\").</li>\n<li>The actual functionality associated with the \"fleet.size\" model and \"search_read\" method will depend on the server's implementation and the specific requirements of the API.</li>\n</ul>\n<p><strong>Note:</strong></p>\n<p>In this, the client sends the API request to the server with the \"fleet.size\" model and \"search_read\" method specified in the \"params\" array. The server will process the request and perform a search and read operation within the \"fleet.size\" model, retrieving all available fleet sizes. The server will return the \"code\" and \"name\" fields for each fleet size as part of the API response, providing details about the size codes and names of various fleet categories.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"f8648292-9e2c-455f-990a-be1a6a9b22e1","name":"params/fleet.size/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1690963899688,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"fleet.size\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"code\",\r\n                \"name\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-02 13:11:02\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 02 Aug 2023 08:13:40 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=9tQigrsKXISbLnXnQxXaQwf%2BuT1ElQh%2FMaxyp2jk7esk0VtkZUat1TydVMFsAwZNxbYav7E47o%2BTN1MgX65i1QRy%2BBsTHQW3CYnN5kBhDo2yDFL%2BebHX1yNM552qiNOxQ1v7KJWpBpXFmXvd%2Bw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f04dceacf679fc7-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1690963899688,\n    \"dt\": 12\n}"}],"_postman_id":"7405aec6-fad3-4833-bc76-7f98eafd60dc"}],"id":"24cbffc3-79bb-450f-98d4-ab1937454798","_postman_id":"24cbffc3-79bb-450f-98d4-ab1937454798","description":""}],"id":"c5a66229-6d65-4e95-98a1-27739fac6a15","_postman_id":"c5a66229-6d65-4e95-98a1-27739fac6a15","description":""}],"id":"0e0a4eea-8290-4d3f-a9c2-31abd6351144","_postman_id":"0e0a4eea-8290-4d3f-a9c2-31abd6351144","description":""},{"name":"Products","item":[{"name":"Dashboard","item":[{"name":"params/in.line/search_read","id":"633b166d-94d1-4df0-bfb6-a1e289728ec0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1691118805750,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"product_board\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-04 08:12:49\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"inline.help\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"action\",<strong>\"=\",</strong>\"product_board\"<strong>]</strong>]<strong>],****{}, ]</strong></p>\n<p>In the provided JSON-RPC API request, the \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><strong>Element 1 (String): \"inline.help\"</strong>: The first element of the array is a string, specifically \"inline.help.\" This string identifies the target object or service on the server that will handle the API request. In this case, it represents the \"inline.help\" service, which likely deals with operations related to providing inline help or guidance within the application.</li>\n<li><strong>Element 2 (String): \"search_read\"</strong>: The second element of the array is also a string, specifically \"search_read.\" This string specifies the name of the method within the \"inline.help\" service that the client wants to execute. The \"search_read\" method is commonly used to search for and retrieve records based on certain criteria, similar to a database query.</li>\n<li><strong>Element 3 (Array): Nested Array of Arrays</strong>: The third element in the \"params\" array represents the positional parameters for the \"search_read\" method. It is a nested array containing one sub-array.</li>\n<li><strong>Sub-Array 1 (Array): [[\"action\", \"=\", \"product_board\"]]</strong>: The first and only sub-array contains a list of conditions or filters used to search for records that match specific criteria. The provided condition is in the form of an array with three elements: [\"field_name\", \"operator\", \"value\"]. In this, the condition specifies that the field \"action\" should be equal to the string \"product_board.\" The method will search for records where the value of the \"action\" field is exactly \"product_board.\"</li>\n<li><strong>Element 4 (Object): {}</strong>: The fourth element in the \"params\" array is an empty object. It seems to represent additional options or context for the API call. In this case, the object is empty, indicating that no additional context is provided for the method call.</li>\n</ol>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</li>\n<li>The first two elements of the \"params\" array (\"inline.help\" and \"search_read\") identify the specific service and method on the server that the client wants to invoke.</li>\n<li>The third element (a nested array) contains the positional parameters required for the \"search_read\" method. In this example, it includes a sub-array with a single condition to filter the records.</li>\n<li>The actual functionality associated with the \"inline.help\" service and \"search_read\" method will depend on the server's implementation and the specific requirements of the API.</li>\n</ul>\n<p><strong>Note:</strong></p>\n<p>In this, the client sends the API request to the server with the \"inline.help\" service and \"search_read\" method specified in the \"params\" array. The server will process the request and perform a search and read operation within the \"inline.help\" service, searching for records where the \"action\" field is equal to \"product_board.\" The server will return the matching records, providing inline help or guidance related to the \"product_board\" action.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"38b37846-a720-414c-9046-71ed780dbe6d","name":"params/in.line/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1691118805750,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"product_board\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-04 08:12:49\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 04 Aug 2023 03:17:12 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=sLeH8oKx8pWr%2FR2hJKy03Vd8c7EUcIKb0Hk5H74QK%2BowLNudWW%2B6zHNdSnRrolgk5dCxjZpW%2BQ5uaOhS%2FSr1rwJHUjz3hcYCUsCE%2BZuM7BXXVE6dVwCYzGHHi3%2BizI1SEshOmM0dSNnXiWwRdQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f13a55f78114094-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1691118805750,\n    \"dt\": 8\n}"}],"_postman_id":"633b166d-94d1-4df0-bfb6-a1e289728ec0"},{"name":"params/report.product/products_per_categ","id":"101a700a-ff17-4026-98f9-2010cc053be4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1691118805755,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.product\",\r\n        \"products_per_categ\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-04 08:12:49\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.product\",</strong>\"products_per_categ\",<strong>[],</strong>{<strong>\"context\": {}****}, ]</strong></p>\n<p>In the provided JSON-RPC API request, the \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><strong>Element 1 (String): \"report.product\"</strong>: The first element of the array is a string, specifically \"report.product.\" This string identifies the target object or service on the server that will handle the API request. In this case, it represents the \"report.product\" service, which likely deals with generating reports related to product data within the application.</li>\n<li><strong>Element 2 (String): \"products_per_categ\"</strong>: The second element of the array is also a string, specifically \"products_per_categ.\" This string specifies the name of the method within the \"report.product\" service that the client wants to execute. The \"products_per_categ\" method is likely used to retrieve product data organized by product categories.</li>\n<li><strong>Element 3 (Array): []</strong>: The third element in the \"params\" array represents the positional parameters for the \"products_per_categ\" method. It is an empty array, indicating that there are no specific positional parameters provided for this method call.</li>\n<li><strong>Element 4 (Object): {\"context\": {}</strong>: The fourth element in the \"params\" array is an object containing the context for the API call. The \"context\" object may include additional options or parameters that provide additional information or context for the method execution. In this case, the \"context\" object is empty, indicating that no additional context is provided for the method call.</li>\n</ol>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</li>\n<li>The first two elements of the \"params\" array (\"report.product\" and \"products_per_categ\") identify the specific service and method on the server that the client wants to invoke.</li>\n<li>The third element (an empty array) indicates that no specific positional parameters are provided for the \"products_per_categ\" method. The method may have default behavior or use context information to retrieve the required product data.</li>\n<li>The fourth element (an object with an empty \"context\" property) may be used to provide additional options or parameters specific to the method call. In this case, the \"context\" object is empty, indicating no additional context is provided.</li>\n</ul>\n<p><strong>Note:</strong></p>\n<p>In this, the client sends the API request to the server with the \"report.product\" service and \"products_per_categ\" method specified in the \"params\" array. The server will process the request and execute the \"products_per_categ\" method to generate a report on product data organized by product categories. The server will return the report with the relevant product details grouped by categories.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"4e7666f9-f6bb-4465-85cf-7afb82b8aa22","name":"params/report.product/products_per_categ","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1691118805755,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.product\",\r\n        \"products_per_categ\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-04 08:12:49\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 04 Aug 2023 03:29:49 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=vd38dJJDh4oI0JvTZsnF6y1BfL0j7%2FKCrqNCQsE0Ntp1iTTMnU6KizYj0fUkvyJeVBAVO7qJvkpiRlyBHwMYk26Zb5JSbaX2NA8PMLVUU%2BEhc85eilZhTgvQaxLdja3GYZ%2Bq4hme12iIPy7Pcw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f13b7dc39794494-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            \"Mobile Computer\",\n            3\n        ],\n        [\n            \"Baby Others\",\n            1\n        ],\n        [\n            \"Online - Inventory\",\n            3\n        ],\n        [\n            \"Clothing\",\n            4\n        ],\n        [\n            \"Online - Accounting\",\n            3\n        ],\n        [\n            \"Dress\",\n            16\n        ],\n        [\n            \"Nursing Cloth\",\n            18\n        ],\n        [\n            \"Nail Clipper/Trimmer\",\n            13\n        ],\n        [\n            \"RFID\",\n            1\n        ],\n        [\n            \"Smart Door Lock\",\n            15\n        ],\n        [\n            \"Pants\",\n            1\n        ],\n        [\n            \"POS Terminal\",\n            2\n        ],\n        [\n            \"Earphone/Headphone\",\n            4\n        ],\n        [\n            \"Online - HR\",\n            3\n        ],\n        [\n            \"SD Card\",\n            1\n        ],\n        [\n            \"Baby Monitor\",\n            6\n        ],\n        [\n            \"Projector\",\n            1\n        ],\n        [\n            \"Vacuum Cleaner\",\n            4\n        ],\n        [\n            \"Online - Sales\",\n            3\n        ],\n        [\n            \"Network Card\",\n            1\n        ],\n        [\n            \"Online - POS\",\n            2\n        ],\n        [\n            \"Adapter/Router/Dongle\",\n            4\n        ],\n        [\n            \"Nursing Cover\",\n            13\n        ],\n        [\n            \"Scanners\",\n            29\n        ],\n        [\n            \"Online - Manufacturing\",\n            5\n        ],\n        [\n            \"Fanless CPU\",\n            1\n        ],\n        [\n            \"Online - Purchase\",\n            3\n        ],\n        [\n            \"Temperature And Humidity\",\n            1\n        ],\n        [\n            \"Zeek\",\n            15\n        ],\n        [\n            \"Baby Safety\",\n            2\n        ],\n        [\n            \"CCTV\",\n            9\n        ]\n    ],\n    \"error\": null,\n    \"id\": 1691118805755,\n    \"dt\": 39\n}"}],"_postman_id":"101a700a-ff17-4026-98f9-2010cc053be4"},{"name":"params/product/search_read","id":"4bc7beaa-52ff-45ef-93af-236c9c8497f4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1691118805763,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"product\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"categ_id\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": \"write_time desc\",\r\n            \"offset\": 0,\r\n            \"limit\": 10,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-04 08:13:25\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> (Number): A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> (String): A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"product\",</strong>\"search_read\",<strong>[</strong>[],<strong>[</strong>\"name\",<strong>\"code\",</strong>\"categ_id\",<strong>\"active\"<strong>]</strong>],</strong>{<strong>\"count\": true,</strong>\"order\": \"write_time desc\",<strong>\"offset\": 0,</strong>\"limit\": 10,<strong>\"context\": {}****}, ]</strong></p>\n<p>In the provided JSON-RPC API request, the \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><strong>Element 1 (String): \"product\"</strong>: The first element of the array is a string, specifically \"product.\" This string identifies the target object or service on the server that will handle the API request. In this case, it represents the \"product\" service, which likely deals with operations related to products within the application.</li>\n<li><strong>Element 2 (String): \"search_read\"</strong>: The second element of the array is also a string, specifically \"search_read.\" This string specifies the name of the method within the \"product\" service that the client wants to execute. The \"search_read\" method is commonly used to search for and retrieve records based on certain criteria, similar to a database query.</li>\n<li><strong>Element 3 (Array): Nested Array of Arrays</strong>: The third element in the \"params\" array represents the positional parameters for the \"search_read\" method. It is a nested array containing two sub-arrays.</li>\n<li><strong>Sub-Array 1 (Array): []</strong>: The first sub-array is an empty array, indicating that there are no specific search criteria or filters applied to the method call. The absence of filters implies that the method will return all available records without any constraints on the search.</li>\n<li><strong>Sub-Array 2 (Array): [\"name\", \"code\", \"categ_id\", \"active\"]</strong>: The second sub-array specifies a list of fields to be included in the response. It indicates that the method should return records with data from the \"name,\" \"code,\" \"categ_id,\" and \"active\" fields.</li>\n<li><strong>Element 4 (Object): {\"count\": true, \"order\": \"write_time desc\", \"offset\": 0, \"limit\": 10, \"context\": {}</strong></li>\n</ol>\n<ul>\n<li>The fourth element in the \"params\" array is an object containing additional options or context for the API call. The \"context\" object may include settings and parameters that provide additional information for the method execution.</li>\n<li>The specific settings provided in this example are:</li>\n</ul>\n<ol>\n<li><code>\"count\": true</code>: This setting requests the server to return the total count of records that match the search criteria along with the actual records. It enables the client to know the total number of results available.</li>\n<li><code>\"order\": \"write_time desc\"</code>: This setting specifies the ordering of the results based on the \"write_time\" field in descending order (from the most recent to the oldest).</li>\n<li><code>\"offset\": 0</code>: This setting indicates the starting position or offset from where the server should begin returning records. In this case, it starts from the first record (position 0).</li>\n<li><code>\"limit\": 10</code>: This setting defines the maximum number of records to be returned in the response. In this case, it specifies that a maximum of 10 records should be included in the response.</li>\n<li><code>\"context\": {}</code>: This setting is an empty object, indicating that no specific additional context is provided for the method call.</li>\n</ol>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</li>\n<li>The first two elements of the \"params\" array (\"product\" and \"search_read\") identify the specific service and method on the server that the client wants to invoke.</li>\n<li>The third element (a nested array) contains the positional parameters required for the \"search_read\" method. In this example, it includes two sub-arrays, specifying the fields to be included in the response and the absence of specific search filters.</li>\n<li>The fourth element (an object with various settings) provides additional options and context for the method call. It includes settings for counting results, ordering, offset, and limiting the number of records in the response.</li>\n</ul>\n<p><strong>Note:</strong></p>\n<p>In this, the client sends the API request to the server with the \"product\" service and \"search_read\" method specified in the \"params\" array. The server will process the request and execute the \"search_read\" method to retrieve product records. The response will include the specified fields (\"name,\" \"code,\" \"categ_id,\" and \"active\") for a maximum of 10 products, sorted based on the \"write_time\" field in descending order. Additionally, the response will provide the total count of records available in the server's database that match the search criteria.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"6f81de0d-cb85-4fbf-8c9f-15e783c242f6","name":"params/product/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1691118805763,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"product\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"categ_id\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": \"write_time desc\",\r\n            \"offset\": 0,\r\n            \"limit\": 10,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-04 08:13:25\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 04 Aug 2023 04:01:47 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=LUVFf9GEq5fV%2FMZmxmWHyeQ0W34IXx60Y1Bg0RTWtwpDHpSCHmztnZks%2FInpswSP0A6zc7AmXdFNdxtZRzhZBeBFavke5ZvAdNeYrlFM65tF4HfOwdHfBmrKKmLjVWXzZm1wcVUFmw4jU%2F6UnQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f13e6accc2855d2-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 873,\n                \"name\": \"Xiaomi Smart IP Camera 130 Degree FOV Night Vision 2.4Ghz Wifi Xioami Home Kit Security Monitor baby CCTV\",\n                \"categ_id\": [\n                    190,\n                    \"[Baby Monitor] Baby Monitor\",\n                    null\n                ],\n                \"active\": true,\n                \"code\": \"ZX36\"\n            },\n            {\n                \"id\": 908,\n                \"name\": \"D01-CC0002 : 6000pa Strong Power Car Vacuum Cleaner USB Rechargeable\",\n                \"categ_id\": [\n                    178,\n                    \"[Vacuum Cleaner] Vacuum Cleaner\",\n                    null\n                ],\n                \"active\": true,\n                \"code\": \"ZV67\"\n            },\n            {\n                \"id\": 907,\n                \"name\": \"YH-02: BOOMJOY 6500PA Cordless Handheld Portable Vacuum Cleaner with Rechargeable\",\n                \"categ_id\": [\n                    178,\n                    \"[Vacuum Cleaner] Vacuum Cleaner\",\n                    null\n                ],\n                \"active\": true,\n                \"code\": \"ZV66\"\n            },\n            {\n                \"id\": 913,\n                \"name\": \"6000 p.a. GB-822 : Handheld Wireless Vacuum Cleaners\",\n                \"categ_id\": [\n                    178,\n                    \"[Vacuum Cleaner] Vacuum Cleaner\",\n                    null\n                ],\n                \"active\": true,\n                \"code\": \"ZV36\"\n            },\n            {\n                \"id\": 865,\n                \"name\": \"AX1800: Xiaomi router Wifi\",\n                \"categ_id\": [\n                    182,\n                    \"[Adapter/Router/Dongle] Adapter/Router/Dongle\",\n                    null\n                ],\n                \"active\": true,\n                \"code\": \"ZX30\"\n            },\n            {\n                \"id\": 906,\n                \"name\": \"4800pa Strong Power Car Vacuum Cleaner\",\n                \"categ_id\": [\n                    178,\n                    \"[Vacuum Cleaner] Vacuum Cleaner\",\n                    null\n                ],\n                \"active\": true,\n                \"code\": \"ZV65\"\n            },\n            {\n                \"id\": 1007,\n                \"name\": \"711 : Stand\",\n                \"categ_id\": [\n                    177,\n                    \"[Scanners] Scanners\",\n                    null\n                ],\n                \"active\": true,\n                \"code\": \"ZT70S\"\n            },\n            {\n                \"id\": 1033,\n                \"name\": \"780 : Tera Fixed Mount 1D 2D Scanners QR Reader Desktop Platform\",\n                \"categ_id\": [\n                    177,\n                    \"[Scanners] Scanners\",\n                    null\n                ],\n                \"active\": true,\n                \"code\": \"ZT80\"\n            },\n            {\n                \"id\": 890,\n                \"name\": \"HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\",\n                \"categ_id\": [\n                    177,\n                    \"[Scanners] Scanners\",\n                    null\n                ],\n                \"active\": true,\n                \"code\": \"ZT52\"\n            },\n            {\n                \"id\": 1018,\n                \"name\": \"Tera-0012 : Tera 2D Wireless Portable Back Clip 1D 2D QR Bar Code Reader with Bluetooth image scanning\",\n                \"categ_id\": [\n                    177,\n                    \"[Scanners] Scanners\",\n                    null\n                ],\n                \"active\": true,\n                \"code\": \"ZT72\"\n            }\n        ],\n        247\n    ],\n    \"error\": null,\n    \"id\": 1691118805763,\n    \"dt\": 46\n}"}],"_postman_id":"4bc7beaa-52ff-45ef-93af-236c9c8497f4"}],"id":"ad386e2f-2160-4845-83d2-1aaa8b0e0cec","_postman_id":"ad386e2f-2160-4845-83d2-1aaa8b0e0cec","description":""},{"name":"Products","item":[{"name":"Products","item":[{"name":"params/inline.help/search_read","id":"38c0a32c-fc1a-4438-b3ee-0e668cf2b2c7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1691122296434,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"product\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-04 09:11:06\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"inline.help\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"action\",<strong>\"=\",</strong>\"product\"<strong>]</strong>]<strong>],****{}, ]</strong></p>\n<p>In the provided JSON-RPC API request, the \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><strong>Element 1 (String): \"inline.help\"</strong>: The first element of the array is a string, specifically \"inline.help.\" This string identifies the target object or service on the server that will handle the API request. In this case, it represents the \"inline.help\" service, which likely deals with providing inline help or documentation related to different aspects of the application.</li>\n<li><strong>Element 2 (String): \"search_read\"</strong>: The second element of the array is also a string, specifically \"search_read.\" This string specifies the name of the method within the \"inline.help\" service that the client wants to execute. The \"search_read\" method is commonly used to search for and retrieve records based on certain criteria, similar to a database query.</li>\n<li><strong>Element 3 (Array): Nested Array of Arrays</strong>: The third element in the \"params\" array represents the positional parameters for the \"search_read\" method. It is a nested array containing a single sub-array.</li>\n<li><strong>Sub-Array 1 (Array): [[\"action\", \"=\", \"product\"]]</strong>: The first and only sub-array contains filter criteria to be applied to the search. In this case, it is an array with three elements.</li>\n<li><strong>Filter Element 1 (String): \"action\"</strong>: The first element of the filter array is a string, specifically \"action.\" It represents a field or attribute in the records that the client wants to filter based on.</li>\n<li><strong>Filter Element 2 (String): \"=\"</strong>: The second element of the filter array is a string, specifically \"=\". It indicates the type of comparison to be used for the filter.</li>\n<li><strong>Filter Element 3 (String): \"product\"</strong>: The third element of the filter array is a string, specifically \"product.\" It represents the value that the \"action\" field should match for the records to be retrieved. In this case, the client is requesting records where the \"action\" field is equal to \"product.\"</li>\n<li><strong>Element 4 (Object): {}</strong></li>\n</ol>\n<ul>\n<li>The fourth element in the \"params\" array is an object containing additional options or context for the API call. The \"context\" object may include settings and parameters that provide additional information for the method execution.</li>\n<li>In this case, the context object is empty, indicating that no specific additional context is provided for the method call.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</li>\n<li>The first two elements of the \"params\" array (\"inline.help\" and \"search_read\") identify the specific service and method on the server that the client wants to invoke.</li>\n<li>The third element (a nested array) contains the positional parameters required for the \"search_read\" method. In this example, it includes a single sub-array representing the filter criteria to be applied to the search.</li>\n<li>The fourth element (an empty object) provides additional options and context for the method call. In this case, no specific additional context is provided.</li>\n</ul>\n<p><strong>Note:</strong></p>\n<p>In this, the client sends the API request to the server with the \"inline.help\" service and \"search_read\" method specified in the \"params\" array. The server will process the request and execute the \"search_read\" method with the filter criteria to retrieve records where the \"action\" field is equal to \"product.\" The response will include the relevant records that match the filter criteria.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"1b7c4ea3-5443-4653-9049-2302a6c01f5d","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1691122296434,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"product\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-04 09:11:06\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 04 Aug 2023 04:14:44 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=27zy0D%2Bxdm0JXhjhDgXik9PzktkO%2BGYk04Y345CKyVq1yjkln2BGMdfoVVi20IVPnHDIoQNZ%2BaLQfeU1HdmBB%2Fpj%2F3lgNUjNWDaiN6mOpWM23Z68yYtokE%2BaxYNxATRh5l9bchAj9aZSq4zQRg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f13f9aa9daba05d-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1691122296434,\n    \"dt\": 6\n}"}],"_postman_id":"38c0a32c-fc1a-4438-b3ee-0e668cf2b2c7"},{"name":"params/product/search_read","id":"b1589a45-14d2-45f9-8909-d38ac5aa8368","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1691122296441,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"product\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"code\",\r\n                \"name\",\r\n                \"type\",\r\n                \"uom_id\",\r\n                \"categ_id\",\r\n                \"brand_id\",\r\n                \"sale_price\",\r\n                \"purchase_price\",\r\n                \"state\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-04 09:11:06\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint enables clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol, making it versatile for various programming languages.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>Clients interact with the API by sending HTTP POST requests to the specified endpoint. The request payload should be a JSON object with the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Providing an \"id\" helps clients match responses with their corresponding requests, particularly when dealing with batch processing.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server responds with a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help clients match responses with their corresponding requests.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"product\",</strong>\"search_read\",<strong>[</strong>[<strong>[]</strong>],<strong>[</strong>\"code\",<strong>\"name\",</strong>\"type\",<strong>\"uom_id\",</strong>\"categ_id\",<strong>\"brand_id\",</strong>\"sale_price\",<strong>\"purchase_price\",</strong>\"state\",<strong>\"active\"<strong>]</strong>],</strong>{<strong>\"count\": true,</strong>\"order\": null,<strong>\"offset\": 0,</strong>\"limit\": 100,<strong>\"context\": {}****}, ]</strong></p>\n<p>In the provided JSON-RPC API request, the \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><strong>Element 1 (String): \"product\"</strong>: The first element of the array is a string, specifically \"product.\" This string identifies the target object or service on the server that will handle the API request. In this case, it represents the \"product\" service, which likely deals with operations related to products within the application.</li>\n<li><strong>Element 2 (String): \"search_read\"</strong>: The second element of the array is also a string, specifically \"search_read.\" This string specifies the name of the method within the \"product\" service that the client wants to execute. The \"search_read\" method is commonly used to search for and retrieve records based on certain criteria, similar to a database query.</li>\n<li><strong>Element 3 (Array): Nested Array of Arrays</strong>: The third element in the \"params\" array represents the positional parameters for the \"search_read\" method. It is a nested array containing two sub-arrays.</li>\n<li><strong>Sub-Array 1 (Array): [[]]</strong>: The first sub-array is an array containing an empty array. This empty array indicates that there are no specific search criteria or filters applied to the method call. It means the client is requesting all available records from the \"product\" service without any filtering.</li>\n<li><strong>Sub-Array 2 (Array): [\"code\", \"name\", \"type\", \"uom_id\", \"categ_id\", \"brand_id\", \"sale_price\", \"purchase_price\", \"state\", \"active\"]</strong>: The second sub-array specifies a list of fields to be included in the response. It indicates that the method should return records with data from the following fields: \"code,\" \"name,\" \"type,\" \"uom_id,\" \"categ_id,\" \"brand_id,\" \"sale_price,\" \"purchase_price,\" \"state,\" and \"active.\"</li>\n<li><strong>Element 4 (Object): {\"count\": true, \"order\": null, \"offset\": 0, \"limit\": 100, \"context\": {}</strong>: The fourth element in the \"params\" array is an object containing additional options or context for the API call. The \"context\" object may include settings and parameters that provide additional information for the method execution.</li>\n</ol>\n<p>The specific settings provided in this example are:</p>\n<ul>\n<li><code>\"count\": true</code>: This setting requests the server to return the total count of records that match the search criteria along with the actual records. It enables the client to know the total number of results available.</li>\n<li><code>\"order\": null</code>: The \"order\" field is set to null, which means the results will not be sorted based on any specific field. The server will return the records in an unspecified order.</li>\n<li><code>\"offset\": 0</code>: This setting indicates the starting position or offset from where the server should begin returning records. In this case, it starts from the first record (position 0).</li>\n<li><code>\"limit\": 100</code>: This setting defines the maximum number of records to be returned in the response. In this case, it specifies that a maximum of 100 records should be included in the response.</li>\n<li><code>\"context\": {}</code>: This setting is an empty object, indicating that no specific additional context is provided for the method call.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</li>\n<li>The first two elements of the \"params\" array (\"product\" and \"search_read\") identify the specific service and method on the server that the client wants to invoke.</li>\n<li>The third element (a nested array) contains the positional parameters required for the \"search_read\" method. In this example, it includes two sub-arrays, one with no specific search criteria (all records) and another specifying the fields to be included in the response.</li>\n<li>The fourth element (an object with various settings) provides additional options and context for the method call. It includes settings for counting results, ordering (not specified in this case), offset, and limiting the number of records in the response.</li>\n</ul>\n<p><strong>Note:</strong></p>\n<p>In this, the client sends the API request to the server with the \"product\" service and \"search_read\" method specified in the \"params\" array. The server will process the request and execute the \"search_read\" method to retrieve product records. The response will include the specified fields (\"code,\" \"name,\" \"type,\" \"uom_id,\" \"categ_id,\" \"brand_id,\" \"sale_price,\" \"purchase_price,\" \"state,\" and \"active\") for a maximum of 100 products. The server will also provide the total count of records available in the server's database that match the search criteria.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"a4c33901-c8a0-4b9f-a64e-2fa8302187e3","name":"params/product/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1691122296441,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"product\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"code\",\r\n                \"name\",\r\n                \"type\",\r\n                \"uom_id\",\r\n                \"categ_id\",\r\n                \"brand_id\",\r\n                \"sale_price\",\r\n                \"purchase_price\",\r\n                \"state\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-04 09:11:06\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 04 Aug 2023 04:47:34 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=T4046AzXsBvShHyLU4phrfMJOJTWyTJcANglYRHvn%2FzjxxW1B0x6ArXy5vF9R4TPYRNfwlFkS1q7FBamVXgdSxii1kV30%2FJdfjMfMg9aYb3sHJfQFlCtWAEVFens97stsZQtsikFgBmDSXGKsw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f1429bf6a8c40dd-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 778,\n                \"name\": \"Salary\",\n                \"uom_id\": [\n                    3,\n                    \"Per Month\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"C-0001\",\n                \"sale_price\": null,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 779,\n                \"name\": \"KWSP-EPF\",\n                \"uom_id\": [\n                    3,\n                    \"Per Month\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"C-0002\",\n                \"sale_price\": null,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 780,\n                \"name\": \"PERKESO-SOCSO\",\n                \"uom_id\": [\n                    3,\n                    \"Per Month\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"C-0003\",\n                \"sale_price\": null,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 781,\n                \"name\": \"PERKESO-SIP\",\n                \"uom_id\": [\n                    3,\n                    \"Per Month\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"C-0004\",\n                \"sale_price\": null,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 782,\n                \"name\": \"Allowance\",\n                \"uom_id\": [\n                    3,\n                    \"Per Month\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"C-0005\",\n                \"sale_price\": null,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 820,\n                \"name\": \"PCB / MTD\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"C-0006\",\n                \"sale_price\": null,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 771,\n                \"name\": \"Basic Analysis\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0001\",\n                \"sale_price\": 1000,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 764,\n                \"name\": \"Conf - Accounting\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": [\n                    169,\n                    \"[online_price_accounting] Online - Accounting\",\n                    null\n                ],\n                \"code\": \"P-0002a\",\n                \"sale_price\": 2000,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 774,\n                \"name\": \"Conf - Inventory\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": [\n                    172,\n                    \"[online_price_inventory] Online - Inventory\",\n                    null\n                ],\n                \"code\": \"P-0002b\",\n                \"sale_price\": 2000,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 775,\n                \"name\": \"Conf - Manufacturing\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": [\n                    170,\n                    \"[online_price_manufacturing] Online - Manufacturing\",\n                    null\n                ],\n                \"code\": \"P-0002c\",\n                \"sale_price\": 2000,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 785,\n                \"name\": \"Conf - Purchase\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": [\n                    171,\n                    \"[online_price_purchase] Online - Purchase\",\n                    null\n                ],\n                \"code\": \"P-0002d\",\n                \"sale_price\": 2000,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 786,\n                \"name\": \"Conf - Sales\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": [\n                    173,\n                    \"[online_price_sales] Online - Sales\",\n                    null\n                ],\n                \"code\": \"P-0002e\",\n                \"sale_price\": 2000,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 850,\n                \"name\": \"Conf - POS (System)\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": [\n                    174,\n                    \"[online_price_pos] Online - POS\",\n                    null\n                ],\n                \"code\": \"P-0002f\",\n                \"sale_price\": 2000,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 801,\n                \"name\": \"Conf - HR\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": [\n                    175,\n                    \"[online_price_hr] Online - HR\",\n                    null\n                ],\n                \"code\": \"P-0002g\",\n                \"sale_price\": 2000,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 804,\n                \"name\": \"Conf - Custom Page\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0002h\",\n                \"sale_price\": 2000,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 806,\n                \"name\": \"Conf - RPA\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0002i\",\n                \"sale_price\": 2000,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 809,\n                \"name\": \"Conf - CRM\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0002j\",\n                \"sale_price\": 2000,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 810,\n                \"name\": \"Conf - Service\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0002k\",\n                \"sale_price\": 2000,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 815,\n                \"name\": \"Conf - Database\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0002l\",\n                \"sale_price\": 2000,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 822,\n                \"name\": \"Conf - Batch Tracker\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0002m\",\n                \"sale_price\": 2000,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 842,\n                \"name\": \"Conf - POS Terminal Setup (Non Retail)\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0002n\",\n                \"sale_price\": 500,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 789,\n                \"name\": \"Conf - POS (On-Site)\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0002o\",\n                \"sale_price\": 500,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 846,\n                \"name\": \"Conf - Power BI Setup \",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0002p\",\n                \"sale_price\": 600,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 863,\n                \"name\": \"Conf - Manufacturing Planner\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": [\n                    170,\n                    \"[online_price_manufacturing] Online - Manufacturing\",\n                    null\n                ],\n                \"code\": \"P-0002q\",\n                \"sale_price\": 2000,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 880,\n                \"name\": \"Conf - Material Planner\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": [\n                    170,\n                    \"[online_price_manufacturing] Online - Manufacturing\",\n                    null\n                ],\n                \"code\": \"P-0002r\",\n                \"sale_price\": 2000,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 917,\n                \"name\": \"Conf - Sales & Purchase\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0002s\",\n                \"sale_price\": 2000,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 919,\n                \"name\": \"Conf - Manpower/HR Planner\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0002t\",\n                \"sale_price\": 2000,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 920,\n                \"name\": \"Conf - Records Keeping Package\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0002u\",\n                \"sale_price\": 2000,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 921,\n                \"name\": \"Conf - Machine OEE Module\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0002v\",\n                \"sale_price\": 2000,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 922,\n                \"name\": \"Conf - Equipment Maintenance\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0002w\",\n                \"sale_price\": 2000,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 955,\n                \"name\": \"Conf - Fulfilment Module\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0002X\",\n                \"sale_price\": 2000,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 765,\n                \"name\": \"Training (Acct)\",\n                \"uom_id\": [\n                    22,\n                    \"Bundle\",\n                    null\n                ],\n                \"categ_id\": [\n                    169,\n                    \"[online_price_accounting] Online - Accounting\",\n                    null\n                ],\n                \"code\": \"P-0003a\",\n                \"sale_price\": 4500,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 776,\n                \"name\": \"Training (Inv)\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": [\n                    172,\n                    \"[online_price_inventory] Online - Inventory\",\n                    null\n                ],\n                \"code\": \"P-0003b\",\n                \"sale_price\": 2000,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 777,\n                \"name\": \"Training (Manuf)\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": [\n                    170,\n                    \"[online_price_manufacturing] Online - Manufacturing\",\n                    null\n                ],\n                \"code\": \"P-0003c\",\n                \"sale_price\": 2000,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 787,\n                \"name\": \"Training (Purch)\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": [\n                    171,\n                    \"[online_price_purchase] Online - Purchase\",\n                    null\n                ],\n                \"code\": \"P-0003d\",\n                \"sale_price\": 2000,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 788,\n                \"name\": \"Training (HR)\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": [\n                    175,\n                    \"[online_price_hr] Online - HR\",\n                    null\n                ],\n                \"code\": \"P-0003e\",\n                \"sale_price\": 2000,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 790,\n                \"name\": \"Training (Sales)\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": [\n                    173,\n                    \"[online_price_sales] Online - Sales\",\n                    null\n                ],\n                \"code\": \"P-0003f\",\n                \"sale_price\": 2000,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 811,\n                \"name\": \"Training (Service)\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0003g\",\n                \"sale_price\": 2000,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 827,\n                \"name\": \"Training (POS)\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    174,\n                    \"[online_price_pos] Online - POS\",\n                    null\n                ],\n                \"code\": \"P-0003h\",\n                \"sale_price\": null,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 857,\n                \"name\": \"Online Training (Excel)\",\n                \"uom_id\": [\n                    17,\n                    \"Per User\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0003i\",\n                \"sale_price\": 100,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 918,\n                \"name\": \"Training (Sales & Purc)\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0003j\",\n                \"sale_price\": 2000,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 956,\n                \"name\": \"Training (Fulfilment)\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0003k\",\n                \"sale_price\": 2000,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 769,\n                \"name\": \"Customisation\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0004\",\n                \"sale_price\": 2000,\n                \"state\": \"approved\",\n                \"purchase_price\": 2000,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 768,\n                \"name\": \"Custom Forms\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0005a\",\n                \"sale_price\": 2000,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 817,\n                \"name\": \"Custom Forms (Bundle)\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0005b\",\n                \"sale_price\": 3000,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 770,\n                \"name\": \"Test Prod\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0006\",\n                \"sale_price\": null,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 802,\n                \"name\": \"RPA - IBM\",\n                \"uom_id\": [\n                    3,\n                    \"Per Month\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0006a\",\n                \"sale_price\": 5200,\n                \"state\": \"approved\",\n                \"purchase_price\": 4880,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 807,\n                \"name\": \"RPA - UiPath\",\n                \"uom_id\": [\n                    3,\n                    \"Per Month\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0006b\",\n                \"sale_price\": 2000,\n                \"state\": \"approved\",\n                \"purchase_price\": 1875,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 803,\n                \"name\": \"Travel Fees\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0007\",\n                \"sale_price\": null,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 797,\n                \"name\": \"Consultation (Advisory)\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0008a\",\n                \"sale_price\": 2000,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 808,\n                \"name\": \"Consultation (Automation)\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0008b\",\n                \"sale_price\": 2000,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 1048,\n                \"name\": \"Dedicated Manpower\",\n                \"uom_id\": [\n                    3,\n                    \"Per Month\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0008c\",\n                \"sale_price\": 2000,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 784,\n                \"name\": \"TSC 244 Pro Label Printer \",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    176,\n                    \"[Zeek] Zeek\",\n                    null\n                ],\n                \"code\": \"P-0009a\",\n                \"sale_price\": 1060,\n                \"state\": \"approved\",\n                \"purchase_price\": 820,\n                \"active\": true,\n                \"brand_id\": [\n                    3,\n                    \"TSC\",\n                    null\n                ],\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 812,\n                \"name\": \"AR450 Touch POS Terminal\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    176,\n                    \"[Zeek] Zeek\",\n                    null\n                ],\n                \"code\": \"P-0009b\",\n                \"sale_price\": 2290,\n                \"state\": \"approved\",\n                \"purchase_price\": 1699,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 813,\n                \"name\": \"Wireless Barcode Scanner\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    176,\n                    \"[Zeek] Zeek\",\n                    null\n                ],\n                \"code\": \"P-0009c\",\n                \"sale_price\": 980,\n                \"state\": \"approved\",\n                \"purchase_price\": 820,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 814,\n                \"name\": \"Wired Barcode Scanner\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    176,\n                    \"[Zeek] Zeek\",\n                    null\n                ],\n                \"code\": \"P-0009d\",\n                \"sale_price\": 317,\n                \"state\": \"approved\",\n                \"purchase_price\": 280,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 816,\n                \"name\": \"TSC TE344 Label Printer\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    176,\n                    \"[Zeek] Zeek\",\n                    null\n                ],\n                \"code\": \"P-0009e\",\n                \"sale_price\": 1499,\n                \"state\": \"approved\",\n                \"purchase_price\": 1200,\n                \"active\": true,\n                \"brand_id\": [\n                    3,\n                    \"TSC\",\n                    null\n                ],\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 818,\n                \"name\": \"JADEVER WEIGHING INDICATOR\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    176,\n                    \"[Zeek] Zeek\",\n                    null\n                ],\n                \"code\": \"P-0009f\",\n                \"sale_price\": 795,\n                \"state\": \"approved\",\n                \"purchase_price\": 750,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 819,\n                \"name\": \"150KG X 0.01KG JADEVER ELECTRONIC PLATFORM SCALE (400*500 MM)\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    176,\n                    \"[Zeek] Zeek\",\n                    null\n                ],\n                \"code\": \"P-0009g\",\n                \"sale_price\": 1750,\n                \"state\": \"approved\",\n                \"purchase_price\": 1650,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 835,\n                \"name\": \"RJ-11 Cash Drawer - 5 Bills / 8 Coin - BLACK COLOR\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    176,\n                    \"[Zeek] Zeek\",\n                    null\n                ],\n                \"code\": \"P-0009h\",\n                \"sale_price\": 200,\n                \"state\": \"approved\",\n                \"purchase_price\": 190,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 836,\n                \"name\": \"Dot Matrix Paper Roll For Receipt Printer (76mm X 65mm)\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    176,\n                    \"[Zeek] Zeek\",\n                    null\n                ],\n                \"code\": \"P-0009i\",\n                \"sale_price\": 1.6,\n                \"state\": \"approved\",\n                \"purchase_price\": 1.5,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 837,\n                \"name\": \"Handheld Mobile Computer BT-W80 series\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    176,\n                    \"[Zeek] Zeek\",\n                    null\n                ],\n                \"code\": \"P-0009j\",\n                \"sale_price\": 4900,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 844,\n                \"name\": \"Mobile Data Collector (MODAT-550A) Andriod\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    176,\n                    \"[Zeek] Zeek\",\n                    null\n                ],\n                \"code\": \"P-0009k\",\n                \"sale_price\": 2650,\n                \"state\": \"draft\",\n                \"purchase_price\": 2120,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 852,\n                \"name\": \"RS-232 CABLE 25PIN(MALE) - 9PIN(FEMALE)\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    176,\n                    \"[Zeek] Zeek\",\n                    null\n                ],\n                \"code\": \"P-0009l\",\n                \"sale_price\": 55,\n                \"state\": \"draft\",\n                \"purchase_price\": 50,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 791,\n                \"name\": \"Google Suite\",\n                \"uom_id\": [\n                    3,\n                    \"Per Month\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0010\",\n                \"sale_price\": null,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 763,\n                \"name\": \"Standard Subs\",\n                \"uom_id\": [\n                    3,\n                    \"Per Month\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0010a\",\n                \"sale_price\": 799,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 773,\n                \"name\": \"Essential Subs\",\n                \"uom_id\": [\n                    3,\n                    \"Per Month\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0010b\",\n                \"sale_price\": 1199,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 823,\n                \"name\": \"Private Server Monthly Sub\",\n                \"uom_id\": [\n                    3,\n                    \"Per Month\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0010c\",\n                \"sale_price\": 399,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 834,\n                \"name\": \"Digital Marketing\",\n                \"uom_id\": [\n                    3,\n                    \"Per Month\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0010d\",\n                \"sale_price\": 1500,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 1038,\n                \"name\": \"Power BI Data Subs\",\n                \"uom_id\": [\n                    3,\n                    \"Per Month\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0010e\",\n                \"sale_price\": 60,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 792,\n                \"name\": \"Google Ad - 5076\",\n                \"uom_id\": [\n                    3,\n                    \"Per Month\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0011\",\n                \"sale_price\": null,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 793,\n                \"name\": \"Google Ad - 8432\",\n                \"uom_id\": [\n                    3,\n                    \"Per Month\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0012\",\n                \"sale_price\": null,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 794,\n                \"name\": \"Vistage Montly Fee\",\n                \"uom_id\": [\n                    3,\n                    \"Per Month\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0013\",\n                \"sale_price\": null,\n                \"state\": \"approved\",\n                \"purchase_price\": 1017.6,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 796,\n                \"name\": \"Hardware\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    176,\n                    \"[Zeek] Zeek\",\n                    null\n                ],\n                \"code\": \"P-0014\",\n                \"sale_price\": null,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 798,\n                \"name\": \"E-commerce Integration\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0015a\",\n                \"sale_price\": 2000,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 1035,\n                \"name\": \"Shopee App\",\n                \"uom_id\": [\n                    12,\n                    \"Per Year\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0015b\",\n                \"sale_price\": 1440,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 800,\n                \"name\": \"IBM Watson Analytics\",\n                \"uom_id\": [\n                    3,\n                    \"Per Month\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0016\",\n                \"sale_price\": 399,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 805,\n                \"name\": \"Wobb Recruitment \",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0017\",\n                \"sale_price\": null,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 821,\n                \"name\": \"Excel Automation\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0018\",\n                \"sale_price\": 1000,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 824,\n                \"name\": \"Additional User\",\n                \"uom_id\": [\n                    18,\n                    \"User\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0019\",\n                \"sale_price\": 70,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 825,\n                \"name\": \"Additional Company\",\n                \"uom_id\": [\n                    14,\n                    \"Company\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0020\",\n                \"sale_price\": 200,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 826,\n                \"name\": \"Additional Warehouse\",\n                \"uom_id\": [\n                    16,\n                    \"Warehouse\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0021\",\n                \"sale_price\": 200,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 845,\n                \"name\": \"Label Sticker \",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0022\",\n                \"sale_price\": null,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 828,\n                \"name\": \"Migration (Acct)\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    169,\n                    \"[online_price_accounting] Online - Accounting\",\n                    null\n                ],\n                \"code\": \"P-0022a\",\n                \"sale_price\": null,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 829,\n                \"name\": \"Migration (Inv)\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    172,\n                    \"[online_price_inventory] Online - Inventory\",\n                    null\n                ],\n                \"code\": \"P-0022b\",\n                \"sale_price\": null,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 830,\n                \"name\": \"Migration (Manuf)\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    170,\n                    \"[online_price_manufacturing] Online - Manufacturing\",\n                    null\n                ],\n                \"code\": \"P-0022c\",\n                \"sale_price\": null,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 831,\n                \"name\": \"Migration (Purch)\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    171,\n                    \"[online_price_purchase] Online - Purchase\",\n                    null\n                ],\n                \"code\": \"P-0022d\",\n                \"sale_price\": null,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 832,\n                \"name\": \"Migration (HR)\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    175,\n                    \"[online_price_hr] Online - HR\",\n                    null\n                ],\n                \"code\": \"P-0022e\",\n                \"sale_price\": null,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 833,\n                \"name\": \"Migration (Sales)\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    173,\n                    \"[online_price_sales] Online - Sales\",\n                    null\n                ],\n                \"code\": \"P-0022f\",\n                \"sale_price\": null,\n                \"state\": \"approved\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 868,\n                \"name\": \"Bubble Wraps\",\n                \"uom_id\": [\n                    21,\n                    \"Meter\",\n                    null\n                ],\n                \"categ_id\": [\n                    176,\n                    \"[Zeek] Zeek\",\n                    null\n                ],\n                \"code\": \"P-0033\",\n                \"sale_price\": null,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 876,\n                \"name\": \"Wireless rugged android handheld\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    176,\n                    \"[Zeek] Zeek\",\n                    null\n                ],\n                \"code\": \"P-0039\",\n                \"sale_price\": null,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1036,\n                \"name\": \"A6 Thermal Paper\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0063\",\n                \"sale_price\": null,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1041,\n                \"name\": \"Data Field Identification\",\n                \"uom_id\": [\n                    14,\n                    \"Company\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0064\",\n                \"sale_price\": null,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 1042,\n                \"name\": \"Dashboard Design\",\n                \"uom_id\": [\n                    14,\n                    \"Company\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0065\",\n                \"sale_price\": null,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 1043,\n                \"name\": \"Conf - Dashboard \",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0066\",\n                \"sale_price\": null,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 1044,\n                \"name\": \"Conf - Dashboard\",\n                \"uom_id\": [\n                    2,\n                    \"Day\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0067\",\n                \"sale_price\": null,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 1046,\n                \"name\": \"Website Design \",\n                \"uom_id\": [\n                    23,\n                    \"Job\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"P-0068\",\n                \"sale_price\": null,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 893,\n                \"name\": \"testing ps\",\n                \"uom_id\": [\n                    3,\n                    \"Per Month\",\n                    null\n                ],\n                \"categ_id\": null,\n                \"code\": \"testing PS\",\n                \"sale_price\": 100,\n                \"state\": \"draft\",\n                \"purchase_price\": 80,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 855,\n                \"name\": \"Hardware: Handheld Terminal - S60\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    179,\n                    \"[Mobile Computer] Mobile Computer\",\n                    null\n                ],\n                \"code\": \"Z60\",\n                \"sale_price\": null,\n                \"state\": \"draft\",\n                \"purchase_price\": 240,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1049,\n                \"name\": \"Fanless Mini PC\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"categ_id\": [\n                    203,\n                    \"Fanless CPU\",\n                    null\n                ],\n                \"code\": \"Z70\",\n                \"sale_price\": null,\n                \"state\": \"draft\",\n                \"purchase_price\": null,\n                \"active\": true,\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            }\n        ],\n        247\n    ],\n    \"error\": null,\n    \"id\": 1691122296441,\n    \"dt\": 65\n}"}],"_postman_id":"b1589a45-14d2-45f9-8909-d38ac5aa8368"}],"id":"a3fb65e6-3b08-4e37-ac70-5b88de506c12","_postman_id":"a3fb65e6-3b08-4e37-ac70-5b88de506c12","description":""}],"id":"601c2f81-7968-434e-9e4e-d3dc55782ca8","_postman_id":"601c2f81-7968-434e-9e4e-d3dc55782ca8","description":""},{"name":"Reports","item":[{"name":"Product Analysis","item":[{"name":"params/product/search_read_path","id":"88fd142a-c395-4522-9cb1-3e24c2fa471d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1691129691300,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"product\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"categ_id.name\",\r\n                \"brand_id.name\",\r\n                \"type\",\r\n                \"name\",\r\n                \"code\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-04 11:14:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol, making it versatile for various programming languages.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>Clients interact with the API by sending HTTP POST requests to the specified endpoint. The request payload should be a JSON object with the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Providing an \"id\" helps clients match responses with their corresponding requests, particularly when dealing with batch processing.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server responds with a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help clients match responses with their corresponding requests.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"product\",</strong>\"search_read_path\",<strong>[</strong>[],<strong>[</strong>\"categ_id.name\",<strong>\"brand_id.name\",</strong>\"type\",<strong>\"name\",</strong>\"code\"<strong>]</strong>],<strong>{</strong>\"count\": true,<strong>\"limit\": 1000,</strong>\"context\": {}<strong>}, ]</strong></p>\n<p>In the provided JSON-RPC API request, the \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><strong>Element 1 (String): \"product\"</strong>: The first element of the array is a string, specifically \"product.\" This string identifies the target object or service on the server that will handle the API request. In this case, it represents the \"product\" service, which likely deals with operations related to products within the application.</li>\n<li><strong>Element 2 (String): \"search_read_path\"</strong>: The second element of the array is also a string, specifically \"search_read_path.\" This string specifies the name of the method within the \"product\" service that the client wants to execute. The \"search_read_path\" method might be a customized version of the typical \"search_read\" method that allows the client to specify a path to nested fields in the response.</li>\n<li><strong>Element 3 (Array): Nested Array of Arrays</strong>: The third element in the \"params\" array represents the positional parameters for the \"search_read_path\" method. It is a nested array containing two sub-arrays.</li>\n<li><strong>Sub-Array 1 (Array): []</strong>: The first sub-array is an empty array. This empty array indicates that there are no specific search criteria or filters applied to the method call. It means the client is requesting all available records from the \"product\" service without any filtering.</li>\n<li><strong>Sub-Array 2 (Array): [\"categ_id.name\", \"brand_id.name\", \"type\", \"name\", \"code\"]</strong>: The second sub-array specifies a list of fields to be included in the response. It indicates that the method should return records with data from the following fields: \"categ_id.name,\" \"brand_id.name,\" \"type,\" \"name,\" and \"code.\" These fields likely correspond to nested fields within the \"product\" records, such as the name of the product category, the name of the brand associated with the product, the product type, the product name, and the product code.</li>\n<li><strong>Element 4 (Object): {\"count\": true, \"limit\": 1000, \"context\": {}</strong><ul>\n<li>The fourth element in the \"params\" array is an object containing additional options or context for the API call. The \"context\" object may include settings and parameters that provide additional information for the method execution.</li>\n<li>The specific settings provided in this example are:</li>\n</ul>\n</li>\n</ol>\n<ul>\n<li><code>\"count\": true</code>: This setting requests the server to return the total count of records that match the search criteria along with the actual records. It enables the client to know the total number of results available.</li>\n<li><code>\"limit\": 1000</code>: This setting defines the maximum number of records to be returned in the response. In this case, it specifies that a maximum of 1000 records should be included in the response.</li>\n<li><code>\"context\": {}</code>: This setting is an empty object, indicating that no specific additional context is provided for the method call.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</li>\n<li>The first two elements of the \"params\" array (\"product\" and \"search_read_path\") identify the specific service and method on the server that the client wants to invoke.</li>\n<li>The third element (a nested array) contains the positional parameters required for the \"search_read_path\" method. In this example, it includes two sub-arrays, one with no specific search criteria (all records) and another specifying the fields to be included in the response.</li>\n<li>The fourth element (an object with various settings) provides additional options and context for the method call. It includes settings for counting results, limiting the number of records in the response, and an empty context object.</li>\n</ul>\n<p><strong>Note:</strong></p>\n<p>In this, the client sends the API request to the server with the \"product\" service and \"search_read_path\" method specified in the \"params\" array. The server will process the request and execute the \"search_read_path\" method to retrieve product records. The response will include the specified fields (\"categ_id.name,\" \"brand_id.name,\" \"type,\" \"name,\" and \"code\") for a maximum of 1000 products. The server will also provide the total count of records available in the server's database that match the search criteria.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"e3bebfb0-70f4-415b-9d30-081608fa929d","name":"params/product/search_read_path","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1691129691300,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"product\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"categ_id.name\",\r\n                \"brand_id.name\",\r\n                \"type\",\r\n                \"name\",\r\n                \"code\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-04 11:14:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 04 Aug 2023 06:18:36 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=%2BTFDcQVGf3v0P16VB8bJ8fwUNiNqYAOSPGqX6%2B9Y4nOif66v7Q%2FZDG2usoE6COP5jNHAJnh9rKYDW%2BJ%2FK%2BsAb7TTR6unEPLZWSNHK1V8A8jtsD%2FlqC7I%2FwqPZ9o1bHuAc3%2FpmMv%2BiVXcSwc%2BIw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f14af19e8833e29-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 778,\n                \"name\": \"Salary\",\n                \"categ_id\": null,\n                \"code\": \"C-0001\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 779,\n                \"name\": \"KWSP-EPF\",\n                \"categ_id\": null,\n                \"code\": \"C-0002\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 780,\n                \"name\": \"PERKESO-SOCSO\",\n                \"categ_id\": null,\n                \"code\": \"C-0003\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 781,\n                \"name\": \"PERKESO-SIP\",\n                \"categ_id\": null,\n                \"code\": \"C-0004\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 782,\n                \"name\": \"Allowance\",\n                \"categ_id\": null,\n                \"code\": \"C-0005\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 820,\n                \"name\": \"PCB / MTD\",\n                \"categ_id\": null,\n                \"code\": \"C-0006\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 771,\n                \"name\": \"Basic Analysis\",\n                \"categ_id\": null,\n                \"code\": \"P-0001\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 764,\n                \"name\": \"Conf - Accounting\",\n                \"categ_id\": {\n                    \"id\": 169,\n                    \"name\": \"Online - Accounting\"\n                },\n                \"code\": \"P-0002a\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 774,\n                \"name\": \"Conf - Inventory\",\n                \"categ_id\": {\n                    \"id\": 172,\n                    \"name\": \"Online - Inventory\"\n                },\n                \"code\": \"P-0002b\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 775,\n                \"name\": \"Conf - Manufacturing\",\n                \"categ_id\": {\n                    \"id\": 170,\n                    \"name\": \"Online - Manufacturing\"\n                },\n                \"code\": \"P-0002c\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 785,\n                \"name\": \"Conf - Purchase\",\n                \"categ_id\": {\n                    \"id\": 171,\n                    \"name\": \"Online - Purchase\"\n                },\n                \"code\": \"P-0002d\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 786,\n                \"name\": \"Conf - Sales\",\n                \"categ_id\": {\n                    \"id\": 173,\n                    \"name\": \"Online - Sales\"\n                },\n                \"code\": \"P-0002e\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 850,\n                \"name\": \"Conf - POS (System)\",\n                \"categ_id\": {\n                    \"id\": 174,\n                    \"name\": \"Online - POS\"\n                },\n                \"code\": \"P-0002f\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 801,\n                \"name\": \"Conf - HR\",\n                \"categ_id\": {\n                    \"id\": 175,\n                    \"name\": \"Online - HR\"\n                },\n                \"code\": \"P-0002g\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 804,\n                \"name\": \"Conf - Custom Page\",\n                \"categ_id\": null,\n                \"code\": \"P-0002h\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 806,\n                \"name\": \"Conf - RPA\",\n                \"categ_id\": null,\n                \"code\": \"P-0002i\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 809,\n                \"name\": \"Conf - CRM\",\n                \"categ_id\": null,\n                \"code\": \"P-0002j\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 810,\n                \"name\": \"Conf - Service\",\n                \"categ_id\": null,\n                \"code\": \"P-0002k\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 815,\n                \"name\": \"Conf - Database\",\n                \"categ_id\": null,\n                \"code\": \"P-0002l\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 822,\n                \"name\": \"Conf - Batch Tracker\",\n                \"categ_id\": null,\n                \"code\": \"P-0002m\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 842,\n                \"name\": \"Conf - POS Terminal Setup (Non Retail)\",\n                \"categ_id\": null,\n                \"code\": \"P-0002n\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 789,\n                \"name\": \"Conf - POS (On-Site)\",\n                \"categ_id\": null,\n                \"code\": \"P-0002o\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 846,\n                \"name\": \"Conf - Power BI Setup \",\n                \"categ_id\": null,\n                \"code\": \"P-0002p\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 863,\n                \"name\": \"Conf - Manufacturing Planner\",\n                \"categ_id\": {\n                    \"id\": 170,\n                    \"name\": \"Online - Manufacturing\"\n                },\n                \"code\": \"P-0002q\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 880,\n                \"name\": \"Conf - Material Planner\",\n                \"categ_id\": {\n                    \"id\": 170,\n                    \"name\": \"Online - Manufacturing\"\n                },\n                \"code\": \"P-0002r\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 917,\n                \"name\": \"Conf - Sales & Purchase\",\n                \"categ_id\": null,\n                \"code\": \"P-0002s\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 919,\n                \"name\": \"Conf - Manpower/HR Planner\",\n                \"categ_id\": null,\n                \"code\": \"P-0002t\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 920,\n                \"name\": \"Conf - Records Keeping Package\",\n                \"categ_id\": null,\n                \"code\": \"P-0002u\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 921,\n                \"name\": \"Conf - Machine OEE Module\",\n                \"categ_id\": null,\n                \"code\": \"P-0002v\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 922,\n                \"name\": \"Conf - Equipment Maintenance\",\n                \"categ_id\": null,\n                \"code\": \"P-0002w\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 955,\n                \"name\": \"Conf - Fulfilment Module\",\n                \"categ_id\": null,\n                \"code\": \"P-0002X\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 765,\n                \"name\": \"Training (Acct)\",\n                \"categ_id\": {\n                    \"id\": 169,\n                    \"name\": \"Online - Accounting\"\n                },\n                \"code\": \"P-0003a\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 776,\n                \"name\": \"Training (Inv)\",\n                \"categ_id\": {\n                    \"id\": 172,\n                    \"name\": \"Online - Inventory\"\n                },\n                \"code\": \"P-0003b\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 777,\n                \"name\": \"Training (Manuf)\",\n                \"categ_id\": {\n                    \"id\": 170,\n                    \"name\": \"Online - Manufacturing\"\n                },\n                \"code\": \"P-0003c\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 787,\n                \"name\": \"Training (Purch)\",\n                \"categ_id\": {\n                    \"id\": 171,\n                    \"name\": \"Online - Purchase\"\n                },\n                \"code\": \"P-0003d\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 788,\n                \"name\": \"Training (HR)\",\n                \"categ_id\": {\n                    \"id\": 175,\n                    \"name\": \"Online - HR\"\n                },\n                \"code\": \"P-0003e\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 790,\n                \"name\": \"Training (Sales)\",\n                \"categ_id\": {\n                    \"id\": 173,\n                    \"name\": \"Online - Sales\"\n                },\n                \"code\": \"P-0003f\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 811,\n                \"name\": \"Training (Service)\",\n                \"categ_id\": null,\n                \"code\": \"P-0003g\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 827,\n                \"name\": \"Training (POS)\",\n                \"categ_id\": {\n                    \"id\": 174,\n                    \"name\": \"Online - POS\"\n                },\n                \"code\": \"P-0003h\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 857,\n                \"name\": \"Online Training (Excel)\",\n                \"categ_id\": null,\n                \"code\": \"P-0003i\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 918,\n                \"name\": \"Training (Sales & Purc)\",\n                \"categ_id\": null,\n                \"code\": \"P-0003j\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 956,\n                \"name\": \"Training (Fulfilment)\",\n                \"categ_id\": null,\n                \"code\": \"P-0003k\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 769,\n                \"name\": \"Customisation\",\n                \"categ_id\": null,\n                \"code\": \"P-0004\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 768,\n                \"name\": \"Custom Forms\",\n                \"categ_id\": null,\n                \"code\": \"P-0005a\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 817,\n                \"name\": \"Custom Forms (Bundle)\",\n                \"categ_id\": null,\n                \"code\": \"P-0005b\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 770,\n                \"name\": \"Test Prod\",\n                \"categ_id\": null,\n                \"code\": \"P-0006\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 802,\n                \"name\": \"RPA - IBM\",\n                \"categ_id\": null,\n                \"code\": \"P-0006a\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 807,\n                \"name\": \"RPA - UiPath\",\n                \"categ_id\": null,\n                \"code\": \"P-0006b\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 803,\n                \"name\": \"Travel Fees\",\n                \"categ_id\": null,\n                \"code\": \"P-0007\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 797,\n                \"name\": \"Consultation (Advisory)\",\n                \"categ_id\": null,\n                \"code\": \"P-0008a\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 808,\n                \"name\": \"Consultation (Automation)\",\n                \"categ_id\": null,\n                \"code\": \"P-0008b\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 1048,\n                \"name\": \"Dedicated Manpower\",\n                \"categ_id\": null,\n                \"code\": \"P-0008c\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 784,\n                \"name\": \"TSC 244 Pro Label Printer \",\n                \"categ_id\": {\n                    \"id\": 176,\n                    \"name\": \"Zeek\"\n                },\n                \"code\": \"P-0009a\",\n                \"brand_id\": {\n                    \"id\": 3,\n                    \"name\": \"TSC\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 812,\n                \"name\": \"AR450 Touch POS Terminal\",\n                \"categ_id\": {\n                    \"id\": 176,\n                    \"name\": \"Zeek\"\n                },\n                \"code\": \"P-0009b\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 813,\n                \"name\": \"Wireless Barcode Scanner\",\n                \"categ_id\": {\n                    \"id\": 176,\n                    \"name\": \"Zeek\"\n                },\n                \"code\": \"P-0009c\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 814,\n                \"name\": \"Wired Barcode Scanner\",\n                \"categ_id\": {\n                    \"id\": 176,\n                    \"name\": \"Zeek\"\n                },\n                \"code\": \"P-0009d\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 816,\n                \"name\": \"TSC TE344 Label Printer\",\n                \"categ_id\": {\n                    \"id\": 176,\n                    \"name\": \"Zeek\"\n                },\n                \"code\": \"P-0009e\",\n                \"brand_id\": {\n                    \"id\": 3,\n                    \"name\": \"TSC\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 818,\n                \"name\": \"JADEVER WEIGHING INDICATOR\",\n                \"categ_id\": {\n                    \"id\": 176,\n                    \"name\": \"Zeek\"\n                },\n                \"code\": \"P-0009f\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 819,\n                \"name\": \"150KG X 0.01KG JADEVER ELECTRONIC PLATFORM SCALE (400*500 MM)\",\n                \"categ_id\": {\n                    \"id\": 176,\n                    \"name\": \"Zeek\"\n                },\n                \"code\": \"P-0009g\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 835,\n                \"name\": \"RJ-11 Cash Drawer - 5 Bills / 8 Coin - BLACK COLOR\",\n                \"categ_id\": {\n                    \"id\": 176,\n                    \"name\": \"Zeek\"\n                },\n                \"code\": \"P-0009h\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 836,\n                \"name\": \"Dot Matrix Paper Roll For Receipt Printer (76mm X 65mm)\",\n                \"categ_id\": {\n                    \"id\": 176,\n                    \"name\": \"Zeek\"\n                },\n                \"code\": \"P-0009i\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 837,\n                \"name\": \"Handheld Mobile Computer BT-W80 series\",\n                \"categ_id\": {\n                    \"id\": 176,\n                    \"name\": \"Zeek\"\n                },\n                \"code\": \"P-0009j\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 844,\n                \"name\": \"Mobile Data Collector (MODAT-550A) Andriod\",\n                \"categ_id\": {\n                    \"id\": 176,\n                    \"name\": \"Zeek\"\n                },\n                \"code\": \"P-0009k\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 852,\n                \"name\": \"RS-232 CABLE 25PIN(MALE) - 9PIN(FEMALE)\",\n                \"categ_id\": {\n                    \"id\": 176,\n                    \"name\": \"Zeek\"\n                },\n                \"code\": \"P-0009l\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 791,\n                \"name\": \"Google Suite\",\n                \"categ_id\": null,\n                \"code\": \"P-0010\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 763,\n                \"name\": \"Standard Subs\",\n                \"categ_id\": null,\n                \"code\": \"P-0010a\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 773,\n                \"name\": \"Essential Subs\",\n                \"categ_id\": null,\n                \"code\": \"P-0010b\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 823,\n                \"name\": \"Private Server Monthly Sub\",\n                \"categ_id\": null,\n                \"code\": \"P-0010c\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 834,\n                \"name\": \"Digital Marketing\",\n                \"categ_id\": null,\n                \"code\": \"P-0010d\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 1038,\n                \"name\": \"Power BI Data Subs\",\n                \"categ_id\": null,\n                \"code\": \"P-0010e\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 792,\n                \"name\": \"Google Ad - 5076\",\n                \"categ_id\": null,\n                \"code\": \"P-0011\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 793,\n                \"name\": \"Google Ad - 8432\",\n                \"categ_id\": null,\n                \"code\": \"P-0012\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 794,\n                \"name\": \"Vistage Montly Fee\",\n                \"categ_id\": null,\n                \"code\": \"P-0013\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 796,\n                \"name\": \"Hardware\",\n                \"categ_id\": {\n                    \"id\": 176,\n                    \"name\": \"Zeek\"\n                },\n                \"code\": \"P-0014\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 798,\n                \"name\": \"E-commerce Integration\",\n                \"categ_id\": null,\n                \"code\": \"P-0015a\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 1035,\n                \"name\": \"Shopee App\",\n                \"categ_id\": null,\n                \"code\": \"P-0015b\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 800,\n                \"name\": \"IBM Watson Analytics\",\n                \"categ_id\": null,\n                \"code\": \"P-0016\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 805,\n                \"name\": \"Wobb Recruitment \",\n                \"categ_id\": null,\n                \"code\": \"P-0017\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 821,\n                \"name\": \"Excel Automation\",\n                \"categ_id\": null,\n                \"code\": \"P-0018\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 824,\n                \"name\": \"Additional User\",\n                \"categ_id\": null,\n                \"code\": \"P-0019\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 825,\n                \"name\": \"Additional Company\",\n                \"categ_id\": null,\n                \"code\": \"P-0020\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 826,\n                \"name\": \"Additional Warehouse\",\n                \"categ_id\": null,\n                \"code\": \"P-0021\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 845,\n                \"name\": \"Label Sticker \",\n                \"categ_id\": null,\n                \"code\": \"P-0022\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 828,\n                \"name\": \"Migration (Acct)\",\n                \"categ_id\": {\n                    \"id\": 169,\n                    \"name\": \"Online - Accounting\"\n                },\n                \"code\": \"P-0022a\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 829,\n                \"name\": \"Migration (Inv)\",\n                \"categ_id\": {\n                    \"id\": 172,\n                    \"name\": \"Online - Inventory\"\n                },\n                \"code\": \"P-0022b\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 830,\n                \"name\": \"Migration (Manuf)\",\n                \"categ_id\": {\n                    \"id\": 170,\n                    \"name\": \"Online - Manufacturing\"\n                },\n                \"code\": \"P-0022c\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 831,\n                \"name\": \"Migration (Purch)\",\n                \"categ_id\": {\n                    \"id\": 171,\n                    \"name\": \"Online - Purchase\"\n                },\n                \"code\": \"P-0022d\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 832,\n                \"name\": \"Migration (HR)\",\n                \"categ_id\": {\n                    \"id\": 175,\n                    \"name\": \"Online - HR\"\n                },\n                \"code\": \"P-0022e\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 833,\n                \"name\": \"Migration (Sales)\",\n                \"categ_id\": {\n                    \"id\": 173,\n                    \"name\": \"Online - Sales\"\n                },\n                \"code\": \"P-0022f\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 868,\n                \"name\": \"Bubble Wraps\",\n                \"categ_id\": {\n                    \"id\": 176,\n                    \"name\": \"Zeek\"\n                },\n                \"code\": \"P-0033\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 876,\n                \"name\": \"Wireless rugged android handheld\",\n                \"categ_id\": {\n                    \"id\": 176,\n                    \"name\": \"Zeek\"\n                },\n                \"code\": \"P-0039\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1036,\n                \"name\": \"A6 Thermal Paper\",\n                \"categ_id\": null,\n                \"code\": \"P-0063\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1041,\n                \"name\": \"Data Field Identification\",\n                \"categ_id\": null,\n                \"code\": \"P-0064\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 1042,\n                \"name\": \"Dashboard Design\",\n                \"categ_id\": null,\n                \"code\": \"P-0065\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 1043,\n                \"name\": \"Conf - Dashboard \",\n                \"categ_id\": null,\n                \"code\": \"P-0066\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 1044,\n                \"name\": \"Conf - Dashboard\",\n                \"categ_id\": null,\n                \"code\": \"P-0067\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 1046,\n                \"name\": \"Website Design \",\n                \"categ_id\": null,\n                \"code\": \"P-0068\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 893,\n                \"name\": \"testing ps\",\n                \"categ_id\": null,\n                \"code\": \"testing PS\",\n                \"brand_id\": null,\n                \"type\": \"service\"\n            },\n            {\n                \"id\": 855,\n                \"name\": \"Hardware: Handheld Terminal - S60\",\n                \"categ_id\": {\n                    \"id\": 179,\n                    \"name\": \"Mobile Computer\"\n                },\n                \"code\": \"Z60\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1049,\n                \"name\": \"Fanless Mini PC\",\n                \"categ_id\": {\n                    \"id\": 203,\n                    \"name\": \"Fanless CPU\"\n                },\n                \"code\": \"Z70\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 933,\n                \"name\": \"T80: Android Handheld Data Collector\",\n                \"categ_id\": {\n                    \"id\": 179,\n                    \"name\": \"Mobile Computer\"\n                },\n                \"code\": \"Z80\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 854,\n                \"name\": \"U9000S : Handheld Terminal - Z90\",\n                \"categ_id\": {\n                    \"id\": 179,\n                    \"name\": \"Mobile Computer\"\n                },\n                \"code\": \"Z90\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 866,\n                \"name\": \"VB601: Wireless Video Baby Monitor\",\n                \"categ_id\": {\n                    \"id\": 190,\n                    \"name\": \"Baby Monitor\"\n                },\n                \"code\": \"ZB31\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 987,\n                \"name\": \"VB601 Baby Monitor + Door Lock \",\n                \"categ_id\": {\n                    \"id\": 190,\n                    \"name\": \"Baby Monitor\"\n                },\n                \"code\": \"ZB31b\",\n                \"brand_id\": null,\n                \"type\": \"bundle\"\n            },\n            {\n                \"id\": 904,\n                \"name\": \"TC-NU08: Electric baby Nail Clipper\",\n                \"categ_id\": {\n                    \"id\": 189,\n                    \"name\": \"Nail Clipper/Trimmer\"\n                },\n                \"code\": \"ZB63\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 905,\n                \"name\": \"Octopus Electric Nail Clipper (Pink)\",\n                \"categ_id\": {\n                    \"id\": 189,\n                    \"name\": \"Nail Clipper/Trimmer\"\n                },\n                \"code\": \"ZB64\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 994,\n                \"name\": \"Octopus Electric Nail Clipper (Pink) + Lock\",\n                \"categ_id\": {\n                    \"id\": 189,\n                    \"name\": \"Nail Clipper/Trimmer\"\n                },\n                \"code\": \"ZB64b\",\n                \"brand_id\": null,\n                \"type\": \"bundle\"\n            },\n            {\n                \"id\": 941,\n                \"name\": \"Octopus Electric Nail Clipper (Blue)\",\n                \"categ_id\": {\n                    \"id\": 189,\n                    \"name\": \"Nail Clipper/Trimmer\"\n                },\n                \"code\": \"ZB65\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 995,\n                \"name\": \"Octopus Electric Nail Clipper (Blue) + door lock\",\n                \"categ_id\": {\n                    \"id\": 189,\n                    \"name\": \"Nail Clipper/Trimmer\"\n                },\n                \"code\": \"ZB65b\",\n                \"brand_id\": null,\n                \"type\": \"bundle\"\n            },\n            {\n                \"id\": 940,\n                \"name\": \"Octopus Electric Nail Clipper (Yellow)\",\n                \"categ_id\": {\n                    \"id\": 189,\n                    \"name\": \"Nail Clipper/Trimmer\"\n                },\n                \"code\": \"ZB66\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 996,\n                \"name\": \"Octopus Electric Nail Clipper (Yellow) + Door lock \",\n                \"categ_id\": {\n                    \"id\": 189,\n                    \"name\": \"Nail Clipper/Trimmer\"\n                },\n                \"code\": \"ZB66b\",\n                \"brand_id\": null,\n                \"type\": \"bundle\"\n            },\n            {\n                \"id\": 923,\n                \"name\": \"Vanrro Baby Nail Trimmer (Pink)\",\n                \"categ_id\": {\n                    \"id\": 189,\n                    \"name\": \"Nail Clipper/Trimmer\"\n                },\n                \"code\": \"ZB67\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 999,\n                \"name\": \"Vanrro Baby Nail Trimmer (Pink) + Door lock \",\n                \"categ_id\": {\n                    \"id\": 189,\n                    \"name\": \"Nail Clipper/Trimmer\"\n                },\n                \"code\": \"ZB67b\",\n                \"brand_id\": null,\n                \"type\": \"bundle\"\n            },\n            {\n                \"id\": 938,\n                \"name\": \"Vanrro Baby Nail Trimmer (Blue)\",\n                \"categ_id\": {\n                    \"id\": 189,\n                    \"name\": \"Nail Clipper/Trimmer\"\n                },\n                \"code\": \"ZB68\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1000,\n                \"name\": \"Vanrro Baby Nail Trimmer (Blue) + door lock \",\n                \"categ_id\": {\n                    \"id\": 189,\n                    \"name\": \"Nail Clipper/Trimmer\"\n                },\n                \"code\": \"ZB68b\",\n                \"brand_id\": null,\n                \"type\": \"bundle\"\n            },\n            {\n                \"id\": 939,\n                \"name\": \"Vanrro Baby Nail Trimmer (Green)\",\n                \"categ_id\": {\n                    \"id\": 189,\n                    \"name\": \"Nail Clipper/Trimmer\"\n                },\n                \"code\": \"ZB69\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 881,\n                \"name\": \"1080P Indoor Home Infrared Night Vision IP Security Wireless CCTV Camera\",\n                \"categ_id\": {\n                    \"id\": 180,\n                    \"name\": \"CCTV\"\n                },\n                \"code\": \"ZC43\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 959,\n                \"name\": \"Fish Eye CCTV + SD\",\n                \"categ_id\": {\n                    \"id\": 180,\n                    \"name\": \"CCTV\"\n                },\n                \"code\": \"ZC43sd\",\n                \"brand_id\": null,\n                \"type\": \"bundle\"\n            },\n            {\n                \"id\": 883,\n                \"name\": \"ZX-C24 : Two-way Audio Baby Monitor\",\n                \"categ_id\": {\n                    \"id\": 180,\n                    \"name\": \"CCTV\"\n                },\n                \"code\": \"ZC45\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 960,\n                \"name\": \"ZX-C24 + SD\",\n                \"categ_id\": {\n                    \"id\": 180,\n                    \"name\": \"CCTV\"\n                },\n                \"code\": \"ZC45sd\",\n                \"brand_id\": null,\n                \"type\": \"bundle\"\n            },\n            {\n                \"id\": 944,\n                \"name\": \"ST-VB601 : Two-way Audio Baby Monitor\",\n                \"categ_id\": {\n                    \"id\": 190,\n                    \"name\": \"Baby Monitor\"\n                },\n                \"code\": \"ZC46\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1004,\n                \"name\": \"ST-VB601 : Two-way Audio Baby Monitor + door lock\",\n                \"categ_id\": {\n                    \"id\": 190,\n                    \"name\": \"Baby Monitor\"\n                },\n                \"code\": \"ZC46b\",\n                \"brand_id\": null,\n                \"type\": \"bundle\"\n            },\n            {\n                \"id\": 945,\n                \"name\": \"WN01A : Cry Sensor Sleep Aid Device Portable Owl Plush Toy\",\n                \"categ_id\": {\n                    \"id\": 190,\n                    \"name\": \"Baby Monitor\"\n                },\n                \"code\": \"ZC47\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 894,\n                \"name\": \"V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                \"categ_id\": {\n                    \"id\": 180,\n                    \"name\": \"CCTV\"\n                },\n                \"code\": \"ZC53\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 958,\n                \"name\": \"V380 plus SD card\",\n                \"categ_id\": {\n                    \"id\": 180,\n                    \"name\": \"CCTV\"\n                },\n                \"code\": \"ZC53sd\",\n                \"brand_id\": null,\n                \"type\": \"bundle\"\n            },\n            {\n                \"id\": 895,\n                \"name\": \"A9 JIELI : night vision wifi mini camera for indoor with outdoor\",\n                \"categ_id\": {\n                    \"id\": 180,\n                    \"name\": \"CCTV\"\n                },\n                \"code\": \"ZC54\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 957,\n                \"name\": \"A9 JIELI CCTV + SD Card \",\n                \"categ_id\": {\n                    \"id\": 180,\n                    \"name\": \"CCTV\"\n                },\n                \"code\": \"ZC54sd\",\n                \"brand_id\": null,\n                \"type\": \"bundle\"\n            },\n            {\n                \"id\": 896,\n                \"name\": \"SQ11 : Mini camera indoor and outdoor\",\n                \"categ_id\": {\n                    \"id\": 180,\n                    \"name\": \"CCTV\"\n                },\n                \"code\": \"ZC55\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 898,\n                \"name\": \"CF-812AC AP-AC1300 : High speed usb wireless wifi network adapter up to 1300mbps\",\n                \"categ_id\": {\n                    \"id\": 182,\n                    \"name\": \"Adapter/Router/Dongle\"\n                },\n                \"code\": \"ZC57\",\n                \"brand_id\": {\n                    \"id\": 4,\n                    \"name\": \"Comfast\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 899,\n                \"name\": \"CF-727B : OEM support RTL8822BU Comfast dualband BT4.2 1300Mbps wireless adapter usb adapter for PC\",\n                \"categ_id\": {\n                    \"id\": 182,\n                    \"name\": \"Adapter/Router/Dongle\"\n                },\n                \"code\": \"ZC58\",\n                \"brand_id\": {\n                    \"id\": 4,\n                    \"name\": \"Comfast\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 900,\n                \"name\": \"FX8811 : 600Mbps 2 in 1 Dual band usb wifi bluetooth adapter wifi dongle\",\n                \"categ_id\": {\n                    \"id\": 182,\n                    \"name\": \"Adapter/Router/Dongle\"\n                },\n                \"code\": \"ZC59\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 901,\n                \"name\": \"CF-AX200 : New WiFi6 802.11ax AX200 PCI-E wifi network card\",\n                \"categ_id\": {\n                    \"id\": 183,\n                    \"name\": \"Network Card\"\n                },\n                \"code\": \"ZC60\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1017,\n                \"name\": \"MMA-609 : girls' sleepwear nursing pajamas\",\n                \"categ_id\": {\n                    \"id\": 195,\n                    \"name\": \"Clothing\"\n                },\n                \"code\": \"ZC65\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 975,\n                \"name\": \"(Navy) SJH2079 : MXCHAN dubai abaya\",\n                \"categ_id\": {\n                    \"id\": 197,\n                    \"name\": \"Dress\"\n                },\n                \"code\": \"ZC69\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 934,\n                \"name\": \"(Khaki) SJH2079 : MXCHAN dubai abaya\",\n                \"categ_id\": {\n                    \"id\": 197,\n                    \"name\": \"Dress\"\n                },\n                \"code\": \"ZC70\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 961,\n                \"name\": \"(Black) SJH2079 : MXCHAN dubai abaya\",\n                \"categ_id\": {\n                    \"id\": 197,\n                    \"name\": \"Dress\"\n                },\n                \"code\": \"ZC71\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 962,\n                \"name\": \"(Wine Red)SJH2079 : MXCHAN dubai abaya\",\n                \"categ_id\": {\n                    \"id\": 197,\n                    \"name\": \"Dress\"\n                },\n                \"code\": \"ZC72\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 935,\n                \"name\": \"LR176 : Denim Abaya\",\n                \"categ_id\": {\n                    \"id\": 197,\n                    \"name\": \"Dress\"\n                },\n                \"code\": \"ZC73\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 936,\n                \"name\": \"LR418 : Jumpsuit Dubai Turkey Satin Muslim dress\",\n                \"categ_id\": {\n                    \"id\": 197,\n                    \"name\": \"Dress\"\n                },\n                \"code\": \"ZC74\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 937,\n                \"name\": \"202103203 : Middle Eastern Muslim Embroidered Long Swing Dress Islamic Arab Clothing\",\n                \"categ_id\": {\n                    \"id\": 197,\n                    \"name\": \"Dress\"\n                },\n                \"code\": \"ZC75\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1031,\n                \"name\": \"202103203 : Middle Eastern Muslim Embroidered Long Swing Dress Islamic Arab Clothing (Aubrey)\",\n                \"categ_id\": {\n                    \"id\": 197,\n                    \"name\": \"Dress\"\n                },\n                \"code\": \"ZC75A\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1032,\n                \"name\": \"202103203 : Middle Eastern Muslim Embroidered Long Swing Dress Islamic Arab Clothing (Scarlet)\",\n                \"categ_id\": {\n                    \"id\": 197,\n                    \"name\": \"Dress\"\n                },\n                \"code\": \"ZC75B\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 946,\n                \"name\": \"Z2409 : One Piece Pregnant Maternity Clothes\",\n                \"categ_id\": {\n                    \"id\": 197,\n                    \"name\": \"Dress\"\n                },\n                \"code\": \"ZC76\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1016,\n                \"name\": \"Z2409 : One Piece Pregnant Maternity Clothes\",\n                \"categ_id\": {\n                    \"id\": 197,\n                    \"name\": \"Dress\"\n                },\n                \"code\": \"ZC76M - Beige\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 947,\n                \"name\": \"MS1968 : V-neck Knee Length Button Dress Casual Wear Maternity Dress\",\n                \"categ_id\": {\n                    \"id\": 197,\n                    \"name\": \"Dress\"\n                },\n                \"code\": \"ZC77\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 950,\n                \"name\": \"PM128 : Women's Loose Fit Drop Crotch Postpartum Pants\",\n                \"categ_id\": {\n                    \"id\": 200,\n                    \"name\": \"Pants\"\n                },\n                \"code\": \"ZC78\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 948,\n                \"name\": \"A1710 : Women Pleated Knit Dress Long Sleeve\",\n                \"categ_id\": {\n                    \"id\": 197,\n                    \"name\": \"Dress\"\n                },\n                \"code\": \"ZC80\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1012,\n                \"name\": \"A1710 : Women Pleated Knit Dress Long Sleeve\",\n                \"categ_id\": {\n                    \"id\": 197,\n                    \"name\": \"Dress\"\n                },\n                \"code\": \"ZC80 - L Apricot\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1011,\n                \"name\": \"A1710 : Women Pleated Knit Dress Long Sleeve\",\n                \"categ_id\": {\n                    \"id\": 197,\n                    \"name\": \"Dress\"\n                },\n                \"code\": \"ZC80 - M Apricot\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1010,\n                \"name\": \"A1710 : Women Pleated Knit Dress Long Sleeve\",\n                \"categ_id\": {\n                    \"id\": 197,\n                    \"name\": \"Dress\"\n                },\n                \"code\": \"ZC80 - S Apricot\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1013,\n                \"name\": \"Z2136 - Oversize front button shirt top\",\n                \"categ_id\": {\n                    \"id\": 195,\n                    \"name\": \"Clothing\"\n                },\n                \"code\": \"ZC81\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1015,\n                \"name\": \"203 - Chequered front button shirt dress\",\n                \"categ_id\": {\n                    \"id\": 195,\n                    \"name\": \"Clothing\"\n                },\n                \"code\": \"ZC82\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1014,\n                \"name\": \"2115 - Puff sleeve A line short dress\",\n                \"categ_id\": {\n                    \"id\": 195,\n                    \"name\": \"Clothing\"\n                },\n                \"code\": \"ZC83\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 882,\n                \"name\": \"DLP Mini Portable Projector\",\n                \"categ_id\": {\n                    \"id\": 184,\n                    \"name\": \"Projector\"\n                },\n                \"code\": \"ZD44\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 902,\n                \"name\": \"Redmi Airdots2 :\",\n                \"categ_id\": {\n                    \"id\": 181,\n                    \"name\": \"Earphone/Headphone\"\n                },\n                \"code\": \"ZE61\",\n                \"brand_id\": {\n                    \"id\": 5,\n                    \"name\": \"Xiami\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 903,\n                \"name\": \"12000 : F9 In-ear Headset Low Price Wireless Sports Earphone With Bluetooth\",\n                \"categ_id\": {\n                    \"id\": 181,\n                    \"name\": \"Earphone/Headphone\"\n                },\n                \"code\": \"ZE62\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 909,\n                \"name\": \"M2: 128G Memory Card Headset Foldable Bluetooth Headset\",\n                \"categ_id\": {\n                    \"id\": 181,\n                    \"name\": \"Earphone/Headphone\"\n                },\n                \"code\": \"ZE68\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 910,\n                \"name\": \"T2: Handsfree Earphones Light Wireless Bluetooth Headphones\",\n                \"categ_id\": {\n                    \"id\": 181,\n                    \"name\": \"Earphone/Headphone\"\n                },\n                \"code\": \"ZE69\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1039,\n                \"name\": \"Temperature And Humidity Monitor\",\n                \"categ_id\": {\n                    \"id\": 201,\n                    \"name\": \"Temperature And Humidity\"\n                },\n                \"code\": \"ZH01\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 856,\n                \"name\": \"K-626: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZL22\",\n                \"brand_id\": {\n                    \"id\": 2,\n                    \"name\": \"Luckydoor\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 858,\n                \"name\": \"K-626RB: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZL23\",\n                \"brand_id\": {\n                    \"id\": 2,\n                    \"name\": \"Luckydoor\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 861,\n                \"name\": \"K-620: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZL26\",\n                \"brand_id\": {\n                    \"id\": 2,\n                    \"name\": \"Luckydoor\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 859,\n                \"name\": \"K-622BT: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZL27\",\n                \"brand_id\": {\n                    \"id\": 2,\n                    \"name\": \"Luckydoor\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 862,\n                \"name\": \"K-621: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZL28\",\n                \"brand_id\": {\n                    \"id\": 2,\n                    \"name\": \"Luckydoor\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 864,\n                \"name\": \"K-926 : 2D desktop barcode scanner\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZL29\",\n                \"brand_id\": {\n                    \"id\": 2,\n                    \"name\": \"Luckydoor\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 924,\n                \"name\": \"MMA-109 : customs Midi Black Maternityt maternity maxi dress breastfeeding clothes women dress\",\n                \"categ_id\": {\n                    \"id\": 191,\n                    \"name\": \"Nursing Cloth\"\n                },\n                \"code\": \"ZM01\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 925,\n                \"name\": \"MMA-128 : Custom Mock Shirt breastfeeding sweater maternity sweaters womens sweater\",\n                \"categ_id\": {\n                    \"id\": 191,\n                    \"name\": \"Nursing Cloth\"\n                },\n                \"code\": \"ZM02\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 926,\n                \"name\": \" M2B01: Nursing Cover\",\n                \"categ_id\": {\n                    \"id\": 193,\n                    \"name\": \"Nursing Cover\"\n                },\n                \"code\": \"ZM03\",\n                \"brand_id\": null,\n                \"type\": \"master\"\n            },\n            {\n                \"id\": 966,\n                \"name\": \"M2B01: Nursing Cover Type A\",\n                \"categ_id\": {\n                    \"id\": 193,\n                    \"name\": \"Nursing Cover\"\n                },\n                \"code\": \"ZM03 - A\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 967,\n                \"name\": \"M2B01: Nursing Cover Type B\",\n                \"categ_id\": {\n                    \"id\": 193,\n                    \"name\": \"Nursing Cover\"\n                },\n                \"code\": \"ZM03 - B\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 988,\n                \"name\": \"Nursing Cover Type A + Door lock \",\n                \"categ_id\": {\n                    \"id\": 193,\n                    \"name\": \"Nursing Cover\"\n                },\n                \"code\": \"ZM03b - A \",\n                \"brand_id\": null,\n                \"type\": \"bundle\"\n            },\n            {\n                \"id\": 989,\n                \"name\": \"Nursing cover type B + door lock \",\n                \"categ_id\": {\n                    \"id\": 193,\n                    \"name\": \"Nursing Cover\"\n                },\n                \"code\": \"ZM03b - B\",\n                \"brand_id\": null,\n                \"type\": \"bundle\"\n            },\n            {\n                \"id\": 990,\n                \"name\": \"ZM03 - C + Door lock\",\n                \"categ_id\": {\n                    \"id\": 193,\n                    \"name\": \"Nursing Cover\"\n                },\n                \"code\": \"ZM03b - C\",\n                \"brand_id\": null,\n                \"type\": \"bundle\"\n            },\n            {\n                \"id\": 991,\n                \"name\": \"ZM03 - D + Door Lock\",\n                \"categ_id\": {\n                    \"id\": 193,\n                    \"name\": \"Nursing Cover\"\n                },\n                \"code\": \"ZM03b - D\",\n                \"brand_id\": null,\n                \"type\": \"bundle\"\n            },\n            {\n                \"id\": 992,\n                \"name\": \"ZM03 - E + Door lock\",\n                \"categ_id\": {\n                    \"id\": 193,\n                    \"name\": \"Nursing Cover\"\n                },\n                \"code\": \"ZM03b - E \",\n                \"brand_id\": null,\n                \"type\": \"bundle\"\n            },\n            {\n                \"id\": 968,\n                \"name\": \"M2B01: Nursing Cover Type C\",\n                \"categ_id\": {\n                    \"id\": 193,\n                    \"name\": \"Nursing Cover\"\n                },\n                \"code\": \"ZM03 - C\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 969,\n                \"name\": \"M2B01: Nursing Cover Type D\",\n                \"categ_id\": {\n                    \"id\": 193,\n                    \"name\": \"Nursing Cover\"\n                },\n                \"code\": \"ZM03 - D\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 970,\n                \"name\": \"M2B01: Nursing Cover Type E\",\n                \"categ_id\": {\n                    \"id\": 193,\n                    \"name\": \"Nursing Cover\"\n                },\n                \"code\": \"ZM03 - E\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 927,\n                \"name\": \"ZOCZ-13 : Nursing shawl cover\",\n                \"categ_id\": {\n                    \"id\": 193,\n                    \"name\": \"Nursing Cover\"\n                },\n                \"code\": \"ZM04\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 993,\n                \"name\": \"ZM04 + Door lock \",\n                \"categ_id\": {\n                    \"id\": 193,\n                    \"name\": \"Nursing Cover\"\n                },\n                \"code\": \"ZM04b\",\n                \"brand_id\": null,\n                \"type\": \"bundle\"\n            },\n            {\n                \"id\": 979,\n                \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"categ_id\": {\n                    \"id\": 191,\n                    \"name\": \"Nursing Cloth\"\n                },\n                \"code\": \"ZM05 - Black L\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 978,\n                \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"categ_id\": {\n                    \"id\": 191,\n                    \"name\": \"Nursing Cloth\"\n                },\n                \"code\": \"ZM05 - Black M\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 977,\n                \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"categ_id\": {\n                    \"id\": 191,\n                    \"name\": \"Nursing Cloth\"\n                },\n                \"code\": \"ZM05 - Black S\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 980,\n                \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"categ_id\": {\n                    \"id\": 191,\n                    \"name\": \"Nursing Cloth\"\n                },\n                \"code\": \"ZM05 - Black XL\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 976,\n                \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"categ_id\": {\n                    \"id\": 191,\n                    \"name\": \"Nursing Cloth\"\n                },\n                \"code\": \"ZM05 - Black XS\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 984,\n                \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"categ_id\": {\n                    \"id\": 191,\n                    \"name\": \"Nursing Cloth\"\n                },\n                \"code\": \"ZM05 - Soft Khaki L\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 983,\n                \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"categ_id\": {\n                    \"id\": 191,\n                    \"name\": \"Nursing Cloth\"\n                },\n                \"code\": \"ZM05 - Soft Khaki M\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 982,\n                \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"categ_id\": {\n                    \"id\": 191,\n                    \"name\": \"Nursing Cloth\"\n                },\n                \"code\": \"ZM05 - Soft Khaki S\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 985,\n                \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"categ_id\": {\n                    \"id\": 191,\n                    \"name\": \"Nursing Cloth\"\n                },\n                \"code\": \"ZM05 - Soft Khaki XL\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 981,\n                \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"categ_id\": {\n                    \"id\": 191,\n                    \"name\": \"Nursing Cloth\"\n                },\n                \"code\": \"ZM05 - Soft Khaki XS\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 928,\n                \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"categ_id\": {\n                    \"id\": 191,\n                    \"name\": \"Nursing Cloth\"\n                },\n                \"code\": \"ZM05 - Tangerine S\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 929,\n                \"name\": \"M2B002 : High Waisted Postpartum Pants\",\n                \"categ_id\": {\n                    \"id\": 191,\n                    \"name\": \"Nursing Cloth\"\n                },\n                \"code\": \"ZM06\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 930,\n                \"name\": \"KL-AY012 : White Safety Lock Wardrobe Door\",\n                \"categ_id\": {\n                    \"id\": 192,\n                    \"name\": \"Baby Safety\"\n                },\n                \"code\": \"ZM07\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 931,\n                \"name\": \"Best-8117 : Water Bottle Heater Portable\",\n                \"categ_id\": {\n                    \"id\": 198,\n                    \"name\": \"Baby Others\"\n                },\n                \"code\": \"ZM08\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 951,\n                \"name\": \"KL-AY012 : Brown Safety Lock Wardrobe Door\",\n                \"categ_id\": {\n                    \"id\": 192,\n                    \"name\": \"Baby Safety\"\n                },\n                \"code\": \"ZM09\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 971,\n                \"name\": \"MMA-346 : White Crochet Bell Sleeve Maternity Top\",\n                \"categ_id\": {\n                    \"id\": 191,\n                    \"name\": \"Nursing Cloth\"\n                },\n                \"code\": \"ZM20\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 972,\n                \"name\": \"MMA-510 : Sweetheart Button Front Maternity dress\",\n                \"categ_id\": {\n                    \"id\": 191,\n                    \"name\": \"Nursing Cloth\"\n                },\n                \"code\": \"ZM21\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 973,\n                \"name\": \"MMA-535 : Printed Dress with Smocked Details for Maternity breastfeeding dress\",\n                \"categ_id\": {\n                    \"id\": 191,\n                    \"name\": \"Nursing Cloth\"\n                },\n                \"code\": \"ZM22\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 974,\n                \"name\": \"MMA-177 : nursing tops women's\",\n                \"categ_id\": {\n                    \"id\": 191,\n                    \"name\": \"Nursing Cloth\"\n                },\n                \"code\": \"ZM23\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1001,\n                \"name\": \"Vanrro Baby Nail Trimmer (Green) + door lock\",\n                \"categ_id\": {\n                    \"id\": 189,\n                    \"name\": \"Nail Clipper/Trimmer\"\n                },\n                \"code\": \"ZM69b\",\n                \"brand_id\": null,\n                \"type\": \"bundle\"\n            },\n            {\n                \"id\": 875,\n                \"name\": \"NT-1228BL Netum Usb 2D Bluetooth Barcode Scanner\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZN38\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 884,\n                \"name\": \"S800 : POS Touch System\",\n                \"categ_id\": {\n                    \"id\": 185,\n                    \"name\": \"POS Terminal\"\n                },\n                \"code\": \"ZP46\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 885,\n                \"name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\",\n                \"categ_id\": {\n                    \"id\": 185,\n                    \"name\": \"POS Terminal\"\n                },\n                \"code\": \"ZP47\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 897,\n                \"name\": \"R20D: USB interface Proximity 125Khz RFID reader smart card\",\n                \"categ_id\": {\n                    \"id\": 186,\n                    \"name\": \"RFID\"\n                },\n                \"code\": \"ZR56\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 942,\n                \"name\": \"CET-K32 fingerprint (Black) : Smart Digital Biometric Fingerprint Door Lock (with App)\",\n                \"categ_id\": {\n                    \"id\": 199,\n                    \"name\": \"Smart Door Lock\"\n                },\n                \"code\": \"ZS03\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1019,\n                \"name\": \"CET-K32 fingerprint (Black) with App : Smart Digital Biometric Fingerprint Door Lock (Single Latch Mortise type)\",\n                \"categ_id\": {\n                    \"id\": 199,\n                    \"name\": \"Smart Door Lock\"\n                },\n                \"code\": \"ZS03A\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1020,\n                \"name\": \"CET-K32 fingerprint (Black) with App : Smart Digital Biometric Fingerprint Door Lock (5050 Mortise type)\",\n                \"categ_id\": {\n                    \"id\": 199,\n                    \"name\": \"Smart Door Lock\"\n                },\n                \"code\": \"ZS03B\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1030,\n                \"name\": \"CET-K32 fingerprint (Black) with App : Smart Digital Biometric Fingerprint Door Lock (6072 Mortise type)\",\n                \"categ_id\": {\n                    \"id\": 199,\n                    \"name\": \"Smart Door Lock\"\n                },\n                \"code\": \"ZS03C\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1005,\n                \"name\": \"CET-K32 fingerprint (Red Bronze) : Smart Digital Biometric Fingerprint Door Lock (NO APP)\",\n                \"categ_id\": {\n                    \"id\": 199,\n                    \"name\": \"Smart Door Lock\"\n                },\n                \"code\": \"ZS04\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1006,\n                \"name\": \"CET-K32 Smartphone (Black) : Smart Digital Biometric Fingerprint Door Lock (NO APP)\",\n                \"categ_id\": {\n                    \"id\": 199,\n                    \"name\": \"Smart Door Lock\"\n                },\n                \"code\": \"ZS05\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1009,\n                \"name\": \"BEL-402 : Single Latch Fingerprint Door Lock\",\n                \"categ_id\": {\n                    \"id\": 199,\n                    \"name\": \"Smart Door Lock\"\n                },\n                \"code\": \"ZS06\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1022,\n                \"name\": \"CET-K32 fingerprint (Black) NO APP : Smart Digital Biometric Fingerprint Door Lock\",\n                \"categ_id\": {\n                    \"id\": 199,\n                    \"name\": \"Smart Door Lock\"\n                },\n                \"code\": \"ZS07\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1023,\n                \"name\": \"CET-K32 fingerprint (Black) NO APP : Smart Digital Biometric Fingerprint Door Lock (5050 Mortise type)\",\n                \"categ_id\": {\n                    \"id\": 199,\n                    \"name\": \"Smart Door Lock\"\n                },\n                \"code\": \"ZS07A\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1024,\n                \"name\": \"CET-K32 fingerprint (Black) NO APP : Smart Digital Biometric Fingerprint Door Lock (Single Latch Mortise type)\",\n                \"categ_id\": {\n                    \"id\": 199,\n                    \"name\": \"Smart Door Lock\"\n                },\n                \"code\": \"ZS07B\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1029,\n                \"name\": \"CET-K32 fingerprint (Black) NO APP : Smart Digital Biometric Fingerprint Door Lock (6072 Mortise type)\",\n                \"categ_id\": {\n                    \"id\": 199,\n                    \"name\": \"Smart Door Lock\"\n                },\n                \"code\": \"ZS07C\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1025,\n                \"name\": \"CET-K32 fingerprint (Red Bronze) with APP : Smart Digital Biometric Fingerprint Door Lock\",\n                \"categ_id\": {\n                    \"id\": 199,\n                    \"name\": \"Smart Door Lock\"\n                },\n                \"code\": \"ZS08\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1026,\n                \"name\": \"CET-K32 fingerprint (Red Bronze) with APP : Smart Digital Biometric Fingerprint Door Lock (5050 Mortise type)\",\n                \"categ_id\": {\n                    \"id\": 199,\n                    \"name\": \"Smart Door Lock\"\n                },\n                \"code\": \"ZS08A\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1027,\n                \"name\": \"CET-K32 fingerprint (Red Bronze) with APP : Smart Digital Biometric Fingerprint Door Lock (6072 Mortise type)\",\n                \"categ_id\": {\n                    \"id\": 199,\n                    \"name\": \"Smart Door Lock\"\n                },\n                \"code\": \"ZS08B\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 914,\n                \"name\": \"SanDisk: Ultra Sandisk Micro SD Card\",\n                \"categ_id\": {\n                    \"id\": 187,\n                    \"name\": \"SD Card\"\n                },\n                \"code\": \"ZS30\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 943,\n                \"name\": \"NX4 : WiFi Biometric Fingerprint Digital smart door lock\",\n                \"categ_id\": {\n                    \"id\": 199,\n                    \"name\": \"Smart Door Lock\"\n                },\n                \"code\": \"ZS32\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 867,\n                \"name\": \"EVHK0049 / 1100D / U-1100 / 1100: Tera Mini Bar Code Reader\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZT32\",\n                \"brand_id\": {\n                    \"id\": 1,\n                    \"name\": \"Tera\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 869,\n                \"name\": \"8100 Orange: Tera QR 1D 2D Wireless Wired Bluetooth Scanner 3 In 1 Heavy Duty\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZT34\",\n                \"brand_id\": {\n                    \"id\": 1,\n                    \"name\": \"Tera\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 870,\n                \"name\": \"HW0002 : Tera 1D 2D Wireless Barcode Scanner with Stand (Discontinued)\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZT35\",\n                \"brand_id\": {\n                    \"id\": 1,\n                    \"name\": \"Tera\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 877,\n                \"name\": \"[Replaced by 711]: 9100: EVHK0052-1 Tera QR Bar Code Scanner Barcode 2D Wired Barcode Scanner with Stand\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZT40\",\n                \"brand_id\": {\n                    \"id\": 1,\n                    \"name\": \"Tera\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 878,\n                \"name\": \"D6100: Tera Wireless Barcode Scanner 1D 2D Wired with Charging Base/Cradle (Discontinued)\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZT41\",\n                \"brand_id\": {\n                    \"id\": 1,\n                    \"name\": \"Tera\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 879,\n                \"name\": \"P0034 - Tera 2D Bluetooth Barcode Scanner with Heavy Duty Stable Stand\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZT42\",\n                \"brand_id\": {\n                    \"id\": 1,\n                    \"name\": \"Tera\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1008,\n                \"name\": \"EVHK0053 : Tera 2D 1D Wireless Barcode Scanner 3 in 1 Bluetooth Vibration Alert Scanner\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZT43\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 886,\n                \"name\": \"6900 : Tera 1D Wired Barcode Scanner with Stand\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZT48\",\n                \"brand_id\": {\n                    \"id\": 1,\n                    \"name\": \"Tera\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 887,\n                \"name\": \"1031 : 1D Wired Laser Barcode Scanner  w/o Stand\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZT49\",\n                \"brand_id\": {\n                    \"id\": 1,\n                    \"name\": \"Tera\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 888,\n                \"name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZT50\",\n                \"brand_id\": {\n                    \"id\": 1,\n                    \"name\": \"Tera\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 889,\n                \"name\": \"EVHK0047 / HW0005 : Tera Wireless 1D 2D QR Barcode Scanner 2-in-1 handheld Scanner with display CMOS with Stand\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZT51\",\n                \"brand_id\": {\n                    \"id\": 1,\n                    \"name\": \"Tera\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 890,\n                \"name\": \"HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZT52\",\n                \"brand_id\": {\n                    \"id\": 1,\n                    \"name\": \"Tera\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 932,\n                \"name\": \"U9000S : Wireless rugged android handheld\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZT53\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1037,\n                \"name\": \"Tera-stand : Tera Blue tooth 2D wireless\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \" ZT56 -test\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 911,\n                \"name\": \"711: 2D Wired Barcode Scanner\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZT70\",\n                \"brand_id\": {\n                    \"id\": 1,\n                    \"name\": \"Tera\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 986,\n                \"name\": \"711D + Stand \",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZT70B\",\n                \"brand_id\": {\n                    \"id\": 1,\n                    \"name\": \"Tera\"\n                },\n                \"type\": \"bundle\"\n            },\n            {\n                \"id\": 1007,\n                \"name\": \"711 : Stand\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZT70S\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 912,\n                \"name\": \"EVHK0030 : Tera 2D Wireless Barcode Scanner with Charging Cradle\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZT71\",\n                \"brand_id\": {\n                    \"id\": 1,\n                    \"name\": \"Tera\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1018,\n                \"name\": \"Tera-0012 : Tera 2D Wireless Portable Back Clip 1D 2D QR Bar Code Reader with Bluetooth image scanning\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZT72\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1033,\n                \"name\": \"780 : Tera Fixed Mount 1D 2D Scanners QR Reader Desktop Platform\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZT80\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 1034,\n                \"name\": \"U-1100 : Tera Upgarded 2D Blue tooth Mini Portable Barcode Scanner\",\n                \"categ_id\": {\n                    \"id\": 177,\n                    \"name\": \"Scanners\"\n                },\n                \"code\": \"ZT81\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 913,\n                \"name\": \"6000 p.a. GB-822 : Handheld Wireless Vacuum Cleaners\",\n                \"categ_id\": {\n                    \"id\": 178,\n                    \"name\": \"Vacuum Cleaner\"\n                },\n                \"code\": \"ZV36\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 906,\n                \"name\": \"4800pa Strong Power Car Vacuum Cleaner\",\n                \"categ_id\": {\n                    \"id\": 178,\n                    \"name\": \"Vacuum Cleaner\"\n                },\n                \"code\": \"ZV65\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 907,\n                \"name\": \"YH-02: BOOMJOY 6500PA Cordless Handheld Portable Vacuum Cleaner with Rechargeable\",\n                \"categ_id\": {\n                    \"id\": 178,\n                    \"name\": \"Vacuum Cleaner\"\n                },\n                \"code\": \"ZV66\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 908,\n                \"name\": \"D01-CC0002 : 6000pa Strong Power Car Vacuum Cleaner USB Rechargeable\",\n                \"categ_id\": {\n                    \"id\": 178,\n                    \"name\": \"Vacuum Cleaner\"\n                },\n                \"code\": \"ZV67\",\n                \"brand_id\": null,\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 865,\n                \"name\": \"AX1800: Xiaomi router Wifi\",\n                \"categ_id\": {\n                    \"id\": 182,\n                    \"name\": \"Adapter/Router/Dongle\"\n                },\n                \"code\": \"ZX30\",\n                \"brand_id\": {\n                    \"id\": 5,\n                    \"name\": \"Xiami\"\n                },\n                \"type\": \"stock\"\n            },\n            {\n                \"id\": 873,\n                \"name\": \"Xiaomi Smart IP Camera 130 Degree FOV Night Vision 2.4Ghz Wifi Xioami Home Kit Security Monitor baby CCTV\",\n                \"categ_id\": {\n                    \"id\": 190,\n                    \"name\": \"Baby Monitor\"\n                },\n                \"code\": \"ZX36\",\n                \"brand_id\": {\n                    \"id\": 5,\n                    \"name\": \"Xiami\"\n                },\n                \"type\": \"stock\"\n            }\n        ],\n        247\n    ],\n    \"error\": null,\n    \"id\": 1691129691300,\n    \"dt\": 33\n}"}],"_postman_id":"88fd142a-c395-4522-9cb1-3e24c2fa471d"},{"name":"params/report.custom/search_read","id":"b9f3d173-fcf9-4e57-80cc-b4394d393259","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1691129691305,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"product\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-04 11:14:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol, making it versatile for various programming languages.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>Clients interact with the API by sending HTTP POST requests to the specified endpoint. The request payload should be a JSON object with the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Providing an \"id\" helps clients match responses with their corresponding requests, particularly when dealing with batch processing.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server responds with a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help clients match responses with their corresponding requests.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.custom\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"code\",<strong>\"=\",</strong>\"product\"<strong>]</strong>],<strong>[</strong>\"name\",<strong>\"config\"<strong>]</strong>],****{}, ]</strong></p>\n<p>In the provided JSON-RPC API request, the \"params\" field is an array that includes specific elements related to the remote procedure call (RPC) being executed on the server. Each element within the \"params\" array serves a distinct purpose and provides information required for the API call.</p>\n<p><strong>In the API Request:</strong></p>\n<p>The \"params\" array contains the following elements:</p>\n<ol>\n<li><strong>Element 1 (String): \"report.custom\"</strong>: The first element of the array is a string, specifically \"report.custom.\" This string identifies the target object or service on the server that will handle the API request. In this case, it represents a customized reporting service provided by the backend.</li>\n<li><strong>Element 2 (String): \"search_read\"</strong>: The second element of the array is also a string, specifically \"search_read.\" This string specifies the name of the method within the \"report.custom\" service that the client wants to execute. The \"search_read\" method is commonly used to retrieve records that match specific search criteria.</li>\n<li><strong>Element 3 (Array): Nested Array of Arrays</strong>: The third element in the \"params\" array represents the positional parameters for the \"search_read\" method. It is a nested array containing two sub-arrays.</li>\n<li><strong>Sub-Array 1 (Array): [[\"code\", \"=\", \"product\"]]</strong>: The first sub-array contains another nested array, which specifies the search criteria or filters to be applied to the method call. It indicates that the client is looking for records where the \"code\" field is equal to \"product.\" This is a condition-based filter that helps narrow down the results to specific records.</li>\n<li><strong>Sub-Array 2 (Array): [\"name\", \"config\"]</strong>: The second sub-array specifies a list of fields to be included in the response. It indicates that the method should return records with data from the \"name\" and \"config\" fields. These fields likely correspond to specific information related to the customized report, such as the report's name and configuration settings.</li>\n<li><strong>Element 4 (Object): {}</strong>: The fourth element in the \"params\" array is an empty object. It is used to pass any additional options or context for the API call. In this example, no additional options or context are provided, so an empty object is used.</li>\n</ol>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The \"params\" array is a central part of the JSON-RPC API request and provides essential details about the API method being called.</li>\n<li>The first two elements of the \"params\" array (\"report.custom\" and \"search_read\") identify the specific service and method on the server that the client wants to invoke.</li>\n<li>The third element (a nested array) contains the positional parameters required for the \"search_read\" method. In this example, it includes a filter on the \"code\" field and a list of fields to be included in the response.</li>\n<li>The fourth element (an empty object) provides an option for passing additional context or settings. In this case, no additional context is provided.</li>\n</ul>\n<p><strong>Note:</strong></p>\n<p>In this, the client sends the API request to the server with the \"report.custom\" service and \"search_read\" method specified in the \"params\" array. The server will process the request and execute the \"search_read\" method to retrieve customized reports that match the search criteria where the \"code\" field is equal to \"product.\" The response will include the \"name\" and \"config\" fields for the matching reports.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"4333357a-4c38-435d-baad-79d50c7b0f6e","name":"params/report.custom/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1691129691305,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"product\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-04 11:14:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 04 Aug 2023 06:28:36 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=NFDWf4lTuFUFqT0I%2FPE0SKnyy1B%2BjyTlcdqHvbCkS6Gd%2BwPzLLWS7fbp7OjWnQAMt343nNlkjbpBn8cCUekonm3vU9PnEB7OpG9i9dNM9manVVwioPZnQseYJln73oh%2B1Zh6%2BmE2ZiPugjfr%2Fg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7f14bdc0dc103dad-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1691129691305,\n    \"dt\": 7\n}"}],"_postman_id":"b9f3d173-fcf9-4e57-80cc-b4394d393259"}],"id":"d7313519-3488-4206-9b95-a47de069e81f","_postman_id":"d7313519-3488-4206-9b95-a47de069e81f","description":""}],"id":"a2b2c05a-ee03-4d63-abd2-ab90749e675e","_postman_id":"a2b2c05a-ee03-4d63-abd2-ab90749e675e","description":""},{"name":"Setting","item":[{"name":"Product Categories","item":[{"name":"params/inline.help/search_read","id":"873dec47-ee93-4d6c-ba8f-4121cc92afd0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1691378217897,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"prod_categ\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-07 08:16:08\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol, making it versatile for various programming languages.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>Clients interact with the API by sending HTTP POST requests to the specified endpoint. The request payload should be a JSON object with the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Providing an \"id\" helps clients match responses with their corresponding requests, particularly when dealing with batch processing.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server responds with a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help clients match responses with their corresponding requests.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"prod_categ\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><code>\"inline.help\"</code>: This is the first element in the \"params\" array and represents the name of the model or entity you want to interact with. In this case, it appears to refer to the \"inline.help\" model.</li>\n<li><code>\"search_read\"</code>: This is the second element in the \"params\" array and represents the method you want to call on the model. \"search_read\" is a common method in many API systems that allows you to search for records based on specified conditions and retrieve their data.</li>\n<li><code>{}</code>: This is the fourth element in the \"params\" array and represents an empty dictionary. It seems to be used as a placeholder for any additional options or context that could be provided for the API request. In this case, it's empty.</li>\n<li><code>[...]</code>: This is the third element in the \"params\" array and contains a nested array. The nested array likely contains filter conditions to refine the search. In this case, it appears to define a single condition:</li>\n</ol>\n<ul>\n<li><code>[\"action\", \"=\", \"prod_categ\"]</code>: This is a filter condition that specifies you are searching for records where the \"action\" field is equal to \"prod_categ\". It's a way to filter the records based on a specific criterion.</li>\n</ul>\n<p>Overall, this JSON-RPC request seems to be requesting a search for records from the \"inline.help\" model where the \"action\" field is equal to \"prod_categ\". The response from the server would likely include the records that match this criterion.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"e4c5c0da-b98b-4759-a684-5d914bdc6fce","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not/A)Brand\";v=\"99\", \"Google Chrome\";v=\"115\", \"Chromium\";v=\"115\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1691378217897,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"prod_categ\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-07 08:16:08\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 22 Aug 2023 05:31:45 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=bx3fTa0dJvttZJq%2FhTbnPNGU0%2BxjMErLzxEmi1DMrvng7x12cYDpdCCo4uQG0sQqIQrjly1CPgPtD2CtaEw2aUSAkRrtZBGvMWNd7BTkixcBrknBOGQDHCG%2FehYyp6cWVOUK%2FFv9Wxzfa4DBgw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fa8bb387ab70492-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1691378217897,\n    \"dt\": 5\n}"}],"_postman_id":"873dec47-ee93-4d6c-ba8f-4121cc92afd0"}],"id":"a5bc4bed-b650-4de5-b33f-a675dcb1a0f1","_postman_id":"a5bc4bed-b650-4de5-b33f-a675dcb1a0f1","description":""},{"name":"Product Groups","item":[{"name":"params/help.overlay/is_enable","id":"6d9d1aa2-fbd6-427b-8496-9a5f6ce23859","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692679965718,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"help.overlay\",\r\n        \"is_enabled\",\r\n        [\r\n            \"prod_group\"\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-22 09:52:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol, making it versatile for various programming languages.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>Clients interact with the API by sending HTTP POST requests to the specified endpoint. The request payload should be a JSON object with the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Providing an \"id\" helps clients match responses with their corresponding requests, particularly when dealing with batch processing.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server responds with a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help clients match responses with their corresponding requests.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"help.overlay\",</strong>\"is_enabled\",<strong>[</strong>\"prod_group\"<strong>],****{},</strong></p>\n<ol>\n<li><code>\"help.overlay\"</code>: This is the first element in the \"params\" array and refers to the model or entity name you want to interact with. In this case, it appears to refer to the \"help.overlay\" model.</li>\n<li><code>\"is_enabled\"</code>: This is the second element in the \"params\" array and represents the method you want to call on the specified model. \"is_enabled\" is likely a method that checks whether a particular feature or functionality is enabled.</li>\n<li><code>[\"prod_group\"]</code>: This is the third element in the \"params\" array and contains an array. The array likely represents parameters or arguments passed to the method. In this case, it seems to indicate that you're passing the argument \"prod_group\" to the \"is_enabled\" method.</li>\n<li><code>{}</code>: This is the fourth element in the \"params\" array and represents an empty dictionary. It might be used to provide additional options or context for the API request. In this case, it's empty.</li>\n</ol>\n<p>Overall, this JSON-RPC request seems to be asking whether the \"help.overlay\" feature is enabled for the \"prod_group\" argument. The response from the server would likely indicate whether the feature is enabled or not.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"04b03901-d441-428c-8ea1-e98e187f13a9","name":"params/help.overlay/is_enable","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692679965718,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"help.overlay\",\r\n        \"is_enabled\",\r\n        [\r\n            \"prod_group\"\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-22 09:52:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 22 Aug 2023 04:58:31 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=lwibZvdYXk2vkp%2B3US6O0y8kpkx5%2BiZNY6NHoPGQ8Ch%2BqwK85Kd7h8z%2F0dehRI3lWjln%2FpVD5RPfXNlqMgjuG%2BNONIx7lk1Ab8dbxoFymRYljXsLneCYY2a8txjkQTnjU3Kiue10QtQFUzkQ7Q%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fa88a86f93cf0f0-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": null,\n    \"error\": null,\n    \"id\": 1692679965718,\n    \"dt\": 9\n}"}],"_postman_id":"6d9d1aa2-fbd6-427b-8496-9a5f6ce23859"},{"name":"params/product.group/search_read","id":"4ec6ff36-ae75-4e7f-bd70-31926fe49da3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692679965714,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"product.group\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"sequence\",\r\n                \"name\",\r\n                \"code\",\r\n                \"parent_id\",\r\n                \"image\",\r\n                \"color\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-22 09:52:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol, making it versatile for various programming languages.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>Clients interact with the API by sending HTTP POST requests to the specified endpoint. The request payload should be a JSON object with the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Providing an \"id\" helps clients match responses with their corresponding requests, particularly when dealing with batch processing.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server responds with a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help clients match responses with their corresponding requests.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"product.group\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"sequence\",**</strong>\"name\",<strong><strong>\"code\",</strong></strong>\"parent_id\",<strong><strong>\"image\",</strong></strong>\"color\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"order\": null,</strong></strong>\"offset\": 0,<strong><strong>\"limit\": 100,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><code>\"product.group\"</code>: This is the first element in the \"params\" array and refers to the model or entity name you want to interact with. In this case, it appears to refer to the \"product.group\" model, which likely represents a group or category of products.</li>\n<li><code>\"search_read\"</code>: This is the second element in the \"params\" array and represents the method you want to call on the specified model. \"search_read\" is a common method in many APIs that allows you to search for records based on specified conditions and retrieve their data.</li>\n<li><code>[[], [...]]</code>: This is the third element in the \"params\" array and contains a nested array. The first nested array, <code>[]</code>, represents the search domain or filter conditions. In this case, it's empty, which suggests that you're not applying any specific filters and are retrieving all records.</li>\n<li><code>[\"sequence\", \"name\", \"code\", \"parent_id\", \"image\", \"color\"]</code>: This is the second nested array within the third element of the \"params\" array. It represents the fields you want to retrieve from the records. You're specifying that you want to retrieve values for attributes like \"sequence,\" \"name,\" \"code,\" \"parent_id,\" \"image,\" and \"color\" for each record.</li>\n<li><code>{...}</code>: This is the fourth element in the \"params\" array and represents a dictionary (object) containing additional options or context for the API request. Let's break down its elements:</li>\n</ol>\n<ul>\n<li><code>\"count\": true</code>: This suggests that you want to include a count of the total number of records that match the search criteria.</li>\n<li><code>\"order\": null</code>: This indicates that you're not specifying any specific sorting order for the results.</li>\n<li><code>\"offset\": 0</code>: This specifies the starting index for the records you want to retrieve.</li>\n<li><code>\"limit\": 100</code>: This specifies the maximum number of records you want to retrieve in a single request.</li>\n<li><code>\"context\": {}</code>: This indicates that you're not providing any specific context information for the request.</li>\n</ul>\n<p>Overall, this JSON-RPC request is asking to retrieve specific attributes from records of the \"product.group\" model using the \"search_read\" method. The response from the server would likely include records that match the criteria, along with count information.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"7723ce09-b33a-4c64-8f89-50f1c8cf9118","name":"New Request","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692679965714,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"product.group\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"sequence\",\r\n                \"name\",\r\n                \"code\",\r\n                \"parent_id\",\r\n                \"image\",\r\n                \"color\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-22 09:52:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 22 Aug 2023 08:06:24 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=%2FkFLN70v4NamZ8ZcXpciIzhMiJJzgUihx3oRv0pEkLfP0vm1%2BbQpWY9nK3wLUGZCazDD3h9OhoYG1UVDRSd0ckrnIWoyPjBPLMMibNknwnn6FeRgQfm3WHiVSgiTFQZdEEPDrh4uCZx%2BvbF3Bw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fa99dc2ee42213d-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1692679965714,\n    \"dt\": 46\n}"}],"_postman_id":"4ec6ff36-ae75-4e7f-bd70-31926fe49da3"}],"id":"91b6e045-1b1d-4faa-bf3c-f940a917c46c","_postman_id":"91b6e045-1b1d-4faa-bf3c-f940a917c46c","description":""},{"name":"Product Attributes","item":[{"name":"params/product.attribute/search_read","id":"f8333fbc-0383-4792-9d56-c878c018cc6f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692693612712,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"product.attribute\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-22 13:40:12\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol, making it versatile for various programming languages.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>Clients interact with the API by sending HTTP POST requests to the specified endpoint. The request payload should be a JSON object with the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Providing an \"id\" helps clients match responses with their corresponding requests, particularly when dealing with batch processing.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server responds with a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help clients match responses with their corresponding requests.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"product.attribute\",</strong>\"search_read\",<strong>[</strong>[],<strong>[</strong>\"name\",<strong>\"code\"<strong>]</strong>],</strong></p>\n<ol>\n<li><code>\"product.attribute\"</code>: This is the first element in the \"params\" array and refers to the model or entity name you want to interact with. In this case, it appears to refer to the \"product.attribute\" model, which likely represents attributes associated with products.</li>\n<li><code>\"search_read\"</code>: This is the second element in the \"params\" array and represents the method you want to call on the specified model. \"search_read\" is a common method in many APIs that allows you to search for records based on specified conditions and retrieve their data.</li>\n<li><code>[[], [...]]</code>: This is the third element in the \"params\" array and contains a nested array. The first nested array, <code>[]</code>, represents the search domain or filter conditions. In this case, it's empty, which suggests that you're not applying any specific filters and are retrieving all records.</li>\n<li><code>[\"name\", \"code\"]</code>: This is the second nested array within the third element of the \"params\" array. It represents the fields you want to retrieve from the records. You're specifying that you want to retrieve values for the \"name\" and \"code\" attributes for each record.</li>\n</ol>\n<p>Overall, this JSON-RPC request is asking to retrieve the \"name\" and \"code\" attributes from records of the \"product.attribute\" model using the \"search_read\" method. The response from the server would likely include records that match the criteria, along with the values of the specified attributes for each record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"fa8700ec-b7e7-4057-9186-919573247b9d","name":"New Request","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692693612712,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"product.attribute\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-22 13:40:12\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 22 Aug 2023 08:41:44 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=TpTCHIY0kD64oRhETNUmCvBGgdqnZg2fEtUQEqBjMWP1zTMBHLEhqyj9d4OOpAA7DYdv3Grr3DOdE%2BWvJxIFs7ZiuoWH5NKMe%2Fi1izham84sdjU3xBmennYF7DH7JMqfV21XsqpcYBWr97QImQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fa9d1833994f858-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1692693612712,\n    \"dt\": 53\n}"}],"_postman_id":"f8333fbc-0383-4792-9d56-c878c018cc6f"}],"id":"d0d14f49-6e31-4e80-a338-d69066939312","_postman_id":"d0d14f49-6e31-4e80-a338-d69066939312","description":""},{"name":"Product Addons","item":[{"name":"params/product.addon/search_read","id":"170384a2-bb2d-4a9b-9076-bef5e9bba4d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692694272487,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"product.addon\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"sale_price\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-22 13:51:12\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol, making it versatile for various programming languages.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>Clients interact with the API by sending HTTP POST requests to the specified endpoint. The request payload should be a JSON object with the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Providing an \"id\" helps clients match responses with their corresponding requests, particularly when dealing with batch processing.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server responds with a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help clients match responses with their corresponding requests.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"product.addon\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"name\",**</strong>\"code\",****\"sale_price\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"product.addon\"</code>: This is the first element in the \"params\" array and refers to the model or entity name you want to interact with. In this case, it appears to refer to the \"product.addon\" model, which likely represents add-ons or additional features associated with products.</li>\n<li><code>\"search_read\"</code>: This is the second element in the \"params\" array and represents the method you want to call on the specified model. \"search_read\" is a common method in many APIs that allows you to search for records based on specified conditions and retrieve their data.</li>\n<li><code>[[], [...]]</code>: This is the third element in the \"params\" array and contains a nested array. The first nested array, <code>[]</code>, represents the search domain or filter conditions. In this case, it's empty, which suggests that you're not applying any specific filters and are retrieving all records.</li>\n<li><code>[\"name\", \"code\", \"sale_price\"]</code>: This is the second nested array within the third element of the \"params\" array. It represents the fields you want to retrieve from the records. You're specifying that you want to retrieve values for the \"name,\" \"code,\" and \"sale_price\" attributes for each record.</li>\n</ol>\n<p>Overall, this JSON-RPC request is asking to retrieve the \"name,\" \"code,\" and \"sale_price\" attributes from records of the \"product.addon\" model using the \"search_read\" method. The response from the server would likely include records that match the criteria, along with the values of the specified attributes for each record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"d25669cc-8767-4d8b-9ad8-0c420bc7986a","name":"params/product.addon/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692694272487,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"product.addon\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"sale_price\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-22 13:51:12\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 22 Aug 2023 08:53:20 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Yxyr4WcNmExZBfF377VQpwqTnsRf1BEu0uxO2XoIK7UqeOgzAoEXJu8DlYS8N2M1%2FMJgI5FvNe24lmsydm24mhGCcn4ckJBMTXpdZtxMCt202uQsdU%2FeGg6MPwW4IGHGKfJJeG%2B2RROqJyWQSA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fa9e2839ac299fa-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1692694272487,\n    \"dt\": 11\n}"}],"_postman_id":"170384a2-bb2d-4a9b-9076-bef5e9bba4d0"}],"id":"471d6047-6874-4789-b249-d93c033acf6e","_postman_id":"471d6047-6874-4789-b249-d93c033acf6e","description":""},{"name":"Pricelists","item":[{"name":"params/price.list/search_read","id":"0b8c3523-619c-4c44-b6bf-6772df85c4ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692696706039,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"price.list\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"type\",\r\n                \"currency_id\",\r\n                \"date\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-22 14:31:46\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol, making it versatile for various programming languages.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>Clients interact with the API by sending HTTP POST requests to the specified endpoint. The request payload should be a JSON object with the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Providing an \"id\" helps clients match responses with their corresponding requests, particularly when dealing with batch processing.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server responds with a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help clients match responses with their corresponding requests.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"price.list\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"name\",**</strong>\"code\",<strong><strong>\"type\",</strong></strong>\"currency_id\",****\"date\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"price.list\"</code>:<br /> This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with. In this context, it likely refers to a model named \"price.list.\" A model in this context could represent a database table or entity.</li>\n<li><code>\"search_read\"</code>:<br /> This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"price.list\" model. The \"search_read\" method is commonly used in APIs to search for records based on certain criteria and retrieve specific fields from those records.</li>\n<li><code>[ [], [ \"name\", \"code\", \"type\", \"currency_id\", \"date\" ] ]</code>:<br /> This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with two sub-arrays:</li>\n</ol>\n<ul>\n<li>The first sub-array <code>[]</code> is typically used to specify a domain or filtering criteria for the records you're searching for. In this case, it's empty, which might mean you're not applying any specific filtering criteria and want to retrieve all records.</li>\n<li>The second sub-array <code>[\"name\", \"code\", \"type\", \"currency_id\", \"date\"]</code> lists the names of fields you want to retrieve from the records that match the search criteria. These field names (\"name,\" \"code,\" etc.) correspond to attributes of the \"price.list\" model. When the \"search_read\" method is executed, it will return records with values for these specific fields.</li>\n</ul>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"price.list\" model. It's requesting records without applying any specific filtering criteria and is asking for the values of the \"name,\" \"code,\" \"type,\" \"currency_id,\" and \"date\" fields for each matching record. The specifics of the response and the way this request is executed would depend on the API's implementation and the actual data stored in the \"price.list\" model.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"02ee0771-7baf-4d84-adb6-e3c748c3ecfc","name":"New Request","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692696706039,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"price.list\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"type\",\r\n                \"currency_id\",\r\n                \"date\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-22 14:31:46\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 22 Aug 2023 09:33:46 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=3i1FTf%2BBfm2m%2BBfOiKv03VUS16VJVxmRW%2FYvELGIsISVR5bf3WsfDwgywL%2FwK82Sye8JhAjos4IfBXl8YDngym3NoA3xIGVjmWn9DVnIR9LDrqjCRApm1rmaulNVs5nwyONY7VIakJ6dSJnIkg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7faa1dbb0d59999f-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 1,\n                \"code\": null,\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"name\": \"List A\",\n                \"date\": \"2017-10-03\"\n            },\n            {\n                \"id\": 2,\n                \"code\": null,\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"type\": \"purchase\",\n                \"name\": \"Purchasing A\",\n                \"date\": \"2017-10-03\"\n            },\n            {\n                \"id\": 3,\n                \"code\": \"online_price_lite\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"name\": \"Online Price - Lite\",\n                \"date\": \"2019-12-03\"\n            },\n            {\n                \"id\": 4,\n                \"code\": \"online_price_standard\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"name\": \"Online Price - Standard\",\n                \"date\": \"2019-12-03\"\n            }\n        ],\n        4\n    ],\n    \"error\": null,\n    \"id\": 1692696706039,\n    \"dt\": 14\n}"}],"_postman_id":"0b8c3523-619c-4c44-b6bf-6772df85c4ab"}],"id":"b5130d4b-e483-4885-b292-77ffee5242e1","_postman_id":"b5130d4b-e483-4885-b292-77ffee5242e1","description":""},{"name":"Pricelist Items","item":[{"name":"params/price.list.item/search_read","id":"acff544c-72ad-47ba-9b12-f84d6242d086","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692697504422,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"price.list.item\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"list_id\",\r\n                \"type\",\r\n                \"product_id\",\r\n                \"min_qty\",\r\n                \"max_qty\",\r\n                \"discount_percent\",\r\n                \"price\",\r\n                \"uom_id\",\r\n                \"currency_id\",\r\n                \"discount_text\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-22 14:45:04\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol, making it versatile for various programming languages.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>Clients interact with the API by sending HTTP POST requests to the specified endpoint. The request payload should be a JSON object with the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Providing an \"id\" helps clients match responses with their corresponding requests, particularly when dealing with batch processing.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server responds with a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help clients match responses with their corresponding requests.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"price.list.item\",</strong>\"search_read\",<strong>[</strong>[],<strong>[</strong>\"list_id\",<strong>\"type\",</strong>\"product_id\",<strong>\"min_qty\",</strong>\"max_qty\",<strong>\"discount_percent\",</strong>\"price\",<strong>\"uom_id\",</strong>\"currency_id\",<strong>\"discount_text\"<strong>]</strong>],</strong></p>\n<p>StartFragment</p>\n<ol>\n<li><code>\"price.list.item\"</code>:<br /> This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with. In this context, it seems to refer to a model named \"price.list.item.\" This could represent a database table or entity that contains details about items within a price list.</li>\n<li><code>\"search_read\"</code>:<br /> This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"price.list.item\" model. As before, the \"search_read\" method is likely used to search for records based on criteria and retrieve specific fields from those records.</li>\n<li><code>[ [], [ \"list_id\", \"type\", \"product_id\", \"min_qty\", \"max_qty\", \"discount_percent\", \"price\", \"uom_id\", \"currency_id\", \"discount_text\" ] ]</code>:<br /> This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's again a nested array with two sub-arrays:</li>\n</ol>\n<ul>\n<li>The first sub-array <code>[]</code> is used to specify a domain or filtering criteria for the records you're searching for. In this case, it's empty, implying that no specific filtering criteria are applied, and you want to retrieve all records from the \"price.list.item\" model.</li>\n<li>The second sub-array <code>[\"list_id\", \"type\", \"product_id\", ...]</code> lists the names of fields you want to retrieve from the records that match the search criteria. These field names correspond to attributes of the \"price.list.item\" model. When the \"search_read\" method is executed, it will return records with values for these specific fields. The fields listed appear to be related to pricing and discount information, such as list ID, type, product ID, quantities, discounts, prices, units of measurement, currency, and discount text.</li>\n</ul>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"price.list.item\" model. It's requesting records without applying specific filtering criteria and is asking for the values of various fields related to pricing and discounts for each matching record. The exact implementation and response will depend on the API's design and the data stored in the \"price.list.item\" model.</p>\n<p>EndFragment</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"cca6a99b-9c44-4e34-8389-0c9896e7b0e0","name":"params/price.list.item/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692697504422,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"price.list.item\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"list_id\",\r\n                \"type\",\r\n                \"product_id\",\r\n                \"min_qty\",\r\n                \"max_qty\",\r\n                \"discount_percent\",\r\n                \"price\",\r\n                \"uom_id\",\r\n                \"currency_id\",\r\n                \"discount_text\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-22 14:45:04\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 22 Aug 2023 09:48:12 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=J1%2B2uYSVRQgWxEGGxUZBtz%2BJDXc1CJCdYx%2BpJkFuPZg2kEjoK7ezf0gSVgCSHVdUoKhu4QE5P5OahS1bXPf44MPtIkShgTnzkEIxaAfGJ6qkhyM5LdjogfjrmezgY78btLFymVmd2pqrP2W%2Fwg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7faa32e2ce8a0409-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 4,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 2000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    774,\n                    \"[P-0002b] Conf - Inventory\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 6,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 2000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    764,\n                    \"[P-0002a] Conf - Accounting\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 7,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 3000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    765,\n                    \"[P-0003a] Training (Acct)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 8,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 3000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    776,\n                    \"[P-0003b] Training (Inv)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 9,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 2000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    775,\n                    \"[P-0002c] Conf - Manufacturing\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 10,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 3000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    777,\n                    \"[P-0003c] Training (Manuf)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 11,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    785,\n                    \"[P-0002d] Conf - Purchase\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 12,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    787,\n                    \"[P-0003d] Training (Purch)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 13,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    786,\n                    \"[P-0002e] Conf - Sales\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 14,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    790,\n                    \"[P-0003f] Training (Sales)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 15,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 2000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    801,\n                    \"[P-0002g] Conf - HR\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 16,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    788,\n                    \"[P-0003e] Training (HR)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 17,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 2000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    804,\n                    \"[P-0002h] Conf - Custom Page\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 18,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 2000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    769,\n                    \"[P-0004] Customisation\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 19,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 3000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    789,\n                    \"[P-0002o] Conf - POS (On-Site)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 20,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 1500,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    768,\n                    \"[P-0005a] Custom Forms\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 21,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 0,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    803,\n                    \"[P-0007] Travel Fees\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 22,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 2000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    797,\n                    \"[P-0008a] Consultation (Advisory)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 23,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 2000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    808,\n                    \"[P-0008b] Consultation (Automation)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 24,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 70,\n                \"uom_id\": [\n                    13,\n                    \"Months\",\n                    null\n                ],\n                \"product_id\": [\n                    763,\n                    \"[P-0010a] Standard Subs\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 25,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 70,\n                \"uom_id\": [\n                    17,\n                    \"Per User\",\n                    null\n                ],\n                \"product_id\": [\n                    824,\n                    \"[P-0019] Additional User\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 26,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 200,\n                \"uom_id\": [\n                    19,\n                    \"Per Company\",\n                    null\n                ],\n                \"product_id\": [\n                    825,\n                    \"[P-0020] Additional Company\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 27,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 200,\n                \"uom_id\": [\n                    20,\n                    \"Per Warehouse\",\n                    null\n                ],\n                \"product_id\": [\n                    826,\n                    \"[P-0021] Additional Warehouse\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 28,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 3000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    764,\n                    \"[P-0002a] Conf - Accounting\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 29,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 4000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    765,\n                    \"[P-0003a] Training (Acct)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 30,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 4000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    774,\n                    \"[P-0002b] Conf - Inventory\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 31,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 4000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    776,\n                    \"[P-0003b] Training (Inv)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 32,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 4000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    775,\n                    \"[P-0002c] Conf - Manufacturing\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 33,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 4000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    777,\n                    \"[P-0003c] Training (Manuf)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 34,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 3000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    785,\n                    \"[P-0002d] Conf - Purchase\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 35,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    787,\n                    \"[P-0003d] Training (Purch)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 36,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 3000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    786,\n                    \"[P-0002e] Conf - Sales\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 37,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    790,\n                    \"[P-0003f] Training (Sales)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 38,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 3000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    801,\n                    \"[P-0002g] Conf - HR\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 39,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    788,\n                    \"[P-0003e] Training (HR)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 46,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 399,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    763,\n                    \"[P-0010a] Standard Subs\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 47,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 70,\n                \"uom_id\": [\n                    15,\n                    \"Pax\",\n                    null\n                ],\n                \"product_id\": [\n                    824,\n                    \"[P-0019] Additional User\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 48,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 200,\n                \"uom_id\": [\n                    19,\n                    \"Per Company\",\n                    null\n                ],\n                \"product_id\": [\n                    825,\n                    \"[P-0020] Additional Company\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 49,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 200,\n                \"uom_id\": [\n                    20,\n                    \"Per Warehouse\",\n                    null\n                ],\n                \"product_id\": [\n                    826,\n                    \"[P-0021] Additional Warehouse\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 51,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 3000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    789,\n                    \"[P-0002o] Conf - POS (On-Site)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 52,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 1500,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    768,\n                    \"[P-0005a] Custom Forms\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 53,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    828,\n                    \"[P-0022a] Migration (Acct)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 54,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    829,\n                    \"[P-0022b] Migration (Inv)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 55,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    830,\n                    \"[P-0022c] Migration (Manuf)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 56,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    831,\n                    \"[P-0022d] Migration (Purch)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 57,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    832,\n                    \"[P-0022e] Migration (HR)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 58,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    833,\n                    \"[P-0022f] Migration (Sales)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 59,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    828,\n                    \"[P-0022a] Migration (Acct)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 60,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    829,\n                    \"[P-0022b] Migration (Inv)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 61,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    830,\n                    \"[P-0022c] Migration (Manuf)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 62,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    831,\n                    \"[P-0022d] Migration (Purch)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 63,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    832,\n                    \"[P-0022e] Migration (HR)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 64,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    833,\n                    \"[P-0022f] Migration (Sales)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 72,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 3000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    850,\n                    \"[P-0002f] Conf - POS (System)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 73,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 3000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    850,\n                    \"[P-0002f] Conf - POS (System)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 76,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 2000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    863,\n                    \"[P-0002q] Conf - Manufacturing Planner\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 77,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 4000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    863,\n                    \"[P-0002q] Conf - Manufacturing Planner\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 78,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 2000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    880,\n                    \"[P-0002r] Conf - Material Planner\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 79,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 4000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    880,\n                    \"[P-0002r] Conf - Material Planner\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 80,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    917,\n                    \"[P-0002s] Conf - Sales & Purchase\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 81,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 3000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    917,\n                    \"[P-0002s] Conf - Sales & Purchase\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 82,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    918,\n                    \"[P-0003j] Training (Sales & Purc)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 83,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    918,\n                    \"[P-0003j] Training (Sales & Purc)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 84,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 2000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    919,\n                    \"[P-0002t] Conf - Manpower/HR Planner\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 85,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 4000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    919,\n                    \"[P-0002t] Conf - Manpower/HR Planner\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 86,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 2000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    920,\n                    \"[P-0002u] Conf - Records Keeping Package\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 87,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 4000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    920,\n                    \"[P-0002u] Conf - Records Keeping Package\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 88,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 2000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    921,\n                    \"[P-0002v] Conf - Machine OEE Module\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 89,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 4000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    921,\n                    \"[P-0002v] Conf - Machine OEE Module\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 90,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 2000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    922,\n                    \"[P-0002w] Conf - Equipment Maintenance\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 91,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 4000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    922,\n                    \"[P-0002w] Conf - Equipment Maintenance\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 92,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 2000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    955,\n                    \"[P-0002X] Conf - Fulfilment Module\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 93,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 4000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    955,\n                    \"[P-0002X] Conf - Fulfilment Module\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 94,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    956,\n                    \"[P-0003k] Training (Fulfilment)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 95,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    4,\n                    \"Online Price - Standard\",\n                    null\n                ],\n                \"price\": 1000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    956,\n                    \"[P-0003k] Training (Fulfilment)\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 96,\n                \"max_qty\": null,\n                \"discount_percent\": null,\n                \"discount_text\": null,\n                \"min_qty\": null,\n                \"list_id\": [\n                    3,\n                    \"Online Price - Lite\",\n                    null\n                ],\n                \"price\": 2000,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"product_id\": [\n                    1048,\n                    \"[P-0008c] Dedicated Manpower\",\n                    null\n                ],\n                \"type\": \"sale\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ]\n            }\n        ],\n        76\n    ],\n    \"error\": null,\n    \"id\": 1692697504422,\n    \"dt\": 70\n}"}],"_postman_id":"acff544c-72ad-47ba-9b12-f84d6242d086"}],"id":"8a1e6a21-393e-4aef-b499-474582f58277","_postman_id":"8a1e6a21-393e-4aef-b499-474582f58277","description":""},{"name":"Price Types","item":[{"name":"params/price.type/search_read","id":"0926ff85-492c-43bb-8923-abe617a5f076","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692698335020,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"price.type\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"currency_id\",\r\n                \"uom_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-22 14:58:55\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol, making it versatile for various programming languages.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>Clients interact with the API by sending HTTP POST requests to the specified endpoint. The request payload should be a JSON object with the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Providing an \"id\" helps clients match responses with their corresponding requests, particularly when dealing with batch processing.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server responds with a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help clients match responses with their corresponding requests.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"price.type\",</strong>\"search_read\",<strong>[</strong>[],<strong>[</strong>\"name\",<strong>\"currency_id\",</strong>\"uom_id\"<strong>]****],</strong></p>\n<ol>\n<li><code>\"price.type\"</code>:<br /> This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with. In this context, it appears to refer to a model named \"price.type.\" This model likely represents different types or categories of pricing within the system.</li>\n<li><code>\"search_read\"</code>:<br /> This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"price.type\" model. The \"search_read\" method is typically used to search for records based on certain criteria and retrieve specific fields from those records.</li>\n<li><code>[ [], [ \"name\", \"currency_id\", \"uom_id\" ] ]</code>:<br /> This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with two sub-arrays:<ul>\n<li>The first sub-array <code>[]</code> usually specifies a domain or filtering criteria for the records you're searching for. In this case, it's empty, indicating that you're not applying any specific filtering criteria and want to retrieve all records from the \"price.type\" model.</li>\n<li>The second sub-array <code>[\"name\", \"currency_id\", \"uom_id\"]</code> lists the names of fields you want to retrieve from the records that match the search criteria. These field names correspond to attributes of the \"price.type\" model. When the \"search_read\" method is executed, it will return records with values for these specific fields. The fields listed seem to be related to the name of the price type, the currency associated with it, and the unit of measurement (uom) associated with it.</li>\n</ul>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"price.type\" model. It's requesting records without applying specific filtering criteria and is asking for the values of the \"name,\" \"currency_id,\" and \"uom_id\" fields for each matching record. The specific implementation details and response will depend on the API's structure and the data stored in the \"price.type\" model.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"34bc023a-a04d-445e-a28a-ddf4ffbd7c9b","name":"params/price.type/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692698335020,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"price.type\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"currency_id\",\r\n                \"uom_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-22 14:58:55\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 22 Aug 2023 10:00:21 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=LUEGa4GjnO%2BqnE14zD%2FL1t1mjgiFlIMKePu4%2Fzm3LkkPNfku5HDc3c%2FoeFkLcWEYF%2FbNje%2B74sbqaew%2FfrfFgFNO1si6qEOsd7ARpM4MSO%2FMeHLzY%2FPKRgHaTKdNPQfbQ2q%2F9G0agHFSYzUicg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7faa44acbf843d16-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1692698335020,\n    \"dt\": 11\n}"}],"_postman_id":"0926ff85-492c-43bb-8923-abe617a5f076"}],"id":"fd4b59f3-2565-4285-95f0-ec2a12d56f8a","_postman_id":"fd4b59f3-2565-4285-95f0-ec2a12d56f8a","description":""},{"name":"Brands","item":[{"name":"params/product.brand/search_read","id":"b5ee27b9-85ef-4cd9-b8f4-6660ef8c9711","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692698775589,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"product.brand\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"parent_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-22 15:06:15\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol, making it versatile for various programming languages.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>Clients interact with the API by sending HTTP POST requests to the specified endpoint. The request payload should be a JSON object with the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Providing an \"id\" helps clients match responses with their corresponding requests, particularly when dealing with batch processing.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server responds with a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help clients match responses with their corresponding requests.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"product.brand\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"name\",**</strong>\"code\",****\"parent_id\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"product.brand\"</code>:<br /> This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with. In this context, it appears to refer to a model named \"product.brand.\" This model likely represents different brands associated with products.</li>\n<li><code>\"search_read\"</code>:<br /> This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"product.brand\" model. The \"search_read\" method is commonly used to search for records based on certain criteria and retrieve specific fields from those records.</li>\n<li><code>[ [], [ \"name\", \"code\", \"parent_id\" ] ]</code>:<br /> This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with two sub-arrays:</li>\n</ol>\n<ul>\n<li>The first sub-array <code>[]</code> usually specifies a domain or filtering criteria for the records you're searching for. In this case, it's empty, indicating that you're not applying any specific filtering criteria and want to retrieve all records from the \"product.brand\" model.</li>\n<li>The second sub-array <code>[\"name\", \"code\", \"parent_id\"]</code> lists the names of fields you want to retrieve from the records that match the search criteria. These field names correspond to attributes of the \"product.brand\" model. When the \"search_read\" method is executed, it will return records with values for these specific fields. The fields listed seem to be related to the name of the brand, its code, and possibly the ID of its parent brand (if a brand hierarchy is used).</li>\n</ul>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"product.brand\" model. It's requesting records without applying specific filtering criteria and is asking for the values of the \"name,\" \"code,\" and \"parent_id\" fields for each matching record. The actual implementation and response will depend on the API's structure and the data stored in the \"product.brand\" model.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"02262215-7b7d-4e3d-ae8c-605298b0e848","name":"params/product.brand/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692698775589,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"product.brand\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"parent_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-22 15:06:15\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 22 Aug 2023 10:09:01 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=cddZP08YBPcGEvwiWsdXQF7qLJby96DwFwyO1by6z5Utjwg87aV9JLhpG%2BwPPaOTvKQjmqMQ9HZXmNTeh%2F%2FIiutwOBRkQW%2FYrVpcIh%2BRY3GxnQxjgUs3b4jMJ%2BK4O%2FMpg7vHap%2Fo2YrejBoBxQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7faa515bec19047b-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 4,\n                \"name\": \"Comfast\",\n                \"parent_id\": null,\n                \"code\": \"Comfast\"\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Luckydoor\",\n                \"parent_id\": null,\n                \"code\": \"Luckydoor\"\n            },\n            {\n                \"id\": 1,\n                \"name\": \"Tera\",\n                \"parent_id\": null,\n                \"code\": \"Tera\"\n            },\n            {\n                \"id\": 3,\n                \"name\": \"TSC\",\n                \"parent_id\": null,\n                \"code\": \"TSC\"\n            },\n            {\n                \"id\": 5,\n                \"name\": \"Xiami\",\n                \"parent_id\": null,\n                \"code\": \"Xiami\"\n            }\n        ],\n        5\n    ],\n    \"error\": null,\n    \"id\": 1692698775589,\n    \"dt\": 8\n}"}],"_postman_id":"b5ee27b9-85ef-4cd9-b8f4-6660ef8c9711"}],"id":"8f12aa3e-b5a0-4e6f-81f1-bc9e4f024c4c","_postman_id":"8f12aa3e-b5a0-4e6f-81f1-bc9e4f024c4c","description":""},{"name":"Brands Group","item":[{"name":"params/product.brand.group/search_read","id":"539609ae-6555-4434-aace-7f96a22145b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692700468904,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"product.brand.group\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"parent_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-22 15:34:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol, making it versatile for various programming languages.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>Clients interact with the API by sending HTTP POST requests to the specified endpoint. The request payload should be a JSON object with the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Providing an \"id\" helps clients match responses with their corresponding requests, particularly when dealing with batch processing.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server responds with a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help clients match responses with their corresponding requests.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"product.brand.group\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"name\",**</strong>\"code\",****\"parent_id\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"product.brand.group\"</code>: This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with. In this context, it appears to refer to a model named \"product.brand.group.\" This model likely represents groups or categories associated with product brands.</li>\n<li><code>\"search_read\"</code>: This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"product.brand.group\" model. The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n<li><code>[ [], [ \"name\", \"code\", \"parent_id\" ] ]</code>: This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with two sub-arrays:</li>\n</ol>\n<ul>\n<li>The first sub-array <code>[]</code> is used to specify a domain or filtering criteria for the records you're searching for. In this case, it's empty, implying that you're not applying any specific filtering criteria and want to retrieve all records from the \"product.brand.group\" model.</li>\n<li>The second sub-array <code>[\"name\", \"code\", \"parent_id\"]</code> lists the names of fields you want to retrieve from the records that match the search criteria. These field names correspond to attributes of the \"product.brand.group\" model. When the \"search_read\" method is executed, it will return records with values for these specific fields. The fields listed seem to be related to the name of the brand group, its code, and possibly the ID of its parent brand group (if a hierarchy is used).</li>\n</ul>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"product.brand.group\" model. It's requesting records without applying specific filtering criteria and is asking for the values of the \"name,\" \"code,\" and \"parent_id\" fields for each matching record. The actual behavior and response will depend on the API's design and the data stored in the \"product.brand.group\" model.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"224dd51b-0b24-473e-b765-ea11a7f5ea05","name":"New Request","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692700468904,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"product.brand.group\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"parent_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-22 15:34:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 22 Aug 2023 10:36:21 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=FUS8677afLrTUT7cD72uFcd6ttvDhcngQl2E6KY3pPbyo8TZXj9J08JkT4uOHKwRjBHLh7W5xOhcd5tkL5a4BGMuyyZvOfA0Eheoiimsi5pHubEj39I%2FA%2BwXDHlKIHLplLpbe5F9%2BigdMzU0KQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7faa79665f8b99dc-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1692700468904,\n    \"dt\": 10\n}"}],"_postman_id":"539609ae-6555-4434-aace-7f96a22145b5"}],"id":"897ac49a-6ef1-4877-aa32-85be543b8f27","_postman_id":"897ac49a-6ef1-4877-aa32-85be543b8f27","description":""},{"name":"Cost Types","item":[{"name":"params/cost.type/search_read","id":"2208bf4e-aa42-4bff-9716-0c2798fa2362","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692701120523,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"cost.type\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"description\",\r\n                \"amount_type\",\r\n                \"amount\",\r\n                \"contact_group_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-22 15:45:20\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol, making it versatile for various programming languages.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>Clients interact with the API by sending HTTP POST requests to the specified endpoint. The request payload should be a JSON object with the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Providing an \"id\" helps clients match responses with their corresponding requests, particularly when dealing with batch processing.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server responds with a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help clients match responses with their corresponding requests.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"cost.type\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"name\",**</strong>\"description\",<strong><strong>\"amount_type\",</strong></strong>\"amount\",****\"contact_group_id\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"cost.type\"</code>: This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are interacting with. In this context, it seems to refer to a model named \"cost.type.\" This model likely represents different types of costs, expenses, or charges associated with various items or transactions.</li>\n<li><code>\"search_read\"</code>: This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"cost.type\" model. The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n<li><code>[ [], [ \"name\", \"description\", \"amount_type\", \"amount\", \"contact_group_id\" ] ]</code> This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with two sub-arrays:</li>\n</ol>\n<ul>\n<li><p>The first sub-array <code>[]</code> is used to specify a domain or filtering criteria for the records you're searching for. In this case, it's empty, indicating that you're not applying any specific filtering criteria and want to retrieve all records from the \"cost.type\" model.</p>\n</li>\n<li><p>The second sub-array <code>[\"name\", \"description\", \"amount_type\", \"amount\", \"contact_group_id\"]</code>: Lists the names of fields you want to retrieve from the records that match the search criteria. These field names correspond to attributes of the \"cost.type\" model. When the \"search_read\" method is executed, it will return records with values for these specific fields. The fields listed appear to be related to the name of the cost type, its description, the type of amount (e.g., fixed or variable), the actual amount, and a contact group associated with the cost type.</p>\n</li>\n</ul>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"cost.type\" model. It's requesting records without applying specific filtering criteria and is asking for the values of the \"name,\" \"description,\" \"amount_type,\" \"amount,\" and \"contact_group_id\" fields for each matching record. The actual behavior and response will depend on the API's implementation and the data stored in the \"cost.type\" model.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"6c6dd069-6da1-4c8f-bf9a-f8b44c4cd717","name":"params/cost.type/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692701120523,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"cost.type\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"description\",\r\n                \"amount_type\",\r\n                \"amount\",\r\n                \"contact_group_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-22 15:45:20\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 22 Aug 2023 10:47:08 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=PicNoSyLujFeVcOqC0yZ7qI264JvmWr1y2TKGHiCm6TmnkgU%2F1GUvOILK9jwAFpIkakapmvOnBWivZUDl2JCGQmYzGmVgT07qPXAwqjOaS%2FAuPqDGlfZtH5ihHcTeLSaGV8U4TOveMGNRS5KKA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7faa89356bc53cd5-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1692701120523,\n    \"dt\": 6\n}"}],"_postman_id":"2208bf4e-aa42-4bff-9716-0c2798fa2362"}],"id":"cf83ccf7-749d-4245-bd62-be670b2bbe49","_postman_id":"cf83ccf7-749d-4245-bd62-be670b2bbe49","description":""}],"id":"9666315e-d078-4e97-8242-b0020eadd83d","_postman_id":"9666315e-d078-4e97-8242-b0020eadd83d","description":""}],"id":"75e41043-bb06-43b9-835f-10a95673f2f1","_postman_id":"75e41043-bb06-43b9-835f-10a95673f2f1","description":""},{"name":"Inventory","item":[{"name":"Dashboard","item":[{"name":"params/inline.help/search_read","id":"f02928f1-d4c2-41ba-aef8-bcf2055b60e0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692766545433,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_board\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 09:55:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"inline.help\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"action\",<strong>\"=\",</strong>\"stock_board\"<strong>]</strong>]<strong>],</strong></p>\n<ol>\n<li><code>\"inline.help\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"inline.help.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"inline.help\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"action\", \"=\", \"stock_board\" ] ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method.</li>\n<li>It's a nested array with a sub-array containing filtering conditions.</li>\n<li>The condition specified <code>[\"action\", \"=\", \"stock_board\"]</code> suggests that you're applying a filter on the \"action\" field. The condition <code>=</code> means \"equals to,\" and the value \"stock_board\" indicates that you're searching for records where the \"action\" field has the value \"stock_board.\"</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"inline.help\" model. It's specifically requesting records where the \"action\" field has the value \"stock_board.\"</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"9c3d0073-7b97-4a77-983a-a184bdd78a2a","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692766545433,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_board\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 09:55:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 23 Aug 2023 06:11:59 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=6OUNJrERUjS2j22DI8fk9Xh3afWQHlHrWs9fssGzlqjHXIBSgilQHL6Bx3fO50P1g2UVBIn1afJ7hbxRwoJA7zQphFo9mvzUD8T5LuylcAlbSXzvGPnAwixeeUjxTE202QITjOWdFYjz4Yb0uA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fb1338909ca3cd5-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1692766545433,\n    \"dt\": 19\n}"}],"_postman_id":"f02928f1-d4c2-41ba-aef8-bcf2055b60e0"},{"name":"params/stock.location/search_read","id":"70d948b3-8d24-416e-be3b-bf0a7ee44d73","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692766545434,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.location\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"type\",\r\n                    \"=\",\r\n                    \"internal\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"balance\",\r\n                \"balance_90d\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": \"name\",\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 09:55:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.location\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"type\",</strong></strong>\"=\",<strong>**\"internal\"<strong><strong>]</strong></strong>],<strong><strong>[</strong></strong>\"name\",**</strong>\"balance\",****\"balance_90d\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"stock.location\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"stock.location.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"stock.location\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"type\", \"=\", \"internal\" ] ], [ \"name\", \"balance\", \"balance_90d\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method.</li>\n<li>It's a nested array with two sub-arrays:<ol>\n<li>The first sub-array <code>[[ ]]</code> indicates a filtering condition or domain.</li>\n<li>The condition specified <code>[\"type\", \"=\", \"internal\"]</code> suggests that you're applying a filter on the \"type\" field. The condition <code>=</code> means \"equals to,\" and the value \"internal\" indicates that you're searching for records where the \"type\" field has the value \"internal.\"</li>\n<li>The second sub-array <code>[\"name\", \"balance\", \"balance_90d\"]</code> lists the names of fields you want to retrieve from the records that match the search criteria. These field names correspond to attributes of the \"stock.location\" model. When the \"search_read\" method is executed, it will return records with values for these specific fields. The fields listed seem to be related to the name of the location, its current balance, and a balance over a 90-day period.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"stock.location\" model. It's specifically requesting records where the \"type\" field has the value \"internal.\" The request is asking for the values of the \"name,\" \"balance,\" and \"balance_90d\" fields for each matching record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"fbee3aef-961b-4200-8675-16847bf5039f","name":"New Request","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692766545434,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.location\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"type\",\r\n                    \"=\",\r\n                    \"internal\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"balance\",\r\n                \"balance_90d\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": \"name\",\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 09:55:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 23 Aug 2023 06:21:55 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=6q8qB0sEL927DYTLLcJX49gg1%2Fg3zQpxMTQdW2DGu3avarDq8fXRIOkVGqvpusc5f768zZ4UkM6vrkT5a3J%2B%2FjFVVwxdIaoahblXzoXGVV7SE%2F3rzHwFJeF75hjkHMBBOfJpMYJgLVvM2L8D6Q%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fb14210bbd399f1-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 17,\n                \"name\": \"Office\",\n                \"balance_90d\": [\n                    [\n                        1684944000000,\n                        2210.47\n                    ],\n                    [\n                        1685030400000,\n                        2210.47\n                    ],\n                    [\n                        1685116800000,\n                        2210.47\n                    ],\n                    [\n                        1685203200000,\n                        2210.47\n                    ],\n                    [\n                        1685289600000,\n                        2210.47\n                    ],\n                    [\n                        1685376000000,\n                        2210.47\n                    ],\n                    [\n                        1685462400000,\n                        2210.47\n                    ],\n                    [\n                        1685548800000,\n                        2210.47\n                    ],\n                    [\n                        1685635200000,\n                        2210.47\n                    ],\n                    [\n                        1685721600000,\n                        2210.47\n                    ],\n                    [\n                        1685808000000,\n                        2210.47\n                    ],\n                    [\n                        1685894400000,\n                        2210.47\n                    ],\n                    [\n                        1685980800000,\n                        2210.47\n                    ],\n                    [\n                        1686067200000,\n                        2210.47\n                    ],\n                    [\n                        1686153600000,\n                        2210.47\n                    ],\n                    [\n                        1686240000000,\n                        2210.47\n                    ],\n                    [\n                        1686326400000,\n                        2210.47\n                    ],\n                    [\n                        1686412800000,\n                        2210.47\n                    ],\n                    [\n                        1686499200000,\n                        2210.47\n                    ],\n                    [\n                        1686585600000,\n                        2210.47\n                    ],\n                    [\n                        1686672000000,\n                        2210.47\n                    ],\n                    [\n                        1686758400000,\n                        2210.47\n                    ],\n                    [\n                        1686844800000,\n                        2210.47\n                    ],\n                    [\n                        1686931200000,\n                        2210.47\n                    ],\n                    [\n                        1687017600000,\n                        2210.47\n                    ],\n                    [\n                        1687104000000,\n                        2210.47\n                    ],\n                    [\n                        1687190400000,\n                        2210.47\n                    ],\n                    [\n                        1687276800000,\n                        2210.47\n                    ],\n                    [\n                        1687363200000,\n                        2210.47\n                    ],\n                    [\n                        1687449600000,\n                        2210.47\n                    ],\n                    [\n                        1687536000000,\n                        2210.47\n                    ],\n                    [\n                        1687622400000,\n                        2210.47\n                    ],\n                    [\n                        1687708800000,\n                        2210.47\n                    ],\n                    [\n                        1687795200000,\n                        2210.47\n                    ],\n                    [\n                        1687881600000,\n                        2210.47\n                    ],\n                    [\n                        1687968000000,\n                        2210.47\n                    ],\n                    [\n                        1688054400000,\n                        2210.47\n                    ],\n                    [\n                        1688140800000,\n                        2270.47\n                    ],\n                    [\n                        1688227200000,\n                        2270.47\n                    ],\n                    [\n                        1688313600000,\n                        2270.47\n                    ],\n                    [\n                        1688400000000,\n                        2270.47\n                    ],\n                    [\n                        1688486400000,\n                        2270.47\n                    ],\n                    [\n                        1688572800000,\n                        2270.47\n                    ],\n                    [\n                        1688659200000,\n                        2270.47\n                    ],\n                    [\n                        1688745600000,\n                        2270.47\n                    ],\n                    [\n                        1688832000000,\n                        2270.47\n                    ],\n                    [\n                        1688918400000,\n                        2270.47\n                    ],\n                    [\n                        1689004800000,\n                        1181.14\n                    ],\n                    [\n                        1689091200000,\n                        2040.21\n                    ],\n                    [\n                        1689177600000,\n                        2040.21\n                    ],\n                    [\n                        1689264000000,\n                        2040.21\n                    ],\n                    [\n                        1689350400000,\n                        2040.21\n                    ],\n                    [\n                        1689436800000,\n                        2040.21\n                    ],\n                    [\n                        1689523200000,\n                        2040.21\n                    ],\n                    [\n                        1689609600000,\n                        2040.21\n                    ],\n                    [\n                        1689696000000,\n                        2040.21\n                    ],\n                    [\n                        1689782400000,\n                        2040.21\n                    ],\n                    [\n                        1689868800000,\n                        2040.21\n                    ],\n                    [\n                        1689955200000,\n                        2040.21\n                    ],\n                    [\n                        1690041600000,\n                        2040.21\n                    ],\n                    [\n                        1690128000000,\n                        2040.21\n                    ],\n                    [\n                        1690214400000,\n                        2040.21\n                    ],\n                    [\n                        1690300800000,\n                        2040.21\n                    ],\n                    [\n                        1690387200000,\n                        2040.21\n                    ],\n                    [\n                        1690473600000,\n                        2040.21\n                    ],\n                    [\n                        1690560000000,\n                        2040.21\n                    ],\n                    [\n                        1690646400000,\n                        2040.21\n                    ],\n                    [\n                        1690732800000,\n                        2040.21\n                    ],\n                    [\n                        1690819200000,\n                        2040.21\n                    ],\n                    [\n                        1690905600000,\n                        2040.21\n                    ],\n                    [\n                        1690992000000,\n                        2040.21\n                    ],\n                    [\n                        1691078400000,\n                        2040.21\n                    ],\n                    [\n                        1691164800000,\n                        2040.21\n                    ],\n                    [\n                        1691251200000,\n                        2040.21\n                    ],\n                    [\n                        1691337600000,\n                        2040.21\n                    ],\n                    [\n                        1691424000000,\n                        2040.21\n                    ],\n                    [\n                        1691510400000,\n                        2040.21\n                    ],\n                    [\n                        1691596800000,\n                        2040.21\n                    ],\n                    [\n                        1691683200000,\n                        2040.21\n                    ],\n                    [\n                        1691769600000,\n                        2040.21\n                    ],\n                    [\n                        1691856000000,\n                        2040.21\n                    ],\n                    [\n                        1691942400000,\n                        2040.21\n                    ],\n                    [\n                        1692028800000,\n                        2040.21\n                    ],\n                    [\n                        1692115200000,\n                        2040.21\n                    ],\n                    [\n                        1692201600000,\n                        2040.21\n                    ],\n                    [\n                        1692288000000,\n                        2040.21\n                    ],\n                    [\n                        1692374400000,\n                        2040.21\n                    ],\n                    [\n                        1692460800000,\n                        2040.21\n                    ],\n                    [\n                        1692547200000,\n                        2040.21\n                    ],\n                    [\n                        1692633600000,\n                        2040.21\n                    ],\n                    [\n                        1692720000000,\n                        2040.21\n                    ]\n                ],\n                \"balance\": 2040.21\n            },\n            {\n                \"id\": 4,\n                \"name\": \"Warehouse\",\n                \"balance_90d\": [\n                    [\n                        1684944000000,\n                        1063.88\n                    ],\n                    [\n                        1685030400000,\n                        1063.88\n                    ],\n                    [\n                        1685116800000,\n                        1063.88\n                    ],\n                    [\n                        1685203200000,\n                        1063.88\n                    ],\n                    [\n                        1685289600000,\n                        1063.88\n                    ],\n                    [\n                        1685376000000,\n                        1063.88\n                    ],\n                    [\n                        1685462400000,\n                        1063.88\n                    ],\n                    [\n                        1685548800000,\n                        1063.88\n                    ],\n                    [\n                        1685635200000,\n                        1063.88\n                    ],\n                    [\n                        1685721600000,\n                        1063.88\n                    ],\n                    [\n                        1685808000000,\n                        1063.88\n                    ],\n                    [\n                        1685894400000,\n                        1063.88\n                    ],\n                    [\n                        1685980800000,\n                        1063.88\n                    ],\n                    [\n                        1686067200000,\n                        1063.88\n                    ],\n                    [\n                        1686153600000,\n                        1063.88\n                    ],\n                    [\n                        1686240000000,\n                        1063.88\n                    ],\n                    [\n                        1686326400000,\n                        1063.88\n                    ],\n                    [\n                        1686412800000,\n                        1063.88\n                    ],\n                    [\n                        1686499200000,\n                        1063.88\n                    ],\n                    [\n                        1686585600000,\n                        1063.88\n                    ],\n                    [\n                        1686672000000,\n                        1063.88\n                    ],\n                    [\n                        1686758400000,\n                        1063.88\n                    ],\n                    [\n                        1686844800000,\n                        1063.88\n                    ],\n                    [\n                        1686931200000,\n                        1063.88\n                    ],\n                    [\n                        1687017600000,\n                        1063.88\n                    ],\n                    [\n                        1687104000000,\n                        1063.88\n                    ],\n                    [\n                        1687190400000,\n                        1063.88\n                    ],\n                    [\n                        1687276800000,\n                        1063.88\n                    ],\n                    [\n                        1687363200000,\n                        1063.88\n                    ],\n                    [\n                        1687449600000,\n                        1063.88\n                    ],\n                    [\n                        1687536000000,\n                        1063.88\n                    ],\n                    [\n                        1687622400000,\n                        1063.88\n                    ],\n                    [\n                        1687708800000,\n                        1063.88\n                    ],\n                    [\n                        1687795200000,\n                        1063.88\n                    ],\n                    [\n                        1687881600000,\n                        1063.88\n                    ],\n                    [\n                        1687968000000,\n                        1063.88\n                    ],\n                    [\n                        1688054400000,\n                        1063.88\n                    ],\n                    [\n                        1688140800000,\n                        1063.88\n                    ],\n                    [\n                        1688227200000,\n                        1063.88\n                    ],\n                    [\n                        1688313600000,\n                        1063.88\n                    ],\n                    [\n                        1688400000000,\n                        1063.88\n                    ],\n                    [\n                        1688486400000,\n                        1063.88\n                    ],\n                    [\n                        1688572800000,\n                        1063.88\n                    ],\n                    [\n                        1688659200000,\n                        1063.88\n                    ],\n                    [\n                        1688745600000,\n                        1063.88\n                    ],\n                    [\n                        1688832000000,\n                        1063.88\n                    ],\n                    [\n                        1688918400000,\n                        1063.88\n                    ],\n                    [\n                        1689004800000,\n                        1063.88\n                    ],\n                    [\n                        1689091200000,\n                        1063.88\n                    ],\n                    [\n                        1689177600000,\n                        1063.88\n                    ],\n                    [\n                        1689264000000,\n                        1063.88\n                    ],\n                    [\n                        1689350400000,\n                        1063.88\n                    ],\n                    [\n                        1689436800000,\n                        1063.88\n                    ],\n                    [\n                        1689523200000,\n                        1063.88\n                    ],\n                    [\n                        1689609600000,\n                        1063.88\n                    ],\n                    [\n                        1689696000000,\n                        1063.88\n                    ],\n                    [\n                        1689782400000,\n                        1063.88\n                    ],\n                    [\n                        1689868800000,\n                        1063.88\n                    ],\n                    [\n                        1689955200000,\n                        1063.88\n                    ],\n                    [\n                        1690041600000,\n                        1063.88\n                    ],\n                    [\n                        1690128000000,\n                        1063.88\n                    ],\n                    [\n                        1690214400000,\n                        1063.88\n                    ],\n                    [\n                        1690300800000,\n                        1063.88\n                    ],\n                    [\n                        1690387200000,\n                        1063.88\n                    ],\n                    [\n                        1690473600000,\n                        1063.88\n                    ],\n                    [\n                        1690560000000,\n                        1063.88\n                    ],\n                    [\n                        1690646400000,\n                        1063.88\n                    ],\n                    [\n                        1690732800000,\n                        1063.88\n                    ],\n                    [\n                        1690819200000,\n                        1063.88\n                    ],\n                    [\n                        1690905600000,\n                        1063.88\n                    ],\n                    [\n                        1690992000000,\n                        1063.88\n                    ],\n                    [\n                        1691078400000,\n                        1063.88\n                    ],\n                    [\n                        1691164800000,\n                        1063.88\n                    ],\n                    [\n                        1691251200000,\n                        1063.88\n                    ],\n                    [\n                        1691337600000,\n                        1063.88\n                    ],\n                    [\n                        1691424000000,\n                        1063.88\n                    ],\n                    [\n                        1691510400000,\n                        1063.88\n                    ],\n                    [\n                        1691596800000,\n                        1063.88\n                    ],\n                    [\n                        1691683200000,\n                        1063.88\n                    ],\n                    [\n                        1691769600000,\n                        1063.88\n                    ],\n                    [\n                        1691856000000,\n                        1063.88\n                    ],\n                    [\n                        1691942400000,\n                        1063.88\n                    ],\n                    [\n                        1692028800000,\n                        1063.88\n                    ],\n                    [\n                        1692115200000,\n                        1063.88\n                    ],\n                    [\n                        1692201600000,\n                        1063.88\n                    ],\n                    [\n                        1692288000000,\n                        1063.88\n                    ],\n                    [\n                        1692374400000,\n                        1063.88\n                    ],\n                    [\n                        1692460800000,\n                        1063.88\n                    ],\n                    [\n                        1692547200000,\n                        1063.88\n                    ],\n                    [\n                        1692633600000,\n                        1063.88\n                    ],\n                    [\n                        1692720000000,\n                        1063.88\n                    ]\n                ],\n                \"balance\": 1063.88\n            },\n            {\n                \"id\": 18,\n                \"name\": \"Warehouse 2\",\n                \"balance_90d\": [\n                    [\n                        1684944000000,\n                        0\n                    ],\n                    [\n                        1685030400000,\n                        0\n                    ],\n                    [\n                        1685116800000,\n                        0\n                    ],\n                    [\n                        1685203200000,\n                        0\n                    ],\n                    [\n                        1685289600000,\n                        0\n                    ],\n                    [\n                        1685376000000,\n                        0\n                    ],\n                    [\n                        1685462400000,\n                        0\n                    ],\n                    [\n                        1685548800000,\n                        0\n                    ],\n                    [\n                        1685635200000,\n                        0\n                    ],\n                    [\n                        1685721600000,\n                        0\n                    ],\n                    [\n                        1685808000000,\n                        0\n                    ],\n                    [\n                        1685894400000,\n                        0\n                    ],\n                    [\n                        1685980800000,\n                        0\n                    ],\n                    [\n                        1686067200000,\n                        0\n                    ],\n                    [\n                        1686153600000,\n                        0\n                    ],\n                    [\n                        1686240000000,\n                        0\n                    ],\n                    [\n                        1686326400000,\n                        0\n                    ],\n                    [\n                        1686412800000,\n                        0\n                    ],\n                    [\n                        1686499200000,\n                        0\n                    ],\n                    [\n                        1686585600000,\n                        0\n                    ],\n                    [\n                        1686672000000,\n                        0\n                    ],\n                    [\n                        1686758400000,\n                        0\n                    ],\n                    [\n                        1686844800000,\n                        0\n                    ],\n                    [\n                        1686931200000,\n                        0\n                    ],\n                    [\n                        1687017600000,\n                        0\n                    ],\n                    [\n                        1687104000000,\n                        0\n                    ],\n                    [\n                        1687190400000,\n                        0\n                    ],\n                    [\n                        1687276800000,\n                        0\n                    ],\n                    [\n                        1687363200000,\n                        0\n                    ],\n                    [\n                        1687449600000,\n                        0\n                    ],\n                    [\n                        1687536000000,\n                        0\n                    ],\n                    [\n                        1687622400000,\n                        0\n                    ],\n                    [\n                        1687708800000,\n                        0\n                    ],\n                    [\n                        1687795200000,\n                        0\n                    ],\n                    [\n                        1687881600000,\n                        0\n                    ],\n                    [\n                        1687968000000,\n                        0\n                    ],\n                    [\n                        1688054400000,\n                        0\n                    ],\n                    [\n                        1688140800000,\n                        0\n                    ],\n                    [\n                        1688227200000,\n                        0\n                    ],\n                    [\n                        1688313600000,\n                        0\n                    ],\n                    [\n                        1688400000000,\n                        0\n                    ],\n                    [\n                        1688486400000,\n                        0\n                    ],\n                    [\n                        1688572800000,\n                        0\n                    ],\n                    [\n                        1688659200000,\n                        0\n                    ],\n                    [\n                        1688745600000,\n                        0\n                    ],\n                    [\n                        1688832000000,\n                        0\n                    ],\n                    [\n                        1688918400000,\n                        0\n                    ],\n                    [\n                        1689004800000,\n                        0\n                    ],\n                    [\n                        1689091200000,\n                        0\n                    ],\n                    [\n                        1689177600000,\n                        0\n                    ],\n                    [\n                        1689264000000,\n                        0\n                    ],\n                    [\n                        1689350400000,\n                        0\n                    ],\n                    [\n                        1689436800000,\n                        0\n                    ],\n                    [\n                        1689523200000,\n                        0\n                    ],\n                    [\n                        1689609600000,\n                        0\n                    ],\n                    [\n                        1689696000000,\n                        0\n                    ],\n                    [\n                        1689782400000,\n                        0\n                    ],\n                    [\n                        1689868800000,\n                        0\n                    ],\n                    [\n                        1689955200000,\n                        0\n                    ],\n                    [\n                        1690041600000,\n                        0\n                    ],\n                    [\n                        1690128000000,\n                        0\n                    ],\n                    [\n                        1690214400000,\n                        0\n                    ],\n                    [\n                        1690300800000,\n                        0\n                    ],\n                    [\n                        1690387200000,\n                        0\n                    ],\n                    [\n                        1690473600000,\n                        0\n                    ],\n                    [\n                        1690560000000,\n                        0\n                    ],\n                    [\n                        1690646400000,\n                        0\n                    ],\n                    [\n                        1690732800000,\n                        0\n                    ],\n                    [\n                        1690819200000,\n                        0\n                    ],\n                    [\n                        1690905600000,\n                        0\n                    ],\n                    [\n                        1690992000000,\n                        0\n                    ],\n                    [\n                        1691078400000,\n                        0\n                    ],\n                    [\n                        1691164800000,\n                        0\n                    ],\n                    [\n                        1691251200000,\n                        0\n                    ],\n                    [\n                        1691337600000,\n                        0\n                    ],\n                    [\n                        1691424000000,\n                        0\n                    ],\n                    [\n                        1691510400000,\n                        0\n                    ],\n                    [\n                        1691596800000,\n                        0\n                    ],\n                    [\n                        1691683200000,\n                        0\n                    ],\n                    [\n                        1691769600000,\n                        0\n                    ],\n                    [\n                        1691856000000,\n                        0\n                    ],\n                    [\n                        1691942400000,\n                        0\n                    ],\n                    [\n                        1692028800000,\n                        0\n                    ],\n                    [\n                        1692115200000,\n                        0\n                    ],\n                    [\n                        1692201600000,\n                        0\n                    ],\n                    [\n                        1692288000000,\n                        0\n                    ],\n                    [\n                        1692374400000,\n                        0\n                    ],\n                    [\n                        1692460800000,\n                        0\n                    ],\n                    [\n                        1692547200000,\n                        0\n                    ],\n                    [\n                        1692633600000,\n                        0\n                    ],\n                    [\n                        1692720000000,\n                        0\n                    ]\n                ],\n                \"balance\": 0\n            },\n            {\n                \"id\": 19,\n                \"name\": \"Warehouse Azira\",\n                \"balance_90d\": [\n                    [\n                        1684944000000,\n                        1013.79\n                    ],\n                    [\n                        1685030400000,\n                        1013.79\n                    ],\n                    [\n                        1685116800000,\n                        1013.79\n                    ],\n                    [\n                        1685203200000,\n                        1013.79\n                    ],\n                    [\n                        1685289600000,\n                        1013.79\n                    ],\n                    [\n                        1685376000000,\n                        1013.79\n                    ],\n                    [\n                        1685462400000,\n                        1013.79\n                    ],\n                    [\n                        1685548800000,\n                        1013.79\n                    ],\n                    [\n                        1685635200000,\n                        1013.79\n                    ],\n                    [\n                        1685721600000,\n                        1013.79\n                    ],\n                    [\n                        1685808000000,\n                        1013.79\n                    ],\n                    [\n                        1685894400000,\n                        1013.79\n                    ],\n                    [\n                        1685980800000,\n                        1013.79\n                    ],\n                    [\n                        1686067200000,\n                        1013.79\n                    ],\n                    [\n                        1686153600000,\n                        1013.79\n                    ],\n                    [\n                        1686240000000,\n                        1013.79\n                    ],\n                    [\n                        1686326400000,\n                        1013.79\n                    ],\n                    [\n                        1686412800000,\n                        1013.79\n                    ],\n                    [\n                        1686499200000,\n                        1013.79\n                    ],\n                    [\n                        1686585600000,\n                        1013.79\n                    ],\n                    [\n                        1686672000000,\n                        1013.79\n                    ],\n                    [\n                        1686758400000,\n                        1013.79\n                    ],\n                    [\n                        1686844800000,\n                        1013.79\n                    ],\n                    [\n                        1686931200000,\n                        1013.79\n                    ],\n                    [\n                        1687017600000,\n                        1013.79\n                    ],\n                    [\n                        1687104000000,\n                        1013.79\n                    ],\n                    [\n                        1687190400000,\n                        1013.79\n                    ],\n                    [\n                        1687276800000,\n                        1013.79\n                    ],\n                    [\n                        1687363200000,\n                        1013.79\n                    ],\n                    [\n                        1687449600000,\n                        1013.79\n                    ],\n                    [\n                        1687536000000,\n                        1013.79\n                    ],\n                    [\n                        1687622400000,\n                        1013.79\n                    ],\n                    [\n                        1687708800000,\n                        1013.79\n                    ],\n                    [\n                        1687795200000,\n                        1013.79\n                    ],\n                    [\n                        1687881600000,\n                        1013.79\n                    ],\n                    [\n                        1687968000000,\n                        1013.79\n                    ],\n                    [\n                        1688054400000,\n                        1013.79\n                    ],\n                    [\n                        1688140800000,\n                        1013.79\n                    ],\n                    [\n                        1688227200000,\n                        1013.79\n                    ],\n                    [\n                        1688313600000,\n                        1013.79\n                    ],\n                    [\n                        1688400000000,\n                        1013.79\n                    ],\n                    [\n                        1688486400000,\n                        1013.79\n                    ],\n                    [\n                        1688572800000,\n                        1013.79\n                    ],\n                    [\n                        1688659200000,\n                        1013.79\n                    ],\n                    [\n                        1688745600000,\n                        1013.79\n                    ],\n                    [\n                        1688832000000,\n                        1013.79\n                    ],\n                    [\n                        1688918400000,\n                        1013.79\n                    ],\n                    [\n                        1689004800000,\n                        1013.79\n                    ],\n                    [\n                        1689091200000,\n                        1013.79\n                    ],\n                    [\n                        1689177600000,\n                        1013.79\n                    ],\n                    [\n                        1689264000000,\n                        1013.79\n                    ],\n                    [\n                        1689350400000,\n                        1013.79\n                    ],\n                    [\n                        1689436800000,\n                        1013.79\n                    ],\n                    [\n                        1689523200000,\n                        1013.79\n                    ],\n                    [\n                        1689609600000,\n                        1013.79\n                    ],\n                    [\n                        1689696000000,\n                        1013.79\n                    ],\n                    [\n                        1689782400000,\n                        1013.79\n                    ],\n                    [\n                        1689868800000,\n                        1013.79\n                    ],\n                    [\n                        1689955200000,\n                        1013.79\n                    ],\n                    [\n                        1690041600000,\n                        1013.79\n                    ],\n                    [\n                        1690128000000,\n                        1013.79\n                    ],\n                    [\n                        1690214400000,\n                        1013.79\n                    ],\n                    [\n                        1690300800000,\n                        1013.79\n                    ],\n                    [\n                        1690387200000,\n                        1013.79\n                    ],\n                    [\n                        1690473600000,\n                        1013.79\n                    ],\n                    [\n                        1690560000000,\n                        1013.79\n                    ],\n                    [\n                        1690646400000,\n                        1013.79\n                    ],\n                    [\n                        1690732800000,\n                        1013.79\n                    ],\n                    [\n                        1690819200000,\n                        1013.79\n                    ],\n                    [\n                        1690905600000,\n                        1013.79\n                    ],\n                    [\n                        1690992000000,\n                        1013.79\n                    ],\n                    [\n                        1691078400000,\n                        1013.79\n                    ],\n                    [\n                        1691164800000,\n                        1013.79\n                    ],\n                    [\n                        1691251200000,\n                        1013.79\n                    ],\n                    [\n                        1691337600000,\n                        1013.79\n                    ],\n                    [\n                        1691424000000,\n                        1013.79\n                    ],\n                    [\n                        1691510400000,\n                        1013.79\n                    ],\n                    [\n                        1691596800000,\n                        1013.79\n                    ],\n                    [\n                        1691683200000,\n                        1013.79\n                    ],\n                    [\n                        1691769600000,\n                        1013.79\n                    ],\n                    [\n                        1691856000000,\n                        1013.79\n                    ],\n                    [\n                        1691942400000,\n                        1013.79\n                    ],\n                    [\n                        1692028800000,\n                        1013.79\n                    ],\n                    [\n                        1692115200000,\n                        1013.79\n                    ],\n                    [\n                        1692201600000,\n                        1013.79\n                    ],\n                    [\n                        1692288000000,\n                        1013.79\n                    ],\n                    [\n                        1692374400000,\n                        1013.79\n                    ],\n                    [\n                        1692460800000,\n                        1013.79\n                    ],\n                    [\n                        1692547200000,\n                        1013.79\n                    ],\n                    [\n                        1692633600000,\n                        1013.79\n                    ],\n                    [\n                        1692720000000,\n                        1013.79\n                    ]\n                ],\n                \"balance\": 1013.79\n            }\n        ],\n        4\n    ],\n    \"error\": null,\n    \"id\": 1692766545434,\n    \"dt\": 20\n}"}],"_postman_id":"70d948b3-8d24-416e-be3b-bf0a7ee44d73"},{"name":"params/stock.balance/search_read","id":"fa35201b-e922-46a6-9734-7f1b1e1cc502","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692766545435,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.balance\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"below_min\",\r\n                    \"=\",\r\n                    \"True\"\r\n                ]\r\n            ],\r\n            [\r\n                \"location_id\",\r\n                \"product_id\",\r\n                \"qty_phys\",\r\n                \"qty_virt\",\r\n                \"min_qty\",\r\n                \"below_min\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 09:55:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.balance\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"below_min\",</strong></strong>\"=\",<strong>**\"True\"<strong><strong>]</strong></strong>],<strong><strong>[</strong></strong>\"location_id\",**</strong>\"product_id\",<strong><strong>\"qty_phys\",</strong></strong>\"qty_virt\",<strong><strong>\"min_qty\",</strong></strong>\"below_min\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"stock.balance\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"stock.balance.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"stock.balance\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"below_min\", \"=\", \"True\" ] ], [ \"location_id\", \"product_id\", \"qty_phys\", \"qty_virt\", \"min_qty\", \"below_min\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method.</li>\n<li>It's a nested array with two sub-arrays:<ol>\n<li>The first sub-array <code>[[ ]]</code> indicates a filtering condition or domain.</li>\n<li>The condition specified <code>[\"below_min\", \"=\", \"True\"]</code> suggests that you're applying a filter on the \"below_min\" field. The condition <code>=</code> means \"equals to,\" and the value \"True\" indicates that you're searching for records where the \"below_min\" field has the value \"True.\"</li>\n<li>The second sub-array <code>[\"location_id\", \"product_id\", \"qty_phys\", \"qty_virt\", \"min_qty\", \"below_min\"]</code> lists the names of fields you want to retrieve from the records that match the search criteria. These field names correspond to attributes of the \"stock.balance\" model. When the \"search_read\" method is executed, it will return records with values for these specific fields. The fields listed seem to be related to the location ID, product ID, physical quantity, virtual quantity, minimum quantity, and a flag indicating if the stock is below the minimum.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"stock.balance\" model. It's specifically requesting records where the \"below_min\" field has the value \"True.\" The request is asking for the values of the specified fields for each matching record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"2a50d8ce-c6c0-41e4-8782-8ce681466cfd","name":"params/stock.balance/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692766545435,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.balance\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"below_min\",\r\n                    \"=\",\r\n                    \"True\"\r\n                ]\r\n            ],\r\n            [\r\n                \"location_id\",\r\n                \"product_id\",\r\n                \"qty_phys\",\r\n                \"qty_virt\",\r\n                \"min_qty\",\r\n                \"below_min\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 09:55:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 23 Aug 2023 07:13:31 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=aJuTIU0EPKLrsd2pViFg%2FLYqVW02ihOXWaM%2FNS9aMdtf4L5SoY2lL%2BaC1Qc%2FWKcTSDbm1H7Qtt0rGM9kfaIgrukUEe2N%2F%2FgI2%2FfLvQjdbTtmgE0Dw8QXz%2BQkwecgfQZY5MCvVxMmtQqG4ttoSg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fb18dac4e2903f5-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 10547,\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty_phys\": 0,\n                \"qty_virt\": 0,\n                \"min_qty\": 0,\n                \"below_min\": true,\n                \"product_id\": [\n                    912,\n                    \"[ZT71] EVHK0030 : Tera 2D Wireless Barcode Scanner with Charging Cradle\",\n                    null\n                ]\n            },\n            {\n                \"id\": 10585,\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"qty_phys\": 0,\n                \"qty_virt\": -1,\n                \"min_qty\": 0,\n                \"below_min\": true,\n                \"product_id\": [\n                    912,\n                    \"[ZT71] EVHK0030 : Tera 2D Wireless Barcode Scanner with Charging Cradle\",\n                    null\n                ]\n            },\n            {\n                \"id\": 10737,\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"qty_phys\": 0,\n                \"qty_virt\": 0,\n                \"min_qty\": 0,\n                \"below_min\": true,\n                \"product_id\": [\n                    887,\n                    \"[ZT49] 1031 : 1D Wired Laser Barcode Scanner  w/o Stand\",\n                    null\n                ]\n            },\n            {\n                \"id\": 10738,\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty_phys\": 0,\n                \"qty_virt\": -1,\n                \"min_qty\": 0,\n                \"below_min\": true,\n                \"product_id\": [\n                    887,\n                    \"[ZT49] 1031 : 1D Wired Laser Barcode Scanner  w/o Stand\",\n                    null\n                ]\n            },\n            {\n                \"id\": 10889,\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"qty_phys\": 0,\n                \"qty_virt\": 0,\n                \"min_qty\": 0,\n                \"below_min\": true,\n                \"product_id\": [\n                    914,\n                    \"[ZS30] SanDisk: Ultra Sandisk Micro SD Card\",\n                    null\n                ]\n            },\n            {\n                \"id\": 10891,\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty_phys\": 0,\n                \"qty_virt\": -3,\n                \"min_qty\": 0,\n                \"below_min\": true,\n                \"product_id\": [\n                    894,\n                    \"[ZC53] V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                    null\n                ]\n            },\n            {\n                \"id\": 10892,\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty_phys\": 0,\n                \"qty_virt\": -3,\n                \"min_qty\": 0,\n                \"below_min\": true,\n                \"product_id\": [\n                    914,\n                    \"[ZS30] SanDisk: Ultra Sandisk Micro SD Card\",\n                    null\n                ]\n            },\n            {\n                \"id\": 10920,\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty_phys\": 0,\n                \"qty_virt\": -1,\n                \"min_qty\": 0,\n                \"below_min\": true,\n                \"product_id\": [\n                    886,\n                    \"[ZT48] 6900 : Tera 1D Wired Barcode Scanner with Stand\",\n                    null\n                ]\n            }\n        ],\n        8\n    ],\n    \"error\": null,\n    \"id\": 1692766545435,\n    \"dt\": 49\n}"}],"_postman_id":"fa35201b-e922-46a6-9734-7f1b1e1cc502"},{"name":"params/stock.picking/search_read","id":"69ca8eac-31a9-4856-9400-8539951fb0a1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692766545437,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.picking\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"type\",\r\n                    \"=\",\r\n                    \"in\"\r\n                ],\r\n                [\r\n                    \"state\",\r\n                    \"=\",\r\n                    \"pending\"\r\n                ]\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"ref\",\r\n                \"contact_id\",\r\n                \"date\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 10,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 09:55:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.picking\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"type\",</strong></strong>\"=\",<strong>**\"in\"<strong><strong>],<strong><strong>[</strong></strong>\"state\",</strong></strong>\"=\",**</strong>\"pending\"<strong><strong>]</strong></strong>],<strong><strong>[</strong></strong>\"number\",<strong><strong>\"ref\",</strong></strong>\"contact_id\",****\"date\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"stock.picking\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"stock.picking.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"stock.picking\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"type\", \"=\", \"in\" ], [ \"state\", \"=\", \"pending\" ] ], [ \"number\", \"ref\", \"contact_id\", \"date\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method.</li>\n<li>It's a nested array with two sub-arrays:<ol>\n<li>The first sub-array <code>[[ ]]</code> indicates a domain or filtering condition. In this case, there are two conditions specified:</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<ul>\n<li><code>[\"type\", \"=\", \"in\"]</code> suggests that you're applying a filter on the \"type\" field. The condition <code>=</code> means \"equals to,\" and the value \"in\" indicates that you're searching for records where the \"type\" field has the value \"in.\"</li>\n<li><code>[\"state\", \"=\", \"pending\"]</code> suggests that you're applying a filter on the \"state\" field. The condition <code>=</code> means \"equals to,\" and the value \"pending\" indicates that you're searching for records where the \"state\" field has the value \"pending.\"</li>\n<li>The second sub-array <code>[\"number\", \"ref\", \"contact_id\", \"date\"]</code> lists the names of fields you want to retrieve from the records that match the search criteria. These field names correspond to attributes of the \"stock.picking\" model. When the \"search_read\" method is executed, it will return records with values for these specific fields. The fields listed seem to be related to the picking number, reference, contact ID, and date associated with the picking.</li>\n</ul>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"stock.picking\" model. It's specifically requesting records where the \"type\" field has the value \"in\" and the \"state\" field has the value \"pending.\" The request is asking for the values of the specified fields for each matching record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"aaa43468-662f-413f-ab2b-fe9db5d78fb9","name":"params/stock.picking/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692766545437,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.picking\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"type\",\r\n                    \"=\",\r\n                    \"in\"\r\n                ],\r\n                [\r\n                    \"state\",\r\n                    \"=\",\r\n                    \"pending\"\r\n                ]\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"ref\",\r\n                \"contact_id\",\r\n                \"date\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 10,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 09:55:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 23 Aug 2023 07:22:01 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=kmUcgb1WzBnKDzP%2Fdpl0j%2F2Z6wPa7l%2Bo7fXGieTRLRc0cXZdY2OmtLfqxRClbNVn1iOM2l%2Bujx%2BUP2S1fCFwvdk9oR7NpEtS4XZjXsUnBf955ChDBt7yga%2FkHwZQRDkvcSXuGx79TuUp4GRhEw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fb19a1ca89d03fd-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 1212,\n                \"ref\": null,\n                \"number\": \"GRTN-202204-001\",\n                \"contact_id\": null,\n                \"date\": \"2021-10-01 11:49:25\"\n            },\n            {\n                \"id\": 1210,\n                \"ref\": null,\n                \"number\": \"GRTN-202204-003\",\n                \"contact_id\": null,\n                \"date\": \"2021-10-01 11:41:12\"\n            },\n            {\n                \"id\": 143,\n                \"ref\": null,\n                \"number\": \"GR-202011-005\",\n                \"contact_id\": null,\n                \"date\": \"2020-11-30 14:49:57\"\n            },\n            {\n                \"id\": 107,\n                \"ref\": \"GI-202009-003\",\n                \"number\": \"GR-202009-005\",\n                \"contact_id\": [\n                    294,\n                    \"[C-0220] Shopee\",\n                    null\n                ],\n                \"date\": \"2020-09-29 09:29:36\"\n            }\n        ],\n        4\n    ],\n    \"error\": null,\n    \"id\": 1692766545437,\n    \"dt\": 56\n}"}],"_postman_id":"69ca8eac-31a9-4856-9400-8539951fb0a1"},{"name":"params/help.overlay/is_enabled","id":"e753ce61-a6fc-4215-9a43-5e7ffa34f5c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692766545448,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"help.overlay\",\r\n        \"is_enabled\",\r\n        [\r\n            \"stock_board\"\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 09:55:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"help.overlay\",****\"is_enabled\",<strong><strong>[</strong></strong>\"stock_board\"**<strong>],</strong></p>\n<ol>\n<li><code>\"help.overlay\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"help.overlay.\"</li>\n</ol>\n</li>\n<li><code>\"is_enabled\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and indicates a method or action you want to perform on the \"help.overlay\" model.</li>\n<li>The \"is_enabled\" method might be specific to this API and is likely used to check whether a certain feature or overlay is enabled or active.</li>\n</ol>\n</li>\n<li><code>[ \"stock_board\" ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"is_enabled\" method.</li>\n<li>It's an array that contains parameters for the method.</li>\n<li>In this case, the parameter <code>\"stock_board\"</code> is provided as an argument to the \"is_enabled\" method. This argument might indicate the name or identifier of the feature or overlay (\"stock_board\") you want to check if it's enabled.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to check whether a specific overlay or feature named \"stock_board\" is enabled within the \"help.overlay\" model.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"c810a986-b909-4536-8d22-16bab5822870","name":"params/help.overlay/is_enabled","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692766545448,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"help.overlay\",\r\n        \"is_enabled\",\r\n        [\r\n            \"stock_board\"\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 09:55:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 23 Aug 2023 07:32:03 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Q4J060u2TxQ1B2Vwbf8%2Fd6uUAdFZIoIg1R32deZlLI6FhANwjtMreYdKWbeoK00STIfQOF2tcBS6HlrtAbo%2F%2FWVR46W9No0DzLlgnDJOxR1aFR3P2Vw1ckZrEqhCGrLnJRVtD%2ByD42ir8vYSoQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fb1a8d1ef8b3ce1-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": null,\n    \"error\": null,\n    \"id\": 1692766545448,\n    \"dt\": 12\n}"}],"_postman_id":"e753ce61-a6fc-4215-9a43-5e7ffa34f5c2"}],"id":"35e226bb-9bc5-419e-86a0-dfe51ffe7694","_postman_id":"35e226bb-9bc5-419e-86a0-dfe51ffe7694","description":""},{"name":"Picking Dashboard","item":[{"name":"params/page.layout/search_read","id":"f9bd321a-c739-421c-995f-7d37ef902325","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692777178766,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"page.layout\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"path\",\r\n                    \"=\",\r\n                    \"picking_list\"\r\n                ]\r\n            ],\r\n            [\r\n                \"layout\",\r\n                \"code\",\r\n                \"code_trans\",\r\n                \"styles\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 12:52:58\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"page.layout\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"path\",</strong></strong>\"=\",<strong>**\"picking_list\"<strong><strong>]</strong></strong>],<strong><strong>[</strong></strong>\"layout\",**</strong>\"code\",<strong><strong>\"code_trans\",</strong></strong>\"styles\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"page.layout\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"page.layout.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"page.layout\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"path\", \"=\", \"picking_list\" ] ], [ \"layout\", \"code\", \"code_trans\", \"styles\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method.</li>\n<li>It's a nested array with two sub-arrays:</li>\n</ol>\n</li>\n</ol>\n<ul>\n<li>The first sub-array <code>[[ ]]</code> indicates a domain or filtering condition. In this case, there's one condition specified:</li>\n<li><code>[\"path\", \"=\", \"picking_list\"]</code> suggests that you're applying a filter on the \"path\" field. The condition <code>=</code> means \"equals to,\" and the value \"picking_list\" indicates that you're searching for records where the \"path\" field has the value \"picking_list.\"</li>\n<li>The second sub-array <code>[\"layout\", \"code\", \"code_trans\", \"styles\"]</code> lists the names of fields you want to retrieve from the records that match the search criteria. These field names correspond to attributes of the \"page.layout\" model. When the \"search_read\" method is executed, it will return records with values for these specific fields. The fields listed seem to be related to the layout name, code, translated code, and styles associated with the layout.</li>\n</ul>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"page.layout\" model. It's specifically requesting records where the \"path\" field has the value \"picking_list.\" The request is asking for the values of the specified fields for each matching record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"9ce267da-b5b9-4642-a24f-f96f060b99a4","name":"params/page.layout/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692777178766,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"page.layout\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"path\",\r\n                    \"=\",\r\n                    \"picking_list\"\r\n                ]\r\n            ],\r\n            [\r\n                \"layout\",\r\n                \"code\",\r\n                \"code_trans\",\r\n                \"styles\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 12:52:58\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 23 Aug 2023 08:06:28 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Precg7ga1SlS5ge9lBaMryWVfTFVa7%2BbhV3FN1Q5V00qYidSkJJHoSZwmbYq8jzvxQ8ynOZCgXS8CATHnnacy%2BfLNqIAi%2FrC0jpTh3NUT2pAUqpjVu4syeeWRyju4ebrXVvzvcU4q0VuwqQuww%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fb1db3a7b713cda-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"id\": 531,\n            \"layout\": \"{\\\"elements\\\":[{\\\"type\\\":\\\"box\\\",\\\"children\\\":[{\\\"type\\\":\\\"box\\\",\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"size\\\":\\\"huge\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"Picking Dashboard\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"margin_bottom\\\":20}],\\\"min_height\\\":50,\\\"avoid_keyboard\\\":true,\\\"margin_left\\\":50,\\\"margin_right\\\":50},{\\\"type\\\":\\\"box\\\",\\\"children\\\":[{\\\"type\\\":\\\"columns\\\",\\\"columns\\\":[{\\\"children\\\":[]},{\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\"},\\\"insert\\\":\\\"Please choose a contact number.\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}}]},{\\\"children\\\":[]}],\\\"num_cols\\\":3,\\\"col_widths\\\":[0.5,1,0.5],\\\"_col_widths\\\":\\\"[0.5,1,0.5]\\\",\\\"margin_left\\\":null,\\\"margin_right\\\":null,\\\"margin_top\\\":10},{\\\"type\\\":\\\"columns\\\",\\\"columns\\\":[{\\\"children\\\":[]},{\\\"children\\\":[{\\\"type\\\":\\\"field\\\",\\\"field_type\\\":\\\"select2\\\",\\\"model\\\":\\\"contact\\\",\\\"name\\\":\\\"contact\\\",\\\"on_change\\\":\\\"onchange_contact()\\\",\\\"width\\\":\\\"\\\",\\\"condition\\\":\\\"[[\\\\\\\"or\\\\\\\", [\\\\\\\"name\\\\\\\", \\\\\\\"ilike\\\\\\\", \\\\\\\"Shopee\\\\\\\"], [\\\\\\\"name\\\\\\\", \\\\\\\"ilike\\\\\\\", \\\\\\\"Lazada\\\\\\\"] ]]\\\",\\\"placeholder\\\":\\\"Please select a contact\\\"}]},{\\\"children\\\":[]},{\\\"children\\\":[]}],\\\"num_cols\\\":3,\\\"col_widths\\\":[0.5,1,0.5],\\\"margin_left\\\":null,\\\"margin_right\\\":null,\\\"margin_top\\\":15,\\\"_col_widths\\\":\\\"[0.5,1,0.5]\\\",\\\"avoid_keyboard\\\":false},{\\\"type\\\":\\\"columns\\\",\\\"columns\\\":[{\\\"children\\\":[]},{\\\"children\\\":[{\\\"type\\\":\\\"button\\\",\\\"align\\\":\\\"center\\\",\\\"text\\\":\\\"Print Airway Bills\\\",\\\"background_color\\\":\\\"#2d6aa0\\\",\\\"size\\\":\\\"large\\\",\\\"font_bold\\\":false,\\\"color\\\":\\\"#ffffff\\\",\\\"padding_bottom\\\":10,\\\"padding_top\\\":10,\\\"padding_left\\\":20,\\\"padding_right\\\":20,\\\"on_click\\\":\\\"confirm()\\\"}]},{\\\"children\\\":[]},{\\\"children\\\":[]}],\\\"num_cols\\\":3,\\\"col_widths\\\":[1,1,1],\\\"padding_left\\\":null,\\\"padding_right\\\":null,\\\"margin_left\\\":null,\\\"margin_right\\\":null,\\\"margin_top\\\":20,\\\"margin_bottom\\\":null,\\\"_col_widths\\\":\\\"[1,1,1]\\\",\\\"hidden\\\":true},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"color\\\":\\\"#e60000\\\"},\\\"insert\\\":\\\"To print multiple GI with different shipping method, please allow browser's pop-ups and redirects on this website. \\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"margin_top\\\":10,\\\"font_size\\\":16}],\\\"min_height\\\":50,\\\"background_color\\\":\\\"#fafafa\\\",\\\"padding_top\\\":20,\\\"padding_bottom\\\":30,\\\"padding_left\\\":10,\\\"padding_right\\\":10,\\\"margin_top\\\":20,\\\"margin_bottom\\\":20,\\\"margin_left\\\":100,\\\"margin_right\\\":100},{\\\"type\\\":\\\"box\\\",\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"Total: \\\"},{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"{lines.length}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"margin_left\\\":50,\\\"margin_right\\\":50},{\\\"type\\\":\\\"table\\\",\\\"elements\\\":[[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"Order No\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"font_size\\\":18},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"Item(s)\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"font_size\\\":18},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"Qty\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"font_size\\\":18},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"Tracking No\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"font_size\\\":18},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"\\\\n\\\"}]}}],[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{order_no}\\\\n\\\"}]},\\\"on_click\\\":\\\"\\\",\\\"name\\\":\\\"order_no\\\",\\\"font_size\\\":18},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{code}\\\\n\\\"}]},\\\"font_size\\\":18},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{qty}\\\\n\\\"}]},\\\"font_size\\\":18},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{tracking_no}\\\\n\\\"}]},\\\"font_size\\\":18},{\\\"type\\\":\\\"field\\\",\\\"field_type\\\":\\\"checkbox\\\",\\\"name\\\":\\\"selected\\\",\\\"on_change\\\":\\\"only_one_selected(data)\\\"}]],\\\"num_cols\\\":4,\\\"_col_widths\\\":\\\"[1,3,1,1]\\\",\\\"col_widths\\\":[1,3,1,1],\\\"field_rows\\\":\\\"lines\\\",\\\"table_bordered\\\":true,\\\"table_striped\\\":true,\\\"table_hover\\\":true,\\\"on_click\\\":\\\"\\\",\\\"margin_left\\\":50,\\\"margin_right\\\":50,\\\"margin_top\\\":10}],\\\"min_height\\\":50,\\\"dyn_props\\\":\\\"{hidden: hide}\\\",\\\"margin_bottom\\\":10,\\\"margin_top\\\":10,\\\"padding_top\\\":10,\\\"padding_bottom\\\":10}],\\\"min_height\\\":null,\\\"padding_top\\\":15,\\\"padding_left\\\":10,\\\"padding_right\\\":10,\\\"padding_bottom\\\":30,\\\"background_color\\\":\\\"#ffffff\\\",\\\"height\\\":\\\"\\\"}],\\\"background_color\\\":\\\"#f1f1f1\\\",\\\"custom_css\\\":\\\"body {\\\\nbackground-color:#f1f1f1;\\\\n}\\\",\\\"filename\\\":\\\"\\\"}\",\n            \"code_trans\": null,\n            \"code\": \"// hello\\n\\nasync function on_load(){\\n  var today = new Date();\\n  today = today.getFullYear() + \\\"-\\\" + (\\\"0\\\" + (today.getMonth() + 1)).slice(-2) + \\\"-\\\" + (\\\"0\\\" + today.getDate()).slice(-2) ;\\n\\n  set_data ({\\n    lines: null,\\n    hide: true, \\n  });\\n}\\n\\nasync function confirm() {\\n  var data = get_data();\\n  //var contact = data.contact.id; \\n  var contact = data.contact?data.contact.id:null;\\n  \\n  if(!contact){\\n    alert(\\\"Please select a contact before print the bill out!\\\");\\n  }\\n  else{\\n    await print_airway_bill(contact)\\n  }\\n  \\n  /*if(option == \\\"airway_bill\\\") {\\n    await print_airway_bill(contact)\\n  }*/\\n}\\n\\nasync function onchange_contact(){\\n  var data = get_data(); \\n  //var contact = data.contact.id;\\n  var contact = data.contact?data.contact.id:null;\\n  set_data({lines:null});\\n  \\n  var conds = [[\\\"id\\\", \\\"=\\\", contact]];\\n  var fields = [\\\"name\\\", \\\"code\\\"];\\n  var contact = await rpc_execute(\\\"contact\\\", \\\"search_read\\\", [conds, fields]);\\n  \\n  var contact_name = contact[0].name;\\n  var contact_code = contact[0].code;\\n  var now = new Date();\\n  now = (\\\"0\\\" + now.getDate()).slice(-2) + \\\"/\\\" + (\\\"0\\\" + (now.getMonth() + 1)).slice(-2) + \\\"/\\\" + now.getFullYear() ;\\n  \\n  var conds = [[\\\"type\\\", \\\"=\\\", \\\"out\\\"], [\\\"state\\\", \\\"in\\\", [\\\"draft\\\",\\\"pending\\\"]], [\\\"contact_id\\\", \\\"=\\\", contact[0].id]];\\n  var fields = [\\\"number\\\", \\\"contact_id\\\", \\\"date\\\", \\\"lines.product_id.name\\\", \\\"lines.product_id.code\\\", \\\"lines.qty\\\", \\\"ship_method_id\\\", \\\"ship_tracking\\\"];\\n  var picking_list = await rpc_execute(\\\"stock.picking\\\", \\\"search_read_path\\\", [conds, fields]);\\n  var array = [];\\n  \\n  var picking_list_no = contact_code + \\\"/\\\" + now;\\n  for (let pick of picking_list) {\\n    var lines = pick.lines;\\n    \\n    var item_name = \\\"\\\";\\n    var item_code = \\\"\\\";\\n    var product_code = \\\"\\\";\\n    var qty = \\\"\\\";\\n    \\n    for (let line of lines) {\\n      item_name = item_name + line.product_id.name + \\\"\\\\n\\\";\\n      item_code = item_code + line.product_id.code + \\\"\\\\n\\\";\\n      product_code = product_code + line.product_id.code + \\\"\\\\n\\\";\\n      qty = qty + line.qty + \\\"\\\\n\\\";\\n    }\\n    array.push({\\n      _cid: _.uniqueId(),\\n      order_no:pick.number,\\n      item:item_name,\\n      code:product_code,\\n      qty:qty,\\n      tracking_no:pick.ship_tracking,\\n      id:pick.id,\\n    });\\n  }\\n  \\n  set_data({\\n    hide:false,\\n    lines:array.reverse(),\\n    contact_name:contact_name,\\n    contact_code:contact_code,\\n    date:now,\\n    picking_list_no:picking_list_no,\\n    picking_list:picking_list\\n  }); \\n}\\n\\nasync function print_airway_bill(){\\n  var data = get_data();\\n  //var contact = data.contact.id;\\n  var contact = data.contact?data.contact.id:null;\\n  var contact_name = data.contact_name;\\n  var lines = data.lines;\\n  var picking_list = data.picking_list;\\n  \\n  if (!lines.length) throw (\\\"No records found\\\");\\n  \\n  console.log(\\\"------>\\\", data.contact_name);\\n  var pick_ids=lines.map(l=>l.id);\\n\\n  var user_id = get_cookie(\\\"user_id\\\");\\n  var company_id = get_cookie(\\\"company_id\\\");\\n  var token = get_cookie(\\\"token\\\");\\n  \\n  //5 is Ninja Van, 6 is DHL\\n  var ninja_van = picking_list.filter(pick => pick.ship_method_id == 5);\\n  var ninja_van_list = ninja_van.map(l=>l.id);\\n  var dhl = picking_list.filter(pick => pick.ship_method_id == 6);\\n  var dhl_list = dhl.map(l=>l.id);\\n  var shopee_xpress = picking_list.filter(pick => pick.ship_method_id == 9);\\n  var xpress_list = shopee_xpress.map(l=>l.id);\\n  var jnt = picking_list.filter(pick => pick.ship_method_id == 14);\\n  var jnt_list = jnt.map(l=>l.id);\\n  var lazada_list = []\\n  \\n  if (JSON.stringify(contact_name).includes(\\\"Lazada\\\")) {\\n    if (picking_list.ship_method_id != 5 && picking_list.ship_method_id != 6) {\\n      lazada_list = picking_list.map(l=>l.id);\\n    }\\n  }\\n  \\n  else if (JSON.stringify(contact_name).includes(\\\"Shopee\\\")) {\\n  \\tif ((picking_list[0].ship_method_id != 5 && picking_list[0].ship_method_id != 6 && picking_list[0].ship_method_id != 9 && picking_list[0].ship_method_id != 14) && lines.length == 1) {\\n      throw (\\\"No shipping method.\\\");\\n    }\\n  }\\n    \\n  if (!lines) throw (\\\"No records found.\\\");\\n     \\n  var url = `https://backend-prod2.netforce.com/render_page_pdf?page_id=535&ids=${JSON.stringify(ninja_van_list)}&database=nfo_main&user_id=${user_id}&company_id=${company_id}&token=${token}&no_download=1`;\\n  var url2 = `https://backend-prod2.netforce.com/render_page_pdf?page_id=532&ids=${JSON.stringify(dhl_list)}&database=nfo_main&user_id=${user_id}&company_id=${company_id}&token=${token}&no_download=1`;\\n  var url3 = `https://backend-prod2.netforce.com/render_page_pdf?page_id=534&ids=${JSON.stringify(lazada_list)}&database=nfo_main&user_id=${user_id}&company_id=${company_id}&token=${token}&no_download=1`;\\n  var url4 = `https://backend-prod2.netforce.com/render_page_pdf?page_id=536&ids=${JSON.stringify(xpress_list)}&database=nfo_main&user_id=${user_id}&company_id=${company_id}&token=${token}&no_download=1`;\\n  var url5 = `https://backend-prod2.netforce.com/render_page_pdf?page_id=533&ids=${JSON.stringify(jnt_list)}&database=nfo_main&user_id=${user_id}&company_id=${company_id}&token=${token}&no_download=1`;\\n  \\n  console.log(\\\"nv: \\\",ninja_van_list,\\\"\\\\ndhl: \\\",dhl_list,\\\"\\\\nlzd: \\\",lazada_list);\\n  //if list not empty, then print\\n  if (ninja_van_list.length) window.open(url, \\\"a\\\");\\n  if (dhl_list.length) window.open(url2, \\\"b\\\");\\n  if (lazada_list.length) window.open(url3, \\\"c\\\");\\n  if (xpress_list.length) window.open(url4, \\\"d\\\");\\n  if (jnt_list.length) window.open(url5, \\\"e\\\");\\n  \\n  console.log(\\\"url\\\",url);\\n\\n  //var pick_ids = [].concat(ninja_van_list, dhl_list, lazada_list);\\n  //await rpc_execute(\\\"stock.picking\\\",\\\"approve\\\",[pick_ids]);\\n  var pick_ids = [].concat(ninja_van_list, dhl_list, lazada_list, xpress_list, jnt_list);\\n  await rpc_execute(\\\"stock.picking\\\",\\\"set_done\\\",[pick_ids]);\\n}\",\n            \"styles\": null\n        }\n    ],\n    \"error\": null,\n    \"id\": 1692777178766,\n    \"dt\": 22\n}"}],"_postman_id":"f9bd321a-c739-421c-995f-7d37ef902325"},{"name":"params/help.overlay/is_enabled","id":"7d93d15b-3496-42fa-a836-06bfbb533d87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692777178778,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"help.overlay\",\r\n        \"is_enabled\",\r\n        [\r\n            \"page_render\"\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 12:52:58\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"help.overlay\",****\"is_enabled\",<strong><strong>[</strong></strong>\"page_render\"**<strong>],</strong></p>\n<ol>\n<li><code>\"help.overlay\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"help.overlay.\"</li>\n</ol>\n</li>\n<li><code>\"is_enabled\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and indicates a method or action you want to perform on the \"help.overlay\" model.</li>\n<li>The \"is_enabled\" method might be specific to this API and is likely used to check whether a certain feature or overlay is enabled or active.</li>\n</ol>\n</li>\n<li><code>[ \"page_render\" ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"is_enabled\" method.</li>\n<li>It's an array that contains parameters for the method.</li>\n<li>In this case, the parameter <code>\"page_render\"</code> is provided as an argument to the \"is_enabled\" method. This argument might indicate the name or identifier of the feature or overlay (\"page_render\") you want to check if it's enabled.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to check whether a specific overlay or feature named \"page_render\" is enabled within the \"help.overlay\" model.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"8087babd-6ccd-4613-aa62-43973aa6fbeb","name":"params/help.overlay/is_enabled","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692777178778,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"help.overlay\",\r\n        \"is_enabled\",\r\n        [\r\n            \"page_render\"\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 12:52:58\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 23 Aug 2023 08:17:24 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=hynJ2Z%2F8QwnwV3Dw4zLV7QAEbgC5XOepRwKqj7so6om4WQ7ndz8agz2ZA91ymGzyfeFz4PeNjvhKlBNso7%2Btjeo5gh7uV2O%2FFmKqjmjXmVzbYzB5DaKBW2eSCdSjG5wnukHPoxamlwKaloMsow%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fb1eb3f382a3ce0-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": null,\n    \"error\": null,\n    \"id\": 1692777178778,\n    \"dt\": 19\n}"}],"_postman_id":"7d93d15b-3496-42fa-a836-06bfbb533d87"}],"id":"99941b17-8183-47f3-8da9-0d98f26a1779","_postman_id":"99941b17-8183-47f3-8da9-0d98f26a1779","description":""},{"name":"Inventory","item":[{"name":"Warehouses","item":[{"name":"params/inline.help/search_read","id":"340c277e-51a7-426a-852e-adc94422d870","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692778953625,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"warehouse\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 13:22:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"inline.help\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"action\",<strong>\"=\",</strong>\"warehouse\"<strong>]</strong>]<strong>],</strong></p>\n<ol>\n<li><code>\"inline.help\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"inline.help.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"inline.help\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"action\", \"=\", \"warehouse\" ] ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method.</li>\n<li>It's a nested array with a sub-array containing filtering conditions.</li>\n<li>The condition specified <code>[\"action\", \"=\", \"warehouse\"]</code> suggests that you're applying a filter on the \"action\" field. The condition <code>=</code> means \"equals to,\" and the value \"warehouse\" indicates that you're searching for records where the \"action\" field has the value \"warehouse.\"</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"inline.help\" model. It's specifically requesting records where the \"action\" field has the value \"warehouse.\"</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"a495977e-5b77-4cd2-9992-958893185d8d","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692778953625,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"warehouse\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 13:22:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 23 Aug 2023 08:26:11 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=qpQIOdyareqpRG%2BQ%2FOAsVrXJom%2F%2BRbladB1RLAz5vjL1qbxPCGMC%2FdC0L%2BT%2FJDdvjLg9t3SFnA8zkTvQC%2Fjv2t68PaN%2B3CXXyDG9CnnvknVnzcIPIbhxIeD0K8eaWIgqRVNZxeZEDmBXn98ptw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fb1f81df966040b-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1692778953625,\n    \"dt\": 6\n}"}],"_postman_id":"340c277e-51a7-426a-852e-adc94422d870"},{"name":"params/stock.location/search_read","id":"955930d0-d41f-4207-9db3-7e308c571c18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692778953627,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.location\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"type\",\r\n                    \"=\",\r\n                    \"internal\"\r\n                ],\r\n                {}\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"balance\",\r\n                \"balance_90d\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 13:22:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.location\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"type\",</strong></strong>\"=\",<strong>**\"internal\"<strong><strong>],</strong></strong>{}<strong><strong>],<strong><strong>[</strong></strong>\"name\",</strong></strong>\"balance\",**</strong>\"balance_90d\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"stock.location\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"stock.location.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"stock.location\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"type\", \"=\", \"internal\" ], {} ], [ \"name\", \"balance\", \"balance_90d\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method.</li>\n<li>It's a nested array with two sub-arrays:<ol>\n<li>The first sub-array <code>[[ ]]</code> contains a domain or filtering condition. In this case, there are two conditions specified:<ol>\n<li><code>[\"type\", \"=\", \"internal\"]</code> suggests that you're applying a filter on the \"type\" field. The condition <code>=</code> means \"equals to,\" and the value \"internal\" indicates that you're searching for records where the \"type\" field has the value \"internal.\"</li>\n<li><code>{}</code> represents an empty dictionary, which might be used to provide additional filtering conditions in the future, but for now, there aren't any additional conditions.</li>\n</ol>\n</li>\n<li>The second sub-array <code>[\"name\", \"balance\", \"balance_90d\"]</code> lists the names of fields you want to retrieve from the records that match the search criteria. These field names correspond to attributes of the \"stock.location\" model. When the \"search_read\" method is executed, it will return records with values for these specific fields. The fields listed seem to be related to the location name, its current balance, and a balance over a 90-day period.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"stock.location\" model. It's specifically requesting records where the \"type\" field has the value \"internal.\" The request is asking for the values of the specified fields for each matching record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"336aa481-2037-4c39-b436-d87dfa34f0c8","name":"New Request","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692778953627,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.location\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"type\",\r\n                    \"=\",\r\n                    \"internal\"\r\n                ],\r\n                {}\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"balance\",\r\n                \"balance_90d\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 13:22:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 23 Aug 2023 08:31:13 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=h5FYEGi%2BcWrEa06OdvIBjY8thK3YH2BrOnqVxix7ZNl66IgV1pi31cLYLle47G%2FeuSu1qkFmNmyRxXjavwNfon9xo2Gw9vqp35NrP7eTIteJwq3OMHgUJn2Wn2MfH1n1DJabjA7md4jnsUMc4A%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fb1ff7bbecf040b-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 17,\n                \"name\": \"Office\",\n                \"balance_90d\": [\n                    [\n                        1684944000000,\n                        2210.47\n                    ],\n                    [\n                        1685030400000,\n                        2210.47\n                    ],\n                    [\n                        1685116800000,\n                        2210.47\n                    ],\n                    [\n                        1685203200000,\n                        2210.47\n                    ],\n                    [\n                        1685289600000,\n                        2210.47\n                    ],\n                    [\n                        1685376000000,\n                        2210.47\n                    ],\n                    [\n                        1685462400000,\n                        2210.47\n                    ],\n                    [\n                        1685548800000,\n                        2210.47\n                    ],\n                    [\n                        1685635200000,\n                        2210.47\n                    ],\n                    [\n                        1685721600000,\n                        2210.47\n                    ],\n                    [\n                        1685808000000,\n                        2210.47\n                    ],\n                    [\n                        1685894400000,\n                        2210.47\n                    ],\n                    [\n                        1685980800000,\n                        2210.47\n                    ],\n                    [\n                        1686067200000,\n                        2210.47\n                    ],\n                    [\n                        1686153600000,\n                        2210.47\n                    ],\n                    [\n                        1686240000000,\n                        2210.47\n                    ],\n                    [\n                        1686326400000,\n                        2210.47\n                    ],\n                    [\n                        1686412800000,\n                        2210.47\n                    ],\n                    [\n                        1686499200000,\n                        2210.47\n                    ],\n                    [\n                        1686585600000,\n                        2210.47\n                    ],\n                    [\n                        1686672000000,\n                        2210.47\n                    ],\n                    [\n                        1686758400000,\n                        2210.47\n                    ],\n                    [\n                        1686844800000,\n                        2210.47\n                    ],\n                    [\n                        1686931200000,\n                        2210.47\n                    ],\n                    [\n                        1687017600000,\n                        2210.47\n                    ],\n                    [\n                        1687104000000,\n                        2210.47\n                    ],\n                    [\n                        1687190400000,\n                        2210.47\n                    ],\n                    [\n                        1687276800000,\n                        2210.47\n                    ],\n                    [\n                        1687363200000,\n                        2210.47\n                    ],\n                    [\n                        1687449600000,\n                        2210.47\n                    ],\n                    [\n                        1687536000000,\n                        2210.47\n                    ],\n                    [\n                        1687622400000,\n                        2210.47\n                    ],\n                    [\n                        1687708800000,\n                        2210.47\n                    ],\n                    [\n                        1687795200000,\n                        2210.47\n                    ],\n                    [\n                        1687881600000,\n                        2210.47\n                    ],\n                    [\n                        1687968000000,\n                        2210.47\n                    ],\n                    [\n                        1688054400000,\n                        2210.47\n                    ],\n                    [\n                        1688140800000,\n                        2270.47\n                    ],\n                    [\n                        1688227200000,\n                        2270.47\n                    ],\n                    [\n                        1688313600000,\n                        2270.47\n                    ],\n                    [\n                        1688400000000,\n                        2270.47\n                    ],\n                    [\n                        1688486400000,\n                        2270.47\n                    ],\n                    [\n                        1688572800000,\n                        2270.47\n                    ],\n                    [\n                        1688659200000,\n                        2270.47\n                    ],\n                    [\n                        1688745600000,\n                        2270.47\n                    ],\n                    [\n                        1688832000000,\n                        2270.47\n                    ],\n                    [\n                        1688918400000,\n                        2270.47\n                    ],\n                    [\n                        1689004800000,\n                        1181.14\n                    ],\n                    [\n                        1689091200000,\n                        2040.21\n                    ],\n                    [\n                        1689177600000,\n                        2040.21\n                    ],\n                    [\n                        1689264000000,\n                        2040.21\n                    ],\n                    [\n                        1689350400000,\n                        2040.21\n                    ],\n                    [\n                        1689436800000,\n                        2040.21\n                    ],\n                    [\n                        1689523200000,\n                        2040.21\n                    ],\n                    [\n                        1689609600000,\n                        2040.21\n                    ],\n                    [\n                        1689696000000,\n                        2040.21\n                    ],\n                    [\n                        1689782400000,\n                        2040.21\n                    ],\n                    [\n                        1689868800000,\n                        2040.21\n                    ],\n                    [\n                        1689955200000,\n                        2040.21\n                    ],\n                    [\n                        1690041600000,\n                        2040.21\n                    ],\n                    [\n                        1690128000000,\n                        2040.21\n                    ],\n                    [\n                        1690214400000,\n                        2040.21\n                    ],\n                    [\n                        1690300800000,\n                        2040.21\n                    ],\n                    [\n                        1690387200000,\n                        2040.21\n                    ],\n                    [\n                        1690473600000,\n                        2040.21\n                    ],\n                    [\n                        1690560000000,\n                        2040.21\n                    ],\n                    [\n                        1690646400000,\n                        2040.21\n                    ],\n                    [\n                        1690732800000,\n                        2040.21\n                    ],\n                    [\n                        1690819200000,\n                        2040.21\n                    ],\n                    [\n                        1690905600000,\n                        2040.21\n                    ],\n                    [\n                        1690992000000,\n                        2040.21\n                    ],\n                    [\n                        1691078400000,\n                        2040.21\n                    ],\n                    [\n                        1691164800000,\n                        2040.21\n                    ],\n                    [\n                        1691251200000,\n                        2040.21\n                    ],\n                    [\n                        1691337600000,\n                        2040.21\n                    ],\n                    [\n                        1691424000000,\n                        2040.21\n                    ],\n                    [\n                        1691510400000,\n                        2040.21\n                    ],\n                    [\n                        1691596800000,\n                        2040.21\n                    ],\n                    [\n                        1691683200000,\n                        2040.21\n                    ],\n                    [\n                        1691769600000,\n                        2040.21\n                    ],\n                    [\n                        1691856000000,\n                        2040.21\n                    ],\n                    [\n                        1691942400000,\n                        2040.21\n                    ],\n                    [\n                        1692028800000,\n                        2040.21\n                    ],\n                    [\n                        1692115200000,\n                        2040.21\n                    ],\n                    [\n                        1692201600000,\n                        2040.21\n                    ],\n                    [\n                        1692288000000,\n                        2040.21\n                    ],\n                    [\n                        1692374400000,\n                        2040.21\n                    ],\n                    [\n                        1692460800000,\n                        2040.21\n                    ],\n                    [\n                        1692547200000,\n                        2040.21\n                    ],\n                    [\n                        1692633600000,\n                        2040.21\n                    ],\n                    [\n                        1692720000000,\n                        2040.21\n                    ]\n                ],\n                \"balance\": 2040.21\n            },\n            {\n                \"id\": 4,\n                \"name\": \"Warehouse\",\n                \"balance_90d\": [\n                    [\n                        1684944000000,\n                        1063.88\n                    ],\n                    [\n                        1685030400000,\n                        1063.88\n                    ],\n                    [\n                        1685116800000,\n                        1063.88\n                    ],\n                    [\n                        1685203200000,\n                        1063.88\n                    ],\n                    [\n                        1685289600000,\n                        1063.88\n                    ],\n                    [\n                        1685376000000,\n                        1063.88\n                    ],\n                    [\n                        1685462400000,\n                        1063.88\n                    ],\n                    [\n                        1685548800000,\n                        1063.88\n                    ],\n                    [\n                        1685635200000,\n                        1063.88\n                    ],\n                    [\n                        1685721600000,\n                        1063.88\n                    ],\n                    [\n                        1685808000000,\n                        1063.88\n                    ],\n                    [\n                        1685894400000,\n                        1063.88\n                    ],\n                    [\n                        1685980800000,\n                        1063.88\n                    ],\n                    [\n                        1686067200000,\n                        1063.88\n                    ],\n                    [\n                        1686153600000,\n                        1063.88\n                    ],\n                    [\n                        1686240000000,\n                        1063.88\n                    ],\n                    [\n                        1686326400000,\n                        1063.88\n                    ],\n                    [\n                        1686412800000,\n                        1063.88\n                    ],\n                    [\n                        1686499200000,\n                        1063.88\n                    ],\n                    [\n                        1686585600000,\n                        1063.88\n                    ],\n                    [\n                        1686672000000,\n                        1063.88\n                    ],\n                    [\n                        1686758400000,\n                        1063.88\n                    ],\n                    [\n                        1686844800000,\n                        1063.88\n                    ],\n                    [\n                        1686931200000,\n                        1063.88\n                    ],\n                    [\n                        1687017600000,\n                        1063.88\n                    ],\n                    [\n                        1687104000000,\n                        1063.88\n                    ],\n                    [\n                        1687190400000,\n                        1063.88\n                    ],\n                    [\n                        1687276800000,\n                        1063.88\n                    ],\n                    [\n                        1687363200000,\n                        1063.88\n                    ],\n                    [\n                        1687449600000,\n                        1063.88\n                    ],\n                    [\n                        1687536000000,\n                        1063.88\n                    ],\n                    [\n                        1687622400000,\n                        1063.88\n                    ],\n                    [\n                        1687708800000,\n                        1063.88\n                    ],\n                    [\n                        1687795200000,\n                        1063.88\n                    ],\n                    [\n                        1687881600000,\n                        1063.88\n                    ],\n                    [\n                        1687968000000,\n                        1063.88\n                    ],\n                    [\n                        1688054400000,\n                        1063.88\n                    ],\n                    [\n                        1688140800000,\n                        1063.88\n                    ],\n                    [\n                        1688227200000,\n                        1063.88\n                    ],\n                    [\n                        1688313600000,\n                        1063.88\n                    ],\n                    [\n                        1688400000000,\n                        1063.88\n                    ],\n                    [\n                        1688486400000,\n                        1063.88\n                    ],\n                    [\n                        1688572800000,\n                        1063.88\n                    ],\n                    [\n                        1688659200000,\n                        1063.88\n                    ],\n                    [\n                        1688745600000,\n                        1063.88\n                    ],\n                    [\n                        1688832000000,\n                        1063.88\n                    ],\n                    [\n                        1688918400000,\n                        1063.88\n                    ],\n                    [\n                        1689004800000,\n                        1063.88\n                    ],\n                    [\n                        1689091200000,\n                        1063.88\n                    ],\n                    [\n                        1689177600000,\n                        1063.88\n                    ],\n                    [\n                        1689264000000,\n                        1063.88\n                    ],\n                    [\n                        1689350400000,\n                        1063.88\n                    ],\n                    [\n                        1689436800000,\n                        1063.88\n                    ],\n                    [\n                        1689523200000,\n                        1063.88\n                    ],\n                    [\n                        1689609600000,\n                        1063.88\n                    ],\n                    [\n                        1689696000000,\n                        1063.88\n                    ],\n                    [\n                        1689782400000,\n                        1063.88\n                    ],\n                    [\n                        1689868800000,\n                        1063.88\n                    ],\n                    [\n                        1689955200000,\n                        1063.88\n                    ],\n                    [\n                        1690041600000,\n                        1063.88\n                    ],\n                    [\n                        1690128000000,\n                        1063.88\n                    ],\n                    [\n                        1690214400000,\n                        1063.88\n                    ],\n                    [\n                        1690300800000,\n                        1063.88\n                    ],\n                    [\n                        1690387200000,\n                        1063.88\n                    ],\n                    [\n                        1690473600000,\n                        1063.88\n                    ],\n                    [\n                        1690560000000,\n                        1063.88\n                    ],\n                    [\n                        1690646400000,\n                        1063.88\n                    ],\n                    [\n                        1690732800000,\n                        1063.88\n                    ],\n                    [\n                        1690819200000,\n                        1063.88\n                    ],\n                    [\n                        1690905600000,\n                        1063.88\n                    ],\n                    [\n                        1690992000000,\n                        1063.88\n                    ],\n                    [\n                        1691078400000,\n                        1063.88\n                    ],\n                    [\n                        1691164800000,\n                        1063.88\n                    ],\n                    [\n                        1691251200000,\n                        1063.88\n                    ],\n                    [\n                        1691337600000,\n                        1063.88\n                    ],\n                    [\n                        1691424000000,\n                        1063.88\n                    ],\n                    [\n                        1691510400000,\n                        1063.88\n                    ],\n                    [\n                        1691596800000,\n                        1063.88\n                    ],\n                    [\n                        1691683200000,\n                        1063.88\n                    ],\n                    [\n                        1691769600000,\n                        1063.88\n                    ],\n                    [\n                        1691856000000,\n                        1063.88\n                    ],\n                    [\n                        1691942400000,\n                        1063.88\n                    ],\n                    [\n                        1692028800000,\n                        1063.88\n                    ],\n                    [\n                        1692115200000,\n                        1063.88\n                    ],\n                    [\n                        1692201600000,\n                        1063.88\n                    ],\n                    [\n                        1692288000000,\n                        1063.88\n                    ],\n                    [\n                        1692374400000,\n                        1063.88\n                    ],\n                    [\n                        1692460800000,\n                        1063.88\n                    ],\n                    [\n                        1692547200000,\n                        1063.88\n                    ],\n                    [\n                        1692633600000,\n                        1063.88\n                    ],\n                    [\n                        1692720000000,\n                        1063.88\n                    ]\n                ],\n                \"balance\": 1063.88\n            },\n            {\n                \"id\": 18,\n                \"name\": \"Warehouse 2\",\n                \"balance_90d\": [\n                    [\n                        1684944000000,\n                        0\n                    ],\n                    [\n                        1685030400000,\n                        0\n                    ],\n                    [\n                        1685116800000,\n                        0\n                    ],\n                    [\n                        1685203200000,\n                        0\n                    ],\n                    [\n                        1685289600000,\n                        0\n                    ],\n                    [\n                        1685376000000,\n                        0\n                    ],\n                    [\n                        1685462400000,\n                        0\n                    ],\n                    [\n                        1685548800000,\n                        0\n                    ],\n                    [\n                        1685635200000,\n                        0\n                    ],\n                    [\n                        1685721600000,\n                        0\n                    ],\n                    [\n                        1685808000000,\n                        0\n                    ],\n                    [\n                        1685894400000,\n                        0\n                    ],\n                    [\n                        1685980800000,\n                        0\n                    ],\n                    [\n                        1686067200000,\n                        0\n                    ],\n                    [\n                        1686153600000,\n                        0\n                    ],\n                    [\n                        1686240000000,\n                        0\n                    ],\n                    [\n                        1686326400000,\n                        0\n                    ],\n                    [\n                        1686412800000,\n                        0\n                    ],\n                    [\n                        1686499200000,\n                        0\n                    ],\n                    [\n                        1686585600000,\n                        0\n                    ],\n                    [\n                        1686672000000,\n                        0\n                    ],\n                    [\n                        1686758400000,\n                        0\n                    ],\n                    [\n                        1686844800000,\n                        0\n                    ],\n                    [\n                        1686931200000,\n                        0\n                    ],\n                    [\n                        1687017600000,\n                        0\n                    ],\n                    [\n                        1687104000000,\n                        0\n                    ],\n                    [\n                        1687190400000,\n                        0\n                    ],\n                    [\n                        1687276800000,\n                        0\n                    ],\n                    [\n                        1687363200000,\n                        0\n                    ],\n                    [\n                        1687449600000,\n                        0\n                    ],\n                    [\n                        1687536000000,\n                        0\n                    ],\n                    [\n                        1687622400000,\n                        0\n                    ],\n                    [\n                        1687708800000,\n                        0\n                    ],\n                    [\n                        1687795200000,\n                        0\n                    ],\n                    [\n                        1687881600000,\n                        0\n                    ],\n                    [\n                        1687968000000,\n                        0\n                    ],\n                    [\n                        1688054400000,\n                        0\n                    ],\n                    [\n                        1688140800000,\n                        0\n                    ],\n                    [\n                        1688227200000,\n                        0\n                    ],\n                    [\n                        1688313600000,\n                        0\n                    ],\n                    [\n                        1688400000000,\n                        0\n                    ],\n                    [\n                        1688486400000,\n                        0\n                    ],\n                    [\n                        1688572800000,\n                        0\n                    ],\n                    [\n                        1688659200000,\n                        0\n                    ],\n                    [\n                        1688745600000,\n                        0\n                    ],\n                    [\n                        1688832000000,\n                        0\n                    ],\n                    [\n                        1688918400000,\n                        0\n                    ],\n                    [\n                        1689004800000,\n                        0\n                    ],\n                    [\n                        1689091200000,\n                        0\n                    ],\n                    [\n                        1689177600000,\n                        0\n                    ],\n                    [\n                        1689264000000,\n                        0\n                    ],\n                    [\n                        1689350400000,\n                        0\n                    ],\n                    [\n                        1689436800000,\n                        0\n                    ],\n                    [\n                        1689523200000,\n                        0\n                    ],\n                    [\n                        1689609600000,\n                        0\n                    ],\n                    [\n                        1689696000000,\n                        0\n                    ],\n                    [\n                        1689782400000,\n                        0\n                    ],\n                    [\n                        1689868800000,\n                        0\n                    ],\n                    [\n                        1689955200000,\n                        0\n                    ],\n                    [\n                        1690041600000,\n                        0\n                    ],\n                    [\n                        1690128000000,\n                        0\n                    ],\n                    [\n                        1690214400000,\n                        0\n                    ],\n                    [\n                        1690300800000,\n                        0\n                    ],\n                    [\n                        1690387200000,\n                        0\n                    ],\n                    [\n                        1690473600000,\n                        0\n                    ],\n                    [\n                        1690560000000,\n                        0\n                    ],\n                    [\n                        1690646400000,\n                        0\n                    ],\n                    [\n                        1690732800000,\n                        0\n                    ],\n                    [\n                        1690819200000,\n                        0\n                    ],\n                    [\n                        1690905600000,\n                        0\n                    ],\n                    [\n                        1690992000000,\n                        0\n                    ],\n                    [\n                        1691078400000,\n                        0\n                    ],\n                    [\n                        1691164800000,\n                        0\n                    ],\n                    [\n                        1691251200000,\n                        0\n                    ],\n                    [\n                        1691337600000,\n                        0\n                    ],\n                    [\n                        1691424000000,\n                        0\n                    ],\n                    [\n                        1691510400000,\n                        0\n                    ],\n                    [\n                        1691596800000,\n                        0\n                    ],\n                    [\n                        1691683200000,\n                        0\n                    ],\n                    [\n                        1691769600000,\n                        0\n                    ],\n                    [\n                        1691856000000,\n                        0\n                    ],\n                    [\n                        1691942400000,\n                        0\n                    ],\n                    [\n                        1692028800000,\n                        0\n                    ],\n                    [\n                        1692115200000,\n                        0\n                    ],\n                    [\n                        1692201600000,\n                        0\n                    ],\n                    [\n                        1692288000000,\n                        0\n                    ],\n                    [\n                        1692374400000,\n                        0\n                    ],\n                    [\n                        1692460800000,\n                        0\n                    ],\n                    [\n                        1692547200000,\n                        0\n                    ],\n                    [\n                        1692633600000,\n                        0\n                    ],\n                    [\n                        1692720000000,\n                        0\n                    ]\n                ],\n                \"balance\": 0\n            },\n            {\n                \"id\": 19,\n                \"name\": \"Warehouse Azira\",\n                \"balance_90d\": [\n                    [\n                        1684944000000,\n                        1013.79\n                    ],\n                    [\n                        1685030400000,\n                        1013.79\n                    ],\n                    [\n                        1685116800000,\n                        1013.79\n                    ],\n                    [\n                        1685203200000,\n                        1013.79\n                    ],\n                    [\n                        1685289600000,\n                        1013.79\n                    ],\n                    [\n                        1685376000000,\n                        1013.79\n                    ],\n                    [\n                        1685462400000,\n                        1013.79\n                    ],\n                    [\n                        1685548800000,\n                        1013.79\n                    ],\n                    [\n                        1685635200000,\n                        1013.79\n                    ],\n                    [\n                        1685721600000,\n                        1013.79\n                    ],\n                    [\n                        1685808000000,\n                        1013.79\n                    ],\n                    [\n                        1685894400000,\n                        1013.79\n                    ],\n                    [\n                        1685980800000,\n                        1013.79\n                    ],\n                    [\n                        1686067200000,\n                        1013.79\n                    ],\n                    [\n                        1686153600000,\n                        1013.79\n                    ],\n                    [\n                        1686240000000,\n                        1013.79\n                    ],\n                    [\n                        1686326400000,\n                        1013.79\n                    ],\n                    [\n                        1686412800000,\n                        1013.79\n                    ],\n                    [\n                        1686499200000,\n                        1013.79\n                    ],\n                    [\n                        1686585600000,\n                        1013.79\n                    ],\n                    [\n                        1686672000000,\n                        1013.79\n                    ],\n                    [\n                        1686758400000,\n                        1013.79\n                    ],\n                    [\n                        1686844800000,\n                        1013.79\n                    ],\n                    [\n                        1686931200000,\n                        1013.79\n                    ],\n                    [\n                        1687017600000,\n                        1013.79\n                    ],\n                    [\n                        1687104000000,\n                        1013.79\n                    ],\n                    [\n                        1687190400000,\n                        1013.79\n                    ],\n                    [\n                        1687276800000,\n                        1013.79\n                    ],\n                    [\n                        1687363200000,\n                        1013.79\n                    ],\n                    [\n                        1687449600000,\n                        1013.79\n                    ],\n                    [\n                        1687536000000,\n                        1013.79\n                    ],\n                    [\n                        1687622400000,\n                        1013.79\n                    ],\n                    [\n                        1687708800000,\n                        1013.79\n                    ],\n                    [\n                        1687795200000,\n                        1013.79\n                    ],\n                    [\n                        1687881600000,\n                        1013.79\n                    ],\n                    [\n                        1687968000000,\n                        1013.79\n                    ],\n                    [\n                        1688054400000,\n                        1013.79\n                    ],\n                    [\n                        1688140800000,\n                        1013.79\n                    ],\n                    [\n                        1688227200000,\n                        1013.79\n                    ],\n                    [\n                        1688313600000,\n                        1013.79\n                    ],\n                    [\n                        1688400000000,\n                        1013.79\n                    ],\n                    [\n                        1688486400000,\n                        1013.79\n                    ],\n                    [\n                        1688572800000,\n                        1013.79\n                    ],\n                    [\n                        1688659200000,\n                        1013.79\n                    ],\n                    [\n                        1688745600000,\n                        1013.79\n                    ],\n                    [\n                        1688832000000,\n                        1013.79\n                    ],\n                    [\n                        1688918400000,\n                        1013.79\n                    ],\n                    [\n                        1689004800000,\n                        1013.79\n                    ],\n                    [\n                        1689091200000,\n                        1013.79\n                    ],\n                    [\n                        1689177600000,\n                        1013.79\n                    ],\n                    [\n                        1689264000000,\n                        1013.79\n                    ],\n                    [\n                        1689350400000,\n                        1013.79\n                    ],\n                    [\n                        1689436800000,\n                        1013.79\n                    ],\n                    [\n                        1689523200000,\n                        1013.79\n                    ],\n                    [\n                        1689609600000,\n                        1013.79\n                    ],\n                    [\n                        1689696000000,\n                        1013.79\n                    ],\n                    [\n                        1689782400000,\n                        1013.79\n                    ],\n                    [\n                        1689868800000,\n                        1013.79\n                    ],\n                    [\n                        1689955200000,\n                        1013.79\n                    ],\n                    [\n                        1690041600000,\n                        1013.79\n                    ],\n                    [\n                        1690128000000,\n                        1013.79\n                    ],\n                    [\n                        1690214400000,\n                        1013.79\n                    ],\n                    [\n                        1690300800000,\n                        1013.79\n                    ],\n                    [\n                        1690387200000,\n                        1013.79\n                    ],\n                    [\n                        1690473600000,\n                        1013.79\n                    ],\n                    [\n                        1690560000000,\n                        1013.79\n                    ],\n                    [\n                        1690646400000,\n                        1013.79\n                    ],\n                    [\n                        1690732800000,\n                        1013.79\n                    ],\n                    [\n                        1690819200000,\n                        1013.79\n                    ],\n                    [\n                        1690905600000,\n                        1013.79\n                    ],\n                    [\n                        1690992000000,\n                        1013.79\n                    ],\n                    [\n                        1691078400000,\n                        1013.79\n                    ],\n                    [\n                        1691164800000,\n                        1013.79\n                    ],\n                    [\n                        1691251200000,\n                        1013.79\n                    ],\n                    [\n                        1691337600000,\n                        1013.79\n                    ],\n                    [\n                        1691424000000,\n                        1013.79\n                    ],\n                    [\n                        1691510400000,\n                        1013.79\n                    ],\n                    [\n                        1691596800000,\n                        1013.79\n                    ],\n                    [\n                        1691683200000,\n                        1013.79\n                    ],\n                    [\n                        1691769600000,\n                        1013.79\n                    ],\n                    [\n                        1691856000000,\n                        1013.79\n                    ],\n                    [\n                        1691942400000,\n                        1013.79\n                    ],\n                    [\n                        1692028800000,\n                        1013.79\n                    ],\n                    [\n                        1692115200000,\n                        1013.79\n                    ],\n                    [\n                        1692201600000,\n                        1013.79\n                    ],\n                    [\n                        1692288000000,\n                        1013.79\n                    ],\n                    [\n                        1692374400000,\n                        1013.79\n                    ],\n                    [\n                        1692460800000,\n                        1013.79\n                    ],\n                    [\n                        1692547200000,\n                        1013.79\n                    ],\n                    [\n                        1692633600000,\n                        1013.79\n                    ],\n                    [\n                        1692720000000,\n                        1013.79\n                    ]\n                ],\n                \"balance\": 1013.79\n            }\n        ],\n        4\n    ],\n    \"error\": null,\n    \"id\": 1692778953627,\n    \"dt\": 38\n}"}],"_postman_id":"955930d0-d41f-4207-9db3-7e308c571c18"},{"name":"params/help.overlay/is_enabled","id":"3e647f3e-ad0d-4e07-8bf3-04d1ac67a7f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692778953631,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"help.overlay\",\r\n        \"is_enabled\",\r\n        [\r\n            \"warehouse\"\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 13:22:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"help.overlay\",****\"is_enabled\",<strong><strong>[</strong></strong>\"warehouse\"**<strong>],</strong></p>\n<ol>\n<li><code>\"help.overlay\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"help.overlay.\"</li>\n</ol>\n</li>\n<li><code>\"is_enabled\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and indicates a method or action you want to perform on the \"help.overlay\" model.</li>\n<li>The \"is_enabled\" method might be specific to this API and is likely used to check whether a certain feature or overlay is enabled or active.</li>\n</ol>\n</li>\n<li><code>[ \"warehouse\" ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"is_enabled\" method.</li>\n<li>It's an array that contains parameters for the method.</li>\n<li>In this case, the parameter <code>\"warehouse\"</code> is provided as an argument to the \"is_enabled\" method. This argument might indicate the name or identifier of the feature or overlay (\"warehouse\") you want to check if it's enabled.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to check whether a specific overlay or feature named \"warehouse\" is enabled within the \"help.overlay\" model.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"f58a6a7f-b0c2-427c-a012-1895b1c0e41c","name":"params/help.overlay/is_enabled","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692778953631,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"help.overlay\",\r\n        \"is_enabled\",\r\n        [\r\n            \"warehouse\"\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 13:22:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 23 Aug 2023 08:40:18 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=gmzBNe4aYW9qEuguBCNlm9Fgzoti3%2Bj4bZ%2BmCqA7ZRQJD2goxORzUvh6YJO1PCsqAmGMt4ivquZUb4PDZfKmRhdCtChp5Au3%2BQvio7uhFEsGX9g8E24NDpaOJQ%2FipFbWITlNVUUG3ldhxV%2B40w%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fb20cc7ac2803ef-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": null,\n    \"error\": null,\n    \"id\": 1692778953631,\n    \"dt\": 5\n}"}],"_postman_id":"3e647f3e-ad0d-4e07-8bf3-04d1ac67a7f3"}],"id":"63c20b6c-b250-468f-815c-f8d46c0cbb4e","_postman_id":"63c20b6c-b250-468f-815c-f8d46c0cbb4e","description":""},{"name":"Stock Balance","item":[{"name":"params/inline.help/search_read","id":"54455d85-26f0-4f7b-a1fb-6c47701826b3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693203606675,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_balance\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-28 11:19:40\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"stock_balance\"<strong><strong>]</strong></strong>]**</strong>],**</p>\n<ol>\n<li><code>\"inline.help\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"inline.help.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"inline.help\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"action\", \"=\", \"stock_balance\" ] ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method.</li>\n<li>It's a nested array with a sub-array containing filtering conditions.</li>\n<li>The condition specified <code>[\"action\", \"=\", \"stock_balance\"]</code> suggests that you're applying a filter on the \"action\" field. The condition <code>=</code> means \"equals to,\" and the value \"stock_balance\" indicates that you're searching for records where the \"action\" field has the value \"stock_balance.\"</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"inline.help\" model. It's specifically requesting records where the \"action\" field has the value \"stock_balance.\" The request is asking for the values of the specified fields for each matching record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"b32bd4f4-05da-4c62-bf0f-9ea9da92c96b","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693203606675,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_balance\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-28 11:19:40\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 28 Aug 2023 06:52:55 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Oa7lbATDWbjgwrX2%2BOg35jgzPdFUdozBGqudPA3cj6o0Onn4v9bhWSQ1dSsBrSGN%2FS8Ph9A6zgla0bwdVnjD3eLCugxOlkWjDTzB7ISdf8zft%2BdL4uh2z2MAdORHe9FcuGnUkvNC1dL%2FV2K6bA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fdaa25d9cf5046d-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693203606675,\n    \"dt\": 9\n}"}],"_postman_id":"54455d85-26f0-4f7b-a1fb-6c47701826b3"},{"name":"params/stock.balance/search_read","id":"13d752e2-0c6d-4e84-ad4d-73336ae0cf7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693203606684,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.balance\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"product_id\",\r\n                \"lot_id\",\r\n                \"container_id\",\r\n                \"container2_id\",\r\n                \"location_id\",\r\n                \"qty_phys\",\r\n                \"amount\",\r\n                \"qty_virt\",\r\n                \"uom_id\",\r\n                \"qty2\",\r\n                \"min_qty\",\r\n                \"below_min\",\r\n                \"last_change\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-28 11:19:40\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"stock.balance\",</strong>\"search_read\",<strong>[</strong>[],<strong>[</strong>\"product_id\",<strong>\"lot_id\",</strong>\"container_id\",<strong>\"container2_id\",</strong>\"location_id\",<strong>\"qty_phys\",</strong>\"amount\",<strong>\"qty_virt\",</strong>\"uom_id\",<strong>\"qty2\",</strong>\"min_qty\",<strong>\"below_min\",</strong>\"last_change\"<strong>]****],</strong></p>\n<ol>\n<li><code>\"stock.balance\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"stock.balance.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"stock.balance\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [], [ \"product_id\", \"lot_id\", \"container_id\", \"container2_id\", \"location_id\", \"qty_phys\", \"amount\", \"qty_virt\", \"uom_id\", \"qty2\", \"min_qty\", \"below_min\", \"last_change\" ] ]</code>:</li>\n</ol>\n<p>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with two sub-arrays:</p>\n<ol>\n<li>The first sub-array <code>[]</code> is empty, which means there are no specific filtering conditions provided. This indicates that you want to retrieve all records without applying any filters.</li>\n<li>The second sub-array, the list of field names provides a clear understanding of the attributes you're interested in retrieving from stock balance records. These attributes collectively define the relevant details about the stock, including product information, quantities, locations, and related data.<ol>\n<li><code>\"product_id\"</code>: This field represents the unique identifier or reference to the product associated with the stock balance record.</li>\n<li><code>\"lot_id\"</code>: This field represents the unique identifier or reference to the lot (batch) associated with the stock balance record. Lots are used to group products together based on certain criteria, such as production or expiration date.</li>\n<li><code>\"container_id\"</code>: This field represents the unique identifier or reference to the primary container associated with the stock balance record. Containers are used to organize and manage the physical storage of products.</li>\n<li><code>\"container2_id\"</code>: This field represents the unique identifier or reference to a secondary container associated with the stock balance record. Similar to the primary container, the secondary container might represent a different level of packaging or organization.</li>\n<li><code>\"location_id\"</code>: This field represents the unique identifier or reference to the location where the stock is stored. It indicates the physical place within the warehouse or storage facility where the stock is located.</li>\n<li><code>\"qty_phys\"</code>: This field represents the physical quantity of the product available in the specified location. It indicates the actual physical count of the product.</li>\n<li><code>\"amount\"</code>: This field represents the monetary value associated with the stock balance record. It could represent the total cost or value of the stock in the specified location.</li>\n<li><code>\"qty_virt\"</code>: This field represents the virtual quantity of the product available. \"Virtual\" quantity might refer to the calculated quantity based on various factors such as reservations, pending orders, etc.</li>\n<li><code>\"uom_id\"</code>: This field represents the unique identifier or reference to the unit of measure (UOM) associated with the stock. UOM specifies how the quantity of the product is measured (e.g., pieces, kilograms, liters).</li>\n<li><code>\"qty2\"</code>: This field represents another quantity measurement, possibly in a different unit of measure. It's common to have multiple quantity fields when dealing with different UOMs.</li>\n<li><code>\"min_qty\"</code>: This field represents the minimum quantity threshold for the stock balance. It could indicate the minimum acceptable stock level for replenishment purposes.</li>\n<li><code>\"below_min\"</code>: This field might represent a boolean value indicating whether the stock level is below the minimum threshold.</li>\n<li><code>\"last_change\"</code>: This field represents the timestamp or date of the last change or update to the stock balance record.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"stock.balance\" model. It's requesting records without any specific filtering conditions and asking for the values of the specified fields for each record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"28a718e4-c60a-4ce0-beee-1ede19a9431f","name":"params/stock.balance/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693203606684,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.balance\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"product_id\",\r\n                \"lot_id\",\r\n                \"container_id\",\r\n                \"container2_id\",\r\n                \"location_id\",\r\n                \"qty_phys\",\r\n                \"amount\",\r\n                \"qty_virt\",\r\n                \"uom_id\",\r\n                \"qty2\",\r\n                \"min_qty\",\r\n                \"below_min\",\r\n                \"last_change\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-28 11:19:40\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 28 Aug 2023 07:01:53 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=pEIMhvhA20oHq6SQhSzZ2b37xdbrpr6RMFPwmfvGUFOlJ0pjUaDmdN0KzGVQXrgrHtpLxetlsfTRZ6wKaCHgUiF0lH7wUGDPP1q7xrJ5XqxGQ1wBlcARPh%2BEhKGvXESotNBPYr%2FQc32hZmOVdA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fdaaf811cfe99ed-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 10547,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    912,\n                    \"[ZT71] EVHK0030 : Tera 2D Wireless Barcode Scanner with Charging Cradle\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-09-15 16:19:08\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"below_min\": true\n            },\n            {\n                \"id\": 10549,\n                \"amount\": -0.11,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    888,\n                    \"[ZT50] HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-09-02 15:39:42\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10551,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    923,\n                    \"[ZB67] Vanrro Baby Nail Trimmer (Pink)\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-19 16:08:39\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10553,\n                \"amount\": 8.15,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    947,\n                    \"[ZC77] MS1968 : V-neck Knee Length Button Dress Casual Wear Maternity Dress\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-07-13 09:45:54\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10556,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    927,\n                    \"[ZM04] ZOCZ-13 : Nursing shawl cover\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-19 16:08:39\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10557,\n                \"amount\": 0.03,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    1008,\n                    \"[ZT43] EVHK0053 : Tera 2D 1D Wireless Barcode Scanner 3 in 1 Bluetooth Vibration Alert Scanner\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-08-06 11:56:06\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10559,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    923,\n                    \"[ZB67] Vanrro Baby Nail Trimmer (Pink)\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2022-03-04 00:00:00\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10561,\n                \"amount\": 0.02,\n                \"qty_virt\": 2,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    862,\n                    \"[ZL28] K-621: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-01-26 16:05:59\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10564,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    968,\n                    \"[ZM03 - C] M2B01: Nursing Cover Type C\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-19 16:08:39\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10565,\n                \"amount\": -0.04,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    867,\n                    \"[ZT32] EVHK0049 / 1100D / U-1100 / 1100: Tera Mini Bar Code Reader\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-06-16 14:42:14\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10566,\n                \"amount\": 0.02,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    966,\n                    \"[ZM03 - A] M2B01: Nursing Cover Type A\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-19 16:08:39\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10567,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    854,\n                    \"[Z90] U9000S : Handheld Terminal - Z90\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-09-03 15:30:17\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10568,\n                \"amount\": 31.84,\n                \"qty_virt\": 1,\n                \"qty_phys\": 1,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    898,\n                    \"[ZC57] CF-812AC AP-AC1300 : High speed usb wireless wifi network adapter up to 1300mbps\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-18 16:46:21\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10571,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    888,\n                    \"[ZT50] HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-08-17 16:44:37\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10572,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    1005,\n                    \"[ZS04] CET-K32 fingerprint (Red Bronze) : Smart Digital Biometric Fingerprint Door Lock (NO APP)\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-18 16:46:21\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10576,\n                \"amount\": 0.02,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    900,\n                    \"[ZC59] FX8811 : 600Mbps 2 in 1 Dual band usb wifi bluetooth adapter wifi dongle\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-18 16:46:21\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10578,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    856,\n                    \"[ZL22] K-626: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-08-25 16:13:37\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10579,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    967,\n                    \"[ZM03 - B] M2B01: Nursing Cover Type B\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-12-27 17:41:40\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10582,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    967,\n                    \"[ZM03 - B] M2B01: Nursing Cover Type B\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-19 16:08:39\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10583,\n                \"amount\": -0.09,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    866,\n                    \"[ZB31] VB601: Wireless Video Baby Monitor\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-07-08 13:46:20\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10585,\n                \"amount\": -0.04,\n                \"qty_virt\": -1,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    912,\n                    \"[ZT71] EVHK0030 : Tera 2D Wireless Barcode Scanner with Charging Cradle\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-01 14:28:08\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": true\n            },\n            {\n                \"id\": 10586,\n                \"amount\": -0.14,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    869,\n                    \"[ZT34] 8100 Orange: Tera QR 1D 2D Wireless Wired Bluetooth Scanner 3 In 1 Heavy Duty\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-09-21 15:20:09\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10587,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    968,\n                    \"[ZM03 - C] M2B01: Nursing Cover Type C\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-12-16 11:59:01\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10590,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    889,\n                    \"[ZT51] EVHK0047 / HW0005 : Tera Wireless 1D 2D QR Barcode Scanner 2-in-1 handheld Scanner with display CMOS with Stand\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-08-17 16:46:10\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10594,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    898,\n                    \"[ZC57] CF-812AC AP-AC1300 : High speed usb wireless wifi network adapter up to 1300mbps\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-18 16:46:21\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10598,\n                \"amount\": 0.02,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    867,\n                    \"[ZT32] EVHK0049 / 1100D / U-1100 / 1100: Tera Mini Bar Code Reader\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-11-05 15:14:39\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10599,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    902,\n                    \"[ZE61] Redmi Airdots2 :\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-09-14 09:36:13\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10600,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    904,\n                    \"[ZB63] TC-NU08: Electric baby Nail Clipper\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-08-20 16:57:01\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10601,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    899,\n                    \"[ZC58] CF-727B : OEM support RTL8822BU Comfast dualband BT4.2 1300Mbps wireless adapter usb adapter for PC\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-09-21 16:08:32\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10602,\n                \"amount\": 0.04,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    889,\n                    \"[ZT51] EVHK0047 / HW0005 : Tera Wireless 1D 2D QR Barcode Scanner 2-in-1 handheld Scanner with display CMOS with Stand\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-09-14 18:05:25\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10604,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    875,\n                    \"[ZN38] NT-1228BL Netum Usb 2D Bluetooth Barcode Scanner\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-04-02 16:45:05\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10606,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    970,\n                    \"[ZM03 - E] M2B01: Nursing Cover Type E\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-19 16:08:39\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10607,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    907,\n                    \"[ZV66] YH-02: BOOMJOY 6500PA Cordless Handheld Portable Vacuum Cleaner with Rechargeable\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-04-12 17:13:47\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10608,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    970,\n                    \"[ZM03 - E] M2B01: Nursing Cover Type E\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-12-13 14:59:16\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10610,\n                \"amount\": 0.02,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    1007,\n                    \"[ZT70S] 711 : Stand\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-07-28 14:59:40\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10611,\n                \"amount\": 42.85,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    948,\n                    \"[ZC80] A1710 : Women Pleated Knit Dress Long Sleeve\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-07-13 09:45:54\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10612,\n                \"amount\": -0.07,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    904,\n                    \"[ZB63] TC-NU08: Electric baby Nail Clipper\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-08-20 16:57:23\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10613,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    908,\n                    \"[ZV67] D01-CC0002 : 6000pa Strong Power Car Vacuum Cleaner USB Rechargeable\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-04-05 14:30:33\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10615,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    865,\n                    \"[ZX30] AX1800: Xiaomi router Wifi\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-04-30 19:13:50\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10620,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    869,\n                    \"[ZT34] 8100 Orange: Tera QR 1D 2D Wireless Wired Bluetooth Scanner 3 In 1 Heavy Duty\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-09-01 19:15:14\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10641,\n                \"amount\": -0.07,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    895,\n                    \"[ZC54] A9 JIELI : night vision wifi mini camera for indoor with outdoor\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-18 16:46:21\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10643,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    895,\n                    \"[ZC54] A9 JIELI : night vision wifi mini camera for indoor with outdoor\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2022-05-23 12:53:42\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10646,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    938,\n                    \"[ZB68] Vanrro Baby Nail Trimmer (Blue)\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-19 16:08:39\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10647,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    938,\n                    \"[ZB68] Vanrro Baby Nail Trimmer (Blue)\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2022-05-23 12:53:43\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10648,\n                \"amount\": -0.03,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    1033,\n                    \"[ZT80] 780 : Tera Fixed Mount 1D 2D Scanners QR Reader Desktop Platform\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2022-05-23 12:53:51\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10684,\n                \"amount\": -0.2,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    911,\n                    \"[ZT70] 711: 2D Wired Barcode Scanner\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2022-05-24 00:00:00\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10685,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    911,\n                    \"[ZT70] 711: 2D Wired Barcode Scanner\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-09-08 10:26:42\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10737,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    887,\n                    \"[ZT49] 1031 : 1D Wired Laser Barcode Scanner  w/o Stand\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-14 15:52:34\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": true\n            },\n            {\n                \"id\": 10738,\n                \"amount\": 0,\n                \"qty_virt\": -1,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    887,\n                    \"[ZT49] 1031 : 1D Wired Laser Barcode Scanner  w/o Stand\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2022-01-05 14:40:19\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"below_min\": true\n            },\n            {\n                \"id\": 10739,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    1018,\n                    \"[ZT72] Tera-0012 : Tera 2D Wireless Portable Back Clip 1D 2D QR Bar Code Reader with Bluetooth image scanning\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-19 16:08:39\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10743,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    1006,\n                    \"[ZS05] CET-K32 Smartphone (Black) : Smart Digital Biometric Fingerprint Door Lock (NO APP)\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-05 18:43:40\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10811,\n                \"amount\": -0.02,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    903,\n                    \"[ZE62] 12000 : F9 In-ear Headset Low Price Wireless Sports Earphone With Bluetooth\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-18 16:46:21\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10812,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    951,\n                    \"[ZM09] KL-AY012 : Brown Safety Lock Wardrobe Door\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-18 16:46:21\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10813,\n                \"amount\": 0.01,\n                \"qty_virt\": 1,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    864,\n                    \"[ZL29] K-926 : 2D desktop barcode scanner\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-01 11:49:25\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10818,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    940,\n                    \"[ZB66] Octopus Electric Nail Clipper (Yellow)\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-19 16:08:39\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10884,\n                \"amount\": -0.03,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    890,\n                    \"[ZT52] HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2022-02-10 00:00:00\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10889,\n                \"amount\": -0.03,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    914,\n                    \"[ZS30] SanDisk: Ultra Sandisk Micro SD Card\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-18 16:46:21\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": true\n            },\n            {\n                \"id\": 10890,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    1009,\n                    \"[ZS06] BEL-402 : Single Latch Fingerprint Door Lock\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-18 16:48:43\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10891,\n                \"amount\": 0,\n                \"qty_virt\": -3,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    894,\n                    \"[ZC53] V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2022-06-30 15:36:15\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"below_min\": true\n            },\n            {\n                \"id\": 10892,\n                \"amount\": 0,\n                \"qty_virt\": -3,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    914,\n                    \"[ZS30] SanDisk: Ultra Sandisk Micro SD Card\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2022-06-30 15:36:15\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"below_min\": true\n            },\n            {\n                \"id\": 10919,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    886,\n                    \"[ZT48] 6900 : Tera 1D Wired Barcode Scanner with Stand\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-18 16:46:21\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10920,\n                \"amount\": 0,\n                \"qty_virt\": -1,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    886,\n                    \"[ZT48] 6900 : Tera 1D Wired Barcode Scanner with Stand\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2022-11-14 17:31:58\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"below_min\": true\n            },\n            {\n                \"id\": 10962,\n                \"amount\": 1013.75,\n                \"qty_virt\": 1,\n                \"qty_phys\": 1,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    933,\n                    \"[Z80] T80: Android Handheld Data Collector\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2023-05-08 22:08:08\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10963,\n                \"amount\": 1013.79,\n                \"qty_virt\": 1,\n                \"qty_phys\": 1,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    933,\n                    \"[Z80] T80: Android Handheld Data Collector\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2023-05-08 22:08:08\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    19,\n                    \"Warehouse Azira\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10965,\n                \"amount\": 919.07,\n                \"qty_virt\": 1,\n                \"qty_phys\": 1,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    1049,\n                    \"[Z70] Fanless Mini PC\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2023-07-12 14:34:21\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10967,\n                \"amount\": 1089.31,\n                \"qty_virt\": 1,\n                \"qty_phys\": 1,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    885,\n                    \"[ZP47] S200-15A: 15 inch All In One Pos Terminal (Hardware)\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2023-07-11 14:58:29\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10970,\n                \"amount\": 6,\n                \"qty_virt\": 3,\n                \"qty_phys\": 3,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    770,\n                    \"[P-0006] Test Prod\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2023-08-25 15:32:14\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10972,\n                \"amount\": -0.12,\n                \"qty_virt\": 0,\n                \"qty_phys\": 0,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    897,\n                    \"[ZR56] R20D: USB interface Proximity 125Khz RFID reader smart card\",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2021-10-18 16:46:21\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            },\n            {\n                \"id\": 10978,\n                \"amount\": 2460,\n                \"qty_virt\": 3,\n                \"qty_phys\": 3,\n                \"min_qty\": 0,\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    784,\n                    \"[P-0009a] TSC 244 Pro Label Printer \",\n                    null\n                ],\n                \"qty2\": 0,\n                \"container_id\": null,\n                \"last_change\": \"2023-08-25 16:21:33\",\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"below_min\": false\n            }\n        ],\n        69\n    ],\n    \"error\": null,\n    \"id\": 1693203606684,\n    \"dt\": 97\n}"}],"_postman_id":"13d752e2-0c6d-4e84-ad4d-73336ae0cf7c"}],"id":"b4722542-b41a-4d09-ab20-68bfc5156a13","_postman_id":"b4722542-b41a-4d09-ab20-68bfc5156a13","description":""},{"name":"Stock Movements","item":[{"name":"params/inline.help/search_read","id":"553dc10a-d40c-4a6a-ac64-0a77cc7a82c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693208315318,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_move\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-28 12:23:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"stock_move\"<strong><strong>]</strong></strong>]**</strong>],**</p>\n<ol>\n<li><code>\"inline.help\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"inline.help.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"inline.help\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"action\", \"=\", \"stock_move\" ] ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method.</li>\n<li>It's a nested array with a sub-array containing filtering conditions.</li>\n<li>The condition specified <code>[\"action\", \"=\", \"stock_move\"]</code> suggests that you're applying a filter on the \"action\" field. The condition <code>=</code> means \"equals to,\" and the value \"stock_move\" indicates that you're searching for records where the \"action\" field has the value \"stock_move.\"</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"inline.help\" model. It's specifically requesting records where the \"action\" field has the value \"stock_move.\" The request is asking for the values of the specified fields for each matching record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"0dabdf77-a4d8-4cc2-ad26-c225a33e052a","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693208315318,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_move\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-28 12:23:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 28 Aug 2023 07:40:45 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=I%2Ff5uUgLFuCmbZdOvGVXY2duP6MMS0QDg89evOWHUMseHF5hNXelQDVHCekkd5G6esGl5GiJa8cG2VFSnN6zyRCI0jrvsk%2Fi7pmKTGZS4hscPbUVgrEaDdgGBqVX9lylWdGr0GOrv7jPsVgwEw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fdae86dba4e3cf3-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693208315318,\n    \"dt\": 15\n}"}],"_postman_id":"553dc10a-d40c-4a6a-ac64-0a77cc7a82c2"},{"name":"params/stock.move/search_read","id":"b74a01b1-e660-48e7-8382-8b030c3fa817","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693208315326,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.move\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"journal_id\",\r\n                \"number\",\r\n                \"date\",\r\n                \"product_id\",\r\n                \"lot_id\",\r\n                \"container_id\",\r\n                \"container2_id\",\r\n                \"location_from_id\",\r\n                \"location_to_id\",\r\n                \"qty\",\r\n                \"uom_id\",\r\n                \"cost_price\",\r\n                \"cost_amount\",\r\n                \"track_id\",\r\n                \"qty2\",\r\n                \"state\",\r\n                \"picking_id\",\r\n                \"related_id\",\r\n                \"move_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-28 12:23:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.move\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[]<strong><strong>],<strong><strong>[</strong></strong>\"journal_id\",</strong></strong>\"number\",<strong><strong>\"date\",</strong></strong>\"product_id\",<strong><strong>\"lot_id\",</strong></strong>\"container_id\",<strong><strong>\"container2_id\",</strong></strong>\"location_from_id\",<strong><strong>\"location_to_id\",</strong></strong>\"qty\",<strong><strong>\"uom_id\",</strong></strong>\"cost_price\",<strong><strong>\"cost_amount\",</strong></strong>\"track_id\",<strong><strong>\"qty2\",</strong></strong>\"state\",<strong><strong>\"picking_id\",</strong></strong>\"related_id\",****\"move_id\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"stock.move\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"stock.move.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"stock.move\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [] ], [ \"journal_id\", \"number\", \"date\", \"product_id\", \"lot_id\", \"container_id\", \"container2_id\", \"location_from_id\", \"location_to_id\", \"qty\", \"uom_id\", \"cost_price\", \"cost_amount\", \"track_id\", \"qty2\", \"state\", \"picking_id\", \"related_id\", \"move_id\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with two sub-arrays:<ol>\n<li>The first sub-array <code>[ [] ]</code> is empty, which means there are no specific filtering conditions provided. This indicates that you want to retrieve all records without applying any filters.</li>\n<li>The second sub-array lists the names of fields you want to retrieve from the records. These field names correspond to attributes of the \"stock.move\" model. When the \"search_read\" method is executed, it will return records with values for these specific fields.<ol>\n<li><code>\"journal_id\"</code>: This field represents the unique identifier or reference to the journal associated with the stock movement. Journals are often used to categorize and track different types of transactions.</li>\n<li><code>\"number\"</code>: This field represents the unique identifier or reference number of the stock movement.</li>\n<li><code>\"date\"</code>: This field represents the date when the stock movement occurred.</li>\n<li><code>\"product_id\"</code>: This field represents the unique identifier or reference to the product associated with the stock movement.</li>\n<li><code>\"lot_id\"</code>: This field represents the unique identifier or reference to the lot (batch) associated with the stock movement. Lots are used to group products together based on certain criteria.</li>\n<li><code>\"container_id\"</code>: This field represents the unique identifier or reference to the primary container associated with the stock movement. Containers are used to organize and manage the physical storage of products.</li>\n<li><code>\"container2_id\"</code>: This field represents the unique identifier or reference to a secondary container associated with the stock movement.</li>\n<li><code>\"location_from_id\"</code>: This field represents the unique identifier or reference to the source location from which the stock is moving.</li>\n<li><code>\"location_to_id\"</code>: This field represents the unique identifier or reference to the destination location to which the stock is moving.</li>\n<li><code>\"qty\"</code>: This field represents the quantity of the product being moved.</li>\n<li><code>\"uom_id\"</code>: This field represents the unique identifier or reference to the unit of measure (UOM) associated with the quantity.</li>\n<li><code>\"cost_price\"</code>: This field represents the cost price of the product being moved.</li>\n<li><code>\"cost_amount\"</code>: This field represents the total cost amount associated with the stock movement.</li>\n<li><code>\"track_id\"</code>: This field represents the unique identifier or reference to a tracking record associated with the movement. Tracking records might be used to trace and manage stock movement.</li>\n<li><code>\"qty2\"</code>: This field represents another quantity measurement, possibly in a different unit of measure.</li>\n<li><code>\"state\"</code>: This field represents the state of the stock movement (e.g., pending, completed).</li>\n<li><code>\"picking_id\"</code>: This field represents the unique identifier or reference to the picking associated with the stock movement.</li>\n<li><code>\"related_id\"</code>: This field represents the unique identifier or reference to a related record.</li>\n<li><code>\"move_id\"</code>: This field represents the unique identifier or reference to the specific stock movement record.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"stock.move\" model. It's requesting records without any specific filtering conditions and asking for the values of the specified fields for each record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"041b51d0-b653-4430-9de7-f0f9f5c304fb","name":"params/stock.move/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693208315326,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.move\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"journal_id\",\r\n                \"number\",\r\n                \"date\",\r\n                \"product_id\",\r\n                \"lot_id\",\r\n                \"container_id\",\r\n                \"container2_id\",\r\n                \"location_from_id\",\r\n                \"location_to_id\",\r\n                \"qty\",\r\n                \"uom_id\",\r\n                \"cost_price\",\r\n                \"cost_amount\",\r\n                \"track_id\",\r\n                \"qty2\",\r\n                \"state\",\r\n                \"picking_id\",\r\n                \"related_id\",\r\n                \"move_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-28 12:23:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 28 Aug 2023 07:47:31 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=3cdRjo5LUBLpMk0%2FDOibFcBeQ8RwSObdRffkao1FS2swcsoR8bfdRHoJUupuDZRYF9IEmiusQSKakaz3FjQu2omsVixf70RsqsrxMeJ5bfrYiN6HPPdi9Yzp5nwTFI8fY6mBbblvs7RHUeGSyw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fdaf2570d9399cc-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 3628,\n                \"cost_amount\": 1640,\n                \"move_id\": [\n                    21379,\n                    \"JV-2066\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    784,\n                    \"[P-0009a] TSC 244 Pro Label Printer \",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"qty\": 2,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1335\",\n                    \"test-GI-250823\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1335,\n                    \"test-GI-250823\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 820,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2023-08-25 16:21:33\"\n            },\n            {\n                \"id\": 3627,\n                \"cost_amount\": 4100,\n                \"move_id\": [\n                    21377,\n                    \"JV-2065\",\n                    null\n                ],\n                \"location_to_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    784,\n                    \"[P-0009a] TSC 244 Pro Label Printer \",\n                    null\n                ],\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"location_from_id\": [\n                    7,\n                    \"Suppliers\",\n                    null\n                ],\n                \"qty\": 5,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1334\",\n                    \"TEST-KHAL-250823-01\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1334,\n                    \"TEST-KHAL-250823-01\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 820,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2023-08-25 15:33:35\"\n            },\n            {\n                \"id\": 3626,\n                \"cost_amount\": 6,\n                \"move_id\": [\n                    21376,\n                    \"JV-2064\",\n                    null\n                ],\n                \"location_to_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    770,\n                    \"[P-0006] Test Prod\",\n                    null\n                ],\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"location_from_id\": [\n                    7,\n                    \"Suppliers\",\n                    null\n                ],\n                \"qty\": 3,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1333\",\n                    \"TEST-KHAL-250823\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1333,\n                    \"TEST-KHAL-250823\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 2,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2023-08-25 15:32:14\"\n            },\n            {\n                \"id\": 3625,\n                \"cost_amount\": 2,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    770,\n                    \"[P-0006] Test Prod\",\n                    null\n                ],\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"location_from_id\": [\n                    7,\n                    \"Suppliers\",\n                    null\n                ],\n                \"qty\": 2,\n                \"qty2\": null,\n                \"state\": \"draft\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1332,\n                    \"test43211\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 4,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2023-08-10 13:31:43\"\n            },\n            {\n                \"id\": 3623,\n                \"cost_amount\": 2,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    770,\n                    \"[P-0006] Test Prod\",\n                    null\n                ],\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"location_from_id\": [\n                    7,\n                    \"Suppliers\",\n                    null\n                ],\n                \"qty\": 2,\n                \"qty2\": null,\n                \"state\": \"draft\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1329,\n                    \"test123\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 2,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2023-08-09 12:33:52\"\n            },\n            {\n                \"id\": 3624,\n                \"cost_amount\": 2,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    770,\n                    \"[P-0006] Test Prod\",\n                    null\n                ],\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"location_from_id\": [\n                    7,\n                    \"Suppliers\",\n                    null\n                ],\n                \"qty\": 10,\n                \"qty2\": null,\n                \"state\": \"draft\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1330,\n                    \"test1234\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 2,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2023-08-08 09:41:50\"\n            },\n            {\n                \"id\": 3617,\n                \"cost_amount\": 859.07,\n                \"move_id\": [\n                    21133,\n                    \"JV-2051\",\n                    null\n                ],\n                \"location_to_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    1049,\n                    \"[Z70] Fanless Mini PC\",\n                    null\n                ],\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"location_from_id\": [\n                    7,\n                    \"Suppliers\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"account.invoice,3446\",\n                    \"ZSI23060001\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1325,\n                    \"GR-202306-001\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 859.07,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2023-07-12 14:34:21\"\n            },\n            {\n                \"id\": 3619,\n                \"cost_amount\": 820,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    784,\n                    \"[P-0009a] TSC 244 Pro Label Printer \",\n                    null\n                ],\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"location_from_id\": [\n                    7,\n                    \"Suppliers\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"draft\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1327,\n                    \"GR-202307-001\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 820,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2023-07-12 10:50:49\"\n            },\n            {\n                \"id\": 3620,\n                \"cost_amount\": 820,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    813,\n                    \"[P-0009c] Wireless Barcode Scanner\",\n                    null\n                ],\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"location_from_id\": [\n                    7,\n                    \"Suppliers\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"draft\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1327,\n                    \"GR-202307-001\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 820,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2023-07-12 10:50:49\"\n            },\n            {\n                \"id\": 3622,\n                \"cost_amount\": 1089.33,\n                \"move_id\": [\n                    21198,\n                    \"JV-2059\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    885,\n                    \"[ZP47] S200-15A: 15 inch All In One Pos Terminal (Hardware)\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"account.invoice,3361\",\n                    \"202303005\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1328,\n                    \"GI-2307-0002\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 1089.326364,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2023-07-11 14:58:29\"\n            },\n            {\n                \"id\": 3618,\n                \"cost_amount\": 0,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    933,\n                    \"[Z80] T80: Android Handheld Data Collector\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"draft\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1326,\n                    \"GI-2307-0001\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 0,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2023-07-03 09:15:59\"\n            },\n            {\n                \"id\": 3621,\n                \"cost_amount\": 60,\n                \"move_id\": [\n                    21132,\n                    \"JV-2050\",\n                    null\n                ],\n                \"location_to_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    1049,\n                    \"[Z70] Fanless Mini PC\",\n                    null\n                ],\n                \"journal_id\": [\n                    8,\n                    \"Landed Cost\",\n                    null\n                ],\n                \"location_from_id\": [\n                    7,\n                    \"Suppliers\",\n                    null\n                ],\n                \"qty\": 0,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"landed.cost,271\",\n                    \"LC-202307-001\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 0,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2023-07-01 09:10:49\"\n            },\n            {\n                \"id\": 3616,\n                \"cost_amount\": 1013.79,\n                \"move_id\": [\n                    20770,\n                    \"JV-2044\",\n                    null\n                ],\n                \"location_to_id\": [\n                    19,\n                    \"Warehouse Azira\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    933,\n                    \"[Z80] T80: Android Handheld Data Collector\",\n                    null\n                ],\n                \"journal_id\": [\n                    6,\n                    \"Goods Transfers\",\n                    null\n                ],\n                \"location_from_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1324\",\n                    \"GT-23050001\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1324,\n                    \"GT-23050001\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 1013.7925,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2023-05-08 22:08:08\"\n            },\n            {\n                \"id\": 3614,\n                \"cost_amount\": 2027.59,\n                \"move_id\": [\n                    20356,\n                    \"JV-2041\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    933,\n                    \"[Z80] T80: Android Handheld Data Collector\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"qty\": 2,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"account.invoice,3363\",\n                    \"202303007\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1323,\n                    \"GI-2304-0001\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 1013.7925,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2023-04-04 09:40:09\"\n            },\n            {\n                \"id\": 3585,\n                \"cost_amount\": 3984.17,\n                \"move_id\": [\n                    20351,\n                    \"JV-2039\",\n                    null\n                ],\n                \"location_to_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    933,\n                    \"[Z80] T80: Android Handheld Data Collector\",\n                    null\n                ],\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"location_from_id\": [\n                    7,\n                    \"Suppliers\",\n                    null\n                ],\n                \"qty\": 4,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"account.invoice,3317\",\n                    \"ZSI23010001\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1303,\n                    \"GR-202301-001\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 996.0425,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2023-03-03 17:03:56\"\n            },\n            {\n                \"id\": 3613,\n                \"cost_amount\": 71,\n                \"move_id\": [\n                    20352,\n                    \"JV-2040\",\n                    null\n                ],\n                \"location_to_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    933,\n                    \"[Z80] T80: Android Handheld Data Collector\",\n                    null\n                ],\n                \"journal_id\": [\n                    8,\n                    \"Landed Cost\",\n                    null\n                ],\n                \"location_from_id\": [\n                    7,\n                    \"Suppliers\",\n                    null\n                ],\n                \"qty\": 0,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"landed.cost,270\",\n                    \"LC-202302-001\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 0,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2023-03-03 13:01:45\"\n            },\n            {\n                \"id\": 3604,\n                \"cost_amount\": 0,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    784,\n                    \"[P-0009a] TSC 244 Pro Label Printer \",\n                    null\n                ],\n                \"journal_id\": [\n                    6,\n                    \"Goods Transfers\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"draft\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1321,\n                    \"GT-23020001\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 0,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2023-02-21 10:23:49\"\n            },\n            {\n                \"id\": 3605,\n                \"cost_amount\": 0,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    814,\n                    \"[P-0009d] Wired Barcode Scanner\",\n                    null\n                ],\n                \"journal_id\": [\n                    6,\n                    \"Goods Transfers\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"draft\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1321,\n                    \"GT-23020001\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 0,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2023-02-21 10:23:49\"\n            },\n            {\n                \"id\": 3606,\n                \"cost_amount\": 0,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    819,\n                    \"[P-0009g] 150KG X 0.01KG JADEVER ELECTRONIC PLATFORM SCALE (400*500 MM)\",\n                    null\n                ],\n                \"journal_id\": [\n                    6,\n                    \"Goods Transfers\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"draft\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1321,\n                    \"GT-23020001\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 0,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2023-02-21 10:23:49\"\n            },\n            {\n                \"id\": 3603,\n                \"cost_amount\": 0,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    933,\n                    \"[Z80] T80: Android Handheld Data Collector\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"draft\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1320,\n                    \"GI-2302-0002\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 0,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2023-02-18 22:05:19\"\n            },\n            {\n                \"id\": 3584,\n                \"cost_amount\": 4320.49,\n                \"move_id\": [\n                    20324,\n                    \"JV-2036\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    933,\n                    \"[Z80] T80: Android Handheld Data Collector\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 4,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1302\",\n                    \"GI-2301-0001\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1302,\n                    \"GI-2301-0001\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 1080.1225,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2023-01-31 15:56:24\"\n            },\n            {\n                \"id\": 3611,\n                \"cost_amount\": 25.67,\n                \"move_id\": [\n                    20321,\n                    \"JV-2035\",\n                    null\n                ],\n                \"location_to_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    933,\n                    \"[Z80] T80: Android Handheld Data Collector\",\n                    null\n                ],\n                \"journal_id\": [\n                    8,\n                    \"Landed Cost\",\n                    null\n                ],\n                \"location_from_id\": [\n                    7,\n                    \"Suppliers\",\n                    null\n                ],\n                \"qty\": 0,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"landed.cost,269\",\n                    \"LC-202211-001\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 0,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-12-22 17:22:33\"\n            },\n            {\n                \"id\": 3581,\n                \"cost_amount\": 4294.82,\n                \"move_id\": [\n                    19729,\n                    \"JV-2017\",\n                    null\n                ],\n                \"location_to_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    933,\n                    \"[Z80] T80: Android Handheld Data Collector\",\n                    null\n                ],\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"location_from_id\": [\n                    7,\n                    \"Suppliers\",\n                    null\n                ],\n                \"qty\": 4,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"account.invoice,3226\",\n                    \"ZSI22110001\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1291,\n                    \"GR-202211-001\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 1073.705,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-12-22 11:37:03\"\n            },\n            {\n                \"id\": 3303,\n                \"cost_amount\": 113.32,\n                \"move_id\": [\n                    19484,\n                    \"JV-2009\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    886,\n                    \"[ZT48] 6900 : Tera 1D Wired Barcode Scanner with Stand\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1189\",\n                    \"GI-220125PADEHHQA\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1189,\n                    \"GI-220125PADEHHQA\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 113.317,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-11-14 17:31:58\"\n            },\n            {\n                \"id\": 3607,\n                \"cost_amount\": 113.3,\n                \"move_id\": [\n                    20194,\n                    \"JV-2031\",\n                    null\n                ],\n                \"location_to_id\": [\n                    15,\n                    \"Damage/Repair\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    886,\n                    \"[ZT48] 6900 : Tera 1D Wired Barcode Scanner with Stand\",\n                    null\n                ],\n                \"journal_id\": [\n                    5,\n                    \"Stock Counts (Warehouse)\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.count,24\",\n                    \"SC-0026\"\n                ],\n                \"number\": \"SC-0026/1\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 113.3,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-11-10 15:17:55\"\n            },\n            {\n                \"id\": 3574,\n                \"cost_amount\": 18.29,\n                \"move_id\": [\n                    19480,\n                    \"JV-2006\",\n                    null\n                ],\n                \"location_to_id\": [\n                    15,\n                    \"Damage/Repair\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    969,\n                    \"[ZM03 - D] M2B01: Nursing Cover Type D\",\n                    null\n                ],\n                \"journal_id\": [\n                    5,\n                    \"Stock Counts (Warehouse)\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.count,28\",\n                    \"SC-0023\"\n                ],\n                \"number\": \"SC-0023/1\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 18.29,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-11-10 10:54:48\"\n            },\n            {\n                \"id\": 3517,\n                \"cost_amount\": 0,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    969,\n                    \"[ZM03 - D] M2B01: Nursing Cover Type D\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"draft\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1288,\n                    \"SGI-220909CN6S81PD\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 0,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-09-15 12:36:12\"\n            },\n            {\n                \"id\": 3515,\n                \"cost_amount\": 18.27,\n                \"move_id\": [\n                    19037,\n                    \"JV-1986\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    969,\n                    \"[ZM03 - D] M2B01: Nursing Cover Type D\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1285\",\n                    \"GI-2208-0002\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1285,\n                    \"GI-2208-0002\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 18.273333,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    25,\n                    \"[SB08] Little BeeBoo\",\n                    null\n                ],\n                \"date\": \"2022-08-26 22:21:22\"\n            },\n            {\n                \"id\": 3538,\n                \"cost_amount\": 119.14,\n                \"move_id\": [\n                    19184,\n                    \"JV-1990\",\n                    null\n                ],\n                \"location_to_id\": [\n                    15,\n                    \"Damage/Repair\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    940,\n                    \"[ZB66] Octopus Electric Nail Clipper (Yellow)\",\n                    null\n                ],\n                \"journal_id\": [\n                    5,\n                    \"Stock Counts (Warehouse)\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 3,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.count,21\",\n                    \"SC-0014\"\n                ],\n                \"number\": \"SC-0014/1\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 39.713333,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-08-22 15:09:24\"\n            },\n            {\n                \"id\": 3539,\n                \"cost_amount\": 78.04,\n                \"move_id\": [\n                    19184,\n                    \"JV-1990\",\n                    null\n                ],\n                \"location_to_id\": [\n                    15,\n                    \"Damage/Repair\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    941,\n                    \"[ZB65] Octopus Electric Nail Clipper (Blue)\",\n                    null\n                ],\n                \"journal_id\": [\n                    5,\n                    \"Stock Counts (Warehouse)\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 2,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.count,21\",\n                    \"SC-0014\"\n                ],\n                \"number\": \"SC-0014/2\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 39.02,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-08-22 15:09:24\"\n            },\n            {\n                \"id\": 3540,\n                \"cost_amount\": 200.65,\n                \"move_id\": [\n                    19184,\n                    \"JV-1990\",\n                    null\n                ],\n                \"location_to_id\": [\n                    15,\n                    \"Damage/Repair\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    905,\n                    \"[ZB64] Octopus Electric Nail Clipper (Pink)\",\n                    null\n                ],\n                \"journal_id\": [\n                    5,\n                    \"Stock Counts (Warehouse)\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 5,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.count,21\",\n                    \"SC-0014\"\n                ],\n                \"number\": \"SC-0014/3\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 40.13,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-08-22 15:09:24\"\n            },\n            {\n                \"id\": 3502,\n                \"cost_amount\": 174.18,\n                \"move_id\": [\n                    18969,\n                    \"JV-1981\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    937,\n                    \"[ZC75] 202103203 : Middle Eastern Muslim Embroidered Long Swing Dress Islamic Arab Clothing\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 2,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"account.invoice,3115\",\n                    \"202208002\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1284,\n                    \"GI-2208-0001\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 87.09,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-08-11 20:43:24\"\n            },\n            {\n                \"id\": 3501,\n                \"cost_amount\": 18.27,\n                \"move_id\": [\n                    18835,\n                    \"JV-1980\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    969,\n                    \"[ZM03 - D] M2B01: Nursing Cover Type D\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"account.invoice,3098\",\n                    \"SCI-220714DWVAYATS\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1283,\n                    \"GI-220714DWVAYATS\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 18.273333,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-07-15 16:53:45\"\n            },\n            {\n                \"id\": 3575,\n                \"cost_amount\": 158.03,\n                \"move_id\": [\n                    19481,\n                    \"JV-2007\",\n                    null\n                ],\n                \"location_to_id\": [\n                    15,\n                    \"Damage/Repair\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    1009,\n                    \"[ZS06] BEL-402 : Single Latch Fingerprint Door Lock\",\n                    null\n                ],\n                \"journal_id\": [\n                    5,\n                    \"Stock Counts (Warehouse)\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.count,20\",\n                    \"SC-0013\"\n                ],\n                \"number\": \"SC-0013/1\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 158.03,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-06-30 15:36:15\"\n            },\n            {\n                \"id\": 3576,\n                \"cost_amount\": 200.26,\n                \"move_id\": [\n                    19481,\n                    \"JV-2007\",\n                    null\n                ],\n                \"location_to_id\": [\n                    15,\n                    \"Damage/Repair\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    894,\n                    \"[ZC53] V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                    null\n                ],\n                \"journal_id\": [\n                    5,\n                    \"Stock Counts (Warehouse)\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 5,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.count,20\",\n                    \"SC-0013\"\n                ],\n                \"number\": \"SC-0013/2\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 40.052,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-06-30 15:36:15\"\n            },\n            {\n                \"id\": 3577,\n                \"cost_amount\": 374.82,\n                \"move_id\": [\n                    19481,\n                    \"JV-2007\",\n                    null\n                ],\n                \"location_to_id\": [\n                    15,\n                    \"Damage/Repair\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    914,\n                    \"[ZS30] SanDisk: Ultra Sandisk Micro SD Card\",\n                    null\n                ],\n                \"journal_id\": [\n                    5,\n                    \"Stock Counts (Warehouse)\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 19,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.count,20\",\n                    \"SC-0013\"\n                ],\n                \"number\": \"SC-0013/3\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 19.727368,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-06-30 15:36:15\"\n            },\n            {\n                \"id\": 3460,\n                \"cost_amount\": 113.32,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    886,\n                    \"[ZT48] 6900 : Tera 1D Wired Barcode Scanner with Stand\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"pending\",\n                \"related_id\": [\n                    \"account.invoice,3091\",\n                    \"SCI-22062830NBPNPP\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1282,\n                    \"GI-2206-0036\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 113.317,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-06-29 15:58:27\"\n            },\n            {\n                \"id\": 3449,\n                \"cost_amount\": 19.73,\n                \"move_id\": [\n                    18769,\n                    \"JV-1978\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    914,\n                    \"[ZS30] SanDisk: Ultra Sandisk Micro SD Card\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"account.invoice,3088\",\n                    \"SCI-220620BFY5TRNG\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1273,\n                    \"GI-220620BFY5TRNG\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 19.7284,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-06-22 16:53:53\"\n            },\n            {\n                \"id\": 3409,\n                \"cost_amount\": 40.06,\n                \"move_id\": [\n                    18720,\n                    \"JV-1975\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    894,\n                    \"[ZC53] V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1252\",\n                    \"GI-220615UCXP2F1H\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1252,\n                    \"GI-220615UCXP2F1H\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 40.056,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-06-22 16:18:28\"\n            },\n            {\n                \"id\": 3410,\n                \"cost_amount\": 19.73,\n                \"move_id\": [\n                    18720,\n                    \"JV-1975\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    914,\n                    \"[ZS30] SanDisk: Ultra Sandisk Micro SD Card\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1252\",\n                    \"GI-220615UCXP2F1H\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1252,\n                    \"GI-220615UCXP2F1H\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 19.7284,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-06-22 16:18:28\"\n            },\n            {\n                \"id\": 3447,\n                \"cost_amount\": 19.73,\n                \"move_id\": [\n                    18717,\n                    \"JV-1974\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    914,\n                    \"[ZS30] SanDisk: Ultra Sandisk Micro SD Card\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1271\",\n                    \"GI-2206-0032\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1271,\n                    \"GI-2206-0032\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 19.7284,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-06-22 14:06:36\"\n            },\n            {\n                \"id\": 3431,\n                \"cost_amount\": 4357.31,\n                \"move_id\": [\n                    18691,\n                    \"JV-1970\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    885,\n                    \"[ZP47] S200-15A: 15 inch All In One Pos Terminal (Hardware)\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 4,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1255\",\n                    \"GI-2206-0019\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1255,\n                    \"GI-2206-0019\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 1089.326364,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-06-21 17:46:27\"\n            },\n            {\n                \"id\": 3408,\n                \"cost_amount\": 40.06,\n                \"move_id\": [\n                    18609,\n                    \"JV-1966\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    894,\n                    \"[ZC53] V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1251\",\n                    \"GI-220610GMYS7Q17\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1251,\n                    \"GI-220610GMYS7Q17\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 40.056,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-06-13 15:08:17\"\n            },\n            {\n                \"id\": 3534,\n                \"cost_amount\": 31.42,\n                \"move_id\": [\n                    19182,\n                    \"JV-1989\",\n                    null\n                ],\n                \"location_to_id\": [\n                    15,\n                    \"Damage/Repair\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    896,\n                    \"[ZC55] SQ11 : Mini camera indoor and outdoor\",\n                    null\n                ],\n                \"journal_id\": [\n                    5,\n                    \"Stock Counts (Warehouse)\",\n                    null\n                ],\n                \"location_from_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.count,19\",\n                    \"SC-0012\"\n                ],\n                \"number\": \"SC-0012/1\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 31.42,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-06-07 17:11:47\"\n            },\n            {\n                \"id\": 3529,\n                \"cost_amount\": 176.01,\n                \"move_id\": [\n                    19181,\n                    \"JV-1988\",\n                    null\n                ],\n                \"location_to_id\": [\n                    15,\n                    \"Damage/Repair\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    903,\n                    \"[ZE62] 12000 : F9 In-ear Headset Low Price Wireless Sports Earphone With Bluetooth\",\n                    null\n                ],\n                \"journal_id\": [\n                    5,\n                    \"Stock Counts (Warehouse)\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 6,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.count,18\",\n                    \"SC-0011\"\n                ],\n                \"number\": \"SC-0011/1\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 29.335,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-06-07 17:07:32\"\n            },\n            {\n                \"id\": 3530,\n                \"cost_amount\": 65.51,\n                \"move_id\": [\n                    19181,\n                    \"JV-1988\",\n                    null\n                ],\n                \"location_to_id\": [\n                    15,\n                    \"Damage/Repair\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    909,\n                    \"[ZE68] M2: 128G Memory Card Headset Foldable Bluetooth Headset\",\n                    null\n                ],\n                \"journal_id\": [\n                    5,\n                    \"Stock Counts (Warehouse)\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.count,18\",\n                    \"SC-0011\"\n                ],\n                \"number\": \"SC-0011/2\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 65.51,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-06-07 17:07:32\"\n            },\n            {\n                \"id\": 3531,\n                \"cost_amount\": 41.34,\n                \"move_id\": [\n                    19181,\n                    \"JV-1988\",\n                    null\n                ],\n                \"location_to_id\": [\n                    15,\n                    \"Damage/Repair\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    930,\n                    \"[ZM07] KL-AY012 : White Safety Lock Wardrobe Door\",\n                    null\n                ],\n                \"journal_id\": [\n                    5,\n                    \"Stock Counts (Warehouse)\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 50,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.count,18\",\n                    \"SC-0011\"\n                ],\n                \"number\": \"SC-0011/3\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 0.8268,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-06-07 17:07:32\"\n            },\n            {\n                \"id\": 3532,\n                \"cost_amount\": 40.52,\n                \"move_id\": [\n                    19181,\n                    \"JV-1988\",\n                    null\n                ],\n                \"location_to_id\": [\n                    15,\n                    \"Damage/Repair\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    951,\n                    \"[ZM09] KL-AY012 : Brown Safety Lock Wardrobe Door\",\n                    null\n                ],\n                \"journal_id\": [\n                    5,\n                    \"Stock Counts (Warehouse)\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 49,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.count,18\",\n                    \"SC-0011\"\n                ],\n                \"number\": \"SC-0011/4\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 0.826939,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-06-07 17:07:32\"\n            },\n            {\n                \"id\": 3533,\n                \"cost_amount\": 88.18,\n                \"move_id\": [\n                    19181,\n                    \"JV-1988\",\n                    null\n                ],\n                \"location_to_id\": [\n                    15,\n                    \"Damage/Repair\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    936,\n                    \"[ZC74] LR418 : Jumpsuit Dubai Turkey Satin Muslim dress\",\n                    null\n                ],\n                \"journal_id\": [\n                    5,\n                    \"Stock Counts (Warehouse)\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.count,18\",\n                    \"SC-0011\"\n                ],\n                \"number\": \"SC-0011/5\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 88.18,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-06-07 17:07:32\"\n            },\n            {\n                \"id\": 3339,\n                \"cost_amount\": 158.07,\n                \"move_id\": [\n                    18489,\n                    \"JV-1950\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    1009,\n                    \"[ZS06] BEL-402 : Single Latch Fingerprint Door Lock\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1213\",\n                    \"GI-220409576FCHN9\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1213,\n                    \"GI-220409576FCHN9\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 158.065,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-06-07 14:43:01\"\n            },\n            {\n                \"id\": 3344,\n                \"cost_amount\": 40.06,\n                \"move_id\": [\n                    18488,\n                    \"JV-1949\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    894,\n                    \"[ZC53] V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1218\",\n                    \"GI-220426KXE8UJB5\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1218,\n                    \"GI-220426KXE8UJB5\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 40.056,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-06-07 14:42:50\"\n            },\n            {\n                \"id\": 3345,\n                \"cost_amount\": 40.06,\n                \"move_id\": [\n                    18487,\n                    \"JV-1948\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    894,\n                    \"[ZC53] V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1219\",\n                    \"GI-2205011P1RHQR0\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1219,\n                    \"GI-2205011P1RHQR0\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 40.056,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-06-07 14:42:17\"\n            },\n            {\n                \"id\": 3346,\n                \"cost_amount\": 39.46,\n                \"move_id\": [\n                    18486,\n                    \"JV-1947\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    914,\n                    \"[ZS30] SanDisk: Ultra Sandisk Micro SD Card\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 2,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1220\",\n                    \"GI-220511V8HFQNH7\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1220,\n                    \"GI-220511V8HFQNH7\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 19.7284,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-06-07 14:41:41\"\n            },\n            {\n                \"id\": 3352,\n                \"cost_amount\": 19.73,\n                \"move_id\": [\n                    18485,\n                    \"JV-1946\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    914,\n                    \"[ZS30] SanDisk: Ultra Sandisk Micro SD Card\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1222\",\n                    \"GI-220519K1AS04VB\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1222,\n                    \"GI-220519K1AS04VB\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 19.7284,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-06-07 14:41:26\"\n            },\n            {\n                \"id\": 3359,\n                \"cost_amount\": 64.11,\n                \"move_id\": [\n                    18499,\n                    \"JV-1953\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    911,\n                    \"[ZT70] 711: 2D Wired Barcode Scanner\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"account.invoice,3043\",\n                    \"ZCI-2205241NTKUMES\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1229,\n                    \"GI-2205241NTKUMES\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 64.11,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-05-24 00:00:00\"\n            },\n            {\n                \"id\": 3358,\n                \"cost_amount\": 182.41,\n                \"move_id\": [\n                    18395,\n                    \"JV-1944\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    1033,\n                    \"[ZT80] 780 : Tera Fixed Mount 1D 2D Scanners QR Reader Desktop Platform\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1228\",\n                    \"GI-220522U39S586D\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1228,\n                    \"GI-220522U39S586D\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 182.405,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-05-23 12:53:51\"\n            },\n            {\n                \"id\": 3356,\n                \"cost_amount\": 0.01,\n                \"move_id\": [\n                    18394,\n                    \"JV-1943\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    938,\n                    \"[ZB68] Vanrro Baby Nail Trimmer (Blue)\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1226\",\n                    \"GI-220522ST93D9SF\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1226,\n                    \"GI-220522ST93D9SF\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 0.01,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    25,\n                    \"[SB08] Little BeeBoo\",\n                    null\n                ],\n                \"date\": \"2022-05-23 12:53:43\"\n            },\n            {\n                \"id\": 3357,\n                \"cost_amount\": 33.35,\n                \"move_id\": [\n                    18393,\n                    \"JV-1942\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    895,\n                    \"[ZC54] A9 JIELI : night vision wifi mini camera for indoor with outdoor\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1227\",\n                    \"GI-220522T7TKG6QY\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1227,\n                    \"GI-220522T7TKG6QY\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 33.346,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    25,\n                    \"[SB08] Little BeeBoo\",\n                    null\n                ],\n                \"date\": \"2022-05-23 12:53:42\"\n            },\n            {\n                \"id\": 3351,\n                \"cost_amount\": 39.01,\n                \"move_id\": [\n                    18384,\n                    \"JV-1941\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    941,\n                    \"[ZB65] Octopus Electric Nail Clipper (Blue)\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1221\",\n                    \"GI-220520MQPEX01D\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1221,\n                    \"GI-220520MQPEX01D\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 39.013333,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    25,\n                    \"[SB08] Little BeeBoo\",\n                    null\n                ],\n                \"date\": \"2022-05-20 14:42:47\"\n            },\n            {\n                \"id\": 3349,\n                \"cost_amount\": 39.71,\n                \"move_id\": [\n                    18365,\n                    \"JV-1940\",\n                    null\n                ],\n                \"location_to_id\": [\n                    15,\n                    \"Damage/Repair\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    940,\n                    \"[ZB66] Octopus Electric Nail Clipper (Yellow)\",\n                    null\n                ],\n                \"journal_id\": [\n                    5,\n                    \"Stock Counts (Warehouse)\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.count,17\",\n                    \"SC-0010\"\n                ],\n                \"number\": \"SC-0010/1\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 39.71,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-05-17 10:49:42\"\n            },\n            {\n                \"id\": 3350,\n                \"cost_amount\": 0.01,\n                \"move_id\": [\n                    18365,\n                    \"JV-1940\",\n                    null\n                ],\n                \"location_to_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    938,\n                    \"[ZB68] Vanrro Baby Nail Trimmer (Blue)\",\n                    null\n                ],\n                \"journal_id\": [\n                    5,\n                    \"Stock Counts (Warehouse)\",\n                    null\n                ],\n                \"location_from_id\": [\n                    15,\n                    \"Damage/Repair\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.count,17\",\n                    \"SC-0010\"\n                ],\n                \"number\": \"SC-0010/2\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 0.01,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-05-17 10:49:42\"\n            },\n            {\n                \"id\": 3293,\n                \"cost_amount\": 18.27,\n                \"move_id\": [\n                    18100,\n                    \"JV-1893\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    969,\n                    \"[ZM03 - D] M2B01: Nursing Cover Type D\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1182\",\n                    \"GI-220109BMB5QHVC\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1182,\n                    \"GI-220109BMB5QHVC\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 18.273333,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    25,\n                    \"[SB08] Little BeeBoo\",\n                    null\n                ],\n                \"date\": \"2022-04-04 23:04:49\"\n            },\n            {\n                \"id\": 3307,\n                \"cost_amount\": 71.33,\n                \"move_id\": [\n                    18099,\n                    \"JV-1892\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    938,\n                    \"[ZB68] Vanrro Baby Nail Trimmer (Blue)\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1193\",\n                    \"GI-220206S2FU00NB\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1193,\n                    \"GI-220206S2FU00NB\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 71.325,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    25,\n                    \"[SB08] Little BeeBoo\",\n                    null\n                ],\n                \"date\": \"2022-04-04 23:04:12\"\n            },\n            {\n                \"id\": 3315,\n                \"cost_amount\": 71.33,\n                \"move_id\": [\n                    18097,\n                    \"JV-1891\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    938,\n                    \"[ZB68] Vanrro Baby Nail Trimmer (Blue)\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1203\",\n                    \"GI-220228N6JE07UA\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1203,\n                    \"GI-220228N6JE07UA\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 71.325,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    25,\n                    \"[SB08] Little BeeBoo\",\n                    null\n                ],\n                \"date\": \"2022-04-04 23:02:05\"\n            },\n            {\n                \"id\": 3324,\n                \"cost_amount\": 71.33,\n                \"move_id\": [\n                    18096,\n                    \"JV-1890\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    938,\n                    \"[ZB68] Vanrro Baby Nail Trimmer (Blue)\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1206\",\n                    \"GI-22031890X9GH0R\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1206,\n                    \"GI-22031890X9GH0R\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 71.325,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    25,\n                    \"[SB08] Little BeeBoo\",\n                    null\n                ],\n                \"date\": \"2022-04-04 23:02:04\"\n            },\n            {\n                \"id\": 3323,\n                \"cost_amount\": 71.33,\n                \"move_id\": [\n                    18021,\n                    \"JV-1885\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    923,\n                    \"[ZB67] Vanrro Baby Nail Trimmer (Pink)\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1205\",\n                    \"GI-2203041MVR3HH4\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1205,\n                    \"GI-2203041MVR3HH4\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 71.325,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    25,\n                    \"[SB08] Little BeeBoo\",\n                    null\n                ],\n                \"date\": \"2022-03-04 00:00:00\"\n            },\n            {\n                \"id\": 3316,\n                \"cost_amount\": 80.11,\n                \"move_id\": [\n                    17991,\n                    \"JV-1867\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    894,\n                    \"[ZC53] V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 2,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"account.invoice,2972\",\n                    \"ZCI-220228NUX66TPY\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1204,\n                    \"GI-220228NUX66TPY\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 40.056,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-03-02 13:49:06\"\n            },\n            {\n                \"id\": 3321,\n                \"cost_amount\": 39.46,\n                \"move_id\": [\n                    17991,\n                    \"JV-1867\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    914,\n                    \"[ZS30] SanDisk: Ultra Sandisk Micro SD Card\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 2,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"account.invoice,2972\",\n                    \"ZCI-220228NUX66TPY\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1204,\n                    \"GI-220228NUX66TPY\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 19.7284,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-03-02 13:49:06\"\n            },\n            {\n                \"id\": 3314,\n                \"cost_amount\": 71.33,\n                \"move_id\": [\n                    17893,\n                    \"JV-1859\",\n                    null\n                ],\n                \"location_to_id\": [\n                    16,\n                    \"Samples\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    923,\n                    \"[ZB67] Vanrro Baby Nail Trimmer (Pink)\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1202\",\n                    \"GI-2203-0001\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1202,\n                    \"GI-2203-0001\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 71.325,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-03-01 10:30:49\"\n            },\n            {\n                \"id\": 3313,\n                \"cost_amount\": 0,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    958,\n                    \"[ZC53sd] V380 plus SD card\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"approved\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1199,\n                    \"GI-220217PAFU9M8A\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 0,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-02-17 00:00:00\"\n            },\n            {\n                \"id\": 3331,\n                \"cost_amount\": 0,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    894,\n                    \"[ZC53] V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"draft\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 0,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-02-17 00:00:00\"\n            },\n            {\n                \"id\": 3332,\n                \"cost_amount\": 0,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    914,\n                    \"[ZS30] SanDisk: Ultra Sandisk Micro SD Card\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"draft\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 0,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-02-17 00:00:00\"\n            },\n            {\n                \"id\": 3312,\n                \"cost_amount\": 71.33,\n                \"move_id\": [\n                    17845,\n                    \"JV-1858\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    938,\n                    \"[ZB68] Vanrro Baby Nail Trimmer (Blue)\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1198\",\n                    \"GI-220216JR5GTS85\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1198,\n                    \"GI-220216JR5GTS85\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 71.325,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    25,\n                    \"[SB08] Little BeeBoo\",\n                    null\n                ],\n                \"date\": \"2022-02-16 14:33:57\"\n            },\n            {\n                \"id\": 3311,\n                \"cost_amount\": 1089.33,\n                \"move_id\": [\n                    17842,\n                    \"JV-1857\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    885,\n                    \"[ZP47] S200-15A: 15 inch All In One Pos Terminal (Hardware)\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"account.invoice,2963\",\n                    \"202202003\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1197,\n                    \"GI-2202-0002\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 1089.326364,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-02-16 10:06:38\"\n            },\n            {\n                \"id\": 3310,\n                \"cost_amount\": 71.33,\n                \"move_id\": [\n                    17836,\n                    \"JV-1856\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    923,\n                    \"[ZB67] Vanrro Baby Nail Trimmer (Pink)\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1196\",\n                    \"GI-220214F7VS6HR8\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1196,\n                    \"GI-220214F7VS6HR8\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 71.325,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    25,\n                    \"[SB08] Little BeeBoo\",\n                    null\n                ],\n                \"date\": \"2022-02-15 13:50:28\"\n            },\n            {\n                \"id\": 3308,\n                \"cost_amount\": 158.07,\n                \"move_id\": [\n                    17835,\n                    \"JV-1855\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    1009,\n                    \"[ZS06] BEL-402 : Single Latch Fingerprint Door Lock\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1194\",\n                    \"GI-220212ABB9DVQK\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1194,\n                    \"GI-220212ABB9DVQK\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 158.065,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-02-15 09:39:41\"\n            },\n            {\n                \"id\": 3309,\n                \"cost_amount\": 80.11,\n                \"move_id\": [\n                    17834,\n                    \"JV-1854\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    894,\n                    \"[ZC53] V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 2,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1195\",\n                    \"GI-220214DME9W5JW\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1195,\n                    \"GI-220214DME9W5JW\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 40.056,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-02-15 09:39:40\"\n            },\n            {\n                \"id\": 3361,\n                \"cost_amount\": 0,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    890,\n                    \"[ZT52] HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"approved\",\n                \"related_id\": [\n                    \"account.invoice,3041\",\n                    \"ZCI-2202104WA0MR7F\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1231,\n                    \"GI-2202104WA0MR7F\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 0,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-02-10 00:00:00\"\n            },\n            {\n                \"id\": 3360,\n                \"cost_amount\": 180.7,\n                \"move_id\": [\n                    18498,\n                    \"JV-1952\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    890,\n                    \"[ZT52] HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"account.invoice,3042\",\n                    \"ZCI-2202093FW4DWSV\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1230,\n                    \"GI-2202093FW4DWSV\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 180.7,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-02-09 00:00:00\"\n            },\n            {\n                \"id\": 3306,\n                \"cost_amount\": 1089.33,\n                \"move_id\": [\n                    17794,\n                    \"JV-1851\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    885,\n                    \"[ZP47] S200-15A: 15 inch All In One Pos Terminal (Hardware)\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"account.invoice,2936\",\n                    \"202201015\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1192,\n                    \"GI-2202-0001\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 1089.326364,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": null,\n                \"date\": \"2022-02-07 11:54:44\"\n            },\n            {\n                \"id\": 3305,\n                \"cost_amount\": 0,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    958,\n                    \"[ZC53sd] V380 plus SD card\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"approved\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1191,\n                    \"GI-220203GW7M24YQ\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 0,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-02-03 00:00:00\"\n            },\n            {\n                \"id\": 3329,\n                \"cost_amount\": 0,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    894,\n                    \"[ZC53] V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"approved\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 0,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-02-03 00:00:00\"\n            },\n            {\n                \"id\": 3330,\n                \"cost_amount\": 0,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    914,\n                    \"[ZS30] SanDisk: Ultra Sandisk Micro SD Card\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"approved\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 0,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-02-03 00:00:00\"\n            },\n            {\n                \"id\": 3304,\n                \"cost_amount\": 158.07,\n                \"move_id\": [\n                    17782,\n                    \"JV-1844\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    1009,\n                    \"[ZS06] BEL-402 : Single Latch Fingerprint Door Lock\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1190,\n                    \"GI-220126S14FGK0U\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 158.065,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-01-26 00:00:00\"\n            },\n            {\n                \"id\": 3302,\n                \"cost_amount\": 0,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    958,\n                    \"[ZC53sd] V380 plus SD card\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"approved\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1188,\n                    \"GI-220122FG5EWUX8\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 0,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-01-22 00:00:00\"\n            },\n            {\n                \"id\": 3327,\n                \"cost_amount\": 0,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    894,\n                    \"[ZC53] V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"draft\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 0,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-01-22 00:00:00\"\n            },\n            {\n                \"id\": 3328,\n                \"cost_amount\": 0,\n                \"move_id\": null,\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    914,\n                    \"[ZS30] SanDisk: Ultra Sandisk Micro SD Card\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"draft\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": null,\n                \"container_id\": null,\n                \"cost_price\": 0,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-01-22 00:00:00\"\n            },\n            {\n                \"id\": 3298,\n                \"cost_amount\": 40.06,\n                \"move_id\": [\n                    17626,\n                    \"JV-1843\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    894,\n                    \"[ZC53] V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1187\",\n                    \"GI-2201209JD1074S\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1187,\n                    \"GI-2201209JD1074S\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 40.056,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-01-20 11:56:36\"\n            },\n            {\n                \"id\": 3297,\n                \"cost_amount\": 71.33,\n                \"move_id\": [\n                    18094,\n                    \"JV-1888\",\n                    null\n                ],\n                \"location_to_id\": [\n                    16,\n                    \"Samples\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    939,\n                    \"[ZB69] Vanrro Baby Nail Trimmer (Green)\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1186\",\n                    \"GI-2201-0002\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1186,\n                    \"GI-2201-0002\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 71.33,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    25,\n                    \"[SB08] Little BeeBoo\",\n                    null\n                ],\n                \"date\": \"2022-01-20 09:23:46\"\n            },\n            {\n                \"id\": 3296,\n                \"cost_amount\": 71.33,\n                \"move_id\": [\n                    18095,\n                    \"JV-1889\",\n                    null\n                ],\n                \"location_to_id\": [\n                    16,\n                    \"Samples\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    939,\n                    \"[ZB69] Vanrro Baby Nail Trimmer (Green)\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1185\",\n                    \"GI-2201-0001\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1185,\n                    \"GI-2201-0001\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 71.33,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    25,\n                    \"[SB08] Little BeeBoo\",\n                    null\n                ],\n                \"date\": \"2022-01-11 09:31:23\"\n            },\n            {\n                \"id\": 3295,\n                \"cost_amount\": 40.06,\n                \"move_id\": [\n                    17784,\n                    \"JV-1846\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    894,\n                    \"[ZC53] V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1184,\n                    \"GI-220109CB80JD95\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 40.056,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-01-09 00:00:00\"\n            },\n            {\n                \"id\": 3294,\n                \"cost_amount\": 158.07,\n                \"move_id\": [\n                    17785,\n                    \"JV-1847\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    1009,\n                    \"[ZS06] BEL-402 : Single Latch Fingerprint Door Lock\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": null,\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1183,\n                    \"GI-220108A2WCGPWD\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 158.065,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-01-08 00:00:00\"\n            },\n            {\n                \"id\": 3292,\n                \"cost_amount\": 113.32,\n                \"move_id\": [\n                    17471,\n                    \"JV-1837\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    886,\n                    \"[ZT48] 6900 : Tera 1D Wired Barcode Scanner with Stand\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1156\",\n                    \"GI-211210R8FM5CJV\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1156,\n                    \"GI-211210R8FM5CJV\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 113.317,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-01-05 14:44:36\"\n            },\n            {\n                \"id\": 3291,\n                \"cost_amount\": 182.41,\n                \"move_id\": [\n                    17477,\n                    \"JV-1838\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    1033,\n                    \"[ZT80] 780 : Tera Fixed Mount 1D 2D Scanners QR Reader Desktop Platform\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1155\",\n                    \"GI-211211TAJD61W1\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1155,\n                    \"GI-211211TAJD61W1\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 182.405,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-01-05 14:44:24\"\n            },\n            {\n                \"id\": 3290,\n                \"cost_amount\": 113.32,\n                \"move_id\": [\n                    17469,\n                    \"JV-1835\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    886,\n                    \"[ZT48] 6900 : Tera 1D Wired Barcode Scanner with Stand\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1162\",\n                    \"GI-21121572T47TGU\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1162,\n                    \"GI-21121572T47TGU\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 113.317,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-01-05 14:44:11\"\n            },\n            {\n                \"id\": 3289,\n                \"cost_amount\": 158.07,\n                \"move_id\": [\n                    17468,\n                    \"JV-1834\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    1009,\n                    \"[ZS06] BEL-402 : Single Latch Fingerprint Door Lock\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1163\",\n                    \"GI-211218E3VG7NSJ\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1163,\n                    \"GI-211218E3VG7NSJ\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 158.065,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-01-05 14:43:57\"\n            },\n            {\n                \"id\": 3287,\n                \"cost_amount\": 18.27,\n                \"move_id\": [\n                    17467,\n                    \"JV-1833\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    969,\n                    \"[ZM03 - D] M2B01: Nursing Cover Type D\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1169\",\n                    \"GI-211230G8PQ71T8\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1169,\n                    \"GI-211230G8PQ71T8\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 18.273333,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    25,\n                    \"[SB08] Little BeeBoo\",\n                    null\n                ],\n                \"date\": \"2022-01-05 14:43:08\"\n            },\n            {\n                \"id\": 3286,\n                \"cost_amount\": 40.06,\n                \"move_id\": [\n                    17466,\n                    \"JV-1832\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    894,\n                    \"[ZC53] V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1177\",\n                    \"GI-211231K1NXKPHT\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1177,\n                    \"GI-211231K1NXKPHT\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 40.056,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-01-05 14:42:57\"\n            },\n            {\n                \"id\": 3284,\n                \"cost_amount\": 113.32,\n                \"move_id\": [\n                    17465,\n                    \"JV-1831\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    886,\n                    \"[ZT48] 6900 : Tera 1D Wired Barcode Scanner with Stand\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1180\",\n                    \"GI-220104UYBQCRBV\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1180,\n                    \"GI-220104UYBQCRBV\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 113.317,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-01-05 14:40:34\"\n            },\n            {\n                \"id\": 3283,\n                \"cost_amount\": 56.68,\n                \"move_id\": [\n                    17464,\n                    \"JV-1830\",\n                    null\n                ],\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"container2_id\": null,\n                \"lot_id\": null,\n                \"product_id\": [\n                    887,\n                    \"[ZT49] 1031 : 1D Wired Laser Barcode Scanner  w/o Stand\",\n                    null\n                ],\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"qty\": 1,\n                \"qty2\": null,\n                \"state\": \"done\",\n                \"related_id\": [\n                    \"stock.picking,1181\",\n                    \"GI-220104VJ4BQREF\"\n                ],\n                \"number\": \"/\",\n                \"picking_id\": [\n                    1181,\n                    \"GI-220104VJ4BQREF\",\n                    null\n                ],\n                \"container_id\": null,\n                \"cost_price\": 56.683,\n                \"uom_id\": [\n                    1,\n                    \"Unit\",\n                    null\n                ],\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"date\": \"2022-01-05 14:40:19\"\n            }\n        ],\n        1340\n    ],\n    \"error\": null,\n    \"id\": 1693208315326,\n    \"dt\": 208\n}"}],"_postman_id":"b74a01b1-e660-48e7-8382-8b030c3fa817"}],"id":"65e6d817-e022-4107-9c80-2d8bda2f7a66","_postman_id":"65e6d817-e022-4107-9c80-2d8bda2f7a66","description":""},{"name":"Goods Receipt","item":[{"name":"params/inline.help/search_read","id":"a7972e0d-0557-4746-9750-787551b1e857","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693210094096,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"pick_in\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-28 13:07:31\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"pick_in\"<strong><strong>]</strong></strong>]**</strong>],**</p>\n<ol>\n<li><code>\"inline.help\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"inline.help.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"inline.help\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"action\", \"=\", \"pick_in\" ] ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method.</li>\n<li>It's a nested array with a sub-array containing filtering conditions.</li>\n<li>The condition specified <code>[\"action\", \"=\", \"pick_in\"]</code> suggests that you're applying a filter on the \"action\" field. The condition <code>=</code> means \"equals to,\" and the value \"pick_in\" indicates that you're searching for records where the \"action\" field has the value \"pick_in.\"</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"inline.help\" model. It's specifically requesting records where the \"action\" field has the value \"pick_in.\" The request is asking for the values of the specified fields for each matching record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"66bf70b9-4ecf-4b45-b1a9-0aeb35344331","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693210094096,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"pick_in\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-28 13:07:31\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 28 Aug 2023 08:11:30 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=yyoygZXvQRv8Zz28cYJTDwfO6gep0rVBgkGeWWFoXJYlMHQM0rFpjjjGgAOxbZvWbOHt4IIebprxm0f3b9h9FfsVeN11PswlDqc5iYjELgc%2FF5dmkD3j0OhL8DBATeaZi2uw3IQmmm30GmvwIg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fdb1577df8d9992-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693210094096,\n    \"dt\": 11\n}"}],"_postman_id":"a7972e0d-0557-4746-9750-787551b1e857"},{"name":"params/stock.picking/search_read","id":"3bd4feb2-83dc-4eda-ab87-df444654e0d3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693210094104,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.picking\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"type\",\r\n                    \"=\",\r\n                    \"in\"\r\n                ],\r\n                []\r\n            ],\r\n            [\r\n                \"journal_id\",\r\n                \"number\",\r\n                \"date\",\r\n                \"contact_id\",\r\n                \"related_id\",\r\n                \"invoice_id\",\r\n                \"ship_method_id\",\r\n                \"ship_tracking\",\r\n                \"ship_cost\",\r\n                \"ship_pay_by\",\r\n                \"done_by_id\",\r\n                \"state\",\r\n                \"company_id\",\r\n                \"delivery_status\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-28 13:07:31\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"stock.picking\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"type\",<strong>\"=\",</strong>\"in\"<strong>],<strong>[]</strong>],<strong>[</strong>\"journal_id\",</strong>\"number\",<strong>\"date\",</strong>\"contact_id\",<strong>\"related_id\",</strong>\"invoice_id\",<strong>\"ship_method_id\",</strong>\"ship_tracking\",<strong>\"ship_cost\",</strong>\"ship_pay_by\",<strong>\"done_by_id\",</strong>\"state\",<strong>\"company_id\",</strong>\"delivery_status\"<strong>]****],</strong></p>\n<ol>\n<li><code>\"stock.picking\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"stock.picking.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"stock.picking\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"type\", \"=\", \"in\" ], [] ], [ \"journal_id\", \"number\", \"date\", \"contact_id\", \"related_id\", \"invoice_id\", \"ship_method_id\", \"ship_tracking\", \"ship_cost\", \"ship_pay_by\", \"done_by_id\", \"state\", \"company_id\", \"delivery_status\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with two sub-arrays:<ol>\n<li>The first sub-array <code>[ [ \"type\", \"=\", \"in\" ], [] ]</code> contains two filtering conditions:<ol>\n<li>The first condition <code>[ \"type\", \"=\", \"in\" ]</code> suggests that you're filtering records where the \"type\" field is equal to \"in.\"</li>\n<li>The second condition <code>[]</code> is an empty sub-array, indicating no additional filtering conditions. This suggests that you want to retrieve records that match the first condition without further filtering.</li>\n</ol>\n</li>\n<li>The second sub-array lists the names of fields you want to retrieve from the records. These field names correspond to attributes of the \"stock.picking\" model. When the \"search_read\" method is executed, it will return records with values for these specific fields.<ol>\n<li><code>\"journal_id\"</code>: This field represents the unique identifier or reference to the journal associated with the stock picking. Journals are often used to categorize and track different types of transactions.</li>\n<li><code>\"number\"</code>: This field represents the unique identifier or reference number of the stock picking.</li>\n<li><code>\"date\"</code>: This field represents the date when the stock picking occurred.</li>\n<li><code>\"contact_id\"</code>: This field represents the unique identifier or reference to the contact associated with the stock picking. Contacts can refer to customers, suppliers, or other relevant parties.</li>\n<li><code>\"related_id\"</code>: This field represents the unique identifier or reference to a related record. It could be used to establish a connection with other records in the system.</li>\n<li><code>\"invoice_id\"</code>: This field represents the unique identifier or reference to an invoice associated with the stock picking.</li>\n<li><code>\"ship_method_id\"</code>: This field represents the unique identifier or reference to the shipping method used for the stock picking.</li>\n<li><code>\"ship_tracking\"</code>: This field represents the tracking information associated with the shipment of the stock.</li>\n<li><code>\"ship_cost\"</code>: This field represents the cost associated with shipping the stock.</li>\n<li><code>\"ship_pay_by\"</code>: This field represents the payment method used for shipping costs.</li>\n<li><code>\"done_by_id\"</code>: This field represents the unique identifier or reference to the user who completed the stock picking.</li>\n<li><code>\"state\"</code>: This field represents the state of the stock picking (e.g., pending, completed).</li>\n<li><code>\"company_id\"</code>: This field represents the unique identifier or reference to the company associated with the stock picking.</li>\n<li><code>\"delivery_status\"</code>: This field represents the delivery status of the stock picking.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"stock.picking\" model. It's requesting records that match the specified filtering conditions and asking for the values of the specified fields for each record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"25d3f79f-27d8-441c-8b43-4d17cfd24105","name":"New Request","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693210094104,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.picking\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"type\",\r\n                    \"=\",\r\n                    \"in\"\r\n                ],\r\n                []\r\n            ],\r\n            [\r\n                \"journal_id\",\r\n                \"number\",\r\n                \"date\",\r\n                \"contact_id\",\r\n                \"related_id\",\r\n                \"invoice_id\",\r\n                \"ship_method_id\",\r\n                \"ship_tracking\",\r\n                \"ship_cost\",\r\n                \"ship_pay_by\",\r\n                \"done_by_id\",\r\n                \"state\",\r\n                \"company_id\",\r\n                \"delivery_status\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-28 13:07:31\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 28 Aug 2023 08:18:57 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=P8oRQNlfoV055zAjm56bf0GwkW4CSuWbUnwvI38ENVrYVVceeR0pB%2Fx0m2jpaIK88GI%2BnHvsFNIBpJ3eYfemRYhw7B27jZXuKC3wZO2A108cIpGF7DRdmhPFxOJIxEpNzOSPNQPdKJ8vF%2FaPIw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fdb2060cb070417-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 1334,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": null,\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"TEST-KHAL-250823-01\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2023-08-25 15:33:14\",\n                \"done_by_id\": [\n                    54,\n                    \"Khalida\",\n                    null\n                ]\n            },\n            {\n                \"id\": 1333,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": null,\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"TEST-KHAL-250823\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2023-08-25 15:31:28\",\n                \"done_by_id\": [\n                    54,\n                    \"Khalida\",\n                    null\n                ]\n            },\n            {\n                \"id\": 1332,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": null,\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"draft\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"test43211\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2023-08-10 13:31:43\",\n                \"done_by_id\": null\n            },\n            {\n                \"id\": 1329,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": null,\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"draft\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"test123\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2023-08-09 12:33:52\",\n                \"done_by_id\": null\n            },\n            {\n                \"id\": 1330,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": null,\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"draft\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"test1234\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2023-08-08 09:41:50\",\n                \"done_by_id\": null\n            },\n            {\n                \"id\": 1327,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": null,\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"draft\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202307-001\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2023-07-12 10:50:49\",\n                \"done_by_id\": null\n            },\n            {\n                \"id\": 1325,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    1026,\n                    \"[C-0922] Shenzhen Rongtian Electronic Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202306-001\",\n                \"invoice_id\": [\n                    3446,\n                    \"ZSI23060001\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,3446\",\n                    \"ZSI23060001\"\n                ],\n                \"date\": \"2023-06-27 10:05:13\",\n                \"done_by_id\": [\n                    95,\n                    \"Azim\",\n                    null\n                ]\n            },\n            {\n                \"id\": 1303,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    526,\n                    \"[C-0441] Shenzhen Blovedream Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202301-001\",\n                \"invoice_id\": [\n                    3317,\n                    \"ZSI23010001\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,3317\",\n                    \"ZSI23010001\"\n                ],\n                \"date\": \"2023-01-31 17:03:56\",\n                \"done_by_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ]\n            },\n            {\n                \"id\": 1291,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    526,\n                    \"[C-0441] Shenzhen Blovedream Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202211-001\",\n                \"invoice_id\": [\n                    3226,\n                    \"ZSI22110001\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,3226\",\n                    \"ZSI22110001\"\n                ],\n                \"date\": \"2022-11-22 12:41:58\",\n                \"done_by_id\": [\n                    95,\n                    \"Azim\",\n                    null\n                ]\n            },\n            {\n                \"id\": 1212,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    10,\n                    \"Goods Return\",\n                    null\n                ],\n                \"contact_id\": null,\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"pending\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GRTN-202204-001\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2021-10-01 11:49:25\",\n                \"done_by_id\": [\n                    8,\n                    \"Admin\",\n                    \"logo,coBOp_xx444=.png\"\n                ]\n            },\n            {\n                \"id\": 1211,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    10,\n                    \"Goods Return\",\n                    null\n                ],\n                \"contact_id\": null,\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GRTN-202204-002\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2021-10-01 11:46:14\",\n                \"done_by_id\": [\n                    88,\n                    \"Pika\",\n                    null\n                ]\n            },\n            {\n                \"id\": 1210,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    10,\n                    \"Goods Return\",\n                    null\n                ],\n                \"contact_id\": null,\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"pending\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GRTN-202204-003\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2021-10-01 11:41:12\",\n                \"done_by_id\": [\n                    88,\n                    \"Pika\",\n                    null\n                ]\n            },\n            {\n                \"id\": 1209,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    10,\n                    \"Goods Return\",\n                    null\n                ],\n                \"contact_id\": null,\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GRTN-202204-004\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2021-10-01 11:35:51\",\n                \"done_by_id\": [\n                    88,\n                    \"Pika\",\n                    null\n                ]\n            },\n            {\n                \"id\": 1208,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    10,\n                    \"Goods Return\",\n                    null\n                ],\n                \"contact_id\": null,\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GRTN-202204-005\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2021-10-01 11:31:01\",\n                \"done_by_id\": [\n                    88,\n                    \"Pika\",\n                    null\n                ]\n            },\n            {\n                \"id\": 1216,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    580,\n                    \"[C-0494] Lazada (Zeekiot)\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-301728320412341\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2021-10-01 09:11:40\",\n                \"done_by_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ]\n            },\n            {\n                \"id\": 959,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    510,\n                    \"[C-0425] Suzhou Eway Tech Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202108-001\",\n                \"invoice_id\": [\n                    2402,\n                    \"ZSI21060003\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,2402\",\n                    \"ZSI21060003\"\n                ],\n                \"date\": \"2021-08-12 15:37:38\",\n                \"done_by_id\": [\n                    80,\n                    \"Rika\",\n                    null\n                ]\n            },\n            {\n                \"id\": 855,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    584,\n                    \"[C-0498] Dongguan Auschalink Fashion Garment Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"draft\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202107-006\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2021-07-22 17:22:12\",\n                \"done_by_id\": null\n            },\n            {\n                \"id\": 772,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    612,\n                    \"[C-0526] Guangzhou Manon Clothing Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"voided\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202107-003\",\n                \"invoice_id\": [\n                    2252,\n                    \"ZSI21050004\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,2252\",\n                    \"ZSI21050004\"\n                ],\n                \"date\": \"2021-07-05 11:36:58\",\n                \"done_by_id\": null\n            },\n            {\n                \"id\": 1114,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    10,\n                    \"Goods Return\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GRTN-2106220XWFA3TJ\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2021-06-30 17:56:33\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 754,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    510,\n                    \"[C-0425] Suzhou Eway Tech Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202106-015\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"account.invoice,2318\",\n                    \"ZSI21060001\"\n                ],\n                \"date\": \"2021-06-30 16:29:27\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 724,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    10,\n                    \"Goods Return\",\n                    null\n                ],\n                \"contact_id\": [\n                    294,\n                    \"[C-0220] Shopee\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202106-013\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"stock.picking,485\",\n                    \"GI-210503N6AREM95\"\n                ],\n                \"date\": \"2021-06-28 10:09:57\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 723,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    294,\n                    \"[C-0220] Shopee\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202106-014\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"stock.picking,613\",\n                    \"GI-2106028V2MDCMW\"\n                ],\n                \"date\": \"2021-06-28 10:00:02\",\n                \"done_by_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ]\n            },\n            {\n                \"id\": 701,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    602,\n                    \"[C-0516] Shenzhen JinBeiEr Intellectual System Limited Company\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202106-006\",\n                \"invoice_id\": [\n                    2238,\n                    \"ZSI21050003\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,2238\",\n                    \"ZSI21050003\"\n                ],\n                \"date\": \"2021-06-21 14:02:26\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 590,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    510,\n                    \"[C-0425] Suzhou Eway Tech Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202106-001\",\n                \"invoice_id\": [\n                    2225,\n                    \"ZSI21050001\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,2225\",\n                    \"ZSI21050001\"\n                ],\n                \"date\": \"2021-06-01 13:39:50\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 581,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    510,\n                    \"[C-0425] Suzhou Eway Tech Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202105-012\",\n                \"invoice_id\": [\n                    2183,\n                    \"ZSI21040008\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,2183\",\n                    \"ZSI21040008\"\n                ],\n                \"date\": \"2021-05-31 09:39:57\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 569,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    581,\n                    \"[C-0495] Dongguan Ma Mi Love Clothing Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"voided\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202105-011\",\n                \"invoice_id\": [\n                    2256,\n                    \"ZSI21050005\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,2256\",\n                    \"ZSI21050005\"\n                ],\n                \"date\": \"2021-05-27 14:05:00\",\n                \"done_by_id\": [\n                    8,\n                    \"Admin\",\n                    \"logo,coBOp_xx444=.png\"\n                ]\n            },\n            {\n                \"id\": 568,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    581,\n                    \"[C-0495] Dongguan Ma Mi Love Clothing Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"voided\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202105-010\",\n                \"invoice_id\": [\n                    2166,\n                    \"ZSI21040006\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,2166\",\n                    \"ZSI21040006\"\n                ],\n                \"date\": \"2021-05-27 14:00:47\",\n                \"done_by_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ]\n            },\n            {\n                \"id\": 552,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    602,\n                    \"[C-0516] Shenzhen JinBeiEr Intellectual System Limited Company\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202105-008\",\n                \"invoice_id\": [\n                    2180,\n                    \"ZSI21040007\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,2180\",\n                    \"ZSI21040007\"\n                ],\n                \"date\": \"2021-05-24 13:55:53\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 551,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    584,\n                    \"[C-0498] Dongguan Auschalink Fashion Garment Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"voided\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202105-007\",\n                \"invoice_id\": [\n                    2108,\n                    \"ZSI21040003\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,2108\",\n                    \"ZSI21040003\"\n                ],\n                \"date\": \"2021-05-21 15:17:41\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 550,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    526,\n                    \"[C-0441] Shenzhen Blovedream Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202105-006\",\n                \"invoice_id\": [\n                    2237,\n                    \"ZSI21050002\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,2237\",\n                    \"ZSI21050002\"\n                ],\n                \"date\": \"2021-05-21 15:02:38\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 542,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    610,\n                    \"[C-0524] Stan (Shenzhen) Technology Co., Ltd\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202105-005\",\n                \"invoice_id\": [\n                    2095,\n                    \"ZSI21030014\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,2095\",\n                    \"ZSI21030014\"\n                ],\n                \"date\": \"2021-05-19 16:11:57\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 524,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    598,\n                    \"[C-0512] Changsha Loriya Garment Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202105-004\",\n                \"invoice_id\": [\n                    2044,\n                    \"ZSI21030008\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,2044\",\n                    \"ZSI21030008\"\n                ],\n                \"date\": \"2021-05-11 15:52:27\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 494,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    623,\n                    \"[C-0536] Shenzhen Luwei Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202105-003\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"account.invoice,2147\",\n                    \"ZSI21040004\"\n                ],\n                \"date\": \"2021-05-07 10:29:32\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 475,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    510,\n                    \"[C-0425] Suzhou Eway Tech Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202105-002\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"account.invoice,2159\",\n                    \"ZSI21040005\"\n                ],\n                \"date\": \"2021-05-04 15:36:46\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 473,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    559,\n                    \"[C-0473] Ningbo Mingzhi Electronic Technology Company Limited\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202105-001\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"account.invoice,2059\",\n                    \"ZSI21030010\"\n                ],\n                \"date\": \"2021-05-03 17:25:33\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 466,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    510,\n                    \"[C-0425] Suzhou Eway Tech Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202104-012\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"account.invoice,2061\",\n                    \"ZSI21030011\"\n                ],\n                \"date\": \"2021-04-30 13:37:03\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 457,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    610,\n                    \"[C-0524] Stan (Shenzhen) Technology Co., Ltd\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202104-011\",\n                \"invoice_id\": [\n                    2095,\n                    \"ZSI21030014\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,2095\",\n                    \"ZSI21030014\"\n                ],\n                \"date\": \"2021-04-28 16:30:45\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 439,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    10,\n                    \"Goods Return\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GRTN-202108-001\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2021-04-21 14:43:12\",\n                \"done_by_id\": [\n                    8,\n                    \"Admin\",\n                    \"logo,coBOp_xx444=.png\"\n                ]\n            },\n            {\n                \"id\": 415,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    611,\n                    \"[C-0525] Shenzhen Qinghong Toys Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202104-008\",\n                \"invoice_id\": [\n                    2096,\n                    \"ZSI21030015\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,2096\",\n                    \"ZSI21030015\"\n                ],\n                \"date\": \"2021-04-16 09:44:23\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 411,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    595,\n                    \"[C-0509] Gansu Shengjiahua Trading Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"voided\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202104-007\",\n                \"invoice_id\": [\n                    2097,\n                    \"ZSI21040001\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,2097\",\n                    \"ZSI21040001\"\n                ],\n                \"date\": \"2021-04-14 15:38:36\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 410,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    612,\n                    \"[C-0526] Guangzhou Manon Clothing Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"voided\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202104-005\",\n                \"invoice_id\": [\n                    2098,\n                    \"ZSI21040002\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,2098\",\n                    \"ZSI21040002\"\n                ],\n                \"date\": \"2021-04-14 10:46:43\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 409,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    609,\n                    \"[C-0523] Dongguan Tediton Intelligent Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202104-004\",\n                \"invoice_id\": [\n                    2094,\n                    \"ZSI21030013\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,2094\",\n                    \"ZSI21030013\"\n                ],\n                \"date\": \"2021-04-14 10:42:50\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 375,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    602,\n                    \"[C-0516] Shenzhen JinBeiEr Intellectual System Limited Company\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202104-003\",\n                \"invoice_id\": [\n                    2062,\n                    \"ZSI21030012\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,2062\",\n                    \"ZSI21030012\"\n                ],\n                \"date\": \"2021-04-12 14:22:10\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 362,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    585,\n                    \"[C-0499] Yiwu City Kuolove Crafts Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202104-002\",\n                \"invoice_id\": [\n                    1986,\n                    \"ZSI21030002\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1986\",\n                    \"ZSI21030002\"\n                ],\n                \"date\": \"2021-04-08 10:49:03\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 357,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    510,\n                    \"[C-0425] Suzhou Eway Tech Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202104-001\",\n                \"invoice_id\": [\n                    1988,\n                    \"ZSI21030003\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1988\",\n                    \"ZSI21030003\"\n                ],\n                \"date\": \"2021-04-07 13:13:55\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 325,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    601,\n                    \"[C-0515] Yiwu Jiehao Maternal Baby Product Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202103-014\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"account.invoice,2035\",\n                    \"ZSI21030009\"\n                ],\n                \"date\": \"2021-03-31 11:32:55\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 324,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    595,\n                    \"[C-0509] Gansu Shengjiahua Trading Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"voided\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202103-013\",\n                \"invoice_id\": [\n                    2026,\n                    \"ZSI21030007\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,2026\",\n                    \"ZSI21030007\"\n                ],\n                \"date\": \"2021-03-31 11:28:33\",\n                \"done_by_id\": [\n                    68,\n                    \"Lizzie\",\n                    null\n                ]\n            },\n            {\n                \"id\": 305,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    526,\n                    \"[C-0441] Shenzhen Blovedream Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202103-012\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"account.invoice,1992\",\n                    \"ZSI21030006\"\n                ],\n                \"date\": \"2021-03-26 11:44:08\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 304,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    581,\n                    \"[C-0495] Dongguan Ma Mi Love Clothing Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"voided\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202103-011\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"account.invoice,1982\",\n                    \"ZSI21020006\"\n                ],\n                \"date\": \"2021-03-26 11:34:46\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 300,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    577,\n                    \"[C-0491] Shenzhen Geekroom E-Commerce Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202103-010\",\n                \"invoice_id\": [\n                    1965,\n                    \"ZSI21020003\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1965\",\n                    \"ZSI21020003\"\n                ],\n                \"date\": \"2021-03-25 16:10:00\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 294,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    583,\n                    \"[C-0497] Yiwu Zo Arts & Crafts Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202103-009\",\n                \"invoice_id\": [\n                    1984,\n                    \"ZSI21020008\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1984\",\n                    \"ZSI21020008\"\n                ],\n                \"date\": \"2021-03-23 11:20:41\",\n                \"done_by_id\": [\n                    68,\n                    \"Lizzie\",\n                    null\n                ]\n            },\n            {\n                \"id\": 288,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    584,\n                    \"[C-0498] Dongguan Auschalink Fashion Garment Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"voided\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202103-008\",\n                \"invoice_id\": [\n                    1985,\n                    \"ZSI21030001\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1985\",\n                    \"ZSI21030001\"\n                ],\n                \"date\": \"2021-03-22 18:37:31\",\n                \"done_by_id\": [\n                    68,\n                    \"Lizzie\",\n                    null\n                ]\n            },\n            {\n                \"id\": 286,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    589,\n                    \"[C-0503] Shenzhen Best Cultural Gift Co., Ltd\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202103-007\",\n                \"invoice_id\": [\n                    1990,\n                    \"ZSI21030005\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1990\",\n                    \"ZSI21030005\"\n                ],\n                \"date\": \"2021-03-22 06:27:28\",\n                \"done_by_id\": [\n                    68,\n                    \"Lizzie\",\n                    null\n                ]\n            },\n            {\n                \"id\": 278,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    582,\n                    \"[C-0496] Yiwu Qingkui Baby Products Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202103-006\",\n                \"invoice_id\": [\n                    1983,\n                    \"ZSI21020007\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-03-19 17:32:46\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 277,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    510,\n                    \"[C-0425] Suzhou Eway Tech Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202103-005\",\n                \"invoice_id\": [\n                    1951,\n                    \"ZSI21020001\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1951\",\n                    \"ZSI21020001\"\n                ],\n                \"date\": \"2021-03-19 16:29:35\",\n                \"done_by_id\": [\n                    68,\n                    \"Lizzie\",\n                    null\n                ]\n            },\n            {\n                \"id\": 262,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    558,\n                    \"[C-0472] Shenzhen Daojia Electronic Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-21020005\",\n                \"invoice_id\": [\n                    1968,\n                    \"ZSI21020005\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1968\",\n                    \"ZSI21020005\"\n                ],\n                \"date\": \"2021-03-08 12:27:58\",\n                \"done_by_id\": [\n                    68,\n                    \"Lizzie\",\n                    null\n                ]\n            },\n            {\n                \"id\": 261,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    579,\n                    \"[C-0493] Huizhou Aichen Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-21020004\",\n                \"invoice_id\": [\n                    1967,\n                    \"ZSI21020004\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1967\",\n                    \"ZSI21020004\"\n                ],\n                \"date\": \"2021-03-08 11:51:44\",\n                \"done_by_id\": [\n                    68,\n                    \"Lizzie\",\n                    null\n                ]\n            },\n            {\n                \"id\": 257,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    570,\n                    \"[C-0484] Iotech (Shenzhen) Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202103-003\",\n                \"invoice_id\": [\n                    1942,\n                    \"ZSI21010021\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1942\",\n                    \"ZSI21010021\"\n                ],\n                \"date\": \"2021-03-03 11:43:33\",\n                \"done_by_id\": [\n                    68,\n                    \"Lizzie\",\n                    null\n                ]\n            },\n            {\n                \"id\": 256,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    569,\n                    \"[C-0483] Shenzhen Guba Innovation Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202103-002\",\n                \"invoice_id\": [\n                    1940,\n                    \"ZSI21010019\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1940\",\n                    \"ZSI21010019\"\n                ],\n                \"date\": \"2021-03-03 11:26:41\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 404,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": null,\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"voided\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"dani testing 1304\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2021-03-01 10:41:30\",\n                \"done_by_id\": [\n                    63,\n                    \"Daniella\",\n                    null\n                ]\n            },\n            {\n                \"id\": 251,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    10,\n                    \"Goods Return\",\n                    null\n                ],\n                \"contact_id\": [\n                    294,\n                    \"[C-0220] Shopee\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202104-006\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2021-02-23 11:04:43\",\n                \"done_by_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ]\n            },\n            {\n                \"id\": 236,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    282,\n                    \"[C-0208] EZbuy Holdings Limited\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202102-010\",\n                \"invoice_id\": [\n                    1956,\n                    \"ZSI21010022\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-02-18 21:51:58\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 234,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    559,\n                    \"[C-0473] Ningbo Mingzhi Electronic Technology Company Limited\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202102-009\",\n                \"invoice_id\": [\n                    1910,\n                    \"ZSI21010011\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1910\",\n                    \"ZSI21010011\"\n                ],\n                \"date\": \"2021-02-11 10:28:57\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 233,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    561,\n                    \"[C-0475] Jiaxing Joyan Houseware Products Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202102-008\",\n                \"invoice_id\": [\n                    1912,\n                    \"ZSI21010013\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1912\",\n                    \"ZSI21010013\"\n                ],\n                \"date\": \"2021-02-10 10:55:50\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 232,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    547,\n                    \"[C-0461] Shenzhen Shangjian Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202102-007\",\n                \"invoice_id\": [\n                    1941,\n                    \"ZSI21010020\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1941\",\n                    \"ZSI21010020\"\n                ],\n                \"date\": \"2021-02-10 10:23:58\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 229,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    560,\n                    \"[C-0474] Shanghai Hifly Industry Company Limited\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202102-006\",\n                \"invoice_id\": [\n                    1911,\n                    \"ZSI21010012\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1911\",\n                    \"ZSI21010012\"\n                ],\n                \"date\": \"2021-02-08 10:07:48\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 226,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    562,\n                    \"[C-0476] Ningbo Dooda Electronic Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202102-005\",\n                \"invoice_id\": [\n                    1913,\n                    \"ZSI21010014\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1913\",\n                    \"ZSI21010014\"\n                ],\n                \"date\": \"2021-02-05 10:23:57\",\n                \"done_by_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ]\n            },\n            {\n                \"id\": 225,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    557,\n                    \"[C-0471] Hangzhou Changjiang Electronics Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202102-004\",\n                \"invoice_id\": [\n                    1931,\n                    \"SI21010008\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1902\",\n                    \"ZSI21010008\"\n                ],\n                \"date\": \"2021-02-05 10:03:56\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 224,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    552,\n                    \"[C-0466] Shenzhen Sycreader RFID Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202102-003\",\n                \"invoice_id\": [\n                    1917,\n                    \"ZSI21010018\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1917\",\n                    \"ZSI21010018\"\n                ],\n                \"date\": \"2021-02-05 09:54:25\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 219,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    558,\n                    \"[C-0472] Shenzhen Daojia Electronic Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202102-002\",\n                \"invoice_id\": [\n                    1909,\n                    \"ZSI21010010\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1909\",\n                    \"ZSI21010010\"\n                ],\n                \"date\": \"2021-02-02 14:19:15\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 217,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    540,\n                    \"[C-0455] Shenzhen Sunany Technology Limited\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202102-001\",\n                \"invoice_id\": [\n                    1873,\n                    \"ZSI20120008\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1873\",\n                    \"ZSI20120008\"\n                ],\n                \"date\": \"2021-02-01 20:47:01\",\n                \"done_by_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ]\n            },\n            {\n                \"id\": 212,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    510,\n                    \"[C-0425] Suzhou Eway Tech Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202101-013\",\n                \"invoice_id\": [\n                    1887,\n                    \"ZSI21010002\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1887\",\n                    \"ZSI21010002\"\n                ],\n                \"date\": \"2021-01-29 18:38:21\",\n                \"done_by_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ]\n            },\n            {\n                \"id\": 211,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    554,\n                    \"[C-0468] Shenzhen Sihaijialan Electronic Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202101-014\",\n                \"invoice_id\": [\n                    1903,\n                    \"ZSI21010009\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1903\",\n                    \"ZSI21010009\"\n                ],\n                \"date\": \"2021-01-29 18:34:20\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 210,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    556,\n                    \"[C-0470] Shantou Yuming Hardware Electronics Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202101-011\",\n                \"invoice_id\": [\n                    1901,\n                    \"ZSI21010007\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1901\",\n                    \"ZSI21010007\"\n                ],\n                \"date\": \"2021-01-29 18:28:32\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 209,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    563,\n                    \"[C-0477] Zhongshan Shesheng Electronics Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202101-010\",\n                \"invoice_id\": [\n                    1914,\n                    \"ZSI21010015\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1914\",\n                    \"ZSI21010015\"\n                ],\n                \"date\": \"2021-01-29 18:23:36\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 208,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    510,\n                    \"[C-0425] Suzhou Eway Tech Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202101-009\",\n                \"invoice_id\": [\n                    1916,\n                    \"ZSI21010017\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1916\",\n                    \"ZSI21010017\"\n                ],\n                \"date\": \"2021-01-29 18:19:02\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 207,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    510,\n                    \"[C-0425] Suzhou Eway Tech Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202101-008\",\n                \"invoice_id\": [\n                    1915,\n                    \"ZSI21010016\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1915\",\n                    \"ZSI21010016\"\n                ],\n                \"date\": \"2021-01-29 18:08:22\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 198,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    554,\n                    \"[C-0468] Shenzhen Sihaijialan Electronic Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202101-007\",\n                \"invoice_id\": [\n                    1900,\n                    \"ZSI21010006\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1900\",\n                    \"ZSI21010006\"\n                ],\n                \"date\": \"2021-01-25 14:41:23\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 197,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    555,\n                    \"[C-0469] Shenzhen Eastech Company Limited\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202101-006\",\n                \"invoice_id\": [\n                    1899,\n                    \"ZSI21010005\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1899\",\n                    \"ZSI21010005\"\n                ],\n                \"date\": \"2021-01-25 14:32:37\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 196,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    547,\n                    \"[C-0461] Shenzhen Shangjian Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202101-005\",\n                \"invoice_id\": [\n                    1886,\n                    \"ZSI21010001\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1886\",\n                    \"ZSI21010001\"\n                ],\n                \"date\": \"2021-01-25 14:20:21\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 195,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    552,\n                    \"[C-0466] Shenzhen Sycreader RFID Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202101-004\",\n                \"invoice_id\": [\n                    1896,\n                    \"ZSI21010003\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1896\",\n                    \"ZSI21010003\"\n                ],\n                \"date\": \"2021-01-21 13:23:04\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 194,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    553,\n                    \"[C-0467] Dongguan Amplec Electronic Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202101-003\",\n                \"invoice_id\": [\n                    1897,\n                    \"ZSI21010004\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1897\",\n                    \"ZSI21010004\"\n                ],\n                \"date\": \"2021-01-21 13:15:12\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 164,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    510,\n                    \"[C-0425] Suzhou Eway Tech Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202101-002\",\n                \"invoice_id\": [\n                    1852,\n                    \"ZSI20120007\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1852\",\n                    \"ZSI20120007\"\n                ],\n                \"date\": \"2021-01-07 16:27:59\",\n                \"done_by_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ]\n            },\n            {\n                \"id\": 160,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    510,\n                    \"[C-0425] Suzhou Eway Tech Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202101-001\",\n                \"invoice_id\": [\n                    1853,\n                    \"ZSI20120006\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1853\",\n                    \"ZSI20120006\"\n                ],\n                \"date\": \"2021-01-05 16:21:43\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 158,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    509,\n                    \"[C-0424] Shenzhen Seesmart Display Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202012-007\",\n                \"invoice_id\": [\n                    1839,\n                    \"ZSI20120002\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1839\",\n                    \"ZSI20120002\"\n                ],\n                \"date\": \"2020-12-31 09:20:32\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 157,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    540,\n                    \"[C-0455] Shenzhen Sunany Technology Limited\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202012-006\",\n                \"invoice_id\": [\n                    1842,\n                    \"ZSI20120005\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1842\",\n                    \"ZSI20120005\"\n                ],\n                \"date\": \"2020-12-31 09:11:37\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 150,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    538,\n                    \"[C-0453] Shenzhen Smartrol Technology Limited\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202012-004\",\n                \"invoice_id\": [\n                    1840,\n                    \"ZSI20120003\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1840\",\n                    \"ZSI20120003\"\n                ],\n                \"date\": \"2020-12-17 18:06:00\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 149,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    509,\n                    \"[C-0424] Shenzhen Seesmart Display Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202012-003\",\n                \"invoice_id\": [\n                    1838,\n                    \"ZSI20120001\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1838\",\n                    \"ZSI20120001\"\n                ],\n                \"date\": \"2020-12-17 17:57:25\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 148,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    539,\n                    \"[C-0454] CJ Legend Technology Company Limited\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202012-002\",\n                \"invoice_id\": [\n                    1841,\n                    \"ZSI20120004\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1841\",\n                    \"ZSI20120004\"\n                ],\n                \"date\": \"2020-12-16 11:10:39\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 146,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    509,\n                    \"[C-0424] Shenzhen Seesmart Display Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202012-001\",\n                \"invoice_id\": [\n                    1837,\n                    \"ZSI20110002\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1837\",\n                    \"ZSI20110002\"\n                ],\n                \"date\": \"2020-12-10 10:12:19\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 143,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": null,\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"pending\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202011-005\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"stock.picking,134\",\n                    \"GI-202011-008\"\n                ],\n                \"date\": \"2020-11-30 14:49:57\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 139,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    510,\n                    \"[C-0425] Suzhou Eway Tech Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202011-004\",\n                \"invoice_id\": [\n                    1818,\n                    \"ZSI20110001\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1818\",\n                    \"ZSI20110001\"\n                ],\n                \"date\": \"2020-11-25 16:51:14\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 127,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    526,\n                    \"[C-0441] Shenzhen Blovedream Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202011-003\",\n                \"invoice_id\": [\n                    1803,\n                    \"ZSI20100006\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1803\",\n                    \"ZSI20100006\"\n                ],\n                \"date\": \"2020-11-09 17:05:13\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 125,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    525,\n                    \"[C-0440] Guangzhou Netum Electronic Technology Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202011-002\",\n                \"invoice_id\": [\n                    1802,\n                    \"ZSI20100005\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1802\",\n                    \"ZSI20100005\"\n                ],\n                \"date\": \"2020-11-04 14:55:29\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 122,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    510,\n                    \"[C-0425] Suzhou Eway Tech Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202010-006\",\n                \"invoice_id\": [\n                    1801,\n                    \"ZSI20100004\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1801\",\n                    \"ZSI20100004\"\n                ],\n                \"date\": \"2020-10-31 10:41:48\",\n                \"done_by_id\": [\n                    16,\n                    \"Syuhada\",\n                    null\n                ]\n            },\n            {\n                \"id\": 119,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    472,\n                    \"[C-0389] Guangzhou Luckydoor Electronic Equipment Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202010-005\",\n                \"invoice_id\": [\n                    1783,\n                    \"ZSI20100002\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1783\",\n                    \"ZSI20100002\"\n                ],\n                \"date\": \"2020-10-22 18:46:19\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 118,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    510,\n                    \"[C-0425] Suzhou Eway Tech Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202010-001\",\n                \"invoice_id\": [\n                    1786,\n                    \"ZSI20100001\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1786\",\n                    \"ZSI20100001\"\n                ],\n                \"date\": \"2020-10-22 18:26:28\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 108,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    510,\n                    \"[C-0425] Suzhou Eway Tech Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202009-006\",\n                \"invoice_id\": [\n                    1751,\n                    \"ZSI20090003\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,1751\",\n                    \"ZSI20090003\"\n                ],\n                \"date\": \"2020-09-30 12:50:11\",\n                \"done_by_id\": [\n                    53,\n                    \"Chiew Hao\",\n                    null\n                ]\n            },\n            {\n                \"id\": 107,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    294,\n                    \"[C-0220] Shopee\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"pending\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202009-005\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2020-09-29 09:29:36\",\n                \"done_by_id\": null\n            },\n            {\n                \"id\": 105,\n                \"ship_method_id\": null,\n                \"journal_id\": [\n                    3,\n                    \"Goods Receipts\",\n                    null\n                ],\n                \"contact_id\": [\n                    508,\n                    \"[C-0423] Shenzhen Starlight Wenhua Yishu Dianzi Shangwu Co., Ltd.\",\n                    null\n                ],\n                \"ship_cost\": null,\n                \"ship_pay_by\": null,\n                \"state\": \"done\",\n                \"ship_tracking\": null,\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"number\": \"GR-202009-004\",\n                \"invoice_id\": [\n                    1736,\n                    \"ZSI20090001\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2020-09-24 16:44:55\",\n                \"done_by_id\": [\n                    16,\n                    \"Syuhada\",\n                    null\n                ]\n            }\n        ],\n        109\n    ],\n    \"error\": null,\n    \"id\": 1693210094104,\n    \"dt\": 164\n}"}],"_postman_id":"3bd4feb2-83dc-4eda-ab87-df444654e0d3"}],"id":"ce467dae-d28e-4aff-80da-07a9d6a068ae","_postman_id":"ce467dae-d28e-4aff-80da-07a9d6a068ae","description":""},{"name":"Goods Transfer","item":[{"name":"params/inline.help/search_read","id":"5d6b0c4d-f02c-4de5-b670-65efc0a2650a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693211980635,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"pick_internal\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-28 13:39:17\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"pick_internal\"<strong><strong>]</strong></strong>]**</strong>],**</p>\n<ol>\n<li><code>\"inline.help\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"inline.help.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"inline.help\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"action\", \"=\", \"pick_internal\" ] ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method.</li>\n<li>It's a nested array with a sub-array containing filtering conditions.</li>\n<li>The condition specified <code>[\"action\", \"=\", \"pick_internal\"]</code> suggests that you're applying a filter on the \"action\" field. The condition <code>=</code> means \"equals to,\" and the value \"pick_internal\" indicates that you're searching for records where the \"action\" field has the value \"pick_internal.\"</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"inline.help\" model. It's specifically requesting records where the \"action\" field has the value \"pick_internal.\" The request is asking for the values of the specified fields for each matching record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"c966ff1e-7be9-4d8f-b9b9-ef28eae5cc42","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693211980635,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"pick_internal\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-28 13:39:17\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 28 Aug 2023 08:42:24 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=5wFeWVsYgtyXinx44P1zWqVuylqRWIxcbRwgWT6lfSXdLHDgEzj4i4TKg5K%2Bqj4xZjafYd6Hjao2uttbpoHa7Hx5or7MY1hIs4bhCs7W7UAI21g91bCE82weDZjH5%2BWlIt9W2fPCac1GVcXJbQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fdb42bc2da003f5-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693211980635,\n    \"dt\": 5\n}"}],"_postman_id":"5d6b0c4d-f02c-4de5-b670-65efc0a2650a"},{"name":"params/stock.picking/search_read","id":"bf2c134e-d750-42b1-8d87-b18b8bedca2a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693211980642,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.picking\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"type\",\r\n                    \"=\",\r\n                    \"internal\"\r\n                ],\r\n                []\r\n            ],\r\n            [\r\n                \"journal_id\",\r\n                \"number\",\r\n                \"date\",\r\n                \"ref\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-28 13:39:17\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.picking\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"type\",</strong></strong>\"=\",<strong>**\"internal\"<strong>*<em>],<strong><strong>[]</strong></strong>],<strong><strong>[</strong></strong>\"journal_id\",</em>*</strong>\"number\",**</strong>\"date\",<strong><strong>\"ref\",</strong></strong>\"state\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"stock.picking\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"stock.picking,\" which is likely related to stock movement and picking operations.</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"stock.picking\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"type\", \"=\", \"internal\" ], [] ], [ \"journal_id\", \"number\", \"date\", \"ref\", \"state\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with two sub-arrays:<ol>\n<li>The first sub-array <code>[ [ \"type\", \"=\", \"internal\" ], [] ]</code> contains two filtering conditions:<ol>\n<li>The first condition <code>[ \"type\", \"=\", \"internal\" ]</code> suggests that you're filtering records where the \"type\" field is equal to \"internal.\"</li>\n<li>The second condition <code>[]</code> is an empty sub-array, indicating no additional filtering conditions. This suggests that you want to retrieve records that match the first condition without further filtering.</li>\n</ol>\n</li>\n<li>The second sub-array lists the names of fields you want to retrieve from the records. These field names correspond to attributes of the \"stock.picking\" model. When the \"search_read\" method is executed, it will return records with values for these specific fields.<ol>\n<li><code>\"journal_id\"</code>: This field represents the unique identifier or reference to the journal associated with the stock picking. Journals are often used to categorize and track different types of transactions.</li>\n<li><code>\"number\"</code>: This field represents the unique identifier or reference number of the stock picking.</li>\n<li><code>\"date\"</code>: This field represents the date when the stock picking occurred.</li>\n<li><code>\"ref\"</code>: This field represents a reference or additional information associated with the stock picking.</li>\n<li><code>\"state\"</code>: This field represents the state of the stock picking (e.g., pending, completed).</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"stock.picking\" model. It's requesting records that match the specified filtering conditions and asking for the values of the specified fields for each record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"dee1d3c8-37d3-4fd7-88e1-b4ad8c84ec2a","name":"params/stock.picking/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693211980642,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.picking\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"type\",\r\n                    \"=\",\r\n                    \"internal\"\r\n                ],\r\n                []\r\n            ],\r\n            [\r\n                \"journal_id\",\r\n                \"number\",\r\n                \"date\",\r\n                \"ref\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-28 13:39:17\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 28 Aug 2023 08:47:56 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=gfTs2VnLzOSbhUzWvqBhVsNy3ioa0dguCbR%2FR%2FqV%2FLI%2FoRxivarQNNHb%2FUjFphfOL4R4fCOpQfbJqtwtq3glluly%2FIO8JtLNMurXo1O9glJFbocsEFaR%2BGr4RD5De4Gn%2Bo6ItL0XK6gx7Mj9OQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fdb4ad778c303f5-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 1324,\n                \"journal_id\": [\n                    6,\n                    \"Goods Transfers\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"number\": \"GT-23050001\",\n                \"ref\": null,\n                \"date\": \"2023-05-04 22:32:24\"\n            },\n            {\n                \"id\": 1321,\n                \"journal_id\": [\n                    6,\n                    \"Goods Transfers\",\n                    null\n                ],\n                \"state\": \"draft\",\n                \"number\": \"GT-23020001\",\n                \"ref\": null,\n                \"date\": \"2023-02-21 10:23:49\"\n            },\n            {\n                \"id\": 1118,\n                \"journal_id\": [\n                    6,\n                    \"Goods Transfers\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"number\": \"GT-21100003\",\n                \"ref\": null,\n                \"date\": \"2021-10-19 15:13:10\"\n            },\n            {\n                \"id\": 1117,\n                \"journal_id\": [\n                    6,\n                    \"Goods Transfers\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"number\": \"GT-21100002\",\n                \"ref\": null,\n                \"date\": \"2021-10-18 12:48:56\"\n            },\n            {\n                \"id\": 1102,\n                \"journal_id\": [\n                    6,\n                    \"Goods Transfers\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"number\": \"GT-21100001\",\n                \"ref\": null,\n                \"date\": \"2021-10-05 18:23:30\"\n            },\n            {\n                \"id\": 1076,\n                \"journal_id\": [\n                    6,\n                    \"Goods Transfers\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"number\": \"GT-21090003\",\n                \"ref\": null,\n                \"date\": \"2021-09-14 15:24:58\"\n            },\n            {\n                \"id\": 1061,\n                \"journal_id\": [\n                    6,\n                    \"Goods Transfers\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"number\": \"GT-21090002\",\n                \"ref\": null,\n                \"date\": \"2021-09-07 10:26:28\"\n            },\n            {\n                \"id\": 1052,\n                \"journal_id\": [\n                    6,\n                    \"Goods Transfers\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"number\": \"GT-21090001\",\n                \"ref\": null,\n                \"date\": \"2021-09-01 11:02:44\"\n            },\n            {\n                \"id\": 1043,\n                \"journal_id\": [\n                    6,\n                    \"Goods Transfers\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"number\": \"GT-21080006\",\n                \"ref\": null,\n                \"date\": \"2021-08-30 11:45:46\"\n            },\n            {\n                \"id\": 1029,\n                \"journal_id\": [\n                    6,\n                    \"Goods Transfers\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"number\": \"GT-21080005\",\n                \"ref\": null,\n                \"date\": \"2021-08-24 16:04:04\"\n            },\n            {\n                \"id\": 985,\n                \"journal_id\": [\n                    6,\n                    \"Goods Transfers\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"number\": \"GT-21080004\",\n                \"ref\": null,\n                \"date\": \"2021-08-20 16:13:10\"\n            },\n            {\n                \"id\": 962,\n                \"journal_id\": [\n                    6,\n                    \"Goods Transfers\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"number\": \"GT-21080003\",\n                \"ref\": null,\n                \"date\": \"2021-08-12 15:44:07\"\n            },\n            {\n                \"id\": 942,\n                \"journal_id\": [\n                    6,\n                    \"Goods Transfers\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"number\": \"GT-21080002\",\n                \"ref\": null,\n                \"date\": \"2021-08-03 17:06:54\"\n            },\n            {\n                \"id\": 939,\n                \"journal_id\": [\n                    6,\n                    \"Goods Transfers\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"number\": \"GT-21080001\",\n                \"ref\": null,\n                \"date\": \"2021-07-29 14:18:20\"\n            },\n            {\n                \"id\": 917,\n                \"journal_id\": [\n                    6,\n                    \"Goods Transfers\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"number\": \"GT-2107-0003\",\n                \"ref\": null,\n                \"date\": \"2021-07-28 11:57:43\"\n            },\n            {\n                \"id\": 908,\n                \"journal_id\": [\n                    6,\n                    \"Goods Transfers\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"number\": \"GT-2107-0002\",\n                \"ref\": null,\n                \"date\": \"2021-07-28 10:10:13\"\n            },\n            {\n                \"id\": 907,\n                \"journal_id\": [\n                    6,\n                    \"Goods Transfers\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"number\": \"GT-2107-0001\",\n                \"ref\": null,\n                \"date\": \"2021-07-27 00:00:00\"\n            }\n        ],\n        17\n    ],\n    \"error\": null,\n    \"id\": 1693211980642,\n    \"dt\": 10\n}"}],"_postman_id":"bf2c134e-d750-42b1-8d87-b18b8bedca2a"}],"id":"831fd71a-a73f-4645-87a7-51534035e631","_postman_id":"831fd71a-a73f-4645-87a7-51534035e631","description":""},{"name":"Goods Issue","item":[{"name":"params/inline.help/search_read","id":"d6a299a2-87a7-454e-9a06-537e62e7da31","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693213291605,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"pick_out\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-28 14:01:11\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"inline.help\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"action\",<strong>\"=\",</strong>\"pick_out\"<strong>]</strong>]<strong>],</strong></p>\n<ol>\n<li><code>\"inline.help\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"inline.help.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"inline.help\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"action\", \"=\", \"pick_out\" ] ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method.</li>\n<li>It's a nested array with a sub-array containing filtering conditions.</li>\n<li>The condition specified <code>[\"action\", \"=\", \"pick_out\"]</code> suggests that you're applying a filter on the \"action\" field. The condition <code>=</code> means \"equals to,\" and the value \"pick_out\" indicates that you're searching for records where the \"action\" field has the value \"pick_out.\"</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"inline.help\" model. It's specifically requesting records where the \"action\" field has the value \"pick_out.\" The request is asking for the values of the specified fields for each matching record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"9281bab4-e187-4b4c-8227-5387eda4f090","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693213291605,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"pick_out\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-28 14:01:11\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 28 Aug 2023 09:06:54 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=gSIRJzfSbW2HuxYdHztLGBV3s78Q1no0zutAvsM8RG3CwOancqOGJEvpbWwq%2FFUSoSlrnauPGyC1Jr3q4uCu7bXlqeqkC8XSrCxl6cZiI31Vak6GriZBc1JfuoaBmO5IOe2ZIoYbeYBr8H1E0Q%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fdb66a04af69999-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693213291605,\n    \"dt\": 20\n}"}],"_postman_id":"d6a299a2-87a7-454e-9a06-537e62e7da31"},{"name":"params/stock.picking/search_read","id":"0be80060-5165-4d83-8a81-79139936613b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693213291612,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.picking\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"type\",\r\n                    \"=\",\r\n                    \"out\"\r\n                ],\r\n                []\r\n            ],\r\n            [\r\n                \"journal_id\",\r\n                \"number\",\r\n                \"date\",\r\n                \"delivery_slot_id\",\r\n                \"contact_id\",\r\n                \"related_id\",\r\n                \"invoice_id\",\r\n                \"ship_address_id\",\r\n                \"ship_method_id\",\r\n                \"ship_tracking\",\r\n                \"state\",\r\n                \"company_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-28 14:01:11\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.picking\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"type\",</strong></strong>\"=\",<strong>**\"out\"<strong>*<em>],<strong><strong>[]</strong></strong>],<strong><strong>[</strong></strong>\"journal_id\",</em>*</strong>\"number\",**</strong>\"date\",<strong><strong>\"delivery_slot_id\",</strong></strong>\"contact_id\",<strong><strong>\"related_id\",</strong></strong>\"invoice_id\",<strong><strong>\"ship_address_id\",</strong></strong>\"ship_method_id\",<strong><strong>\"ship_tracking\",</strong></strong>\"state\",****\"company_id\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"stock.picking\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"stock.picking,\" which is likely related to stock movement and picking operations.</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"stock.picking\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"type\", \"=\", \"out\" ], [] ], [ \"journal_id\", \"number\", \"date\", \"delivery_slot_id\", \"contact_id\", \"related_id\", \"invoice_id\", \"ship_address_id\", \"ship_method_id\", \"ship_tracking\", \"state\", \"company_id\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with two sub-arrays:<ol>\n<li>The first sub-array <code>[ [ \"type\", \"=\", \"out\" ], [] ]</code> contains two filtering conditions:<ol>\n<li>The first condition <code>[ \"type\", \"=\", \"out\" ]</code> suggests that you're filtering records where the \"type\" field is equal to \"out.\"</li>\n<li>The second condition <code>[]</code> is an empty sub-array, indicating no additional filtering conditions. This suggests that you want to retrieve records that match the first condition without further filtering.</li>\n</ol>\n</li>\n<li>The second sub-array lists the names of fields you want to retrieve from the records. These field names correspond to attributes of the \"stock.picking\" model. When the \"search_read\" method is executed, it will return records with values for these specific fields.<ol>\n<li><code>\"journal_id\"</code>: This field represents the unique identifier or reference to the journal associated with the stock picking. Journals are often used to categorize and track different types of transactions.</li>\n<li><code>\"number\"</code>: This field represents the unique identifier or reference number of the stock picking.</li>\n<li><code>\"date\"</code>: This field represents the date when the stock picking occurred.</li>\n<li><code>\"delivery_slot_id\"</code>: This field represents the unique identifier or reference to the delivery slot associated with the stock picking.</li>\n<li><code>\"contact_id\"</code>: This field represents the unique identifier or reference to the contact associated with the stock picking. Contacts can refer to customers, suppliers, or other relevant parties.</li>\n<li><code>\"related_id\"</code>: This field represents the unique identifier or reference to a related record. It could be used to establish a connection with other records in the system.</li>\n<li><code>\"invoice_id\"</code>: This field represents the unique identifier or reference to an invoice associated with the stock picking.</li>\n<li><code>\"ship_address_id\"</code>: This field represents the unique identifier or reference to the shipping address associated with the stock picking.</li>\n<li><code>\"ship_method_id\"</code>: This field represents the unique identifier or reference to the shipping method used for the stock picking.</li>\n<li><code>\"ship_tracking\"</code>: This field represents the tracking information associated with the shipment of the stock.</li>\n<li><code>\"state\"</code>: This field represents the state of the stock picking (e.g., pending, completed).</li>\n<li><code>\"company_id\"</code>: This field represents the unique identifier or reference to the company associated with the stock picking.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"stock.picking\" model. It's requesting records that match the specified filtering conditions and asking for the values of the specified fields for each record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"93e378f0-8dac-46bb-8d81-2fca7719631f","name":"params/stock.picking/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693213291612,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.picking\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"type\",\r\n                    \"=\",\r\n                    \"out\"\r\n                ],\r\n                []\r\n            ],\r\n            [\r\n                \"journal_id\",\r\n                \"number\",\r\n                \"date\",\r\n                \"delivery_slot_id\",\r\n                \"contact_id\",\r\n                \"related_id\",\r\n                \"invoice_id\",\r\n                \"ship_address_id\",\r\n                \"ship_method_id\",\r\n                \"ship_tracking\",\r\n                \"state\",\r\n                \"company_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-28 14:01:11\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 28 Aug 2023 09:12:47 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=t3%2FnxqHHTtsGbLNO%2F6Wffo0%2BQk%2FfnBD%2BF3pGI%2FrfME8y%2BgVO1PitJRErhkGz7NnmWRPAKhM%2FSyCB7lCyqlLCVWysLWkidAkL5ZQlayClKWOrGze0GvhIhUj3RvKPkbaCJHn51ANbmOPS5Cx9JQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fdb6f3caeb39999-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 1335,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": null,\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"test-GI-250823\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2023-08-25 16:20:45\"\n            },\n            {\n                \"id\": 1328,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    949,\n                    \"[C-0848] Techcapital Resources Sdn Bhd (679831-D)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2307-0002\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"account.invoice,3361\",\n                    \"202303005\"\n                ],\n                \"date\": \"2023-07-11 14:59:28\"\n            },\n            {\n                \"id\": 1326,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    465,\n                    \"[C-0383] LTI INDUSTRIES SDN. BHD (887236-U)\",\n                    null\n                ],\n                \"ship_address_id\": [\n                    86,\n                    \"No 5111, Jalan 18/63,Taman Seri Serdang Industrial Park\\nSeri Kembangan, Selangor, 43300\",\n                    null\n                ],\n                \"state\": \"draft\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2307-0001\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2023-07-03 09:15:59\"\n            },\n            {\n                \"id\": 1323,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    832,\n                    \"[C-0736] Sanko Plastic (Malaysia) Sdn Bhd\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2304-0001\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"account.invoice,3363\",\n                    \"202303007\"\n                ],\n                \"date\": \"2023-04-04 09:29:52\"\n            },\n            {\n                \"id\": 1320,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    64,\n                    \"[C-0006] V'asia Cosmetic & Healthcare\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"draft\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2302-0002\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"account.invoice,3124\",\n                    \"202208006\"\n                ],\n                \"date\": \"2023-02-18 22:05:19\"\n            },\n            {\n                \"id\": 1302,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    832,\n                    \"[C-0736] Sanko Plastic (Malaysia) Sdn Bhd\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2301-0001\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2023-01-09 15:54:17\"\n            },\n            {\n                \"id\": 1288,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"draft\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPE8130682873\",\n                \"number\": \"SGI-220909CN6S81PD\",\n                \"invoice_id\": [\n                    3149,\n                    \"SCI-220909CN6S81PD\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,3149\",\n                    \"SCI-220909CN6S81PD\"\n                ],\n                \"date\": \"2022-09-15 12:36:12\"\n            },\n            {\n                \"id\": 1286,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": null,\n                \"ship_address_id\": null,\n                \"state\": \"draft\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2208-0003\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2022-08-27 22:32:47\"\n            },\n            {\n                \"id\": 1285,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": null,\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2208-0002\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2022-08-26 22:19:37\"\n            },\n            {\n                \"id\": 1284,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    702,\n                    \"[C-0611] Cash Sales\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2208-0001\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"account.invoice,3115\",\n                    \"202208002\"\n                ],\n                \"date\": \"2022-08-08 14:41:47\"\n            },\n            {\n                \"id\": 1283,\n                \"ship_method_id\": [\n                    5,\n                    \"[Ship-004] DHL eCommerce\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"5920164911590522\",\n                \"number\": \"GI-220714DWVAYATS\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"account.invoice,3098\",\n                    \"SCI-220714DWVAYATS\"\n                ],\n                \"date\": \"2022-07-15 16:51:32\"\n            },\n            {\n                \"id\": 1282,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"pending\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2206-0036\",\n                \"invoice_id\": [\n                    3091,\n                    \"SCI-22062830NBPNPP\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,3091\",\n                    \"SCI-22062830NBPNPP\"\n                ],\n                \"date\": \"2022-06-29 15:58:27\"\n            },\n            {\n                \"id\": 1255,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    465,\n                    \"[C-0383] LTI INDUSTRIES SDN. BHD (887236-U)\",\n                    null\n                ],\n                \"ship_address_id\": [\n                    86,\n                    \"No 5111, Jalan 18/63,Taman Seri Serdang Industrial Park\\nSeri Kembangan, Selangor, 43300\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2206-0019\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2022-06-21 17:51:51\"\n            },\n            {\n                \"id\": 1273,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-220620BFY5TRNG\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"account.invoice,3088\",\n                    \"SCI-220620BFY5TRNG\"\n                ],\n                \"date\": \"2022-06-20 16:53:25\"\n            },\n            {\n                \"id\": 1271,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": null,\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2206-0032\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2022-06-20 14:02:24\"\n            },\n            {\n                \"id\": 1252,\n                \"ship_method_id\": [\n                    9,\n                    \"[Ship-008] Shopee Xpress (West Malaysia)\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPXMY029103355026\",\n                \"number\": \"GI-220615UCXP2F1H\",\n                \"invoice_id\": [\n                    3067,\n                    \"ZCI-220615UCXP2F1H\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-06-15 00:00:00\"\n            },\n            {\n                \"id\": 1251,\n                \"ship_method_id\": [\n                    5,\n                    \"[Ship-004] DHL eCommerce\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"5920191569177712\",\n                \"number\": \"GI-220610GMYS7Q17\",\n                \"invoice_id\": [\n                    3063,\n                    \"ZCI-220610GMYS7Q17\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-06-10 00:00:00\"\n            },\n            {\n                \"id\": 1229,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2205241NTKUMES\",\n                \"invoice_id\": [\n                    3043,\n                    \"ZCI-2205241NTKUMES\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,3043\",\n                    \"ZCI-2205241NTKUMES\"\n                ],\n                \"date\": \"2022-05-24 00:00:00\"\n            },\n            {\n                \"id\": 1228,\n                \"ship_method_id\": [\n                    9,\n                    \"[Ship-008] Shopee Xpress (West Malaysia)\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPXMY023112301745\",\n                \"number\": \"GI-220522U39S586D\",\n                \"invoice_id\": [\n                    3033,\n                    \"ZCI-220522U39S586D\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-05-22 00:00:00\"\n            },\n            {\n                \"id\": 1227,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPE0154157707\",\n                \"number\": \"GI-220522T7TKG6QY\",\n                \"invoice_id\": [\n                    3029,\n                    \"ZCI-220522T7TKG6QY\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-05-22 00:00:00\"\n            },\n            {\n                \"id\": 1226,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPE0469030264\",\n                \"number\": \"GI-220522ST93D9SF\",\n                \"invoice_id\": [\n                    3030,\n                    \"ZCI-220522ST93D9SF\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-05-22 00:00:00\"\n            },\n            {\n                \"id\": 1221,\n                \"ship_method_id\": [\n                    5,\n                    \"[Ship-004] DHL eCommerce\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"5920166421849512\",\n                \"number\": \"GI-220520MQPEX01D\",\n                \"invoice_id\": [\n                    3027,\n                    \"ZCI-220520MQPEX01D\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-05-20 00:00:00\"\n            },\n            {\n                \"id\": 1222,\n                \"ship_method_id\": [\n                    7,\n                    \"[Ship-006] Others (East Malaysia)\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-220519K1AS04VB\",\n                \"invoice_id\": [\n                    3026,\n                    \"ZCI-220519K1AS04VB\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-05-19 00:00:00\"\n            },\n            {\n                \"id\": 1220,\n                \"ship_method_id\": [\n                    8,\n                    \"[Ship-007] Others (West Malaysia)\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"7122052521020322DHL\",\n                \"number\": \"GI-220511V8HFQNH7\",\n                \"invoice_id\": [\n                    3022,\n                    \"ZCI-220511V8HFQNH7\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-05-11 00:00:00\"\n            },\n            {\n                \"id\": 1219,\n                \"ship_method_id\": [\n                    8,\n                    \"[Ship-007] Others (West Malaysia)\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2205011P1RHQR0\",\n                \"invoice_id\": [\n                    3019,\n                    \"ZCI-2205011P1RHQR0\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-05-01 00:00:00\"\n            },\n            {\n                \"id\": 1218,\n                \"ship_method_id\": [\n                    8,\n                    \"[Ship-007] Others (West Malaysia)\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"7222042995982472 DHL\",\n                \"number\": \"GI-220426KXE8UJB5\",\n                \"invoice_id\": [\n                    3017,\n                    \"ZCI-220426KXE8UJB5\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-04-26 00:00:00\"\n            },\n            {\n                \"id\": 1213,\n                \"ship_method_id\": [\n                    8,\n                    \"[Ship-007] Others (West Malaysia)\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-220409576FCHN9\",\n                \"invoice_id\": [\n                    3008,\n                    \"ZCI-220409576FCHN9\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-04-09 00:00:00\"\n            },\n            {\n                \"id\": 1206,\n                \"ship_method_id\": [\n                    5,\n                    \"[Ship-004] DHL eCommerce\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"5920171261163312\",\n                \"number\": \"GI-22031890X9GH0R\",\n                \"invoice_id\": [\n                    2976,\n                    \"ZCI-22031890X9GH0R\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-03-18 00:00:00\"\n            },\n            {\n                \"id\": 1205,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPE2396485684\",\n                \"number\": \"GI-2203041MVR3HH4\",\n                \"invoice_id\": [\n                    2973,\n                    \"ZCI-2203041MVR3HH4\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-03-04 00:00:00\"\n            },\n            {\n                \"id\": 1204,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-220228NUX66TPY\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"account.invoice,2972\",\n                    \"ZCI-220228NUX66TPY\"\n                ],\n                \"date\": \"2022-03-02 13:44:30\"\n            },\n            {\n                \"id\": 1202,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    147,\n                    \"[C-0087] Ruby Tay\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2203-0001\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2022-03-01 10:28:18\"\n            },\n            {\n                \"id\": 1203,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPE9030782305\",\n                \"number\": \"GI-220228N6JE07UA\",\n                \"invoice_id\": [\n                    2970,\n                    \"ZCI-220228N6JE07UA\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-02-28 00:00:00\"\n            },\n            {\n                \"id\": 1199,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"approved\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPE6464487978\",\n                \"number\": \"GI-220217PAFU9M8A\",\n                \"invoice_id\": [\n                    2966,\n                    \"ZCI-220217PAFU9M8A\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-02-17 00:00:00\"\n            },\n            {\n                \"id\": 1197,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    658,\n                    \"[C-0568] MMC International Fulfilment Center\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2202-0002\",\n                \"invoice_id\": [\n                    2963,\n                    \"202202003\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,2963\",\n                    \"202202003\"\n                ],\n                \"date\": \"2022-02-16 10:02:06\"\n            },\n            {\n                \"id\": 1198,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPE5380143752\",\n                \"number\": \"GI-220216JR5GTS85\",\n                \"invoice_id\": [\n                    2964,\n                    \"ZCI-220216JR5GTS85\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-02-16 00:00:00\"\n            },\n            {\n                \"id\": 1196,\n                \"ship_method_id\": [\n                    5,\n                    \"[Ship-004] DHL eCommerce\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"5920179240368682\",\n                \"number\": \"GI-220214F7VS6HR8\",\n                \"invoice_id\": [\n                    2960,\n                    \"ZCI-220214F7VS6HR8\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-02-14 00:00:00\"\n            },\n            {\n                \"id\": 1195,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPE5934666205\",\n                \"number\": \"GI-220214DME9W5JW\",\n                \"invoice_id\": [\n                    2958,\n                    \"ZCI-220214DME9W5JW\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-02-14 00:00:00\"\n            },\n            {\n                \"id\": 1194,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPE4085082992\",\n                \"number\": \"GI-220212ABB9DVQK\",\n                \"invoice_id\": [\n                    2959,\n                    \"ZCI-220212ABB9DVQK\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-02-12 00:00:00\"\n            },\n            {\n                \"id\": 1231,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"approved\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2202104WA0MR7F\",\n                \"invoice_id\": [\n                    3041,\n                    \"ZCI-2202104WA0MR7F\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,3041\",\n                    \"ZCI-2202104WA0MR7F\"\n                ],\n                \"date\": \"2022-02-10 00:00:00\"\n            },\n            {\n                \"id\": 1230,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2202093FW4DWSV\",\n                \"invoice_id\": [\n                    3042,\n                    \"ZCI-2202093FW4DWSV\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,3042\",\n                    \"ZCI-2202093FW4DWSV\"\n                ],\n                \"date\": \"2022-02-09 00:00:00\"\n            },\n            {\n                \"id\": 1192,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    86,\n                    \"[C-0027] Diyou Fibre Sdn Bhd (465406-D)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2202-0001\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"account.invoice,2936\",\n                    \"202201015\"\n                ],\n                \"date\": \"2022-02-07 11:54:33\"\n            },\n            {\n                \"id\": 1193,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPE1415410453\",\n                \"number\": \"GI-220206S2FU00NB\",\n                \"invoice_id\": [\n                    2953,\n                    \"ZCI-220206S2FU00NB\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-02-06 00:00:00\"\n            },\n            {\n                \"id\": 1191,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"approved\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPE6192150127\",\n                \"number\": \"GI-220203GW7M24YQ\",\n                \"invoice_id\": [\n                    2950,\n                    \"ZCI-220203GW7M24YQ\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-02-03 00:00:00\"\n            },\n            {\n                \"id\": 1190,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-220126S14FGK0U\",\n                \"invoice_id\": [\n                    2937,\n                    \"ZCI-220126S14FGK0U\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-01-26 00:00:00\"\n            },\n            {\n                \"id\": 1189,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-220125PADEHHQA\",\n                \"invoice_id\": [\n                    2938,\n                    \"ZCI-220125PADEHHQA\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-01-25 00:00:00\"\n            },\n            {\n                \"id\": 1188,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"approved\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-220122FG5EWUX8\",\n                \"invoice_id\": [\n                    2939,\n                    \"ZCI-220122FG5EWUX8\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-01-22 00:00:00\"\n            },\n            {\n                \"id\": 1186,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": null,\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2201-0002\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2022-01-20 09:22:34\"\n            },\n            {\n                \"id\": 1187,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2201209JD1074S\",\n                \"invoice_id\": [\n                    2933,\n                    \"ZCI-2201209JD1074S\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-01-20 00:00:00\"\n            },\n            {\n                \"id\": 1185,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    702,\n                    \"[C-0611] Cash Sales\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2201-0001\",\n                \"invoice_id\": null,\n                \"related_id\": null,\n                \"date\": \"2022-01-11 09:30:47\"\n            },\n            {\n                \"id\": 1184,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPE0213472768\",\n                \"number\": \"GI-220109CB80JD95\",\n                \"invoice_id\": [\n                    2927,\n                    \"ZCI-220109CB80JD95\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-01-09 00:00:00\"\n            },\n            {\n                \"id\": 1182,\n                \"ship_method_id\": [\n                    5,\n                    \"[Ship-004] DHL eCommerce\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"5920140228348872\",\n                \"number\": \"GI-220109BMB5QHVC\",\n                \"invoice_id\": [\n                    2926,\n                    \"ZCI-220109BMB5QHVC\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-01-09 00:00:00\"\n            },\n            {\n                \"id\": 1183,\n                \"ship_method_id\": [\n                    5,\n                    \"[Ship-004] DHL eCommerce\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"5920192946553362\",\n                \"number\": \"GI-220108A2WCGPWD\",\n                \"invoice_id\": [\n                    2928,\n                    \"ZCI-220108A2WCGPWD\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-01-08 00:00:00\"\n            },\n            {\n                \"id\": 1181,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPE4920975758\",\n                \"number\": \"GI-220104VJ4BQREF\",\n                \"invoice_id\": [\n                    2921,\n                    \"ZCI-220104VJ4BQREF\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-01-04 00:00:00\"\n            },\n            {\n                \"id\": 1180,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"5920198850041122\",\n                \"number\": \"GI-220104UYBQCRBV\",\n                \"invoice_id\": [\n                    2922,\n                    \"ZCI-220104UYBQCRBV\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2022-01-04 00:00:00\"\n            },\n            {\n                \"id\": 1177,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211231K1NXKPHT\",\n                \"invoice_id\": [\n                    2912,\n                    \"ZCI-211231K1NXKPHT\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-12-31 00:00:00\"\n            },\n            {\n                \"id\": 1169,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"5920108833398941\",\n                \"number\": \"GI-211230G8PQ71T8\",\n                \"invoice_id\": [\n                    2906,\n                    \"ZCI-211230G8PQ71T8\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-12-30 00:00:00\"\n            },\n            {\n                \"id\": 1166,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"approved\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2112278JNCPQS3\",\n                \"invoice_id\": [\n                    2902,\n                    \"ZCI-2112278JNCPQS3\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-12-27 00:00:00\"\n            },\n            {\n                \"id\": 1165,\n                \"ship_method_id\": [\n                    5,\n                    \"[Ship-004] DHL eCommerce\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"5920131354284271\",\n                \"number\": \"GI-2112265MJ2UKN9\",\n                \"invoice_id\": [\n                    2900,\n                    \"ZCI-2112265MJ2UKN9\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-12-26 00:00:00\"\n            },\n            {\n                \"id\": 1164,\n                \"ship_method_id\": [\n                    7,\n                    \"[Ship-006] Others (East Malaysia)\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"ENB148619728MY\",\n                \"number\": \"GI-2112251SER1C6Y\",\n                \"invoice_id\": [\n                    2901,\n                    \"ZCI-2112251SER1C6Y\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-12-25 00:00:00\"\n            },\n            {\n                \"id\": 1163,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPE2929718730\",\n                \"number\": \"GI-211218E3VG7NSJ\",\n                \"invoice_id\": [\n                    2892,\n                    \"ZCI-211218E3VG7NSJ\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-12-18 00:00:00\"\n            },\n            {\n                \"id\": 1162,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPE2175006101\",\n                \"number\": \"GI-21121572T47TGU\",\n                \"invoice_id\": [\n                    2891,\n                    \"ZCI-21121572T47TGU\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-12-15 00:00:00\"\n            },\n            {\n                \"id\": 1161,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPE0816159441\",\n                \"number\": \"GI-2112156PNXP8YP\",\n                \"invoice_id\": [\n                    2889,\n                    \"ZCI-2112156PNXP8YP\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-12-15 00:00:00\"\n            },\n            {\n                \"id\": 1160,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPE0398741331\",\n                \"number\": \"GI-211214567H8J2K\",\n                \"invoice_id\": [\n                    2890,\n                    \"ZCI-211214567H8J2K\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-12-14 00:00:00\"\n            },\n            {\n                \"id\": 1159,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPE6358410437\",\n                \"number\": \"GI-21121328RB8JVF\",\n                \"invoice_id\": [\n                    2888,\n                    \"ZCI-21121328RB8JVF\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-12-13 00:00:00\"\n            },\n            {\n                \"id\": 1157,\n                \"ship_method_id\": [\n                    5,\n                    \"[Ship-004] DHL eCommerce\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"5920180397792091\",\n                \"number\": \"GI-211212V8HFNSSE\",\n                \"invoice_id\": [\n                    2886,\n                    \"ZCI-211212V8HFNSSE\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-12-12 00:00:00\"\n            },\n            {\n                \"id\": 1155,\n                \"ship_method_id\": [\n                    5,\n                    \"[Ship-004] DHL eCommerce\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"5920158621471751\",\n                \"number\": \"GI-211211TAJD61W1\",\n                \"invoice_id\": [\n                    2884,\n                    \"ZCI-211211TAJD61W1\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-12-11 00:00:00\"\n            },\n            {\n                \"id\": 1156,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPE2627580648\",\n                \"number\": \"GI-211210R8FM5CJV\",\n                \"invoice_id\": [\n                    2885,\n                    \"ZCI-211210R8FM5CJV\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-12-10 00:00:00\"\n            },\n            {\n                \"id\": 1158,\n                \"ship_method_id\": [\n                    6,\n                    \"[Ship-005] Ninja Van\",\n                    null\n                ],\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": \"SPE9615771125\",\n                \"number\": \"GI-211210QPN9NN3H\",\n                \"invoice_id\": [\n                    2887,\n                    \"ZCI-211210QPN9NN3H\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-12-10 00:00:00\"\n            },\n            {\n                \"id\": 1154,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211209NEJK8XWS\",\n                \"invoice_id\": [\n                    2883,\n                    \"ZCI-211209NEJK8XWS\",\n                    null\n                ],\n                \"related_id\": [\n                    \"account.invoice,2883\",\n                    \"ZCI-211209NEJK8XWS\"\n                ],\n                \"date\": \"2021-12-09 00:00:00\"\n            },\n            {\n                \"id\": 1153,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    702,\n                    \"[C-0611] Cash Sales\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2112-0002\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"account.invoice,2879\",\n                    \"202112002\"\n                ],\n                \"date\": \"2021-12-08 11:39:55\"\n            },\n            {\n                \"id\": 1151,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211205AF38K5K8\",\n                \"invoice_id\": [\n                    2873,\n                    \"ZCI-211205AF38K5K8\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-12-05 00:00:00\"\n            },\n            {\n                \"id\": 1150,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    666,\n                    \"[C-0576] Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2112-0001\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"account.invoice,2859\",\n                    \"202111003\"\n                ],\n                \"date\": \"2021-12-02 17:03:42\"\n            },\n            {\n                \"id\": 1149,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2112011DDMHTYH\",\n                \"invoice_id\": [\n                    2870,\n                    \"ZCI-2112011DDMHTYH\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-12-01 00:00:00\"\n            },\n            {\n                \"id\": 1147,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211127N11UB1JQ\",\n                \"invoice_id\": [\n                    2861,\n                    \"ZCI-211127N11UB1JQ\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-11-29 14:10:20\"\n            },\n            {\n                \"id\": 1146,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211129RK0FVN82\",\n                \"invoice_id\": [\n                    2860,\n                    \"ZCI-211129RK0FVN82\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-11-29 00:00:00\"\n            },\n            {\n                \"id\": 1145,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2111-0003\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"account.invoice,2854\",\n                    \"ZCI-211117RQ5REDKX\"\n                ],\n                \"date\": \"2021-11-18 16:11:10\"\n            },\n            {\n                \"id\": 1148,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211118UKP6PHJ6\",\n                \"invoice_id\": null,\n                \"related_id\": [\n                    \"account.invoice,2869\",\n                    \"ZCI-211118UKP6PHJ6\"\n                ],\n                \"date\": \"2021-11-18 00:00:00\"\n            },\n            {\n                \"id\": 1152,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211118TB7XJN04\",\n                \"invoice_id\": [\n                    2874,\n                    \"ZCI-211118TB7XJN04\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-11-18 00:00:00\"\n            },\n            {\n                \"id\": 1143,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211114GBMDJ19S\",\n                \"invoice_id\": [\n                    2849,\n                    \"ZCI-211114GBMDJ19S\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-11-14 00:00:00\"\n            },\n            {\n                \"id\": 1142,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211114G5HM4MM8\",\n                \"invoice_id\": [\n                    2850,\n                    \"ZCI-211114G5HM4MM8\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-11-14 00:00:00\"\n            },\n            {\n                \"id\": 1141,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211112B5MMCQ7J\",\n                \"invoice_id\": [\n                    2846,\n                    \"ZCI-211112B5MMCQ7J\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-11-12 00:00:00\"\n            },\n            {\n                \"id\": 1139,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2111118SX8VU3F\",\n                \"invoice_id\": [\n                    2848,\n                    \"ZCI-2111118SX8VU3F\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-11-11 00:00:00\"\n            },\n            {\n                \"id\": 1140,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"approved\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2111118H826K7F\",\n                \"invoice_id\": [\n                    2847,\n                    \"ZCI-2111118H826K7F\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-11-11 00:00:00\"\n            },\n            {\n                \"id\": 1135,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-21110815BD7VXC\",\n                \"invoice_id\": [\n                    2838,\n                    \"ZCI-21110815BD7VXC\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-11-08 00:00:00\"\n            },\n            {\n                \"id\": 1133,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    702,\n                    \"[C-0611] Cash Sales\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2111-0002\",\n                \"invoice_id\": [\n                    2833,\n                    \"202111001\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-11-03 15:27:44\"\n            },\n            {\n                \"id\": 1134,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211103JKW84GAV\",\n                \"invoice_id\": [\n                    2835,\n                    \"ZCI-211103JKW84GAV\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-11-03 00:00:00\"\n            },\n            {\n                \"id\": 1131,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211102G2C8UVTG\",\n                \"invoice_id\": [\n                    2832,\n                    \"ZCI-211102G2C8UVTG\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-11-02 00:00:00\"\n            },\n            {\n                \"id\": 1130,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211101DJN1C6TV\",\n                \"invoice_id\": [\n                    2829,\n                    \"ZCI-211101DJN1C6TV\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-11-01 00:00:00\"\n            },\n            {\n                \"id\": 1128,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211027142X1A9V\",\n                \"invoice_id\": [\n                    2822,\n                    \"ZCI-211027142X1A9V\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-10-27 00:00:00\"\n            },\n            {\n                \"id\": 1127,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211026U7U4W7CU\",\n                \"invoice_id\": [\n                    2820,\n                    \"ZCI-211026U7U4W7CU\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-10-26 00:00:00\"\n            },\n            {\n                \"id\": 1125,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": [\n                    121,\n                    \"No.88, Jalan Besar\\nTanjong Karang, Selangor, 45500\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211025S0FMJM6J\",\n                \"invoice_id\": [\n                    2816,\n                    \"ZCI-211025S0FMJM6J\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-10-25 00:00:00\"\n            },\n            {\n                \"id\": 1126,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211025QTV7WSU5\",\n                \"invoice_id\": [\n                    2817,\n                    \"ZCI-211025QTV7WSU5\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-10-25 00:00:00\"\n            },\n            {\n                \"id\": 1124,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211023KKAGY08W\",\n                \"invoice_id\": [\n                    2813,\n                    \"ZCI-211023KKAGY08W\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-10-23 00:00:00\"\n            },\n            {\n                \"id\": 1129,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211022H1V3D5VQ\",\n                \"invoice_id\": [\n                    2823,\n                    \"ZCI-211022H1V3D5VQ\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-10-22 00:00:00\"\n            },\n            {\n                \"id\": 1122,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211021E22U0F1W\",\n                \"invoice_id\": [\n                    2808,\n                    \"ZCI-211021E22U0F1W\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-10-21 00:00:00\"\n            },\n            {\n                \"id\": 1119,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211020B7NERWUD\",\n                \"invoice_id\": [\n                    2805,\n                    \"ZCI-211020B7NERWUD\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-10-20 00:00:00\"\n            },\n            {\n                \"id\": 1121,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2110199WTBUD91\",\n                \"invoice_id\": [\n                    2806,\n                    \"ZCI-2110199WTBUD91\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-10-19 00:00:00\"\n            },\n            {\n                \"id\": 1120,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2110187RWYRXDJ\",\n                \"invoice_id\": [\n                    2807,\n                    \"ZCI-2110187RWYRXDJ\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-10-18 00:00:00\"\n            },\n            {\n                \"id\": 1116,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    614,\n                    \"[C-0528] Shopee (Zeox)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-211016233MT246\",\n                \"invoice_id\": [\n                    2804,\n                    \"ZCI-211016233MT246\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-10-16 00:00:00\"\n            },\n            {\n                \"id\": 1115,\n                \"ship_method_id\": null,\n                \"delivery_slot_id\": null,\n                \"journal_id\": [\n                    4,\n                    \"Goods Issues\",\n                    null\n                ],\n                \"contact_id\": [\n                    616,\n                    \"[C-0529] Shopee (Little BeeBoo)\",\n                    null\n                ],\n                \"ship_address_id\": null,\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"ship_tracking\": null,\n                \"number\": \"GI-2110161H9HT25C\",\n                \"invoice_id\": [\n                    2803,\n                    \"ZCI-2110161H9HT25C\",\n                    null\n                ],\n                \"related_id\": null,\n                \"date\": \"2021-10-16 00:00:00\"\n            }\n        ],\n        750\n    ],\n    \"error\": null,\n    \"id\": 1693213291612,\n    \"dt\": 57\n}"}],"_postman_id":"0be80060-5165-4d83-8a81-79139936613b"}],"id":"0810c6ca-0639-4289-8f7d-f9779fe1c731","_postman_id":"0810c6ca-0639-4289-8f7d-f9779fe1c731","description":""},{"name":"Validate","item":[{"name":"params/page.layout/search_read","id":"548d1e25-2646-45dd-91f9-8c6d1a2794f2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693282190020,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"page.layout\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"path\",\r\n                    \"=\",\r\n                    \"01_zeek_draft_gi\"\r\n                ]\r\n            ],\r\n            [\r\n                \"layout\",\r\n                \"code\",\r\n                \"code_trans\",\r\n                \"styles\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-29 09:09:16\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"page.layout\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"path\",</strong></strong>\"=\",<strong>**\"01_zeek_draft_gi\"<strong><strong>]</strong></strong>],<strong><strong>[</strong></strong>\"layout\",**</strong>\"code\",<strong><strong>\"code_trans\",</strong></strong>\"styles\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"page.layout\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"page.layout.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"page.layout\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"path\", \"=\", \"01_zeek_draft_gi\" ] ], [ \"layout\", \"code\", \"code_trans\", \"styles\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with two sub-arrays:<ol>\n<li>The first sub-array <code>[ [ \"path\", \"=\", \"01_zeek_draft_gi\" ] ]</code> contains a filtering condition:<ol>\n<li><code>\"path\"</code>: This is the field name you are filtering on. It suggests that you want to filter records based on the value of the \"path\" field.</li>\n<li><code>\"=\"</code>: This is the comparison operator used in the filtering condition. It indicates that you want to match records where the value of the \"path\" field is equal to the following value.</li>\n<li><code>\"01_zeek_draft_gi\"</code>: This is the value you are comparing against. It specifies the value that you want the \"path\" field to be equal to in order for a record to be considered a match.</li>\n</ol>\n</li>\n<li>The second sub-array lists the names of fields you want to retrieve from the records. These field names correspond to attributes of the \"page.layout\" model. When the \"search_read\" method is executed, it will return records with values for these specific fields.<ol>\n<li><code>\"layout\"</code>: This field represents the layout configuration or template associated with a page layout. It defines how elements are arranged and presented on the page.</li>\n<li><code>\"code\"</code>: This field represents a code associated with the page layout. It could be used for internal identification or reference.</li>\n<li><code>\"code_trans\"</code>: This field represents translated versions of the layout's code. It's common to provide translations for codes in multilingual applications.</li>\n<li><code>\"styles\"</code>: This field represents the styling information applied to the page layout's elements. Styles could include CSS (Cascading Style Sheets) or other formatting instructions.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"page.layout\" model. It's requesting records that match the specified filtering conditions and asking for the values of the specified fields for each record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"8e04ec51-271d-4744-bd07-409a1989a08b","name":"params/page.layout/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693282190020,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"page.layout\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"path\",\r\n                    \"=\",\r\n                    \"01_zeek_draft_gi\"\r\n                ]\r\n            ],\r\n            [\r\n                \"layout\",\r\n                \"code\",\r\n                \"code_trans\",\r\n                \"styles\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-29 09:09:16\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Aug 2023 04:12:17 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=4PsGqpwQdsAOasqZnpZYDOOHVkZfwxVc3cX0JAiBHrAZeiOjm8BDkHnRJ%2FXWTATqsJTFgwwhzmuSVPpvgcCKqLs1hcmxO0K5rF4%2FFGcQYVkvlqzURMqWx9nSvUECobYmeGCMtCNLDBfj6DcXSA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fe1f46cccc6de47-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"id\": 469,\n            \"layout\": \"{\\\"elements\\\":[{\\\"type\\\":\\\"box\\\",\\\"children\\\":[{\\\"type\\\":\\\"box\\\",\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"Please choose a Goods Issue\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"font_size\\\":20,\\\"align\\\":\\\"center\\\",\\\"margin_bottom\\\":30}],\\\"min_height\\\":50},{\\\"type\\\":\\\"table\\\",\\\"elements\\\":[[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"Number\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"font_size\\\":18},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"Date\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"font_size\\\":18},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"Contact\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"font_size\\\":18},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"Invoice\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"font_size\\\":18},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"Invoice\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]}}],[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{gi_number}\\\\n\\\"}]},\\\"on_click\\\":\\\"select_gi(_cid)\\\",\\\"name\\\":\\\"gi_number\\\",\\\"font_size\\\":18},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{date}\\\\n\\\"}]},\\\"font_size\\\":18},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{contact_id}\\\\n\\\"}]},\\\"font_size\\\":18},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{invoice_id}\\\\n\\\"}]},\\\"font_size\\\":18},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{invoice_id}\\\\n\\\"}]}}]],\\\"num_cols\\\":4,\\\"_col_widths\\\":\\\"[1,1,1,1]\\\",\\\"col_widths\\\":[1,1,1,1],\\\"field_rows\\\":\\\"lines\\\",\\\"table_bordered\\\":true,\\\"table_striped\\\":true,\\\"table_hover\\\":true,\\\"on_click\\\":\\\"\\\",\\\"margin_left\\\":50,\\\"margin_right\\\":50,\\\"margin_top\\\":50}],\\\"min_height\\\":50,\\\"padding_top\\\":30,\\\"padding_left\\\":10,\\\"padding_right\\\":10,\\\"padding_bottom\\\":30}]}\",\n            \"code_trans\": null,\n            \"code\": \"async function on_load(){ \\n  var cond = [[\\\"type\\\",\\\"=\\\",\\\"out\\\"],[\\\"state\\\",\\\"=\\\",\\\"draft\\\"]];\\n  var fields = [\\\"number\\\",\\\"date\\\",\\\"contact_id\\\",\\\"invoice_id\\\"];\\n  var draft_gi = await rpc_execute(\\\"stock.picking\\\",\\\"search_read\\\",[cond,fields]);\\n  console.log(\\\"draft_gi: \\\",draft_gi);\\n  console.log(JSON.stringify(draft_gi));\\n\\n  var array = [];\\n\\n  for(var i=0; i\\n<draft_gi.length; i++){\\n    if(draft_gi[i].contact_id != null)\\n      var contact_name = draft_gi[i].contact_id[1];\\n    else\\n      var contact_name =\\\"-\\\";\\n\\n    if(draft_gi[i].invoice_id != null)\\n      var invoice_number = draft_gi[i].invoice_id[1];\\n    else\\n      var invoice_number =\\\"-\\\";\\n\\n\\n    array[i]={\\n      _cid: _.uniqueId(),\\n      gi_number:draft_gi[i].number,\\n      date:draft_gi[i].date,\\n      contact_id:contact_name,\\n      invoice_id:invoice_number,\\n    };\\n  }\\n\\n  set_data({\\n    lines:array.reverse(),\\n  }); \\n}\\n\\nasync function select_gi(_cid){\\n  console.log(_cid);\\n  var data = get_data();\\n  var lines = data.lines;\\n  var gi_number = data.gi_number;\\n  var selected_line_id = _cid;\\n\\n  for(var i=0; i\\n    <lines.length; i++){\\n    if(lines[i]._cid == selected_line_id){\\n      var selected_gi = lines[i].gi_number;\\n    }  \\n  }\\n  //alert(\\\"GI selected: \\\"+selected_gi);\\n  var pick_id = await rpc_execute(\\\"stock.picking\\\",\\\"search\\\",[[[\\\"number\\\",\\\"=\\\",selected_gi]]]);\\n  //alert(pick_id);\\n  \\n  redirect_page(\\\"02_zeek_confirm_validate\\\",{pick_id:pick_id[0]});\\n}\",\n            \"styles\": null\n        }\n    ],\n    \"error\": null,\n    \"id\": 1693282190020,\n    \"dt\": 31\n}"}],"_postman_id":"548d1e25-2646-45dd-91f9-8c6d1a2794f2"},{"name":"params/stock.picking/search_read","id":"0e9fc31d-260c-47c6-ae37-403af8d2cc00","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693282192459,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.picking\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"type\",\r\n                    \"=\",\r\n                    \"out\"\r\n                ],\r\n                [\r\n                    \"state\",\r\n                    \"=\",\r\n                    \"draft\"\r\n                ]\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"date\",\r\n                \"contact_id\",\r\n                \"invoice_id\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-29 09:09:50\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.picking\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"type\",</strong></strong>\"=\",<strong>**\"out\"<strong><strong>],<strong><strong>[</strong></strong>\"state\",</strong></strong>\"=\",**</strong>\"draft\"<strong><strong>]</strong></strong>],<strong><strong>[</strong></strong>\"number\",<strong><strong>\"date\",</strong></strong>\"contact_id\",****\"invoice_id\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"stock.picking\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"stock.picking,\" which is likely related to stock movement and picking operations.</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"stock.picking\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"type\", \"=\", \"out\" ], [ \"state\", \"=\", \"draft\" ] ], [ \"number\", \"date\", \"contact_id\", \"invoice_id\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method.</li>\n<li>It's a nested array with two sub-arrays:<ol>\n<li>Outer Array: The outer array contains two sub-arrays: the filtering conditions sub-array and the fields sub-array.</li>\n<li>Filtering Conditions Sub-Array <code>[ [ \"type\", \"=\", \"out\" ], [ \"state\", \"=\", \"draft\" ] ]</code>: This sub-array contains two sets of filtering conditions. The first set of conditions <code>[ \"type\", \"=\", \"out\" ]</code> suggests that you're filtering records where the \"type\" field is equal to \"out.\" This indicates an outbound operation. The second set of conditions <code>[ \"state\", \"=\", \"draft\" ]</code> suggests that you're filtering records where the \"state\" field is equal to \"draft.\"</li>\n<li>Fields Sub-Array <code>[ \"number\", \"date\", \"contact_id\", \"invoice_id\" ]</code>: This sub-array lists the names of fields you want to retrieve from the records that match the filtering conditions. The field names correspond to attributes of the \"stock.picking\" model or dataset. These attributes include:<ol>\n<li><code>\"number\"</code>: The unique identifier or reference number of the stock picking.</li>\n<li><code>\"date\"</code>: The date when the stock picking occurred.</li>\n<li><code>\"contact_id\"</code>: The unique identifier or reference to the contact associated with the stock picking.</li>\n<li><code>\"invoice_id\"</code>: The unique identifier or reference to an invoice associated with the stock picking.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"stock.picking\" model. It's requesting records that match the specified filtering conditions and asking for the values of the specified fields for each record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"7dea000b-20c2-4d1a-99a1-59e696e10c19","name":"params/stock.picking/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693282192459,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.picking\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"type\",\r\n                    \"=\",\r\n                    \"out\"\r\n                ],\r\n                [\r\n                    \"state\",\r\n                    \"=\",\r\n                    \"draft\"\r\n                ]\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"date\",\r\n                \"contact_id\",\r\n                \"invoice_id\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-29 09:09:50\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Aug 2023 04:40:13 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=fbGmt%2FlYv5TjPkPmVfx%2FwbfSE99s4BDe307ZAHki7Kj7b%2B3CrT7%2BAcM1SY%2FysBXYDlTRyqjOxCLgonFp1hUURe5ACuw5RVGkzzlfxXEbae5vGiKLMAuZF6ZUBR8NCFLAjoRrRmDXVOt8hoeIAQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fe21d5a1c14d1e0-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"id\": 1336,\n            \"date\": \"2023-08-28 10:09:07\",\n            \"number\": \"GI-2308-0001\",\n            \"invoice_id\": null,\n            \"contact_id\": [\n                832,\n                \"[C-0736] Sanko Plastic (Malaysia) Sdn Bhd\",\n                null\n            ]\n        },\n        {\n            \"id\": 1326,\n            \"date\": \"2023-07-03 09:15:59\",\n            \"number\": \"GI-2307-0001\",\n            \"invoice_id\": null,\n            \"contact_id\": [\n                465,\n                \"[C-0383] LTI INDUSTRIES SDN. BHD (887236-U)\",\n                null\n            ]\n        },\n        {\n            \"id\": 1320,\n            \"date\": \"2023-02-18 22:05:19\",\n            \"number\": \"GI-2302-0002\",\n            \"invoice_id\": null,\n            \"contact_id\": [\n                64,\n                \"[C-0006] V'asia Cosmetic & Healthcare\",\n                null\n            ]\n        },\n        {\n            \"id\": 1288,\n            \"date\": \"2022-09-15 12:36:12\",\n            \"number\": \"SGI-220909CN6S81PD\",\n            \"invoice_id\": [\n                3149,\n                \"SCI-220909CN6S81PD\",\n                null\n            ],\n            \"contact_id\": [\n                616,\n                \"[C-0529] Shopee (Little BeeBoo)\",\n                null\n            ]\n        },\n        {\n            \"id\": 1286,\n            \"date\": \"2022-08-27 22:32:47\",\n            \"number\": \"GI-2208-0003\",\n            \"invoice_id\": null,\n            \"contact_id\": null\n        }\n    ],\n    \"error\": null,\n    \"id\": 1693282192459,\n    \"dt\": 36\n}"}],"_postman_id":"0e9fc31d-260c-47c6-ae37-403af8d2cc00"}],"id":"7e809588-d80e-4025-bc6f-25a6719ccb9c","_postman_id":"7e809588-d80e-4025-bc6f-25a6719ccb9c","description":""},{"name":"POS GR","item":[{"name":"params/page.layout/search_read","id":"1ebb82bc-fe47-4680-96da-26ecda076042","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693284887526,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"page.layout\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"path\",\r\n                    \"=\",\r\n                    \"new_gr\"\r\n                ]\r\n            ],\r\n            [\r\n                \"layout\",\r\n                \"code\",\r\n                \"code_trans\",\r\n                \"styles\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-29 09:54:27\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"page.layout\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"path\",</strong></strong>\"=\",<strong>**\"new_gr\"<strong><strong>]</strong></strong>],<strong><strong>[</strong></strong>\"layout\",**</strong>\"code\",<strong><strong>\"code_trans\",</strong></strong>\"styles\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"page.layout\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"page.layout.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"page.layout\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"path\", \"=\", \"new_gr\" ] ], [ \"layout\", \"code\", \"code_trans\", \"styles\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method.<ol>\n<li>Outer Array: The outer array contains two sub-arrays: the filtering conditions sub-array and the fields sub-array.</li>\n<li>Filtering Conditions Sub-Array <code>[ [ \"path\", \"=\", \"new_gr\" ] ]</code>: This sub-array contains one set of filtering conditions. The set of conditions <code>[ \"path\", \"=\", \"new_gr\" ]</code> suggests that you're filtering records where the \"path\" field is equal to \"new_gr.\"</li>\n<li>Fields Sub-Array <code>[ \"layout\", \"code\", \"code_trans\", \"styles\" ]</code>: This sub-array lists the names of fields you want to retrieve from the records that match the filtering conditions. The field names correspond to attributes of the \"page.layout\" model or dataset. These attributes include:<ol>\n<li><code>\"layout\"</code>: The layout configuration or template associated with a page layout.</li>\n<li><code>\"code\"</code>: A code associated with the page layout.</li>\n<li><code>\"code_trans\"</code>: Translated versions of the layout's code.</li>\n<li><code>\"styles\"</code>: Styling information applied to the page layout's elements.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"page.layout\" model. It's requesting records that match the specified filtering conditions and asking for the values of the specified fields for each record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"7e6491f9-00fd-424e-a8a3-f2f352466453","name":"params/page.layout/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693284887526,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"page.layout\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"path\",\r\n                    \"=\",\r\n                    \"new_gr\"\r\n                ]\r\n            ],\r\n            [\r\n                \"layout\",\r\n                \"code\",\r\n                \"code_trans\",\r\n                \"styles\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-29 09:54:27\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Aug 2023 04:57:21 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=LLhouSsKdO9oPwOjzkNe3JHqyx1NA6U%2F5Fg6C00n3DKlrzhs8Vg0N4bSYBK2ckUZHqZyN7iZ3GWMioUp2JVcJg3AvVQ5EeQSWIPifacwMEZrrWVvwF%2FpgA7pVHVtHfRdczm7l6AAXmF87qGpgg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fe236750b66de53-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"id\": 474,\n            \"layout\": \"{\\\"elements\\\":[{\\\"type\\\":\\\"box\\\",\\\"children\\\":[{\\\"type\\\":\\\"box\\\",\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"size\\\":\\\"huge\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"New Goods Receipt\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"margin_left\\\":200,\\\"margin_right\\\":200}],\\\"min_height\\\":50,\\\"margin_left\\\":150,\\\"margin_right\\\":150,\\\"margin_top\\\":10,\\\"avoid_keyboard\\\":true},{\\\"type\\\":\\\"columns\\\",\\\"columns\\\":[{\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"Product:\\\\n\\\"}]}},{\\\"type\\\":\\\"field\\\",\\\"field_type\\\":\\\"select2\\\",\\\"placeholder\\\":\\\"Select Product...\\\",\\\"_selection\\\":\\\"\\\",\\\"selection\\\":null,\\\"model\\\":\\\"product\\\",\\\"condition\\\":\\\"[[\\\\\\\"can_purchase\\\\\\\",\\\\\\\"=\\\\\\\",\\\\\\\"true\\\\\\\"],[\\\\\\\"can_sell\\\\\\\",\\\\\\\"=\\\\\\\",\\\\\\\"true\\\\\\\"],[\\\\\\\"type\\\\\\\",\\\\\\\"=\\\\\\\",\\\\\\\"stock\\\\\\\"]]\\\",\\\"search_method\\\":\\\"\\\",\\\"limit\\\":null,\\\"field_value\\\":\\\"\\\",\\\"name\\\":\\\"product_list\\\",\\\"on_change\\\":\\\"on_load()\\\",\\\"load_options\\\":\\\"\\\",\\\"load_name\\\":\\\"\\\",\\\"formula\\\":\\\"\\\"}]},{\\\"children\\\":[]},{\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"Contact:\\\\n\\\"}]}},{\\\"type\\\":\\\"field\\\",\\\"field_type\\\":\\\"select2\\\",\\\"placeholder\\\":\\\"Select Contact...\\\",\\\"_selection\\\":\\\"\\\",\\\"selection\\\":null,\\\"name\\\":\\\"contact_list\\\",\\\"model\\\":\\\"contact\\\",\\\"condition\\\":\\\"[[\\\\\\\"active\\\\\\\",\\\\\\\"=\\\\\\\",\\\\\\\"true\\\\\\\"],[\\\\\\\"supplier\\\\\\\",\\\\\\\"=\\\\\\\",\\\\\\\"true\\\\\\\"]]\\\",\\\"on_change\\\":\\\"on_load()\\\",\\\"search_method\\\":\\\"\\\",\\\"formula\\\":\\\"search_read_path\\\",\\\"load_name\\\":\\\"\\\"}]},{\\\"children\\\":[{\\\"type\\\":\\\"button\\\",\\\"text\\\":\\\"Reset\\\",\\\"align\\\":\\\"center\\\",\\\"margin_right\\\":null,\\\"margin_top\\\":25,\\\"margin_left\\\":null,\\\"margin_bottom\\\":null,\\\"padding_top\\\":2,\\\"padding_bottom\\\":2,\\\"padding_left\\\":5,\\\"padding_right\\\":5,\\\"on_click\\\":\\\"resetFilter()\\\",\\\"background_color\\\":\\\"rgba(217,1,1,0.81)\\\",\\\"hover_background_color\\\":\\\"#c10606\\\",\\\"parallax\\\":false,\\\"color\\\":\\\"rgba(0,0,0,0.01)\\\"}]},{\\\"children\\\":[]}],\\\"num_cols\\\":4,\\\"col_widths\\\":[1,0.05,1,0.5],\\\"align\\\":\\\"right\\\",\\\"_col_widths\\\":\\\"[1,0.05,1,0.5]\\\",\\\"margin_right\\\":10,\\\"margin_left\\\":300},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"Without GR\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"margin_left\\\":10,\\\"margin_right\\\":10,\\\"margin_top\\\":10,\\\"margin_bottom\\\":10},{\\\"type\\\":\\\"table\\\",\\\"elements\\\":[[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"Invoice\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"Contact\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"Products\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"Qty\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"Total Amount\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"Action\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]}}],[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{invoice_num}\\\\n\\\"}]},\\\"on_click\\\":\\\"selectInv(_cid)\\\"},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{contact_name}\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{product_qty_summary}\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{total_qty}\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"RM \\\"},{\\\"insert\\\":\\\"{total_amount}\\\\n\\\"}]}},{\\\"type\\\":\\\"button\\\",\\\"text\\\":\\\"{btnText}\\\",\\\"on_click\\\":\\\"createOrAlloc(_cid)\\\",\\\"align\\\":\\\"center\\\",\\\"padding_top\\\":2,\\\"padding_bottom\\\":2,\\\"padding_left\\\":5,\\\"padding_right\\\":5}],[],[],[],[],[],[],[],[]],\\\"margin_left\\\":10,\\\"margin_right\\\":10,\\\"margin_bottom\\\":10,\\\"margin_top\\\":10,\\\"num_cols\\\":6,\\\"num_rows\\\":null,\\\"_col_widths\\\":\\\"[0.3,0.5,1,0.1,0.2,0.3]\\\",\\\"col_widths\\\":[0.3,0.5,1,0.1,0.2,0.3],\\\"table_striped\\\":true,\\\"table_bordered\\\":true,\\\"field_rows\\\":\\\"linesInvoices\\\"}],\\\"min_height\\\":50}]}\",\n            \"code_trans\": null,\n            \"code\": \"/*\\nCoded by: Nicole\\nDesc: New GR page 1 v1.3 (version numbering based on number of proposed solution done)\\nModel used: account.invoice, account.invoice.line, stock.picking\\nPS: First Internal Project within SmartB Page Builder\\n\\nRedo after examined by Max on 21st May 2021 (Friday)\\n\\nChanges/Updates (16th June 2021, Wednesday)\\n- added sections to view invoices with/without GR\\n- added \\\"view GR\\\" function for invoices with GR\\n\\nChanges/Updates (22nd July 2021, Thursday)\\n- added product code in the product description\\n\\nIssues/Challenges:\\n- transitioning to page 2 may sometime stuck due to connection closed (*1)\\n- Invoice hyperlink can only be open by middle clicking (*2)\\n\\nProposed Solution:\\n*1: Refresh page\\n*2: may need to add event listener for left click on the hyperlink\\n\\nTo-do:\\n- optimize filter accuracy for products and gr_number\\n- check with ECom if they will need \\\"track\\\" added, below is the code snippet to start with\\n\\n  var track = await rpc_execute(\\\"account.track.categ\\\",\\\"search_read\\\",[[],[]]);\\n  console.log(\\\"track category: \\\", track);\\n  \\n  more in \\\"stock.picking\\\" model\\n  \\n*/\\n\\nasync function on_load(){\\n  const log = console.log;\\n  \\n  set_data({\\n    linesInvoicesWithoutGr: null,\\n    linesInvoicesWithGr: null\\n  });\\n  var data = get_data(); //set for receive filter options\\n  var contact_id = data.contact_list ? data.contact_list.id : null;\\n  \\n  //loads Seek Invoice and existing GR\\n  let zeekInv = await rpc_execute(\\\"stock.picking\\\",\\\"load_inv_zeek\\\",[contact_id]);\\n  \\n  //To edit which data imported, edit the custom function \\\"load_inv_zeek\\\" from model \\\"stock.picking\\\"\\n  //To check data model\\n  //console.log(\\\"zeekInv:\\\", zeekInv);\\n  \\n  let linesInvoicesWithoutGr = [];\\n  let linesInvoicesWithGr = [];\\n  let linesInvoices = [];\\n  \\n  for(let line of zeekInv){\\n    let linesNewGr = [];\\n    let productQtySummary = [];\\n    let grNumber = 0, grState = \\\"\\\";\\n    let i = 0;\\n    for(let lines of line.lines){\\n      if (lines.product_id != null){\\n        if (productQtySummary.length == 0){\\n          productQtySummary += `${(i+1)}. [${lines.product_id.code}] ${lines.product_id.name} (${lines.qty})`;\\n          i++;\\n        } else {\\n          productQtySummary += `\\\\n${(i+1)}. [${lines.product_id.code}] ${lines.product_id.name} (${lines.qty})`;\\n          i++;\\n        }\\n      } else if (lines.description != null){\\n        if (productQtySummary.length == 0){\\n          productQtySummary += `${(i+1)}. ${lines.description}`;\\n          i++;\\n        } else {\\n          productQtySummary += `\\\\n${(i+1)}. ${lines.description}`;\\n          i++;\\n        }\\n      } else {\\n        productQtySummary = \\\"[No product listed under this invoice.]\\\";\\n      }\\n      \\n      let linesObj = {\\n        productId: lines.product_id,\\n        qty: lines.qty,\\n        uomId: lines.uom_id,\\n        unitPrice: lines.unit_price\\n      };\\n      linesNewGr.push(linesObj);\\n    }\\n    for(let state of line.pickings){\\n      grNumber = state.id;\\n      grState = state.state;\\n    }\\n    let obj = [{\\n      _cid: _.uniqueId(),\\n      invoice_id: line.id,\\n      invoice_num: line.number,\\n      contact_id: line.contact_id ? line.contact_id.id : null,\\n      contact_name: line.contact_id ? line.contact_id.name : null,\\n      total_qty: line.qty_total,\\n      total_amount: line.amount_total,\\n      product_qty_summary: productQtySummary,\\n      gr_number: grNumber,\\n      linesNewGr: linesNewGr,\\n      state: grState.charAt(0).toUpperCase() + grState.slice(1)\\n    }];\\n    \\n    //to change font color / button text\\n    if (obj[0].state == \\\"\\\"){\\n      //obj[0].font_color = \\\"#ffcc00\\\"\\n      obj[0].btnText = \\\"Copy to Goods Receipt\\\";\\n    } else if (obj[0].state == \\\"Draft\\\"){\\n      //obj[0].font_color = \\\"#00b300\\\"\\n      obj[0].btnText = \\\"Allocate Cost to Goods Receipt\\\";\\n    } else {\\n      // do nothing / ignore \\\"Done\\\" and \\\"Voided\\\"\\n    }\\n    \\n    if(data.product_list){\\n      obj = obj.filter(itm => {\\n        for(let lines of itm.linesNewGr){\\n          if (lines.productId != null) {\\n            return lines.productId.id == data.product_list.id;\\n          }\\n        }\\n      });\\n      if (obj.length != 0){\\n        // to include \\\"draft\\\" state with \\\"new\\\" (null) state\\n        if (obj[0].state == \\\"\\\"){\\n          linesInvoices.push(obj[0]);\\n        } else if (obj[0].state == \\\"Draft\\\"){\\n          linesInvoices.push(obj[0]);\\n        } else {\\n          // do nothing / ignore \\\"Done\\\" and \\\"Voided\\\"\\n        }\\n      } else {\\n        //Do nothing / ignore 'obj'\\n      }\\n    } else {\\n      if (obj[0].state == \\\"\\\"){\\n        linesInvoices.push(obj[0]);\\n      } else if (obj[0].state == \\\"Draft\\\"){\\n        linesInvoices.push(obj[0]);\\n      } else {\\n        // do nothing / ignore \\\"Done\\\" and \\\"Voided\\\"\\n      }\\n    }\\n  }\\n  \\n  //logs linesInvoices\\n  log(\\\"linesInvoices:\\\", linesInvoices);\\n  \\n  set_data({\\n    linesInvoices: linesInvoices\\n  });\\n}\\n\\nasync function resetFilter(){\\n  set_data({contact_list: null, product_list: null});\\n  await on_load();\\n}\\n\\nasync function createOrAlloc(_cid){\\n  var data = get_data();\\n  var line = data.linesInvoices.filter(o=>{return o._cid == _cid});\\n  line = line[0];\\n  \\n  //new obj from line to pass only required data\\n  let lineParam = {\\n    invoice_id: line.invoice_id,\\n    lines: line.linesNewGr\\n  };\\n  \\n  //separate drafted GR and new invoice\\n  if (line.state == \\\"\\\"){\\n    //create gr\\n    await rpc_execute(\\\"stock.picking\\\",\\\"create_draft_gr\\\",[lineParam]);\\n    redirect_page(\\\"new_gr_edit\\\",{inv_id: line.invoice_id, inv_name: line.invoice_num});\\n  } else if (line.state == \\\"Draft\\\"){\\n    redirect_page(\\\"new_gr_view\\\",{inv_id: line.invoice_id, inv_name: line.invoice_num});\\n  } \\n}\\n\\nasync function selectInv(_cid){\\n  var data = get_data();\\n  var line = data.linesInvoices.filter(o=>{return o._cid == _cid});\\n  line = line[0];\\n  window.open(\\\"https://main.smartb.co/action?name=supp_invoice&mode=form&form_layout=supp_invoice_form&active_id=\\\" + line.invoice_id); \\n}\",\n            \"styles\": null\n        }\n    ],\n    \"error\": null,\n    \"id\": 1693284887526,\n    \"dt\": 17\n}"}],"_postman_id":"1ebb82bc-fe47-4680-96da-26ecda076042"},{"name":"params/stock.picking/load_inv_zeek","id":"92720527-400f-4b77-a673-40045163ba6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693284889886,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.picking\",\r\n        \"load_inv_zeek\",\r\n        [\r\n            null\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-29 09:54:47\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.picking\",<strong>**\"load_inv_zeek\",<strong><strong>[</strong></strong>null**</strong>],**</p>\n<ol>\n<li><code>\"stock.picking\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"stock.picking,\" which is likely related to stock movement and picking operations.</li>\n</ol>\n</li>\n<li><code>\"load_inv_zeek\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"stock.picking\" model.</li>\n<li>It seems to be a custom method named \"load_inv_zeek\" that is specific to the API you are using.</li>\n</ol>\n</li>\n<li><code>[ null ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"load_inv_zeek\" method.</li>\n<li>It's an array with a single element, which is the value <code>null</code>.</li>\n<li>The purpose and interpretation of passing <code>null</code> as a parameter would depend on the specific behavior and requirements of the \"load_inv_zeek\" method. It might indicate that the method should be executed without any specific additional parameters.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a custom action named \"load_inv_zeek\" on the \"stock.picking\" model. The exact behavior and response would depend on how the \"load_inv_zeek\" method is implemented in the API and what it does with the <code>null</code> parameter. This type of method could be designed to carry out specific actions related to inventory management or other relevant processes.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"85e57548-c2f3-47cf-ad6f-86c3508adb09","name":"params/stock.picking/load_inv_zeek","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693284889886,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.picking\",\r\n        \"load_inv_zeek\",\r\n        [\r\n            null\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-29 09:54:47\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Aug 2023 06:16:07 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=zCiMQIHELbxnRK4awENr8oZJO4zqntFjT3M%2FHRHC47DlYMse4bkQcUVmtttylXeAYLbfpHvRh81azRWKCCD3V4Z6KkPBkGHVj6AXjc7PYVALTBR6Yl6SxwIf54Zaw7SEPHL58hY661BmrtFbnw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fe2a9d22d1799e1-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"id\": 3446,\n            \"contact_id\": {\n                \"id\": 1026,\n                \"name\": \"Shenzhen Rongtian Electronic Technology Co., Ltd.\"\n            },\n            \"amount_total\": 859.07,\n            \"number\": \"ZSI23060001\",\n            \"pickings\": [\n                {\n                    \"id\": 1325,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 1,\n            \"lines\": [\n                {\n                    \"id\": 9116,\n                    \"unit_price\": 859.07,\n                    \"qty\": 1,\n                    \"description\": \"Manufacturer Intel Core i5 4200U Processor 1.6GHz up to 2.6GHz Dual Cores Barebone Mini PCs for Office\\n\\n16G DDR3 RAM+64G MSATA SSD+DUAL BAND WIFI+WINDOWS 10\\n\\nUSD 179.00\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 1049,\n                        \"name\": \"Fanless Mini PC\",\n                        \"code\": \"Z70\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 3317,\n            \"contact_id\": {\n                \"id\": 526,\n                \"name\": \"Shenzhen Blovedream Technology Co., Ltd.\"\n            },\n            \"amount_total\": 3984.17,\n            \"number\": \"ZSI23010001\",\n            \"pickings\": [\n                {\n                    \"id\": 1303,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 4,\n            \"lines\": [\n                {\n                    \"id\": 8915,\n                    \"unit_price\": 996.042,\n                    \"qty\": 4,\n                    \"description\": \"New arrival Blovedream Rugged Ip65 NFC \\nRFID Reader Android Handheld Data Collector \\nTerminal Mobile 2D Barcode Scanner\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 933,\n                        \"name\": \"T80: Android Handheld Data Collector\",\n                        \"code\": \"Z80\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 3226,\n            \"contact_id\": {\n                \"id\": 526,\n                \"name\": \"Shenzhen Blovedream Technology Co., Ltd.\"\n            },\n            \"amount_total\": 4294.82,\n            \"number\": \"ZSI22110001\",\n            \"pickings\": [\n                {\n                    \"id\": 1291,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 4,\n            \"lines\": [\n                {\n                    \"id\": 8759,\n                    \"unit_price\": 1073.705,\n                    \"qty\": 4,\n                    \"description\": \"New arrival Blovedream Rugged Ip65 NFC \\nRFID Reader Android Handheld Data Collector \\nTerminal Mobile 2D Barcode Scanner\\n\\nUSD 260\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 933,\n                        \"name\": \"T80: Android Handheld Data Collector\",\n                        \"code\": \"Z80\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2402,\n            \"contact_id\": {\n                \"id\": 510,\n                \"name\": \"Suzhou Eway Tech Co., Ltd.\"\n            },\n            \"amount_total\": 3575.92,\n            \"number\": \"ZSI21060003\",\n            \"pickings\": [\n                {\n                    \"id\": 959,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 26,\n            \"lines\": [\n                {\n                    \"id\": 7027,\n                    \"unit_price\": 178.124383,\n                    \"qty\": 6,\n                    \"description\": \"Tera Fixed Mount 1D 2D Scanners QR Reader \\nDesktop Platform Bar Code reader scanner \\nWired Bar Code Handheld Portable Scanner\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 1033,\n                        \"name\": \"780 : Tera Fixed Mount 1D 2D Scanners QR Reader Desktop Platform\",\n                        \"code\": \"ZT80\"\n                    }\n                },\n                {\n                    \"id\": 7028,\n                    \"unit_price\": 135.903389,\n                    \"qty\": 10,\n                    \"description\": \"1100 Tera Pocket Size Waterproof 2D QR \\nWireless Barcode Scanner Mini Bar Code \\nReader Handheld Android Scanner Barcode \\nwith vibration\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 867,\n                        \"name\": \"EVHK0049 / 1100D / U-1100 / 1100: Tera Mini Bar Code Reader\",\n                        \"code\": \"ZT32\"\n                    }\n                },\n                {\n                    \"id\": 7029,\n                    \"unit_price\": 114.813981,\n                    \"qty\": 10,\n                    \"description\": \"Tera 2D Barcode Scanner with Charging Cradle \\nWireless QR Bar Code Reader with Stand\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 912,\n                        \"name\": \"EVHK0030 : Tera 2D Wireless Barcode Scanner with Charging Cradle\",\n                        \"code\": \"ZT71\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2318,\n            \"contact_id\": {\n                \"id\": 510,\n                \"name\": \"Suzhou Eway Tech Co., Ltd.\"\n            },\n            \"amount_total\": 8759.89,\n            \"number\": \"ZSI21060001\",\n            \"pickings\": [\n                {\n                    \"id\": 754,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 64,\n            \"lines\": [\n                {\n                    \"id\": 6853,\n                    \"unit_price\": 151.558603,\n                    \"qty\": 30,\n                    \"description\": \"Tera Bluetooth 1D 2D wireless QR Barcode\\nScanner 3 in 1 Vibration Alert Wireless &\\nWired Scanner Barcode with stand \",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 888,\n                        \"name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\",\n                        \"code\": \"ZT50\"\n                    }\n                },\n                {\n                    \"id\": 6854,\n                    \"unit_price\": 117.986159,\n                    \"qty\": 30,\n                    \"description\": \"Tera Wireless 1D 2D QR Barcode Scanner 2-in-1\\nhandheld Scanner with display CMOS with Stand \",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 889,\n                        \"name\": \"EVHK0047 / HW0005 : Tera Wireless 1D 2D QR Barcode Scanner 2-in-1 handheld Scanner with display CMOS with Stand\",\n                        \"code\": \"ZT51\"\n                    }\n                },\n                {\n                    \"id\": 6855,\n                    \"unit_price\": 168.38679,\n                    \"qty\": 4,\n                    \"description\": \"Tera 2D Wireless Portable Back Clip 1D 2D QR \\nBar Code Reader with Bluetooth image scanning\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 1018,\n                        \"name\": \"Tera-0012 : Tera 2D Wireless Portable Back Clip 1D 2D QR Bar Code Reader with Bluetooth image scanning\",\n                        \"code\": \"ZT72\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2290,\n            \"contact_id\": {\n                \"id\": 644,\n                \"name\": \"ANG STORE\"\n            },\n            \"amount_total\": 40,\n            \"number\": \"ZSI21050006\",\n            \"pickings\": [],\n            \"qty_total\": 0,\n            \"lines\": [\n                {\n                    \"id\": 6803,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Label Tag Baju (70 PCS) \",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                }\n            ]\n        },\n        {\n            \"id\": 2256,\n            \"contact_id\": {\n                \"id\": 581,\n                \"name\": \"Dongguan Ma Mi Love Clothing Co., Ltd.\"\n            },\n            \"amount_total\": 647.77,\n            \"number\": \"ZSI21050005\",\n            \"pickings\": [\n                {\n                    \"id\": 569,\n                    \"state\": \"voided\"\n                }\n            ],\n            \"qty_total\": 4,\n            \"lines\": [\n                {\n                    \"id\": 6721,\n                    \"unit_price\": 161.9425,\n                    \"qty\": 4,\n                    \"description\": \"wholesale comfortable pajamas sleep wear \\nwomen pajama cotton women sleepwear \\nset girls' sleepwear nursing pajamas\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 1017,\n                        \"name\": \"MMA-609 : girls' sleepwear nursing pajamas\",\n                        \"code\": \"ZC65\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2252,\n            \"contact_id\": {\n                \"id\": 612,\n                \"name\": \"Guangzhou Manon Clothing Co., Ltd.\"\n            },\n            \"amount_total\": 2492.78,\n            \"number\": \"ZSI21050004\",\n            \"pickings\": [\n                {\n                    \"id\": 772,\n                    \"state\": \"voided\"\n                }\n            ],\n            \"qty_total\": 43,\n            \"lines\": [\n                {\n                    \"id\": 6707,\n                    \"unit_price\": 80.390727,\n                    \"qty\": 7,\n                    \"description\": \"China Wholesale Stylish Maternity Clothing\\nSuper Quality Women Pleated Knit Dress\\nLong Sleeve\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 1010,\n                        \"name\": \"A1710 : Women Pleated Knit Dress Long Sleeve\",\n                        \"code\": \"ZC80 - S Apricot\"\n                    }\n                },\n                {\n                    \"id\": 6709,\n                    \"unit_price\": 80.390727,\n                    \"qty\": 7,\n                    \"description\": \"China Wholesale Stylish Maternity Clothing\\nSuper Quality Women Pleated Knit Dress\\nLong Sleeve\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 1011,\n                        \"name\": \"A1710 : Women Pleated Knit Dress Long Sleeve\",\n                        \"code\": \"ZC80 - M Apricot\"\n                    }\n                },\n                {\n                    \"id\": 6710,\n                    \"unit_price\": 80.390727,\n                    \"qty\": 6,\n                    \"description\": \"China Wholesale Stylish Maternity Clothing\\nSuper Quality Women Pleated Knit Dress\\nLong Sleeve\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 1012,\n                        \"name\": \"A1710 : Women Pleated Knit Dress Long Sleeve\",\n                        \"code\": \"ZC80 - L Apricot\"\n                    }\n                },\n                {\n                    \"id\": 6711,\n                    \"unit_price\": 64.351844,\n                    \"qty\": 1,\n                    \"description\": \"New Wholesale Spring Casual Stretch Pregnant \\nBreathable Clothing Darkgray Maternity Wear \\nLeggings Pants\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 1013,\n                        \"name\": \"Z2136 - Oversize front button shirt top\",\n                        \"code\": \"ZC81\"\n                    }\n                },\n                {\n                    \"id\": 6712,\n                    \"unit_price\": 77.01412,\n                    \"qty\": 1,\n                    \"description\": \"New Wholesale Spring Casual Stretch Pregnant \\nBreathable Clothing Darkgray Maternity Wear \\nLeggings Pants\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 1015,\n                        \"name\": \"203 - Chequered front button shirt dress\",\n                        \"code\": \"ZC82\"\n                    }\n                },\n                {\n                    \"id\": 6713,\n                    \"unit_price\": 64.351844,\n                    \"qty\": 1,\n                    \"description\": \"New Wholesale Spring Casual Stretch Pregnant \\nBreathable Clothing Darkgray Maternity Wear \\nLeggings Pants\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 1014,\n                        \"name\": \"2115 - Puff sleeve A line short dress\",\n                        \"code\": \"ZC83\"\n                    }\n                },\n                {\n                    \"id\": 6714,\n                    \"unit_price\": 33.962383,\n                    \"qty\": 20,\n                    \"description\": \"Top Grade Women One Piece Pregnant \\nMaternity Clothes Ladies Long Sleeve Casual \\nShirt Dress\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 1016,\n                        \"name\": \"Z2409 : One Piece Pregnant Maternity Clothes\",\n                        \"code\": \"ZC76M - Beige\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2238,\n            \"contact_id\": {\n                \"id\": 602,\n                \"name\": \"Shenzhen JinBeiEr Intellectual System Limited Company\"\n            },\n            \"amount_total\": 1506.15,\n            \"number\": \"ZSI21050003\",\n            \"pickings\": [\n                {\n                    \"id\": 701,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 10,\n            \"lines\": [\n                {\n                    \"id\": 6668,\n                    \"unit_price\": 150.615,\n                    \"qty\": 10,\n                    \"description\": \"Single Latch Fingerprint Door Lock \",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 1009,\n                        \"name\": \"BEL-402 : Single Latch Fingerprint Door Lock\",\n                        \"code\": \"ZS06\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2237,\n            \"contact_id\": {\n                \"id\": 526,\n                \"name\": \"Shenzhen Blovedream Technology Co., Ltd.\"\n            },\n            \"amount_total\": 5771.17,\n            \"number\": \"ZSI21050002\",\n            \"pickings\": [\n                {\n                    \"id\": 550,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 6,\n            \"lines\": [\n                {\n                    \"id\": 6664,\n                    \"unit_price\": 961.861667,\n                    \"qty\": 6,\n                    \"description\": \"New arrival Blovedream Rugged Ip65 NFC \\nRFID Reader Android Handheld Data Collector \\nTerminal Mobile 2D Barcode Scanner\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 933,\n                        \"name\": \"T80: Android Handheld Data Collector\",\n                        \"code\": \"Z80\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2225,\n            \"contact_id\": {\n                \"id\": 510,\n                \"name\": \"Suzhou Eway Tech Co., Ltd.\"\n            },\n            \"amount_total\": 12451.49,\n            \"number\": \"ZSI21050001\",\n            \"pickings\": [\n                {\n                    \"id\": 590,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 100,\n            \"lines\": [\n                {\n                    \"id\": 6639,\n                    \"unit_price\": 59.047005,\n                    \"qty\": 40,\n                    \"description\": \"Tera Low Price 2D Wired Barcode Scanner with \\nStand QR Barcode Reader USB 1D Handheld \\nScanner Barcode with display tera scanners \",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 911,\n                        \"name\": \"711: 2D Wired Barcode Scanner\",\n                        \"code\": \"ZT70\"\n                    }\n                },\n                {\n                    \"id\": 6640,\n                    \"unit_price\": 138.783544,\n                    \"qty\": 20,\n                    \"description\": \"Tera 2D 1D Wireless Barcode Scanner 3 in 1\\nBluetooth Vibration Alert Scanner Barcode \\nHandheld QR Code Reader\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 1008,\n                        \"name\": \"EVHK0053 : Tera 2D 1D Wireless Barcode Scanner 3 in 1 Bluetooth Vibration Alert Scanner\",\n                        \"code\": \"ZT43\"\n                    }\n                },\n                {\n                    \"id\": 6641,\n                    \"unit_price\": 168.160163,\n                    \"qty\": 20,\n                    \"description\": \"Tera Android 2D Barcode Scanner with\\nCharging Cradle Handheld QR Code Reader\\nwith one-touch clearance function\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 890,\n                        \"name\": \"HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\",\n                        \"code\": \"ZT52\"\n                    }\n                },\n                {\n                    \"id\": 6644,\n                    \"unit_price\": 197.536783,\n                    \"qty\": 20,\n                    \"description\": \"Tera QR 1D 2D Wireless Wired Bluetooth Scanner Barcode 3 in 1 Barcode Readers Scanner with display Extreme Drop Resistance(ORANGE)\\n1 x Barcode Scanner\\n1 x Multi-language Manual\\n1 x USB Charging Cable\\n1 x USB Receiver\\n1 x Stand\\n\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 869,\n                        \"name\": \"8100 Orange: Tera QR 1D 2D Wireless Wired Bluetooth Scanner 3 In 1 Heavy Duty\",\n                        \"code\": \"ZT34\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2183,\n            \"contact_id\": {\n                \"id\": 510,\n                \"name\": \"Suzhou Eway Tech Co., Ltd.\"\n            },\n            \"amount_total\": 1833.83,\n            \"number\": \"ZSI21040008\",\n            \"pickings\": [\n                {\n                    \"id\": 581,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 30,\n            \"lines\": [\n                {\n                    \"id\": 6549,\n                    \"unit_price\": 114.144994,\n                    \"qty\": 10,\n                    \"description\": \"Tera 2D Barcode Scanner with Charging Cradle \\nWireless QR Bar Code Reader with Stand\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 912,\n                        \"name\": \"EVHK0030 : Tera 2D Wireless Barcode Scanner with Charging Cradle\",\n                        \"code\": \"ZT71\"\n                    }\n                },\n                {\n                    \"id\": 6550,\n                    \"unit_price\": 59.745698,\n                    \"qty\": 10,\n                    \"description\": \"Tera Low Price 2D Wired Barcode Scanner with \\nStand QR Barcode Reader USB 1D Handheld \\nScanner Barcode with display tera scanners \",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 911,\n                        \"name\": \"711: 2D Wired Barcode Scanner\",\n                        \"code\": \"ZT70\"\n                    }\n                },\n                {\n                    \"id\": 6552,\n                    \"unit_price\": 9.492307,\n                    \"qty\": 10,\n                    \"description\": \"Stand\",\n                    \"uom_id\": {\n                        \"id\": 22,\n                        \"name\": \"Bundle\"\n                    },\n                    \"product_id\": {\n                        \"id\": 1007,\n                        \"name\": \"711 : Stand\",\n                        \"code\": \"ZT70S\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2180,\n            \"contact_id\": {\n                \"id\": 602,\n                \"name\": \"Shenzhen JinBeiEr Intellectual System Limited Company\"\n            },\n            \"amount_total\": 2482.76,\n            \"number\": \"ZSI21040007\",\n            \"pickings\": [\n                {\n                    \"id\": 552,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 14,\n            \"lines\": [\n                {\n                    \"id\": 6543,\n                    \"unit_price\": 171.348784,\n                    \"qty\": 7,\n                    \"description\": \"Home Electronic Tuya TT Lock APP Wifi\\nSmart Digital Biometric Fingerprint Door\\nLock 2021\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 942,\n                        \"name\": \"CET-K32 fingerprint (Black) : Smart Digital Biometric Fingerprint Door Lock (with App)\",\n                        \"code\": \"ZS03\"\n                    }\n                },\n                {\n                    \"id\": 6545,\n                    \"unit_price\": 171.348784,\n                    \"qty\": 3,\n                    \"description\": \"Home Electronic Tuya TT Lock APP Wifi\\nSmart Digital Biometric Fingerprint Door\\nLock 2021\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 1005,\n                        \"name\": \"CET-K32 fingerprint (Red Bronze) : Smart Digital Biometric Fingerprint Door Lock (NO APP)\",\n                        \"code\": \"ZS04\"\n                    }\n                },\n                {\n                    \"id\": 6546,\n                    \"unit_price\": 192.318041,\n                    \"qty\": 4,\n                    \"description\": \"Home Electronic Tuya TT Lock APP Wifi\\nSmart Digital Biometric Fingerprint Door\\nLock 2021\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 1006,\n                        \"name\": \"CET-K32 Smartphone (Black) : Smart Digital Biometric Fingerprint Door Lock (NO APP)\",\n                        \"code\": \"ZS05\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2166,\n            \"contact_id\": {\n                \"id\": 581,\n                \"name\": \"Dongguan Ma Mi Love Clothing Co., Ltd.\"\n            },\n            \"amount_total\": 3944.86,\n            \"number\": \"ZSI21040006\",\n            \"pickings\": [\n                {\n                    \"id\": 568,\n                    \"state\": \"voided\"\n                }\n            ],\n            \"qty_total\": 64,\n            \"lines\": [\n                {\n                    \"id\": 6504,\n                    \"unit_price\": 53.831778,\n                    \"qty\": 60,\n                    \"description\": \"customs Midi Black Maternityt maternity maxi\\ndress breastfeeding clothes women dress\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 924,\n                        \"name\": \"MMA-109 : customs Midi Black Maternityt maternity maxi dress breastfeeding clothes women dress\",\n                        \"code\": \"ZM01\"\n                    }\n                },\n                {\n                    \"id\": 6505,\n                    \"unit_price\": 189.252345,\n                    \"qty\": 1,\n                    \"description\": \"White Crochet Bell Sleeve Maternity Top\\nNursing Shirt breastfeeding tops \\nmaternity tops woman\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 971,\n                        \"name\": \"MMA-346 : White Crochet Bell Sleeve Maternity Top\",\n                        \"code\": \"ZM20\"\n                    }\n                },\n                {\n                    \"id\": 6507,\n                    \"unit_price\": 210.280384,\n                    \"qty\": 1,\n                    \"description\": \"2021 new fashionable Sweetheart Button\\nFront Maternity dress\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 972,\n                        \"name\": \"MMA-510 : Sweetheart Button Front Maternity dress\",\n                        \"code\": \"ZM21\"\n                    }\n                },\n                {\n                    \"id\": 6508,\n                    \"unit_price\": 189.252345,\n                    \"qty\": 1,\n                    \"description\": \"Printed Dress with Smocked Details for\\n Maternity breastfeeding dress in maternity clothing\\n\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 973,\n                        \"name\": \"MMA-535 : Printed Dress with Smocked Details for Maternity breastfeeding dress\",\n                        \"code\": \"ZM22\"\n                    }\n                },\n                {\n                    \"id\": 6509,\n                    \"unit_price\": 126.16823,\n                    \"qty\": 1,\n                    \"description\": \"fashion lift up nursing tops women's tops\\nbreastfeeding tops\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 974,\n                        \"name\": \"MMA-177 : nursing tops women's\",\n                        \"code\": \"ZM23\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2159,\n            \"contact_id\": {\n                \"id\": 510,\n                \"name\": \"Suzhou Eway Tech Co., Ltd.\"\n            },\n            \"amount_total\": 6754.15,\n            \"number\": \"ZSI21040005\",\n            \"pickings\": [\n                {\n                    \"id\": 475,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 50,\n            \"lines\": [\n                {\n                    \"id\": 6489,\n                    \"unit_price\": 118.276406,\n                    \"qty\": 25,\n                    \"description\": \"Tera Wireless 1D 2D QR Barcode Scanner 2-in-1\\nhandheld Scanner with display CMOS with Stand \",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 889,\n                        \"name\": \"EVHK0047 / HW0005 : Tera Wireless 1D 2D QR Barcode Scanner 2-in-1 handheld Scanner with display CMOS with Stand\",\n                        \"code\": \"ZT51\"\n                    }\n                },\n                {\n                    \"id\": 6490,\n                    \"unit_price\": 151.889594,\n                    \"qty\": 25,\n                    \"description\": \"Tera Bluetooth 1D 2D wireless QR Barcode\\nScanner 3 in 1 Vibration Alert Wireless &\\nWired Scanner Barcode with stand \",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 888,\n                        \"name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\",\n                        \"code\": \"ZT50\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2147,\n            \"contact_id\": {\n                \"id\": 623,\n                \"name\": \"Shenzhen Luwei Technology Co., Ltd.\"\n            },\n            \"amount_total\": 702.59,\n            \"number\": \"ZSI21040004\",\n            \"pickings\": [\n                {\n                    \"id\": 494,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 20,\n            \"lines\": [\n                {\n                    \"id\": 6464,\n                    \"unit_price\": 31.146179,\n                    \"qty\": 10,\n                    \"description\": \"Amazon hot selling A9 pet camera low price\\nnight vision wifi mini camera for indoor with\\noutdoor \",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 895,\n                        \"name\": \"A9 JIELI : night vision wifi mini camera for indoor with outdoor\",\n                        \"code\": \"ZC54\"\n                    }\n                },\n                {\n                    \"id\": 6465,\n                    \"unit_price\": 39.112821,\n                    \"qty\": 10,\n                    \"description\": \"1080P security camera system wireless V380 Hook \\nmodel mini camera two-way Audio home security \\ncamera system wireless \",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 894,\n                        \"name\": \"V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                        \"code\": \"ZC53\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2108,\n            \"contact_id\": {\n                \"id\": 584,\n                \"name\": \"Dongguan Auschalink Fashion Garment Co., Ltd.\"\n            },\n            \"amount_total\": 7029.77,\n            \"number\": \"ZSI21040003\",\n            \"pickings\": [\n                {\n                    \"id\": 551,\n                    \"state\": \"voided\"\n                }\n            ],\n            \"qty_total\": 56,\n            \"lines\": [\n                {\n                    \"id\": 6376,\n                    \"unit_price\": 125.531607,\n                    \"qty\": 8,\n                    \"description\": \"Auschalink Hot Sale Soft and Breathable Maternity Clothing Nursing Friendly Women\\nCasual Breastfeeding Bamboo Nursing\\nDress\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 979,\n                        \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                        \"code\": \"ZM05 - Black L\"\n                    }\n                },\n                {\n                    \"id\": 6377,\n                    \"unit_price\": 125.531607,\n                    \"qty\": 8,\n                    \"description\": \"Auschalink Hot Sale Soft and Breathable Maternity Clothing Nursing Friendly Women\\nCasual Breastfeeding Bamboo Nursing\\nDress\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 978,\n                        \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                        \"code\": \"ZM05 - Black M\"\n                    }\n                },\n                {\n                    \"id\": 6511,\n                    \"unit_price\": 125.531607,\n                    \"qty\": 8,\n                    \"description\": \"Auschalink Hot Sale Soft and Breathable Maternity Clothing Nursing Friendly Women\\nCasual Breastfeeding Bamboo Nursing\\nDress\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 977,\n                        \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                        \"code\": \"ZM05 - Black S\"\n                    }\n                },\n                {\n                    \"id\": 6512,\n                    \"unit_price\": 125.531607,\n                    \"qty\": 2,\n                    \"description\": \"Auschalink Hot Sale Soft and Breathable Maternity Clothing Nursing Friendly Women\\nCasual Breastfeeding Bamboo Nursing\\nDress\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 980,\n                        \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                        \"code\": \"ZM05 - Black XL\"\n                    }\n                },\n                {\n                    \"id\": 6513,\n                    \"unit_price\": 125.531607,\n                    \"qty\": 2,\n                    \"description\": \"Auschalink Hot Sale Soft and Breathable Maternity Clothing Nursing Friendly Women\\nCasual Breastfeeding Bamboo Nursing\\nDress\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 976,\n                        \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                        \"code\": \"ZM05 - Black XS\"\n                    }\n                },\n                {\n                    \"id\": 6514,\n                    \"unit_price\": 125.531607,\n                    \"qty\": 8,\n                    \"description\": \"Auschalink Hot Sale Soft and Breathable Maternity Clothing Nursing Friendly Women\\nCasual Breastfeeding Bamboo Nursing\\nDress\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 984,\n                        \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                        \"code\": \"ZM05 - Soft Khaki L\"\n                    }\n                },\n                {\n                    \"id\": 6515,\n                    \"unit_price\": 125.531607,\n                    \"qty\": 8,\n                    \"description\": \"Auschalink Hot Sale Soft and Breathable Maternity Clothing Nursing Friendly Women\\nCasual Breastfeeding Bamboo Nursing\\nDress\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 983,\n                        \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                        \"code\": \"ZM05 - Soft Khaki M\"\n                    }\n                },\n                {\n                    \"id\": 6516,\n                    \"unit_price\": 125.531607,\n                    \"qty\": 8,\n                    \"description\": \"Auschalink Hot Sale Soft and Breathable Maternity Clothing Nursing Friendly Women\\nCasual Breastfeeding Bamboo Nursing\\nDress\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 982,\n                        \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                        \"code\": \"ZM05 - Soft Khaki S\"\n                    }\n                },\n                {\n                    \"id\": 6517,\n                    \"unit_price\": 125.531607,\n                    \"qty\": 2,\n                    \"description\": \"Auschalink Hot Sale Soft and Breathable Maternity Clothing Nursing Friendly Women\\nCasual Breastfeeding Bamboo Nursing\\nDress\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 985,\n                        \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                        \"code\": \"ZM05 - Soft Khaki XL\"\n                    }\n                },\n                {\n                    \"id\": 6518,\n                    \"unit_price\": 125.545,\n                    \"qty\": 2,\n                    \"description\": \"Auschalink Hot Sale Soft and Breathable Maternity Clothing Nursing Friendly Women\\nCasual Breastfeeding Bamboo Nursing\\nDress\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 981,\n                        \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                        \"code\": \"ZM05 - Soft Khaki XS\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2098,\n            \"contact_id\": {\n                \"id\": 612,\n                \"name\": \"Guangzhou Manon Clothing Co., Ltd.\"\n            },\n            \"amount_total\": 186.23,\n            \"number\": \"ZSI21040002\",\n            \"pickings\": [\n                {\n                    \"id\": 410,\n                    \"state\": \"voided\"\n                }\n            ],\n            \"qty_total\": 3,\n            \"lines\": [\n                {\n                    \"id\": 6358,\n                    \"unit_price\": 37.534729,\n                    \"qty\": 1,\n                    \"description\": \"Top Grade Women One Piece Pregnant \\nMaternity Clothes Ladies Long Sleeve Casual \\nShirt Dress\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 946,\n                        \"name\": \"Z2409 : One Piece Pregnant Maternity Clothes\",\n                        \"code\": \"ZC76\"\n                    }\n                },\n                {\n                    \"id\": 6359,\n                    \"unit_price\": 59.18938,\n                    \"qty\": 1,\n                    \"description\": \"New Arrival Factory Wholesale Women \\nV-neck Knee Length Button Dress \\nCasual Wear Maternity Dress\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 947,\n                        \"name\": \"MS1968 : V-neck Knee Length Button Dress Casual Wear Maternity Dress\",\n                        \"code\": \"ZC77\"\n                    }\n                },\n                {\n                    \"id\": 6360,\n                    \"unit_price\": 89.505891,\n                    \"qty\": 1,\n                    \"description\": \"China Wholesale Stylish Maternity Clothing\\nSuper Quality Women Pleated Knit Dress\\nLong Sleeve\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 948,\n                        \"name\": \"A1710 : Women Pleated Knit Dress Long Sleeve\",\n                        \"code\": \"ZC80\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2097,\n            \"contact_id\": {\n                \"id\": 595,\n                \"name\": \"Gansu Shengjiahua Trading Co., Ltd.\"\n            },\n            \"amount_total\": 1233.57,\n            \"number\": \"ZSI21040001\",\n            \"pickings\": [\n                {\n                    \"id\": 411,\n                    \"state\": \"voided\"\n                }\n            ],\n            \"qty_total\": 27,\n            \"lines\": [\n                {\n                    \"id\": 6357,\n                    \"unit_price\": 45.687778,\n                    \"qty\": 9,\n                    \"description\": \"MXCHAN dubai latest abaya wholesale ready to ship pleated design 6 colors long dresses muslim abaya\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 934,\n                        \"name\": \"(Khaki) SJH2079 : MXCHAN dubai abaya\",\n                        \"code\": \"ZC70\"\n                    }\n                },\n                {\n                    \"id\": 6468,\n                    \"unit_price\": 45.687778,\n                    \"qty\": 9,\n                    \"description\": \"(NAVY) MXCHAN dubai latest abaya wholesale ready to ship pleated design 6 colors long dresses muslim abaya\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 961,\n                        \"name\": \"(Black) SJH2079 : MXCHAN dubai abaya\",\n                        \"code\": \"ZC71\"\n                    }\n                },\n                {\n                    \"id\": 6469,\n                    \"unit_price\": 45.687778,\n                    \"qty\": 9,\n                    \"description\": \"(Wine Red) MXCHAN dubai latest abaya wholesale ready to ship pleated design 6 colors long dresses muslim abaya\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 962,\n                        \"name\": \"(Wine Red)SJH2079 : MXCHAN dubai abaya\",\n                        \"code\": \"ZC72\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2096,\n            \"contact_id\": {\n                \"id\": 611,\n                \"name\": \"Shenzhen Qinghong Toys Co., Ltd.\"\n            },\n            \"amount_total\": 137.28,\n            \"number\": \"ZSI21030015\",\n            \"pickings\": [\n                {\n                    \"id\": 415,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 2,\n            \"lines\": [\n                {\n                    \"id\": 6356,\n                    \"unit_price\": 68.64,\n                    \"qty\": 2,\n                    \"description\": \"Cry Sensor Sleep Aid Device Portable Owl Plush \\nToy Night Light Sound Baby White Noise Machine\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 945,\n                        \"name\": \"WN01A : Cry Sensor Sleep Aid Device Portable Owl Plush Toy\",\n                        \"code\": \"ZC47\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2095,\n            \"contact_id\": {\n                \"id\": 610,\n                \"name\": \"Stan (Shenzhen) Technology Co., Ltd\"\n            },\n            \"amount_total\": 5816.5,\n            \"number\": \"ZSI21030014\",\n            \"pickings\": [\n                {\n                    \"id\": 457,\n                    \"state\": \"done\"\n                },\n                {\n                    \"id\": 542,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 50,\n            \"lines\": [\n                {\n                    \"id\": 6355,\n                    \"unit_price\": 116.33,\n                    \"qty\": 50,\n                    \"description\": \"Wireless Video Baby Monitor 2.0 inch Color Security Camera 2 Way Talk NightVision IR LED Temperature Monitoring with 8 Lullaby\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 866,\n                        \"name\": \"VB601: Wireless Video Baby Monitor\",\n                        \"code\": \"ZB31\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2094,\n            \"contact_id\": {\n                \"id\": 609,\n                \"name\": \"Dongguan Tediton Intelligent Technology Co., Ltd.\"\n            },\n            \"amount_total\": 237.35,\n            \"number\": \"ZSI21030013\",\n            \"pickings\": [\n                {\n                    \"id\": 409,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 1,\n            \"lines\": [\n                {\n                    \"id\": 6354,\n                    \"unit_price\": 237.35,\n                    \"qty\": 1,\n                    \"description\": \"WiFi Biometric Fingerprint Digital Keyless \\ncerradura fechadura Entry tuya smart door lock\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 943,\n                        \"name\": \"NX4 : WiFi Biometric Fingerprint Digital smart door lock\",\n                        \"code\": \"ZS32\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2062,\n            \"contact_id\": {\n                \"id\": 602,\n                \"name\": \"Shenzhen JinBeiEr Intellectual System Limited Company\"\n            },\n            \"amount_total\": 228.81,\n            \"number\": \"ZSI21030012\",\n            \"pickings\": [\n                {\n                    \"id\": 375,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 1,\n            \"lines\": [\n                {\n                    \"id\": 6267,\n                    \"unit_price\": 228.81,\n                    \"qty\": 1,\n                    \"description\": \"Home Electronic Tuya TT Lock APP Wifi\\nSmart Digital Biometric Fingerprint Door\\nLock 2021\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 942,\n                        \"name\": \"CET-K32 fingerprint (Black) : Smart Digital Biometric Fingerprint Door Lock (with App)\",\n                        \"code\": \"ZS03\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2061,\n            \"contact_id\": {\n                \"id\": 510,\n                \"name\": \"Suzhou Eway Tech Co., Ltd.\"\n            },\n            \"amount_total\": 4881.03,\n            \"number\": \"ZSI21030011\",\n            \"pickings\": [\n                {\n                    \"id\": 466,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 30,\n            \"lines\": [\n                {\n                    \"id\": 6262,\n                    \"unit_price\": 199.335849,\n                    \"qty\": 10,\n                    \"description\": \"Tera QR 1D 2D Wireless Wired Bluetooth Scanner Barcode 3 in 1 Barcode Readers Scanner with display Extreme Drop Resistance(ORANGE)\\n1 x Barcode Scanner\\n1 x Multi-language Manual\\n1 x USB Charging Cable\\n1 x USB Receiver\\n1 x Stand\\n\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 869,\n                        \"name\": \"8100 Orange: Tera QR 1D 2D Wireless Wired Bluetooth Scanner 3 In 1 Heavy Duty\",\n                        \"code\": \"ZT34\"\n                    }\n                },\n                {\n                    \"id\": 6265,\n                    \"unit_price\": 169.746163,\n                    \"qty\": 10,\n                    \"description\": \"Tera Android 2D Barcode Scanner with\\nCharging Cradle Handheld QR Code Reader\\nwith one-touch clearance function\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 890,\n                        \"name\": \"HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\",\n                        \"code\": \"ZT52\"\n                    }\n                },\n                {\n                    \"id\": 6266,\n                    \"unit_price\": 119.020988,\n                    \"qty\": 10,\n                    \"description\": \"Tera Wireless 1D 2D QR Barcode Scanner 2-in-1\\nhandheld Scanner with display CMOS with Stand \",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 889,\n                        \"name\": \"EVHK0047 / HW0005 : Tera Wireless 1D 2D QR Barcode Scanner 2-in-1 handheld Scanner with display CMOS with Stand\",\n                        \"code\": \"ZT51\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2059,\n            \"contact_id\": {\n                \"id\": 559,\n                \"name\": \"Ningbo Mingzhi Electronic Technology Company Limited\"\n            },\n            \"amount_total\": 362.53,\n            \"number\": \"ZSI21030010\",\n            \"pickings\": [\n                {\n                    \"id\": 473,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 10,\n            \"lines\": [\n                {\n                    \"id\": 6259,\n                    \"unit_price\": 36.253,\n                    \"qty\": 3,\n                    \"description\": \"New Fashion Children baby Safety Lovely Little\\nOctopus Electric Nail Clipper Manicure Set Nail\\nGrinder For Kids \",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 905,\n                        \"name\": \"Octopus Electric Nail Clipper (Pink)\",\n                        \"code\": \"ZB64\"\n                    }\n                },\n                {\n                    \"id\": 6591,\n                    \"unit_price\": 36.253,\n                    \"qty\": 3,\n                    \"description\": \"New Fashion Children baby Safety Lovely Little\\nOctopus Electric Nail Clipper Manicure Set Nail\\nGrinder For Kids \",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 941,\n                        \"name\": \"Octopus Electric Nail Clipper (Blue)\",\n                        \"code\": \"ZB65\"\n                    }\n                },\n                {\n                    \"id\": 6592,\n                    \"unit_price\": 36.253,\n                    \"qty\": 4,\n                    \"description\": \"New Fashion Children baby Safety Lovely Little\\nOctopus Electric Nail Clipper Manicure Set Nail\\nGrinder For Kids \",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 940,\n                        \"name\": \"Octopus Electric Nail Clipper (Yellow)\",\n                        \"code\": \"ZB66\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2035,\n            \"contact_id\": {\n                \"id\": 601,\n                \"name\": \"Yiwu Jiehao Maternal Baby Product Co., Ltd.\"\n            },\n            \"amount_total\": 147.94,\n            \"number\": \"ZSI21030009\",\n            \"pickings\": [\n                {\n                    \"id\": 325,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 2,\n            \"lines\": [\n                {\n                    \"id\": 6188,\n                    \"unit_price\": 73.97,\n                    \"qty\": 2,\n                    \"description\": \"Middle Eastern Muslim Embroidered Long Swing \\nDress Islamic Arab Clothing Casual Oversize Girl \\nKaftan Dresses\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 937,\n                        \"name\": \"202103203 : Middle Eastern Muslim Embroidered Long Swing Dress Islamic Arab Clothing\",\n                        \"code\": \"ZC75\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2044,\n            \"contact_id\": {\n                \"id\": 598,\n                \"name\": \"Changsha Loriya Garment Co., Ltd.\"\n            },\n            \"amount_total\": 150.12,\n            \"number\": \"ZSI21030008\",\n            \"pickings\": [\n                {\n                    \"id\": 524,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 2,\n            \"lines\": [\n                {\n                    \"id\": 6227,\n                    \"unit_price\": 75.06,\n                    \"qty\": 1,\n                    \"description\": \"2019 loriya fashion modest middle east\\nwholesale price malaysia denim abaya islamic\\nclothing\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 935,\n                        \"name\": \"LR176 : Denim Abaya\",\n                        \"code\": \"ZC73\"\n                    }\n                },\n                {\n                    \"id\": 6228,\n                    \"unit_price\": 75.06,\n                    \"qty\": 1,\n                    \"description\": \"2021 New arrival LR418 Jumpsuit Dubai Turkey \\nSatin Muslim dress women Islamic Abayas\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 936,\n                        \"name\": \"LR418 : Jumpsuit Dubai Turkey Satin Muslim dress\",\n                        \"code\": \"ZC74\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 2026,\n            \"contact_id\": {\n                \"id\": 595,\n                \"name\": \"Gansu Shengjiahua Trading Co., Ltd.\"\n            },\n            \"amount_total\": 168.36,\n            \"number\": \"ZSI21030007\",\n            \"pickings\": [\n                {\n                    \"id\": 324,\n                    \"state\": \"voided\"\n                }\n            ],\n            \"qty_total\": 3,\n            \"lines\": [\n                {\n                    \"id\": 6172,\n                    \"unit_price\": 56.12,\n                    \"qty\": 1,\n                    \"description\": \"MXCHAN dubai latest abaya wholesale ready to ship pleated design 6 colors long dresses muslim abaya\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 934,\n                        \"name\": \"(Khaki) SJH2079 : MXCHAN dubai abaya\",\n                        \"code\": \"ZC70\"\n                    }\n                },\n                {\n                    \"id\": 6466,\n                    \"unit_price\": 56.12,\n                    \"qty\": 1,\n                    \"description\": \"(NAVY) MXCHAN dubai latest abaya wholesale ready to ship pleated design 6 colors long dresses muslim abaya\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 961,\n                        \"name\": \"(Black) SJH2079 : MXCHAN dubai abaya\",\n                        \"code\": \"ZC71\"\n                    }\n                },\n                {\n                    \"id\": 6467,\n                    \"unit_price\": 56.12,\n                    \"qty\": 1,\n                    \"description\": \"(Wine Red) MXCHAN dubai latest abaya wholesale ready to ship pleated design 6 colors long dresses muslim abaya\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 962,\n                        \"name\": \"(Wine Red)SJH2079 : MXCHAN dubai abaya\",\n                        \"code\": \"ZC72\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1992,\n            \"contact_id\": {\n                \"id\": 526,\n                \"name\": \"Shenzhen Blovedream Technology Co., Ltd.\"\n            },\n            \"amount_total\": 3851.05,\n            \"number\": \"ZSI21030006\",\n            \"pickings\": [\n                {\n                    \"id\": 305,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 4,\n            \"lines\": [\n                {\n                    \"id\": 6104,\n                    \"unit_price\": 958.558297,\n                    \"qty\": 2,\n                    \"description\": \"Hardware: Handheld Terminal - Z90\\n1. 5.0 inch 720*1280\\n- imitative glass durable touch screen (support Gloves touch)\\n- 178mm(L)×78mm(W)×24mm(D)\\n2. Default :Wifi+BT+FDD/TDDTLE\\n- 4G+GPS+phone+camera 8M pixel\\n3. Android 8.1OS and CPU \\n- Quad-Core 1.3G\\n4. RAM :2G,Flash ROM:16G\\n5. Package: \\n- PDA*1+4800MAH\\n- battery*1+USB\\n- cable*1+charger*1\\n6. Warranty: 12 months for PDA , 3 months for accessory\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 854,\n                        \"name\": \"U9000S : Handheld Terminal - Z90\",\n                        \"code\": \"Z90\"\n                    }\n                },\n                {\n                    \"id\": 6105,\n                    \"unit_price\": 966.966703,\n                    \"qty\": 2,\n                    \"description\": \"New arrival Blovedream Rugged Ip65 NFC \\nRFID Reader Android Handheld Data Collector \\nTerminal Mobile 2D Barcode Scanner\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 933,\n                        \"name\": \"T80: Android Handheld Data Collector\",\n                        \"code\": \"Z80\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1990,\n            \"contact_id\": {\n                \"id\": 589,\n                \"name\": \"Shenzhen Best Cultural Gift Co., Ltd\"\n            },\n            \"amount_total\": 38.84,\n            \"number\": \"ZSI21030005\",\n            \"pickings\": [\n                {\n                    \"id\": 286,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 1,\n            \"lines\": [\n                {\n                    \"id\": 6097,\n                    \"unit_price\": 38.84,\n                    \"qty\": 1,\n                    \"description\": \"Custom New Design Water Bottle Heater Portable \\nLarge Capacity 4 Colors Usb Travel Car Baby Milk \\nFeeding Bottle Warmer Cover\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 931,\n                        \"name\": \"Best-8117 : Water Bottle Heater Portable\",\n                        \"code\": \"ZM08\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1988,\n            \"contact_id\": {\n                \"id\": 510,\n                \"name\": \"Suzhou Eway Tech Co., Ltd.\"\n            },\n            \"amount_total\": 5103.09,\n            \"number\": \"ZSI21030003\",\n            \"pickings\": [\n                {\n                    \"id\": 357,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 30,\n            \"lines\": [\n                {\n                    \"id\": 6093,\n                    \"unit_price\": 194.901364,\n                    \"qty\": 10,\n                    \"description\": \"Tera QR 1D 2D Wireless Wired Bluetooth Scanner Barcode 3 in 1 Barcode Readers Scanner with display Extreme Drop Resistance(ORANGE)\\n1 x Barcode Scanner\\n1 x Multi-language Manual\\n1 x USB Charging Cable\\n1 x USB Receiver\\n1 x Stand\\n\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 869,\n                        \"name\": \"8100 Orange: Tera QR 1D 2D Wireless Wired Bluetooth Scanner 3 In 1 Heavy Duty\",\n                        \"code\": \"ZT34\"\n                    }\n                },\n                {\n                    \"id\": 6094,\n                    \"unit_price\": 149.437697,\n                    \"qty\": 10,\n                    \"description\": \"Tera Bluetooth 1D 2D wireless QR Barcode\\nScanner 3 in 1 Vibration Alert Wireless &\\nWired Scanner Barcode with stand \",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 888,\n                        \"name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\",\n                        \"code\": \"ZT50\"\n                    }\n                },\n                {\n                    \"id\": 6095,\n                    \"unit_price\": 165.969939,\n                    \"qty\": 10,\n                    \"description\": \"Tera Android 2D Barcode Scanner with\\nCharging Cradle Handheld QR Code Reader\\nwith one-touch clearance function\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 890,\n                        \"name\": \"HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\",\n                        \"code\": \"ZT52\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1986,\n            \"contact_id\": {\n                \"id\": 585,\n                \"name\": \"Yiwu City Kuolove Crafts Co., Ltd.\"\n            },\n            \"amount_total\": 132.86,\n            \"number\": \"ZSI21030002\",\n            \"pickings\": [\n                {\n                    \"id\": 362,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 200,\n            \"lines\": [\n                {\n                    \"id\": 6090,\n                    \"unit_price\": 0.6643,\n                    \"qty\": 100,\n                    \"description\": \"Multi-function White Fabric Baby Safety Lock Wardrobe \\nDoor Drawer Toilet Refrigerator Ribbon Lock Baby \\nKids Safety Products\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 930,\n                        \"name\": \"KL-AY012 : White Safety Lock Wardrobe Door\",\n                        \"code\": \"ZM07\"\n                    }\n                },\n                {\n                    \"id\": 6381,\n                    \"unit_price\": 0.6643,\n                    \"qty\": 100,\n                    \"description\": \"Multi-function White Fabric Baby Safety Lock Wardrobe \\nDoor Drawer Toilet Refrigerator Ribbon Lock Baby \\nKids Safety Products\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 951,\n                        \"name\": \"KL-AY012 : Brown Safety Lock Wardrobe Door\",\n                        \"code\": \"ZM09\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1985,\n            \"contact_id\": {\n                \"id\": 584,\n                \"name\": \"Dongguan Auschalink Fashion Garment Co., Ltd.\"\n            },\n            \"amount_total\": 268.54,\n            \"number\": \"ZSI21030001\",\n            \"pickings\": [\n                {\n                    \"id\": 288,\n                    \"state\": \"voided\"\n                }\n            ],\n            \"qty_total\": 2,\n            \"lines\": [\n                {\n                    \"id\": 6088,\n                    \"unit_price\": 152.130642,\n                    \"qty\": 1,\n                    \"description\": \"Auschalink Hot Sale Soft and Breathable Maternity Clothing Nursing Friendly Women\\nCasual Breastfeeding Bamboo Nursing\\nDress\\n\\nSize:xs,Color:DEEP ROSE\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 928,\n                        \"name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                        \"code\": \"ZM05 - Tangerine S\"\n                    }\n                },\n                {\n                    \"id\": 6089,\n                    \"unit_price\": 116.409358,\n                    \"qty\": 1,\n                    \"description\": \"High waisted loose fit perfect comfortable smart postpartum pants\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 929,\n                        \"name\": \"M2B002 : High Waisted Postpartum Pants\",\n                        \"code\": \"ZM06\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1984,\n            \"contact_id\": {\n                \"id\": 583,\n                \"name\": \"Yiwu Zo Arts & Crafts Co., Ltd.\"\n            },\n            \"amount_total\": 142.34,\n            \"number\": \"ZSI21020008\",\n            \"pickings\": [\n                {\n                    \"id\": 294,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 5,\n            \"lines\": [\n                {\n                    \"id\": 6087,\n                    \"unit_price\": 28.468,\n                    \"qty\": 5,\n                    \"description\": \"Zogift nursing breastfeeding cover summer\\nstyle nursing shawl cape clothing baby\\nblanket towel for stroller breast feeding\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 927,\n                        \"name\": \"ZOCZ-13 : Nursing shawl cover\",\n                        \"code\": \"ZM04\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1983,\n            \"contact_id\": {\n                \"id\": 582,\n                \"name\": \"Yiwu Qingkui Baby Products Co., Ltd.\"\n            },\n            \"amount_total\": 459.2,\n            \"number\": \"ZSI21020007\",\n            \"pickings\": [\n                {\n                    \"id\": 278,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 30,\n            \"lines\": [\n                {\n                    \"id\": 6085,\n                    \"unit_price\": 15.306667,\n                    \"qty\": 30,\n                    \"description\": \"Nursing Cover\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 926,\n                        \"name\": \" M2B01: Nursing Cover\",\n                        \"code\": \"ZM03\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1982,\n            \"contact_id\": {\n                \"id\": 581,\n                \"name\": \"Dongguan Ma Mi Love Clothing Co., Ltd.\"\n            },\n            \"amount_total\": 463.32,\n            \"number\": \"ZSI21020006\",\n            \"pickings\": [\n                {\n                    \"id\": 304,\n                    \"state\": \"voided\"\n                }\n            ],\n            \"qty_total\": 2,\n            \"lines\": [\n                {\n                    \"id\": 6082,\n                    \"unit_price\": 221.224865,\n                    \"qty\": 1,\n                    \"description\": \"customs Midi Black Maternityt maternity maxi\\ndress breastfeeding clothes women dress\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 924,\n                        \"name\": \"MMA-109 : customs Midi Black Maternityt maternity maxi dress breastfeeding clothes women dress\",\n                        \"code\": \"ZM01\"\n                    }\n                },\n                {\n                    \"id\": 6084,\n                    \"unit_price\": 242.095135,\n                    \"qty\": 1,\n                    \"description\": \"Custom Mock Shirt breastfeeding sweater\\nmaternity sweaters womens sweater\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 925,\n                        \"name\": \"MMA-128 : Custom Mock Shirt breastfeeding sweater maternity sweaters womens sweater\",\n                        \"code\": \"ZM02\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1968,\n            \"contact_id\": {\n                \"id\": 558,\n                \"name\": \"Shenzhen Daojia Electronic Technology Co., Ltd.\"\n            },\n            \"amount_total\": 1072.94,\n            \"number\": \"ZSI21020005\",\n            \"pickings\": [\n                {\n                    \"id\": 262,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 20,\n            \"lines\": [\n                {\n                    \"id\": 6062,\n                    \"unit_price\": 53.647,\n                    \"qty\": 20,\n                    \"description\": \"Safe File Trimmer Small Portable Finger\\nAutomatic Electric baby Nail Clipper \\n\\nUSD 13.00\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 904,\n                        \"name\": \"TC-NU08: Electric baby Nail Clipper\",\n                        \"code\": \"ZB63\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1967,\n            \"contact_id\": {\n                \"id\": 579,\n                \"name\": \"Huizhou Aichen Technology Co., Ltd.\"\n            },\n            \"amount_total\": 3227.56,\n            \"number\": \"ZSI21020004\",\n            \"pickings\": [\n                {\n                    \"id\": 261,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 30,\n            \"lines\": [\n                {\n                    \"id\": 6059,\n                    \"unit_price\": 107.585333,\n                    \"qty\": 30,\n                    \"description\": \"Wireless Video Baby Monitor 2.0 inch Color Security \\nCamera 2 Way Talk NightVision IR LED Temperature \\nMonitoring with 8 Lullaby\\n\\nUSD 26.00\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 866,\n                        \"name\": \"VB601: Wireless Video Baby Monitor\",\n                        \"code\": \"ZB31\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1965,\n            \"contact_id\": {\n                \"id\": 577,\n                \"name\": \"Shenzhen Geekroom E-Commerce Co., Ltd.\"\n            },\n            \"amount_total\": 609.21,\n            \"number\": \"ZSI21020003\",\n            \"pickings\": [\n                {\n                    \"id\": 300,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 10,\n            \"lines\": [\n                {\n                    \"id\": 6055,\n                    \"unit_price\": 60.921,\n                    \"qty\": 4,\n                    \"description\": \"Vanrro Baby nice baby electric peace of mind cut \\nchildren's smart nail scissors automatic manicure \\nknife\\n\\nBlue\\nUSD 14.59\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 923,\n                        \"name\": \"Vanrro Baby Nail Trimmer (Pink)\",\n                        \"code\": \"ZB67\"\n                    }\n                },\n                {\n                    \"id\": 6056,\n                    \"unit_price\": 60.921,\n                    \"qty\": 4,\n                    \"description\": \"Vanrro Baby nice baby electric peace of mind cut \\nchildren's smart nail scissors automatic manicure \\nknife\\n\\nPink\\nUSD 14.59\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 923,\n                        \"name\": \"Vanrro Baby Nail Trimmer (Pink)\",\n                        \"code\": \"ZB67\"\n                    }\n                },\n                {\n                    \"id\": 6057,\n                    \"unit_price\": 60.925,\n                    \"qty\": 2,\n                    \"description\": \"Vanrro Baby nice baby electric peace of mind cut \\nchildren's smart nail scissors automatic manicure \\nknife\\n\\nWhite\\nUSD 14.59\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 923,\n                        \"name\": \"Vanrro Baby Nail Trimmer (Pink)\",\n                        \"code\": \"ZB67\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1951,\n            \"contact_id\": {\n                \"id\": 510,\n                \"name\": \"Suzhou Eway Tech Co., Ltd.\"\n            },\n            \"amount_total\": 2033.81,\n            \"number\": \"ZSI21020001\",\n            \"pickings\": [\n                {\n                    \"id\": 277,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 20,\n            \"lines\": [\n                {\n                    \"id\": 6022,\n                    \"unit_price\": 74.864678,\n                    \"qty\": 10,\n                    \"description\": \"Tera Low Price 2D Wired Barcode Scanner with \\nStand QR Barcode Reader USB 1D Handheld \\nScanner Barcode with display tera scanners \\n\\nUSD 17.99\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 911,\n                        \"name\": \"711: 2D Wired Barcode Scanner\",\n                        \"code\": \"ZT70\"\n                    }\n                },\n                {\n                    \"id\": 6023,\n                    \"unit_price\": 128.516322,\n                    \"qty\": 10,\n                    \"description\": \"1100 Tera Pocket Size Waterproof 2D QR Wireless Barcode Scanner\\nMini Bar Code Reader Handheld Android Scanner Barcode with\\nvibration\\n\\nUSD 30.99\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 867,\n                        \"name\": \"EVHK0049 / 1100D / U-1100 / 1100: Tera Mini Bar Code Reader\",\n                        \"code\": \"ZT32\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1957,\n            \"contact_id\": {\n                \"id\": 282,\n                \"name\": \"EZbuy Holdings Limited\"\n            },\n            \"amount_total\": 55.24,\n            \"number\": \"ZSI21020002\",\n            \"pickings\": [],\n            \"qty_total\": 0,\n            \"lines\": [\n                {\n                    \"id\": 6040,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Shipping Fee\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                },\n                {\n                    \"id\": 6041,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Agent Fee\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                },\n                {\n                    \"id\": 6042,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Delivery Fee\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                }\n            ]\n        },\n        {\n            \"id\": 1942,\n            \"contact_id\": {\n                \"id\": 570,\n                \"name\": \"Iotech (Shenzhen) Co., Ltd.\"\n            },\n            \"amount_total\": 922.96,\n            \"number\": \"ZSI21010021\",\n            \"pickings\": [\n                {\n                    \"id\": 257,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 50,\n            \"lines\": [\n                {\n                    \"id\": 6006,\n                    \"unit_price\": 18.4592,\n                    \"qty\": 50,\n                    \"description\": \"Original 16GB 32GB 64GB 128GB 256GB 98MB/s \\nC10 Ultra Sandisk Micro SD Card\\n\\nUSD 4.40/PCs\\nShipping USD 2.00\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 914,\n                        \"name\": \"SanDisk: Ultra Sandisk Micro SD Card\",\n                        \"code\": \"ZS30\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1941,\n            \"contact_id\": {\n                \"id\": 547,\n                \"name\": \"Shenzhen Shangjian Technology Co., Ltd.\"\n            },\n            \"amount_total\": 634.75,\n            \"number\": \"ZSI21010020\",\n            \"pickings\": [\n                {\n                    \"id\": 232,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 20,\n            \"lines\": [\n                {\n                    \"id\": 6004,\n                    \"unit_price\": 33.571315,\n                    \"qty\": 10,\n                    \"description\": \"1080P security camera system wireless V380 Hook model \\nmini camera two-way Audio home security camera \\nsystem wireless \\n\\nUSD 7.88/PCs\\n\\n\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 894,\n                        \"name\": \"V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                        \"code\": \"ZC53\"\n                    }\n                },\n                {\n                    \"id\": 6005,\n                    \"unit_price\": 29.903685,\n                    \"qty\": 10,\n                    \"description\": \"Amazon hot selling A9 pet camera low price\\nnight vision wifi mini camera for indoor with\\noutdoor \",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 895,\n                        \"name\": \"A9 JIELI : night vision wifi mini camera for indoor with outdoor\",\n                        \"code\": \"ZC54\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1940,\n            \"contact_id\": {\n                \"id\": 569,\n                \"name\": \"Shenzhen Guba Innovation Technology Co., Ltd.\"\n            },\n            \"amount_total\": 82.54,\n            \"number\": \"ZSI21010019\",\n            \"pickings\": [\n                {\n                    \"id\": 256,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 2,\n            \"lines\": [\n                {\n                    \"id\": 6003,\n                    \"unit_price\": 41.27,\n                    \"qty\": 2,\n                    \"description\": \"Handheld Wireless Vacuum Cleaners portable Mini \\nVacuum Cleaner Cordless Wet Dry Auto Portable for \\nCar Home\\n\\nUSD 8.2400/Pcs\\nShipping USD 2.80\\n\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 913,\n                        \"name\": \"6000 p.a. GB-822 : Handheld Wireless Vacuum Cleaners\",\n                        \"code\": \"ZV36\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1913,\n            \"contact_id\": {\n                \"id\": 562,\n                \"name\": \"Ningbo Dooda Electronic Technology Co., Ltd.\"\n            },\n            \"amount_total\": 81.3,\n            \"number\": \"ZSI21010014\",\n            \"pickings\": [\n                {\n                    \"id\": 226,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 2,\n            \"lines\": [\n                {\n                    \"id\": 5961,\n                    \"unit_price\": 40.650582,\n                    \"qty\": 2,\n                    \"description\": \"6000pa Strong Power Car Vacuum Cleaner USB \\nRechargeable Wet/Dry Auto Portable Vacuums \\nCleaner \\n\\nUSD 8.00\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 908,\n                        \"name\": \"D01-CC0002 : 6000pa Strong Power Car Vacuum Cleaner USB Rechargeable\",\n                        \"code\": \"ZV67\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1912,\n            \"contact_id\": {\n                \"id\": 561,\n                \"name\": \"Jiaxing Joyan Houseware Products Co., Ltd.\"\n            },\n            \"amount_total\": 77.01,\n            \"number\": \"ZSI21010013\",\n            \"pickings\": [\n                {\n                    \"id\": 233,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 2,\n            \"lines\": [\n                {\n                    \"id\": 5958,\n                    \"unit_price\": 38.502899,\n                    \"qty\": 2,\n                    \"description\": \"BOOMJOY 6500PA Cordless Handheld Portable Vacuum Cleaner \\nwith Rechargeable 2500mAh for Pet Hair, Home Or Car \\n\\nUSD 9.00\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 907,\n                        \"name\": \"YH-02: BOOMJOY 6500PA Cordless Handheld Portable Vacuum Cleaner with Rechargeable\",\n                        \"code\": \"ZV66\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1911,\n            \"contact_id\": {\n                \"id\": 560,\n                \"name\": \"Shanghai Hifly Industry Company Limited\"\n            },\n            \"amount_total\": 96.72,\n            \"number\": \"ZSI21010012\",\n            \"pickings\": [\n                {\n                    \"id\": 229,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 2,\n            \"lines\": [\n                {\n                    \"id\": 5953,\n                    \"unit_price\": 48.358333,\n                    \"qty\": 2,\n                    \"description\": \"4800pa Strong Power Car Vacuum Cleaner DC 12 Volt 120W \\nwith Handbag 4.8KPA Cyclonic Wet/Dry Auto Portable\\nVacuums Cleaner 2 HEPA\\n\\nUSD 8.80\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 906,\n                        \"name\": \"4800pa Strong Power Car Vacuum Cleaner\",\n                        \"code\": \"ZV65\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1910,\n            \"contact_id\": {\n                \"id\": 559,\n                \"name\": \"Ningbo Mingzhi Electronic Technology Company Limited\"\n            },\n            \"amount_total\": 363.24,\n            \"number\": \"ZSI21010011\",\n            \"pickings\": [\n                {\n                    \"id\": 234,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 10,\n            \"lines\": [\n                {\n                    \"id\": 5948,\n                    \"unit_price\": 36.324582,\n                    \"qty\": 3,\n                    \"description\": \"New Fashion Children baby Safety Lovely Little\\nOctopus Electric Nail Clipper Manicure Set Nail\\nGrinder For Kids (Blue)\\n\\nUSD 8.20/PCs\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 905,\n                        \"name\": \"Octopus Electric Nail Clipper (Pink)\",\n                        \"code\": \"ZB64\"\n                    }\n                },\n                {\n                    \"id\": 5949,\n                    \"unit_price\": 36.324582,\n                    \"qty\": 3,\n                    \"description\": \"New Fashion Children baby Safety Lovely Little\\nOctopus Electric Nail Clipper Manicure Set Nail\\nGrinder For Kids (Pink)\\n\\nUSD 8.20/PCs\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 905,\n                        \"name\": \"Octopus Electric Nail Clipper (Pink)\",\n                        \"code\": \"ZB64\"\n                    }\n                },\n                {\n                    \"id\": 5950,\n                    \"unit_price\": 36.324582,\n                    \"qty\": 4,\n                    \"description\": \"New Fashion Children baby Safety Lovely Little\\nOctopus Electric Nail Clipper Manicure Set Nail\\nGrinder For Kids (Yellow)\\n\\nUSD 8.20/PCs\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 905,\n                        \"name\": \"Octopus Electric Nail Clipper (Pink)\",\n                        \"code\": \"ZB64\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1909,\n            \"contact_id\": {\n                \"id\": 558,\n                \"name\": \"Shenzhen Daojia Electronic Technology Co., Ltd.\"\n            },\n            \"amount_total\": 111.23,\n            \"number\": \"ZSI21010010\",\n            \"pickings\": [\n                {\n                    \"id\": 219,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 2,\n            \"lines\": [\n                {\n                    \"id\": 5945,\n                    \"unit_price\": 55.6143,\n                    \"qty\": 2,\n                    \"description\": \"Safe File Trimmer Small Portable Finger\\nAutomatic Electric baby Nail Clipper\\n\\nUSD 13.00/PCs\\n\\n\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 904,\n                        \"name\": \"TC-NU08: Electric baby Nail Clipper\",\n                        \"code\": \"ZB63\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1956,\n            \"contact_id\": {\n                \"id\": 282,\n                \"name\": \"EZbuy Holdings Limited\"\n            },\n            \"amount_total\": 195.03,\n            \"number\": \"ZSI21010022\",\n            \"pickings\": [\n                {\n                    \"id\": 236,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 3,\n            \"lines\": [\n                {\n                    \"id\": 6034,\n                    \"unit_price\": 63.12,\n                    \"qty\": 1,\n                    \"description\": \"Vanrro Baby nice baby electric peace of mind cut \\nchildren's smart nail scissors automatic manicure \\nknife\\n\\nSize:Blue\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 923,\n                        \"name\": \"Vanrro Baby Nail Trimmer (Pink)\",\n                        \"code\": \"ZB67\"\n                    }\n                },\n                {\n                    \"id\": 6035,\n                    \"unit_price\": 63.12,\n                    \"qty\": 1,\n                    \"description\": \"Vanrro Baby nice baby electric peace of mind cut \\nchildren's smart nail scissors automatic manicure \\nknife\\n\\nSize: TK Rabbit Radish Pink\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 923,\n                        \"name\": \"Vanrro Baby Nail Trimmer (Pink)\",\n                        \"code\": \"ZB67\"\n                    }\n                },\n                {\n                    \"id\": 6036,\n                    \"unit_price\": 68.79,\n                    \"qty\": 1,\n                    \"description\": \"Vanrro Baby nice baby electric peace of mind cut \\nchildren's smart nail scissors automatic manicure \\nknife\\n\\nSize: White\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 923,\n                        \"name\": \"Vanrro Baby Nail Trimmer (Pink)\",\n                        \"code\": \"ZB67\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1917,\n            \"contact_id\": {\n                \"id\": 552,\n                \"name\": \"Shenzhen Sycreader RFID Technology Co., Ltd.\"\n            },\n            \"amount_total\": 632.66,\n            \"number\": \"ZSI21010018\",\n            \"pickings\": [\n                {\n                    \"id\": 224,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 50,\n            \"lines\": [\n                {\n                    \"id\": 5973,\n                    \"unit_price\": 12.653298,\n                    \"qty\": 50,\n                    \"description\": \"125Khz rfid reader smart card rfid reader\\n em4100/4200 card reader with USB\\ninterface\\n\\nUSD 3.00\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 897,\n                        \"name\": \"R20D: USB interface Proximity 125Khz RFID reader smart card\",\n                        \"code\": \"ZR56\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1916,\n            \"contact_id\": {\n                \"id\": 510,\n                \"name\": \"Suzhou Eway Tech Co., Ltd.\"\n            },\n            \"amount_total\": 1951.27,\n            \"number\": \"ZSI21010017\",\n            \"pickings\": [\n                {\n                    \"id\": 208,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 10,\n            \"lines\": [\n                {\n                    \"id\": 5970,\n                    \"unit_price\": 195.127011,\n                    \"qty\": 10,\n                    \"description\": \"Tera QR 1D 2D Wireless Wired Bluetooth Scanner Barcode 3 in 1 Barcode Readers Scanner with display Extreme Drop Resistance(ORANGE)\\n1 x Barcode Scanner\\n1 x Multi-language Manual\\n1 x USB Charging Cable\\n1 x USB Receiver\\n1 x Stand\\n\\nUSD 46.99\\n\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 869,\n                        \"name\": \"8100 Orange: Tera QR 1D 2D Wireless Wired Bluetooth Scanner 3 In 1 Heavy Duty\",\n                        \"code\": \"ZT34\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1915,\n            \"contact_id\": {\n                \"id\": 510,\n                \"name\": \"Suzhou Eway Tech Co., Ltd.\"\n            },\n            \"amount_total\": 1118.74,\n            \"number\": \"ZSI21010016\",\n            \"pickings\": [\n                {\n                    \"id\": 207,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 14,\n            \"lines\": [\n                {\n                    \"id\": 5967,\n                    \"unit_price\": 64.835988,\n                    \"qty\": 10,\n                    \"description\": \"Tera Low Price 2D Wired Barcode Scanner with \\nStand QR Barcode Reader USB 1D Handheld \\nScanner Barcode with display tera scanners \\n\\nUSD 15.24/PCs\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 911,\n                        \"name\": \"711: 2D Wired Barcode Scanner\",\n                        \"code\": \"ZT70\"\n                    }\n                },\n                {\n                    \"id\": 5968,\n                    \"unit_price\": 117.595031,\n                    \"qty\": 4,\n                    \"description\": \"Tera 2D Barcode Scanner with Charging Cradle \\nWireless QR Bar Code Reader with Stand\\n\\nUSD 27.99\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 912,\n                        \"name\": \"EVHK0030 : Tera 2D Wireless Barcode Scanner with Charging Cradle\",\n                        \"code\": \"ZT71\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1914,\n            \"contact_id\": {\n                \"id\": 563,\n                \"name\": \"Zhongshan Shesheng Electronics Co., Ltd.\"\n            },\n            \"amount_total\": 94.32,\n            \"number\": \"ZSI21010015\",\n            \"pickings\": [\n                {\n                    \"id\": 209,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 2,\n            \"lines\": [\n                {\n                    \"id\": 5964,\n                    \"unit_price\": 51.459717,\n                    \"qty\": 1,\n                    \"description\": \"M2 Retail Stylish Portable Pluggable UP To 128G \\nMemory Card Headset Foldable Bluetooth Headset\\n\\nUSD 11.00/PCs\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 909,\n                        \"name\": \"M2: 128G Memory Card Headset Foldable Bluetooth Headset\",\n                        \"code\": \"ZE68\"\n                    }\n                },\n                {\n                    \"id\": 5965,\n                    \"unit_price\": 42.856132,\n                    \"qty\": 1,\n                    \"description\": \"Hot Selling Products T2 Handsfree Earphones Light \\nWireless Bluetooth Headphones \\n\\nUSD 9.00/PCs\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 910,\n                        \"name\": \"T2: Handsfree Earphones Light Wireless Bluetooth Headphones\",\n                        \"code\": \"ZE69\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1902,\n            \"contact_id\": {\n                \"id\": 557,\n                \"name\": \"Hangzhou Changjiang Electronics Co., Ltd.\"\n            },\n            \"amount_total\": 256.53,\n            \"number\": \"ZSI21010008\",\n            \"pickings\": [\n                {\n                    \"id\": 225,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 10,\n            \"lines\": [\n                {\n                    \"id\": 5925,\n                    \"unit_price\": 25.653,\n                    \"qty\": 5,\n                    \"description\": \"The Best Price In-ear Headset Low Price Wireless \\nSports Earphone With Bluetooth \\n\\nConnectors:TYPE-C,Color:Black\\n\\nUSD 5.90 /PCs\\n\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 903,\n                        \"name\": \"12000 : F9 In-ear Headset Low Price Wireless Sports Earphone With Bluetooth\",\n                        \"code\": \"ZE62\"\n                    }\n                },\n                {\n                    \"id\": 5926,\n                    \"unit_price\": 25.6529,\n                    \"qty\": 5,\n                    \"description\": \"The Best Price In-ear Headset Low Price Wireless \\nSports Earphone With Bluetooth \\n\\nConnectors:TYPE-C,Color:White\\n\\nUSD 5.90 /PCs\\n\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 903,\n                        \"name\": \"12000 : F9 In-ear Headset Low Price Wireless Sports Earphone With Bluetooth\",\n                        \"code\": \"ZE62\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1901,\n            \"contact_id\": {\n                \"id\": 556,\n                \"name\": \"Shantou Yuming Hardware Electronics Co., Ltd.\"\n            },\n            \"amount_total\": 376.11,\n            \"number\": \"ZSI21010007\",\n            \"pickings\": [\n                {\n                    \"id\": 210,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 10,\n            \"lines\": [\n                {\n                    \"id\": 5924,\n                    \"unit_price\": 37.611,\n                    \"qty\": 10,\n                    \"description\": \"Redmi Airdots2\\nRange :>10M \\nHeadphone Battery Capacity : 40mAh \\nCharging Capacity : 300MA \\nHeadset Charging: 30-45Minutes \\nBattery charging: 1 H \\nTalking /PlayingTime :3-4H\\n\\nUSD 9.0000 / PCs\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 902,\n                        \"name\": \"Redmi Airdots2 :\",\n                        \"code\": \"ZE61\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1903,\n            \"contact_id\": {\n                \"id\": 554,\n                \"name\": \"Shenzhen Sihaijialan Electronic Technology Co., Ltd.\"\n            },\n            \"amount_total\": 499.02,\n            \"number\": \"ZSI21010009\",\n            \"pickings\": [\n                {\n                    \"id\": 211,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 10,\n            \"lines\": [\n                {\n                    \"id\": 5932,\n                    \"unit_price\": 49.902,\n                    \"qty\": 10,\n                    \"description\": \"  Comfast CF-727B is a 1300Mbps Wi-Fi Bluetooth Adapter.\\n * RTL CPU, stable perference\\n * 2dBi antennas, strong signal\\n * High speed 1300Mbps network\\n * OEM/ODM welcomed\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 899,\n                        \"name\": \"CF-727B : OEM support RTL8822BU Comfast dualband BT4.2 1300Mbps wireless adapter usb adapter for PC\",\n                        \"code\": \"ZC58\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1900,\n            \"contact_id\": {\n                \"id\": 554,\n                \"name\": \"Shenzhen Sihaijialan Electronic Technology Co., Ltd.\"\n            },\n            \"amount_total\": 202.61,\n            \"number\": \"ZSI21010006\",\n            \"pickings\": [\n                {\n                    \"id\": 198,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 2,\n            \"lines\": [\n                {\n                    \"id\": 5922,\n                    \"unit_price\": 101.305,\n                    \"qty\": 2,\n                    \"description\": \"New WiFi6 802.11ax AX200 PCI-E wifi network card\\nbt5.0 AX200 desktop wifi network adapter \",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 901,\n                        \"name\": \"CF-AX200 : New WiFi6 802.11ax AX200 PCI-E wifi network card\",\n                        \"code\": \"ZC60\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1899,\n            \"contact_id\": {\n                \"id\": 555,\n                \"name\": \"Shenzhen Eastech Company Limited\"\n            },\n            \"amount_total\": 264.94,\n            \"number\": \"ZSI21010005\",\n            \"pickings\": [\n                {\n                    \"id\": 197,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 10,\n            \"lines\": [\n                {\n                    \"id\": 5919,\n                    \"unit_price\": 26.494,\n                    \"qty\": 10,\n                    \"description\": \"Bluetooth:\\n\\n• Application: Bluetooth speaker, Bluetooth headset, printer, gamepad, mobile phone, tablet, mouse, keyboard, etc.\\n• Windows XP/Vista/7/8/10 compatible\\n• Interface: USB2.0\\n• Bluetooth Version: 4.0\\n• Transmission Frequency: 2.4GHz\\n• Transmission Speed: 3Mbps\\n• Support Systems: WIN7/8/10\\n\\nWiFi:\\n\\n• WiFi Standard: 802.11b/g/n\\n• Transmit Rate: 600Mbps\\n• Transmission Frequency: 2.4GHz\\n• RF Power: 16dBm (MAX.)\\n• Support Systems: Windows 2000/XP/Vista/ 7/8/10; MAC OS\\n\\nUSD 5.9900\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 900,\n                        \"name\": \"FX8811 : 600Mbps 2 in 1 Dual band usb wifi bluetooth adapter wifi dongle\",\n                        \"code\": \"ZC59\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1897,\n            \"contact_id\": {\n                \"id\": 553,\n                \"name\": \"Dongguan Amplec Electronic Co., Ltd.\"\n            },\n            \"amount_total\": 287.2,\n            \"number\": \"ZSI21010004\",\n            \"pickings\": [\n                {\n                    \"id\": 194,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 10,\n            \"lines\": [\n                {\n                    \"id\": 5915,\n                    \"unit_price\": 28.72,\n                    \"qty\": 10,\n                    \"description\": \"1300Mbps 11AC double frequency wireless network card\\n1.1300Mbps\\n2.11AC double frequency wireless network card\\n3.USB3.0 wireless adapter\\nChipset RTL8812BU\\nStandard  IEEE802.11 ac/a/b/g/n standard\\nInterface type USB3.0/Compatible USB2.0\\nWireless mode Centralized control (Infrastructure) and Peer-To-Peer(Ad-Hoc)\\nAntenna Built-in antenna\\nWireless speed 2.4G:400Mbps ;5.8G:867Mpbs\\nData modulation BPSK,QPSK,CKK,OFDM(BPSK,QPSK,16-QAM,64-OAM)\\nFrequency 2.4G/5.8G\\nEncryption 64/128/152 digit WEP encryption,WPA/WPA-PSK,WPA2/WPA2-PSK Encryption and WPS one key encryption\\nOperation system Windows XP/Vista/WIN 7/WIN 8 etc.\\n\\nUSD 6.5000\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 898,\n                        \"name\": \"CF-812AC AP-AC1300 : High speed usb wireless wifi network adapter up to 1300mbps\",\n                        \"code\": \"ZC57\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1896,\n            \"contact_id\": {\n                \"id\": 552,\n                \"name\": \"Shenzhen Sycreader RFID Technology Co., Ltd.\"\n            },\n            \"amount_total\": 30.02,\n            \"number\": \"ZSI21010003\",\n            \"pickings\": [\n                {\n                    \"id\": 195,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 1,\n            \"lines\": [\n                {\n                    \"id\": 5910,\n                    \"unit_price\": 30.024,\n                    \"qty\": 1,\n                    \"description\": \"125Khz rfid reader smart card rfid reader em4100/4200 card reader with USB interface\\n\\nUSD 6.00\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 897,\n                        \"name\": \"R20D: USB interface Proximity 125Khz RFID reader smart card\",\n                        \"code\": \"ZR56\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1887,\n            \"contact_id\": {\n                \"id\": 510,\n                \"name\": \"Suzhou Eway Tech Co., Ltd.\"\n            },\n            \"amount_total\": 1671.48,\n            \"number\": \"ZSI21010002\",\n            \"pickings\": [\n                {\n                    \"id\": 212,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 10,\n            \"lines\": [\n                {\n                    \"id\": 5898,\n                    \"unit_price\": 167.148,\n                    \"qty\": 10,\n                    \"description\": \"Tera Android 2D Barcode Scanner with\\nCharging Cradle Handheld QR Code Reader\\nwith one-touch clearance function\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 890,\n                        \"name\": \"HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\",\n                        \"code\": \"ZT52\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1886,\n            \"contact_id\": {\n                \"id\": 547,\n                \"name\": \"Shenzhen Shangjian Technology Co., Ltd.\"\n            },\n            \"amount_total\": 108.14,\n            \"number\": \"ZSI21010001\",\n            \"pickings\": [\n                {\n                    \"id\": 196,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 3,\n            \"lines\": [\n                {\n                    \"id\": 5890,\n                    \"unit_price\": 43.49,\n                    \"qty\": 1,\n                    \"description\": \"1080P security camera system wireless V380 Hook \\nmodel mini camera two-way Audio home security \\ncamera system wireless\\n\\nUSD 9.0000\\n\\n\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 894,\n                        \"name\": \"V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                        \"code\": \"ZC53\"\n                    }\n                },\n                {\n                    \"id\": 5894,\n                    \"unit_price\": 38.34,\n                    \"qty\": 1,\n                    \"description\": \"Amazon hot selling A9 pet camera low price\\nnight vision wifi mini camera for indoor with\\noutdoor \\n\\nUSD 7.8000\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 895,\n                        \"name\": \"A9 JIELI : night vision wifi mini camera for indoor with outdoor\",\n                        \"code\": \"ZC54\"\n                    }\n                },\n                {\n                    \"id\": 5895,\n                    \"unit_price\": 26.31,\n                    \"qty\": 1,\n                    \"description\": \"Amazon hot selling SQ11 mini camera\\ncheap price mini camera indoor and outdoor\\n\\n\\nUSD 5.0000\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 896,\n                        \"name\": \"SQ11 : Mini camera indoor and outdoor\",\n                        \"code\": \"ZC55\"\n                    }\n                }\n            ]\n        },\n        {\n            \"id\": 1873,\n            \"contact_id\": {\n                \"id\": 540,\n                \"name\": \"Shenzhen Sunany Technology Limited\"\n            },\n            \"amount_total\": 10676.73,\n            \"number\": \"ZSI20120008\",\n            \"pickings\": [\n                {\n                    \"id\": 217,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 10,\n            \"lines\": [\n                {\n                    \"id\": 5859,\n                    \"unit_price\": 997.9869,\n                    \"qty\": 10,\n                    \"description\": \"15 inch Windows epos all in one Pos Terminal \\nTouch Screen Pos Computer Point \\nof Sales System pos \\n\\nUSD 243.00/PCs\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 885,\n                        \"name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\",\n                        \"code\": \"ZP47\"\n                    }\n                },\n                {\n                    \"id\": 5863,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Shipping (Sea freight)\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                }\n            ]\n        },\n        {\n            \"id\": 1853,\n            \"contact_id\": {\n                \"id\": 510,\n                \"name\": \"Suzhou Eway Tech Co., Ltd.\"\n            },\n            \"amount_total\": 2657.9,\n            \"number\": \"ZSI20120006\",\n            \"pickings\": [\n                {\n                    \"id\": 160,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 18,\n            \"lines\": [\n                {\n                    \"id\": 5839,\n                    \"unit_price\": 149.023,\n                    \"qty\": 10,\n                    \"description\": \"Tera Bluetooth 1D 2D wireless QR Barcode\\nScanner 3 in 1 Vibration Alert Wireless &\\nWired Scanner Barcode with stand \\n\\n\\n$ 35.99\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 888,\n                        \"name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\",\n                        \"code\": \"ZT50\"\n                    }\n                },\n                {\n                    \"id\": 5840,\n                    \"unit_price\": 107.658,\n                    \"qty\": 4,\n                    \"description\": \"Tera Wireless 1D 2D QR Barcode Scanner 2-in-1\\nhandheld Scanner with display CMOS with Stand \\n\\n$ 26\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 889,\n                        \"name\": \"EVHK0047 / HW0005 : Tera Wireless 1D 2D QR Barcode Scanner 2-in-1 handheld Scanner with display CMOS with Stand\",\n                        \"code\": \"ZT51\"\n                    }\n                },\n                {\n                    \"id\": 5841,\n                    \"unit_price\": 173.908,\n                    \"qty\": 4,\n                    \"description\": \"Tera Android 2D Barcode Scanner with\\nCharging Cradle Handheld QR Code Reader\\nwith one-touch clearance function.\\n\\n\\n$ 42\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 890,\n                        \"name\": \"HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\",\n                        \"code\": \"ZT52\"\n                    }\n                },\n                {\n                    \"id\": 5843,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Shipment to warehouse ($ 10)\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                }\n            ]\n        },\n        {\n            \"id\": 1852,\n            \"contact_id\": {\n                \"id\": 510,\n                \"name\": \"Suzhou Eway Tech Co., Ltd.\"\n            },\n            \"amount_total\": 1355.09,\n            \"number\": \"ZSI20120007\",\n            \"pickings\": [\n                {\n                    \"id\": 164,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 20,\n            \"lines\": [\n                {\n                    \"id\": 5836,\n                    \"unit_price\": 95.038191,\n                    \"qty\": 10,\n                    \"description\": \"Tera portable 1D Wired Laser Bar Code Scanner with \\nIntelligent Automatic Scanning Stand Handheld \\nBarcode Reader Plug and Play\\n\\n\\n$ 22.99/set\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 886,\n                        \"name\": \"6900 : Tera 1D Wired Barcode Scanner with Stand\",\n                        \"code\": \"ZT48\"\n                    }\n                },\n                {\n                    \"id\": 5837,\n                    \"unit_price\": 38.403862,\n                    \"qty\": 10,\n                    \"description\": \"Tera 1D Laser scanner barcode Wired\\nBarcode Scanner USB Handheld Scanner\\nBarcode Plug and Play\\n\\n\\n$ 92.90\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 887,\n                        \"name\": \"1031 : 1D Wired Laser Barcode Scanner  w/o Stand\",\n                        \"code\": \"ZT49\"\n                    }\n                },\n                {\n                    \"id\": 5838,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Shipment to warehouse ($ 5)\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                }\n            ]\n        },\n        {\n            \"id\": 1842,\n            \"contact_id\": {\n                \"id\": 540,\n                \"name\": \"Shenzhen Sunany Technology Limited\"\n            },\n            \"amount_total\": 1069.86,\n            \"number\": \"ZSI20120005\",\n            \"pickings\": [\n                {\n                    \"id\": 157,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 1,\n            \"lines\": [\n                {\n                    \"id\": 5818,\n                    \"unit_price\": 1012.840813,\n                    \"qty\": 1,\n                    \"description\": \"15 inch Windows epos all in one Pos Terminal Touch Screen Pos Computer Point of Sales System pos \\n\\nUSD 243.00 / PCs\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 885,\n                        \"name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\",\n                        \"code\": \"ZP47\"\n                    }\n                },\n                {\n                    \"id\": 5819,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Alibaba Fees ($ 8.68)\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                },\n                {\n                    \"id\": 5820,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Shipment ($ 5)\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                }\n            ]\n        },\n        {\n            \"id\": 1841,\n            \"contact_id\": {\n                \"id\": 539,\n                \"name\": \"CJ Legend Technology Company Limited\"\n            },\n            \"amount_total\": 1144.1,\n            \"number\": \"ZSI20120004\",\n            \"pickings\": [\n                {\n                    \"id\": 148,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 1,\n            \"lines\": [\n                {\n                    \"id\": 5815,\n                    \"unit_price\": 1105.378411,\n                    \"qty\": 1,\n                    \"description\": \"Latest S800 Point of Sale All in One Single / Dual Screen Pos Machine Wire Concealed Design New Pos Touch System \\n\\n$ 265.20 / PCs\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 884,\n                        \"name\": \"S800 : POS Touch System\",\n                        \"code\": \"ZP46\"\n                    }\n                },\n                {\n                    \"id\": 5816,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Alibaba Fees ($ 9.29)\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                }\n            ]\n        },\n        {\n            \"id\": 1840,\n            \"contact_id\": {\n                \"id\": 538,\n                \"name\": \"Shenzhen Smartrol Technology Limited\"\n            },\n            \"amount_total\": 82.86,\n            \"number\": \"ZSI20120003\",\n            \"pickings\": [\n                {\n                    \"id\": 150,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 1,\n            \"lines\": [\n                {\n                    \"id\": 5812,\n                    \"unit_price\": 63.353722,\n                    \"qty\": 1,\n                    \"description\": \"New HD 720P ZX-C24 indoor WiFi surveillance camera wireless IP camera 3.6mm night vision two-way audio baby monitor\\n\\n$15.20 / PCs\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 883,\n                        \"name\": \"ZX-C24 : Two-way Audio Baby Monitor\",\n                        \"code\": \"ZC45\"\n                    }\n                },\n                {\n                    \"id\": 5813,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Alibaba Fees ($ 0.68)\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                },\n                {\n                    \"id\": 5814,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Shipment charge ($ 4)\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                }\n            ]\n        },\n        {\n            \"id\": 1839,\n            \"contact_id\": {\n                \"id\": 508,\n                \"name\": \"Shenzhen Starlight Wenhua Yishu Dianzi Shangwu Co., Ltd.\"\n            },\n            \"amount_total\": 392.6,\n            \"number\": \"ZSI20120002\",\n            \"pickings\": [\n                {\n                    \"id\": 158,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 2,\n            \"lines\": [\n                {\n                    \"id\": 5808,\n                    \"unit_price\": 181.315426,\n                    \"qty\": 2,\n                    \"description\": \"AX1800: Xiaomi router Wifi\\n\\n$43.50/PCs\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 865,\n                        \"name\": \"AX1800: Xiaomi router Wifi\",\n                        \"code\": \"ZX30\"\n                    }\n                },\n                {\n                    \"id\": 5810,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Alibaba Fees ($ 3.19)\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                },\n                {\n                    \"id\": 5811,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Shipment charge ($ 4)\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                }\n            ]\n        },\n        {\n            \"id\": 1838,\n            \"contact_id\": {\n                \"id\": 509,\n                \"name\": \"Shenzhen Seesmart Display Technology Co., Ltd.\"\n            },\n            \"amount_total\": 698.86,\n            \"number\": \"ZSI20120001\",\n            \"pickings\": [\n                {\n                    \"id\": 149,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 2,\n            \"lines\": [\n                {\n                    \"id\": 5804,\n                    \"unit_price\": 70.85716,\n                    \"qty\": 1,\n                    \"description\": \"1080P Indoor Home Infrared Night Vision IP Security Wireless CCTV Camera\\n\\n$ 17/pcs\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 881,\n                        \"name\": \"1080P Indoor Home Infrared Night Vision IP Security Wireless CCTV Camera\",\n                        \"code\": \"ZC43\"\n                    }\n                },\n                {\n                    \"id\": 5805,\n                    \"unit_price\": 583.529552,\n                    \"qty\": 1,\n                    \"description\": \"New arrival Mini DLP Digital 3D Android Portable Projector Full HD Home Cinema 1080P\\n\\n\\n$ 140/PCs\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 882,\n                        \"name\": \"DLP Mini Portable Projector\",\n                        \"code\": \"ZD44\"\n                    }\n                },\n                {\n                    \"id\": 5806,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Alibaba Fees ($ 5.67)\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                },\n                {\n                    \"id\": 5807,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Shipment charge ($ 5)\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                }\n            ]\n        },\n        {\n            \"id\": 1837,\n            \"contact_id\": {\n                \"id\": 509,\n                \"name\": \"Shenzhen Seesmart Display Technology Co., Ltd.\"\n            },\n            \"amount_total\": 1176.3,\n            \"number\": \"ZSI20110002\",\n            \"pickings\": [\n                {\n                    \"id\": 146,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 10,\n            \"lines\": [\n                {\n                    \"id\": 5799,\n                    \"unit_price\": 110.319755,\n                    \"qty\": 10,\n                    \"description\": \"Wireless Video Baby Monitor 2.0 inch Color Security Camera 2 Way Talk NightVision IR LED Temperature Monitoring with 8 Lullaby\\n\\nUSD 26.5/pcs\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 866,\n                        \"name\": \"VB601: Wireless Video Baby Monitor\",\n                        \"code\": \"ZB31\"\n                    }\n                },\n                {\n                    \"id\": 5802,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Alibaba Fees (USD 9.56)\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                },\n                {\n                    \"id\": 5803,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Shipment charge\\nUSD 8\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                }\n            ]\n        },\n        {\n            \"id\": 1818,\n            \"contact_id\": {\n                \"id\": 510,\n                \"name\": \"Suzhou Eway Tech Co., Ltd.\"\n            },\n            \"amount_total\": 961.42,\n            \"number\": \"ZSI20110001\",\n            \"pickings\": [\n                {\n                    \"id\": 139,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 6,\n            \"lines\": [\n                {\n                    \"id\": 5763,\n                    \"unit_price\": 80.96,\n                    \"qty\": 2,\n                    \"description\": \"Tera QR Bar Code Scanner Barcode 2D Wired Barcode Scanner with Stand\\n\\n1 x Barcode Scanner\\n1 x Multi-language Manual\\n1 x USB Charging Cable\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 877,\n                        \"name\": \"[Replaced by 711]: 9100: EVHK0052-1 Tera QR Bar Code Scanner Barcode 2D Wired Barcode Scanner with Stand\",\n                        \"code\": \"ZT40\"\n                    }\n                },\n                {\n                    \"id\": 5764,\n                    \"unit_price\": 166.18,\n                    \"qty\": 2,\n                    \"description\": \"Tera Wireless Barcode Scanner 1D 2D Wired with USB Cradle Charging Base Handheld Barcode Scanner with display\\n\\nTera D6100 barcode scanner standard package:\\n1 x Barcode Scanner\\n1 x Multi-language Manual\\n1 x USB Cable\\n1 x Charging Base \",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 878,\n                        \"name\": \"D6100: Tera Wireless Barcode Scanner 1D 2D Wired with Charging Base/Cradle (Discontinued)\",\n                        \"code\": \"ZT41\"\n                    }\n                },\n                {\n                    \"id\": 5765,\n                    \"unit_price\": 208.79,\n                    \"qty\": 2,\n                    \"description\": \"Tera 2D Bluetooth Barcode Scanner with Heavy Duty Stable Stand Industrial Handheld Android Wireless Bar Code Reader \\n\\n1 x Barcode Scanner\\n1 x Multi-language Manual\\n1 x USB Charging Cable\\n1 x USB Receiver\\n1 x Stand\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 879,\n                        \"name\": \"P0034 - Tera 2D Bluetooth Barcode Scanner with Heavy Duty Stable Stand\",\n                        \"code\": \"ZT42\"\n                    }\n                },\n                {\n                    \"id\": 5766,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Alibaba Fees\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                },\n                {\n                    \"id\": 5769,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Shipment charge\\n$4\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                }\n            ]\n        },\n        {\n            \"id\": 1803,\n            \"contact_id\": {\n                \"id\": 526,\n                \"name\": \"Shenzhen Blovedream Technology Co., Ltd.\"\n            },\n            \"amount_total\": 2008.16,\n            \"number\": \"ZSI20100006\",\n            \"pickings\": [\n                {\n                    \"id\": 127,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 2,\n            \"lines\": [\n                {\n                    \"id\": 5732,\n                    \"unit_price\": 970.1256,\n                    \"qty\": 2,\n                    \"description\": \"Wireless rugged android handheld\\n\\n1D/2D Barcode Scanner Optional\\nHandheld medical devices\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 876,\n                        \"name\": \"Wireless rugged android handheld\",\n                        \"code\": \"P-0039\"\n                    }\n                },\n                {\n                    \"id\": 5733,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Alibaba Fees\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                }\n            ]\n        },\n        {\n            \"id\": 1802,\n            \"contact_id\": {\n                \"id\": 525,\n                \"name\": \"Guangzhou Netum Electronic Technology Co., Ltd.\"\n            },\n            \"amount_total\": 527.19,\n            \"number\": \"ZSI20100005\",\n            \"pickings\": [\n                {\n                    \"id\": 125,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 4,\n            \"lines\": [\n                {\n                    \"id\": 5730,\n                    \"unit_price\": 127.34,\n                    \"qty\": 4,\n                    \"description\": \"NT-1228BL Netum Usb 2D Bluetooth Barcode\\nScanner China Factory Price Industrial Electronic\\nBarcode Scanner \",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 875,\n                        \"name\": \"NT-1228BL Netum Usb 2D Bluetooth Barcode Scanner\",\n                        \"code\": \"ZN38\"\n                    }\n                },\n                {\n                    \"id\": 5731,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Alibaba Fees\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                }\n            ]\n        },\n        {\n            \"id\": 1801,\n            \"contact_id\": {\n                \"id\": 510,\n                \"name\": \"Suzhou Eway Tech Co., Ltd.\"\n            },\n            \"amount_total\": 589.12,\n            \"number\": \"ZSI20100004\",\n            \"pickings\": [\n                {\n                    \"id\": 122,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 4,\n            \"lines\": [\n                {\n                    \"id\": 5728,\n                    \"unit_price\": 140.1756,\n                    \"qty\": 4,\n                    \"description\": \"Tera Pocket Size Waterproof 2D QR Wireless\\nBarcode Scanner Mini Bar Code Reader Handheld\\nAndroid Scanner Barcode with vibration.\\n\\nTera 1100 barcode scanner standard package:\\n1 x Barcode Scanner\\n1 x Multi-language Manual\\n1 x USB Charging Cable\\n1 x USB Receiver\\nCarton package with bubble film filling\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": null\n                },\n                {\n                    \"id\": 5729,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Alibaba Fees\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                }\n            ]\n        },\n        {\n            \"id\": 1800,\n            \"contact_id\": {\n                \"id\": 524,\n                \"name\": \"Shenzhen Ketaisheng Technology Co., Ltd.\"\n            },\n            \"amount_total\": 209.44,\n            \"number\": \"ZSI20100003\",\n            \"pickings\": [],\n            \"qty_total\": 10,\n            \"lines\": [\n                {\n                    \"id\": 5725,\n                    \"unit_price\": 18.75,\n                    \"qty\": 10,\n                    \"description\": \"Xiaomi Mijia 1080P Smart IP Camera 130 Degree FOV \\nNight Vision 2.4Ghz Wifi Xioami Home Kit Security \\nMonitor baby CCTV\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 873,\n                        \"name\": \"Xiaomi Smart IP Camera 130 Degree FOV Night Vision 2.4Ghz Wifi Xioami Home Kit Security Monitor baby CCTV\",\n                        \"code\": \"ZX36\"\n                    }\n                },\n                {\n                    \"id\": 5727,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Alibaba Fees\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                }\n            ]\n        },\n        {\n            \"id\": 1783,\n            \"contact_id\": {\n                \"id\": 472,\n                \"name\": \"Guangzhou Luckydoor Electronic Equipment Co., Ltd.\"\n            },\n            \"amount_total\": 649.42,\n            \"number\": \"ZSI20100002\",\n            \"pickings\": [\n                {\n                    \"id\": 119,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 8,\n            \"lines\": [\n                {\n                    \"id\": 5682,\n                    \"unit_price\": 50.88,\n                    \"qty\": 6,\n                    \"description\": \"Luckydoor K-626RB RS232 QR Code Scanner 2D wired reader:\\nSingle package size: 10X8X19 cm\\nSingle gross weight: 0.35 kg\\nPackage Type: \\n- 1*rs232 pos qr code scanner of K-626\\n- 1*Stand(optional)\\n- 1*Cable\\n- 1*User Manual(English Version)\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 862,\n                        \"name\": \"K-621: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                        \"code\": \"ZL28\"\n                    }\n                },\n                {\n                    \"id\": 5683,\n                    \"unit_price\": 161.1,\n                    \"qty\": 2,\n                    \"description\": \"Luckydoor K-626RB RS232 QR Code Scanner 2D wired reader:\\nSingle package size: 10X8X19 cm\\nSingle gross weight: 0.35 kg\\nPackage Type: \\n- 1*rs232 pos qr code scanner of K-626\\n- 1*Stand(optional)\\n- 1*Cable\\n- 1*User Manual(English Version)\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 858,\n                        \"name\": \"K-626RB: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                        \"code\": \"ZL23\"\n                    }\n                },\n                {\n                    \"id\": 5693,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Alibaba Fees\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                }\n            ]\n        },\n        {\n            \"id\": 1786,\n            \"contact_id\": {\n                \"id\": 510,\n                \"name\": \"Suzhou Eway Tech Co., Ltd.\"\n            },\n            \"amount_total\": 386.13,\n            \"number\": \"ZSI20100001\",\n            \"pickings\": [\n                {\n                    \"id\": 118,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 2,\n            \"lines\": [\n                {\n                    \"id\": 5690,\n                    \"unit_price\": 207.73,\n                    \"qty\": 1,\n                    \"description\": \"Tera QR 1D 2D Wireless Wired Bluetooth Scanner Barcode 3 in 1 Barcode Readers Scanner with display Extreme Drop Resistance(ORANGE)\\n1 x Barcode Scanner\\n1 x Multi-language Manual\\n1 x USB Charging Cable\\n1 x USB Receiver\\n1 x Stand\\n\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 869,\n                        \"name\": \"8100 Orange: Tera QR 1D 2D Wireless Wired Bluetooth Scanner 3 In 1 Heavy Duty\",\n                        \"code\": \"ZT34\"\n                    }\n                },\n                {\n                    \"id\": 5691,\n                    \"unit_price\": 148.38,\n                    \"qty\": 1,\n                    \"description\": \"Tera 2D&1D Wireless Barcode Scanner 3 in 1 Bluetooth Vibration Alert Scanner Barcode with extremely Stable Stand Handheld Reader\\n\\nTera HW0002 barcode scanner standard package:\\n1 x Barcode Scanner\\n1 x Multi-language Manual\\n1 x USB Charging Cable\\n1 x USB Receiver\\n1 x Stand\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 870,\n                        \"name\": \"HW0002 : Tera 1D 2D Wireless Barcode Scanner with Stand (Discontinued)\",\n                        \"code\": \"ZT35\"\n                    }\n                },\n                {\n                    \"id\": 5692,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Alibaba Fees \",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                },\n                {\n                    \"id\": 5694,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"\\t\\nShipment charge\\n$4\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                }\n            ]\n        },\n        {\n            \"id\": 1751,\n            \"contact_id\": {\n                \"id\": 510,\n                \"name\": \"Suzhou Eway Tech Co., Ltd.\"\n            },\n            \"amount_total\": 299.1,\n            \"number\": \"ZSI20090003\",\n            \"pickings\": [\n                {\n                    \"id\": 108,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 2,\n            \"lines\": [\n                {\n                    \"id\": 5632,\n                    \"unit_price\": 144.493,\n                    \"qty\": 2,\n                    \"description\": \"Tera Pocket Size Waterproof 2D QR Wireless Barcode Scanner Mini Bar Code Reader Handheld Android Scanner Barcode with vibration\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 867,\n                        \"name\": \"EVHK0049 / 1100D / U-1100 / 1100: Tera Mini Bar Code Reader\",\n                        \"code\": \"ZT32\"\n                    }\n                },\n                {\n                    \"id\": 5633,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Alibaba Fees\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                }\n            ]\n        },\n        {\n            \"id\": 1748,\n            \"contact_id\": {\n                \"id\": 509,\n                \"name\": \"Shenzhen Seesmart Display Technology Co., Ltd.\"\n            },\n            \"amount_total\": 1161.84,\n            \"number\": \"ZSI20090002\",\n            \"pickings\": [\n                {\n                    \"id\": 104,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 10,\n            \"lines\": [\n                {\n                    \"id\": 5627,\n                    \"unit_price\": 112.253,\n                    \"qty\": 10,\n                    \"description\": \"Wireless Video Baby Monitor 2.0 inch Color Security Camera 2 Way Talk NightVision IR LED Temperature Monitoring with 8 Lullaby\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 866,\n                        \"name\": \"VB601: Wireless Video Baby Monitor\",\n                        \"code\": \"ZB31\"\n                    }\n                },\n                {\n                    \"id\": 5628,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Alibaba Fees\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                }\n            ]\n        },\n        {\n            \"id\": 1736,\n            \"contact_id\": {\n                \"id\": 508,\n                \"name\": \"Shenzhen Starlight Wenhua Yishu Dianzi Shangwu Co., Ltd.\"\n            },\n            \"amount_total\": 377.27,\n            \"number\": \"ZSI20090001\",\n            \"pickings\": [\n                {\n                    \"id\": 105,\n                    \"state\": \"done\"\n                }\n            ],\n            \"qty_total\": 2,\n            \"lines\": [\n                {\n                    \"id\": 5603,\n                    \"unit_price\": 182.256,\n                    \"qty\": 2,\n                    \"description\": \"New Xiaomi router AX1800 wifi 6 five-core 2.4G 5.0 GHz dual-frequency home wall-penetrating king full gigabit 5G router\",\n                    \"uom_id\": {\n                        \"id\": 1,\n                        \"name\": \"Unit\"\n                    },\n                    \"product_id\": {\n                        \"id\": 865,\n                        \"name\": \"AX1800: Xiaomi router Wifi\",\n                        \"code\": \"ZX30\"\n                    }\n                },\n                {\n                    \"id\": 5604,\n                    \"unit_price\": null,\n                    \"qty\": null,\n                    \"description\": \"Alibaba Fees\",\n                    \"uom_id\": null,\n                    \"product_id\": null\n                }\n            ]\n        }\n    ],\n    \"error\": null,\n    \"id\": 1693284889886,\n    \"dt\": 848\n}"}],"_postman_id":"92720527-400f-4b77-a673-40045163ba6a"}],"id":"dc5a4274-1667-4797-adcd-2262ebf136b6","_postman_id":"dc5a4274-1667-4797-adcd-2262ebf136b6","description":""},{"name":"Landed Costs","item":[{"name":"params/inline.help/search_read","id":"0459684c-dd1e-4bd3-b471-0af7be5d6857","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693290165744,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"landed_cost\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-29 11:22:29\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"inline.help\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"action\",<strong>\"=\",</strong>\"landed_cost\"<strong>]</strong>]<strong>],</strong></p>\n<ol>\n<li><code>\"inline.help\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"inline.help.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"inline.help\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"action\", \"=\", \"landed_cost\" ] ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with one sub-array:<ol>\n<li><strong>Outermost Array</strong>: The outermost array contains one sub-array, which holds the filtering condition.</li>\n<li><strong>Middle Array</strong> <code>[ [ \"action\", \"=\", \"landed_cost\" ] ]</code>: This middle array contains one set of filtering conditions. The set of conditions <code>[ \"action\", \"=\", \"landed_cost\" ]</code> suggests that you're filtering records where the \"action\" field is equal to \"landed_cost.\"</li>\n<li><strong>Innermost Array</strong> <code>[ \"action\", \"=\", \"landed_cost\" ]</code>: This innermost array contains the individual components of the filtering condition.<ol>\n<li><code>\"action\"</code> is the field name you are filtering on.</li>\n<li><code>\"=\"</code> is the comparison operator used in the filtering condition.</li>\n<li><code>\"landed_cost\"</code> is the value you are comparing against. It indicates that you want to match records where the value of the \"action\" field is equal to \"landed_cost.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"inline.help\" model. It's requesting records that match the specified filtering condition, where the \"action\" field is equal to \"landed_cost.\"</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"40e2c485-570d-45d6-b5fa-4d7fb7c717e2","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693290165744,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"landed_cost\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-29 11:22:29\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Aug 2023 06:25:54 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=ogeNhsrgQ0Zy03vIS0Z69tfU8LQpDZh9SuSNDEbdT4RiELLV5th4FqQeSvFIyGPZ4rtBG%2B%2BzQ60toM4Wpwk%2Bx19DAIqaFDboyC6aROsuOjg%2BFIA3rgUUTtEP3DJnyEWyAGYqdEhy%2F7Se3lW5Dg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fe2b829b928de4b-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693290165744,\n    \"dt\": 5\n}"}],"_postman_id":"0459684c-dd1e-4bd3-b471-0af7be5d6857"},{"name":"params/landed.cost/search_read","id":"de7f51d7-b589-4205-b3f2-c96ece314d29","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693290165751,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"landed.cost\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"date\",\r\n                \"est_duty\",\r\n                \"est_ship\",\r\n                \"act_duty\",\r\n                \"act_ship\",\r\n                \"invoice_id\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-29 11:22:29\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"landed.cost\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[]<strong><strong>],<strong><strong>[</strong></strong>\"number\",</strong></strong>\"date\",<strong><strong>\"est_duty\",</strong></strong>\"est_ship\",<strong><strong>\"act_duty\",</strong></strong>\"act_ship\",<strong><strong>\"invoice_id\",</strong></strong>\"state\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"landed.cost\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"landed.cost,\" which is likely related to calculating and managing landed costs associated with goods.</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"landed.cost\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [] ], [ \"number\", \"date\", \"est_duty\", \"est_ship\", \"act_duty\", \"act_ship\", \"invoice_id\", \"state\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with two sub-arrays:<ol>\n<li><strong>Outermost Array:</strong> The outermost array contains two sub-arrays: the filtering conditions sub-array and the fields sub-array.</li>\n<li><strong>Filtering Conditions Sub-Array</strong> <code>[ [ [] ] ]</code>: This sub-array contains one set of filtering conditions, but it's a bit unusual in that it contains an empty sub-array <code>[ [] ]</code>. An empty filtering condition indicates that no specific conditions are being applied. As a result, all records of the model will be retrieved.</li>\n<li>Fields Sub-Array <code>[ \"number\", \"date\", \"est_duty\", \"est_ship\", \"act_duty\", \"act_ship\", \"invoice_id\", \"state\" ]</code>: This sub-array lists the names of fields you want to retrieve from the records that match the filtering conditions (in this case, all records). The field names correspond to attributes of the \"landed.cost\" model. These attributes include:<ol>\n<li><code>\"number\"</code>: The unique identifier or reference number of the landed cost.</li>\n<li><code>\"date\"</code>: The date when the landed cost was calculated or incurred.</li>\n<li><code>\"est_duty\"</code>: The estimated duty cost associated with the landed cost.</li>\n<li><code>\"est_ship\"</code>: The estimated shipping cost associated with the landed cost.</li>\n<li><code>\"act_duty\"</code>: The actual duty cost incurred for the landed cost.</li>\n<li><code>\"act_ship\"</code>: The actual shipping cost incurred for the landed cost.</li>\n<li><code>\"invoice_id\"</code>: The unique identifier or reference to an invoice associated with the landed cost.</li>\n<li><code>\"state\"</code>: The current state or status of the landed cost.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to retrieve records from the \"landed.cost\" model. All records of the model will be retrieved, and the values of the specified fields will be included in the response.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"898034ef-ddbf-4ef3-8b5b-915e0f3c7f11","name":"params/landed.cost/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693290165751,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"landed.cost\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"date\",\r\n                \"est_duty\",\r\n                \"est_ship\",\r\n                \"act_duty\",\r\n                \"act_ship\",\r\n                \"invoice_id\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-29 11:22:29\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Aug 2023 06:38:50 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=wykMRq4XOh0pJGEyUh0KzAu7SOtNKF6oMq7t2qQSlO0qUhwbSr8%2FdPea27a%2B0IuMcLzdKVAaRGqq4HeS2eN%2FyZ%2BLHXHyHdVCxAhmvJMuSlCU%2BUsQwWskz23lf78Ia2%2Bj7hBGjsEJbnB5p5ksRg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fe2cb18a9490407-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 271,\n                \"invoice_id\": [\n                    3446,\n                    \"ZSI23060001\",\n                    null\n                ],\n                \"date\": \"2023-07-01 09:10:49\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202307-001\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 60,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 270,\n                \"invoice_id\": [\n                    3317,\n                    \"ZSI23010001\",\n                    null\n                ],\n                \"date\": \"2023-03-03 13:01:45\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202302-001\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 71,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 269,\n                \"invoice_id\": [\n                    3226,\n                    \"ZSI22110001\",\n                    null\n                ],\n                \"date\": \"2022-12-22 17:22:33\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202211-001\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 25.67,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 268,\n                \"invoice_id\": [\n                    2402,\n                    \"ZSI21060003\",\n                    null\n                ],\n                \"date\": \"2021-08-13 18:27:10\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202108-001\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 111.26,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 178,\n                \"invoice_id\": [\n                    2318,\n                    \"ZSI21060001\",\n                    null\n                ],\n                \"date\": \"2021-06-30 16:30:54\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202106-011\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 390.96,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 154,\n                \"invoice_id\": [\n                    2238,\n                    \"ZSI21050003\",\n                    null\n                ],\n                \"date\": \"2021-06-21 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202106-004\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 74.5,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 125,\n                \"invoice_id\": [\n                    2225,\n                    \"ZSI21050001\",\n                    null\n                ],\n                \"date\": \"2021-06-01 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202106-002\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 505.9,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 120,\n                \"invoice_id\": [\n                    2183,\n                    \"ZSI21040008\",\n                    null\n                ],\n                \"date\": \"2021-05-31 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202105-011\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 159,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 119,\n                \"invoice_id\": [\n                    2256,\n                    \"ZSI21050005\",\n                    null\n                ],\n                \"date\": \"2021-05-27 00:00:00\",\n                \"state\": \"draft\",\n                \"number\": \"LC-202105-010 (To Delete)\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 38.12,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 117,\n                \"invoice_id\": [\n                    2180,\n                    \"ZSI21040007\",\n                    null\n                ],\n                \"date\": \"2021-05-24 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202105-008\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 215.5,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 115,\n                \"invoice_id\": [\n                    2237,\n                    \"ZSI21050002\",\n                    null\n                ],\n                \"date\": \"2021-05-21 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202105-006\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 254,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 114,\n                \"invoice_id\": [\n                    2095,\n                    \"ZSI21030014\",\n                    null\n                ],\n                \"date\": \"2021-05-19 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202105-005\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 142.5,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 113,\n                \"invoice_id\": [\n                    2044,\n                    \"ZSI21030008\",\n                    null\n                ],\n                \"date\": \"2021-05-11 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202105-004\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 26.24,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 112,\n                \"invoice_id\": [\n                    2147,\n                    \"ZSI21040004\",\n                    null\n                ],\n                \"date\": \"2021-05-07 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202105-003\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 44,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 108,\n                \"invoice_id\": [\n                    2159,\n                    \"ZSI21040005\",\n                    null\n                ],\n                \"date\": \"2021-05-04 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202105-002\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 329.54,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 107,\n                \"invoice_id\": [\n                    2059,\n                    \"ZSI21030010\",\n                    null\n                ],\n                \"date\": \"2021-05-03 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202105-001\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 27.6,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 106,\n                \"invoice_id\": [\n                    2061,\n                    \"ZSI21030011\",\n                    null\n                ],\n                \"date\": \"2021-04-30 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202104-010\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 328.5,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 105,\n                \"invoice_id\": [\n                    2095,\n                    \"ZSI21030014\",\n                    null\n                ],\n                \"date\": \"2021-04-28 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202104-009\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 250,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 98,\n                \"invoice_id\": [\n                    2096,\n                    \"ZSI21030015\",\n                    null\n                ],\n                \"date\": \"2021-04-16 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202104-007\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 36,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 92,\n                \"invoice_id\": [\n                    2094,\n                    \"ZSI21030013\",\n                    null\n                ],\n                \"date\": \"2021-04-14 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202104-004\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 61.92,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 93,\n                \"invoice_id\": [\n                    2098,\n                    \"ZSI21040002\",\n                    null\n                ],\n                \"date\": \"2021-04-14 00:00:00\",\n                \"state\": \"draft\",\n                \"number\": \"LC-202104-005\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 42.48,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 91,\n                \"invoice_id\": [\n                    2062,\n                    \"ZSI21030012\",\n                    null\n                ],\n                \"date\": \"2021-04-12 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202104-003\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 42,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 90,\n                \"invoice_id\": [\n                    1986,\n                    \"ZSI21030002\",\n                    null\n                ],\n                \"date\": \"2021-04-08 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202104-002\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 32.5,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 88,\n                \"invoice_id\": [\n                    1988,\n                    \"ZSI21030003\",\n                    null\n                ],\n                \"date\": \"2021-04-07 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202104-001\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 298.5,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 87,\n                \"invoice_id\": [\n                    2035,\n                    \"ZSI21030009\",\n                    null\n                ],\n                \"date\": \"2021-03-31 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202103-015\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 26.24,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 85,\n                \"invoice_id\": [\n                    1992,\n                    \"ZSI21030006\",\n                    null\n                ],\n                \"date\": \"2021-03-26 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202103-013\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 134.12,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 83,\n                \"invoice_id\": [\n                    1965,\n                    \"ZSI21020003\",\n                    null\n                ],\n                \"date\": \"2021-03-25 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202103-011\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 104.05,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 81,\n                \"invoice_id\": [\n                    1984,\n                    \"ZSI21020008\",\n                    null\n                ],\n                \"date\": \"2021-03-23 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202103-010\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 31.6,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 79,\n                \"invoice_id\": [\n                    1990,\n                    \"ZSI21030005\",\n                    null\n                ],\n                \"date\": \"2021-03-22 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202103-008\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 13.08,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 97,\n                \"invoice_id\": [\n                    1983,\n                    \"ZSI21020007\",\n                    null\n                ],\n                \"date\": \"2021-03-22 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202103-006\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 89,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 76,\n                \"invoice_id\": [\n                    1951,\n                    \"ZSI21020001\",\n                    null\n                ],\n                \"date\": \"2021-03-19 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202103-005\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 109.4,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 74,\n                \"invoice_id\": [\n                    1967,\n                    \"ZSI21020004\",\n                    null\n                ],\n                \"date\": \"2021-03-08 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202103-003\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 452.57,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 75,\n                \"invoice_id\": [\n                    1968,\n                    \"ZSI21020005\",\n                    null\n                ],\n                \"date\": \"2021-03-08 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202103-004\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 109.93,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 72,\n                \"invoice_id\": [\n                    1940,\n                    \"ZSI21010019\",\n                    null\n                ],\n                \"date\": \"2021-03-03 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202103-001\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 2.54,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 73,\n                \"invoice_id\": [\n                    1942,\n                    \"ZSI21010021\",\n                    null\n                ],\n                \"date\": \"2021-03-03 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202103-002\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 63.46,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 71,\n                \"invoice_id\": [\n                    1957,\n                    \"ZSI21020002\",\n                    null\n                ],\n                \"date\": \"2021-02-18 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202102-010\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 55.24,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 70,\n                \"invoice_id\": [\n                    1910,\n                    \"ZSI21010011\",\n                    null\n                ],\n                \"date\": \"2021-02-11 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202102-009\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 54.84,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 68,\n                \"invoice_id\": [\n                    1941,\n                    \"ZSI21010020\",\n                    null\n                ],\n                \"date\": \"2021-02-10 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202102-007\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 87.81,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 69,\n                \"invoice_id\": [\n                    1912,\n                    \"ZSI21010013\",\n                    null\n                ],\n                \"date\": \"2021-02-10 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202102-008\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 62.1,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 67,\n                \"invoice_id\": [\n                    1911,\n                    \"ZSI21010012\",\n                    null\n                ],\n                \"date\": \"2021-02-08 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202102-006\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 84.1,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 64,\n                \"invoice_id\": [\n                    1917,\n                    \"ZSI21010018\",\n                    null\n                ],\n                \"date\": \"2021-02-05 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202102-003\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 184.1,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 65,\n                \"invoice_id\": [\n                    1902,\n                    \"ZSI21010008\",\n                    null\n                ],\n                \"date\": \"2021-02-05 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202102-004\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 36.82,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 66,\n                \"invoice_id\": [\n                    1913,\n                    \"ZSI21010014\",\n                    null\n                ],\n                \"date\": \"2021-02-05 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202102-005\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 61.95,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 63,\n                \"invoice_id\": [\n                    1909,\n                    \"ZSI21010010\",\n                    null\n                ],\n                \"date\": \"2021-02-02 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202102-002\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 18,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 62,\n                \"invoice_id\": [\n                    1873,\n                    \"ZSI20120008\",\n                    null\n                ],\n                \"date\": \"2021-02-01 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202102-001\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 696.86,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 56,\n                \"invoice_id\": [\n                    1915,\n                    \"ZSI21010016\",\n                    null\n                ],\n                \"date\": \"2021-01-29 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202101-008\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 300.8,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 57,\n                \"invoice_id\": [\n                    1916,\n                    \"ZSI21010017\",\n                    null\n                ],\n                \"date\": \"2021-01-29 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202101-009\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 213.55,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 58,\n                \"invoice_id\": [\n                    1914,\n                    \"ZSI21010015\",\n                    null\n                ],\n                \"date\": \"2021-01-29 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202101-010\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 36.68,\n                \"act_duty\": 3.2\n            },\n            {\n                \"id\": 59,\n                \"invoice_id\": [\n                    1901,\n                    \"ZSI21010007\",\n                    null\n                ],\n                \"date\": \"2021-01-29 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202101-011\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 33.09,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 60,\n                \"invoice_id\": [\n                    1903,\n                    \"ZSI21010009\",\n                    null\n                ],\n                \"date\": \"2021-01-29 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202101-012\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 46.69,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 61,\n                \"invoice_id\": [\n                    1887,\n                    \"ZSI21010002\",\n                    null\n                ],\n                \"date\": \"2021-01-29 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202101-013\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 297.69,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 53,\n                \"invoice_id\": [\n                    1886,\n                    \"ZSI21010001\",\n                    null\n                ],\n                \"date\": \"2021-01-25 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202101-005\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 28.62,\n                \"act_duty\": 3.69\n            },\n            {\n                \"id\": 54,\n                \"invoice_id\": [\n                    1899,\n                    \"ZSI21010005\",\n                    null\n                ],\n                \"date\": \"2021-01-25 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202101-006\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 33.09,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 55,\n                \"invoice_id\": [\n                    1900,\n                    \"ZSI21010006\",\n                    null\n                ],\n                \"date\": \"2021-01-25 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202101-007\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 9.44,\n                \"act_duty\": 29.11\n            },\n            {\n                \"id\": 51,\n                \"invoice_id\": [\n                    1897,\n                    \"ZSI21010004\",\n                    null\n                ],\n                \"date\": \"2021-01-21 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202101-003\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 39.85,\n                \"act_duty\": 9.37\n            },\n            {\n                \"id\": 52,\n                \"invoice_id\": [\n                    1896,\n                    \"ZSI21010003\",\n                    null\n                ],\n                \"date\": \"2021-01-21 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202101-004\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 7.3,\n                \"act_duty\": 1.04\n            },\n            {\n                \"id\": 50,\n                \"invoice_id\": [\n                    1852,\n                    \"ZSI20120007\",\n                    null\n                ],\n                \"date\": \"2021-01-07 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202101-002\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 365.58,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 49,\n                \"invoice_id\": [\n                    1853,\n                    \"ZSI20120006\",\n                    null\n                ],\n                \"date\": \"2021-01-05 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202101-001\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 397.31,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 47,\n                \"invoice_id\": [\n                    1842,\n                    \"ZSI20120005\",\n                    null\n                ],\n                \"date\": \"2020-12-31 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202012-006\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 256.84,\n                \"act_duty\": 36.18\n            },\n            {\n                \"id\": 48,\n                \"invoice_id\": [\n                    1839,\n                    \"ZSI20120002\",\n                    null\n                ],\n                \"date\": \"2020-12-31 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202012-007\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 75.71,\n                \"act_duty\": 13.3\n            },\n            {\n                \"id\": 44,\n                \"invoice_id\": [\n                    1838,\n                    \"ZSI20120001\",\n                    null\n                ],\n                \"date\": \"2020-12-17 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202012-003\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 67.18,\n                \"act_duty\": 23.64\n            },\n            {\n                \"id\": 45,\n                \"invoice_id\": [\n                    1840,\n                    \"ZSI20120003\",\n                    null\n                ],\n                \"date\": \"2020-12-17 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202012-004\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 39.84,\n                \"act_duty\": 2.84\n            },\n            {\n                \"id\": 43,\n                \"invoice_id\": [\n                    1841,\n                    \"ZSI20120004\",\n                    null\n                ],\n                \"date\": \"2020-12-16 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202012-002\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 247,\n                \"act_duty\": 38.72\n            },\n            {\n                \"id\": 42,\n                \"invoice_id\": [\n                    1837,\n                    \"ZSI20110002\",\n                    null\n                ],\n                \"date\": \"2020-12-10 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202012-001\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 195.9,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 41,\n                \"invoice_id\": [\n                    1818,\n                    \"ZSI20110001\",\n                    null\n                ],\n                \"date\": \"2020-11-25 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202011-004\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 184.04,\n                \"act_duty\": 32.52\n            },\n            {\n                \"id\": 40,\n                \"invoice_id\": [\n                    1803,\n                    \"ZSI20100006\",\n                    null\n                ],\n                \"date\": \"2020-11-09 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202011-003\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 94,\n                \"act_duty\": 67.91\n            },\n            {\n                \"id\": 39,\n                \"invoice_id\": [\n                    1802,\n                    \"ZSI20100005\",\n                    null\n                ],\n                \"date\": \"2020-11-04 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202011-002\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 63,\n                \"act_duty\": 17.83\n            },\n            {\n                \"id\": 36,\n                \"invoice_id\": [\n                    1801,\n                    \"ZSI20100004\",\n                    null\n                ],\n                \"date\": \"2020-11-02 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202011-001\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 43.4,\n                \"act_duty\": 28.4\n            },\n            {\n                \"id\": 34,\n                \"invoice_id\": [\n                    1786,\n                    \"ZSI20100001\",\n                    null\n                ],\n                \"date\": \"2020-10-22 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202010-001\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 99.54,\n                \"act_duty\": 13.06\n            },\n            {\n                \"id\": 35,\n                \"invoice_id\": [\n                    1783,\n                    \"ZSI20100002\",\n                    null\n                ],\n                \"date\": \"2020-10-22 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202010-003\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 134.47,\n                \"act_duty\": 21.94\n            },\n            {\n                \"id\": 26,\n                \"invoice_id\": [\n                    1736,\n                    \"ZSI20090001\",\n                    null\n                ],\n                \"date\": \"2020-09-25 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202009-003\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 58.8,\n                \"act_duty\": 12.76\n            },\n            {\n                \"id\": 27,\n                \"invoice_id\": [\n                    1748,\n                    \"ZSI20090002\",\n                    null\n                ],\n                \"date\": \"2020-09-25 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202009-004\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 173,\n                \"act_duty\": 39.31\n            },\n            {\n                \"id\": 28,\n                \"invoice_id\": [\n                    1751,\n                    \"ZSI20090003\",\n                    null\n                ],\n                \"date\": \"2020-09-24 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202009-005\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 23.1,\n                \"act_duty\": 10.11\n            },\n            {\n                \"id\": 25,\n                \"invoice_id\": [\n                    1720,\n                    \"SI20080005Z\",\n                    null\n                ],\n                \"date\": \"2020-09-14 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202009-002\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 32,\n                \"act_duty\": 10.81\n            },\n            {\n                \"id\": 20,\n                \"invoice_id\": [\n                    1718,\n                    \"SI20080004Z\",\n                    null\n                ],\n                \"date\": \"2020-08-25 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202008-003\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 127.41,\n                \"act_duty\": 29.4\n            },\n            {\n                \"id\": 18,\n                \"invoice_id\": [\n                    1709,\n                    \"SI20070010Z\",\n                    null\n                ],\n                \"date\": \"2020-08-13 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202008-001\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 97,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 19,\n                \"invoice_id\": [\n                    1708,\n                    \"SI20070009Z\",\n                    null\n                ],\n                \"date\": \"2020-08-13 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202008-002\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 74,\n                \"act_duty\": 22.95\n            },\n            {\n                \"id\": 17,\n                \"invoice_id\": [\n                    1703,\n                    \"SI20070006Z\",\n                    null\n                ],\n                \"date\": \"2020-07-23 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202007-002\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 94.9,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 16,\n                \"invoice_id\": [\n                    1696,\n                    \"SI20070004Z\",\n                    null\n                ],\n                \"date\": \"2020-07-20 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-202007-001\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 150.8,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 15,\n                \"invoice_id\": [\n                    1682,\n                    \"SI20060008Z\",\n                    null\n                ],\n                \"date\": \"2020-06-23 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-2006-002\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 39.46,\n                \"act_duty\": 0\n            },\n            {\n                \"id\": 21,\n                \"invoice_id\": [\n                    1684,\n                    \"SI20060010\",\n                    null\n                ],\n                \"date\": \"2020-06-20 00:00:00\",\n                \"state\": \"posted\",\n                \"number\": \"LC-2006-001\",\n                \"est_ship\": 0,\n                \"est_duty\": 0,\n                \"act_ship\": 319.79,\n                \"act_duty\": 281.35\n            }\n        ],\n        81\n    ],\n    \"error\": null,\n    \"id\": 1693290165751,\n    \"dt\": 127\n}"}],"_postman_id":"de7f51d7-b589-4205-b3f2-c96ece314d29"}],"id":"8a9f7f0b-e998-4697-a034-dcdd4d4cf2d5","_postman_id":"8a9f7f0b-e998-4697-a034-dcdd4d4cf2d5","description":""},{"name":"Lot/ Serial Numbers","item":[{"name":"params/inline.help/search_read","id":"50023f0c-7750-4cb0-9465-c60a32b40ee4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693293435652,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_lot\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-29 12:04:18\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"stock_lot\"<strong><strong>]</strong></strong>]**</strong>],**</p>\n<ol>\n<li><code>\"inline.help\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"inline.help.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"inline.help\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"action\", \"=\", \"stock_lot\" ] ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with one sub-array:<ol>\n<li><strong>Outermost Array:</strong> The outermost array contains one sub-array, which holds the filtering condition.</li>\n<li><strong>Middle Array</strong> <code>[ [ \"action\", \"=\", \"stock_lot\" ] ]</code>: This middle array contains one set of filtering conditions. The set of conditions <code>[ \"action\", \"=\", \"stock_lot\" ]</code> suggests that you're filtering records where the \"action\" field is equal to \"stock_lot.\"</li>\n<li><strong>Innermost Array</strong> <code>[ \"action\", \"=\", \"stock_lot\" ]</code>: This innermost array contains the individual components of the filtering condition.<ol>\n<li><code>\"action\"</code> is the field name you are filtering on.</li>\n<li><code>\"=\"</code> is the comparison operator used in the filtering condition.</li>\n<li><code>\"stock_lot\"</code> is the value you are comparing against. It indicates that you want to match records where the value of the \"action\" field is equal to \"stock_lot.\"</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"inline.help\" model. It's requesting records that match the specified filtering condition, where the \"action\" field is equal to \"stock_lot.\"</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"d7f1c878-f715-4171-8c63-d3ccfef3ffa1","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693293435652,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_lot\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-29 12:04:18\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Aug 2023 07:46:27 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=HVH4m7O1DPfINjP1z1mk3%2FND%2B161UnJhOh2hRNg0pF5DS3aURGaIzaikVNhkr43RMjigeYfjWQb0oCxzkDuFmJxPC8LZe4KswP%2Bpt1pjxqjyj3nsRuUDBXLzOcKJawBEHAoWBMijEYR0B3jQVA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fe32e29d9293cef-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693293435652,\n    \"dt\": 20\n}"}],"_postman_id":"50023f0c-7750-4cb0-9465-c60a32b40ee4"},{"name":"params/stock.lot/search_read","id":"f80874a0-b7e3-47a4-b490-be21cd50b779","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693293435658,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.lot\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"received_date\",\r\n                \"mfg_date\",\r\n                \"expiry_date\",\r\n                \"life_remain_percent\",\r\n                \"weight\",\r\n                \"description\",\r\n                \"product_id\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-29 12:04:18\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.lot\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[]<strong><strong>],<strong><strong>[</strong></strong>\"number\",</strong></strong>\"received_date\",<strong><strong>\"mfg_date\",</strong></strong>\"expiry_date\",<strong><strong>\"life_remain_percent\",</strong></strong>\"weight\",<strong><strong>\"description\",</strong></strong>\"product_id\",<strong>**\"state\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"count\": true,</strong></strong>\"order\": null,<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><code>\"stock.lot\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"stock.lot,\" which is likely related to managing lot or batch information associated with products.</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"stock.lot\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [] ], [ \"number\", \"received_date\", \"mfg_date\", \"expiry_date\", \"life_remain_percent\", \"weight\", \"description\", \"product_id\", \"state\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with two sub-arrays:<ol>\n<li><strong>Outermost Array:</strong> The outermost array contains two sub-arrays: the filtering conditions sub-array and the fields sub-array.</li>\n<li><strong>Filtering Conditions Sub-Array</strong> <code>[ [ [] ] ]</code>: This sub-array contains one set of filtering conditions, but it's a bit unusual in that it contains an empty sub-array <code>[ [] ]</code>. An empty filtering condition indicates that no specific conditions are being applied. As a result, all records of the model will be retrieved.</li>\n<li><strong>Fields Sub-Array</strong> <code>[ \"number\", \"received_date\", \"mfg_date\", \"expiry_date\", \"life_remain_percent\", \"weight\", \"description\", \"product_id\", \"state\" ]</code>: This sub-array lists the names of fields you want to retrieve from the records that match the filtering conditions (in this case, all records). The field names correspond to attributes of the \"stock.lot\" model. These attributes include:<ol>\n<li><code>\"number\"</code>: The unique identifier or reference number of the lot.</li>\n<li><code>\"received_date\"</code>: The date when the lot was received.</li>\n<li><code>\"mfg_date\"</code>: The manufacturing date of the lot.</li>\n<li><code>\"expiry_date\"</code>: The expiry date of the lot.</li>\n<li><code>\"life_remain_percent\"</code>: The remaining shelf life percentage of the lot.</li>\n<li><code>\"weight\"</code>: The weight of the lot.</li>\n<li><code>\"description\"</code>: A description or additional information about the lot.</li>\n<li><code>\"product_id\"</code>: The unique identifier or reference to the product associated with the lot.</li>\n<li><code>\"state\"</code>: The current state or status of the lot.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li>The object following the field selection is a set of additional options that can be included in the request:<ol>\n<li><code>\"count\": true</code>: This indicates that you want to retrieve the count of records that match the search criteria.</li>\n<li><code>\"order\": null</code>: This specifies the order in which the records should be returned. In this case, it's set to <code>null</code>, meaning that no specific ordering is applied.</li>\n<li><code>\"offset\": 0</code>: This indicates the starting point for retrieving records. In this case, it's set to start from the beginning (index 0).</li>\n<li><code>\"limit\": 100</code>: This specifies the maximum number of records to retrieve. Here, it's set to retrieve up to 100 records.</li>\n<li><code>\"context\": {}</code>: This provides additional context or context-related parameters for the request. It appears to be empty in this case.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to retrieve records from the \"stock.lot\" model. All records of the model will be retrieved, and the values of the specified fields will be included in the response. Additionally, the count of matching records, order, offset, and limit are specified as part of the request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"9e3dbdb7-d220-4f02-aa87-a687e08c00cc","name":"params/stock.lot/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693293435658,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.lot\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"received_date\",\r\n                \"mfg_date\",\r\n                \"expiry_date\",\r\n                \"life_remain_percent\",\r\n                \"weight\",\r\n                \"description\",\r\n                \"product_id\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-29 12:04:18\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Aug 2023 08:19:56 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=6aqwtH%2BFI6cCTGctNQeRNWt3migz%2FX%2BKK%2Ff2ywrLqxj8uosbxDUXJs9pBdgHSov7%2FAUxhKilv358eu9lx7zsO5XItsVlEfd5kPqa1ys%2B1hqXpRzDk8fgNk8PA0L2tLPkZfzt3vdTmVNTdPbztA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fe35f2ddb8c2161-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 85,\n                \"number\": \"dani02\",\n                \"description\": null,\n                \"received_date\": null,\n                \"expiry_date\": null,\n                \"state\": null,\n                \"product_id\": [\n                    845,\n                    \"[P-0022] Label Sticker \",\n                    null\n                ],\n                \"mfg_date\": \"2021-04-14\",\n                \"weight\": null,\n                \"life_remain_percent\": null\n            },\n            {\n                \"id\": 84,\n                \"number\": \"dani01\",\n                \"description\": null,\n                \"received_date\": null,\n                \"expiry_date\": null,\n                \"state\": null,\n                \"product_id\": [\n                    845,\n                    \"[P-0022] Label Sticker \",\n                    null\n                ],\n                \"mfg_date\": \"2021-04-14\",\n                \"weight\": null,\n                \"life_remain_percent\": null\n            },\n            {\n                \"id\": 62,\n                \"number\": \"62346\",\n                \"description\": null,\n                \"received_date\": null,\n                \"expiry_date\": null,\n                \"state\": null,\n                \"product_id\": [\n                    888,\n                    \"[ZT50] HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\",\n                    null\n                ],\n                \"mfg_date\": \"2021-04-13\",\n                \"weight\": null,\n                \"life_remain_percent\": null\n            },\n            {\n                \"id\": 2,\n                \"number\": \"4234234\",\n                \"description\": null,\n                \"received_date\": \"2017-11-08 00:00:00\",\n                \"expiry_date\": \"2018-01-31\",\n                \"state\": null,\n                \"product_id\": null,\n                \"mfg_date\": \"2017-09-01\",\n                \"weight\": null,\n                \"life_remain_percent\": 0\n            }\n        ],\n        4\n    ],\n    \"error\": null,\n    \"id\": 1693293435658,\n    \"dt\": 641\n}"}],"_postman_id":"f80874a0-b7e3-47a4-b490-be21cd50b779"}],"id":"6901f2c1-4c22-4228-b5df-defcfe755cbe","_postman_id":"6901f2c1-4c22-4228-b5df-defcfe755cbe","description":""},{"name":"Containers","item":[{"name":"params/inline.help/search_read","id":"57247f3f-ed14-47ec-a003-391b467651d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693299335810,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_container\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-29 13:54:40\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"inline.help\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"action\",<strong>\"=\",</strong>\"stock_container\"<strong>]</strong>]<strong>],</strong></p>\n<ol>\n<li><code>\"inline.help\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"inline.help.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"inline.help\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"action\", \"=\", \"stock_container\" ] ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with one sub-array:<ol>\n<li><strong>Outermost Array:</strong> The outermost array contains one sub-array, which holds the filtering condition.</li>\n<li><strong>Middle Array</strong> <code>[ [ \"action\", \"=\", \"stock_container\" ] ]</code>: This middle array contains one set of filtering conditions. The set of conditions <code>[ \"action\", \"=\", \"stock_container\" ]</code> suggests that you're filtering records where the \"action\" field is equal to \"stock_container.\"</li>\n<li><strong>Innermost Array</strong> <code>[ \"action\", \"=\", \"stock_container\" ]</code>: This innermost array contains the individual components of the filtering condition.<ol>\n<li><code>\"action\"</code> is the field name you are filtering on.</li>\n<li><code>\"=\"</code> is the comparison operator used in the filtering condition.</li>\n<li><code>\"stock_container\"</code> is the value you are comparing against. It indicates that you want to match records where the value of the \"action\" field is equal to \"stock_container.\"</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"inline.help\" model. It's requesting records that match the specified filtering condition, where the \"action\" field is equal to \"stock_container.\"</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"53e37284-468f-4e1f-80b5-862b7655c857","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693299335810,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_container\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-29 13:54:40\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Aug 2023 09:04:44 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=QTb5BFvFSPSxj%2FRQS%2BwqBB6POt2Vr%2Ft0NLwKxENgaauj1vckvzSccMR6xpSgScTSCai4FoUJOHaFrElTdiPUJyuF7elqFrWsPKdLfspKb1fQfhKbtTz6kdgG9px46jl1TTz3iWjgyUgfb3wTSQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fe3a0d36fc20403-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693299335810,\n    \"dt\": 5\n}"}],"_postman_id":"57247f3f-ed14-47ec-a003-391b467651d6"},{"name":"params/stock.container/search_read","id":"0cb7a5e3-59a6-45d5-81e4-80b1d6c36178","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693299335815,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.container\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"number\",\r\n                \"type\",\r\n                \"description\",\r\n                \"new_lot_range\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-29 13:54:40\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.container\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"number\",**</strong>\"type\",<strong><strong>\"description\",</strong></strong>\"new_lot_range\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"stock.container\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"stock.container,\" which might be related to managing containers or packaging units used for storing goods.</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"stock.container\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [], [ \"number\", \"type\", \"description\", \"new_lot_range\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with two sub-arrays:<ol>\n<li><strong>Outermost Array:</strong> The outermost array contains two sub-arrays: the filtering conditions sub-array and the fields sub-array.</li>\n<li><strong>Filtering Conditions Sub-Array</strong> <code>[]</code>: This sub-array is empty, indicating that no specific filtering conditions are being applied. As a result, all records of the model will be retrieved.</li>\n<li><strong>Fields Sub-Array</strong> <code>[ \"number\", \"type\", \"description\", \"new_lot_range\" ]</code>: This sub-array lists the names of fields you want to retrieve from the records that match the filtering conditions (in this case, all records). The field names correspond to attributes of the \"stock.container\" model. These attributes include:<ol>\n<li><code>\"number\"</code>: The unique identifier or reference number of the container.</li>\n<li><code>\"type\"</code>: The type or category of the container.</li>\n<li><code>\"description\"</code>: A description or additional information about the container.</li>\n<li><code>\"new_lot_range\"</code>: Information about a new lot range associated with the container.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to retrieve records from the \"stock.container\" model. All records of the model will be retrieved, and the values of the specified fields will be included in the response.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"a0b277b5-c97f-4bf8-adb0-919dbf6deff0","name":"params/stock.container/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693299335815,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.container\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"number\",\r\n                \"type\",\r\n                \"description\",\r\n                \"new_lot_range\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-29 13:54:40\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 29 Aug 2023 09:20:57 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=hY5Tdkk%2FHJEN2hBLQpSX1BeJ24quZeAoXVpZ%2FPzbTDodoExeO4nJNFgXRIPdcQR84q9V%2FuVV8H2Po5zK7gLeVOIgJohotkyMcWK%2FQTTa6FO7zHNrofT2eobIDIWkLOmjWxZvV3av85cwNtYw8g%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fe3b896efa699ba-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1693299335815,\n    \"dt\": 49\n}"}],"_postman_id":"0cb7a5e3-59a6-45d5-81e4-80b1d6c36178"}],"id":"a509c1db-ef5d-4673-90ba-e3c055db127e","_postman_id":"a509c1db-ef5d-4673-90ba-e3c055db127e","description":""},{"name":"Product Grading","item":[{"name":"params/inline.help/search_read","id":"d8569f42-816c-444c-a7e4-688d7032c343","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693368012485,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"grade\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 08:59:38\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"grade\"<strong><strong>]</strong></strong>]**</strong>],**</p>\n<ol>\n<li><code>\"inline.help\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"inline.help.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"inline.help\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"action\", \"=\", \"grade\" ] ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with one sub-array:<ol>\n<li><strong>Outermost Array:</strong> The outermost array contains one sub-array, which holds the filtering condition.</li>\n<li><strong>Middle Array</strong> <code>[ [ \"action\", \"=\", \"grade\" ] ]</code>: This middle array contains one set of filtering conditions. The set of conditions <code>[ \"action\", \"=\", \"grade\" ]</code> suggests that you're filtering records where the \"action\" field is equal to \"grade.\"</li>\n<li><strong>Innermost Array</strong> <code>[ \"action\", \"=\", \"grade\" ]</code>:<ol>\n<li>This innermost array contains the individual components of the filtering condition.</li>\n<li><code>\"action\"</code> is the field name you are filtering on.</li>\n<li><code>\"=\"</code> is the comparison operator used in the filtering condition.</li>\n<li><code>\"grade\"</code> is the value you are comparing against. It indicates that you want to match records where the value of the \"action\" field is equal to \"grade.\"</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"inline.help\" model. It's requesting records that match the specified filtering condition, where the \"action\" field is equal to \"grade.\"</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"2ea3133d-8e7f-4d96-9fde-bdcc9fe56b92","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693368012485,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"grade\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 08:59:38\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 30 Aug 2023 04:25:20 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=HFSHO9al2HCz8%2Fzvd6SIloffn%2FfGGnqPT8yuAfmpBPLajn5KPeuhCh1sqT%2BhNRWH60kIbtTAYqWQ3t%2FIEorV7kVOgxXy68eK2MNNOVfkgLtrUyYH31uhwLuY0EMajQRVghrazJGL9eQU7LpP9Q%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fea44eb28af99e1-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693368012485,\n    \"dt\": 66\n}"}],"_postman_id":"d8569f42-816c-444c-a7e4-688d7032c343"},{"name":"params/stock.grade/search_read","id":"993b287b-dd86-4551-a81c-5b431df585fe","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693368012491,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.grade\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"date\",\r\n                \"related_id\",\r\n                \"product_id\",\r\n                \"qty\",\r\n                \"location_id\",\r\n                \"qty_loss\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 08:59:38\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"stock.grade\",</strong>\"search_read\",<strong>[</strong>[<strong>[]</strong>],<strong>[</strong>\"number\",<strong>\"date\",</strong>\"related_id\",<strong>\"product_id\",</strong>\"qty\",<strong>\"location_id\",</strong>\"qty_loss\",<strong>\"state\"<strong>]</strong>],</strong></p>\n<ol>\n<li><code>\"stock.grade\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"stock.grade,\" which might be related to managing graded items.</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"stock.grade\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [], [ \"number\", \"date\", \"related_id\", \"product_id\", \"qty\", \"location_id\", \"qty_loss\", \"state\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with two sub-arrays:<ol>\n<li><strong>Outermost Array:</strong> The outermost array contains two sub-arrays: the filtering conditions sub-array and the fields sub-array.</li>\n<li><strong>Filtering Conditions Sub-Array</strong> <code>[]</code>: This sub-array is empty, indicating that no specific filtering conditions are being applied. As a result, all records of the model will be retrieved.</li>\n<li><strong>Fields Sub-Array</strong> <code>[ \"number\", \"date\", \"related_id\", \"product_id\", \"qty\", \"location_id\", \"qty_loss\", \"state\" ]</code>: This sub-array lists the names of fields you want to retrieve from the records that match the filtering conditions (in this case, all records).The field names correspond to attributes of the \"stock.grade\" model. These attributes include:<ol>\n<li><code>\"number\"</code>: The unique identifier or reference number of the graded item.</li>\n<li><code>\"date\"</code>: The date associated with the graded item.</li>\n<li><code>\"related_id\"</code>: The ID of a related entity.</li>\n<li><code>\"product_id\"</code>: The ID of the product associated with the graded item.</li>\n<li><code>\"qty\"</code>: The quantity of the graded item.</li>\n<li><code>\"location_id\"</code>: The ID of the location associated with the graded item.</li>\n<li><code>\"qty_loss\"</code>: The quantity loss associated with the graded item.</li>\n<li><code>\"state\"</code>: The state or status of the graded item.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to retrieve records from the \"stock.grade\" model. All records of the model will be retrieved, and the values of the specified fields will be included in the response.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"7b53a43e-a684-45e0-bb85-810586f282eb","name":"params/stock.grade/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693368012491,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.grade\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"date\",\r\n                \"related_id\",\r\n                \"product_id\",\r\n                \"qty\",\r\n                \"location_id\",\r\n                \"qty_loss\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 08:59:38\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 30 Aug 2023 04:35:51 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=1ibQJC1P9NsKBmk44wO6ggGM5N0qA7WG6da2jj7peOZqcLv7gpmgDWVlrDLJY%2Fqyxn3eHIxVF9GV1KKlhjm0uMpOZ8xloipQ8nZbwOgb5YNkjQFDU4FJuhSkpmLUFjVPS9W1io%2B2n3NYjF%2BUHg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fea5452991cde4f-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1693368012491,\n    \"dt\": 22\n}"}],"_postman_id":"993b287b-dd86-4551-a81c-5b431df585fe"}],"id":"b7dd9ec0-e590-4a04-9c67-4615cbf460a7","_postman_id":"b7dd9ec0-e590-4a04-9c67-4615cbf460a7","description":""},{"name":"Product Transforms","item":[{"name":"params/inline.help/search_read","id":"c9547ff9-8f0f-42b7-a67a-0f728dbbe201","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692763649127,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"transform\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 09:07:29\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"transform\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><code>\"inline.help\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"inline.help.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"inline.help\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"action\", \"=\", \"transform\" ] ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method.</li>\n<li>It's a nested array with a sub-array containing filtering conditions.</li>\n<li>The condition specified <code>[\"action\", \"=\", \"transform\"]</code> suggests that you're applying a filter on the \"action\" field. The condition <code>=</code> means \"equals to,\" and the value \"transform\" indicates that you're searching for records where the \"action\" field has the value \"transform.\"</li>\n</ol>\n</li>\n<li><code>{}</code>:<ol>\n<li>This is the fourth element in the <code>\"params\"</code> array and provides an empty dictionary.</li>\n<li>In JSON, <code>{}</code> represents an empty object, and it's being used here as additional parameters to the method call. In this case, it seems to indicate that there are no additional parameters required beyond the filtering condition.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"inline.help\" model. It's specifically requesting records where the \"action\" field has the value \"transform.\"</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"d6869fcc-4247-4f14-97e8-cfe375bd7465","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692763649127,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"transform\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 09:07:29\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 23 Aug 2023 04:10:50 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=GjvW8F3onPOYg43lA6X%2BVRCpQ24oHJbFx1P27A7uRwRcfODbexO05VTsDXl5qsLcR9GjTKOViTVjMYJ%2FCMASgH9VejryJTczjZF0H4y9HHIRTRzzQaz0sTuxCiOToTnkEDH0urZ1ZjdwaHBbMw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fb08211db8dde4b-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1692763649127,\n    \"dt\": 10\n}"}],"_postman_id":"c9547ff9-8f0f-42b7-a67a-0f728dbbe201"},{"name":"params/stock.transform/search_read","id":"b9609fbc-c039-4efb-9de5-cd6a9a5b77a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692763649129,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.transform\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"date\",\r\n                \"number\",\r\n                \"journal_id\",\r\n                \"ref\",\r\n                \"state\",\r\n                \"notes\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 09:07:29\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.transform\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[]<strong><strong>],<strong><strong>[</strong></strong>\"date\",</strong></strong>\"number\",<strong><strong>\"journal_id\",</strong></strong>\"ref\",<strong><strong>\"state\",</strong></strong>\"notes\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"stock.transform\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"stock.transform.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"stock.transform\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [] ], [ \"date\", \"number\", \"journal_id\", \"ref\", \"state\", \"notes\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method.</li>\n<li>It's a nested array with two sub-arrays:<ol>\n<li>The first sub-array <code>[[ ]]</code> indicates a filtering condition or domain.</li>\n<li>The second sub-array <code>[\"date\", \"number\", \"journal_id\", \"ref\", \"state\", \"notes\"]</code> lists the names of fields you want to retrieve from the records that match the search criteria. These field names correspond to attributes of the \"stock.transform\" model. When the \"search_read\" method is executed, it will return records with values for these specific fields. The fields listed seem to be related to the date of the transformation, its number, journal ID, reference, state, and notes.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"stock.transform\" model. It's requesting records without applying specific filtering criteria and is asking for the values of the \"date,\" \"number,\" \"journal_id,\" \"ref,\" \"state,\" and \"notes\" fields for each matching record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"65fff3c8-7ce5-4551-97a1-e1fdc692dfe7","name":"params/stock.transform/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692763649129,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.transform\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"date\",\r\n                \"number\",\r\n                \"journal_id\",\r\n                \"ref\",\r\n                \"state\",\r\n                \"notes\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 09:07:29\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 23 Aug 2023 04:32:49 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=CsxFXXVfPfcDfv6p%2FRbUlqWIy0fPY2M6elUKAafSYa%2FuuPIIOGdq4vAmZvJ3BjdC2Kza%2BndGTcuUiKMmPxZCHpWDSafAFAmRi%2FqJCns9uqB4uay3SGk7vpzeEVvw417k7xzWmkwVnwCcJktEfg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fb0a2442c1bde47-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1692763649129,\n    \"dt\": 20\n}"}],"_postman_id":"b9609fbc-c039-4efb-9de5-cd6a9a5b77a6"},{"name":"params/help.overlay/is_enable","id":"a5b60b0f-08c2-4802-a0c9-bfbb27f0d962","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692763649137,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"help.overlay\",\r\n        \"is_enabled\",\r\n        [\r\n            \"transform\"\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 09:07:29\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p>\"params\": [<br />\"help.overlay\",<br />\"is_enabled\",<br />[<br />\"transform\"<br />],</p>\n<ol>\n<li><code>\"help.overlay\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"help.overlay.\"</li>\n</ol>\n</li>\n<li><code>\"is_enabled\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and indicates a method or action you want to perform on the \"help.overlay\" model.</li>\n<li>The \"is_enabled\" method might be specific to this API and is likely used to check whether a certain feature or overlay is enabled or active.</li>\n</ol>\n</li>\n<li><code>[ \"transform\" ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"is_enabled\" method.</li>\n<li>It's an array that contains parameters for the method.</li>\n<li>In this case, the parameter <code>\"transform\"</code> is provided as an argument to the \"is_enabled\" method. This argument might indicate the name or identifier of the feature or overlay you want to check if it's enabled.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to check whether a specific overlay or feature named \"transform\" is enabled within the \"help.overlay\" model.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"323d3052-401c-4a24-bcde-35e1bc9bb6fa","name":"params/help.overlay/is_enable","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"*/*"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"text/plain;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1692763649137,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"help.overlay\",\r\n        \"is_enabled\",\r\n        [\r\n            \"transform\"\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-23 09:07:29\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 23 Aug 2023 04:39:57 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=yB%2Bmgy2zOmIS%2FsnshcGsbupkRaF7kcG%2F5IETIldTWUKPnQaASB7heR7LAl8739Co8kOK1aea6yZi5Uk3T%2BirEjyXHxbol9ukyyzMWsKGxk03NZLzg3yaG4AtLPaewLyJJGFdQZKelaaei%2FZ4SQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fb0acb63fedde57-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": null,\n    \"error\": null,\n    \"id\": 1692763649137,\n    \"dt\": 12\n}"}],"_postman_id":"a5b60b0f-08c2-4802-a0c9-bfbb27f0d962"}],"id":"6640e17d-2c8b-4779-9bab-654267b5cbd2","_postman_id":"6640e17d-2c8b-4779-9bab-654267b5cbd2","description":""},{"name":"Stock Count","item":[{"name":"params/inline.help/search_read","id":"62d73336-1b67-4090-8d14-3c3ef6b2c241","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693370900058,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_count\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 09:48:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"stock_count\"<strong><strong>]</strong></strong>]**</strong>],**</p>\n<ol>\n<li><code>\"inline.help\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"inline.help.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"inline.help\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"action\", \"=\", \"stock_count\" ] ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with one sub-array:<ol>\n<li><strong>Outermost Array:</strong> The outermost array contains one sub-array, which holds the filtering condition.</li>\n<li><strong>Middle Array</strong> <code>[ [ \"action\", \"=\", \"stock_count\" ] ]</code>: This middle array contains one set of filtering conditions. The set of conditions <code>[ \"action\", \"=\", \"stock_count\" ]</code> suggests that you're filtering records where the \"action\" field is equal to \"stock_count.\"</li>\n<li><strong>Innermost Array</strong> <code>[ \"action\", \"=\", \"stock_count\" ]</code>: This innermost array contains the individual components of the filtering condition.<ol>\n<li><code>\"action\"</code> is the field name you are filtering on.</li>\n<li><code>\"=\"</code> is the comparison operator used in the filtering condition.</li>\n<li><code>\"stock_count\"</code> is the value you are comparing against. It indicates that you want to match records where the value of the \"action\" field is equal to \"stock_count.\"</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"inline.help\" model. It's requesting records that match the specified filtering condition, where the \"action\" field is equal to \"stock_count.\"</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"63ed38d0-0d54-4b92-8bb8-c6329f323309","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693370900058,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_count\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 09:48:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 30 Aug 2023 04:50:29 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=TWadZSCWrjDtvoCgKhzXjFAtw1LTELfrEOAY%2FuDQkdjb9nKwMttAISFbl2VQOANPfjKQvH8ygn%2BGIjxRWzvblAI02ID6Oo8G9NAlUHwM9J6R5C8%2BX0g1inZ2wQDqTugxPoemFPx5G3jEWePHUw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fea69c57fb83cef-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693370900058,\n    \"dt\": 12\n}"}],"_postman_id":"62d73336-1b67-4090-8d14-3c3ef6b2c241"},{"name":"params/stock.count/search_read","id":"625fff73-fca8-4590-a2da-bd61164292b4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693370900066,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.count\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"memo\",\r\n                \"location_id\",\r\n                \"date\",\r\n                \"num_lines\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 09:48:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"stock.count\",</strong>\"search_read\",<strong>[</strong>[<strong>[]</strong>],<strong>[</strong>\"number\",<strong>\"memo\",</strong>\"location_id\",<strong>\"date\",</strong>\"num_lines\",<strong>\"state\"<strong>]</strong>],</strong></p>\n<ol>\n<li><code>\"stock.count\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"stock.count,\" which might be related to inventory counting operations.</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"stock.count\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [], [ \"number\", \"memo\", \"location_id\", \"date\", \"num_lines\", \"state\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with two sub-arrays:<ol>\n<li><strong>Outermost Array:</strong> The outermost array contains two sub-arrays: the filtering conditions sub-array and the fields sub-array.</li>\n<li><strong>Filtering Conditions Sub-Array</strong> <code>[]</code>: This sub-array is empty, indicating that no specific filtering conditions are being applied. As a result, all records of the model will be retrieved.</li>\n<li><strong>Fields Sub-Array</strong> <code>[ \"number\", \"memo\", \"location_id\", \"date\", \"num_lines\", \"state\" ]</code>: This sub-array lists the names of fields you want to retrieve from the records that match the filtering conditions (in this case, all records). The field names correspond to attributes of the \"stock.count\" model. These attributes include:<ol>\n<li><code>\"number\"</code>: The unique identifier or reference number of the inventory count.</li>\n<li><code>\"memo\"</code>: A memo or note associated with the inventory count.</li>\n<li><code>\"location_id\"</code>: The ID of the location where the inventory count took place.</li>\n<li><code>\"date\"</code>: The date of the inventory count.</li>\n<li><code>\"num_lines\"</code>: The number of count lines or items counted in the inventory.</li>\n<li><code>\"state\"</code>: The state or status of the inventory count.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to retrieve records from the \"stock.count\" model. All records of the model will be retrieved, and the values of the specified fields will be included in the response.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"f35426b1-b01a-48e1-8a3f-cb6c168e2f68","name":"params/stock.count/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693370900066,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.count\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"memo\",\r\n                \"location_id\",\r\n                \"date\",\r\n                \"num_lines\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 09:48:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 30 Aug 2023 05:00:18 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=MbwVGB6ttg7wJgp9YdrcwdLTE2MTbOcNGumczR0ludSi%2FdgxMSzwTBhxap2X26sH79BJH76Fh2l76VcE7r%2BjbDq7VgqLA75CppO8VLFqSZlMlvXObhg8LoZZa%2F6fA3pDa2wfrcYqts6WYu9WKw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7fea78240dfcd1f4-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 24,\n                \"date\": \"2022-11-10 15:17:55\",\n                \"state\": \"done\",\n                \"number\": \"SC-0026\",\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"memo\": null,\n                \"num_lines\": 1\n            },\n            {\n                \"id\": 28,\n                \"date\": \"2022-11-10 10:54:48\",\n                \"state\": \"done\",\n                \"number\": \"SC-0023\",\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"memo\": null,\n                \"num_lines\": 1\n            },\n            {\n                \"id\": 22,\n                \"date\": \"2022-10-29 14:05:29\",\n                \"state\": \"draft\",\n                \"number\": \"SC-0015\",\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"memo\": null,\n                \"num_lines\": 0\n            },\n            {\n                \"id\": 21,\n                \"date\": \"2022-08-22 15:09:24\",\n                \"state\": \"done\",\n                \"number\": \"SC-0014\",\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"memo\": null,\n                \"num_lines\": 3\n            },\n            {\n                \"id\": 20,\n                \"date\": \"2022-06-30 15:36:15\",\n                \"state\": \"done\",\n                \"number\": \"SC-0013\",\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"memo\": null,\n                \"num_lines\": 3\n            },\n            {\n                \"id\": 19,\n                \"date\": \"2022-06-07 17:11:47\",\n                \"state\": \"done\",\n                \"number\": \"SC-0012\",\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"memo\": null,\n                \"num_lines\": 1\n            },\n            {\n                \"id\": 18,\n                \"date\": \"2022-06-07 17:07:32\",\n                \"state\": \"done\",\n                \"number\": \"SC-0011\",\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"memo\": null,\n                \"num_lines\": 5\n            },\n            {\n                \"id\": 17,\n                \"date\": \"2022-05-17 10:49:42\",\n                \"state\": \"done\",\n                \"number\": \"SC-0010\",\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"memo\": null,\n                \"num_lines\": 2\n            },\n            {\n                \"id\": 15,\n                \"date\": \"2022-04-21 14:46:21\",\n                \"state\": \"draft\",\n                \"number\": \"SC-0009\",\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"memo\": null,\n                \"num_lines\": 8\n            },\n            {\n                \"id\": 14,\n                \"date\": \"2022-04-04 14:04:11\",\n                \"state\": \"draft\",\n                \"number\": \"SC-0007\",\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"memo\": null,\n                \"num_lines\": 7\n            },\n            {\n                \"id\": 7,\n                \"date\": \"2021-10-13 17:56:27\",\n                \"state\": \"done\",\n                \"number\": \"SC-0004\",\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"memo\": null,\n                \"num_lines\": 3\n            },\n            {\n                \"id\": 5,\n                \"date\": \"2021-09-21 21:57:33\",\n                \"state\": \"done\",\n                \"number\": \"SC-0003\",\n                \"location_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"memo\": null,\n                \"num_lines\": 2\n            },\n            {\n                \"id\": 4,\n                \"date\": \"2021-09-21 21:42:21\",\n                \"state\": \"done\",\n                \"number\": \"SC-0002\",\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"memo\": null,\n                \"num_lines\": 1\n            },\n            {\n                \"id\": 3,\n                \"date\": \"2017-11-16 00:00:00\",\n                \"state\": \"voided\",\n                \"number\": \"SC-0001\",\n                \"location_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"memo\": null,\n                \"num_lines\": 1\n            }\n        ],\n        14\n    ],\n    \"error\": null,\n    \"id\": 1693370900066,\n    \"dt\": 13\n}"}],"_postman_id":"625fff73-fca8-4590-a2da-bd61164292b4"}],"id":"569931c7-026a-49fa-a1c9-c5d615df8d60","_postman_id":"569931c7-026a-49fa-a1c9-c5d615df8d60","description":""},{"name":"Cycle Stock Count","item":[{"name":"params/inline.help/search_read","id":"caf2fdce-3512-477c-a87f-457f61311279","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693375492514,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"cycle_stockcount\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 11:04:37\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"cycle_stockcount\"<strong><strong>]</strong></strong>]**</strong>],**</p>\n<ol>\n<li><code>\"inline.help\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"inline.help.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"inline.help\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"action\", \"=\", \"cycle_stockcount\" ] ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with one sub-array:<ol>\n<li><strong>Outermost Array:</strong> The outermost array contains one sub-array, which holds the filtering condition.</li>\n<li><strong>Middle Array</strong> <code>[ [ \"action\", \"=\", \"cycle_stockcount\" ] ]</code>: This middle array contains one set of filtering conditions. The set of conditions <code>[ \"action\", \"=\", \"cycle_stockcount\" ]</code> suggests that you're filtering records where the \"action\" field is equal to \"cycle_stockcount.\"</li>\n<li><strong>Innermost Array</strong> <code>[ \"action\", \"=\", \"cycle_stockcount\" ]</code>: This innermost array contains the individual components of the filtering condition.<ol>\n<li><code>\"action\"</code> is the field name you are filtering on.</li>\n<li><code>\"=\"</code> is the comparison operator used in the filtering condition.</li>\n<li><code>\"cycle_stockcount\"</code> is the value you are comparing against. It indicates that you want to match records where the value of the \"action\" field is equal to \"cycle_stockcount.\"</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"inline.help\" model. It's requesting records that match the specified filtering condition, where the \"action\" field is equal to \"cycle_stockcount.\" The returned records will likely contain information related to providing inline help or documentation for the \"cycle_stockcount\" action, which might involve cycle counting of stock or inventory items.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"fcd20814-ca85-447d-803f-e434a321e34a","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693375492514,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"cycle_stockcount\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 11:04:37\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 30 Aug 2023 06:07:43 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=fvtE0ARLoIqd%2BYj%2F77rd9h8qlchliBVjGLTRD2NXXNPNtNdMrlCB9GZXP3P8%2Bn5dn1k59%2BDN6vcEDuth2OBIoz24k%2BQbEvt%2BRRgxAXC8NY0XHEKMceucnmTFLAR5LdXcr8Dkg0rpFkLcSSY65g%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7feadae7be02999e-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693375492514,\n    \"dt\": 9\n}"}],"_postman_id":"caf2fdce-3512-477c-a87f-457f61311279"},{"name":"params/cycle.stock.count/search_read","id":"1666cce0-0d19-4d9a-ad45-4d6cba3aa84f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693375492525,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"cycle.stock.count\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"product_id\",\r\n                \"location_id\",\r\n                \"date\",\r\n                \"abc_categ\",\r\n                \"xyz_categ\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 11:04:37\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"cycle.stock.count\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"product_id\",**</strong>\"location_id\",<strong><strong>\"date\",</strong></strong>\"abc_categ\",****\"xyz_categ\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"cycle.stock.count\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"cycle.stock.count,\" which might be related to cycle counting of stock or inventory items.</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"cycle.stock.count\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [], [ \"product_id\", \"location_id\", \"date\", \"abc_categ\", \"xyz_categ\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with two sub-arrays:<ol>\n<li><strong>Outermost Array:</strong> The outermost array contains two sub-arrays: the filtering conditions sub-array and the fields sub-array.</li>\n<li><strong>Filtering Conditions Sub-Array</strong> <code>[]</code>: This sub-array is empty, indicating that no specific filtering conditions are being applied. As a result, all records of the model will be retrieved.</li>\n<li><strong>Fields Sub-Array</strong> <code>[ \"product_id\", \"location_id\", \"date\", \"abc_categ\", \"xyz_categ\" ]</code>: This sub-array lists the names of fields you want to retrieve from the records that match the filtering conditions (in this case, all records). The field names correspond to attributes of the \"cycle.stock.count\" model. These attributes include:<ol>\n<li><code>\"product_id\"</code>: The ID of the product or inventory item being counted.</li>\n<li><code>\"location_id\"</code>: The ID of the location where the cycle counting is taking place.</li>\n<li><code>\"date\"</code>: The date of the cycle counting operation.</li>\n<li><code>\"abc_categ\"</code>: An attribute related to the ABC categorization of the product.</li>\n<li><code>\"xyz_categ\"</code>: An attribute related to the XYZ categorization of the product.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to retrieve records from the \"cycle.stock.count\" model. All records of the model will be retrieved, and the values of the specified fields will be included in the response.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"847db3f7-6b38-4133-878d-ef1448f43bb3","name":"params/cycle.stock.count/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693375492525,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"cycle.stock.count\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"product_id\",\r\n                \"location_id\",\r\n                \"date\",\r\n                \"abc_categ\",\r\n                \"xyz_categ\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 11:04:37\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 30 Aug 2023 06:25:49 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=vVZY9zyWilJjd%2FnBYQ6ou2EYa30sf1Z%2FxKd%2FqUp3BLhHnEwAlK6szsRaNwg31k1%2B8VjuugdceMcI3xAOUQvCQcOS3GnNK%2FlPNb0QQJTu8OoC%2BXW1TbWbuDmyr1RXIpuNGYxDuLwFoA7DloVfAg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7feaf56b29e80475-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1693375492525,\n    \"dt\": 25\n}"}],"_postman_id":"1666cce0-0d19-4d9a-ad45-4d6cba3aa84f"}],"id":"9f85c225-1f55-4a95-aea0-68081af5e819","_postman_id":"9f85c225-1f55-4a95-aea0-68081af5e819","description":""},{"name":"Mobile Stock Counts","item":[{"name":"params/custom.stock.count.session/search_read","id":"d2dc582f-d3e3-4428-8106-27f56eff53d2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693378975275,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"custom.stock.count.session\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"number\",\r\n                \"date\",\r\n                \"location_id\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 12:02:40\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"custom.stock.count.session\",</strong>\"search_read\",<strong>[</strong>[],<strong>[</strong>\"number\",<strong>\"date\",</strong>\"location_id\",<strong>\"state\"<strong>]</strong>],</strong></p>\n<ol>\n<li><code>\"custom.stock.count.session\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"custom.stock.count.session,\" which might be related to custom stock counting sessions or operations.</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"custom.stock.count.session\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [], [ \"number\", \"date\", \"location_id\", \"state\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with two sub-arrays:<ol>\n<li><strong>Outermost Array:</strong> The outermost array contains two sub-arrays: the filtering conditions sub-array and the fields sub-array.</li>\n<li><strong>Filtering Conditions Sub-Array</strong> <code>[]</code>: This sub-array is empty, indicating that no specific filtering conditions are being applied. As a result, all records of the model will be retrieved.</li>\n<li><strong>Fields Sub-Array</strong> <code>[ \"number\", \"date\", \"location_id\", \"state\" ]</code>: This sub-array lists the names of fields you want to retrieve from the records that match the filtering conditions (in this case, all records). The field names correspond to attributes of the \"custom.stock.count.session\" model. These attributes include:<ol>\n<li><code>\"number\"</code>: The session number of the custom stock count session.</li>\n<li><code>\"date\"</code>: The date of the custom stock count session.</li>\n<li><code>\"location_id\"</code>: The ID of the location where the stock count session is being performed.</li>\n<li><code>\"state\"</code>: The state of the stock count session (e.g., \"draft,\" \"in_progress,\" etc.).</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to retrieve records from the \"custom.stock.count.session\" model. All records of the model will be retrieved, and the values of the specified fields will be included in the response.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"8fba6bb7-3013-4d6a-ae80-b1af2cad670f","name":"params/custom.stock.count.session/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693378975275,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"custom.stock.count.session\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"number\",\r\n                \"date\",\r\n                \"location_id\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 12:02:40\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 30 Aug 2023 07:13:46 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=DVWQyOqqVjtM2vX3p%2Bn23qKdbxF%2BnYqPFbLPJY18iCqLzt7Qbl5IWEtyCvKQKC4ZccFH2aUCaTy3Bk4HsYNmJQ1Ty3l2UpDWfklMxH6sZwzWAzVnzhLiixNEPdQlXNqA%2B26P7P9MnHtfnWld4w%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7feb3ba5ecfa3ce3-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1693378975275,\n    \"dt\": 39\n}"}],"_postman_id":"d2dc582f-d3e3-4428-8106-27f56eff53d2"},{"name":"params/inline.help/search_read","id":"4af771df-cd41-430e-b5df-7b5476dcbcc8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698301345971,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"custom_stock_count_session\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-26 11:22:02\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"inline.help\",<br />\"search_read\",<br />[<br />[<br />[<br />\"action\",<br />\"=\",<br />\"custom_stock_count_session\"<br />]<br />]<br />],<br />{},</strong></p>\n<ol>\n<li><p><strong>\"inline.help\"</strong>: This is the first parameter and represents a specific entity or module within the system where the operation will be performed. In this context, it signifies the \"inline.help\" entity, indicating that the operation is related to inline help information.</p>\n</li>\n<li><p><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</p>\n</li>\n<li><p><strong>[[[\"action\", \"=\", \"custom_stock_count_session\"]]</strong>: This is the third parameter and contains a nested list. It serves as a search domain to filter records based on specific criteria. In this case:</p>\n<ol>\n<li><p><strong>\"action\":</strong> This field is used to specify a particular attribute or characteristic of inline help content.</p>\n</li>\n<li><p><strong>\"=\":</strong> This is an operator that indicates equality. It means that the \"action\" field should be equal to the following value.</p>\n</li>\n<li><p><strong>\"custom_stock_count_session\":</strong> This is the value to which the \"action\" field should be equal. It appears that the search is filtering inline help content to find records associated with \"custom_stock_count_session.\"</p>\n</li>\n</ol>\n</li>\n<li><p><strong>{}</strong>: This is the fourth parameter and represents an empty dictionary. In the context of this request, it means that no specific options or context information is provided for the search_read operation.</p>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity, specifically aiming to retrieve inline help information related to \"custom_stock_count_session.\" No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"6b36002d-5bc2-4b2e-9b4a-3a990556b894","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698301345971,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"custom_stock_count_session\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-26 11:22:02\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 26 Oct 2023 06:24:12 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=xGYh%2BJip%2F6a22QKEDpIvuOXSTZShryOqzF3MgiYf%2F2wJkVJ1XjC78WE8gv8pvZ94cl1CKpJTQ%2B6NUimMEAfX8P4AGMb3Bs5Qzm%2Frpwpwkccnkpwx2rtS%2Fip0EGW8Ro0OJd8fyAfUMQJnLhaQbw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"81c09d6bca355f54-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1698301345971,\n    \"dt\": 7\n}"}],"_postman_id":"4af771df-cd41-430e-b5df-7b5476dcbcc8"}],"id":"540c56f5-a6df-46ac-892c-71ed79ce0147","_postman_id":"540c56f5-a6df-46ac-892c-71ed79ce0147","description":""}],"id":"52aae216-685f-4a1f-8ef8-1ff361055205","_postman_id":"52aae216-685f-4a1f-8ef8-1ff361055205","description":""},{"name":"QC","item":[{"name":"QC Results","item":[{"name":"params/inline.help/search_read","id":"6774504f-7547-4e76-9125-f44190e24e01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693382301879,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"qc_result\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 12:57:24\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"qc_result\"<strong><strong>]</strong></strong>]**</strong>],**</p>\n<ol>\n<li><code>\"inline.help\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"inline.help.\"</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"inline.help\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [ [ \"action\", \"=\", \"qc_result\" ] ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with one sub-array:<ol>\n<li><strong>Outermost Array:</strong> The outermost array contains one sub-array, which holds the filtering condition.</li>\n<li><strong>Middle Array</strong> <code>[ [ \"action\", \"=\", \"qc_result\" ] ]</code>: This middle array contains one set of filtering conditions. The set of conditions <code>[ \"action\", \"=\", \"qc_result\" ]</code> suggests that you're filtering records where the \"action\" field is equal to \"qc_result.\"</li>\n<li><strong>Innermost Array</strong> <code>[ \"action\", \"=\", \"qc_result\" ]</code>: This innermost array contains the individual components of the filtering condition.<ol>\n<li><code>\"action\"</code> is the field name you are filtering on.</li>\n<li><code>\"=\"</code> is the comparison operator used in the filtering condition.</li>\n<li><code>\"qc_result\"</code> is the value you are comparing against. It indicates that you want to match records where the value of the \"action\" field is equal to \"qc_result.\"</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to perform a search on the \"inline.help\" model. It's requesting records that match the specified filtering condition, where the \"action\" field is equal to \"qc_result.\" The returned records will likely contain information related to providing inline help or documentation for the \"qc_result\" action, which might involve quality control results or operations.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"af145c9c-f90f-48af-bb67-44e60a14252a","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693382301879,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"qc_result\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 12:57:24\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 30 Aug 2023 08:20:34 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=WYNnkXK4LT1dF%2BOxfGne8PwXMthK2YWGn4qEKLKvGUDcxiGOEZwfoiTR7bbUGSXFfAaghZAlP6PMzNr55SKUrNa%2B0A6vOc9iZnUCSY%2FgkfdSxJmpvt%2BbgqcL6iuuzMgLodOZG9Hy3Eud9JhkTA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7feb9d7faedb99ee-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693382301879,\n    \"dt\": 29\n}"}],"_postman_id":"6774504f-7547-4e76-9125-f44190e24e01"},{"name":"params/qc.result/search_read","id":"f0ffacad-46cc-4022-b477-e8346a5eedda","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693382301885,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"qc.result\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"pick_id\",\r\n                \"product_id\",\r\n                \"lot_id\",\r\n                \"total_qty\",\r\n                \"sample_qty\",\r\n                \"test1\",\r\n                \"test2\",\r\n                \"test3\",\r\n                \"test4\",\r\n                \"test5\",\r\n                \"result\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 12:57:24\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<ol>\n<li><code>\"qc.result\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"qc.result,\" which might be related to quality control results or operations.</li>\n</ol>\n</li>\n<li><code>\"search_read\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"qc.result\" model.</li>\n<li>The \"search_read\" method is commonly used in APIs to search for records based on criteria and retrieve specific fields from those records.</li>\n</ol>\n</li>\n<li><code>[ [], [ \"pick_id\", \"product_id\", \"lot_id\", \"total_qty\", \"sample_qty\", \"test1\", \"test2\", \"test3\", \"test4\", \"test5\", \"result\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"search_read\" method. It's a nested array with two sub-arrays:<ol>\n<li><strong>Outermost Array:</strong> The outermost array contains two sub-arrays: the filtering conditions sub-array and the fields sub-array.</li>\n<li><strong>Filtering Conditions Sub-Array</strong> <code>[]</code>: This sub-array is empty, indicating that no specific filtering conditions are being applied. As a result, all records of the model will be retrieved.</li>\n<li><strong>Fields Sub-Array</strong> <code>[ \"pick_id\", \"product_id\", \"lot_id\", \"total_qty\", \"sample_qty\", \"test1\", \"test2\", \"test3\", \"test4\", \"test5\", \"result\" ]</code>: This sub-array lists the names of fields you want to retrieve from the records that match the filtering conditions (in this case, all records). The field names correspond to attributes of the \"qc.result\" model. These attributes include:<ol>\n<li><code>\"pick_id\"</code>: The ID of the picking associated with the quality control result.</li>\n<li><code>\"product_id\"</code>: The ID of the product associated with the quality control result.</li>\n<li><code>\"lot_id\"</code>: The ID of the lot associated with the quality control result.</li>\n<li><code>\"total_qty\"</code>: The total quantity involved in the quality control.</li>\n<li><code>\"sample_qty\"</code>: The quantity used for the quality control test sample.</li>\n<li><code>\"test1\"</code>, <code>\"test2\"</code>, <code>\"test3\"</code>, <code>\"test4\"</code>, <code>\"test5\"</code>: Test results for various tests.</li>\n<li><code>\"result\"</code>: The overall result of the quality control operation.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to retrieve records from the \"qc.result\" model. All records of the model will be retrieved, and the values of the specified fields will be included in the response.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"0c0eface-b46f-46b5-a5b0-8edfc66b6c4e","name":"params/qc.result/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693382301885,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"qc.result\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"pick_id\",\r\n                \"product_id\",\r\n                \"lot_id\",\r\n                \"total_qty\",\r\n                \"sample_qty\",\r\n                \"test1\",\r\n                \"test2\",\r\n                \"test3\",\r\n                \"test4\",\r\n                \"test5\",\r\n                \"result\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 12:57:24\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 30 Aug 2023 08:28:04 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Y3AAeQpfmas7m2qVdj0P7dneHAGhgdWo55oWMkXYbjt7jfBplgrnndHESAotdsSX%2BM6y1nipy6KK%2BTfuvu2GXhRoKzTFHxwdD4X6RXzVZRmy7uNfyPrChNVRwqnvJK8Sepw1H6FN9wprqGXGCw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7feba87efa8499ee-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1693382301885,\n    \"dt\": 100\n}"}],"_postman_id":"f0ffacad-46cc-4022-b477-e8346a5eedda"}],"id":"e17b66d8-4bbd-4df8-b6f6-843fd7374c92","_postman_id":"e17b66d8-4bbd-4df8-b6f6-843fd7374c92","description":""}],"id":"5c341ee8-c3f5-4372-9447-2d506135b12d","_postman_id":"5c341ee8-c3f5-4372-9447-2d506135b12d","description":""},{"name":"Reports","item":[{"name":"Stock Summery","item":[{"name":"params/report.stock.summary/default_get","id":"8e3f8365-d409-4aaa-b4e6-ec893db9c0a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693384182554,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.summary\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"product_id\",\r\n                \"master_product_id\",\r\n                \"location_id\",\r\n                \"track_id\",\r\n                \"lot_id\",\r\n                \"container_id\",\r\n                \"prod_categ_id\",\r\n                \"prod_code\",\r\n                \"prod_company_id\",\r\n                \"brand_id\",\r\n                \"show_lot\",\r\n                \"show_container\",\r\n                \"show_qty2\",\r\n                \"only_closing\",\r\n                \"show_image\",\r\n                \"show_prod_desc\",\r\n                \"show_track\",\r\n                \"defect_remarks\",\r\n                \"joint_remarks\",\r\n                \"hide_cost\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 13:29:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.stock.summary\",</strong>\"default_get\",<strong>[</strong>[<strong>\"date_from\",</strong>\"date_to\",<strong>\"product_id\",</strong>\"master_product_id\",<strong>\"location_id\",</strong>\"track_id\",<strong>\"lot_id\",</strong>\"container_id\",<strong>\"prod_categ_id\",</strong>\"prod_code\",<strong>\"prod_company_id\",</strong>\"brand_id\",<strong>\"show_lot\",</strong>\"show_container\",<strong>\"show_qty2\",</strong>\"only_closing\",<strong>\"show_image\",</strong>\"show_prod_desc\",<strong>\"show_track\",</strong>\"defect_remarks\",<strong>\"joint_remarks\",</strong>\"hide_cost\"<strong>]****],</strong></p>\n<ol>\n<li><code>\"report.stock.summary\"</code>:<ol>\n<li>This is the first element in the <code>\"params\"</code> array and indicates the name of the model or resource you are working with.</li>\n<li>In this context, it appears to refer to a model named \"report.stock.summary,\" which might be used to generate stock summary reports.</li>\n</ol>\n</li>\n<li><code>\"default_get\"</code>:<ol>\n<li>This is the second element in the <code>\"params\"</code> array and specifies the method or action you want to perform on the \"report.stock.summary\" model.</li>\n<li>The \"default_get\" method is commonly used in APIs to retrieve default values for fields before creating a record or performing an operation.</li>\n</ol>\n</li>\n<li><code>[ [ \"date_from\", \"date_to\", \"product_id\", \"master_product_id\", \"location_id\", \"track_id\", \"lot_id\", \"container_id\", \"prod_categ_id\", \"prod_code\", \"prod_company_id\", \"brand_id\", \"show_lot\", \"show_container\", \"show_qty2\", \"only_closing\", \"show_image\", \"show_prod_desc\", \"show_track\", \"defect_remarks\", \"joint_remarks\", \"hide_cost\" ] ]</code>:<ol>\n<li>This is the third element in the <code>\"params\"</code> array and provides additional parameters required for the \"default_get\" method. It's a nested array with one sub-array:<ol>\n<li><code>\"date_from\"</code> and <code>\"date_to\"</code>: These fields represent the starting and ending dates for the report's date range.</li>\n<li><code>\"product_id\"</code> and <code>\"master_product_id\"</code>: These fields relate to the product(s) being reported on. <code>\"product_id\"</code> might refer to the specific product, and <code>\"master_product_id\"</code> might refer to a master product (if applicable).</li>\n<li><code>\"location_id\"</code>: This field specifies the location for which the report is generated.</li>\n<li><code>\"track_id\"</code>: This field relates to tracking information for items in the report.</li>\n<li><code>\"lot_id\"</code> and <code>\"container_id\"</code>: These fields relate to specific lots or containers associated with items in the report.</li>\n<li><code>\"prod_categ_id\"</code> and <code>\"prod_code\"</code>: These fields relate to the product's category and code.</li>\n<li><code>\"prod_company_id\"</code> and <code>\"brand_id\"</code>: These fields relate to the company and brand associated with the product.</li>\n<li><code>\"show_lot\"</code>: This flag determines whether lot information (batch numbers or production lots) should be displayed in the stock summary report. If <code>true</code>, the report will show lot-related details; if <code>false</code>, it will exclude this information.</li>\n<li><code>\"show_container\"</code>: This flag controls whether container information (packaging details) should be shown in the stock summary report. If <code>true</code>, the report will display container-related information; if <code>false</code>, it will omit container details.</li>\n<li><code>\"show_qty2\"</code>: This flag decides whether the secondary quantity (\"qty2\") should be displayed in the stock summary report. If <code>true</code>, the report will include the secondary quantity; if <code>false</code>, it will exclude it.</li>\n<li><code>\"only_closing\"</code>: This flag indicates whether the report should include only closing (ending) stock balances. If <code>true</code>, the report will show closing stock balances; if <code>false</code>, it may show other stock-related data.</li>\n<li><code>\"show_image\"</code>: This flag controls whether product images should be displayed in the stock summary report. If <code>true</code>, the report will include product images; if <code>false</code>, it will not display images.</li>\n<li><code>\"show_prod_desc\"</code>: This flag determines whether product descriptions should be shown in the stock summary report. If <code>true</code>, the report will include product descriptions; if <code>false</code>, descriptions may be omitted.</li>\n<li><code>\"show_track\"</code>: This flag controls whether tracking information (e.g., serial numbers) should be displayed in the stock summary report. If <code>true</code>, the report will show tracking details; if <code>false</code>, it will not show tracking information.</li>\n<li><code>\"defect_remarks\"</code>: This flag specifies whether defect remarks or notes should be displayed in the stock summary report. If <code>true</code>, the report will include defect-related information; if <code>false</code>, defect remarks may be excluded.</li>\n<li><code>\"joint_remarks\"</code>: This flag determines whether joint (collaborative) remarks should be shown in the stock summary report. If <code>true</code>, the report will display joint remarks; if <code>false</code>, such remarks may not be included.</li>\n<li><code>\"hide_cost\"</code>: This flag controls whether cost-related information should be hidden in the stock summary report. If <code>true</code>, cost-related details may be omitted; if <code>false</code>, cost information could be included.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<ul>\n<li>These flags allow users to tailor the stock summary report's content and appearance according to their specific needs and preferences. Depending on how these flags are set, the generated report will display or exclude the corresponding information or behaviors.</li>\n</ul>\n<p>In summary, the provided \"params\" section describes a request to an API using JSON-RPC to retrieve default values for fields related to generating a stock summary report using the \"report.stock.summary\" model. The field names listed in the sub-array correspond to attributes used to customize the report.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"b7003ae8-2288-480a-b95c-62453a961d3d","name":"params/report.stock.summary/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693384182554,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.summary\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"product_id\",\r\n                \"master_product_id\",\r\n                \"location_id\",\r\n                \"track_id\",\r\n                \"lot_id\",\r\n                \"container_id\",\r\n                \"prod_categ_id\",\r\n                \"prod_code\",\r\n                \"prod_company_id\",\r\n                \"brand_id\",\r\n                \"show_lot\",\r\n                \"show_container\",\r\n                \"show_qty2\",\r\n                \"only_closing\",\r\n                \"show_image\",\r\n                \"show_prod_desc\",\r\n                \"show_track\",\r\n                \"defect_remarks\",\r\n                \"joint_remarks\",\r\n                \"hide_cost\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 13:29:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 30 Aug 2023 08:41:29 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=TQw6U9plGJ8ifzX5JEFbekzfrHGWMHB6refRbOJnpth%2BAOjLfFoGLBNrTxTINkSAfPVON0ApUlb0FfLAYhrF9BGtLl8bX76wVNaw3c16OkLyw65HIEkikZR0dbQBwAnYdz4iK0%2FTXH%2BhyHDfRw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7febbc26aa6a3cdb-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"date_from\": \"2023-08-01\",\n        \"date_to\": \"2023-08-31\",\n        \"product_id\": null,\n        \"master_product_id\": null,\n        \"location_id\": null,\n        \"track_id\": null,\n        \"lot_id\": null,\n        \"container_id\": null,\n        \"prod_categ_id\": null,\n        \"prod_code\": null,\n        \"prod_company_id\": null,\n        \"brand_id\": null,\n        \"show_lot\": null,\n        \"show_container\": null,\n        \"show_qty2\": null,\n        \"only_closing\": null,\n        \"show_image\": null,\n        \"show_prod_desc\": null,\n        \"show_track\": null,\n        \"defect_remarks\": null,\n        \"joint_remarks\": null,\n        \"hide_cost\": null\n    },\n    \"error\": null,\n    \"id\": 1693384182554,\n    \"dt\": 7\n}"}],"_postman_id":"8e3f8365-d409-4aaa-b4e6-ec893db9c0a0"},{"name":"params/report.stock.summery/get_report_data","id":"593c85a9-0b0b-4c5b-aa2b-80655c17fc87","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693384182559,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.summary\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 13:29:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.stock.summary\",</strong>\"get_report_data\",<strong>[</strong>null<strong>],</strong></p>\n<ol>\n<li><code>\"report.stock.summary\"</code>:<ol>\n<li>This is the name or identifier of the report module and function being called.</li>\n</ol>\n</li>\n<li><code>\"get_report_data\"</code>:<ol>\n<li>This parameter specifies the action or function within the report module that you want to execute.</li>\n<li>In this case, it indicates that you want to retrieve report data using the \"get_report_data\" action.</li>\n</ol>\n</li>\n<li><code>[ null ]</code>:<ol>\n<li>This is an array containing parameters that you are passing to the \"get_report_data\" function. The array is enclosed in square brackets.</li>\n<li>In this case, the array contains a single element: <code>null</code>.</li>\n<li>The actual meaning and purpose of the <code>null</code> value here will depend on the specific API and its documentation.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided parameters indicate that you are using the <code>\"report.stock.summary\"</code> API to execute the \"get_report_data\" function, and you are passing a single parameter of <code>null</code>.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"53a3c5ef-5d34-414e-a873-7bab0f5dc208","name":"params/report.stock.summery/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693384182559,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.summary\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-08-30 13:29:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 30 Aug 2023 09:08:49 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=AFA5HYeE6QC%2F7E2V3SrWdFIwtjtQaCU3dt6itodrz2O3dglvLRaqOIGFG06cne%2FavQReCwXm%2BEHDxcdCZpmZacig%2B8ldRpPqAD9g45NGZ6u7eIlZA%2FFTc3LTp%2F7BU%2FJHFzO64wshRTsBE5fKLw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7febe42eeaad3cf5-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": null,\n    \"error\": null,\n    \"id\": 1693384182559,\n    \"dt\": 3\n}"}],"_postman_id":"593c85a9-0b0b-4c5b-aa2b-80655c17fc87"}],"id":"4d4efa4c-7b0d-4754-a31b-9800c73bd29b","_postman_id":"4d4efa4c-7b0d-4754-a31b-9800c73bd29b","description":""},{"name":"Stock Cards","item":[{"name":"params/report.stock.card/default_get","id":"aaf9c4f5-8450-4d6f-880f-0deda42fe17e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693542796063,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.card\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"categ_id\",\r\n                \"product_id\",\r\n                \"location_id\",\r\n                \"uom_id\",\r\n                \"lot_id\",\r\n                \"invoice_id\",\r\n                \"show_pending\",\r\n                \"show_qty2\",\r\n                \"hide_zero\",\r\n                \"hide_cost\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-01 09:24:22\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.stock.card\",</strong>\"default_get\",<strong>[</strong>[<strong>\"date_from\",</strong>\"date_to\",<strong>\"categ_id\",</strong>\"product_id\",<strong>\"location_id\",</strong>\"uom_id\",<strong>\"lot_id\",</strong>\"invoice_id\",<strong>\"show_pending\",</strong>\"show_qty2\",<strong>\"hide_zero\",</strong>\"hide_cost\"<strong>]</strong>],<strong>{</strong>\"context\": {}<strong>},</strong></p>\n<ol>\n<li><code>\"report.stock.card\"</code>:<ol>\n<li>This is the name or identifier of the report module and function being called.</li>\n</ol>\n</li>\n<li><code>\"default_get\"</code>:<ol>\n<li>This parameter specifies the action or function within the report module that you want to execute.</li>\n<li>In this case, it indicates that you want to retrieve default report data using the \"default_get\" action.</li>\n</ol>\n</li>\n<li><code>[ [ \"date_from\", \"date_to\", \"categ_id\", \"product_id\", \"location_id\", \"uom_id\", \"lot_id\", \"invoice_id\", \"show_pending\", \"show_qty2\", \"hide_zero\", \"hide_cost\" ] ]</code>:<ol>\n<li>This is an array containing an inner array with a list of fields you want to pass as parameters to the \"default_get\" function. The inner array contains field names such as:<ol>\n<li><code>\"date_from\"</code>: This field represents the starting date for the report's date range. It is used to specify the beginning of the time period for which you want to generate the stock card report.</li>\n<li><code>\"date_to\"</code>: This field represents the ending date for the report's date range. It is used to specify the end of the time period for which you want to generate the stock card report.</li>\n<li><code>\"categ_id\"</code>: This field represents the category ID of the product. It is used to filter the report data by a specific product category.</li>\n<li><code>\"product_id\"</code>: This field represents the ID of the specific product for which you want to generate the stock card report. It is used to filter the report data to show only information related to this product.</li>\n<li><code>\"location_id\"</code>: This field represents the ID of the location. It is used to specify the specific location for which you want to generate the stock card report.</li>\n<li><code>\"uom_id\"</code>: This field represents the ID of the unit of measure (UOM). It is used to specify the unit of measure for quantities in the report.</li>\n<li><code>\"lot_id\"</code>: This field represents the ID of the lot or batch. It is used to filter the report data by a specific lot or batch.</li>\n<li><code>\"invoice_id\"</code>: This field represents the ID of the related invoice. It is used to filter the report data by a specific invoice.</li>\n<li><code>\"show_pending\"</code>: This field is a boolean flag that determines whether to show pending items in the report. If <code>true</code>, pending items will be included in the report; if <code>false</code>, they may be excluded.</li>\n<li><code>\"show_qty2\"</code>: This field is a boolean flag that determines whether to show the secondary quantity (\"qty2\") in the report. If <code>true</code>, the report will display the secondary quantity; if <code>false</code>, it may be excluded.</li>\n<li><code>\"hide_zero\"</code>: This field is a boolean flag that determines whether to hide items with zero quantity in the report. If <code>true</code>, items with zero quantity may be omitted from the report; if <code>false</code>, they may be shown.</li>\n<li><code>\"hide_cost\"</code>: This field is a boolean flag that determines whether to hide cost information in the report. If <code>true</code>, cost-related details may be excluded from the report; if <code>false</code>, they may be included.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><code>{ \"context\": {} }</code>:<ol>\n<li>This is an additional object containing context data that you might provide to the API for further customization.</li>\n<li>In this case, an empty context object <code>{}</code> is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided parameters indicate that you are using the <code>\"report.stock.card\"</code> API to execute the \"default_get\" function. The function is being passed a list of field names along with their values, and an empty context object is provided.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"3a3f4a8e-f226-40d0-a040-87c5eb77e648","name":"params/report.stock.card/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693542796063,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.card\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"categ_id\",\r\n                \"product_id\",\r\n                \"location_id\",\r\n                \"uom_id\",\r\n                \"lot_id\",\r\n                \"invoice_id\",\r\n                \"show_pending\",\r\n                \"show_qty2\",\r\n                \"hide_zero\",\r\n                \"hide_cost\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-01 09:24:22\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 01 Sep 2023 04:37:24 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=ewKZZQlUr0VqR79KK%2FdJRfz2pEHYIKLdcARClnJ0vPdSyl4wVfox8%2FtQglrF9Qo4Es4nRppLFM86nGPgycNOwEV%2B2rNuE1Oori6CLtW%2FLvdgPSOPmbQBrq4dxAsJdhf%2Fkqb3dPuEH6iyvdfBVw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7ffad15afc093ccf-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"date_from\": \"2023-09-01\",\n        \"date_to\": \"2023-09-30\",\n        \"categ_id\": null,\n        \"product_id\": null,\n        \"location_id\": null,\n        \"uom_id\": null,\n        \"lot_id\": null,\n        \"invoice_id\": null,\n        \"show_pending\": null,\n        \"show_qty2\": null,\n        \"hide_zero\": null,\n        \"hide_cost\": null\n    },\n    \"error\": null,\n    \"id\": 1693542796063,\n    \"dt\": 5\n}"}],"_postman_id":"aaf9c4f5-8450-4d6f-880f-0deda42fe17e"},{"name":"params/report.stock.card/get_report_data","id":"10f6edd6-d21a-4254-b925-68a9956f7774","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693542796068,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.card\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-01 09:24:22\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.stock.card\",<strong>**\"get_report_data\",<strong><strong>[</strong></strong>null**</strong>],**</p>\n<ol>\n<li><code>\"report.stock.card\"</code>:<ol>\n<li>This is the name or identifier of the report module and function being called.</li>\n</ol>\n</li>\n<li><code>\"get_report_data\"</code>:<ol>\n<li>This parameter specifies the action or function within the report module that you want to execute.</li>\n<li>In this case, it indicates that you want to retrieve report data using the \"get_report_data\" action.</li>\n</ol>\n</li>\n<li><code>[ null ]</code>:<ol>\n<li>This is an array containing parameters that you are passing to the \"get_report_data\" function. The array is enclosed in square brackets.</li>\n<li>In this case, the array contains a single element: <code>null</code>.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided parameters indicate that you are using the <code>\"report.stock.card\"</code> API to execute the \"get_report_data\" function, and you are passing a single parameter of <code>null</code>. The response from the API will likely be the report data based on default settings or a predefined configuration for stock card reporting.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"1aefdc12-ed58-473b-b562-8c2e737909ca","name":"params/report.stock.card/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693542796068,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.card\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-01 09:24:22\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 01 Sep 2023 05:00:14 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=wkkcUAfFUeFy%2FHXEbZfiAMxkKGccOA5elket2q5%2Fg%2Bb8ukFkAblPmEVYezm0%2FRMYCcMQeTB3nVgiJ6%2FkWR9xeESgadlWTyoXYl%2BthPAJwGRnQN7TMTQ%2FuFNzeP%2FkfNTr4MxKf5eJ%2BWEuJOmODg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7ffaf2caabbe99e1-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": null,\n    \"error\": {\n        \"message\": \"Please select a product or location\"\n    },\n    \"id\": 1693542796068\n}"}],"_postman_id":"10f6edd6-d21a-4254-b925-68a9956f7774"},{"name":"params/stock.location/name_search","id":"e23f5a59-4a8f-4c04-a384-49e1af8d9ecd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693542878322,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.location\",\r\n        \"name_search\",\r\n        [\r\n            \"\",\r\n            []\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            },\r\n            \"limit\": 200\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-01 09:33:16\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"stock.location\",<strong>**\"name_search\",<strong><strong>[</strong></strong>\"\",<strong><strong>[]</strong></strong>],**</strong>{<strong><strong>\"context\": {</strong></strong>\"limit\": 1000,<strong><strong>\"offset\": 0</strong></strong>},****\"limit\": 200**</strong>},**</p>\n<ol>\n<li><code>\"stock.location\"</code>:<ol>\n<li>This is the name or identifier of the resource or object type that you want to interact with. In this case, it represents the stock location.</li>\n</ol>\n</li>\n<li><code>\"name_search\"</code>:<ol>\n<li>This parameter specifies the action or method within the stock location module that you want to execute. In this case, it indicates that you want to perform a name search within the stock location module.</li>\n</ol>\n</li>\n<li><code>[ \"\", [] ]</code>:<ol>\n<li>This is an array containing parameters that you are passing to the \"name_search\" action. The array is enclosed in square brackets.</li>\n<li>The first element of the array is an empty string <code>\"\"</code>. This can represent a search term or filter criterion for the name search. In this case, an empty string indicates that you are not specifying any particular search term, so the action will likely return all stock locations.</li>\n<li>The second element of the array is an empty array <code>[]</code>. This can potentially be used to specify additional filter conditions for the name search. Since it's empty in this case, no additional filters are applied.</li>\n</ol>\n</li>\n<li><code>{ \"context\": { \"limit\": 1000, \"offset\": 0 }, \"limit\": 200 }</code>:<ol>\n<li>This is a JSON object containing context and limit parameters that provide additional instructions or constraints to the API call.<ol>\n<li><code>\"context\"</code>: This key specifies the context in which the API call should be executed. The value associated with <code>\"context\"</code> is another JSON object: <code>{ \"limit\": 1000, \"offset\": 0 }</code>.</li>\n<li><code>\"limit\": 1000</code>: This key-value pair inside the <code>\"context\"</code> object specifies that the API call should retrieve a maximum of 1000 records. It indicates that the result set should not exceed 1000 records. If more records match the query, the API may truncate the results or provide additional options to navigate through the data.</li>\n<li><code>\"offset\": 0</code>: This key-value pair inside the <code>\"context\"</code> object specifies that the retrieval of records should start from the beginning, at the first record (with an offset of 0). An offset allows you to skip a certain number of records at the beginning of the result set. In this case, since the offset is 0, the retrieval starts from the very first record.</li>\n<li><code>\"limit\": 200</code>: This key-value pair is placed outside the <code>\"context\"</code> object. It specifies that the API call should additionally limit the number of records returned to 200. This limit may override the limit set in the <code>\"context\"</code> object. The resulting data will be restricted to a maximum of 200 records.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided parameters indicate that you are using the <code>\"stock.location\"</code> API to execute the \"name_search\" function. The action aims to retrieve stock location records based on the specified search criteria and context. The response from the API will likely be a list of stock locations that match the given conditions and limits.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"8e2ebb07-47f7-4ceb-bc13-ebff016ecdca","name":"params/stock.location/name_search","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693542878322,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.location\",\r\n        \"name_search\",\r\n        [\r\n            \"\",\r\n            []\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            },\r\n            \"limit\": 200\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-01 09:33:16\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 01 Sep 2023 05:06:52 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=v%2FQyISW%2FFw75ZrD3cyTCx133Eu%2FkPb6O4Rue2OvIXkN9NPIC4zULTCki1OUSOQw1FCGwjtT1oRe24VUbKEKdlts78x0gMhac1c3gYZfFjHoTTGqpQduGqE68R61u0xv6B8WwrtcCpDyKoxNmEQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7ffafc865f3499e1-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            6,\n            \"Customers\"\n        ],\n        [\n            15,\n            \"Damage/Repair\"\n        ],\n        [\n            5,\n            \"Inventory Loss\"\n        ],\n        [\n            17,\n            \"Office\"\n        ],\n        [\n            16,\n            \"Samples\"\n        ],\n        [\n            7,\n            \"Suppliers\"\n        ],\n        [\n            4,\n            \"Warehouse\"\n        ],\n        [\n            18,\n            \"Warehouse 2\"\n        ],\n        [\n            19,\n            \"Warehouse Azira\"\n        ]\n    ],\n    \"error\": null,\n    \"id\": 1693542878322,\n    \"dt\": 15\n}"}],"_postman_id":"e23f5a59-4a8f-4c04-a384-49e1af8d9ecd"}],"id":"fcb79c9d-a3d6-4cd5-a83a-6f4941eb58b6","_postman_id":"fcb79c9d-a3d6-4cd5-a83a-6f4941eb58b6","description":""},{"name":"Stock Aging","item":[{"name":"params/report.stock.aging/default_get","id":"35825a90-08d7-4f5c-8442-0bb219327bc2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693550936473,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.aging\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date\",\r\n                \"categ_id\",\r\n                \"product_id\",\r\n                \"location_id\",\r\n                \"period_days\",\r\n                \"num_periods\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-01 11:46:48\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.stock.aging\",<strong>**\"default_get\",<strong><strong>[</strong></strong>[**</strong>\"date\",<strong><strong>\"categ_id\",</strong></strong>\"product_id\",<strong><strong>\"location_id\",</strong></strong>\"period_days\",<strong>**\"num_periods\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><code>\"report.stock.aging\"</code>:<ol>\n<li>This is the name or identifier of the report module and function being called.</li>\n<li>In this case, it represents a stock aging report.</li>\n</ol>\n</li>\n<li><code>\"default_get\"</code>:<ol>\n<li>This parameter specifies the action or method within the stock aging report module that you want to execute. In this case, it indicates that you want to retrieve default parameters for generating the report.</li>\n</ol>\n</li>\n<li><code>[ \"date\", \"categ_id\", \"product_id\", \"location_id\", \"period_days\", \"num_periods\" ]</code>:<ol>\n<li>This is an array containing parameters that you are passing to the \"default_get\" action. The array is enclosed in square brackets.</li>\n<li>These parameters represent the fields or criteria for which you want to retrieve default values for generating the stock aging report.</li>\n<li>These parameters allow you to customize and narrow down the results of your API call based on specific criteria such as dates, product categories, product identifiers, locations, time periods, and the number of periods to consider. The parameters are as follows:<ol>\n<li><code>\"date\"</code>: This parameter likely represents the date on which the operation will be performed or the date for which you want to retrieve data. It can be used as a reference point for generating reports or conducting operations related to dates.</li>\n<li><code>\"categ_id\"</code>: This parameter might represent a category identifier. It could be used as a filter to narrow down the results based on product categories. For example, you might want to generate a report for specific product categories.</li>\n<li><code>\"product_id\"</code>: This parameter could represent a specific product identifier. It might be used as a filter to retrieve data for a particular product. For instance, you might want to generate a report or fetch data related to a specific product in your inventory.</li>\n<li><code>\"location_id\"</code>: This parameter might represent a specific location identifier. It can be used as a filter to retrieve data related to a particular location within your inventory or storage facilities.</li>\n<li><code>\"period_days\"</code>: This parameter could be related to the time period considered in the operation, and it's specified in days. It might be used to determine the duration of time that the operation or report should cover. For example, you might want to generate a report for a specific number of days.</li>\n<li><code>\"num_periods\"</code>: This parameter might indicate the number of time periods to include in the operation or report. It can be used to specify how many periods of time the operation should consider. This could be useful for analyzing data over multiple periods.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><code>{ \"context\": {} }</code>:<ol>\n<li>This is a JSON object containing context parameters that provide additional instructions or constraints to the API call.</li>\n<li>In this case, it specifies an empty context object <code>{}</code>.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided parameters indicate that you are using the <code>\"report.stock.aging\"</code> API to execute the \"default_get\" function, and you are interested in retrieving default values for generating a stock aging report based on the specified criteria.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"c3c33ad8-b21d-403c-9648-b3ea6b4ceb57","name":"params/report.stock.aging/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693550936473,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.aging\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date\",\r\n                \"categ_id\",\r\n                \"product_id\",\r\n                \"location_id\",\r\n                \"period_days\",\r\n                \"num_periods\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-01 11:46:48\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 01 Sep 2023 06:53:30 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=sG6LL0mTpNyY5q%2FbZnMWdhyZXlcbCkc1TgWP2oQVoM5EY2P%2BxqabpcznrJAlLf8AOo2I2aaCxlOuDyrcwF%2F8zvdK3UFh9KAIpacMpl%2FUyiPzh%2Bc6rhYT394Uz%2FQlTqcQEUO1qJSC809s%2Bd38nw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7ffb98b8885c153f-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"date\": \"2023-09-01\",\n        \"categ_id\": null,\n        \"product_id\": null,\n        \"location_id\": null,\n        \"period_days\": 30,\n        \"num_periods\": 3\n    },\n    \"error\": null,\n    \"id\": 1693550936473,\n    \"dt\": 6\n}"}],"_postman_id":"35825a90-08d7-4f5c-8442-0bb219327bc2"},{"name":"params/report.stock.aging/get_report_data","id":"a8267c8a-a918-49e0-ae08-8b29da38877a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693550936481,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.aging\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-01 11:46:48\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.stock.aging\",<strong>**\"get_report_data\",<strong><strong>[</strong></strong>null**</strong>],<strong><strong>{</strong></strong>\"context\": {<strong><strong>\"limit\": 1000,</strong></strong>\"offset\": 0****}****},</strong></p>\n<ol>\n<li><code>\"report.stock.aging\"</code>:<ol>\n<li>This is the name or identifier of the report module and function being called.</li>\n<li>In this case, it represents a stock aging report.</li>\n</ol>\n</li>\n<li><code>\"get_report_data\"</code>:<ol>\n<li>This parameter specifies the action or method within the stock aging report module that you want to execute. In this case, it indicates that you want to retrieve data for generating the stock aging report.</li>\n</ol>\n</li>\n<li><code>[ null ]</code>:<ol>\n<li>This is an array containing parameters that you are passing to the \"get_report_data\" action.</li>\n<li>In this case, it contains a single element, which is <code>null</code>. This suggests that you might not be providing specific criteria or filters as parameters for the report, and you want to retrieve general data for the stock aging report.</li>\n</ol>\n</li>\n<li><code>{ \"context\": { \"limit\": 1000, \"offset\": 0 } }</code>:<ol>\n<li>This is a JSON object containing context parameters that provide additional instructions or constraints to the API call.<ol>\n<li><code>\"context\"</code>: This is an outer key in the JSON object, and it indicates that the enclosed data contains context-related instructions for the API call.</li>\n<li><code>\"limit\": 1000</code>: This is a key-value pair within the <code>\"context\"</code> object.<ol>\n<li><code>\"limit\"</code> specifies a limit on the number of records or results that the API call should return.</li>\n<li>In this case, it's set to <code>1000</code>, which means that the API should limit the result set to a maximum of 1000 records. This is useful for managing large datasets and preventing the API from returning an overwhelming amount of data.</li>\n</ol>\n</li>\n<li><code>\"offset\": 0</code>: This is another key-value pair within the <code>\"context\"</code> object.<ol>\n<li><code>\"offset\"</code> specifies the starting point from which the API should retrieve records.</li>\n<li>In this case, it's set to <code>0</code>, which means that the API should start retrieving records from the beginning of the result set. An offset of 0 indicates that you want to retrieve the first set of records.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided parameters indicate that you are using the <code>\"report.stock.aging\"</code> API to execute the \"get_report_data\" function. You may not be providing specific criteria for the report in this API call, but you are limiting the number of results to 1000 records and starting from the beginning of the result set.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"b99898c1-7014-49e4-b759-97ed2640260a","name":"params/report.stock.aging/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693550936481,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.aging\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-01 11:46:48\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 01 Sep 2023 07:13:18 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=bBxZt6oQlk3LyTdqaU4tTcJMLJArY7lcQgLDCXc7nQzXi6gjCYUtPRx%2Fbpr2O5pcyQS8%2BZQ55bsUF25il%2BAE1NICkqjrKuaXLIptAkrVEpCyheAcw4WjqLCzSt9mBjstsFtPFr%2BwB%2BDVK7LLCA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7ffbb5b96fd83ccf-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"company_name\": \"SmartB\",\n        \"location_name\": null,\n        \"product_name\": null,\n        \"date\": \"2023-09-01\",\n        \"periods\": [\n            {\n                \"date_from\": \"2023-08-03\",\n                \"date_to\": \"2023-09-01\",\n                \"period_name\": \"0-29 days\"\n            },\n            {\n                \"date_from\": \"2023-07-04\",\n                \"date_to\": \"2023-08-02\",\n                \"period_name\": \"30-59 days\"\n            },\n            {\n                \"date_from\": \"2023-06-04\",\n                \"date_to\": \"2023-07-03\",\n                \"period_name\": \"60-89 days\"\n            }\n        ],\n        \"lines\": [\n            {\n                \"product_id\": 887,\n                \"product_name\": \"1031 : 1D Wired Laser Barcode Scanner  w/o Stand\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 887,\n                \"product_name\": \"1031 : 1D Wired Laser Barcode Scanner  w/o Stand\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 881,\n                \"product_name\": \"1080P Indoor Home Infrared Night Vision IP Security Wireless CCTV Camera\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 903,\n                \"product_name\": \"12000 : F9 In-ear Headset Low Price Wireless Sports Earphone With Bluetooth\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 903,\n                \"product_name\": \"12000 : F9 In-ear Headset Low Price Wireless Sports Earphone With Bluetooth\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 937,\n                \"product_name\": \"202103203 : Middle Eastern Muslim Embroidered Long Swing Dress Islamic Arab Clothing\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 937,\n                \"product_name\": \"202103203 : Middle Eastern Muslim Embroidered Long Swing Dress Islamic Arab Clothing\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 906,\n                \"product_name\": \"4800pa Strong Power Car Vacuum Cleaner\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 913,\n                \"product_name\": \"6000 p.a. GB-822 : Handheld Wireless Vacuum Cleaners\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 886,\n                \"product_name\": \"6900 : Tera 1D Wired Barcode Scanner with Stand\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 886,\n                \"product_name\": \"6900 : Tera 1D Wired Barcode Scanner with Stand\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 1007,\n                \"product_name\": \"711 : Stand\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 911,\n                \"product_name\": \"711: 2D Wired Barcode Scanner\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 911,\n                \"product_name\": \"711: 2D Wired Barcode Scanner\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 911,\n                \"product_name\": \"711: 2D Wired Barcode Scanner\",\n                \"location_id\": 18,\n                \"location_name\": \"Warehouse 2\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 1033,\n                \"product_name\": \"780 : Tera Fixed Mount 1D 2D Scanners QR Reader Desktop Platform\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 1033,\n                \"product_name\": \"780 : Tera Fixed Mount 1D 2D Scanners QR Reader Desktop Platform\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 869,\n                \"product_name\": \"8100 Orange: Tera QR 1D 2D Wireless Wired Bluetooth Scanner 3 In 1 Heavy Duty\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 869,\n                \"product_name\": \"8100 Orange: Tera QR 1D 2D Wireless Wired Bluetooth Scanner 3 In 1 Heavy Duty\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 948,\n                \"product_name\": \"A1710 : Women Pleated Knit Dress Long Sleeve\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 895,\n                \"product_name\": \"A9 JIELI : night vision wifi mini camera for indoor with outdoor\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 895,\n                \"product_name\": \"A9 JIELI : night vision wifi mini camera for indoor with outdoor\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 865,\n                \"product_name\": \"AX1800: Xiaomi router Wifi\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 1009,\n                \"product_name\": \"BEL-402 : Single Latch Fingerprint Door Lock\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 1009,\n                \"product_name\": \"BEL-402 : Single Latch Fingerprint Door Lock\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 931,\n                \"product_name\": \"Best-8117 : Water Bottle Heater Portable\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 1006,\n                \"product_name\": \"CET-K32 Smartphone (Black) : Smart Digital Biometric Fingerprint Door Lock (NO APP)\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 1006,\n                \"product_name\": \"CET-K32 Smartphone (Black) : Smart Digital Biometric Fingerprint Door Lock (NO APP)\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 942,\n                \"product_name\": \"CET-K32 fingerprint (Black) : Smart Digital Biometric Fingerprint Door Lock (with App)\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 1005,\n                \"product_name\": \"CET-K32 fingerprint (Red Bronze) : Smart Digital Biometric Fingerprint Door Lock (NO APP)\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 1005,\n                \"product_name\": \"CET-K32 fingerprint (Red Bronze) : Smart Digital Biometric Fingerprint Door Lock (NO APP)\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 899,\n                \"product_name\": \"CF-727B : OEM support RTL8822BU Comfast dualband BT4.2 1300Mbps wireless adapter usb adapter for PC\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 899,\n                \"product_name\": \"CF-727B : OEM support RTL8822BU Comfast dualband BT4.2 1300Mbps wireless adapter usb adapter for PC\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 898,\n                \"product_name\": \"CF-812AC AP-AC1300 : High speed usb wireless wifi network adapter up to 1300mbps\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 1,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 1\n            },\n            {\n                \"product_id\": 898,\n                \"product_name\": \"CF-812AC AP-AC1300 : High speed usb wireless wifi network adapter up to 1300mbps\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 901,\n                \"product_name\": \"CF-AX200 : New WiFi6 802.11ax AX200 PCI-E wifi network card\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 908,\n                \"product_name\": \"D01-CC0002 : 6000pa Strong Power Car Vacuum Cleaner USB Rechargeable\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 878,\n                \"product_name\": \"D6100: Tera Wireless Barcode Scanner 1D 2D Wired with Charging Base/Cradle (Discontinued)\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 882,\n                \"product_name\": \"DLP Mini Portable Projector\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 912,\n                \"product_name\": \"EVHK0030 : Tera 2D Wireless Barcode Scanner with Charging Cradle\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 912,\n                \"product_name\": \"EVHK0030 : Tera 2D Wireless Barcode Scanner with Charging Cradle\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 889,\n                \"product_name\": \"EVHK0047 / HW0005 : Tera Wireless 1D 2D QR Barcode Scanner 2-in-1 handheld Scanner with display CMOS with Stand\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 889,\n                \"product_name\": \"EVHK0047 / HW0005 : Tera Wireless 1D 2D QR Barcode Scanner 2-in-1 handheld Scanner with display CMOS with Stand\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 889,\n                \"product_name\": \"EVHK0047 / HW0005 : Tera Wireless 1D 2D QR Barcode Scanner 2-in-1 handheld Scanner with display CMOS with Stand\",\n                \"location_id\": 18,\n                \"location_name\": \"Warehouse 2\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 867,\n                \"product_name\": \"EVHK0049 / 1100D / U-1100 / 1100: Tera Mini Bar Code Reader\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 867,\n                \"product_name\": \"EVHK0049 / 1100D / U-1100 / 1100: Tera Mini Bar Code Reader\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 1008,\n                \"product_name\": \"EVHK0053 : Tera 2D 1D Wireless Barcode Scanner 3 in 1 Bluetooth Vibration Alert Scanner\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 900,\n                \"product_name\": \"FX8811 : 600Mbps 2 in 1 Dual band usb wifi bluetooth adapter wifi dongle\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 900,\n                \"product_name\": \"FX8811 : 600Mbps 2 in 1 Dual band usb wifi bluetooth adapter wifi dongle\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 1049,\n                \"product_name\": \"Fanless Mini PC\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 1,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 1\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 888,\n                \"product_name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 888,\n                \"product_name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 870,\n                \"product_name\": \"HW0002 : Tera 1D 2D Wireless Barcode Scanner with Stand (Discontinued)\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 890,\n                \"product_name\": \"HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 890,\n                \"product_name\": \"HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 855,\n                \"product_name\": \"Hardware: Handheld Terminal - S60\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 861,\n                \"product_name\": \"K-620: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 862,\n                \"product_name\": \"K-621: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 859,\n                \"product_name\": \"K-622BT: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 856,\n                \"product_name\": \"K-626: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 856,\n                \"product_name\": \"K-626: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 858,\n                \"product_name\": \"K-626RB: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 864,\n                \"product_name\": \"K-926 : 2D desktop barcode scanner\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 951,\n                \"product_name\": \"KL-AY012 : Brown Safety Lock Wardrobe Door\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 951,\n                \"product_name\": \"KL-AY012 : Brown Safety Lock Wardrobe Door\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 930,\n                \"product_name\": \"KL-AY012 : White Safety Lock Wardrobe Door\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 930,\n                \"product_name\": \"KL-AY012 : White Safety Lock Wardrobe Door\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 935,\n                \"product_name\": \"LR176 : Denim Abaya\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 936,\n                \"product_name\": \"LR418 : Jumpsuit Dubai Turkey Satin Muslim dress\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 936,\n                \"product_name\": \"LR418 : Jumpsuit Dubai Turkey Satin Muslim dress\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 909,\n                \"product_name\": \"M2: 128G Memory Card Headset Foldable Bluetooth Headset\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 909,\n                \"product_name\": \"M2: 128G Memory Card Headset Foldable Bluetooth Headset\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 966,\n                \"product_name\": \"M2B01: Nursing Cover Type A\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 966,\n                \"product_name\": \"M2B01: Nursing Cover Type A\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 967,\n                \"product_name\": \"M2B01: Nursing Cover Type B\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 967,\n                \"product_name\": \"M2B01: Nursing Cover Type B\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 968,\n                \"product_name\": \"M2B01: Nursing Cover Type C\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 968,\n                \"product_name\": \"M2B01: Nursing Cover Type C\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 969,\n                \"product_name\": \"M2B01: Nursing Cover Type D\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 969,\n                \"product_name\": \"M2B01: Nursing Cover Type D\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 970,\n                \"product_name\": \"M2B01: Nursing Cover Type E\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 970,\n                \"product_name\": \"M2B01: Nursing Cover Type E\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 947,\n                \"product_name\": \"MS1968 : V-neck Knee Length Button Dress Casual Wear Maternity Dress\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 875,\n                \"product_name\": \"NT-1228BL Netum Usb 2D Bluetooth Barcode Scanner\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 943,\n                \"product_name\": \"NX4 : WiFi Biometric Fingerprint Digital smart door lock\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 941,\n                \"product_name\": \"Octopus Electric Nail Clipper (Blue)\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 941,\n                \"product_name\": \"Octopus Electric Nail Clipper (Blue)\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 905,\n                \"product_name\": \"Octopus Electric Nail Clipper (Pink)\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 905,\n                \"product_name\": \"Octopus Electric Nail Clipper (Pink)\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 940,\n                \"product_name\": \"Octopus Electric Nail Clipper (Yellow)\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 940,\n                \"product_name\": \"Octopus Electric Nail Clipper (Yellow)\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 897,\n                \"product_name\": \"R20D: USB interface Proximity 125Khz RFID reader smart card\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 897,\n                \"product_name\": \"R20D: USB interface Proximity 125Khz RFID reader smart card\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 902,\n                \"product_name\": \"Redmi Airdots2 :\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 885,\n                \"product_name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 1,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 1\n            },\n            {\n                \"product_id\": 885,\n                \"product_name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 884,\n                \"product_name\": \"S800 : POS Touch System\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 896,\n                \"product_name\": \"SQ11 : Mini camera indoor and outdoor\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 896,\n                \"product_name\": \"SQ11 : Mini camera indoor and outdoor\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 914,\n                \"product_name\": \"SanDisk: Ultra Sandisk Micro SD Card\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 914,\n                \"product_name\": \"SanDisk: Ultra Sandisk Micro SD Card\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 910,\n                \"product_name\": \"T2: Handsfree Earphones Light Wireless Bluetooth Headphones\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 933,\n                \"product_name\": \"T80: Android Handheld Data Collector\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 933,\n                \"product_name\": \"T80: Android Handheld Data Collector\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 1,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 1\n            },\n            {\n                \"product_id\": 933,\n                \"product_name\": \"T80: Android Handheld Data Collector\",\n                \"location_id\": 19,\n                \"location_name\": \"Warehouse Azira\",\n                \"cur_qty\": 1,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 1\n            },\n            {\n                \"product_id\": 904,\n                \"product_name\": \"TC-NU08: Electric baby Nail Clipper\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 904,\n                \"product_name\": \"TC-NU08: Electric baby Nail Clipper\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 784,\n                \"product_name\": \"TSC 244 Pro Label Printer \",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 3,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 3\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 1018,\n                \"product_name\": \"Tera-0012 : Tera 2D Wireless Portable Back Clip 1D 2D QR Bar Code Reader with Bluetooth image scanning\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 1018,\n                \"product_name\": \"Tera-0012 : Tera 2D Wireless Portable Back Clip 1D 2D QR Bar Code Reader with Bluetooth image scanning\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 770,\n                \"product_name\": \"Test Prod\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 3,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 3\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 854,\n                \"product_name\": \"U9000S : Handheld Terminal - Z90\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 854,\n                \"product_name\": \"U9000S : Handheld Terminal - Z90\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 854,\n                \"product_name\": \"U9000S : Handheld Terminal - Z90\",\n                \"location_id\": 18,\n                \"location_name\": \"Warehouse 2\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 894,\n                \"product_name\": \"V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 894,\n                \"product_name\": \"V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 866,\n                \"product_name\": \"VB601: Wireless Video Baby Monitor\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 938,\n                \"product_name\": \"Vanrro Baby Nail Trimmer (Blue)\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 938,\n                \"product_name\": \"Vanrro Baby Nail Trimmer (Blue)\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 939,\n                \"product_name\": \"Vanrro Baby Nail Trimmer (Green)\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 939,\n                \"product_name\": \"Vanrro Baby Nail Trimmer (Green)\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 923,\n                \"product_name\": \"Vanrro Baby Nail Trimmer (Pink)\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 923,\n                \"product_name\": \"Vanrro Baby Nail Trimmer (Pink)\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 945,\n                \"product_name\": \"WN01A : Cry Sensor Sleep Aid Device Portable Owl Plush Toy\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 907,\n                \"product_name\": \"YH-02: BOOMJOY 6500PA Cordless Handheld Portable Vacuum Cleaner with Rechargeable\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 927,\n                \"product_name\": \"ZOCZ-13 : Nursing shawl cover\",\n                \"location_id\": 17,\n                \"location_name\": \"Office\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 927,\n                \"product_name\": \"ZOCZ-13 : Nursing shawl cover\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 883,\n                \"product_name\": \"ZX-C24 : Two-way Audio Baby Monitor\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            },\n            {\n                \"product_id\": 877,\n                \"product_name\": \"[Replaced by 711]: 9100: EVHK0052-1 Tera QR Bar Code Scanner Barcode 2D Wired Barcode Scanner with Stand\",\n                \"location_id\": 4,\n                \"location_name\": \"Warehouse\",\n                \"cur_qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-08-03\",\n                        \"date_to\": \"2023-09-01\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-07-04\",\n                        \"date_to\": \"2023-08-02\",\n                        \"qty\": 0\n                    },\n                    {\n                        \"date_from\": \"2023-06-04\",\n                        \"date_to\": \"2023-07-03\",\n                        \"qty\": 0\n                    }\n                ],\n                \"older_qty\": 0\n            }\n        ],\n        \"older_date_to\": \"2023-06-03\",\n        \"current_date_from\": \"2000-01-01\"\n    },\n    \"error\": null,\n    \"id\": 1693550936481,\n    \"dt\": 328\n}"}],"_postman_id":"a8267c8a-a918-49e0-ae08-8b29da38877a"}],"id":"ae8012cb-4880-4a73-961f-a66300b7e590","_postman_id":"ae8012cb-4880-4a73-961f-a66300b7e590","description":""},{"name":"Custom Stock Expiry","item":[{"name":"params/custom.report.stock.expiry/default_get","id":"6e71de32-54bf-47bf-ad9d-e083a7ae5c51","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693552995133,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"custom.report.stock.expiry\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date\",\r\n                \"categ_id\",\r\n                \"product_id\",\r\n                \"location_id\",\r\n                \"period_days\",\r\n                \"num_periods\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-01 12:22:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"custom.report.stock.expiry\",<strong>**\"default_get\",<strong><strong>[</strong></strong>[**</strong>\"date\",<strong><strong>\"categ_id\",</strong></strong>\"product_id\",<strong><strong>\"location_id\",</strong></strong>\"period_days\",<strong>**\"num_periods\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><code>\"custom.report.stock.expiry\"</code>:<ol>\n<li>This is the name or identifier of the custom report module and function being called.</li>\n<li>In this case, it represents a custom stock expiry report.</li>\n</ol>\n</li>\n<li><code>\"default_get\"</code>:<ol>\n<li>This parameter specifies the action or method within the custom report module that you want to execute. In this case, it indicates that you want to retrieve default data or parameters for generating the custom stock expiry report.</li>\n</ol>\n</li>\n<li><code>[[\"date\", \"categ_id\", \"product_id\", \"location_id\", \"period_days\", \"num_periods\"]]</code>:<ol>\n<li>This is an array containing parameters that you are passing to the \"default_get\" action. The inner array lists the specific parameters you are requesting for the custom report.<ol>\n<li><code>\"date\"</code>: This is a parameter key that likely represents a date field. It's used to specify a particular date or date range for which you want to generate a report. The exact format and meaning of this date parameter would depend on the specific API and report functionality you are using.</li>\n<li><code>\"categ_id\"</code>: This parameter key likely represents a category ID. It's used to filter the report data based on a specific product category. You can specify a category ID to narrow down the report's focus to a particular category of products.</li>\n<li><code>\"product_id\"</code>: This parameter key represents a product ID. It's used to filter the report data based on a specific product. You can specify a product ID to generate a report specifically for that product.</li>\n<li><code>\"location_id\"</code>: This parameter key represents a location ID. It's used to filter the report data based on a specific location or warehouse. You can specify a location ID to focus the report on inventory data in a particular location.</li>\n<li><code>\"period_days\"</code>: This parameter key likely represents a number of days. It's used to define a period of time for the report. The report might cover a certain number of days, weeks, or months from the specified date. This parameter allows you to control the time frame of the report.</li>\n<li><code>\"num_periods\"</code>: This parameter key likely represents the number of periods. It's used to specify how many periods of the defined duration you want to include in the report. For example, if you're generating a monthly report, you might specify the number of months to include in the report.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><code>{ \"context\": {} }</code>:<ol>\n<li>This is a JSON object containing context parameters that provide additional instructions or constraints to the API call.</li>\n<li><code>\"context\"</code> is an important part of the API request and often influences the behavior of the API call.</li>\n<li>In this case, an empty context object <code>{}</code> is provided, which means that there are no specific context instructions provided for this API call.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided parameters indicate that you are using the <code>\"custom.report.stock.expiry\"</code> API to execute the \"default_get\" function, which retrieves default parameters for generating a custom stock expiry report. The specific parameters you want to retrieve are listed in the inner array. Additionally, no specific context instructions are provided in this API call.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"b4b53479-b6b6-4467-a365-871c21c2538e","name":"params/custom.report.stock.expiry/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693552995133,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"custom.report.stock.expiry\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date\",\r\n                \"categ_id\",\r\n                \"product_id\",\r\n                \"location_id\",\r\n                \"period_days\",\r\n                \"num_periods\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-01 12:22:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 01 Sep 2023 07:25:40 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=uC1cdB1QRSUoaZhzGXB9WMB8RaVfM45rq6EJhHHqXekK%2FuZzBGU0tUIOD%2FgQjJwx4IgPG4fVM%2BLSUsLNtn8T%2FeKBBjjrDEt70r%2B%2BL2nuXDg7AQQtb%2FMPo5k1ZFHz%2FIGHPxEMhgbo7x3REYluxQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7ffbc7d43e1603e1-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"date\": \"2023-09-01\",\n        \"categ_id\": null,\n        \"product_id\": null,\n        \"location_id\": null,\n        \"period_days\": 30,\n        \"num_periods\": 3\n    },\n    \"error\": null,\n    \"id\": 1693552995133,\n    \"dt\": 22\n}"}],"_postman_id":"6e71de32-54bf-47bf-ad9d-e083a7ae5c51"},{"name":"params/custom.report.stock.expiry/get_report_data","id":"e33448c1-5e08-4353-ac15-b0ae61a82e1e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693552995141,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"custom.report.stock.expiry\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-01 12:22:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"custom.report.stock.expiry\",<strong>**\"get_report_data\",<strong><strong>[</strong></strong>null**</strong>],**</p>\n<ol>\n<li><code>\"custom.report.stock.expiry\"</code>:<ol>\n<li>This is the name or identifier of the custom report module and function being called.</li>\n<li>In this case, it represents a custom stock expiry report.</li>\n</ol>\n</li>\n<li><code>\"get_report_data\"</code>:<ol>\n<li>This parameter specifies the action or method within the custom report module that you want to execute. In this case, it indicates that you want to retrieve report data for the custom stock expiry report.</li>\n</ol>\n</li>\n<li><code>[null]</code>:<ol>\n<li>This is an array containing parameters that you are passing to the \"get_report_data\" action.</li>\n<li>In this case, the array contains a single element, <code>null</code>. This suggests that you might not be passing any specific parameters to this action, and you want to retrieve report data without any additional filtering or customization.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided parameters indicate that you are using the <code>\"custom.report.stock.expiry\"</code> API to execute the \"get_report_data\" function, which retrieves report data for the custom stock expiry report. The use of <code>[null]</code> suggests that you are not passing specific parameters to customize the report data retrieval, and you want to retrieve the default report data.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"2f76a8f0-1733-4a42-ab8f-1f1d5ca712f8","name":"params/custom.report.stock.expiry/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693552995141,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"custom.report.stock.expiry\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-01 12:22:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 01 Sep 2023 08:04:16 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=prps5mJDmU47%2BvQNrN3Wg4cHIUrpnq380zyKd5isMk4GgwAlL02UrZLdtkOp1PLT7Y3z7YFxjMkkypXGTpNNWij7huhSiszJBVCfKKCvPHM0Oqg7D5h%2B6oARa4QF55wmKdDhLpvdH21Xh53B2w%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7ffc0061c85403f3-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"company_name\": \"SmartB\",\n        \"location_name\": null,\n        \"product_name\": null,\n        \"date\": \"2023-09-01\",\n        \"periods\": [\n            {\n                \"date_from\": \"2023-09-01\",\n                \"date_to\": \"2023-09-30\",\n                \"period_name\": \"0-29 days\"\n            },\n            {\n                \"date_from\": \"2023-10-01\",\n                \"date_to\": \"2023-10-30\",\n                \"period_name\": \"30-59 days\"\n            },\n            {\n                \"date_from\": \"2023-10-31\",\n                \"date_to\": \"2023-11-29\",\n                \"period_name\": \"60-89 days\"\n            }\n        ],\n        \"lines\": [],\n        \"older_date_to\": \"2023-10-30\",\n        \"current_date_from\": \"2000-01-01\"\n    },\n    \"error\": null,\n    \"id\": 1693552995141,\n    \"dt\": 321\n}"}],"_postman_id":"e33448c1-5e08-4353-ac15-b0ae61a82e1e"}],"id":"709a5cdc-352d-4ab5-a81c-d60ef273a781","_postman_id":"709a5cdc-352d-4ab5-a81c-d60ef273a781","description":""},{"name":"Stock Forecast","item":[{"name":"params/report.stock.forecast/default_get","id":"870c165d-10b0-4a03-9bca-f4f47b9d641c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693555797386,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.forecast\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date\",\r\n                \"categ_id\",\r\n                \"product_id\",\r\n                \"location_id\",\r\n                \"period_days\",\r\n                \"num_periods\",\r\n                \"show_location\",\r\n                \"show_lot\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-01 13:09:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.stock.forecast\",<strong>**\"default_get\",<strong><strong>[</strong></strong>[**</strong>\"date\",<strong><strong>\"categ_id\",</strong></strong>\"product_id\",<strong><strong>\"location_id\",</strong></strong>\"period_days\",<strong><strong>\"num_periods\",</strong></strong>\"show_location\",<strong>**\"show_lot\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><code>\"report.stock.forecast\"</code>:<ol>\n<li>This is the name or identifier of the report module and function being called.</li>\n<li>In this case, it represents a stock forecast report.</li>\n</ol>\n</li>\n<li><code>\"default_get\"</code>:<ol>\n<li>This parameter specifies the action or method within the report module that you want to execute. In this case, it indicates that you want to retrieve default settings for the stock forecast report.</li>\n</ol>\n</li>\n<li><code>[[\"date\", \"categ_id\", \"product_id\", \"location_id\", \"period_days\", \"num_periods\", \"show_location\", \"show_lot\"]]</code>:<ol>\n<li>This is an array containing parameters that you are passing to the \"default_get\" action.</li>\n<li>These keys are used to customize the settings and options for generating a stock forecast report. Depending on the values you provide for these keys, the report generation process will produce a forecast tailored to your specific criteria, such as date range, product selection, location, and other preferences. The parameters within the inner array are as follows:<ol>\n<li><code>\"date\"</code>: This key likely represents a date field. It's used to specify a particular date or date range for which you want to generate the stock forecast. You can set the starting and ending dates for the forecast.</li>\n<li><code>\"categ_id\"</code>: This key represents a category ID. It's used to filter the forecast based on a specific product category. You can provide the ID of the category you want to include in the forecast.</li>\n<li><code>\"product_id\"</code>: This key represents a product ID. It's used to filter the forecast based on a specific product. You can provide the ID of the product for which you want to generate the forecast.</li>\n<li><code>\"location_id\"</code>: This key represents a location ID. It's used to filter the forecast based on a specific location or warehouse. You can provide the ID of the location where you want to generate the forecast.</li>\n<li><code>\"period_days\"</code>: This key likely represents a number of days. It's used to define the period of time for the forecast. You can specify the duration of each forecast period in days.</li>\n<li><code>\"num_periods\"</code>: This key likely represents the number of periods. It's used to specify how many periods of the defined duration you want to include in the forecast. You can set the number of forecast periods you want to generate.</li>\n<li><code>\"show_location\"</code>: This key indicates whether you want to include location information in the forecast. If set to a specific value (e.g., <code>true</code>), location information will be included in the report.</li>\n<li><code>\"show_lot\"</code>: This key indicates whether you want to include lot information in the forecast. If set to a specific value (e.g., <code>true</code>), lot information will be included in the report.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><code>{ \"context\": {} }</code>:<ol>\n<li>This is a JSON object containing context parameters that provide additional instructions or constraints to the API call.</li>\n<li><code>\"context\"</code> is an important part of the API request and often influences the behavior of the API call.</li>\n<li>In this case, an empty context object <code>{}</code> is provided, which means that there are no specific context instructions provided for this API call.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided parameters indicate that you are using the <code>\"report.stock.forecast\"</code> API to execute the \"default_get\" function, which retrieves default settings for the stock forecast report. The parameters within the inner array allow you to customize the default settings, including the date range, product, location, period, and whether to include location and lot information in the forecast.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"fef85f63-34cc-4060-af0c-6e8ad260a58f","name":"params/report.stock.forecast/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693555797386,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.forecast\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date\",\r\n                \"categ_id\",\r\n                \"product_id\",\r\n                \"location_id\",\r\n                \"period_days\",\r\n                \"num_periods\",\r\n                \"show_location\",\r\n                \"show_lot\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-01 13:09:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 01 Sep 2023 08:55:15 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=ngF43McacztkAPp2qG%2F4O9SBmIjFIHdWEznPS5%2B%2FbExW43S3JznTlC%2FB5MMGuGnbw2aKCECLIYWUJQuMLvIvRthsVzYEKrmwanxpjG%2F04aG8PpadUqEmX3jzUYg84LlvMkBCgQPHqucNBdd2LA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7ffc4b103f763ce9-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"date\": \"2023-09-01\",\n        \"categ_id\": null,\n        \"product_id\": null,\n        \"location_id\": null,\n        \"period_days\": 7,\n        \"num_periods\": 15,\n        \"show_location\": null,\n        \"show_lot\": null\n    },\n    \"error\": null,\n    \"id\": 1693555797386,\n    \"dt\": 8\n}"}],"_postman_id":"870c165d-10b0-4a03-9bca-f4f47b9d641c"},{"name":"params/report.stock.forecast/get_report_data","id":"8f71daeb-6832-4ca1-8104-6e9979c728ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693555797390,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.forecast\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-01 13:09:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.stock.forecast\",</strong>\"get_report_data\",<strong>[</strong>null<strong>],</strong></p>\n<ol>\n<li><code>\"report.stock.forecast\"</code>:<ol>\n<li>This is likely a reference to a specific type of report, specifically a stock forecast report. It indicates the kind of report you want to generate.</li>\n</ol>\n</li>\n<li><code>\"get_report_data\"</code>:<ol>\n<li>This appears to be a method or function that instructs the reporting system to retrieve or generate the data for the specified report. It indicates the action you want the system to perform regarding the stock forecast report.</li>\n</ol>\n</li>\n<li><code>[null]</code>:<ol>\n<li>This is an array that seems to be empty (<code>null</code>). It typically signifies that there are no specific parameters or filters provided for the report generation. In this case, it suggests that you want to generate the stock forecast report using default settings or without any additional customization.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is telling the reporting system to generate a stock forecast report with default settings or no specific filtering.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"52738b02-a258-488b-ab27-9f074938c63f","name":"params/report.stock.forecast/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693555797390,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.forecast\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-01 13:09:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 01 Sep 2023 09:12:42 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=5iFMv5jE3Uegiz07wAoNPyF7a41ANG7mEyQlcSyLwFDtmNeJ1uMuYosb5311wG7qSbc3SQXdM0GXJog8BIZb2XWOAT%2BEEFR9npDVI%2BLg0xOetNssD6v%2FEBaygzTggssaoiRwqCaW%2B%2FbJw%2Fq94A%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7ffc649fba9c03fd-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"company_name\": \"SmartB\",\n        \"location_name\": null,\n        \"product_name\": null,\n        \"date\": \"2023-09-01\",\n        \"periods\": [\n            {\n                \"date_from\": \"2023-09-01\",\n                \"date_to\": \"2023-09-07\",\n                \"period_name\": \"0-6 days\",\n                \"prod_qtys\": {}\n            },\n            {\n                \"date_from\": \"2023-09-08\",\n                \"date_to\": \"2023-09-14\",\n                \"period_name\": \"7-13 days\",\n                \"prod_qtys\": {}\n            },\n            {\n                \"date_from\": \"2023-09-15\",\n                \"date_to\": \"2023-09-21\",\n                \"period_name\": \"14-20 days\",\n                \"prod_qtys\": {}\n            },\n            {\n                \"date_from\": \"2023-09-22\",\n                \"date_to\": \"2023-09-28\",\n                \"period_name\": \"21-27 days\",\n                \"prod_qtys\": {}\n            },\n            {\n                \"date_from\": \"2023-09-29\",\n                \"date_to\": \"2023-10-05\",\n                \"period_name\": \"28-34 days\",\n                \"prod_qtys\": {}\n            },\n            {\n                \"date_from\": \"2023-10-06\",\n                \"date_to\": \"2023-10-12\",\n                \"period_name\": \"35-41 days\",\n                \"prod_qtys\": {}\n            },\n            {\n                \"date_from\": \"2023-10-13\",\n                \"date_to\": \"2023-10-19\",\n                \"period_name\": \"42-48 days\",\n                \"prod_qtys\": {}\n            },\n            {\n                \"date_from\": \"2023-10-20\",\n                \"date_to\": \"2023-10-26\",\n                \"period_name\": \"49-55 days\",\n                \"prod_qtys\": {}\n            },\n            {\n                \"date_from\": \"2023-10-27\",\n                \"date_to\": \"2023-11-02\",\n                \"period_name\": \"56-62 days\",\n                \"prod_qtys\": {}\n            },\n            {\n                \"date_from\": \"2023-11-03\",\n                \"date_to\": \"2023-11-09\",\n                \"period_name\": \"63-69 days\",\n                \"prod_qtys\": {}\n            },\n            {\n                \"date_from\": \"2023-11-10\",\n                \"date_to\": \"2023-11-16\",\n                \"period_name\": \"70-76 days\",\n                \"prod_qtys\": {}\n            },\n            {\n                \"date_from\": \"2023-11-17\",\n                \"date_to\": \"2023-11-23\",\n                \"period_name\": \"77-83 days\",\n                \"prod_qtys\": {}\n            },\n            {\n                \"date_from\": \"2023-11-24\",\n                \"date_to\": \"2023-11-30\",\n                \"period_name\": \"84-90 days\",\n                \"prod_qtys\": {}\n            },\n            {\n                \"date_from\": \"2023-12-01\",\n                \"date_to\": \"2023-12-07\",\n                \"period_name\": \"91-97 days\",\n                \"prod_qtys\": {}\n            },\n            {\n                \"date_from\": \"2023-12-08\",\n                \"date_to\": \"2023-12-14\",\n                \"period_name\": \"98-104 days\",\n                \"prod_qtys\": {}\n            }\n        ],\n        \"lines\": [\n            {\n                \"product_id\": 887,\n                \"product_name\": \"1031 : 1D Wired Laser Barcode Scanner  w/o Stand\",\n                \"code\": \"ZT49\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": -1,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    }\n                ]\n            },\n            {\n                \"product_id\": 881,\n                \"product_name\": \"1080P Indoor Home Infrared Night Vision IP Security Wireless CCTV Camera\",\n                \"code\": \"ZC43\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 903,\n                \"product_name\": \"12000 : F9 In-ear Headset Low Price Wireless Sports Earphone With Bluetooth\",\n                \"code\": \"ZE62\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 937,\n                \"product_name\": \"202103203 : Middle Eastern Muslim Embroidered Long Swing Dress Islamic Arab Clothing\",\n                \"code\": \"ZC75\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 906,\n                \"product_name\": \"4800pa Strong Power Car Vacuum Cleaner\",\n                \"code\": \"ZV65\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 913,\n                \"product_name\": \"6000 p.a. GB-822 : Handheld Wireless Vacuum Cleaners\",\n                \"code\": \"ZV36\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 886,\n                \"product_name\": \"6900 : Tera 1D Wired Barcode Scanner with Stand\",\n                \"code\": \"ZT48\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": -1,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    }\n                ]\n            },\n            {\n                \"product_id\": 1007,\n                \"product_name\": \"711 : Stand\",\n                \"code\": \"ZT70S\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 911,\n                \"product_name\": \"711: 2D Wired Barcode Scanner\",\n                \"code\": \"ZT70\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 986,\n                \"product_name\": \"711D + Stand \",\n                \"code\": \"ZT70B\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": -10,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    }\n                ]\n            },\n            {\n                \"product_id\": 1033,\n                \"product_name\": \"780 : Tera Fixed Mount 1D 2D Scanners QR Reader Desktop Platform\",\n                \"code\": \"ZT80\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 869,\n                \"product_name\": \"8100 Orange: Tera QR 1D 2D Wireless Wired Bluetooth Scanner 3 In 1 Heavy Duty\",\n                \"code\": \"ZT34\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 948,\n                \"product_name\": \"A1710 : Women Pleated Knit Dress Long Sleeve\",\n                \"code\": \"ZC80\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 895,\n                \"product_name\": \"A9 JIELI : night vision wifi mini camera for indoor with outdoor\",\n                \"code\": \"ZC54\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 957,\n                \"product_name\": \"A9 JIELI CCTV + SD Card \",\n                \"code\": \"ZC54sd\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": -10,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": -10,\n                        \"warning\": true\n                    }\n                ]\n            },\n            {\n                \"product_id\": 865,\n                \"product_name\": \"AX1800: Xiaomi router Wifi\",\n                \"code\": \"ZX30\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 1009,\n                \"product_name\": \"BEL-402 : Single Latch Fingerprint Door Lock\",\n                \"code\": \"ZS06\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 931,\n                \"product_name\": \"Best-8117 : Water Bottle Heater Portable\",\n                \"code\": \"ZM08\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 1006,\n                \"product_name\": \"CET-K32 Smartphone (Black) : Smart Digital Biometric Fingerprint Door Lock (NO APP)\",\n                \"code\": \"ZS05\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 942,\n                \"product_name\": \"CET-K32 fingerprint (Black) : Smart Digital Biometric Fingerprint Door Lock (with App)\",\n                \"code\": \"ZS03\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 1005,\n                \"product_name\": \"CET-K32 fingerprint (Red Bronze) : Smart Digital Biometric Fingerprint Door Lock (NO APP)\",\n                \"code\": \"ZS04\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 899,\n                \"product_name\": \"CF-727B : OEM support RTL8822BU Comfast dualband BT4.2 1300Mbps wireless adapter usb adapter for PC\",\n                \"code\": \"ZC58\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 898,\n                \"product_name\": \"CF-812AC AP-AC1300 : High speed usb wireless wifi network adapter up to 1300mbps\",\n                \"code\": \"ZC57\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 1,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 901,\n                \"product_name\": \"CF-AX200 : New WiFi6 802.11ax AX200 PCI-E wifi network card\",\n                \"code\": \"ZC60\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 908,\n                \"product_name\": \"D01-CC0002 : 6000pa Strong Power Car Vacuum Cleaner USB Rechargeable\",\n                \"code\": \"ZV67\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 878,\n                \"product_name\": \"D6100: Tera Wireless Barcode Scanner 1D 2D Wired with Charging Base/Cradle (Discontinued)\",\n                \"code\": \"ZT41\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 882,\n                \"product_name\": \"DLP Mini Portable Projector\",\n                \"code\": \"ZD44\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 912,\n                \"product_name\": \"EVHK0030 : Tera 2D Wireless Barcode Scanner with Charging Cradle\",\n                \"code\": \"ZT71\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": -1,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": -1,\n                        \"warning\": true\n                    }\n                ]\n            },\n            {\n                \"product_id\": 889,\n                \"product_name\": \"EVHK0047 / HW0005 : Tera Wireless 1D 2D QR Barcode Scanner 2-in-1 handheld Scanner with display CMOS with Stand\",\n                \"code\": \"ZT51\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 867,\n                \"product_name\": \"EVHK0049 / 1100D / U-1100 / 1100: Tera Mini Bar Code Reader\",\n                \"code\": \"ZT32\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 1008,\n                \"product_name\": \"EVHK0053 : Tera 2D 1D Wireless Barcode Scanner 3 in 1 Bluetooth Vibration Alert Scanner\",\n                \"code\": \"ZT43\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 900,\n                \"product_name\": \"FX8811 : 600Mbps 2 in 1 Dual band usb wifi bluetooth adapter wifi dongle\",\n                \"code\": \"ZC59\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 1049,\n                \"product_name\": \"Fanless Mini PC\",\n                \"code\": \"Z70\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 1,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 888,\n                \"product_name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\",\n                \"code\": \"ZT50\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 870,\n                \"product_name\": \"HW0002 : Tera 1D 2D Wireless Barcode Scanner with Stand (Discontinued)\",\n                \"code\": \"ZT35\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 890,\n                \"product_name\": \"HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\",\n                \"code\": \"ZT52\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 855,\n                \"product_name\": \"Hardware: Handheld Terminal - S60\",\n                \"code\": \"Z60\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 861,\n                \"product_name\": \"K-620: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"code\": \"ZL26\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 862,\n                \"product_name\": \"K-621: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"code\": \"ZL28\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 2,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 859,\n                \"product_name\": \"K-622BT: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"code\": \"ZL27\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 856,\n                \"product_name\": \"K-626: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"code\": \"ZL22\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 858,\n                \"product_name\": \"K-626RB: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"code\": \"ZL23\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 864,\n                \"product_name\": \"K-926 : 2D desktop barcode scanner\",\n                \"code\": \"ZL29\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 1,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 951,\n                \"product_name\": \"KL-AY012 : Brown Safety Lock Wardrobe Door\",\n                \"code\": \"ZM09\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 930,\n                \"product_name\": \"KL-AY012 : White Safety Lock Wardrobe Door\",\n                \"code\": \"ZM07\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 935,\n                \"product_name\": \"LR176 : Denim Abaya\",\n                \"code\": \"ZC73\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 936,\n                \"product_name\": \"LR418 : Jumpsuit Dubai Turkey Satin Muslim dress\",\n                \"code\": \"ZC74\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 909,\n                \"product_name\": \"M2: 128G Memory Card Headset Foldable Bluetooth Headset\",\n                \"code\": \"ZE68\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 966,\n                \"product_name\": \"M2B01: Nursing Cover Type A\",\n                \"code\": \"ZM03 - A\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 967,\n                \"product_name\": \"M2B01: Nursing Cover Type B\",\n                \"code\": \"ZM03 - B\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 968,\n                \"product_name\": \"M2B01: Nursing Cover Type C\",\n                \"code\": \"ZM03 - C\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 969,\n                \"product_name\": \"M2B01: Nursing Cover Type D\",\n                \"code\": \"ZM03 - D\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 970,\n                \"product_name\": \"M2B01: Nursing Cover Type E\",\n                \"code\": \"ZM03 - E\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 947,\n                \"product_name\": \"MS1968 : V-neck Knee Length Button Dress Casual Wear Maternity Dress\",\n                \"code\": \"ZC77\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 875,\n                \"product_name\": \"NT-1228BL Netum Usb 2D Bluetooth Barcode Scanner\",\n                \"code\": \"ZN38\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 943,\n                \"product_name\": \"NX4 : WiFi Biometric Fingerprint Digital smart door lock\",\n                \"code\": \"ZS32\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 941,\n                \"product_name\": \"Octopus Electric Nail Clipper (Blue)\",\n                \"code\": \"ZB65\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 905,\n                \"product_name\": \"Octopus Electric Nail Clipper (Pink)\",\n                \"code\": \"ZB64\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 940,\n                \"product_name\": \"Octopus Electric Nail Clipper (Yellow)\",\n                \"code\": \"ZB66\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 897,\n                \"product_name\": \"R20D: USB interface Proximity 125Khz RFID reader smart card\",\n                \"code\": \"ZR56\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 902,\n                \"product_name\": \"Redmi Airdots2 :\",\n                \"code\": \"ZE61\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 885,\n                \"product_name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\",\n                \"code\": \"ZP47\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 1,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 1,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 884,\n                \"product_name\": \"S800 : POS Touch System\",\n                \"code\": \"ZP46\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 896,\n                \"product_name\": \"SQ11 : Mini camera indoor and outdoor\",\n                \"code\": \"ZC55\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 914,\n                \"product_name\": \"SanDisk: Ultra Sandisk Micro SD Card\",\n                \"code\": \"ZS30\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": -3,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    }\n                ]\n            },\n            {\n                \"product_id\": 910,\n                \"product_name\": \"T2: Handsfree Earphones Light Wireless Bluetooth Headphones\",\n                \"code\": \"ZE69\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 933,\n                \"product_name\": \"T80: Android Handheld Data Collector\",\n                \"code\": \"Z80\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 2,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 2,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 904,\n                \"product_name\": \"TC-NU08: Electric baby Nail Clipper\",\n                \"code\": \"ZB63\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 784,\n                \"product_name\": \"TSC 244 Pro Label Printer \",\n                \"code\": \"P-0009a\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 3,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 1018,\n                \"product_name\": \"Tera-0012 : Tera 2D Wireless Portable Back Clip 1D 2D QR Bar Code Reader with Bluetooth image scanning\",\n                \"code\": \"ZT72\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 770,\n                \"product_name\": \"Test Prod\",\n                \"code\": \"P-0006\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 3,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 3,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 854,\n                \"product_name\": \"U9000S : Handheld Terminal - Z90\",\n                \"code\": \"Z90\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 894,\n                \"product_name\": \"V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                \"code\": \"ZC53\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": -3,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": -3,\n                        \"warning\": true\n                    }\n                ]\n            },\n            {\n                \"product_id\": 958,\n                \"product_name\": \"V380 plus SD card\",\n                \"code\": \"ZC53sd\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": -5,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": -5,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": -5,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": -5,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": -5,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": -5,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": -5,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": -5,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": -5,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": -5,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": -5,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": -5,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": -5,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": -5,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": -5,\n                        \"warning\": true\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": -5,\n                        \"warning\": true\n                    }\n                ]\n            },\n            {\n                \"product_id\": 866,\n                \"product_name\": \"VB601: Wireless Video Baby Monitor\",\n                \"code\": \"ZB31\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 938,\n                \"product_name\": \"Vanrro Baby Nail Trimmer (Blue)\",\n                \"code\": \"ZB68\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 939,\n                \"product_name\": \"Vanrro Baby Nail Trimmer (Green)\",\n                \"code\": \"ZB69\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 923,\n                \"product_name\": \"Vanrro Baby Nail Trimmer (Pink)\",\n                \"code\": \"ZB67\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 945,\n                \"product_name\": \"WN01A : Cry Sensor Sleep Aid Device Portable Owl Plush Toy\",\n                \"code\": \"ZC47\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 907,\n                \"product_name\": \"YH-02: BOOMJOY 6500PA Cordless Handheld Portable Vacuum Cleaner with Rechargeable\",\n                \"code\": \"ZV66\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 927,\n                \"product_name\": \"ZOCZ-13 : Nursing shawl cover\",\n                \"code\": \"ZM04\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 883,\n                \"product_name\": \"ZX-C24 : Two-way Audio Baby Monitor\",\n                \"code\": \"ZC45\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            },\n            {\n                \"product_id\": 877,\n                \"product_name\": \"[Replaced by 711]: 9100: EVHK0052-1 Tera QR Bar Code Scanner Barcode 2D Wired Barcode Scanner with Stand\",\n                \"code\": \"ZT40\",\n                \"location_id\": null,\n                \"location_name\": null,\n                \"lot_id\": null,\n                \"lot_num\": null,\n                \"qty\": 0,\n                \"periods\": [\n                    {\n                        \"date_from\": \"2023-09-01\",\n                        \"date_to\": \"2023-09-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-08\",\n                        \"date_to\": \"2023-09-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-15\",\n                        \"date_to\": \"2023-09-21\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-22\",\n                        \"date_to\": \"2023-09-28\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-09-29\",\n                        \"date_to\": \"2023-10-05\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-06\",\n                        \"date_to\": \"2023-10-12\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-13\",\n                        \"date_to\": \"2023-10-19\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-20\",\n                        \"date_to\": \"2023-10-26\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-10-27\",\n                        \"date_to\": \"2023-11-02\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-03\",\n                        \"date_to\": \"2023-11-09\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-10\",\n                        \"date_to\": \"2023-11-16\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-17\",\n                        \"date_to\": \"2023-11-23\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-11-24\",\n                        \"date_to\": \"2023-11-30\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-01\",\n                        \"date_to\": \"2023-12-07\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    },\n                    {\n                        \"date_from\": \"2023-12-08\",\n                        \"date_to\": \"2023-12-14\",\n                        \"qty\": 0,\n                        \"warning\": false\n                    }\n                ]\n            }\n        ],\n        \"period_days\": 7,\n        \"show_lot\": null,\n        \"show_location\": null\n    },\n    \"error\": null,\n    \"id\": 1693555797390,\n    \"dt\": 260\n}"}],"_postman_id":"8f71daeb-6832-4ca1-8104-6e9979c728ff"}],"id":"cabcd774-429c-4150-bfe6-11c7e19215e2","_postman_id":"cabcd774-429c-4150-bfe6-11c7e19215e2","description":""},{"name":"Stock Planning/ Ordering","item":[{"name":"params/report.stock.plan/default_get","id":"e96a4bb2-5d5f-4646-bc71-0c97fa764cbb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693560690109,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.plan\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"product_categ_id\",\r\n                \"supplier_id\",\r\n                \"plan_horizon\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-01 14:31:08\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.stock.plan\",</strong>\"default_get\",<strong>[</strong>[<strong>\"product_categ_id\",</strong>\"supplier_id\",<strong>\"plan_horizon\"<strong>]</strong>],</strong>{<strong>\"context\": {}****},</strong></p>\n<ol>\n<li><code>\"report.stock.plan\"</code>:<ol>\n<li>This is likely a reference to a specific type of report, in this case, a stock planning report. It indicates the type of report you want to generate.</li>\n</ol>\n</li>\n<li><code>\"default_get\"</code>:<ol>\n<li>This appears to be a method or function that instructs the reporting system to retrieve default values for specific parameters or filters related to the stock planning report. It indicates that you want to obtain default values for certain report parameters.</li>\n</ol>\n</li>\n<li><code>[ \"product_categ_id\", \"supplier_id\", \"plan_horizon\" ]</code>:<ol>\n<li>These parameters are essential for customizing and tailoring the stock planning report to your specific needs. By providing values for these parameters, you can focus the report on particular product categories, suppliers, and planning timeframes, making it a valuable tool for inventory management and decision-making.<ol>\n<li><code>\"product_categ_id\"</code>: This parameter likely refers to a product category identifier. In the context of a stock planning report, it can be used to filter the report data based on a specific product category. For example, you might want to generate a stock planning report for a particular category of products within your inventory.</li>\n<li><code>\"supplier_id\"</code>: This parameter probably represents a supplier identifier. In the context of stock planning, it can be used to filter the report based on products supplied by a specific supplier. You might use this filter to analyze stock planning specifically for products sourced from a particular supplier.</li>\n<li><code>\"plan_horizon\"</code>: This parameter appears to refer to a planning horizon, which is a period into the future for which you want to plan your stock. The planning horizon is used to determine how far ahead the stock planning should project. For example, you might want to plan stock levels for the next 30 days, 60 days, or more. This parameter allows you to set the planning horizon for the report.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><code>{ \"context\": {} }</code>:<ol>\n<li>This is a context object that may be used to provide additional context or configuration for the report generation. In this case, it appears to be empty, meaning no specific context information is provided for the report request.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is telling the reporting system to retrieve default values for specific parameters related to the stock planning report. These default values can be useful for pre-filling parameters when generating the report, making it more convenient for users to customize the report further.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"267e07ed-50a1-4944-95b8-19c3d9f8c207","name":"params/report.stock.plan/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693560690109,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.plan\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"product_categ_id\",\r\n                \"supplier_id\",\r\n                \"plan_horizon\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-01 14:31:08\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 01 Sep 2023 09:49:39 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=xS9KCSGOGIjZrwq8VxfBBuPvXc3grb7jC56HtGmADdo2rw6c932CmjoiMjkX2hIz1rg32bUjwmkFNjvbURoKIsfRtSwjHfgsAk1qymd4sAS4Mbs6Uwen89rgVJcLfKCDeERQiAKHusZ2yBZHEQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"7ffc9abe5a8ef83c-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"product_categ_id\": null,\n        \"supplier_id\": null,\n        \"plan_horizon\": 5\n    },\n    \"error\": null,\n    \"id\": 1693560690109,\n    \"dt\": 19\n}"}],"_postman_id":"e96a4bb2-5d5f-4646-bc71-0c97fa764cbb"},{"name":"params/report.stock.plan/get_report_data","id":"38e4be92-1ba4-46e9-bf4f-79940a4fdc83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693800578271,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.plan\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 09:08:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.stock.plan\",<strong>**\"get_report_data\",<strong><strong>[</strong></strong>null**</strong>],**</p>\n<ol>\n<li><code>\"report.stock.plan\"</code>: This indicates the type of report you are requesting, specifically a stock planning report.</li>\n<li><code>\"get_report_data\"</code>: This is likely the name of the method or action to be performed on the report. In this case, it suggests that you want to obtain data for the stock planning report.</li>\n<li><code>[null]</code>: This is an array that contains parameters for the report request. However, in this case, it appears to be empty (<code>null</code>). This might imply that you are not specifying any particular filtering criteria or options for the report, and you want to retrieve all available data for stock planning without applying any specific filters.</li>\n</ol>\n<p>In summary, the request is for a stock planning report, but it doesn't specify any particular filtering criteria or options, so it may return a comprehensive set of data related to stock planning without any specific restrictions or conditions.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"850b00b7-5131-4462-a49e-2fdf3c8bfbbf","name":"params/report.stock.plan/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693800578271,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.plan\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 09:08:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 04 Sep 2023 04:13:55 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=gEs7NNHeaRaZ3LJkJYtC%2FutsccCaCGnVWRKrbRr3qtlL0AZbvLvqCvlC%2BCtSqfCxk3NuFH2p3vavAWTZZ9sShDxc0KR7NijkmKcSkkgN8mwpl0U6sIN%2B78hEggPU6%2F8SpvmPJYYnzlFmmgBHrg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80136712caea999f-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"company_name\": \"SmartB\",\n        \"plan_horizon\": 5,\n        \"lines\": [\n            {\n                \"product_id\": 894,\n                \"product_code\": \"ZC53\",\n                \"product_name\": \"V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                \"plan_qty_horiz\": -3,\n                \"min_qty\": 0,\n                \"req_qty\": 3,\n                \"stock_uom_name\": \"Unit\",\n                \"order_qty\": null,\n                \"order_uom_name\": null,\n                \"order_lead_time\": null,\n                \"supply_method\": null,\n                \"supplier_name\": null\n            },\n            {\n                \"product_id\": 958,\n                \"product_code\": \"ZC53sd\",\n                \"product_name\": \"V380 plus SD card\",\n                \"plan_qty_horiz\": -5,\n                \"min_qty\": 0,\n                \"req_qty\": 5,\n                \"stock_uom_name\": \"Bundle\",\n                \"order_qty\": null,\n                \"order_uom_name\": null,\n                \"order_lead_time\": null,\n                \"supply_method\": null,\n                \"supplier_name\": null\n            },\n            {\n                \"product_id\": 957,\n                \"product_code\": \"ZC54sd\",\n                \"product_name\": \"A9 JIELI CCTV + SD Card \",\n                \"plan_qty_horiz\": -10,\n                \"min_qty\": 0,\n                \"req_qty\": 10,\n                \"stock_uom_name\": \"Bundle\",\n                \"order_qty\": null,\n                \"order_uom_name\": null,\n                \"order_lead_time\": null,\n                \"supply_method\": null,\n                \"supplier_name\": null\n            },\n            {\n                \"product_id\": 914,\n                \"product_code\": \"ZS30\",\n                \"product_name\": \"SanDisk: Ultra Sandisk Micro SD Card\",\n                \"plan_qty_horiz\": -3,\n                \"min_qty\": 0,\n                \"req_qty\": 3,\n                \"stock_uom_name\": \"Unit\",\n                \"order_qty\": null,\n                \"order_uom_name\": null,\n                \"order_lead_time\": null,\n                \"supply_method\": null,\n                \"supplier_name\": null\n            },\n            {\n                \"product_id\": 886,\n                \"product_code\": \"ZT48\",\n                \"product_name\": \"6900 : Tera 1D Wired Barcode Scanner with Stand\",\n                \"plan_qty_horiz\": -1,\n                \"min_qty\": 0,\n                \"req_qty\": 1,\n                \"stock_uom_name\": \"Unit\",\n                \"order_qty\": null,\n                \"order_uom_name\": null,\n                \"order_lead_time\": null,\n                \"supply_method\": null,\n                \"supplier_name\": null\n            },\n            {\n                \"product_id\": 887,\n                \"product_code\": \"ZT49\",\n                \"product_name\": \"1031 : 1D Wired Laser Barcode Scanner  w/o Stand\",\n                \"plan_qty_horiz\": -1,\n                \"min_qty\": 0,\n                \"req_qty\": 1,\n                \"stock_uom_name\": \"Unit\",\n                \"order_qty\": null,\n                \"order_uom_name\": null,\n                \"order_lead_time\": null,\n                \"supply_method\": null,\n                \"supplier_name\": null\n            },\n            {\n                \"product_id\": 986,\n                \"product_code\": \"ZT70B\",\n                \"product_name\": \"711D + Stand \",\n                \"plan_qty_horiz\": -10,\n                \"min_qty\": 0,\n                \"req_qty\": 10,\n                \"stock_uom_name\": \"Bundle\",\n                \"order_qty\": null,\n                \"order_uom_name\": null,\n                \"order_lead_time\": null,\n                \"supply_method\": null,\n                \"supplier_name\": null\n            },\n            {\n                \"product_id\": 912,\n                \"product_code\": \"ZT71\",\n                \"product_name\": \"EVHK0030 : Tera 2D Wireless Barcode Scanner with Charging Cradle\",\n                \"plan_qty_horiz\": -1,\n                \"min_qty\": 0,\n                \"req_qty\": 1,\n                \"stock_uom_name\": \"Unit\",\n                \"order_qty\": null,\n                \"order_uom_name\": null,\n                \"order_lead_time\": null,\n                \"supply_method\": null,\n                \"supplier_name\": null\n            }\n        ]\n    },\n    \"error\": null,\n    \"id\": 1693800578271,\n    \"dt\": 125\n}"}],"_postman_id":"38e4be92-1ba4-46e9-bf4f-79940a4fdc83"}],"id":"1ee8f9a9-29e6-4620-94a3-35e07446d912","_postman_id":"1ee8f9a9-29e6-4620-94a3-35e07446d912","description":""},{"name":"Shipping Cost","item":[{"name":"params/report.ship.cost/default_get","id":"d0088ba8-ce97-477c-b061-2a4299fb27f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693802504516,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.ship.cost\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"contact_id\",\r\n                \"ship_pay_by\",\r\n                \"ship_method_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 09:41:12\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.ship.cost\",<strong>**\"default_get\",<strong><strong>[</strong></strong>[**</strong>\"date_from\",<strong><strong>\"date_to\",</strong></strong>\"contact_id\",<strong><strong>\"ship_pay_by\",</strong></strong>\"ship_method_id\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><code>\"report.ship.cost\"</code>: This indicates the type of report you are requesting, specifically a shipping cost report.</li>\n<li><code>\"default_get\"</code>: This is likely the name of the method or action to be performed on the report. In this case, it suggests that you want to obtain default or initial settings for the shipping cost report.</li>\n<li>By providing values for these parameters when making a request for a shipping cost report, you can customize the report to focus on specific date ranges, customers, payment methods, and shipping carriers, allowing for detailed analysis of shipping-related expenses. The report will then provide information and insights based on the criteria you specify.<ol>\n<li><code>\"date_from\"</code>: This parameter represents the starting date or time for a date range. It is used to filter the report data to include only transactions that occurred on or after this date. For example, you might set <code>\"date_from\"</code> to \"2023-01-01\" to start the report from the beginning of the year 2023.</li>\n<li><code>\"date_to\"</code>: This parameter represents the ending date or time for a date range. It is used to filter the report data to include only transactions that occurred on or before this date. For example, you might set <code>\"date_to\"</code> to \"2023-12-31\" to end the report at the end of the year 2023.</li>\n<li><code>\"contact_id\"</code>: This parameter likely refers to a unique identifier for a customer or contact. It can be used to filter the report data to include only transactions associated with a specific customer or contact. For example, you might specify a <code>\"contact_id\"</code> to analyze shipping costs for a particular customer.</li>\n<li><code>\"ship_pay_by\"</code>: This parameter represents the payment method used for shipping. It can be used to filter the report data based on the method by which shipping costs were paid. For example, you might set <code>\"ship_pay_by\"</code> to \"Credit Card\" to analyze shipping costs for transactions paid with a credit card.</li>\n<li><code>\"ship_method_id\"</code>: This parameter likely refers to the unique identifier of a shipping method or carrier. It can be used to filter the report data based on the specific shipping methods or carriers used for deliveries. For example, you might specify a <code>\"ship_method_id\"</code> to analyze shipping costs associated with a particular carrier or service.</li>\n</ol>\n</li>\n<li><code>{\"context\": {}}</code>: This is an additional context parameter. In this case, it's an empty context, which means that you're not providing any specific context information with the report request. Context can sometimes include additional settings or configurations for the report.</li>\n</ol>\n<p>In summary, the request is for a shipping cost report, and it specifies parameters such as date ranges, customer/contact, payment method, and shipping method for filtering the report data.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"88e55db2-49f7-43b0-958f-f4906602b28c","name":"params/report.ship.cost/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693802504516,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.ship.cost\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"contact_id\",\r\n                \"ship_pay_by\",\r\n                \"ship_method_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 09:41:12\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 04 Sep 2023 04:43:38 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=4PlMcB2j19cZbBMU5ZZ9rjeUIsRzGpV0fzUbA4waq0LVkd7Gfrx9nMBrs183v2sBccsvlg6wVFgUIJgOchCfQgPG002thqXdt%2BVUZLEZPSN96XVuHH92j%2FUaTkMXcy5t6oCAxVASFSGitORPXA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8013929c7c7899a2-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"date_from\": \"2023-09-01\",\n        \"date_to\": \"2023-09-30\",\n        \"contact_id\": null,\n        \"ship_pay_by\": null,\n        \"ship_method_id\": null\n    },\n    \"error\": null,\n    \"id\": 1693802504516,\n    \"dt\": 7\n}"}],"_postman_id":"d0088ba8-ce97-477c-b061-2a4299fb27f8"},{"name":"params/report.ship.cost/get_report_data","id":"d3bf2229-2d04-451f-91e8-b32a52df7b79","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693809535075,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.ship.cost\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 11:38:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.ship.cost\",<strong>**\"get_report_data\",<strong><strong>[</strong></strong>null**</strong>],**</p>\n<ol>\n<li><code>\"report.ship.cost\"</code>: This is the first parameter and likely specifies the name or identifier of the report you want to generate. In this case, it's \"report.ship.cost,\" indicating that you want to retrieve data related to shipping costs.</li>\n<li><code>\"get_report_data\"</code>: This is the second parameter and appears to be an action or method for obtaining the report data. It suggests that you want to retrieve the actual data for the specified shipping cost report.</li>\n<li><code>[null]</code>: This is an array and represents the third parameter. In this case, it contains a single element, which is <code>null</code>. This might indicate that you are not specifying any additional filter criteria or options for the report. Instead, you want to retrieve all available shipping cost data without applying specific filters or constraints.</li>\n</ol>\n<p>So, this request is essentially asking for the raw data associated with the \"report.ship.cost\" report without applying any additional filters or conditions. The response will likely include information on shipping costs for various transactions or orders within the given scope, depending on the capabilities of the system or API you're using.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"ed78d0cd-2578-4a3d-b573-6daac1bcde98","name":"params/report.ship.cost/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693809535075,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.ship.cost\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 11:38:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 04 Sep 2023 06:41:32 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=n7%2BdA83rYaLb1Ex%2F63KGQpyMbQaHrI5CfB%2BdN8BK3vOIiSynbLSlC5s5vdZGbIcQD01hg5dbx9Y6N7yx7OgabDTUjLa%2FpI1NPG41hE5C7oHgUKiH7LxiAGCDW4wBFGivgd40A1wGcDKfXmXezQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80143f4cfccdf850-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"company_name\": \"SmartB\",\n        \"date_from\": \"2023-09-01\",\n        \"date_to\": \"2023-09-30\",\n        \"lines\": [],\n        \"totals\": {\n            \"ship_cost\": 0\n        }\n    },\n    \"error\": null,\n    \"id\": 1693809535075,\n    \"dt\": 10\n}"}],"_postman_id":"d3bf2229-2d04-451f-91e8-b32a52df7b79"}],"id":"9df42ab8-021a-4f78-91ba-035b14844c96","_postman_id":"9df42ab8-021a-4f78-91ba-035b14844c96","description":""},{"name":"Stock Movement Analysis","item":[{"name":"params/stock.move/read_group","id":"c9408b2d-8ff7-4de7-858c-c93895a47eb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693810312392,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.move\",\r\n        \"read_group\",\r\n        [],\r\n        {\r\n            \"group_fields\": [],\r\n            \"agg_fields\": [\r\n                \"qty\"\r\n            ],\r\n            \"condition\": [],\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 11:51:38\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.move\",<strong>**\"read_group\",<strong><strong>[],</strong></strong>{**</strong>\"group_fields\": [],<strong><strong>\"agg_fields\": [</strong></strong>\"qty\"<strong><strong>],</strong></strong>\"condition\": [],<strong><strong>\"limit\": 1000,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><code>\"stock.move\"</code>: This is the first parameter and specifies the entity or model from which you want to read data. In this case, it's \"stock.move,\" which likely represents movements or transfers of stock items.</li>\n<li><code>\"read_group\"</code>: This is the second parameter and indicates the type of operation you want to perform. \"Read_group\" typically suggests retrieving data while applying grouping and aggregation.</li>\n<li><code>[]</code>: This is an empty array and represents the third parameter. It appears that you are not specifying any domain or filter conditions for the data retrieval. In other words, you want to retrieve all available data without applying specific filters.</li>\n<li>The fourth parameter is an object with several key-value pairs:<ol>\n<li><code>\"group_fields\": []</code>: This specifies the fields by which you want to group the data. However, it's currently set as an empty array, meaning you might not want to group the data by any specific fields.</li>\n<li><code>\"agg_fields\": [\"qty\"]</code>: This indicates the fields for which you want to calculate aggregations. In this case, you're interested in aggregating the \"qty\" field, likely to calculate quantities of stock moves.</li>\n<li><code>\"condition\": []</code>: Similar to the third parameter, this is also an empty array, indicating that you are not specifying any additional conditions for filtering the data.</li>\n<li><code>\"limit\": 1000</code>: This specifies a limit on the number of records returned in the response. You want to limit the result to the first 1000 records.</li>\n<li><code>\"context\": {}</code>: This likely provides additional context or settings for the operation. However, the context is currently an empty object, suggesting that you are not applying any specific context settings.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is asking to read and aggregate data from the \"stock.move\" entity without applying any filters or grouping conditions. The response will likely include aggregated information on quantities moved for stock items, and it will be limited to the first 1000 records.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"981384ec-0223-4ba3-bb80-3b21433240c8","name":"params/stock.move/read_group","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693810312392,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.move\",\r\n        \"read_group\",\r\n        [],\r\n        {\r\n            \"group_fields\": [],\r\n            \"agg_fields\": [\r\n                \"qty\"\r\n            ],\r\n            \"condition\": [],\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 11:51:38\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 04 Sep 2023 06:54:08 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=m7uQpfLtJi7oIjRFmQHhJoMlDM6vI2GNliKFmFvRTVl5jCJQ1zuUF1dJZ%2BA1bPh8OU8%2F4PZ1qP%2BTwuUMF2U5DSczcvJq6o9cI%2FtYQr%2BhT6lvV23ZlauU58BzMe02zBWyahbJw5LK%2Fd86lQMcNA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"801451c23dde2149-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"_count\": 1341,\n            \"qty\": 3058\n        }\n    ],\n    \"error\": null,\n    \"id\": 1693810312392,\n    \"dt\": 8\n}"}],"_postman_id":"c9408b2d-8ff7-4de7-858c-c93895a47eb7"},{"name":"params/report.custom/search_read","id":"eaf2feb8-3c2b-4a7b-b825-47f857bfb465","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693810312395,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"stock.move\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 11:51:38\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.custom\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"code\",</strong></strong>\"=\",<strong>**\"stock.move\"<strong><strong>]</strong></strong>],<strong><strong>[</strong></strong>\"name\",**</strong>\"config\"<strong><strong>]</strong></strong>],****{},**</p>\n<ol>\n<li><code>\"report.custom\"</code>: This is the first parameter and specifies the entity or model from which you want to read data. In this case, it's \"report.custom,\" which suggests that you are working with custom report configurations.</li>\n<li><code>\"search_read\"</code>: This is the second parameter and indicates the type of operation you want to perform. \"Search_read\" typically suggests searching for records and reading their data.</li>\n<li>The third parameter is an array containing two sub-arrays:<ol>\n<li><code>[ [ \"code\", \"=\", \"stock.move\" ] ]</code>: This is the first sub-array and represents a domain or filter condition. It specifies that you want to retrieve records where the \"code\" field is equal to \"stock.move.\" This condition filters the results to match specific codes.<ol>\n<li><code>[ ... ]</code>: The outermost brackets indicate that this is a list or array containing filter conditions.</li>\n<li><code>[\"code\", \"=\", \"stock.move\"]</code>: This is an inner list or sub-array, representing a single filter condition. Within this sub-array, there are three elements:<ol>\n<li><code>\"code\"</code>: This is the name of the field or attribute that you want to filter on. In this case, it's the \"code\" field.</li>\n<li><code>\"=\"</code>: This is the operator used for comparison. Here, it's the equality operator, which means you want to match records where the \"code\" field is equal to the specified value.</li>\n<li><code>\"stock.move\"</code>: This is the value you want to compare against. You are looking for records where the \"code\" field is equal to \"stock.move.\"</li>\n</ol>\n</li>\n<li>The filter condition <code>[[\"code\", \"=\", \"stock.move\"]]</code> is saying, \"Retrieve records where the 'code' field is equal to 'stock.move'.\" This condition helps narrow down the data you want to retrieve from a dataset or database table, allowing you to find specific records that meet this criteria.</li>\n</ol>\n</li>\n<li><code>[ \"name\", \"config\" ]</code>: This is the second sub-array and represents the fields you want to retrieve. In the context of a query, this list suggests that you are interested in retrieving data for these two specific fields, \"name\" and \"config.\" These fields are typically present in a dataset or database table, and by specifying them, you can control which information is returned in the query results.<ol>\n<li><code>\"name\"</code>: This is the name of the first field or attribute that you want to include. When querying data, it specifies that you want to retrieve information related to the \"name\" field.</li>\n<li><code>\"config\"</code>: This is the name of the second field or attribute that you want to include. It specifies that you want to retrieve information related to the \"config\" field.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><code>{}</code>: This is an empty object and represents the fourth parameter. It is typically used to pass additional context or settings for the operation. In this case, there are no specific context settings provided.</li>\n</ol>\n<p>In summary, this request is asking to search and read data from the \"report.custom\" entity. It specifies a filter condition to retrieve records with a \"code\" equal to \"stock.move\" and requests the \"name\" and \"config\" fields to be included in the response. No additional context settings are applied in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"0c774e2b-67ae-426f-b4f8-2082bc77015b","name":"params/report.custom/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693810312395,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"stock.move\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 11:51:38\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 04 Sep 2023 07:01:07 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=eJsAGUijiT%2FehEWhQ%2FmRhdNLt4loMq6Ltz4CTJFD8x%2Bs0uPq2tVGrNjd6NQvFYuqF6AngGiufClIN2mRaXGqo%2F0AeYdDNA2ssUIBTc4W%2FwXeHu17blcDawCMJjiEMJYFAuDzOI%2F%2FPjTbF%2FUejg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80145bff08af0481-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"id\": 12,\n            \"name\": \"Stock_move\",\n            \"config\": \"{\\\"field_names\\\":[\\\"product_id.name\\\",\\\"product_id.code\\\",\\\"product_id.categ_id.name\\\",\\\"product_id.parent_id.code\\\",\\\"product_id.parent_id.name\\\",\\\"uom_id.name\\\",\\\"picking_id.number\\\",\\\"picking_id.type\\\",\\\"picking_id.contact_id.name\\\",\\\"picking_id.contact_id.code\\\",\\\"picking_id.contact_id.categ_id.name\\\",\\\"location_from_id.name\\\",\\\"location_from_id.code\\\",\\\"location_to_id.name\\\",\\\"location_to_id.code\\\",\\\"state\\\",\\\"date\\\",\\\"week\\\",\\\"month\\\",\\\"qty\\\",\\\"qty2\\\",\\\"cost_price\\\",\\\"cost_amount\\\",\\\"notes\\\",\\\"ref\\\",\\\"sale_id.number\\\"],\\\"limit\\\":1000,\\\"derivedAttributes\\\":{},\\\"hiddenAttributes\\\":[],\\\"menuLimit\\\":200,\\\"cols\\\":[\\\"To Location Name\\\",\\\"Month\\\"],\\\"rows\\\":[\\\"Product Category\\\",\\\"Product Code\\\"],\\\"vals\\\":[\\\"Qty\\\"],\\\"exclusions\\\":{\\\"To Location Name\\\":[\\\"Damage/Repair\\\",\\\"Samples\\\",\\\"Warehouse\\\"],\\\"Month\\\":[\\\"2020-06\\\",\\\"2020-07\\\",\\\"2020-08\\\",\\\"2020-09\\\",\\\"2020-10\\\",\\\"2020-11\\\",\\\"2020-12\\\",\\\"2021-01\\\"]},\\\"inclusions\\\":{\\\"To Location Name\\\":[\\\"Customers\\\"],\\\"Month\\\":[\\\"2021-02\\\",\\\"2021-03\\\",\\\"2021-04\\\",\\\"2021-05\\\",\\\"2021-06\\\",\\\"2021-07\\\"]},\\\"unusedAttrsVertical\\\":85,\\\"autoSortUnusedAttrs\\\":false,\\\"aggregatorName\\\":\\\"Sum\\\",\\\"inclusionsInfo\\\":{\\\"To Location Name\\\":[\\\"Customers\\\"],\\\"Month\\\":[\\\"2021-02\\\",\\\"2021-03\\\",\\\"2021-04\\\",\\\"2021-05\\\",\\\"2021-06\\\",\\\"2021-07\\\"]},\\\"rendererName\\\":\\\"Table\\\"}\"\n        }\n    ],\n    \"error\": null,\n    \"id\": 1693810312395,\n    \"dt\": 7\n}"}],"_postman_id":"eaf2feb8-3c2b-4a7b-b825-47f857bfb465"}],"id":"7aaaa0e7-aa80-40c7-8b03-36d77e6d4d37","_postman_id":"7aaaa0e7-aa80-40c7-8b03-36d77e6d4d37","description":""},{"name":"Stock Balance Analysis","item":[{"name":"params/stock.balance/search_read_path","id":"5714260e-6905-44ce-b098-cf76aba62c0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693811811179,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.balance\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"product_id.name\",\r\n                \"product_id.code\",\r\n                \"product_id.categ_id.name\",\r\n                \"product_id.parent_id.code\",\r\n                \"product_id.parent_id.name\",\r\n                \"uom_id.name\",\r\n                \"location_id.code\",\r\n                \"lot_id.number\",\r\n                \"location_id.name\",\r\n                \"qty_phys\",\r\n                \"qty_virt\",\r\n                \"amount\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 12:16:38\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.balance\",<strong>**\"search_read_path\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"product_id.name\",**</strong>\"product_id.code\",<strong><strong>\"product_id.categ_id.name\",</strong></strong>\"product_id.parent_id.code\",<strong><strong>\"product_id.parent_id.name\",</strong></strong>\"uom_id.name\",<strong><strong>\"location_id.code\",</strong></strong>\"lot_id.number\",<strong><strong>\"location_id.name\",</strong></strong>\"qty_phys\",<strong><strong>\"qty_virt\",</strong></strong>\"amount\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"limit\": 1000,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><code>\"stock.balance\"</code>: This is the name or identifier of the source or dataset you want to query. In this case, you are querying data related to stock balances.</li>\n<li><code>\"search_read_path\"</code>: It appears to be the method or action you want to perform on the \"stock.balance\" dataset. \"search_read_path\" is likely a custom method specific to the system or API you are using, as it's not a standard method in many APIs.</li>\n<li><code>[]</code>: The first element in this list is an empty list. It typically represents the search domain or conditions, but since it's empty, it implies that you want to retrieve all records without any specific filtering conditions.</li>\n<li><code>[\"product_id.name\", \"product_id.code\", ...]</code>: This list defines the fields or attributes that you want to include in the query results. Here's what each field represents:<ol>\n<li><strong>\"product_id.name\":</strong> This field represents the name of the product associated with the stock balance. It provides information about the product being tracked.</li>\n<li><strong>\"product_id.code\":</strong> This field represents the code or identifier of the product. It is typically a unique identifier for the product within the system.</li>\n<li><strong>\"product_id.categ_id.name\":</strong> This field represents the name of the product category to which the product belongs. It categorizes products for organizational purposes.</li>\n<li><strong>\"product_id.parent_id.code\"</strong>: If the product has a parent product, this field represents the code or identifier of the parent product. Parent products are often used in hierarchical product structures.</li>\n<li><strong>\"product_id.parent_id.name\":</strong> Similar to the previous field, this represents the name of the parent product if applicable.</li>\n<li><strong>\"uom_id.name\":</strong> The field represents the name of the unit of measure (UOM) associated with the stock balance. UOM defines how quantities of the product are measured and displayed.</li>\n<li><strong>\"location_id.code\":</strong> This field represents the code or identifier of the location where the stock balance is stored or tracked. Locations can be physical places within a warehouse or storage facility.</li>\n<li><strong>\"lot_id.number\":</strong> If the stock balance is associated with a specific lot or batch, this field represents the lot number or identifier. Lots are used for traceability.</li>\n<li><strong>\"location_id.name\":</strong> Similar to the location code, this field represents the name or description of the location.</li>\n<li><strong>\"qty_phys\":</strong> This field represents the physical quantity of the product in stock. It indicates the actual quantity available in the specified location.</li>\n<li><strong>\"qty_virt\":</strong> The virtual quantity represents a calculated or virtual quantity of the product, which might differ from the physical quantity based on various factors like reservations or planned movements.</li>\n<li><strong>\"amount\":</strong> This field typically represents the monetary value or cost associated with the stock balance. It can be used for financial reporting or cost tracking.</li>\n</ol>\n</li>\n<li>These fields collectively provide comprehensive information about the stock balance, including product details, location, quantities, and other relevant attributes. When you execute the query, the results will include these fields for each matching record in the \"stock.balance\" dataset, allowing you to access specific details about the stock balances in your system.</li>\n<li><code>\"count\": true</code>: This parameter indicates that you want to retrieve the count of records that match the search conditions. It's used for pagination or determining the total number of matching records.</li>\n<li><code>\"limit\": 1000</code>: This parameter specifies that you want to limit the number of records returned to 1000. If there are more records that match the query, you may need to use pagination to retrieve the remaining data in batches.</li>\n<li><code>\"context\": {}</code>: This context parameter is often used to provide additional contextual information or configuration options for the query. In this case, it's an empty dictionary, so it doesn't provide any specific context.</li>\n</ol>\n<p>In summary, this request is asking to retrieve stock balance data from a source called \"stock.balance\" with specific fields included in the results. It also asks for the count of matching records and specifies a limit of 1000 records to be returned.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"cc362195-0b20-45ac-b6a5-296a1032a769","name":"params/stock.balance/search_read_path","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693811811179,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.balance\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"product_id.name\",\r\n                \"product_id.code\",\r\n                \"product_id.categ_id.name\",\r\n                \"product_id.parent_id.code\",\r\n                \"product_id.parent_id.name\",\r\n                \"uom_id.name\",\r\n                \"location_id.code\",\r\n                \"lot_id.number\",\r\n                \"location_id.name\",\r\n                \"qty_phys\",\r\n                \"qty_virt\",\r\n                \"amount\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 12:16:38\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 04 Sep 2023 07:18:15 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=rLP2mKwAGin0nURJe8vAqmDhaRUgvH%2BJoD5rw0JBMWLMw%2FJpRZ35OogvVGyJjiAIuzvOmhIrcKJGl%2FUgy0o%2Bfu5qTWj44MI1xshZ3W%2BNdfYEC9DkXRP3BColLwvTty1vs2kyz7DSW1oKfwokJA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8014751599193cdb-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 10547,\n                \"lot_id\": null,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 912,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZT71\",\n                    \"name\": \"EVHK0030 : Tera 2D Wireless Barcode Scanner with Charging Cradle\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 17,\n                    \"code\": null,\n                    \"name\": \"Office\"\n                }\n            },\n            {\n                \"id\": 10549,\n                \"lot_id\": null,\n                \"amount\": -0.11,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 888,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZT50\",\n                    \"name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10551,\n                \"lot_id\": null,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 923,\n                    \"categ_id\": {\n                        \"id\": 189,\n                        \"name\": \"Nail Clipper/Trimmer\"\n                    },\n                    \"code\": \"ZB67\",\n                    \"name\": \"Vanrro Baby Nail Trimmer (Pink)\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10553,\n                \"lot_id\": null,\n                \"amount\": 8.15,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 947,\n                    \"categ_id\": {\n                        \"id\": 197,\n                        \"name\": \"Dress\"\n                    },\n                    \"code\": \"ZC77\",\n                    \"name\": \"MS1968 : V-neck Knee Length Button Dress Casual Wear Maternity Dress\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10556,\n                \"lot_id\": null,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 927,\n                    \"categ_id\": {\n                        \"id\": 193,\n                        \"name\": \"Nursing Cover\"\n                    },\n                    \"code\": \"ZM04\",\n                    \"name\": \"ZOCZ-13 : Nursing shawl cover\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10557,\n                \"lot_id\": null,\n                \"amount\": 0.03,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 1008,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZT43\",\n                    \"name\": \"EVHK0053 : Tera 2D 1D Wireless Barcode Scanner 3 in 1 Bluetooth Vibration Alert Scanner\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10559,\n                \"lot_id\": null,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 923,\n                    \"categ_id\": {\n                        \"id\": 189,\n                        \"name\": \"Nail Clipper/Trimmer\"\n                    },\n                    \"code\": \"ZB67\",\n                    \"name\": \"Vanrro Baby Nail Trimmer (Pink)\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 17,\n                    \"code\": null,\n                    \"name\": \"Office\"\n                }\n            },\n            {\n                \"id\": 10561,\n                \"lot_id\": null,\n                \"amount\": 0.02,\n                \"qty_virt\": 2,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 862,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZL28\",\n                    \"name\": \"K-621: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10564,\n                \"lot_id\": null,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 968,\n                    \"categ_id\": {\n                        \"id\": 193,\n                        \"name\": \"Nursing Cover\"\n                    },\n                    \"code\": \"ZM03 - C\",\n                    \"name\": \"M2B01: Nursing Cover Type C\",\n                    \"parent_id\": {\n                        \"id\": 926,\n                        \"code\": \"ZM03\",\n                        \"name\": \" M2B01: Nursing Cover\"\n                    }\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10565,\n                \"lot_id\": null,\n                \"amount\": -0.04,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 867,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZT32\",\n                    \"name\": \"EVHK0049 / 1100D / U-1100 / 1100: Tera Mini Bar Code Reader\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10566,\n                \"lot_id\": null,\n                \"amount\": 0.02,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 966,\n                    \"categ_id\": {\n                        \"id\": 193,\n                        \"name\": \"Nursing Cover\"\n                    },\n                    \"code\": \"ZM03 - A\",\n                    \"name\": \"M2B01: Nursing Cover Type A\",\n                    \"parent_id\": {\n                        \"id\": 926,\n                        \"code\": \"ZM03\",\n                        \"name\": \" M2B01: Nursing Cover\"\n                    }\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10567,\n                \"lot_id\": null,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 854,\n                    \"categ_id\": {\n                        \"id\": 179,\n                        \"name\": \"Mobile Computer\"\n                    },\n                    \"code\": \"Z90\",\n                    \"name\": \"U9000S : Handheld Terminal - Z90\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10568,\n                \"lot_id\": null,\n                \"amount\": 31.84,\n                \"qty_virt\": 1,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 1,\n                \"product_id\": {\n                    \"id\": 898,\n                    \"categ_id\": {\n                        \"id\": 182,\n                        \"name\": \"Adapter/Router/Dongle\"\n                    },\n                    \"code\": \"ZC57\",\n                    \"name\": \"CF-812AC AP-AC1300 : High speed usb wireless wifi network adapter up to 1300mbps\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 17,\n                    \"code\": null,\n                    \"name\": \"Office\"\n                }\n            },\n            {\n                \"id\": 10571,\n                \"lot_id\": null,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 888,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZT50\",\n                    \"name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 17,\n                    \"code\": null,\n                    \"name\": \"Office\"\n                }\n            },\n            {\n                \"id\": 10572,\n                \"lot_id\": null,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 1005,\n                    \"categ_id\": {\n                        \"id\": 199,\n                        \"name\": \"Smart Door Lock\"\n                    },\n                    \"code\": \"ZS04\",\n                    \"name\": \"CET-K32 fingerprint (Red Bronze) : Smart Digital Biometric Fingerprint Door Lock (NO APP)\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10576,\n                \"lot_id\": null,\n                \"amount\": 0.02,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 900,\n                    \"categ_id\": {\n                        \"id\": 182,\n                        \"name\": \"Adapter/Router/Dongle\"\n                    },\n                    \"code\": \"ZC59\",\n                    \"name\": \"FX8811 : 600Mbps 2 in 1 Dual band usb wifi bluetooth adapter wifi dongle\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10578,\n                \"lot_id\": null,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 856,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZL22\",\n                    \"name\": \"K-626: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10579,\n                \"lot_id\": null,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 967,\n                    \"categ_id\": {\n                        \"id\": 193,\n                        \"name\": \"Nursing Cover\"\n                    },\n                    \"code\": \"ZM03 - B\",\n                    \"name\": \"M2B01: Nursing Cover Type B\",\n                    \"parent_id\": {\n                        \"id\": 926,\n                        \"code\": \"ZM03\",\n                        \"name\": \" M2B01: Nursing Cover\"\n                    }\n                },\n                \"location_id\": {\n                    \"id\": 17,\n                    \"code\": null,\n                    \"name\": \"Office\"\n                }\n            },\n            {\n                \"id\": 10582,\n                \"lot_id\": null,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 967,\n                    \"categ_id\": {\n                        \"id\": 193,\n                        \"name\": \"Nursing Cover\"\n                    },\n                    \"code\": \"ZM03 - B\",\n                    \"name\": \"M2B01: Nursing Cover Type B\",\n                    \"parent_id\": {\n                        \"id\": 926,\n                        \"code\": \"ZM03\",\n                        \"name\": \" M2B01: Nursing Cover\"\n                    }\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10583,\n                \"lot_id\": null,\n                \"amount\": -0.09,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 866,\n                    \"categ_id\": {\n                        \"id\": 190,\n                        \"name\": \"Baby Monitor\"\n                    },\n                    \"code\": \"ZB31\",\n                    \"name\": \"VB601: Wireless Video Baby Monitor\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10585,\n                \"lot_id\": null,\n                \"amount\": -0.04,\n                \"qty_virt\": -1,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 912,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZT71\",\n                    \"name\": \"EVHK0030 : Tera 2D Wireless Barcode Scanner with Charging Cradle\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10586,\n                \"lot_id\": null,\n                \"amount\": -0.14,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 869,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZT34\",\n                    \"name\": \"8100 Orange: Tera QR 1D 2D Wireless Wired Bluetooth Scanner 3 In 1 Heavy Duty\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10587,\n                \"lot_id\": null,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 968,\n                    \"categ_id\": {\n                        \"id\": 193,\n                        \"name\": \"Nursing Cover\"\n                    },\n                    \"code\": \"ZM03 - C\",\n                    \"name\": \"M2B01: Nursing Cover Type C\",\n                    \"parent_id\": {\n                        \"id\": 926,\n                        \"code\": \"ZM03\",\n                        \"name\": \" M2B01: Nursing Cover\"\n                    }\n                },\n                \"location_id\": {\n                    \"id\": 17,\n                    \"code\": null,\n                    \"name\": \"Office\"\n                }\n            },\n            {\n                \"id\": 10590,\n                \"lot_id\": null,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 889,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZT51\",\n                    \"name\": \"EVHK0047 / HW0005 : Tera Wireless 1D 2D QR Barcode Scanner 2-in-1 handheld Scanner with display CMOS with Stand\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 17,\n                    \"code\": null,\n                    \"name\": \"Office\"\n                }\n            },\n            {\n                \"id\": 10594,\n                \"lot_id\": null,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 898,\n                    \"categ_id\": {\n                        \"id\": 182,\n                        \"name\": \"Adapter/Router/Dongle\"\n                    },\n                    \"code\": \"ZC57\",\n                    \"name\": \"CF-812AC AP-AC1300 : High speed usb wireless wifi network adapter up to 1300mbps\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10598,\n                \"lot_id\": null,\n                \"amount\": 0.02,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 867,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZT32\",\n                    \"name\": \"EVHK0049 / 1100D / U-1100 / 1100: Tera Mini Bar Code Reader\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 17,\n                    \"code\": null,\n                    \"name\": \"Office\"\n                }\n            },\n            {\n                \"id\": 10599,\n                \"lot_id\": null,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 902,\n                    \"categ_id\": {\n                        \"id\": 181,\n                        \"name\": \"Earphone/Headphone\"\n                    },\n                    \"code\": \"ZE61\",\n                    \"name\": \"Redmi Airdots2 :\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10600,\n                \"lot_id\": null,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 904,\n                    \"categ_id\": {\n                        \"id\": 189,\n                        \"name\": \"Nail Clipper/Trimmer\"\n                    },\n                    \"code\": \"ZB63\",\n                    \"name\": \"TC-NU08: Electric baby Nail Clipper\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 17,\n                    \"code\": null,\n                    \"name\": \"Office\"\n                }\n            },\n            {\n                \"id\": 10601,\n                \"lot_id\": null,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 899,\n                    \"categ_id\": {\n                        \"id\": 182,\n                        \"name\": \"Adapter/Router/Dongle\"\n                    },\n                    \"code\": \"ZC58\",\n                    \"name\": \"CF-727B : OEM support RTL8822BU Comfast dualband BT4.2 1300Mbps wireless adapter usb adapter for PC\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10602,\n                \"lot_id\": null,\n                \"amount\": 0.04,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 889,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZT51\",\n                    \"name\": \"EVHK0047 / HW0005 : Tera Wireless 1D 2D QR Barcode Scanner 2-in-1 handheld Scanner with display CMOS with Stand\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10604,\n                \"lot_id\": null,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 875,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZN38\",\n                    \"name\": \"NT-1228BL Netum Usb 2D Bluetooth Barcode Scanner\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10606,\n                \"lot_id\": null,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 970,\n                    \"categ_id\": {\n                        \"id\": 193,\n                        \"name\": \"Nursing Cover\"\n                    },\n                    \"code\": \"ZM03 - E\",\n                    \"name\": \"M2B01: Nursing Cover Type E\",\n                    \"parent_id\": {\n                        \"id\": 926,\n                        \"code\": \"ZM03\",\n                        \"name\": \" M2B01: Nursing Cover\"\n                    }\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10607,\n                \"lot_id\": null,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 907,\n                    \"categ_id\": {\n                        \"id\": 178,\n                        \"name\": \"Vacuum Cleaner\"\n                    },\n                    \"code\": \"ZV66\",\n                    \"name\": \"YH-02: BOOMJOY 6500PA Cordless Handheld Portable Vacuum Cleaner with Rechargeable\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10608,\n                \"lot_id\": null,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 970,\n                    \"categ_id\": {\n                        \"id\": 193,\n                        \"name\": \"Nursing Cover\"\n                    },\n                    \"code\": \"ZM03 - E\",\n                    \"name\": \"M2B01: Nursing Cover Type E\",\n                    \"parent_id\": {\n                        \"id\": 926,\n                        \"code\": \"ZM03\",\n                        \"name\": \" M2B01: Nursing Cover\"\n                    }\n                },\n                \"location_id\": {\n                    \"id\": 17,\n                    \"code\": null,\n                    \"name\": \"Office\"\n                }\n            },\n            {\n                \"id\": 10610,\n                \"lot_id\": null,\n                \"amount\": 0.02,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 1007,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZT70S\",\n                    \"name\": \"711 : Stand\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10611,\n                \"lot_id\": null,\n                \"amount\": 42.85,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 948,\n                    \"categ_id\": {\n                        \"id\": 197,\n                        \"name\": \"Dress\"\n                    },\n                    \"code\": \"ZC80\",\n                    \"name\": \"A1710 : Women Pleated Knit Dress Long Sleeve\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10612,\n                \"lot_id\": null,\n                \"amount\": -0.07,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 904,\n                    \"categ_id\": {\n                        \"id\": 189,\n                        \"name\": \"Nail Clipper/Trimmer\"\n                    },\n                    \"code\": \"ZB63\",\n                    \"name\": \"TC-NU08: Electric baby Nail Clipper\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10613,\n                \"lot_id\": null,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 908,\n                    \"categ_id\": {\n                        \"id\": 178,\n                        \"name\": \"Vacuum Cleaner\"\n                    },\n                    \"code\": \"ZV67\",\n                    \"name\": \"D01-CC0002 : 6000pa Strong Power Car Vacuum Cleaner USB Rechargeable\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10615,\n                \"lot_id\": null,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 865,\n                    \"categ_id\": {\n                        \"id\": 182,\n                        \"name\": \"Adapter/Router/Dongle\"\n                    },\n                    \"code\": \"ZX30\",\n                    \"name\": \"AX1800: Xiaomi router Wifi\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10620,\n                \"lot_id\": null,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 869,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZT34\",\n                    \"name\": \"8100 Orange: Tera QR 1D 2D Wireless Wired Bluetooth Scanner 3 In 1 Heavy Duty\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 17,\n                    \"code\": null,\n                    \"name\": \"Office\"\n                }\n            },\n            {\n                \"id\": 10641,\n                \"lot_id\": null,\n                \"amount\": -0.07,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 895,\n                    \"categ_id\": {\n                        \"id\": 180,\n                        \"name\": \"CCTV\"\n                    },\n                    \"code\": \"ZC54\",\n                    \"name\": \"A9 JIELI : night vision wifi mini camera for indoor with outdoor\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10643,\n                \"lot_id\": null,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 895,\n                    \"categ_id\": {\n                        \"id\": 180,\n                        \"name\": \"CCTV\"\n                    },\n                    \"code\": \"ZC54\",\n                    \"name\": \"A9 JIELI : night vision wifi mini camera for indoor with outdoor\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 17,\n                    \"code\": null,\n                    \"name\": \"Office\"\n                }\n            },\n            {\n                \"id\": 10646,\n                \"lot_id\": null,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 938,\n                    \"categ_id\": {\n                        \"id\": 189,\n                        \"name\": \"Nail Clipper/Trimmer\"\n                    },\n                    \"code\": \"ZB68\",\n                    \"name\": \"Vanrro Baby Nail Trimmer (Blue)\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10647,\n                \"lot_id\": null,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 938,\n                    \"categ_id\": {\n                        \"id\": 189,\n                        \"name\": \"Nail Clipper/Trimmer\"\n                    },\n                    \"code\": \"ZB68\",\n                    \"name\": \"Vanrro Baby Nail Trimmer (Blue)\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 17,\n                    \"code\": null,\n                    \"name\": \"Office\"\n                }\n            },\n            {\n                \"id\": 10648,\n                \"lot_id\": null,\n                \"amount\": -0.03,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 1033,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZT80\",\n                    \"name\": \"780 : Tera Fixed Mount 1D 2D Scanners QR Reader Desktop Platform\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 17,\n                    \"code\": null,\n                    \"name\": \"Office\"\n                }\n            },\n            {\n                \"id\": 10684,\n                \"lot_id\": null,\n                \"amount\": -0.2,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 911,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZT70\",\n                    \"name\": \"711: 2D Wired Barcode Scanner\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10685,\n                \"lot_id\": null,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 911,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZT70\",\n                    \"name\": \"711: 2D Wired Barcode Scanner\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 17,\n                    \"code\": null,\n                    \"name\": \"Office\"\n                }\n            },\n            {\n                \"id\": 10737,\n                \"lot_id\": null,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 887,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZT49\",\n                    \"name\": \"1031 : 1D Wired Laser Barcode Scanner  w/o Stand\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10738,\n                \"lot_id\": null,\n                \"amount\": 0,\n                \"qty_virt\": -1,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 887,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZT49\",\n                    \"name\": \"1031 : 1D Wired Laser Barcode Scanner  w/o Stand\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 17,\n                    \"code\": null,\n                    \"name\": \"Office\"\n                }\n            },\n            {\n                \"id\": 10739,\n                \"lot_id\": null,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 1018,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZT72\",\n                    \"name\": \"Tera-0012 : Tera 2D Wireless Portable Back Clip 1D 2D QR Bar Code Reader with Bluetooth image scanning\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10743,\n                \"lot_id\": null,\n                \"amount\": 0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 1006,\n                    \"categ_id\": {\n                        \"id\": 199,\n                        \"name\": \"Smart Door Lock\"\n                    },\n                    \"code\": \"ZS05\",\n                    \"name\": \"CET-K32 Smartphone (Black) : Smart Digital Biometric Fingerprint Door Lock (NO APP)\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10811,\n                \"lot_id\": null,\n                \"amount\": -0.02,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 903,\n                    \"categ_id\": {\n                        \"id\": 181,\n                        \"name\": \"Earphone/Headphone\"\n                    },\n                    \"code\": \"ZE62\",\n                    \"name\": \"12000 : F9 In-ear Headset Low Price Wireless Sports Earphone With Bluetooth\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10812,\n                \"lot_id\": null,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 951,\n                    \"categ_id\": {\n                        \"id\": 192,\n                        \"name\": \"Baby Safety\"\n                    },\n                    \"code\": \"ZM09\",\n                    \"name\": \"KL-AY012 : Brown Safety Lock Wardrobe Door\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10813,\n                \"lot_id\": null,\n                \"amount\": 0.01,\n                \"qty_virt\": 1,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 864,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZL29\",\n                    \"name\": \"K-926 : 2D desktop barcode scanner\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10818,\n                \"lot_id\": null,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 940,\n                    \"categ_id\": {\n                        \"id\": 189,\n                        \"name\": \"Nail Clipper/Trimmer\"\n                    },\n                    \"code\": \"ZB66\",\n                    \"name\": \"Octopus Electric Nail Clipper (Yellow)\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10884,\n                \"lot_id\": null,\n                \"amount\": -0.03,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 890,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZT52\",\n                    \"name\": \"HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10889,\n                \"lot_id\": null,\n                \"amount\": -0.03,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 914,\n                    \"categ_id\": {\n                        \"id\": 187,\n                        \"name\": \"SD Card\"\n                    },\n                    \"code\": \"ZS30\",\n                    \"name\": \"SanDisk: Ultra Sandisk Micro SD Card\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10890,\n                \"lot_id\": null,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 1009,\n                    \"categ_id\": {\n                        \"id\": 199,\n                        \"name\": \"Smart Door Lock\"\n                    },\n                    \"code\": \"ZS06\",\n                    \"name\": \"BEL-402 : Single Latch Fingerprint Door Lock\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10891,\n                \"lot_id\": null,\n                \"amount\": 0,\n                \"qty_virt\": -3,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 894,\n                    \"categ_id\": {\n                        \"id\": 180,\n                        \"name\": \"CCTV\"\n                    },\n                    \"code\": \"ZC53\",\n                    \"name\": \"V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 17,\n                    \"code\": null,\n                    \"name\": \"Office\"\n                }\n            },\n            {\n                \"id\": 10892,\n                \"lot_id\": null,\n                \"amount\": 0,\n                \"qty_virt\": -3,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 914,\n                    \"categ_id\": {\n                        \"id\": 187,\n                        \"name\": \"SD Card\"\n                    },\n                    \"code\": \"ZS30\",\n                    \"name\": \"SanDisk: Ultra Sandisk Micro SD Card\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 17,\n                    \"code\": null,\n                    \"name\": \"Office\"\n                }\n            },\n            {\n                \"id\": 10919,\n                \"lot_id\": null,\n                \"amount\": -0.01,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 886,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZT48\",\n                    \"name\": \"6900 : Tera 1D Wired Barcode Scanner with Stand\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10920,\n                \"lot_id\": null,\n                \"amount\": 0,\n                \"qty_virt\": -1,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 886,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"code\": \"ZT48\",\n                    \"name\": \"6900 : Tera 1D Wired Barcode Scanner with Stand\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 17,\n                    \"code\": null,\n                    \"name\": \"Office\"\n                }\n            },\n            {\n                \"id\": 10965,\n                \"lot_id\": null,\n                \"amount\": 919.07,\n                \"qty_virt\": 1,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 1,\n                \"product_id\": {\n                    \"id\": 1049,\n                    \"categ_id\": {\n                        \"id\": 203,\n                        \"name\": \"Fanless CPU\"\n                    },\n                    \"code\": \"Z70\",\n                    \"name\": \"Fanless Mini PC\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 17,\n                    \"code\": null,\n                    \"name\": \"Office\"\n                }\n            },\n            {\n                \"id\": 10967,\n                \"lot_id\": null,\n                \"amount\": 1089.31,\n                \"qty_virt\": 1,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 1,\n                \"product_id\": {\n                    \"id\": 885,\n                    \"categ_id\": {\n                        \"id\": 185,\n                        \"name\": \"POS Terminal\"\n                    },\n                    \"code\": \"ZP47\",\n                    \"name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 17,\n                    \"code\": null,\n                    \"name\": \"Office\"\n                }\n            },\n            {\n                \"id\": 10970,\n                \"lot_id\": null,\n                \"amount\": 6,\n                \"qty_virt\": 3,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 3,\n                \"product_id\": {\n                    \"id\": 770,\n                    \"categ_id\": null,\n                    \"code\": \"P-0006\",\n                    \"name\": \"Test Prod\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10972,\n                \"lot_id\": null,\n                \"amount\": -0.12,\n                \"qty_virt\": 0,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 0,\n                \"product_id\": {\n                    \"id\": 897,\n                    \"categ_id\": {\n                        \"id\": 186,\n                        \"name\": \"RFID\"\n                    },\n                    \"code\": \"ZR56\",\n                    \"name\": \"R20D: USB interface Proximity 125Khz RFID reader smart card\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10978,\n                \"lot_id\": null,\n                \"amount\": 2460,\n                \"qty_virt\": 3,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 3,\n                \"product_id\": {\n                    \"id\": 784,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"code\": \"P-0009a\",\n                    \"name\": \"TSC 244 Pro Label Printer \",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10979,\n                \"lot_id\": null,\n                \"amount\": 1013.75,\n                \"qty_virt\": 1,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 1,\n                \"product_id\": {\n                    \"id\": 933,\n                    \"categ_id\": {\n                        \"id\": 179,\n                        \"name\": \"Mobile Computer\"\n                    },\n                    \"code\": \"Z80\",\n                    \"name\": \"T80: Android Handheld Data Collector\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 4,\n                    \"code\": null,\n                    \"name\": \"Warehouse\"\n                }\n            },\n            {\n                \"id\": 10980,\n                \"lot_id\": null,\n                \"amount\": 1013.79,\n                \"qty_virt\": 1,\n                \"uom_id\": {\n                    \"id\": 1,\n                    \"name\": \"Unit\"\n                },\n                \"qty_phys\": 1,\n                \"product_id\": {\n                    \"id\": 933,\n                    \"categ_id\": {\n                        \"id\": 179,\n                        \"name\": \"Mobile Computer\"\n                    },\n                    \"code\": \"Z80\",\n                    \"name\": \"T80: Android Handheld Data Collector\",\n                    \"parent_id\": null\n                },\n                \"location_id\": {\n                    \"id\": 19,\n                    \"code\": null,\n                    \"name\": \"Warehouse Azira\"\n                }\n            }\n        ],\n        69\n    ],\n    \"error\": null,\n    \"id\": 1693811811179,\n    \"dt\": 38\n}"}],"_postman_id":"5714260e-6905-44ce-b098-cf76aba62c0e"},{"name":"params/report.custom/search_read","id":"014234d8-e534-4306-a94c-f91bb8a50e7d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693811811183,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"stock.balance\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 12:16:38\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.custom\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"code\",</strong></strong>\"=\",<strong>**\"stock.balance\"<strong><strong>]</strong></strong>],<strong><strong>[</strong></strong>\"name\",**</strong>\"config\"<strong><strong>]</strong></strong>],****{},**</p>\n<ol>\n<li><code>\"params\": [</code>: This indicates that we are defining a list of parameters for the API request. The parameters are enclosed within square brackets <code>[ ]</code>.</li>\n<li><code>\"report.custom\"</code>: This is the first parameter in the list. It appears to be a string representing a specific report or custom operation that the API should perform. This indicates the dataset or model you want to query. In this case, you're querying the \"report.custom\" dataset, which likely contains custom configurations or settings for various reports.</li>\n<li><code>\"search_read\"</code>: This is the second parameter in the list and appears to be another string. This is the method you're using to perform the query. \"search_read\" is a common method in database queries that allows you to search for records that meet specific criteria and retrieve specific fields from those records.</li>\n<li><code>[ [ [ \"code\", \"=\", \"stock.balance\" ] ], [ \"name\", \"config\" ] ]</code>: This is a nested list containing two sublists. These sublists appear to be filter conditions or criteria for the API request.<ol>\n<li><strong>Outermost List (<strong><strong><code>[ ]</code></strong></strong>):</strong> This is the outermost list that contains two sublists. In many contexts, these sublists represent logical conditions, and the entire structure represents a logical conjunction (AND operation) of these conditions. In other words, the records should meet both conditions to be selected.</li>\n<li><strong>First Sublist (<strong><strong><code>[ ]</code></strong></strong>):</strong> This is the first condition, enclosed within square brackets. It contains a single element, which is another list.<ol>\n<li><strong>Innermost List (<strong><strong><code>[ ]</code></strong></strong>):</strong> This innermost list represents a filter condition or criterion. It consists of three elements:<ol>\n<li><code>\"code\"</code>: This is a string and likely represents the name of a field or attribute in the data you are querying.</li>\n<li><code>\"=\"</code>: This is a string that represents an operator. In this case, it's the equality operator, indicating that we want to filter where the \"code\" field is equal to something.</li>\n<li><code>\"stock.balance\"</code>: This is a string that represents the value we want to compare the \"code\" field to. In this case, it's filtering for records where the \"code\" field equals \"stock.balance.\"</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Second Sublist (<strong><strong><code>[ ]</code></strong></strong>):</strong> This is the second condition, also enclosed within square brackets. Like the first sublist, it contains a single element, which is another list.<ul>\n<li><strong>Innermost List (<strong><strong><code>[ ]</code></strong></strong>):</strong> This innermost list, similar to the previous one, represents a filter condition. It consists of two elements:<ol>\n<li><code>\"name\"</code>: This is a string and likely represents the name of another field or attribute in the data.</li>\n<li><code>\"config\"</code>: This is a string that represents the value we want to compare the \"name\" field to. It's filtering for records where the \"name\" field equals \"config.\"</li>\n</ol>\n</li>\n</ul>\n</li>\n<li>The \"code\" field is equal to \"stock.balance.\"</li>\n<li>The \"name\" field is equal to \"config.\"</li>\n</ol>\n</li>\n<li><strong>Additional Parameters</strong>:<ol>\n<li><strong>{} (Empty Dictionary)</strong>: In this case, there are no additional parameters provided in the query.</li>\n</ol>\n</li>\n</ol>\n<p>When you execute this query, you will receive a list of records that match these criteria, and each record will likely contain details about a specific custom configuration for the \"stock.balance\" report.</p>\n<p>In summary, this structure defines two filter conditions. It specifies that you want to retrieve records where both of the following conditions are met:</p>\n<ul>\n<li>The \"code\" field is equal to \"stock.balance.\"</li>\n<li>The \"name\" field is equal to \"config.\"</li>\n</ul>\n<p>This kind of filter structure is commonly used in database queries and API requests to specify the criteria for selecting records that meet certain conditions.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"6fd1c9dd-9213-4392-af56-d8ca3958089e","name":"params/report.custom/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693811811183,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"stock.balance\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 12:16:38\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 04 Sep 2023 07:29:06 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=xN1QaV5%2BXgCC13QAfgFn9TzC%2BBubyo5YawcZTQHBdpBOwajlbZ2yi6Ah9LUtxM2%2FHfYubhwvK%2FRU4iyc6vYlHtxvodohlN24PExNxiVWc6nCU%2BgzuHiJEUVr98eVAXQdUSDrU7RuYl7C9PIuMQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"801484fbffb999b6-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693811811183,\n    \"dt\": 10\n}"}],"_postman_id":"014234d8-e534-4306-a94c-f91bb8a50e7d"}],"id":"f4fe6ad2-ed48-467f-bf64-50e99e1a531f","_postman_id":"f4fe6ad2-ed48-467f-bf64-50e99e1a531f","description":""},{"name":"Stock Forecast Summery","item":[{"name":"params/report.forecast.summary","id":"1fa46a35-83b3-4c0c-8a55-8a30c853b4c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693815629962,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.forecast.summary\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date\",\r\n                \"forecast_days\",\r\n                \"product_id\",\r\n                \"show_shelf_life\",\r\n                \"order_only\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 13:20:01\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.forecast.summary\",</strong>\"default_get\",<strong>[</strong>[<strong>\"date\",</strong>\"forecast_days\",<strong>\"product_id\",</strong>\"show_shelf_life\",<strong>\"order_only\"<strong>]</strong>],</strong>{<strong>\"context\": {}****},</strong></p>\n<ol>\n<li><strong>\"report.forecast.summary\"</strong>: This appears to be the name or identifier of the resource or module you want to interact with. It could be a specific report or summary related to forecasting.</li>\n<li><strong>\"default_get\"</strong>: This suggests that you want to perform a \"default_get\" action on the \"report.forecast.summary\" resource. In many API or data retrieval systems, \"default_get\" is a common method used to fetch default data or retrieve data based on default parameters.</li>\n<li>The list, <code>[\"date\", \"forecast_days\", \"product_id\", \"show_shelf_life\", \"order_only\"]</code>, appears to be a set of criteria or parameters specifying what data you want to retrieve from the \"report.forecast.summary\" module in your request.<ol>\n<li><strong>\"date\"</strong>: This parameter indicates that you want data related to a specific date or date range. It suggests that the forecast data should be filtered based on a particular date or time frame.</li>\n<li><strong>\"forecast_days\"</strong>: This parameter suggests that you want information related to the number of forecasted days. It could be used to specify how far into the future the forecast should extend.</li>\n<li><strong>\"product_id\"</strong>: This parameter indicates that you want data related to a specific product or products. It's likely used to filter the forecast data by the product or products you're interested in.</li>\n<li><strong>\"show_shelf_life\"</strong>: This parameter suggests that you want data that may include information about the shelf life of products. It could be a flag to include or exclude this information in the forecast data.</li>\n<li><strong>\"order_only\"</strong>: This parameter indicates that you want data related to orders only. It implies that you're interested in forecasting based on order data rather than other types of data.</li>\n</ol>\n</li>\n<li><strong>{ \"context\": {} }</strong>: <code>\"context\"</code>: This is an object that can contain various key-value pairs, with each key representing a specific context variable and its corresponding value. Context variables can be used to influence the behavior of the operation or to provide additional information about the request. <code>{}</code>: This indicates that the context object is empty. In other words, there are no specific context variables or values provided in this request.</li>\n</ol>\n<p>In summary, this \"params\" section represents a request to fetch data related to forecasting, specifically focusing on aspects like date, forecast days, products, shelf life, and orders.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"31f37a4a-4186-4e1d-985b-7d9ca49a0c0f","name":"params/report.forecast.summary","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693815629962,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.forecast.summary\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date\",\r\n                \"forecast_days\",\r\n                \"product_id\",\r\n                \"show_shelf_life\",\r\n                \"order_only\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 13:20:01\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 04 Sep 2023 08:22:13 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=V0qJCsRHwdiqPtqv7NKjGqrPfCPsckN79yeG2OJ8Q0nVLlsMjGuc1o2MGVWXDIcjTANTH6fbxE9Mep0Avu65YqauqW1Jc7wdvLljvlZWVznBTee6aq8XopQdYUXLvcaVbDzH7XGTYntvqtM%2FYg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8014d2cd1bb69990-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"date\": \"2023-09-04\",\n        \"forecast_days\": 180,\n        \"product_id\": null,\n        \"show_shelf_life\": true,\n        \"order_only\": null\n    },\n    \"error\": null,\n    \"id\": 1693815629962,\n    \"dt\": 6\n}"}],"_postman_id":"1fa46a35-83b3-4c0c-8a55-8a30c853b4c6"},{"name":"params/report.fprecast.summary/get_report_data","id":"b8c28e7d-a5ff-4150-ba28-092ecaf1fbd5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693815629968,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.forecast.summary\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 13:20:01\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.forecast.summary\",<strong>**\"get_report_data\",<strong><strong>[</strong></strong>null**</strong>],**</p>\n<ol>\n<li><code>\"report.forecast.summary\"</code>: This is the name or identifier of the report you want to generate. In this case, it's a \"forecast summary\" report. The system likely has predefined reports with specific names or identifiers.</li>\n<li><code>\"get_report_data\"</code>: This indicates that you want to retrieve data for the specified report. In many reporting systems, you often have separate methods or functions for defining or generating reports and for fetching the actual data that populates those reports.</li>\n<li><code>[null]</code>: This is the third element in the \"params\" array. It appears to be an array containing a single item, which is <code>null</code>. The meaning of passing <code>null</code> here depends on how the system interprets it. In some systems, passing <code>null</code> might indicate that you want to generate the report for all available data, while in others, it might be used as a placeholder for additional parameters or filters.</li>\n</ol>\n<p>This request is essentially asking the system to fetch the data needed to generate the \"forecast summary\" report.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"497f9480-9fe3-4a2b-b097-75f8863a0e9b","name":"params/report.fprecast.summary/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693815629968,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.forecast.summary\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 13:20:01\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 04 Sep 2023 08:34:22 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=6NvaxWwk837aVboSHhywFRM0VgS%2FfCd%2Fjzkp2fQifyRDvhs5I34Yb7JQTkFNCPUr%2FF7RwYw%2BqwdKWEiaM0ctpK3ojQ6KWjhbILTeTKY3ltv6DFNug7yHvznIJ7t22YUx3m7EmfKR1ptCvFZOLA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8014e443097af854-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"company_name\": \"SmartB\",\n        \"date\": \"2023-09-04\",\n        \"lines\": [\n            {\n                \"prod_id\": 770,\n                \"prod_code\": \"P-0006\",\n                \"prod_name\": \"Test Prod\",\n                \"current_qty\": 3,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 0,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 784,\n                \"prod_code\": \"P-0009a\",\n                \"prod_name\": \"TSC 244 Pro Label Printer \",\n                \"current_qty\": 3,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 14,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 813,\n                \"prod_code\": \"P-0009c\",\n                \"prod_name\": \"Wireless Barcode Scanner\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 14,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 814,\n                \"prod_code\": \"P-0009d\",\n                \"prod_name\": \"Wired Barcode Scanner\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 14,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 819,\n                \"prod_code\": \"P-0009g\",\n                \"prod_name\": \"150KG X 0.01KG JADEVER ELECTRONIC PLATFORM SCALE (400*500 MM)\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 14,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 845,\n                \"prod_code\": \"P-0022\",\n                \"prod_name\": \"Label Sticker \",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 14,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 854,\n                \"prod_code\": \"Z90\",\n                \"prod_name\": \"U9000S : Handheld Terminal - Z90\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 855,\n                \"prod_code\": \"Z60\",\n                \"prod_name\": \"Hardware: Handheld Terminal - S60\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 856,\n                \"prod_code\": \"ZL22\",\n                \"prod_name\": \"K-626: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 858,\n                \"prod_code\": \"ZL23\",\n                \"prod_name\": \"K-626RB: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 859,\n                \"prod_code\": \"ZL27\",\n                \"prod_name\": \"K-622BT: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 861,\n                \"prod_code\": \"ZL26\",\n                \"prod_name\": \"K-620: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 862,\n                \"prod_code\": \"ZL28\",\n                \"prod_name\": \"K-621: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 864,\n                \"prod_code\": \"ZL29\",\n                \"prod_name\": \"K-926 : 2D desktop barcode scanner\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 865,\n                \"prod_code\": \"ZX30\",\n                \"prod_name\": \"AX1800: Xiaomi router Wifi\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 866,\n                \"prod_code\": \"ZB31\",\n                \"prod_name\": \"VB601: Wireless Video Baby Monitor\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 867,\n                \"prod_code\": \"ZT32\",\n                \"prod_name\": \"EVHK0049 / 1100D / U-1100 / 1100: Tera Mini Bar Code Reader\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 869,\n                \"prod_code\": \"ZT34\",\n                \"prod_name\": \"8100 Orange: Tera QR 1D 2D Wireless Wired Bluetooth Scanner 3 In 1 Heavy Duty\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 870,\n                \"prod_code\": \"ZT35\",\n                \"prod_name\": \"HW0002 : Tera 1D 2D Wireless Barcode Scanner with Stand (Discontinued)\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 875,\n                \"prod_code\": \"ZN38\",\n                \"prod_name\": \"NT-1228BL Netum Usb 2D Bluetooth Barcode Scanner\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 877,\n                \"prod_code\": \"ZT40\",\n                \"prod_name\": \"[Replaced by 711]: 9100: EVHK0052-1 Tera QR Bar Code Scanner Barcode 2D Wired Barcode Scanner with Stand\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 878,\n                \"prod_code\": \"ZT41\",\n                \"prod_name\": \"D6100: Tera Wireless Barcode Scanner 1D 2D Wired with Charging Base/Cradle (Discontinued)\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 881,\n                \"prod_code\": \"ZC43\",\n                \"prod_name\": \"1080P Indoor Home Infrared Night Vision IP Security Wireless CCTV Camera\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 882,\n                \"prod_code\": \"ZD44\",\n                \"prod_name\": \"DLP Mini Portable Projector\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 883,\n                \"prod_code\": \"ZC45\",\n                \"prod_name\": \"ZX-C24 : Two-way Audio Baby Monitor\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 884,\n                \"prod_code\": \"ZP46\",\n                \"prod_name\": \"S800 : POS Touch System\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 885,\n                \"prod_code\": \"ZP47\",\n                \"prod_name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\",\n                \"current_qty\": 1,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 886,\n                \"prod_code\": \"ZT48\",\n                \"prod_name\": \"6900 : Tera 1D Wired Barcode Scanner with Stand\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 887,\n                \"prod_code\": \"ZT49\",\n                \"prod_name\": \"1031 : 1D Wired Laser Barcode Scanner  w/o Stand\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 888,\n                \"prod_code\": \"ZT50\",\n                \"prod_name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 889,\n                \"prod_code\": \"ZT51\",\n                \"prod_name\": \"EVHK0047 / HW0005 : Tera Wireless 1D 2D QR Barcode Scanner 2-in-1 handheld Scanner with display CMOS with Stand\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 890,\n                \"prod_code\": \"ZT52\",\n                \"prod_name\": \"HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 894,\n                \"prod_code\": \"ZC53\",\n                \"prod_name\": \"V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 895,\n                \"prod_code\": \"ZC54\",\n                \"prod_name\": \"A9 JIELI : night vision wifi mini camera for indoor with outdoor\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 896,\n                \"prod_code\": \"ZC55\",\n                \"prod_name\": \"SQ11 : Mini camera indoor and outdoor\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 897,\n                \"prod_code\": \"ZR56\",\n                \"prod_name\": \"R20D: USB interface Proximity 125Khz RFID reader smart card\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 898,\n                \"prod_code\": \"ZC57\",\n                \"prod_name\": \"CF-812AC AP-AC1300 : High speed usb wireless wifi network adapter up to 1300mbps\",\n                \"current_qty\": 1,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 899,\n                \"prod_code\": \"ZC58\",\n                \"prod_name\": \"CF-727B : OEM support RTL8822BU Comfast dualband BT4.2 1300Mbps wireless adapter usb adapter for PC\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 900,\n                \"prod_code\": \"ZC59\",\n                \"prod_name\": \"FX8811 : 600Mbps 2 in 1 Dual band usb wifi bluetooth adapter wifi dongle\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 901,\n                \"prod_code\": \"ZC60\",\n                \"prod_name\": \"CF-AX200 : New WiFi6 802.11ax AX200 PCI-E wifi network card\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 902,\n                \"prod_code\": \"ZE61\",\n                \"prod_name\": \"Redmi Airdots2 :\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 903,\n                \"prod_code\": \"ZE62\",\n                \"prod_name\": \"12000 : F9 In-ear Headset Low Price Wireless Sports Earphone With Bluetooth\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 904,\n                \"prod_code\": \"ZB63\",\n                \"prod_name\": \"TC-NU08: Electric baby Nail Clipper\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 905,\n                \"prod_code\": \"ZB64\",\n                \"prod_name\": \"Octopus Electric Nail Clipper (Pink)\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 906,\n                \"prod_code\": \"ZV65\",\n                \"prod_name\": \"4800pa Strong Power Car Vacuum Cleaner\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 907,\n                \"prod_code\": \"ZV66\",\n                \"prod_name\": \"YH-02: BOOMJOY 6500PA Cordless Handheld Portable Vacuum Cleaner with Rechargeable\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 908,\n                \"prod_code\": \"ZV67\",\n                \"prod_name\": \"D01-CC0002 : 6000pa Strong Power Car Vacuum Cleaner USB Rechargeable\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 909,\n                \"prod_code\": \"ZE68\",\n                \"prod_name\": \"M2: 128G Memory Card Headset Foldable Bluetooth Headset\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 910,\n                \"prod_code\": \"ZE69\",\n                \"prod_name\": \"T2: Handsfree Earphones Light Wireless Bluetooth Headphones\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 911,\n                \"prod_code\": \"ZT70\",\n                \"prod_name\": \"711: 2D Wired Barcode Scanner\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 912,\n                \"prod_code\": \"ZT71\",\n                \"prod_name\": \"EVHK0030 : Tera 2D Wireless Barcode Scanner with Charging Cradle\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 913,\n                \"prod_code\": \"ZV36\",\n                \"prod_name\": \"6000 p.a. GB-822 : Handheld Wireless Vacuum Cleaners\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 914,\n                \"prod_code\": \"ZS30\",\n                \"prod_name\": \"SanDisk: Ultra Sandisk Micro SD Card\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 923,\n                \"prod_code\": \"ZB67\",\n                \"prod_name\": \"Vanrro Baby Nail Trimmer (Pink)\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 924,\n                \"prod_code\": \"ZM01\",\n                \"prod_name\": \"MMA-109 : customs Midi Black Maternityt maternity maxi dress breastfeeding clothes women dress\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 925,\n                \"prod_code\": \"ZM02\",\n                \"prod_name\": \"MMA-128 : Custom Mock Shirt breastfeeding sweater maternity sweaters womens sweater\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 927,\n                \"prod_code\": \"ZM04\",\n                \"prod_name\": \"ZOCZ-13 : Nursing shawl cover\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 928,\n                \"prod_code\": \"ZM05 - Tangerine S\",\n                \"prod_name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 929,\n                \"prod_code\": \"ZM06\",\n                \"prod_name\": \"M2B002 : High Waisted Postpartum Pants\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 930,\n                \"prod_code\": \"ZM07\",\n                \"prod_name\": \"KL-AY012 : White Safety Lock Wardrobe Door\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 931,\n                \"prod_code\": \"ZM08\",\n                \"prod_name\": \"Best-8117 : Water Bottle Heater Portable\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 933,\n                \"prod_code\": \"Z80\",\n                \"prod_name\": \"T80: Android Handheld Data Collector\",\n                \"current_qty\": 2,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 934,\n                \"prod_code\": \"ZC70\",\n                \"prod_name\": \"(Khaki) SJH2079 : MXCHAN dubai abaya\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 935,\n                \"prod_code\": \"ZC73\",\n                \"prod_name\": \"LR176 : Denim Abaya\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 936,\n                \"prod_code\": \"ZC74\",\n                \"prod_name\": \"LR418 : Jumpsuit Dubai Turkey Satin Muslim dress\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 937,\n                \"prod_code\": \"ZC75\",\n                \"prod_name\": \"202103203 : Middle Eastern Muslim Embroidered Long Swing Dress Islamic Arab Clothing\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 938,\n                \"prod_code\": \"ZB68\",\n                \"prod_name\": \"Vanrro Baby Nail Trimmer (Blue)\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 939,\n                \"prod_code\": \"ZB69\",\n                \"prod_name\": \"Vanrro Baby Nail Trimmer (Green)\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 940,\n                \"prod_code\": \"ZB66\",\n                \"prod_name\": \"Octopus Electric Nail Clipper (Yellow)\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 941,\n                \"prod_code\": \"ZB65\",\n                \"prod_name\": \"Octopus Electric Nail Clipper (Blue)\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 942,\n                \"prod_code\": \"ZS03\",\n                \"prod_name\": \"CET-K32 fingerprint (Black) : Smart Digital Biometric Fingerprint Door Lock (with App)\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 943,\n                \"prod_code\": \"ZS32\",\n                \"prod_name\": \"NX4 : WiFi Biometric Fingerprint Digital smart door lock\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 945,\n                \"prod_code\": \"ZC47\",\n                \"prod_name\": \"WN01A : Cry Sensor Sleep Aid Device Portable Owl Plush Toy\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 946,\n                \"prod_code\": \"ZC76\",\n                \"prod_name\": \"Z2409 : One Piece Pregnant Maternity Clothes\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 947,\n                \"prod_code\": \"ZC77\",\n                \"prod_name\": \"MS1968 : V-neck Knee Length Button Dress Casual Wear Maternity Dress\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 948,\n                \"prod_code\": \"ZC80\",\n                \"prod_name\": \"A1710 : Women Pleated Knit Dress Long Sleeve\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 951,\n                \"prod_code\": \"ZM09\",\n                \"prod_name\": \"KL-AY012 : Brown Safety Lock Wardrobe Door\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 957,\n                \"prod_code\": \"ZC54sd\",\n                \"prod_name\": \"A9 JIELI CCTV + SD Card \",\n                \"current_qty\": -10,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": \"2023-09-04\",\n                \"min_qty_months\": 0,\n                \"lead_time\": 0,\n                \"order_date\": \"2023-09-04\",\n                \"max_qty\": 0,\n                \"order_qty\": 10,\n                \"show_alert\": true\n            },\n            {\n                \"prod_id\": 958,\n                \"prod_code\": \"ZC53sd\",\n                \"prod_name\": \"V380 plus SD card\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 0,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 961,\n                \"prod_code\": \"ZC71\",\n                \"prod_name\": \"(Black) SJH2079 : MXCHAN dubai abaya\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 962,\n                \"prod_code\": \"ZC72\",\n                \"prod_name\": \"(Wine Red)SJH2079 : MXCHAN dubai abaya\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 966,\n                \"prod_code\": \"ZM03 - A\",\n                \"prod_name\": \"M2B01: Nursing Cover Type A\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 967,\n                \"prod_code\": \"ZM03 - B\",\n                \"prod_name\": \"M2B01: Nursing Cover Type B\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 968,\n                \"prod_code\": \"ZM03 - C\",\n                \"prod_name\": \"M2B01: Nursing Cover Type C\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 969,\n                \"prod_code\": \"ZM03 - D\",\n                \"prod_name\": \"M2B01: Nursing Cover Type D\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 970,\n                \"prod_code\": \"ZM03 - E\",\n                \"prod_name\": \"M2B01: Nursing Cover Type E\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 971,\n                \"prod_code\": \"ZM20\",\n                \"prod_name\": \"MMA-346 : White Crochet Bell Sleeve Maternity Top\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 972,\n                \"prod_code\": \"ZM21\",\n                \"prod_name\": \"MMA-510 : Sweetheart Button Front Maternity dress\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 973,\n                \"prod_code\": \"ZM22\",\n                \"prod_name\": \"MMA-535 : Printed Dress with Smocked Details for Maternity breastfeeding dress\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 974,\n                \"prod_code\": \"ZM23\",\n                \"prod_name\": \"MMA-177 : nursing tops women's\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 975,\n                \"prod_code\": \"ZC69\",\n                \"prod_name\": \"(Navy) SJH2079 : MXCHAN dubai abaya\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 976,\n                \"prod_code\": \"ZM05 - Black XS\",\n                \"prod_name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 977,\n                \"prod_code\": \"ZM05 - Black S\",\n                \"prod_name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 978,\n                \"prod_code\": \"ZM05 - Black M\",\n                \"prod_name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 979,\n                \"prod_code\": \"ZM05 - Black L\",\n                \"prod_name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 980,\n                \"prod_code\": \"ZM05 - Black XL\",\n                \"prod_name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 981,\n                \"prod_code\": \"ZM05 - Soft Khaki XS\",\n                \"prod_name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 982,\n                \"prod_code\": \"ZM05 - Soft Khaki S\",\n                \"prod_name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 983,\n                \"prod_code\": \"ZM05 - Soft Khaki M\",\n                \"prod_name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 984,\n                \"prod_code\": \"ZM05 - Soft Khaki L\",\n                \"prod_name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 985,\n                \"prod_code\": \"ZM05 - Soft Khaki XL\",\n                \"prod_name\": \"AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 986,\n                \"prod_code\": \"ZT70B\",\n                \"prod_name\": \"711D + Stand \",\n                \"current_qty\": -10,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": \"2023-09-04\",\n                \"min_qty_months\": 0,\n                \"lead_time\": 0,\n                \"order_date\": \"2023-09-04\",\n                \"max_qty\": 0,\n                \"order_qty\": 10,\n                \"show_alert\": true\n            },\n            {\n                \"prod_id\": 1005,\n                \"prod_code\": \"ZS04\",\n                \"prod_name\": \"CET-K32 fingerprint (Red Bronze) : Smart Digital Biometric Fingerprint Door Lock (NO APP)\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 1006,\n                \"prod_code\": \"ZS05\",\n                \"prod_name\": \"CET-K32 Smartphone (Black) : Smart Digital Biometric Fingerprint Door Lock (NO APP)\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 1007,\n                \"prod_code\": \"ZT70S\",\n                \"prod_name\": \"711 : Stand\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 1008,\n                \"prod_code\": \"ZT43\",\n                \"prod_name\": \"EVHK0053 : Tera 2D 1D Wireless Barcode Scanner 3 in 1 Bluetooth Vibration Alert Scanner\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 1009,\n                \"prod_code\": \"ZS06\",\n                \"prod_name\": \"BEL-402 : Single Latch Fingerprint Door Lock\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 1010,\n                \"prod_code\": \"ZC80 - S Apricot\",\n                \"prod_name\": \"A1710 : Women Pleated Knit Dress Long Sleeve\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 1011,\n                \"prod_code\": \"ZC80 - M Apricot\",\n                \"prod_name\": \"A1710 : Women Pleated Knit Dress Long Sleeve\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 1012,\n                \"prod_code\": \"ZC80 - L Apricot\",\n                \"prod_name\": \"A1710 : Women Pleated Knit Dress Long Sleeve\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 1013,\n                \"prod_code\": \"ZC81\",\n                \"prod_name\": \"Z2136 - Oversize front button shirt top\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 1014,\n                \"prod_code\": \"ZC83\",\n                \"prod_name\": \"2115 - Puff sleeve A line short dress\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 1015,\n                \"prod_code\": \"ZC82\",\n                \"prod_name\": \"203 - Chequered front button shirt dress\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 1016,\n                \"prod_code\": \"ZC76M - Beige\",\n                \"prod_name\": \"Z2409 : One Piece Pregnant Maternity Clothes\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 1018,\n                \"prod_code\": \"ZT72\",\n                \"prod_name\": \"Tera-0012 : Tera 2D Wireless Portable Back Clip 1D 2D QR Bar Code Reader with Bluetooth image scanning\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 1033,\n                \"prod_code\": \"ZT80\",\n                \"prod_name\": \"780 : Tera Fixed Mount 1D 2D Scanners QR Reader Desktop Platform\",\n                \"current_qty\": 0,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 60,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            },\n            {\n                \"prod_id\": 1049,\n                \"prod_code\": \"Z70\",\n                \"prod_name\": \"Fanless Mini PC\",\n                \"current_qty\": 1,\n                \"min_qty\": 0,\n                \"min_qty_50\": 0,\n                \"min_qty_75\": 0,\n                \"min_qty_date\": null,\n                \"min_qty_months\": null,\n                \"lead_time\": 0,\n                \"order_date\": null,\n                \"max_qty\": 0,\n                \"order_qty\": 0,\n                \"show_alert\": false\n            }\n        ],\n        \"show_shelf_life\": true,\n        \"order_only\": null\n    },\n    \"error\": null,\n    \"id\": 1693815629968,\n    \"dt\": 13616\n}"}],"_postman_id":"b8c28e7d-a5ff-4150-ba28-092ecaf1fbd5"}],"id":"9bafe2d0-e4ed-4639-97e3-f72261e84b44","_postman_id":"9bafe2d0-e4ed-4639-97e3-f72261e84b44","description":""},{"name":"Stock Forecast Details","item":[{"name":"params/report.forecast.details/default_get","id":"3fd8175d-2b54-4c1e-ba9e-402d69f8dc25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693816876544,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.forecast.details\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date\",\r\n                \"product_id\",\r\n                \"forecast_days\",\r\n                \"show_shelf_life\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 13:40:44\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.forecast.details\",<strong>**\"default_get\",<strong><strong>[</strong></strong>[**</strong>\"date\",<strong><strong>\"product_id\",</strong></strong>\"forecast_days\",<strong>**\"show_shelf_life\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><code>\"report.forecast.details\"</code>: This is the name or identifier of the report you want to generate. In this case, it's a \"forecast details\" report. The system likely has predefined reports with specific names or identifiers.</li>\n<li><code>\"default_get\"</code>: This indicates that you want to retrieve default values or settings for the specified report. In many reporting systems, you have the option to retrieve default settings before generating a report to allow users to customize or review report parameters.</li>\n<li><code>[ [\"date\", \"product_id\", \"forecast_days\", \"show_shelf_life\"] ]</code>: This is an array containing another array with four elements. It appears to define the parameters or fields you want to retrieve default values for. These parameters are likely associated with the \"forecast details\" report and may include things like the date range, product selection, forecast period, and whether to show shelf life information.</li>\n<li>In this context, it seems to be related to a report generation process.Here's an explanation of each parameter within the inner array:<ol>\n<li><code>\"date\"</code>: This parameter likely represents the date or date range for which the forecast details report will be generated. Users may want to specify a specific date or date range to focus the report on a particular time period.</li>\n<li><code>\"product_id\"</code>: This parameter likely represents the selection of a specific product or products for which the forecast details report will be generated. Users may want to choose one or more products to include in the report.</li>\n<li><code>\"forecast_days\"</code>: This parameter likely determines the forecast period or the number of days into the future for which the forecast details will be generated. Users may want to specify how far ahead they want to forecast.</li>\n<li><code>\"show_shelf_life\"</code>: This parameter is probably a boolean (true/false) value that determines whether the report should include information about the shelf life of the products. If set to true, the report might include details about how long the products can be stored before expiration.</li>\n</ol>\n</li>\n<li><code>{ \"context\": {} }</code>: This is a context object that may be used to provide additional information or settings for generating the report. In this case, it's empty, which means no specific context settings are provided for generating the default values.</li>\n<li>In this context, it's being used as a parameter for a function or method call, likely in the context of generating a report. Here's an explanation of its purpose:<ol>\n<li><code>\"context\"</code>: This key is used to provide additional contextual information or configuration settings that can influence how the operation is performed. It typically contains a dictionary or key-value pairs.<ol>\n<li><code>{}</code>: In this case, the context is empty, which means that no specific additional contextual information or configuration settings are being provided. It indicates that the operation should be executed with default or standard settings.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>Overall, this request is asking the system to retrieve default settings or values for the \"forecast details\" report, specifically for the listed parameters. Users can use these default values as a starting point when customizing and generating the report.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"78def979-eded-4757-86df-a1353e4b0dab","name":"params/report.forecast.details/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693816876544,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.forecast.details\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date\",\r\n                \"product_id\",\r\n                \"forecast_days\",\r\n                \"show_shelf_life\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 13:40:44\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 04 Sep 2023 09:00:41 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=jbTaSrpOsI2OSacgoPMk5wVkV%2BgkOUbtDCub3A515qdv9psB8Mlcr6Sem6XLfeyaTixjlfm93VdP76%2FPg9leTPWaVZpOFNhp62SjBt%2FMQIiilU4vIRbAAxUy1661buAql3Ck9sCTv3kcikGPLA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80150b27a887b96c-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"date\": \"2023-09-04\",\n        \"product_id\": null,\n        \"forecast_days\": 120,\n        \"show_shelf_life\": true\n    },\n    \"error\": null,\n    \"id\": 1693816876544,\n    \"dt\": 21\n}"}],"_postman_id":"3fd8175d-2b54-4c1e-ba9e-402d69f8dc25"},{"name":"params/report.forecast.details/get_report_data","id":"5564cba9-e00f-4b6f-96d8-97aa526f5f59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693816876551,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.forecast.details\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 13:40:44\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.forecast.details\",<strong>**\"get_report_data\",<strong><strong>[</strong></strong>null**</strong>],<strong><strong>{</strong></strong>\"context\": {<strong><strong>\"limit\": 1000,</strong></strong>\"offset\": 0****}****},</strong></p>\n<ol>\n<li><code>\"report.forecast.details\"</code>: This seems to be the target report or operation you want to perform. It likely pertains to generating detailed forecast information.</li>\n<li><code>\"get_report_data\"</code>: This could indicate the type of operation you want to perform on the specified report. In this case, it suggests that you want to retrieve or get data for the \"forecast.details\" report.</li>\n<li><code>[null]</code>: This array contains parameters for the operation. In this context, it appears that you're not providing any specific parameters, as you've used <code>null</code>. This means you want to retrieve data without specifying any filtering criteria.</li>\n<li><code>\"context\"</code>: This key is used to provide additional contextual information or configuration settings that can influence how the operation is performed.</li>\n<li>These context settings are often used in database queries and API requests to control the quantity of data returned and the starting point for data retrieval. In your specific use case, it appears that you want to retrieve data with a limit of 1000 records and start from the very beginning of the dataset (no records skipped).<ol>\n<li><code>{ \"limit\": 1000, \"offset\": 0 }</code>: Within the \"context\" dictionary, you are setting two specific configuration options:<ol>\n<li><code>\"limit\": 1000</code>: This likely specifies that you want to limit the number of results returned to 1000. It's a common practice to limit the number of records returned to manage performance and avoid overwhelming the system.</li>\n<li><code>\"offset\": 0</code>: This typically sets the starting point for retrieving records at position 0. An offset of 0 means you want to start retrieving records from the beginning.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>So, overall, this configuration indicates that you want to get detailed forecast data without applying any specific filters, limit the results to 1000 records, and start retrieving data from the beginning (no offset).</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"09863c81-fa06-4b21-8315-abdb86add60c","name":"params/report.forecast.details/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693816876551,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.forecast.details\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 13:40:44\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 04 Sep 2023 09:35:03 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=URHIcxi9yMf00BJk7bucJCmRMjtQ2bNvNCsWA9hwF7vuu4vuFhU%2FxCKgMoUcrY%2Fl60tS9VTy8DsLsvYfr98N%2FWfk9MPvsoSVV2y6WVxb0cCxy25PdkVmjXFgani%2Bmh1rsuJpu3KmXgMRyKxsrQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80153d799cec1c92-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": null,\n    \"error\": null,\n    \"id\": 1693816876551,\n    \"dt\": 9\n}"}],"_postman_id":"5564cba9-e00f-4b6f-96d8-97aa526f5f59"}],"id":"2a998609-7bba-4c4d-84f9-509a6a3836bf","_postman_id":"2a998609-7bba-4c4d-84f9-509a6a3836bf","description":""},{"name":"Stock Invoice Report","item":[{"name":"params/report.stock.invoice/default_get","id":"19efaab3-17fb-45ef-b4ae-099950735e22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693820924500,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.invoice\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"product_id\",\r\n                \"categ_id\",\r\n                \"pick_id\",\r\n                \"products\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 14:48:29\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.stock.invoice\",<strong>**\"default_get\",<strong><strong>[</strong></strong>[**</strong>\"date_from\",<strong><strong>\"date_to\",</strong></strong>\"product_id\",<strong><strong>\"categ_id\",</strong></strong>\"pick_id\",****\"products\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"report.stock.invoice\"</code>: This is the name of the report or the model from which you want to retrieve default values. In this case, it's a report related to stock invoices.</li>\n<li><code>\"default_get\"</code>: This is the method or action you want to perform on the report model. It indicates that you want to retrieve default values for this report.</li>\n<li><code>[\"date_from\", \"date_to\", \"product_id\", \"categ_id\", \"pick_id\", \"products\"]</code>: This is an array containing field names for which you want to retrieve default values. These fields likely correspond to parameters or filters that you can set when generating the stock invoice report.</li>\n<li>The fields listed here include:<ol>\n<li><strong>\"date_from\":</strong> This likely represents the starting date or time frame for a report. It's a parameter that allows you to specify the beginning date for data retrieval or reporting.</li>\n<li><strong>\"date_to\":</strong> This is likely the ending date or the upper limit of the time frame for the report. It allows you to specify the date up to which you want data to be included in the report.</li>\n<li><strong>\"product_id\":</strong> This field probably refers to a product or a list of products. It's a parameter that enables you to filter the report's data based on specific products. You can include one or more product IDs to narrow down the scope of the report.</li>\n<li><strong>\"categ_id\":</strong> This likely corresponds to product categories. It's a parameter that allows you to filter the report data based on specific product categories or categories of products.</li>\n<li><strong>\"pick_id\":</strong> This might refer to a picking operation or order ID associated with the report. It's a parameter that can be used to filter the report data to show information related to a specific picking operation or order.</li>\n<li><strong>\"products\":</strong> This field is less clear without more context. It might be related to specifying additional product-related parameters or details needed for the report. Its exact purpose would depend on the specific report or system you're working with.</li>\n</ol>\n</li>\n</ol>\n<p>In the summary, the purpose of retrieving default values for these fields is to populate the initial filter settings or form fields when a user interacts with the report generation interface. This makes it easier for users to start building their custom reports with predefined settings.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"68e02ff0-11b0-441f-80c4-c685373dfd8a","name":"params/report.stock.invoice/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693820924500,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.invoice\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"product_id\",\r\n                \"categ_id\",\r\n                \"pick_id\",\r\n                \"products\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 14:48:29\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 04 Sep 2023 09:53:38 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=vX87AYlBvz41twwLiwbGJ3dA%2FJlHCCRXRti%2Fkh1tmF3Ud%2Fo%2B4%2FILnp59LlzgcO58YhpEllXWFxmTXemYk%2BFsyRYyk47liJaGkg4v75t%2FsEMn4ugE30GDmcNvkyYtTXFgwkDN0rKLyQ702iZJlw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"801558b579791c0c-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"date_from\": \"2023-09-01\",\n        \"date_to\": \"2023-09-30\",\n        \"product_id\": null,\n        \"categ_id\": null,\n        \"pick_id\": null,\n        \"products\": null\n    },\n    \"error\": null,\n    \"id\": 1693820924500,\n    \"dt\": 7\n}"}],"_postman_id":"19efaab3-17fb-45ef-b4ae-099950735e22"},{"name":"params/report.stock.invoice/get_report_data","id":"09a55d96-b4ab-4076-96d9-2d4cf928f7e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693820924512,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.invoice\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 14:48:29\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.stock.invoice\",<strong>**\"get_report_data\",<strong><strong>[</strong></strong>null**</strong>],<strong><strong>{</strong></strong>\"context\": {<strong><strong>\"limit\": 1000,</strong></strong>\"offset\": 0****}****},</strong></p>\n<ol>\n<li><code>\"report.stock.invoice\"</code>: This part of the request specifies the type or name of the report you want to generate. In this case, it appears to be a report related to stock invoices.</li>\n<li><code>\"get_report_data\"</code>: This indicates the method or action you want to perform on the report, which is to \"get_report_data.\" This suggests that you want to retrieve data for the specified report.</li>\n<li><code>[null]</code>: This is an array that typically contains parameters specific to the report generation. In this case, it seems to be empty (<code>null</code>), which might imply that you want to retrieve data for all available stock invoices without applying any specific filters or criteria.</li>\n<li><code>{ \"context\": { \"limit\": 1000, \"offset\": 0 } }</code>: This part of the request provides a context for the report generation. It specifies that you want to limit the number of records retrieved to 1000 (<code>\"limit\": 1000</code>) and start from the beginning of the dataset (<code>\"offset\": 0</code>). This is often used to paginate large datasets to improve performance by retrieving data in smaller chunks.</li>\n</ol>\n<ul>\n<li><code>\"context\"</code>: This is the key that defines the context information.</li>\n<li><code>\"limit\": 1000</code>: This part of the context specifies a limit of 1000. This limit likely pertains to the maximum number of records or results that should be returned by the associated query or operation. In practical terms, it means that the query or operation should return, at most, 1000 records.</li>\n<li><code>\"offset\": 0</code>: The \"offset\" property indicates the starting point for retrieving records within a dataset. In this case, \"offset\": 0 implies that the operation should start fetching records from the beginning of the dataset.</li>\n<li>This context information is often used when working with databases or APIs to control how many records are retrieved and from which point in a dataset retrieval should begin. It's a way to manage pagination and efficiently retrieve data in smaller batches, especially when dealing with large datasets.</li>\n</ul>\n<p>In summary, the request is asking to retrieve data for a report related to stock invoices, with a request to limit the results to 1000 records and start from the beginning of the dataset. The exact content and structure of the report data would depend on the specific report definition and the underlying database or system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"cb0fc38c-e21e-4b4f-8f99-39c4d3cde4c3","name":"params/report.stock.invoice/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693820924512,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.invoice\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 14:48:29\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 04 Sep 2023 09:55:38 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=YsfUw%2BCW6J3p4PRLcBok1%2BYTpjmge8R1Ss%2F3sNJByPFjBYNJKR%2FhjQv4ywVudQq2cjw%2BCZh0%2BhB66PQqgpOgGDEcqa%2FJovQZTuw4ATpWw0sIPgqHIIOmcUYPG6phw7KpUULtLFDS2EY4aJ42Lw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80155ba5cb4f1c0c-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"date_from\": \"2023-09-01\",\n        \"date_to\": \"2023-09-30\",\n        \"lines\": [\n            {\n                \"prod_id\": 794,\n                \"prod_code\": \"P-0013\",\n                \"prod_name\": \"Vistage Montly Fee\",\n                \"qty_received\": 0,\n                \"qty_returned\": 0,\n                \"qty_invoiced\": 1,\n                \"qty_remain\": -1\n            }\n        ]\n    },\n    \"error\": null,\n    \"id\": 1693820924512,\n    \"dt\": 62\n}"}],"_postman_id":"09a55d96-b4ab-4076-96d9-2d4cf928f7e9"},{"name":"params/product/name_search","id":"b9119c6a-604d-4866-9ade-adbb1de3a082","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693820925904,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"product\",\r\n        \"name_search\",\r\n        [\r\n            \"\"\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 14:48:44\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"product\",****\"name_search\",<strong><strong>[</strong></strong>\"\"<strong><strong>],</strong></strong>{},**</p>\n<ol>\n<li><code>\"product\"</code>: This is the entity or model on which the search operation is being performed. In this case, it's the \"product\" entity, which could represent items or goods in a system.</li>\n<li><code>\"name_search\"</code>: This is the method being called on the \"product\" entity. The \"name_search\" method is typically used to search for products by name.</li>\n<li><code>[\"\"]</code>: This is the search query. It's an array containing a single empty string <code>[\"\"]</code>. An empty string as a search query likely means that you want to retrieve all products with any name. Essentially, it's a wildcard search that doesn't specify a particular product name to search for.</li>\n<li><code>{}</code>: This is an empty object and represents additional parameters or options for the search operation. In this case, there don't appear to be any additional options specified for the search.</li>\n</ol>\n<p>In summary, this JSON object represents a search operation on the \"product\" entity, looking for products with any name, and it doesn't specify any additional search criteria or options. It's a request to retrieve a list of all products within the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"800e359f-f466-4e04-811c-758fd8b2fb5e","name":"params/product/name_search","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693820925904,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"product\",\r\n        \"name_search\",\r\n        [\r\n            \"\"\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-04 14:48:44\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 04 Sep 2023 09:57:50 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Iw9MXGVtZA2xKBBzGB4rnV%2Bs7BTiASm0JRzc%2B9vwgRCit4gwV%2BaRRhlIpE7zZCONiKUi%2F3LdOGr88TUowCZKb80MtPXChLxj%2BhCHanTH8vxs6PhxNGd6x30OfQPvQ%2Fu%2BWpGHpW1eEI7DY96U4Q%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80155edc3c871c0c-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            778,\n            \"[C-0001] Salary\",\n            null\n        ],\n        [\n            779,\n            \"[C-0002] KWSP-EPF\",\n            null\n        ],\n        [\n            780,\n            \"[C-0003] PERKESO-SOCSO\",\n            null\n        ],\n        [\n            781,\n            \"[C-0004] PERKESO-SIP\",\n            null\n        ],\n        [\n            782,\n            \"[C-0005] Allowance\",\n            null\n        ],\n        [\n            820,\n            \"[C-0006] PCB / MTD\",\n            null\n        ],\n        [\n            771,\n            \"[P-0001] Basic Analysis\",\n            null\n        ],\n        [\n            764,\n            \"[P-0002a] Conf - Accounting\",\n            null\n        ],\n        [\n            774,\n            \"[P-0002b] Conf - Inventory\",\n            null\n        ],\n        [\n            775,\n            \"[P-0002c] Conf - Manufacturing\",\n            null\n        ],\n        [\n            785,\n            \"[P-0002d] Conf - Purchase\",\n            null\n        ],\n        [\n            786,\n            \"[P-0002e] Conf - Sales\",\n            null\n        ],\n        [\n            850,\n            \"[P-0002f] Conf - POS (System)\",\n            null\n        ],\n        [\n            801,\n            \"[P-0002g] Conf - HR\",\n            null\n        ],\n        [\n            804,\n            \"[P-0002h] Conf - Custom Page\",\n            null\n        ],\n        [\n            806,\n            \"[P-0002i] Conf - RPA\",\n            null\n        ],\n        [\n            809,\n            \"[P-0002j] Conf - CRM\",\n            null\n        ],\n        [\n            810,\n            \"[P-0002k] Conf - Service\",\n            null\n        ],\n        [\n            815,\n            \"[P-0002l] Conf - Database\",\n            null\n        ],\n        [\n            822,\n            \"[P-0002m] Conf - Batch Tracker\",\n            null\n        ],\n        [\n            842,\n            \"[P-0002n] Conf - POS Terminal Setup (Non Retail)\",\n            null\n        ],\n        [\n            789,\n            \"[P-0002o] Conf - POS (On-Site)\",\n            null\n        ],\n        [\n            846,\n            \"[P-0002p] Conf - Power BI Setup \",\n            null\n        ],\n        [\n            863,\n            \"[P-0002q] Conf - Manufacturing Planner\",\n            null\n        ],\n        [\n            880,\n            \"[P-0002r] Conf - Material Planner\",\n            null\n        ],\n        [\n            917,\n            \"[P-0002s] Conf - Sales & Purchase\",\n            null\n        ],\n        [\n            919,\n            \"[P-0002t] Conf - Manpower/HR Planner\",\n            null\n        ],\n        [\n            920,\n            \"[P-0002u] Conf - Records Keeping Package\",\n            null\n        ],\n        [\n            921,\n            \"[P-0002v] Conf - Machine OEE Module\",\n            null\n        ],\n        [\n            922,\n            \"[P-0002w] Conf - Equipment Maintenance\",\n            null\n        ],\n        [\n            955,\n            \"[P-0002X] Conf - Fulfilment Module\",\n            null\n        ],\n        [\n            765,\n            \"[P-0003a] Training (Acct)\",\n            null\n        ],\n        [\n            776,\n            \"[P-0003b] Training (Inv)\",\n            null\n        ],\n        [\n            777,\n            \"[P-0003c] Training (Manuf)\",\n            null\n        ],\n        [\n            787,\n            \"[P-0003d] Training (Purch)\",\n            null\n        ],\n        [\n            788,\n            \"[P-0003e] Training (HR)\",\n            null\n        ],\n        [\n            790,\n            \"[P-0003f] Training (Sales)\",\n            null\n        ],\n        [\n            811,\n            \"[P-0003g] Training (Service)\",\n            null\n        ],\n        [\n            827,\n            \"[P-0003h] Training (POS)\",\n            null\n        ],\n        [\n            857,\n            \"[P-0003i] Online Training (Excel)\",\n            null\n        ],\n        [\n            918,\n            \"[P-0003j] Training (Sales & Purc)\",\n            null\n        ],\n        [\n            956,\n            \"[P-0003k] Training (Fulfilment)\",\n            null\n        ],\n        [\n            769,\n            \"[P-0004] Customisation\",\n            null\n        ],\n        [\n            768,\n            \"[P-0005a] Custom Forms\",\n            null\n        ],\n        [\n            817,\n            \"[P-0005b] Custom Forms (Bundle)\",\n            null\n        ],\n        [\n            770,\n            \"[P-0006] Test Prod\",\n            null\n        ],\n        [\n            802,\n            \"[P-0006a] RPA - IBM\",\n            null\n        ],\n        [\n            807,\n            \"[P-0006b] RPA - UiPath\",\n            null\n        ],\n        [\n            803,\n            \"[P-0007] Travel Fees\",\n            null\n        ],\n        [\n            797,\n            \"[P-0008a] Consultation (Advisory)\",\n            null\n        ],\n        [\n            808,\n            \"[P-0008b] Consultation (Automation)\",\n            null\n        ],\n        [\n            1048,\n            \"[P-0008c] Dedicated Manpower\",\n            null\n        ],\n        [\n            784,\n            \"[P-0009a] TSC 244 Pro Label Printer \",\n            null\n        ],\n        [\n            812,\n            \"[P-0009b] AR450 Touch POS Terminal\",\n            null\n        ],\n        [\n            813,\n            \"[P-0009c] Wireless Barcode Scanner\",\n            null\n        ],\n        [\n            814,\n            \"[P-0009d] Wired Barcode Scanner\",\n            null\n        ],\n        [\n            816,\n            \"[P-0009e] TSC TE344 Label Printer\",\n            null\n        ],\n        [\n            818,\n            \"[P-0009f] JADEVER WEIGHING INDICATOR\",\n            null\n        ],\n        [\n            819,\n            \"[P-0009g] 150KG X 0.01KG JADEVER ELECTRONIC PLATFORM SCALE (400*500 MM)\",\n            null\n        ],\n        [\n            835,\n            \"[P-0009h] RJ-11 Cash Drawer - 5 Bills / 8 Coin - BLACK COLOR\",\n            null\n        ],\n        [\n            836,\n            \"[P-0009i] Dot Matrix Paper Roll For Receipt Printer (76mm X 65mm)\",\n            null\n        ],\n        [\n            837,\n            \"[P-0009j] Handheld Mobile Computer BT-W80 series\",\n            null\n        ],\n        [\n            844,\n            \"[P-0009k] Mobile Data Collector (MODAT-550A) Andriod\",\n            null\n        ],\n        [\n            852,\n            \"[P-0009l] RS-232 CABLE 25PIN(MALE) - 9PIN(FEMALE)\",\n            null\n        ],\n        [\n            791,\n            \"[P-0010] Google Suite\",\n            null\n        ],\n        [\n            763,\n            \"[P-0010a] Standard Subs\",\n            null\n        ],\n        [\n            773,\n            \"[P-0010b] Essential Subs\",\n            null\n        ],\n        [\n            823,\n            \"[P-0010c] Private Server Monthly Sub\",\n            null\n        ],\n        [\n            834,\n            \"[P-0010d] Digital Marketing\",\n            null\n        ],\n        [\n            1038,\n            \"[P-0010e] Power BI Data Subs\",\n            null\n        ],\n        [\n            792,\n            \"[P-0011] Google Ad - 5076\",\n            null\n        ],\n        [\n            793,\n            \"[P-0012] Google Ad - 8432\",\n            null\n        ],\n        [\n            794,\n            \"[P-0013] Vistage Montly Fee\",\n            null\n        ],\n        [\n            796,\n            \"[P-0014] Hardware\",\n            null\n        ],\n        [\n            798,\n            \"[P-0015a] E-commerce Integration\",\n            null\n        ],\n        [\n            1035,\n            \"[P-0015b] Shopee App\",\n            null\n        ],\n        [\n            800,\n            \"[P-0016] IBM Watson Analytics\",\n            null\n        ],\n        [\n            805,\n            \"[P-0017] Wobb Recruitment \",\n            null\n        ],\n        [\n            821,\n            \"[P-0018] Excel Automation\",\n            null\n        ],\n        [\n            824,\n            \"[P-0019] Additional User\",\n            null\n        ],\n        [\n            825,\n            \"[P-0020] Additional Company\",\n            null\n        ],\n        [\n            826,\n            \"[P-0021] Additional Warehouse\",\n            null\n        ],\n        [\n            845,\n            \"[P-0022] Label Sticker \",\n            null\n        ],\n        [\n            828,\n            \"[P-0022a] Migration (Acct)\",\n            null\n        ],\n        [\n            829,\n            \"[P-0022b] Migration (Inv)\",\n            null\n        ],\n        [\n            830,\n            \"[P-0022c] Migration (Manuf)\",\n            null\n        ],\n        [\n            831,\n            \"[P-0022d] Migration (Purch)\",\n            null\n        ],\n        [\n            832,\n            \"[P-0022e] Migration (HR)\",\n            null\n        ],\n        [\n            833,\n            \"[P-0022f] Migration (Sales)\",\n            null\n        ],\n        [\n            1051,\n            \"[P-0023] IoT Hardware\",\n            null\n        ],\n        [\n            868,\n            \"[P-0033] Bubble Wraps\",\n            null\n        ],\n        [\n            876,\n            \"[P-0039] Wireless rugged android handheld\",\n            null\n        ],\n        [\n            1036,\n            \"[P-0063] A6 Thermal Paper\",\n            null\n        ],\n        [\n            1041,\n            \"[P-0064] Data Field Identification\",\n            null\n        ],\n        [\n            1042,\n            \"[P-0065] Dashboard Design\",\n            null\n        ],\n        [\n            1043,\n            \"[P-0066] Conf - Dashboard \",\n            null\n        ],\n        [\n            1044,\n            \"[P-0067] Conf - Dashboard\",\n            null\n        ],\n        [\n            1046,\n            \"[P-0068] Website Design \",\n            null\n        ],\n        [\n            893,\n            \"[testing PS] testing ps\",\n            null\n        ],\n        [\n            855,\n            \"[Z60] Hardware: Handheld Terminal - S60\",\n            null\n        ],\n        [\n            1049,\n            \"[Z70] Fanless Mini PC\",\n            null\n        ],\n        [\n            933,\n            \"[Z80] T80: Android Handheld Data Collector\",\n            null\n        ],\n        [\n            854,\n            \"[Z90] U9000S : Handheld Terminal - Z90\",\n            null\n        ],\n        [\n            866,\n            \"[ZB31] VB601: Wireless Video Baby Monitor\",\n            null\n        ],\n        [\n            987,\n            \"[ZB31b] VB601 Baby Monitor + Door Lock \",\n            null\n        ],\n        [\n            904,\n            \"[ZB63] TC-NU08: Electric baby Nail Clipper\",\n            null\n        ],\n        [\n            905,\n            \"[ZB64] Octopus Electric Nail Clipper (Pink)\",\n            null\n        ],\n        [\n            994,\n            \"[ZB64b] Octopus Electric Nail Clipper (Pink) + Lock\",\n            null\n        ],\n        [\n            941,\n            \"[ZB65] Octopus Electric Nail Clipper (Blue)\",\n            null\n        ],\n        [\n            995,\n            \"[ZB65b] Octopus Electric Nail Clipper (Blue) + door lock\",\n            null\n        ],\n        [\n            940,\n            \"[ZB66] Octopus Electric Nail Clipper (Yellow)\",\n            null\n        ],\n        [\n            996,\n            \"[ZB66b] Octopus Electric Nail Clipper (Yellow) + Door lock \",\n            null\n        ],\n        [\n            923,\n            \"[ZB67] Vanrro Baby Nail Trimmer (Pink)\",\n            null\n        ],\n        [\n            999,\n            \"[ZB67b] Vanrro Baby Nail Trimmer (Pink) + Door lock \",\n            null\n        ],\n        [\n            938,\n            \"[ZB68] Vanrro Baby Nail Trimmer (Blue)\",\n            null\n        ],\n        [\n            1000,\n            \"[ZB68b] Vanrro Baby Nail Trimmer (Blue) + door lock \",\n            null\n        ],\n        [\n            939,\n            \"[ZB69] Vanrro Baby Nail Trimmer (Green)\",\n            null\n        ],\n        [\n            881,\n            \"[ZC43] 1080P Indoor Home Infrared Night Vision IP Security Wireless CCTV Camera\",\n            null\n        ],\n        [\n            959,\n            \"[ZC43sd] Fish Eye CCTV + SD\",\n            null\n        ],\n        [\n            883,\n            \"[ZC45] ZX-C24 : Two-way Audio Baby Monitor\",\n            null\n        ],\n        [\n            960,\n            \"[ZC45sd] ZX-C24 + SD\",\n            null\n        ],\n        [\n            944,\n            \"[ZC46] ST-VB601 : Two-way Audio Baby Monitor\",\n            null\n        ],\n        [\n            1004,\n            \"[ZC46b] ST-VB601 : Two-way Audio Baby Monitor + door lock\",\n            null\n        ],\n        [\n            945,\n            \"[ZC47] WN01A : Cry Sensor Sleep Aid Device Portable Owl Plush Toy\",\n            null\n        ],\n        [\n            894,\n            \"[ZC53] V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n            null\n        ],\n        [\n            958,\n            \"[ZC53sd] V380 plus SD card\",\n            null\n        ],\n        [\n            895,\n            \"[ZC54] A9 JIELI : night vision wifi mini camera for indoor with outdoor\",\n            null\n        ],\n        [\n            957,\n            \"[ZC54sd] A9 JIELI CCTV + SD Card \",\n            null\n        ],\n        [\n            896,\n            \"[ZC55] SQ11 : Mini camera indoor and outdoor\",\n            null\n        ],\n        [\n            898,\n            \"[ZC57] CF-812AC AP-AC1300 : High speed usb wireless wifi network adapter up to 1300mbps\",\n            null\n        ],\n        [\n            899,\n            \"[ZC58] CF-727B : OEM support RTL8822BU Comfast dualband BT4.2 1300Mbps wireless adapter usb adapter for PC\",\n            null\n        ],\n        [\n            900,\n            \"[ZC59] FX8811 : 600Mbps 2 in 1 Dual band usb wifi bluetooth adapter wifi dongle\",\n            null\n        ],\n        [\n            901,\n            \"[ZC60] CF-AX200 : New WiFi6 802.11ax AX200 PCI-E wifi network card\",\n            null\n        ],\n        [\n            1017,\n            \"[ZC65] MMA-609 : girls' sleepwear nursing pajamas\",\n            null\n        ],\n        [\n            975,\n            \"[ZC69] (Navy) SJH2079 : MXCHAN dubai abaya\",\n            null\n        ],\n        [\n            934,\n            \"[ZC70] (Khaki) SJH2079 : MXCHAN dubai abaya\",\n            null\n        ],\n        [\n            961,\n            \"[ZC71] (Black) SJH2079 : MXCHAN dubai abaya\",\n            null\n        ],\n        [\n            962,\n            \"[ZC72] (Wine Red)SJH2079 : MXCHAN dubai abaya\",\n            null\n        ],\n        [\n            935,\n            \"[ZC73] LR176 : Denim Abaya\",\n            null\n        ],\n        [\n            936,\n            \"[ZC74] LR418 : Jumpsuit Dubai Turkey Satin Muslim dress\",\n            null\n        ],\n        [\n            937,\n            \"[ZC75] 202103203 : Middle Eastern Muslim Embroidered Long Swing Dress Islamic Arab Clothing\",\n            null\n        ],\n        [\n            1031,\n            \"[ZC75A] 202103203 : Middle Eastern Muslim Embroidered Long Swing Dress Islamic Arab Clothing (Aubrey)\",\n            null\n        ],\n        [\n            1032,\n            \"[ZC75B] 202103203 : Middle Eastern Muslim Embroidered Long Swing Dress Islamic Arab Clothing (Scarlet)\",\n            null\n        ],\n        [\n            946,\n            \"[ZC76] Z2409 : One Piece Pregnant Maternity Clothes\",\n            null\n        ],\n        [\n            1016,\n            \"[ZC76M - Beige] Z2409 : One Piece Pregnant Maternity Clothes\",\n            null\n        ],\n        [\n            947,\n            \"[ZC77] MS1968 : V-neck Knee Length Button Dress Casual Wear Maternity Dress\",\n            null\n        ],\n        [\n            950,\n            \"[ZC78] PM128 : Women's Loose Fit Drop Crotch Postpartum Pants\",\n            null\n        ],\n        [\n            948,\n            \"[ZC80] A1710 : Women Pleated Knit Dress Long Sleeve\",\n            null\n        ],\n        [\n            1012,\n            \"[ZC80 - L Apricot] A1710 : Women Pleated Knit Dress Long Sleeve\",\n            null\n        ],\n        [\n            1011,\n            \"[ZC80 - M Apricot] A1710 : Women Pleated Knit Dress Long Sleeve\",\n            null\n        ],\n        [\n            1010,\n            \"[ZC80 - S Apricot] A1710 : Women Pleated Knit Dress Long Sleeve\",\n            null\n        ],\n        [\n            1013,\n            \"[ZC81] Z2136 - Oversize front button shirt top\",\n            null\n        ],\n        [\n            1015,\n            \"[ZC82] 203 - Chequered front button shirt dress\",\n            null\n        ],\n        [\n            1014,\n            \"[ZC83] 2115 - Puff sleeve A line short dress\",\n            null\n        ],\n        [\n            882,\n            \"[ZD44] DLP Mini Portable Projector\",\n            null\n        ],\n        [\n            902,\n            \"[ZE61] Redmi Airdots2 :\",\n            null\n        ],\n        [\n            903,\n            \"[ZE62] 12000 : F9 In-ear Headset Low Price Wireless Sports Earphone With Bluetooth\",\n            null\n        ],\n        [\n            909,\n            \"[ZE68] M2: 128G Memory Card Headset Foldable Bluetooth Headset\",\n            null\n        ],\n        [\n            910,\n            \"[ZE69] T2: Handsfree Earphones Light Wireless Bluetooth Headphones\",\n            null\n        ],\n        [\n            1039,\n            \"[ZH01] Temperature And Humidity Monitor\",\n            null\n        ],\n        [\n            856,\n            \"[ZL22] K-626: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n            null\n        ],\n        [\n            858,\n            \"[ZL23] K-626RB: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n            null\n        ],\n        [\n            861,\n            \"[ZL26] K-620: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n            null\n        ],\n        [\n            859,\n            \"[ZL27] K-622BT: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n            null\n        ],\n        [\n            862,\n            \"[ZL28] K-621: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n            null\n        ],\n        [\n            864,\n            \"[ZL29] K-926 : 2D desktop barcode scanner\",\n            null\n        ],\n        [\n            924,\n            \"[ZM01] MMA-109 : customs Midi Black Maternityt maternity maxi dress breastfeeding clothes women dress\",\n            null\n        ],\n        [\n            925,\n            \"[ZM02] MMA-128 : Custom Mock Shirt breastfeeding sweater maternity sweaters womens sweater\",\n            null\n        ],\n        [\n            926,\n            \"[ZM03]  M2B01: Nursing Cover\",\n            null\n        ],\n        [\n            966,\n            \"[ZM03 - A] M2B01: Nursing Cover Type A\",\n            null\n        ],\n        [\n            967,\n            \"[ZM03 - B] M2B01: Nursing Cover Type B\",\n            null\n        ],\n        [\n            988,\n            \"[ZM03b - A ] Nursing Cover Type A + Door lock \",\n            null\n        ],\n        [\n            989,\n            \"[ZM03b - B] Nursing cover type B + door lock \",\n            null\n        ],\n        [\n            990,\n            \"[ZM03b - C] ZM03 - C + Door lock\",\n            null\n        ],\n        [\n            991,\n            \"[ZM03b - D] ZM03 - D + Door Lock\",\n            null\n        ],\n        [\n            992,\n            \"[ZM03b - E ] ZM03 - E + Door lock\",\n            null\n        ],\n        [\n            968,\n            \"[ZM03 - C] M2B01: Nursing Cover Type C\",\n            null\n        ],\n        [\n            969,\n            \"[ZM03 - D] M2B01: Nursing Cover Type D\",\n            null\n        ],\n        [\n            970,\n            \"[ZM03 - E] M2B01: Nursing Cover Type E\",\n            null\n        ],\n        [\n            927,\n            \"[ZM04] ZOCZ-13 : Nursing shawl cover\",\n            null\n        ],\n        [\n            993,\n            \"[ZM04b] ZM04 + Door lock \",\n            null\n        ],\n        [\n            979,\n            \"[ZM05 - Black L] AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n            null\n        ],\n        [\n            978,\n            \"[ZM05 - Black M] AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n            null\n        ],\n        [\n            977,\n            \"[ZM05 - Black S] AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n            null\n        ],\n        [\n            980,\n            \"[ZM05 - Black XL] AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n            null\n        ],\n        [\n            976,\n            \"[ZM05 - Black XS] AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n            null\n        ],\n        [\n            984,\n            \"[ZM05 - Soft Khaki L] AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n            null\n        ],\n        [\n            983,\n            \"[ZM05 - Soft Khaki M] AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n            null\n        ],\n        [\n            982,\n            \"[ZM05 - Soft Khaki S] AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n            null\n        ],\n        [\n            985,\n            \"[ZM05 - Soft Khaki XL] AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n            null\n        ],\n        [\n            981,\n            \"[ZM05 - Soft Khaki XS] AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n            null\n        ],\n        [\n            928,\n            \"[ZM05 - Tangerine S] AU-PM120 CW2 : Maternity Clothing Nursing Friendly Women\",\n            null\n        ],\n        [\n            929,\n            \"[ZM06] M2B002 : High Waisted Postpartum Pants\",\n            null\n        ],\n        [\n            930,\n            \"[ZM07] KL-AY012 : White Safety Lock Wardrobe Door\",\n            null\n        ],\n        [\n            931,\n            \"[ZM08] Best-8117 : Water Bottle Heater Portable\",\n            null\n        ],\n        [\n            951,\n            \"[ZM09] KL-AY012 : Brown Safety Lock Wardrobe Door\",\n            null\n        ],\n        [\n            971,\n            \"[ZM20] MMA-346 : White Crochet Bell Sleeve Maternity Top\",\n            null\n        ],\n        [\n            972,\n            \"[ZM21] MMA-510 : Sweetheart Button Front Maternity dress\",\n            null\n        ],\n        [\n            973,\n            \"[ZM22] MMA-535 : Printed Dress with Smocked Details for Maternity breastfeeding dress\",\n            null\n        ],\n        [\n            974,\n            \"[ZM23] MMA-177 : nursing tops women's\",\n            null\n        ],\n        [\n            1001,\n            \"[ZM69b] Vanrro Baby Nail Trimmer (Green) + door lock\",\n            null\n        ],\n        [\n            875,\n            \"[ZN38] NT-1228BL Netum Usb 2D Bluetooth Barcode Scanner\",\n            null\n        ],\n        [\n            884,\n            \"[ZP46] S800 : POS Touch System\",\n            null\n        ],\n        [\n            885,\n            \"[ZP47] S200-15A: 15 inch All In One Pos Terminal (Hardware)\",\n            null\n        ],\n        [\n            897,\n            \"[ZR56] R20D: USB interface Proximity 125Khz RFID reader smart card\",\n            null\n        ],\n        [\n            942,\n            \"[ZS03] CET-K32 fingerprint (Black) : Smart Digital Biometric Fingerprint Door Lock (with App)\",\n            null\n        ],\n        [\n            1019,\n            \"[ZS03A] CET-K32 fingerprint (Black) with App : Smart Digital Biometric Fingerprint Door Lock (Single Latch Mortise type)\",\n            null\n        ],\n        [\n            1020,\n            \"[ZS03B] CET-K32 fingerprint (Black) with App : Smart Digital Biometric Fingerprint Door Lock (5050 Mortise type)\",\n            null\n        ],\n        [\n            1030,\n            \"[ZS03C] CET-K32 fingerprint (Black) with App : Smart Digital Biometric Fingerprint Door Lock (6072 Mortise type)\",\n            null\n        ],\n        [\n            1005,\n            \"[ZS04] CET-K32 fingerprint (Red Bronze) : Smart Digital Biometric Fingerprint Door Lock (NO APP)\",\n            null\n        ],\n        [\n            1006,\n            \"[ZS05] CET-K32 Smartphone (Black) : Smart Digital Biometric Fingerprint Door Lock (NO APP)\",\n            null\n        ],\n        [\n            1009,\n            \"[ZS06] BEL-402 : Single Latch Fingerprint Door Lock\",\n            null\n        ],\n        [\n            1022,\n            \"[ZS07] CET-K32 fingerprint (Black) NO APP : Smart Digital Biometric Fingerprint Door Lock\",\n            null\n        ],\n        [\n            1023,\n            \"[ZS07A] CET-K32 fingerprint (Black) NO APP : Smart Digital Biometric Fingerprint Door Lock (5050 Mortise type)\",\n            null\n        ],\n        [\n            1024,\n            \"[ZS07B] CET-K32 fingerprint (Black) NO APP : Smart Digital Biometric Fingerprint Door Lock (Single Latch Mortise type)\",\n            null\n        ],\n        [\n            1029,\n            \"[ZS07C] CET-K32 fingerprint (Black) NO APP : Smart Digital Biometric Fingerprint Door Lock (6072 Mortise type)\",\n            null\n        ],\n        [\n            1025,\n            \"[ZS08] CET-K32 fingerprint (Red Bronze) with APP : Smart Digital Biometric Fingerprint Door Lock\",\n            null\n        ],\n        [\n            1026,\n            \"[ZS08A] CET-K32 fingerprint (Red Bronze) with APP : Smart Digital Biometric Fingerprint Door Lock (5050 Mortise type)\",\n            null\n        ],\n        [\n            1027,\n            \"[ZS08B] CET-K32 fingerprint (Red Bronze) with APP : Smart Digital Biometric Fingerprint Door Lock (6072 Mortise type)\",\n            null\n        ],\n        [\n            914,\n            \"[ZS30] SanDisk: Ultra Sandisk Micro SD Card\",\n            null\n        ],\n        [\n            943,\n            \"[ZS32] NX4 : WiFi Biometric Fingerprint Digital smart door lock\",\n            null\n        ],\n        [\n            867,\n            \"[ZT32] EVHK0049 / 1100D / U-1100 / 1100: Tera Mini Bar Code Reader\",\n            null\n        ],\n        [\n            869,\n            \"[ZT34] 8100 Orange: Tera QR 1D 2D Wireless Wired Bluetooth Scanner 3 In 1 Heavy Duty\",\n            null\n        ],\n        [\n            870,\n            \"[ZT35] HW0002 : Tera 1D 2D Wireless Barcode Scanner with Stand (Discontinued)\",\n            null\n        ],\n        [\n            877,\n            \"[ZT40] [Replaced by 711]: 9100: EVHK0052-1 Tera QR Bar Code Scanner Barcode 2D Wired Barcode Scanner with Stand\",\n            null\n        ],\n        [\n            878,\n            \"[ZT41] D6100: Tera Wireless Barcode Scanner 1D 2D Wired with Charging Base/Cradle (Discontinued)\",\n            null\n        ],\n        [\n            879,\n            \"[ZT42] P0034 - Tera 2D Bluetooth Barcode Scanner with Heavy Duty Stable Stand\",\n            null\n        ],\n        [\n            1008,\n            \"[ZT43] EVHK0053 : Tera 2D 1D Wireless Barcode Scanner 3 in 1 Bluetooth Vibration Alert Scanner\",\n            null\n        ],\n        [\n            886,\n            \"[ZT48] 6900 : Tera 1D Wired Barcode Scanner with Stand\",\n            null\n        ],\n        [\n            887,\n            \"[ZT49] 1031 : 1D Wired Laser Barcode Scanner  w/o Stand\",\n            null\n        ],\n        [\n            888,\n            \"[ZT50] HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\",\n            null\n        ],\n        [\n            889,\n            \"[ZT51] EVHK0047 / HW0005 : Tera Wireless 1D 2D QR Barcode Scanner 2-in-1 handheld Scanner with display CMOS with Stand\",\n            null\n        ],\n        [\n            890,\n            \"[ZT52] HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\",\n            null\n        ],\n        [\n            932,\n            \"[ZT53] U9000S : Wireless rugged android handheld\",\n            null\n        ],\n        [\n            1037,\n            \"[ ZT56 -test] Tera-stand : Tera Blue tooth 2D wireless\",\n            null\n        ],\n        [\n            911,\n            \"[ZT70] 711: 2D Wired Barcode Scanner\",\n            null\n        ],\n        [\n            986,\n            \"[ZT70B] 711D + Stand \",\n            null\n        ],\n        [\n            1007,\n            \"[ZT70S] 711 : Stand\",\n            null\n        ],\n        [\n            912,\n            \"[ZT71] EVHK0030 : Tera 2D Wireless Barcode Scanner with Charging Cradle\",\n            null\n        ],\n        [\n            1018,\n            \"[ZT72] Tera-0012 : Tera 2D Wireless Portable Back Clip 1D 2D QR Bar Code Reader with Bluetooth image scanning\",\n            null\n        ],\n        [\n            1033,\n            \"[ZT80] 780 : Tera Fixed Mount 1D 2D Scanners QR Reader Desktop Platform\",\n            null\n        ],\n        [\n            1034,\n            \"[ZT81] U-1100 : Tera Upgarded 2D Blue tooth Mini Portable Barcode Scanner\",\n            null\n        ],\n        [\n            913,\n            \"[ZV36] 6000 p.a. GB-822 : Handheld Wireless Vacuum Cleaners\",\n            null\n        ],\n        [\n            906,\n            \"[ZV65] 4800pa Strong Power Car Vacuum Cleaner\",\n            null\n        ],\n        [\n            907,\n            \"[ZV66] YH-02: BOOMJOY 6500PA Cordless Handheld Portable Vacuum Cleaner with Rechargeable\",\n            null\n        ],\n        [\n            908,\n            \"[ZV67] D01-CC0002 : 6000pa Strong Power Car Vacuum Cleaner USB Rechargeable\",\n            null\n        ],\n        [\n            865,\n            \"[ZX30] AX1800: Xiaomi router Wifi\",\n            null\n        ],\n        [\n            873,\n            \"[ZX36] Xiaomi Smart IP Camera 130 Degree FOV Night Vision 2.4Ghz Wifi Xioami Home Kit Security Monitor baby CCTV\",\n            null\n        ]\n    ],\n    \"error\": null,\n    \"id\": 1693820925904,\n    \"dt\": 86\n}"}],"_postman_id":"b9119c6a-604d-4866-9ade-adbb1de3a082"}],"id":"b1594837-61e1-42c9-965a-8fd8a43cfb97","_postman_id":"b1594837-61e1-42c9-965a-8fd8a43cfb97","description":""},{"name":"Stock Margin Report","item":[{"name":"params/page.layout/search_read","id":"dff9c1ee-d1d2-4fc7-b5d5-c97926d652aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693893892790,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"page.layout\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"path\",\r\n                    \"=\",\r\n                    \"report_stock_margin\"\r\n                ]\r\n            ],\r\n            [\r\n                \"layout\",\r\n                \"code\",\r\n                \"code_trans\",\r\n                \"styles\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 11:04:07\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"page.layout\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"path\",</strong></strong>\"=\",<strong>**\"report_stock_margin\"<strong><strong>]</strong></strong>],<strong><strong>[</strong></strong>\"layout\",**</strong>\"code\",<strong><strong>\"code_trans\",</strong></strong>\"styles\"<strong><strong>]</strong></strong>],****{},**</p>\n<ol>\n<li><code>\"page.layout\"</code>: This is the entity or model on which the search and read operation is being performed. In this case, it's the \"page.layout\" entity, which typically represents the layout of pages or reports within a system.</li>\n<li><code>\"search_read\"</code>: This is the method being called on the \"page.layout\" entity. The \"search_read\" method is used to search for records that meet certain criteria and retrieve specific fields from those records.</li>\n<li><code>[[\"path\", \"=\", \"report_stock_margin\"]]</code>: This is a domain filter or search domain. It specifies the criteria for filtering records. In this case, it's searching for records where the \"path\" field is equal to \"report_stock_margin.\" This is a way to narrow down the search to layouts associated with the \"report_stock_margin.\"</li>\n<li>This is a list containing a single criterion for filtering records. Each criterion consists of three elements:<ol>\n<li><code>\"path\"</code>: This is the field or attribute of the records that you want to filter based on.</li>\n<li><code>\"=\"</code>: This is the operator used for comparison. In this case, it's the equality operator, meaning it will filter records where the \"path\" field is equal to the specified value.</li>\n<li><code>\"report_stock_margin\"</code>: This is the value you want to compare against. It represents the condition that records must meet to be included in the result.</li>\n</ol>\n</li>\n<li>The above search domain is saying: \"Retrieve records where the 'path' field is equal to 'report_stock_margin'.\" This is a common way to narrow down a dataset to only include records that meet specific criteria in a database query or search operation.</li>\n<li><code>[\"layout\", \"code\", \"code_trans\", \"styles\"]</code>: This is a list of fields to retrieve from the matching records. It indicates that you want to retrieve data from the \"layout,\" \"code,\" \"code_trans,\" and \"styles\" fields of the matching \"page.layout\" records.</li>\n<li>This is a list containing a single criterion for filtering records. Each criterion consists of three elements:<ol>\n<li><code>\"layout\"</code>: This is the first field you want to retrieve in the result set. When you perform a search or query, you'll get the values of the \"layout\" field for each matching record.</li>\n<li><code>\"code\"</code>: This is the second field you want to retrieve. Similarly, you'll receive the values of the \"code\" field for each matching record.</li>\n<li><code>\"code_trans\"</code>: This is the third field you want to retrieve. As with the previous fields, you'll get the values of the \"code_trans\" field for each matching record.</li>\n<li><code>\"styles\"</code>: This is the fourth field you want to retrieve. In the result set, you'll find the values of the \"styles\" field for each matching record.</li>\n</ol>\n</li>\n<li>In database queries or searches, specifying which fields you want to retrieve in the result set is essential for obtaining the specific information you need from the database. In this case, you're requesting records with values in these four fields: \"layout,\" \"code,\" \"code_trans,\" and \"styles.\"</li>\n<li><code>{}</code>: This is an empty object and represents additional parameters or options for the search and read operation. In this case, there don't appear to be any additional options specified for the search.</li>\n</ol>\n<p>In summary, this JSON object represents a search and read operation on the \"page.layout\" entity. It's searching for layouts with a specific \"path\" value (\"report_stock_margin\") and retrieving data from the specified fields (\"layout,\" \"code,\" \"code_trans,\" and \"styles\") in those layouts. The result will likely be a list of layouts that match the criteria.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"7f2d1889-6b40-4745-bdac-43a848a19639","name":"params/page.layout/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693893892790,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"page.layout\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"path\",\r\n                    \"=\",\r\n                    \"report_stock_margin\"\r\n                ]\r\n            ],\r\n            [\r\n                \"layout\",\r\n                \"code\",\r\n                \"code_trans\",\r\n                \"styles\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 11:04:07\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 05 Sep 2023 06:11:10 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=UvojWERp2dINMRKP0wSh7S0mALBY1f6JLPVpBM1Tdp0ZJppnX4%2BvxYuOH%2BbT2XMpVk870Jfvp46CW8ypPMNaK1YeWeJFppwQD9Mva4Z8VnYXFDnBCA4jVOI%2FcJzfDC%2FuXB6lhEHx42vJUVs%2Brg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"801c5035ea650be3-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"id\": 467,\n            \"code\": \"async function on_load(){\\n  set_data(null);\\n\\n  // read the given condition\\n  var cond = await get_cond();\\n  \\n  var stocks = await read_stock_picking(cond.stock);\\n  var all_data = await read_info(stocks);\\n  \\n  var cur_data = [];\\n  for(var i = 0; i < all_data.length; i++){\\n    if(await satisfy(all_data[i], cond.all)){\\n      cur_data.push(all_data[i]);\\n    }\\n  }\\n  await read_report(cur_data,cond.cr);\\n  \\n  console.log(\\\"data satisfying condition:\\\\n\\\");\\n  console.log(cur_data);\\n \\n  //check_GI_by_number(cur_data,cond.stock_picking);\\n  //check_GI_by_product(data.lines,cond.stock_picking);\\n}\\n\\nasync function run_report(){\\n  var data = get_data();\\n  if(!data.date_from || !data.date_to){\\n    alert(\\\"Date fields are compulsory!\\\")\\n  }\\n  else{\\n    await on_load();\\n  }\\n}\\n\\nfunction clear_filter(){\\n  set_data({\\n    date_from: null,\\n    date_to: null,\\n    product: null,\\n    product_categ: null,\\n    brand: null,\\n  });\\n}\\n\\n// read condition from page\\nasync function get_cond(){\\n  var data = get_data();\\n  var dateFrom = data.date_from;\\n  var dateTo = data.date_to;\\n  var product = data.product;\\n  var product_categ = data.product_categ;\\n  var brand = data.brand;\\n\\n  checkDate();\\n\\n  // if not input date_from or date_to, use this month as condition\\n  var now = new Date();\\n  if(!dateFrom){\\n    dateFrom = new Date(now.getFullYear(),now.getMonth(),1);\\n  }\\n  else{\\n    dateFrom = new Date(dateFrom);\\n  }\\n  if(!dateTo){\\n    dateTo = now;\\n  }\\t\\n  else{\\n    dateTo = new Date(dateTo);\\n  }\\n\\n  var from = dateFrom.getFullYear() + \\\"-\\\" + (\\\"0\\\" + (dateFrom.getMonth() + 1)).slice(-2) + \\\"-\\\" + (\\\"0\\\" + dateFrom.getDate()).slice(-2);\\n  var to = dateTo.getFullYear() + \\\"-\\\" + (\\\"0\\\" + (dateTo.getMonth() + 1)).slice(-2) + \\\"-\\\" + (\\\"0\\\" + dateTo.getDate()).slice(-2);\\n  set_data({\\n    from: from,\\n    to : to,\\n  })\\n  dateFrom.setHours(0);\\n  dateFrom.setMinutes(0);\\n  dateFrom.setSeconds(0);\\n  dateTo.setHours(23);\\n  dateTo.setMinutes(59);\\n  dateTo.setSeconds(59);\\n  \\n  var cond_product = product ? [\\\"product_id\\\",\\\"=\\\",product.id] : [];\\n  var cond_product_categ = product_categ ? [\\\"categ_id\\\", \\\"=\\\", product_categ.id] : [];\\n  var cond_brand = brand ? [\\\"brand_id\\\", \\\"=\\\", brand.id] : [];\\n\\n  // condition for different model\\n  return {\\n    stock: [[\\\"date\\\", \\\">=\\\", dateFrom], [\\\"date\\\", \\\"<=\\\", dateTo],[\\\"journal_id\\\",\\\"=\\\",4],[\\\"state\\\",\\\"=\\\",\\\"done\\\"]],\\n    cr:[[\\\"date\\\", \\\">=\\\", dateFrom], [\\\"date\\\", \\\"<=\\\", dateTo]],\\n    all: {\\n      date_from: dateFrom, \\n      date_to: dateTo,\\n      product: product ? product.id : null,\\n      product_categ: product_categ ? product_categ.id : null,\\n      brand: brand ? brand.id : null,\\n    },\\n  }\\n}\\n\\n// check if date condition is available\\nfunction checkDate(){\\n  var data=get_data();\\n  date1=new Date(data.date_from);\\n  date2=new Date(data.date_to);\\n  if (date1-date2>0){\\n    alert('The period u selected is invalid!');\\n  }\\n}\\n\\nasync function read_stock_picking(cond){\\n  var stocks = await rpc_execute(\\\"stock.picking\\\", \\\"search_read_path\\\", [cond, [\\\"journal_id\\\",\\\"lines.product_id\\\", \\\"lines.qty\\\", \\\"lines.cost_amount\\\", \\\"date\\\", \\\"number\\\", \\\"invoice_id\\\"]]);\\n  return stocks;\\n}\\n\\nasync function read_info(stocks){  \\n  //read invoices from stocks\\n  var invoice_ids=[];\\n  var stocks_without_invoice = [];\\n  for(var s of stocks){\\n    if(s.invoice_id) invoice_ids.push(s.invoice_id);\\n    else stocks_without_invoice.push(s.number);\\n  }\\n  if(stocks_without_invoice.length>0){\\n    alert(\\\"Warning: \\\"+JSON.stringify(stocks_without_invoice)+\\\" have no invoice.\\\");\\n  }\\n  var invoices = await rpc_execute(\\\"account.invoice\\\",\\\"read_path\\\",[invoice_ids,[\\\"number\\\",\\\"lines.product_id\\\",\\\"lines.amount\\\"]]);\\n  \\n  //read products from stock.lines\\n  var product_ids=[];\\n  for(var s of stocks){\\n    for(var line of s.lines){\\n      if(line.product_id) product_ids.push(line.product_id);\\n    }\\n  }\\n  var products = await rpc_execute(\\\"product\\\", \\\"read\\\", [product_ids, [\\\"code\\\", \\\"name\\\", \\\"categ_id\\\", \\\"brand_id\\\"]]);\\n  \\n  var data = [];\\n  \\n  for(var i = 0; i < stocks.length; i++){\\n    \\n    //find stocks[i]'s invoice\\n    if(!stocks[i].invoice_id){\\n      console.log(stocks[i].number,\\\" has no invoice!!\\\");\\n      continue;\\n    }\\n    var invoice;\\n    for(var inv of invoices){\\n      if(inv.id==stocks[i].invoice_id){\\n        invoice=inv;\\n        break;\\n      }\\n    }\\n\\n    for(var il of invoice.lines){\\n      //find cost_amount and qty\\n      var cost_amount = 0;\\n      var qty = 0;\\n      for(var l of stocks[i].lines){\\n        if(il.product_id==l.product_id){\\n          cost_amount+=l.cost_amount;\\n          qty+=l.qty;\\n        }\\n      }\\n      \\n      //find product\\n      var product;\\n      for(var p of products){\\n        if(il.product_id==p.id){\\n          var product=p;\\n          break;\\n        }\\n      }\\n      \\n      data.push({\\n        number: stocks[i].number,\\n        date:stocks[i].date,\\n        product_id: il.product_id,\\n        product_categ: il.product_id?product.categ_id:null,  //change\\n        product_name: il.product_id?product.name:null,\\n        product_code: il.product_id?product.code:null,\\n        brand: product && product.brand_id? product.brand_id[0] : null,\\n        qty: qty,\\n        cost_amount: cost_amount,\\n        amount: il.amount,\\n      });\\n    }\\n  }\\n  return data;\\n}\\n\\nasync function create_data(data){\\n  for(var i = 0; i < data.length; i++){\\n    await rpc_execute(\\\"stock.margin.report\\\", \\\"create\\\", [data[i]]);\\n  }\\n}\\n\\nasync function satisfy(data, cond){ // cond: {date_from, date_to, product, product_categ, brand}\\n  // check date\\n  if(await before_than(data.date, cond.date_from)){ return false; }\\n  if(await before_than(cond.date_to, data.date)){ return false; }\\n\\n  // check product\\n  if(cond.product && data.product_id != cond.product){ return false; }\\n\\n  // check product category\\n  if(cond.product_categ && await read_id_from_product_categ_id(data.product_categ) != cond.product_categ){ return false; }  // change\\n\\n  // check brand\\n  if(cond.brand && data.brand != cond.brand){ return false; }\\n\\n  return true;\\n}\\n\\n// since the product.categ_id is a string but not an id only\\nasync function read_id_from_product_categ_id(product_categ){\\n  if(!product_categ){ return null; }\\n  else{\\n    var id = \\\"\\\";\\n    for(var i = 1; i < product_categ.length; i++){\\n      if(product_categ[i] == ','){ break; }\\n      id += product_categ[i];\\n    }\\n    return parseInt(id);\\n  }\\n}\\n\\n// return true if date1 < date2\\nasync function before_than(date1, date2){\\n  var time1 = new Date(date1).getTime();\\n  var time2 = new Date(date2).getTime();\\n  var diff = time1 - time2;\\n  if(diff < 0) { return true; }\\n  else { return false; }\\n}\\n\\nasync function read_report(data,cond_cr){\\n  var visited = [];\\n  var lines = [];\\n  var shipping = 0;\\n  for(var i = 0; i < data.length; i++){ \\n    // check if this product has read\\n    var repeated = false;\\n    for(var j = 0; j < visited.length; j++){\\n      if(data[i].product_id == visited[j]){\\n        repeated = true;\\n        break;\\n      }\\n    }\\n    if(repeated){ continue; }\\n    visited.push(data[i].product_id);\\n\\n    var sum = await sum_by_product(data, data[i].product_id);\\n    if(!data[i].product_id){\\n      shipping+=sum.amount;\\n      continue;\\n    }\\n    lines.push({\\n      number: data[i].number,\\n      product: data[i].product_name,\\n      product_id: data[i].product_id,\\n      code: data[i].product_code,\\n      qty: sum.qty,\\n      amount: sum.amount.toFixed(2),\\n      profit: (sum.amount - sum.cost_amount).toFixed(2),\\n      avg_of_profit: sum.qty == 0 ? 0 : ((sum.amount - sum.cost_amount) / sum.qty).toFixed(2),\\n      avg_of_margin: sum.amount == 0 ? 0 : ((sum.amount - sum.cost_amount) * 100 / sum.amount).toFixed(2),\\n    });\\n  }\\n  var sum_qty = 0, sum_amount = 0, sum_profit = 0, sum_avg_profit = 0, sum_avg_margin = 0;\\n  for(var i = 0; i < lines.length; i++){\\n    sum_qty += parseInt(lines[i].qty);\\n    sum_amount += parseFloat(lines[i].amount);\\n    sum_profit += parseFloat(lines[i].profit);\\n    \\n    if(parseFloat(lines[i].profit) < 0){ lines[i].profit = \\\"(\\\" + (-lines[i].profit) + \\\")\\\"; }\\n    if(parseFloat(lines[i].avg_of_profit) < 0){ lines[i].avg_of_profit = \\\"(\\\" + (-lines[i].avg_of_profit) + \\\")\\\"; }\\n    if(parseFloat(lines[i].avg_of_margin) < 0){ lines[i].avg_of_margin = \\\"(\\\" + (-lines[i].avg_of_margin) + \\\")\\\"; }\\n  }\\n  sum_avg_profit = sum_profit / sum_qty;\\n  sum_avg_margin = sum_profit * 100 / sum_amount;\\n  \\n  //calculate cr\\n  var invoices=await rpc_execute(\\\"account.invoice\\\",\\\"search_read_path\\\",[cond_cr,[\\\"number\\\",\\\"lines.amount\\\"]]);\\n  var cr_sum=0;\\n  for(var inv of invoices){\\n    if(inv.number[0]=='C'&&inv.number[1]=='R'){\\n      for(var l of inv.lines){\\n        cr_sum+=l.amount;\\n      }\\n    }\\n  }\\n  \\n  var final_sum = sum_amount+shipping-cr_sum;\\n  sum_amount = sum_amount.toFixed(2);\\n  sum_profit = sum_profit.toFixed(2);\\n  sum_avg_profit = sum_avg_profit.toFixed(2);\\n  sum_avg_margin = sum_avg_margin.toFixed(2);\\n  \\n  if(sum_amount < 0){ sum_amount = \\\"(\\\" + (-sum_amount) + \\\")\\\"; }\\n  if(sum_profit < 0){ sum_profit = \\\"(\\\" + (-sum_profit) + \\\")\\\"; }\\n  if(sum_avg_profit < 0){ sum_avg_profit = \\\"(\\\" + (-sum_avg_profit) + \\\")\\\"; }\\n  if(sum_avg_margin < 0){ sum_avg_margin = \\\"(\\\" + (-sum_avg_margin) + \\\")\\\"; }\\n  \\n  \\n  set_data({\\n    lines: lines,\\n    sum_qty: sum_qty,\\n    sum_amount: sum_amount,\\n    sum_profit: sum_profit,\\n    sum_avg_profit: sum_avg_profit,\\n    sum_avg_margin: sum_avg_margin,\\n    shipping: shipping.toFixed(2),\\n    final_sum: final_sum.toFixed(2),\\n    cr_sum:cr_sum.toFixed(2),\\n  }); \\n  set_data({\\n    lines: lines,\\n    sum_qty: sum_qty,\\n    sum_amount: sum_amount,\\n    sum_profit: sum_profit,\\n    sum_avg_profit: sum_avg_profit,\\n    sum_avg_margin: sum_avg_margin,\\n    shipping: shipping.toFixed(2),\\n    final_sum: final_sum.toFixed(2),\\n    cr_sum: cr_sum.toFixed(2),\\n  });\\n}\\n\\n// formula for the output\\nasync function sum_by_product(data, product){\\n  var sum_amount = 0;\\n  var sum_cost_amount = 0;\\n  var qty = 0;\\n  for(var i = 0; i < data.length; i++){\\n    if(data[i].product_id == product){\\n      sum_amount += data[i].amount ? parseFloat(data[i].amount) : 0;\\n      sum_cost_amount += parseFloat(data[i].cost_amount);\\n      qty += parseFloat(data[i].qty);\\n    }\\n  }\\n  return {\\n    amount: sum_amount,\\n    cost_amount: sum_cost_amount,\\n    qty: qty,\\n  };\\n}\\n\\nfunction print_pdf(){\\n  var data=get_data();\\n  if(!data.date_from) {data.date_from=\\\"2000-01-01\\\"};\\n  if(!data.date_to) throw alert (\\\"Please Select End Date\\\");\\n\\n  //var url=\\\"https://backend-prod2.netforce.com/render_page_pdf?page_id=348&active_id=425&database=nfo_main&user_id=63&company_id=1&token=bmZvX21haW4gNjM=|1616407803|3919087415faee3ebb1e5756bba8d530a68bff0c\\\"\\n  var url=\\\"https://pages-prod2.netforce.com/?page=stock_margin_print&db=nfo_main&user_id=8&company_id=1&token=bmZvX21haW4gNjM=|1616407803|3919087415faee3ebb1e5756bba8d530a68bff0c\\\";\\n\\n  url += \\\"&date_from=\\\"+data.date_from+\\\"&date_to=\\\"+data.date_to;\\n  if(data.product_categ){\\n    url += \\\"&product_categ=\\\"+data.product_categ.id;\\n  }\\n  if(data.product){\\n    url += \\\"&product=\\\"+data.product.id;\\n  }\\n  if(data.brand){\\n    url += \\\"&brand=\\\"+data.brand.id;\\n  }\\n\\n  var url2 = \\\"https://backend-prod2.netforce.com/convert_to_pdf?url=\\\" + encodeURIComponent(url);\\n  window.open(url2);\\n}\\n\\nasync function check_GI_by_number(data,cond){\\n  var gi = await rpc_execute(\\\"stock.picking\\\",\\\"search_read\\\",[cond,[\\\"number\\\"]]);\\n  console.log(gi);\\n  var problem_report=[];\\n  var problem_gi=[];\\n  for(var d of data){\\n    var found = false;\\n    for(var g of gi){\\n      if(d.number==g.number){\\n        found=true;\\n        break;\\n      }\\n    }\\n    if(!found){\\n      problem_report.push(d);\\n    }\\n  }\\n  for(var g of gi){\\n    var found = false;\\n    for(var d of data){\\n      if(d.number==g.number){\\n        found=true;\\n        break;\\n      }\\n    }\\n    if(!found){\\n      problem_gi.push(g);\\n    }\\n  }\\n  console.log(\\\"gi that is not included in report:\\\");\\n  console.log(problem_gi);\\n  console.log(\\\"report that is not included in gi\\\");\\n  console.log(problem_report);\\n}\\n\\nasync function check_GI_by_product(data,cond){\\n  var gi = await rpc_execute(\\\"stock.picking\\\",\\\"search_read\\\",[cond,[\\\"number\\\",\\\"lines\\\"]]);\\n  var lines=[];\\n  for(var g of gi){\\n    lines.push.apply(lines,g.lines);\\n  }\\n  var stock_move = await rpc_execute(\\\"stock.move\\\",\\\"read\\\",[lines,[\\\"product_id\\\",\\\"qty\\\"]]);\\n  console.log(stock_move);\\n  var problem_report=[];\\n  var problem_gi=[];\\n  for(var d of data){\\n    var qty = 0;\\n    for(var s of stock_move){\\n      if(d.product_id==s.product_id[0]){\\n        qty+=s.qty;\\n      }\\n    }\\n    if(qty>d.qty) problem_gi.push(d.product);\\n    if(d.qty>qty) problem_report.push(qty);\\n  }\\n  console.log(\\\"product that is less in report:\\\");\\n  console.log(problem_gi);\\n  console.log(\\\"product that is less in gi\\\");\\n  console.log(problem_report);\\n}\\n\\nasync function check_GI_by_amount(data,cond){\\n  var stocks = await rpc_execute(\\\"stock.picking\\\",\\\"search_read_path\\\",[cond,[\\\"journal_id\\\",\\\"lines.product_id\\\", \\\"lines.qty\\\", \\\"lines.cost_amount\\\", \\\"date\\\", \\\"number\\\", \\\"invoice_id\\\"]]);\\n  var info = await read_info(stocks);\\n  console.log(info);\\n}\",\n            \"layout\": \"{\\\"elements\\\":[{\\\"type\\\":\\\"box\\\",\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"Stock Margin Report\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"font_size\\\":18}],\\\"min_height\\\":50,\\\"border_bottom_width\\\":1,\\\"border_color\\\":\\\"#eeeeee\\\",\\\"avoid_keyboard\\\":true,\\\"padding_top\\\":15,\\\"padding_bottom\\\":15},{\\\"type\\\":\\\"box\\\",\\\"children\\\":[{\\\"type\\\":\\\"columns\\\",\\\"columns\\\":[{\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"From\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#e60000\\\"},\\\"insert\\\":\\\"*\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"margin_right\\\":10,\\\"margin_bottom\\\":5},{\\\"type\\\":\\\"field\\\",\\\"name\\\":\\\"date_from\\\",\\\"field_type\\\":\\\"date\\\",\\\"margin_right\\\":10}]},{\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"To\\\"},{\\\"attributes\\\":{\\\"color\\\":\\\"#e60000\\\"},\\\"insert\\\":\\\"*\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"margin_left\\\":10,\\\"margin_right\\\":10,\\\"margin_bottom\\\":5},{\\\"type\\\":\\\"field\\\",\\\"name\\\":\\\"date_to\\\",\\\"field_type\\\":\\\"date\\\",\\\"margin_left\\\":10,\\\"margin_right\\\":10}]},{\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"Product\\\\n\\\"}]},\\\"margin_left\\\":10,\\\"margin_right\\\":10,\\\"margin_bottom\\\":5},{\\\"type\\\":\\\"field\\\",\\\"name\\\":\\\"product\\\",\\\"field_type\\\":\\\"select2\\\",\\\"model\\\":\\\"product\\\",\\\"margin_left\\\":10,\\\"margin_right\\\":10}]},{\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"Product Category\\\\n\\\"}]},\\\"margin_left\\\":10,\\\"margin_right\\\":10,\\\"margin_bottom\\\":5},{\\\"type\\\":\\\"field\\\",\\\"field_type\\\":\\\"select2\\\",\\\"name\\\":\\\"product_categ\\\",\\\"model\\\":\\\"product.categ\\\",\\\"margin_left\\\":10,\\\"margin_right\\\":10}]},{\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"Brand\\\\n\\\"}]},\\\"margin_left\\\":10,\\\"margin_right\\\":10,\\\"margin_bottom\\\":5},{\\\"type\\\":\\\"field\\\",\\\"field_type\\\":\\\"select2\\\",\\\"name\\\":\\\"brand\\\",\\\"model\\\":\\\"product.brand\\\",\\\"margin_left\\\":10,\\\"margin_right\\\":10}]}],\\\"num_cols\\\":5,\\\"col_widths\\\":[2,2,3,3,3],\\\"_col_widths\\\":\\\"[2,2,3,3,3]\\\",\\\"padding_top\\\":null,\\\"padding_left\\\":null,\\\"padding_right\\\":null},{\\\"type\\\":\\\"columns\\\",\\\"columns\\\":[{\\\"children\\\":[{\\\"type\\\":\\\"button\\\",\\\"width\\\":\\\"105\\\",\\\"height\\\":\\\"35\\\",\\\"on_click\\\":\\\"clear_filter()\\\",\\\"text\\\":\\\"Clear\\\",\\\"color\\\":\\\"#ffffff\\\",\\\"background_color\\\":\\\"#2d6aa0\\\",\\\"font_size\\\":null,\\\"margin_top\\\":20,\\\"align\\\":\\\"left\\\"}]},{\\\"children\\\":[]}],\\\"num_cols\\\":2,\\\"col_widths\\\":[1,4],\\\"_col_widths\\\":\\\"[1,4]\\\"}],\\\"min_height\\\":50,\\\"margin_top\\\":20,\\\"margin_bottom\\\":10,\\\"header\\\":false,\\\"background_color\\\":\\\"#e8f1ff\\\",\\\"border_width\\\":2,\\\"border_color\\\":\\\"#cccccc\\\",\\\"padding_top\\\":10,\\\"padding_left\\\":10,\\\"padding_right\\\":10,\\\"padding_bottom\\\":20},{\\\"type\\\":\\\"columns\\\",\\\"columns\\\":[{\\\"children\\\":[{\\\"type\\\":\\\"button\\\",\\\"width\\\":\\\"105\\\",\\\"height\\\":\\\"35\\\",\\\"on_click\\\":\\\"run_report()\\\",\\\"text\\\":\\\"Run Report\\\",\\\"color\\\":\\\"#ffffff\\\",\\\"background_color\\\":\\\"#2d6aa0\\\",\\\"font_size\\\":null,\\\"margin_top\\\":20,\\\"align\\\":\\\"left\\\"}]},{\\\"children\\\":[{\\\"type\\\":\\\"button\\\",\\\"width\\\":\\\"105\\\",\\\"height\\\":\\\"35\\\",\\\"on_click\\\":\\\"print_pdf()\\\",\\\"text\\\":\\\"Print PDF\\\",\\\"color\\\":\\\"#000000\\\",\\\"background_color\\\":\\\"#e6e6e6\\\",\\\"font_size\\\":null,\\\"margin_top\\\":20,\\\"align\\\":\\\"left\\\"}]},{\\\"children\\\":[]}],\\\"num_cols\\\":3,\\\"col_widths\\\":[1,1,4],\\\"_col_widths\\\":\\\"[1,1,4]\\\",\\\"padding_left\\\":null,\\\"padding_right\\\":null,\\\"padding_bottom\\\":null},{\\\"type\\\":\\\"box\\\",\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\"},\\\"insert\\\":\\\"Stock Margin Report\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"font_size\\\":20},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"size\\\":\\\"large\\\"},\\\"insert\\\":\\\"From {from} to {to}\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"font_size\\\":12,\\\"font_bold\\\":false}],\\\"min_height\\\":null,\\\"margin_top\\\":30,\\\"padding_left\\\":20,\\\"padding_right\\\":20,\\\"header\\\":false,\\\"height\\\":\\\"\\\"},{\\\"type\\\":\\\"box\\\",\\\"children\\\":[{\\\"type\\\":\\\"table\\\",\\\"elements\\\":[[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"PRODUCTS\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"QUANTITY\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"TOTAL INVOICE AMOUNT\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"TOTAL PROFIT\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"AVG PROFIT\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"AVG MARGIN %\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}}],[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{product}\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{qty}\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{amount}\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{profit}\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{avg_of_profit}\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{avg_of_margin} %\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}}],[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"SUM TOTAL\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{sum_qty}\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{sum_amount}\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{sum_profit}\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{sum_avg_profit}\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{sum_avg_margin} %\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}}],[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"SHIPPING\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}},null,{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{shipping}\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}}],[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"CREDIT NOTES\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}},null,{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"({cr_sum})\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"\\\\n\\\"}]}}],[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"background\\\":\\\"#f9f9f9\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"NET TOTAL (ECOMMERCE SALES)\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\"},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"insert\\\":\\\"{final_sum}\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}}]],\\\"field_rows\\\":\\\"lines\\\",\\\"num_cols\\\":6,\\\"_col_widths\\\":\\\"[3,1,1,1,1,1]\\\",\\\"col_widths\\\":[3,1,1,1,1,1],\\\"margin_left\\\":null,\\\"margin_right\\\":null,\\\"margin_bottom\\\":null,\\\"table_bordered\\\":true,\\\"table_striped\\\":true,\\\"margin_top\\\":20,\\\"table_hover\\\":false,\\\"num_rows\\\":6}],\\\"min_height\\\":50,\\\"margin_top\\\":20,\\\"padding_left\\\":20,\\\"padding_right\\\":20,\\\"page_break_after\\\":false,\\\"page_break_inside_avoid\\\":false,\\\"padding_top\\\":0,\\\"padding_bottom\\\":10}],\\\"fields\\\":\\\"\\\",\\\"page_margin_top\\\":20,\\\"page_margin_bottom\\\":20,\\\"header_height\\\":\\\"\\\",\\\"show_page_no\\\":false}\",\n            \"code_trans\": \"\",\n            \"styles\": null\n        }\n    ],\n    \"error\": null,\n    \"id\": 1693893892790,\n    \"dt\": 17\n}"}],"_postman_id":"dff9c1ee-d1d2-4fc7-b5d5-c97926d652aa"},{"name":"params/stock.picking/search_read_path","id":"bfd5763e-86c4-4b88-87bd-22aa9f911967","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693893895646,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.picking\",\r\n        \"search_read_path\",\r\n        [\r\n            [\r\n                [\r\n                    \"date\",\r\n                    \">=\",\r\n                    \"2023-08-31T19:00:00.000Z\"\r\n                ],\r\n                [\r\n                    \"date\",\r\n                    \"<=\",\r\n                    \"2023-09-05T18:59:59.515Z\"\r\n                ],\r\n                [\r\n                    \"journal_id\",\r\n                    \"=\",\r\n                    4\r\n                ],\r\n                [\r\n                    \"state\",\r\n                    \"=\",\r\n                    \"done\"\r\n                ]\r\n            ],\r\n            [\r\n                \"journal_id\",\r\n                \"lines.product_id\",\r\n                \"lines.qty\",\r\n                \"lines.cost_amount\",\r\n                \"date\",\r\n                \"number\",\r\n                \"invoice_id\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 11:04:52\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.picking\",<strong>**\"search_read_path\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"date\",</strong></strong>\"&gt;=\",<strong>**\"2023-08-31T19:00:00.000Z\"<strong><strong>],<strong><strong>[</strong></strong>\"date\",</strong></strong>\"&lt;=\",**</strong>\"2023-09-05T18:59:59.515Z\"<strong><strong>],<strong><strong>[</strong></strong>\"journal_id\",</strong></strong>\"=\",<strong><strong>4</strong></strong>],<strong><strong>[</strong></strong>\"state\",<strong><strong>\"=\",</strong></strong>\"done\"<strong><strong>]</strong></strong>],<strong><strong>[</strong></strong>\"journal_id\",<strong><strong>\"lines.product_id\",</strong></strong>\"lines.qty\",<strong><strong>\"lines.cost_amount\",</strong></strong>\"date\",<strong><strong>\"number\",</strong></strong>\"invoice_id\"<strong><strong>]</strong></strong>],****{},**</p>\n<ol>\n<li><code>\"stock.picking\"</code>: This indicates that you want to perform a search and read operation on the \"stock.picking\" entity, which typically represents records related to stock movements or transfers.</li>\n<li><code>\"search_read_path\"</code>: This suggests that you want to perform a search and read operation using a specific search path or domain to filter the records.</li>\n<li>The list of conditions <code>[[\"date\", \"&gt;=\", \"2023-08-31T19:00:00.000Z\"], [\"date\", \"&lt;=\", \"2023-09-05T18:59:59.515Z\"], [\"journal_id\", \"=\", 4], [\"state\", \"=\", \"done\"]]</code> represents the criteria used to filter and search for specific stock picking records in the <code>stock.picking</code> object.The first list within the search path contains several conditions:<ol>\n<li><code>[\"date\", \"&gt;=\", \"2023-08-31T19:00:00.000Z\"]</code>: This condition specifies that the date of the stock picking operation should be greater than or equal to August 31, 2023, at 19:00:00.000 UTC. It filters for operations that occurred on or after this date and time.</li>\n<li><code>[\"date\", \"&lt;=\", \"2023-09-05T18:59:59.515Z\"]</code>: This condition specifies that the date of the stock picking operation should be less than or equal to September 5, 2023, at 18:59:59.515 UTC. It filters for operations that occurred on or before this date and time.</li>\n<li><code>[\"journal_id\", \"=\", 4]</code>: This condition specifies that the <code>journal_id</code> associated with the stock picking operation should have a value of 4. This filters for operations that are associated with the journal identified by the ID 4.</li>\n<li><code>[\"state\", \"=\", \"done\"]</code>: This condition specifies that the state of the stock picking operation should be \"done.\" It filters for operations that have been completed and are in the \"done\" state.</li>\n</ol>\n</li>\n<li>When these conditions are applied together, they effectively filter and retrieve stock picking records that meet all of the specified criteria. The resulting records will be those that match the date range, journal ID, and state criteria provided in the conditions.</li>\n<li>The second list within the search path specifies the fields you want to retrieve for each matching record:<ol>\n<li><code>\"journal_id\"</code>: This field represents the ID or reference to the journal associated with the stock picking operation. Journals are often used in accounting and inventory management to track transactions.</li>\n<li><code>\"lines.product_id\"</code>: This field represents the ID or reference to the product associated with the stock picking operation. It is nested within the \"lines\" subfield, suggesting that there might be multiple product lines associated with each stock picking record.</li>\n<li><code>\"lines.qty\"</code>: This field represents the quantity of the product that was picked or moved in the stock picking operation. Like \"lines.product_id,\" it is nested within the \"lines\" subfield.</li>\n<li><code>\"lines.cost_amount\"</code>: This field represents the cost amount associated with the product line in the stock picking operation. It indicates the cost incurred for the quantity of the product picked.</li>\n<li><code>\"date\"</code>: This field represents the date of the stock picking operation. It indicates when the picking or movement of stock occurred.</li>\n<li><code>\"number\"</code>: This field represents a unique identifier or reference number associated with the stock picking operation. It is often used for tracking and reference purposes.</li>\n<li><code>\"invoice_id\"</code>: This field represents the ID or reference to an invoice associated with the stock picking operation. In some cases, stock picking operations might be linked to invoices for billing purposes.</li>\n</ol>\n</li>\n<li>These fields provide information about the stock picking operations, including details about the journal, product, quantity, cost, date, reference number, and any associated invoices. The specific data in these fields will vary depending on the individual stock picking records that match the search criteria.</li>\n<li>The empty curly braces <code>{}</code> indicate that there are no additional options or context settings provided for this search operation.</li>\n</ol>\n<p>In summary, this request is asking for records from the \"stock.picking\" entity that meet specific criteria (date range, journal ID, and state) and requests certain fields to be included in the result set.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"41fb415c-d8ca-4c6c-928b-edfc17e60d16","name":"params/stock.picking/search_read_path","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693893895646,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.picking\",\r\n        \"search_read_path\",\r\n        [\r\n            [\r\n                [\r\n                    \"date\",\r\n                    \">=\",\r\n                    \"2023-08-31T19:00:00.000Z\"\r\n                ],\r\n                [\r\n                    \"date\",\r\n                    \"<=\",\r\n                    \"2023-09-05T18:59:59.515Z\"\r\n                ],\r\n                [\r\n                    \"journal_id\",\r\n                    \"=\",\r\n                    4\r\n                ],\r\n                [\r\n                    \"state\",\r\n                    \"=\",\r\n                    \"done\"\r\n                ]\r\n            ],\r\n            [\r\n                \"journal_id\",\r\n                \"lines.product_id\",\r\n                \"lines.qty\",\r\n                \"lines.cost_amount\",\r\n                \"date\",\r\n                \"number\",\r\n                \"invoice_id\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 11:04:52\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 05 Sep 2023 06:32:01 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=sfL6TVepRuoY6EEnPayu9fBN2pq9KfR61Kf3PvKPipSppn0nDu%2FkcSYjvxrCZof2EDjMe6k0M%2FXTeV4IUSpmYu%2FCZcZcDHnQAHE6rNtJE77uMQgIjejjjj9X1e%2FKirQ%2BEpC6Magg%2BXgrySvuaA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"801c6ebcb92d1c83-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693893895646,\n    \"dt\": 33\n}"}],"_postman_id":"bfd5763e-86c4-4b88-87bd-22aa9f911967"},{"name":"params/account.invoice/read_path","id":"771a7711-dcd6-4167-a3c7-b73d7cf820fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693893896103,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"account.invoice\",\r\n        \"read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"number\",\r\n                \"lines.product_id\",\r\n                \"lines.amount\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 11:04:52\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"account.invoice\",<strong>**\"read_path\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"number\",**</strong>\"lines.product_id\",****\"lines.amount\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"account.invoice\"</code>: This is the model or object name from which you want to retrieve data. In this case, it's the \"account.invoice\" object, which typically represents invoices in an accounting system.</li>\n<li><code>\"read_path\"</code>: This indicates that you want to perform a read operation on the specified object. Reading data typically involves fetching existing records that match certain criteria.</li>\n<li>The third part, which is a list with two elements, specifies the search conditions and the fields you want to retrieve:</li>\n<li><code>[]</code> (an empty list): This part of the request contains the search conditions. In this case, there are no specific search conditions provided (i.e., an empty list), which means you want to retrieve all records without any filtering criteria.</li>\n</ol>\n<ul>\n<li><code>[\"number\", \"lines.product_id\", \"lines.amount\"]</code>: This part specifies the fields you want to retrieve from the \"account.invoice\" object. The fields you want to retrieve are \"number,\" \"lines.product_id,\" and \"lines.amount.\"<ul>\n<li><code>\"number\"</code>: This likely refers to the field that stores the invoice number. In an accounting system, each invoice is typically assigned a unique number for identification purposes. Retrieving this field would give you the invoice numbers associated with the selected invoices.</li>\n<li><code>\"lines.product_id\"</code>: This field likely represents the product associated with each line item on the invoice. In invoices, there are often multiple line items, and each line item may be associated with a specific product or service. Retrieving this field would provide information about the products or services included in the selected invoices.</li>\n<li><code>\"lines.amount\"</code>: This field likely represents the amount or total value associated with each line item on the invoice. In accounting, each line item typically has an associated amount that represents the cost, price, or total value of the product or service. Retrieving this field would give you the amounts associated with each line item in the selected invoices.</li>\n</ul>\n</li>\n<li>The list <code>[\"number\", \"lines.product_id\", \"lines.amount\"]</code> specifies the specific fields you want to extract from the \"account.invoice\" object, providing information about invoice numbers, associated products or services, and the amounts for each line item on the selected invoices.</li>\n</ul>\n<p>In summary, this request is asking to retrieve data from the \"account.invoice\" object, specifically the \"number,\" \"lines.product_id,\" and \"lines.amount\" fields, without applying any specific filter conditions. It would result in fetching all records with these fields from the \"account.invoice\" object.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"b5638cba-63d4-4fb1-961b-cc15b2061a05","name":"params/account.invoice/read_path","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693893896103,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"account.invoice\",\r\n        \"read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"number\",\r\n                \"lines.product_id\",\r\n                \"lines.amount\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 11:04:52\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 05 Sep 2023 06:48:49 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=jI1%2B33s6vpsfuvmP9LjebnmP9lkef%2Bkc8AESNaEXW4JBIugT2hpiEI6sCWt9GBcUiDrT%2F5DiuuIT2H8akzfyQaV8uT2FQDP7bz%2FbmunfRRFAh4wER4l%2B3bqyK8%2FhunLz6NAd9tvl3d8vDE5N9A%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"801c875ddadc1c7a-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693893896103,\n    \"dt\": 21\n}"}],"_postman_id":"771a7711-dcd6-4167-a3c7-b73d7cf820fb"},{"name":"params/product/read","id":"e8d08116-7b14-44c2-b551-63add312bf0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693893896516,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"product\",\r\n        \"read\",\r\n        [\r\n            [],\r\n            [\r\n                \"code\",\r\n                \"name\",\r\n                \"categ_id\",\r\n                \"brand_id\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 11:04:52\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"product\",<strong>**\"read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"code\",**</strong>\"name\",<strong><strong>\"categ_id\",</strong></strong>\"brand_id\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"product\"</code>: This is the name of the Odoo model or database table from which you want to retrieve data. In this case, you are querying the \"product\" model, which typically stores information about various products or items.</li>\n<li><code>\"read\"</code>: This is the operation you want to perform on the \"product\" object. In Odoo, the \"read\" operation is used to retrieve records from the specified model.</li>\n<li><code>[[], [\"code\", \"name\", \"categ_id\", \"brand_id\"]]</code>: This part of the request specifies which fields you want to retrieve for the \"product\" records. Let's break down the components of this list:<ol>\n<li><code>[]</code>: The first element of this list, an empty list, represents a domain or filter. In this case, it's empty, meaning you want to retrieve all records without applying any specific filtering conditions.</li>\n<li><code>[\"code\", \"name\", \"categ_id\", \"brand_id\"]</code>: The second element is a list of field names that you want to retrieve for each product record. Here's what each field represents:<ol>\n<li><code>\"code\"</code>: This likely represents a product code or SKU (Stock Keeping Unit), which is a unique identifier for each product.</li>\n<li><code>\"name\"</code>: This represents the name or title of each product.</li>\n<li><code>\"categ_id\"</code>: This field likely refers to the category or product category to which each product belongs. Categories are used to organize and group similar products together.</li>\n<li><code>\"brand_id\"</code>: This field might represent the brand or manufacturer associated with each product.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the provided \"params\" indicate that you want to perform a \"read\" operation on the \"product\" model to retrieve all records, and you're interested in fetching specific fields such as product code, name, product category, and brand for each product record.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"328c30e2-2824-4c3b-83ef-dbe517898d7e","name":"params/product/read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693893896516,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"product\",\r\n        \"read\",\r\n        [\r\n            [],\r\n            [\r\n                \"code\",\r\n                \"name\",\r\n                \"categ_id\",\r\n                \"brand_id\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 11:04:52\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 05 Sep 2023 07:00:48 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=lAmoNSdGoVsM6Kzm7DO3H3cScqfe2auogYARj8kf4ilFRCrmj5OzHtKGExK%2BAvYHQEAvkV5BRIWBp8O0NJ8HqKpfVtWZsPMvNLjedxzRiWC8pKk1wxQcAnkz4ysZUj%2BDwWXJ3NtYX7e3AqSfpw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"801c98e81a011c88-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693893896516,\n    \"dt\": 4\n}"}],"_postman_id":"e8d08116-7b14-44c2-b551-63add312bf0f"},{"name":"params/account.invoice/search_read_path","id":"075142a5-cdca-461e-ac18-80f606d2d3e1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693893896916,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"account.invoice\",\r\n        \"search_read_path\",\r\n        [\r\n            [\r\n                [\r\n                    \"date\",\r\n                    \">=\",\r\n                    \"2023-08-31T19:00:00.000Z\"\r\n                ],\r\n                [\r\n                    \"date\",\r\n                    \"<=\",\r\n                    \"2023-09-05T18:59:59.515Z\"\r\n                ]\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"lines.amount\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 11:04:52\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"account.invoice\",<strong>**\"search_read_path\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"date\",</strong></strong>\"&gt;=\",<strong>**\"2023-08-31T19:00:00.000Z\"<strong><strong>],<strong><strong>[</strong></strong>\"date\",</strong></strong>\"&lt;=\",**</strong>\"2023-09-05T18:59:59.515Z\"<strong><strong>]</strong></strong>],<strong><strong>[</strong></strong>\"number\",****\"lines.amount\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"account.invoice\"</code>: This is the name of the Odoo model or database table from which you want to retrieve data. In this case, you are querying the \"account.invoice\" model, which typically stores information about invoices.</li>\n<li><code>\"search_read_path\"</code>: This is the type of operation you want to perform on the \"account.invoice\" object. The \"search_read_path\" operation typically allows you to perform a search and retrieve operation with additional path or nested field specifications.</li>\n<li>The portion <code>[ [ \"date\", \"&gt;=\", \"2023-08-31T19:00:00.000Z\" ], [ \"date\", \"&lt;=\", \"2023-09-05T18:59:59.515Z\" ] ]</code> represents a domain or filter condition in an Odoo query. It specifies criteria for selecting records from the \"account.invoice\" model. Let's break down what each part means:<ol>\n<li><code>\"date\"</code>: This represents the field or attribute in the \"account.invoice\" model that you want to filter on. In this case, you want to filter based on the \"date\" field, which typically represents the date when the invoice was created or issued.</li>\n<li><code>\"&gt;=\"</code>: This is an operator that stands for \"greater than or equal to.\" It's used to compare the \"date\" field with the value on its right.</li>\n<li><code>\"2023-08-31T19:00:00.000Z\"</code>: This is a timestamp in ISO 8601 format, which represents a specific date and time. It indicates that you want to select records where the \"date\" is greater than or equal to August 31, 2023, at 19:00:00 UTC.</li>\n<li><code>\"date\"</code> (again): This represents another filter condition on the \"date\" field.</li>\n<li><code>\"&lt;=\"</code>: This is an operator that stands for \"less than or equal to.\" It's used to compare the \"date\" field with the value on its right.</li>\n<li><code>\"2023-09-05T18:59:59.515Z\"</code>: Similar to the previous timestamp, this represents a specific date and time. It indicates that you want to select records where the \"date\" is less than or equal to September 5, 2023, at 18:59:59.515 UTC.</li>\n</ol>\n</li>\n<li>Putting it all together, this domain specifies that you want to retrieve \"account.invoice\" records with a \"date\" that falls within the date range starting from August 31, 2023, at 19:00:00 UTC and ending on September 5, 2023, at 18:59:59.515 UTC. This allows you to filter invoices created or issued within this specific time frame for further analysis or reporting.</li>\n<li><code>[[], [\"number\", \"lines.amount\"]]</code>: This part of the request specifies the conditions for filtering records and the fields you want to retrieve. Let's break down the components:<ol>\n<li><code>[]</code>: The first element of this list is an empty list, indicating that there are no specific domain or filtering conditions applied. This means you want to retrieve all records without any filtering based on specific criteria.</li>\n<li><code>[\"number\", \"lines.amount\"]</code>: The second element is a list of fields that you want to retrieve for each record. Here's what each field represents:<ol>\n<li><code>\"number\"</code>: This likely represents the invoice number, which is a unique identifier for each invoice.</li>\n<li><code>\"lines.amount\"</code>: This appears to be a nested or related field specification. It suggests that you want to retrieve the \"amount\" field from a related object or model called \"lines.\" In the context of invoices, \"lines\" often refers to the line items or details of the invoice, and you want to retrieve the amount associated with those line items.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>The filtering conditions in this request specify that you want to retrieve \"account.invoice\" records where the \"date\" falls within a specific date range in August and September 2023. Additionally, you're interested in retrieving the invoice number (\"number\") and the total amount associated with the invoice lines (\"lines.amount\").</p>\n<p>Overall, this request aims to retrieve invoice records with certain criteria and specific fields, which can be useful for generating reports or analyzing invoice data within that date range.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"3db8dc56-c148-4dd8-b969-5166183457f4","name":"params/account.invoice/search_read_path","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693893896916,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"account.invoice\",\r\n        \"search_read_path\",\r\n        [\r\n            [\r\n                [\r\n                    \"date\",\r\n                    \">=\",\r\n                    \"2023-08-31T19:00:00.000Z\"\r\n                ],\r\n                [\r\n                    \"date\",\r\n                    \"<=\",\r\n                    \"2023-09-05T18:59:59.515Z\"\r\n                ]\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"lines.amount\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 11:04:52\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 05 Sep 2023 07:08:21 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=6TaG6779McHhSqhiTsom9YqcIVqAQePmTXS4n%2FssFcyM0Mgj8pqw59gFDqmkEh%2FZJhzaHsRtd2xVB3RL9hxEUsqZX%2BX6usFO0%2BmakypXP7eGnr6x8IDRuxpkdGzjKI2p45Rgo32l6nMD2AvGCw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"801ca3f7fe6b0bb3-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"id\": 3520,\n            \"number\": \"SI23090004\",\n            \"lines\": [\n                {\n                    \"id\": 9301,\n                    \"amount\": 3400\n                },\n                {\n                    \"id\": 9302,\n                    \"amount\": 1500\n                }\n            ]\n        },\n        {\n            \"id\": 3514,\n            \"number\": \"SI23090001\",\n            \"lines\": [\n                {\n                    \"id\": 9288,\n                    \"amount\": 458.59\n                }\n            ]\n        },\n        {\n            \"id\": 3516,\n            \"number\": \"CR-20230005\",\n            \"lines\": [\n                {\n                    \"id\": 9290,\n                    \"amount\": 2400\n                },\n                {\n                    \"id\": 9291,\n                    \"amount\": 600\n                },\n                {\n                    \"id\": 9292,\n                    \"amount\": 600\n                },\n                {\n                    \"id\": 9293,\n                    \"amount\": 1200\n                },\n                {\n                    \"id\": 9294,\n                    \"amount\": 1800\n                },\n                {\n                    \"id\": 9295,\n                    \"amount\": 4200\n                },\n                {\n                    \"id\": 9296,\n                    \"amount\": 2700\n                },\n                {\n                    \"id\": 9297,\n                    \"amount\": 1500\n                }\n            ]\n        },\n        {\n            \"id\": 3518,\n            \"number\": \"SI23090003\",\n            \"lines\": [\n                {\n                    \"id\": 9299,\n                    \"amount\": 3964\n                }\n            ]\n        },\n        {\n            \"id\": 3517,\n            \"number\": \"SI23090002\",\n            \"lines\": [\n                {\n                    \"id\": 9298,\n                    \"amount\": 4000\n                }\n            ]\n        },\n        {\n            \"id\": 3519,\n            \"number\": \"SI23080016\",\n            \"lines\": [\n                {\n                    \"id\": 9300,\n                    \"amount\": 8972.52\n                }\n            ]\n        }\n    ],\n    \"error\": null,\n    \"id\": 1693893896916,\n    \"dt\": 25\n}"}],"_postman_id":"075142a5-cdca-461e-ac18-80f606d2d3e1"}],"id":"01a19076-6c2a-4cba-b304-9be23c97b6fa","_postman_id":"01a19076-6c2a-4cba-b304-9be23c97b6fa","description":""},{"name":"Stock Expiry Report","item":[{"name":"params/report.stock.expire/get_report_data","id":"a5773c6f-9da9-4693-84dc-83eccd419fb4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693898840131,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.expire\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 12:26:31\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.stock.expire\",<strong>**\"get_report_data\",<strong><strong>[</strong></strong>null**</strong>],<strong><strong>{</strong></strong>\"context\": {<strong><strong>\"limit\": 1000,</strong></strong>\"offset\": 0****}****},</strong></p>\n<ul>\n<li><code>\"report.stock.expire\"</code>: This is the name or identifier of the report you want to generate. In this case, it's \"report.stock.expire,\" which suggests that this report is related to stock expiration.</li>\n<li><code>\"get_report_data\"</code>: This part indicates the method or action you want to perform on the report. In this context, you want to retrieve data for the report.</li>\n<li><code>[null]</code>: This is an array that contains parameters to be passed to the \"get_report_data\" method. However, in this case, there are no specific parameters provided, as it contains only <code>null</code>. This might imply that you want to retrieve data for the \"report.stock.expire\" report without any specific additional filtering or criteria.</li>\n<li><code>{ \"context\": { \"limit\": 1000, \"offset\": 0 } }</code>: This is a context dictionary that provides additional settings or configuration for the report generation. Here's what each part means:<ul>\n<li><code>\"context\"</code>: This specifies that you are providing context settings for the report generation.</li>\n<li><code>\"limit\": 1000</code>: This setting indicates that you want to limit the number of records returned in the report to 1000. It restricts the report to a maximum of 1000 rows of data.</li>\n<li><code>\"offset\": 0</code>: This setting specifies the starting point for retrieving data. In this case, it's set to 0, which means data retrieval should start from the beginning.</li>\n</ul>\n</li>\n</ul>\n<p>In summary, this \"params\" block requests the generation of the \"report.stock.expire\" report with a maximum limit of 1000 records, starting from the beginning of the dataset, and without providing any specific additional parameters for data filtering or selection.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"6c3c06b3-b811-4017-84b7-f5b83895cb1c","name":"params/report.stock.expire/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693898840131,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.expire\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 12:26:31\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 05 Sep 2023 07:35:40 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=njgYAQAACHaEjwlYQBUwOp40%2F00qEXlk5wOHpKPWhEciE7ajCmKUzHSZjATqhgKbANrJ0ZbITJuaAFR2e8BRK%2Fi76mpobKwTEgUmo%2FKyxUAuOXKKHLVeCdFl97UlNj4m9RC7GwwTrLX%2Fgj%2Fd7Q%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"801ccbfd8cd10bc8-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"company_name\": \"SmartB\",\n        \"date\": \"2023-09-05\",\n        \"months\": [\n            {\n                \"month_name\": \"Sep 2023\"\n            },\n            {\n                \"month_name\": \"Oct 2023\"\n            },\n            {\n                \"month_name\": \"Nov 2023\"\n            },\n            {\n                \"month_name\": \"Dec 2023\"\n            },\n            {\n                \"month_name\": \"Jan 2024\"\n            },\n            {\n                \"month_name\": \"Feb 2024\"\n            },\n            {\n                \"month_name\": \"Mar 2024\"\n            },\n            {\n                \"month_name\": \"Apr 2024\"\n            },\n            {\n                \"month_name\": \"May 2024\"\n            },\n            {\n                \"month_name\": \"Jun 2024\"\n            },\n            {\n                \"month_name\": \"Jul 2024\"\n            },\n            {\n                \"month_name\": \"Aug 2024\"\n            }\n        ],\n        \"lines\": [\n            {\n                \"prod_code\": \"P-0006\",\n                \"prod_name\": \"Test Prod\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"P-0009a\",\n                \"prod_name\": \"TSC 244 Pro Label Printer \",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"Z70\",\n                \"prod_name\": \"Fanless Mini PC\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"Z80\",\n                \"prod_name\": \"T80: Android Handheld Data Collector\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"Z90\",\n                \"prod_name\": \"U9000S : Handheld Terminal - Z90\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZB31\",\n                \"prod_name\": \"VB601: Wireless Video Baby Monitor\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZB63\",\n                \"prod_name\": \"TC-NU08: Electric baby Nail Clipper\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZB66\",\n                \"prod_name\": \"Octopus Electric Nail Clipper (Yellow)\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZB67\",\n                \"prod_name\": \"Vanrro Baby Nail Trimmer (Pink)\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZB68\",\n                \"prod_name\": \"Vanrro Baby Nail Trimmer (Blue)\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZC53\",\n                \"prod_name\": \"V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZC54\",\n                \"prod_name\": \"A9 JIELI : night vision wifi mini camera for indoor with outdoor\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZC57\",\n                \"prod_name\": \"CF-812AC AP-AC1300 : High speed usb wireless wifi network adapter up to 1300mbps\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZC58\",\n                \"prod_name\": \"CF-727B : OEM support RTL8822BU Comfast dualband BT4.2 1300Mbps wireless adapter usb adapter for PC\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZC59\",\n                \"prod_name\": \"FX8811 : 600Mbps 2 in 1 Dual band usb wifi bluetooth adapter wifi dongle\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZC77\",\n                \"prod_name\": \"MS1968 : V-neck Knee Length Button Dress Casual Wear Maternity Dress\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZC80\",\n                \"prod_name\": \"A1710 : Women Pleated Knit Dress Long Sleeve\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZE61\",\n                \"prod_name\": \"Redmi Airdots2 :\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZE62\",\n                \"prod_name\": \"12000 : F9 In-ear Headset Low Price Wireless Sports Earphone With Bluetooth\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZL22\",\n                \"prod_name\": \"K-626: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZL28\",\n                \"prod_name\": \"K-621: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZL29\",\n                \"prod_name\": \"K-926 : 2D desktop barcode scanner\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZM03 - A\",\n                \"prod_name\": \"M2B01: Nursing Cover Type A\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZM03 - B\",\n                \"prod_name\": \"M2B01: Nursing Cover Type B\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZM03 - C\",\n                \"prod_name\": \"M2B01: Nursing Cover Type C\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZM03 - E\",\n                \"prod_name\": \"M2B01: Nursing Cover Type E\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZM04\",\n                \"prod_name\": \"ZOCZ-13 : Nursing shawl cover\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZM09\",\n                \"prod_name\": \"KL-AY012 : Brown Safety Lock Wardrobe Door\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZN38\",\n                \"prod_name\": \"NT-1228BL Netum Usb 2D Bluetooth Barcode Scanner\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZP47\",\n                \"prod_name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZR56\",\n                \"prod_name\": \"R20D: USB interface Proximity 125Khz RFID reader smart card\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZS04\",\n                \"prod_name\": \"CET-K32 fingerprint (Red Bronze) : Smart Digital Biometric Fingerprint Door Lock (NO APP)\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZS05\",\n                \"prod_name\": \"CET-K32 Smartphone (Black) : Smart Digital Biometric Fingerprint Door Lock (NO APP)\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZS06\",\n                \"prod_name\": \"BEL-402 : Single Latch Fingerprint Door Lock\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZS30\",\n                \"prod_name\": \"SanDisk: Ultra Sandisk Micro SD Card\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZT32\",\n                \"prod_name\": \"EVHK0049 / 1100D / U-1100 / 1100: Tera Mini Bar Code Reader\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZT34\",\n                \"prod_name\": \"8100 Orange: Tera QR 1D 2D Wireless Wired Bluetooth Scanner 3 In 1 Heavy Duty\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZT43\",\n                \"prod_name\": \"EVHK0053 : Tera 2D 1D Wireless Barcode Scanner 3 in 1 Bluetooth Vibration Alert Scanner\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZT48\",\n                \"prod_name\": \"6900 : Tera 1D Wired Barcode Scanner with Stand\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZT49\",\n                \"prod_name\": \"1031 : 1D Wired Laser Barcode Scanner  w/o Stand\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZT50\",\n                \"prod_name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZT51\",\n                \"prod_name\": \"EVHK0047 / HW0005 : Tera Wireless 1D 2D QR Barcode Scanner 2-in-1 handheld Scanner with display CMOS with Stand\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZT52\",\n                \"prod_name\": \"HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZT70\",\n                \"prod_name\": \"711: 2D Wired Barcode Scanner\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZT70S\",\n                \"prod_name\": \"711 : Stand\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZT71\",\n                \"prod_name\": \"EVHK0030 : Tera 2D Wireless Barcode Scanner with Charging Cradle\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZT72\",\n                \"prod_name\": \"Tera-0012 : Tera 2D Wireless Portable Back Clip 1D 2D QR Bar Code Reader with Bluetooth image scanning\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZT80\",\n                \"prod_name\": \"780 : Tera Fixed Mount 1D 2D Scanners QR Reader Desktop Platform\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZV66\",\n                \"prod_name\": \"YH-02: BOOMJOY 6500PA Cordless Handheld Portable Vacuum Cleaner with Rechargeable\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZV67\",\n                \"prod_name\": \"D01-CC0002 : 6000pa Strong Power Car Vacuum Cleaner USB Rechargeable\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            },\n            {\n                \"prod_code\": \"ZX30\",\n                \"prod_name\": \"AX1800: Xiaomi router Wifi\",\n                \"months\": [\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    },\n                    {\n                        \"exp_qty\": 0\n                    }\n                ]\n            }\n        ]\n    },\n    \"error\": null,\n    \"id\": 1693898840131,\n    \"dt\": 58\n}"}],"_postman_id":"a5773c6f-9da9-4693-84dc-83eccd419fb4"},{"name":"params/report.stock.expire/default_read","id":"615ce9a1-2b92-4052-a2e0-632df358f05e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693898840127,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.expire\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date\",\r\n                \"forecast_days\",\r\n                \"product_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 12:26:31\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.stock.expire\",<strong>**\"default_get\",<strong><strong>[</strong></strong>[**</strong>\"date\",<strong><strong>\"forecast_days\",</strong></strong>\"product_id\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>Report Type</strong>: \"report.stock.expire\" indicates the type or category of the report you are working with. In this case, it pertains to stock expiration.</li>\n<li><strong>Operation</strong>: \"default_get\" specifies the type of operation you are performing on the report. It typically means you're retrieving default values for the report parameters.</li>\n<li><strong>Parameters</strong>: Within the innermost array <code>[\"date\", \"forecast_days\", \"product_id\"]</code>, you have listed the specific parameters for which you want to retrieve default values. These parameters include:<ol>\n<li><code>\"date\"</code>: This parameter is likely related to specifying a date range for the report. It suggests that when you generate or interact with the report, the default date value should be set based on this parameter.</li>\n<li><code>\"forecast_days\"</code>: This parameter may pertain to setting the number of forecast days for the report. It determines the period for which the report will provide forecasts.</li>\n<li><code>\"product_id\"</code>: This parameter likely indicates the default product or product category that will be used when generating the report. It sets the initial selection for the report's product-related filters.</li>\n</ol>\n</li>\n<li><strong>Context</strong>: The <code>{ \"context\": {} }</code> object may provide additional context or settings for this operation. In this case, it seems to be empty, indicating that no specific context settings are applied.</li>\n</ol>\n<p>In summary, this \"params\" block requests the default values for the \"report.stock.expire\" report, specifically for the \"date,\" \"forecast_days,\" and \"product_id\" parameters, and it does not specify any additional context settings for the request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"c7cbf582-754f-4151-b722-a0833993db8f","name":"params/report.stock.expire/default_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693898840127,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.expire\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date\",\r\n                \"forecast_days\",\r\n                \"product_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 12:26:31\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 05 Sep 2023 07:49:10 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=rG7aMQ%2BBh4ZK9KL2JG4r4qX2KeoAzB8vzPoLSmdmGYvgt4pT5XF%2F3DxBNPkyYC%2F%2BhlIgeckJ2IXzv5fPA51GTKcHQfhq%2F4pKv%2FWIWHGAbLFJFiYvJIWf0Jq7pAnMSdj6QTWlMBnc3lnu47Vkrw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"801cdfc298bb0a6b-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": null,\n    \"error\": {\n        \"message\": \"terminating connection due to administrator command\\nSSL connection has been closed unexpectedly\\n\"\n    },\n    \"id\": 1693898840127\n}"}],"_postman_id":"615ce9a1-2b92-4052-a2e0-632df358f05e"}],"id":"f6d4d864-831f-4302-bc73-2d29daac8b8c","_postman_id":"f6d4d864-831f-4302-bc73-2d29daac8b8c","description":""},{"name":"Project Stock Report","item":[{"name":"params/report.stock.project/default_get","id":"ec2b85b8-9b5a-498d-ae51-3d569eb90679","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693900894970,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.project\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"track_id\",\r\n                \"contact_id\",\r\n                \"number\",\r\n                \"status\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 13:01:06\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.stock.project\",<strong>**\"default_get\",<strong><strong>[</strong></strong>[**</strong>\"date_from\",<strong><strong>\"date_to\",</strong></strong>\"track_id\",<strong><strong>\"contact_id\",</strong></strong>\"number\",****\"status\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><strong>Report Type</strong>: \"report.stock.project\" specifies the type or category of the report you are working with. In this case, it likely relates to stock project reporting.</li>\n<li><strong>Operation</strong>: \"default_get\" indicates that you are performing an operation to retrieve default values for the parameters of this report.</li>\n<li><strong>Parameters</strong>: Within the innermost array <code>[\"date_from\", \"date_to\", \"track_id\", \"contact_id\", \"number\", \"status\"]</code>, you have listed the specific parameters for which you want to retrieve default values. These parameters include<ol>\n<li><strong>date_from</strong>: This parameter likely represents the starting date or the beginning of a date range for filtering stock project reports. It specifies the earliest date from which you want the report data to be considered.</li>\n<li><strong>date_to</strong>: This parameter probably represents the ending date or the conclusion of a date range for filtering stock project reports. It specifies the latest date up to which you want the report data to be considered.</li>\n<li><strong>track_id</strong>: This parameter could refer to a tracking identifier or code associated with stock projects. It allows you to filter or search for reports related to a specific tracking ID.</li>\n<li><strong>contact_id</strong>: This parameter may represent the contact or customer associated with stock projects. It enables you to filter reports based on a particular contact or customer.</li>\n<li><strong>number</strong>: This parameter likely refers to a project or report number. It allows you to filter or search for reports by a specific project or report number.</li>\n<li><strong>status</strong>: This parameter might represent the status or state of the stock projects. It allows you to filter or categorize reports based on their current status, such as \"completed,\" \"in progress,\" or \"pending.\"</li>\n</ol>\n</li>\n</ol>\n<p>In summary, These parameters, when used in a report generation context, provide a way to customize and filter the data included in stock project reports. Users can input specific values for these parameters to retrieve the desired information from the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"78ccea30-3abe-4410-984b-87515c0a383e","name":"params/report.stock.project/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693900894970,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.project\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"track_id\",\r\n                \"contact_id\",\r\n                \"number\",\r\n                \"status\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 13:01:06\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 05 Sep 2023 08:19:08 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=OKMkAcofF4hbXw9XuyaWat9jhQL37biUBXDO3QPLcfv690BGUjxgGJR9SfxQUG82uahET4yi1DOPNFop6%2F0bcHe6gXLXnDDMxwbI6lSKdwsSpX9fw2WEISRdUNyXGqMQW8AS2JX%2Bco3MOl4VJg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"801d0ba6ac470a6c-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"date_from\": \"2023-09-01\",\n        \"date_to\": \"2023-09-30\",\n        \"track_id\": null,\n        \"contact_id\": null,\n        \"number\": null,\n        \"status\": null\n    },\n    \"error\": null,\n    \"id\": 1693900894970,\n    \"dt\": 6\n}"}],"_postman_id":"ec2b85b8-9b5a-498d-ae51-3d569eb90679"},{"name":"params/report.stock.project/get_report_data","id":"bb83f52a-4641-4ae6-b147-18036c32fb9f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693900894975,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.project\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 13:01:06\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.stock.project\",<strong>**\"get_report_data\",<strong><strong>[</strong></strong>null**</strong>],<strong><strong>{</strong></strong>\"context\": {<strong><strong>\"limit\": 1000,</strong></strong>\"offset\": 0****}****},</strong></p>\n<ol>\n<li><strong>\"report.stock.project\"</strong>: This parameter specifies the type or name of the report you want to generate. In this case, it's \"report.stock.project,\" indicating that you want to create a report related to stock projects.</li>\n<li><strong>\"get_report_data\"</strong>: This parameter indicates the action you want to perform with the specified report type. In this case, it's \"get_report_data,\" which means you want to retrieve the actual data contained in the stock project report.</li>\n<li><strong>[null]</strong>: This parameter appears to be an empty placeholder for additional filters or criteria. Since it's set to null, it implies that you want to retrieve all available data in the stock project report without applying any specific filters or conditions.</li>\n<li><strong>Context</strong>: This section provides additional context or settings for the report generation process:<ol>\n<li><strong>\"limit\": 1000</strong>: This context setting defines a limit on the number of records or entries that should be included in the report. In this case, the limit is set to 1000, which means that the report will include up to 1000 records.</li>\n<li><strong>\"offset\": 0</strong>: The \"offset\" context setting determines where the report should start including records. An offset of 0 indicates that the report should start from the beginning (i.e., the first record).</li>\n</ol>\n</li>\n</ol>\n<p>Together, these parameters and context settings specify that you want to retrieve all available data from the \"report.stock.project\" without applying any specific filters, and you want the report to include a maximum of 1000 records, starting from the first record (offset 0).</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"a918e5c4-6158-4674-ace5-1c7761d985b4","name":"params/report.stock.project/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693900894975,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.stock.project\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 13:01:06\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 05 Sep 2023 08:27:03 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=AVF50KegP2XlMQeOJca8%2F7r3yhqDEE91bENl6GjCL6RV0VUrXKFK%2BzYduxaaV5CC0f8tg7TN6XaP1El3GOg34ru1fl8LTjOKXqMP2B6DufpkYwigISAOweyLRKvSTMmdwAKDDZs1St1flaJ5Ng%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"801d17401ced0be0-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"date_from\": \"2023-09-01\",\n        \"date_to\": \"2023-09-30\",\n        \"lines\": []\n    },\n    \"error\": null,\n    \"id\": 1693900894975,\n    \"dt\": 23\n}"}],"_postman_id":"bb83f52a-4641-4ae6-b147-18036c32fb9f"}],"id":"7754731c-2986-4f78-b12e-6f04a8aa2443","_postman_id":"7754731c-2986-4f78-b12e-6f04a8aa2443","description":""}],"id":"e9f4f4cf-3e77-4305-bb70-781ccc7f67c7","_postman_id":"e9f4f4cf-3e77-4305-bb70-781ccc7f67c7","description":""},{"name":"Costing","item":[{"name":"Compute Cost","item":[{"name":"params/inline.help/search_read","id":"844974b6-32a2-43aa-bd5c-a1060417db76","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693902816593,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_compute_cost\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 13:33:21\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"stock_compute_cost\"<strong><strong>]</strong></strong>]**</strong>],**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This parameter specifies the type or name of the resource or functionality you want to access or interact with. In this case, it's \"inline.help,\" indicating that you want to access inline help or guidance related to a specific task or action.</li>\n<li><strong>\"search_read\"</strong>: This parameter indicates the type of operation or action you want to perform on the specified resource. \"search_read\" is a common operation in database systems that retrieves records based on specified criteria.</li>\n<li><strong>[[\"action\", \"=\", \"stock_compute_cost\"]]</strong>: This is a filter or search domain that defines the criteria for retrieving records. Let's break it down:<ol>\n<li><strong>\"action\"</strong>: This is the field or attribute you want to filter on. In this case, you are looking for records related to a specific action.</li>\n<li><strong>\"=\"</strong>: This is the operator used for comparison. It indicates that you want to find records where the \"action\" field is equal to a specific value.</li>\n<li><strong>\"stock_compute_cost\"</strong>: This is the specific value you are looking for in the \"action\" field. It's the action you want to retrieve records for.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, when you execute these parameters, it will perform a \"search_read\" operation on the \"inline.help\" resource, looking for records where the \"action\" field is equal to \"stock_compute_cost.\" This can be useful when you need guidance or information related to the calculation of stock costs.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"6f0fe637-158d-4e71-9fa0-21d31cec6d18","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693902816593,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_compute_cost\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 13:33:21\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 05 Sep 2023 09:48:09 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=yyjmuTlK%2BBuClYsRtKb%2FkTv2tH4C6BbzTWnPFuazEsheVPg%2F5qLBWLEkUipwtWxzfHVdn6QPfiNrfGrP99NsLBT6HYRfaC1tL7iBWRab2bHY7NQCK4hwsaIdhsAnsO3s9bGqejRF4bgOZl3sUg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"801d8e0e7d1a1c92-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693902816593,\n    \"dt\": 27\n}"}],"_postman_id":"844974b6-32a2-43aa-bd5c-a1060417db76"},{"name":"params/stock.compute.cost/default_get","id":"7395025d-56d9-4a4a-a17c-137a8d2c15f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693902816599,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.compute.cost\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"create_uid\",\r\n                \"create_time\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 13:33:21\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.compute.cost\",<strong>**\"default_get\",<strong><strong>[</strong></strong>[**</strong>\"create_uid\",****\"create_time\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><strong>\"stock.compute.cost\"</strong>: This parameter specifies the type or name of the resource or functionality you want to access or interact with. In this case, it's \"stock.compute.cost,\" indicating that you want to perform operations related to the computation of stock costs.</li>\n<li><strong>\"default_get\"</strong>: This parameter indicates the type of operation you want to perform on the specified resource. \"default_get\" is typically used to retrieve default values or settings for specific fields.</li>\n<li><strong>[[\"create_uid\", \"create_time\"]]</strong>: This is a list of fields for which you want to retrieve default values. Let's break it down:<ol>\n<li><strong>\"create_uid\"</strong>: This field represents the user ID of the creator or author of a record. By including it in the list, you are requesting the default value for the \"create_uid\" field.</li>\n<li><strong>\"create_time\"</strong>: This field likely represents the timestamp or date and time when a record is created. Including it in the list means you want to retrieve the default value for the \"create_time\" field.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, when you execute these parameters, it will perform a \"default_get\" operation on the \"stock.compute.cost\" resource to retrieve default values for the \"create_uid\" and \"create_time\" fields. These default values can be useful when creating new records or entries related to stock cost computation, and they might help populate these fields with predefined values.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"553a5460-17c2-40c7-b594-5f8cd0b27588","name":"params/stock.compute.cost/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693902816599,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.compute.cost\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"create_uid\",\r\n                \"create_time\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-05 13:33:21\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 05 Sep 2023 09:56:12 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=L0jq1wsKNpH9Cou7KZDw6mwsRIgD5J8ufM2gRtBhVY2G54%2B4ZI3Wo3HNIKWStutJr4xqtFNxWPDFEVsWnoQx4B40k%2B7Ao4GCUWcSTz6%2Fr91msdn3e%2Bh1cd68rssS%2FK7ebAdcmKwzkXFU%2F0uSsQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"801d99d8ddbe1c7d-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"create_uid\": null,\n        \"create_time\": null\n    },\n    \"error\": null,\n    \"id\": 1693902816599,\n    \"dt\": 9\n}"}],"_postman_id":"7395025d-56d9-4a4a-a17c-137a8d2c15f5"}],"id":"56fb6e38-fdef-4605-94c8-5861547484ee","_postman_id":"56fb6e38-fdef-4605-94c8-5861547484ee","description":""},{"name":"Stock Periods","item":[{"name":"params/inline.help/search_read","id":"6c317519-b496-464e-be81-85d6e83ce358","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693971671413,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_period\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 08:40:34\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"stock_period\"<strong><strong>]</strong></strong>]**</strong>],**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This parameter specifies the type or name of the resource or functionality you want to access or interact with. In this case, it's \"inline.help,\" indicating that you want to perform operations related to inline help functionality.</li>\n<li><strong>\"search_read\"</strong>: This parameter indicates the type of operation you want to perform on the specified resource. \"search_read\" is commonly used to search for records in a resource based on specific criteria and retrieve their data.</li>\n<li><strong>[[[\"action\", \"=\", \"stock_period\"]]]</strong>: This is a list of search criteria or domain filters to filter the records you want to retrieve. Let's break it down:<ol>\n<li><strong>[[\"action\", \"=\", \"stock_period\"]]</strong>: This innermost list contains a single condition for filtering records. It's specifying that you want to search for records where the \"action\" field is equal to \"stock_period.\" This condition will filter records related to stock periods.<ol>\n<li><strong>\"action\"</strong>: This is the field or attribute on which you want to filter the records. In this case, it's the \"action\" field.</li>\n<li><strong>\"=\"</strong>: This is the operator used for comparison. Here, \"=\" signifies that you want to filter records where the \"action\" field is equal to the specified value.</li>\n<li><strong>\"stock_period\"</strong>: This is the value you're comparing the \"action\" field to. It indicates that you want to retrieve records where the \"action\" field matches the value \"stock_period.\"</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, when you execute these parameters, it will perform a \"search_read\" operation on the \"inline.help\" resource with the condition that fetches records related to \"stock_period.\" This can be useful when you want to retrieve information or help content specifically related to stock period functionality in your application.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"cf175a17-e8da-47ea-8a7d-98f01a1789a9","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693971671413,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_period\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 08:40:34\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 06 Sep 2023 03:55:51 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=yUoz9nJA2OcP79sOEQWscjXlU3HwuF2EvDwcEVOEnekKEFRpO7M7ClCo084IRk7iY7s4zK1qWrtRseP%2BIM7HvEt%2FFHTrlwENRbdKmVDHE0GX7cLL2U5bEI3B95vOF%2FWA9uR%2B6x1ajGB%2BCdJ0xA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8023c75b6b2bd1f0-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693971671413,\n    \"dt\": 12\n}"}],"_postman_id":"6c317519-b496-464e-be81-85d6e83ce358"},{"name":"params/stock.period/search_read","id":"c6b6219b-d965-4682-b77f-3e2ab6e52fe6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693971671426,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.period\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"state\",\r\n                \"num_stock_moves\",\r\n                \"num_posted_stock_moves\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 08:40:34\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.period\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[]<strong><strong>],<strong><strong>[</strong></strong>\"number\",</strong></strong>\"date_from\",<strong><strong>\"date_to\",</strong></strong>\"state\",<strong><strong>\"num_stock_moves\",</strong></strong>\"num_posted_stock_moves\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"order\": null,</strong></strong>\"offset\": 0,<strong><strong>\"limit\": 100,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"stock.period\"</strong>: This indicates that you are performing the search and read operation on the \"stock.period\" entity or model. In the context of an application or system, \"stock.period\" likely represents a specific period or timeframe related to stock or inventory management.</li>\n<li><strong>\"search_read\"</strong>: This specifies the type of operation being performed, which is a search and read operation. In this operation, you are searching for records that match certain criteria and then reading specific fields from those matching records.</li>\n<li><strong>[[]]</strong>: This is the domain filter for the search operation. However, in this case, it's an empty list, indicating that there are no specific filter conditions. This means you want to retrieve all records without applying any specific filters based on the domain.</li>\n<li>The list <code>[\"number\", \"date_from\", \"date_to\", \"state\", \"num_stock_moves\", \"num_posted_stock_moves\"]</code> represents the fields or attributes of the \"stock.period\" entity that you want to retrieve as part of your search and read operation. Each field serves as a criterion for specifying which information you want to extract from the records in the \"stock.period\" entity. Here's an explanation of each field:<ol>\n<li><strong>\"number\"</strong>: This field corresponds to the \"number\" attribute in the \"stock.period\" entity. It likely represents a unique identifier or code associated with a specific stock period.</li>\n<li><strong>\"date_from\"</strong>: This field represents the \"date_from\" attribute in the \"stock.period\" entity, which typically indicates the starting date of the stock period. It's a timestamp or date value.</li>\n<li><strong>\"date_to\"</strong>: Similar to \"date_from,\" this field corresponds to the \"date_to\" attribute in the \"stock.period\" entity, signifying the ending date of the stock period.</li>\n<li><strong>\"state\"</strong>: The \"state\" field is associated with the \"state\" attribute in the \"stock.period\" entity. It likely describes the current status or condition of the stock period, such as \"open,\" \"closed,\" or \"in progress.\"</li>\n<li><strong>\"num_stock_moves\"</strong>: This field probably corresponds to the \"num_stock_moves\" attribute in the \"stock.period\" entity. It might represent the total number of stock moves or transactions that occurred during the specified period.</li>\n<li><strong>\"num_posted_stock_moves\"</strong>: This field likely corresponds to the \"num_posted_stock_moves\" attribute in the \"stock.period\" entity. It might indicate the count of stock moves that have been officially posted or recorded in the system during the stock period.</li>\n</ol>\n</li>\n<li><strong>{<strong><strong>\"count\": true,</strong></strong>\"order\": null,<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>}</strong>: These are additional options and settings for the search operation:<ol>\n<li><strong>\"count\": true</strong>: This indicates that you want to include a count of the total number of records that match the search criteria. It's used to determine how many records match the search, even if you are limiting the number of records returned (as specified by \"limit\").</li>\n<li><strong>\"order\": null</strong>: The \"order\" option is set to null, which means that there is no specific ordering or sorting applied to the retrieved records. They will be returned in the default order.</li>\n<li><strong>\"offset\": 0</strong>: This sets the starting position of the result set to 0, meaning you want to start fetching records from the beginning.</li>\n<li><strong>\"limit\": 100</strong>: This specifies that you want to limit the number of records returned to 100. If there are more matching records, only the first 100 will be retrieved.</li>\n<li><strong>\"context\": {}</strong>: The \"context\" option is provided, but it's empty in this case. In some systems, the context can be used to provide additional information or parameters for the search operation, but here it's not being utilized.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this \"params\" structure defines a search and read operation on the \"stock.period\" entity, retrieving all records (due to the empty domain filter) and returning specific fields while also including a count of the total number of matching records. The retrieved records are not sorted, and the result is limited to the first 100 records.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"08942817-4c27-4558-a049-c301258e3362","name":"params/stock.period/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693971671426,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.period\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"state\",\r\n                \"num_stock_moves\",\r\n                \"num_posted_stock_moves\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 08:40:34\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 06 Sep 2023 04:08:35 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=0S9XuWG%2BRF9W8%2BpYB%2FrdTwwA%2FEwG5TDcnsUbFywF36mSz4tXolmEUEGFw7%2BRLbu2FGPLP4qbqkSx3HpAJr5Glj%2BZEADg%2BKhKBFTOx7kf4y2kHmVxln1vYcexh1%2B9PQ4fUp5P4sGBFrKoZ5AN7w%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8023da007b40d1ec-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1693971671426,\n    \"dt\": 16\n}"}],"_postman_id":"c6b6219b-d965-4682-b77f-3e2ab6e52fe6"}],"id":"12ed37c1-2f5c-4483-a052-177f3b0f8c87","_postman_id":"12ed37c1-2f5c-4483-a052-177f3b0f8c87","description":""}],"id":"403b5a79-1db0-4257-9699-589ad5238b62","_postman_id":"403b5a79-1db0-4257-9699-589ad5238b62","description":""},{"name":"Other","item":[{"name":"Stock Ordering","item":[{"name":"params/inline.help/search_read","id":"cc23d455-2fbe-4e9c-b5b2-2df37d2737d4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693974077242,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_order\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 09:20:36\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"stock_order\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><code>\"inline.help\"</code>: This is the first element and represents the Odoo model or entity type you want to search within. In this case, it's \"inline.help.\"</li>\n<li><code>\"search_read\"</code>: The second element specifies the action you want to perform on the \"inline.help\" entity. \"search_read\" is a common action in Odoo that retrieves records based on specific criteria.</li>\n<li>The third element is a list containing a search domain, which defines the filtering criteria for the records you want to retrieve. Here's the breakdown of the search domain:<ol>\n<li>[[\"action\", \"=\", \"stock_order\"]]: This is a domain filter. It's an inner list with one condition. It filters records where the \"action\" attribute is equal to \"stock_order.\" This condition helps narrow down the search to records related to stock orders.<ol>\n<li>\"action\": This is the field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li>\"=\": This operator is used to specify the type of comparison you want to perform. In this case, it's an equality comparison, which means you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li>\"stock_order\": This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li>{}: The fourth element is an empty dictionary, which typically can be used to pass additional options or context to the search_read operation. In this case, no additional context is specified.</li>\n</ol>\n<p>In summary, these parameters are used to perform a search and read operation on the \"inline.help\" entity, looking for records related to \"stock_order.\" The search is based on the condition that the \"action\" attribute should be equal to \"stock_order.\"</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"347c5197-5392-4079-b32e-9ae5357dc0e3","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693974077242,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_order\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 09:20:36\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 06 Sep 2023 04:22:48 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=qQ%2F5z67gQ30wxKTUXFmIz%2Bbxu4GAyapqxaHGyMzXnBRwVmFyM29pAyl65EZH044psNB80r0R6S94%2B8xa6mrkRvx48w6DEcqUXdyTRCYG%2FOfg8zrue4oBfZ83ojGqLPcpxyCx%2F55q8Qkc2Vw1vA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8023eed92c7ab7b5-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693974077242,\n    \"dt\": 5\n}"}],"_postman_id":"cc23d455-2fbe-4e9c-b5b2-2df37d2737d4"},{"name":"params/stock.order/default_get","id":"190bb8a9-7bb2-409d-bba9-7759bc997329","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693974077256,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.order\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"lines\",\r\n                \"confirm_orders\",\r\n                \"create_uid\",\r\n                \"create_time\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 09:20:36\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.order\",<strong>**\"default_get\",<strong><strong>[</strong></strong>[**</strong>\"lines\",<strong><strong>\"confirm_orders\",</strong></strong>\"create_uid\",<strong>**\"create_time\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"stock.order\"</strong>: This is the first element, and it represents the Odoo model or entity type you want to interact with. In this case, it's \"stock.order,\" which likely refers to orders related to stock management.</li>\n<li><strong>\"default_get\"</strong>: The second element specifies the action you want to perform on the \"stock.order\" entity. In Odoo, \"default_get\" is often used to retrieve default values or records based on certain criteria.</li>\n<li><strong>Search Criteria</strong> : The third element is a list containing search criteria. These criteria define which records you want to retrieve. Here's the breakdown of the search criteria:<ol>\n<li><strong>\"lines\"</strong>: This field indicates that you want to retrieve records related to the \"lines\" attribute within the \"stock.order\" entity. It might be used to fetch order lines associated with stock orders.</li>\n<li><strong>\"confirm_orders\"</strong>: This criterion suggests that you're interested in records related to the confirmation status of orders. It might help filter orders based on whether they have been confirmed or not.</li>\n<li><strong>\"create_uid\"</strong>: This field specifies that you want to filter records based on the user who created them. It could be useful for retrieving orders created by specific users.</li>\n<li><strong>\"create_time\"</strong>: This criterion likely represents the timestamp of when the records were created. You might want to use it to fetch orders created within a certain time frame.</li>\n</ol>\n</li>\n<li><strong>Context</strong>: The fourth element is a dictionary, which is often used to pass additional options or context to the \"default_get\" operation. In this case, no specific additional context is specified, as it's an empty dictionary.</li>\n</ol>\n<p>In summary, this \"params\" data structure seems to be designed for retrieving specific records or default values related to stock orders based on the provided criteria.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"bcfcb579-1ccf-4c7f-aace-bb9946acff88","name":"params/stock.order/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693974077256,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.order\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"lines\",\r\n                \"confirm_orders\",\r\n                \"create_uid\",\r\n                \"create_time\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 09:20:36\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 06 Sep 2023 06:29:09 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=8jxz11qnaxJRuALzamHdK2YPn5iS7FV8WmIKKG%2BkQYExS36rVZ1V%2BDCXoJ3qD1AEkcnlpK2orU%2FaINfHdcF8ZZvnoolmYaTeJj6%2BYnRydFndxRbciDL4I%2BpDla%2BmMlsfyfU%2Fp11ncTdBd5lIig%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8024a7ec9e85b75a-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"lines\": null,\n        \"confirm_orders\": null,\n        \"create_uid\": null,\n        \"create_time\": null\n    },\n    \"error\": null,\n    \"id\": 1693974077256,\n    \"dt\": 7\n}"}],"_postman_id":"190bb8a9-7bb2-409d-bba9-7759bc997329"}],"id":"de86579b-7190-4d73-9f6a-cadef3afdd8e","_postman_id":"de86579b-7190-4d73-9f6a-cadef3afdd8e","description":""},{"name":"Stock Forecast","item":[{"name":"params/inline.help/search_read","id":"6c0abda8-fbc1-4d1a-9f18-5f08ceb4f24c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693982870216,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_forecast\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 11:47:21\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"inline.help\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"action\",<strong>\"=\",</strong>\"stock_forecast\"<strong>]</strong>]<strong>],</strong></p>\n<ol>\n<li><strong>\"inline.help\":</strong> The first element, \"inline.help,\" represents the Odoo model or entity type you want to search within. In this case, it's \"inline.help.\"</li>\n<li><strong>\"search_read\":</strong> The second element, \"search_read,\" specifies the action you want to perform on the \"inline.help\" entity. \"search_read\" is a common action in Odoo that retrieves records based on specific criteria.</li>\n<li><strong>[[ \"action\", \"=\", \"stock_forecast\" ]]</strong>: The third element is a list containing a search domain. The search domain defines the filtering criteria for the records you want to retrieve. Here's the breakdown of the search domain:<ol>\n<li><strong>[[ \"action\", \"=\", \"stock_forecast\" ]]</strong>: This is a domain filter, an inner list with one condition. It filters records where the \"action\" attribute is equal to \"stock_forecast.\" This condition helps narrow down the search to records related to stock forecasts.<ol>\n<li><strong>\"action\"</strong>: This is the field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li><strong>\"=\"</strong>: This operator is used to specify the type of comparison you want to perform. In this case, it's an equality comparison, which means you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li><strong>\"stock_forecast\"</strong>: This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Context</strong>: The fourth element, an empty dictionary <code>{}</code>, is typically used to pass additional options or context to the \"search_read\" operation. In this case, no specific additional context is specified.</li>\n</ol>\n<p>In summary, this combination of elements allows you to perform a search and retrieve records from the \"inline.help\" entity where the \"action\" attribute is equal to \"stock_forecast.\"</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"0c4e3c80-eeef-434d-9158-77c3db4b8824","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693982870216,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_forecast\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 11:47:21\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 06 Sep 2023 06:52:56 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=SJz0UWkZpADC5P6N4Qa42txgE%2BaFTi8GJa5n6tUql5xq4BjsvlQHGIxPtP%2Bz5WJkbotTsOfHw4RWsbaxcK%2Fh2n5DnftEu%2FT3UISN0S8cYPd8Xja5BzY91stt7JvhYWsEsm%2BfWlnuPkhI9o9QhA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8024cac28f90b724-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693982870216,\n    \"dt\": 5\n}"}],"_postman_id":"6c0abda8-fbc1-4d1a-9f18-5f08ceb4f24c"},{"name":"params/stock.forecast/default_get","id":"8e6658c4-bbf8-4e67-ab7c-1822038ce585","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693982870229,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.forecast\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"create_uid\",\r\n                \"create_time\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 11:47:21\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"stock.forecast\",</strong>\"default_get\",<strong>[</strong>[<strong>\"create_uid\",</strong>\"create_time\"<strong>]</strong>],<strong>{</strong>\"context\": {}<strong>}</strong></p>\n<ol>\n<li><strong>stock.forecast:</strong> The first element, \"stock.forecast,\" represents the Odoo model or entity type you want to interact with. In this case, it's \"stock.forecast,\" which likely relates to forecasting stock or inventory.</li>\n<li><strong>default_get:</strong> The second element, \"default_get,\" specifies the action you want to perform on the \"stock.forecast\" entity. \"default_get\" is an action used to retrieve default values for a specific entity.</li>\n<li><strong>[[\"create_uid\", \"create_time\",]]:</strong> The third element is a list that contains the names of the fields you want to retrieve from the \"stock.forecast\" entity. In this case, the following fields are specified:<ol>\n<li><strong>\"create_uid\"</strong>: This field likely represents the user who created the stock forecast.</li>\n<li><strong>\"create_time\"</strong>: This field likely represents the timestamp when the stock forecast was created.</li>\n</ol>\n</li>\n<li><strong>Context</strong>: The fourth element is a dictionary that represents the context for this operation. Context is often used to provide additional information or settings for the action. In this case, an empty dictionary <code>{}</code> is provided as the context, which means no specific additional context is specified for this \"default_get\" action.</li>\n</ol>\n<p>In summary, this configuration allows you to retrieve default values for the specified fields in the \"stock.forecast\" entity, such as the user who created the forecast and the creation timestamp.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"787c13af-a63e-4cc2-92b2-8ea4f8cab1af","name":"params/stock.forecast/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693982870229,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.forecast\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"create_uid\",\r\n                \"create_time\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 11:47:21\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 06 Sep 2023 07:08:13 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=x5vlbyVPgr%2BBiQiAGLUC59e2hWymwnt45xoq55Z26GVfw4%2FBPdMWm6%2FuEVTKeLQn2Ao8QyScJM9YIrZxrmddmrphuBWKovDWXuB1g5%2BWarls59qXFffu6T25KQ5lV0T2gRlqGnbzdy%2BEumihyg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8024e1264f7ab7bb-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"create_uid\": null,\n        \"create_time\": null\n    },\n    \"error\": null,\n    \"id\": 1693982870229,\n    \"dt\": 26\n}"}],"_postman_id":"8e6658c4-bbf8-4e67-ab7c-1822038ce585"}],"id":"64309d3d-26b8-494b-b314-5552c5d1fd59","_postman_id":"64309d3d-26b8-494b-b314-5552c5d1fd59","description":""},{"name":"Stock Cutting","item":[{"name":"params/inline.help/search_read","id":"7f7d6761-d63f-46c2-9f27-b5db13e3e64e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693985450643,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_cut\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 12:29:36\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"stock_cut\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\":</strong> The first element, \"inline.help,\" represents the Odoo model or entity type you want to search within. In this case, it's \"inline.help,\" which is likely related to providing inline help or documentation.</li>\n<li><strong>\"search_read\":</strong> The second element, \"search_read,\" specifies the action you want to perform on the \"inline.help\" entity. \"search_read\" is a common action in Odoo used to retrieve records based on specific criteria.</li>\n<li><strong>[[\"action\", \"=\", \"stock_cut\"]]:</strong> The third element is a list containing a search domain. The search domain defines the filtering criteria for the records you want to retrieve. Here's the breakdown of the search domain:<ol>\n<li><code>[[\"action\", \"=\", \"stock_cut\"]]</code>: This is represented as an inner list with one condition. It filters records where the \"action\" attribute is equal to \"stock_cut.\" This condition helps narrow down the search to records related to stock cutting.<ol>\n<li><strong>\"action\":</strong> This is the field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li><strong>\"=\":</strong> This operator is used to specify the type of comparison you want to perform. In this case, it's an equality comparison, which means you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li><strong>\"stock_cut\":</strong> This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records related to stock cutting.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Context</strong>: The fourth element is an empty dictionary <code>{}</code>. In Odoo, dictionaries are often used to pass additional options or context to an operation. In this case, no additional context is specified, so the search will use the default context.</li>\n</ol>\n<p>In summary, this configuration allows you to perform a \"search_read\" operation on the \"inline.help\" entity, filtering records based on the \"action\" field to find information related to \"stock_cut.\"</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"8e7830eb-54a3-4356-8a52-382d3792c6e5","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693985450643,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_cut\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 12:29:36\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 06 Sep 2023 07:43:06 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=OAfou09lOOY283VeLick5O6jigT0EEk4Ag4fhQ2Au9zHYoD5Gnbn1591JFk5J5760t4aiS9ALGmW4Cy80RPH806d6UiqTK1X0kyDaDn%2FJ8cY4z0H0ciz8B%2BLutIkS1bN8F5Akh1mssc7AnETfQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8025144268acb75b-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693985450643,\n    \"dt\": 5\n}"}],"_postman_id":"7f7d6761-d63f-46c2-9f27-b5db13e3e64e"},{"name":"params/stock.cut/default_get","id":"a13b3f3e-aa43-46ad-9d48-3c72d45e1f77","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693985450656,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.cut\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"orders\",\r\n                \"stock\",\r\n                \"patterns\",\r\n                \"total_waste\",\r\n                \"create_uid\",\r\n                \"create_time\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 12:29:36\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.cut\",<strong>**\"default_get\",<strong><strong>[</strong></strong>[**</strong>\"orders\",<strong><strong>\"stock\",</strong></strong>\"patterns\",<strong><strong>\"total_waste\",</strong></strong>\"create_uid\",<strong>**\"create_time\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"stock.cut\":</strong> The first element, \"stock.cut,\" represents the Odoo model or entity type you want to interact with. In this case, it's \"stock.cut,\" which is likely related to stock cutting operations.</li>\n<li><strong>\"default_get\":</strong> The second element, \"default_get,\" specifies the action you want to perform on the \"stock.cut\" entity. \"default_get\" is an action used in Odoo to retrieve default values for fields when creating a new record.</li>\n<li><strong>[[\"orders\", \"stock\", \"patterns\", \"total_waste\", \"create_uid\", \"create_time\" ]],</strong>: The third element is a list containing the names of fields that you want to retrieve default values for. These fields include:<ol>\n<li><strong>Orders</strong>: This field is likely related to stock cutting operations and may store information about the orders or tasks for cutting stock. It could include details such as order numbers, customer information, or specifications for stock cutting.</li>\n<li><strong>Stock</strong>: This field likely represents the current stock level. It may indicate the quantity of materials available for cutting or processing in the stock inventory.</li>\n<li><strong>Patterns</strong>: This field might relate to cutting patterns or templates used in stock cutting operations. These patterns could define how materials are cut to meet specific requirements or standards.</li>\n<li><strong>Total Waste</strong>: This field may track the total amount of waste generated during stock cutting operations. It's important to monitor waste as it can impact production efficiency and costs.</li>\n<li><strong>Create User ID</strong>: This field is likely used to store the user ID of the person who created the record. It helps in tracking the user responsible for creating or initiating stock cutting operations.</li>\n<li><strong>Create Time</strong>: This field stores the timestamp indicating when the record was created. It provides a chronological record of when stock cutting-related data was added to the system.</li>\n</ol>\n</li>\n<li><strong>Context</strong>: The fourth element is an empty dictionary <code>{}</code>. In Odoo, dictionaries are often used to pass additional options or context to an operation. In this case, no additional context is specified, so the default context will be used.</li>\n</ol>\n<p>In summary, this configuration allows you to perform a \"default_get\" operation on the \"stock.cut\" entity to retrieve default values for the specified fields. It's typically used when creating new records related to stock cutting operations, providing initial values for those fields.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"19724454-734a-4c07-8db6-273962b83caf","name":"params/stock.cut/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693985450656,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.cut\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"orders\",\r\n                \"stock\",\r\n                \"patterns\",\r\n                \"total_waste\",\r\n                \"create_uid\",\r\n                \"create_time\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 12:29:36\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 06 Sep 2023 07:52:27 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=GGDgJeQlqahUT5rJBqETBJBg4bKNhdum%2Bvd%2BiXx0pZ9CUR218KHo1T%2Bht39PbqAfBLbSamf7vJqO0Uevi0oClmy6t%2BJ%2BmZIAUxJLBTapytq8hgPMsMvnbEwR7t65Gcc5ZR46nhq%2B%2BbHS4pDYAA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802521eedcddb7c4-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"orders\": null,\n        \"stock\": null,\n        \"patterns\": null,\n        \"total_waste\": null,\n        \"create_uid\": null,\n        \"create_time\": null\n    },\n    \"error\": null,\n    \"id\": 1693985450656,\n    \"dt\": 6\n}"}],"_postman_id":"a13b3f3e-aa43-46ad-9d48-3c72d45e1f77"}],"id":"77eccb75-bdb7-4109-810d-959bd4ce558e","_postman_id":"77eccb75-bdb7-4109-810d-959bd4ce558e","description":""}],"id":"47f1ebd1-3788-4822-b69f-51b2d295ec33","_postman_id":"47f1ebd1-3788-4822-b69f-51b2d295ec33","description":""},{"name":"Settings","item":[{"name":"Inventory Setting","item":[{"name":"params/inline.help/search_read","id":"564746d1-0bc4-475c-a6b9-42550d423545","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693989813312,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_settings\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 13:43:19\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"stock_settings\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first element in the parameters and represents the Odoo model or entity type you want to search within. In this case, it's \"inline.help.\"</li>\n<li><strong>\"search_read\"</strong>: The second element specifies the action you want to perform on the \"inline.help\" entity. \"search_read\" is a common action in Odoo that retrieves records based on specific criteria.</li>\n<li><code>[[\"action\", \"=\", \"stock_settings\"]]</code>:: The third element is a list containing a search domain. The search domain defines the filtering criteria for the records you want to retrieve. Here's the breakdown of the search domain:<ol>\n<li><code>[[\"action\", \"=\", \"stock_settings\"]]</code>: This is a domain filter, and it's an inner list with one condition. It filters records where the \"action\" attribute is equal to \"stock_settings.\" This condition helps narrow down the search to records related to stock settings.<ol>\n<li>\"action\": This is the field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li>\"=\": This operator is used to specify the type of comparison you want to perform. In this case, it's an equality comparison, which means you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li>\"stock_settings\": This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Contex:</strong> The fourth element is an empty dictionary, which typically can be used to pass additional options or context to the \"search_read\" operation. In this case, no additional context is specified.</li>\n</ol>\n<p>These parameters are used to perform a search and retrieve records related to \"stock_settings\" within the \"inline.help\" entity.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"5595b2c2-663c-49f3-9e9d-6d0c687b425a","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693989813312,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_settings\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 13:43:19\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 06 Sep 2023 08:46:55 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=NEkgB3Q6k67Ig5CWR6fnZJHmWX5JSVXUKho2%2FxUZ5SEKQEXpxiQW2Hu%2Fb%2FkGQdOB2HhfdEuZQdez81lP%2BKfrKchzxWv%2B9yLYj99NEy6o%2FlBJYwZfkyjTOQPlxibUq6bq9y6243P%2B%2FXe4iFX%2FXw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802571bb1cfcb755-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693989813312,\n    \"dt\": 7\n}"}],"_postman_id":"564746d1-0bc4-475c-a6b9-42550d423545"},{"name":"params/settings/read","id":"3e1d51ee-63b4-4bd7-8e0e-b35ffb3e017f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693989813332,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"settings\",\r\n        \"read\",\r\n        [\r\n            [\r\n                \"1\"\r\n            ],\r\n            [\r\n                \"stock_lock_date\",\r\n                \"pick_in_journal_id\",\r\n                \"pick_out_journal_id\",\r\n                \"pick_internal_journal_id\",\r\n                \"pick_in_return_journal_id\",\r\n                \"pick_out_return_journal_id\",\r\n                \"stock_count_journal_id\",\r\n                \"landed_cost_journal_id\",\r\n                \"waste_journal_id\",\r\n                \"transform_journal_id\",\r\n                \"production_journal_id\",\r\n                \"product_borrow_journal_id\",\r\n                \"lot_expiry_journal_id\",\r\n                \"life_75_journal_id\",\r\n                \"life_50_journal_id\",\r\n                \"forecast_journal_id\",\r\n                \"landed_cost_variance_account_id\",\r\n                \"est_ship_account_id\",\r\n                \"est_duty_account_id\",\r\n                \"act_ship_account_id\",\r\n                \"act_duty_account_id\",\r\n                \"stock_cost_auto_compute\",\r\n                \"stock_cost_mode\",\r\n                \"unique_barcode\",\r\n                \"require_qc_in\",\r\n                \"require_qc_out\",\r\n                \"pick_out_create_invoice\",\r\n                \"check_neg_stock\",\r\n                \"stock_transform_check_cost\",\r\n                \"approve_pick_in\",\r\n                \"approve_pick_internal\",\r\n                \"approve_pick_out\",\r\n                \"total_stockcount_per_year\",\r\n                \"cycle_stockcount_xyz\",\r\n                \"x_by_percentage\",\r\n                \"y_by_percentage\",\r\n                \"z_by_percentage\",\r\n                \"xyz_period\",\r\n                \"x2z_ratio\",\r\n                \"y2z_ratio\",\r\n                \"x_total_stockcount_per_year\",\r\n                \"y_total_stockcount_per_year\",\r\n                \"z_total_stockcount_per_year\",\r\n                \"cycle_stockcount_abc\",\r\n                \"a_by_percentage\",\r\n                \"b_by_percentage\",\r\n                \"c_by_percentage\",\r\n                \"create_uid\",\r\n                \"create_time\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {},\r\n            \"load_all_trans\": true\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 13:43:19\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"settings\",<strong>**\"read\",<strong><strong>[</strong></strong>[**</strong>\"1\"<strong><strong>],<strong><strong>[</strong></strong>\"stock_lock_date\",</strong></strong>\"pick_in_journal_id\",<strong><strong>\"pick_out_journal_id\",</strong></strong>\"pick_internal_journal_id\",<strong><strong>\"pick_in_return_journal_id\",</strong></strong>\"pick_out_return_journal_id\",<strong><strong>\"stock_count_journal_id\",</strong></strong>\"landed_cost_journal_id\",<strong><strong>\"waste_journal_id\",</strong></strong>\"transform_journal_id\",<strong><strong>\"production_journal_id\",</strong></strong>\"product_borrow_journal_id\",<strong><strong>\"lot_expiry_journal_id\",</strong></strong>\"life_75_journal_id\",<strong><strong>\"life_50_journal_id\",</strong></strong>\"forecast_journal_id\",<strong><strong>\"landed_cost_variance_account_id\",</strong></strong>\"est_ship_account_id\",<strong><strong>\"est_duty_account_id\",</strong></strong>\"act_ship_account_id\",<strong><strong>\"act_duty_account_id\",</strong></strong>\"stock_cost_auto_compute\",<strong><strong>\"stock_cost_mode\",</strong></strong>\"unique_barcode\",<strong><strong>\"require_qc_in\",</strong></strong>\"require_qc_out\",<strong><strong>\"pick_out_create_invoice\",</strong></strong>\"check_neg_stock\",<strong><strong>\"stock_transform_check_cost\",</strong></strong>\"approve_pick_in\",<strong><strong>\"approve_pick_internal\",</strong></strong>\"approve_pick_out\",<strong><strong>\"total_stockcount_per_year\",</strong></strong>\"cycle_stockcount_xyz\",<strong><strong>\"x_by_percentage\",</strong></strong>\"y_by_percentage\",<strong><strong>\"z_by_percentage\",</strong></strong>\"xyz_period\",<strong><strong>\"x2z_ratio\",</strong></strong>\"y2z_ratio\",<strong><strong>\"x_total_stockcount_per_year\",</strong></strong>\"y_total_stockcount_per_year\",<strong><strong>\"z_total_stockcount_per_year\",</strong></strong>\"cycle_stockcount_abc\",<strong><strong>\"a_by_percentage\",</strong></strong>\"b_by_percentage\",<strong><strong>\"c_by_percentage\",</strong></strong>\"create_uid\",<strong>**\"create_time\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"context\": {},</strong></strong>\"load_all_trans\": true****},**</p>\n<ol>\n<li><strong>\"settings\"</strong>: This is the first element in the parameters and represents the entity type you want to read data from. In this case, it's \"settings.\"</li>\n<li><strong>\"read\"</strong>: The second element specifies the action you want to perform on the \"settings\" entity. \"read\" is an action used to retrieve data from a specific record or records.</li>\n<li><strong>Record IDs</strong>: The third element is a list containing record IDs you want to retrieve. In this case, it contains a single ID, \"1,\" indicating that you want to retrieve data from the record with ID 1.</li>\n<li><strong>Fields to Retrieve</strong>: The fourth element is a list of field names. These fields represent the specific attributes or properties of the \"settings\" record that you want to retrieve. Here's a list of the fields you want to retrieve:<ol>\n<li>These fields collectively provide detailed information about stock management and related settings within the system.<ol>\n<li><strong>stock_lock_date</strong>: This field likely stores a date related to stock locking.</li>\n<li><strong>pick_in_journal_id</strong>: It probably refers to the journal used for picking incoming products.</li>\n<li><strong>pick_out_journal_id</strong>: This field likely represents the journal used for picking outgoing products.</li>\n<li><strong>pick_internal_journal_id</strong>: It may indicate the journal used for internal product transfers.</li>\n<li><strong>pick_in_return_journal_id</strong>: This could be the journal used for returns of incoming products.</li>\n<li><strong>pick_out_return_journal_id</strong>: This field may represent the journal used for returns of outgoing products.</li>\n<li><strong>stock_count_journal_id</strong>: It likely specifies the journal used for stock counting.</li>\n<li><strong>landed_cost_journal_id</strong>: This field may refer to the journal used for landed costs.</li>\n<li><strong>waste_journal_id</strong>: It might represent the journal used for tracking waste or losses.</li>\n<li><strong>transform_journal_id</strong>: This field likely indicates the journal used for product transformations.</li>\n<li><strong>production_journal_id</strong>: It may specify the journal used for production activities.</li>\n<li><strong>product_borrow_journal_id</strong>: This field could represent the journal used for borrowing products.</li>\n<li><strong>lot_expiry_journal_id</strong>: It might indicate the journal used for managing lot expirations.</li>\n<li><strong>life_75_journal_id</strong>: This field may relate to the journal used for products with a 75% shelf life.</li>\n<li><strong>life_50_journal_id</strong>: It likely refers to the journal used for products with a 50% shelf life.</li>\n<li><strong>forecast_journal_id</strong>: This field may specify the journal used for forecasting.</li>\n<li><strong>landed_cost_variance_account_id</strong>: It probably represents an account related to landed cost variances.</li>\n<li><strong>est_ship_account_id</strong>: This field likely relates to estimated shipping costs.</li>\n<li><strong>est_duty_account_id</strong>: It may represent an account for estimated duties.</li>\n<li><strong>act_ship_account_id</strong>: This field probably relates to actual shipping costs.</li>\n<li><strong>act_duty_account_id</strong>: It may represent an account for actual duties.</li>\n<li><strong>stock_cost_auto_compute</strong>: This field could indicate whether stock costs are automatically computed.</li>\n<li><strong>stock_cost_mode</strong>: It may specify the mode used for calculating stock costs.</li>\n<li><strong>unique_barcode</strong>: This field might indicate whether unique barcodes are required for products.</li>\n<li><strong>require_qc_in</strong>: It may specify whether quality control is required for incoming products.</li>\n<li><strong>require_qc_out</strong>: This field likely indicates whether quality control is required for outgoing products.</li>\n<li><strong>pick_out_create_invoice</strong>: It might specify whether invoices are created for outgoing picks.</li>\n<li><strong>check_neg_stock</strong>: This field could relate to checking for negative stock levels.</li>\n<li><strong>stock_transform_check_cost</strong>: It may indicate whether costs are checked during product transformation.</li>\n<li><strong>approve_pick_in</strong>: This field might specify whether approvals are required for incoming picks.</li>\n<li><strong>approve_pick_internal</strong>: It could indicate whether approvals are required for internal picks.</li>\n<li><strong>approve_pick_out</strong>: This field likely specifies whether approvals are required for outgoing picks.</li>\n<li><strong>total_stockcount_per_year</strong>: It may represent the total number of stock counts per year.</li>\n<li><strong>cycle_stockcount_xyz</strong>: This field might indicate the cycle for stock counting with XYZ analysis.</li>\n<li><strong>x_by_percentage</strong>: It could represent the percentage for 'X' in XYZ analysis.</li>\n<li><strong>y_by_percentage</strong>: This field may represent the percentage for 'Y' in XYZ analysis.</li>\n<li><strong>z_by_percentage</strong>: It might specify the percentage for 'Z' in XYZ analysis.</li>\n<li><strong>xyz_period</strong>: This field likely represents the period for XYZ analysis.</li>\n<li><strong>x2z_ratio</strong>: It may specify the ratio between 'X' and 'Z' in XYZ analysis.</li>\n<li><strong>y2z_ratio</strong>: This field might specify the ratio between 'Y' and 'Z' in XYZ analysis.</li>\n<li><strong>x_total_stockcount_per_year</strong>: It may represent the total stock counts per year for 'X' in XYZ analysis.</li>\n<li><strong>y_total_stockcount_per_year</strong>: This field likely represents the total stock counts per year for 'Y' in XYZ analysis.</li>\n<li><strong>z_total_stockcount_per_year</strong>: It might indicate the total stock counts per year for 'Z' in XYZ analysis.</li>\n<li><strong>cycle_stockcount_abc</strong>: This field could represent the cycle for stock counting with ABC analysis.</li>\n<li><strong>a_by_percentage</strong>: It may specify the percentage for 'A' in ABC analysis.</li>\n<li><strong>b_by_percentage</strong>: This field might represent the percentage for 'B' in ABC analysis.</li>\n<li><strong>c_by_percentage</strong>: It could indicate the percentage for 'C' in ABC analysis.</li>\n<li><strong>create_uid</strong>: This field likely stores the user ID of the record's creator.</li>\n<li><strong>create_time</strong>: It may represent the timestamp indicating when the record was created.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Context</strong>: The fifth element is a dictionary representing the context for this operation. In this case, an empty context is specified.</li>\n<li><strong>Additional Option</strong>: Within the context, \"load_all_trans\" is set to <code>true</code>. This option indicates that you want to load all translations for the retrieved records.</li>\n</ol>\n<p>These parameters are used to read specific fields from the \"settings\" record with ID 1 and load its translations in an system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"ec9f29a4-230d-47ee-8b4b-004daf562939","name":"params/settings/read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693989813332,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"settings\",\r\n        \"read\",\r\n        [\r\n            [\r\n                \"1\"\r\n            ],\r\n            [\r\n                \"stock_lock_date\",\r\n                \"pick_in_journal_id\",\r\n                \"pick_out_journal_id\",\r\n                \"pick_internal_journal_id\",\r\n                \"pick_in_return_journal_id\",\r\n                \"pick_out_return_journal_id\",\r\n                \"stock_count_journal_id\",\r\n                \"landed_cost_journal_id\",\r\n                \"waste_journal_id\",\r\n                \"transform_journal_id\",\r\n                \"production_journal_id\",\r\n                \"product_borrow_journal_id\",\r\n                \"lot_expiry_journal_id\",\r\n                \"life_75_journal_id\",\r\n                \"life_50_journal_id\",\r\n                \"forecast_journal_id\",\r\n                \"landed_cost_variance_account_id\",\r\n                \"est_ship_account_id\",\r\n                \"est_duty_account_id\",\r\n                \"act_ship_account_id\",\r\n                \"act_duty_account_id\",\r\n                \"stock_cost_auto_compute\",\r\n                \"stock_cost_mode\",\r\n                \"unique_barcode\",\r\n                \"require_qc_in\",\r\n                \"require_qc_out\",\r\n                \"pick_out_create_invoice\",\r\n                \"check_neg_stock\",\r\n                \"stock_transform_check_cost\",\r\n                \"approve_pick_in\",\r\n                \"approve_pick_internal\",\r\n                \"approve_pick_out\",\r\n                \"total_stockcount_per_year\",\r\n                \"cycle_stockcount_xyz\",\r\n                \"x_by_percentage\",\r\n                \"y_by_percentage\",\r\n                \"z_by_percentage\",\r\n                \"xyz_period\",\r\n                \"x2z_ratio\",\r\n                \"y2z_ratio\",\r\n                \"x_total_stockcount_per_year\",\r\n                \"y_total_stockcount_per_year\",\r\n                \"z_total_stockcount_per_year\",\r\n                \"cycle_stockcount_abc\",\r\n                \"a_by_percentage\",\r\n                \"b_by_percentage\",\r\n                \"c_by_percentage\",\r\n                \"create_uid\",\r\n                \"create_time\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {},\r\n            \"load_all_trans\": true\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 13:43:19\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 06 Sep 2023 08:56:57 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=OlmvxEuRDgOqt0mdou%2FBukF4eA%2FcmDfHRSHq2lwCjCB8du9xPCZFVvhHZyINIamLGedQFl5pFcZ5QoE96bxL4vfr1ObMFe24MjAo1QhUQnW2G00GD5mtjJaR7ZWTtVRCkJ0d9Q7%2FXWqhcVH7Og%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80258067dd43b7bb-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"id\": 1,\n            \"pick_out_create_invoice\": null,\n            \"product_borrow_journal_id\": null,\n            \"stock_transform_check_cost\": null,\n            \"pick_in_return_journal_id\": null,\n            \"x2z_ratio\": null,\n            \"waste_journal_id\": null,\n            \"y2z_ratio\": null,\n            \"xyz_period\": null,\n            \"production_journal_id\": null,\n            \"life_75_journal_id\": null,\n            \"cycle_stockcount_xyz\": null,\n            \"landed_cost_journal_id\": [\n                8,\n                \"Landed Cost\",\n                null\n            ],\n            \"z_total_stockcount_per_year\": null,\n            \"stock_cost_auto_compute\": true,\n            \"a_by_percentage\": null,\n            \"create_time\": null,\n            \"x_by_percentage\": null,\n            \"lot_expiry_journal_id\": null,\n            \"check_neg_stock\": true,\n            \"approve_pick_in\": null,\n            \"approve_pick_out\": null,\n            \"create_uid\": null,\n            \"stock_lock_date\": null,\n            \"require_qc_out\": null,\n            \"est_duty_account_id\": [\n                71,\n                \"[123001] Purchase In Transit\",\n                null\n            ],\n            \"b_by_percentage\": null,\n            \"pick_out_journal_id\": [\n                4,\n                \"Goods Issues\",\n                null\n            ],\n            \"act_duty_account_id\": [\n                71,\n                \"[123001] Purchase In Transit\",\n                null\n            ],\n            \"life_50_journal_id\": null,\n            \"unique_barcode\": null,\n            \"y_by_percentage\": null,\n            \"landed_cost_variance_account_id\": null,\n            \"stock_count_journal_id\": [\n                5,\n                \"Stock Counts (Warehouse)\",\n                null\n            ],\n            \"pick_internal_journal_id\": [\n                6,\n                \"Goods Transfers\",\n                null\n            ],\n            \"approve_pick_internal\": null,\n            \"stock_cost_mode\": \"perpetual\",\n            \"forecast_journal_id\": null,\n            \"require_qc_in\": null,\n            \"total_stockcount_per_year\": null,\n            \"transform_journal_id\": null,\n            \"act_ship_account_id\": [\n                71,\n                \"[123001] Purchase In Transit\",\n                null\n            ],\n            \"pick_out_return_journal_id\": null,\n            \"cycle_stockcount_abc\": null,\n            \"est_ship_account_id\": [\n                71,\n                \"[123001] Purchase In Transit\",\n                null\n            ],\n            \"pick_in_journal_id\": [\n                3,\n                \"Goods Receipts\",\n                null\n            ],\n            \"y_total_stockcount_per_year\": 0,\n            \"z_by_percentage\": 100,\n            \"c_by_percentage\": 100,\n            \"x_total_stockcount_per_year\": 0\n        }\n    ],\n    \"error\": null,\n    \"id\": 1693989813332,\n    \"dt\": 416\n}"}],"_postman_id":"3e1d51ee-63b4-4bd7-8e0e-b35ffb3e017f"},{"name":"params/settings/search","id":"b766a507-41f7-49d7-aa69-2a64a33de752","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693989815384,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"settings\",\r\n        \"search\",\r\n        [\r\n            []\r\n        ],\r\n        {\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 13:43:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"settings\",<strong>**\"search\",<strong><strong>[</strong></strong>[]**</strong>],<strong><strong>{</strong></strong>\"limit\": 1000,<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"settings\"</strong>: This is the first element and represents the Odoo model or entity type you want to search within. In this case, it's \"settings,\" indicating that you want to retrieve records from the settings entity.</li>\n<li><strong>\"search\"</strong>: The second element specifies the action you want to perform on the \"settings\" entity. \"Search\" is a common action in Odoo used to query records based on certain criteria.</li>\n<li><strong>[ ]</strong>: The third element is an empty list. This list typically contains a search domain, which defines the filtering criteria for the records you want to retrieve. In this case, an empty list implies that you want to retrieve all records without applying any specific filters. It means you're fetching all records within the \"settings\" entity.</li>\n<li><strong>{ \"limit\": 1000, \"context\": {} }</strong>: The fourth element is a dictionary that can be used to pass additional options or context to the search operation. Here's what each part of this dictionary means:<ol>\n<li><strong>\"limit\": 1000</strong>: This specifies that you want to limit the number of retrieved records to a maximum of 1000. If there are more records that match the search criteria, only the first 1000 will be returned.</li>\n<li><strong>\"context\": {}</strong>: This typically holds additional contextual information that can influence the search results. In this case, no specific context is provided, so the default context will be used for the search.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, these parameters indicate that you're performing a search operation on the \"settings\" entity to retrieve all records without applying any specific filters, and you want to limit the result to a maximum of 1000 records.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"28c4b271-b312-4c3d-857a-8dbe785c7aa6","name":"params/settings/search","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693989815384,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"settings\",\r\n        \"search\",\r\n        [\r\n            []\r\n        ],\r\n        {\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 13:43:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 06 Sep 2023 09:12:55 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=iy%2Fq2ECqWwAzQ0ICyz9tggOWlD5t3llBiFoLxkrC%2Bf%2FLUdsZvjqX3RiOJhJ9zlTxXbmTw0Vuv5iiXd%2BStg2Qsudv1LykbAHN1y7rdo4QCpY4lz6gKxpnlcI%2BZeLfFsQG%2F%2FS9Aw%2FSigr8cxuaTQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802597d3abba8811-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        1\n    ],\n    \"error\": null,\n    \"id\": 1693989815384,\n    \"dt\": 9\n}"}],"_postman_id":"b766a507-41f7-49d7-aa69-2a64a33de752"}],"id":"65a1b607-614c-4d7d-9991-b88d563b88f4","_postman_id":"65a1b607-614c-4d7d-9991-b88d563b88f4","description":""},{"name":"Stock Locations","item":[{"name":"params/inline.help/search_read","id":"2048c1b7-949c-4550-8818-84897eede84d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693993254030,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"location\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 14:40:39\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"inline.help\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"action\",<strong>\"=\",</strong>\"location\"<strong>]</strong>]<strong>],</strong>{},\"params\": [<strong>\"inline.help\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"action\",<strong>\"=\",</strong>\"location\"<strong>]</strong>]<strong>],****{},</strong></p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first element and represents the Odoo model or entity type you want to search within. In this case, it's \"inline.help.\"</li>\n<li><strong>\"search_read\"</strong>: The second element specifies the action you want to perform on the \"inline.help\" entity. \"search_read\" is a common action in Odoo that retrieves records based on specific criteria.</li>\n<li><strong>[ ]</strong>: The third element is a list containing a search domain. It defines the filtering criteria for the records you want to retrieve. In this case, the search domain is defined as an inner list with one condition:<ol>\n<li><strong>[[\"action\", \"=\", \"location\"]]</strong>: This is a domain filter. It specifies that you want to retrieve records where the \"action\" attribute is equal to \"location.\" This condition helps narrow down the search to records related to locations.<ol>\n<li><strong>\"action\"</strong>: This is the field or attribute within the entity that you want to filter on, which is \"action\" in this case.</li>\n<li><strong>\"=\"</strong>: This operator is used to specify the type of comparison you want to perform, which is an equality comparison.</li>\n<li><strong>\"location\"</strong>: This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records related to locations.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>{}</strong>: The fourth element is an empty dictionary. This dictionary is typically used to pass additional options or context to the search_read operation. In this case, no additional context is specified.</li>\n</ol>\n<p>In summary, it indicates that you're performing a search operation on the \"inline.help\" entity to retrieve records related to locations where the \"action\" attribute is equal to \"location.\"</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"a83a0416-f664-4f28-b7e2-fbdfa9b4a659","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693993254030,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"location\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 14:40:39\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 06 Sep 2023 09:42:41 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=V8lkfMJAdbtKPfArr760leDDhwoYZFtxIaRibKjmqigDXCiMn7VfZx15bUv2vjjedMipLpwkXfEGLFl5%2FghVSqHZOyutHH9PTrH0yBpHh7VQC0r1SVfyawtirza8aLUd5guzj4f%2FvhohiNlFAA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8025c36b2c623db7-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1693993254030,\n    \"dt\": 19\n}"}],"_postman_id":"2048c1b7-949c-4550-8818-84897eede84d"},{"name":"params/stock.location/search_read","id":"8bdc467c-74fc-4899-b812-d4bd49bed5f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693993254036,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.location\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"type\",\r\n                \"parent_id\",\r\n                \"account_id\",\r\n                \"track_id\",\r\n                \"company_id\",\r\n                \"company2_id\",\r\n                \"contact_id\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 14:40:39\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.location\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[]<strong><strong>],<strong><strong>[</strong></strong>\"name\",</strong></strong>\"code\",<strong><strong>\"type\",</strong></strong>\"parent_id\",<strong><strong>\"account_id\",</strong></strong>\"track_id\",<strong><strong>\"company_id\",</strong></strong>\"company2_id\",<strong><strong>\"contact_id\",</strong></strong>\"active\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"order\": null,</strong></strong>\"offset\": 0,<strong><strong>\"limit\": 100,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"stock.location\"</strong>: This is the first element and represents the Odoo model or entity type you want to search within. In this case, it's \"stock.location,\" which typically refers to locations in a warehouse or inventory system.</li>\n<li><strong>\"search_read\"</strong>: The second element specifies the action you want to perform on the \"stock.location\" entity. \"search_read\" is a common action in Odoo that retrieves records based on specific criteria.</li>\n<li><strong>[ ]</strong>: The third element is a list containing two lists. Let's break down these lists:<ol>\n<li><strong>[ ]</strong>: The first inner list is empty. This indicates that you want to retrieve all records without applying any specific domain filter. In other words, you want to retrieve all locations without any specific conditions.</li>\n<li><strong>[ \"name\", \"code\", \"type\", \"parent_id\", \"account_id\", \"track_id\", \"company_id\", \"company2_id\", \"contact_id\", \"active\" ]</strong>: The second inner list specifies the fields or attributes that you want to retrieve for each location record. These fields include:<ol>\n<li><strong>\"name\"</strong>: This field represents the name of the location. It typically contains a human-readable name or description of the location within a warehouse or inventory system. For example, \"Main Warehouse\" or \"Retail Store Aisle 2.\"</li>\n<li><strong>\"code\"</strong>: The \"code\" field is used to assign a unique identifier or code to the location. This code is often alphanumeric and helps in uniquely identifying the location within the system. It can be used for internal reference or integration purposes.</li>\n<li><strong>\"type\"</strong>: The \"type\" field specifies the type of location. It categorizes the location based on its purpose or function within the inventory management system. Common location types include \"internal\" for warehouse storage, \"customer\" for customer delivery points, and \"supplier\" for supplier delivery points.</li>\n<li><strong>\"parent_id\"</strong>: This field represents the parent location of the current location if the locations are organized in a hierarchical structure. For example, if you have multiple sections within a warehouse, the parent location could be the warehouse itself, and the child locations could be the sections.</li>\n<li><strong>\"account_id\"</strong>: The \"account_id\" field is associated with accounting. It specifies the accounting account linked to this location. In some cases, it might be used for financial tracking or reporting purposes.</li>\n<li><strong>\"track_id\"</strong>: The \"track_id\" field indicates the tracking status of the location. It might specify whether inventory movements in and out of this location need to be tracked or not. Tracking can be important for maintaining inventory accuracy.</li>\n<li><strong>\"company_id\"</strong>: This field designates the company or organization to which the location belongs. In a multi-company environment, this helps in separating data and operations by company.</li>\n<li><strong>\"company2_id\"</strong>: Sometimes, an additional company might be associated with a location. This field could represent another company with a connection to this location, though its exact use might vary depending on the specific implementation.</li>\n<li><strong>\"contact_id\"</strong>: The \"contact_id\" field is associated with a contact or partner related to the location. This could be a supplier, customer, or any other business partner associated with this location.</li>\n<li><strong>\"active\"</strong>: The \"active\" field is a boolean (true/false) indicator that specifies whether the location is currently active or not. An inactive location might not be used for inventory operations.</li>\n<li><strong>\"name\"</strong>: This field represents the name of the location. It typically contains a human-readable name or description of the location within a warehouse or inventory system. For example, \"Main Warehouse\" or \"Retail Store Aisle 2.\"</li>\n<li><strong>\"code\"</strong>: The \"code\" field is used to assign a unique identifier or code to the location. This code is often alphanumeric and helps in uniquely identifying the location within the system. It can be used for internal reference or integration purposes.</li>\n<li><strong>\"type\"</strong>: The \"type\" field specifies the type of location. It categorizes the location based on its purpose or function within the inventory management system. Common location types include \"internal\" for warehouse storage, \"customer\" for customer delivery points, and \"supplier\" for supplier delivery points.</li>\n<li><strong>\"parent_id\"</strong>: This field represents the parent location of the current location if the locations are organized in a hierarchical structure. For example, if you have multiple sections within a warehouse, the parent location could be the warehouse itself, and the child locations could be the sections.</li>\n<li><strong>\"account_id\"</strong>: The \"account_id\" field is associated with accounting. It specifies the accounting account linked to this location. In some cases, it might be used for financial tracking or reporting purposes.</li>\n<li><strong>\"track_id\"</strong>: The \"track_id\" field indicates the tracking status of the location. It might specify whether inventory movements in and out of this location need to be tracked or not. Tracking can be important for maintaining inventory accuracy.</li>\n<li><strong>\"company_id\"</strong>: This field designates the company or organization to which the location belongs. In a multi-company environment, this helps in separating data and operations by company.</li>\n<li><strong>\"company2_id\"</strong>: Sometimes, an additional company might be associated with a location. This field could represent another company with a connection to this location, though its exact use might vary depending on the specific implementation.</li>\n<li><strong>\"contact_id\"</strong>: The \"contact_id\" field is associated with a contact or partner related to the location. This could be a supplier, customer, or any other business partner associated with this location.</li>\n<li><strong>\"active\"</strong>: The \"active\" field is a boolean (true/false) indicator that specifies whether the location is currently active or not. An inactive location might not be used for inventory operations.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Context</strong>: The fourth element is a dictionary that specifies additional options and context for the search operation:<ol>\n<li><strong>\"count\": true</strong>: This indicates that you want to include a count of the total number of matching records.</li>\n<li><strong>\"order\": null</strong>: There is no specific ordering specified, so the records may be returned in their default order.</li>\n<li><strong>\"offset\": 0</strong>: This specifies the starting point or offset for retrieving records. Here, it's set to 0, so you start from the beginning.</li>\n<li><strong>\"limit\": 100</strong>: This limits the number of records returned to 100, meaning you'll retrieve a maximum of 100 locations.</li>\n<li><strong>\"context\": {}</strong>: This is an empty dictionary, indicating that no additional context is provided for this search operation. Context can be used to influence how the search behaves, but here, it's left empty.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this set of parameters defines a search operation to retrieve information about locations, including their names, codes, types, parent locations, and other attributes. It limits the result to a maximum of 100 locations and includes a count of total matching records.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"d74fbdb9-953d-48dd-8732-c40c52abe945","name":"params/stock.location/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1693993254036,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.location\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"type\",\r\n                \"parent_id\",\r\n                \"account_id\",\r\n                \"track_id\",\r\n                \"company_id\",\r\n                \"company2_id\",\r\n                \"contact_id\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-06 14:40:39\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 06 Sep 2023 09:51:12 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=kPppxt93NDGb%2FnJ5Y%2ByKcNumHQhnwlVxf72URE95Bp5gWvWIivFfrUtjdzRkCdKajAr4gFMc0WfKoCpJp3O%2F%2BpoBcFLTk3zaWpfffeWTtY3a5vtdnUjWIKdP1tFFfAd3Ef8VQNkbNq26yu%2F8%2BQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8025cfe9eced8855-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 6,\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"name\": \"Customers\",\n                \"contact_id\": null,\n                \"company2_id\": null,\n                \"code\": null,\n                \"type\": \"customer\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"active\": true,\n                \"account_id\": null,\n                \"parent_id\": null\n            },\n            {\n                \"id\": 15,\n                \"track_id\": null,\n                \"name\": \"Damage/Repair\",\n                \"contact_id\": null,\n                \"company2_id\": null,\n                \"code\": null,\n                \"type\": \"inventory\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"active\": true,\n                \"account_id\": [\n                    192,\n                    \"[510104] COGS #104 - Hardware\",\n                    null\n                ],\n                \"parent_id\": null\n            },\n            {\n                \"id\": 5,\n                \"track_id\": null,\n                \"name\": \"Inventory Loss\",\n                \"contact_id\": null,\n                \"company2_id\": null,\n                \"code\": null,\n                \"type\": \"inventory\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"active\": true,\n                \"account_id\": null,\n                \"parent_id\": null\n            },\n            {\n                \"id\": 17,\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"name\": \"Office\",\n                \"contact_id\": null,\n                \"company2_id\": null,\n                \"code\": null,\n                \"type\": \"internal\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"active\": true,\n                \"account_id\": [\n                    70,\n                    \"[123011] Trading (Closing) Inventory - Hardware\",\n                    null\n                ],\n                \"parent_id\": null\n            },\n            {\n                \"id\": 16,\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"name\": \"Samples\",\n                \"contact_id\": null,\n                \"company2_id\": null,\n                \"code\": null,\n                \"type\": \"customer\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"active\": true,\n                \"account_id\": [\n                    136,\n                    \"[520302] Marketing Samples\",\n                    null\n                ],\n                \"parent_id\": null\n            },\n            {\n                \"id\": 7,\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"name\": \"Suppliers\",\n                \"contact_id\": null,\n                \"company2_id\": null,\n                \"code\": null,\n                \"type\": \"supplier\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"active\": true,\n                \"account_id\": [\n                    71,\n                    \"[123001] Purchase In Transit\",\n                    null\n                ],\n                \"parent_id\": null\n            },\n            {\n                \"id\": 4,\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"name\": \"Warehouse\",\n                \"contact_id\": null,\n                \"company2_id\": null,\n                \"code\": null,\n                \"type\": \"internal\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"active\": true,\n                \"account_id\": [\n                    70,\n                    \"[123011] Trading (Closing) Inventory - Hardware\",\n                    null\n                ],\n                \"parent_id\": null\n            },\n            {\n                \"id\": 18,\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"name\": \"Warehouse 2\",\n                \"contact_id\": null,\n                \"company2_id\": null,\n                \"code\": null,\n                \"type\": \"internal\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"active\": true,\n                \"account_id\": [\n                    70,\n                    \"[123011] Trading (Closing) Inventory - Hardware\",\n                    null\n                ],\n                \"parent_id\": null\n            },\n            {\n                \"id\": 19,\n                \"track_id\": [\n                    23,\n                    \"[SB07] Zeox\",\n                    null\n                ],\n                \"name\": \"Warehouse Azira\",\n                \"contact_id\": null,\n                \"company2_id\": null,\n                \"code\": null,\n                \"type\": \"internal\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"active\": true,\n                \"account_id\": [\n                    70,\n                    \"[123011] Trading (Closing) Inventory - Hardware\",\n                    null\n                ],\n                \"parent_id\": null\n            }\n        ],\n        9\n    ],\n    \"error\": null,\n    \"id\": 1693993254036,\n    \"dt\": 36\n}"}],"_postman_id":"8bdc467c-74fc-4899-b812-d4bd49bed5f3"}],"id":"b5bfe5a5-9b36-4bb4-9556-960228c68523","_postman_id":"b5bfe5a5-9b36-4bb4-9556-960228c68523","description":""},{"name":"Stock Journals","item":[{"name":"params/stock.journal/search_read","id":"a0a2ef03-0b37-48bd-b18e-e92fa279c139","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694052237198,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.journal\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"type\",\r\n                \"sequence_id\",\r\n                \"location_from_id\",\r\n                \"location_to_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 07:01:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.journal\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"name\",**</strong>\"code\",<strong><strong>\"type\",</strong></strong>\"sequence_id\",<strong><strong>\"location_from_id\",</strong></strong>\"location_to_id\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"order\": null,</strong></strong>\"offset\": 0,<strong><strong>\"limit\": 100,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"stock.journal\"</strong>: This is the first element in the parameters and represents the Odoo model or entity type you want to search within. In this case, it's \"stock.journal,\" which likely corresponds to journals used in stock or inventory operations.</li>\n<li><strong>\"search_read\"</strong>: The second element specifies the action you want to perform on the \"stock.journal\" entity. \"search_read\" is a common action in Odoo that retrieves records based on specific criteria.</li>\n<li><strong>[]</strong>: The third element is a list containing two empty lists. The first empty list is used to define a search domain, which typically filters records based on specific conditions. In this case, it's empty, indicating that no specific filtering conditions are applied, and you want to retrieve all records.</li>\n<li><strong>[\"name\", \"code\", \"type\", \"sequence_id\", \"location_from_id\", \"location_to_id\"]</strong>: The fourth element is a list of fields that you want to retrieve for each record.<ol>\n<li>These fields are likely essential attributes of a journal in the context of inventory management or accounting. By specifying these fields in your search_read request, you can retrieve relevant information about journals, which can be useful for various reporting and operational purposes within the system. These fields are specified as strings and include:<ol>\n<li><strong>\"name\"</strong>: This field represents the name or description of the journal. It typically provides a human-readable identifier for the journal, helping users understand its purpose or use in inventory operations.</li>\n<li><strong>\"code\"</strong>: The \"code\" field is an alphanumeric code or identifier associated with the journal. This code can be used for quick reference and is often used in transactional records to link them to the journal.</li>\n<li><strong>\"type\"</strong>: The \"type\" field indicates the type or category of the journal. It helps classify journals based on their purpose or use within the inventory or accounting system. For example, a journal could be categorized as \"Sales,\" \"Purchases,\" \"Inventory Adjustments,\" etc.</li>\n<li><strong>\"sequence_id\"</strong>: This field likely represents a reference to a sequence. In Odoo, a sequence is used to generate unique and sequential numbers for various operations, such as numbering journal entries or documents related to the journal.</li>\n<li><strong>\"location_from_id\"</strong>: The \"location_from_id\" field is a reference to the source location associated with the journal. In inventory management, it's common to specify the source or origin of stock movements, and this field helps identify where the stock is coming from.</li>\n<li><strong>\"location_to_id\"</strong>: Similar to the \"location_from_id,\" the \"location_to_id\" field is a reference to the destination location associated with the journal. It indicates where the stock is being transferred or moved to.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>\"count\": true</strong>: Within the context dictionary, \"count\" is set to \"true.\" This indicates that you want to retrieve the count or total number of records that match the search criteria but not the actual records themselves.</li>\n<li><strong>\"order\": null</strong>: The \"order\" parameter is set to null, indicating that there's no specific sorting order defined for the retrieved records. They will likely be returned in the default order.</li>\n<li><strong>\"offset\": 0</strong>: This parameter specifies the starting point from which records should be retrieved. An offset of 0 means you want to start retrieving records from the beginning.</li>\n<li><strong>\"limit\": 100</strong>: The \"limit\" parameter specifies the maximum number of records to retrieve. In this case, it's set to 100, meaning you want to retrieve up to 100 records.</li>\n<li><strong>\"context\": {}</strong>: The \"context\" parameter is an empty dictionary, indicating that no additional context or options are specified for the search_read operation.</li>\n</ol>\n<p>In summary, these parameters are used to perform a search_read operation on the \"stock.journal\" entity, retrieving specific fields for all records without applying any specific filtering conditions. The count of matching records is also requested.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"5d8c5b5a-e768-4c3e-bc36-4ce829ae0145","name":"params/stock.journal/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694052237198,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.journal\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"type\",\r\n                \"sequence_id\",\r\n                \"location_from_id\",\r\n                \"location_to_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 07:01:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 03:43:31 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=23Rjg%2B6iwhQ%2BLrCXmmjUQ3Fvt%2F9QRJVrcVe%2F9gwDrOjetj9pqdOlgxWFqURvJ4PubTG1vJpqKYuoGzHSl%2FAPnTXJSbf51WdPnT%2FPXIQESyYUl6ZU7w3g%2Bl9Zo%2FfafB1JR%2BKWtFAgWutJyrQzmA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802bf2ab3bae4118-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 4,\n                \"name\": \"Goods Issues\",\n                \"code\": null,\n                \"type\": \"out\",\n                \"location_to_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"location_from_id\": [\n                    17,\n                    \"Office\",\n                    null\n                ],\n                \"sequence_id\": [\n                    59,\n                    \"GI\",\n                    null\n                ]\n            },\n            {\n                \"id\": 3,\n                \"name\": \"Goods Receipts\",\n                \"code\": null,\n                \"type\": \"in\",\n                \"location_to_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"location_from_id\": [\n                    7,\n                    \"Suppliers\",\n                    null\n                ],\n                \"sequence_id\": [\n                    18,\n                    \"GR\",\n                    null\n                ]\n            },\n            {\n                \"id\": 10,\n                \"name\": \"Goods Return\",\n                \"code\": null,\n                \"type\": \"in_return\",\n                \"location_to_id\": null,\n                \"location_from_id\": [\n                    6,\n                    \"Customers\",\n                    null\n                ],\n                \"sequence_id\": [\n                    89,\n                    \"Goods Return\",\n                    null\n                ]\n            },\n            {\n                \"id\": 6,\n                \"name\": \"Goods Transfers\",\n                \"code\": null,\n                \"type\": null,\n                \"location_to_id\": null,\n                \"location_from_id\": null,\n                \"sequence_id\": null\n            },\n            {\n                \"id\": 8,\n                \"name\": \"Landed Cost\",\n                \"code\": null,\n                \"type\": null,\n                \"location_to_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"location_from_id\": null,\n                \"sequence_id\": null\n            },\n            {\n                \"id\": 5,\n                \"name\": \"Stock Counts (Warehouse)\",\n                \"code\": null,\n                \"type\": \"waste\",\n                \"location_to_id\": [\n                    15,\n                    \"Damage/Repair\",\n                    null\n                ],\n                \"location_from_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"sequence_id\": [\n                    15,\n                    \"Journal Entries\",\n                    null\n                ]\n            },\n            {\n                \"id\": 9,\n                \"name\": \"Stock Movement\",\n                \"code\": null,\n                \"type\": \"\",\n                \"location_to_id\": [\n                    4,\n                    \"Warehouse\",\n                    null\n                ],\n                \"location_from_id\": null,\n                \"sequence_id\": [\n                    81,\n                    \"Stock Movement\",\n                    null\n                ]\n            }\n        ],\n        7\n    ],\n    \"error\": null,\n    \"id\": 1694052237198,\n    \"dt\": 39\n}"}],"_postman_id":"a0a2ef03-0b37-48bd-b18e-e92fa279c139"},{"name":"params/inline.help/search_read","id":"19a66c23-1b26-4c1a-8955-da151cd5100a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694052237179,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_journal\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 07:01:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"stock_journal\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first element and represents the Odoo model or entity type you want to search within. In this case, it's \"inline.help.\"</li>\n<li><strong>\"search_read\"</strong>: The second element specifies the action you want to perform on the \"inline.help\" entity. \"search_read\" is a common action in Odoo that retrieves records based on specific criteria.</li>\n<li><strong>Search Domain</strong> (Third Element):<ol>\n<li><code>[[ \"action\", \"=\", \"stock_journal\" ]]</code>: This is a domain filter, represented as an inner list with one condition. It filters records where the \"action\" attribute is equal to \"stock_journal.\" This condition helps narrow down the search to records related to stock journals.</li>\n<li><strong>\"action\"</strong>: This is the field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li><strong>\"=\"</strong>: This operator is used to specify the type of comparison you want to perform. In this case, it's an equality comparison, which means you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li><strong>\"stock_journal\"</strong>: This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records related to stock journals.</li>\n</ol>\n</li>\n<li><strong>Empty Dictionary</strong> (Fourth Element):<ol>\n<li><code>{}</code>: The fourth element is an empty dictionary. In Odoo, this is typically used to pass additional options or context to the search_read operation. In this case, no additional context is specified.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is asking Odoo to perform a search_read operation on the \"inline.help\" entity, specifically looking for records related to \"stock_journal\" based on the specified condition. The empty dictionary at the end indicates that no additional context is provided for this operation.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"6adf9e67-979a-4db3-b203-217b3562e48e","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694052237179,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"stock_journal\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 07:01:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 03:53:27 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=hSHMIeLTZGr09uvaLQn3ndZfH%2BfxukFATHoxXCno7gwx2O0FYy%2F%2FvbxvIeAGGF4PTcsaPYaeQJ4o2jilO%2B33tJ4fmWAyBkWab2xe%2BefDLuE%2FbwGR%2BzOJOPuFuI9lQK6dFt97jtndyLPh26qJbg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802c01382e6c40a3-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694052237179,\n    \"dt\": 10\n}"}],"_postman_id":"19a66c23-1b26-4c1a-8955-da151cd5100a"}],"id":"09124ea8-50b1-45b1-9e1c-dd7a6dc9ab97","_postman_id":"09124ea8-50b1-45b1-9e1c-dd7a6dc9ab97","description":""},{"name":"Minimum Stock Rules","item":[{"name":"params/inline.help/search_read","id":"e43c9fb8-95fa-41b6-a7ef-df7d1876d3e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694059301780,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"orderpoint\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 09:00:11\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"inline.help\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"action\",<strong>\"=\",</strong>\"orderpoint\"<strong>]</strong>]<strong>],****{},</strong></p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first element and represents the Odoo model or entity type you want to search within. In this case, it's \"inline.help.\"</li>\n<li><strong>\"search_read\"</strong>: The second element specifies the action you want to perform on the \"inline.help\" entity. \"search_read\" is a common action in Odoo that retrieves records based on specific criteria.</li>\n<li><strong>Search Domain</strong> (Third Element):<ol>\n<li><code>[[ \"action\", \"=\", \"orderpoint\" ]]</code>: This is a domain filter, represented as an inner list with one condition. It filters records where the \"action\" attribute is equal to \"orderpoint.\" This condition helps narrow down the search to records related to order points.</li>\n<li><strong>\"action\"</strong>: This is the field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li><strong>\"=\"</strong>: This operator is used to specify the type of comparison you want to perform. In this case, it's an equality comparison, which means you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li><strong>\"orderpoint\"</strong>: This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records related to order points.</li>\n</ol>\n</li>\n<li><strong>Empty Dictionary</strong> (Fourth Element):<ol>\n<li><code>{}</code>: The fourth element is an empty dictionary. This is typically used to pass additional options or context to the search_read operation. In this case, no additional context is specified.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is asking Odoo to perform a search_read operation on the \"inline.help\" entity, specifically looking for records related to \"orderpoint\" based on the specified condition. The empty dictionary at the end indicates that no additional context is provided for this operation.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"49484a13-24d7-41b6-a7c3-eaad968ee2d6","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694059301780,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"orderpoint\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 09:00:11\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Date","value":"Thu, 07 Sep 2023 04:13:49 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=dPHLjuPqx6NAl4eDdxs0DLCxiPJWL2y1s5oQzwZ8nXD2DGykMO1CNIS%2B421ouZviv3maymE1AxoR2fx60HOO%2F3LGXYREdZEWS8cYPIc%2FzjL2d2aaO9HLNQPH71ZZPQhiX1FIHO6Zw9lEEUFHgA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802c1f12ce83473f-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\"result\": [], \"error\": null, \"id\": 1694059301780, \"dt\": 21}"}],"_postman_id":"e43c9fb8-95fa-41b6-a7ef-df7d1876d3e6"},{"name":"params/stock.orderpoint/search_read","id":"9e40b58e-4e02-4a51-b553-13f89b790605","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694059301788,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.orderpoint\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"location_id\",\r\n                \"product_id\",\r\n                \"product_categ_id\",\r\n                \"min_qty\",\r\n                \"max_qty\",\r\n                \"uom_id\",\r\n                \"min_qty2\",\r\n                \"max_qty2\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 09:00:11\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.orderpoint\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"location_id\",**</strong>\"product_id\",<strong><strong>\"product_categ_id\",</strong></strong>\"min_qty\",<strong><strong>\"max_qty\",</strong></strong>\"uom_id\",<strong><strong>\"min_qty2\",</strong></strong>\"max_qty2\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"order\": null,</strong></strong>\"offset\": 0,<strong><strong>\"limit\": 100,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"stock.orderpoint\"</strong>: This is the first element and represents the Odoo model or entity type you want to search within. In this case, it's \"stock.orderpoint.\"</li>\n<li><strong>\"search_read\"</strong>: The second element specifies the action you want to perform on the \"stock.orderpoint\" entity. \"search_read\" is a common action in Odoo that retrieves records based on specific criteria.</li>\n<li><code>Third element: [[], [\"location_id\", \"product_id\", \"product_categ_id\", \"min_qty\", \"max_qty\", \"uom_id\", \"min_qty2\", \"max_qty2\"]]</code>: This is the search domain, represented as a list with two parts:<ol>\n<li>The first part of the search domain is an empty list (<code>[]</code>). This signifies that there are no specific conditions or filters applied to restrict the records being searched. In other words, it indicates that you want to retrieve all records from the \"stock.orderpoint\" entity without any additional filtering based on specific criteria.</li>\n<li>The second part (a list of field names) specifies which fields you want to include in the search results.<ol>\n<li><strong>location_id</strong>: This field represents the location associated with the stock order point. It indicates the specific place within a warehouse or facility where this stock order point is defined.</li>\n<li><strong>product_id</strong>: This field corresponds to the product linked to the stock order point. It specifies the product for which the order point is established.</li>\n<li><strong>product_categ_id</strong>: This field represents the product category or category of the product. It provides information about the broader category or classification to which the product belongs.</li>\n<li><strong>min_qty</strong>: This field indicates the minimum quantity required for the associated product to trigger an order or replenishment. When the stock level falls below this minimum quantity, it suggests that a new order should be placed.</li>\n<li><strong>max_qty</strong>: Similar to the minimum quantity, this field represents the maximum quantity allowed for the associated product within this order point. It's the upper limit for the stock level.</li>\n<li><strong>uom_id</strong>: This field stands for the unit of measure (UOM) associated with the product. It specifies the unit of measurement used for quantities of this product, such as pieces, kilograms, or liters.</li>\n<li><strong>min_qty2</strong>: This is a secondary or alternative minimum quantity field. It might be used for additional criteria in order point calculations or replenishment rules.</li>\n<li><strong>max_qty2</strong>: Like the secondary minimum quantity, this is an alternative maximum quantity field. It might be used for specific conditions or calculations related to order points.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Options and Context</strong> (Fourth Element):<ol>\n<li><code>\"count\": true</code>: This option indicates that you want to count the total number of records that match the search criteria. It's set to \"true,\" meaning you want to include the count in the response.</li>\n<li><code>\"order\": null</code>: This option specifies the sorting order for the search results. In this case, it's set to \"null,\" indicating that there is no specific sorting order defined.</li>\n<li><code>\"offset\": 0</code>: This option specifies the starting point for retrieving records. It's set to \"0,\" which means you want to start from the beginning.</li>\n<li><code>\"limit\": 100</code>: This option sets a limit on the number of records to retrieve. You want to retrieve a maximum of 100 records.</li>\n<li><code>\"context\": {}</code>: The context is an empty dictionary. In Odoo, the context can be used to pass additional options or context information to the search_read operation. In this case, no specific context information is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is asking Odoo to perform a search_read operation on the \"stock.orderpoint\" entity. It aims to retrieve records without any specific filter conditions but includes specific fields in the search results. The request also asks for the count of matching records and specifies the sorting, starting point, and limit for retrieval.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"8de80369-3a2b-4639-931f-b4c04d2831b6","name":"params/stock.orderpoint/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694059301788,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.orderpoint\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"location_id\",\r\n                \"product_id\",\r\n                \"product_categ_id\",\r\n                \"min_qty\",\r\n                \"max_qty\",\r\n                \"uom_id\",\r\n                \"min_qty2\",\r\n                \"max_qty2\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 09:00:11\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 04:49:37 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=6ynSSNrz48YJ8Bk430yRkDwSuVO1dS7Nx62La1oW25ZXnUkN1O9EMXxgt74zFvvRAKxgtMOFO52qn%2FcAHsOqaFACJ29JWFVszkzxR5VTglL1qinTyO7xuCbc6LpDvV78iKxE9rFStht4WoA73w%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802c53800aee881a-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1694059301788,\n    \"dt\": 15\n}"}],"_postman_id":"9e40b58e-4e02-4a51-b553-13f89b790605"}],"id":"8044c973-4400-4689-816b-89f3f19a53f6","_postman_id":"8044c973-4400-4689-816b-89f3f19a53f6","description":""},{"name":"Shipping Methods","item":[{"name":"params/inline.help/search_read","id":"02a7bda6-8bb5-4556-830d-8c0854b34ec9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694063049781,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"ship_method\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 10:03:53\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"ship_method\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first element and represents the entity type you want to search within. In this case, it's \"inline.help.\"</li>\n<li><strong>\"search_read\"</strong>: The second element specifies the action you want to perform on the \"inline.help\" entity. \"search_read\" is a common action in that retrieves records based on specific criteria.</li>\n<li><strong>Search Domain</strong>: The third element is a list containing a search domain, which defines the filtering criteria for the records you want to retrieve. Here's the breakdown of the search domain:<ol>\n<li><code>[[\"action\", \"=\", \"ship_method\"]]</code>: This is a domain filter. It's an inner list with one condition. It filters records where the \"action\" attribute is equal to \"ship_method.\" This condition helps narrow down the search to records related to ship methods.<ol>\n<li><strong>\"action\"</strong>: This is the field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li><strong>\"=\"</strong>: This operator is used to specify the type of comparison you want to perform. In this case, it's an equality comparison, which means you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li><strong>\"ship_method\"</strong>: This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records related to ship methods.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Empty Dictionary ({})</strong>: The fourth element is an empty dictionary, which typically can be used to pass additional options or context to the search_read operation. In this case, no additional context is specified.</li>\n</ol>\n<p>In summary, these parameters define a search operation to retrieve records related to ship methods from the \"inline.help\" entity based on the specified criteria, which is filtering by the \"action\" field with a value of \"ship_method.\" The empty dictionary indicates that there are no additional context or options provided for this search.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"793fb83d-eacb-495a-a532-b0e7be19df13","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694063049781,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"ship_method\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 10:03:53\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 06:03:01 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=adtNg%2FzcBpB2a2VhxiUdvjicUPqu1iuZhiapdSxr7T45enpHtdJnThMnKl5XOMw1e0KcD5wRGBoYgkEkzin8L9pwFrdqD9AyoANwETotoJo4OnPk%2BYWLqxvo3VU%2By1wAaaZJ8Y24kTBW06Nf2A%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802cbf06fbcf3e23-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694063049781,\n    \"dt\": 17\n}"}],"_postman_id":"02a7bda6-8bb5-4556-830d-8c0854b34ec9"},{"name":"params/ship.method/search_read","id":"7197f6fe-7fc8-4a8f-abf3-4a2d2da8d052","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694063049791,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"ship.method\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"description\",\r\n                \"sequence\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 10:03:53\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"ship.method\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[]<strong><strong>],<strong><strong>[</strong></strong>\"name\",</strong></strong>\"code\",<strong><strong>\"description\",</strong></strong>\"sequence\",<strong>**\"active\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"count\": true,</strong></strong>\"order\": null,<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"ship.method\"</strong>: This is the first element and represents the Odoo model or entity type you want to search within. In this case, it's \"ship.method,\" which typically corresponds to ship methods used in shipping or logistics processes.</li>\n<li><strong>\"search_read\"</strong>: The second element specifies the action you want to perform on the \"ship.method\" entity. \"search_read\" is a common action in Odoo that retrieves records based on specific criteria.</li>\n<li><strong>Search Domain</strong>: The third element is a list containing a search domain, which defines the filtering criteria for the records you want to retrieve. Here's the breakdown of the search domain:<ol>\n<li><code>[[]]</code>: This is an empty domain filter. It indicates that there are no specific conditions or filters applied to the records. In other words, you want to retrieve all records from the \"ship.method\" entity without any specific filtering criteria.</li>\n</ol>\n</li>\n<li><strong>Field List</strong>: The fourth element is also a list, and it specifies the fields or attributes of the records that you want to retrieve. In this case, you want to retrieve information about ship methods, including:<ol>\n<li><strong>\"name\"</strong>: This field represents the name or title of the ship method. It typically provides a human-readable label for the ship method, such as \"Express Shipping\" or \"Standard Shipping.\"</li>\n<li><strong>\"code\"</strong>: The \"code\" field is used to store a code or identifier associated with the ship method. This code can be useful for internal reference or integration purposes. For example, it might be a short alphanumeric code like \"EXP\" for \"Express Shipping.\"</li>\n<li><strong>\"description\"</strong>: The \"description\" field allows for storing additional information or a textual description about the ship method. This can include details about the shipping process, delivery times, or any other relevant information.</li>\n<li><strong>\"sequence\"</strong>: The \"sequence\" field is often used to determine the order or priority of ship methods. It can be a numeric value that indicates the preferred order in which these methods should be presented to users during the checkout process. For instance, a ship method with a lower sequence value might be displayed before others.</li>\n<li><strong>\"active\"</strong>: This field is typically a Boolean (true/false) attribute that indicates whether the ship method is currently active or not. An active ship method is one that can be used for shipping orders, while an inactive one might be temporarily disabled or retired.</li>\n</ol>\n</li>\n<li><strong>Context Dictionary</strong>: The fifth element is a dictionary that can be used to provide additional options or context to the search_read operation:<ol>\n<li><strong>\"count\": true</strong>: This option indicates that you want to retrieve the count of the records that match the specified criteria. It's set to \"true,\" so you'll get the total count of ship methods.</li>\n<li><strong>\"order\": null</strong>: The \"order\" option is set to \"null,\" which means that no specific sorting order is applied to the retrieved records. They will be returned in their default order.</li>\n<li><strong>\"offset\": 0</strong>: This specifies the starting point for retrieving records. In this case, it starts at the beginning (offset 0).</li>\n<li><strong>\"limit\": 100</strong>: This option limits the number of records retrieved to 100. It ensures that only the first 100 ship methods are returned.</li>\n<li><strong>\"context\": {}</strong>: The \"context\" dictionary is empty in this case, indicating that no additional context or options are provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, these parameters define a search operation in Odoo to retrieve information about ship methods from the \"ship.method\" entity. The search retrieves all ship methods without applying specific filters, and it returns selected fields for these ship methods, including their names, codes, descriptions, sequences, and active status. The result will include a count of the total ship methods, with a limit of 100 records returned.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"65733160-95bd-4072-92dd-25a2bf561a70","name":"params/ship.method/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694063049791,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"ship.method\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"description\",\r\n                \"sequence\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 10:03:53\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 06:08:13 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=yRdjIjQ8Mw2Eb4c6Url7QUvuqnEspm16OprxGMAda1Bvow%2Baw7ko1bw7M1POJEEaqnW4orJo2XCMUPToYat4x4%2FEkE5LSI1e2e4M6%2FotpRGPSwlzSnCFKA6fhBt%2FwzSociZn5Ijc6Fsgip33jw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802cc6a51f1a3e23-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 1,\n                \"name\": \"By Air\",\n                \"code\": \"Ship-001\",\n                \"sequence\": 1,\n                \"description\": null,\n                \"active\": true\n            },\n            {\n                \"id\": 3,\n                \"name\": \"By Sea\",\n                \"code\": \"Ship-002\",\n                \"sequence\": 2,\n                \"description\": null,\n                \"active\": true\n            },\n            {\n                \"id\": 4,\n                \"name\": \"Courier Service\",\n                \"code\": \"Ship-003\",\n                \"sequence\": 3,\n                \"description\": null,\n                \"active\": true\n            },\n            {\n                \"id\": 5,\n                \"name\": \"DHL eCommerce\",\n                \"code\": \"Ship-004\",\n                \"sequence\": 4,\n                \"description\": null,\n                \"active\": true\n            },\n            {\n                \"id\": 6,\n                \"name\": \"Ninja Van\",\n                \"code\": \"Ship-005\",\n                \"sequence\": 5,\n                \"description\": null,\n                \"active\": true\n            },\n            {\n                \"id\": 7,\n                \"name\": \"Others (East Malaysia)\",\n                \"code\": \"Ship-006\",\n                \"sequence\": 6,\n                \"description\": null,\n                \"active\": true\n            },\n            {\n                \"id\": 8,\n                \"name\": \"Others (West Malaysia)\",\n                \"code\": \"Ship-007\",\n                \"sequence\": 7,\n                \"description\": null,\n                \"active\": true\n            },\n            {\n                \"id\": 9,\n                \"name\": \"Shopee Xpress (West Malaysia)\",\n                \"code\": \"Ship-008\",\n                \"sequence\": 8,\n                \"description\": null,\n                \"active\": true\n            }\n        ],\n        8\n    ],\n    \"error\": null,\n    \"id\": 1694063049791,\n    \"dt\": 214\n}"}],"_postman_id":"7197f6fe-7fc8-4a8f-abf3-4a2d2da8d052"}],"id":"d66caf5e-b885-415c-b5d1-6a384072ab57","_postman_id":"d66caf5e-b885-415c-b5d1-6a384072ab57","description":""},{"name":"Shipping Rates","item":[{"name":"params/inline.help/search_read","id":"f74de9a0-bcd9-4394-8580-70f104a71067","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694067447946,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"ship_rate\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 11:17:08\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"ship_rate\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first element and represents the Odoo model or entity type you want to search within. In this case, it's \"inline.help.\"</li>\n<li><strong>\"search_read\"</strong>: The second element specifies the action you want to perform on the \"inline.help\" entity. \"search_read\" is a common action in Odoo that retrieves records based on specific criteria.</li>\n<li><strong>Search Domain</strong>: The third element is a list containing a search domain, which defines the filtering criteria for the records you want to retrieve. Here's the breakdown of the search domain:<ol>\n<li><code>[[\"action\", \"=\", \"ship_rate\"]]</code>: This is a domain filter. It's an inner list with one condition. It filters records where the \"action\" attribute is equal to \"ship_rate.\" This condition helps narrow down the search to records related to ship rates.<ol>\n<li><strong>\"action\"</strong>: This is the field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li><strong>\"=\"</strong>: This operator is used to specify the type of comparison you want to perform. In this case, it's an equality comparison, which means you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li><strong>\"ship_rate\"</strong>: This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records related to ship rates.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Empty Dictionary ({})</strong>: The fourth element is an empty dictionary, which typically can be used to pass additional options or context to the \"search_read\" operation. In this case, no additional context is specified.</li>\n</ol>\n<p>In summary, this request is asking the system to retrieve records from the \"inline.help\" entity where the \"action\" attribute is equal to \"ship_rate.\" The search will return records that match this condition, and the response will contain information about those records.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"4040f9d7-1d0f-48eb-8cc1-40fc54811221","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694067447946,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"ship_rate\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 11:17:08\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 06:18:56 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=ezwca5qnXXPNhn8v2CtWWMcOzR8pRcEbiuKqJiUs8Xgc0MxoLG3ovwX9Sa79pYPKTljTX6DARRnjD%2FGsatfnnyjktG2XzIKceXOfrmYJ1i%2F%2FRJ66UClrJz6AlQ7U7%2BIq0obFlzqU39pufv6gYA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802cd659da533e60-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694067447946,\n    \"dt\": 5\n}"}],"_postman_id":"f74de9a0-bcd9-4394-8580-70f104a71067"},{"name":"params/ship.rate/search_read","id":"ad4e6692-64a9-4ea5-b875-857ed4a1837f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694067447955,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"ship.rate\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"sequence\",\r\n                \"method_id\",\r\n                \"country_id\",\r\n                \"province_id\",\r\n                \"district_id\",\r\n                \"postal_code\",\r\n                \"min_amount\",\r\n                \"min_weight\",\r\n                \"address_name\",\r\n                \"ship_price\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 11:17:08\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"ship.rate\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"sequence\",**</strong>\"method_id\",<strong><strong>\"country_id\",</strong></strong>\"province_id\",<strong><strong>\"district_id\",</strong></strong>\"postal_code\",<strong><strong>\"min_amount\",</strong></strong>\"min_weight\",<strong><strong>\"address_name\",</strong></strong>\"ship_price\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"order\": null,</strong></strong>\"offset\": 0,<strong><strong>\"limit\": 100,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"ship.rate\"</strong>: This is the first element and represents the Odoo model or entity type you want to search within. In this case, it's \"ship.rate.\"</li>\n<li><strong>\"search_read\"</strong>: The second element specifies the action you want to perform on the \"ship.rate\" entity. \"search_read\" is a common action in Odoo that retrieves records based on specific criteria.</li>\n<li><strong>Search Domain</strong>: The third element is a list containing two sublists. The first sublist, <code>[]</code>, is an empty list, which means no specific conditions are applied to filter the records.</li>\n<li>The second sublist fields <code>[\"sequence\", \"method_id\", \"country_id\", \"province_id\", \"district_id\", \"postal_code\", \"min_amount\", \"min_weight\", \"address_name\", \"ship_price\"]</code>: These are the fields you want to retrieve from the \"ship.rate\" records. Each field represents a specific attribute or property of the rate information. The second sublist fields are followings:<ol>\n<li><strong>\"sequence\"</strong>: This field likely represents the sequence or order in which the shipping rates are applied. It's used to determine the priority of different rate options.</li>\n<li><strong>\"method_id\"</strong>: This field probably refers to the shipping method or service associated with the rate. It could include options like \"Express,\" \"Standard,\" etc.</li>\n<li><strong>\"country_id\"</strong>: This field represents the country to which the shipping rate applies. It specifies the destination country for the rate.</li>\n<li><strong>\"province_id\"</strong>: This field might denote the province or state within the destination country to which the shipping rate is applicable. It provides further specificity for the destination.</li>\n<li><strong>\"district_id\"</strong>: This field could signify a district or region within the province or state. It helps narrow down the destination even further.</li>\n<li><strong>\"postal_code\"</strong>: This field may refer to postal or ZIP codes associated with the destination area. It allows for precise rate calculations based on postal code ranges.</li>\n<li><strong>\"min_amount\"</strong>: This field likely represents the minimum purchase amount required to qualify for this shipping rate. Customers would need to spend at least this amount to be eligible.</li>\n<li><strong>\"min_weight\"</strong>: This field may specify the minimum weight of a shipment for this rate to be applicable. It ensures that heavier shipments are subject to different rates.</li>\n<li><strong>\"address_name\"</strong>: This field might contain a name or description associated with the shipping rate. It could be a user-friendly label for the rate, such as \"Standard Shipping.\"</li>\n<li><strong>\"ship_price\"</strong>: This field is probably the actual shipping cost or price associated with this rate. It represents the amount that customers would need to pay for shipping when choosing this option.</li>\n</ol>\n</li>\n<li><strong>Context Dictionary</strong>: The fourth element is a dictionary that can be used to provide additional options or context to the \"search_read\" operation. Here's what's specified in the context dictionary:<ol>\n<li><code>\"count\": true</code>: This indicates that you want to include a count of the total number of records that match the search criteria in the response.</li>\n<li><code>\"order\": null</code>: The absence of an \"order\" parameter means that no specific sorting order is defined for the retrieved records.</li>\n<li><code>\"offset\": 0</code>: This specifies the starting point or offset for the records to be retrieved. In this case, it starts from the beginning (0).</li>\n<li><code>\"limit\": 100</code>: It limits the number of records returned to a maximum of 100. If there are more matching records, you would need to use pagination to retrieve the rest.</li>\n<li><code>\"context\": {}</code>: An empty dictionary for context indicates that no specific context data is provided for this search operation.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is asking the system to retrieve records from the \"ship.rate\" entity without applying any specific conditions for filtering (hence, retrieving all records), and it specifies the fields to include in the response. Additionally, it requests a count of the total matching records and limits the number of records returned to 100.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"e77ee307-ced0-4f0d-9cb4-5018a7f37eb1","name":"params/ship.rate/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694067447955,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"ship.rate\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"sequence\",\r\n                \"method_id\",\r\n                \"country_id\",\r\n                \"province_id\",\r\n                \"district_id\",\r\n                \"postal_code\",\r\n                \"min_amount\",\r\n                \"min_weight\",\r\n                \"address_name\",\r\n                \"ship_price\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 11:17:08\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 06:24:10 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=UyuSdyuErUUhy5ugb17ZKECTLdGdYtZqfIhUG83slcOIc2Mpp05QF6s3K08ZfyGBRWDwFnN21eI8bgEMDRuNR6rQejLvD9%2B%2B0g%2FI1tHXt2kU%2FslMfNJzoq4gwuHZoJKRVQwuWq0PA9BJM6Fj8w%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802cde023cc33e60-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1694067447955,\n    \"dt\": 38\n}"}],"_postman_id":"ad4e6692-64a9-4ea5-b875-857ed4a1837f"}],"id":"04eb3ebb-c15e-4b66-819e-e66a35be7cd4","_postman_id":"04eb3ebb-c15e-4b66-819e-e66a35be7cd4","description":""},{"name":"Shipping Terms","item":[{"name":"params/inline.help/search_read","id":"16ce0f1f-4f22-4c88-b3e4-78e60907a68e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694068416381,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"ship_term\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 11:33:23\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"inline.help\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"action\",<strong>\"=\",</strong>\"ship_term\"<strong>]</strong>]<strong>],****{},</strong></p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first element and represents the Odoo model or entity type you want to search within. In this case, it's \"inline.help.\"</li>\n<li><strong>\"search_read\"</strong>: The second element specifies the action you want to perform on the \"inline.help\" entity. \"search_read\" is a common action in Odoo that retrieves records based on specific criteria.</li>\n<li><strong>Search Domain</strong>: The third element is a list containing a search domain, which defines the filtering criteria for the records you want to retrieve. In this case, the search domain is specified as follows:<ol>\n<li><code>[[\"action\", \"=\", \"ship_term\"]]</code>: This is a domain filter. It's an inner list with one condition. It filters records where the \"action\" attribute is equal to \"ship_term.\" This condition helps narrow down the search to records related to shipping terms.</li>\n<li><strong>\"action\":</strong> This is the field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li><strong>\"=\":</strong> This operator is used to specify the type of comparison you want to perform. In this case, it's an equality comparison, which means you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li><strong>\"ship_term\":</strong> This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records related to shipping terms.</li>\n</ol>\n</li>\n<li><strong>Empty Dictionary</strong>: The fourth element is an empty dictionary <code>{}</code>, which typically can be used to pass additional options or context to the search_read operation. In this case, no additional context is specified.</li>\n</ol>\n<p>In summary, this \"params\" structure defines a search and read operation \"inline.help\" model, specifically targeting records related to shipping terms by filtering based on the \"action\" field equal to \"ship_term.\" The resulting records will contain information about these shipping terms.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"2a74582e-7bd1-417a-a2a2-f4024b379389","name":"New Request","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694068416381,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"ship_term\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 11:33:23\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 06:36:25 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=ZlHfS0pfNXp%2B3DT%2FYuFKPQOLOH5eJJ2s2Z4O2RYY%2Btdz1JE0s2d2Qck4GhQXo1w6UxIjs%2FpHGH4OxrZfobbeQuHs9bozIjLhCCxvL4l3uQnmL6yOleQaoExsUoOaUHo%2BiPQmbB%2B1EMHOVgB7Qw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802ceff03fd73f5f-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694068416381,\n    \"dt\": 9\n}"}],"_postman_id":"16ce0f1f-4f22-4c88-b3e4-78e60907a68e"},{"name":"params/ship.term/search_read","id":"11fe4353-2f88-43b2-b54a-c60d6055b49c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694068416412,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"ship.term\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"description\",\r\n                \"unit_price_diff\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 11:33:23\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"ship.term\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"name\",**</strong>\"description\",<strong>**\"unit_price_diff\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"count\": true,</strong></strong>\"order\": null,<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"ship.term\"</strong>: This is the first element and represents the entity type you want to search within. In this case, it's \"ship.term.\"</li>\n<li><strong>\"search_read\"</strong>: The second element specifies the action you want to perform on the \"ship.term\" entity. \"search_read\" is a common action in Odoo that retrieves records based on specific criteria.</li>\n<li>The third element is a list containing two sub-lists. The first sub-list, <code>[]</code>, indicates that there are no specific conditions or filters applied to the records being retrieved. This means that you want to retrieve all records of the \"ship.term\" entity.</li>\n<li>The second sub-list specifies the fields you want to retrieve for each record. In this case, you want to retrieve the following fields for each \"ship.term\" record:<ol>\n<li><strong>\"name\":</strong> The name of the shipping term.</li>\n<li><strong>\"description\":</strong> A description of the shipping term.</li>\n<li><strong>\"unit_price_diff\":</strong> Information related to the unit price difference, which may be a key attribute of the shipping term.</li>\n</ol>\n</li>\n<li><strong>Context</strong>: The fourth element is a dictionary that contains additional options for the search_read operation. Here's what each option means:<ol>\n<li><strong>\"count\": true:</strong> This option indicates that you want to include a count of the total number of records that match your search criteria. It's set to \"true,\" so it will provide a count.</li>\n<li><strong>\"order\": null:</strong> The \"order\" option is set to null, meaning that there is no specific ordering or sorting applied to the retrieved records. They will be returned in an unspecified order.</li>\n<li><strong>\"offset\": 0:</strong> This specifies the starting point of the records to retrieve. In this case, it's set to retrieve records starting from the first record (index 0).</li>\n<li><strong>\"limit\": 100:</strong> The \"limit\" option restricts the maximum number of records to be retrieved to 100. This ensures that the operation doesn't return an excessive number of records in a single response.</li>\n<li><strong>\"context\": {}:</strong> The \"context\" option is an empty dictionary, which typically can be used to pass additional context or information to the search_read operation. In this case, no specific context is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this \"params\" structure defines a search and read operation \"ship.term\" model, with the intention of retrieving all records and specific fields related to shipping terms. The operation also includes counting the total number of matching records, setting an offset for where to start retrieving records, and limiting the response to 100 records.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"1f9b5c78-5f09-4a0e-9ed7-21cec4bcb172","name":"params/ship.term/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694068416412,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"ship.term\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"description\",\r\n                \"unit_price_diff\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 11:33:23\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 06:48:27 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=%2FOBAFM7f3RmRh%2BoxzRI35BBItF1qGAhQCctSHqOpmbbLnZ2G8gvgGrt0WamwdUR%2BmJK8lLGsi41qYXPVWQSCmuCI2Ywr3pBii%2Bi8LzGbOQahWtJSPNosoBpN7U76WeBuIso06uCaUjUgMAyfAA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802d01920b1f3f7d-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1694068416412,\n    \"dt\": 12\n}"}],"_postman_id":"11fe4353-2f88-43b2-b54a-c60d6055b49c"}],"id":"d51aa770-51c7-46bd-a8ef-83c577289f4a","_postman_id":"d51aa770-51c7-46bd-a8ef-83c577289f4a","description":""},{"name":"Port Loding","item":[{"name":"params/inline.help/search_read","id":"e4e10421-1dfd-4827-b6ce-9298c55069c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694069850867,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"port_loading\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 11:57:18\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"port_loading\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><code>\"params\"</code>: This is an array that contains the parameters for making a request or query in a software or system.</li>\n<li><code>\"inline.help\"</code>: This is the first element in the array and represents the specific module or entity within the software system that you want to interact with. It typically defines the context or area of functionality you are targeting.</li>\n<li><code>\"search_read\"</code>: The second element in the array specifies the action you want to perform within the chosen module or entity. In this case, it indicates that you want to perform a search and retrieve operation.</li>\n<li><code>[[\"action\", \"=\", \"port_loading\"]]</code>: The third element is a nested list that defines the search criteria or filters you want to apply to the records within the specified module. In this case, it's filtering records where the \"action\" field is equal to \"port_loading.\" This condition helps narrow down the search to records related to \"port_loading.\"</li>\n<li>Let's break down its components:<ol>\n<li><code>\"action\"</code>: This is a field or attribute within the chosen module/entity that you want to filter on.</li>\n<li><code>\"=\"</code>: This operator specifies the type of comparison you want to perform, which is an equality comparison. It means you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li><code>\"port_loading\"</code>: This is the specific value you want to compare the \"action\" field against. It represents the condition you want to meet when searching for records.</li>\n</ol>\n</li>\n<li><code>{}</code>: The fourth and final element is an empty dictionary. It is typically used to pass additional options or context to the search_read operation. In this case, no specific additional context is provided.</li>\n</ol>\n<p>In summary, these parameters indicate a request to search and retrieve records related to \"port_loading\" within a specific module or entity in the software system, with no additional context specified.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"8059aa60-9673-43df-86e9-30da81e87287","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694069850867,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"port_loading\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 11:57:18\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 07:00:24 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=YfY690zpT8%2FW4cyQTNurUBKm9n3jBJWQiTUgJ0C%2FIB4QKnZQYqCtSWS0iUkdoArw0txbGcS7BWLoQXPXqxdsliBNxCAKT%2F0AcVYCwDfoVgZ77ZFigHRFy0aHbLYwh6BC0pi%2BizeoByZ9ntA2fQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802d13142c1a3fe9-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694069850867,\n    \"dt\": 5\n}"}],"_postman_id":"e4e10421-1dfd-4827-b6ce-9298c55069c1"},{"name":"params/port.loading/search_read","id":"ab1e292b-d122-4b7c-825b-17115b8863ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694069850876,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"port.loading\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"description\",\r\n                \"country_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 11:57:18\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"port.loading\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"name\",**</strong>\"description\",****\"country_id\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"port.loading\"</code>: This indicates the module or entity within the software system that you want to perform a search operation on. In this case, it's \"port.loading,\" which likely represents a module related to loading information for ports.</li>\n<li><code>\"search_read\"</code>: This is an action that specifies the type of operation you want to perform on the \"port.loading\" entity. \"search_read\" is a common action in software systems, and it typically retrieves records based on specific criteria.</li>\n<li><code>[[], [\"name\", \"description\", \"country_id\"]]</code>: This is a list containing two sub-lists, serving as the filter criteria for the search operation. Let's break it down:<ol>\n<li><code>[]</code>: The first sub-list, which is empty, represents the search domain. An empty search domain means that there are no specific filtering conditions applied, and you want to retrieve all records within the \"port.loading\" entity.</li>\n<li><code>[\"name\", \"description\", \"country_id\"]</code>: The second sub-list specifies the fields or attributes of the records that you want to retrieve as part of the search results. In this case, you're interested in the \"name,\" \"description,\" and \"country_id\" fields.</li>\n<li>These fields are typically part of the records stored in the entity or module you are querying, and you want to access their values in the search operation.<ol>\n<li><code>\"name\"</code>: This is a field or attribute within the entity or module you are working with. It represents the name or title associated with a specific record. In this context, you are interested in retrieving the values of the \"name\" field.</li>\n<li><code>\"description\"</code>: Similar to the \"name\" field, \"description\" is another field or attribute within the entity. It typically holds additional information or a description related to a specific record. You want to retrieve the values of the \"description\" field.</li>\n<li><code>\"country_id\"</code>: This is yet another field within the entity. It's likely related to the country associated with a particular record. You are interested in retrieving the values of the \"country_id\" field.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is querying the \"port.loading\" module or entity to retrieve records without applying specific filtering conditions, and it's interested in retrieving information from the \"name,\" \"description,\" and \"country_id\" fields of those records.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"373d4ae3-bc87-4db1-85ad-60a5dafda3d6","name":"params/port.loading/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694069850876,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"port.loading\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"description\",\r\n                \"country_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 11:57:18\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 07:09:08 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=5Hf7mWPnSdoQj6nMmEB4iaUFjZSJFLy%2F8mUCLpY%2FdoUK0%2FRIRg648OOT4%2FCxwtsmrdpLwycenbxR3ST2Ut7PrVma9Ruja%2F8dzsPpnCVmxWHj655u7U%2BoDGKuc%2Bm25UojQhihUCxJrUs0jGl6ug%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802d1fe04c803f7d-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1694069850876,\n    \"dt\": 28\n}"}],"_postman_id":"ab1e292b-d122-4b7c-825b-17115b8863ec"}],"id":"4481eb87-ddda-49f5-83a7-715553d80a1f","_postman_id":"4481eb87-ddda-49f5-83a7-715553d80a1f","description":""},{"name":"Port Destination","item":[{"name":"params/inline.help/search_read","id":"65d29192-d393-4f11-9a81-5b210b2fc7e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694071153402,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"port_destination\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 12:18:59\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"port_destination\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><code>\"inline.help\"</code>: This represents the entity or module you want to interact with. In this context, you want to perform an action on the \"help\" entity.</li>\n<li><code>\"search_read\"</code>: This is the specific action you want to perform on the \"help\" entity. \"search_read\" is a common action used to retrieve records based on specific criteria.</li>\n<li>The third element is a list containing a search domain, which defines the filtering criteria for the records you want to retrieve. Here's the breakdown of the search domain:<ol>\n<li><code>[[\"action\", \"=\", \"port_destination\"]]</code>: This is a domain filter. It's an inner list with one condition. It filters records where the \"action\" attribute is equal to \"port_destination.\" This condition helps narrow down the search to records related to port destinations.</li>\n<li><code>\"action\"</code>: This is the field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li><code>\"=\"</code>: This operator is used to specify the type of comparison you want to perform. In this case, it's an equality comparison, which means you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li><code>\"port_destination\"</code>: This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records.</li>\n</ol>\n</li>\n<li><code>{}</code>: The fourth element is an empty dictionary, which typically can be used to pass additional options or context to the \"search_read\" operation. In this case, no additional context is specified.</li>\n</ol>\n<p>In summary, this request is about searching and reading records related to \"port_destination\" within the \"inline.help\" entity using the \"search_read\" operation.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"9ec64359-3ef8-4da4-b5a3-85d09fa2eea4","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694071153402,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"port_destination\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 12:18:59\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 07:23:19 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=vZKwDUw7Db5JzHUflESpmjxVyf2xdvLg4dgbmd8SQy%2FtjS6jx369Ig2cFkUm2Vq9O2xdXT6cuY9IyynbSLZCoMWze%2F6JWNeQ%2ByWj0KYmSbQtIXFOwTvflMnwZ8JqV7FS7V%2FLJaIuV%2BcKQRVIrQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802d34a76ac24df8-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694071153402,\n    \"dt\": 10\n}"}],"_postman_id":"65d29192-d393-4f11-9a81-5b210b2fc7e9"},{"name":"params/port.destination/search_read","id":"9ef78b64-b34d-404a-a8e5-0202efd78779","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694071153406,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"port.destination\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"code\",\r\n                \"name\",\r\n                \"country_id\",\r\n                \"description\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 12:18:59\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"port.destination\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"code\",**</strong>\"name\",<strong><strong>\"country_id\",</strong></strong>\"description\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"port.destination\"</code>: This is the first parameter and represents the specific entity or module in the system. In this case, it refers to \"port.destination,\" indicating that the operation will be performed on this entity.</li>\n<li><code>\"search_read\"</code>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><code>[[], [\"code\", \"name\", \"country_id\", \"description\"]]</code>: This is the third parameter and consists of two parts:<ol>\n<li><code>[]</code>: The first part, an empty list, represents the search domain. In this case, since it's empty, it means there are no specific filtering conditions applied. This indicates that the request intends to retrieve all records within the \"port.destination\" entity without applying any filtering criteria.</li>\n<li><code>[\"code\", \"name\", \"country_id\", \"description\"]</code>: The second part lists the fields or attributes of the records that you want to retrieve. In this request, you are interested in fetching records that contain information about \"code,\" \"name,\" \"country_id,\" and \"description.\"</li>\n</ol>\n</li>\n<li><code>{}</code>: This is the fourth parameter and represents an empty dictionary. Typically, this part of the request can be used to pass additional options or context to the search_read operation. However, in this request, no additional context is specified.</li>\n</ol>\n<p>In summary, the request is performing a search and read operation within the \"port.destination\" entity to retrieve all records, and it specifies that it wants to retrieve data for the \"code,\" \"name,\" \"country_id,\" and \"description\" fields. No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"4573eca6-e6f1-4984-b1dd-b7c06d71bb99","name":"params/port.destination/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694071153406,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"port.destination\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"code\",\r\n                \"name\",\r\n                \"country_id\",\r\n                \"description\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 12:18:59\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 07:33:43 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=OFGCcbiZZzjszDznMdWuRa%2B%2B9I1QVBYCqDZZ12Lpbbqo7DIYbpnslnLaGY2irf3khEgG2CLTq2CqD0XLYoys7lHSZ%2FUr9%2Bbhhpk02s%2F75Uo7nU%2FJv9ZY8A%2BUTVOns1IA4ShLvSQmSKnKEAVygA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802d43e3a85a40c6-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1694071153406,\n    \"dt\": 13\n}"}],"_postman_id":"9ef78b64-b34d-404a-a8e5-0202efd78779"}],"id":"669bae60-7aed-4301-9a93-b6f0bd8cba35","_postman_id":"669bae60-7aed-4301-9a93-b6f0bd8cba35","description":""},{"name":"Shipping Ports","item":[{"name":"params/inline.help/search_read","id":"a5724bb2-68b6-4e6c-95c2-72c7c9c98819","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694073031409,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"ship_port\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 12:50:15\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"ship_port\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><code>\"inline.help\"</code>: This is the first parameter and represents the specific entity or module in the system. In this case, it refers to \"inline.help,\" indicating that the operation will be performed on this entity.</li>\n<li><code>\"search_read\"</code>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><code>[[\"action\", \"=\", \"ship_port\"]]</code>: This is the third parameter and consists of a single search domain, which is an inner list with one condition:<ol>\n<li><code>[\"action\", \"=\", \"ship_port\"]</code>: This condition filters records where the \"action\" attribute is equal to \"ship_port.\" This means the request intends to retrieve records related to \"ship_port.\"</li>\n<li><code>\"action\"</code>: This is the field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li><code>\"=\"</code>: This operator is used to specify the type of comparison you want to perform. In this case, it's an equality comparison, which means you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li><code>\"ship_port\"</code>: This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records.</li>\n</ol>\n</li>\n<li><code>{}</code>: This is the fourth parameter and represents an empty dictionary. Typically, this part of the request can be used to pass additional options or context to the search_read operation. However, in this request, no additional context is specified.</li>\n</ol>\n<p>In summary, the request is performing a search and read operation within the \"inline.help\" entity to retrieve records related to \"ship_port.\" It specifies that it wants to retrieve records based on the condition that the \"action\" field is equal to \"ship_port.\" No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"0d0f421a-3cbc-47ae-84ff-ce08ca4134b1","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694073031409,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"ship_port\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 12:50:15\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 07:58:11 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=RrdW%2Fao%2FIKO%2FK1xpEL4OsImJLCrETveYi4b%2BKvQmJAETsyn4DFIbx1VQhXJSDukrGaXGCDNu157rG1at6HXDx4OejZIXqihWBnkOlKIJtfNGTR6vEtTj2w7gcXq6vSa5ERbCI0dbbXFmL6IW8w%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802d67baaeda405f-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694073031409,\n    \"dt\": 6\n}"}],"_postman_id":"a5724bb2-68b6-4e6c-95c2-72c7c9c98819"},{"name":"params/ship.port/search_read","id":"4a0d5db3-7c76-4049-be58-22ea10c438b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694073031415,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"ship.port\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"country_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 12:50:15\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"ship.port\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"name\",**</strong>\"country_id\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><code>\"ship.port\":</code>This parameter specifies the specific entity or module within the system. In this case, it refers to \"ship.port,\" indicating that the operation will be performed on this entity.</li>\n<li><code>\"search_read\":</code>The action parameter specifies the type of operation to be performed on the entity. \"search_read\" is a common action used in systems to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><code>[[], [\"name\", \"country_id\"]]:</code> This parameter consists of two lists:<ol>\n<li>The first list <code>[]</code> represents an empty search domain. It indicates that no specific filtering conditions are applied, so all records will be considered.</li>\n<li>The second list <code>[\"name\", \"country_id\"]</code> represents the fields or attributes of the entity that you want to retrieve in the result.<ol>\n<li><code>\"name\"</code>: This field represents the name of the ship port.</li>\n<li><code>\"country_id\"</code>: This field represents the associated country of the ship port.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request performs a search and read operation within the \"ship.port\" entity to retrieve records. It specifies that it wants to retrieve the \"name\" and \"country_id\" fields for all records without applying any specific filtering conditions.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"b19899db-f40a-47df-a7b0-0d1f00c34274","name":"params/ship.port/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694073031415,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"ship.port\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"country_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 12:50:15\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 08:06:37 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=mNBhrOGYdMO3JYzHeifSR9hirGAqVveCdNjDAyPYpWwuuSMPwZOvXr7wUiRSqY9llkao6P4etJI1FF24J5ZEXc%2BvCJSu9jWIjcV3KfMINLjpwGkYgj7aOzGksZyFMNMX3ckFUEiar7%2F%2FWPLwaw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802d74112bac496f-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1694073031415,\n    \"dt\": 13\n}"}],"_postman_id":"4a0d5db3-7c76-4049-be58-22ea10c438b9"}],"id":"543652b2-a9dc-4c35-80b9-db7d65ff2b89","_postman_id":"543652b2-a9dc-4c35-80b9-db7d65ff2b89","description":""},{"name":"Storage Types","item":[{"name":"params/inline.help/search_read","id":"a600f822-b591-4698-beac-b438dc1b661d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698312115689,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"store_type\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-26 14:21:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"inline.help\",<br />\"search_read\",<br />[<br />[<br />[<br />\"action\",<br />\"=\",<br />\"store_type\"<br />]<br />]<br />],<br />{},</strong></p>\n<ol>\n<li><p><strong>\"inline.help\"</strong>: This is the first parameter and represents a specific entity or module within the system where the operation will be performed. In this context, it signifies the \"inline.help\" entity, indicating that the operation is related to inline help information.</p>\n</li>\n<li><p><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</p>\n</li>\n<li><p><strong>[[[\"action\", \"=\", \"store_type\"]]</strong>: This is the third parameter and contains a nested list. It serves as a search domain to filter records based on specific criteria. In this case:</p>\n<ol>\n<li><p><strong>\"action\":</strong> This field is used to specify a particular attribute or characteristic of inline help content.</p>\n</li>\n<li><p><strong>\"=\":</strong> This is an operator that indicates equality. It means that the \"action\" field should be equal to the following value.</p>\n</li>\n<li><p><strong>\"store_type\":</strong> This is the value to which the \"action\" field should be equal. It appears that the search is filtering inline help content to find records associated with \"store_type.\"</p>\n</li>\n</ol>\n</li>\n<li><p><strong>{}</strong>: This is the fourth parameter and represents an empty dictionary. In the context of this request, it means that no specific options or context information is provided for the search_read operation.</p>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity, specifically aiming to retrieve inline help information related to \"store_type.\" No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"1b8efc1e-043c-44ab-8401-9a59dadd5db8","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698312115689,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"store_type\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-26 14:21:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 26 Oct 2023 09:24:35 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=BaI%2FKpkL9gfvqXCRYqHqEkrzsmVuAPLNHeBzVUYyXSRJcYWUor3UPD2YfNzAGsUfM3w2g5YbN3uIN2DhyPg7pEKg8M7BWOIt4b%2Fv31pkUOYSNohBsMpX%2BKp5jElSty673EI7LHtwoxrVLYvMeg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"81c1a5ac7d525f66-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1698312115689,\n    \"dt\": 14\n}"}],"_postman_id":"a600f822-b591-4698-beac-b438dc1b661d"},{"name":"params/store.type/search_read","id":"ef600a2a-19c5-4574-9379-22431bf6b630","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698312115696,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"store.type\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-26 14:21:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"store.type\",<br />\"search_read\",<br />[<br />[],<br />[<br />\"name\",<br />\"code\"<br />]<br />],<br />{<br />\"count\": true,<br />\"order\": null,<br />\"offset\": 0,<br />\"limit\": 100,<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"store.type\"</strong>: This is the first parameter and represents a specific entity or module within the system where the operation will be performed. In this context, it signifies the \"store.type\" entity, indicating that the operation is related to managing or retrieving information about store types.</p>\n</li>\n<li><p><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</p>\n</li>\n<li><p><strong>[[], [\"name\", \"code\"]]</strong>: This is the third parameter and consists of two lists. These field names indicate which attributes of the records you want to include in the response. The request will return values for the \"name\" and \"code\" fields for each matching store type record.</p>\n<ol>\n<li><p>The first list, [], represents the search domain. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved. It indicates that the request aims to retrieve all store type records without any specific filtering conditions.</p>\n</li>\n<li><p>The second list, [\"name\", \"code\"], specifies the fields or attributes that you want to retrieve for each record. In this request, you are retrieving records with the following fields:</p>\n<ol>\n<li><p><strong>\"name\":</strong> Represents the name or title of each store type.</p>\n</li>\n<li><p><strong>\"code\":</strong> Represents a unique code or identifier for each store type.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>{<br /> \"count\": true,<br /> \"order\": null,<br /> \"offset\": 0,<br /> \"limit\": 100,<br /> \"context\": {}<br /> }</strong>: This is the fourth parameter and represents a dictionary with various options:</p>\n<ol>\n<li><p><strong>\"count\": true</strong>: Specifies that you want to count the total number of records that match the search criteria. This allows you to determine how many store type records exist in the system.</p>\n</li>\n<li><p><strong>\"order\": null</strong>: Indicates that no specific sorting order is applied to the retrieved records. The records will be returned without any particular order.</p>\n</li>\n<li><p><strong>\"offset\": 0</strong>: Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve records starting from the first record.</p>\n</li>\n<li><p><strong>\"limit\": 100</strong>: Specifies the maximum number of records to retrieve, which is set to 100 in this request. It means that the request will fetch up to 100 store type records in a single query. If there are more records, additional requests may be needed.</p>\n</li>\n<li><p><strong>\"context\": {}</strong>: Represents an empty context, which can be used to pass additional options or context information to the search_read operation. In this request, no additional context is provided.</p>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"store.type\" entity, aiming to retrieve all store type records without any specific filtering conditions. It retrieves the \"name\" and \"code\" fields for each record, counts the total number of matching records, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 records. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"13fd49d6-6185-4d0d-b5bc-1258558474de","name":"params/store.type/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698312115696,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"store.type\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-26 14:21:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 26 Oct 2023 09:29:36 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=nzXMRjLO3c4IGdSnyllud1gT42bzxjyvslWYzEDkTUrEx2yqyfLuDPtGGOLokNb1ToG41LOLWCeTX2WU6tVi2oE2OhXufZhDQAsi1a6tGmWr5I0Z4%2BnE3gOd3km03tpyQSl8JTGd5eCwlJ%2FJsg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"81c1ad01c8315f66-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 2,\n                \"name\": \"Consignment\",\n                \"code\": null\n            },\n            {\n                \"id\": 1,\n                \"name\": \"Warehouse\",\n                \"code\": null\n            }\n        ],\n        2\n    ],\n    \"error\": null,\n    \"id\": 1698312115696,\n    \"dt\": 15\n}"}],"_postman_id":"ef600a2a-19c5-4574-9379-22431bf6b630"}],"id":"85fa2a9d-20fd-45ba-9fa5-c94b60a10250","_postman_id":"85fa2a9d-20fd-45ba-9fa5-c94b60a10250","description":""},{"name":"Packagings","item":[{"name":"params/inline.help/search_read","id":"0e1bf767-37df-460c-8a27-509e761b33d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694074870115,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"packaging\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 13:20:26\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"packaging\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be executed on the entity. This action is commonly used in systems to retrieve records based on predefined criteria. It allows you to search for and read the data of matching records.</li>\n<li><strong>[[\"action\", \"=\", \"packaging\"]]</strong>: This is the third parameter and contains a search domain, represented as an inner list with a single condition:<ol>\n<li><strong>[\"action\", \"=\", \"packaging\"]</strong>: This condition filters records where a specific attribute is equal to \"packaging.\" Essentially, this request aims to retrieve records related to \"packaging.\"<ol>\n<li><strong>\"action\"</strong>: This is the specific field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li><strong>\"=\"</strong>: This operator signifies the type of comparison being performed, which is equality. It means you're searching for records where the \"action\" field is equal to a specified value.</li>\n<li><strong>\"packaging\"</strong>: This is the value you are comparing the \"action\" field against. It serves as the condition for selecting records.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>{}</strong>: This is the fourth parameter and signifies an empty dictionary. Typically, this section of the request can be used to provide additional options or context to the search and read operation. However, in this request, no extra context or options are specified.</li>\n</ol>\n<p>In summary, this request conducts a search and read operation within a specific entity to retrieve records associated with \"packaging.\" It specifies the condition that a particular field should be equal to \"packaging\" when filtering records. No supplementary context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"b4a01330-5e92-4b14-9b5e-9e144cb0ec71","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694074870115,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"packaging\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 13:20:26\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 08:23:37 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=MZAiwsjs3jsKZKAagQawmD2zWX2%2BEqLlLxNYHOBRfATwsb4FcS2kjMXTbRY5lYKK5n8aPXCVxcTY8EFUMKt6Ps9%2BE3y8OJ3lcRtomTRbWuVHh3jN%2Fmd%2Fp1wL4V1sKtbEbMkWXABTnRvAUqeNTg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802d8cf91f2840c0-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694074870115,\n    \"dt\": 6\n}"}],"_postman_id":"0e1bf767-37df-460c-8a27-509e761b33d9"},{"name":"params/stock.packaging/search_read","id":"9a1e9414-3bb0-417c-adb5-30ddd70e63ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694074870123,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.packaging\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"description\",\r\n                \"width\",\r\n                \"height\",\r\n                \"length\",\r\n                \"net_weight\",\r\n                \"packaging_weight\",\r\n                \"product_id\",\r\n                \"num_items\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 13:20:26\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.packaging\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"name\",**</strong>\"code\",<strong><strong>\"description\",</strong></strong>\"width\",<strong><strong>\"height\",</strong></strong>\"length\",<strong><strong>\"net_weight\",</strong></strong>\"packaging_weight\",<strong><strong>\"product_id\",</strong></strong>\"num_items\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"order\": null,</strong></strong>\"offset\": 0,<strong><strong>\"limit\": 100,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"stock.packaging\"</strong>: This is the first parameter and represents the specific entity or module within the system that you want to interact with, without mentioning the system's name.</li>\n<li><strong>\"search_read\"</strong>: The second parameter indicates the action to be performed on the specified entity. This action is commonly used to retrieve records based on predefined criteria, without mentioning the system's name.</li>\n<li><strong>[[], [\"name\", \"code\", \"description\", \"width\", \"height\", \"length\", \"net_weight\", \"packaging_weight\", \"product_id\", \"num_items\"]]</strong>: This is the third parameter and consists of two lists:<ol>\n<li><strong>(First Element)</strong>: The first element in this list is empty, denoted as []. In the context of this request, this empty list signifies that no specific filter conditions are applied to retrieve records. It implies that you want to retrieve all records without applying any filtering criteria. Essentially, it's a way of saying, \"Retrieve all records.\"</li>\n<li><strong>(Second Element)</strong>: The second element in this list is another list that enumerates the fields or attributes of the entity for which you want to retrieve data. In this case, you've specified a list of fields that you are interested in:<ol>\n<li><strong>\"name\"</strong>: This field represents the name of the packaging.</li>\n<li><strong>\"code\"</strong>: It refers to a unique code or identifier associated with the packaging.</li>\n<li><strong>\"description\"</strong>: This field typically contains a description or additional information about the packaging.</li>\n<li><strong>\"width\"</strong>: It indicates the width of the packaging.</li>\n<li><strong>\"height\"</strong>: This field represents the height of the packaging.</li>\n<li><strong>\"length\"</strong>: It signifies the length of the packaging.</li>\n<li><strong>\"net_weight\"</strong>: This field often holds information about the net weight of the packaging.</li>\n<li><strong>\"packaging_weight\"</strong>: It refers to the weight of the packaging itself.</li>\n<li><strong>\"product_id\"</strong>: This field might be used to link the packaging to a specific product.</li>\n<li><strong>\"num_items\"</strong>: It could represent the number of items that can be accommodated in the packaging.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>{\"count\": true, \"order\": null, \"offset\": 0, \"limit\": 100, \"context\": {}}</strong>: This is the fourth parameter and is represented as a dictionary. It can be used to provide additional options or context for the search and read operation:<ol>\n<li><strong>\"count\": true</strong>: Indicates that you want to receive a count of the total number of records that match your search criteria.</li>\n<li><strong>\"order\": null</strong>: Implies that you don't specify a specific sorting order for the retrieved records.</li>\n<li><strong>\"offset\": 0</strong>: Suggests that you start retrieving records from the beginning (no offset).</li>\n<li><strong>\"limit\": 100</strong>: Specifies that you want a maximum of 100 records in the response.</li>\n<li><strong>\"context\": {}</strong>: An empty context is provided, meaning no additional contextual information is included in this request.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request performs a search and read operation within the specified entity to retrieve records. It defines the fields of interest and requests additional information, such as the count of matching records and limits the response to a maximum of 100 records. No specific sorting order or additional context is specified.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"af609dff-3dd6-4a4e-9d94-b48c6725d622","name":"params/stock.packaging/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694074870123,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.packaging\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"description\",\r\n                \"width\",\r\n                \"height\",\r\n                \"length\",\r\n                \"net_weight\",\r\n                \"packaging_weight\",\r\n                \"product_id\",\r\n                \"num_items\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 13:20:26\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 08:35:03 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=YQVORZx99gDnpNvsrG2WYLupCaTJW22tSxdKINtTF%2F%2FNxxApPoSMYYCSQGUO9GJac5AHRKRN%2BpeVBOE278Fruv7N886Zg2R6QI7bicLaBagqzyB9Loetg9EqJDN1zd%2B%2Bo8Bph2H6Ib%2FaU3YR8g%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802d9dbb59963fa4-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 1,\n                \"code\": null,\n                \"packaging_weight\": null,\n                \"name\": \"Packaging A\",\n                \"description\": null,\n                \"length\": null,\n                \"product_id\": null,\n                \"net_weight\": null,\n                \"num_items\": null,\n                \"width\": null,\n                \"height\": null\n            }\n        ],\n        1\n    ],\n    \"error\": null,\n    \"id\": 1694074870123,\n    \"dt\": 9\n}"}],"_postman_id":"9a1e9414-3bb0-417c-adb5-30ddd70e63ad"}],"id":"81cbec78-e2c4-48a1-8130-8434191f9484","_postman_id":"81cbec78-e2c4-48a1-8130-8434191f9484","description":""},{"name":"Container Types","item":[{"name":"params/inline.help/search_read","id":"b5cffa5d-6b59-44da-80d1-16938ede1c9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694076407473,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"container_type\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 13:46:09\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"container_type\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<p>StartFragment</p>\n<ol>\n<li><strong>Entity Type (\"inline.help\")</strong>: The first parameter in this list is \"inline.help,\" which specifies the particular entity or module within the system. In this context, it indicates that the subsequent operation will be performed on the \"inline.help\" entity.</li>\n<li><strong>Action (\"search_read\")</strong>: The second parameter, \"search_read,\" indicates the action to be executed on the specified entity. \"search_read\" is a common operation used to retrieve records from the entity based on specific criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[\"action\", \"=\", \"container_type\"]]</strong>:The third parameter is a list that contains search conditions or filter criteria. In this case, the search domain is defined as follows:<ol>\n<li><strong>[[\"action\", \"=\", \"container_type\"]]</strong>: This is a nested list with one condition, which is used to filter records based on a specific attribute.<ol>\n<li><strong>\"action\"</strong>: This is the field or attribute within the entity that you want to filter on. In this context, it's the \"action\" field.</li>\n<li><strong>\"=\"</strong>: The equal sign (=) is an operator that signifies the type of comparison to be performed. In this case, it's an equality comparison, indicating that you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li><strong>\"container_type\"</strong>: This is the value you want to compare the \"action\" field against. It represents the condition you want to meet when searching for records. In this case, you're looking for records where the \"action\" field is equal to \"container_type.\"</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>(Empty \"{}\")</strong>: The fourth parameter is an empty dictionary, denoted by \"{}.\" This part of the request can be used to pass additional options or context to the \"search_read\" operation. However, in this request, no additional context is provided, and the dictionary remains empty.</li>\n</ol>\n<p>In summary, this request is performing a \"search_read\" operation within the \"inline.help\" entity. It aims to retrieve records that meet the condition of having an \"action\" attribute equal to \"container_type.\" Since no additional context or options are specified, the default behavior of the operation will be applied.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"192b7100-4f3c-4ce1-99f5-736343cfb83c","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694076407473,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"container_type\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 13:46:09\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 08:49:11 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=GzV8eXFaNIE1D7FBGMnbMpDZw2nH2W1vFOwUv0nP6Goe%2BZleT%2BUP3GMcWEQcMx58gMZsfL7Id4a0IDwpHU1VUjIWg8mZGIxCUjIT7MMwTXogXPjVv8u2R%2F7i%2FGL6njD%2FY6nNxyeKqGU9cESJ8g%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802db27098a44673-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694076407473,\n    \"dt\": 6\n}"}],"_postman_id":"b5cffa5d-6b59-44da-80d1-16938ede1c9e"},{"name":"params/stock.container.type/search_read","id":"d38e15a4-8870-407e-9937-3463a41d0a0e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694076407482,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.container.type\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"description\",\r\n                \"width\",\r\n                \"height\",\r\n                \"length\",\r\n                \"weight\",\r\n                \"num_items\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 13:46:09\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"stock.container.type\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"name\",**</strong>\"code\",<strong><strong>\"description\",</strong></strong>\"width\",<strong><strong>\"height\",</strong></strong>\"length\",<strong><strong>\"weight\",</strong></strong>\"num_items\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"order\": null,</strong></strong>\"offset\": 0,<strong><strong>\"limit\": 100,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"stock.container.type\"</strong>: The first parameter in this list is \"stock.container.type,\" which specifies the particular entity or module within the system. In this context, it indicates that the subsequent operation will be performed on the \"stock.container.type\" entity.</li>\n<li><strong>\"search_read\"</strong>: The second parameter, \"search_read,\" indicates the action to be executed on the specified entity. \"search_read\" is a common operation used to retrieve records from the entity based on specific criteria. It allows you to search for records and read their data.</li>\n<li>The third parameter is a list that contains search conditions or filter criteria. In this case, the search domain is defined as follows:<ol>\n<li><strong>Empty List \"[]\"</strong>: The first element of the search domain is an empty list, indicating that there are no specific conditions to filter the records based on attributes.</li>\n<li>The second element of the search domain is a list that specifies the attributes or fields of the records that you want to retrieve. In this request, you're interested in fetching records with the following attributes:<ol>\n<li><strong>\"name\"</strong>: This attribute represents the name of the container type. It typically provides a descriptive label or identifier for the type of container being used. For example, it could be \"Standard Box.\"</li>\n<li><strong>\"code\"</strong>: The \"code\" attribute is often used to assign a unique identifier or code to the container type. This code can be helpful for internal tracking and management. It might be something like \"CT-001.\"</li>\n<li><strong>\"description\"</strong>: The \"description\" attribute provides additional information or details about the container type. It can include notes or comments that describe the characteristics or usage of the container. For instance, it might describe the container as \"Durable plastic container with a lid.\"</li>\n<li><strong>\"width\"</strong>: This attribute represents the width dimension of the container. It specifies the measurement of the container's width, which is essential for determining how items fit inside. Width is typically measured in units like centimeters or inches.</li>\n<li><strong>\"height\"</strong>: Similar to width, the \"height\" attribute specifies the measurement of the container's height dimension. It's important for understanding how vertically items can be stacked or placed within the container.</li>\n<li><strong>\"length\"</strong>: The \"length\" attribute indicates the measurement of the container's length dimension. Like width and height, it's crucial for determining the available space inside the container for items.</li>\n<li><strong>\"weight\"</strong>: This attribute represents the weight of the container itself. It indicates how heavy the container is without any items placed inside. Weight is often measured in units like kilograms or pounds.</li>\n<li><strong>\"num_items\"</strong>: The \"num_items\" attribute denotes the number of items or products that can be accommodated within the container. It helps users understand the capacity of the container in terms of the quantity of items it can hold. For instance, it might be set to \"10\" to indicate that the container can hold up to 10 items.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Additional Options</strong>: The fourth parameter is a dictionary that can be used to provide additional options or context for the \"search_read\" operation. In this request:<ol>\n<li><strong>\"count\": true</strong>: This option indicates that you want to include a count of the total number of records that match the search criteria.</li>\n<li><strong>\"order\": null</strong>: The \"order\" option specifies the sorting order of the retrieved records. Here, it is set to \"null,\" which means no specific sorting order is defined.</li>\n<li><strong>\"offset\": 0</strong>: This option specifies the starting position or offset for retrieving records. Here, it's set to start from the beginning (position 0).</li>\n<li><strong>\"limit\": 100</strong>: The \"limit\" option sets a maximum limit on the number of records to retrieve. In this case, it's set to a maximum of 100 records.</li>\n<li><strong>\"context\": {}</strong>: This part of the request can be used to pass additional context or configuration settings. However, in this request, the context remains empty, meaning that default settings will be applied.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a \"search_read\" operation within the \"stock.container.type\" entity. It aims to retrieve records without applying any specific filter conditions and specifies the attributes to be retrieved. Additionally, it requests a count of the total matching records, sets the maximum limit of retrieved records to 100, and does not provide any specific sorting order or additional context.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"f0a38811-a171-4742-82d4-7c472fda0ed5","name":"params/stock.container.type/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694076407482,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"stock.container.type\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"description\",\r\n                \"width\",\r\n                \"height\",\r\n                \"length\",\r\n                \"weight\",\r\n                \"num_items\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 13:46:09\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 08:54:44 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=89EIP0cnA3%2FUb%2BBDfjScZLfyocQULYtGX3oh6vYme6bvwe7xVcY47InXSXBsqw2nvjZcvFG1TZnug6lZiR5kd%2BghtlVYLZMH%2BGsW34a%2FvwBxLEUFcRB3Tv1dB7pQj9JBtynSILkYVjfMiOypTw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802dba929be14673-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1694076407482,\n    \"dt\": 15\n}"}],"_postman_id":"d38e15a4-8870-407e-9937-3463a41d0a0e"}],"id":"4f3f5851-2c7c-4c8a-ae66-0b9c11852f21","_postman_id":"4f3f5851-2c7c-4c8a-ae66-0b9c11852f21","description":""},{"name":"Delivery Slots","item":[{"name":"params/inline.help/search_read","id":"7aae70fb-c0b3-4d93-8ee7-fca24af55491","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694077521275,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"delivery_slot\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 14:04:51\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"delivery_slot\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity, module, or model within the system that the operation will be performed on. In this context, it refers to the entity or module named \"inline.help.\"</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action that will be performed on the entity. \"search_read\" is a common action in systems like Odoo, which allows users to retrieve records based on specified criteria. In this case, it indicates that the operation is to search for records and read their data.</li>\n<li>The third parameter is a list that contains a search domain. The search domain defines the filtering criteria for the records that you want to retrieve. In this case, the search domain is:<ol>\n<li><code>[[\"action\", \"=\", \"delivery_slot\"]]</code>: This is a filter condition within the search domain. It's an inner list with one condition:<ol>\n<li><code>\"action\"</code>: This is the field or attribute within the entity that you want to filter on.</li>\n<li><code>\"=\"</code>: This operator specifies the type of comparison to perform, which, in this case, is an equality comparison.</li>\n<li><code>\"delivery_slot\"</code>: This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Empty</strong> <strong><code>{}</code></strong>: The fourth parameter is an empty dictionary. In similar requests, this part of the request could be used to pass additional options or context to the \"search_read\" operation. However, in this specific request, no additional context is provided.</li>\n</ol>\n<p>In summary, the request is performing a search and read operation within the \"inline.help\" entity. It aims to retrieve records where the \"action\" field is equal to \"delivery_slot.\" No additional context or options are specified in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"ffa5ab67-d408-4c99-8de6-048e3cd492e7","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694077521275,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"delivery_slot\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 14:04:51\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 09:06:20 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=o6E6orIlZzYUAyMiMe4qneV9EBQ%2FjrLNTT%2BZpKZ2bQzEzjWZIBIr5fKP0URLVM8yEFtA%2F2dDzH6y8X2INpJ343YGGicwp2JKaa%2Bj6ecAf7cyoNOsnUcnQ%2FjhtotVCGibvPWPQZSHDFGi8KloUQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802dcb8f7b989fbb-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694077521275,\n    \"dt\": 6\n}"}],"_postman_id":"7aae70fb-c0b3-4d93-8ee7-fca24af55491"},{"name":"params/delivery.slot/search_read","id":"5907aa9a-8760-4a7a-8582-373487261213","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694077521285,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"delivery.slot\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"sequence\",\r\n                \"name\",\r\n                \"time_from\",\r\n                \"time_to\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 14:04:51\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"delivery.slot\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"sequence\",**</strong>\"name\",<strong><strong>\"time_from\",</strong></strong>\"time_to\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"order\": null,</strong></strong>\"offset\": 0,<strong><strong>\"limit\": 100,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"delivery.slot\"</strong>: This is the first parameter and represents the specific entity, module, or model within the system where the operation will be performed. In this case, it refers to the entity or model named \"delivery.slot.\"</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action that will be performed on the entity. \"search_read\" is a common action in systems like Odoo, which allows users to retrieve records based on specified criteria. In this case, it indicates that the operation is to search for records and read their data.</li>\n<li>The second list within the third parameter, <code>[\"sequence\", \"name\", \"time_from\", \"time_to\"]</code>, specifies the fields or attributes of the records that you want to retrieve. These fields include:<ol>\n<li><strong>\"sequence\"</strong>: This is the name of a field or attribute within the \"delivery.slot\" entity (or model). When used as part of a request like this, it indicates that you want to retrieve the values stored in the \"sequence\" field for the matching records. The \"sequence\" field might contain numerical values or identifiers associated with delivery slots, which can be useful for sorting or identifying records.</li>\n<li><strong>\"name\"</strong>: Similar to \"sequence,\" \"name\" is another field or attribute within the \"delivery.slot\" entity. Including \"name\" in this list signifies that you want to retrieve the values stored in the \"name\" field for the matching records. The \"name\" field often contains human-readable labels or names for delivery slots, making it useful for displaying or referencing the slots.</li>\n<li><strong>\"time_from\"</strong>: This field is likely used to store the starting time of a delivery slot. When \"time_from\" is included in this list, it indicates that you want to retrieve the values stored in the \"time_from\" field for the matching records. These values can represent the beginning time of each delivery slot.</li>\n<li><strong>\"time_to\"</strong>: Much like \"time_from,\" \"time_to\" is a field that is probably used to store the ending time of a delivery slot. When included in this list, it signifies that you want to retrieve the values stored in the \"time_to\" field for the matching records. These values can represent the end time of each delivery slot.</li>\n</ol>\n</li>\n<li><strong>Context</strong>: The fourth parameter is a dictionary that provides additional options and context for the operation:<ol>\n<li><code>\"count\": true</code>: This option indicates that the request should return a count of the total number of records that match the specified criteria.</li>\n<li><code>\"order\": null</code>: This specifies that there is no specific sorting order defined for the retrieved records.</li>\n<li><code>\"offset\": 0</code>: It sets the offset or starting point for retrieving records to the beginning (0).</li>\n<li><code>\"limit\": 100</code>: This limits the maximum number of records to be retrieved to 100.</li>\n<li><code>\"context\": {}</code>: The context parameter is empty in this request, which means no additional context information is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the request is performing a search and read operation within the \"delivery.slot\" entity. It retrieves records without specific filtering criteria (all records), and it retrieves specific fields from those records. Additionally, it counts the total number of matching records and specifies pagination parameters such as the offset and limit for result retrieval.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"f706d13f-616d-4031-9cb6-8719b50a4479","name":"params/delivery.slot/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694077521285,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"delivery.slot\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"sequence\",\r\n                \"name\",\r\n                \"time_from\",\r\n                \"time_to\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 14:04:51\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 09:12:07 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=KThpXXUiImkB1jpA21t6ZW0AS2AcDHrJG65JCo3e6YRNRZJEbOkfw9VBE9RE%2BtANNA6qWrxZpM88Efb0QmtKXGhwH5PcjZ8vvb%2Fs5YXDNcsqrg2ri6iQ9ABIUdLTmrv4fXr7mkgpHdjBHQe8DA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802dd4091e629fbb-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 1,\n                \"time_from\": \"6am\",\n                \"name\": \"Morning (6-10am)\",\n                \"sequence\": 0,\n                \"time_to\": \"10am\"\n            }\n        ],\n        1\n    ],\n    \"error\": null,\n    \"id\": 1694077521285,\n    \"dt\": 11\n}"}],"_postman_id":"5907aa9a-8760-4a7a-8582-373487261213"}],"id":"c708c988-49ea-4f11-84c8-0d906bf1f7c3","_postman_id":"c708c988-49ea-4f11-84c8-0d906bf1f7c3","description":""},{"name":"Route Settings","item":[{"name":"params/inline.help/search_read","id":"9c3b396b-27df-4c23-a077-7ae1f779982b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694078367740,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"route_settings\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 14:05:21\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"route_settings\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter, and it specifies the entity or module within the system that the operation will target. In this case, it refers to \"inline.help,\" indicating that the operation will be performed within this entity.</li>\n<li><strong>\"search_read\"</strong>: The second parameter is the action to be performed on the specified entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specific criteria. It allows you to search for records and read their data.</li>\n<li>The third parameter is a list containing a search domain. The search domain defines the criteria for filtering records. In this request, the search domain is a nested list with one condition:<ol>\n<li><strong>[\"action\", \"=\", \"route_settings\"]</strong>: This condition filters records where the \"action\" attribute is equal to \"route_settings.\" It specifies the criteria that should be met when searching for records.</li>\n<li><strong>\"action\"</strong>: This is the field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li><strong>\"=\"</strong>: This operator is used to specify the type of comparison you want to perform. In this case, it's an equality comparison, which means you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li><strong>\"route_settings\"</strong>: This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records.</li>\n</ol>\n</li>\n<li><strong>Empty ({})</strong>: The fourth parameter represents an empty dictionary. Typically, this part of the request can be used to pass additional options or context to the \"search_read\" operation. However, in this request, no additional context is specified.</li>\n</ol>\n<p>In summary, this request is performing a \"search_read\" operation within the \"inline.help\" entity. It specifies that it wants to retrieve records based on the condition that the \"action\" field is equal to \"route_settings.\" No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"f22e153f-ee8c-4125-8c4b-0cf1cbd97e83","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694078367740,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"route_settings\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 14:05:21\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 09:22:12 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=grgURo7UMktuDCHZrB%2Fj%2BhGIecbjwkJcY1uR5sSD3Pt4ITxGzq7w4jCOngezwUqcTv8fUlYRRGHf83h6IUsUJSd9fDWRawdTqZUAAdV7j0ty%2FpuFCtq338Nx9yN6WBB81COM%2FNqXNzqxONPMuA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802de2ca4c6940fa-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694078367740,\n    \"dt\": 6\n}"}],"_postman_id":"9c3b396b-27df-4c23-a077-7ae1f779982b"},{"name":"params/route.setting/search_read","id":"b26154e7-8958-467f-9eae-98a2907e8d9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694078367762,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"route.settings\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"type\",\r\n                \"sequence\",\r\n                \"product_id\",\r\n                \"location_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 14:05:21\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"route.settings\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[]<strong><strong>],<strong><strong>[</strong></strong>\"type\",</strong></strong>\"sequence\",<strong><strong>\"product_id\",</strong></strong>\"location_id\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"order\": null,</strong></strong>\"offset\": 0,<strong><strong>\"limit\": 100,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"route.settings\"</strong>: This is the first parameter, and it specifies the entity or module within the system that the operation will target. In this case, it refers to \"route.settings,\" indicating that the operation will be performed within this entity.</li>\n<li><strong>\"search_read\"</strong>: The second parameter is the action to be performed on the specified entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specific criteria. It allows you to search for records and read their data.</li>\n<li>The third parameter is a list containing a search domain. The search domain defines the criteria for filtering records. In this request, the search domain is a nested list with one condition:<ol>\n<li><strong>[]</strong>: This inner list is empty, indicating that there are no specific filter conditions specified. It means that the request intends to retrieve all records within the \"route.settings\" entity without any specific filtering criteria.</li>\n</ol>\n</li>\n<li>There's another list that specifies which fields or attributes of the records should be included in the response. In this case, the request specifies the following fields to be retrieved for each record:<ol>\n<li><strong>\"type\"</strong>: This field represents the type of route settings. It typically contains information about the specific type or category of a route within the system. For example, it might indicate whether the route is for standard delivery, express delivery, or another type.</li>\n<li><strong>\"sequence\"</strong>: This field is related to the sequence number associated with the route settings. Sequences are often used to determine the order or priority of routes. Lower sequence numbers may indicate higher priority, for instance.</li>\n<li><strong>\"product_id\"</strong>: This field refers to the product associated with the route settings. It could be a product that's commonly associated with the route, such as a particular item that is frequently delivered via that route.</li>\n<li><strong>\"location_id\"</strong>: This field represents the location associated with the route settings. Locations are often crucial in logistics and supply chain management. This field could specify the starting or ending point of the route, which could be a warehouse, distribution center, or any other location relevant to the route.</li>\n</ol>\n</li>\n<li><strong>Context</strong>: The request includes an additional dictionary containing options and context for the operation:<ol>\n<li><strong>\"count\": true</strong>: This option indicates that the request also wants to know the total count of records that match the specified criteria. It's set to \"true\" in this case.</li>\n<li><strong>\"order\": null</strong>: The \"order\" option is set to \"null,\" meaning that there is no specific sorting order specified for the retrieved records.</li>\n<li><strong>\"offset\": 0</strong>: This specifies the starting point for retrieving records. In this case, it starts from the beginning (offset 0).</li>\n<li><strong>\"limit\": 100</strong>: It sets a limit on the number of records to be retrieved, allowing a maximum of 100 records to be returned.</li>\n<li><strong>\"context\": {}</strong>: The \"context\" option can be used to pass additional context or parameters to the operation. However, in this request, it's an empty dictionary, indicating that no additional context is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a \"search_read\" operation within the \"route.settings\" entity. It intends to retrieve all records within this entity and specifies the fields to be included in the response. Additionally, it requests the total count of matching records and sets certain limits and options for the operation.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"9402a662-b4e4-4a80-8ba3-5179461924ed","name":"params/route.setting/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694078367762,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"route.settings\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"type\",\r\n                \"sequence\",\r\n                \"product_id\",\r\n                \"location_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-07 14:05:21\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 07 Sep 2023 09:28:07 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=qpfAN8C89nVxY8ToNdQi6L8wjLZZjadWL0ZMlHsaVy4x%2FpaubgrS5qggwltZgI3pPlBDGHeZa3ppy4x3smOXRVgfbXctSBEjB6p61GbgYZjfO9hDCYbkAdj5kdGncxT9zWCPNerQhFFJqGn6Zg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"802deb795eef40fa-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1694078367762,\n    \"dt\": 11\n}"}],"_postman_id":"b26154e7-8958-467f-9eae-98a2907e8d9e"}],"id":"2a9fea92-8d2c-441d-98bb-0708e433e9da","_postman_id":"2a9fea92-8d2c-441d-98bb-0708e433e9da","description":""}],"id":"06b947c8-2134-4a19-acf9-de4986f933c3","_postman_id":"06b947c8-2134-4a19-acf9-de4986f933c3","description":""}],"id":"6ddcd8bb-ee01-4b3c-bf28-532a4df3aff6","_postman_id":"6ddcd8bb-ee01-4b3c-bf28-532a4df3aff6","description":""},{"name":"Sales","item":[{"name":"Dashoard","item":[{"name":"params/report.sale/sales_per_month","id":"0812f057-e1d5-48a7-9b36-3ba59b3db24a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694492950721,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale\",\r\n        \"sales_per_month\",\r\n        {},\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 09:29:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.sale\",</strong>\"sales_per_month\",<strong>{},****{},</strong></p>\n<ol>\n<li><strong>\"report.sale\"</strong>: This is the first parameter and represents the specific report or report category you want to generate. In this case, it's \"report.sale,\" indicating that the operation is intended to generate a report related to sales.</li>\n<li><strong>\"sales_per_month\"</strong>: The second parameter specifies the specific report or action to perform within the \"report.sale\" category. \"sales_per_month\" indicates that you want to generate a report that provides sales data categorized by months. This action typically retrieves data related to sales transactions and organizes it by month.</li>\n<li><strong>{} (Empty Dictionary)</strong>: The third parameter is an empty dictionary. It is often used to pass additional options or context to the report generation operation. However, in this request, no additional options or context are specified, as the dictionary is empty.</li>\n<li><strong>{} (Empty Dictionary)</strong>: The fourth parameter is also an empty dictionary. It can be used to provide additional options or context for the report generation operation. However, in this request, it is empty, meaning that no specific additional context or options are provided.</li>\n</ol>\n<p>In summary, this request is instructing the system to generate a sales report categorized by months, with no additional options or context specified for the report generation. The response will likely contain the sales data organized into monthly segments.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"2bcd275d-0eb6-4612-a78b-9d190480e2d7","name":"params/report.sale/sales_per_month","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694492950721,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale\",\r\n        \"sales_per_month\",\r\n        {},\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 09:29:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Sep 2023 04:30:53 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=W8FXeIDMinRURvCSatBdPwpLBPj4V0qERbMYdyoLG7YEyAFGJhQWkHxl8ueL8vVx4TkTwZbROq2ynHNTEOSd0Jlsjs%2Fl2Q1ysHe%2Flx6WClpMr1tgT5Goupkb%2Ft7geE76st8%2FAmdlSwRwawDXYw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80556aef4ee2d1f0-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            \"April\",\n            4213.5\n        ],\n        [\n            \"May\",\n            456169\n        ],\n        [\n            \"June\",\n            563833.71\n        ],\n        [\n            \"July\",\n            928691.82\n        ],\n        [\n            \"August\",\n            38160\n        ],\n        [\n            \"September\",\n            0\n        ]\n    ],\n    \"error\": null,\n    \"id\": 1694492950721,\n    \"dt\": 7\n}"}],"_postman_id":"0812f057-e1d5-48a7-9b36-3ba59b3db24a"},{"name":"params/report.sale/get_sales_per_day","id":"8653f023-e1ad-44bc-ab52-7e1126828afa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694492950724,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale\",\r\n        \"get_sales_per_day\",\r\n        {},\r\n        {\r\n            \"month\": \"2023-9-01\"\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 09:29:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.sale\",<strong><strong>\"get_sales_per_day\",</strong></strong>{},<strong><strong>{</strong></strong>\"month\": \"2023-9-01\"****},</strong></p>\n<ol>\n<li><strong>\"report.sale\"</strong>: This is the first parameter and represents the specific report or report category you want to generate. In this case, it's \"report.sale,\" indicating that the operation is intended to generate a report related to sales.</li>\n<li><strong>\"get_sales_per_day\"</strong>: The second parameter specifies the specific report or action to perform within the \"report.sale\" category. \"get_sales_per_day\" indicates that you want to generate a report that provides sales data categorized by day. This action typically retrieves data related to sales transactions and organizes it by day.</li>\n<li><strong>{} (Empty Dictionary)</strong>: The third parameter is an empty dictionary. It is often used to pass additional options or context to the report generation operation. However, in this request, no additional options or context are specified, as the dictionary is empty.</li>\n<li><strong>{<strong><strong>\"month\": \"2023-9-01\"</strong></strong>}</strong>: The fourth parameter is a dictionary containing additional options or context for the report generation operation. In this case, it specifies the \"month\" key with the value \"2023-9-01.\" This indicates that you want to generate a sales report specifically for the month of September 2023.</li>\n</ol>\n<p>In summary, this request is instructing the system to generate a sales report categorized by day for the month of September 2023, with no other additional options or context specified. The response will likely contain the sales data organized into daily segments for that specific month.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"0c50673e-69d1-418a-93dc-d588c5959b08","name":"params/report.sale/get_sales_per_day","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694492950724,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale\",\r\n        \"get_sales_per_day\",\r\n        {},\r\n        {\r\n            \"month\": \"2023-9-01\"\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 09:29:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Sep 2023 04:44:23 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=nmi1t%2Bsvz6RGIbgJdKucUiwywOUAyICXwyD%2BWmKOBXHnRxr6Peo8c4RiHwEOVZbQZXFkcpo5pVSoyO32QioQzl2S5qYwbBFPtHSV6ce6Rg1%2FQ0J9IXbACtDt44cgc7bUY%2BJ7D5PRNxJpJWBiMQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80557eb1dcb8de57-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"name\": \"This Month\",\n            \"data\": [],\n            \"color\": \"blue\"\n        },\n        {\n            \"name\": \"Previous Month\",\n            \"data\": [\n                [\n                    2,\n                    38160\n                ]\n            ],\n            \"color\": \"orange\"\n        }\n    ],\n    \"error\": null,\n    \"id\": 1694492950724,\n    \"dt\": 12\n}"}],"_postman_id":"8653f023-e1ad-44bc-ab52-7e1126828afa"},{"name":"params/report.sale/get_new_customer","id":"23deb9a0-2158-4b5b-bd99-5e9973af7cb6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694492950727,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale\",\r\n        \"get_new_customer\",\r\n        {},\r\n        {\r\n            \"month\": \"2023-9-01\"\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 09:29:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.sale\",<strong><strong>\"get_new_customer\",</strong></strong>{},<strong><strong>{</strong></strong>\"month\": \"2023-9-01\"****},</strong></p>\n<ol>\n<li><strong>\"report.sale\"</strong>: This is the first parameter and represents the specific report or report category you want to generate. In this case, it's \"report.sale,\" indicating that the operation is intended to generate a report related to sales.</li>\n<li><strong>\"get_new_customer\"</strong>: The second parameter specifies the specific report or action to perform within the \"report.sale\" category. \"get_new_customer\" indicates that you want to generate a report that provides information about new customers. This action typically retrieves data related to customers who have made their first purchase within a specified period.</li>\n<li><strong>{} (Empty Dictionary)</strong>: The third parameter is an empty dictionary. It is often used to pass additional options or context to the report generation operation. However, in this request, no additional options or context are specified, as the dictionary is empty.</li>\n<li><strong>{<strong><strong>\"month\": \"2023-9-01\"</strong></strong>}</strong>: The fourth parameter is a dictionary containing additional options or context for the report generation operation. In this case, it specifies the \"month\" key with the value \"2023-9-01.\" This indicates that you want to generate a report specifically for the month of September 2023.</li>\n</ol>\n<p>In summary, this request is instructing the system to generate a report that provides information about new customers who made their first purchase in the month of September 2023, with no other additional options or context specified. The response will likely contain data about these new customers and their first purchases during that specific month.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"baa52706-f766-4cd9-8fd1-8d37e28b3749","name":"params/report.sale/get_new_customer","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694492950727,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale\",\r\n        \"get_new_customer\",\r\n        {},\r\n        {\r\n            \"month\": \"2023-9-01\"\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 09:29:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Sep 2023 04:54:20 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=hgHt8TwjiWiTcrIn7nv1WxXB5fzKQiMI0NSQ9RK6RnN%2By8ZFV3wfNyCe9%2FN4a5wH%2B6jh55HW592i6yhcnPbP0TTFiC2OF06F%2FB8dZIGsDs05jz2wu27MWVcgK0bn3Z4vrvoux3rWFf9IxCNKGw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80558d49ef43de53-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"name\": \"New Customer\",\n            \"data\": 5,\n            \"color\": \"blue\"\n        }\n    ],\n    \"error\": null,\n    \"id\": 1694492950727,\n    \"dt\": 6\n}"}],"_postman_id":"23deb9a0-2158-4b5b-bd99-5e9973af7cb6"},{"name":"params/report.sale/get_sale_new_customer","id":"79420374-ab48-4464-aa8e-699531118e4b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694492950731,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale\",\r\n        \"get_sale_new_customer\",\r\n        {},\r\n        {\r\n            \"month\": \"2023-9-01\"\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 09:29:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.sale\",<strong><strong>\"get_sale_new_customer\",</strong></strong>{},<strong><strong>{</strong></strong>\"month\": \"2023-9-01\"****},</strong></p>\n<ol>\n<li><strong>\"report.sale\"</strong>: This is the first parameter and represents the specific report or report category you want to generate. In this case, it's \"report.sale,\" indicating that the operation is intended to generate a report related to sales.</li>\n<li><strong>\"get_sale_new_customer\"</strong>: The second parameter specifies the specific report or action to perform within the \"report.sale\" category. \"get_sale_new_customer\" indicates that you want to generate a report related to new customers in the context of sales. This action typically retrieves data about customers who have made their first purchase within a specified period.</li>\n<li><strong>{} (Empty Dictionary)</strong>: The third parameter is an empty dictionary. It is often used to pass additional options or context to the report generation operation. However, in this request, no additional options or context are specified, as the dictionary is empty.</li>\n<li><strong>{<strong><strong>\"month\": \"2023-9-01\"</strong></strong>}</strong>: The fourth parameter is a dictionary containing additional options or context for the report generation operation. In this case, it specifies the \"month\" key with the value \"2023-9-01.\" This indicates that you want to generate a report specifically for the month of September 2023.</li>\n</ol>\n<p>In summary, this request is instructing the system to generate a report that provides information about new customers in the context of sales, specifically focusing on those who made their first purchase in the month of September 2023. No other additional options or context are specified in this request. The response will likely contain data about these new customers and their first purchases during that specific month.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"b4aec2bf-1cf1-4809-8dee-8e544ed0b432","name":"New Request","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694492950731,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale\",\r\n        \"get_sale_new_customer\",\r\n        {},\r\n        {\r\n            \"month\": \"2023-9-01\"\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 09:29:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Sep 2023 05:08:32 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=s3%2F%2B2W%2Bukzbb8Y9eB1p3FwcvF5ttfNbSOAfr%2BhRMguj3bIODxd4%2FV2Yp7isqdwlDsO0NPMJG7zvGIs299aARRoS2DQ3x0u1bXLkcdYuf0qEIv3gzVtymSLF0%2FCYKa5OtSszMmYVpM%2Fq32GYyoQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8055a217bf048766-DUS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"name\": \"New Customer Sale\",\n            \"data\": 0,\n            \"color\": \"blue\"\n        }\n    ],\n    \"error\": null,\n    \"id\": 1694492950731,\n    \"dt\": 15\n}"}],"_postman_id":"79420374-ab48-4464-aa8e-699531118e4b"},{"name":"params/sale.lead/get_new_lead","id":"9cbeaffa-9775-4475-8f65-51557c4f8301","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694492950735,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.lead\",\r\n        \"get_new_lead\",\r\n        {},\r\n        {\r\n            \"month\": \"2023-9-01\"\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 09:29:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"sale.lead\",<strong><strong>\"get_new_lead\",</strong></strong>{},<strong><strong>{</strong></strong>\"month\": \"2023-9-01\"****},</strong></p>\n<ol>\n<li><strong>\"sale.lead\"</strong>: This is the first parameter and represents the specific module or entity within the system. In this case, it's \"sale.lead,\" indicating that the operation is related to sales leads or opportunities.</li>\n<li><strong>\"get_new_lead\"</strong>: The second parameter specifies the specific action or report you want to perform within the \"sale.lead\" entity. \"get_new_lead\" indicates that you want to retrieve information related to new sales leads or opportunities. This action typically retrieves data about leads that have been generated or acquired during a specified period.</li>\n<li><strong>{} (Empty Dictionary)</strong>: The third parameter is an empty dictionary. It is often used to pass additional options or context to the operation. However, in this request, no additional options or context are specified, as the dictionary is empty.</li>\n<li><strong>{<strong><strong>\"month\": \"2023-9-01\"</strong></strong>}</strong>: The fourth parameter is a dictionary containing additional options or context for the operation. In this case, it specifies the \"month\" key with the value \"2023-9-01.\" This indicates that you want to retrieve data specifically for the month of September 2023.</li>\n</ol>\n<p>In summary, this request instructs the system to retrieve information about new sales leads or opportunities that were generated or acquired during the month of September 2023. No additional options or context are provided in this request. The response will likely contain data about these new leads and their details within the specified month.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"52826f4c-58a8-4c0d-89f5-51e641325f3b","name":"params/sale.lead/get_new_lead","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694492950735,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.lead\",\r\n        \"get_new_lead\",\r\n        {},\r\n        {\r\n            \"month\": \"2023-9-01\"\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 09:29:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Sep 2023 06:04:07 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Dv3chRu4qWD%2BZDuPRZZwMBsauESB%2FxKoDJL8QoxmTK3nLL76xpnPl3YjgjRbEYuOZ4taEpRpH1grpr0ZJ5dt2GgaqdQjj76cikmQU9MEqWZY9Kc8aeGBWLWugxvRJu4URTEq2CJ9oTO37ZBcig%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8055f37f58b606d2-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"name\": \"New Lead\",\n            \"data\": 7,\n            \"color\": \"blue\"\n        }\n    ],\n    \"error\": null,\n    \"id\": 1694492950735,\n    \"dt\": 24\n}"}],"_postman_id":"9cbeaffa-9775-4475-8f65-51557c4f8301"},{"name":"params/report.sale/monthly_sale","id":"0cce9622-1459-43d2-b663-2e07db8e64d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694492950740,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale\",\r\n        \"monthly_sale\",\r\n        {},\r\n        {\r\n            \"month\": \"2023-9-01\"\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 09:29:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.sale\",<strong><strong>\"monthly_sale\",</strong></strong>{},<strong><strong>{</strong></strong>\"month\": \"2023-9-01\"****},</strong></p>\n<ol>\n<li><strong>\"report.sale\"</strong>: This is the first parameter and represents the specific module or entity within the system. In this case, it's \"report.sale,\" indicating that the operation is related to generating a sales report.</li>\n<li><strong>\"monthly_sale\"</strong>: The second parameter specifies the specific type of report or action you want to perform within the \"report.sale\" entity. \"monthly_sale\" indicates that you want to generate a report on monthly sales data. This action typically retrieves and summarizes sales data for a specific month.</li>\n<li><strong>{} (Empty Dictionary)</strong>: The third parameter is an empty dictionary. It is often used to pass additional options or context to the report generation operation. However, in this request, no additional options or context are specified, as the dictionary is empty.</li>\n<li><strong>{<strong><strong>\"month\": \"2023-9-01\"</strong></strong>}</strong>: The fourth parameter is a dictionary containing additional options or context for the report generation. In this case, it specifies the \"month\" key with the value \"2023-9-01.\" This indicates that you want to generate the monthly sales report for the month of September 2023.</li>\n</ol>\n<p>In summary, this request instructs the system to generate a report that summarizes sales data for the month of September 2023. The report will likely include information about sales figures, products sold, revenue generated, and other relevant sales data for that specific month. No additional options or context are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"d522b617-cf59-4c4d-bddb-e9ab124a8746","name":"params/report.sale/monthly_sale","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694492950740,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale\",\r\n        \"monthly_sale\",\r\n        {},\r\n        {\r\n            \"month\": \"2023-9-01\"\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 09:29:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Sep 2023 06:16:13 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=AMVTjdjKSWSvzQsUMnKEWyMZ%2FmN4ZEyvVKXQYH5bV11kl8wqOrMESxcxsesWNgPm6S5NWwmwB3SXffuyzU2rCt0yqh%2BIw7OfI2MdUKRi6ttuUs%2FkW0HzKcjwwHQ%2FXtywQ8FDm%2FkQEkwVrSdydQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8056053ae8fab8fd-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"name\": \"Monthly Sale\",\n            \"data\": 0,\n            \"color\": \"blue\"\n        }\n    ],\n    \"error\": null,\n    \"id\": 1694492950740,\n    \"dt\": 7\n}"}],"_postman_id":"0cce9622-1459-43d2-b663-2e07db8e64d9"},{"name":"params/report.sale/get_conversion","id":"0f828e96-e0e6-49a4-b588-611c410a2a92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694492950744,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale\",\r\n        \"get_conversion\",\r\n        {},\r\n        {\r\n            \"month\": \"2023-9-01\"\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 09:29:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.sale\",<strong><strong>\"get_conversion\",</strong></strong>{},<strong><strong>{</strong></strong>\"month\": \"2023-9-01\"****},</strong></p>\n<ol>\n<li><strong>\"report.sale\"</strong>: This is the first parameter and represents the specific module or entity within the system. In this case, it's \"report.sale,\" indicating that the operation is related to generating a sales report.</li>\n<li><strong>\"get_conversion\"</strong>: The second parameter specifies the specific type of report or action you want to perform within the \"report.sale\" entity. \"get_conversion\" likely indicates that you want to retrieve data related to conversion rates. Conversion rates typically refer to the percentage of leads or visitors that take a desired action, such as making a purchase.</li>\n<li><strong>{} (Empty Dictionary)</strong>: The third parameter is an empty dictionary. It is often used to pass additional options or context to the report generation operation. However, in this request, no additional options or context are specified, as the dictionary is empty.</li>\n<li><strong>{<strong><strong>\"month\": \"2023-9-01\"</strong></strong>}</strong>: The fourth parameter is a dictionary containing additional options or context for the report generation. In this case, it specifies the \"month\" key with the value \"2023-9-01.\" This indicates that you want to retrieve data related to conversion rates for the month of September 2023.</li>\n</ol>\n<p>In summary, this request instructs the system to retrieve data related to conversion rates, likely for sales or marketing purposes, for the month of September 2023. No additional options or context are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"eaaf2ae2-20a9-4701-a54f-f56e9624e600","name":"params/report.sale/get_conversion","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694492950744,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale\",\r\n        \"get_conversion\",\r\n        {},\r\n        {\r\n            \"month\": \"2023-9-01\"\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 09:29:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Sep 2023 06:24:02 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=iA2Yymshej27u1g%2BMEvAqJOkfFtAWYpyif7FxADX0umakzDzipXLIbEHtdtEgJN70%2BZO9N9mj2yr9RkNn5sTPSNds95RoeFsinGZuznbBbU7D64i7JEKXsVvBFjUzmSSvF9Dhz6MWKO7%2BqmszA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"805610ac0eb21ea1-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"name\": \"Last 12 month conversion\",\n            \"data\": 91.67,\n            \"color\": \"blue\"\n        }\n    ],\n    \"error\": null,\n    \"id\": 1694492950744,\n    \"dt\": 46\n}"}],"_postman_id":"0f828e96-e0e6-49a4-b588-611c410a2a92"},{"name":"params/report.sale/sales_per_product_categ","id":"672b5659-bb50-496e-8329-b2a3c970c1a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694492950748,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale\",\r\n        \"sales_per_product_categ\",\r\n        {},\r\n        {\r\n            \"month\": \"2023-9-01\"\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 09:29:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.sale\",<strong><strong>\"sales_per_product_categ\",</strong></strong>{},<strong><strong>{</strong></strong>\"month\": \"2023-9-01\"****},</strong></p>\n<ol>\n<li><strong>\"report.sale\"</strong>: This is the first parameter and represents the specific module or entity within the system. In this case, it's \"report.sale,\" indicating that the operation is related to generating a sales report.</li>\n<li><strong>\"sales_per_product_categ\"</strong>: The second parameter specifies the specific type of report or action you want to perform within the \"report.sale\" entity. \"sales_per_product_categ\" likely indicates that you want to retrieve data related to sales performance per product category.</li>\n<li><strong>{} (Empty Dictionary)</strong>: The third parameter is an empty dictionary. It is often used to pass additional options or context to the report generation operation. However, in this request, no additional options or context are specified, as the dictionary is empty.</li>\n<li><strong>{<strong><strong>\"month\": \"2023-9-01\"</strong></strong>}</strong>: The fourth parameter is a dictionary containing additional options or context for the report generation. In this case, it specifies the \"month\" key with the value \"2023-9-01.\" This indicates that you want to retrieve data related to sales per product category for the month of September 2023.</li>\n</ol>\n<p>In summary, this request instructs the system to generate a sales report that provides data on sales performance per product category for the month of September 2023. No additional options or context are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"362935c6-a03b-4556-8c41-8b171b4f51d2","name":"params/report.sale/sales_per_product_categ","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694492950748,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale\",\r\n        \"sales_per_product_categ\",\r\n        {},\r\n        {\r\n            \"month\": \"2023-9-01\"\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 09:29:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Sep 2023 06:36:33 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=OGAiBO4OhyNmdxz5b7mFqu4WbyPL2R%2F%2BDbwpzNp8jDCxrH5aHtRvrhe%2FOhdNdPTzGSePTkIEwTHtPcLLAvMW5LYQrZEgdl7zBw58d1PDV7rDVrc4Ykbjf2CMi7BXs4l7neOOIqGR7pjwf%2FMY6w%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80562300e80eb785-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694492950748,\n    \"dt\": 15\n}"}],"_postman_id":"672b5659-bb50-496e-8329-b2a3c970c1a9"},{"name":"params/sale.opportunity/get_opportunity","id":"3dd2a5d4-bc01-4fa6-a165-ad0aec4768ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694492950756,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.opportunity\",\r\n        \"get_opportunity\",\r\n        {},\r\n        {\r\n            \"month\": \"2023-9-01\"\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 09:29:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"sale.opportunity\",<strong><strong>\"get_opportunity\",</strong></strong>{},<strong><strong>{</strong></strong>\"month\": \"2023-9-01\"****},</strong></p>\n<ol>\n<li><strong>\"sale.opportunity\"</strong>: This is the first parameter and represents the specific module or entity within the system. In this case, it's \"sale.opportunity,\" indicating that the operation is related to sales opportunities or leads.</li>\n<li><strong>\"get_opportunity\"</strong>: The second parameter specifies the specific action you want to perform within the \"sale.opportunity\" entity. \"get_opportunity\" likely indicates that you want to retrieve data related to sales opportunities.</li>\n<li><strong>{} (Empty Dictionary)</strong>: The third parameter is an empty dictionary. It is often used to pass additional options or context to the operation. However, in this request, no additional options or context are specified, as the dictionary is empty.</li>\n<li><strong>{<strong><strong>\"month\": \"2023-9-01\"</strong></strong>}</strong>: The fourth parameter is a dictionary containing additional options or context for the operation. In this case, it specifies the \"month\" key with the value \"2023-9-01.\" This indicates that you want to retrieve data related to sales opportunities for the month of September 2023.</li>\n</ol>\n<p>In summary, this request instructs the system to retrieve data related to sales opportunities for the month of September 2023 within the \"sale.opportunity\" entity. No additional options or context are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"9f041a69-09e6-4c43-b07c-af80eaaa1d1e","name":"params/sale.opportunity/get_opportunity","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694492950756,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.opportunity\",\r\n        \"get_opportunity\",\r\n        {},\r\n        {\r\n            \"month\": \"2023-9-01\"\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 09:29:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Sep 2023 06:45:36 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=6vNBYbIef12Dn2mIqjAGcWkgEXMO6iV%2FNuVdS53kkfDZ3zSB2idB1xBB%2FEX%2Fk4r8oz0VmoMWv9ZjQLF8x6hfyYreqwfHMgQJTZk87J9ZnAr5p9pD34r6S10JkFkboTJDBlimMNA1JUxat6XDtw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80563041ee530b4c-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"name\": \"New Customer\",\n            \"data\": [],\n            \"color\": \"blue\"\n        }\n    ],\n    \"error\": null,\n    \"id\": 1694492950756,\n    \"dt\": 37\n}"}],"_postman_id":"3dd2a5d4-bc01-4fa6-a165-ad0aec4768ee"},{"name":"params/sale.lead/lead_per_day","id":"5a622ed6-b910-4f07-95a1-fdf377ccdb66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694492950765,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.lead\",\r\n        \"lead_per_day\",\r\n        {},\r\n        {\r\n            \"month\": \"2023-9-01\"\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 09:29:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"sale.lead\",<strong><strong>\"lead_per_day\",</strong></strong>{},<strong><strong>{</strong></strong>\"month\": \"2023-9-01\"****},</strong></p>\n<ol>\n<li><strong>\"sale.lead\"</strong>: This is the first parameter and represents the specific module or entity within the system. In this case, it's \"sale.lead,\" indicating that the operation is related to sales leads or opportunities.</li>\n<li><strong>\"lead_per_day\"</strong>: The second parameter specifies the specific action you want to perform within the \"sale.lead\" entity. \"lead_per_day\" likely indicates that you want to retrieve data related to sales leads per day.</li>\n<li><strong>{} (Empty Dictionary)</strong>: The third parameter is an empty dictionary. It is often used to pass additional options or context to the operation. However, in this request, no additional options or context are specified, as the dictionary is empty.</li>\n<li><strong>{<strong><strong>\"month\": \"2023-9-01\"</strong></strong>}</strong>: The fourth parameter is a dictionary containing additional options or context for the operation. In this case, it specifies the \"month\" key with the value \"2023-9-01.\" This indicates that you want to retrieve data related to sales leads for the month of September 2023.</li>\n</ol>\n<p>In summary, this request instructs the system to retrieve data related to sales leads per day for the month of September 2023 within the \"sale.lead\" entity. No additional options or context are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"16106cfc-0793-4d05-9de7-9f63e010e768","name":"params/sale.lead/lead_per_day","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694492950765,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.lead\",\r\n        \"lead_per_day\",\r\n        {},\r\n        {\r\n            \"month\": \"2023-9-01\"\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 09:29:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Sep 2023 06:56:46 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=fpeJFHzbO4BzaWE1I1ZaUdWRVPAdPVvsytjiLNuwDheraB1QyDTKgpUIfpgneEbfQKUHbVNnLugXDTxvZrc767wM95rc%2FgYhin5vCsSYe7lDi%2Bal17522G5pVNdzpnAULkop1iJfQbblth9q%2Bw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"805640a01e271e89-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"name\": \"This Month\",\n            \"data\": [\n                {\n                    \"date\": \"2023-09-01\",\n                    \"lead\": 1\n                },\n                {\n                    \"date\": \"2023-09-06\",\n                    \"lead\": 2\n                },\n                {\n                    \"date\": \"2023-09-07\",\n                    \"lead\": 3\n                },\n                {\n                    \"date\": \"2023-09-12\",\n                    \"lead\": 1\n                }\n            ],\n            \"color\": \"blue\"\n        },\n        {\n            \"name\": \"Previous Month\",\n            \"data\": [\n                {\n                    \"date\": \"2023-08-01\",\n                    \"lead\": 3\n                },\n                {\n                    \"date\": \"2023-08-02\",\n                    \"lead\": 1\n                },\n                {\n                    \"date\": \"2023-08-03\",\n                    \"lead\": 2\n                },\n                {\n                    \"date\": \"2023-08-08\",\n                    \"lead\": 1\n                },\n                {\n                    \"date\": \"2023-08-10\",\n                    \"lead\": 1\n                },\n                {\n                    \"date\": \"2023-08-11\",\n                    \"lead\": 3\n                },\n                {\n                    \"date\": \"2023-08-14\",\n                    \"lead\": 1\n                },\n                {\n                    \"date\": \"2023-08-15\",\n                    \"lead\": 1\n                },\n                {\n                    \"date\": \"2023-08-18\",\n                    \"lead\": 1\n                },\n                {\n                    \"date\": \"2023-08-23\",\n                    \"lead\": 6\n                },\n                {\n                    \"date\": \"2023-08-24\",\n                    \"lead\": 2\n                },\n                {\n                    \"date\": \"2023-08-25\",\n                    \"lead\": 1\n                },\n                {\n                    \"date\": \"2023-08-29\",\n                    \"lead\": 1\n                }\n            ],\n            \"color\": \"orange\"\n        }\n    ],\n    \"error\": null,\n    \"id\": 1694492950765,\n    \"dt\": 21\n}"}],"_postman_id":"5a622ed6-b910-4f07-95a1-fdf377ccdb66"}],"id":"29bb5ba4-b295-4b63-8062-59c3875ebdc3","_postman_id":"29bb5ba4-b295-4b63-8062-59c3875ebdc3","description":""},{"name":"Sales","item":[{"name":"Leads","item":[{"name":"params/inline.help/search_read","id":"c4021bdc-aaaf-400d-8b7a-6e7f4ba80a63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694502191552,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"lead\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 12:02:13\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"lead\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific module or entity within the system. In this case, it's \"inline.help,\" indicating that the operation is related to a module or entity where you want to perform a search and read operation.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the specific action you want to perform within the \"inline.help\" entity. \"search_read\" is a common action used to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[\"action\", \"=\", \"lead\"]]</strong>: The third parameter is a list containing a search domain, which defines the filtering criteria for the records you want to retrieve. In this case, it contains one condition:<ol>\n<li><strong>[\"action\", \"=\", \"lead\"]</strong>: This condition filters records where the \"action\" attribute is equal to \"lead.\" It narrows down the search to records related to leads or opportunities.<ol>\n<li><strong>\"action\"</strong>: This is the field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li><strong>\"=\"</strong>: This operator specifies the type of comparison you want to perform. Here, it's an equality comparison, meaning you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li><strong>\"lead\"</strong>: This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records related to leads.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>{} (Empty Dictionary)</strong>: The fourth parameter is an empty dictionary. It is often used to pass additional options or context to the search_read operation. However, in this request, no additional options or context are specified, as the dictionary is empty.</li>\n</ol>\n<p>In summary, this request instructs the system to perform a search and read operation within the \"inline.help\" entity to retrieve records related to leads. It specifies that it wants to retrieve records based on the condition that the \"action\" field is equal to \"lead.\" No additional options or context are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"9823472c-50ac-4e40-a146-f2d6e616760a","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694502191552,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"lead\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 12:02:13\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Sep 2023 07:05:34 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=yaFFt6koyWBVvWEcF0huHnsoNRUhguwDEZDwPqi4sHdpNRoRovtt44AoLeG7xj%2FMr14OkdfRNlNwFU%2FeEy3R%2F8xbt4ux47Z7kxmukJe9VunqPd%2BXGNai8ipuPqyEcHQhf%2Fci89LB%2FSNCYEBNiQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80564d85fa2e0e14-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694502191552,\n    \"dt\": 6\n}"}],"_postman_id":"c4021bdc-aaaf-400d-8b7a-6e7f4ba80a63"},{"name":"params/sale.lead/search_read","id":"67b63cc3-86e2-4999-8710-8153b36c7b05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694502191562,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.lead\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    [\r\n                        \"state\",\r\n                        \"=\",\r\n                        \"new\"\r\n                    ]\r\n                ]\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"date\",\r\n                \"title\",\r\n                \"contact_name\",\r\n                \"email\",\r\n                \"age_days\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 12:02:13\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"sale.lead\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>[</strong></strong>\"state\",<strong><strong>\"=\",</strong></strong>\"new\"<strong><strong>]</strong></strong>]<strong><strong>],<strong><strong>[</strong></strong>\"number\",</strong></strong>\"date\",<strong><strong>\"title\",</strong></strong>\"contact_name\",<strong><strong>\"email\",</strong></strong>\"age_days\",<strong>**\"state\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"count\": true,</strong></strong>\"order\": null,<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"sale.lead\"</strong>: This is the first parameter and represents the specific module or entity within the system. In this case, it's \"sale.lead,\" indicating that the operation is related to a module or entity where you want to perform a search and read operation.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the specific action you want to perform within the \"sale.lead\" entity. \"search_read\" is a common action used to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>Search Domain</strong>: The third parameter consists of a search domain, which is a list that defines the filtering criteria for the records you want to retrieve. In this case, it contains one condition:<ol>\n<li><strong>[[\"state\", \"=\", \"new\"]]</strong>: This condition filters records where the \"state\" attribute is equal to \"new.\" It narrows down the search to records with the state set to \"new.\"<ol>\n<li><strong>\"state\"</strong>: This is the field or attribute within the entity that you want to filter on. In this case, it's the \"state\" field, which represents the state of the leads.</li>\n<li><strong>\"=\"</strong>: This operator specifies the type of comparison you want to perform. Here, it's an equality comparison, meaning you're looking for records where the \"state\" field is equal to a certain value, which is \"new\" in this case.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Fields to Retrieve</strong>: The search request specifies the fields that should be retrieved for the matching records:<ol>\n<li><strong>\"number\"</strong>: This is likely a unique identifier or reference number for the lead.</li>\n<li><strong>\"date\"</strong>: This field represents the date associated with the lead.</li>\n<li><strong>\"title\"</strong>: It may refer to the title or subject of the lead.</li>\n<li><strong>\"contact_name\"</strong>: This field likely contains the name of the contact associated with the lead.</li>\n<li><strong>\"email\"</strong>: This field may store the email address related to the lead.</li>\n<li><strong>\"age_days\"</strong>: This field could represent the age of the lead in terms of days.</li>\n<li><strong>\"state\"</strong>: This is the state of the lead, which has already been filtered to \"new.\"</li>\n</ol>\n</li>\n<li><strong>Additional Options</strong> (Inside a Dictionary):<ol>\n<li><strong>\"count\": true</strong>: This option indicates that you want to retrieve the count of matching records in addition to the actual records. It allows you to know how many records match the specified criteria.</li>\n<li><strong>\"order\": null</strong>: The absence of an order specification means that the records will not be sorted in any particular order. They will be retrieved in their natural order.</li>\n<li><strong>\"offset\": 0</strong>: This specifies that the retrieval should start from the beginning of the matching records. An offset of 0 means the first record.</li>\n<li><strong>\"limit\": 100</strong>: This sets a limit on the maximum number of records to be retrieved. In this case, it's set to 100, meaning you want to retrieve up to 100 matching records.</li>\n<li><strong>\"context\": {}</strong>: The context can be used to provide additional information or context for the search. In this request, it's an empty context, meaning no specific additional context is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request instructs the system to perform a search and read operation within the \"sale.lead\" entity. It aims to retrieve records related to leads in the \"new\" state, and it specifies which fields to retrieve. Additionally, it requests the count of matching records and sets options for sorting, offset, limit, and context.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"c5cff4ca-ef90-4d3d-8e39-c2eec536d671","name":"params/sale.lead/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694502191562,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.lead\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    [\r\n                        \"state\",\r\n                        \"=\",\r\n                        \"new\"\r\n                    ]\r\n                ]\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"date\",\r\n                \"title\",\r\n                \"contact_name\",\r\n                \"email\",\r\n                \"age_days\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 12:02:13\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Sep 2023 07:21:37 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=HMMwmF5boeHsBiYAaWI%2FNXk2UyDFK0k3fkqhvx57WH%2FINCYtkmXNj%2B4yyIo%2BajN%2F0ysw6KLB0KQ307g6%2BHu4tmKk4MhomTe7quxv%2FlV2prrn%2Fb0yt6W%2BCIoeTL6hLG9Nla%2FsTvwNsCXCTC1FtQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"805665095ff80b6e-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 21484,\n                \"email\": null,\n                \"date\": \"2023-09-11\",\n                \"number\": \"SL-21212\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Management \",\n                \"contact_name\": \"Benjamin - MLLC ASIA TRADING\",\n                \"age_days\": 1\n            },\n            {\n                \"id\": 21482,\n                \"email\": null,\n                \"date\": \"2023-09-07\",\n                \"number\": \"SL-21210\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Management \",\n                \"contact_name\": \"Azman - United Life \",\n                \"age_days\": 3\n            },\n            {\n                \"id\": 21480,\n                \"email\": null,\n                \"date\": \"2023-09-06\",\n                \"number\": \"SL-21208\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Management \",\n                \"contact_name\": \"Dayang\",\n                \"age_days\": 4\n            },\n            {\n                \"id\": 21479,\n                \"email\": null,\n                \"date\": \"2023-09-01\",\n                \"number\": \"SL-21207\",\n                \"state\": \"new\",\n                \"title\": \"Iventory Maagement system\",\n                \"contact_name\": \"Krishna - Artalive Footcare\",\n                \"age_days\": 7\n            },\n            {\n                \"id\": 21481,\n                \"email\": \"aqil.byhisdaisy@gmail.com\",\n                \"date\": \"2023-08-30\",\n                \"number\": \"SL-21209\",\n                \"state\": \"new\",\n                \"title\": \"Inventory & WMS\",\n                \"contact_name\": \"Amierrull - Byhisdaisy Int \",\n                \"age_days\": 9\n            },\n            {\n                \"id\": 21478,\n                \"email\": \"danish.elsyarof@amazingraze.com\",\n                \"date\": \"2023-08-30\",\n                \"number\": \"SL-21206\",\n                \"state\": \"new\",\n                \"title\": \"Warehouse Management System\",\n                \"contact_name\": \"Danish -Amazing Graze\",\n                \"age_days\": 9\n            },\n            {\n                \"id\": 21477,\n                \"email\": null,\n                \"date\": \"2023-08-28\",\n                \"number\": \"SL-21205\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Managemet System\",\n                \"contact_name\": \"Jess - Sematic Magnet Sdn Bhd\",\n                \"age_days\": 11\n            },\n            {\n                \"id\": 21483,\n                \"email\": \"eun.layyean@tptextile.com\",\n                \"date\": \"2023-08-25\",\n                \"number\": \"SL-21211\",\n                \"state\": \"new\",\n                \"title\": \"WMS, Sales & Manufacturing Solution\",\n                \"contact_name\": \"Johnny - Trans Pacific Textile Sdn Bhd\",\n                \"age_days\": 12\n            },\n            {\n                \"id\": 21476,\n                \"email\": null,\n                \"date\": \"2023-08-25\",\n                \"number\": \"SL-21204\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Managemet \",\n                \"contact_name\": \"Mica -  Roselle Mont - Calir \",\n                \"age_days\": 12\n            },\n            {\n                \"id\": 21475,\n                \"email\": null,\n                \"date\": \"2023-08-24\",\n                \"number\": \"SL-21203\",\n                \"state\": \"new\",\n                \"title\": \"Iventory Management System\",\n                \"contact_name\": \"Zulaikha - Mingle Manor \",\n                \"age_days\": 13\n            },\n            {\n                \"id\": 21474,\n                \"email\": null,\n                \"date\": \"2023-08-24\",\n                \"number\": \"SL-21202\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Management System \",\n                \"contact_name\": \"Seek - Buylor Enterprise \",\n                \"age_days\": 13\n            },\n            {\n                \"id\": 21473,\n                \"email\": \"unazren.phoenixstrategy@outlook.com\",\n                \"date\": \"2023-08-23\",\n                \"number\": \"SL-21201\",\n                \"state\": \"new\",\n                \"title\": \"Customised system\",\n                \"contact_name\": \"Ungku - Phoenix Strategy\",\n                \"age_days\": 14\n            },\n            {\n                \"id\": 21472,\n                \"email\": \"desmond@pmipackaging.com\",\n                \"date\": \"2023-08-23\",\n                \"number\": \"SL-21200\",\n                \"state\": \"new\",\n                \"title\": \"Inventory n Manufacturing \",\n                \"contact_name\": \"Desmond Tan - PMI Packinging Sdn Bhd\",\n                \"age_days\": 14\n            },\n            {\n                \"id\": 21471,\n                \"email\": \"zainuddin@jalen.com.my\",\n                \"date\": \"2023-08-23\",\n                \"number\": \"SL-21199\",\n                \"state\": \"new\",\n                \"title\": \"Inventory and WMS \",\n                \"contact_name\": \"Zainuddin - Jalen Sdn Bhd\",\n                \"age_days\": 14\n            },\n            {\n                \"id\": 21470,\n                \"email\": \"halim.ramli@mmhe.com.my \",\n                \"date\": \"2023-08-23\",\n                \"number\": \"SL-21198\",\n                \"state\": \"new\",\n                \"title\": \"Employees Tracking\",\n                \"contact_name\": \"Adam Halim - MMHE\",\n                \"age_days\": 14\n            },\n            {\n                \"id\": 21469,\n                \"email\": \"jason@tsf.pmnbiscuit.com\",\n                \"date\": \"2023-08-23\",\n                \"number\": \"SL-21197\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Management \",\n                \"contact_name\": \"Jason Son - PMN Biscuit Industries Sdn Bhd\",\n                \"age_days\": 14\n            },\n            {\n                \"id\": 21468,\n                \"email\": \"hometownytf@gmail.com  \",\n                \"date\": \"2023-08-23\",\n                \"number\": \"SL-21196\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Management System \",\n                \"contact_name\": \"Sk Chen - Home Town Yong Tow Fow\",\n                \"age_days\": 14\n            },\n            {\n                \"id\": 21467,\n                \"email\": \"boonlin@bhfishery.com\",\n                \"date\": \"2023-08-18\",\n                \"number\": \"SL-21195\",\n                \"state\": \"new\",\n                \"title\": \"ERP Solution\",\n                \"contact_name\": \"Boon Lin - Boon Hong Fishery Sdn Bhd\",\n                \"age_days\": 17\n            },\n            {\n                \"id\": 21466,\n                \"email\": null,\n                \"date\": \"2023-08-15\",\n                \"number\": \"SL-21194\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Management System \",\n                \"contact_name\": \"Kar Yee - Cayland Momentum Sdn Bhd\",\n                \"age_days\": 20\n            },\n            {\n                \"id\": 21465,\n                \"email\": null,\n                \"date\": \"2023-08-14\",\n                \"number\": \"SL-21193\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Management \",\n                \"contact_name\": \"Edwin - EELE Trading \",\n                \"age_days\": 21\n            },\n            {\n                \"id\": 21464,\n                \"email\": null,\n                \"date\": \"2023-08-11\",\n                \"number\": \"SL-21192\",\n                \"state\": \"new\",\n                \"title\": \"WareHouse Management System \",\n                \"contact_name\": \"Anthony - Samundra Kargo \",\n                \"age_days\": 22\n            },\n            {\n                \"id\": 21463,\n                \"email\": null,\n                \"date\": \"2023-08-11\",\n                \"number\": \"SL-21191\",\n                \"state\": \"new\",\n                \"title\": \"Warehouse Management System (WMS)\",\n                \"contact_name\": \"Nikita - Udani carpets sdn bhd\",\n                \"age_days\": 22\n            },\n            {\n                \"id\": 21462,\n                \"email\": \"farrah.mazalan@airod.com.my\",\n                \"date\": \"2023-08-11\",\n                \"number\": \"SL-21190\",\n                \"state\": \"new\",\n                \"title\": \"Warehouse Management System (WMS) \",\n                \"contact_name\": \"Siti Farrah - AIROD Sdn Bhd\",\n                \"age_days\": 22\n            },\n            {\n                \"id\": 21461,\n                \"email\": null,\n                \"date\": \"2023-08-10\",\n                \"number\": \"Test-98732\",\n                \"state\": \"new\",\n                \"title\": \"Testing Lead\",\n                \"contact_name\": \"asad\",\n                \"age_days\": 23\n            },\n            {\n                \"id\": 21460,\n                \"email\": null,\n                \"date\": \"2023-08-08\",\n                \"number\": \"SL-21189\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Management \",\n                \"contact_name\": \"Ms. Loo (Sabah)\",\n                \"age_days\": 25\n            },\n            {\n                \"id\": 21459,\n                \"email\": null,\n                \"date\": \"2023-08-03\",\n                \"number\": \"SL-21188\",\n                \"state\": \"new\",\n                \"title\": \"Inventory management \",\n                \"contact_name\": \"Shahril - Mestika Security \",\n                \"age_days\": 28\n            },\n            {\n                \"id\": 21458,\n                \"email\": null,\n                \"date\": \"2023-08-03\",\n                \"number\": \"SL-21187\",\n                \"state\": \"new\",\n                \"title\": \"Inventory management \",\n                \"contact_name\": \"Shiraj -  Motorbike ware and shop\",\n                \"age_days\": 28\n            },\n            {\n                \"id\": 21457,\n                \"email\": \"naim.misrap@envirosgroup.com\",\n                \"date\": \"2023-08-02\",\n                \"number\": \"SL-21186\",\n                \"state\": \"new\",\n                \"title\": \"Asset Management \",\n                \"contact_name\": \"Naim - Enviros Group\",\n                \"age_days\": 29\n            },\n            {\n                \"id\": 21456,\n                \"email\": null,\n                \"date\": \"2023-08-01\",\n                \"number\": \"SL-21185\",\n                \"state\": \"new\",\n                \"title\": \"Warehouse Solutions\",\n                \"contact_name\": \"Ahmed -  Lashington Sdn Bhd\",\n                \"age_days\": 30\n            },\n            {\n                \"id\": 21455,\n                \"email\": null,\n                \"date\": \"2023-08-01\",\n                \"number\": \"SL-21184\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Tracking via Mobile app\",\n                \"contact_name\": \"Perdeep SING - Security Company \",\n                \"age_days\": 30\n            },\n            {\n                \"id\": 21454,\n                \"email\": null,\n                \"date\": \"2023-08-01\",\n                \"number\": \"SL-21183\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Tracking \",\n                \"contact_name\": \"Thomas - NKS Motorsport\",\n                \"age_days\": 30\n            },\n            {\n                \"id\": 21453,\n                \"email\": null,\n                \"date\": \"2023-07-31\",\n                \"number\": \"SL-21182\",\n                \"state\": \"new\",\n                \"title\": \"Invenotry Management \",\n                \"contact_name\": \"Ram - Biryani House\",\n                \"age_days\": 31\n            },\n            {\n                \"id\": 21452,\n                \"email\": \"kllee@eismartwork.com\",\n                \"date\": \"2023-07-27\",\n                \"number\": \"SL-21181\",\n                \"state\": \"new\",\n                \"title\": \"Asset Tracking\",\n                \"contact_name\": \"Lee - eismartwork\",\n                \"age_days\": 33\n            },\n            {\n                \"id\": 21451,\n                \"email\": null,\n                \"date\": \"2023-07-27\",\n                \"number\": \"SL-21180\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Management \",\n                \"contact_name\": \"Ms Soon - Sandra Soon \",\n                \"age_days\": 33\n            },\n            {\n                \"id\": 21450,\n                \"email\": \"jsern.woo@endress.com\",\n                \"date\": \"2023-07-25\",\n                \"number\": \"SL-21179\",\n                \"state\": \"new\",\n                \"title\": \"Barcode system \",\n                \"contact_name\": \"J Sern - Endress+Hauser\",\n                \"age_days\": 35\n            },\n            {\n                \"id\": 21449,\n                \"email\": null,\n                \"date\": \"2023-07-24\",\n                \"number\": \"SL-21178\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Management\",\n                \"contact_name\": \"Johan Ariff - TM Bhd \",\n                \"age_days\": 36\n            },\n            {\n                \"id\": 21448,\n                \"email\": \"qaqc01@bangiresorthotel.com\",\n                \"date\": \"2023-07-21\",\n                \"number\": \"SL-21177\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Management \",\n                \"contact_name\": \"Ikmal - Bangi Resort Hotel\",\n                \"age_days\": 37\n            },\n            {\n                \"id\": 21447,\n                \"email\": null,\n                \"date\": \"2023-07-18\",\n                \"number\": \"SL-21176\",\n                \"state\": \"new\",\n                \"title\": \"Inventory & Warehouse Management \",\n                \"contact_name\": \"Sevia - Multi Denso \",\n                \"age_days\": 40\n            },\n            {\n                \"id\": 21446,\n                \"email\": null,\n                \"date\": \"2023-07-17\",\n                \"number\": \"SL-21175\",\n                \"state\": \"new\",\n                \"title\": \"Inventory & WMS \",\n                \"contact_name\": \"Nikki - Winstar Group \",\n                \"age_days\": 41\n            },\n            {\n                \"id\": 21445,\n                \"email\": null,\n                \"date\": \"2023-07-17\",\n                \"number\": \"SL-21174\",\n                \"state\": \"new\",\n                \"title\": \"Iventory Tracking \",\n                \"contact_name\": \"Gobinat - \",\n                \"age_days\": 41\n            },\n            {\n                \"id\": 21444,\n                \"email\": null,\n                \"date\": \"2023-07-13\",\n                \"number\": \"SL-21173\",\n                \"state\": \"new\",\n                \"title\": \"WMS & Sales CRM\",\n                \"contact_name\": \"Karmen - Fermpro\",\n                \"age_days\": 43\n            },\n            {\n                \"id\": 21443,\n                \"email\": null,\n                \"date\": \"2023-07-10\",\n                \"number\": \"SL-21172\",\n                \"state\": \"new\",\n                \"title\": \"Logistic Management \",\n                \"contact_name\": \"Ashley - Gnd Express\",\n                \"age_days\": 46\n            },\n            {\n                \"id\": 21442,\n                \"email\": \"nyak.zahaslan@yahoo.com\",\n                \"date\": \"2023-07-10\",\n                \"number\": \"SL-21171\",\n                \"state\": \"new\",\n                \"title\": \"Invetory management\",\n                \"contact_name\": \"Nayk - Xiera Trading\",\n                \"age_days\": 46\n            },\n            {\n                \"id\": 21441,\n                \"email\": null,\n                \"date\": \"2023-07-07\",\n                \"number\": \"SL-21170\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Management \",\n                \"contact_name\": \"Iman Haqimi - Batery business\",\n                \"age_days\": 47\n            },\n            {\n                \"id\": 21440,\n                \"email\": \"collinchang@mexpower.com.my\",\n                \"date\": \"2023-07-06\",\n                \"number\": \"SL-21169\",\n                \"state\": \"new\",\n                \"title\": \"WMS & Inventory Maagement \",\n                \"contact_name\": \"Collin - Mexpower \",\n                \"age_days\": 48\n            },\n            {\n                \"id\": 21439,\n                \"email\": \"op2@frwarehousing.com\",\n                \"date\": \"2023-07-06\",\n                \"number\": \"SL-21168\",\n                \"state\": \"new\",\n                \"title\": \"WMS & Inventory management \",\n                \"contact_name\": \"Amber - FR Warehousing\",\n                \"age_days\": 48\n            },\n            {\n                \"id\": 21438,\n                \"email\": null,\n                \"date\": \"2023-07-06\",\n                \"number\": \"SL-21167\",\n                \"state\": \"new\",\n                \"title\": \"Mobile App\",\n                \"contact_name\": \"Edberg - Logistic Mobile App \",\n                \"age_days\": 48\n            },\n            {\n                \"id\": 21437,\n                \"email\": \"john@psg.my\",\n                \"date\": \"2023-07-06\",\n                \"number\": \"SL-21166\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Tracking system \",\n                \"contact_name\": \"John - Steel Galvanising \",\n                \"age_days\": 48\n            },\n            {\n                \"id\": 21436,\n                \"email\": null,\n                \"date\": \"2023-07-03\",\n                \"number\": \"SL-21165\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Management\",\n                \"contact_name\": \"Mala\",\n                \"age_days\": 51\n            },\n            {\n                \"id\": 21433,\n                \"email\": null,\n                \"date\": \"2023-06-08\",\n                \"number\": \"SL-21162\",\n                \"state\": \"new\",\n                \"title\": \"Product Tracking within the office\",\n                \"contact_name\": \"Michelle - See Hoy Chan Facilities Management Sdn Bhd.\",\n                \"age_days\": 68\n            },\n            {\n                \"id\": 21432,\n                \"email\": \"kimching.liew@3plustech.com\",\n                \"date\": \"2023-06-07\",\n                \"number\": \"SL-21161\",\n                \"state\": \"new\",\n                \"title\": \"i.R.4.0\",\n                \"contact_name\": \"Liew Kim Ching - 3Plus Technology Sdn.Bhd.\",\n                \"age_days\": 69\n            },\n            {\n                \"id\": 21431,\n                \"email\": \"berlyn@keinhing.com\",\n                \"date\": \"2023-06-06\",\n                \"number\": \"SL-21160\",\n                \"state\": \"new\",\n                \"title\": \"Production System \",\n                \"contact_name\": \"Berlyn Yeow - Kein Hing Industry\",\n                \"age_days\": 70\n            },\n            {\n                \"id\": 21429,\n                \"email\": \"leongss@kssc.com.my\",\n                \"date\": \"2023-06-06\",\n                \"number\": \"SL-21158\",\n                \"state\": \"new\",\n                \"title\": \"MES \",\n                \"contact_name\": \"Leong Song - PTM Stainless steel\",\n                \"age_days\": 70\n            },\n            {\n                \"id\": 21428,\n                \"email\": null,\n                \"date\": \"2023-06-06\",\n                \"number\": \"SL-21157\",\n                \"state\": \"new\",\n                \"title\": \"ERP\",\n                \"contact_name\": \"Leong Kah Wai - Kevin (Referral)\",\n                \"age_days\": 70\n            },\n            {\n                \"id\": 21427,\n                \"email\": null,\n                \"date\": \"2023-06-06\",\n                \"number\": \"SL-21156\",\n                \"state\": \"new\",\n                \"title\": \"I.R.4.0\",\n                \"contact_name\": \"Lim - Align Fasteners\",\n                \"age_days\": 70\n            },\n            {\n                \"id\": 21426,\n                \"email\": \"admund.leong@energia.com.my\",\n                \"date\": \"2023-06-06\",\n                \"number\": \"SL-21155\",\n                \"state\": \"new\",\n                \"title\": \"Dashboard\",\n                \"contact_name\": \"Edmund - Energia \",\n                \"age_days\": 70\n            },\n            {\n                \"id\": 21425,\n                \"email\": \"piravin@easwarimills.com\",\n                \"date\": \"2023-06-06\",\n                \"number\": \"SL-21154\",\n                \"state\": \"new\",\n                \"title\": \"ODOO \",\n                \"contact_name\": \"Piravin - Easwari \",\n                \"age_days\": 70\n            },\n            {\n                \"id\": 21423,\n                \"email\": \"daphne.sim@otrs.com\",\n                \"date\": \"2023-06-06\",\n                \"number\": \"SL-21152\",\n                \"state\": \"new\",\n                \"title\": \"Barcode/QR code generating system \",\n                \"contact_name\": \"Daphne Sim - OTRS\",\n                \"age_days\": 70\n            },\n            {\n                \"id\": 21422,\n                \"email\": \"shafeek@deltaglobal.com.my \",\n                \"date\": \"2023-06-06\",\n                \"number\": \"SL-21151\",\n                \"state\": \"new\",\n                \"title\": \"I.R.4.0\",\n                \"contact_name\": \"Shafeek Ahmed - Delta Global Automation\",\n                \"age_days\": 70\n            },\n            {\n                \"id\": 21421,\n                \"email\": \"tansh@pristine.com.my \",\n                \"date\": \"2023-06-06\",\n                \"number\": \"SL-21150\",\n                \"state\": \"new\",\n                \"title\": \"ERP \",\n                \"contact_name\": \"Tan Seow - Poultry Equipment \",\n                \"age_days\": 70\n            },\n            {\n                \"id\": 21420,\n                \"email\": null,\n                \"date\": \"2023-05-30\",\n                \"number\": \"SL-21149\",\n                \"state\": \"new\",\n                \"title\": \" I.R.4.0\",\n                \"contact_name\": \"Allen Loo \",\n                \"age_days\": 75\n            },\n            {\n                \"id\": 21419,\n                \"email\": \"akwoo@masterjaya.com.my\",\n                \"date\": \"2023-05-30\",\n                \"number\": \"SL-21148\",\n                \"state\": \"new\",\n                \"title\": \"Matel Fabrication\",\n                \"contact_name\": \"AK Woo - Master Jaya Group of Companies \",\n                \"age_days\": 75\n            },\n            {\n                \"id\": 21418,\n                \"email\": \"nicq@triplus.com.my \",\n                \"date\": \"2023-05-30\",\n                \"number\": \"SL-21147\",\n                \"state\": \"new\",\n                \"title\": \"Invetory management \",\n                \"contact_name\": \"Nicq (Natasha) - Triplus \",\n                \"age_days\": 75\n            },\n            {\n                \"id\": 21417,\n                \"email\": null,\n                \"date\": \"2023-05-30\",\n                \"number\": \"SL-21146\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Management\",\n                \"contact_name\": \"Noor Hani - Inventory managment \",\n                \"age_days\": 75\n            },\n            {\n                \"id\": 21416,\n                \"email\": \"hbchew@hurngli.com.my\",\n                \"date\": \"2023-05-30\",\n                \"number\": \"SL-21145\",\n                \"state\": \"new\",\n                \"title\": \"Manufacturing Solution\",\n                \"contact_name\": \"Jess Chew - MES \",\n                \"age_days\": 75\n            },\n            {\n                \"id\": 21415,\n                \"email\": \"mgheith@mit-mfg.com\",\n                \"date\": \"2023-05-30\",\n                \"number\": \"SL-21144\",\n                \"state\": \"new\",\n                \"title\": \"Mfg Solution\",\n                \"contact_name\": \"Mohamed Gheith \",\n                \"age_days\": 75\n            },\n            {\n                \"id\": 21414,\n                \"email\": \"account@sinmar.com\",\n                \"date\": \"2023-05-30\",\n                \"number\": \"SL-21143\",\n                \"state\": \"new\",\n                \"title\": \"Sinmar Group\",\n                \"contact_name\": \"Tean - Sinmar Plastic\",\n                \"age_days\": 75\n            },\n            {\n                \"id\": 21413,\n                \"email\": null,\n                \"date\": \"2023-05-30\",\n                \"number\": \"SL-21142\",\n                \"state\": \"new\",\n                \"title\": \"Manufacturing (Planing & scheduling) \",\n                \"contact_name\": \"Yap Jia Wei (Ivan) Union Sangyo Malaysia\",\n                \"age_days\": 75\n            },\n            {\n                \"id\": 21412,\n                \"email\": null,\n                \"date\": \"2023-05-30\",\n                \"number\": \"SL-21141\",\n                \"state\": \"new\",\n                \"title\": \"MTE Expo\",\n                \"contact_name\": \"Yuan - Inventory management \",\n                \"age_days\": 75\n            },\n            {\n                \"id\": 21411,\n                \"email\": null,\n                \"date\": \"2023-05-22\",\n                \"number\": \"SL-21140\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Management System\",\n                \"contact_name\": \"Joan \",\n                \"age_days\": 81\n            },\n            {\n                \"id\": 21410,\n                \"email\": \"kennysia@gmail.co\",\n                \"date\": \"2023-05-22\",\n                \"number\": \"SL-21139\",\n                \"state\": \"new\",\n                \"title\": \"Bespoke System\",\n                \"contact_name\": \"Kenny Sia - Bespoke system\",\n                \"age_days\": 81\n            },\n            {\n                \"id\": 21409,\n                \"email\": \"danielwong@mach1.com.my \",\n                \"date\": \"2023-05-22\",\n                \"number\": \"SL-21138\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Tracking \",\n                \"contact_name\": \"Daniel Wong \",\n                \"age_days\": 81\n            },\n            {\n                \"id\": 21408,\n                \"email\": \"nursyahira@falcon.com\",\n                \"date\": \"2023-05-22\",\n                \"number\": \"SL-21137\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Management \",\n                \"contact_name\": \"Syahira Khairy (IRA) - Falcon Safe \",\n                \"age_days\": 81\n            },\n            {\n                \"id\": 21407,\n                \"email\": \"vanqo@gmx.com\",\n                \"date\": \"2023-05-22\",\n                \"number\": \"SL-21136\",\n                \"state\": \"new\",\n                \"title\": \"Pallet Tracking\",\n                \"contact_name\": \"Joren Diong  - Vanqo Sdn.Bhd.\",\n                \"age_days\": 81\n            },\n            {\n                \"id\": 21406,\n                \"email\": \"puvaneaish@kagayakulogistics.com\",\n                \"date\": \"2023-05-22\",\n                \"number\": \"SL-21135\",\n                \"state\": \"new\",\n                \"title\": \"Warehouse Managemengt \",\n                \"contact_name\": \"Dr Puvaneaish - Kagayaku Logistics \",\n                \"age_days\": 81\n            },\n            {\n                \"id\": 21405,\n                \"email\": \"alvin@infiniteplusdigital.com\",\n                \"date\": \"2023-05-22\",\n                \"number\": \"SL-21134\",\n                \"state\": \"new\",\n                \"title\": \"Sales CRM Module \",\n                \"contact_name\": \"Alvin Chong - Infinite Plus\",\n                \"age_days\": 81\n            },\n            {\n                \"id\": 21404,\n                \"email\": null,\n                \"date\": \"2023-05-15\",\n                \"number\": \"SL-21133\",\n                \"state\": \"new\",\n                \"title\": \"Procurement\",\n                \"contact_name\": \"Hornbill\",\n                \"age_days\": 86\n            },\n            {\n                \"id\": 21403,\n                \"email\": null,\n                \"date\": \"2023-05-15\",\n                \"number\": \"SL-21132\",\n                \"state\": \"new\",\n                \"title\": \"MES / ERP\",\n                \"contact_name\": \"Yunus - Klay Enersol\",\n                \"age_days\": 86\n            },\n            {\n                \"id\": 21402,\n                \"email\": null,\n                \"date\": \"2023-05-15\",\n                \"number\": \"SL-21131\",\n                \"state\": \"new\",\n                \"title\": \"Inventory\",\n                \"contact_name\": \"Harith - The Green Factory Project\",\n                \"age_days\": 86\n            },\n            {\n                \"id\": 21401,\n                \"email\": null,\n                \"date\": \"2023-05-15\",\n                \"number\": \"SL-21130\",\n                \"state\": \"new\",\n                \"title\": \"MES Proj Mgmt\",\n                \"contact_name\": \"Jessica - CLC\",\n                \"age_days\": 86\n            },\n            {\n                \"id\": 21400,\n                \"email\": \"cheesing@helipro.com.my\",\n                \"date\": \"2023-05-15\",\n                \"number\": \"SL-21129\",\n                \"state\": \"new\",\n                \"title\": \"ERPNext Proj Mgmt\",\n                \"contact_name\": \"Wong - Metropoly\",\n                \"age_days\": 86\n            },\n            {\n                \"id\": 21399,\n                \"email\": \"jkwang.han@gmail.com\",\n                \"date\": \"2023-05-04\",\n                \"number\": \"SL-21128\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Management \",\n                \"contact_name\": \"Alvin Han - S.T. Engineering Supplies\",\n                \"age_days\": 93\n            },\n            {\n                \"id\": 21398,\n                \"email\": \"yen.loh@afiintra.com\",\n                \"date\": \"2023-04-28\",\n                \"number\": \"SL-21127\",\n                \"state\": \"new\",\n                \"title\": \"Inventory system\",\n                \"contact_name\": \"Shin Yee - AFIINTRA TECHNOLOGIES\",\n                \"age_days\": 97\n            },\n            {\n                \"id\": 21395,\n                \"email\": null,\n                \"date\": \"2023-04-28\",\n                \"number\": \"SL-21124\",\n                \"state\": \"new\",\n                \"title\": \"WMS \",\n                \"contact_name\": \"Jennifer - Afiintra Technologies\",\n                \"age_days\": 97\n            },\n            {\n                \"id\": 21397,\n                \"email\": null,\n                \"date\": \"2023-04-24\",\n                \"number\": \"SL-21126\",\n                \"state\": \"new\",\n                \"title\": \"Inventory, WMS & Manufacturing system \",\n                \"contact_name\": \"Voctor - Master kitchen \",\n                \"age_days\": 101\n            },\n            {\n                \"id\": 21396,\n                \"email\": null,\n                \"date\": \"2023-04-21\",\n                \"number\": \"SL-21125\",\n                \"state\": \"new\",\n                \"title\": \"Inventory & Accounting System \",\n                \"contact_name\": \"Mr Lim (ExcelTech Food)\",\n                \"age_days\": 102\n            },\n            {\n                \"id\": 21394,\n                \"email\": null,\n                \"date\": \"2023-04-17\",\n                \"number\": \"SL-21123\",\n                \"state\": \"new\",\n                \"title\": \"Asset Tagging \",\n                \"contact_name\": \"Regunaathan - Avero Mednav Sdn Bhd\",\n                \"age_days\": 106\n            },\n            {\n                \"id\": 21393,\n                \"email\": \"starglowhardware@gmail.com\",\n                \"date\": \"2023-04-10\",\n                \"number\": \"SL-21122\",\n                \"state\": \"new\",\n                \"title\": \"Inventory (tracking) \",\n                \"contact_name\": \"Raymond - Shen Hui Hardware\",\n                \"age_days\": 111\n            },\n            {\n                \"id\": 21392,\n                \"email\": null,\n                \"date\": \"2023-04-06\",\n                \"number\": \"SL-21121\",\n                \"state\": \"new\",\n                \"title\": \"Inventory Management \",\n                \"contact_name\": \"Roventz - TDC AUTOMOBILE \",\n                \"age_days\": 113\n            },\n            {\n                \"id\": 21391,\n                \"email\": null,\n                \"date\": \"2023-04-06\",\n                \"number\": \"SL-21120\",\n                \"state\": \"new\",\n                \"title\": \"WMS \",\n                \"contact_name\": \"Marcus - Pacific Oil Seals \",\n                \"age_days\": 113\n            },\n            {\n                \"id\": 21390,\n                \"email\": \"yusoff@mkcastings.com\",\n                \"date\": \"2023-04-06\",\n                \"number\": \"SL-21119\",\n                \"state\": \"new\",\n                \"title\": \"MES\",\n                \"contact_name\": \"Yousoff - MK Casting \",\n                \"age_days\": 113\n            },\n            {\n                \"id\": 21389,\n                \"email\": null,\n                \"date\": \"2023-04-06\",\n                \"number\": \"SL-21118\",\n                \"state\": \"new\",\n                \"title\": \"Invenotry - WMS \",\n                \"contact_name\": \"Mun - DSRV GROCER \",\n                \"age_days\": 113\n            },\n            {\n                \"id\": 21388,\n                \"email\": \"azhar@tayopack.com\",\n                \"date\": \"2023-03-30\",\n                \"number\": \"SL-21117\",\n                \"state\": \"new\",\n                \"title\": \"ERP \",\n                \"contact_name\": \"Azhar - Tayopack\",\n                \"age_days\": 118\n            },\n            {\n                \"id\": 21387,\n                \"email\": null,\n                \"date\": \"2023-03-29\",\n                \"number\": \"SL-21116\",\n                \"state\": \"new\",\n                \"title\": \"Inventory & WMS\",\n                \"contact_name\": \"Danny - WWRC \",\n                \"age_days\": 119\n            },\n            {\n                \"id\": 21386,\n                \"email\": null,\n                \"date\": \"2023-03-29\",\n                \"number\": \"SL-21115\",\n                \"state\": \"new\",\n                \"title\": \"Inventory \",\n                \"contact_name\": \"Aimi - HerbWorks\",\n                \"age_days\": 119\n            },\n            {\n                \"id\": 21385,\n                \"email\": \"cyong@cicb.com.my\",\n                \"date\": \"2023-03-21\",\n                \"number\": \"SL-21114\",\n                \"state\": \"new\",\n                \"title\": \"Inventory - barcode System\",\n                \"contact_name\": \"Y C Ong - CENTRAL INDUSTRIAL CORPORATION\",\n                \"age_days\": 125\n            },\n            {\n                \"id\": 21383,\n                \"email\": \"masazam90@yahoo.com\",\n                \"date\": \"2023-03-21\",\n                \"number\": \"SL-21112\",\n                \"state\": \"new\",\n                \"title\": \"Inventory & WMS\",\n                \"contact_name\": \"Mastinah - Azam Motors \",\n                \"age_days\": 125\n            },\n            {\n                \"id\": 21381,\n                \"email\": \"faiz.mohd@drb-hicom.com\",\n                \"date\": \"2023-03-21\",\n                \"number\": \"SL-21110\",\n                \"state\": \"new\",\n                \"title\": \"Power Bi\",\n                \"contact_name\": \"Muhammad Faiz - DRB-Hicom\",\n                \"age_days\": 125\n            },\n            {\n                \"id\": 21380,\n                \"email\": \"nicholas@tapprint.com.my\",\n                \"date\": \"2023-03-21\",\n                \"number\": \"SL-21109\",\n                \"state\": \"new\",\n                \"title\": \"I.R.4.0\",\n                \"contact_name\": \"Nicholas - Tap Print\",\n                \"age_days\": 125\n            },\n            {\n                \"id\": 21379,\n                \"email\": \"rohana@oemfg.com\",\n                \"date\": \"2023-03-21\",\n                \"number\": \"SL-21108\",\n                \"state\": \"new\",\n                \"title\": \"Inventory & WMS\",\n                \"contact_name\": \"Rohana - Auto Antenna mfg\",\n                \"age_days\": 125\n            }\n        ],\n        183\n    ],\n    \"error\": null,\n    \"id\": 1694502191562,\n    \"dt\": 57\n}"}],"_postman_id":"67b63cc3-86e2-4999-8710-8153b36c7b05"}],"id":"07ff145a-0061-4a87-a97f-d618e75304bb","_postman_id":"07ff145a-0061-4a87-a97f-d618e75304bb","description":""},{"name":"Opportunities","item":[{"name":"params/inline.help/search_read","id":"cae16d14-02ba-4d71-9921-2e909cf599cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694505346453,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"opport\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 12:55:21\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"opport\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific module or entity within the system. In this case, it's \"inline.help,\" indicating that the operation is related to a module or entity where you want to perform a search and read operation.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the specific action you want to perform within the \"inline.help\" entity. \"search_read\" is a common action used to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>Search Domain</strong>: The third parameter consists of a search domain, which is a list that defines the filtering criteria for the records you want to retrieve. In this case, it contains one condition:<ol>\n<li><strong>[[\"action\", \"=\", \"opport\"]]</strong>: This condition filters records where the \"action\" attribute is equal to \"opport.\" It narrows down the search to records with the \"action\" field set to \"opport.\"<ol>\n<li><strong>\"action\"</strong>: This is the field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field, which appears to represent some kind of action or opportunity.</li>\n<li><strong>\"=\"</strong>: This operator specifies the type of comparison you want to perform. Here, it's an equality comparison, meaning you're looking for records where the \"action\" field is equal to a certain value, which is \"opport\" in this case.</li>\n<li><strong>\"opport\"</strong>: This is the value that you want to compare the \"action\" field against. It serves as the condition you want to meet when searching for records. In this case, it seems to be looking for records with the \"action\" field equal to \"opport.\"</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>(Empty Dictionary){}:</strong> This empty dictionary typically allows you to pass additional options or context to the search_read operation. In this request, no specific additional context or options are provided.</li>\n</ol>\n<p>In summary, this request instructs the system to perform a search and read operation within the \"inline.help\" entity. It aims to retrieve records where the \"action\" field is equal to \"opport.\" No additional context or options are specified in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"b65a0d67-4771-46ad-99c7-fe344d36e6f5","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694505346453,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"opport\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 12:55:21\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Sep 2023 07:57:18 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=p1XbaQUKst4mGosin8S0fIvm1Ob9ISDveelPi28E7lFaDZMU%2B0kMoB%2BU5NY5XDY7bF3Wbc3sMII3g%2BGlLVU5fh4qM9r8scxH7VHnSUdptZoScgT0nEcchuaG54PUhOav7WOBLMH2mmtyq8TOaQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8056994c8febb75b-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694505346453,\n    \"dt\": 9\n}"}],"_postman_id":"cae16d14-02ba-4d71-9921-2e909cf599cc"},{"name":"params/sale.opportunity/search_read","id":"a3c51075-49e9-4f26-80e9-6ad7eb459017","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694505346462,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.opportunity\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    [\r\n                        \"state\",\r\n                        \"=\",\r\n                        \"open\"\r\n                    ]\r\n                ]\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"date\",\r\n                \"name\",\r\n                \"contact_id\",\r\n                \"state\",\r\n                \"stage_id\",\r\n                \"age_days\",\r\n                \"last_email_days\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 12:55:21\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"sale.opportunity\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>[</strong></strong>\"state\",<strong><strong>\"=\",</strong></strong>\"open\"<strong><strong>]</strong></strong>]<strong><strong>],<strong><strong>[</strong></strong>\"number\",</strong></strong>\"date\",<strong><strong>\"name\",</strong></strong>\"contact_id\",<strong><strong>\"state\",</strong></strong>\"stage_id\",<strong><strong>\"age_days\",</strong></strong>\"last_email_days\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"order\": null,</strong></strong>\"offset\": 0,<strong><strong>\"limit\": 100,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"sale.opportunity\":</strong> This is the first parameter and represents the specific entity or module in the system. In this case, it refers to the \"sale.opportunity,\" indicating that the operation will be performed on this entity.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>Search Domain</strong>: The third parameter is a list that contains a search domain. This domain is used to filter records based on specific conditions. In this case, the search domain is as follows:<ol>\n<li><strong>[\"state\", \"=\", \"open\"]</strong>: This is the condition specified within the search domain. It filters records where the \"state\" attribute is equal to \"open.\" This condition helps narrow down the search to records in the \"open\" state.<ol>\n<li><strong>\"state\"</strong>: This is the field or attribute within the entity that you want to filter on. In this case, it's the \"state\" field, which typically represents the current status of an opportunity.</li>\n<li><strong>\"=\"</strong>: This operator is used to specify the type of comparison you want to perform. Here, it's an equality comparison, meaning you're looking for records where the \"state\" field is equal to \"open.\"</li>\n<li><strong>\"open\"</strong>: This is the value you want to compare the \"state\" field against. It's the condition you want to meet when searching for records.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Selected Fields</strong>: The fourth parameter is an inner list that specifies the fields or attributes you want to retrieve from the matching records. These fields will be included in the search results. In this case, the selected fields are:<ol>\n<li><strong>\"number\"</strong>: This field represents a unique identifier or reference number associated with each sales opportunity. It's often used for tracking and reference purposes.</li>\n<li><strong>\"date\"</strong>: This field likely represents the date when the sales opportunity was created or some other relevant date associated with it. It can be used to track the timing of opportunities.</li>\n<li><strong>\"name\"</strong>: The \"name\" field typically represents the name or title of the sales opportunity. It provides a brief description or label for the opportunity.</li>\n<li><strong>\"contact_id\"</strong>: This field likely refers to the ID or reference to the contact or customer associated with the sales opportunity. It establishes a link between the opportunity and the contact.</li>\n<li><strong>\"state\"</strong>: The \"state\" field represents the current status or state of the sales opportunity. It can have values such as \"open,\" \"closed,\" \"won,\" \"lost,\" or other relevant states that indicate the progress of the opportunity.</li>\n<li><strong>\"stage_id\"</strong>: This field may refer to the stage or phase of the sales opportunity within a predefined sales process. It helps in categorizing opportunities based on their progress.</li>\n<li><strong>\"age_days\"</strong>: \"age_days\" likely represents the number of days since the sales opportunity was created or since it reached a particular stage. It provides insights into the age of the opportunity.</li>\n<li><strong>\"last_email_days\"</strong>: This field may indicate the number of days since the last email communication or interaction related to the sales opportunity. It helps in tracking communication history.</li>\n</ol>\n</li>\n<li><strong>Context</strong>: The final parameter is an object (dictionary) that can include additional options or context for the search_read operation. However, in this request, no additional context is specified.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"sale.opportunity\" entity. It specifies that it wants to retrieve records in the \"open\" state and includes specific fields in the search results. No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"832a2680-d77a-4bc9-ae34-57e47cf7f029","name":"params/sale.opportunity/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694505346462,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.opportunity\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    [\r\n                        \"state\",\r\n                        \"=\",\r\n                        \"open\"\r\n                    ]\r\n                ]\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"date\",\r\n                \"name\",\r\n                \"contact_id\",\r\n                \"state\",\r\n                \"stage_id\",\r\n                \"age_days\",\r\n                \"last_email_days\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 12:55:21\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Sep 2023 08:08:36 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=quIkfLi8Whx6rmEuwJTyL10oWK2cUD%2F3IjNVa%2FWxjPU3w9KmePpAs91Jzyq4mkbYlBAwnrfeqViGQnfdQ48gepYlrBwMEsLZZK3M9E9IKNmCb%2B362ZGQwTeqYPDR9ik7EU7WtCXHel4wu%2FG0LQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8056a9d74bc2b932-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 85,\n                \"contact_id\": [\n                    1023,\n                    \"[C-0919] Janah Dawood\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Inventory Management \",\n                \"date\": \"2023-07-03\",\n                \"number\": \"SL-21164\",\n                \"state\": \"open\",\n                \"age_days\": 71,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 84,\n                \"contact_id\": [\n                    1029,\n                    \"[C-0925] Casey - Fedral Furniture \",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"ERP - MES\",\n                \"date\": \"2023-07-03\",\n                \"number\": \"SL-21153\",\n                \"state\": \"open\",\n                \"age_days\": 71,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 83,\n                \"contact_id\": [\n                    1014,\n                    \"[C-0912] Aliza\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"ERP\",\n                \"date\": \"2023-07-03\",\n                \"number\": \"SL-21163\",\n                \"state\": \"open\",\n                \"age_days\": 71,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 82,\n                \"contact_id\": [\n                    1028,\n                    \"[C-0924] KC Khoo - Tools Depot Engineering Sdn.Bhd.\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Inventory\",\n                \"date\": \"2023-07-03\",\n                \"number\": \"SL-21159\",\n                \"state\": \"open\",\n                \"age_days\": 71,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 81,\n                \"contact_id\": [\n                    988,\n                    \"[C-0886] CY Plastic Chong\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Alwin Reference \",\n                \"date\": \"2023-04-21\",\n                \"number\": \"SL-21012\",\n                \"state\": \"open\",\n                \"age_days\": 144,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 80,\n                \"contact_id\": [\n                    962,\n                    \"[C-0861] Ms. Ashikin\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"WMS\",\n                \"date\": \"2023-03-20\",\n                \"number\": \"SL-21102\",\n                \"state\": \"open\",\n                \"age_days\": 176,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 79,\n                \"contact_id\": [\n                    928,\n                    \"[C-0828] Najwa\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Google Ads\",\n                \"date\": \"2023-03-20\",\n                \"number\": \"SL-21074\",\n                \"state\": \"open\",\n                \"age_days\": 176,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 78,\n                \"contact_id\": [\n                    964,\n                    \"[C-0863] John -  Inventory\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Inventory System\",\n                \"date\": \"2023-03-20\",\n                \"number\": \"SL-21076\",\n                \"state\": \"open\",\n                \"age_days\": 176,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 77,\n                \"contact_id\": [\n                    963,\n                    \"[C-0862] Yuki Lai - Austin Powder\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"ERP Solution\",\n                \"date\": \"2023-03-20\",\n                \"number\": \"SL-21089\",\n                \"state\": \"open\",\n                \"age_days\": 176,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 76,\n                \"contact_id\": [\n                    946,\n                    \"[C-0845] Rebecca\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Inventory management \",\n                \"date\": \"2023-03-07\",\n                \"number\": \"SL-21081\",\n                \"state\": \"open\",\n                \"age_days\": 189,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 75,\n                \"contact_id\": [\n                    948,\n                    \"[C-0847] Tilpreet \",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Asset Management  System\",\n                \"date\": \"2023-03-07\",\n                \"number\": \"SL-21092\",\n                \"state\": \"open\",\n                \"age_days\": 189,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 74,\n                \"contact_id\": [\n                    943,\n                    \"[C-0842] Luqman\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Inventory Management \",\n                \"date\": \"2023-02-27\",\n                \"number\": \"SL-21091\",\n                \"state\": \"open\",\n                \"age_days\": 197,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 73,\n                \"contact_id\": [\n                    938,\n                    \"[C-0837] Faiz Fahmi\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"ERP - Inventory & Purchase \",\n                \"date\": \"2023-02-27\",\n                \"number\": \"SL-21088\",\n                \"state\": \"open\",\n                \"age_days\": 197,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 72,\n                \"contact_id\": [\n                    931,\n                    \"[C-0830] Elfi Jewellery\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Google Ads\",\n                \"date\": \"2023-02-20\",\n                \"number\": \"SL-21077\",\n                \"state\": \"open\",\n                \"age_days\": 204,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 71,\n                \"contact_id\": [\n                    933,\n                    \"[C-0832] Chong J Y\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Google Ads\",\n                \"date\": \"2023-02-20\",\n                \"number\": \"SL-21083\",\n                \"state\": \"open\",\n                \"age_days\": 204,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 70,\n                \"contact_id\": [\n                    932,\n                    \"[C-0831] How Mei Fang\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Google Ads\",\n                \"date\": \"2023-02-06\",\n                \"number\": \"SL-21078\",\n                \"state\": \"open\",\n                \"age_days\": 218,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 69,\n                \"contact_id\": [\n                    916,\n                    \"[C-0816] Kenny Leow\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Phone Call (Perlis)\",\n                \"date\": \"2022-12-28\",\n                \"number\": \"SL-20902\",\n                \"state\": \"open\",\n                \"age_days\": 258,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 68,\n                \"contact_id\": [\n                    915,\n                    \"[C-0815] Chong\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Referral (DIYOU)\",\n                \"date\": \"2022-12-28\",\n                \"number\": \"SL-20999\",\n                \"state\": \"open\",\n                \"age_days\": 258,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 67,\n                \"contact_id\": [\n                    892,\n                    \"[C-0794] DR. PK Santha Kumar\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"EXPO SDEC\",\n                \"date\": \"2022-11-29\",\n                \"number\": \"SL-21042\",\n                \"state\": \"open\",\n                \"age_days\": 287,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 66,\n                \"contact_id\": [\n                    813,\n                    \"[C-0718] Jay Shan\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Webstie (Vape)\",\n                \"date\": \"2022-08-11\",\n                \"number\": \"SL-20991\",\n                \"state\": \"open\",\n                \"age_days\": 397,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 65,\n                \"contact_id\": [\n                    815,\n                    \"[C-0720] Ms Chan (Nilai)\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Alwin Reference \",\n                \"date\": \"2022-08-10\",\n                \"number\": \"SL-20989\",\n                \"state\": \"open\",\n                \"age_days\": 398,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 64,\n                \"contact_id\": [\n                    814,\n                    \"[C-0719] Zulaikha (LY Steel)\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Phone Call\",\n                \"date\": \"2022-08-10\",\n                \"number\": \"SL-20986\",\n                \"state\": \"open\",\n                \"age_days\": 398,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 63,\n                \"contact_id\": [\n                    812,\n                    \"[C-0717] Karen \",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Alwin Ref\",\n                \"date\": \"2022-08-03\",\n                \"number\": \"SL-20981\",\n                \"state\": \"open\",\n                \"age_days\": 405,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 62,\n                \"contact_id\": [\n                    536,\n                    \"[C-0451] Test\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Lite Internal Testing\",\n                \"date\": \"2022-07-26\",\n                \"number\": \"LITE-TEST\",\n                \"state\": \"open\",\n                \"age_days\": 413,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 61,\n                \"contact_id\": [\n                    800,\n                    \"[C-0705] Siew\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Gruppe Lighting Solution Sdn.Bhd\",\n                \"date\": \"2022-06-20\",\n                \"number\": \"SL-20950\",\n                \"state\": \"open\",\n                \"age_days\": 449,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 60,\n                \"contact_id\": [\n                    793,\n                    \"[C-0699] Charlie \",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Google Ads\",\n                \"date\": \"2022-06-20\",\n                \"number\": \"SL-20984\",\n                \"state\": \"open\",\n                \"age_days\": 449,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 59,\n                \"contact_id\": [\n                    779,\n                    \"[C-0685] Tom\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Alwin ref\",\n                \"date\": \"2022-05-23\",\n                \"number\": \"SL-20965\",\n                \"state\": \"open\",\n                \"age_days\": 477,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 58,\n                \"contact_id\": [\n                    776,\n                    \"[C-0682] OSK Construction Sdn Bhd\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Google Calll\",\n                \"date\": \"2022-05-11\",\n                \"number\": \"SL-20967\",\n                \"state\": \"open\",\n                \"age_days\": 489,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 57,\n                \"contact_id\": [\n                    703,\n                    \"[C-0612] Ms Jessica Lum\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Vistage\",\n                \"date\": \"2021-11-05\",\n                \"number\": \"SL-20938\",\n                \"state\": \"open\",\n                \"age_days\": 676,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 56,\n                \"contact_id\": [\n                    667,\n                    \"[C-0577] Joanne Chan\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Ms\",\n                \"date\": \"2021-11-05\",\n                \"number\": \"SL-20946\",\n                \"state\": \"open\",\n                \"age_days\": 676,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 55,\n                \"contact_id\": [\n                    719,\n                    \"[C-0628] Irene \",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Frontline Cosmeceuticals (M) Sdn. Bhd\",\n                \"date\": \"2021-11-01\",\n                \"number\": \"SL-20954\",\n                \"state\": \"open\",\n                \"age_days\": 680,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 54,\n                \"contact_id\": [\n                    684,\n                    \"[C-0593] Ms Lim\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Phone call \",\n                \"date\": \"2021-08-09\",\n                \"number\": \"SL-20944\",\n                \"state\": \"open\",\n                \"age_days\": 764,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 53,\n                \"contact_id\": [\n                    536,\n                    \"[C-0451] Test\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Test pang 2\",\n                \"date\": \"2020-11-30\",\n                \"number\": \"SL-20917\",\n                \"state\": \"open\",\n                \"age_days\": 1016,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 52,\n                \"contact_id\": [\n                    536,\n                    \"[C-0451] Test\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Test pang 2\",\n                \"date\": \"2020-11-30\",\n                \"number\": \"SL-20917\",\n                \"state\": \"open\",\n                \"age_days\": 1016,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 34,\n                \"contact_id\": [\n                    467,\n                    \"[C-0384] Mr Thong\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Phone call \",\n                \"date\": \"2020-09-11\",\n                \"number\": \"SL-20869\",\n                \"state\": \"open\",\n                \"age_days\": 1096,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 33,\n                \"contact_id\": [\n                    507,\n                    \"[C-0422] Ashley Tan\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Email\",\n                \"date\": \"2020-09-11\",\n                \"number\": \"SL-20882\",\n                \"state\": \"open\",\n                \"age_days\": 1096,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 32,\n                \"contact_id\": [\n                    506,\n                    \"[C-0421] Poon Wai Keat\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Email\",\n                \"date\": \"2020-09-11\",\n                \"number\": \"SL-20899\",\n                \"state\": \"open\",\n                \"age_days\": 1096,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 31,\n                \"contact_id\": [\n                    500,\n                    \"[C-0415] Daniel Chia\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Email\",\n                \"date\": \"2020-09-11\",\n                \"number\": \"SL-20892\",\n                \"state\": \"open\",\n                \"age_days\": 1096,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 30,\n                \"contact_id\": [\n                    460,\n                    \"[C-0378] Ken Lok\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Email\",\n                \"date\": \"2020-05-20\",\n                \"number\": \"SL-20863\",\n                \"state\": \"open\",\n                \"age_days\": 1210,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 29,\n                \"contact_id\": [\n                    420,\n                    \"[C-0342] Kha Chee Lam\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"E-mail\",\n                \"date\": \"2020-05-08\",\n                \"number\": \"SL-20813\",\n                \"state\": \"open\",\n                \"age_days\": 1222,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 28,\n                \"contact_id\": [\n                    449,\n                    \"[C-0368] Pravin\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Phone\",\n                \"date\": \"2020-05-08\",\n                \"number\": \"SL-20829\",\n                \"state\": \"open\",\n                \"age_days\": 1222,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 27,\n                \"contact_id\": [\n                    444,\n                    \"[C-0364] Ir. Jenn Woo\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Email\",\n                \"date\": \"2020-03-05\",\n                \"number\": \"SL-20827\",\n                \"state\": \"open\",\n                \"age_days\": 1286,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 26,\n                \"contact_id\": [\n                    438,\n                    \"[C-0358] Pugal Nathan\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Email\",\n                \"date\": \"2020-02-26\",\n                \"number\": \"SL-20819\",\n                \"state\": \"open\",\n                \"age_days\": 1294,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 25,\n                \"contact_id\": [\n                    436,\n                    \"[C-0356] Saeed Magad\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Phone calls\",\n                \"date\": \"2020-02-26\",\n                \"number\": \"SL-20818\",\n                \"state\": \"open\",\n                \"age_days\": 1294,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 24,\n                \"contact_id\": [\n                    407,\n                    \"[C-0329] Emily Lai\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Phone Call\",\n                \"date\": \"2020-02-26\",\n                \"number\": \"SL-20804\",\n                \"state\": \"open\",\n                \"age_days\": 1294,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 23,\n                \"contact_id\": [\n                    404,\n                    \"[C-0326] Wiltek Homeware Sdn Bhd (730858-A)\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Phone Call\",\n                \"date\": \"2020-02-26\",\n                \"number\": \"SL-20805\",\n                \"state\": \"open\",\n                \"age_days\": 1294,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 22,\n                \"contact_id\": [\n                    420,\n                    \"[C-0342] Kha Chee Lam\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"E-mail\",\n                \"date\": \"2020-02-26\",\n                \"number\": \"SL-20813\",\n                \"state\": \"open\",\n                \"age_days\": 1294,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 21,\n                \"contact_id\": [\n                    400,\n                    \"[C-0323] Seng Mei Yen\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Phone Call\",\n                \"date\": \"2020-02-26\",\n                \"number\": \"SL-20806\",\n                \"state\": \"open\",\n                \"age_days\": 1294,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 20,\n                \"contact_id\": [\n                    420,\n                    \"[C-0342] Kha Chee Lam\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"E-mail\",\n                \"date\": \"2020-02-03\",\n                \"number\": \"SL-20813\",\n                \"state\": \"open\",\n                \"age_days\": 1317,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 19,\n                \"contact_id\": [\n                    404,\n                    \"[C-0326] Wiltek Homeware Sdn Bhd (730858-A)\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Phone Call\",\n                \"date\": \"2020-01-31\",\n                \"number\": \"SL-20805\",\n                \"state\": \"open\",\n                \"age_days\": 1320,\n                \"last_email_days\": null\n            },\n            {\n                \"id\": 18,\n                \"contact_id\": [\n                    400,\n                    \"[C-0323] Seng Mei Yen\",\n                    null\n                ],\n                \"stage_id\": null,\n                \"name\": \"Phone Call\",\n                \"date\": \"2020-01-31\",\n                \"number\": \"SL-20806\",\n                \"state\": \"open\",\n                \"age_days\": 1320,\n                \"last_email_days\": null\n            }\n        ],\n        51\n    ],\n    \"error\": null,\n    \"id\": 1694505346462,\n    \"dt\": 69\n}"}],"_postman_id":"a3c51075-49e9-4f26-80e9-6ad7eb459017"}],"id":"eeab1e63-559d-4dc5-8530-8436bcfec01d","_postman_id":"eeab1e63-559d-4dc5-8530-8436bcfec01d","description":""},{"name":"Quotations","item":[{"name":"params/inline.help/search_read","id":"1375f94c-947a-4c5e-b1e1-470fd44044f7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694506738174,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"quot\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 13:18:44\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"quot\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter, and it represents the specific entity or module in the system. In this context, it refers to \"inline.help,\" indicating that the operation will be performed on this entity.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[\"action\", \"=\", \"quot\"]]</strong>: This is the third parameter and consists of a single search domain, which is an inner list with one condition:<ol>\n<li><strong>\"action\"</strong>: This is the field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li><strong>\"=\"</strong>: This operator is used to specify the type of comparison you want to perform. In this case, it's an equality comparison, which means you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li><strong>\"quot\"</strong>: This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records.</li>\n</ol>\n</li>\n<li><strong>{}</strong>: This is the fourth parameter and represents an empty dictionary. Typically, this part of the request can be used to pass additional options or context to the search_read operation. However, in this request, no additional context is specified.</li>\n</ol>\n<p>In summary, the request is performing a search and read operation within the \"inline.help\" entity to retrieve records related to \"quot.\" It specifies that it wants to retrieve records based on the condition that the \"action\" field is equal to \"quot.\" No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"4041e78a-a519-444a-bf55-42576868eab3","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694506738174,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"quot\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 13:18:44\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Sep 2023 08:20:47 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=tbaQQGpUn6mQUUOz7iIx5N5LR8%2B8rkkYzoFb%2FJ%2BJyWhVr%2B63%2BkygHuPD3mmpJ6GA7KuHMWoBBrZbPuEy0%2FhuwH9ReuAd9dhGXN40v3HIrrI6OrHSYsl8nzWJ9CEhcHSnj%2BvihiC4FrCOsE8yag%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8056bbb02ac21c8e-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694506738174,\n    \"dt\": 6\n}"}],"_postman_id":"1375f94c-947a-4c5e-b1e1-470fd44044f7"},{"name":"params/sale.quot/search_read","id":"e64b2475-b0ad-4483-8f6a-7276a1ceb6aa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694506738182,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.quot\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"contact_id\",\r\n                \"sale_categ_id\",\r\n                \"date\",\r\n                \"user_id\",\r\n                \"amount_total\",\r\n                \"payment_terms\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 13:18:44\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"sale.quot\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[]<strong><strong>],<strong><strong>[</strong></strong>\"number\",</strong></strong>\"contact_id\",<strong><strong>\"sale_categ_id\",</strong></strong>\"date\",<strong><strong>\"user_id\",</strong></strong>\"amount_total\",<strong><strong>\"payment_terms\",</strong></strong>\"state\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"order\": null,</strong></strong>\"offset\": 0,<strong><strong>\"limit\": 100,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"sale.quot\"</strong>: This is the first parameter and represents the specific entity or module in the system. It indicates that the operation will be performed on the \"sale.quot\" entity.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[]]</strong>: This is the third parameter and consists of two inner lists. The first inner list is empty, indicating that there are no specific search conditions defined for filtering records. It means that this request intends to retrieve all records without any specific filtering criteria.</li>\n<li><strong>[\"number\", \"contact_id\", \"sale_categ_id\", \"date\", \"user_id\", \"amount_total\", \"payment_terms\", \"state\"]</strong>: This is the fourth parameter and represents a list of fields or attributes that you want to retrieve for each record. These fields include:<ol>\n<li><strong>\"number\"</strong>: This field represents the unique identifier or reference number of a quotation. Each quotation is typically assigned a distinct number for easy identification and reference.</li>\n<li><strong>\"contact_id\"</strong>: This field indicates the identifier of the contact associated with the quotation. It could refer to the customer or entity to which the quotation is addressed.</li>\n<li><strong>\"sale_categ_id\"</strong>: This field represents the category or type of sale to which the quotation belongs. It categorizes the quotation based on its nature or purpose, such as \"Retail,\" \"Wholesale,\" or other relevant categories.</li>\n<li><strong>\"date\"</strong>: This field denotes the date when the quotation was created or issued. It provides information about when the quotation was generated or sent to the customer.</li>\n<li><strong>\"user_id\"</strong>: This field is the identifier of the user or employee responsible for creating or managing the quotation. It helps in tracking who initiated the quotation.</li>\n<li><strong>\"amount_total\"</strong>: This field signifies the total amount or value associated with the quotation. It represents the sum of all items, products, or services included in the quotation, reflecting the overall cost.</li>\n<li><strong>\"payment_terms\"</strong>: This field describes the terms and conditions of payment associated with the quotation. It outlines when and how the customer should make payments, including any specific payment deadlines or instructions.</li>\n<li><strong>\"state\"</strong>: This field indicates the current state or status of the quotation. It typically represents whether the quotation is in a \"Draft,\" \"Pending,\" \"Approved,\" or another state in the quotation lifecycle. The state can help in tracking the progress of the quotation.</li>\n</ol>\n</li>\n<li><strong>{<strong><strong>\"count\": true,</strong></strong>\"order\": null,<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>}</strong>: This is the fifth parameter and represents a dictionary containing additional options and context for the search_read operation. Here's what each key-value pair means:<ol>\n<li><strong>\"count\": true</strong>: This indicates that you want to count the total number of records that match the search criteria. It's set to \"true\" in this request.</li>\n<li><strong>\"order\": null</strong>: There is no specific sorting order defined in this request, so records will be retrieved in their default order.</li>\n<li><strong>\"offset\": 0</strong>: This specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (0).</li>\n<li><strong>\"limit\": 100</strong>: This sets a limit on the number of records to be retrieved. In this request, it's set to a maximum of 100 records.</li>\n<li><strong>\"context\": {}</strong>: This is an empty context, which can be used to pass additional information or context-specific data to the operation. In this request, no specific context information is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"sale.quot\" entity, aiming to retrieve records of quotations. It intends to retrieve all available fields for each quotation, count the total number of records, and retrieve a maximum of 100 records without specifying a specific sorting order or filtering criteria.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"9dbaca00-3ca1-4b27-aca0-30311fd5bc00","name":"params/sale.quot/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694506738182,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.quot\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"contact_id\",\r\n                \"sale_categ_id\",\r\n                \"date\",\r\n                \"user_id\",\r\n                \"amount_total\",\r\n                \"payment_terms\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 13:18:44\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Sep 2023 08:30:12 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=03QqG2mgzoc2JTf2ceHlf5lkYHpW5L%2BdDGpn83sp%2FiGuERk2Jl%2Bye3ru8X82M7GWII6ogZwnISv9zPDFGnhMU4ltpxnndl9rLbt07kq5d56jwwGXpLtZUA20x%2FqXkB541vnG6SdcktkCdv%2FyCA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8056c97fefe9b7dc-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 633,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    1040,\n                    \"[C-0935] Hudeccan \",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-09-06\",\n                \"number\": \"2023/HUDECCAN/05\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 7450\n            },\n            {\n                \"id\": 632,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    835,\n                    \"[C-0739] Hayat AutoTech \",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-09-05\",\n                \"number\": \"2023/HAYAT/02\",\n                \"payment_terms\": null,\n                \"state\": \"draft\",\n                \"amount_total\": 39220\n            },\n            {\n                \"id\": 631,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    1072,\n                    \"[C-0966] BYHISDAISY INTERNATIONAL SDN BHD\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-09-05\",\n                \"number\": \"2023/BYHISDAISY/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 30740\n            },\n            {\n                \"id\": 630,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    832,\n                    \"[C-0736] Sanko Plastic (Malaysia) Sdn Bhd\",\n                    null\n                ],\n                \"user_id\": [\n                    54,\n                    \"Khalida\",\n                    null\n                ],\n                \"date\": \"2023-09-01\",\n                \"number\": \"2023/SANKO/06\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 6360\n            },\n            {\n                \"id\": 626,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    1070,\n                    \"[C-0964] Mingle Manor Sdn Bhd\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-08-30\",\n                \"number\": \"2023/MINGLEMANOR/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 49820\n            },\n            {\n                \"id\": 629,\n                \"sale_categ_id\": [\n                    15,\n                    \"IR4.0\",\n                    null\n                ],\n                \"contact_id\": [\n                    1068,\n                    \"[C-0962] Metropoly Packaging Sdn Bhd (1106268-W)\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-08-29\",\n                \"number\": \"2023/METRO/03\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 773951\n            },\n            {\n                \"id\": 628,\n                \"sale_categ_id\": [\n                    15,\n                    \"IR4.0\",\n                    null\n                ],\n                \"contact_id\": [\n                    1068,\n                    \"[C-0962] Metropoly Packaging Sdn Bhd (1106268-W)\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-08-28\",\n                \"number\": \"2023/METRO/02\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 753901\n            },\n            {\n                \"id\": 627,\n                \"sale_categ_id\": [\n                    15,\n                    \"IR4.0\",\n                    null\n                ],\n                \"contact_id\": [\n                    1068,\n                    \"[C-0962] Metropoly Packaging Sdn Bhd (1106268-W)\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-08-26\",\n                \"number\": \"2023/METRO/01\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 766437\n            },\n            {\n                \"id\": 625,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    949,\n                    \"[C-0848] Techcapital Resources Sdn Bhd (679831-D)\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-08-24\",\n                \"number\": \"2023/TROBOT/HORNB/03\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 150200\n            },\n            {\n                \"id\": 624,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    76,\n                    \"[C-0017] Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-08-24\",\n                \"number\": \"2023/INHE/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 43460\n            },\n            {\n                \"id\": 621,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    1040,\n                    \"[C-0935] Hudeccan \",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-08-17\",\n                \"number\": \"2023/HIDECCAN/04\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 38690\n            },\n            {\n                \"id\": 620,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    1062,\n                    \"[C-0956] Udani carpets sdn bhd\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-08-16\",\n                \"number\": \"2023/UDANI/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 63282\n            },\n            {\n                \"id\": 619,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    949,\n                    \"[C-0848] Techcapital Resources Sdn Bhd (679831-D)\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-08-16\",\n                \"number\": \"2023/TROBOT3/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 46950\n            },\n            {\n                \"id\": 617,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    1040,\n                    \"[C-0935] Hudeccan \",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-08-16\",\n                \"number\": \"2023/Hudeccan/03\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 43990\n            },\n            {\n                \"id\": 612,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    832,\n                    \"[C-0736] Sanko Plastic (Malaysia) Sdn Bhd\",\n                    null\n                ],\n                \"user_id\": [\n                    54,\n                    \"Khalida\",\n                    null\n                ],\n                \"date\": \"2023-08-14\",\n                \"number\": \"2023/SANKO/05\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 3816\n            },\n            {\n                \"id\": 614,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    1057,\n                    \"[C-0952] Titan Metal Works Sdn.Bhd.\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-08-11\",\n                \"number\": \"2023/TITAN/01\",\n                \"payment_terms\": null,\n                \"state\": \"draft\",\n                \"amount_total\": 260197\n            },\n            {\n                \"id\": 615,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    1059,\n                    \"[C-0954] Intrix\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-08-11\",\n                \"number\": \"2023/INTRIX/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 128671.28\n            },\n            {\n                \"id\": 613,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    1056,\n                    \"[C-0951] Endress+Hauser Malaysia\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-08-11\",\n                \"number\": \"2023/ENDRESS/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 43036\n            },\n            {\n                \"id\": 611,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    166,\n                    \"[C-0106] STME ASIAN DESIGNERS Sdn Bhd\",\n                    null\n                ],\n                \"user_id\": [\n                    100,\n                    \"Fatin Shahirah\",\n                    null\n                ],\n                \"date\": \"2023-08-09\",\n                \"number\": \"2023/STMEASIA/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 34450\n            },\n            {\n                \"id\": 610,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    1048,\n                    \"[C-0943] Sinmar Group \",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-08-03\",\n                \"number\": \"2023/SINMAR/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 76320\n            },\n            {\n                \"id\": 608,\n                \"sale_categ_id\": [\n                    11,\n                    \"e-Fulfilment\",\n                    null\n                ],\n                \"contact_id\": [\n                    1046,\n                    \"[C-0941] Peninsular Steel Galvanising Sdn Bhd \",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-08-01\",\n                \"number\": \"2023/PSG/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 57240\n            },\n            {\n                \"id\": 609,\n                \"sale_categ_id\": [\n                    2,\n                    \"WMS/INV Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    792,\n                    \"[C-0698] CENTURY MARK PACIFIC MARKETING SDN BHD\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-08-01\",\n                \"number\": \"2023/CMPM/02\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 530\n            },\n            {\n                \"id\": 607,\n                \"sale_categ_id\": [\n                    2,\n                    \"WMS/INV Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    1044,\n                    \"[C-0939] Mexpower \",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-07-31\",\n                \"number\": \"2023/MEXPOWER/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 64660\n            },\n            {\n                \"id\": 603,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    1042,\n                    \"[C-0937] Litosfera Malaya Legacy (LML)\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-07-31\",\n                \"number\": \"2023/LML/02\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 4550\n            },\n            {\n                \"id\": 602,\n                \"sale_categ_id\": [\n                    2,\n                    \"WMS/INV Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    1042,\n                    \"[C-0937] Litosfera Malaya Legacy (LML)\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-07-31\",\n                \"number\": \"2023/LML/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 30740\n            },\n            {\n                \"id\": 601,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    1040,\n                    \"[C-0935] Hudeccan \",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-07-27\",\n                \"number\": \"2023/HUDECCAN/02\",\n                \"payment_terms\": null,\n                \"state\": \"draft\",\n                \"amount_total\": 4550\n            },\n            {\n                \"id\": 600,\n                \"sale_categ_id\": [\n                    2,\n                    \"WMS/INV Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    1040,\n                    \"[C-0935] Hudeccan \",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-07-27\",\n                \"number\": \"2023/HUDECCAN/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 30740\n            },\n            {\n                \"id\": 599,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    1032,\n                    \"[C-0928] XIERA Trading\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-07-11\",\n                \"number\": \"2023/XIERA/02\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 4550\n            },\n            {\n                \"id\": 598,\n                \"sale_categ_id\": [\n                    2,\n                    \"WMS/INV Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    1032,\n                    \"[C-0928] XIERA Trading\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-07-11\",\n                \"number\": \"2023/XIERA/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 30740\n            },\n            {\n                \"id\": 597,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    949,\n                    \"[C-0848] Techcapital Resources Sdn Bhd (679831-D)\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-07-07\",\n                \"number\": \"2023/TROBOT/04\",\n                \"payment_terms\": null,\n                \"state\": \"won\",\n                \"amount_total\": 17800\n            },\n            {\n                \"id\": 595,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    848,\n                    \"[C-0752] Celovis Malaysia \",\n                    null\n                ],\n                \"user_id\": [\n                    54,\n                    \"Khalida\",\n                    null\n                ],\n                \"date\": \"2023-07-03\",\n                \"number\": \"2023/CELOVIS/05\",\n                \"payment_terms\": null,\n                \"state\": \"won\",\n                \"amount_total\": 54219\n            },\n            {\n                \"id\": 596,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    952,\n                    \"[C-0851] SaniChem Resources Sdn. Bhd.\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-06-27\",\n                \"number\": \"2023/SANICH/06\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 356169\n            },\n            {\n                \"id\": 594,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    952,\n                    \"[C-0851] SaniChem Resources Sdn. Bhd.\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-06-26\",\n                \"number\": \"2023/SANICH/05\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 356169\n            },\n            {\n                \"id\": 593,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    1024,\n                    \"[C-0920] CAF Food Products Sdn. Bhd.\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-06-22\",\n                \"number\": \"2023/CAFF/02\",\n                \"payment_terms\": null,\n                \"state\": \"lost\",\n                \"amount_total\": 63600\n            },\n            {\n                \"id\": 592,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    1024,\n                    \"[C-0920] CAF Food Products Sdn. Bhd.\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-06-22\",\n                \"number\": \"2023/CAFF/01\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 212697\n            },\n            {\n                \"id\": 591,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    1022,\n                    \"[C-0918] Ivetworks sdn bhd\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-06-21\",\n                \"number\": \"2023/IVETWORK/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 36886.94\n            },\n            {\n                \"id\": 590,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    1018,\n                    \"[C-0914] See Hoy Facilities\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-06-13\",\n                \"number\": \"2023/SEEHOYFACILITIES/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 20087\n            },\n            {\n                \"id\": 588,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    1013,\n                    \"[C-0911]  UEM Edgenta\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-06-09\",\n                \"number\": \"2023/UEMEGENTA/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 61480\n            },\n            {\n                \"id\": 587,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    848,\n                    \"[C-0752] Celovis Malaysia \",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-06-07\",\n                \"number\": \"2023/CELOVIS/04\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 80719\n            },\n            {\n                \"id\": 589,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    952,\n                    \"[C-0851] SaniChem Resources Sdn. Bhd.\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-06-01\",\n                \"number\": \"2023/SANICH/04\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 356169\n            },\n            {\n                \"id\": 584,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    927,\n                    \"[C-0827] Sklew Biotech\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-05-31\",\n                \"number\": \"2023/SKLEW/05\",\n                \"payment_terms\": null,\n                \"state\": \"won\",\n                \"amount_total\": 26817.15\n            },\n            {\n                \"id\": 586,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    1008,\n                    \"[C-0906] Puras \",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-05-31\",\n                \"number\": \"2023/PURAS/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 36464\n            },\n            {\n                \"id\": 583,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    952,\n                    \"[C-0851] SaniChem Resources Sdn. Bhd.\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-05-30\",\n                \"number\": \"2023/SANICH/03\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 356169\n            },\n            {\n                \"id\": 582,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    973,\n                    \"[C-0872] QRZ MotorSports \",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-05-30\",\n                \"number\": \"2023/QRZ/03\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 31588\n            },\n            {\n                \"id\": 581,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    877,\n                    \"[C-0779] Rurutiki Sdn Bhd\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-05-29\",\n                \"number\": \"2023/RRTK/01\",\n                \"payment_terms\": null,\n                \"state\": \"draft\",\n                \"amount_total\": 743800\n            },\n            {\n                \"id\": 579,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    952,\n                    \"[C-0851] SaniChem Resources Sdn. Bhd.\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-05-25\",\n                \"number\": \"2023/SANICH/02\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 370999\n            },\n            {\n                \"id\": 580,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    465,\n                    \"[C-0383] LTI INDUSTRIES SDN. BHD (887236-U)\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-05-25\",\n                \"number\": \"2023/LTIR/02\",\n                \"payment_terms\": null,\n                \"state\": \"won\",\n                \"amount_total\": 430980\n            },\n            {\n                \"id\": 578,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    949,\n                    \"[C-0848] Techcapital Resources Sdn Bhd (679831-D)\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-05-24\",\n                \"number\": \"2023/TROBOT/HORNB/02\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 100000\n            },\n            {\n                \"id\": 575,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    949,\n                    \"[C-0848] Techcapital Resources Sdn Bhd (679831-D)\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-05-23\",\n                \"number\": \"2023/TROBOT/HORNB/01\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 100000\n            },\n            {\n                \"id\": 574,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    1005,\n                    \"[C-0903] Tayopack Sdn. Bhd.\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-05-23\",\n                \"number\": \"2023/TAYOPACK/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 275600\n            },\n            {\n                \"id\": 576,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    848,\n                    \"[C-0752] Celovis Malaysia \",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-05-23\",\n                \"number\": \"2023/CELOVIS/03\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 81577.6\n            },\n            {\n                \"id\": 573,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    1002,\n                    \"[C-0900] KLAY ENERSOL SDN. BHD.\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-05-18\",\n                \"number\": \"2023/KLAYE/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 204792\n            },\n            {\n                \"id\": 536,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    952,\n                    \"[C-0851] SaniChem Resources Sdn. Bhd.\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-05-17\",\n                \"number\": \"2023/SANICH/01\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 356169\n            },\n            {\n                \"id\": 572,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    1000,\n                    \"[C-0898] Exceltech Food Trading Sdn Bhd\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-05-17\",\n                \"number\": \"2023/EXCELT/01\",\n                \"payment_terms\": null,\n                \"state\": \"lost\",\n                \"amount_total\": 51887\n            },\n            {\n                \"id\": 570,\n                \"sale_categ_id\": [\n                    2,\n                    \"WMS/INV Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    86,\n                    \"[C-0027] Diyou Fibre Sdn Bhd (465406-D)\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-05-13\",\n                \"number\": \"2023/DIALOG/01\",\n                \"payment_terms\": null,\n                \"state\": \"won\",\n                \"amount_total\": 44606.94\n            },\n            {\n                \"id\": 569,\n                \"sale_categ_id\": [\n                    2,\n                    \"WMS/INV Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    86,\n                    \"[C-0027] Diyou Fibre Sdn Bhd (465406-D)\",\n                    null\n                ],\n                \"user_id\": [\n                    54,\n                    \"Khalida\",\n                    null\n                ],\n                \"date\": \"2023-05-12\",\n                \"number\": \"2023/DIYO/03\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 68776.94\n            },\n            {\n                \"id\": 568,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    995,\n                    \"[C-0893] WWRC\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-05-11\",\n                \"number\": \"2023/WWRC/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 56643\n            },\n            {\n                \"id\": 567,\n                \"sale_categ_id\": [\n                    2,\n                    \"WMS/INV Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    992,\n                    \"[C-0890] ST Engineering \",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-05-11\",\n                \"number\": \"2023/STENGINEERING/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 18866.94\n            },\n            {\n                \"id\": 554,\n                \"sale_categ_id\": [\n                    2,\n                    \"WMS/INV Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    86,\n                    \"[C-0027] Diyou Fibre Sdn Bhd (465406-D)\",\n                    null\n                ],\n                \"user_id\": [\n                    54,\n                    \"Khalida\",\n                    null\n                ],\n                \"date\": \"2023-05-11\",\n                \"number\": \"2023/DIYO/02\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 31800\n            },\n            {\n                \"id\": 566,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    986,\n                    \"[C-0884] TDC AUTOMOBILE SDN BHD\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-04-20\",\n                \"number\": \"2023/TDC/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 27507\n            },\n            {\n                \"id\": 565,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    973,\n                    \"[C-0872] QRZ MotorSports \",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-04-19\",\n                \"number\": \"2023/QRZ/02\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 28090\n            },\n            {\n                \"id\": 564,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    982,\n                    \"[C-0880] Chian Hardware & Fastener Sdn Bhd (Bosch)\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-04-17\",\n                \"number\": \"2023/CHIANHARDWARE/02\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 3816\n            },\n            {\n                \"id\": 563,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    853,\n                    \"[C-0757] Bosch Malaysia\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-04-17\",\n                \"number\": \"2023/BOSCH/07\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 3816\n            },\n            {\n                \"id\": 561,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    982,\n                    \"[C-0880] Chian Hardware & Fastener Sdn Bhd (Bosch)\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-04-14\",\n                \"number\": \"2023/CHIANHARDWARE/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 3975\n            },\n            {\n                \"id\": 560,\n                \"sale_categ_id\": [\n                    12,\n                    \"Website Building\",\n                    null\n                ],\n                \"contact_id\": [\n                    853,\n                    \"[C-0757] Bosch Malaysia\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-04-13\",\n                \"number\": \"2023/BOSCH/06\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 477\n            },\n            {\n                \"id\": 558,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    913,\n                    \"[C-0813] Lifestyle Ventures Sdn Bhd\\t\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-04-04\",\n                \"number\": \"2022/LVMSB/07\",\n                \"payment_terms\": null,\n                \"state\": \"won\",\n                \"amount_total\": 260197\n            },\n            {\n                \"id\": 557,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    975,\n                    \"[C-0874] Kendek Products\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-03-30\",\n                \"number\": \"2023/KENDEK/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 20087\n            },\n            {\n                \"id\": 555,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    666,\n                    \"[C-0576] Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\",\n                    null\n                ],\n                \"user_id\": [\n                    54,\n                    \"Khalida\",\n                    null\n                ],\n                \"date\": \"2023-03-29\",\n                \"number\": \"2023/SWESB/01\",\n                \"payment_terms\": null,\n                \"state\": \"won\",\n                \"amount_total\": 185.5\n            },\n            {\n                \"id\": 556,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    973,\n                    \"[C-0872] QRZ MotorSports \",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-03-29\",\n                \"number\": \"2023/QRZ/01\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 21730\n            },\n            {\n                \"id\": 550,\n                \"sale_categ_id\": [\n                    14,\n                    \"Dedicated Manpower\",\n                    null\n                ],\n                \"contact_id\": [\n                    970,\n                    \"[C-0869] Markaids (Malaysia) Sdn Bhd \",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-03-28\",\n                \"number\": \"2023/MARKAIDS/01\",\n                \"payment_terms\": null,\n                \"state\": \"lost\",\n                \"amount_total\": 4383\n            },\n            {\n                \"id\": 553,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    927,\n                    \"[C-0827] Sklew Biotech\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-03-27\",\n                \"number\": \"2023/SKLIEW/04\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 18337.15\n            },\n            {\n                \"id\": 551,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    927,\n                    \"[C-0827] Sklew Biotech\",\n                    null\n                ],\n                \"user_id\": [\n                    54,\n                    \"Khalida\",\n                    null\n                ],\n                \"date\": \"2023-03-27\",\n                \"number\": \"2023/SKLIEW/03\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 18336.52\n            },\n            {\n                \"id\": 552,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    698,\n                    \"[C-0607] Gruppe Marketing Sdn Bhd\",\n                    null\n                ],\n                \"user_id\": [\n                    54,\n                    \"Khalida\",\n                    null\n                ],\n                \"date\": \"2023-03-27\",\n                \"number\": \"2023/GRUPPE/03\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 1590\n            },\n            {\n                \"id\": 549,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    790,\n                    \"[C-0696] Gapurnapermai (Costa Coffe)\",\n                    null\n                ],\n                \"user_id\": [\n                    54,\n                    \"Khalida\",\n                    null\n                ],\n                \"date\": \"2023-03-27\",\n                \"number\": \"2023/COSTA/03\",\n                \"payment_terms\": null,\n                \"state\": \"won\",\n                \"amount_total\": 4028\n            },\n            {\n                \"id\": 548,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    967,\n                    \"[C-0866] Hipple (Asia Pacific) Sdn Bhd\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-03-23\",\n                \"number\": \"2023/Hipple/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 25438.94\n            },\n            {\n                \"id\": 547,\n                \"sale_categ_id\": [\n                    2,\n                    \"WMS/INV Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    705,\n                    \"[C-0614] Austin Powder Sdn Bhd\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-03-22\",\n                \"number\": \"2023/APSB/01\",\n                \"payment_terms\": null,\n                \"state\": \"draft\",\n                \"amount_total\": 143003.54\n            },\n            {\n                \"id\": 546,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    913,\n                    \"[C-0813] Lifestyle Ventures Sdn Bhd\\t\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-03-21\",\n                \"number\": \"2022/LVMSB/06\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 260197\n            },\n            {\n                \"id\": 545,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    698,\n                    \"[C-0607] Gruppe Marketing Sdn Bhd\",\n                    null\n                ],\n                \"user_id\": [\n                    54,\n                    \"Khalida\",\n                    null\n                ],\n                \"date\": \"2023-03-20\",\n                \"number\": \"2023/GRUPPE/02\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 3180\n            },\n            {\n                \"id\": 544,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    832,\n                    \"[C-0736] Sanko Plastic (Malaysia) Sdn Bhd\",\n                    null\n                ],\n                \"user_id\": [\n                    54,\n                    \"Khalida\",\n                    null\n                ],\n                \"date\": \"2023-03-17\",\n                \"number\": \"2023/SANKO/04\",\n                \"payment_terms\": null,\n                \"state\": \"won\",\n                \"amount_total\": 3900\n            },\n            {\n                \"id\": 543,\n                \"sale_categ_id\": [\n                    2,\n                    \"WMS/INV Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    86,\n                    \"[C-0027] Diyou Fibre Sdn Bhd (465406-D)\",\n                    null\n                ],\n                \"user_id\": [\n                    54,\n                    \"Khalida\",\n                    null\n                ],\n                \"date\": \"2023-03-17\",\n                \"number\": \"2023/DIYO/01\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 26500\n            },\n            {\n                \"id\": 542,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    927,\n                    \"[C-0827] Sklew Biotech\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-03-16\",\n                \"number\": \"2023/SKLIEW/02\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 16216.52\n            },\n            {\n                \"id\": 537,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    698,\n                    \"[C-0607] Gruppe Marketing Sdn Bhd\",\n                    null\n                ],\n                \"user_id\": [\n                    54,\n                    \"Khalida\",\n                    null\n                ],\n                \"date\": \"2023-03-15\",\n                \"number\": \"2023/GRUPPE/01\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 5300\n            },\n            {\n                \"id\": 541,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    961,\n                    \"[C-0860] Ashvertising Marketing\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-03-14\",\n                \"number\": \"2023/ASHVERTISING/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 28406.94\n            },\n            {\n                \"id\": 540,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    956,\n                    \"[C-0855] SMH RAIL SDN BHD\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-03-13\",\n                \"number\": \"2023/SMHRAIL/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 29627\n            },\n            {\n                \"id\": 539,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    949,\n                    \"[C-0848] Techcapital Resources Sdn Bhd (679831-D)\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-03-12\",\n                \"number\": \"2023/TROBOT/03\",\n                \"payment_terms\": null,\n                \"state\": \"won\",\n                \"amount_total\": 74076.28\n            },\n            {\n                \"id\": 538,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    954,\n                    \"[C-0853] Namicoh Suria Sdn Bhd\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-03-09\",\n                \"number\": \"2023/NSSB/01\",\n                \"payment_terms\": null,\n                \"state\": \"draft\",\n                \"amount_total\": 685470\n            },\n            {\n                \"id\": 524,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    848,\n                    \"[C-0752] Celovis Malaysia \",\n                    null\n                ],\n                \"user_id\": [\n                    54,\n                    \"Khalida\",\n                    null\n                ],\n                \"date\": \"2023-03-09\",\n                \"number\": \"2023/CELOVIS/02\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 88923.4\n            },\n            {\n                \"id\": 532,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    949,\n                    \"[C-0848] Techcapital Resources Sdn Bhd (679831-D)\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-03-08\",\n                \"number\": \"2023/TROBOT/02\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 74076.28\n            },\n            {\n                \"id\": 533,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    790,\n                    \"[C-0696] Gapurnapermai (Costa Coffe)\",\n                    null\n                ],\n                \"user_id\": [\n                    54,\n                    \"Khalida\",\n                    null\n                ],\n                \"date\": \"2023-03-07\",\n                \"number\": \"2023/COSTA/02\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 5167.5\n            },\n            {\n                \"id\": 530,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    790,\n                    \"[C-0696] Gapurnapermai (Costa Coffe)\",\n                    null\n                ],\n                \"user_id\": [\n                    54,\n                    \"Khalida\",\n                    null\n                ],\n                \"date\": \"2023-03-07\",\n                \"number\": \"2023/COSTA/01\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 6969.5\n            },\n            {\n                \"id\": 534,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    949,\n                    \"[C-0848] Techcapital Resources Sdn Bhd (679831-D)\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-03-06\",\n                \"number\": \"2023/TROBOT/01\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 44507.28\n            },\n            {\n                \"id\": 531,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    514,\n                    \"[C-0429] Masfloor Sdn Bhd (735339-W)\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-03-03\",\n                \"number\": \"2023/MASF/03\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 560390\n            },\n            {\n                \"id\": 529,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    947,\n                    \"[C-0846] FrogAsia \",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-02-28\",\n                \"number\": \"2023/FROGASIA/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 34766.94\n            },\n            {\n                \"id\": 528,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    945,\n                    \"[C-0844] Lion Machinery Supply Sdn Bhd\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-02-23\",\n                \"number\": \"2023/LIONMACHINE/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 22525\n            },\n            {\n                \"id\": 527,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    1002,\n                    \"[C-0900] KLAY ENERSOL SDN. BHD.\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-02-21\",\n                \"number\": \"2023/KLAYENERSOL/01\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 16907\n            },\n            {\n                \"id\": 526,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    939,\n                    \"[C-0838] Red Dino \",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-02-16\",\n                \"number\": \"2023/REDDINO/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 15900\n            },\n            {\n                \"id\": 525,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    465,\n                    \"[C-0383] LTI INDUSTRIES SDN. BHD (887236-U)\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-02-15\",\n                \"number\": \"2023/LTIR/01\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 430980\n            },\n            {\n                \"id\": 523,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    937,\n                    \"[C-0836] SYSTEMATIC AVIATION SERVICES SDN BHD\",\n                    null\n                ],\n                \"user_id\": [\n                    93,\n                    \"Saqib\",\n                    null\n                ],\n                \"date\": \"2023-02-14\",\n                \"number\": \"2023/SAS/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 37259\n            },\n            {\n                \"id\": 522,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    514,\n                    \"[C-0429] Masfloor Sdn Bhd (735339-W)\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-02-13\",\n                \"number\": \"2023/MASF/02\",\n                \"payment_terms\": null,\n                \"state\": \"revised\",\n                \"amount_total\": 532785\n            },\n            {\n                \"id\": 520,\n                \"sale_categ_id\": [\n                    1,\n                    \"ERP Deal\",\n                    null\n                ],\n                \"contact_id\": [\n                    514,\n                    \"[C-0429] Masfloor Sdn Bhd (735339-W)\",\n                    null\n                ],\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"date\": \"2023-02-13\",\n                \"number\": \"2023/MASF/01\",\n                \"payment_terms\": null,\n                \"state\": \"approved\",\n                \"amount_total\": 260197\n            }\n        ],\n        504\n    ],\n    \"error\": null,\n    \"id\": 1694506738182,\n    \"dt\": 110\n}"}],"_postman_id":"e64b2475-b0ad-4483-8f6a-7276a1ceb6aa"}],"id":"a193188e-8b50-44dc-a624-7b6b8a99fc0d","_postman_id":"a193188e-8b50-44dc-a624-7b6b8a99fc0d","description":""},{"name":"Sales Orders","item":[{"name":"params/inline.help/search_read","id":"8c124dc0-a02d-411e-90e8-127ba8631b4d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694509036774,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 13:57:00\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"inline.help\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"action\",<strong>\"=\",</strong>\"sale\"<strong>]</strong>]<strong>],****{},</strong></p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system. In this case, it refers to the entity related to \"help\" or assistance. It's essentially specifying the area or context in which the operation will be performed.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[\"action\", \"=\", \"sale\"]]</strong>: This is the third parameter and consists of a single search domain, which is an inner list with one condition:<ol>\n<li><strong>[\"action\", \"=\", \"sale\"]</strong>: This condition filters records where the \"action\" attribute is equal to \"sale.\" This means the request intends to retrieve records related to \"sales\" or sales-related activities.<ol>\n<li><strong>\"action\"</strong>: This is the field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li><strong>\"=\"</strong>: This operator is used to specify the type of comparison you want to perform. In this case, it's an equality comparison, which means you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li><strong>\"sale\"</strong>: This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>{}</strong>: This is the fourth parameter and represents an empty dictionary. Typically, this part of the request can be used to pass additional options or context to the \"search_read\" operation. However, in this request, no additional context or options are provided.</li>\n</ol>\n<p>In summary, the request is performing a search and read operation within the context of \"help\" or assistance, aiming to retrieve records related to \"sales\" based on the condition that the \"action\" field is equal to \"sale.\" No additional context or options are specified in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"c02aa00d-4003-4f1b-bce3-c41375a55282","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694509036774,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 13:57:00\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Sep 2023 08:59:04 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=DvkDH5gtvBjr081TTdQSUpNxTxEpUPY0b%2FIlmKAdlN28nZPuzT4AoNJSjjVkvjr3hA8aRZBvbFWB97K88BvT5po%2FAaI7AVpXmkS0aaDgIHgyzMNSG9i9KusVIyF%2BtwNIsBYK0bienloX6wuthA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8056f3c788bc1c7d-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694509036774,\n    \"dt\": 6\n}"}],"_postman_id":"8c124dc0-a02d-411e-90e8-127ba8631b4d"},{"name":"params/sale.order/search_read","id":"72a494bb-87a8-469d-a990-59310c5478e6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694509036781,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.order\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"contact_id\",\r\n                \"ref\",\r\n                \"sale_categ_id\",\r\n                \"date\",\r\n                \"due_date\",\r\n                \"amount_total\",\r\n                \"currency_id\",\r\n                \"is_delivered\",\r\n                \"is_invoiced\",\r\n                \"is_paid\",\r\n                \"pay_method_id\",\r\n                \"state\",\r\n                \"company_id\",\r\n                \"receipt_printed\",\r\n                \"report_no\",\r\n                \"overdue\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 13:57:00\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"sale.order\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[]<strong><strong>],<strong><strong>[</strong></strong>\"number\",</strong></strong>\"contact_id\",<strong><strong>\"ref\",</strong></strong>\"sale_categ_id\",<strong><strong>\"date\",</strong></strong>\"due_date\",<strong><strong>\"amount_total\",</strong></strong>\"currency_id\",<strong><strong>\"is_delivered\",</strong></strong>\"is_invoiced\",<strong><strong>\"is_paid\",</strong></strong>\"pay_method_id\",<strong><strong>\"state\",</strong></strong>\"company_id\",<strong><strong>\"receipt_printed\",</strong></strong>\"report_no\",<strong>**\"overdue\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"count\": true,</strong></strong>\"order\": null,<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"sale.order\"</strong>: This is the first parameter and represents the specific entity or module in the system. In this case, it refers to the \"sale order\" entity, indicating that the operation will be performed on this entity. Sale orders typically represent customer orders for products or services.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[]]</strong>: This is the third parameter, and it consists of two empty inner lists. The first inner list, which is empty ([]), represents the search domain. In this case, no specific conditions or filters are applied to the records being retrieved. The second inner list specifies the fields that you want to retrieve in the search results.</li>\n<li>This part of the parameter specifies the fields or attributes of the \"sale order\" entity that you want to include in the search results. These fields represent various aspects of a sale order, including its number, contact information, date, and payment status.</li>\n<li>These fields collectively provide essential information about a sale order, including its identification, customer details, financial aspects, and status within the sales process.<ol>\n<li><strong>\"number\"</strong>: This field represents the unique identification number or code assigned to a sale order. It helps in tracking and managing different sale orders efficiently.</li>\n<li><strong>\"contact_id\"</strong>: This field refers to the customer or contact associated with the sale order. It typically includes information such as the customer's name or identification.</li>\n<li><strong>\"ref\"</strong>: This field may refer to a reference or additional information associated with the sale order. It can be used to provide any relevant notes or references related to the order.</li>\n<li><strong>\"sale_categ_id\"</strong>: This field likely represents the category or type of sale order. It helps classify sale orders into different categories or types for organizational purposes.</li>\n<li><strong>\"date\"</strong>: This field indicates the date on which the sale order was created or initiated. It's an important timestamp for tracking the order's timeline.</li>\n<li><strong>\"due_date\"</strong>: The due date field specifies the date by which the payment or delivery of the products or services in the sale order is expected to be completed.</li>\n<li><strong>\"amount_total\"</strong>: This field represents the total amount or value associated with the sale order. It typically includes the total cost of the products or services ordered.</li>\n<li><strong>\"currency_id\"</strong>: This field identifies the currency in which the amounts in the sale order are expressed. It helps in managing orders involving different currencies.</li>\n<li><strong>\"is_delivered\"</strong>: This field may indicate whether the products or services in the sale order have been delivered to the customer. It can be a boolean (true/false) value.</li>\n<li><strong>\"is_invoiced\"</strong>: This field might indicate whether an invoice has been generated for the sale order. It helps in tracking the billing status of the order.</li>\n<li><strong>\"is_paid\"</strong>: This field may signify whether the payment for the sale order has been received and processed. It can be a boolean value.</li>\n<li><strong>\"pay_method_id\"</strong>: This field could represent the payment method or gateway used for processing payments related to the sale order.</li>\n<li><strong>\"state\"</strong>: The state field typically indicates the current status or stage of the sale order. It can have values such as \"draft,\" \"confirmed,\" \"shipped,\" \"completed,\" etc., depending on the workflow.</li>\n<li><strong>\"company_id\"</strong>: This field identifies the company or organization associated with the sale order. It's particularly useful in multi-company environments.</li>\n<li><strong>\"receipt_printed\"</strong>: This field may indicate whether a receipt or document related to the sale order has been printed. It can be a boolean value.</li>\n<li><strong>\"report_no\"</strong>: This field could refer to a specific report or document number associated with the sale order. It helps in referencing related documents.</li>\n<li><strong>\"overdue\"</strong>: The \"overdue\" field might indicate whether the payment for the sale order is overdue, typically calculated based on the due date and the current date. It can be a boolean value.</li>\n</ol>\n</li>\n<li><strong>{<strong><strong>\"count\": true,</strong></strong>\"order\": null,<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>}</strong>: This is the fourth parameter and represents a dictionary that can be used to pass additional options or context to the \"search_read\" operation. Here's what each key in this dictionary means:<ol>\n<li><strong>\"count\": true</strong>: This indicates that you want to include a count of the total number of records that match the search criteria along with the actual records.</li>\n<li><strong>\"order\": null</strong>: The \"order\" key specifies the sorting order for the retrieved records. In this case, it's set to \"null,\" indicating that no specific sorting order is defined.</li>\n<li><strong>\"offset\": 0</strong>: This sets the starting point for retrieving records from the search result. Here, it starts from the first record (index 0).</li>\n<li><strong>\"limit\": 100</strong>: This specifies the maximum number of records to retrieve in a single request. It's set to 100, meaning you want to retrieve up to 100 records at a time.</li>\n<li><strong>\"context\": {}</strong>: This part allows you to provide additional context or settings for the search operation. In this request, an empty context is specified, meaning there are no specific additional settings provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the request is performing a search and read operation within the \"sale order\" entity. It retrieves various attributes of sale orders, including their numbers, contact information, dates, payment statuses, and more. The request also includes a count of matching records, starts from the beginning, and limits the number of retrieved records to 100. No specific sorting order or additional context is defined in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"a46a4b79-1b4b-41a0-9693-8ad49278be31","name":"params/sale.order/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694509036781,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.order\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"contact_id\",\r\n                \"ref\",\r\n                \"sale_categ_id\",\r\n                \"date\",\r\n                \"due_date\",\r\n                \"amount_total\",\r\n                \"currency_id\",\r\n                \"is_delivered\",\r\n                \"is_invoiced\",\r\n                \"is_paid\",\r\n                \"pay_method_id\",\r\n                \"state\",\r\n                \"company_id\",\r\n                \"receipt_printed\",\r\n                \"report_no\",\r\n                \"overdue\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1690867948.1.1.1690868942.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-12 13:57:00\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 12 Sep 2023 09:07:58 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=5kUlO4gwFxsmWdyXHQupKHbEV34UVp4h3NPq3PJof%2Fbgq36t5QFh6fooalxcefMzTiuxiYPRKZN1a4nVIYAmzHo9EEMpX8FAquGYNx5VoE4IOeUDtnD74ZTNngX7%2BegZy0RAytrT1aTPwxK%2BJg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"805700cfee86b7a0-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 161,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    1061,\n                    \"[TEST] Javeria\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2023-08-14\",\n                \"number\": \"SO-0135\",\n                \"report_no\": null,\n                \"ref\": null,\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"draft\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 3,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": false,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 139,\n                \"sale_categ_id\": [\n                    4,\n                    \"Other\",\n                    null\n                ],\n                \"contact_id\": [\n                    421,\n                    \"[Test] Syuhada\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2023-08-10\",\n                \"number\": \"TEST KHAL\",\n                \"report_no\": null,\n                \"ref\": \"TEST KHAL\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"draft\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 1000,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": false,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 160,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    421,\n                    \"[Test] Syuhada\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2023-08-10\",\n                \"number\": \"SO-0134\",\n                \"report_no\": null,\n                \"ref\": null,\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"draft\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 0,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 159,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    890,\n                    \"[C-0792] LTI Resources Sdn. Bhd.\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2023-08-02\",\n                \"number\": \"SO-0133\",\n                \"report_no\": null,\n                \"ref\": \"2023/LTIR/02\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 38160,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 158,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    890,\n                    \"[C-0792] LTI Resources Sdn. Bhd.\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2023-07-18\",\n                \"number\": \"SO-0132\",\n                \"report_no\": null,\n                \"ref\": \"01/08/2023 - 30/09/2023\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 2859.88,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 157,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    949,\n                    \"[C-0848] Techcapital Resources Sdn Bhd (679831-D)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2023-07-14\",\n                \"number\": \"SO-0131\",\n                \"report_no\": null,\n                \"ref\": \"2023/TROBOT/04 & PO-2307040\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 17800,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 156,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    86,\n                    \"[C-0027] Diyou Fibre Sdn Bhd (465406-D)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2023-07-11\",\n                \"number\": \"SO-0130\",\n                \"report_no\": null,\n                \"ref\": \"2023/DIYO/03\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 68776.94,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": false,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 155,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    848,\n                    \"[C-0752] Celovis Malaysia \",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2023-07-05\",\n                \"number\": \"SO-0129\",\n                \"report_no\": null,\n                \"ref\": \"2023/CELOVIS/05\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 54219,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 154,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    785,\n                    \"[C-0691] Emerging EPC Sdn Bhd\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2023-07-04\",\n                \"number\": \"SO-0128\",\n                \"report_no\": null,\n                \"ref\": \"2022/EMERG/04\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 785036,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": false,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 153,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    927,\n                    \"[C-0827] Sklew Biotech\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2023-06-27\",\n                \"number\": \"SO-0127\",\n                \"report_no\": null,\n                \"ref\": \"2023/SKLEW/05\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 26817.15,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 152,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    1024,\n                    \"[C-0920] CAF Food Products Sdn. Bhd.\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2023-06-22\",\n                \"number\": \"SO-0126\",\n                \"report_no\": null,\n                \"ref\": \"2023/CAFF/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 212697,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": false,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 150,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    913,\n                    \"[C-0813] Lifestyle Ventures Sdn Bhd\\t\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2023-06-17\",\n                \"number\": \"SO-0124\",\n                \"report_no\": null,\n                \"ref\": \"2022/LVMSB/07\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 260197,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": false,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 151,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    997,\n                    \"[C-0895] Dialog Diyou PCR Sdn Bhd\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2023-06-01\",\n                \"number\": \"SO-0125\",\n                \"report_no\": null,\n                \"ref\": \"2023/DIALOG/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 64122.56,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": false,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 149,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    949,\n                    \"[C-0848] Techcapital Resources Sdn Bhd (679831-D)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2023-05-25\",\n                \"number\": \"SO-0123\",\n                \"report_no\": null,\n                \"ref\": \"2023/TROBOT/HORNB/02\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 100000,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 148,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    952,\n                    \"[C-0851] SaniChem Resources Sdn. Bhd.\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2023-05-22\",\n                \"number\": \"SO-0122\",\n                \"report_no\": null,\n                \"ref\": \"2023/SANICH/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 356169,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": false,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 146,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    790,\n                    \"[C-0696] Gapurnapermai (Costa Coffe)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2023-04-04\",\n                \"number\": \"SO-0121\",\n                \"report_no\": null,\n                \"ref\": \"2023/COSTA/03\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 4028,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 145,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    666,\n                    \"[C-0576] Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2023-04-04\",\n                \"number\": \"SO-0120\",\n                \"report_no\": null,\n                \"ref\": \"2023/SWESB/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 185.5,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 143,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    832,\n                    \"[C-0736] Sanko Plastic (Malaysia) Sdn Bhd\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2023-03-20\",\n                \"number\": \"SO-0119\",\n                \"report_no\": null,\n                \"ref\": \"2023/SANKO/04\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 3900,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": false,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 142,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    927,\n                    \"[C-0827] Sklew Biotech\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2023-03-16\",\n                \"number\": \"SO-0118\",\n                \"report_no\": null,\n                \"ref\": \"2023/SKLIEW/02\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 15369.58,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 141,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    949,\n                    \"[C-0848] Techcapital Resources Sdn Bhd (679831-D)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2023-03-15\",\n                \"number\": \"SO-0117\",\n                \"report_no\": null,\n                \"ref\": \"2023/TROBOT/03\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 74076.28,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": false,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 140,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    465,\n                    \"[C-0383] LTI INDUSTRIES SDN. BHD (887236-U)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2023-01-31\",\n                \"number\": \"SO-0116\",\n                \"report_no\": null,\n                \"ref\": \"2022/LTIR/03\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 41340,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 138,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    568,\n                    \"[C-0482] Top Fruits Sdn. Bhd. (914914-H)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-12-21\",\n                \"number\": \"SO-0115\",\n                \"report_no\": \"2212-0002\",\n                \"ref\": \"2021/TOPF/05\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 2650,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 137,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    853,\n                    \"[C-0757] Bosch Malaysia\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-12-14\",\n                \"number\": \"SO-0114\",\n                \"report_no\": \"2212-0001\",\n                \"ref\": \"2022/BOSCH/03\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 15370,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 136,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    776,\n                    \"[C-0682] OSK Construction Sdn Bhd\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-11-09\",\n                \"number\": \"SO-0113\",\n                \"report_no\": null,\n                \"ref\": \"2022/OSK/10\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 13642.2,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 135,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    790,\n                    \"[C-0696] Gapurnapermai (Costa Coffe)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-11-07\",\n                \"number\": \"SO-0112\",\n                \"report_no\": null,\n                \"ref\": \"2022/COSTA/06\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 1060,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": false,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 134,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    832,\n                    \"[C-0736] Sanko Plastic (Malaysia) Sdn Bhd\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-11-02\",\n                \"number\": \"SO-0111\",\n                \"report_no\": null,\n                \"ref\": \"2022/SANKO/02\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 27380.94,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": false,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 133,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    790,\n                    \"[C-0696] Gapurnapermai (Costa Coffe)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-10-19\",\n                \"number\": \"SO-0110\",\n                \"report_no\": null,\n                \"ref\": \"2022/COSTA/05\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 2070,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": false,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 132,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    76,\n                    \"[C-0017] Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-10-18\",\n                \"number\": \"PO2210028\",\n                \"report_no\": null,\n                \"ref\": \"2022/INHE/04\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 1060,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 130,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    790,\n                    \"[C-0696] Gapurnapermai (Costa Coffe)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-09-14\",\n                \"number\": \"SO-0109\",\n                \"report_no\": null,\n                \"ref\": \"2022/COSTA/03\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 33792.8,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 129,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    64,\n                    \"[C-0006] V'asia Cosmetic & Healthcare\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-08-22\",\n                \"number\": \"SO-0108\",\n                \"report_no\": null,\n                \"ref\": \"2022/VAS/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 3646,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": false,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 127,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    465,\n                    \"[C-0383] LTI INDUSTRIES SDN. BHD (887236-U)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-06-21\",\n                \"number\": \"SO-0107\",\n                \"report_no\": null,\n                \"ref\": \"2022/LTIR/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 19040,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": false,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 126,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    666,\n                    \"[C-0576] Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-06-15\",\n                \"number\": \"SO-0106\",\n                \"report_no\": null,\n                \"ref\": \"2022/SWESB/02\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 331.25,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 125,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    792,\n                    \"[C-0698] CENTURY MARK PACIFIC MARKETING SDN BHD\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-06-14\",\n                \"number\": \"SO-0105\",\n                \"report_no\": null,\n                \"ref\": \"2022/CMPM/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 3180,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 124,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    698,\n                    \"[C-0607] Gruppe Marketing Sdn Bhd\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-06-03\",\n                \"number\": \"SO-0104\",\n                \"report_no\": null,\n                \"ref\": \"2022/GRUPPE/05\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 265,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 123,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    698,\n                    \"[C-0607] Gruppe Marketing Sdn Bhd\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-04-06\",\n                \"number\": \"SO-0103\",\n                \"report_no\": null,\n                \"ref\": \"2022/GRUPPE/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 2120,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 122,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    86,\n                    \"[C-0027] Diyou Fibre Sdn Bhd (465406-D)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-04-01\",\n                \"number\": \"SO-0102\",\n                \"report_no\": null,\n                \"ref\": \"01/04/2022 - 30/06/2022\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 4957.62,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 121,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    663,\n                    \"[C-0573] ATV SPORT AND STYLE SDN BHD\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-04-01\",\n                \"number\": \"SO-0101\",\n                \"report_no\": null,\n                \"ref\": \"01/04/2022 - 30/06/2022\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 1586.82,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 120,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    666,\n                    \"[C-0576] Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-04-01\",\n                \"number\": \"SO-0100\",\n                \"report_no\": null,\n                \"ref\": \"01/04/2022 - 30/06/2022\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 2222.82,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 119,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    177,\n                    \"[C-0117] Yew Siong Industrial Supplies Sdn Bhd (178306-U)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-04-01\",\n                \"number\": \"SO-0099\",\n                \"report_no\": null,\n                \"ref\": \"01/04/2022 - 30/06/2022\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 5212.02,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 118,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    76,\n                    \"[C-0017] Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-04-01\",\n                \"number\": \"SO-0098\",\n                \"report_no\": null,\n                \"ref\": \"01/04/2022 - 30/06/2022\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 5994.3,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 117,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    58,\n                    \"[CU-0004] Speed Concrete Industries Sdn Bhd\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-04-01\",\n                \"number\": \"SO-0097\",\n                \"report_no\": null,\n                \"ref\": \"01/04/2022 - 30/06/2022\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 3816,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 115,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    447,\n                    \"[C-0366] T.A.G. Marine Sdn Bhd (507934-M)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-04-01\",\n                \"number\": \"SO-0095\",\n                \"report_no\": null,\n                \"ref\": \"01/04/2022 - 30/06/2022\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 2862,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 114,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    658,\n                    \"[C-0568] MMC International Fulfilment Center\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-04-01\",\n                \"number\": \"SO-0094\",\n                \"report_no\": null,\n                \"ref\": \"01/04/2022 - 30/06/2022\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 1586.82,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 113,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    64,\n                    \"[C-0006] V'asia Cosmetic & Healthcare\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-04-01\",\n                \"number\": \"SO-0093\",\n                \"report_no\": null,\n                \"ref\": \"01/04/2022 - 30/06/2022\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 2032.02,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 112,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    568,\n                    \"[C-0482] Top Fruits Sdn. Bhd. (914914-H)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-03-09\",\n                \"number\": \"SO-0092\",\n                \"report_no\": null,\n                \"ref\": null,\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 2438,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 111,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    76,\n                    \"[C-0017] Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-01-24\",\n                \"number\": \"SO-0091\",\n                \"report_no\": null,\n                \"ref\": \"2022/INHE/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 625,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 110,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    666,\n                    \"[C-0576] Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2022-01-19\",\n                \"number\": \"SO-0090\",\n                \"report_no\": null,\n                \"ref\": \"2021/SWESB/12\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 400,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 109,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    666,\n                    \"[C-0576] Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2021-12-29\",\n                \"number\": \"SO-0089\",\n                \"report_no\": null,\n                \"ref\": \"2021/SWESB/11\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 1800,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 107,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    666,\n                    \"[C-0576] Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2021-12-27\",\n                \"number\": \"SO-0088\",\n                \"report_no\": null,\n                \"ref\": \"2021/SWESB/08\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 34889,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": false,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 106,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    465,\n                    \"[C-0383] LTI INDUSTRIES SDN. BHD (887236-U)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2021-12-03\",\n                \"number\": \"SO-0084\",\n                \"report_no\": null,\n                \"ref\": \"2021/LTIR/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 155089,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": false,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 105,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    564,\n                    \"[C-0478] Load 2 Go Logistic Sdn Bhd (1240516-H)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2021-11-29\",\n                \"number\": \"SO-0087\",\n                \"report_no\": null,\n                \"ref\": \"2020/L2GL/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 403000,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 104,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    666,\n                    \"[C-0576] Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2021-11-26\",\n                \"number\": \"SO-0086\",\n                \"report_no\": null,\n                \"ref\": \"2021/SWESB/09\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 5240,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": false,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 103,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    658,\n                    \"[C-0568] MMC International Fulfilment Center\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2021-11-23\",\n                \"number\": \"SO-0085\",\n                \"report_no\": null,\n                \"ref\": \"2021/MMCIF/04\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 200,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 101,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    166,\n                    \"[C-0106] STME ASIAN DESIGNERS Sdn Bhd\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2021-10-22\",\n                \"number\": \"SO-0083\",\n                \"report_no\": null,\n                \"ref\": \"2021/STME/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 5280,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 99,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    514,\n                    \"[C-0429] Masfloor Sdn Bhd (735339-W)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2021-09-29\",\n                \"number\": \"SO-0082\",\n                \"report_no\": null,\n                \"ref\": \"2020/MASF/03\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 205909,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": false,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 98,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    666,\n                    \"[C-0576] Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2021-09-28\",\n                \"number\": \"SO-0081\",\n                \"report_no\": null,\n                \"ref\": \"2021/SWESB/07\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 35669,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": false,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 96,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    177,\n                    \"[C-0117] Yew Siong Industrial Supplies Sdn Bhd (178306-U)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2021-08-23\",\n                \"number\": \"SO-0079\",\n                \"report_no\": null,\n                \"ref\": \"2021/YEWS/03\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 500,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 94,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    658,\n                    \"[C-0568] MMC International Fulfilment Center\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2021-08-10\",\n                \"number\": \"SO-0078\",\n                \"report_no\": null,\n                \"ref\": \"2021/MMCIF/03\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 1069,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": false,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 93,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    676,\n                    \"[C-0585] Eco World Wellness M Sdn. Bhd.\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2021-08-06\",\n                \"number\": \"SO-0077\",\n                \"report_no\": null,\n                \"ref\": \"2021/GMFT/02\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 2618,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": false,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 92,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    658,\n                    \"[C-0568] MMC International Fulfilment Center\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2021-07-14\",\n                \"number\": \"SO-0076\",\n                \"report_no\": null,\n                \"ref\": \"2021/MMCIF/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 15099,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 91,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    663,\n                    \"[C-0573] ATV SPORT AND STYLE SDN BHD\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2021-07-13\",\n                \"number\": \"SO-0075\",\n                \"report_no\": null,\n                \"ref\": \"2021/ATVSS/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 11099,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 97,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    166,\n                    \"[C-0106] STME ASIAN DESIGNERS Sdn Bhd\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2021-07-07\",\n                \"number\": \"SO-0080\",\n                \"report_no\": null,\n                \"ref\": \"2021/STME/02\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 24000,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 90,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    658,\n                    \"[C-0568] MMC International Fulfilment Center\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2021-07-07\",\n                \"number\": \"SO-0074\",\n                \"report_no\": null,\n                \"ref\": \"2021/MMCIF/02\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 2000,\n                \"due_date\": \"2021-07-06\",\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 89,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    654,\n                    \"[C-0565] Ampmech Sdn Bhd\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2021-06-18\",\n                \"number\": \"SO-0073\",\n                \"report_no\": null,\n                \"ref\": \"2021/AMPM/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 2144.52,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": false,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 88,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    450,\n                    \"[C-0369] Top Fruits Marketing Sdn. Bhd. (1152724-A)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2021-05-12\",\n                \"number\": \"SO-0072\",\n                \"report_no\": null,\n                \"ref\": \"2020/TOPFM/07\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 91729,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 87,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    177,\n                    \"[C-0117] Yew Siong Industrial Supplies Sdn Bhd (178306-U)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2021-03-11\",\n                \"number\": \"SO-0071\",\n                \"report_no\": null,\n                \"ref\": \"2021/YEWS/01V2\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 2800,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 86,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    76,\n                    \"[C-0017] Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2020-12-10\",\n                \"number\": \"SO-0070\",\n                \"report_no\": null,\n                \"ref\": \"2020/INHE/11\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 11000,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 85,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    76,\n                    \"[C-0017] Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2020-12-09\",\n                \"number\": \"SO-0069\",\n                \"report_no\": null,\n                \"ref\": \"2020/INHE/09\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 8000,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 84,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    76,\n                    \"[C-0017] Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2020-12-08\",\n                \"number\": \"SO-0068\",\n                \"report_no\": null,\n                \"ref\": \"2020/INHE/10\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 8000,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 83,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    537,\n                    \"[C-0452] Pgeon Express Sdn.Bhd\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2020-12-02\",\n                \"number\": \"SO-0067\",\n                \"report_no\": null,\n                \"ref\": \"2011261REHEGU8\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"draft\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 179.88,\n                \"due_date\": \"2020-11-27\",\n                \"overdue\": true,\n                \"is_paid\": false,\n                \"is_delivered\": false,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 80,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    86,\n                    \"[C-0027] Diyou Fibre Sdn Bhd (465406-D)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2020-09-18\",\n                \"number\": \"SO-0064\",\n                \"report_no\": null,\n                \"ref\": \"202008006\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 2175,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 78,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    447,\n                    \"[C-0366] T.A.G. Marine Sdn Bhd (507934-M)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2020-09-14\",\n                \"number\": \"SO-0062\",\n                \"report_no\": null,\n                \"ref\": \"2020/TAGM/04\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 16550,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": false,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 77,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    492,\n                    \"[C-0407] AceTeam Networks Sdn Bhd \",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2020-08-12\",\n                \"number\": \"SO-0061\",\n                \"report_no\": null,\n                \"ref\": \"2020/ACE/02\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 200,\n                \"due_date\": \"2020-08-12\",\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 76,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    465,\n                    \"[C-0383] LTI INDUSTRIES SDN. BHD (887236-U)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2020-08-04\",\n                \"number\": \"SO-0060\",\n                \"report_no\": null,\n                \"ref\": \"2020/LTIR/03\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 138349,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 79,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    76,\n                    \"[C-0017] Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2020-08-03\",\n                \"number\": \"SO-0063\",\n                \"report_no\": null,\n                \"ref\": \"2020/INHE/07\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 30000,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 75,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    492,\n                    \"[C-0407] AceTeam Networks Sdn Bhd \",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2020-07-22\",\n                \"number\": \"SO-0059\",\n                \"report_no\": null,\n                \"ref\": \"2020/ACE/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 250,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 74,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    450,\n                    \"[C-0369] Top Fruits Marketing Sdn. Bhd. (1152724-A)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2020-07-06\",\n                \"number\": \"SO-0058\",\n                \"report_no\": null,\n                \"ref\": \"2020/TOPF/05-2V2\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 32006,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": false,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 81,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    86,\n                    \"[C-0027] Diyou Fibre Sdn Bhd (465406-D)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2020-06-05\",\n                \"number\": \"SO-0065\",\n                \"report_no\": null,\n                \"ref\": \"202006001\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 110,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": false,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 73,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    450,\n                    \"[C-0369] Top Fruits Marketing Sdn. Bhd. (1152724-A)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2020-05-20\",\n                \"number\": \"SO-0057\",\n                \"report_no\": null,\n                \"ref\": \"2020/TOPF/05-2\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"voided\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 32740,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": false,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 72,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    450,\n                    \"[C-0369] Top Fruits Marketing Sdn. Bhd. (1152724-A)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2020-05-20\",\n                \"number\": \"SO-0056\",\n                \"report_no\": null,\n                \"ref\": \"2020/TOPF/05-1\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 91729,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 82,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    86,\n                    \"[C-0027] Diyou Fibre Sdn Bhd (465406-D)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2020-04-20\",\n                \"number\": \"SO-0066\",\n                \"report_no\": null,\n                \"ref\": \"202004009\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 2590,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": false,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 71,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    76,\n                    \"[C-0017] Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2020-03-30\",\n                \"number\": \"SO-0055\",\n                \"report_no\": null,\n                \"ref\": \"2020/INHE/06\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 43000,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 70,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    76,\n                    \"[C-0017] Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2020-02-26\",\n                \"number\": \"SO-0054\",\n                \"report_no\": null,\n                \"ref\": \"2020/INHE/04\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 18000,\n                \"due_date\": \"2020-02-26\",\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 69,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    76,\n                    \"[C-0017] Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2020-02-22\",\n                \"number\": \"SO-0053\",\n                \"report_no\": null,\n                \"ref\": \"2020/INHE/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 6000,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 68,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    76,\n                    \"[C-0017] Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2020-02-14\",\n                \"number\": \"SO-0052\",\n                \"report_no\": null,\n                \"ref\": \"2020/INHE/03\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 2510,\n                \"due_date\": \"2020-02-14\",\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": false,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 67,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    402,\n                    \"[C-0324] Taiko Marketing Sdn Bhd\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2020-01-21\",\n                \"number\": \"SO-0051\",\n                \"report_no\": null,\n                \"ref\": \"2020/TAIKO/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 10000,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 66,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    114,\n                    \"[C-0055] FEC Cables (M) Sdn. Bhd (7293-W)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2019-12-31\",\n                \"number\": \"S-20200001\",\n                \"report_no\": null,\n                \"ref\": \"2019/FEC/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 15000,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 65,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    76,\n                    \"[C-0017] Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2019-12-21\",\n                \"number\": \"SO-0050\",\n                \"report_no\": null,\n                \"ref\": \"2019/INHE/04V3\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 12500,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 63,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    76,\n                    \"[C-0017] Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2019-12-07\",\n                \"number\": \"SO-0049\",\n                \"report_no\": null,\n                \"ref\": \"2019/INHE/04\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 6000,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 62,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    112,\n                    \"[C-0053] RICOH (Malaysia) Sdn. Bhd. (10078-W)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2019-12-07\",\n                \"number\": \"SO-0048\",\n                \"report_no\": null,\n                \"ref\": \"2019/RICOH/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 5000,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 61,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    76,\n                    \"[C-0017] Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2019-11-26\",\n                \"number\": \"SO-0047\",\n                \"report_no\": null,\n                \"ref\": \"2019/INHE/02V2\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 11000,\n                \"due_date\": \"2019-11-26\",\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 60,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    76,\n                    \"[C-0017] Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2019-11-26\",\n                \"number\": \"SO-0046\",\n                \"report_no\": null,\n                \"ref\": \"2019/INHE/03V2\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 8000,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 59,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    86,\n                    \"[C-0027] Diyou Fibre Sdn Bhd (465406-D)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2019-11-11\",\n                \"number\": \"SO-0045\",\n                \"report_no\": null,\n                \"ref\": \"2019/DIYO/06V2\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 15500,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 58,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    86,\n                    \"[C-0027] Diyou Fibre Sdn Bhd (465406-D)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2019-10-24\",\n                \"number\": \"SO-0044\",\n                \"report_no\": null,\n                \"ref\": \"2019/DIYO/05\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 7000,\n                \"due_date\": \"2019-10-24\",\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 57,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    76,\n                    \"[C-0017] Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2019-10-03\",\n                \"number\": \"SO-0043\",\n                \"report_no\": null,\n                \"ref\": \"2019/INHE/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 6000,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 56,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    86,\n                    \"[C-0027] Diyou Fibre Sdn Bhd (465406-D)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2019-09-13\",\n                \"number\": \"SO-0042\",\n                \"report_no\": null,\n                \"ref\": \"2019/DIYO/04\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 4167,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 55,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    76,\n                    \"[C-0017] Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2019-09-07\",\n                \"number\": \"SO-0041\",\n                \"report_no\": null,\n                \"ref\": \"2018/INHE/13\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 14000,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": true,\n                \"is_delivered\": true,\n                \"is_invoiced\": true\n            },\n            {\n                \"id\": 54,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    166,\n                    \"[C-0106] STME ASIAN DESIGNERS Sdn Bhd\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2019-08-24\",\n                \"number\": \"SO-0040\",\n                \"report_no\": null,\n                \"ref\": \"2019/STME/01\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 18800,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 53,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    76,\n                    \"[C-0017] Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2019-08-10\",\n                \"number\": \"SO-0039\",\n                \"report_no\": null,\n                \"ref\": \"2018/INHE/12V2\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"confirmed\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 28000,\n                \"due_date\": null,\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": true,\n                \"is_invoiced\": false\n            },\n            {\n                \"id\": 52,\n                \"sale_categ_id\": null,\n                \"contact_id\": [\n                    195,\n                    \"[C-0135] Lord's Tailor (M) Sdn Bhd (196906-D)\",\n                    null\n                ],\n                \"pay_method_id\": null,\n                \"receipt_printed\": null,\n                \"date\": \"2019-08-02\",\n                \"number\": \"SO-0038\",\n                \"report_no\": null,\n                \"ref\": \"2019/LORDS/02\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"company_id\": [\n                    1,\n                    \"SmartB\",\n                    null\n                ],\n                \"amount_total\": 30776,\n                \"due_date\": \"2019-08-02\",\n                \"overdue\": false,\n                \"is_paid\": false,\n                \"is_delivered\": false,\n                \"is_invoiced\": false\n            }\n        ],\n        136\n    ],\n    \"error\": null,\n    \"id\": 1694509036781,\n    \"dt\": 394\n}"}],"_postman_id":"72a494bb-87a8-469d-a990-59310c5478e6"}],"id":"dc180761-a5c1-407c-860e-9686de8ba887","_postman_id":"dc180761-a5c1-407c-860e-9686de8ba887","description":""},{"name":"Sales Returns","item":[{"name":"params/inline.help/search_read","id":"d36c9b98-4228-4070-af68-163eb7fdd51b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694577392009,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_return\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-13 08:56:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"sale_return\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system. In this case, it refers to \"inline.help,\" indicating that the operation will be performed on this entity.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[\"action\", \"=\", \"sale_return\"]]</strong>: This is the third parameter and consists of a single search domain, which is an inner list with one condition:<ol>\n<li><strong>\"action\"</strong>: This is the field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li><strong>\"=\"</strong>: This operator is used to specify the type of comparison you want to perform. In this case, it's an equality comparison, which means you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li><strong>\"sale_return\"</strong>: This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records.</li>\n</ol>\n</li>\n<li><strong>{}</strong>: This is the fourth parameter and represents an empty dictionary. Typically, this part of the request can be used to pass additional options or context to the search_read operation. However, in this request, no additional context is specified.</li>\n</ol>\n<p>So, in summary, the request is performing a search and read operation within the \"inline.help\" entity to retrieve records related to \"sale_return.\" It specifies that it wants to retrieve records based on the condition that the \"action\" field is equal to \"sale_return.\" No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"a9e89188-e108-4465-b810-1a2c8822d23d","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694577392009,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_return\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-13 08:56:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Sep 2023 04:36:57 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=YD%2FmTc6a7peQV1hO8VacFj%2FHy%2FNKIXOaPEHycDj0z8DVL6eRU9QhNwk5R4zixMfgyskPxOpin66%2FI00OJjSaJ728COAaa016d5ky0tO5C1LZ8%2BNkoYJ7yAmPi6agryyk72HwEuUhShJp%2Fg87MQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"805db1318d83d1ec-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694577392009,\n    \"dt\": 46\n}"}],"_postman_id":"d36c9b98-4228-4070-af68-163eb7fdd51b"},{"name":"params/sale.return/search_read","id":"3d6b38dc-240c-4cbe-a352-855389e6872d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694577392018,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.return\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"ref\",\r\n                \"contact_id\",\r\n                \"date\",\r\n                \"due_date\",\r\n                \"amount_total\",\r\n                \"currency_id\",\r\n                \"is_delivered\",\r\n                \"is_paid\",\r\n                \"pay_method_id\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-13 08:56:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"sale.return\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[]<strong><strong>],<strong><strong>[</strong></strong>\"number\",</strong></strong>\"ref\",<strong><strong>\"contact_id\",</strong></strong>\"date\",<strong><strong>\"due_date\",</strong></strong>\"amount_total\",<strong><strong>\"currency_id\",</strong></strong>\"is_delivered\",<strong><strong>\"is_paid\",</strong></strong>\"pay_method_id\",<strong>**\"state\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"count\": true,</strong></strong>\"order\": null,<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"sale.return\"</strong>: This is the first parameter and represents the specific entity or module in the system. In this case, it refers to \"sale.return,\" indicating that the operation will be performed on this entity.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[]]</strong>: This is the third parameter and represents the search domain. In this case, it's an empty list, which means there are no specific conditions specified for filtering the records. It will retrieve all records of the \"sale.return\" entity.</li>\n<li><strong>[\"number\", \"ref\", \"contact_id\", \"date\", \"due_date\", \"amount_total\", \"currency_id\", \"is_delivered\", \"is_paid\", \"pay_method_id\", \"state\"]</strong>: This is the fourth parameter and consists of a list of field names. These field names specify the data that you want to retrieve for each record. For example, \"number\" refers to the sales return number, \"ref\" refers to the reference, and so on. You want to retrieve these specific fields for the records.<ol>\n<li><strong>\"number\"</strong>: This field represents the sales return number. It typically contains a unique identifier for each sales return transaction, allowing you to distinguish between different returns.</li>\n<li><strong>\"ref\"</strong>: The \"ref\" field usually refers to a reference number or code associated with the sales return. This reference can be used for tracking or linking the return to other documents or processes.</li>\n<li><strong>\"contact_id\"</strong>: This field typically stores the identifier or reference to the contact or customer involved in the sales return. It helps in identifying the customer associated with the return.</li>\n<li><strong>\"date\"</strong>: The \"date\" field indicates the date when the sales return was initiated or recorded. It provides information about the timing of the return.</li>\n<li><strong>\"due_date\"</strong>: This field often represents the due date or deadline associated with the sales return. It specifies the date by which the return should be completed or processed.</li>\n<li><strong>\"amount_total\"</strong>: The \"amount_total\" field contains the total monetary value or amount associated with the sales return. It represents the total value of the products or items being returned.</li>\n<li><strong>\"currency_id\"</strong>: This field typically references the currency in which the monetary values, such as \"amount_total,\" are expressed. It helps in understanding the currency used for the return.</li>\n<li><strong>\"is_delivered\"</strong>: The \"is_delivered\" field is usually a boolean (True/False) value indicating whether the products or items associated with the sales return have been physically delivered or returned to the seller.</li>\n<li><strong>\"is_paid\"</strong>: This boolean field indicates whether the sales return has been fully paid. It helps in tracking the payment status of the return.</li>\n<li><strong>\"pay_method_id\"</strong>: This field often references the payment method or payment gateway used for refunding the amount associated with the sales return. It provides information about how the refund is processed.</li>\n<li><strong>\"state\"</strong>: The \"state\" field represents the current state or status of the sales return. It typically includes values such as \"draft,\" \"approved,\" \"completed,\" or similar status indicators to track the progress of the return process.</li>\n</ol>\n</li>\n<li><strong>{<strong><strong>\"count\": true,</strong></strong>\"order\": null,<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>}</strong>: This is the fifth parameter and represents a dictionary containing additional options and context for the search_read operation:<ol>\n<li><strong>\"count\": true</strong> indicates that you want to count the total number of records that match the search criteria.</li>\n<li><strong>\"order\": null</strong> means that you're not specifying any specific order for the records retrieved, so they will be returned in a default order.</li>\n<li><strong>\"offset\": 0</strong> specifies the starting point from which records should be retrieved. In this case, it starts from the beginning (0).</li>\n<li><strong>\"limit\": 100</strong> sets a limit on the number of records to be retrieved, with a maximum of 100 records.</li>\n<li><strong>\"context\": {}</strong> is an empty context, which means no additional context information is provided for this operation.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the request is performing a search and read operation within the \"sale.return\" entity. It retrieves all records of this entity and specifies the fields to be included in the response. Additionally, it counts the total number of matching records, sets an offset of 0, and limits the result to 100 records. No specific order or context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"7fa0a2fb-39c7-456e-bb8c-aa8eae680b1d","name":"params/sale.return/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694577392018,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.return\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"ref\",\r\n                \"contact_id\",\r\n                \"date\",\r\n                \"due_date\",\r\n                \"amount_total\",\r\n                \"currency_id\",\r\n                \"is_delivered\",\r\n                \"is_paid\",\r\n                \"pay_method_id\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-13 08:56:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Sep 2023 04:56:48 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=BVoN8bqXVzvQgtGzphzfst5rPIdzdftAjT12TFbHVV1r6s8CsgJW8NXcaOZgGNRsQfE9ZUrgsbk376pClPdjKH9RapB1PU1XqqGIWqlMylCu9Asri0a91J4lwF17CqxtFGqAVC68IN9eSVY7Dg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"805dce414c57de4b-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1694577392018,\n    \"dt\": 15\n}"}],"_postman_id":"3d6b38dc-240c-4cbe-a352-855389e6872d"}],"id":"c48fa29c-ea8a-4c66-a883-a954f9dc8e29","_postman_id":"c48fa29c-ea8a-4c66-a883-a954f9dc8e29","description":""},{"name":"Sales Forecast","item":[{"name":"params/inline.help/search_read","id":"ea19ad80-fc7d-47ac-80c3-ad714da5c0a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694587104492,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_forecast\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-13 11:37:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"sale_forecast\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system. In this case, it refers to \"inline.help,\" indicating that the operation will be performed on this entity.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[\"action\", \"=\", \"sale_forecast\"]]</strong>: This is the third parameter and consists of a single search domain, which is an inner list with one condition:<ol>\n<li><strong>[\"action\", \"=\", \"sale_forecast\"]</strong>: This condition filters records where the \"action\" attribute is equal to \"sale_forecast.\" This means the request intends to retrieve records related to \"sale_forecast.\"<ol>\n<li><strong>\"action\"</strong>: This is the field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li><strong>\"=\"</strong>: This operator is used to specify the type of comparison you want to perform. In this case, it's an equality comparison, which means you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li><strong>\"sale_forecast\"</strong>: This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>{}</strong>: This is the fourth parameter and represents an empty dictionary. Typically, this part of the request can be used to pass additional options or context to the search_read operation. However, in this request, no additional context is specified.</li>\n</ol>\n<p>In summary, the request is performing a search and read operation within the \"inline.help\" entity to retrieve records related to \"sale_forecast.\" It specifies that it wants to retrieve records based on the condition that the \"action\" field is equal to \"sale_forecast.\" No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"2229a007-09cb-4331-ba9f-58babb55be8e","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694587104492,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_forecast\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-13 11:37:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Sep 2023 06:46:02 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=fbBC%2Fn0I%2FeoFrErXi1wQM92sQYlk0syYi6ab1CCFzrsi7aBkI3NhimHrmi6d6OYuSce2%2FDaoDWHZfmQG21ce5Uh0KzA7Q9CdG%2Ba3ZtR1M6cpiHKeaovU%2BZ7CS7oXI1B%2BSpRshrhyNAaculZEhA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"805e6e45aae3c4b8-DUS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694587104492,\n    \"dt\": 9\n}"}],"_postman_id":"ea19ad80-fc7d-47ac-80c3-ad714da5c0a9"},{"name":"params/sale.forecast/search_read","id":"4ad27f8d-8de5-4007-95ae-38694fa80152","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694587104501,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.forecast\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    [\r\n                        \"state\",\r\n                        \"=\",\r\n                        \"open\"\r\n                    ]\r\n                ]\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"location_id\",\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"num_lines\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-13 11:37:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"sale.forecast\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>[</strong></strong>\"state\",<strong><strong>\"=\",</strong></strong>\"open\"<strong><strong>]</strong></strong>]<strong><strong>],<strong><strong>[</strong></strong>\"number\",</strong></strong>\"location_id\",<strong><strong>\"date_from\",</strong></strong>\"date_to\",<strong><strong>\"num_lines\",</strong></strong>\"state\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"order\": null,</strong></strong>\"offset\": 0,<strong><strong>\"limit\": 100,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"sale.forecast\"</strong>: This is the first parameter and represents the specific entity or module in the system. In this case, it refers to \"sale.forecast,\" indicating that the operation will be performed on this entity.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[\"state\", \"=\", \"open\"]]</strong>: This is the third parameter and consists of a single search domain, which is an inner list with one condition:<ol>\n<li><strong>[\"state\", \"=\", \"open\"]</strong>: This condition filters records where the \"state\" attribute is equal to \"open.\" This means the request intends to retrieve records related to \"sale forecasts\" that are in the \"open\" state.<ol>\n<li><strong>\"state\"</strong>: This is the field or attribute within the entity that you want to filter on. In this case, it's the \"state\" field.</li>\n<li><strong>\"=\"</strong>: This operator is used to specify the type of comparison you want to perform. In this case, it's an equality comparison, which means you're looking for records where the \"state\" field is equal to a certain value.</li>\n<li><strong>\"open\"</strong>: This is the value you want to compare the \"state\" field against. It's the condition you want to meet when searching for records.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>[\"number\", \"location_id\", \"date_from\", \"date_to\", \"num_lines\", \"state\"]</strong>: This is the fourth parameter and specifies the list of fields you want to retrieve for each record that meets the search criteria. It includes:<ol>\n<li><strong>\"number\"</strong>: This field likely represents the forecast number. It's used to uniquely identify a sales forecast or prediction.</li>\n<li><strong>\"location_id\"</strong>: This field probably refers to the location identifier. It may indicate the specific location or place associated with the sales forecast.</li>\n<li><strong>\"date_from\"</strong>: This field likely represents the starting date of the forecast period. It specifies when the sales forecast begins.</li>\n<li><strong>\"date_to\"</strong>: This field is probably the ending date of the forecast period. It indicates when the sales forecast ends.</li>\n<li><strong>\"num_lines\"</strong>: This field could represent the number of lines or items included in the sales forecast. It provides information about the level of detail within the forecast.</li>\n<li><strong>\"state\"</strong>: The \"state\" field typically represents the current status or condition of the sales forecast. For example, it might indicate whether the forecast is \"open,\" \"closed,\" \"approved,\" or in some other state.</li>\n</ol>\n</li>\n<li><strong>{}</strong>: This is the fifth parameter and represents an empty dictionary. Typically, this part of the request can be used to pass additional options or context to the search_read operation. However, in this request, no additional context is specified.</li>\n<li><strong>\"count\": true</strong>: Within the fifth parameter, \"count\" is set to true. This indicates that you want to include a count of the total number of records that match the search criteria.</li>\n<li><strong>\"order\": null</strong>: The order for sorting the retrieved records is set to null, meaning no specific sorting order is specified.</li>\n<li><strong>\"offset\": 0</strong>: The offset is set to 0, which means you want to start retrieving records from the beginning.</li>\n<li><strong>\"limit\": 100</strong>: The limit is set to 100, indicating that you want to retrieve a maximum of 100 records that match the search criteria.</li>\n<li><strong>\"context\": {}</strong>: This part of the request typically allows you to pass additional context or options to the operation. In this case, an empty dictionary is provided, indicating that no specific additional context is applied.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"sale.forecast\" entity to retrieve records that match the condition of having a \"state\" equal to \"open.\" It specifies the fields to be retrieved and requests a count of the total matching records. No specific sorting or additional context is applied.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"e4ed512e-3853-49b7-bec9-e5690fe3fc46","name":"params/sale.forecast/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694587104501,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.forecast\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    [\r\n                        \"state\",\r\n                        \"=\",\r\n                        \"open\"\r\n                    ]\r\n                ]\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"location_id\",\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"num_lines\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-13 11:37:28\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Sep 2023 07:01:55 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=%2F%2B0lSvdfK%2Bg3PObako6iZjtwcAPdSCnTqAoYA6FG6KHyQmpcNdgF4xqvccCPOaOE3l2ptifQ3WNLCa0QJN4bKZ1Mz3i%2Fw2RSuXq4ysQiK%2FyAntV0yxAp%2F5yOwwF62mkboyVv1e75myUG26lZQg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"805e858bfaf8cadd-DUS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 3,\n                \"state\": \"open\",\n                \"date_from\": \"2022-08-01\",\n                \"location_id\": null,\n                \"number\": \"SF-2208-001\",\n                \"date_to\": \"2022-08-31\",\n                \"num_lines\": 1\n            }\n        ],\n        1\n    ],\n    \"error\": null,\n    \"id\": 1694587104501,\n    \"dt\": 20\n}"}],"_postman_id":"4ad27f8d-8de5-4007-95ae-38694fa80152"}],"id":"a73687ac-3073-4f15-8fa0-a626f0fec36c","_postman_id":"a73687ac-3073-4f15-8fa0-a626f0fec36c","description":""},{"name":"Sales Forecast Details","item":[{"name":"params/inline.help/search_read","id":"2aad5833-4ec9-430d-b7a7-f5d9faf0c168","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694589292035,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_forecast_line\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-13 12:14:08\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"sale_forecast_line\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter, which specifies the specific entity or module within the system. In this case, it refers to \"inline.help,\" indicating that the operation will be performed on this particular entity or module.</li>\n<li><strong>\"search_read\"</strong>: The second parameter is the action that specifies what kind of operation you want to perform on the entity. \"search_read\" is a common action used in systems to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[\"action\", \"=\", \"sale_forecast_line\"]]</strong>: The third parameter consists of a search domain, which is an inner list with one condition:<ol>\n<li><strong>\"action\"</strong>: This field is used to filter records based on a specific attribute, in this case, the \"action\" attribute.</li>\n<li><strong>\"=\"</strong>: This operator is used to specify the type of comparison you want to perform. In this case, it's an equality comparison, indicating that you want to find records where the \"action\" field is equal to a certain value.</li>\n<li><strong>\"sale_forecast_line\"</strong>: This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records.</li>\n</ol>\n</li>\n<li><strong>{}</strong>: The fourth parameter is an empty dictionary. Typically, this part of the request can be used to pass additional options or context to the \"search_read\" operation. However, in this request, no additional context is specified.</li>\n</ol>\n<p>In summary, this request is performing a \"search_read\" operation within the \"inline.help\" entity to retrieve records related to \"sale_forecast_line.\" It specifies that it wants to retrieve records based on the condition that the \"action\" field is equal to \"sale_forecast_line.\" No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"2738092d-35f0-45d5-a6f3-528a2e321519","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694589292035,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_forecast_line\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-13 12:14:08\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Sep 2023 07:16:57 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=r7C7dNDXO66Ci04WRhb3HXdtYGqJiwx9dA%2B0ptwsNzLz2loPMcVW3OtRUbWxaUMQiwXzhkJdaEcTzcB%2FycGomFaVECP7O5%2F582jMTkYhZhwwQASm64i%2FAqRSMIKg3L2HgX8%2BG5GnlYLpDLeuiw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"805e9b8f48927a52-DUS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694589292035,\n    \"dt\": 10\n}"}],"_postman_id":"2aad5833-4ec9-430d-b7a7-f5d9faf0c168"},{"name":"params/sale.forecast.line/search_read","id":"483befd2-ef5e-4ce1-ae9c-b7b72649b03e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694589292044,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.forecast.line\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"forecast_id\",\r\n                \"product_id\",\r\n                \"customer_id\",\r\n                \"min_shelf_life\",\r\n                \"plan_qty\",\r\n                \"actual_qty\",\r\n                \"prev_diff_percent\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-13 12:14:08\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"sale.forecast.line\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"forecast_id\",**</strong>\"product_id\",<strong><strong>\"customer_id\",</strong></strong>\"min_shelf_life\",<strong><strong>\"plan_qty\",</strong></strong>\"actual_qty\",<strong>**\"prev_diff_percent\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"count\": true,</strong></strong>\"order\": null,<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"sale.forecast.line\"</strong>: This is the first parameter, specifying the specific entity or module within the system. In this case, it refers to \"sale.forecast.line,\" indicating that the operation will be performed on this particular entity or module.</li>\n<li><strong>\"search_read\"</strong>: The second parameter is the action that specifies what kind of operation you want to perform on the entity. \"search_read\" is a common action used in systems to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[], [\"forecast_id\", \"product_id\", \"customer_id\", \"min_shelf_life\", \"plan_qty\", \"actual_qty\", \"prev_diff_percent\"]]</strong>: The third parameter consists of two lists:<ol>\n<li><strong>The first list (empty)</strong>: This list represents the search domain, which defines the conditions for filtering records. In this case, it's empty, indicating that there are no specific conditions to filter records based on attributes.</li>\n<li><strong>The second list</strong>: This list contains the names of fields or attributes that you want to retrieve from the records. It specifies that you want to retrieve data for the following fields:<ol>\n<li><strong>\"forecast_id\"</strong>: This field represents the ID of the sales forecast associated with a particular line. It is used to link a sales forecast line to a specific sales forecast record, allowing you to track which forecast a particular line belongs to.</li>\n<li><strong>\"product_id\"</strong>: This field represents the ID of the product associated with a sales forecast line. It indicates the specific product or item for which the forecast is being made.</li>\n<li><strong>\"customer_id\"</strong>: This field represents the ID of the customer associated with a sales forecast line. It helps identify which customer or client the forecast is related to, particularly useful in scenarios where forecasts may vary for different customers.</li>\n<li><strong>\"min_shelf_life\"</strong>: This field typically represents the minimum shelf life of a product. Shelf life is the period during which a product remains safe to use and retains its intended quality. Knowing the minimum shelf life is important for managing inventory and ensuring that products are used or sold before they expire.</li>\n<li><strong>\"plan_qty\"</strong>: This field represents the planned or expected quantity of the product. It indicates the quantity of the product that is anticipated to be sold or used within a specific timeframe as part of the sales forecast.</li>\n<li><strong>\"actual_qty\"</strong>: This field represents the actual quantity of the product. It is used to record the real-world quantity of the product that has been sold, used, or delivered, allowing for a comparison between the planned (forecasted) quantity and the actual quantity.</li>\n<li><strong>\"prev_diff_percent\"</strong>: This field likely represents the previous difference percentage. It could be used to track the percentage difference between the planned quantity and the actual quantity in previous forecasts. Analyzing this percentage can provide insights into the accuracy of past forecasts.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>{\"count\": true, \"order\": null, \"offset\": 0, \"limit\": 100, \"context\": {}}</strong>: The fourth parameter is a dictionary that can be used to pass additional options or context to the \"search_read\" operation. In this case:<ol>\n<li><strong>\"count\": true</strong>: This option is set to true, indicating that you want to retrieve a count of the total number of records that match the search criteria.</li>\n<li><strong>\"order\": null</strong>: This specifies that there is no specific ordering or sorting of the records required.</li>\n<li><strong>\"offset\": 0</strong>: It sets the offset for the records to start from the beginning (record 0).</li>\n<li><strong>\"limit\": 100</strong>: It limits the number of records to be retrieved to 100.</li>\n<li><strong>\"context\": {}</strong>: An empty context is provided in this request. Context can be used to provide additional information or settings, but in this case, it's left empty.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a \"search_read\" operation within the \"sale.forecast.line\" entity to retrieve records. It specifies the fields to be retrieved and sets options for counting, ordering, offset, and limiting the number of records.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"322e7ee2-ee29-4d5b-8ae9-4ded34c442e3","name":"params/sale.forecast.line/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694589292044,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.forecast.line\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"forecast_id\",\r\n                \"product_id\",\r\n                \"customer_id\",\r\n                \"min_shelf_life\",\r\n                \"plan_qty\",\r\n                \"actual_qty\",\r\n                \"prev_diff_percent\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-13 12:14:08\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Sep 2023 07:25:46 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=QhCAbU183lHIPf3HEZCd3yupZkDCRCdwyYgoOg1YIuZEo9Xc%2BLLEt3W68E5E19%2F7Blbu0hbJpb8wljaawQrA2n1RKgyXfX744e2XWWlGI1XyeCESNkPSSqrVWyy6Hcvl1APkNxilGf1E%2BcCrOA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"805ea879a8a97a5a-DUS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 2,\n                \"plan_qty\": 30000,\n                \"min_shelf_life\": null,\n                \"product_id\": [\n                    769,\n                    \"[P-0004] Customisation\",\n                    null\n                ],\n                \"customer_id\": null,\n                \"forecast_id\": [\n                    3,\n                    \"SF-2208-001\",\n                    null\n                ],\n                \"actual_qty\": 0,\n                \"prev_plan_qty\": null,\n                \"prev_diff_percent\": null\n            }\n        ],\n        1\n    ],\n    \"error\": null,\n    \"id\": 1694589292044,\n    \"dt\": 66\n}"}],"_postman_id":"483befd2-ef5e-4ce1-ae9c-b7b72649b03e"}],"id":"700dc459-f432-4c7b-bd08-ed955f5a83a2","_postman_id":"700dc459-f432-4c7b-bd08-ed955f5a83a2","description":""},{"name":"Sales Activities","item":[{"name":"params/inline.help/search_read","id":"878ed6f2-b9c0-4520-a549-17f52f342b0f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694591411422,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_activ\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-13 12:49:32\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"sale_activ\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system. In this case, it refers to \"inline.help,\" indicating that the operation will be performed on this entity.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[\"action\", \"=\", \"sale_activ\"]]</strong>: This is the third parameter and consists of a single search domain, which is an inner list with one condition:<ol>\n<li><strong>\"action\"</strong>: This is the field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li><strong>\"=\"</strong>: This operator is used to specify the type of comparison you want to perform. In this case, it's an equality comparison, which means you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li><strong>\"sale_activ\"</strong>: This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records.</li>\n</ol>\n</li>\n<li><strong>{}</strong>: This is the fourth parameter and represents an empty dictionary. Typically, this part of the request can be used to pass additional options or context to the search_read operation. However, in this request, no additional context is specified.</li>\n</ol>\n<p>In summary, the request is performing a search and read operation within the \"inline.help\" entity to retrieve records related to \"sale_activ.\" It specifies that it wants to retrieve records based on the condition that the \"action\" field is equal to \"sale_activ.\" No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"fef337a1-af6e-4c6f-ae3e-fd83dee04f1e","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694591411422,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_activ\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-13 12:49:32\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Sep 2023 07:51:51 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=ZpDi2%2FGMQSF3ssW21yKXWvQOXSokWn%2FIuAG9yymWS%2BWI%2F5gBWsIzRYHtZrbTQOvHJx1tbkbx%2FmG4d5hIbYyVSiwO7fjLkmj8ZpuWGQR4HA4OjGZanZKlJ%2B9F6E85iL18JwFEUxL0kxSpnWMvIQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"805eceae38d3cb15-DUS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694591411422,\n    \"dt\": 7\n}"}],"_postman_id":"878ed6f2-b9c0-4520-a549-17f52f342b0f"},{"name":"params/sale.active/search_read","id":"402c1d69-2a86-4f9d-a808-34b762cee190","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694591411428,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.activ\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"type\",\r\n                \"user_id\",\r\n                \"subject\",\r\n                \"date\",\r\n                \"contact_id\",\r\n                \"related_id\",\r\n                \"priority\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-13 12:49:32\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"sale.activ\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[]<strong><strong>],<strong><strong>[</strong></strong>\"type\",</strong></strong>\"user_id\",<strong><strong>\"subject\",</strong></strong>\"date\",<strong><strong>\"contact_id\",</strong></strong>\"related_id\",<strong><strong>\"priority\",</strong></strong>\"state\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"order\": null,</strong></strong>\"offset\": 0,<strong><strong>\"limit\": 100,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"sale.activ\"</strong>: This is the first parameter and represents the specific entity or module in the system. In this case, it refers to the \"sale.activ\" entity, indicating that the operation will be performed on this entity.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[]]</strong>: This is the third parameter and consists of two empty inner lists. The first inner list represents the search domain, which is empty in this case. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved.</li>\n<li><strong>[\"type\", \"user_id\", \"subject\", \"date\", \"contact_id\", \"related_id\", \"priority\", \"state\"]</strong>: This is the fourth parameter and represents the list of fields or attributes that you want to retrieve for each record. In this request, you are retrieving records with the following fields:<ol>\n<li><strong>\"type\"</strong>: This field represents the type of the sale activity. It provides information about the nature or category of the activity, such as whether it's a call, meeting, email, or another type of interaction.</li>\n<li><strong>\"user_id\"</strong>: This field indicates the user associated with the sale activity. It typically stores the ID or reference to the user who performed or is responsible for the activity.</li>\n<li><strong>\"subject\"</strong>: The \"subject\" field specifies the subject or title of the sale activity. It often contains a brief description or summary of what the activity entails.</li>\n<li><strong>\"date\"</strong>: Represents the date of the sale activity. It records when the activity took place, allowing users to track the timing of interactions with customers or contacts.</li>\n<li><strong>\"contact_id\"</strong>: This field indicates the contact or customer associated with the sale activity. It helps establish a link between the activity and the specific individual or organization it pertains to.</li>\n<li><strong>\"related_id\"</strong>: \"Related_id\" represents a field that stores information about the related entity or record associated with the sale activity. It can be used to link the activity to other records, such as sales orders, opportunities, or products.</li>\n<li><strong>\"priority\"</strong>: Indicates the priority level of the sale activity. It helps users understand the urgency or importance of the activity. Priorities may be categorized as high, medium, low, or have other designations.</li>\n<li><strong>\"state\"</strong>: The \"state\" field represents the current state or status of the sale activity. It can indicate whether the activity is open, closed, pending, or in another state that reflects its progress or completion status.</li>\n</ol>\n</li>\n<li><strong>{\"count\": true, \"order\": null, \"offset\": 0, \"limit\": 100, \"context\": {}}</strong>: This is the fifth parameter and represents a dictionary with various options:<ol>\n<li><strong>\"count\": true</strong>: Specifies that you want to count the total number of records that match the search criteria.</li>\n<li><strong>\"order\": null</strong>: Indicates that no specific sorting order is applied to the retrieved records.</li>\n<li><strong>\"offset\": 0</strong>: Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (0).</li>\n<li><strong>\"limit\": 100</strong>: Specifies the maximum number of records to retrieve, which is set to 100 in this request.</li>\n<li><strong>\"context\": {}</strong>: Represents an empty context, which can be used to pass additional options or context information to the search_read operation. In this request, no additional context is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"sale.activ\" entity. It retrieves records without any specific conditions in the search domain and retrieves specific fields for each record as defined in the fourth parameter. It also counts the total number of matching records, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 records. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"f9600904-c2ed-4c20-82c0-e91b103014b5","name":"params/sale.active/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694591411428,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.activ\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"type\",\r\n                \"user_id\",\r\n                \"subject\",\r\n                \"date\",\r\n                \"contact_id\",\r\n                \"related_id\",\r\n                \"priority\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-13 12:49:32\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Sep 2023 08:05:45 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Cdbh9xc3PP2MI%2FtUrpDNIhmXqXp9XXO%2BRtKpSO5p0F8f0S4EADEOz0vg%2FTBUf7L6enewWQp9StNyhqXiIW1CVypx85Xn9DwjFdrbyXuHH78JLGAt%2FuBTzZzl6wft3EQ0Rll6NY%2BvVVeT9Do1iA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"805ee30b0bf4215d-DUS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 30,\n                \"user_id\": [\n                    79,\n                    \"James Lee\",\n                    null\n                ],\n                \"state\": \"new\",\n                \"subject\": \"Follow up proposal\",\n                \"date\": \"2021-08-16\",\n                \"type\": \"task\",\n                \"priority\": null,\n                \"contact_id\": [\n                    673,\n                    \"[C-0582] Jayasree Mary\",\n                    null\n                ],\n                \"related_id\": [\n                    \"sale.lead,21134\",\n                    \"Operations Manager\"\n                ]\n            },\n            {\n                \"id\": 29,\n                \"user_id\": [\n                    79,\n                    \"James Lee\",\n                    null\n                ],\n                \"state\": \"new\",\n                \"subject\": \"Follow up proposal\",\n                \"date\": \"2021-08-09\",\n                \"type\": \"call\",\n                \"priority\": null,\n                \"contact_id\": [\n                    667,\n                    \"[C-0577] Joanne Chan\",\n                    null\n                ],\n                \"related_id\": [\n                    \"sale.lead,21133\",\n                    \"Ms\"\n                ]\n            },\n            {\n                \"id\": 28,\n                \"user_id\": [\n                    79,\n                    \"James Lee\",\n                    null\n                ],\n                \"state\": \"new\",\n                \"subject\": \"Follow up quotation\",\n                \"date\": \"2021-08-02\",\n                \"type\": \"call\",\n                \"priority\": null,\n                \"contact_id\": [\n                    667,\n                    \"[C-0577] Joanne Chan\",\n                    null\n                ],\n                \"related_id\": [\n                    \"sale.lead,21133\",\n                    \"Ms\"\n                ]\n            },\n            {\n                \"id\": 27,\n                \"user_id\": [\n                    79,\n                    \"James Lee\",\n                    null\n                ],\n                \"state\": \"new\",\n                \"subject\": \"Follow up proposal on 2 Aug 2021\",\n                \"date\": \"2021-08-02\",\n                \"type\": \"call\",\n                \"priority\": null,\n                \"contact_id\": [\n                    675,\n                    \"[C-0584] Jayasree Mary\",\n                    null\n                ],\n                \"related_id\": [\n                    \"sale.lead,21134\",\n                    \"Operations Manager\"\n                ]\n            },\n            {\n                \"id\": 25,\n                \"user_id\": [\n                    79,\n                    \"James Lee\",\n                    null\n                ],\n                \"state\": \"new\",\n                \"subject\": \"Follow up quotation\",\n                \"date\": \"2021-07-27\",\n                \"type\": \"task\",\n                \"priority\": null,\n                \"contact_id\": [\n                    667,\n                    \"[C-0577] Joanne Chan\",\n                    null\n                ],\n                \"related_id\": [\n                    \"sale.lead,21133\",\n                    \"Ms\"\n                ]\n            },\n            {\n                \"id\": 23,\n                \"user_id\": [\n                    79,\n                    \"James Lee\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"subject\": \"Warehouses visit (Machinery & Chemical)\",\n                \"date\": \"2021-07-27\",\n                \"type\": \"meeting\",\n                \"priority\": null,\n                \"contact_id\": null,\n                \"related_id\": [\n                    \"sale.lead,21133\",\n                    \"Ms\"\n                ]\n            },\n            {\n                \"id\": 22,\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"state\": \"new\",\n                \"subject\": \"Follow Up on Interest\",\n                \"date\": \"2021-06-30\",\n                \"type\": \"call\",\n                \"priority\": null,\n                \"contact_id\": null,\n                \"related_id\": [\n                    \"sale.lead,21117\",\n                    \"Vistage\"\n                ]\n            },\n            {\n                \"id\": 21,\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"state\": \"new\",\n                \"subject\": \"Follow up on Interest and Share Lite version Details\",\n                \"date\": \"2021-06-08\",\n                \"type\": \"call\",\n                \"priority\": null,\n                \"contact_id\": [\n                    651,\n                    \"[C-0563] Peng Teck Yeaw\",\n                    null\n                ],\n                \"related_id\": [\n                    \"sale.lead,21093\",\n                    \"Phone\"\n                ]\n            },\n            {\n                \"id\": 18,\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"state\": \"new\",\n                \"subject\": \"Email Details of Lite version\",\n                \"date\": \"2021-06-08\",\n                \"type\": \"task\",\n                \"priority\": null,\n                \"contact_id\": [\n                    649,\n                    \"[C-0561] Hadi\",\n                    null\n                ],\n                \"related_id\": [\n                    \"sale.lead,21111\",\n                    \"Red Zone Lo\"\n                ]\n            },\n            {\n                \"id\": 16,\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"state\": \"new\",\n                \"subject\": \"Follow up on Interest\",\n                \"date\": \"2021-06-08\",\n                \"type\": \"call\",\n                \"priority\": null,\n                \"contact_id\": [\n                    572,\n                    \"[C-0486] Kelvin Soo\",\n                    null\n                ],\n                \"related_id\": [\n                    \"sale.lead,21114\",\n                    \"Email\"\n                ]\n            },\n            {\n                \"id\": 13,\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"state\": \"new\",\n                \"subject\": \"Follow-up \",\n                \"date\": \"2021-06-07\",\n                \"type\": \"call\",\n                \"priority\": null,\n                \"contact_id\": null,\n                \"related_id\": [\n                    \"sale.lead,21106\",\n                    \"Email\"\n                ]\n            },\n            {\n                \"id\": 12,\n                \"user_id\": [\n                    67,\n                    \"Chloe\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"subject\": \"Follow-up on Progress\",\n                \"date\": \"2021-06-07\",\n                \"type\": \"call\",\n                \"priority\": null,\n                \"contact_id\": null,\n                \"related_id\": [\n                    \"sale.lead,21121\",\n                    \"Phone\"\n                ]\n            },\n            {\n                \"id\": 11,\n                \"user_id\": [\n                    67,\n                    \"Chloe\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"subject\": \"Follow-up on Decision\",\n                \"date\": \"2021-06-07\",\n                \"type\": \"call\",\n                \"priority\": null,\n                \"contact_id\": [\n                    604,\n                    \"[C-0518] Jasmine See\",\n                    null\n                ],\n                \"related_id\": [\n                    \"sale.lead,21115\",\n                    \"Phone\"\n                ]\n            },\n            {\n                \"id\": 10,\n                \"user_id\": [\n                    67,\n                    \"Chloe\",\n                    null\n                ],\n                \"state\": \"new\",\n                \"subject\": \"Email Lite version Details and Pricing\",\n                \"date\": \"2021-05-11\",\n                \"type\": \"task\",\n                \"priority\": null,\n                \"contact_id\": null,\n                \"related_id\": null\n            },\n            {\n                \"id\": 7,\n                \"user_id\": [\n                    67,\n                    \"Chloe\",\n                    null\n                ],\n                \"state\": \"new\",\n                \"subject\": \"Call to Follow Up (Test)\",\n                \"date\": \"2021-05-11\",\n                \"type\": \"call\",\n                \"priority\": null,\n                \"contact_id\": null,\n                \"related_id\": null\n            },\n            {\n                \"id\": 17,\n                \"user_id\": [\n                    67,\n                    \"Chloe\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"subject\": \"Follow up on Interest\",\n                \"date\": \"2021-05-10\",\n                \"type\": \"call\",\n                \"priority\": null,\n                \"contact_id\": null,\n                \"related_id\": [\n                    \"sale.lead,21111\",\n                    \"Red Zone Lo\"\n                ]\n            },\n            {\n                \"id\": 9,\n                \"user_id\": [\n                    15,\n                    \"Chin\",\n                    null\n                ],\n                \"state\": \"new\",\n                \"subject\": \"Testing Activity\",\n                \"date\": \"2021-05-07\",\n                \"type\": \"task\",\n                \"priority\": null,\n                \"contact_id\": null,\n                \"related_id\": null\n            },\n            {\n                \"id\": 8,\n                \"user_id\": [\n                    67,\n                    \"Chloe\",\n                    null\n                ],\n                \"state\": \"new\",\n                \"subject\": \"Email Info (Test)\",\n                \"date\": \"2021-05-06\",\n                \"type\": \"task\",\n                \"priority\": null,\n                \"contact_id\": null,\n                \"related_id\": null\n            },\n            {\n                \"id\": 6,\n                \"user_id\": [\n                    67,\n                    \"Chloe\",\n                    null\n                ],\n                \"state\": \"new\",\n                \"subject\": \"Testing\",\n                \"date\": \"2021-04-28\",\n                \"type\": \"task\",\n                \"priority\": null,\n                \"contact_id\": null,\n                \"related_id\": [\n                    \"sale.lead,21118\",\n                    \"Phone\"\n                ]\n            },\n            {\n                \"id\": 15,\n                \"user_id\": [\n                    67,\n                    \"Chloe\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"subject\": \"Follow up on Interest\",\n                \"date\": \"2021-04-27\",\n                \"type\": \"call\",\n                \"priority\": null,\n                \"contact_id\": null,\n                \"related_id\": [\n                    \"sale.lead,21114\",\n                    \"Email\"\n                ]\n            },\n            {\n                \"id\": 14,\n                \"user_id\": [\n                    67,\n                    \"Chloe\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"subject\": \"Follow up on Interest\",\n                \"date\": \"2021-04-27\",\n                \"type\": \"call\",\n                \"priority\": null,\n                \"contact_id\": null,\n                \"related_id\": [\n                    \"sale.lead,21120\",\n                    \"Email\"\n                ]\n            },\n            {\n                \"id\": 20,\n                \"user_id\": [\n                    67,\n                    \"Chloe\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"subject\": \"Follow up on Interest\",\n                \"date\": \"2021-04-23\",\n                \"type\": \"call\",\n                \"priority\": null,\n                \"contact_id\": null,\n                \"related_id\": [\n                    \"sale.lead,21093\",\n                    \"Phone\"\n                ]\n            },\n            {\n                \"id\": 19,\n                \"user_id\": [\n                    67,\n                    \"Chloe\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"subject\": \"Follow up on Interest\",\n                \"date\": \"2021-04-23\",\n                \"type\": \"call\",\n                \"priority\": null,\n                \"contact_id\": null,\n                \"related_id\": [\n                    \"sale.lead,21109\",\n                    \"Red Zone Lo\"\n                ]\n            },\n            {\n                \"id\": 5,\n                \"user_id\": [\n                    67,\n                    \"Chloe\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"subject\": \"Follow Up on Interest in the System\",\n                \"date\": \"2021-04-20\",\n                \"type\": \"call\",\n                \"priority\": null,\n                \"contact_id\": null,\n                \"related_id\": [\n                    \"sale.lead,21087\",\n                    \"Phone Call\"\n                ]\n            },\n            {\n                \"id\": 4,\n                \"user_id\": [\n                    67,\n                    \"Chloe\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"subject\": \"Follow Up on Interest in the System\",\n                \"date\": \"2021-04-20\",\n                \"type\": \"call\",\n                \"priority\": null,\n                \"contact_id\": null,\n                \"related_id\": [\n                    \"sale.lead,21086\",\n                    \"Phone Call (Perlis)\"\n                ]\n            },\n            {\n                \"id\": 3,\n                \"user_id\": [\n                    67,\n                    \"Chloe\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"subject\": \"Follow Up on Interest in the System\",\n                \"date\": \"2021-04-20\",\n                \"type\": \"call\",\n                \"priority\": null,\n                \"contact_id\": null,\n                \"related_id\": [\n                    \"sale.lead,21092\",\n                    \"Email\"\n                ]\n            },\n            {\n                \"id\": 1,\n                \"user_id\": [\n                    67,\n                    \"Chloe\",\n                    null\n                ],\n                \"state\": \"done\",\n                \"subject\": \"Follow Up on Interest\",\n                \"date\": \"2021-03-17\",\n                \"type\": \"call\",\n                \"priority\": null,\n                \"contact_id\": null,\n                \"related_id\": [\n                    \"sale.lead,21117\",\n                    \"Vistage\"\n                ]\n            }\n        ],\n        27\n    ],\n    \"error\": null,\n    \"id\": 1694591411428,\n    \"dt\": 190\n}"}],"_postman_id":"402c1d69-2a86-4f9d-a808-34b762cee190"}],"id":"6de41bab-ad3d-4dc4-9445-712c853bd151","_postman_id":"6de41bab-ad3d-4dc4-9445-712c853bd151","description":""},{"name":"Recurring Sales","item":[{"name":"params/inline.help/search_read","id":"59b0b594-452b-4d13-bc59-94b7e7427922","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694593299151,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_rec\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-13 13:21:20\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"sale_rec\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter, indicating the specific entity or module in the system where the operation will be performed. In this case, it refers to \"inline.help,\" which signifies that the operation is related to this entity.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[\"action\", \"=\", \"sale_rec\"]</strong>: This condition is used to filter records where the \"action\" attribute is equal to \"sale_rec.\" It means that the request aims to retrieve records related to \"sale_rec.\"<ol>\n<li><strong>\"action\"</strong>: This field represents the attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li><strong>\"=\"</strong>: This operator specifies the type of comparison, which is equality. It's used to filter records where the \"action\" field matches a certain value.</li>\n<li><strong>\"sale_rec\"</strong>: This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records.</li>\n</ol>\n</li>\n<li><strong>{}</strong>: This is the fourth parameter and represents an empty dictionary. Typically, this part of the request can be used to pass additional options or context to the search_read operation. However, in this request, no additional context is specified.</li>\n</ol>\n<p>In summary, the request is performing a search and read operation within the \"inline.help\" entity to retrieve records related to \"sale_rec.\" It specifies that it wants to retrieve records based on the condition that the \"action\" field is equal to \"sale_rec.\" No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"ee2690cd-3758-4fa0-9e80-65ae206733ab","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694593299151,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_rec\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-13 13:21:20\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Sep 2023 08:23:23 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=8M1GQodoOO2YGilvSTI0LRezRaGtpgKW6i0kxg4FE2l%2BkUTIbJh9i7DIpAQRBExt4ekvTMqYdiTdimqyFh%2Fl0JI2LtgKx3SL%2BSzcXTysbv3GJ2bsvO8JM71AxTNvGmcMQH%2Fgo%2FpCitqlTMRcog%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"805efce07bfacb1e-DUS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694593299151,\n    \"dt\": 8\n}"}],"_postman_id":"59b0b594-452b-4d13-bc59-94b7e7427922"},{"name":"params/sale.recurring/search_read","id":"8ef79818-26d2-4600-8c1d-462e19c892a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694593299158,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.recurring\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"contact_id\",\r\n                \"description\",\r\n                \"product_id\",\r\n                \"qty\",\r\n                \"unit_price\",\r\n                \"amount\",\r\n                \"supplier_id\",\r\n                \"interval_num\",\r\n                \"interval_unit\",\r\n                \"next_date\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-13 13:21:20\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"sale.recurring\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"contact_id\",**</strong>\"description\",<strong><strong>\"product_id\",</strong></strong>\"qty\",<strong><strong>\"unit_price\",</strong></strong>\"amount\",<strong><strong>\"supplier_id\",</strong></strong>\"interval_num\",<strong><strong>\"interval_unit\",</strong></strong>\"next_date\",<strong>**\"active\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"count\": true,</strong></strong>\"order\": null,<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"sale.recurring\"</strong>: This is the first parameter, indicating the specific entity or module in the system where the operation will be performed. In this case, it refers to \"sale.recurring,\" which signifies that the operation is related to recurring sales.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li>The first empty list, [], represents the search domain. In this case, it's empty, meaning there are no specific conditions for filtering records. It indicates that the request aims to retrieve all records in the \"sale.recurring\" entity</li>\n<li>The second list, [\"contact_id\", \"description\", \"product_id\", \"qty\", \"unit_price\", \"amount\", \"supplier_id\", \"interval_num\", \"interval_unit\", \"next_date\", \"active\"], specifies the fields (attributes) of the records that should be included in the response. These are the attributes or properties of the recurring sales records that the request is interested in retrieving.<ol>\n<li><strong>\"contact_id\"</strong>: This field represents the contact or customer associated with the recurring sale. It likely refers to a unique identifier or reference to the customer's information.</li>\n<li><strong>\"description\"</strong>: This field typically stores a textual description or additional information related to the recurring sale. It could include details about the products or services involved, special terms, or any relevant notes.</li>\n<li><strong>\"product_id\"</strong>: This field likely refers to the product or service being sold as part of the recurring sale. It might contain a reference or identifier for the specific product or service within the system.</li>\n<li><strong>\"qty\"</strong>: This field represents the quantity of the product or service being sold in each recurring sale. It indicates how many units of the product or service are included in each recurrence.</li>\n<li><strong>\"unit_price\"</strong>: This field stores the price per unit of the product or service. It represents the cost or price associated with each unit of the item being sold.</li>\n<li><strong>\"amount\"</strong>: The \"amount\" field typically represents the total amount or value of the recurring sale. It's often calculated as the product of the quantity (\"qty\") and the unit price (\"unit_price\").</li>\n<li><strong>\"supplier_id\"</strong>: This field may refer to the supplier or vendor associated with the recurring sale. It could contain a reference or identifier for the supplier within the system.</li>\n<li><strong>\"interval_num\"</strong>: This field likely represents the numeric part of the interval between recurring sales. It specifies how often the recurring sale occurs, such as every \"X\" days, where \"X\" is defined by this numeric value.</li>\n<li><strong>\"interval_unit\"</strong>: This field complements \"interval_num\" by specifying the unit of time for the recurring sales interval. It indicates whether the recurring sales occur daily, weekly, monthly, etc.</li>\n<li><strong>\"next_date\"</strong>: This field typically stores the date of the next occurrence of the recurring sale. It's a critical piece of information for managing and scheduling recurring transactions.</li>\n<li><strong>\"active\"</strong>: The \"active\" field is often used as a binary indicator to determine whether the recurring sale is currently active or inactive. It's a way to control and manage the status of recurring transactions.</li>\n</ol>\n</li>\n<li><strong>{<strong><strong>\"count\": true,</strong></strong>\"order\": null,<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>}</strong>: This is the fourth parameter and represents a dictionary containing additional options for the search_read operation:<ol>\n<li><strong>\"count\": true</strong>: This option indicates that the request also wants to know the total count of records that match the specified criteria. It enables counting the total number of recurring sales records.</li>\n<li><strong>\"order\": null</strong>: The \"order\" option is set to null, meaning there is no specific sorting order defined for the retrieved records. They will be returned in no particular order.</li>\n<li><strong>\"offset\": 0</strong>: This option specifies that the request should start retrieving records from the beginning (offset 0) of the result set.</li>\n<li><strong>\"limit\": 100</strong>: The \"limit\" option sets a limit of 100 records to be retrieved in a single request. If there are more matching records, they may need to be retrieved in multiple requests.</li>\n<li><strong>\"context\": {}</strong>: This part of the dictionary is typically used to pass additional context or settings to the operation. However, in this request, it's empty, indicating that no specific context is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, the request is performing a search and read operation within the \"sale.recurring\" entity to retrieve recurring sales records. It aims to retrieve all records and specifies the attributes of these records that should be included in the response. Additionally, it requests the total count of matching records but does not define any specific sorting order or context.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"ca6cb7a4-279d-4f52-9afb-806f96e8b211","name":"params/sale.recurring/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694593299158,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.recurring\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"contact_id\",\r\n                \"description\",\r\n                \"product_id\",\r\n                \"qty\",\r\n                \"unit_price\",\r\n                \"amount\",\r\n                \"supplier_id\",\r\n                \"interval_num\",\r\n                \"interval_unit\",\r\n                \"next_date\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-13 13:21:20\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 13 Sep 2023 08:29:46 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=37eR15%2FT4WuN4igjxdkehKUN1w8SPKOw%2FpOeWblY2bFO9W3K45ByujD1wYDoLfA%2FzkyWxcCJAMOtKjja27ktRlGRBa%2BFLrjdekNrkkF6PAuJ6kUpBNog9dTehI3uf5glYwRQXILZbQzSOHhMFg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"805f063d2d5ab7c7-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 2,\n                \"unit_price\": 675,\n                \"next_date\": \"2018-06-01\",\n                \"supplier_id\": null,\n                \"qty\": 1,\n                \"interval_unit\": \"month\",\n                \"active\": true,\n                \"product_id\": [\n                    763,\n                    \"[P-0010a] Standard Subs\",\n                    null\n                ],\n                \"contact_id\": [\n                    44,\n                    \"[CU-0001] Kolaborasi Kuntum Kasih Sdn. Bhd. \",\n                    null\n                ],\n                \"interval_num\": 3,\n                \"description\": \"Subscription\",\n                \"amount\": 675\n            }\n        ],\n        1\n    ],\n    \"error\": null,\n    \"id\": 1694593299158,\n    \"dt\": 45\n}"}],"_postman_id":"8ef79818-26d2-4600-8c1d-462e19c892a6"}],"id":"320e73b1-22d0-4d6e-9bb8-e645fd291363","_postman_id":"320e73b1-22d0-4d6e-9bb8-e645fd291363","description":""}],"id":"e5d4b53f-0ed2-4884-8a20-8b03dc86e918","_postman_id":"e5d4b53f-0ed2-4884-8a20-8b03dc86e918","description":""},{"name":"Promotions","item":[{"name":"Promotions","item":[{"name":"params/inline.help/search_read","id":"68e63a4a-3de5-40db-8222-ee126802e3f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694662247486,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"promotion\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-14 08:28:35\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"promotion\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system. In this case, it refers to \"inline.help,\" indicating that the operation will be performed on this entity.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[\"action\", \"=\", \"promotion\"]]</strong>: This is the third parameter and consists of a single search domain, which is an inner list with one condition:<ol>\n<li><strong>[\"action\", \"=\", \"promotion\"]</strong>: This condition filters records where the \"action\" attribute is equal to \"promotion.\" This means the request intends to retrieve records related to \"promotion.\"<ol>\n<li><strong>\"action\"</strong>: This is the field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li><strong>\"=\"</strong>: This operator is used to specify the type of comparison you want to perform. In this case, it's an equality comparison, which means you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li><strong>\"promotion\"</strong>: This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>{}</strong>: This is the fourth parameter and represents an empty dictionary. Typically, this part of the request can be used to pass additional options or context to the search_read operation. However, in this request, no additional context is specified.</li>\n</ol>\n<p>In summary, the request is performing a search and read operation within the \"inline.help\" entity to retrieve records related to \"promotion.\" It specifies that it wants to retrieve records based on the condition that the \"action\" field is equal to \"promotion.\" No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"fc52f31a-cec8-4bc2-8a79-a023ecddfbeb","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694662247486,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"promotion\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-14 08:28:35\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 14 Sep 2023 03:39:12 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=YdvDxVFh0gZaF%2BMlNg5ZpGCf8nyDTxgJzs5B%2FRdUW7lkV4Qi3hwoPACYvtUb06t%2FDcF8QMnuEazlfQlHhJdldxx5RpacORdVd9J6GlHKSdRgwTQ8B5g%2BQjuh9urQ%2FR%2Bhb97ZmKrBd0HcaS%2BATg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"806599f65d60de4f-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694662247486,\n    \"dt\": 13\n}"}],"_postman_id":"68e63a4a-3de5-40db-8222-ee126802e3f0"},{"name":"params/sale.promotion/search_read","id":"c8eaec84-8bb4-4f14-a1f4-b44eb14a4670","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694662247493,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.promotion\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    [\r\n                        \"state\",\r\n                        \"=\",\r\n                        \"active\"\r\n                    ]\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"product_id\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-14 08:28:35\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"sale.promotion\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>[<strong>\"state\",</strong>\"=\",<strong>\"active\"<strong>]</strong>]</strong>],<strong>[</strong>\"name\",<strong>\"product_id\",</strong>\"state\"<strong>]</strong>],<strong>{</strong>\"count\": true,<strong>\"order\": null,</strong>\"offset\": 0,<strong>\"limit\": 100,</strong>\"context\": {}<strong>},</strong></p>\n<ol>\n<li><strong>\"sale.promotion\":</strong> This is the first parameter, denoting the specific entity or module in the system where the operation will be performed. In this context, it signifies \"sale.promotion,\" representing promotions within the sales module.</li>\n<li><strong>\"search_read\":</strong> The second parameter defines the action to be executed on the entity. \"search_read\" is a standard action used in systems similar to Odoo for retrieving records based on defined criteria. It enables the search for records and reading their data.</li>\n<li><strong>[[\"state\", \"=\", \"active\"], [\"name\", \"product_id\", \"state\"]]:</strong> This is the third parameter, composed of two lists: The first list, [[\"state\", \"=\", \"active\"]], forms the search domain. It contains a single condition: [\"state\", \"=\", \"active\"], which filters records where the \"state\" attribute equals \"active.\" This condition restricts the search to active promotions.<ol>\n<li><strong>\"state\":</strong> This represents a field or attribute within the entity being searched. In this case, it refers to the \"state\" attribute, which is likely a property of records in the \"sale.promotion\" entity.</li>\n<li><strong>\"=\":</strong> This is an operator used in the condition and signifies equality. It's used to compare the field on the left with the value on the right to check if they are equal.</li>\n<li><strong>\"active\":</strong> This is the value against which the \"state\" field is being compared. In this condition, it's checking if the \"state\" field is equal to the value \"active.\"</li>\n</ol>\n</li>\n<li>The second list, [\"name\", \"product_id\", \"state\"], specifies the fields (attributes) of the records to be included in the response. These attributes, or properties, relate to promotion records that the request aims to retrieve: \"name,\" \"product_id,\" and \"state.\"<ol>\n<li><strong>\"name\":</strong> This is the first element in the list and represents an attribute or field within the entity being searched. In this context, \"name\" refers to a specific property or attribute of records in the \"sale.promotion\" entity. The request is indicating that it wants to retrieve the values of the \"name\" attribute for the matching records.</li>\n<li><strong>\"product_id\":</strong> This is the second element in the list and also represents an attribute or field within the entity. In this case, \"product_id\" likely refers to the property that relates to the product associated with the promotion. The request is specifying that it wants to retrieve the values of the \"product_id\" attribute for the matching records.</li>\n<li><strong>\"state\":</strong> This is the third element in the list and, once again, represents an attribute or field within the entity. \"state\" is likely an attribute that indicates the current status or condition of a promotion. The request is indicating that it wants to retrieve the values of the \"state\" attribute for the matching records.</li>\n</ol>\n</li>\n<li><strong>{ \"count\": true, \"order\": null, \"offset\": 0, \"limit\": 100, \"context\": {} }:</strong> This constitutes the fourth parameter, presenting a dictionary containing additional options for the search_read operation:<ol>\n<li><strong>\"count\": true:</strong> This option indicates that the request seeks to determine the total count of records matching the specified criteria. It facilitates the counting of active promotions records.</li>\n<li><strong>\"order\": null:</strong> The \"order\" option is set to null, signifying that no particular sorting order is defined for the retrieved records. They will be returned without any specific order.</li>\n<li><strong>\"offset\": 0:</strong> This option specifies that the request should commence retrieving records from the beginning (offset 0) of the result set.</li>\n<li><strong>\"limit\": 100:</strong> The \"limit\" option sets a limit of 100 records to be fetched in a single request. If there are more matching records, additional requests may be needed.</li>\n<li><strong>\"context\": {}:</strong> This section of the dictionary is typically employed to convey additional context or settings to the operation. However, in this request, it remains empty, indicating that no specific context is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request performs a search and read operation within the \"sale.promotion\" entity to retrieve active promotions records. It refines the search to exclusively include records with a \"state\" attribute matching \"active\" and specifies the attributes of these records to include in the response. Furthermore, it requests the total count of matching records while leaving the sorting order and context undefined.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"25d98ecd-f288-4753-8a12-a6c00118090f","name":"params/sale.promotion/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694662247493,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.promotion\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    [\r\n                        \"state\",\r\n                        \"=\",\r\n                        \"active\"\r\n                    ]\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"product_id\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_gid\": \"GA1.2.465323979.1694576861\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-14 08:28:35\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 14 Sep 2023 03:48:04 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=%2F5YNbkTOS%2BbxNMHYS1mvxhMwvKSFa%2BSbbIyzMDwbvQ1%2FBpabLkIoTrR1Nl47YJwEPpdthTp%2Fxy4IZJh9B8pZSKdDpLc6tejEDHctKTELuWhgakPEZAlyYFcGNmalCFys02XvseDNHVRecQ60%2BA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8065a6f42ed1d1d4-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1694662247493,\n    \"dt\": 26\n}"}],"_postman_id":"c8eaec84-8bb4-4f14-a1f4-b44eb14a4670"}],"id":"6a6bc5c6-ea1e-4ad7-8da3-9815e2bc5706","_postman_id":"6a6bc5c6-ea1e-4ad7-8da3-9815e2bc5706","description":""},{"name":"Coupon Masters","item":[{"name":"params/inline.help/search_read","id":"9b865bc5-f549-48c3-93c6-3e491a0241bc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694665333791,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"coupon_master\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-14 09:21:50\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<ol>\n<li><strong>\"inline.help\":</strong> This parameter represents the specific module or entity in the system where the operation will take place. In this case, it refers to a module related to \"inline help.\"</li>\n<li><strong>\"search_read\":</strong> This parameter specifies the action to be performed on the entity. \"search_read\" is commonly used in systems to retrieve records based on specified criteria. It allows you to search for and read data.</li>\n<li><strong>[[\"action\", \"=\", \"coupon_master\"]]:</strong> This parameter consists of a single search condition:<ol>\n<li><strong>\"action\":</strong> This is the field or attribute within the entity that you want to filter on. In this case, it's the \"action\" field.</li>\n<li><strong>\"=\":</strong> This operator is used to specify the type of comparison you want to perform. In this case, it's an equality comparison, which means you're looking for records where the \"action\" field is equal to a certain value.</li>\n<li><strong>\"coupon_master\":</strong> This is the value you want to compare the \"action\" field against. It's the condition you want to meet when searching for records.</li>\n</ol>\n</li>\n<li><strong>{}:</strong> This parameter represents an empty dictionary and can be used to pass additional options or context to the search_read operation. However, in this request, no additional context is provided.</li>\n</ol>\n<p>In summary, the request performs a search and read operation within the \"inline.help\" entity to retrieve records related to \"coupon_master.\" It specifies that it wants to retrieve records based on the condition that the \"action\" field is equal to \"coupon_master.\" No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"e683d6da-041c-4e90-8e28-e43ee793cbbd","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694665333791,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"coupon_master\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-14 09:21:50\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 14 Sep 2023 04:26:08 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=tdDQAFA9wLCMCoYXVHBa7s6oeESXLZF89AJr9WGTRjP6fzz19%2B1E9Mwht25Obuuj0lAZYe5Xwn%2Fp%2B%2FF98S9oEuwR%2FSbVi9MXdPSbfPj5QIr%2BohfHPYy4NXzRFnnIY0tUqwXC%2FGbLC6LRFZWC6Q%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8065deb608f6d1e8-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694665333791,\n    \"dt\": 22\n}"}],"_postman_id":"9b865bc5-f549-48c3-93c6-3e491a0241bc"},{"name":"params/sale.coupon.master/search_read","id":"a6f25be5-78a4-44bb-953b-c15863e6f808","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694671310298,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.coupon.master\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    [\r\n                        \"active\",\r\n                        \"=\",\r\n                        true\r\n                    ]\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"image\",\r\n                \"description\",\r\n                \"expiry_date\",\r\n                \"use_duration\",\r\n                \"hide_date\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-14 11:00:55\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"sale.coupon.master\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>[<strong>\"active\",</strong>\"=\",<strong>true</strong>]<strong>]</strong>],<strong>[</strong>\"name\",<strong>\"image\",</strong>\"description\",<strong>\"expiry_date\",</strong>\"use_duration\",<strong>\"hide_date\",</strong>\"active\"<strong>]</strong>],<strong>{</strong>\"count\": true,<strong>\"order\": null,</strong>\"offset\": 0,<strong>\"limit\": 100,</strong>\"context\": {}<strong>},</strong></p>\n<ol>\n<li><strong>\"sale.coupon.master\":</strong> This is the first parameter, denoting the specific entity or module in the system where the operation will be performed. In this context, it signifies \"sale.coupon.master,\" representing coupons within the sales module.</li>\n<li><strong>\"search_read\":</strong> The second parameter defines the action to be executed on the entity. \"search_read\" is a standard action used in systems similar to Odoo for retrieving records based on defined criteria. It enables the search for records and reading their data.</li>\n<li>The first list, <code>[[\"active\", \"=\", true]]</code>, forms the search domain. It contains a single condition: <code>[\"active\", \"=\", true]</code>, which filters records where the \"active\" attribute equals \"true.\" This condition restricts the search to active coupons. These attributes, or properties, relate to coupon records that the request aims to retrieve:<ol>\n<li><strong>\"active\":</strong> This represents a field or attribute within the entity being searched. In this case, it refers to the \"active\" attribute, which is likely a property of records in the \"sale.coupon.master\" entity.</li>\n<li><strong>\"=\":</strong> This is an operator used in the condition and signifies equality. It's used to compare the field on the left with the value on the right to check if they are equal.</li>\n<li><strong>\"true\":</strong> This is the value against which the \"active\" field is being compared. In this condition, it's checking if the \"active\" field is equal to the value \"true.\"</li>\n</ol>\n</li>\n<li>The second list, <code>[\"name\", \"image\", \"description\", \"expiry_date\", \"use_duration\", \"hide_date\", \"active\"]</code>, specifies the fields (attributes) of the records to be included in the response. These attributes, or properties, relate to coupon records that the request aims to retrieve:<ol>\n<li><strong>\"name\":</strong> This is the first element in the list and represents an attribute or field within the entity being searched. In this context, \"name\" refers to a specific property or attribute of records in the \"sale.coupon.master\" entity. The request is indicating that it wants to retrieve the values of the \"name\" attribute for the matching records.</li>\n<li><strong>\"image\":</strong> Indicates the image associated with the coupon. This field might contain a reference or path to the coupon's image file.</li>\n<li><strong>\"description\":</strong> Specifies the description of the coupon, providing additional information or details about the coupon's offer or terms.</li>\n<li><strong>\"expiry_date\":</strong> Represents the date on which the coupon expires. This field typically holds a date value, indicating when the coupon is no longer valid.</li>\n<li><strong>\"use_duration\":</strong> Indicates the duration for which the coupon can be used. It might specify the number of days or hours during which the coupon remains valid.</li>\n<li><strong>\"hide_date\":</strong> Represents the date when the coupon is hidden or no longer displayed to users. This field can be useful for managing the visibility of coupons on a platform.</li>\n<li><strong>\"active\":</strong> Indicates whether the coupon is currently active or not. This field is often a boolean value (true or false) that signifies whether the coupon can be used at the present time.</li>\n</ol>\n</li>\n<li><strong>{ \"count\": true, \"order\": null, \"offset\": 0, \"limit\": 100, \"context\": {} }:</strong> This constitutes the fourth parameter, presenting a dictionary containing additional options for the search_read operation:<ol>\n<li><strong>\"count\": true:</strong> This option indicates that the request seeks to determine the total count of records matching the specified criteria. It facilitates the counting of active coupons records.</li>\n<li><strong>\"order\": null:</strong> The \"order\" option is set to null, signifying that no particular sorting order is defined for the retrieved records. They will be returned without any specific order.</li>\n<li><strong>\"offset\": 0:</strong> This option specifies that the request should commence retrieving records from the beginning (offset 0) of the result set.</li>\n<li><strong>\"limit\": 100:</strong> The \"limit\" option sets a limit of 100 records to be fetched in a single request. If there are more matching records, additional requests may be needed.</li>\n<li><strong>\"context\": {}:</strong> This section of the dictionary is typically employed to convey additional context or settings to the operation. However, in this request, it remains empty, indicating that no specific context is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"sale.coupon.master\" entity. It retrieves records with a specific condition (active coupons), specifies the fields to retrieve, counts the total number of active coupons, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 active coupons. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"5ff915d3-241b-4ded-ad83-476381f5e4eb","name":"New Request","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694671310298,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.coupon.master\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    [\r\n                        \"active\",\r\n                        \"=\",\r\n                        true\r\n                    ]\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"image\",\r\n                \"description\",\r\n                \"expiry_date\",\r\n                \"use_duration\",\r\n                \"hide_date\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-14 11:00:55\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 14 Sep 2023 06:04:02 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=c2uuAfcZplwqul33WDD5wwm0H7hrquYSAbKrLQ1dEFzR5n7zs7frpNrSJP2zXB%2BAAYo2MT9yp2DkAVBqRKF6oTfxlTZJrTX%2BiNXK4%2B4otYD5ATH1B2xBp5P2%2BGqPUBJlykbr46O2H2XmA5kWdA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80666e1f2c67715c-DUS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1694671310298,\n    \"dt\": 9\n}"}],"_postman_id":"a6f25be5-78a4-44bb-953b-c15863e6f808"}],"id":"448fec86-b4cf-4595-8b51-04226fd7d968","_postman_id":"448fec86-b4cf-4595-8b51-04226fd7d968","description":""},{"name":"Coupons","item":[{"name":"params/inline.help/search_read","id":"e13b08db-9ae3-4604-b69a-19659e9035ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694674049955,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"coupon\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-14 11:46:08\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"coupon\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"inline.help,\" which likely refers to a module or entity related to providing inline help or assistance within the system.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[\"action\", \"=\", \"coupon\"]]:</strong> This is the third parameter, which consists of a single list:<ol>\n<li>The list, <code>[[\"action\", \"=\", \"coupon\"]]</code>, forms the search domain. It contains one condition: <code>[\"action\", \"=\", \"coupon\"]</code>, which filters records where the \"action\" attribute equals \"coupon.\" This condition narrows down the selection to records where the action is related to \"coupon.\"<ol>\n<li>\"action\": This represents a field or attribute within the entity being searched. In this case, it refers to the \"action\" attribute, which is likely used to categorize or describe different types of actions or help topics.</li>\n<li>\"=\": This is an operator used in the condition and signifies equality. It's used to compare the field on the left with the value on the right to check if they are equal.</li>\n<li>\"coupon\": This is the value against which the \"action\" field is being compared. In this condition, it's checking if the \"action\" field is equal to the value \"coupon.\"</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>{}:</strong> This is the fourth parameter and represents an empty dictionary. In Odoo and similar systems, this section can be used to pass additional options or context information to the search_read operation. In this specific request, no additional context or options are provided.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity, which likely relates to providing inline help or assistance. It filters records where the \"action\" attribute is equal to \"coupon,\" indicating a specific type of action or help topic related to coupons. No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"570d8fcc-6c44-4423-be4a-4f18c9c97df8","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694674049955,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"coupon\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-14 11:46:08\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 14 Sep 2023 07:03:19 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=jgTewGLC5CZJu0btXnOK0dXmuzEeQ087DG7pFTkcD8MDMpFW%2Bq1C0xJvhBaT22t0HRhSo%2BAubFuA2125I6pn3nfs3%2B%2Fuv%2Bc47F5sdehVKOAKzwgmNP2Q6rWcAUiFUmjugoO0Fx8zLNdtJ1%2FqgA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8066c4fa9e18b716-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694674049955,\n    \"dt\": 24\n}"}],"_postman_id":"e13b08db-9ae3-4604-b69a-19659e9035ee"},{"name":"params/sale.coupon/search_read","id":"200f3d3b-e8c9-4f2a-99a7-28b5594c81fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694674049966,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.coupon\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"master_id\",\r\n                \"contact_id\",\r\n                \"code\",\r\n                \"create_time\",\r\n                \"expiry_date\",\r\n                \"use_date\",\r\n                \"use_duration\",\r\n                \"hide_date\",\r\n                \"state\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-14 11:46:08\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"sale.coupon\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[]<strong><strong>],<strong><strong>[</strong></strong>\"master_id\",</strong></strong>\"contact_id\",<strong><strong>\"code\",</strong></strong>\"create_time\",<strong><strong>\"expiry_date\",</strong></strong>\"use_date\",<strong><strong>\"use_duration\",</strong></strong>\"hide_date\",<strong><strong>\"state\",</strong></strong>\"active\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"order\": null,</strong></strong>\"offset\": 0,<strong><strong>\"limit\": 100,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"sale.coupon\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"sale.coupon,\" which likely refers to a module or entity related to coupons within the sales module.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li>a. The first list, <code>[[]]</code>, forms the search domain. It contains an empty inner list, <code>[]</code>. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved. In other words, this request aims to retrieve all records without any specific filtering criteria based on field values.</li>\n<li>The second list, <code>[\"master_id\", \"contact_id\", \"code\", \"create_time\", \"expiry_date\", \"use_date\", \"use_duration\", \"hide_date\", \"state\", \"active\"]</code>, specifies the fields (attributes) of the records to be included in the response. These attributes relate to coupon records that the request aims to retrieve:<ol>\n<li><strong>\"master_id\":</strong> This field likely represents an identifier or reference to the master coupon associated with the current coupon. It can be used to establish relationships between individual coupons and their master coupons if such a relationship exists in the system.</li>\n<li><strong>\"contact_id\":</strong> Indicates the contact or customer associated with the coupon. This field typically holds a reference or identifier to the customer or contact entity, linking the coupon to the customer who received or used it.</li>\n<li><strong>\"code\":</strong> Represents the unique code or identifier of the coupon. This code is typically used for redeeming the coupon during a purchase or transaction. It provides a way to uniquely identify and apply the coupon's benefits.</li>\n<li><strong>\"create_time\":</strong> Indicates the timestamp or date and time when the coupon was created. This field captures the moment when the coupon record was added to the system, helping track its creation history.</li>\n<li><strong>\"expiry_date\":</strong> Represents the date on which the coupon expires. This field holds a date value, indicating when the coupon is no longer valid for use. After the expiry date, the coupon may no longer provide discounts or benefits.</li>\n<li><strong>\"use_date\":</strong> Specifies the date when the coupon was used. This field records the date on which the coupon was redeemed or applied in a transaction. It helps track when customers utilize their coupons.</li>\n<li><strong>\"use_duration\":</strong> Indicates the duration for which the coupon can be used. This field might specify the number of days or hours during which the coupon remains valid after its first use. It provides information about the usage window for the coupon.</li>\n<li><strong>\"hide_date\":</strong> Represents the date when the coupon is hidden or no longer displayed to users. This field can be useful for managing the visibility of coupons on a platform. Coupons might be hidden after a certain date, making them unavailable for users to discover or use.</li>\n<li><strong>\"state\":</strong> Represents the current state or status of the coupon. It likely reflects whether the coupon is in an active, expired, used, or other state. States help manage the lifecycle of coupons and determine their eligibility for use.</li>\n<li><strong>\"active\":</strong> Indicates whether the coupon is currently active or not. This field is often a boolean value (true or false) that signifies whether the coupon can be used at the present time. If \"active\" is true, the coupon is currently valid; if false, it may have expired or been deactivated.</li>\n</ol>\n</li>\n<li><strong>{\"count\": true, \"order\": null, \"offset\": 0, \"limit\": 100, \"context\": {}}:</strong> This is the fourth parameter and represents a dictionary with various options:<ol>\n<li><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. In this case, it counts all the coupons.</li>\n<li><strong>\"order\": null:</strong> Indicates that no specific sorting order is applied to the retrieved records, meaning the results will not be sorted in any particular order.</li>\n<li><strong>\"offset\": 0:</strong> Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0) of the result set.</li>\n<li><strong>\"limit\": 100:</strong> The \"limit\" option sets a limit of 100 records to be fetched in a single request. If there are more matching records, additional requests may be needed.</li>\n<li><strong>\"context\": {}:</strong> Represents an empty context, which can be used to pass additional options or context information to the search_read operation. In this request, no additional context is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"sale.coupon\" entity, which relates to coupons within the sales module. It retrieves all records without any specific filtering criteria based on field values, specifies the attributes of these records to include in the response, requests the total count of all coupons, leaves the sorting order undefined, starts from the beginning, and limits the retrieval to a maximum of 100 coupons. No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"6a7a06fd-83eb-45c8-bc61-b38810f4b8ae","name":"params/sale.coupon/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694674049966,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.coupon\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"master_id\",\r\n                \"contact_id\",\r\n                \"code\",\r\n                \"create_time\",\r\n                \"expiry_date\",\r\n                \"use_date\",\r\n                \"use_duration\",\r\n                \"hide_date\",\r\n                \"state\",\r\n                \"active\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-14 11:46:08\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 14 Sep 2023 07:12:34 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=lpJxaXczrJufxTFod9i2glberBUaVVkeyFLab%2FqDLTcz0Qxfk7HqzCtH54q1VCBagH8BUwSL9%2FoVs8CosBf7hUTPdjeLWLiCVy9MtFfLJsuqTQcCjbsOo9oFGVl0CuWK%2FFs2rbCUkd757qKq8Q%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8066d2855f4ab7d9-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1694674049966,\n    \"dt\": 9\n}"}],"_postman_id":"200f3d3b-e8c9-4f2a-99a7-28b5594c81fb"}],"id":"128ad9f5-c5f4-4083-853a-952c42532cac","_postman_id":"128ad9f5-c5f4-4083-853a-952c42532cac","description":""},{"name":"Events","item":[{"name":"params/inline.help/search_read","id":"d3981530-5749-43f6-9733-fdf7c70f29a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694678465741,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_event\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-14 13:00:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"sale_event\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"inline.help,\" which likely refers to a module or entity related to providing inline help or assistance within the system. This module or entity is responsible for delivering contextual information or guidance to users.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[\"action\", \"=\", \"sale_event\"]]:</strong> This is the third parameter, which consists of a single list:<ol>\n<li>The list, <code>[[\"action\", \"=\", \"sale_event\"]]</code>, forms the search domain. It contains one condition: <code>[\"action\", \"=\", \"sale_event\"]</code>, which filters records where the \"action\" attribute equals \"sale_event.\" This condition narrows down the selection to records associated with the \"sale_event\" action or topic within the inline help module.<ol>\n<li><strong>\"action\":</strong> This represents a field or attribute within the entity being searched. In this case, it refers to the \"action\" attribute, which is likely used to categorize or describe different types of actions or help topics.</li>\n<li><strong>\"=\":</strong> This is an operator used in the condition and signifies equality. It's used to compare the field on the left with the value on the right to check if they are equal.</li>\n<li><strong>\"sale_event\":</strong> This is the value against which the \"action\" field is being compared. In this condition, it's checking if the \"action\" field is equal to the value \"sale_event.\"</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>{}:</strong> This is the fourth parameter and represents an empty dictionary. In Odoo and similar systems, this section can be used to pass additional options or context information to the search_read operation. In this specific request, no additional context or options are provided.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity, which is responsible for providing inline help or assistance within the system. It filters records related to the \"sale_event\" action or topic within the inline help module. No additional context or options are provided in this request, indicating a straightforward retrieval of records related to this specific help topic.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"47ed6c21-7e66-44f4-acfc-ea407caa30f1","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694678465741,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_event\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-14 13:00:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 14 Sep 2023 08:04:08 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=ZmLDT%2F0aKw3%2B8Z0HCHpXcRpq5er%2BcthB%2F293Ya34OYgU0iKmZ4BMMZMUeskh8VrIZ3q0DUqGay2PN01Q%2F4uPTx%2F6bnWkbXlUlyasREmhW%2Bdfxy691klOZXjp4Xfl6QudAvtR6pRP7PK4u5Qscg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80671e0eee12b920-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694678465741,\n    \"dt\": 10\n}"}],"_postman_id":"d3981530-5749-43f6-9733-fdf7c70f29a2"},{"name":"params/sale.event/search_read","id":"0f3e2227-78f6-4a7c-8418-e77adb11b75b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694678465750,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.event\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-14 13:00:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"sale.event\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"name\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"count\": true,</strong></strong>\"order\": null,<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"sale.event\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"sale.event,\" which likely refers to a module or entity related to events within the sales module. These events could be related to sales promotions, campaigns, or other activities.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li>The first list, <code>[]</code>, forms the search domain. It contains an empty inner list, <code>[]</code>. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved. In other words, this request aims to retrieve all records without any specific filtering criteria based on field values.</li>\n<li>The second list, <code>[\"name\"]</code>, specifies the fields (attributes) of the records to be included in the response. In this case, it specifies only one field:<ol>\n<li>\"name\": This is the field or attribute within the \"sale.event\" entity that you want to retrieve. It typically represents the name or title of the events.</li>\n</ol>\n</li>\n<li><strong>{\"count\": true, \"order\": null, \"offset\": 0, \"limit\": 100, \"context\": {}}:</strong> This is the fourth parameter and represents a dictionary with various options:<ol>\n<li><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. In this case, it counts all the events within the \"sale.event\" entity.</li>\n<li><strong>\"order\": null:</strong> Indicates that no specific sorting order is applied to the retrieved records, meaning the results will not be sorted in any particular order.</li>\n<li><strong>\"offset\": 0:</strong> Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0) of the result set.</li>\n<li><strong>\"limit\": 100:</strong> The \"limit\" option sets a limit of 100 records to be fetched in a single request. If there are more matching records, additional requests may be needed.</li>\n<li><strong>\"context\": {}:</strong> Represents an empty context, which can be used to pass additional options or context information to the search_read operation. In this request, no additional context or options are provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"sale.event\" entity, which likely represents events within the sales module. It retrieves all records without any specific filtering criteria based on field values, specifies that only the \"name\" field should be included in the response, requests the total count of all events, leaves the sorting order undefined, starts from the beginning, and limits the retrieval to a maximum of 100 events. No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"880d72f9-3dca-4a41-8bd7-746fbc385eeb","name":"params/sale.event/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694678465750,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.event\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-14 13:00:45\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 14 Sep 2023 08:14:11 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=vkJfeSAsYolgoI%2BChg%2BCQ6QsKdiCFzcwkcgvmxT9GVy86itOB2e%2BJ7yifMuWqOTUwdITqpGLDhobS30GQKGm0RTTY6gBwys%2BOGFzGWKxuPsk61jCccJ8BM8DqNPdvMk3j5AvYo2RT44l7pjmiw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80672cc80d461ec2-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1694678465750,\n    \"dt\": 12\n}"}],"_postman_id":"0f3e2227-78f6-4a7c-8418-e77adb11b75b"}],"id":"b1886d52-1f7f-4be5-b651-9cfce6fcc3a5","_postman_id":"b1886d52-1f7f-4be5-b651-9cfce6fcc3a5","description":""},{"name":"Vouchers","item":[{"name":"params/inline.help/search_read","id":"d853fcd9-b59d-40df-b705-97b4825cbcbc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694680847688,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_voucher\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-14 13:40:27\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"sale_voucher\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"inline.help,\" which likely refers to a module or entity responsible for providing inline help or assistance within the system. This module is designed to offer users guidance and information related to various topics.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[\"action\", \"=\", \"sale_voucher\"]]:</strong> This is the third parameter, which consists of a single list:<ol>\n<li>The list, <code>[[\"action\", \"=\", \"sale_voucher\"]]</code>, forms the search domain. It contains one condition: <code>[\"action\", \"=\", \"sale_voucher\"]</code>, which filters records where the \"action\" attribute equals \"sale_voucher.\" This condition narrows down the selection to records associated with the \"sale_voucher\" action or topic within the inline help module.<ol>\n<li><strong>\"action\":</strong> This represents a field or attribute within the entity being searched. In this case, it refers to the \"action\" attribute, which is likely used to categorize or describe different types of actions or help topics.</li>\n<li><strong>\"=\":</strong> This is an operator used in the condition and signifies equality. It's used to compare the field on the left with the value on the right to check if they are equal.</li>\n<li><strong>\"sale_voucher\":</strong> This is the value against which the \"action\" field is being compared. In this condition, it's checking if the \"action\" field is equal to the value \"sale_voucher.\"</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>{}:</strong> This is the fourth parameter and represents an empty dictionary. In Odoo and similar systems, this section can be used to pass additional options or context information to the search_read operation. In this specific request, no additional context or options are provided.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity, which is responsible for providing inline help or assistance within the system. It filters records related to the \"sale_voucher\" action or topic within the inline help module. No additional context or options are provided in this request, indicating a straightforward retrieval of records related to this specific help topic related to sale vouchers.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"2bf9b6f6-bb39-4c27-b837-c3f92113f316","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694680847688,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_voucher\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-14 13:40:27\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 14 Sep 2023 08:41:42 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=FjQ%2BJIaKizPjc%2Boj5M%2F9wwoXYvoKA9XryQGIeczMzs4KsvRVBceAjLrvXkm%2B4D%2FA%2FhFz%2F1HP%2FLBQTpS0bbLvn60Ju1ClOICFrsm1I7r6SGshIWim20cCkBAIKAe3Z73Gd2mkRFEjIZJM%2FCFVnQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"806755182ac70b84-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1694680847688,\n    \"dt\": 11\n}"}],"_postman_id":"d853fcd9-b59d-40df-b705-97b4825cbcbc"},{"name":"params/sale.voucher/search_read","id":"db4ccd55-cad6-46fa-b8bb-60614cb4da28","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694765115924,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.voucher\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    [\r\n                        \"state\",\r\n                        \"=\",\r\n                        \"active\"\r\n                    ]\r\n                ]\r\n            ],\r\n            [\r\n                \"sequence\",\r\n                \"code\",\r\n                \"description\",\r\n                \"benefit_type\",\r\n                \"new_customer\",\r\n                \"max_orders_per_customer\",\r\n                \"expire_date\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-15 13:04:35\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"sale.voucher\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>[</strong></strong>\"state\",<strong><strong>\"=\",</strong></strong>\"active\"<strong><strong>]</strong></strong>]<strong><strong>],<strong><strong>[</strong></strong>\"sequence\",</strong></strong>\"code\",<strong><strong>\"description\",</strong></strong>\"benefit_type\",<strong><strong>\"new_customer\",</strong></strong>\"max_orders_per_customer\",<strong><strong>\"expire_date\",</strong></strong>\"state\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"order\": null,</strong></strong>\"offset\": 0,<strong><strong>\"limit\": 100,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"sale.voucher\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"sale.voucher,\" which likely refers to a module or entity related to vouchers within the sales module. Vouchers are often used to provide discounts or benefits to customers.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[[\"state\", \"=\", \"active\"]], [\"sequence\", \"code\", \"description\", \"benefit_type\", \"new_customer\", \"max_orders_per_customer\", \"expire_date\", \"state\"]]:</strong> This is the third parameter, which consists of two lists:a. The first list, <code>[[[\"state\", \"=\", \"active\"]]]</code>, forms the search domain. It contains one condition: <code>[\"state\", \"=\", \"active\"]</code>, which filters records where the \"state\" attribute equals \"active.\" This condition restricts the search to active vouchers, which are currently available for use.<ol>\n<li><strong>\"state\":</strong> This represents a field or attribute within the entity being searched. In this case, it refers to the \"state\" attribute, which is used to indicate the current status or condition of vouchers.</li>\n<li><strong>\"=\":</strong> This is an operator used in the condition and signifies equality. It's used to compare the field on the left with the value on the right to check if they are equal.</li>\n<li><strong>\"active\":</strong> This is the value against which the \"state\" field is being compared. In this condition, it's checking if the \"state\" field is equal to the value \"active.\"</li>\n</ol>\n</li>\n<li>The second list, <code>[\"sequence\", \"code\", \"description\", \"benefit_type\", \"new_customer\", \"max_orders_per_customer\", \"expire_date\", \"state\"]</code>, specifies the fields (attributes) of the records to be included in the response. These attributes relate to voucher records that the request aims to retrieve:<ol>\n<li><strong>\"sequence\":</strong> Likely represents a numerical sequence or identifier for vouchers. It provides a way to uniquely identify or order vouchers, which can be useful for administrative purposes.</li>\n<li><strong>\"code\":</strong> Represents the unique code or identifier of the voucher. This code is typically used by customers during the checkout process to redeem the voucher's benefits, such as discounts or promotions.</li>\n<li><strong>\"description\":</strong> Provides a textual description or details about the voucher. It may include information about the voucher's terms, conditions, and benefits, helping customers understand its usage.</li>\n<li><strong>\"benefit_type\":</strong> Indicates the type of benefit provided by the voucher. This field specifies the nature of the voucher's offer, which could include discounts, free items, or other promotions. It helps categorize and communicate the voucher's purpose.</li>\n<li><strong>\"new_customer\":</strong> This field is likely a boolean attribute that indicates whether the voucher is available to new customers only. If it's set to true, the voucher may be restricted to first-time customers as an incentive to attract new business.</li>\n<li><strong>\"max_orders_per_customer\":</strong> Specifies the maximum number of orders a customer can place using this voucher. It limits the usage of the voucher by a single customer, preventing abuse or overuse.</li>\n<li><strong>\"expire_date\":</strong> Represents the date on which the voucher expires and can no longer be used. It indicates the cutoff date for redeeming the voucher's benefits.</li>\n<li><strong>\"state\":</strong> Indicates the current state or status of the voucher. In this specific request, it's filtered to \"active,\" meaning it retrieves only vouchers that are currently available and can be used. Voucher states may include \"active,\" \"expired,\" \"used,\" and other statuses that reflect their lifecycle.</li>\n</ol>\n</li>\n<li><strong>{\"count\": true, \"order\": null, \"offset\": 0, \"limit\": 100, \"context\": {}}:</strong> This is the fourth parameter and represents a dictionary with various options:<ol>\n<li><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. In this case, it counts all the active vouchers.</li>\n<li><strong>\"order\": null:</strong> Indicates that no specific sorting order is applied to the retrieved records, meaning the results will not be sorted in any particular order.</li>\n<li><strong>\"offset\": 0:</strong> Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0) of the result set.</li>\n<li><strong>\"limit\": 100:</strong> The \"limit\" option sets a limit of 100 records to be fetched in a single request. If there are more matching records, additional requests may be needed.</li>\n<li><strong>\"context\": {}:</strong> Represents an empty context, which can be used to pass additional options or context information to the search_read operation. In this request, no additional context or options are provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"sale.voucher\" entity, which relates to vouchers within the sales module. It retrieves active vouchers by filtering based on the \"state\" attribute, specifies the attributes of these vouchers to include in the response, requests the total count of active vouchers, leaves the sorting order undefined, starts from the beginning, and limits the retrieval to a maximum of 100 vouchers. No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"41f7df53-b906-4ee5-acf9-12eef04a0dbe","name":"params/sale.voucher/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1694762467585,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.voucher\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    [\r\n                        \"state\",\r\n                        \"=\",\r\n                        \"active\"\r\n                    ]\r\n                ]\r\n            ],\r\n            [\r\n                \"sequence\",\r\n                \"code\",\r\n                \"description\",\r\n                \"benefit_type\",\r\n                \"new_customer\",\r\n                \"max_orders_per_customer\",\r\n                \"expire_date\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-15 12:20:48\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 15 Sep 2023 07:22:27 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=sv4MP2BxeoKq3W4d2Sw3M3rB9%2BqQd%2FdResN77H1ToyM5HZhusZ3rZmWQVxR%2BdxlTS8YklaSkkbYXAmKhihrAXsDFISJevVrje2n9QwzxkZZY0ac7NjyfQWjhoLxucwVcI%2BTyfJFicOVe6MQnTg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"806f1e611b430a47-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1694762467585,\n    \"dt\": 6\n}"}],"_postman_id":"db4ccd55-cad6-46fa-b8bb-60614cb4da28"}],"id":"5057ab94-c8cd-4c96-8e78-53ab79080938","_postman_id":"5057ab94-c8cd-4c96-8e78-53ab79080938","description":""}],"id":"e38aa8f6-28cb-4b67-b861-bda9253b09bf","_postman_id":"e38aa8f6-28cb-4b67-b861-bda9253b09bf","description":""},{"name":"Reports","item":[{"name":"Leads Analysis","item":[{"name":"params/sale.lead/search_read_path","id":"a756a938-424d-4d87-9b7e-6b0ab4299c26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695008452857,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.lead\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"lead_source\",\r\n                \"industry\",\r\n                \"user_id.name\",\r\n                \"date\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 08:40:29\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"sale.lead\",<strong>**\"search_read_path\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"lead_source\",**</strong>\"industry\",<strong><strong>\"user_id.name\",</strong></strong>\"date\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"limit\": 1000,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"sale.lead\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"sale.lead,\" which likely refers to a module or entity related to sales leads or opportunities. Sales leads typically represent potential customers or businesses that may be interested in your products or services.</li>\n<li><strong>\"search_read_path\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read_path\" appears to be a specific action or method used in the system. While \"search_read\" is commonly used for retrieving records based on criteria, \"search_read_path\" might indicate a custom or extended functionality for retrieving records in a specific manner.</li>\n<li><strong>[[], [\"lead_source\", \"industry\", \"user_id.name\", \"date\"]]:</strong> This is the third parameter, which consists of two lists:</li>\n<li>The first list, <code>[]</code>, forms the search domain. It contains an empty inner list, <code>[]</code>. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved. This implies that the request aims to retrieve all records without any specific filtering criteria based on field values.</li>\n<li>The second list, <code>[\"lead_source\", \"industry\", \"user_id.name\", \"date\"]</code>, specifies the fields (attributes) of the records to be included in the response. These attributes relate to lead records that the request aims to retrieve:<ol>\n<li><strong>\"lead_source\":</strong> Represents the source or origin of the sales lead. It indicates how the lead was generated or where it came from.</li>\n<li><strong>\"industry\":</strong> Likely represents the industry or sector to which the sales lead belongs. It helps categorize leads based on their business focus.</li>\n<li><strong>\"user_id.name\":</strong> This appears to be a nested field, where \"user_id\" is a reference to a user associated with the lead, and \"name\" is a field within that user record. It may represent the name of the user responsible for managing the lead.</li>\n<li><strong>\"date\":</strong> Represents a date attribute, which might indicate the date when the lead was created or last updated.</li>\n</ol>\n</li>\n<li><strong>{\"count\": true, \"limit\": 1000, \"context\": {}}:</strong> This is the fourth parameter and represents a dictionary with various options:<ol>\n<li><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. It facilitates the counting of sales leads.</li>\n<li><strong>\"limit\": 1000:</strong> The \"limit\" option sets a limit of 1000 records to be fetched in a single request. If there are more matching records, additional requests may be needed to retrieve them.</li>\n<li><strong>\"context\": {}:</strong> Represents an empty context, which can be used to pass additional options or context information to the search_read_path operation. In this request, no additional context or options are provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"sale.lead\" entity, likely related to sales leads or opportunities. It retrieves all lead records without any specific filtering criteria based on field values and specifies the attributes of these leads to include in the response. Additionally, it requests the total count of all leads, sets a limit of 1000 records for retrieval, and does not provide any additional context or options.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"6f506aac-b990-40c1-99d1-6bb649b3bf5a","name":"params/sale.lead/search_read_path","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695008452857,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.lead\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"lead_source\",\r\n                \"industry\",\r\n                \"user_id.name\",\r\n                \"date\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 08:40:29\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 18 Sep 2023 04:02:46 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=XlsrqPcJ32%2FokTZBOiUcMKfWzYDYRBUiSE7eQdB%2BiGOoDwfzG9jdH2o%2B8KJHq2iCbqkv%2FtA%2Bb7O5c2S0SAFwsPRFKbTFJUiy57hHwl7vDhF9fB2i4ELJ6Oi97NlI6iWtDaztQnh2BF%2Bwdny41Q%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8086b1fb39f3d1f0-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 21487,\n                \"date\": \"2023-09-14\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21486,\n                \"date\": \"2023-09-14\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21485,\n                \"date\": \"2023-09-14\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21484,\n                \"date\": \"2023-09-11\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21482,\n                \"date\": \"2023-09-07\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21480,\n                \"date\": \"2023-09-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21479,\n                \"date\": \"2023-09-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21481,\n                \"date\": \"2023-08-30\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21478,\n                \"date\": \"2023-08-30\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21477,\n                \"date\": \"2023-08-28\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21483,\n                \"date\": \"2023-08-25\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21476,\n                \"date\": \"2023-08-25\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21475,\n                \"date\": \"2023-08-24\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21474,\n                \"date\": \"2023-08-24\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21473,\n                \"date\": \"2023-08-23\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21472,\n                \"date\": \"2023-08-23\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21471,\n                \"date\": \"2023-08-23\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21470,\n                \"date\": \"2023-08-23\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21469,\n                \"date\": \"2023-08-23\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21468,\n                \"date\": \"2023-08-23\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21467,\n                \"date\": \"2023-08-18\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21466,\n                \"date\": \"2023-08-15\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21465,\n                \"date\": \"2023-08-14\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21464,\n                \"date\": \"2023-08-11\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21462,\n                \"date\": \"2023-08-11\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21463,\n                \"date\": \"2023-08-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21461,\n                \"date\": \"2023-08-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21460,\n                \"date\": \"2023-08-08\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21459,\n                \"date\": \"2023-08-03\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21458,\n                \"date\": \"2023-08-03\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21457,\n                \"date\": \"2023-08-02\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21456,\n                \"date\": \"2023-08-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21455,\n                \"date\": \"2023-08-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21454,\n                \"date\": \"2023-08-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21453,\n                \"date\": \"2023-07-31\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21452,\n                \"date\": \"2023-07-27\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21451,\n                \"date\": \"2023-07-27\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21450,\n                \"date\": \"2023-07-25\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21449,\n                \"date\": \"2023-07-24\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21448,\n                \"date\": \"2023-07-21\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21447,\n                \"date\": \"2023-07-18\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21446,\n                \"date\": \"2023-07-17\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21445,\n                \"date\": \"2023-07-17\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21444,\n                \"date\": \"2023-07-13\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21443,\n                \"date\": \"2023-07-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21442,\n                \"date\": \"2023-07-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21441,\n                \"date\": \"2023-07-07\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21440,\n                \"date\": \"2023-07-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21439,\n                \"date\": \"2023-07-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21438,\n                \"date\": \"2023-07-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21437,\n                \"date\": \"2023-07-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21436,\n                \"date\": \"2023-07-03\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21435,\n                \"date\": \"2023-06-13\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21433,\n                \"date\": \"2023-06-08\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21434,\n                \"date\": \"2023-06-07\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21432,\n                \"date\": \"2023-06-07\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21431,\n                \"date\": \"2023-06-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21430,\n                \"date\": \"2023-06-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21429,\n                \"date\": \"2023-06-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21428,\n                \"date\": \"2023-06-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21427,\n                \"date\": \"2023-06-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21426,\n                \"date\": \"2023-06-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21425,\n                \"date\": \"2023-06-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21424,\n                \"date\": \"2023-06-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21423,\n                \"date\": \"2023-06-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21422,\n                \"date\": \"2023-06-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21421,\n                \"date\": \"2023-06-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21420,\n                \"date\": \"2023-05-30\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21419,\n                \"date\": \"2023-05-30\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21418,\n                \"date\": \"2023-05-30\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21417,\n                \"date\": \"2023-05-30\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21416,\n                \"date\": \"2023-05-30\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21415,\n                \"date\": \"2023-05-30\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21414,\n                \"date\": \"2023-05-30\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21413,\n                \"date\": \"2023-05-30\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21412,\n                \"date\": \"2023-05-30\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21411,\n                \"date\": \"2023-05-22\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21410,\n                \"date\": \"2023-05-22\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21409,\n                \"date\": \"2023-05-22\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21408,\n                \"date\": \"2023-05-22\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21407,\n                \"date\": \"2023-05-22\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21406,\n                \"date\": \"2023-05-22\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21405,\n                \"date\": \"2023-05-22\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21404,\n                \"date\": \"2023-05-15\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21403,\n                \"date\": \"2023-05-15\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21402,\n                \"date\": \"2023-05-15\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21401,\n                \"date\": \"2023-05-15\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21400,\n                \"date\": \"2023-05-15\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21399,\n                \"date\": \"2023-05-04\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21398,\n                \"date\": \"2023-04-28\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21395,\n                \"date\": \"2023-04-28\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21397,\n                \"date\": \"2023-04-24\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21396,\n                \"date\": \"2023-04-21\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21394,\n                \"date\": \"2023-04-17\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21393,\n                \"date\": \"2023-04-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21392,\n                \"date\": \"2023-04-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21391,\n                \"date\": \"2023-04-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21390,\n                \"date\": \"2023-04-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21389,\n                \"date\": \"2023-04-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21388,\n                \"date\": \"2023-03-30\",\n                \"lead_source\": null,\n                \"industry\": \"Manufacturing \",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21387,\n                \"date\": \"2023-03-29\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21386,\n                \"date\": \"2023-03-29\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21385,\n                \"date\": \"2023-03-21\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21384,\n                \"date\": \"2023-03-21\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21383,\n                \"date\": \"2023-03-21\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21382,\n                \"date\": \"2023-03-21\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21381,\n                \"date\": \"2023-03-21\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21380,\n                \"date\": \"2023-03-21\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21379,\n                \"date\": \"2023-03-21\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21378,\n                \"date\": \"2023-03-16\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21377,\n                \"date\": \"2023-03-15\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21376,\n                \"date\": \"2023-03-14\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21372,\n                \"date\": \"2023-03-02\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21371,\n                \"date\": \"2023-03-02\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21370,\n                \"date\": \"2023-03-02\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21369,\n                \"date\": \"2023-03-02\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21368,\n                \"date\": \"2023-03-02\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21367,\n                \"date\": \"2023-03-02\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21366,\n                \"date\": \"2023-03-02\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21365,\n                \"date\": \"2023-03-02\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21375,\n                \"date\": \"2023-03-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21374,\n                \"date\": \"2023-03-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21373,\n                \"date\": \"2023-02-28\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21364,\n                \"date\": \"2023-02-23\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21363,\n                \"date\": \"2023-02-22\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21362,\n                \"date\": \"2023-02-20\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21361,\n                \"date\": \"2023-02-20\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21360,\n                \"date\": \"2023-02-13\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21359,\n                \"date\": \"2023-02-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21358,\n                \"date\": \"2023-02-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21357,\n                \"date\": \"2023-02-09\",\n                \"lead_source\": null,\n                \"industry\": \"Education\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21356,\n                \"date\": \"2023-02-07\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21355,\n                \"date\": \"2023-02-02\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21354,\n                \"date\": \"2023-02-02\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21353,\n                \"date\": \"2023-02-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21352,\n                \"date\": \"2023-02-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21351,\n                \"date\": \"2023-02-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21350,\n                \"date\": \"2023-01-31\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21349,\n                \"date\": \"2023-01-31\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21348,\n                \"date\": \"2023-01-19\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21347,\n                \"date\": \"2023-01-19\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21346,\n                \"date\": \"2023-01-17\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21345,\n                \"date\": \"2023-01-16\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21343,\n                \"date\": \"2023-01-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21342,\n                \"date\": \"2023-01-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21341,\n                \"date\": \"2023-01-11\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21340,\n                \"date\": \"2023-01-11\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21344,\n                \"date\": \"2023-01-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21338,\n                \"date\": \"2023-01-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21339,\n                \"date\": \"2023-01-04\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21336,\n                \"date\": \"2022-12-22\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21331,\n                \"date\": \"2022-12-19\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21335,\n                \"date\": \"2022-12-15\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21333,\n                \"date\": \"2022-12-15\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21332,\n                \"date\": \"2022-12-15\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21334,\n                \"date\": \"2022-12-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21330,\n                \"date\": \"2022-12-08\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21329,\n                \"date\": \"2022-12-08\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21327,\n                \"date\": \"2022-12-08\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21326,\n                \"date\": \"2022-12-08\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21325,\n                \"date\": \"2022-12-08\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21324,\n                \"date\": \"2022-12-08\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21323,\n                \"date\": \"2022-12-08\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21337,\n                \"date\": \"2022-12-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21328,\n                \"date\": \"2022-12-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21322,\n                \"date\": \"2022-12-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21320,\n                \"date\": \"2022-12-05\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21321,\n                \"date\": \"2022-12-04\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21317,\n                \"date\": \"2022-11-24\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21318,\n                \"date\": \"2022-11-23\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21316,\n                \"date\": \"2022-11-23\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21310,\n                \"date\": \"2022-11-14\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21313,\n                \"date\": \"2022-11-09\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21309,\n                \"date\": \"2022-11-08\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21319,\n                \"date\": \"2022-11-07\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21308,\n                \"date\": \"2022-11-07\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21307,\n                \"date\": \"2022-11-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21306,\n                \"date\": \"2022-11-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21305,\n                \"date\": \"2022-10-27\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21304,\n                \"date\": \"2022-10-25\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21315,\n                \"date\": \"2022-10-18\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21314,\n                \"date\": \"2022-10-18\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21312,\n                \"date\": \"2022-10-18\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21311,\n                \"date\": \"2022-10-18\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21303,\n                \"date\": \"2022-10-14\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21302,\n                \"date\": \"2022-10-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21301,\n                \"date\": \"2022-10-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21300,\n                \"date\": \"2022-10-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21298,\n                \"date\": \"2022-10-11\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21297,\n                \"date\": \"2022-10-11\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21296,\n                \"date\": \"2022-10-11\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21295,\n                \"date\": \"2022-10-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21294,\n                \"date\": \"2022-10-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21293,\n                \"date\": \"2022-10-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21292,\n                \"date\": \"2022-10-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21291,\n                \"date\": \"2022-10-07\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21299,\n                \"date\": \"2022-10-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21290,\n                \"date\": \"2022-09-26\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21289,\n                \"date\": \"2022-09-26\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21287,\n                \"date\": \"2022-09-23\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21286,\n                \"date\": \"2022-09-22\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21284,\n                \"date\": \"2022-09-19\",\n                \"lead_source\": null,\n                \"industry\": \"Smart Homes\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21285,\n                \"date\": \"2022-09-14\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21283,\n                \"date\": \"2022-09-14\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21288,\n                \"date\": \"2022-09-09\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21281,\n                \"date\": \"2022-09-02\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21280,\n                \"date\": \"2022-09-02\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21279,\n                \"date\": \"2022-09-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21278,\n                \"date\": \"2022-09-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21277,\n                \"date\": \"2022-08-25\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21276,\n                \"date\": \"2022-08-24\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21275,\n                \"date\": \"2022-08-22\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21274,\n                \"date\": \"2022-08-17\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21273,\n                \"date\": \"2022-08-17\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21272,\n                \"date\": \"2022-08-17\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21271,\n                \"date\": \"2022-08-16\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21270,\n                \"date\": \"2022-08-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21268,\n                \"date\": \"2022-08-11\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21267,\n                \"date\": \"2022-08-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21265,\n                \"date\": \"2022-08-09\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21266,\n                \"date\": \"2022-08-05\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21264,\n                \"date\": \"2022-08-03\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21269,\n                \"date\": \"2022-08-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21263,\n                \"date\": \"2022-07-28\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21262,\n                \"date\": \"2022-07-28\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21261,\n                \"date\": \"2022-07-28\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21260,\n                \"date\": \"2022-07-26\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21258,\n                \"date\": \"2022-07-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21259,\n                \"date\": \"2022-07-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21257,\n                \"date\": \"2022-06-23\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21256,\n                \"date\": \"2022-06-22\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21255,\n                \"date\": \"2022-06-22\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21254,\n                \"date\": \"2022-06-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21253,\n                \"date\": \"2022-06-09\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21252,\n                \"date\": \"2022-06-09\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21250,\n                \"date\": \"2022-05-30\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21251,\n                \"date\": \"2022-05-27\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21249,\n                \"date\": \"2022-05-24\",\n                \"lead_source\": null,\n                \"industry\": \"Dentistry\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21248,\n                \"date\": \"2022-05-23\",\n                \"lead_source\": null,\n                \"industry\": \"Fashion\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21246,\n                \"date\": \"2022-05-16\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21245,\n                \"date\": \"2022-05-13\",\n                \"lead_source\": null,\n                \"industry\": \"Poliklinik\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21243,\n                \"date\": \"2022-05-11\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21244,\n                \"date\": \"2022-04-29\",\n                \"lead_source\": null,\n                \"industry\": \"Egg hatchery Machine & parts\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21242,\n                \"date\": \"2022-04-29\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21241,\n                \"date\": \"2022-04-28\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21240,\n                \"date\": \"2022-04-21\",\n                \"lead_source\": null,\n                \"industry\": \"Raking system\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21239,\n                \"date\": \"2022-04-21\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21247,\n                \"date\": \"2022-04-20\",\n                \"lead_source\": null,\n                \"industry\": \"Construction\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21238,\n                \"date\": \"2022-04-20\",\n                \"lead_source\": null,\n                \"industry\": \"Furniture\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21237,\n                \"date\": \"2022-04-20\",\n                \"lead_source\": null,\n                \"industry\": \"Construction\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21236,\n                \"date\": \"2022-04-20\",\n                \"lead_source\": null,\n                \"industry\": \"Vehicle \",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21232,\n                \"date\": \"2022-04-13\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21233,\n                \"date\": \"2022-04-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21234,\n                \"date\": \"2022-04-11\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                }\n            },\n            {\n                \"id\": 21235,\n                \"date\": \"2022-04-07\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21231,\n                \"date\": \"2022-02-07\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21145,\n                \"date\": \"2021-11-05\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21144,\n                \"date\": \"2021-11-05\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21143,\n                \"date\": \"2021-11-02\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21142,\n                \"date\": \"2021-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21141,\n                \"date\": \"2021-09-24\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21140,\n                \"date\": \"2021-09-13\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21139,\n                \"date\": \"2021-09-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21138,\n                \"date\": \"2021-09-03\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21137,\n                \"date\": \"2021-09-03\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21136,\n                \"date\": \"2021-09-03\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21135,\n                \"date\": \"2021-09-03\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21134,\n                \"date\": \"2021-07-29\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 79,\n                    \"name\": \"James Lee\"\n                }\n            },\n            {\n                \"id\": 21133,\n                \"date\": \"2021-07-27\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21132,\n                \"date\": \"2021-07-21\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21131,\n                \"date\": \"2021-06-18\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21130,\n                \"date\": \"2021-05-24\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21129,\n                \"date\": \"2021-05-17\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21127,\n                \"date\": \"2021-04-30\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21126,\n                \"date\": \"2021-03-31\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21124,\n                \"date\": \"2021-03-30\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21122,\n                \"date\": \"2021-03-19\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21123,\n                \"date\": \"2021-03-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21121,\n                \"date\": \"2021-03-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21120,\n                \"date\": \"2021-03-09\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21119,\n                \"date\": \"2021-03-05\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21118,\n                \"date\": \"2021-03-03\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21117,\n                \"date\": \"2021-02-24\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21116,\n                \"date\": \"2021-02-23\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21115,\n                \"date\": \"2021-02-16\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21114,\n                \"date\": \"2021-01-27\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21125,\n                \"date\": \"2021-01-15\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21112,\n                \"date\": \"2021-01-15\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21111,\n                \"date\": \"2021-01-15\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21110,\n                \"date\": \"2021-01-15\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21109,\n                \"date\": \"2021-01-15\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21108,\n                \"date\": \"2021-01-15\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21107,\n                \"date\": \"2020-12-21\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21106,\n                \"date\": \"2020-12-07\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21105,\n                \"date\": \"2020-12-07\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21097,\n                \"date\": \"2020-11-17\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21096,\n                \"date\": \"2020-11-13\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21095,\n                \"date\": \"2020-11-11\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21094,\n                \"date\": \"2020-10-29\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21093,\n                \"date\": \"2020-10-27\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21092,\n                \"date\": \"2020-10-19\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21091,\n                \"date\": \"2020-10-16\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21090,\n                \"date\": \"2020-10-16\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21087,\n                \"date\": \"2020-10-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21086,\n                \"date\": \"2020-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21088,\n                \"date\": \"2020-09-29\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21089,\n                \"date\": \"2020-09-28\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21085,\n                \"date\": \"2020-09-16\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21084,\n                \"date\": \"2020-09-07\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21083,\n                \"date\": \"2020-09-03\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21081,\n                \"date\": \"2020-08-16\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 53,\n                    \"name\": \"Chiew Hao\"\n                }\n            },\n            {\n                \"id\": 21082,\n                \"date\": \"2020-08-15\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21080,\n                \"date\": \"2020-08-15\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 53,\n                    \"name\": \"Chiew Hao\"\n                }\n            },\n            {\n                \"id\": 21079,\n                \"date\": \"2020-08-13\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 53,\n                    \"name\": \"Chiew Hao\"\n                }\n            },\n            {\n                \"id\": 21078,\n                \"date\": \"2020-08-13\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 53,\n                    \"name\": \"Chiew Hao\"\n                }\n            },\n            {\n                \"id\": 21077,\n                \"date\": \"2020-08-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21076,\n                \"date\": \"2020-08-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21075,\n                \"date\": \"2020-08-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 53,\n                    \"name\": \"Chiew Hao\"\n                }\n            },\n            {\n                \"id\": 21074,\n                \"date\": \"2020-08-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 53,\n                    \"name\": \"Chiew Hao\"\n                }\n            },\n            {\n                \"id\": 21072,\n                \"date\": \"2020-08-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21071,\n                \"date\": \"2020-08-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 35,\n                    \"name\": \"Oliver\"\n                }\n            },\n            {\n                \"id\": 21070,\n                \"date\": \"2020-08-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21069,\n                \"date\": \"2020-08-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21068,\n                \"date\": \"2020-08-04\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21067,\n                \"date\": \"2020-07-30\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21066,\n                \"date\": \"2020-07-29\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21064,\n                \"date\": \"2020-07-22\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21073,\n                \"date\": \"2020-07-20\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21063,\n                \"date\": \"2020-07-20\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21061,\n                \"date\": \"2020-07-18\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21062,\n                \"date\": \"2020-07-16\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21060,\n                \"date\": \"2020-07-09\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21059,\n                \"date\": \"2020-07-08\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21058,\n                \"date\": \"2020-07-06\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21057,\n                \"date\": \"2020-07-03\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21055,\n                \"date\": \"2020-06-22\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21056,\n                \"date\": \"2020-06-19\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21054,\n                \"date\": \"2020-06-09\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21053,\n                \"date\": \"2020-06-01\",\n                \"lead_source\": null,\n                \"industry\": \"Manufacturing\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21052,\n                \"date\": \"2020-05-29\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21051,\n                \"date\": \"2020-05-27\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21050,\n                \"date\": \"2020-05-27\",\n                \"lead_source\": null,\n                \"industry\": \"Renovation\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21049,\n                \"date\": \"2020-05-20\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21048,\n                \"date\": \"2020-05-20\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21047,\n                \"date\": \"2020-05-13\",\n                \"lead_source\": null,\n                \"industry\": \"Construction\",\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21046,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21045,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21044,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21043,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21042,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21041,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21040,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21039,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21038,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21037,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21036,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21035,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21034,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21033,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21032,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21031,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21030,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21029,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21028,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21027,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21026,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21025,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21024,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21023,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21022,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21021,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21020,\n                \"date\": \"2020-05-12\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21019,\n                \"date\": \"2020-05-08\",\n                \"lead_source\": null,\n                \"industry\": \"Metal Recyling \",\n                \"user_id\": null\n            },\n            {\n                \"id\": 21018,\n                \"date\": \"2020-04-28\",\n                \"lead_source\": null,\n                \"industry\": \"Furniture\",\n                \"user_id\": null\n            },\n            {\n                \"id\": 21017,\n                \"date\": \"2020-04-17\",\n                \"lead_source\": null,\n                \"industry\": \"IT \",\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21016,\n                \"date\": \"2020-04-17\",\n                \"lead_source\": null,\n                \"industry\": \"IT \",\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21015,\n                \"date\": \"2020-04-17\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                }\n            },\n            {\n                \"id\": 21014,\n                \"date\": \"2020-03-09\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21013,\n                \"date\": \"2020-02-27\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21012,\n                \"date\": \"2020-02-26\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21011,\n                \"date\": \"2020-02-26\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21010,\n                \"date\": \"2020-02-20\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21009,\n                \"date\": \"2020-02-20\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21008,\n                \"date\": \"2020-02-19\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21007,\n                \"date\": \"2020-02-19\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21006,\n                \"date\": \"2020-02-18\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": null\n            },\n            {\n                \"id\": 21005,\n                \"date\": \"2020-02-18\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21003,\n                \"date\": \"2020-02-17\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21002,\n                \"date\": \"2020-02-17\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21001,\n                \"date\": \"2020-02-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21004,\n                \"date\": \"2020-02-07\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 21000,\n                \"date\": \"2020-02-07\",\n                \"lead_source\": null,\n                \"industry\": \"M&E\",\n                \"user_id\": null\n            },\n            {\n                \"id\": 20997,\n                \"date\": \"2020-01-21\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20996,\n                \"date\": \"2020-01-20\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20995,\n                \"date\": \"2020-01-16\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20994,\n                \"date\": \"2020-01-13\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 20993,\n                \"date\": \"2020-01-13\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                }\n            },\n            {\n                \"id\": 20992,\n                \"date\": \"2020-01-13\",\n                \"lead_source\": null,\n                \"industry\": \"F&B Industry\",\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20991,\n                \"date\": \"2020-01-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20990,\n                \"date\": \"2020-01-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20989,\n                \"date\": \"2020-01-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20988,\n                \"date\": \"2020-01-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20987,\n                \"date\": \"2020-01-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20986,\n                \"date\": \"2020-01-10\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20985,\n                \"date\": \"2020-01-02\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20984,\n                \"date\": \"2020-01-02\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20983,\n                \"date\": \"2020-01-02\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20981,\n                \"date\": \"2019-12-24\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20980,\n                \"date\": \"2019-12-24\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20979,\n                \"date\": \"2019-12-24\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20978,\n                \"date\": \"2019-12-24\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20977,\n                \"date\": \"2019-12-24\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20976,\n                \"date\": \"2019-12-23\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20975,\n                \"date\": \"2019-12-23\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20974,\n                \"date\": \"2019-12-23\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20973,\n                \"date\": \"2019-12-19\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20972,\n                \"date\": \"2019-12-19\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20971,\n                \"date\": \"2019-12-19\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20970,\n                \"date\": \"2019-12-19\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20969,\n                \"date\": \"2019-12-19\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20968,\n                \"date\": \"2019-12-19\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20967,\n                \"date\": \"2019-12-19\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20966,\n                \"date\": \"2019-12-19\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                }\n            },\n            {\n                \"id\": 20964,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20963,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20962,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20961,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20959,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20958,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20956,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20955,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20954,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20953,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20952,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20951,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20950,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20949,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20948,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20947,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20946,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20945,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20944,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20943,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20941,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20940,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20939,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20938,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20936,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20935,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20934,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20933,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20932,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20931,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20930,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20929,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20928,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20927,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20926,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20925,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20924,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20923,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20922,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20921,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20920,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20919,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20918,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20917,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20916,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20915,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20914,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20913,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20912,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20911,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20910,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20909,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20908,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20907,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20906,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20905,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20904,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20903,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20901,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20900,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20899,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20898,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20897,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20896,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20895,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20893,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20892,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20891,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20890,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20889,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20888,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20887,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20886,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20885,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20884,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20883,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20882,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20881,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20880,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20879,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20878,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20877,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20875,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20874,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20873,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20872,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20871,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20870,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20869,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20868,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20867,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20866,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20865,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20864,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20863,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20862,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20861,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20860,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20859,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20858,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20857,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20856,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20855,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20854,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20853,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20852,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20851,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20850,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20849,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20848,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20847,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20846,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20845,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20844,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20843,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20842,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20841,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20840,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20839,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20838,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20837,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20836,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20835,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20834,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20833,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20832,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20831,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20830,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20829,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20828,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20827,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20826,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20825,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20824,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20823,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20822,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20821,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20820,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20819,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20818,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20817,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20816,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20815,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20814,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20813,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20812,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20811,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20810,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20809,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20808,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20807,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20806,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20805,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20804,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20803,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20802,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20801,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20800,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20799,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20798,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20797,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20796,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20795,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20794,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20793,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20792,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20791,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20790,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20789,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20788,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20787,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20786,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20785,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20784,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20783,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20782,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20781,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20780,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20779,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20778,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20777,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20776,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20775,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20774,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20773,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20772,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20771,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20770,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20769,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20768,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20767,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20766,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20765,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20764,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20763,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20762,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20761,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20760,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20759,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20758,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20757,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20756,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20755,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20754,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20753,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20752,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20751,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20750,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20749,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20748,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20747,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20746,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20745,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20744,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20743,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20742,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20741,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20740,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20739,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20738,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20737,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20736,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20735,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20734,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20733,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20732,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20731,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20730,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20729,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20728,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20727,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20726,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20725,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20724,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20723,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20722,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20721,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20720,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20719,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20718,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20717,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20716,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20715,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20714,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20713,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20712,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20711,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20710,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20709,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20708,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20707,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20706,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20705,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20704,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20703,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20702,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20701,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20700,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20699,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20698,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20697,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20696,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20695,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20694,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20693,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20692,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20691,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20690,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20689,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20688,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20687,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20686,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20685,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20684,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20683,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20682,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20681,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20680,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20679,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20678,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20677,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20676,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20675,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20674,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20673,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20672,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20671,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20670,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20669,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20668,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20667,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20666,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20665,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20664,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20663,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20662,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20661,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20660,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20659,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20658,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20657,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20656,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20655,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20654,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20653,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20652,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20651,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20650,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20649,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20648,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20647,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20646,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20645,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20644,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20643,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20642,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20641,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20640,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20639,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20638,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20637,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20636,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20635,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20634,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20633,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20632,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20631,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20630,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20629,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20628,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20627,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20626,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20625,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20624,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20623,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20622,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20621,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20620,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20619,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20618,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20617,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20616,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20615,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20614,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20613,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20612,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20611,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20610,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20609,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20608,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20607,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20606,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20605,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20604,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20603,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20602,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20601,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20600,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20599,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20598,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20597,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20596,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20595,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20594,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20593,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20592,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20591,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20590,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20589,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20588,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20587,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20586,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20585,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20584,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20583,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20582,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20581,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20580,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20579,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20578,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20577,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20576,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20575,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20574,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20573,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20572,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20571,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20570,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20569,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20568,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20567,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20566,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20565,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20564,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20563,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20562,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20561,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20560,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20559,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20558,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20557,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20556,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20555,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20554,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20553,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20552,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20551,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20550,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20549,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20548,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20547,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20546,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20545,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20544,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20543,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20542,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20541,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20540,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20539,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20538,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20537,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20536,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20535,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20534,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20533,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20532,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20531,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20530,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20529,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20528,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20527,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20526,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20525,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20524,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20523,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20522,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20521,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20520,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20519,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20518,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20517,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20516,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20515,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20514,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20513,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20512,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20511,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20510,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20509,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20508,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20507,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20506,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20505,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20504,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20503,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20502,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20501,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20500,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20499,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20498,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20497,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20496,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20495,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20494,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20493,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20492,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20491,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20490,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20489,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20488,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20487,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20486,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20485,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20484,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20483,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20482,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20481,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20480,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20479,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20478,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20477,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20476,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20475,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20474,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20473,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20472,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20471,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20470,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20469,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20468,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20467,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20466,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20465,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20464,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20463,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20462,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20461,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20460,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20459,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20458,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20457,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20456,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20455,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20454,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20453,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20452,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20451,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20450,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20449,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20448,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20447,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20446,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20445,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20444,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20443,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20442,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20441,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20440,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20439,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20438,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20437,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20436,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20435,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20434,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20433,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20432,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20431,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20430,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20429,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20428,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20427,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20426,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20425,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20424,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20423,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20422,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20421,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20420,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20419,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20418,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20417,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20416,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20415,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20414,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20413,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20412,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20411,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20410,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20409,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20408,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20407,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20406,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20405,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20404,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20403,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20402,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20401,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20400,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20399,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20398,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20397,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20396,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20395,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20394,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20393,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20392,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20391,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20390,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20389,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20388,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20387,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20386,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20385,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20384,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20383,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20382,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            },\n            {\n                \"id\": 20381,\n                \"date\": \"2019-10-01\",\n                \"lead_source\": null,\n                \"industry\": null,\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                }\n            }\n        ],\n        3500\n    ],\n    \"error\": null,\n    \"id\": 1695008452857,\n    \"dt\": 36\n}"}],"_postman_id":"a756a938-424d-4d87-9b7e-6b0ab4299c26"},{"name":"params/report.custom/search_read","id":"711f3a0b-2457-4cbf-83c4-4b3167639ae2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695008452935,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"sale.lead\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 08:40:29\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.custom\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"code\",</strong></strong>\"=\",<strong>**\"sale.lead\"<strong><strong>]</strong></strong>],<strong><strong>[</strong></strong>\"name\",**</strong>\"config\"<strong><strong>]</strong></strong>],****{},**</p>\n<ol>\n<li><strong>\"report.custom\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"report.custom,\" which likely refers to a module or entity related to custom reports or configurations within the system. This module might be responsible for generating custom reports or managing custom configurations.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[[\"code\", \"=\", \"sale.lead\"]], [\"name\", \"config\"]]:</strong> This is the third parameter, which consists of two lists:</li>\n<li>The first list, <code>[[[\"code\", \"=\", \"sale.lead\"]]]</code>, forms the search domain. It contains one condition: <code>[\"code\", \"=\", \"sale.lead\"]</code>, which filters records where the \"code\" attribute equals \"sale.lead.\" This condition narrows down the selection to records associated with a specific code or identifier, in this case, \"sale.lead.\"<ol>\n<li><strong>\"code\":</strong> This represents a field or attribute within the \"report.custom\" entity, which is used to categorize or identify custom reports or configurations.</li>\n<li><strong>\"=\":</strong> This is an operator used in the condition and signifies equality. It's used to compare the field on the left with the value on the right to check if they are equal.</li>\n<li><strong>\"sale.lead\":</strong> This is the value against which the \"code\" field is being compared. In this condition, it's checking if the \"code\" field is equal to the value \"sale.lead.\"</li>\n</ol>\n</li>\n<li>The second list, <code>[\"name\", \"config\"]</code>, specifies the fields (attributes) of the records to be included in the response. These attributes relate to custom report or configuration records that the request aims to retrieve:<ol>\n<li><strong>\"name\":</strong> Represents the name or title associated with the custom report or configuration.</li>\n<li><strong>\"config\":</strong> Likely represents specific configuration settings or details related to the custom report or configuration.</li>\n</ol>\n</li>\n<li><strong>{}:</strong> This is the fourth parameter and represents an empty dictionary. In Odoo and similar systems, this section can be used to pass additional options or context information to the search_read operation. In this specific request, no additional context or options are provided.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"report.custom\" entity, which is likely related to custom reports or configurations. It filters records based on the \"code\" attribute equaling \"sale.lead,\" indicating a specific category or identifier for these records. The request specifies the attributes \"name\" and \"config\" to include in the response. No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"88fe37ed-70ca-4449-8e94-3a6395ef0cbd","name":"params/report.custom/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695008452935,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"sale.lead\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 08:40:29\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 18 Sep 2023 04:17:53 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=WVu%2FawpCZCQR06VfDK1wr4Rqa6T4X09k5ePUB4sd7DDYHN8442ZChd91lVEcUmhKFeZOXe89dhCw7h3i2Nm1K7ho%2F4Ex0Jo4BTn2uIeQlcbUOr5ckFy%2FSf63eEexJDvhlJOqkyOBYs8teRVwnQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8086c822cff63f6a-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1695008452935,\n    \"dt\": 314\n}"}],"_postman_id":"711f3a0b-2457-4cbf-83c4-4b3167639ae2"}],"id":"d5253cfa-a8a6-4a5d-8e88-ba86d1b103fa","_postman_id":"d5253cfa-a8a6-4a5d-8e88-ba86d1b103fa","description":""},{"name":"Opportunity Analysis","item":[{"name":"params/sale.opportunity/search_read_path","id":"1a616605-aaa6-41c9-9a44-7dc416463def","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695011661290,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.opportunity\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"contact_id.name\",\r\n                \"contact_id.categ_id.name\",\r\n                \"stage_id.name\",\r\n                \"categ_id.name\",\r\n                \"lead_source\",\r\n                \"state\",\r\n                \"user_id.name\",\r\n                \"date\",\r\n                \"date_week\",\r\n                \"date_month\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 09:34:00\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"sale.opportunity\",<strong>**\"search_read_path\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"contact_id.name\",**</strong>\"contact_id.categ_id.name\",<strong><strong>\"stage_id.name\",</strong></strong>\"categ_id.name\",<strong><strong>\"lead_source\",</strong></strong>\"state\",<strong><strong>\"user_id.name\",</strong></strong>\"date\",<strong><strong>\"date_week\",</strong></strong>\"date_month\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"limit\": 1000,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"sale.opportunity\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"sale.opportunity,\" which likely refers to a module or entity related to sales opportunities or leads. Sales opportunities represent potential deals or prospects that could lead to sales.</li>\n<li><strong>\"search_read_path\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read_path\" appears to be a specific action or method used in the system. While \"search_read\" is commonly used for retrieving records based on criteria, \"search_read_path\" might indicate a custom or extended functionality for retrieving records in a specific manner.</li>\n<li>StartFragment<strong>[[], [\"contact_id.name\", \"contact_id.categ_id.name\", \"stage_id.name\", \"categ_id.name\", \"lead_source\", \"state\", \"user_id.name\", \"date\", \"date_week\", \"date_month\"]]:</strong> This is the third parameter, which consists of two lists:</li>\n<li>The first list, <code>[]</code>, forms the search domain. It contains an empty inner list, <code>[]</code>. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved. This implies that the request aims to retrieve all records without any specific filtering criteria based on field values.</li>\n<li>The second list, <code>[\"contact_id.name\", \"contact_id.categ_id.name\", \"stage_id.name\", \"categ_id.name\", \"lead_source\", \"state\", \"user_id.name\", \"date\", \"date_week\", \"date_month\"]</code>, specifies the fields (attributes) of the records to be included in the response. These attributes relate to sales opportunity records that the request aims to retrieve:<ol>\n<li><strong>\"contact_id.name\":</strong> Represents the name or title of the contact associated with the sales opportunity. It indicates the person or entity with whom the opportunity is connected.</li>\n<li><strong>\"contact_id.categ_id.name\":</strong> Likely represents a category or classification associated with the contact. It provides additional information about the type or category of the contact.</li>\n<li><strong>\"stage_id.name\":</strong> Represents the name of the sales stage or phase to which the opportunity belongs. It helps track the progress of the opportunity within the sales process.</li>\n<li><strong>\"categ_id.name\":</strong> Similar to \"contact_id.categ_id.name,\" this field likely represents a category or classification associated with the sales opportunity itself.</li>\n<li><strong>\"lead_source\":</strong> Indicates the source or origin of the sales opportunity, specifying how the opportunity was generated.</li>\n<li><strong>\"state\":</strong> Represents the current state or status of the sales opportunity. It indicates whether the opportunity is open, closed, or in another state.</li>\n<li><strong>\"user_id.name\":</strong> This appears to be a nested field where \"user_id\" is a reference to a user associated with the opportunity, and \"name\" is a field within that user record. It may represent the name of the user responsible for managing the opportunity.</li>\n<li><strong>\"date\":</strong> Represents a date attribute, which might indicate the date when the sales opportunity was created or last updated.</li>\n<li><strong>\"date_week\":</strong> Likely represents a date attribute that categorizes opportunities by week, providing a weekly perspective on their creation or progress.</li>\n<li><strong>\"date_month\":</strong> Similar to \"date_week,\" this field likely categorizes opportunities by month, offering a monthly perspective on their creation or progress.</li>\n</ol>\n</li>\n<li><strong>{\"count\": true, \"limit\": 1000, \"context\": {}}:</strong> This is the fourth parameter and represents a dictionary with various options:<ol>\n<li><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. It facilitates the counting of sales opportunities.</li>\n<li><strong>\"limit\": 1000:</strong> The \"limit\" option sets a limit of 1000 records to be fetched in a single request. If there are more matching records, additional requests may be needed to retrieve them.</li>\n<li><strong>\"context\": {}:</strong> Represents an empty context, which can be used to pass additional options or context information to the search_read_path operation. In this request, no additional context or options are provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"sale.opportunity\" entity, likely related to sales opportunities or leads. It retrieves all opportunity records without any specific filtering criteria based on field values and specifies the attributes of these opportunities to include in the response. Additionally, it requests the total count of all opportunities, sets a limit of 1000 records for retrieval, and does not provide any additional context or options.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"422d1c63-0cde-4cf1-876b-0a2f8fb19844","name":"params/sale.opportunity/search_read_path","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695011661290,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.opportunity\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"contact_id.name\",\r\n                \"contact_id.categ_id.name\",\r\n                \"stage_id.name\",\r\n                \"categ_id.name\",\r\n                \"lead_source\",\r\n                \"state\",\r\n                \"user_id.name\",\r\n                \"date\",\r\n                \"date_week\",\r\n                \"date_month\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 09:34:00\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 18 Sep 2023 05:09:32 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=xyD5iPsUtgO4OW3FlDTfcDLRQHRrm4jwA6hK7qH1AstpStpYrUpOzY08HimC%2BWh5IPPaw8lATQsdjs61iohgflKAMDRQXzkDSjt%2FECxFXiDrJv8cV%2BvaRe31r22q%2B96fDSjg7GbXRniabYwMCA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"808713cc199d3df0-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 85,\n                \"contact_id\": {\n                    \"id\": 1023,\n                    \"categ_id\": null,\n                    \"name\": \"Janah Dawood\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2023-07-03\",\n                \"date_week\": \"2023-W27\",\n                \"date_month\": \"2023-07\"\n            },\n            {\n                \"id\": 84,\n                \"contact_id\": {\n                    \"id\": 1029,\n                    \"categ_id\": null,\n                    \"name\": \"Casey - Fedral Furniture \"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2023-07-03\",\n                \"date_week\": \"2023-W27\",\n                \"date_month\": \"2023-07\"\n            },\n            {\n                \"id\": 83,\n                \"contact_id\": {\n                    \"id\": 1014,\n                    \"categ_id\": null,\n                    \"name\": \"Aliza\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2023-07-03\",\n                \"date_week\": \"2023-W27\",\n                \"date_month\": \"2023-07\"\n            },\n            {\n                \"id\": 82,\n                \"contact_id\": {\n                    \"id\": 1028,\n                    \"categ_id\": null,\n                    \"name\": \"KC Khoo - Tools Depot Engineering Sdn.Bhd.\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2023-07-03\",\n                \"date_week\": \"2023-W27\",\n                \"date_month\": \"2023-07\"\n            },\n            {\n                \"id\": 81,\n                \"contact_id\": {\n                    \"id\": 988,\n                    \"categ_id\": null,\n                    \"name\": \"CY Plastic Chong\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"date\": \"2023-04-21\",\n                \"date_week\": \"2023-W16\",\n                \"date_month\": \"2023-04\"\n            },\n            {\n                \"id\": 80,\n                \"contact_id\": {\n                    \"id\": 962,\n                    \"categ_id\": null,\n                    \"name\": \"Ms. Ashikin\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2023-03-20\",\n                \"date_week\": \"2023-W12\",\n                \"date_month\": \"2023-03\"\n            },\n            {\n                \"id\": 79,\n                \"contact_id\": {\n                    \"id\": 928,\n                    \"categ_id\": null,\n                    \"name\": \"Najwa\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2023-03-20\",\n                \"date_week\": \"2023-W12\",\n                \"date_month\": \"2023-03\"\n            },\n            {\n                \"id\": 78,\n                \"contact_id\": {\n                    \"id\": 964,\n                    \"categ_id\": null,\n                    \"name\": \"John -  Inventory\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2023-03-20\",\n                \"date_week\": \"2023-W12\",\n                \"date_month\": \"2023-03\"\n            },\n            {\n                \"id\": 77,\n                \"contact_id\": {\n                    \"id\": 963,\n                    \"categ_id\": null,\n                    \"name\": \"Yuki Lai - Austin Powder\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2023-03-20\",\n                \"date_week\": \"2023-W12\",\n                \"date_month\": \"2023-03\"\n            },\n            {\n                \"id\": 76,\n                \"contact_id\": {\n                    \"id\": 946,\n                    \"categ_id\": null,\n                    \"name\": \"Rebecca\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2023-03-07\",\n                \"date_week\": \"2023-W10\",\n                \"date_month\": \"2023-03\"\n            },\n            {\n                \"id\": 75,\n                \"contact_id\": {\n                    \"id\": 948,\n                    \"categ_id\": null,\n                    \"name\": \"Tilpreet \"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2023-03-07\",\n                \"date_week\": \"2023-W10\",\n                \"date_month\": \"2023-03\"\n            },\n            {\n                \"id\": 74,\n                \"contact_id\": {\n                    \"id\": 943,\n                    \"categ_id\": null,\n                    \"name\": \"Luqman\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2023-02-27\",\n                \"date_week\": \"2023-W09\",\n                \"date_month\": \"2023-02\"\n            },\n            {\n                \"id\": 73,\n                \"contact_id\": {\n                    \"id\": 938,\n                    \"categ_id\": null,\n                    \"name\": \"Faiz Fahmi\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2023-02-27\",\n                \"date_week\": \"2023-W09\",\n                \"date_month\": \"2023-02\"\n            },\n            {\n                \"id\": 72,\n                \"contact_id\": {\n                    \"id\": 931,\n                    \"categ_id\": null,\n                    \"name\": \"Elfi Jewellery\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2023-02-20\",\n                \"date_week\": \"2023-W08\",\n                \"date_month\": \"2023-02\"\n            },\n            {\n                \"id\": 71,\n                \"contact_id\": {\n                    \"id\": 933,\n                    \"categ_id\": null,\n                    \"name\": \"Chong J Y\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2023-02-20\",\n                \"date_week\": \"2023-W08\",\n                \"date_month\": \"2023-02\"\n            },\n            {\n                \"id\": 70,\n                \"contact_id\": {\n                    \"id\": 932,\n                    \"categ_id\": null,\n                    \"name\": \"How Mei Fang\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2023-02-06\",\n                \"date_week\": \"2023-W06\",\n                \"date_month\": \"2023-02\"\n            },\n            {\n                \"id\": 69,\n                \"contact_id\": {\n                    \"id\": 916,\n                    \"categ_id\": null,\n                    \"name\": \"Kenny Leow\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"date\": \"2022-12-28\",\n                \"date_week\": \"2022-W52\",\n                \"date_month\": \"2022-12\"\n            },\n            {\n                \"id\": 68,\n                \"contact_id\": {\n                    \"id\": 915,\n                    \"categ_id\": null,\n                    \"name\": \"Chong\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2022-12-28\",\n                \"date_week\": \"2022-W52\",\n                \"date_month\": \"2022-12\"\n            },\n            {\n                \"id\": 67,\n                \"contact_id\": {\n                    \"id\": 892,\n                    \"categ_id\": null,\n                    \"name\": \"DR. PK Santha Kumar\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2022-11-29\",\n                \"date_week\": \"2022-W48\",\n                \"date_month\": \"2022-11\"\n            },\n            {\n                \"id\": 66,\n                \"contact_id\": {\n                    \"id\": 813,\n                    \"categ_id\": null,\n                    \"name\": \"Jay Shan\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2022-08-11\",\n                \"date_week\": \"2022-W32\",\n                \"date_month\": \"2022-08\"\n            },\n            {\n                \"id\": 65,\n                \"contact_id\": {\n                    \"id\": 815,\n                    \"categ_id\": null,\n                    \"name\": \"Ms Chan (Nilai)\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2022-08-10\",\n                \"date_week\": \"2022-W32\",\n                \"date_month\": \"2022-08\"\n            },\n            {\n                \"id\": 64,\n                \"contact_id\": {\n                    \"id\": 814,\n                    \"categ_id\": null,\n                    \"name\": \"Zulaikha (LY Steel)\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2022-08-10\",\n                \"date_week\": \"2022-W32\",\n                \"date_month\": \"2022-08\"\n            },\n            {\n                \"id\": 63,\n                \"contact_id\": {\n                    \"id\": 812,\n                    \"categ_id\": null,\n                    \"name\": \"Karen \"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2022-08-03\",\n                \"date_week\": \"2022-W31\",\n                \"date_month\": \"2022-08\"\n            },\n            {\n                \"id\": 62,\n                \"contact_id\": {\n                    \"id\": 536,\n                    \"categ_id\": null,\n                    \"name\": \"Test\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 43,\n                    \"name\": \"Nurul Azira\"\n                },\n                \"date\": \"2022-07-26\",\n                \"date_week\": \"2022-W30\",\n                \"date_month\": \"2022-07\"\n            },\n            {\n                \"id\": 61,\n                \"contact_id\": {\n                    \"id\": 800,\n                    \"categ_id\": null,\n                    \"name\": \"Siew\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"date\": \"2022-06-20\",\n                \"date_week\": \"2022-W25\",\n                \"date_month\": \"2022-06\"\n            },\n            {\n                \"id\": 60,\n                \"contact_id\": {\n                    \"id\": 793,\n                    \"categ_id\": null,\n                    \"name\": \"Charlie \"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2022-06-20\",\n                \"date_week\": \"2022-W25\",\n                \"date_month\": \"2022-06\"\n            },\n            {\n                \"id\": 59,\n                \"contact_id\": {\n                    \"id\": 779,\n                    \"categ_id\": null,\n                    \"name\": \"Tom\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"date\": \"2022-05-23\",\n                \"date_week\": \"2022-W21\",\n                \"date_month\": \"2022-05\"\n            },\n            {\n                \"id\": 58,\n                \"contact_id\": {\n                    \"id\": 776,\n                    \"categ_id\": null,\n                    \"name\": \"OSK Construction Sdn Bhd\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"date\": \"2022-05-11\",\n                \"date_week\": \"2022-W19\",\n                \"date_month\": \"2022-05\"\n            },\n            {\n                \"id\": 57,\n                \"contact_id\": {\n                    \"id\": 703,\n                    \"categ_id\": null,\n                    \"name\": \"Ms Jessica Lum\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"date\": \"2021-11-05\",\n                \"date_week\": \"2021-W44\",\n                \"date_month\": \"2021-11\"\n            },\n            {\n                \"id\": 56,\n                \"contact_id\": {\n                    \"id\": 667,\n                    \"categ_id\": null,\n                    \"name\": \"Joanne Chan\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"date\": \"2021-11-05\",\n                \"date_week\": \"2021-W44\",\n                \"date_month\": \"2021-11\"\n            },\n            {\n                \"id\": 55,\n                \"contact_id\": {\n                    \"id\": 719,\n                    \"categ_id\": null,\n                    \"name\": \"Irene \"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 79,\n                    \"name\": \"James Lee\"\n                },\n                \"date\": \"2021-11-01\",\n                \"date_week\": \"2021-W44\",\n                \"date_month\": \"2021-11\"\n            },\n            {\n                \"id\": 54,\n                \"contact_id\": {\n                    \"id\": 684,\n                    \"categ_id\": null,\n                    \"name\": \"Ms Lim\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"date\": \"2021-08-09\",\n                \"date_week\": \"2021-W32\",\n                \"date_month\": \"2021-08\"\n            },\n            {\n                \"id\": 53,\n                \"contact_id\": {\n                    \"id\": 536,\n                    \"categ_id\": null,\n                    \"name\": \"Test\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 41,\n                    \"name\": \"Max Pang\"\n                },\n                \"date\": \"2020-11-30\",\n                \"date_week\": \"2020-W48\",\n                \"date_month\": \"2020-11\"\n            },\n            {\n                \"id\": 52,\n                \"contact_id\": {\n                    \"id\": 536,\n                    \"categ_id\": null,\n                    \"name\": \"Test\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 41,\n                    \"name\": \"Max Pang\"\n                },\n                \"date\": \"2020-11-30\",\n                \"date_week\": \"2020-W48\",\n                \"date_month\": \"2020-11\"\n            },\n            {\n                \"id\": 34,\n                \"contact_id\": {\n                    \"id\": 467,\n                    \"categ_id\": null,\n                    \"name\": \"Mr Thong\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"date\": \"2020-09-11\",\n                \"date_week\": \"2020-W36\",\n                \"date_month\": \"2020-09\"\n            },\n            {\n                \"id\": 33,\n                \"contact_id\": {\n                    \"id\": 507,\n                    \"categ_id\": null,\n                    \"name\": \"Ashley Tan\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"date\": \"2020-09-11\",\n                \"date_week\": \"2020-W36\",\n                \"date_month\": \"2020-09\"\n            },\n            {\n                \"id\": 32,\n                \"contact_id\": {\n                    \"id\": 506,\n                    \"categ_id\": null,\n                    \"name\": \"Poon Wai Keat\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"date\": \"2020-09-11\",\n                \"date_week\": \"2020-W36\",\n                \"date_month\": \"2020-09\"\n            },\n            {\n                \"id\": 31,\n                \"contact_id\": {\n                    \"id\": 500,\n                    \"categ_id\": null,\n                    \"name\": \"Daniel Chia\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"date\": \"2020-09-11\",\n                \"date_week\": \"2020-W36\",\n                \"date_month\": \"2020-09\"\n            },\n            {\n                \"id\": 30,\n                \"contact_id\": {\n                    \"id\": 460,\n                    \"categ_id\": null,\n                    \"name\": \"Ken Lok\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 51,\n                    \"name\": \"Shakirah\"\n                },\n                \"date\": \"2020-05-20\",\n                \"date_week\": \"2020-W20\",\n                \"date_month\": \"2020-05\"\n            },\n            {\n                \"id\": 29,\n                \"contact_id\": {\n                    \"id\": 420,\n                    \"categ_id\": null,\n                    \"name\": \"Kha Chee Lam\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                },\n                \"date\": \"2020-05-08\",\n                \"date_week\": \"2020-W18\",\n                \"date_month\": \"2020-05\"\n            },\n            {\n                \"id\": 28,\n                \"contact_id\": {\n                    \"id\": 449,\n                    \"categ_id\": null,\n                    \"name\": \"Pravin\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"date\": \"2020-05-08\",\n                \"date_week\": \"2020-W18\",\n                \"date_month\": \"2020-05\"\n            },\n            {\n                \"id\": 27,\n                \"contact_id\": {\n                    \"id\": 444,\n                    \"categ_id\": null,\n                    \"name\": \"Ir. Jenn Woo\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"date\": \"2020-03-05\",\n                \"date_week\": \"2020-W09\",\n                \"date_month\": \"2020-03\"\n            },\n            {\n                \"id\": 26,\n                \"contact_id\": {\n                    \"id\": 438,\n                    \"categ_id\": null,\n                    \"name\": \"Pugal Nathan\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"date\": \"2020-02-26\",\n                \"date_week\": \"2020-W08\",\n                \"date_month\": \"2020-02\"\n            },\n            {\n                \"id\": 25,\n                \"contact_id\": {\n                    \"id\": 436,\n                    \"categ_id\": null,\n                    \"name\": \"Saeed Magad\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"date\": \"2020-02-26\",\n                \"date_week\": \"2020-W08\",\n                \"date_month\": \"2020-02\"\n            },\n            {\n                \"id\": 24,\n                \"contact_id\": {\n                    \"id\": 407,\n                    \"categ_id\": null,\n                    \"name\": \"Emily Lai\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                },\n                \"date\": \"2020-02-26\",\n                \"date_week\": \"2020-W08\",\n                \"date_month\": \"2020-02\"\n            },\n            {\n                \"id\": 23,\n                \"contact_id\": {\n                    \"id\": 404,\n                    \"categ_id\": null,\n                    \"name\": \"Wiltek Homeware Sdn Bhd (730858-A)\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                },\n                \"date\": \"2020-02-26\",\n                \"date_week\": \"2020-W08\",\n                \"date_month\": \"2020-02\"\n            },\n            {\n                \"id\": 22,\n                \"contact_id\": {\n                    \"id\": 420,\n                    \"categ_id\": null,\n                    \"name\": \"Kha Chee Lam\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                },\n                \"date\": \"2020-02-26\",\n                \"date_week\": \"2020-W08\",\n                \"date_month\": \"2020-02\"\n            },\n            {\n                \"id\": 21,\n                \"contact_id\": {\n                    \"id\": 400,\n                    \"categ_id\": null,\n                    \"name\": \"Seng Mei Yen\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                },\n                \"date\": \"2020-02-26\",\n                \"date_week\": \"2020-W08\",\n                \"date_month\": \"2020-02\"\n            },\n            {\n                \"id\": 20,\n                \"contact_id\": {\n                    \"id\": 420,\n                    \"categ_id\": null,\n                    \"name\": \"Kha Chee Lam\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                },\n                \"date\": \"2020-02-03\",\n                \"date_week\": \"2020-W05\",\n                \"date_month\": \"2020-02\"\n            },\n            {\n                \"id\": 19,\n                \"contact_id\": {\n                    \"id\": 404,\n                    \"categ_id\": null,\n                    \"name\": \"Wiltek Homeware Sdn Bhd (730858-A)\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                },\n                \"date\": \"2020-01-31\",\n                \"date_week\": \"2020-W04\",\n                \"date_month\": \"2020-01\"\n            },\n            {\n                \"id\": 18,\n                \"contact_id\": {\n                    \"id\": 400,\n                    \"categ_id\": null,\n                    \"name\": \"Seng Mei Yen\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"open\",\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                },\n                \"date\": \"2020-01-31\",\n                \"date_week\": \"2020-W04\",\n                \"date_month\": \"2020-01\"\n            },\n            {\n                \"id\": 17,\n                \"contact_id\": {\n                    \"id\": 345,\n                    \"categ_id\": null,\n                    \"name\": \"Innovix Distribution\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"paused\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"date\": \"2019-09-02\",\n                \"date_week\": \"2019-W35\",\n                \"date_month\": \"2019-09\"\n            },\n            {\n                \"id\": 16,\n                \"contact_id\": {\n                    \"id\": 344,\n                    \"categ_id\": null,\n                    \"name\": \"Springfresh Manufacturing SDN BHD\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"date\": \"2019-09-02\",\n                \"date_week\": \"2019-W35\",\n                \"date_month\": \"2019-09\"\n            },\n            {\n                \"id\": 15,\n                \"contact_id\": {\n                    \"id\": 338,\n                    \"categ_id\": null,\n                    \"name\": \"Tee Poh Kong\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"date\": \"2019-09-02\",\n                \"date_week\": \"2019-W35\",\n                \"date_month\": \"2019-09\"\n            },\n            {\n                \"id\": 14,\n                \"contact_id\": {\n                    \"id\": 322,\n                    \"categ_id\": null,\n                    \"name\": \"INOX ENGINEERING SDN BHD\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"date\": \"2019-09-02\",\n                \"date_week\": \"2019-W35\",\n                \"date_month\": \"2019-09\"\n            },\n            {\n                \"id\": 13,\n                \"contact_id\": {\n                    \"id\": 343,\n                    \"categ_id\": null,\n                    \"name\": \"Ngee Boon Lau\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"date\": \"2019-09-02\",\n                \"date_week\": \"2019-W35\",\n                \"date_month\": \"2019-09\"\n            },\n            {\n                \"id\": 12,\n                \"contact_id\": {\n                    \"id\": 342,\n                    \"categ_id\": null,\n                    \"name\": \"Brandon Gan\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"date\": \"2019-09-02\",\n                \"date_week\": \"2019-W35\",\n                \"date_month\": \"2019-09\"\n            },\n            {\n                \"id\": 11,\n                \"contact_id\": {\n                    \"id\": 341,\n                    \"categ_id\": null,\n                    \"name\": \"Yap\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"paused\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"date\": \"2019-09-02\",\n                \"date_week\": \"2019-W35\",\n                \"date_month\": \"2019-09\"\n            },\n            {\n                \"id\": 10,\n                \"contact_id\": {\n                    \"id\": 330,\n                    \"categ_id\": null,\n                    \"name\": \"GOURMET INGREDIENTS SDN BHD\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"date\": \"2019-08-08\",\n                \"date_week\": \"2019-W31\",\n                \"date_month\": \"2019-08\"\n            },\n            {\n                \"id\": 9,\n                \"contact_id\": {\n                    \"id\": 327,\n                    \"categ_id\": null,\n                    \"name\": \"Triny\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"date\": \"2019-08-05\",\n                \"date_week\": \"2019-W31\",\n                \"date_month\": \"2019-08\"\n            },\n            {\n                \"id\": 8,\n                \"contact_id\": {\n                    \"id\": 326,\n                    \"categ_id\": null,\n                    \"name\": \"Lena Heng\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"paused\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"date\": \"2019-08-05\",\n                \"date_week\": \"2019-W31\",\n                \"date_month\": \"2019-08\"\n            },\n            {\n                \"id\": 7,\n                \"contact_id\": {\n                    \"id\": 325,\n                    \"categ_id\": null,\n                    \"name\": \"Stan Wan\"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"date\": \"2019-08-05\",\n                \"date_week\": \"2019-W31\",\n                \"date_month\": \"2019-08\"\n            },\n            {\n                \"id\": 6,\n                \"contact_id\": {\n                    \"id\": 59,\n                    \"categ_id\": null,\n                    \"name\": \"Dios Pro Resources Sdn. Bhd. \"\n                },\n                \"stage_id\": null,\n                \"categ_id\": null,\n                \"lead_source\": null,\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 8,\n                    \"name\": \"Admin\"\n                },\n                \"date\": \"2018-03-08\",\n                \"date_week\": \"2018-W10\",\n                \"date_month\": \"2018-03\"\n            }\n        ],\n        63\n    ],\n    \"error\": null,\n    \"id\": 1695011661290,\n    \"dt\": 74\n}"}],"_postman_id":"1a616605-aaa6-41c9-9a44-7dc416463def"},{"name":"params/report.custom/search_read","id":"aa3e24f6-8d46-4ed2-bec4-ccd9293f990f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695011661299,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"sale.opportunity\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 09:34:00\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.custom\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"code\",</strong></strong>\"=\",<strong>**\"sale.opportunity\"<strong><strong>]</strong></strong>],<strong><strong>[</strong></strong>\"name\",**</strong>\"config\"<strong><strong>]</strong></strong>],****{},**</p>\n<ol>\n<li><strong>\"report.custom\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"report.custom,\" which likely refers to a module or entity related to custom reports or configurations within the system. This module might be responsible for generating custom reports or managing custom configurations.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[[\"code\", \"=\", \"sale.opportunity\"]], [\"name\", \"config\"]]:</strong> This is the third parameter, which consists of two lists:</li>\n<li>The first list, <code>[[[\"code\", \"=\", \"sale.opportunity\"]]]</code>, forms the search domain. It contains one condition: <code>[\"code\", \"=\", \"sale.opportunity\"]</code>, which filters records where the \"code\" attribute equals \"sale.opportunity.\" This condition narrows down the selection to records associated with a specific code or identifier, in this case, \"sale.opportunity.\"<ol>\n<li><strong>\"code\":</strong> This represents a field or attribute within the \"report.custom\" entity, which is used to categorize or identify custom reports or configurations.</li>\n<li><strong>\"=\":</strong> This is an operator used in the condition and signifies equality. It's used to compare the field on the left with the value on the right to check if they are equal.</li>\n<li><strong>\"sale.opportunity\":</strong> This is the value against which the \"code\" field is being compared. In this condition, it's checking if the \"code\" field is equal to the value \"sale.opportunity.\"</li>\n</ol>\n</li>\n<li>The second list, <code>[\"name\", \"config\"]</code>, specifies the fields (attributes) of the records to be included in the response. These attributes relate to custom report or configuration records that the request aims to retrieve:<ol>\n<li><strong>\"name\":</strong> Represents the name or title associated with the custom report or configuration. It indicates the name of the specific report or configuration.</li>\n<li><strong>\"config\":</strong> Likely represents specific configuration settings or details related to the custom report or configuration.</li>\n</ol>\n</li>\n<li><strong>{}:</strong> This is the fourth parameter and represents an empty dictionary. In Odoo and similar systems, this section can be used to pass additional options or context information to the search_read operation. In this specific request, no additional context or options are provided.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"report.custom\" entity, which is likely related to custom reports or configurations. It filters records based on the \"code\" attribute equaling \"sale.opportunity,\" indicating a specific category or identifier for these records. The request specifies the attributes \"name\" and \"config\" to include in the response. No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"4d7cdc60-fa08-48c4-aabb-726a7d4c75b8","name":"params/report.custom/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695011661299,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"sale.opportunity\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 09:34:00\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 18 Sep 2023 06:09:52 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=TLiaAKUfdvGmoDTGMzEenmJyu%2FEpRIPO7de0ZzzYjpc%2B%2BraaJZoyTUo3PzfhwRpFXPOycTvmMKOx83pioJzZreKWNQJ7cdPQ7K9x%2BuJLwKQbQOVFC9YyAbjtQk0%2B%2BUALk80%2FDg%2FgGKDI69lk%2Fw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80876c2ee810d1cc-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"id\": 8,\n            \"config\": \"{\\\"field_names\\\":[\\\"contact_id.name\\\",\\\"contact_id.categ_id.name\\\",\\\"stage_id.name\\\",\\\"categ_id.name\\\",\\\"lead_source\\\",\\\"state\\\",\\\"user_id.name\\\",\\\"date\\\",\\\"date_week\\\",\\\"date_month\\\",\\\"lead_id\\\",\\\"source_id.name\\\"],\\\"limit\\\":1000,\\\"derivedAttributes\\\":{},\\\"hiddenAttributes\\\":[],\\\"menuLimit\\\":200,\\\"cols\\\":[\\\"Stage\\\",\\\"undefined\\\"],\\\"rows\\\":[\\\"Sales Category\\\",\\\"Lead Source\\\"],\\\"vals\\\":[],\\\"exclusions\\\":{},\\\"inclusions\\\":{},\\\"unusedAttrsVertical\\\":85,\\\"autoSortUnusedAttrs\\\":false,\\\"aggregatorName\\\":\\\"Count\\\",\\\"inclusionsInfo\\\":{},\\\"rendererName\\\":\\\"Table\\\"}\",\n            \"name\": \"Opportunity 1\"\n        }\n    ],\n    \"error\": null,\n    \"id\": 1695011661299,\n    \"dt\": 15\n}"}],"_postman_id":"aa3e24f6-8d46-4ed2-bec4-ccd9293f990f"}],"id":"7c3f364c-fe0f-49ad-b679-ec2f22539a64","_postman_id":"7c3f364c-fe0f-49ad-b679-ec2f22539a64","description":""},{"name":"Quotation Analysis","item":[{"name":"params/sale.qout/search_read_path","id":"7db94913-fde7-4e58-ada3-6a556370a82b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695018963518,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.quot\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"contact_id.name\",\r\n                \"contact_id.categ_id.name\",\r\n                \"state\",\r\n                \"user_id.name\",\r\n                \"date\",\r\n                \"amount_total\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 11:35:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"sale.quot\",<strong>**\"search_read_path\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"contact_id.name\",**</strong>\"contact_id.categ_id.name\",<strong><strong>\"state\",</strong></strong>\"user_id.name\",<strong><strong>\"date\",</strong></strong>\"amount_total\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"limit\": 1000,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"sale.quot\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"sale.quot,\" which likely refers to a module or entity related to sales quotations or quotes. Sales quotations are documents that provide potential customers with pricing and product information before they make a purchase decision.</li>\n<li><strong>\"search_read_path\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read_path\" appears to be a specific action or method used in the system. While \"search_read\" is commonly used for retrieving records based on criteria, \"search_read_path\" might indicate a custom or extended functionality for retrieving records in a specific manner.</li>\n<li><strong>[[], [\"contact_id.name\", \"contact_id.categ_id.name\", \"state\", \"user_id.name\", \"date\", \"amount_total\"]]:</strong> This is the third parameter, which consists of two lists:</li>\n<li>The first list, <code>[]</code>, forms the search domain. It contains an empty inner list, <code>[]</code>. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved. This implies that the request aims to retrieve all records without any specific filtering criteria based on field values.</li>\n<li>The second list, <code>[\"contact_id.name\", \"contact_id.categ_id.name\", \"state\", \"user_id.name\", \"date\", \"amount_total\"]</code>, specifies the fields (attributes) of the records to be included in the response. These attributes relate to sales quotation records that the request aims to retrieve:<ol>\n<li><strong>\"contact_id.name\":</strong> Represents the name or title of the contact associated with the sales quotation. It indicates the person or entity for whom the quotation is prepared.</li>\n<li><strong>\"contact_id.categ_id.name\":</strong> Likely represents a category or classification associated with the contact. It provides additional information about the type or category of the contact.</li>\n<li><strong>\"state\":</strong> Indicates the current state or status of the sales quotation. It could represent whether the quotation is in progress, approved, or rejected.</li>\n<li><strong>\"user_id.name\":</strong> This appears to be a nested field where \"user_id\" is a reference to a user associated with the quotation, and \"name\" is a field within that user record. It may represent the name of the user responsible for preparing the quotation.</li>\n<li><strong>\"date\":</strong> Represents a date attribute, which might indicate the date when the sales quotation was created or last updated.</li>\n<li><strong>\"amount_total\":</strong> Likely represents the total amount or value of the quotation, including the prices of the products or services listed in the quotation.</li>\n</ol>\n</li>\n<li><strong>{\"count\": true, \"limit\": 1000, \"context\": {}}:</strong> This is the fourth parameter and represents a dictionary with various options:<ol>\n<li><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. It facilitates the counting of sales quotations.</li>\n<li><strong>\"limit\": 1000:</strong> The \"limit\" option sets a limit of 1000 records to be fetched in a single request. If there are more matching records, additional requests may be needed to retrieve them.</li>\n<li><strong>\"context\": {}:</strong> Represents an empty context, which can be used to pass additional options or context information to the search_read_path operation. In this request, no additional context or options are provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"sale.quot\" entity, which is likely related to sales quotations. It retrieves all quotation records without any specific filtering criteria based on field values and specifies the attributes of these quotations to include in the response. Additionally, it requests the total count of all quotations, sets a limit of 1000 records for retrieval, and does not provide any additional context or options.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"c44582f9-8c14-4fce-b1c5-1ba534a7e42c","name":"params/sale.qout/search_read_path","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695018963518,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.quot\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"contact_id.name\",\r\n                \"contact_id.categ_id.name\",\r\n                \"state\",\r\n                \"user_id.name\",\r\n                \"date\",\r\n                \"amount_total\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 11:35:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 18 Sep 2023 06:37:16 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=UfqMp09LOrNwI3gY3mAMUuxDmYYVNC8oRk1E3Z%2BclB1AZYzOFgytWRZXBEr%2FZH2fZmOZsopMTK7hP21uXP%2F5dMfDBwFK1HKMUsGLWpdScECKlRMXpXJIb%2FVH0tR00xdbjtz6YckLEDQv6xu6IA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"808794409f313e26-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 633,\n                \"contact_id\": {\n                    \"id\": 1040,\n                    \"categ_id\": null,\n                    \"name\": \"Hudeccan \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 7450,\n                \"date\": \"2023-09-06\"\n            },\n            {\n                \"id\": 632,\n                \"contact_id\": {\n                    \"id\": 835,\n                    \"categ_id\": null,\n                    \"name\": \"Hayat AutoTech \"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 39220,\n                \"date\": \"2023-09-05\"\n            },\n            {\n                \"id\": 631,\n                \"contact_id\": {\n                    \"id\": 1072,\n                    \"categ_id\": null,\n                    \"name\": \"BYHISDAISY INTERNATIONAL SDN BHD\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 30740,\n                \"date\": \"2023-09-05\"\n            },\n            {\n                \"id\": 630,\n                \"contact_id\": {\n                    \"id\": 832,\n                    \"categ_id\": null,\n                    \"name\": \"Sanko Plastic (Malaysia) Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 6360,\n                \"date\": \"2023-09-01\"\n            },\n            {\n                \"id\": 626,\n                \"contact_id\": {\n                    \"id\": 1070,\n                    \"categ_id\": null,\n                    \"name\": \"Mingle Manor Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 49820,\n                \"date\": \"2023-08-30\"\n            },\n            {\n                \"id\": 629,\n                \"contact_id\": {\n                    \"id\": 1068,\n                    \"categ_id\": null,\n                    \"name\": \"Metropoly Packaging Sdn Bhd (1106268-W)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 773951,\n                \"date\": \"2023-08-29\"\n            },\n            {\n                \"id\": 628,\n                \"contact_id\": {\n                    \"id\": 1068,\n                    \"categ_id\": null,\n                    \"name\": \"Metropoly Packaging Sdn Bhd (1106268-W)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 753901,\n                \"date\": \"2023-08-28\"\n            },\n            {\n                \"id\": 627,\n                \"contact_id\": {\n                    \"id\": 1068,\n                    \"categ_id\": null,\n                    \"name\": \"Metropoly Packaging Sdn Bhd (1106268-W)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 766437,\n                \"date\": \"2023-08-26\"\n            },\n            {\n                \"id\": 625,\n                \"contact_id\": {\n                    \"id\": 949,\n                    \"categ_id\": null,\n                    \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 150200,\n                \"date\": \"2023-08-24\"\n            },\n            {\n                \"id\": 624,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 43460,\n                \"date\": \"2023-08-24\"\n            },\n            {\n                \"id\": 621,\n                \"contact_id\": {\n                    \"id\": 1040,\n                    \"categ_id\": null,\n                    \"name\": \"Hudeccan \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 38690,\n                \"date\": \"2023-08-17\"\n            },\n            {\n                \"id\": 620,\n                \"contact_id\": {\n                    \"id\": 1062,\n                    \"categ_id\": null,\n                    \"name\": \"Udani carpets sdn bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 63282,\n                \"date\": \"2023-08-16\"\n            },\n            {\n                \"id\": 619,\n                \"contact_id\": {\n                    \"id\": 949,\n                    \"categ_id\": null,\n                    \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 46950,\n                \"date\": \"2023-08-16\"\n            },\n            {\n                \"id\": 617,\n                \"contact_id\": {\n                    \"id\": 1040,\n                    \"categ_id\": null,\n                    \"name\": \"Hudeccan \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 43990,\n                \"date\": \"2023-08-16\"\n            },\n            {\n                \"id\": 612,\n                \"contact_id\": {\n                    \"id\": 832,\n                    \"categ_id\": null,\n                    \"name\": \"Sanko Plastic (Malaysia) Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 3816,\n                \"date\": \"2023-08-14\"\n            },\n            {\n                \"id\": 614,\n                \"contact_id\": {\n                    \"id\": 1057,\n                    \"categ_id\": null,\n                    \"name\": \"Titan Metal Works Sdn.Bhd.\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 260197,\n                \"date\": \"2023-08-11\"\n            },\n            {\n                \"id\": 615,\n                \"contact_id\": {\n                    \"id\": 1059,\n                    \"categ_id\": null,\n                    \"name\": \"Intrix\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 128671.28,\n                \"date\": \"2023-08-11\"\n            },\n            {\n                \"id\": 613,\n                \"contact_id\": {\n                    \"id\": 1056,\n                    \"categ_id\": null,\n                    \"name\": \"Endress+Hauser Malaysia\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 43036,\n                \"date\": \"2023-08-11\"\n            },\n            {\n                \"id\": 611,\n                \"contact_id\": {\n                    \"id\": 166,\n                    \"categ_id\": null,\n                    \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 100,\n                    \"name\": \"Fatin Shahirah\"\n                },\n                \"amount_total\": 34450,\n                \"date\": \"2023-08-09\"\n            },\n            {\n                \"id\": 610,\n                \"contact_id\": {\n                    \"id\": 1048,\n                    \"categ_id\": null,\n                    \"name\": \"Sinmar Group \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 76320,\n                \"date\": \"2023-08-03\"\n            },\n            {\n                \"id\": 608,\n                \"contact_id\": {\n                    \"id\": 1046,\n                    \"categ_id\": null,\n                    \"name\": \"Peninsular Steel Galvanising Sdn Bhd \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 57240,\n                \"date\": \"2023-08-01\"\n            },\n            {\n                \"id\": 609,\n                \"contact_id\": {\n                    \"id\": 792,\n                    \"categ_id\": null,\n                    \"name\": \"CENTURY MARK PACIFIC MARKETING SDN BHD\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 530,\n                \"date\": \"2023-08-01\"\n            },\n            {\n                \"id\": 607,\n                \"contact_id\": {\n                    \"id\": 1044,\n                    \"categ_id\": null,\n                    \"name\": \"Mexpower \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 64660,\n                \"date\": \"2023-07-31\"\n            },\n            {\n                \"id\": 603,\n                \"contact_id\": {\n                    \"id\": 1042,\n                    \"categ_id\": null,\n                    \"name\": \"Litosfera Malaya Legacy (LML)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 4550,\n                \"date\": \"2023-07-31\"\n            },\n            {\n                \"id\": 602,\n                \"contact_id\": {\n                    \"id\": 1042,\n                    \"categ_id\": null,\n                    \"name\": \"Litosfera Malaya Legacy (LML)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 30740,\n                \"date\": \"2023-07-31\"\n            },\n            {\n                \"id\": 601,\n                \"contact_id\": {\n                    \"id\": 1040,\n                    \"categ_id\": null,\n                    \"name\": \"Hudeccan \"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 4550,\n                \"date\": \"2023-07-27\"\n            },\n            {\n                \"id\": 600,\n                \"contact_id\": {\n                    \"id\": 1040,\n                    \"categ_id\": null,\n                    \"name\": \"Hudeccan \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 30740,\n                \"date\": \"2023-07-27\"\n            },\n            {\n                \"id\": 599,\n                \"contact_id\": {\n                    \"id\": 1032,\n                    \"categ_id\": null,\n                    \"name\": \"XIERA Trading\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 4550,\n                \"date\": \"2023-07-11\"\n            },\n            {\n                \"id\": 598,\n                \"contact_id\": {\n                    \"id\": 1032,\n                    \"categ_id\": null,\n                    \"name\": \"XIERA Trading\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 30740,\n                \"date\": \"2023-07-11\"\n            },\n            {\n                \"id\": 597,\n                \"contact_id\": {\n                    \"id\": 949,\n                    \"categ_id\": null,\n                    \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 17800,\n                \"date\": \"2023-07-07\"\n            },\n            {\n                \"id\": 595,\n                \"contact_id\": {\n                    \"id\": 848,\n                    \"categ_id\": null,\n                    \"name\": \"Celovis Malaysia \"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 54219,\n                \"date\": \"2023-07-03\"\n            },\n            {\n                \"id\": 596,\n                \"contact_id\": {\n                    \"id\": 952,\n                    \"categ_id\": null,\n                    \"name\": \"SaniChem Resources Sdn. Bhd.\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 356169,\n                \"date\": \"2023-06-27\"\n            },\n            {\n                \"id\": 594,\n                \"contact_id\": {\n                    \"id\": 952,\n                    \"categ_id\": null,\n                    \"name\": \"SaniChem Resources Sdn. Bhd.\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 356169,\n                \"date\": \"2023-06-26\"\n            },\n            {\n                \"id\": 593,\n                \"contact_id\": {\n                    \"id\": 1024,\n                    \"categ_id\": null,\n                    \"name\": \"CAF Food Products Sdn. Bhd.\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 63600,\n                \"date\": \"2023-06-22\"\n            },\n            {\n                \"id\": 592,\n                \"contact_id\": {\n                    \"id\": 1024,\n                    \"categ_id\": null,\n                    \"name\": \"CAF Food Products Sdn. Bhd.\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 212697,\n                \"date\": \"2023-06-22\"\n            },\n            {\n                \"id\": 591,\n                \"contact_id\": {\n                    \"id\": 1022,\n                    \"categ_id\": null,\n                    \"name\": \"Ivetworks sdn bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 36886.94,\n                \"date\": \"2023-06-21\"\n            },\n            {\n                \"id\": 590,\n                \"contact_id\": {\n                    \"id\": 1018,\n                    \"categ_id\": null,\n                    \"name\": \"See Hoy Facilities\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 20087,\n                \"date\": \"2023-06-13\"\n            },\n            {\n                \"id\": 588,\n                \"contact_id\": {\n                    \"id\": 1013,\n                    \"categ_id\": null,\n                    \"name\": \" UEM Edgenta\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 61480,\n                \"date\": \"2023-06-09\"\n            },\n            {\n                \"id\": 587,\n                \"contact_id\": {\n                    \"id\": 848,\n                    \"categ_id\": null,\n                    \"name\": \"Celovis Malaysia \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 80719,\n                \"date\": \"2023-06-07\"\n            },\n            {\n                \"id\": 589,\n                \"contact_id\": {\n                    \"id\": 952,\n                    \"categ_id\": null,\n                    \"name\": \"SaniChem Resources Sdn. Bhd.\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 356169,\n                \"date\": \"2023-06-01\"\n            },\n            {\n                \"id\": 584,\n                \"contact_id\": {\n                    \"id\": 927,\n                    \"categ_id\": null,\n                    \"name\": \"Sklew Biotech\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 26817.15,\n                \"date\": \"2023-05-31\"\n            },\n            {\n                \"id\": 586,\n                \"contact_id\": {\n                    \"id\": 1008,\n                    \"categ_id\": null,\n                    \"name\": \"Puras \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 36464,\n                \"date\": \"2023-05-31\"\n            },\n            {\n                \"id\": 583,\n                \"contact_id\": {\n                    \"id\": 952,\n                    \"categ_id\": null,\n                    \"name\": \"SaniChem Resources Sdn. Bhd.\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 356169,\n                \"date\": \"2023-05-30\"\n            },\n            {\n                \"id\": 582,\n                \"contact_id\": {\n                    \"id\": 973,\n                    \"categ_id\": null,\n                    \"name\": \"QRZ MotorSports \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 31588,\n                \"date\": \"2023-05-30\"\n            },\n            {\n                \"id\": 581,\n                \"contact_id\": {\n                    \"id\": 877,\n                    \"categ_id\": null,\n                    \"name\": \"Rurutiki Sdn Bhd\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 743800,\n                \"date\": \"2023-05-29\"\n            },\n            {\n                \"id\": 579,\n                \"contact_id\": {\n                    \"id\": 952,\n                    \"categ_id\": null,\n                    \"name\": \"SaniChem Resources Sdn. Bhd.\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 370999,\n                \"date\": \"2023-05-25\"\n            },\n            {\n                \"id\": 580,\n                \"contact_id\": {\n                    \"id\": 465,\n                    \"categ_id\": null,\n                    \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 430980,\n                \"date\": \"2023-05-25\"\n            },\n            {\n                \"id\": 578,\n                \"contact_id\": {\n                    \"id\": 949,\n                    \"categ_id\": null,\n                    \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 100000,\n                \"date\": \"2023-05-24\"\n            },\n            {\n                \"id\": 575,\n                \"contact_id\": {\n                    \"id\": 949,\n                    \"categ_id\": null,\n                    \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 100000,\n                \"date\": \"2023-05-23\"\n            },\n            {\n                \"id\": 574,\n                \"contact_id\": {\n                    \"id\": 1005,\n                    \"categ_id\": null,\n                    \"name\": \"Tayopack Sdn. Bhd.\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 275600,\n                \"date\": \"2023-05-23\"\n            },\n            {\n                \"id\": 576,\n                \"contact_id\": {\n                    \"id\": 848,\n                    \"categ_id\": null,\n                    \"name\": \"Celovis Malaysia \"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 81577.6,\n                \"date\": \"2023-05-23\"\n            },\n            {\n                \"id\": 573,\n                \"contact_id\": {\n                    \"id\": 1002,\n                    \"categ_id\": null,\n                    \"name\": \"KLAY ENERSOL SDN. BHD.\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 204792,\n                \"date\": \"2023-05-18\"\n            },\n            {\n                \"id\": 536,\n                \"contact_id\": {\n                    \"id\": 952,\n                    \"categ_id\": null,\n                    \"name\": \"SaniChem Resources Sdn. Bhd.\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 356169,\n                \"date\": \"2023-05-17\"\n            },\n            {\n                \"id\": 572,\n                \"contact_id\": {\n                    \"id\": 1000,\n                    \"categ_id\": null,\n                    \"name\": \"Exceltech Food Trading Sdn Bhd\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 51887,\n                \"date\": \"2023-05-17\"\n            },\n            {\n                \"id\": 570,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 44606.94,\n                \"date\": \"2023-05-13\"\n            },\n            {\n                \"id\": 569,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 68776.94,\n                \"date\": \"2023-05-12\"\n            },\n            {\n                \"id\": 568,\n                \"contact_id\": {\n                    \"id\": 995,\n                    \"categ_id\": null,\n                    \"name\": \"WWRC\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 56643,\n                \"date\": \"2023-05-11\"\n            },\n            {\n                \"id\": 567,\n                \"contact_id\": {\n                    \"id\": 992,\n                    \"categ_id\": null,\n                    \"name\": \"ST Engineering \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 18866.94,\n                \"date\": \"2023-05-11\"\n            },\n            {\n                \"id\": 554,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 31800,\n                \"date\": \"2023-05-11\"\n            },\n            {\n                \"id\": 566,\n                \"contact_id\": {\n                    \"id\": 986,\n                    \"categ_id\": null,\n                    \"name\": \"TDC AUTOMOBILE SDN BHD\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 27507,\n                \"date\": \"2023-04-20\"\n            },\n            {\n                \"id\": 565,\n                \"contact_id\": {\n                    \"id\": 973,\n                    \"categ_id\": null,\n                    \"name\": \"QRZ MotorSports \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 28090,\n                \"date\": \"2023-04-19\"\n            },\n            {\n                \"id\": 564,\n                \"contact_id\": {\n                    \"id\": 982,\n                    \"categ_id\": null,\n                    \"name\": \"Chian Hardware & Fastener Sdn Bhd (Bosch)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 3816,\n                \"date\": \"2023-04-17\"\n            },\n            {\n                \"id\": 563,\n                \"contact_id\": {\n                    \"id\": 853,\n                    \"categ_id\": null,\n                    \"name\": \"Bosch Malaysia\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 3816,\n                \"date\": \"2023-04-17\"\n            },\n            {\n                \"id\": 561,\n                \"contact_id\": {\n                    \"id\": 982,\n                    \"categ_id\": null,\n                    \"name\": \"Chian Hardware & Fastener Sdn Bhd (Bosch)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 3975,\n                \"date\": \"2023-04-14\"\n            },\n            {\n                \"id\": 560,\n                \"contact_id\": {\n                    \"id\": 853,\n                    \"categ_id\": null,\n                    \"name\": \"Bosch Malaysia\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 477,\n                \"date\": \"2023-04-13\"\n            },\n            {\n                \"id\": 558,\n                \"contact_id\": {\n                    \"id\": 913,\n                    \"categ_id\": null,\n                    \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 260197,\n                \"date\": \"2023-04-04\"\n            },\n            {\n                \"id\": 557,\n                \"contact_id\": {\n                    \"id\": 975,\n                    \"categ_id\": null,\n                    \"name\": \"Kendek Products\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 20087,\n                \"date\": \"2023-03-30\"\n            },\n            {\n                \"id\": 555,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 185.5,\n                \"date\": \"2023-03-29\"\n            },\n            {\n                \"id\": 556,\n                \"contact_id\": {\n                    \"id\": 973,\n                    \"categ_id\": null,\n                    \"name\": \"QRZ MotorSports \"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 21730,\n                \"date\": \"2023-03-29\"\n            },\n            {\n                \"id\": 550,\n                \"contact_id\": {\n                    \"id\": 970,\n                    \"categ_id\": null,\n                    \"name\": \"Markaids (Malaysia) Sdn Bhd \"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 4383,\n                \"date\": \"2023-03-28\"\n            },\n            {\n                \"id\": 553,\n                \"contact_id\": {\n                    \"id\": 927,\n                    \"categ_id\": null,\n                    \"name\": \"Sklew Biotech\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 18337.15,\n                \"date\": \"2023-03-27\"\n            },\n            {\n                \"id\": 551,\n                \"contact_id\": {\n                    \"id\": 927,\n                    \"categ_id\": null,\n                    \"name\": \"Sklew Biotech\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 18336.52,\n                \"date\": \"2023-03-27\"\n            },\n            {\n                \"id\": 552,\n                \"contact_id\": {\n                    \"id\": 698,\n                    \"categ_id\": null,\n                    \"name\": \"Gruppe Marketing Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 1590,\n                \"date\": \"2023-03-27\"\n            },\n            {\n                \"id\": 549,\n                \"contact_id\": {\n                    \"id\": 790,\n                    \"categ_id\": null,\n                    \"name\": \"Gapurnapermai (Costa Coffe)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 4028,\n                \"date\": \"2023-03-27\"\n            },\n            {\n                \"id\": 548,\n                \"contact_id\": {\n                    \"id\": 967,\n                    \"categ_id\": null,\n                    \"name\": \"Hipple (Asia Pacific) Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 25438.94,\n                \"date\": \"2023-03-23\"\n            },\n            {\n                \"id\": 547,\n                \"contact_id\": {\n                    \"id\": 705,\n                    \"categ_id\": null,\n                    \"name\": \"Austin Powder Sdn Bhd\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 143003.54,\n                \"date\": \"2023-03-22\"\n            },\n            {\n                \"id\": 546,\n                \"contact_id\": {\n                    \"id\": 913,\n                    \"categ_id\": null,\n                    \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 260197,\n                \"date\": \"2023-03-21\"\n            },\n            {\n                \"id\": 545,\n                \"contact_id\": {\n                    \"id\": 698,\n                    \"categ_id\": null,\n                    \"name\": \"Gruppe Marketing Sdn Bhd\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 3180,\n                \"date\": \"2023-03-20\"\n            },\n            {\n                \"id\": 544,\n                \"contact_id\": {\n                    \"id\": 832,\n                    \"categ_id\": null,\n                    \"name\": \"Sanko Plastic (Malaysia) Sdn Bhd\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 3900,\n                \"date\": \"2023-03-17\"\n            },\n            {\n                \"id\": 543,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 26500,\n                \"date\": \"2023-03-17\"\n            },\n            {\n                \"id\": 542,\n                \"contact_id\": {\n                    \"id\": 927,\n                    \"categ_id\": null,\n                    \"name\": \"Sklew Biotech\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 16216.52,\n                \"date\": \"2023-03-16\"\n            },\n            {\n                \"id\": 537,\n                \"contact_id\": {\n                    \"id\": 698,\n                    \"categ_id\": null,\n                    \"name\": \"Gruppe Marketing Sdn Bhd\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 5300,\n                \"date\": \"2023-03-15\"\n            },\n            {\n                \"id\": 541,\n                \"contact_id\": {\n                    \"id\": 961,\n                    \"categ_id\": null,\n                    \"name\": \"Ashvertising Marketing\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 28406.94,\n                \"date\": \"2023-03-14\"\n            },\n            {\n                \"id\": 540,\n                \"contact_id\": {\n                    \"id\": 956,\n                    \"categ_id\": null,\n                    \"name\": \"SMH RAIL SDN BHD\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 29627,\n                \"date\": \"2023-03-13\"\n            },\n            {\n                \"id\": 539,\n                \"contact_id\": {\n                    \"id\": 949,\n                    \"categ_id\": null,\n                    \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 74076.28,\n                \"date\": \"2023-03-12\"\n            },\n            {\n                \"id\": 538,\n                \"contact_id\": {\n                    \"id\": 954,\n                    \"categ_id\": null,\n                    \"name\": \"Namicoh Suria Sdn Bhd\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 685470,\n                \"date\": \"2023-03-09\"\n            },\n            {\n                \"id\": 524,\n                \"contact_id\": {\n                    \"id\": 848,\n                    \"categ_id\": null,\n                    \"name\": \"Celovis Malaysia \"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 88923.4,\n                \"date\": \"2023-03-09\"\n            },\n            {\n                \"id\": 532,\n                \"contact_id\": {\n                    \"id\": 949,\n                    \"categ_id\": null,\n                    \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 74076.28,\n                \"date\": \"2023-03-08\"\n            },\n            {\n                \"id\": 533,\n                \"contact_id\": {\n                    \"id\": 790,\n                    \"categ_id\": null,\n                    \"name\": \"Gapurnapermai (Costa Coffe)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 5167.5,\n                \"date\": \"2023-03-07\"\n            },\n            {\n                \"id\": 530,\n                \"contact_id\": {\n                    \"id\": 790,\n                    \"categ_id\": null,\n                    \"name\": \"Gapurnapermai (Costa Coffe)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 6969.5,\n                \"date\": \"2023-03-07\"\n            },\n            {\n                \"id\": 534,\n                \"contact_id\": {\n                    \"id\": 949,\n                    \"categ_id\": null,\n                    \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 44507.28,\n                \"date\": \"2023-03-06\"\n            },\n            {\n                \"id\": 531,\n                \"contact_id\": {\n                    \"id\": 514,\n                    \"categ_id\": null,\n                    \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 560390,\n                \"date\": \"2023-03-03\"\n            },\n            {\n                \"id\": 529,\n                \"contact_id\": {\n                    \"id\": 947,\n                    \"categ_id\": null,\n                    \"name\": \"FrogAsia \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 34766.94,\n                \"date\": \"2023-02-28\"\n            },\n            {\n                \"id\": 528,\n                \"contact_id\": {\n                    \"id\": 945,\n                    \"categ_id\": null,\n                    \"name\": \"Lion Machinery Supply Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 22525,\n                \"date\": \"2023-02-23\"\n            },\n            {\n                \"id\": 527,\n                \"contact_id\": {\n                    \"id\": 1002,\n                    \"categ_id\": null,\n                    \"name\": \"KLAY ENERSOL SDN. BHD.\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 16907,\n                \"date\": \"2023-02-21\"\n            },\n            {\n                \"id\": 526,\n                \"contact_id\": {\n                    \"id\": 939,\n                    \"categ_id\": null,\n                    \"name\": \"Red Dino \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 15900,\n                \"date\": \"2023-02-16\"\n            },\n            {\n                \"id\": 525,\n                \"contact_id\": {\n                    \"id\": 465,\n                    \"categ_id\": null,\n                    \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 430980,\n                \"date\": \"2023-02-15\"\n            },\n            {\n                \"id\": 523,\n                \"contact_id\": {\n                    \"id\": 937,\n                    \"categ_id\": null,\n                    \"name\": \"SYSTEMATIC AVIATION SERVICES SDN BHD\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 37259,\n                \"date\": \"2023-02-14\"\n            },\n            {\n                \"id\": 522,\n                \"contact_id\": {\n                    \"id\": 514,\n                    \"categ_id\": null,\n                    \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 532785,\n                \"date\": \"2023-02-13\"\n            },\n            {\n                \"id\": 520,\n                \"contact_id\": {\n                    \"id\": 514,\n                    \"categ_id\": null,\n                    \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 260197,\n                \"date\": \"2023-02-13\"\n            },\n            {\n                \"id\": 519,\n                \"contact_id\": {\n                    \"id\": 936,\n                    \"categ_id\": null,\n                    \"name\": \"Tom - Ministry Of Finance\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 160000,\n                \"date\": \"2023-02-09\"\n            },\n            {\n                \"id\": 518,\n                \"contact_id\": {\n                    \"id\": 934,\n                    \"categ_id\": null,\n                    \"name\": \"OUS Group\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 16746.94,\n                \"date\": \"2023-02-09\"\n            },\n            {\n                \"id\": 517,\n                \"contact_id\": {\n                    \"id\": 931,\n                    \"categ_id\": null,\n                    \"name\": \"Elfi Jewellery\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 30717.74,\n                \"date\": \"2023-02-02\"\n            },\n            {\n                \"id\": 516,\n                \"contact_id\": {\n                    \"id\": 927,\n                    \"categ_id\": null,\n                    \"name\": \"Sklew Biotech\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 16217.15,\n                \"date\": \"2023-01-27\"\n            },\n            {\n                \"id\": 513,\n                \"contact_id\": {\n                    \"id\": 805,\n                    \"categ_id\": null,\n                    \"name\": \"Al Junior Ventures Services Sdn.Bhd.\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 2120,\n                \"date\": \"2023-01-19\"\n            },\n            {\n                \"id\": 512,\n                \"contact_id\": {\n                    \"id\": 848,\n                    \"categ_id\": null,\n                    \"name\": \"Celovis Malaysia \"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 74380.2,\n                \"date\": \"2023-01-19\"\n            },\n            {\n                \"id\": 514,\n                \"contact_id\": {\n                    \"id\": 465,\n                    \"categ_id\": null,\n                    \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 277980,\n                \"date\": \"2023-01-19\"\n            },\n            {\n                \"id\": 511,\n                \"contact_id\": {\n                    \"id\": 877,\n                    \"categ_id\": null,\n                    \"name\": \"Rurutiki Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 139559.6,\n                \"date\": \"2023-01-12\"\n            },\n            {\n                \"id\": 510,\n                \"contact_id\": {\n                    \"id\": 832,\n                    \"categ_id\": null,\n                    \"name\": \"Sanko Plastic (Malaysia) Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 7560,\n                \"date\": \"2023-01-10\"\n            },\n            {\n                \"id\": 509,\n                \"contact_id\": {\n                    \"id\": 923,\n                    \"categ_id\": null,\n                    \"name\": \"SP REAL TRADE\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 14626.94,\n                \"date\": \"2023-01-09\"\n            },\n            {\n                \"id\": 508,\n                \"contact_id\": {\n                    \"id\": 853,\n                    \"categ_id\": null,\n                    \"name\": \"Bosch Malaysia\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 477,\n                \"date\": \"2023-01-04\"\n            },\n            {\n                \"id\": 507,\n                \"contact_id\": {\n                    \"id\": 913,\n                    \"categ_id\": null,\n                    \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 260197,\n                \"date\": \"2022-12-29\"\n            },\n            {\n                \"id\": 506,\n                \"contact_id\": {\n                    \"id\": 920,\n                    \"categ_id\": null,\n                    \"name\": \"Seasonings Specialities Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 501168,\n                \"date\": \"2022-12-28\"\n            },\n            {\n                \"id\": 501,\n                \"contact_id\": {\n                    \"id\": 918,\n                    \"categ_id\": null,\n                    \"name\": \"Makna Setia Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 6890,\n                \"date\": \"2022-12-28\"\n            },\n            {\n                \"id\": 503,\n                \"contact_id\": {\n                    \"id\": 920,\n                    \"categ_id\": null,\n                    \"name\": \"Seasonings Specialities Sdn Bhd\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 521320,\n                \"date\": \"2022-12-26\"\n            },\n            {\n                \"id\": 504,\n                \"contact_id\": {\n                    \"id\": 913,\n                    \"categ_id\": null,\n                    \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 442805.2,\n                \"date\": \"2022-12-26\"\n            },\n            {\n                \"id\": 500,\n                \"contact_id\": {\n                    \"id\": 913,\n                    \"categ_id\": null,\n                    \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 521320,\n                \"date\": \"2022-12-23\"\n            },\n            {\n                \"id\": 495,\n                \"contact_id\": {\n                    \"id\": 913,\n                    \"categ_id\": null,\n                    \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 538480,\n                \"date\": \"2022-12-22\"\n            },\n            {\n                \"id\": 498,\n                \"contact_id\": {\n                    \"id\": 853,\n                    \"categ_id\": null,\n                    \"name\": \"Bosch Malaysia\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 8798,\n                \"date\": \"2022-12-22\"\n            },\n            {\n                \"id\": 493,\n                \"contact_id\": {\n                    \"id\": 908,\n                    \"categ_id\": null,\n                    \"name\": \"Emax Beaute international Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 16059,\n                \"date\": \"2022-12-16\"\n            },\n            {\n                \"id\": 502,\n                \"contact_id\": {\n                    \"id\": 920,\n                    \"categ_id\": null,\n                    \"name\": \"Seasonings Specialities Sdn Bhd\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 521320,\n                \"date\": \"2022-12-15\"\n            },\n            {\n                \"id\": 491,\n                \"contact_id\": {\n                    \"id\": 906,\n                    \"categ_id\": null,\n                    \"name\": \"Gintell (M) Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 13663.4,\n                \"date\": \"2022-12-13\"\n            },\n            {\n                \"id\": 490,\n                \"contact_id\": {\n                    \"id\": 904,\n                    \"categ_id\": null,\n                    \"name\": \"Eco & Green Exhibition Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 16960,\n                \"date\": \"2022-12-09\"\n            },\n            {\n                \"id\": 483,\n                \"contact_id\": {\n                    \"id\": 465,\n                    \"categ_id\": null,\n                    \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 41340,\n                \"date\": \"2022-12-08\"\n            },\n            {\n                \"id\": 489,\n                \"contact_id\": {\n                    \"id\": 902,\n                    \"categ_id\": null,\n                    \"name\": \"WarongKu\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 19080,\n                \"date\": \"2022-12-05\"\n            },\n            {\n                \"id\": 488,\n                \"contact_id\": {\n                    \"id\": 899,\n                    \"categ_id\": null,\n                    \"name\": \"CK Rahim Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 34320,\n                \"date\": \"2022-12-02\"\n            },\n            {\n                \"id\": 487,\n                \"contact_id\": {\n                    \"id\": 899,\n                    \"categ_id\": null,\n                    \"name\": \"CK Rahim Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 12179.4,\n                \"date\": \"2022-12-02\"\n            },\n            {\n                \"id\": 496,\n                \"contact_id\": {\n                    \"id\": 913,\n                    \"categ_id\": null,\n                    \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 521320,\n                \"date\": \"2022-12-01\"\n            },\n            {\n                \"id\": 486,\n                \"contact_id\": {\n                    \"id\": 900,\n                    \"categ_id\": null,\n                    \"name\": \"Utopia Valley Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 19641.34,\n                \"date\": \"2022-11-30\"\n            },\n            {\n                \"id\": 485,\n                \"contact_id\": {\n                    \"id\": 893,\n                    \"categ_id\": null,\n                    \"name\": \"Mode Fragrance\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 108000,\n                \"date\": \"2022-11-29\"\n            },\n            {\n                \"id\": 484,\n                \"contact_id\": {\n                    \"id\": 895,\n                    \"categ_id\": null,\n                    \"name\": \"Clover Cafe \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 108000,\n                \"date\": \"2022-11-29\"\n            },\n            {\n                \"id\": 482,\n                \"contact_id\": {\n                    \"id\": 874,\n                    \"categ_id\": null,\n                    \"name\": \"Techstream Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 27346.94,\n                \"date\": \"2022-11-22\"\n            },\n            {\n                \"id\": 481,\n                \"contact_id\": {\n                    \"id\": 887,\n                    \"categ_id\": null,\n                    \"name\": \"GPE Tech Solution \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 16907,\n                \"date\": \"2022-11-16\"\n            },\n            {\n                \"id\": 480,\n                \"contact_id\": {\n                    \"id\": 866,\n                    \"categ_id\": null,\n                    \"name\": \"DGB Networks Sdn.Bhd.\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 101447.3,\n                \"date\": \"2022-11-15\"\n            },\n            {\n                \"id\": 479,\n                \"contact_id\": {\n                    \"id\": 866,\n                    \"categ_id\": null,\n                    \"name\": \"DGB Networks Sdn.Bhd.\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 63817.3,\n                \"date\": \"2022-11-14\"\n            },\n            {\n                \"id\": 478,\n                \"contact_id\": {\n                    \"id\": 884,\n                    \"categ_id\": null,\n                    \"name\": \"Koputra\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 13566.94,\n                \"date\": \"2022-11-10\"\n            },\n            {\n                \"id\": 477,\n                \"contact_id\": {\n                    \"id\": 853,\n                    \"categ_id\": null,\n                    \"name\": \"Bosch Malaysia\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 15370,\n                \"date\": \"2022-11-10\"\n            },\n            {\n                \"id\": 474,\n                \"contact_id\": {\n                    \"id\": 790,\n                    \"categ_id\": null,\n                    \"name\": \"Gapurnapermai (Costa Coffe)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 1060,\n                \"date\": \"2022-11-07\"\n            },\n            {\n                \"id\": 473,\n                \"contact_id\": {\n                    \"id\": 881,\n                    \"categ_id\": null,\n                    \"name\": \"Property & Food \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 5300,\n                \"date\": \"2022-11-02\"\n            },\n            {\n                \"id\": 472,\n                \"contact_id\": {\n                    \"id\": 879,\n                    \"categ_id\": null,\n                    \"name\": \"eMed Asia\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 20935,\n                \"date\": \"2022-11-01\"\n            },\n            {\n                \"id\": 471,\n                \"contact_id\": {\n                    \"id\": 832,\n                    \"categ_id\": null,\n                    \"name\": \"Sanko Plastic (Malaysia) Sdn Bhd\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 27380.94,\n                \"date\": \"2022-10-31\"\n            },\n            {\n                \"id\": 470,\n                \"contact_id\": {\n                    \"id\": 870,\n                    \"categ_id\": null,\n                    \"name\": \"Newton Technology Group\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 46799,\n                \"date\": \"2022-10-28\"\n            },\n            {\n                \"id\": 468,\n                \"contact_id\": {\n                    \"id\": 874,\n                    \"categ_id\": null,\n                    \"name\": \"Techstream Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 17806.94,\n                \"date\": \"2022-10-26\"\n            },\n            {\n                \"id\": 469,\n                \"contact_id\": {\n                    \"id\": 877,\n                    \"categ_id\": null,\n                    \"name\": \"Rurutiki Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 139559.6,\n                \"date\": \"2022-10-26\"\n            },\n            {\n                \"id\": 467,\n                \"contact_id\": {\n                    \"id\": 870,\n                    \"categ_id\": null,\n                    \"name\": \"Newton Technology Group\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 28799,\n                \"date\": \"2022-10-24\"\n            },\n            {\n                \"id\": 466,\n                \"contact_id\": {\n                    \"id\": 869,\n                    \"categ_id\": null,\n                    \"name\": \"Link Learn\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 9540,\n                \"date\": \"2022-10-19\"\n            },\n            {\n                \"id\": 439,\n                \"contact_id\": {\n                    \"id\": 833,\n                    \"categ_id\": null,\n                    \"name\": \"CY Plastic \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 162180,\n                \"date\": \"2022-10-19\"\n            },\n            {\n                \"id\": 464,\n                \"contact_id\": {\n                    \"id\": 790,\n                    \"categ_id\": null,\n                    \"name\": \"Gapurnapermai (Costa Coffe)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 2070,\n                \"date\": \"2022-10-19\"\n            },\n            {\n                \"id\": 465,\n                \"contact_id\": {\n                    \"id\": 866,\n                    \"categ_id\": null,\n                    \"name\": \"DGB Networks Sdn.Bhd.\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 28361.68,\n                \"date\": \"2022-10-18\"\n            },\n            {\n                \"id\": 463,\n                \"contact_id\": {\n                    \"id\": 776,\n                    \"categ_id\": null,\n                    \"name\": \"OSK Construction Sdn Bhd\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 15973.14,\n                \"date\": \"2022-10-17\"\n            },\n            {\n                \"id\": 462,\n                \"contact_id\": {\n                    \"id\": 864,\n                    \"categ_id\": null,\n                    \"name\": \"ES Crane Trading\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 4770,\n                \"date\": \"2022-10-14\"\n            },\n            {\n                \"id\": 459,\n                \"contact_id\": {\n                    \"id\": 859,\n                    \"categ_id\": null,\n                    \"name\": \"SNS Medica\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 9010,\n                \"date\": \"2022-10-14\"\n            },\n            {\n                \"id\": 461,\n                \"contact_id\": {\n                    \"id\": 861,\n                    \"categ_id\": null,\n                    \"name\": \"MBP Solutions Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 10600,\n                \"date\": \"2022-10-14\"\n            },\n            {\n                \"id\": 460,\n                \"contact_id\": {\n                    \"id\": 861,\n                    \"categ_id\": null,\n                    \"name\": \"MBP Solutions Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 6360,\n                \"date\": \"2022-10-14\"\n            },\n            {\n                \"id\": 458,\n                \"contact_id\": {\n                    \"id\": 858,\n                    \"categ_id\": null,\n                    \"name\": \"Red Dino\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 10070,\n                \"date\": \"2022-10-11\"\n            },\n            {\n                \"id\": 457,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 1060,\n                \"date\": \"2022-10-07\"\n            },\n            {\n                \"id\": 455,\n                \"contact_id\": {\n                    \"id\": 855,\n                    \"categ_id\": null,\n                    \"name\": \"Grand Continental Hotel\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 12294.94,\n                \"date\": \"2022-10-05\"\n            },\n            {\n                \"id\": 453,\n                \"contact_id\": {\n                    \"id\": 839,\n                    \"categ_id\": null,\n                    \"name\": \"ifixtech \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 31200,\n                \"date\": \"2022-10-04\"\n            },\n            {\n                \"id\": 476,\n                \"contact_id\": {\n                    \"id\": 465,\n                    \"categ_id\": null,\n                    \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 359128,\n                \"date\": \"2022-09-30\"\n            },\n            {\n                \"id\": 452,\n                \"contact_id\": {\n                    \"id\": 853,\n                    \"categ_id\": null,\n                    \"name\": \"Bosch Malaysia\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 4768.94,\n                \"date\": \"2022-09-30\"\n            },\n            {\n                \"id\": 451,\n                \"contact_id\": {\n                    \"id\": 853,\n                    \"categ_id\": null,\n                    \"name\": \"Bosch Malaysia\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 12720,\n                \"date\": \"2022-09-30\"\n            },\n            {\n                \"id\": 410,\n                \"contact_id\": {\n                    \"id\": 776,\n                    \"categ_id\": null,\n                    \"name\": \"OSK Construction Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 17488.94,\n                \"date\": \"2022-09-28\"\n            },\n            {\n                \"id\": 445,\n                \"contact_id\": {\n                    \"id\": 846,\n                    \"categ_id\": null,\n                    \"name\": \"Nura \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 17594.94,\n                \"date\": \"2022-09-26\"\n            },\n            {\n                \"id\": 448,\n                \"contact_id\": {\n                    \"id\": 848,\n                    \"categ_id\": null,\n                    \"name\": \"Celovis Malaysia \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 62729.74,\n                \"date\": \"2022-09-26\"\n            },\n            {\n                \"id\": 444,\n                \"contact_id\": {\n                    \"id\": 843,\n                    \"categ_id\": null,\n                    \"name\": \"Domos\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 1272,\n                \"date\": \"2022-09-22\"\n            },\n            {\n                \"id\": 442,\n                \"contact_id\": {\n                    \"id\": 839,\n                    \"categ_id\": null,\n                    \"name\": \"ifixtech \"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 32700,\n                \"date\": \"2022-09-21\"\n            },\n            {\n                \"id\": 443,\n                \"contact_id\": {\n                    \"id\": 841,\n                    \"categ_id\": null,\n                    \"name\": \"Estilo Media\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 101895,\n                \"date\": \"2022-09-21\"\n            },\n            {\n                \"id\": 441,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 132.5,\n                \"date\": \"2022-09-19\"\n            },\n            {\n                \"id\": 440,\n                \"contact_id\": {\n                    \"id\": 835,\n                    \"categ_id\": null,\n                    \"name\": \"Hayat AutoTech \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 13102,\n                \"date\": \"2022-09-14\"\n            },\n            {\n                \"id\": 438,\n                \"contact_id\": {\n                    \"id\": 785,\n                    \"categ_id\": null,\n                    \"name\": \"Emerging EPC Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 362096,\n                \"date\": \"2022-09-08\"\n            },\n            {\n                \"id\": 449,\n                \"contact_id\": {\n                    \"id\": 776,\n                    \"categ_id\": null,\n                    \"name\": \"OSK Construction Sdn Bhd\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 25597.94,\n                \"date\": \"2022-09-06\"\n            },\n            {\n                \"id\": 437,\n                \"contact_id\": {\n                    \"id\": 832,\n                    \"categ_id\": null,\n                    \"name\": \"Sanko Plastic (Malaysia) Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 19590.94,\n                \"date\": \"2022-09-05\"\n            },\n            {\n                \"id\": 436,\n                \"contact_id\": {\n                    \"id\": 785,\n                    \"categ_id\": null,\n                    \"name\": \"Emerging EPC Sdn Bhd\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 310851.36,\n                \"date\": \"2022-08-31\"\n            },\n            {\n                \"id\": 435,\n                \"contact_id\": {\n                    \"id\": 785,\n                    \"categ_id\": null,\n                    \"name\": \"Emerging EPC Sdn Bhd\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 785036,\n                \"date\": \"2022-08-30\"\n            },\n            {\n                \"id\": 434,\n                \"contact_id\": {\n                    \"id\": 827,\n                    \"categ_id\": null,\n                    \"name\": \"SKY Blue Media\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 9749,\n                \"date\": \"2022-08-24\"\n            },\n            {\n                \"id\": 431,\n                \"contact_id\": {\n                    \"id\": 825,\n                    \"categ_id\": null,\n                    \"name\": \"YAL Bulk Packing Service\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 16446,\n                \"date\": \"2022-08-18\"\n            },\n            {\n                \"id\": 427,\n                \"contact_id\": {\n                    \"id\": 823,\n                    \"categ_id\": null,\n                    \"name\": \"White Umbrella Sdn. Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 7509.04,\n                \"date\": \"2022-08-17\"\n            },\n            {\n                \"id\": 425,\n                \"contact_id\": {\n                    \"id\": 820,\n                    \"categ_id\": null,\n                    \"name\": \"A Shutters \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 22364.94,\n                \"date\": \"2022-08-12\"\n            },\n            {\n                \"id\": 426,\n                \"contact_id\": {\n                    \"id\": 790,\n                    \"categ_id\": null,\n                    \"name\": \"Gapurnapermai (Costa Coffe)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 22249.4,\n                \"date\": \"2022-08-12\"\n            },\n            {\n                \"id\": 423,\n                \"contact_id\": {\n                    \"id\": 816,\n                    \"categ_id\": null,\n                    \"name\": \"Kapten Batik\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 5671,\n                \"date\": \"2022-08-11\"\n            },\n            {\n                \"id\": 424,\n                \"contact_id\": {\n                    \"id\": 818,\n                    \"categ_id\": null,\n                    \"name\": \"Heritage House Legacy Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 3708.94,\n                \"date\": \"2022-08-11\"\n            },\n            {\n                \"id\": 419,\n                \"contact_id\": {\n                    \"id\": 64,\n                    \"categ_id\": null,\n                    \"name\": \"V'asia Cosmetic & Healthcare\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 2477.22,\n                \"date\": \"2022-08-10\"\n            },\n            {\n                \"id\": 418,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 371,\n                \"date\": \"2022-08-10\"\n            },\n            {\n                \"id\": 421,\n                \"contact_id\": {\n                    \"id\": 618,\n                    \"categ_id\": null,\n                    \"name\": \"Panwrite Plastic Industries Sdn Bhd\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 81469,\n                \"date\": \"2022-08-10\"\n            },\n            {\n                \"id\": 420,\n                \"contact_id\": {\n                    \"id\": 816,\n                    \"categ_id\": null,\n                    \"name\": \"Kapten Batik\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 2531.28,\n                \"date\": \"2022-08-10\"\n            },\n            {\n                \"id\": 416,\n                \"contact_id\": {\n                    \"id\": 64,\n                    \"categ_id\": null,\n                    \"name\": \"V'asia Cosmetic & Healthcare\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 3646,\n                \"date\": \"2022-08-08\"\n            },\n            {\n                \"id\": 417,\n                \"contact_id\": {\n                    \"id\": 790,\n                    \"categ_id\": null,\n                    \"name\": \"Gapurnapermai (Costa Coffe)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 24369.4,\n                \"date\": \"2022-08-03\"\n            },\n            {\n                \"id\": 415,\n                \"contact_id\": {\n                    \"id\": 807,\n                    \"categ_id\": null,\n                    \"name\": \"J Fleur Blossom \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 13780,\n                \"date\": \"2022-08-01\"\n            },\n            {\n                \"id\": 411,\n                \"contact_id\": {\n                    \"id\": 805,\n                    \"categ_id\": null,\n                    \"name\": \"Al Junior Ventures Services Sdn.Bhd.\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 800,\n                \"date\": \"2022-08-01\"\n            },\n            {\n                \"id\": 408,\n                \"contact_id\": {\n                    \"id\": 776,\n                    \"categ_id\": null,\n                    \"name\": \"OSK Construction Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 4200,\n                \"date\": \"2022-07-22\"\n            },\n            {\n                \"id\": 406,\n                \"contact_id\": {\n                    \"id\": 776,\n                    \"categ_id\": null,\n                    \"name\": \"OSK Construction Sdn Bhd\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 19608.94,\n                \"date\": \"2022-07-18\"\n            },\n            {\n                \"id\": 405,\n                \"contact_id\": {\n                    \"id\": 785,\n                    \"categ_id\": null,\n                    \"name\": \"Emerging EPC Sdn Bhd\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 677340,\n                \"date\": \"2022-07-12\"\n            },\n            {\n                \"id\": 404,\n                \"contact_id\": {\n                    \"id\": 785,\n                    \"categ_id\": null,\n                    \"name\": \"Emerging EPC Sdn Bhd\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 605578,\n                \"date\": \"2022-07-07\"\n            },\n            {\n                \"id\": 402,\n                \"contact_id\": {\n                    \"id\": 801,\n                    \"categ_id\": null,\n                    \"name\": \"Nam Tat Trading\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 8891.28,\n                \"date\": \"2022-06-22\"\n            },\n            {\n                \"id\": 403,\n                \"contact_id\": {\n                    \"id\": 803,\n                    \"categ_id\": null,\n                    \"name\": \"SULOMAS SDN BHD\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 48336,\n                \"date\": \"2022-06-22\"\n            },\n            {\n                \"id\": 401,\n                \"contact_id\": {\n                    \"id\": 776,\n                    \"categ_id\": null,\n                    \"name\": \"OSK Construction Sdn Bhd\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 18972.94,\n                \"date\": \"2022-06-20\"\n            },\n            {\n                \"id\": 399,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 331.25,\n                \"date\": \"2022-06-13\"\n            },\n            {\n                \"id\": 400,\n                \"contact_id\": {\n                    \"id\": 792,\n                    \"categ_id\": null,\n                    \"name\": \"CENTURY MARK PACIFIC MARKETING SDN BHD\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 3180,\n                \"date\": \"2022-06-13\"\n            },\n            {\n                \"id\": 398,\n                \"contact_id\": {\n                    \"id\": 790,\n                    \"categ_id\": null,\n                    \"name\": \"Gapurnapermai (Costa Coffe)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 27432.8,\n                \"date\": \"2022-06-09\"\n            },\n            {\n                \"id\": 397,\n                \"contact_id\": {\n                    \"id\": 788,\n                    \"categ_id\": null,\n                    \"name\": \"Petersime \"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 33920,\n                \"date\": \"2022-06-08\"\n            },\n            {\n                \"id\": 396,\n                \"contact_id\": {\n                    \"id\": 776,\n                    \"categ_id\": null,\n                    \"name\": \"OSK Construction Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 22894.94,\n                \"date\": \"2022-06-08\"\n            },\n            {\n                \"id\": 395,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 397.5,\n                \"date\": \"2022-06-02\"\n            },\n            {\n                \"id\": 393,\n                \"contact_id\": {\n                    \"id\": 698,\n                    \"categ_id\": null,\n                    \"name\": \"Gruppe Marketing Sdn Bhd\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 265,\n                \"date\": \"2022-06-01\"\n            },\n            {\n                \"id\": 394,\n                \"contact_id\": {\n                    \"id\": 785,\n                    \"categ_id\": null,\n                    \"name\": \"Emerging EPC Sdn Bhd\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 411280,\n                \"date\": \"2022-06-01\"\n            },\n            {\n                \"id\": 392,\n                \"contact_id\": {\n                    \"id\": 784,\n                    \"categ_id\": null,\n                    \"name\": \"Bryan \"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 8787.4,\n                \"date\": \"2022-06-01\"\n            },\n            {\n                \"id\": 391,\n                \"contact_id\": {\n                    \"id\": 658,\n                    \"categ_id\": null,\n                    \"name\": \"MMC International Fulfilment Center\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 397.5,\n                \"date\": \"2022-05-31\"\n            },\n            {\n                \"id\": 390,\n                \"contact_id\": {\n                    \"id\": 698,\n                    \"categ_id\": null,\n                    \"name\": \"Gruppe Marketing Sdn Bhd\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 2385,\n                \"date\": \"2022-05-30\"\n            },\n            {\n                \"id\": 389,\n                \"contact_id\": {\n                    \"id\": 465,\n                    \"categ_id\": null,\n                    \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 19040,\n                \"date\": \"2022-05-23\"\n            },\n            {\n                \"id\": 388,\n                \"contact_id\": {\n                    \"id\": 698,\n                    \"categ_id\": null,\n                    \"name\": \"Gruppe Marketing Sdn Bhd\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 4240,\n                \"date\": \"2022-05-23\"\n            },\n            {\n                \"id\": 387,\n                \"contact_id\": {\n                    \"id\": 776,\n                    \"categ_id\": null,\n                    \"name\": \"OSK Construction Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 19714.94,\n                \"date\": \"2022-05-16\"\n            },\n            {\n                \"id\": 385,\n                \"contact_id\": {\n                    \"id\": 772,\n                    \"categ_id\": null,\n                    \"name\": \"Allan\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 6719,\n                \"date\": \"2022-04-29\"\n            },\n            {\n                \"id\": 386,\n                \"contact_id\": {\n                    \"id\": 674,\n                    \"categ_id\": null,\n                    \"name\": \"APEX KNOWLEDGE SDN. BHD.\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 14542.14,\n                \"date\": \"2022-04-29\"\n            },\n            {\n                \"id\": 384,\n                \"contact_id\": {\n                    \"id\": 770,\n                    \"categ_id\": null,\n                    \"name\": \"Frank lee\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 12244.14,\n                \"date\": \"2022-04-28\"\n            },\n            {\n                \"id\": 383,\n                \"contact_id\": {\n                    \"id\": 767,\n                    \"categ_id\": null,\n                    \"name\": \"Patrick Tam\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 37149,\n                \"date\": \"2022-04-22\"\n            },\n            {\n                \"id\": 382,\n                \"contact_id\": {\n                    \"id\": 761,\n                    \"categ_id\": null,\n                    \"name\": \"Kingsley \"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 15978.44,\n                \"date\": \"2022-04-15\"\n            },\n            {\n                \"id\": 381,\n                \"contact_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Flowfuel Sdn Bhd\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 11738.44,\n                \"date\": \"2022-04-15\"\n            },\n            {\n                \"id\": 380,\n                \"contact_id\": {\n                    \"id\": 765,\n                    \"categ_id\": null,\n                    \"name\": \"RPD SD.BHD.\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 17624.94,\n                \"date\": \"2022-04-13\"\n            },\n            {\n                \"id\": 378,\n                \"contact_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Flowfuel Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"amount_total\": 11738.44,\n                \"date\": \"2022-04-13\"\n            },\n            {\n                \"id\": 377,\n                \"contact_id\": {\n                    \"id\": 757,\n                    \"categ_id\": null,\n                    \"name\": \"Shapadu Trans-System Sdn Bhd\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 0,\n                \"date\": \"2022-04-12\"\n            },\n            {\n                \"id\": 376,\n                \"contact_id\": {\n                    \"id\": 698,\n                    \"categ_id\": null,\n                    \"name\": \"Gruppe Marketing Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 2649,\n                \"date\": \"2022-03-28\"\n            },\n            {\n                \"id\": 375,\n                \"contact_id\": {\n                    \"id\": 698,\n                    \"categ_id\": null,\n                    \"name\": \"Gruppe Marketing Sdn Bhd\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 2499,\n                \"date\": \"2022-03-28\"\n            },\n            {\n                \"id\": 373,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 400,\n                \"date\": \"2022-01-28\"\n            },\n            {\n                \"id\": 407,\n                \"contact_id\": {\n                    \"id\": 568,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 322900,\n                \"date\": \"2022-01-27\"\n            },\n            {\n                \"id\": 372,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 750,\n                \"date\": \"2022-01-21\"\n            },\n            {\n                \"id\": 370,\n                \"contact_id\": {\n                    \"id\": 447,\n                    \"categ_id\": null,\n                    \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 3000,\n                \"date\": \"2022-01-20\"\n            },\n            {\n                \"id\": 371,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 625,\n                \"date\": \"2022-01-20\"\n            },\n            {\n                \"id\": 369,\n                \"contact_id\": {\n                    \"id\": 748,\n                    \"categ_id\": null,\n                    \"name\": \"KPG Synergy Sdn Bhd (307828-P)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 15000,\n                \"date\": \"2022-01-13\"\n            },\n            {\n                \"id\": 368,\n                \"contact_id\": {\n                    \"id\": 747,\n                    \"categ_id\": null,\n                    \"name\": \"AM Solution\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 53,\n                    \"name\": \"Chiew Hao\"\n                },\n                \"amount_total\": 5526.09,\n                \"date\": \"2022-01-06\"\n            },\n            {\n                \"id\": 367,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 400,\n                \"date\": \"2021-12-29\"\n            },\n            {\n                \"id\": 366,\n                \"contact_id\": {\n                    \"id\": 743,\n                    \"categ_id\": null,\n                    \"name\": \"RICCA PEACOCK ASIA SDN BHD\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 139299,\n                \"date\": \"2021-12-27\"\n            },\n            {\n                \"id\": 365,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 1800,\n                \"date\": \"2021-12-17\"\n            },\n            {\n                \"id\": 364,\n                \"contact_id\": {\n                    \"id\": 447,\n                    \"categ_id\": null,\n                    \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 1600,\n                \"date\": \"2021-12-13\"\n            },\n            {\n                \"id\": 363,\n                \"contact_id\": {\n                    \"id\": 166,\n                    \"categ_id\": null,\n                    \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 1600,\n                \"date\": \"2021-12-13\"\n            },\n            {\n                \"id\": 361,\n                \"contact_id\": {\n                    \"id\": 739,\n                    \"categ_id\": null,\n                    \"name\": \"Home Platform Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 15499,\n                \"date\": \"2021-12-02\"\n            },\n            {\n                \"id\": 360,\n                \"contact_id\": {\n                    \"id\": 737,\n                    \"categ_id\": null,\n                    \"name\": \"A&A Plastic Industries Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 14499,\n                \"date\": \"2021-12-01\"\n            },\n            {\n                \"id\": 359,\n                \"contact_id\": {\n                    \"id\": 658,\n                    \"categ_id\": null,\n                    \"name\": \"MMC International Fulfilment Center\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 200,\n                \"date\": \"2021-11-23\"\n            },\n            {\n                \"id\": 358,\n                \"contact_id\": {\n                    \"id\": 733,\n                    \"categ_id\": null,\n                    \"name\": \"MAPC Sdn Bhd (1058586M)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 79,\n                    \"name\": \"James Lee\"\n                },\n                \"amount_total\": 19239,\n                \"date\": \"2021-11-15\"\n            },\n            {\n                \"id\": 357,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 5240,\n                \"date\": \"2021-11-12\"\n            },\n            {\n                \"id\": 356,\n                \"contact_id\": {\n                    \"id\": 730,\n                    \"categ_id\": null,\n                    \"name\": \"APO (Malaysia) Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 79,\n                    \"name\": \"James Lee\"\n                },\n                \"amount_total\": 25499,\n                \"date\": \"2021-11-12\"\n            },\n            {\n                \"id\": 354,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"amount_total\": 34889,\n                \"date\": \"2021-11-11\"\n            },\n            {\n                \"id\": 355,\n                \"contact_id\": {\n                    \"id\": 465,\n                    \"categ_id\": null,\n                    \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 155089,\n                \"date\": \"2021-11-11\"\n            },\n            {\n                \"id\": 352,\n                \"contact_id\": {\n                    \"id\": 729,\n                    \"categ_id\": null,\n                    \"name\": \"Bergamot Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 79,\n                    \"name\": \"James Lee\"\n                },\n                \"amount_total\": 26499,\n                \"date\": \"2021-11-11\"\n            },\n            {\n                \"id\": 351,\n                \"contact_id\": {\n                    \"id\": 720,\n                    \"categ_id\": null,\n                    \"name\": \"Frontline Cosmeceuticals (M) Sdn. Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 18039,\n                \"date\": \"2021-11-02\"\n            },\n            {\n                \"id\": 350,\n                \"contact_id\": {\n                    \"id\": 720,\n                    \"categ_id\": null,\n                    \"name\": \"Frontline Cosmeceuticals (M) Sdn. Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 79,\n                    \"name\": \"James Lee\"\n                },\n                \"amount_total\": 30039,\n                \"date\": \"2021-11-01\"\n            },\n            {\n                \"id\": 348,\n                \"contact_id\": {\n                    \"id\": 618,\n                    \"categ_id\": null,\n                    \"name\": \"Panwrite Plastic Industries Sdn Bhd\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 79,\n                    \"name\": \"James Lee\"\n                },\n                \"amount_total\": 81469,\n                \"date\": \"2021-10-25\"\n            },\n            {\n                \"id\": 347,\n                \"contact_id\": {\n                    \"id\": 716,\n                    \"categ_id\": null,\n                    \"name\": \"Cubic Letrik Sdn. Bhd. [0166837D]\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 79,\n                    \"name\": \"James Lee\"\n                },\n                \"amount_total\": 24989,\n                \"date\": \"2021-10-20\"\n            },\n            {\n                \"id\": 346,\n                \"contact_id\": {\n                    \"id\": 705,\n                    \"categ_id\": null,\n                    \"name\": \"Austin Powder Sdn Bhd\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 110748,\n                \"date\": \"2021-10-18\"\n            },\n            {\n                \"id\": 345,\n                \"contact_id\": {\n                    \"id\": 450,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 66,\n                    \"name\": \"Nurul Huda\"\n                },\n                \"amount_total\": 4250,\n                \"date\": \"2021-10-06\"\n            },\n            {\n                \"id\": 344,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 35669,\n                \"date\": \"2021-09-28\"\n            },\n            {\n                \"id\": 343,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 5000,\n                \"date\": \"2021-09-27\"\n            },\n            {\n                \"id\": 342,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 34459,\n                \"date\": \"2021-09-24\"\n            },\n            {\n                \"id\": 341,\n                \"contact_id\": {\n                    \"id\": 705,\n                    \"categ_id\": null,\n                    \"name\": \"Austin Powder Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 79,\n                    \"name\": \"James Lee\"\n                },\n                \"amount_total\": 67909,\n                \"date\": \"2021-09-21\"\n            },\n            {\n                \"id\": 340,\n                \"contact_id\": {\n                    \"id\": 701,\n                    \"categ_id\": null,\n                    \"name\": \"WillFront Sdn Bhd\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 79,\n                    \"name\": \"James Lee\"\n                },\n                \"amount_total\": 66658,\n                \"date\": \"2021-09-13\"\n            },\n            {\n                \"id\": 339,\n                \"contact_id\": {\n                    \"id\": 698,\n                    \"categ_id\": null,\n                    \"name\": \"Gruppe Marketing Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 79,\n                    \"name\": \"James Lee\"\n                },\n                \"amount_total\": 2499,\n                \"date\": \"2021-09-13\"\n            },\n            {\n                \"id\": 337,\n                \"contact_id\": {\n                    \"id\": 692,\n                    \"categ_id\": null,\n                    \"name\": \"CT Warehousing And Distribution Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 79,\n                    \"name\": \"James Lee\"\n                },\n                \"amount_total\": 12099,\n                \"date\": \"2021-08-27\"\n            },\n            {\n                \"id\": 336,\n                \"contact_id\": {\n                    \"id\": 690,\n                    \"categ_id\": null,\n                    \"name\": \"THUNDER PRINT Sdn Bhd.\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 53,\n                    \"name\": \"Chiew Hao\"\n                },\n                \"amount_total\": 1245.5,\n                \"date\": \"2021-08-25\"\n            },\n            {\n                \"id\": 334,\n                \"contact_id\": {\n                    \"id\": 166,\n                    \"categ_id\": null,\n                    \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 79,\n                    \"name\": \"James Lee\"\n                },\n                \"amount_total\": 5280,\n                \"date\": \"2021-08-23\"\n            },\n            {\n                \"id\": 335,\n                \"contact_id\": {\n                    \"id\": 687,\n                    \"categ_id\": null,\n                    \"name\": \"PA EXPRESS SDN BHD\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 53,\n                    \"name\": \"Chiew Hao\"\n                },\n                \"amount_total\": 816.5,\n                \"date\": \"2021-08-23\"\n            },\n            {\n                \"id\": 332,\n                \"contact_id\": {\n                    \"id\": 177,\n                    \"categ_id\": null,\n                    \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 66,\n                    \"name\": \"Nurul Huda\"\n                },\n                \"amount_total\": 500,\n                \"date\": \"2021-08-20\"\n            },\n            {\n                \"id\": 331,\n                \"contact_id\": {\n                    \"id\": 658,\n                    \"categ_id\": null,\n                    \"name\": \"MMC International Fulfilment Center\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 1069,\n                \"date\": \"2021-08-06\"\n            },\n            {\n                \"id\": 330,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 26059,\n                \"date\": \"2021-08-03\"\n            },\n            {\n                \"id\": 329,\n                \"contact_id\": {\n                    \"id\": 678,\n                    \"categ_id\": null,\n                    \"name\": \"M3 Venture Sdn Bhd\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 53,\n                    \"name\": \"Chiew Hao\"\n                },\n                \"amount_total\": 597,\n                \"date\": \"2021-08-02\"\n            },\n            {\n                \"id\": 328,\n                \"contact_id\": {\n                    \"id\": 676,\n                    \"categ_id\": null,\n                    \"name\": \"Eco World Wellness M Sdn. Bhd.\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 53,\n                    \"name\": \"Chiew Hao\"\n                },\n                \"amount_total\": 2618,\n                \"date\": \"2021-07-30\"\n            },\n            {\n                \"id\": 327,\n                \"contact_id\": {\n                    \"id\": 671,\n                    \"categ_id\": null,\n                    \"name\": \"Rigel Technology (M) Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 25877,\n                \"date\": \"2021-07-24\"\n            },\n            {\n                \"id\": 326,\n                \"contact_id\": {\n                    \"id\": 663,\n                    \"categ_id\": null,\n                    \"name\": \"ATV SPORT AND STYLE SDN BHD\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 12099,\n                \"date\": \"2021-07-24\"\n            },\n            {\n                \"id\": 324,\n                \"contact_id\": {\n                    \"id\": 568,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 8000,\n                \"date\": \"2021-07-20\"\n            },\n            {\n                \"id\": 325,\n                \"contact_id\": {\n                    \"id\": 669,\n                    \"categ_id\": null,\n                    \"name\": \"Jumbo Fruit Trading (M) S/B.\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 8999,\n                \"date\": \"2021-07-20\"\n            },\n            {\n                \"id\": 323,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 20699,\n                \"date\": \"2021-07-17\"\n            },\n            {\n                \"id\": 322,\n                \"contact_id\": {\n                    \"id\": 669,\n                    \"categ_id\": null,\n                    \"name\": \"Jumbo Fruit Trading (M) S/B.\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 79,\n                    \"name\": \"James Lee\"\n                },\n                \"amount_total\": 0,\n                \"date\": \"2021-07-15\"\n            },\n            {\n                \"id\": 321,\n                \"contact_id\": {\n                    \"id\": 668,\n                    \"categ_id\": null,\n                    \"name\": \"Verdastro Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 79,\n                    \"name\": \"James Lee\"\n                },\n                \"amount_total\": 30199,\n                \"date\": \"2021-07-14\"\n            },\n            {\n                \"id\": 318,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 8180,\n                \"date\": \"2021-07-14\"\n            },\n            {\n                \"id\": 317,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 18699,\n                \"date\": \"2021-07-10\"\n            },\n            {\n                \"id\": 316,\n                \"contact_id\": {\n                    \"id\": 663,\n                    \"categ_id\": null,\n                    \"name\": \"ATV SPORT AND STYLE SDN BHD\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 11099,\n                \"date\": \"2021-07-08\"\n            },\n            {\n                \"id\": 314,\n                \"contact_id\": {\n                    \"id\": 658,\n                    \"categ_id\": null,\n                    \"name\": \"MMC International Fulfilment Center\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 2000,\n                \"date\": \"2021-07-05\"\n            },\n            {\n                \"id\": 313,\n                \"contact_id\": {\n                    \"id\": 661,\n                    \"categ_id\": null,\n                    \"name\": \"Grand Meltique Food Trading Sdn. Bhd. \"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 53,\n                    \"name\": \"Chiew Hao\"\n                },\n                \"amount_total\": 9675.75,\n                \"date\": \"2021-07-05\"\n            },\n            {\n                \"id\": 338,\n                \"contact_id\": {\n                    \"id\": 166,\n                    \"categ_id\": null,\n                    \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 24000,\n                \"date\": \"2021-07-01\"\n            },\n            {\n                \"id\": 312,\n                \"contact_id\": {\n                    \"id\": 658,\n                    \"categ_id\": null,\n                    \"name\": \"MMC International Fulfilment Center\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 15099,\n                \"date\": \"2021-06-27\"\n            },\n            {\n                \"id\": 311,\n                \"contact_id\": {\n                    \"id\": 654,\n                    \"categ_id\": null,\n                    \"name\": \"Ampmech Sdn Bhd\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 2144.52,\n                \"date\": \"2021-06-17\"\n            },\n            {\n                \"id\": 310,\n                \"contact_id\": {\n                    \"id\": 632,\n                    \"categ_id\": null,\n                    \"name\": \"Mighty Bakery Sdn Bhd (358975-H)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 44619,\n                \"date\": \"2021-06-02\"\n            },\n            {\n                \"id\": 309,\n                \"contact_id\": {\n                    \"id\": 647,\n                    \"categ_id\": null,\n                    \"name\": \"BP CLINICAL LAB SDN BHD\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 7257.6,\n                \"date\": \"2021-06-01\"\n            },\n            {\n                \"id\": 308,\n                \"contact_id\": {\n                    \"id\": 632,\n                    \"categ_id\": null,\n                    \"name\": \"Mighty Bakery Sdn Bhd (358975-H)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 35139,\n                \"date\": \"2021-05-26\"\n            },\n            {\n                \"id\": 307,\n                \"contact_id\": {\n                    \"id\": 450,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 23670,\n                \"date\": \"2021-05-25\"\n            },\n            {\n                \"id\": 306,\n                \"contact_id\": {\n                    \"id\": 514,\n                    \"categ_id\": null,\n                    \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 205909,\n                \"date\": \"2021-05-24\"\n            },\n            {\n                \"id\": 303,\n                \"contact_id\": {\n                    \"id\": 637,\n                    \"categ_id\": null,\n                    \"name\": \"Poladrone Solutions Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 30499,\n                \"date\": \"2021-05-17\"\n            },\n            {\n                \"id\": 305,\n                \"contact_id\": {\n                    \"id\": 632,\n                    \"categ_id\": null,\n                    \"name\": \"Mighty Bakery Sdn Bhd (358975-H)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 33139,\n                \"date\": \"2021-05-05\"\n            },\n            {\n                \"id\": 300,\n                \"contact_id\": {\n                    \"id\": 632,\n                    \"categ_id\": null,\n                    \"name\": \"Mighty Bakery Sdn Bhd (358975-H)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 67,\n                    \"name\": \"Chloe\"\n                },\n                \"amount_total\": 39139,\n                \"date\": \"2021-05-05\"\n            },\n            {\n                \"id\": 299,\n                \"contact_id\": {\n                    \"id\": 618,\n                    \"categ_id\": null,\n                    \"name\": \"Panwrite Plastic Industries Sdn Bhd\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 67,\n                    \"name\": \"Chloe\"\n                },\n                \"amount_total\": 112469,\n                \"date\": \"2021-04-13\"\n            },\n            {\n                \"id\": 296,\n                \"contact_id\": {\n                    \"id\": 621,\n                    \"categ_id\": null,\n                    \"name\": \"YST Ewarehouse Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 67,\n                    \"name\": \"Chloe\"\n                },\n                \"amount_total\": 75139,\n                \"date\": \"2021-04-08\"\n            },\n            {\n                \"id\": 298,\n                \"contact_id\": {\n                    \"id\": 618,\n                    \"categ_id\": null,\n                    \"name\": \"Panwrite Plastic Industries Sdn Bhd\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 100469,\n                \"date\": \"2021-04-08\"\n            },\n            {\n                \"id\": 294,\n                \"contact_id\": {\n                    \"id\": 607,\n                    \"categ_id\": null,\n                    \"name\": \"Park Games Equipment (M) Sdn Bhd (329704-H)\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 67,\n                    \"name\": \"Chloe\"\n                },\n                \"amount_total\": 70699,\n                \"date\": \"2021-04-01\"\n            },\n            {\n                \"id\": 293,\n                \"contact_id\": {\n                    \"id\": 603,\n                    \"categ_id\": null,\n                    \"name\": \"KONE Elevator (M) Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 67,\n                    \"name\": \"Chloe\"\n                },\n                \"amount_total\": 52699,\n                \"date\": \"2021-03-30\"\n            },\n            {\n                \"id\": 292,\n                \"contact_id\": {\n                    \"id\": 599,\n                    \"categ_id\": null,\n                    \"name\": \"Synerchem Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 67,\n                    \"name\": \"Chloe\"\n                },\n                \"amount_total\": 496399,\n                \"date\": \"2021-03-24\"\n            },\n            {\n                \"id\": 291,\n                \"contact_id\": {\n                    \"id\": 573,\n                    \"categ_id\": null,\n                    \"name\": \"Solartech Sales & Service Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 317099,\n                \"date\": \"2021-03-11\"\n            },\n            {\n                \"id\": 290,\n                \"contact_id\": {\n                    \"id\": 587,\n                    \"categ_id\": null,\n                    \"name\": \"MYXO CO. SDN. BHD. (Co Reg No.: 587049-V)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 61999,\n                \"date\": \"2021-03-06\"\n            },\n            {\n                \"id\": 289,\n                \"contact_id\": {\n                    \"id\": 177,\n                    \"categ_id\": null,\n                    \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 67,\n                    \"name\": \"Chloe\"\n                },\n                \"amount_total\": 4300,\n                \"date\": \"2021-03-03\"\n            },\n            {\n                \"id\": 288,\n                \"contact_id\": {\n                    \"id\": 573,\n                    \"categ_id\": null,\n                    \"name\": \"Solartech Sales & Service Sdn Bhd\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 416669,\n                \"date\": \"2021-03-03\"\n            },\n            {\n                \"id\": 287,\n                \"contact_id\": {\n                    \"id\": 177,\n                    \"categ_id\": null,\n                    \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 2800,\n                \"date\": \"2021-02-26\"\n            },\n            {\n                \"id\": 286,\n                \"contact_id\": {\n                    \"id\": 177,\n                    \"categ_id\": null,\n                    \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 9250,\n                \"date\": \"2021-02-23\"\n            },\n            {\n                \"id\": 285,\n                \"contact_id\": {\n                    \"id\": 177,\n                    \"categ_id\": null,\n                    \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 67,\n                    \"name\": \"Chloe\"\n                },\n                \"amount_total\": 3100,\n                \"date\": \"2021-02-22\"\n            },\n            {\n                \"id\": 283,\n                \"contact_id\": {\n                    \"id\": 573,\n                    \"categ_id\": null,\n                    \"name\": \"Solartech Sales & Service Sdn Bhd\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 67,\n                    \"name\": \"Chloe\"\n                },\n                \"amount_total\": 310469,\n                \"date\": \"2021-02-05\"\n            },\n            {\n                \"id\": 281,\n                \"contact_id\": {\n                    \"id\": 571,\n                    \"categ_id\": null,\n                    \"name\": \"Pascal Engineering Sdn. Bhd. (601187-K)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 24499,\n                \"date\": \"2021-02-05\"\n            },\n            {\n                \"id\": 280,\n                \"contact_id\": {\n                    \"id\": 568,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 334900,\n                \"date\": \"2021-01-30\"\n            },\n            {\n                \"id\": 304,\n                \"contact_id\": {\n                    \"id\": 568,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 334900,\n                \"date\": \"2021-01-30\"\n            },\n            {\n                \"id\": 279,\n                \"contact_id\": {\n                    \"id\": 568,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 285044,\n                \"date\": \"2021-01-27\"\n            },\n            {\n                \"id\": 277,\n                \"contact_id\": {\n                    \"id\": 568,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 116929,\n                \"date\": \"2021-01-23\"\n            },\n            {\n                \"id\": 276,\n                \"contact_id\": {\n                    \"id\": 550,\n                    \"categ_id\": null,\n                    \"name\": \"Brightmount Trading Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 27399,\n                \"date\": \"2021-01-15\"\n            },\n            {\n                \"id\": 273,\n                \"contact_id\": {\n                    \"id\": 450,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 5000,\n                \"date\": \"2021-01-09\"\n            },\n            {\n                \"id\": 272,\n                \"contact_id\": {\n                    \"id\": 543,\n                    \"categ_id\": null,\n                    \"name\": \"Proton Commerce Sdn. Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 15000,\n                \"date\": \"2020-12-22\"\n            },\n            {\n                \"id\": 271,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 11000,\n                \"date\": \"2020-12-10\"\n            },\n            {\n                \"id\": 270,\n                \"contact_id\": {\n                    \"id\": 465,\n                    \"categ_id\": null,\n                    \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 146349,\n                \"date\": \"2020-12-07\"\n            },\n            {\n                \"id\": 269,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 8000,\n                \"date\": \"2020-12-06\"\n            },\n            {\n                \"id\": 268,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 4500,\n                \"date\": \"2020-12-02\"\n            },\n            {\n                \"id\": 278,\n                \"contact_id\": {\n                    \"id\": 564,\n                    \"categ_id\": null,\n                    \"name\": \"Load 2 Go Logistic Sdn Bhd (1240516-H)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 403000,\n                \"date\": \"2020-12-01\"\n            },\n            {\n                \"id\": 266,\n                \"contact_id\": {\n                    \"id\": 534,\n                    \"categ_id\": null,\n                    \"name\": \"Craftiviti Sdn. Bhd. (1125727-K)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 49349,\n                \"date\": \"2020-11-25\"\n            },\n            {\n                \"id\": 265,\n                \"contact_id\": {\n                    \"id\": 514,\n                    \"categ_id\": null,\n                    \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 194409,\n                \"date\": \"2020-11-22\"\n            },\n            {\n                \"id\": 264,\n                \"contact_id\": {\n                    \"id\": 499,\n                    \"categ_id\": null,\n                    \"name\": \"Ametal Tech Sdn Bhd (732515-P)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 127240,\n                \"date\": \"2020-11-21\"\n            },\n            {\n                \"id\": 263,\n                \"contact_id\": {\n                    \"id\": 530,\n                    \"categ_id\": null,\n                    \"name\": \"Kuen Engineering & Trading Sdn Bhd (604189-A)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 25399,\n                \"date\": \"2020-11-05\"\n            },\n            {\n                \"id\": 262,\n                \"contact_id\": {\n                    \"id\": 528,\n                    \"categ_id\": null,\n                    \"name\": \"Budiwata Sdn.Bhd.\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 67189,\n                \"date\": \"2020-11-03\"\n            },\n            {\n                \"id\": 261,\n                \"contact_id\": {\n                    \"id\": 499,\n                    \"categ_id\": null,\n                    \"name\": \"Ametal Tech Sdn Bhd (732515-P)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 104889,\n                \"date\": \"2020-10-31\"\n            },\n            {\n                \"id\": 260,\n                \"contact_id\": {\n                    \"id\": 522,\n                    \"categ_id\": null,\n                    \"name\": \"Wah Kong Corporation Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 66279,\n                \"date\": \"2020-10-19\"\n            },\n            {\n                \"id\": 259,\n                \"contact_id\": {\n                    \"id\": 519,\n                    \"categ_id\": null,\n                    \"name\": \"Rundo Food Sdn Bhd (875000-M)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 39399,\n                \"date\": \"2020-10-07\"\n            },\n            {\n                \"id\": 258,\n                \"contact_id\": {\n                    \"id\": 514,\n                    \"categ_id\": null,\n                    \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 114449,\n                \"date\": \"2020-09-30\"\n            },\n            {\n                \"id\": 254,\n                \"contact_id\": {\n                    \"id\": 447,\n                    \"categ_id\": null,\n                    \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 16550,\n                \"date\": \"2020-09-09\"\n            },\n            {\n                \"id\": 253,\n                \"contact_id\": {\n                    \"id\": 505,\n                    \"categ_id\": null,\n                    \"name\": \"BBSB Holdings Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": null,\n                \"amount_total\": 7999,\n                \"date\": \"2020-09-08\"\n            },\n            {\n                \"id\": 252,\n                \"contact_id\": {\n                    \"id\": 447,\n                    \"categ_id\": null,\n                    \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 17162,\n                \"date\": \"2020-08-24\"\n            },\n            {\n                \"id\": 257,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 12000,\n                \"date\": \"2020-08-14\"\n            },\n            {\n                \"id\": 251,\n                \"contact_id\": {\n                    \"id\": 499,\n                    \"categ_id\": null,\n                    \"name\": \"Ametal Tech Sdn Bhd (732515-P)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 81799,\n                \"date\": \"2020-08-13\"\n            },\n            {\n                \"id\": 250,\n                \"contact_id\": {\n                    \"id\": 492,\n                    \"categ_id\": null,\n                    \"name\": \"AceTeam Networks Sdn Bhd \"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 200,\n                \"date\": \"2020-08-12\"\n            },\n            {\n                \"id\": 249,\n                \"contact_id\": {\n                    \"id\": 497,\n                    \"categ_id\": null,\n                    \"name\": \"Bexpress Marketing (M) Sdn Bhd (1152753-V)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 150588,\n                \"date\": \"2020-08-04\"\n            },\n            {\n                \"id\": 255,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 30000,\n                \"date\": \"2020-08-03\"\n            },\n            {\n                \"id\": 248,\n                \"contact_id\": {\n                    \"id\": 492,\n                    \"categ_id\": null,\n                    \"name\": \"AceTeam Networks Sdn Bhd \"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 250,\n                \"date\": \"2020-07-21\"\n            },\n            {\n                \"id\": 247,\n                \"contact_id\": {\n                    \"id\": 491,\n                    \"categ_id\": null,\n                    \"name\": \"Mase Industries Sdn Bhd\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 68399,\n                \"date\": \"2020-07-20\"\n            },\n            {\n                \"id\": 245,\n                \"contact_id\": {\n                    \"id\": 465,\n                    \"categ_id\": null,\n                    \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 138349,\n                \"date\": \"2020-07-20\"\n            },\n            {\n                \"id\": 246,\n                \"contact_id\": {\n                    \"id\": 487,\n                    \"categ_id\": null,\n                    \"name\": \"Federation of Investment Managers Malaysia [199301017839 (272577-P)]\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 8399,\n                \"date\": \"2020-07-20\"\n            },\n            {\n                \"id\": 244,\n                \"contact_id\": {\n                    \"id\": 482,\n                    \"categ_id\": null,\n                    \"name\": \"SD Impex Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 8399,\n                \"date\": \"2020-07-06\"\n            },\n            {\n                \"id\": 243,\n                \"contact_id\": {\n                    \"id\": 465,\n                    \"categ_id\": null,\n                    \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 124349,\n                \"date\": \"2020-06-18\"\n            },\n            {\n                \"id\": 241,\n                \"contact_id\": {\n                    \"id\": 447,\n                    \"categ_id\": null,\n                    \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 7607,\n                \"date\": \"2020-06-17\"\n            },\n            {\n                \"id\": 242,\n                \"contact_id\": {\n                    \"id\": 447,\n                    \"categ_id\": null,\n                    \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 5255,\n                \"date\": \"2020-06-17\"\n            },\n            {\n                \"id\": 239,\n                \"contact_id\": {\n                    \"id\": 450,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 31260,\n                \"date\": \"2020-06-16\"\n            },\n            {\n                \"id\": 238,\n                \"contact_id\": {\n                    \"id\": 469,\n                    \"categ_id\": null,\n                    \"name\": \"H.H. Precision Mould Sdn Bhd (131847-P)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 102699,\n                \"date\": \"2020-06-10\"\n            },\n            {\n                \"id\": 237,\n                \"contact_id\": {\n                    \"id\": 465,\n                    \"categ_id\": null,\n                    \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 60349,\n                \"date\": \"2020-06-06\"\n            },\n            {\n                \"id\": 234,\n                \"contact_id\": {\n                    \"id\": 402,\n                    \"categ_id\": null,\n                    \"name\": \"Taiko Marketing Sdn Bhd\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 47399,\n                \"date\": \"2020-05-27\"\n            },\n            {\n                \"id\": 284,\n                \"contact_id\": {\n                    \"id\": 568,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 91729,\n                \"date\": \"2020-05-26\"\n            },\n            {\n                \"id\": 233,\n                \"contact_id\": {\n                    \"id\": 447,\n                    \"categ_id\": null,\n                    \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 3000,\n                \"date\": \"2020-05-21\"\n            },\n            {\n                \"id\": 205,\n                \"contact_id\": {\n                    \"id\": 447,\n                    \"categ_id\": null,\n                    \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 5255,\n                \"date\": \"2020-05-21\"\n            },\n            {\n                \"id\": 232,\n                \"contact_id\": {\n                    \"id\": 462,\n                    \"categ_id\": null,\n                    \"name\": \"Pesona Metro Sdn Bhd\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 1720,\n                \"date\": \"2020-05-21\"\n            },\n            {\n                \"id\": 231,\n                \"contact_id\": {\n                    \"id\": 462,\n                    \"categ_id\": null,\n                    \"name\": \"Pesona Metro Sdn Bhd\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 26318,\n                \"date\": \"2020-05-20\"\n            },\n            {\n                \"id\": 230,\n                \"contact_id\": {\n                    \"id\": 388,\n                    \"categ_id\": null,\n                    \"name\": \"Empire World Express Sdn Bhd (944635-D)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 12949,\n                \"date\": \"2020-05-20\"\n            },\n            {\n                \"id\": 229,\n                \"contact_id\": {\n                    \"id\": 388,\n                    \"categ_id\": null,\n                    \"name\": \"Empire World Express Sdn Bhd (944635-D)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 9599,\n                \"date\": \"2020-05-20\"\n            },\n            {\n                \"id\": 223,\n                \"contact_id\": {\n                    \"id\": 462,\n                    \"categ_id\": null,\n                    \"name\": \"Pesona Metro Sdn Bhd\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 11389,\n                \"date\": \"2020-05-19\"\n            },\n            {\n                \"id\": 222,\n                \"contact_id\": {\n                    \"id\": 458,\n                    \"categ_id\": null,\n                    \"name\": \"Alhani Trade Sdn. Bhd.\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 14100,\n                \"date\": \"2020-05-16\"\n            },\n            {\n                \"id\": 221,\n                \"contact_id\": {\n                    \"id\": 422,\n                    \"categ_id\": null,\n                    \"name\": \"Nature Environment Products Sdn Bhd (507751-V)\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 67399,\n                \"date\": \"2020-05-14\"\n            },\n            {\n                \"id\": 301,\n                \"contact_id\": {\n                    \"id\": 450,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 91729,\n                \"date\": \"2020-05-09\"\n            },\n            {\n                \"id\": 219,\n                \"contact_id\": {\n                    \"id\": 450,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 32740,\n                \"date\": \"2020-05-09\"\n            },\n            {\n                \"id\": 218,\n                \"contact_id\": {\n                    \"id\": 450,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 91729,\n                \"date\": \"2020-05-09\"\n            },\n            {\n                \"id\": 216,\n                \"contact_id\": {\n                    \"id\": 450,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 102733,\n                \"date\": \"2020-04-24\"\n            },\n            {\n                \"id\": 215,\n                \"contact_id\": {\n                    \"id\": 450,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 71533,\n                \"date\": \"2020-04-21\"\n            },\n            {\n                \"id\": 214,\n                \"contact_id\": {\n                    \"id\": 455,\n                    \"categ_id\": null,\n                    \"name\": \"Myangkasa Optikal Sdn Bhd\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 58299,\n                \"date\": \"2020-04-15\"\n            },\n            {\n                \"id\": 212,\n                \"contact_id\": {\n                    \"id\": 450,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 72913,\n                \"date\": \"2020-04-08\"\n            },\n            {\n                \"id\": 211,\n                \"contact_id\": {\n                    \"id\": 450,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 43968,\n                \"date\": \"2020-04-07\"\n            },\n            {\n                \"id\": 209,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 43000,\n                \"date\": \"2020-03-25\"\n            },\n            {\n                \"id\": 208,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 18000,\n                \"date\": \"2020-03-18\"\n            },\n            {\n                \"id\": 207,\n                \"contact_id\": {\n                    \"id\": 450,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 25881,\n                \"date\": \"2020-03-16\"\n            },\n            {\n                \"id\": 206,\n                \"contact_id\": {\n                    \"id\": 448,\n                    \"categ_id\": null,\n                    \"name\": \"CCL Design Penang\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 32399,\n                \"date\": \"2020-03-14\"\n            },\n            {\n                \"id\": 204,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 5790,\n                \"date\": \"2020-03-11\"\n            },\n            {\n                \"id\": 203,\n                \"contact_id\": {\n                    \"id\": 443,\n                    \"categ_id\": null,\n                    \"name\": \"MASTERJAYA ENVIRONMENT SDN BHD (249885-T)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 35599,\n                \"date\": \"2020-03-04\"\n            },\n            {\n                \"id\": 202,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 18000,\n                \"date\": \"2020-02-22\"\n            },\n            {\n                \"id\": 201,\n                \"contact_id\": {\n                    \"id\": 437,\n                    \"categ_id\": null,\n                    \"name\": \"Mettic Systeme Sdn Bhd\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 11399,\n                \"date\": \"2020-02-18\"\n            },\n            {\n                \"id\": 200,\n                \"contact_id\": {\n                    \"id\": 435,\n                    \"categ_id\": null,\n                    \"name\": \"MY IOL Sdn Bhd (1153794-M)\"\n                },\n                \"state\": \"voided\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 18399,\n                \"date\": \"2020-02-17\"\n            },\n            {\n                \"id\": 199,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 2510,\n                \"date\": \"2020-02-14\"\n            },\n            {\n                \"id\": 197,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 13000,\n                \"date\": \"2020-02-10\"\n            },\n            {\n                \"id\": 198,\n                \"contact_id\": {\n                    \"id\": 426,\n                    \"categ_id\": null,\n                    \"name\": \"Eutag Global (M) Sdn Bhd (212039-M)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 37399,\n                \"date\": \"2020-02-10\"\n            },\n            {\n                \"id\": 196,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 6000,\n                \"date\": \"2020-02-08\"\n            },\n            {\n                \"id\": 195,\n                \"contact_id\": {\n                    \"id\": 422,\n                    \"categ_id\": null,\n                    \"name\": \"Nature Environment Products Sdn Bhd (507751-V)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 67399,\n                \"date\": \"2020-02-06\"\n            },\n            {\n                \"id\": 194,\n                \"contact_id\": {\n                    \"id\": 417,\n                    \"categ_id\": null,\n                    \"name\": \"Wan & Sons Bread Company\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                },\n                \"amount_total\": 12979,\n                \"date\": \"2020-01-21\"\n            },\n            {\n                \"id\": 193,\n                \"contact_id\": {\n                    \"id\": 413,\n                    \"categ_id\": null,\n                    \"name\": \"ESON BATU PAHAT PRECISION ENGINEERING SDN. BHD.\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                },\n                \"amount_total\": 3600,\n                \"date\": \"2020-01-20\"\n            },\n            {\n                \"id\": 192,\n                \"contact_id\": {\n                    \"id\": 406,\n                    \"categ_id\": null,\n                    \"name\": \"SteelWorks Engineering Sdn Bhd \"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                },\n                \"amount_total\": 53399,\n                \"date\": \"2020-01-14\"\n            },\n            {\n                \"id\": 191,\n                \"contact_id\": {\n                    \"id\": 406,\n                    \"categ_id\": null,\n                    \"name\": \"SteelWorks Engineering Sdn Bhd \"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                },\n                \"amount_total\": 7399,\n                \"date\": \"2020-01-14\"\n            },\n            {\n                \"id\": 190,\n                \"contact_id\": {\n                    \"id\": 404,\n                    \"categ_id\": null,\n                    \"name\": \"Wiltek Homeware Sdn Bhd (730858-A)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 40,\n                    \"name\": \"Azri\"\n                },\n                \"amount_total\": 19979,\n                \"date\": \"2020-01-13\"\n            },\n            {\n                \"id\": 187,\n                \"contact_id\": {\n                    \"id\": 402,\n                    \"categ_id\": null,\n                    \"name\": \"Taiko Marketing Sdn Bhd\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 10000,\n                \"date\": \"2020-01-09\"\n            },\n            {\n                \"id\": 185,\n                \"contact_id\": {\n                    \"id\": 397,\n                    \"categ_id\": null,\n                    \"name\": \"Pegasus Automation Sdn Bhd (778197-P)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 6080,\n                \"date\": \"2020-01-07\"\n            },\n            {\n                \"id\": 184,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 12500,\n                \"date\": \"2019-12-21\"\n            },\n            {\n                \"id\": 183,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 9500,\n                \"date\": \"2019-12-19\"\n            },\n            {\n                \"id\": 178,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 6000,\n                \"date\": \"2019-12-07\"\n            },\n            {\n                \"id\": 179,\n                \"contact_id\": {\n                    \"id\": 114,\n                    \"categ_id\": null,\n                    \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 15000,\n                \"date\": \"2019-12-07\"\n            },\n            {\n                \"id\": 177,\n                \"contact_id\": {\n                    \"id\": 112,\n                    \"categ_id\": null,\n                    \"name\": \"RICOH (Malaysia) Sdn. Bhd. (10078-W)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 5000,\n                \"date\": \"2019-12-03\"\n            },\n            {\n                \"id\": 175,\n                \"contact_id\": {\n                    \"id\": 388,\n                    \"categ_id\": null,\n                    \"name\": \"Empire World Express Sdn Bhd (944635-D)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 9000,\n                \"date\": \"2019-11-23\"\n            },\n            {\n                \"id\": 174,\n                \"contact_id\": {\n                    \"id\": 386,\n                    \"categ_id\": null,\n                    \"name\": \"ANT FUTURES SDN BHD\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"amount_total\": 0,\n                \"date\": \"2019-11-21\"\n            },\n            {\n                \"id\": 173,\n                \"contact_id\": {\n                    \"id\": 384,\n                    \"categ_id\": null,\n                    \"name\": \"Puzzle Planet Sdn Bhd (1322305-D)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"amount_total\": 37000,\n                \"date\": \"2019-11-15\"\n            },\n            {\n                \"id\": 172,\n                \"contact_id\": {\n                    \"id\": 382,\n                    \"categ_id\": null,\n                    \"name\": \"Edaran IT Services Sdn Bhd\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 313500,\n                \"date\": \"2019-11-14\"\n            },\n            {\n                \"id\": 171,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 15500,\n                \"date\": \"2019-11-11\"\n            },\n            {\n                \"id\": 170,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 8000,\n                \"date\": \"2019-11-09\"\n            },\n            {\n                \"id\": 169,\n                \"contact_id\": {\n                    \"id\": 374,\n                    \"categ_id\": null,\n                    \"name\": \"KCJ Distribution SDN BHD (1198272-W)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"amount_total\": 31399,\n                \"date\": \"2019-11-05\"\n            },\n            {\n                \"id\": 168,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 21000,\n                \"date\": \"2019-11-05\"\n            },\n            {\n                \"id\": 167,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 7000,\n                \"date\": \"2019-10-24\"\n            },\n            {\n                \"id\": 166,\n                \"contact_id\": {\n                    \"id\": 368,\n                    \"categ_id\": null,\n                    \"name\": \"ADVANCEDATA NETWORK PTE LTD\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"amount_total\": 80149,\n                \"date\": \"2019-10-18\"\n            },\n            {\n                \"id\": 165,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 11000,\n                \"date\": \"2019-10-15\"\n            },\n            {\n                \"id\": 164,\n                \"contact_id\": {\n                    \"id\": 364,\n                    \"categ_id\": null,\n                    \"name\": \"Japanese Agriculture Products SDN BHD (1286234-U)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"amount_total\": 63249,\n                \"date\": \"2019-10-14\"\n            },\n            {\n                \"id\": 163,\n                \"contact_id\": {\n                    \"id\": 362,\n                    \"categ_id\": null,\n                    \"name\": \"MARA LINER SDN BHD (0233945-T)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"amount_total\": 20749,\n                \"date\": \"2019-10-11\"\n            },\n            {\n                \"id\": 162,\n                \"contact_id\": {\n                    \"id\": 350,\n                    \"categ_id\": null,\n                    \"name\": \"Vettons Sdn Bhd (1286553-A)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"amount_total\": 9417.5,\n                \"date\": \"2019-10-09\"\n            },\n            {\n                \"id\": 161,\n                \"contact_id\": {\n                    \"id\": 358,\n                    \"categ_id\": null,\n                    \"name\": \"HELP International School (802643-A)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 62099,\n                \"date\": \"2019-10-02\"\n            },\n            {\n                \"id\": 160,\n                \"contact_id\": {\n                    \"id\": 356,\n                    \"categ_id\": null,\n                    \"name\": \"Prestar Precision Tube Sdn Bhd (643193-X)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 21749,\n                \"date\": \"2019-09-26\"\n            },\n            {\n                \"id\": 159,\n                \"contact_id\": {\n                    \"id\": 350,\n                    \"categ_id\": null,\n                    \"name\": \"Vettons Sdn Bhd (1286553-A)\"\n                },\n                \"state\": \"approved\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"amount_total\": 9685,\n                \"date\": \"2019-09-18\"\n            },\n            {\n                \"id\": 158,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 6000,\n                \"date\": \"2019-09-17\"\n            },\n            {\n                \"id\": 157,\n                \"contact_id\": {\n                    \"id\": 330,\n                    \"categ_id\": null,\n                    \"name\": \"GOURMET INGREDIENTS SDN BHD\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"amount_total\": 37399,\n                \"date\": \"2019-09-13\"\n            },\n            {\n                \"id\": 155,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 4167,\n                \"date\": \"2019-09-12\"\n            },\n            {\n                \"id\": 154,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 14000,\n                \"date\": \"2019-09-07\"\n            },\n            {\n                \"id\": 153,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 14000,\n                \"date\": \"2019-09-05\"\n            },\n            {\n                \"id\": 152,\n                \"contact_id\": {\n                    \"id\": 336,\n                    \"categ_id\": null,\n                    \"name\": \"Power Packaging SDN BHD\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"amount_total\": 44776,\n                \"date\": \"2019-08-26\"\n            },\n            {\n                \"id\": 151,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 28000,\n                \"date\": \"2019-08-08\"\n            },\n            {\n                \"id\": 150,\n                \"contact_id\": {\n                    \"id\": 328,\n                    \"categ_id\": null,\n                    \"name\": \"TABUR NIAGA SDN BHD\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"amount_total\": 35399,\n                \"date\": \"2019-08-05\"\n            },\n            {\n                \"id\": 145,\n                \"contact_id\": {\n                    \"id\": 322,\n                    \"categ_id\": null,\n                    \"name\": \"INOX ENGINEERING SDN BHD\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"amount_total\": 18000,\n                \"date\": \"2019-07-24\"\n            },\n            {\n                \"id\": 143,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 19000,\n                \"date\": \"2019-07-16\"\n            },\n            {\n                \"id\": 140,\n                \"contact_id\": {\n                    \"id\": 295,\n                    \"categ_id\": null,\n                    \"name\": \"Malaysian Timber Council\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"amount_total\": 12796,\n                \"date\": \"2019-07-12\"\n            },\n            {\n                \"id\": 142,\n                \"contact_id\": {\n                    \"id\": 320,\n                    \"categ_id\": null,\n                    \"name\": \"AUTOMONT GATSBY SDN BHD\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 40399,\n                \"date\": \"2019-07-12\"\n            },\n            {\n                \"id\": 139,\n                \"contact_id\": {\n                    \"id\": 177,\n                    \"categ_id\": null,\n                    \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 4250,\n                \"date\": \"2019-07-06\"\n            },\n            {\n                \"id\": 138,\n                \"contact_id\": {\n                    \"id\": 166,\n                    \"categ_id\": null,\n                    \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 18800,\n                \"date\": \"2019-07-06\"\n            },\n            {\n                \"id\": 137,\n                \"contact_id\": {\n                    \"id\": 315,\n                    \"categ_id\": null,\n                    \"name\": \"Westline Transporter SDN BHD\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"amount_total\": 49399,\n                \"date\": \"2019-07-04\"\n            },\n            {\n                \"id\": 135,\n                \"contact_id\": {\n                    \"id\": 195,\n                    \"categ_id\": null,\n                    \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 30776,\n                \"date\": \"2019-07-02\"\n            },\n            {\n                \"id\": 134,\n                \"contact_id\": {\n                    \"id\": 195,\n                    \"categ_id\": null,\n                    \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 36776,\n                \"date\": \"2019-06-28\"\n            },\n            {\n                \"id\": 133,\n                \"contact_id\": {\n                    \"id\": 303,\n                    \"categ_id\": null,\n                    \"name\": \"Pastry World Sdn Bhd (759288-D)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 57399,\n                \"date\": \"2019-06-13\"\n            },\n            {\n                \"id\": 129,\n                \"contact_id\": {\n                    \"id\": 298,\n                    \"categ_id\": null,\n                    \"name\": \"Public Auto World Sdn Bhd\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"amount_total\": 16776,\n                \"date\": \"2019-06-11\"\n            },\n            {\n                \"id\": 128,\n                \"contact_id\": {\n                    \"id\": 297,\n                    \"categ_id\": null,\n                    \"name\": \"YS Metal Industries Sdn Bhd\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 15270,\n                \"date\": \"2019-06-10\"\n            },\n            {\n                \"id\": 127,\n                \"contact_id\": {\n                    \"id\": 295,\n                    \"categ_id\": null,\n                    \"name\": \"Malaysian Timber Council\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 25,\n                    \"name\": \"Sasin\"\n                },\n                \"amount_total\": 7399,\n                \"date\": \"2019-05-30\"\n            },\n            {\n                \"id\": 126,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 2350,\n                \"date\": \"2019-05-06\"\n            },\n            {\n                \"id\": 125,\n                \"contact_id\": {\n                    \"id\": 277,\n                    \"categ_id\": null,\n                    \"name\": \"Starlai Sdn Bhd\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 124788,\n                \"date\": \"2019-05-04\"\n            },\n            {\n                \"id\": 124,\n                \"contact_id\": {\n                    \"id\": 262,\n                    \"categ_id\": null,\n                    \"name\": \"Thiam Sieng Group\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 20399,\n                \"date\": \"2019-04-16\"\n            },\n            {\n                \"id\": 122,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 17000,\n                \"date\": \"2019-04-11\"\n            },\n            {\n                \"id\": 120,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 8000,\n                \"date\": \"2019-03-20\"\n            },\n            {\n                \"id\": 119,\n                \"contact_id\": {\n                    \"id\": 114,\n                    \"categ_id\": null,\n                    \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 73299,\n                \"date\": \"2019-03-19\"\n            },\n            {\n                \"id\": 118,\n                \"contact_id\": {\n                    \"id\": 177,\n                    \"categ_id\": null,\n                    \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 1060,\n                \"date\": \"2019-03-18\"\n            },\n            {\n                \"id\": 117,\n                \"contact_id\": {\n                    \"id\": 222,\n                    \"categ_id\": null,\n                    \"name\": \"Lee Veterinary Clinic\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 39469,\n                \"date\": \"2019-03-16\"\n            },\n            {\n                \"id\": 115,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 6000,\n                \"date\": \"2019-03-11\"\n            },\n            {\n                \"id\": 116,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 174000,\n                \"date\": \"2019-03-11\"\n            },\n            {\n                \"id\": 114,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 3434,\n                \"date\": \"2019-03-07\"\n            },\n            {\n                \"id\": 107,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 37000,\n                \"date\": \"2019-03-07\"\n            },\n            {\n                \"id\": 111,\n                \"contact_id\": {\n                    \"id\": 214,\n                    \"categ_id\": null,\n                    \"name\": \"Jisna (Malaysia) Sdn Bhd (211316-X)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 67990,\n                \"date\": \"2019-03-04\"\n            },\n            {\n                \"id\": 110,\n                \"contact_id\": {\n                    \"id\": 211,\n                    \"categ_id\": null,\n                    \"name\": \"Merpati Daya Maju (IP0395026-U)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 12788,\n                \"date\": \"2019-02-26\"\n            },\n            {\n                \"id\": 109,\n                \"contact_id\": {\n                    \"id\": 209,\n                    \"categ_id\": null,\n                    \"name\": \"Pyrope Industries Sdn Bhd (344682-D)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 47469,\n                \"date\": \"2019-02-22\"\n            },\n            {\n                \"id\": 108,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 6000,\n                \"date\": \"2019-02-21\"\n            },\n            {\n                \"id\": 106,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 93000,\n                \"date\": \"2019-01-21\"\n            },\n            {\n                \"id\": 105,\n                \"contact_id\": {\n                    \"id\": 177,\n                    \"categ_id\": null,\n                    \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 47499,\n                \"date\": \"2019-01-04\"\n            },\n            {\n                \"id\": 104,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 7000,\n                \"date\": \"2018-12-24\"\n            },\n            {\n                \"id\": 103,\n                \"contact_id\": {\n                    \"id\": 195,\n                    \"categ_id\": null,\n                    \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": null,\n                \"amount_total\": 7399,\n                \"date\": \"2018-12-05\"\n            },\n            {\n                \"id\": 102,\n                \"contact_id\": {\n                    \"id\": 192,\n                    \"categ_id\": null,\n                    \"name\": \"Am Globe Traders\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 18819,\n                \"date\": \"2018-12-04\"\n            },\n            {\n                \"id\": 101,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 16000,\n                \"date\": \"2018-11-12\"\n            },\n            {\n                \"id\": 98,\n                \"contact_id\": {\n                    \"id\": 114,\n                    \"categ_id\": null,\n                    \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 62299,\n                \"date\": \"2018-10-14\"\n            },\n            {\n                \"id\": 90,\n                \"contact_id\": {\n                    \"id\": 183,\n                    \"categ_id\": null,\n                    \"name\": \"Taseen Trading Sdn Bhd\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 29449,\n                \"date\": \"2018-10-12\"\n            },\n            {\n                \"id\": 89,\n                \"contact_id\": {\n                    \"id\": 114,\n                    \"categ_id\": null,\n                    \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 23449,\n                \"date\": \"2018-10-12\"\n            },\n            {\n                \"id\": 87,\n                \"contact_id\": {\n                    \"id\": 64,\n                    \"categ_id\": null,\n                    \"name\": \"V'asia Cosmetic & Healthcare\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 9360,\n                \"date\": \"2018-10-05\"\n            },\n            {\n                \"id\": 85,\n                \"contact_id\": {\n                    \"id\": 148,\n                    \"categ_id\": null,\n                    \"name\": \"Sin Nam Ann Transport Sdn Bhd\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 9500,\n                \"date\": \"2018-10-02\"\n            },\n            {\n                \"id\": 84,\n                \"contact_id\": {\n                    \"id\": 168,\n                    \"categ_id\": null,\n                    \"name\": \"Perusahaan Cemerlang Raya Sdn Bhd (162783-K)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 5959,\n                \"date\": \"2018-09-29\"\n            },\n            {\n                \"id\": 83,\n                \"contact_id\": {\n                    \"id\": 177,\n                    \"categ_id\": null,\n                    \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 45099,\n                \"date\": \"2018-09-26\"\n            },\n            {\n                \"id\": 81,\n                \"contact_id\": {\n                    \"id\": 168,\n                    \"categ_id\": null,\n                    \"name\": \"Perusahaan Cemerlang Raya Sdn Bhd (162783-K)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 30399,\n                \"date\": \"2018-09-25\"\n            },\n            {\n                \"id\": 82,\n                \"contact_id\": {\n                    \"id\": 114,\n                    \"categ_id\": null,\n                    \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 22024,\n                \"date\": \"2018-09-25\"\n            },\n            {\n                \"id\": 79,\n                \"contact_id\": {\n                    \"id\": 175,\n                    \"categ_id\": null,\n                    \"name\": \"Kreatrz Group of Companies \"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 10869,\n                \"date\": \"2018-09-24\"\n            },\n            {\n                \"id\": 77,\n                \"contact_id\": {\n                    \"id\": 171,\n                    \"categ_id\": null,\n                    \"name\": \"Mandiri Sejahtera Sdn Bhd\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 38050,\n                \"date\": \"2018-09-22\"\n            },\n            {\n                \"id\": 50,\n                \"contact_id\": {\n                    \"id\": 136,\n                    \"categ_id\": null,\n                    \"name\": \" Top Glove Corporation Bhd (474423-X)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 10466,\n                \"date\": \"2018-09-19\"\n            },\n            {\n                \"id\": 76,\n                \"contact_id\": {\n                    \"id\": 168,\n                    \"categ_id\": null,\n                    \"name\": \"Perusahaan Cemerlang Raya Sdn Bhd (162783-K)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": null,\n                \"amount_total\": 33399,\n                \"date\": \"2018-09-11\"\n            },\n            {\n                \"id\": 75,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 14000,\n                \"date\": \"2018-09-10\"\n            },\n            {\n                \"id\": 73,\n                \"contact_id\": {\n                    \"id\": 164,\n                    \"categ_id\": null,\n                    \"name\": \"Transcargo Worldwide (M) Sdn Bhd (767688-X)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": null,\n                \"amount_total\": 30899,\n                \"date\": \"2018-09-07\"\n            },\n            {\n                \"id\": 74,\n                \"contact_id\": {\n                    \"id\": 166,\n                    \"categ_id\": null,\n                    \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                },\n                \"state\": \"won\",\n                \"user_id\": null,\n                \"amount_total\": 11420,\n                \"date\": \"2018-09-07\"\n            },\n            {\n                \"id\": 71,\n                \"contact_id\": {\n                    \"id\": 148,\n                    \"categ_id\": null,\n                    \"name\": \"Sin Nam Ann Transport Sdn Bhd\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 11399,\n                \"date\": \"2018-08-29\"\n            },\n            {\n                \"id\": 70,\n                \"contact_id\": {\n                    \"id\": 148,\n                    \"categ_id\": null,\n                    \"name\": \"Sin Nam Ann Transport Sdn Bhd\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 9000,\n                \"date\": \"2018-08-29\"\n            },\n            {\n                \"id\": 69,\n                \"contact_id\": {\n                    \"id\": 160,\n                    \"categ_id\": null,\n                    \"name\": \"TECHNOFIT SDN BHD (469126-W)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 14399,\n                \"date\": \"2018-08-28\"\n            },\n            {\n                \"id\": 66,\n                \"contact_id\": {\n                    \"id\": 107,\n                    \"categ_id\": null,\n                    \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": null,\n                \"amount_total\": 23000,\n                \"date\": \"2018-08-24\"\n            },\n            {\n                \"id\": 65,\n                \"contact_id\": {\n                    \"id\": 107,\n                    \"categ_id\": null,\n                    \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": null,\n                \"amount_total\": 112399,\n                \"date\": \"2018-08-24\"\n            },\n            {\n                \"id\": 68,\n                \"contact_id\": {\n                    \"id\": 107,\n                    \"categ_id\": null,\n                    \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": null,\n                \"amount_total\": 15000,\n                \"date\": \"2018-08-24\"\n            },\n            {\n                \"id\": 62,\n                \"contact_id\": {\n                    \"id\": 156,\n                    \"categ_id\": null,\n                    \"name\": \"Asset Management Resources Sdn Bhd (481274-x)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 198999,\n                \"date\": \"2018-08-23\"\n            },\n            {\n                \"id\": 64,\n                \"contact_id\": {\n                    \"id\": 158,\n                    \"categ_id\": null,\n                    \"name\": \"AGX Logistics Singapore Pte Ltd\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 16049,\n                \"date\": \"2018-08-23\"\n            },\n            {\n                \"id\": 59,\n                \"contact_id\": {\n                    \"id\": 58,\n                    \"categ_id\": null,\n                    \"name\": \"Speed Concrete Industries Sdn Bhd\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 9000,\n                \"date\": \"2018-08-15\"\n            },\n            {\n                \"id\": 61,\n                \"contact_id\": {\n                    \"id\": 118,\n                    \"categ_id\": null,\n                    \"name\": \"Propay Malaysia (HQ)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 25000,\n                \"date\": \"2018-08-15\"\n            },\n            {\n                \"id\": 58,\n                \"contact_id\": {\n                    \"id\": 150,\n                    \"categ_id\": null,\n                    \"name\": \"ALUMINIUM ALLOY SMELTER INDUSTRIES SDN BHD \"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 10399,\n                \"date\": \"2018-08-03\"\n            },\n            {\n                \"id\": 51,\n                \"contact_id\": {\n                    \"id\": 118,\n                    \"categ_id\": null,\n                    \"name\": \"Propay Malaysia (HQ)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 25000,\n                \"date\": \"2018-08-01\"\n            },\n            {\n                \"id\": 57,\n                \"contact_id\": {\n                    \"id\": 148,\n                    \"categ_id\": null,\n                    \"name\": \"Sin Nam Ann Transport Sdn Bhd\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 20399,\n                \"date\": \"2018-07-31\"\n            },\n            {\n                \"id\": 56,\n                \"contact_id\": {\n                    \"id\": 118,\n                    \"categ_id\": null,\n                    \"name\": \"Propay Malaysia (HQ)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 3500,\n                \"date\": \"2018-07-31\"\n            },\n            {\n                \"id\": 55,\n                \"contact_id\": {\n                    \"id\": 99,\n                    \"categ_id\": null,\n                    \"name\": \"GD Pavilion Sdn Bhd (1103184P)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 4709,\n                \"date\": \"2018-07-17\"\n            },\n            {\n                \"id\": 54,\n                \"contact_id\": {\n                    \"id\": 143,\n                    \"categ_id\": null,\n                    \"name\": \"ET WAREHOUSING & LOGISTICS SDN. BHD.\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 22399,\n                \"date\": \"2018-07-16\"\n            },\n            {\n                \"id\": 53,\n                \"contact_id\": {\n                    \"id\": 141,\n                    \"categ_id\": null,\n                    \"name\": \"Colas Rail System Engineering Sdn Bhd (1058672-T)\"\n                },\n                \"state\": \"voided\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 7399,\n                \"date\": \"2018-07-13\"\n            },\n            {\n                \"id\": 47,\n                \"contact_id\": {\n                    \"id\": 133,\n                    \"categ_id\": null,\n                    \"name\": \"Sendit Services\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 27399,\n                \"date\": \"2018-06-21\"\n            },\n            {\n                \"id\": 49,\n                \"contact_id\": {\n                    \"id\": 135,\n                    \"categ_id\": null,\n                    \"name\": \"Danny Chan\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 35399,\n                \"date\": \"2018-06-21\"\n            },\n            {\n                \"id\": 48,\n                \"contact_id\": {\n                    \"id\": 132,\n                    \"categ_id\": null,\n                    \"name\": \"APP Timber Sdn Bhd\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 23324,\n                \"date\": \"2018-06-21\"\n            },\n            {\n                \"id\": 46,\n                \"contact_id\": {\n                    \"id\": 128,\n                    \"categ_id\": null,\n                    \"name\": \"LEDchain (M) Sdn Bhd\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 8724,\n                \"date\": \"2018-06-11\"\n            },\n            {\n                \"id\": 45,\n                \"contact_id\": {\n                    \"id\": 123,\n                    \"categ_id\": null,\n                    \"name\": \"Advance Nature Sdn Bhd (1245505-M)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 26999,\n                \"date\": \"2018-06-02\"\n            },\n            {\n                \"id\": 41,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 19048,\n                \"date\": \"2018-05-29\"\n            },\n            {\n                \"id\": 40,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 26000,\n                \"date\": \"2018-05-29\"\n            },\n            {\n                \"id\": 38,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 45000,\n                \"date\": \"2018-05-29\"\n            },\n            {\n                \"id\": 37,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 19000,\n                \"date\": \"2018-05-29\"\n            },\n            {\n                \"id\": 96,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"voided\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 109048,\n                \"date\": \"2018-05-28\"\n            },\n            {\n                \"id\": 34,\n                \"contact_id\": {\n                    \"id\": 119,\n                    \"categ_id\": null,\n                    \"name\": \"Nera (Malaysia) Sdn Bhd (0502477X)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 8399,\n                \"date\": \"2018-05-08\"\n            },\n            {\n                \"id\": 32,\n                \"contact_id\": {\n                    \"id\": 112,\n                    \"categ_id\": null,\n                    \"name\": \"RICOH (Malaysia) Sdn. Bhd. (10078-W)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 31699,\n                \"date\": \"2018-05-03\"\n            },\n            {\n                \"id\": 30,\n                \"contact_id\": {\n                    \"id\": 114,\n                    \"categ_id\": null,\n                    \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 18449,\n                \"date\": \"2018-05-03\"\n            },\n            {\n                \"id\": 28,\n                \"contact_id\": {\n                    \"id\": 109,\n                    \"categ_id\": null,\n                    \"name\": \"AGX Philippines\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 8799,\n                \"date\": \"2018-04-25\"\n            },\n            {\n                \"id\": 27,\n                \"contact_id\": {\n                    \"id\": 107,\n                    \"categ_id\": null,\n                    \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 87999,\n                \"date\": \"2018-04-24\"\n            },\n            {\n                \"id\": 26,\n                \"contact_id\": {\n                    \"id\": 106,\n                    \"categ_id\": null,\n                    \"name\": \"Auto Marques Express Service Centre\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 18306,\n                \"date\": \"2018-04-22\"\n            },\n            {\n                \"id\": 182,\n                \"contact_id\": {\n                    \"id\": 54,\n                    \"categ_id\": null,\n                    \"name\": \"Kontena Nasional\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 8,\n                    \"name\": \"Admin\"\n                },\n                \"amount_total\": 10762,\n                \"date\": \"2018-04-17\"\n            },\n            {\n                \"id\": 25,\n                \"contact_id\": {\n                    \"id\": 103,\n                    \"categ_id\": null,\n                    \"name\": \"Dongfeng Commercial Vehicle (Malaysia) Sdn Bhd\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 9409,\n                \"date\": \"2018-04-16\"\n            },\n            {\n                \"id\": 23,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"voided\",\n                \"user_id\": {\n                    \"id\": 8,\n                    \"name\": \"Admin\"\n                },\n                \"amount_total\": 57498,\n                \"date\": \"2018-04-14\"\n            },\n            {\n                \"id\": 21,\n                \"contact_id\": {\n                    \"id\": 99,\n                    \"categ_id\": null,\n                    \"name\": \"GD Pavilion Sdn Bhd (1103184P)\"\n                },\n                \"state\": \"revised\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 4399,\n                \"date\": \"2018-04-02\"\n            },\n            {\n                \"id\": 20,\n                \"contact_id\": {\n                    \"id\": 97,\n                    \"categ_id\": null,\n                    \"name\": \"Bright Star Logistics Sdn Bhd\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 5000,\n                \"date\": \"2018-03-26\"\n            },\n            {\n                \"id\": 19,\n                \"contact_id\": {\n                    \"id\": 95,\n                    \"categ_id\": null,\n                    \"name\": \"Tan Ngan Lo Retail Stores Sdn Bhd\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 14359,\n                \"date\": \"2018-03-22\"\n            },\n            {\n                \"id\": 14,\n                \"contact_id\": {\n                    \"id\": 73,\n                    \"categ_id\": null,\n                    \"name\": \"Seraya Technologi Sdn. Bhd. (1008183-V)\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": {\n                    \"id\": 8,\n                    \"name\": \"Admin\"\n                },\n                \"amount_total\": 11445,\n                \"date\": \"2018-03-12\"\n            },\n            {\n                \"id\": 16,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"won\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 15000,\n                \"date\": \"2018-02-28\"\n            },\n            {\n                \"id\": 8,\n                \"contact_id\": {\n                    \"id\": 54,\n                    \"categ_id\": null,\n                    \"name\": \"Kontena Nasional\"\n                },\n                \"state\": \"lost\",\n                \"user_id\": null,\n                \"amount_total\": 5392,\n                \"date\": \"2018-01-03\"\n            }\n        ],\n        504\n    ],\n    \"error\": null,\n    \"id\": 1695018963518,\n    \"dt\": 2700\n}"}],"_postman_id":"7db94913-fde7-4e58-ada3-6a556370a82b"},{"name":"params/report.custom/search_read","id":"fdaf53e2-6886-4915-b639-99549b6dbb92","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695018963524,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"sale.quot\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 11:35:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.custom\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"code\",</strong></strong>\"=\",<strong>**\"sale.quot\"<strong><strong>]</strong></strong>],<strong><strong>[</strong></strong>\"name\",**</strong>\"config\"<strong><strong>]</strong></strong>],****{},**</p>\n<ol>\n<li><strong>\"report.custom\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"report.custom,\" which likely refers to a module or entity related to custom reports or configurations within the system. This module might be responsible for generating custom reports or managing custom configurations.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[[\"code\", \"=\", \"sale.quot\"]], [\"name\", \"config\"]]:</strong> This is the third parameter, which consists of two lists:</li>\n<li>The first list, <code>[[[\"code\", \"=\", \"sale.quot\"]]]</code>, forms the search domain. It contains one condition: <code>[\"code\", \"=\", \"sale.quot\"]</code>, which filters records where the \"code\" attribute equals \"sale.quot.\" This condition narrows down the selection to records associated with a specific code or identifier, in this case, \"sale.quot.\"<ol>\n<li><strong>\"code\":</strong> This represents a field or attribute within the \"report.custom\" entity, which is used to categorize or identify custom reports or configurations.</li>\n<li><strong>\"=\":</strong> This is an operator used in the condition and signifies equality. It's used to compare the field on the left with the value on the right to check if they are equal.</li>\n<li><strong>\"sale.quot\":</strong> This is the value against which the \"code\" field is being compared. In this condition, it's checking if the \"code\" field is equal to the value \"sale.quot.\"</li>\n</ol>\n</li>\n<li>The second list, <code>[\"name\", \"config\"]</code>, specifies the fields (attributes) of the records to be included in the response. These attributes relate to custom report or configuration records that the request aims to retrieve:<ol>\n<li><strong>\"name\":</strong> Represents the name or title associated with the custom report or configuration. It indicates the name of the specific report or configuration.</li>\n<li><strong>\"config\":</strong> Likely represents specific configuration settings or details related to the custom report or configuration.</li>\n</ol>\n</li>\n<li><strong>{}:</strong> This is the fourth parameter and represents an empty dictionary. In Odoo and similar systems, this section can be used to pass additional options or context information to the search_read operation. In this specific request, no additional context or options are provided.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"report.custom\" entity, which is likely related to custom reports or configurations. It filters records based on the \"code\" attribute equaling \"sale.quot,\" indicating a specific category or identifier for these records. The request specifies the attributes \"name\" and \"config\" to include in the response. No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"baf123a7-5ed7-4b06-a137-68b8ec787c2f","name":"params/report.custom/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695018963524,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"sale.quot\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 11:35:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 18 Sep 2023 06:45:44 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=FxnFf0uMl%2BIdFQeump9HdMswdMEofEehZC3no%2BUbxPTUEYyuvNrSmljIN7D%2F0Dqy5JR1NMyVCk1UI5DjRXcVEq3zCXGLjIZR7qUhYyPpLUaKOBl9VtOqUnfVccZ4S4MUaXFhnydifHDE0mz9eA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8087a0b90cb03dd5-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"id\": 1,\n            \"config\": \"{\\\"field_names\\\":[\\\"contact_id.name\\\",\\\"contact_id.categ_id.name\\\",\\\"state\\\",\\\"user_id.name\\\",\\\"date\\\",\\\"amount_total\\\"],\\\"limit\\\":1000,\\\"derivedAttributes\\\":{},\\\"hiddenAttributes\\\":[],\\\"menuLimit\\\":200,\\\"cols\\\":[\\\"Status\\\"],\\\"rows\\\":[\\\"Contact\\\"],\\\"vals\\\":[\\\"Total\\\"],\\\"exclusions\\\":{\\\"Status\\\":[\\\"Lost\\\",\\\"Revised\\\",\\\"Voided\\\",\\\"Won\\\"]},\\\"inclusions\\\":{\\\"Status\\\":[\\\"Approved\\\"]},\\\"unusedAttrsVertical\\\":85,\\\"autoSortUnusedAttrs\\\":false,\\\"aggregatorName\\\":\\\"Sum\\\",\\\"inclusionsInfo\\\":{\\\"Status\\\":[\\\"Approved\\\"]},\\\"rendererName\\\":\\\"Table\\\"}\",\n            \"name\": \"Approved Quotation\"\n        }\n    ],\n    \"error\": null,\n    \"id\": 1695018963524,\n    \"dt\": 11\n}"}],"_postman_id":"fdaf53e2-6886-4915-b639-99549b6dbb92"}],"id":"772a2a53-2f88-4248-aa60-502405c43417","_postman_id":"772a2a53-2f88-4248-aa60-502405c43417","description":""},{"name":"Quotation Line Analysis","item":[{"name":"params/sale.quot.line/search_read_path","id":"16cf8443-a487-4fb1-87d6-cfbc3a825f01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695019996631,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.quot.line\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"product_id.name\",\r\n                \"product_id.code\",\r\n                \"product_id.categ_id.name\",\r\n                \"quot_id.contact_id.name\",\r\n                \"quot_id.contact_id.categ_id.name\",\r\n                \"quot_id.state\",\r\n                \"quot_id.user_id.name\",\r\n                \"quot_id.date\",\r\n                \"amount\",\r\n                \"qty\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 11:53:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"sale.quot.line\",</strong>\"search_read_path\",<strong>[</strong>[],<strong>[</strong>\"product_id.name\",<strong>\"product_id.code\",</strong>\"product_id.categ_id.name\",<strong>\"quot_id.contact_id.name\",</strong>\"quot_id.contact_id.categ_id.name\",<strong>\"quot_id.state\",</strong>\"quot_id.user_id.name\",<strong>\"quot_id.date\",</strong>\"amount\",<strong>\"qty\"<strong>]</strong>],</strong>{<strong>\"count\": true,</strong>\"limit\": 1000,<strong>\"context\": {}****},</strong></p>\n<ol>\n<li><strong>\"sale.quot.line\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"sale.quot.line,\" which likely refers to a module or entity related to line items or products within sales quotations. Sales quotation lines represent individual products or services listed in a quotation.</li>\n<li><strong>\"search_read_path\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read_path\" appears to be a specific action or method used in the system. While \"search_read\" is commonly used for retrieving records based on criteria, \"search_read_path\" might indicate a custom or extended functionality for retrieving records in a specific manner.</li>\n<li><strong>[[], [\"product_id.name\", \"product_id.code\", \"product_id.categ_id.name\", \"quot_id.contact_id.name\", \"quot_id.contact_id.categ_id.name\", \"quot_id.state\", \"quot_id.user_id.name\", \"quot_id.date\", \"amount\", \"qty\"]]:</strong> This is the third parameter, which consists of two lists:</li>\n<li>The first list, <code>[]</code>, forms the search domain. It contains an empty inner list, <code>[]</code>. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved. This implies that the request aims to retrieve all records without any specific filtering criteria based on field values.</li>\n<li>The second list, <code>[\"product_id.name\", \"product_id.code\", \"product_id.categ_id.name\", \"quot_id.contact_id.name\", \"quot_id.contact_id.categ_id.name\", \"quot_id.state\", \"quot_id.user_id.name\", \"quot_id.date\", \"amount\", \"qty\"]</code>, specifies the fields (attributes) of the records to be included in the response. These attributes relate to sales quotation line records that the request aims to retrieve:<ol>\n<li><strong>\"product_id.name\":</strong> Represents the name or title of the product associated with the quotation line. It indicates the product that is listed in the quotation.</li>\n<li><strong>\"product_id.code\":</strong> Likely represents a unique code or identifier for the product associated with the quotation line.</li>\n<li><strong>\"product_id.categ_id.name\":</strong> Represents the name of the product category or classification to which the product belongs. It provides information about the type of product.</li>\n<li><strong>\"quot_id.contact_id.name\":</strong> Indicates the name of the contact associated with the quotation. This contact is likely the customer or entity for whom the quotation is prepared.</li>\n<li><strong>\"quot_id.contact_id.categ_id.name\":</strong> Similar to \"product_id.categ_id.name,\" this field represents the name of a category or classification associated with the contact. It provides additional information about the type or category of the contact.</li>\n<li><strong>\"quot_id.state\":</strong> Represents the state or status of the sales quotation to which the line item belongs. It indicates whether the quotation is open, approved, or in another state.</li>\n<li><strong>\"quot_id.user_id.name\":</strong> This appears to be a nested field where \"quot_id\" is a reference to the quotation, \"user_id\" is a reference to a user associated with the quotation, and \"name\" is a field within that user record. It may represent the name of the user responsible for managing the quotation.</li>\n<li><strong>\"quot_id.date\":</strong> Represents a date attribute, which might indicate the date when the sales quotation was created or last updated.</li>\n<li><strong>\"amount\":</strong> Indicates the total amount or value associated with the quotation line, likely reflecting the price of the product multiplied by the quantity.</li>\n<li><strong>\"qty\":</strong> Represents the quantity of the product listed in the quotation line.</li>\n</ol>\n</li>\n<li><strong>{\"count\": true, \"limit\": 1000, \"context\": {}}:</strong> This is the fourth parameter and represents a dictionary with various options:<ol>\n<li><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. It facilitates the counting of sales quotation line records.</li>\n<li><strong>\"limit\": 1000:</strong> The \"limit\" option sets a limit of 1000 records to be fetched in a single request. If there are more matching records, additional requests may be needed to retrieve them.</li>\n<li><strong>\"context\": {}:</strong> Represents an empty context, which can be used to pass additional options or context information to the search_read_path operation. In this request, no additional context or options are provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"sale.quot.line\" entity, which is related to line items or products within sales quotations. It retrieves all quotation line records without any specific filtering criteria based on field values and specifies the attributes of these quotation lines to include in the response. Additionally, it requests the total count of all quotation lines, sets a limit of 1000 records for retrieval, and does not provide any additional context or options.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"7870d65a-a823-43e1-ac7c-b91253190f6e","name":"params/sale.quot.line/search_read_path","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695019996631,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.quot.line\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"product_id.name\",\r\n                \"product_id.code\",\r\n                \"product_id.categ_id.name\",\r\n                \"quot_id.contact_id.name\",\r\n                \"quot_id.contact_id.categ_id.name\",\r\n                \"quot_id.state\",\r\n                \"quot_id.user_id.name\",\r\n                \"quot_id.date\",\r\n                \"amount\",\r\n                \"qty\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 11:53:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 18 Sep 2023 06:53:59 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=VGZMy7W1iVVpK3Yl%2FCnbxaQWELsumrbn361SNstafR3uIIkWJsSnDYGPagKnBUOogP7%2BE0I42%2FngzjHXCG3GR9PE%2FsUmAKc8WS23jLu3%2BTDFtfoC4cTQ34Hbnpa4cFLQl6g6y8ondy%2BcvJvqvg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8087accc1a9fd1d8-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 592,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 50,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-09-19\",\n                    \"contact_id\": {\n                        \"id\": 136,\n                        \"categ_id\": null,\n                        \"name\": \" Top Glove Corporation Bhd (474423-X)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 678,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 64,\n                    \"state\": \"won\",\n                    \"date\": \"2018-08-23\",\n                    \"contact_id\": {\n                        \"id\": 158,\n                        \"categ_id\": null,\n                        \"name\": \"AGX Logistics Singapore Pte Ltd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 6,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 730,\n                \"product_id\": null,\n                \"quot_id\": {\n                    \"id\": 66,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-08-24\",\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"user_id\": null\n                },\n                \"qty\": null,\n                \"amount\": null\n            },\n            {\n                \"id\": 771,\n                \"product_id\": null,\n                \"quot_id\": {\n                    \"id\": 68,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-08-24\",\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"user_id\": null\n                },\n                \"qty\": null,\n                \"amount\": null\n            },\n            {\n                \"id\": 813,\n                \"product_id\": {\n                    \"id\": 806,\n                    \"code\": \"P-0002i\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - RPA\"\n                },\n                \"quot_id\": {\n                    \"id\": 70,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-08-29\",\n                    \"contact_id\": {\n                        \"id\": 148,\n                        \"categ_id\": null,\n                        \"name\": \"Sin Nam Ann Transport Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 3.5,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 863,\n                \"product_id\": null,\n                \"quot_id\": {\n                    \"id\": 65,\n                    \"state\": \"won\",\n                    \"date\": \"2018-08-24\",\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"user_id\": null\n                },\n                \"qty\": null,\n                \"amount\": null\n            },\n            {\n                \"id\": 871,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 73,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-09-07\",\n                    \"contact_id\": {\n                        \"id\": 164,\n                        \"categ_id\": null,\n                        \"name\": \"Transcargo Worldwide (M) Sdn Bhd (767688-X)\"\n                    },\n                    \"user_id\": null\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 879,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 74,\n                    \"state\": \"won\",\n                    \"date\": \"2018-09-07\",\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"user_id\": null\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 932,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 79,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-09-24\",\n                    \"contact_id\": {\n                        \"id\": 175,\n                        \"categ_id\": null,\n                        \"name\": \"Kreatrz Group of Companies \"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 958,\n                \"product_id\": {\n                    \"id\": 784,\n                    \"code\": \"P-0009a\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"quot_id\": {\n                    \"id\": 82,\n                    \"state\": \"won\",\n                    \"date\": \"2018-09-25\",\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 2120\n            },\n            {\n                \"id\": 962,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 83,\n                    \"state\": \"revised\",\n                    \"date\": \"2018-09-26\",\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 978,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 84,\n                    \"state\": \"revised\",\n                    \"date\": \"2018-09-29\",\n                    \"contact_id\": {\n                        \"id\": 168,\n                        \"categ_id\": null,\n                        \"name\": \"Perusahaan Cemerlang Raya Sdn Bhd (162783-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3500\n            },\n            {\n                \"id\": 993,\n                \"product_id\": {\n                    \"id\": 784,\n                    \"code\": \"P-0009a\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"quot_id\": {\n                    \"id\": 87,\n                    \"state\": \"won\",\n                    \"date\": \"2018-10-05\",\n                    \"contact_id\": {\n                        \"id\": 64,\n                        \"categ_id\": null,\n                        \"name\": \"V'asia Cosmetic & Healthcare\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1060\n            },\n            {\n                \"id\": 1003,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 89,\n                    \"state\": \"won\",\n                    \"date\": \"2018-10-12\",\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1075,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 96,\n                    \"state\": \"voided\",\n                    \"date\": \"2018-05-28\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 1090,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 98,\n                    \"state\": \"revised\",\n                    \"date\": \"2018-10-14\",\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 6,\n                \"amount\": 12000\n            },\n            {\n                \"id\": 1116,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 102,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-12-04\",\n                    \"contact_id\": {\n                        \"id\": 192,\n                        \"categ_id\": null,\n                        \"name\": \"Am Globe Traders\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1124,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"code\": \"P-0005a\",\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"quot_id\": {\n                    \"id\": 104,\n                    \"state\": \"won\",\n                    \"date\": \"2018-12-24\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1125,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 105,\n                    \"state\": \"won\",\n                    \"date\": \"2019-01-04\",\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1141,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 106,\n                    \"state\": \"revised\",\n                    \"date\": \"2019-01-21\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 9,\n                \"amount\": 18000\n            },\n            {\n                \"id\": 1153,\n                \"product_id\": {\n                    \"id\": 815,\n                    \"code\": \"P-0002l\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"quot_id\": {\n                    \"id\": 107,\n                    \"state\": \"won\",\n                    \"date\": \"2019-03-07\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 7,\n                \"amount\": 14000\n            },\n            {\n                \"id\": 1160,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"code\": \"P-0005a\",\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"quot_id\": {\n                    \"id\": 108,\n                    \"state\": \"won\",\n                    \"date\": \"2019-02-21\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1162,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 109,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-02-22\",\n                    \"contact_id\": {\n                        \"id\": 209,\n                        \"categ_id\": null,\n                        \"name\": \"Pyrope Industries Sdn Bhd (344682-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 1176,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"code\": \"P-0005a\",\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"quot_id\": {\n                    \"id\": 110,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-02-26\",\n                    \"contact_id\": {\n                        \"id\": 211,\n                        \"categ_id\": null,\n                        \"name\": \"Merpati Daya Maju (IP0395026-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1180,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 111,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-03-04\",\n                    \"contact_id\": {\n                        \"id\": 214,\n                        \"categ_id\": null,\n                        \"name\": \"Jisna (Malaysia) Sdn Bhd (211316-X)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 1199,\n                \"product_id\": {\n                    \"id\": 812,\n                    \"code\": \"P-0009b\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"AR450 Touch POS Terminal\"\n                },\n                \"quot_id\": {\n                    \"id\": 114,\n                    \"state\": \"won\",\n                    \"date\": \"2019-03-07\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2060\n            },\n            {\n                \"id\": 1202,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"code\": \"P-0005a\",\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"quot_id\": {\n                    \"id\": 115,\n                    \"state\": \"revised\",\n                    \"date\": \"2019-03-11\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1205,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 116,\n                    \"state\": \"won\",\n                    \"date\": \"2019-03-11\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 9,\n                \"amount\": 18000\n            },\n            {\n                \"id\": 1217,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 117,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-03-16\",\n                    \"contact_id\": {\n                        \"id\": 222,\n                        \"categ_id\": null,\n                        \"name\": \"Lee Veterinary Clinic\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1232,\n                \"product_id\": {\n                    \"id\": 784,\n                    \"code\": \"P-0009a\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"quot_id\": {\n                    \"id\": 118,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-03-18\",\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1060\n            },\n            {\n                \"id\": 1247,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"code\": \"P-0005a\",\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"quot_id\": {\n                    \"id\": 119,\n                    \"state\": \"won\",\n                    \"date\": \"2019-03-19\",\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 0.5,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 1250,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"code\": \"P-0005a\",\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"quot_id\": {\n                    \"id\": 120,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-03-20\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1260,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 122,\n                    \"state\": \"won\",\n                    \"date\": \"2019-04-11\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1269,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 124,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-04-16\",\n                    \"contact_id\": {\n                        \"id\": 262,\n                        \"categ_id\": null,\n                        \"name\": \"Thiam Sieng Group\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 1283,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 125,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-05-04\",\n                    \"contact_id\": {\n                        \"id\": 277,\n                        \"categ_id\": null,\n                        \"name\": \"Starlai Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 1305,\n                \"product_id\": {\n                    \"id\": 818,\n                    \"code\": \"P-0009f\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"JADEVER WEIGHING INDICATOR\"\n                },\n                \"quot_id\": {\n                    \"id\": 126,\n                    \"state\": \"won\",\n                    \"date\": \"2019-05-06\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1750\n            },\n            {\n                \"id\": 1311,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 128,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-06-10\",\n                    \"contact_id\": {\n                        \"id\": 297,\n                        \"categ_id\": null,\n                        \"name\": \"YS Metal Industries Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1325,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 129,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-06-11\",\n                    \"contact_id\": {\n                        \"id\": 298,\n                        \"categ_id\": null,\n                        \"name\": \"Public Auto World Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 1349,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 133,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-06-13\",\n                    \"contact_id\": {\n                        \"id\": 303,\n                        \"categ_id\": null,\n                        \"name\": \"Pastry World Sdn Bhd (759288-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 1369,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 134,\n                    \"state\": \"revised\",\n                    \"date\": \"2019-06-28\",\n                    \"contact_id\": {\n                        \"id\": 195,\n                        \"categ_id\": null,\n                        \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 1382,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 135,\n                    \"state\": \"won\",\n                    \"date\": \"2019-07-02\",\n                    \"contact_id\": {\n                        \"id\": 195,\n                        \"categ_id\": null,\n                        \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 1397,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 137,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-07-04\",\n                    \"contact_id\": {\n                        \"id\": 315,\n                        \"categ_id\": null,\n                        \"name\": \"Westline Transporter SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1415,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 138,\n                    \"state\": \"won\",\n                    \"date\": \"2019-07-06\",\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 9,\n                \"amount\": 18000\n            },\n            {\n                \"id\": 1417,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 139,\n                    \"state\": \"won\",\n                    \"date\": \"2019-07-06\",\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 300\n            },\n            {\n                \"id\": 1426,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 140,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-07-12\",\n                    \"contact_id\": {\n                        \"id\": 295,\n                        \"categ_id\": null,\n                        \"name\": \"Malaysian Timber Council\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 1439,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 142,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-07-12\",\n                    \"contact_id\": {\n                        \"id\": 320,\n                        \"categ_id\": null,\n                        \"name\": \"AUTOMONT GATSBY SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 1452,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 143,\n                    \"state\": \"revised\",\n                    \"date\": \"2019-07-16\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 5,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 1466,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 145,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-07-24\",\n                    \"contact_id\": {\n                        \"id\": 322,\n                        \"categ_id\": null,\n                        \"name\": \"INOX ENGINEERING SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 4.5,\n                \"amount\": 9000\n            },\n            {\n                \"id\": 1487,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 150,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-08-05\",\n                    \"contact_id\": {\n                        \"id\": 328,\n                        \"categ_id\": null,\n                        \"name\": \"TABUR NIAGA SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1496,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 151,\n                    \"state\": \"won\",\n                    \"date\": \"2019-08-08\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 7,\n                \"amount\": 14000\n            },\n            {\n                \"id\": 1500,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 152,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-08-26\",\n                    \"contact_id\": {\n                        \"id\": 336,\n                        \"categ_id\": null,\n                        \"name\": \"Power Packaging SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 1513,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 153,\n                    \"state\": \"won\",\n                    \"date\": \"2019-09-05\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 5,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 1516,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 154,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-09-07\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1521,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 155,\n                    \"state\": \"won\",\n                    \"date\": \"2019-09-12\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1529,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 157,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-09-13\",\n                    \"contact_id\": {\n                        \"id\": 330,\n                        \"categ_id\": null,\n                        \"name\": \"GOURMET INGREDIENTS SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 1548,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 158,\n                    \"state\": \"won\",\n                    \"date\": \"2019-09-17\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1551,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"code\": \"P-0002a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"quot_id\": {\n                    \"id\": 159,\n                    \"state\": \"approved\",\n                    \"date\": \"2019-09-18\",\n                    \"contact_id\": {\n                        \"id\": 350,\n                        \"categ_id\": null,\n                        \"name\": \"Vettons Sdn Bhd (1286553-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1560,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 160,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-09-26\",\n                    \"contact_id\": {\n                        \"id\": 356,\n                        \"categ_id\": null,\n                        \"name\": \"Prestar Precision Tube Sdn Bhd (643193-X)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 1576,\n                \"product_id\": {\n                    \"id\": 815,\n                    \"code\": \"P-0002l\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"quot_id\": {\n                    \"id\": 161,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-10-02\",\n                    \"contact_id\": {\n                        \"id\": 358,\n                        \"categ_id\": null,\n                        \"name\": \"HELP International School (802643-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 11,\n                \"amount\": 22000\n            },\n            {\n                \"id\": 1594,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 163,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-10-11\",\n                    \"contact_id\": {\n                        \"id\": 362,\n                        \"categ_id\": null,\n                        \"name\": \"MARA LINER SDN BHD (0233945-T)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 1602,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 164,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-10-14\",\n                    \"contact_id\": {\n                        \"id\": 364,\n                        \"categ_id\": null,\n                        \"name\": \"Japanese Agriculture Products SDN BHD (1286234-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 1620,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 165,\n                    \"state\": \"won\",\n                    \"date\": \"2019-10-15\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1622,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 166,\n                    \"state\": \"draft\",\n                    \"date\": \"2019-10-18\",\n                    \"contact_id\": {\n                        \"id\": 368,\n                        \"categ_id\": null,\n                        \"name\": \"ADVANCEDATA NETWORK PTE LTD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1638,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 167,\n                    \"state\": \"won\",\n                    \"date\": \"2019-10-24\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3.5,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 1643,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 168,\n                    \"state\": \"revised\",\n                    \"date\": \"2019-11-05\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1648,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 169,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-11-05\",\n                    \"contact_id\": {\n                        \"id\": 374,\n                        \"categ_id\": null,\n                        \"name\": \"KCJ Distribution SDN BHD (1198272-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 1659,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 170,\n                    \"state\": \"won\",\n                    \"date\": \"2019-11-09\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1668,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 172,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-11-14\",\n                    \"contact_id\": {\n                        \"id\": 382,\n                        \"categ_id\": null,\n                        \"name\": \"Edaran IT Services Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1685,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 173,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-11-15\",\n                    \"contact_id\": {\n                        \"id\": 384,\n                        \"categ_id\": null,\n                        \"name\": \"Puzzle Planet Sdn Bhd (1322305-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 6,\n                \"amount\": 12000\n            },\n            {\n                \"id\": 1695,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 175,\n                    \"state\": \"revised\",\n                    \"date\": \"2019-11-23\",\n                    \"contact_id\": {\n                        \"id\": 388,\n                        \"categ_id\": null,\n                        \"name\": \"Empire World Express Sdn Bhd (944635-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1700,\n                \"product_id\": {\n                    \"id\": 821,\n                    \"code\": \"P-0018\",\n                    \"categ_id\": null,\n                    \"name\": \"Excel Automation\"\n                },\n                \"quot_id\": {\n                    \"id\": 177,\n                    \"state\": \"won\",\n                    \"date\": \"2019-12-03\",\n                    \"contact_id\": {\n                        \"id\": 112,\n                        \"categ_id\": null,\n                        \"name\": \"RICOH (Malaysia) Sdn. Bhd. (10078-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 4500\n            },\n            {\n                \"id\": 1704,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 178,\n                    \"state\": \"revised\",\n                    \"date\": \"2019-12-07\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1718,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 179,\n                    \"state\": \"won\",\n                    \"date\": \"2019-12-07\",\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1500\n            },\n            {\n                \"id\": 1730,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 182,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-04-17\",\n                    \"contact_id\": {\n                        \"id\": 54,\n                        \"categ_id\": null,\n                        \"name\": \"Kontena Nasional\"\n                    },\n                    \"user_id\": {\n                        \"id\": 8,\n                        \"name\": \"Admin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 1739,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 183,\n                    \"state\": \"revised\",\n                    \"date\": \"2019-12-19\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1744,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 184,\n                    \"state\": \"won\",\n                    \"date\": \"2019-12-21\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1755,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 185,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-01-07\",\n                    \"contact_id\": {\n                        \"id\": 397,\n                        \"categ_id\": null,\n                        \"name\": \"Pegasus Automation Sdn Bhd (778197-P)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 0.5,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 1778,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 190,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-01-13\",\n                    \"contact_id\": {\n                        \"id\": 404,\n                        \"categ_id\": null,\n                        \"name\": \"Wiltek Homeware Sdn Bhd (730858-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 40,\n                        \"name\": \"Azri\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 1797,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 191,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-01-14\",\n                    \"contact_id\": {\n                        \"id\": 406,\n                        \"categ_id\": null,\n                        \"name\": \"SteelWorks Engineering Sdn Bhd \"\n                    },\n                    \"user_id\": {\n                        \"id\": 40,\n                        \"name\": \"Azri\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 1801,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 192,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-01-14\",\n                    \"contact_id\": {\n                        \"id\": 406,\n                        \"categ_id\": null,\n                        \"name\": \"SteelWorks Engineering Sdn Bhd \"\n                    },\n                    \"user_id\": {\n                        \"id\": 40,\n                        \"name\": \"Azri\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1815,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 193,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-01-20\",\n                    \"contact_id\": {\n                        \"id\": 413,\n                        \"categ_id\": null,\n                        \"name\": \"ESON BATU PAHAT PRECISION ENGINEERING SDN. BHD.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 40,\n                        \"name\": \"Azri\"\n                    }\n                },\n                \"qty\": 1.75,\n                \"amount\": 3500\n            },\n            {\n                \"id\": 1822,\n                \"product_id\": {\n                    \"id\": 789,\n                    \"code\": \"P-0002o\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - POS (On-Site)\"\n                },\n                \"quot_id\": {\n                    \"id\": 194,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-01-21\",\n                    \"contact_id\": {\n                        \"id\": 417,\n                        \"categ_id\": null,\n                        \"name\": \"Wan & Sons Bread Company\"\n                    },\n                    \"user_id\": {\n                        \"id\": 40,\n                        \"name\": \"Azri\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1830,\n                \"product_id\": {\n                    \"id\": 797,\n                    \"code\": \"P-0008a\",\n                    \"categ_id\": null,\n                    \"name\": \"Consultation (Advisory)\"\n                },\n                \"quot_id\": {\n                    \"id\": 195,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-02-06\",\n                    \"contact_id\": {\n                        \"id\": 422,\n                        \"categ_id\": null,\n                        \"name\": \"Nature Environment Products Sdn Bhd (507751-V)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 10,\n                \"amount\": 20000\n            },\n            {\n                \"id\": 1836,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 196,\n                    \"state\": \"won\",\n                    \"date\": \"2020-02-08\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1840,\n                \"product_id\": {\n                    \"id\": 765,\n                    \"code\": \"P-0003a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Training (Acct)\"\n                },\n                \"quot_id\": {\n                    \"id\": 197,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-02-10\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 1842,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 198,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-02-10\",\n                    \"contact_id\": {\n                        \"id\": 426,\n                        \"categ_id\": null,\n                        \"name\": \"Eutag Global (M) Sdn Bhd (212039-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1856,\n                \"product_id\": {\n                    \"id\": 812,\n                    \"code\": \"P-0009b\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"AR450 Touch POS Terminal\"\n                },\n                \"quot_id\": {\n                    \"id\": 199,\n                    \"state\": \"won\",\n                    \"date\": \"2020-02-14\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2160\n            },\n            {\n                \"id\": 1858,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 200,\n                    \"state\": \"voided\",\n                    \"date\": \"2020-02-17\",\n                    \"contact_id\": {\n                        \"id\": 435,\n                        \"categ_id\": null,\n                        \"name\": \"MY IOL Sdn Bhd (1153794-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 1867,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 201,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-02-18\",\n                    \"contact_id\": {\n                        \"id\": 437,\n                        \"categ_id\": null,\n                        \"name\": \"Mettic Systeme Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1876,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 202,\n                    \"state\": \"won\",\n                    \"date\": \"2020-02-22\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 7.5,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 1879,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 203,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-03-04\",\n                    \"contact_id\": {\n                        \"id\": 443,\n                        \"categ_id\": null,\n                        \"name\": \"MASTERJAYA ENVIRONMENT SDN BHD (249885-T)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1892,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 204,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-03-11\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1902,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 205,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-05-21\",\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1912,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 206,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-03-14\",\n                    \"contact_id\": {\n                        \"id\": 448,\n                        \"categ_id\": null,\n                        \"name\": \"CCL Design Penang\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1923,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 207,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-03-16\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 1935,\n                \"product_id\": {\n                    \"id\": 815,\n                    \"code\": \"P-0002l\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"quot_id\": {\n                    \"id\": 209,\n                    \"state\": \"won\",\n                    \"date\": \"2020-03-25\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1946,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 211,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-04-07\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 1960,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 212,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-04-08\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 4.5,\n                \"amount\": 9000\n            },\n            {\n                \"id\": 1979,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 214,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-04-15\",\n                    \"contact_id\": {\n                        \"id\": 455,\n                        \"categ_id\": null,\n                        \"name\": \"Myangkasa Optikal Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 2008,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 216,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-04-24\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 5.5,\n                \"amount\": 11000\n            },\n            {\n                \"id\": 2043,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 218,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-05-09\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 5.5,\n                \"amount\": 11000\n            },\n            {\n                \"id\": 2077,\n                \"product_id\": {\n                    \"id\": 844,\n                    \"code\": \"P-0009k\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Mobile Data Collector (MODAT-550A) Andriod\"\n                },\n                \"quot_id\": {\n                    \"id\": 219,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-05-09\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 5,\n                \"amount\": 13250\n            },\n            {\n                \"id\": 2097,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 222,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-05-16\",\n                    \"contact_id\": {\n                        \"id\": 458,\n                        \"categ_id\": null,\n                        \"name\": \"Alhani Trade Sdn. Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 2103,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 223,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-05-19\",\n                    \"contact_id\": {\n                        \"id\": 462,\n                        \"categ_id\": null,\n                        \"name\": \"Pesona Metro Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2140,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 229,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-05-20\",\n                    \"contact_id\": {\n                        \"id\": 388,\n                        \"categ_id\": null,\n                        \"name\": \"Empire World Express Sdn Bhd (944635-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 2142,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 230,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-05-20\",\n                    \"contact_id\": {\n                        \"id\": 388,\n                        \"categ_id\": null,\n                        \"name\": \"Empire World Express Sdn Bhd (944635-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 2147,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 231,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-05-20\",\n                    \"contact_id\": {\n                        \"id\": 462,\n                        \"categ_id\": null,\n                        \"name\": \"Pesona Metro Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2156,\n                \"product_id\": {\n                    \"id\": 784,\n                    \"code\": \"P-0009a\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"quot_id\": {\n                    \"id\": 232,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-05-21\",\n                    \"contact_id\": {\n                        \"id\": 462,\n                        \"categ_id\": null,\n                        \"name\": \"Pesona Metro Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1060\n            },\n            {\n                \"id\": 2164,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 233,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-05-21\",\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2169,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 234,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-05-27\",\n                    \"contact_id\": {\n                        \"id\": 402,\n                        \"categ_id\": null,\n                        \"name\": \"Taiko Marketing Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 14,\n                \"amount\": 28000\n            },\n            {\n                \"id\": 2183,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 237,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-06-06\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 9,\n                \"amount\": 18000\n            },\n            {\n                \"id\": 2211,\n                \"product_id\": {\n                    \"id\": 854,\n                    \"code\": \"Z90\",\n                    \"categ_id\": {\n                        \"id\": 179,\n                        \"name\": \"Mobile Computer\"\n                    },\n                    \"name\": \"U9000S : Handheld Terminal - Z90\"\n                },\n                \"quot_id\": {\n                    \"id\": 239,\n                    \"state\": \"won\",\n                    \"date\": \"2020-06-16\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 10600\n            },\n            {\n                \"id\": 2222,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 241,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-06-17\",\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2231,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 243,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-06-18\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 9,\n                \"amount\": 18000\n            },\n            {\n                \"id\": 2252,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 244,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-07-06\",\n                    \"contact_id\": {\n                        \"id\": 482,\n                        \"categ_id\": null,\n                        \"name\": \"SD Impex Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 2292,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 247,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-07-20\",\n                    \"contact_id\": {\n                        \"id\": 491,\n                        \"categ_id\": null,\n                        \"name\": \"Mase Industries Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 5,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 2309,\n                \"product_id\": null,\n                \"quot_id\": {\n                    \"id\": 248,\n                    \"state\": \"won\",\n                    \"date\": \"2020-07-21\",\n                    \"contact_id\": {\n                        \"id\": 492,\n                        \"categ_id\": null,\n                        \"name\": \"AceTeam Networks Sdn Bhd \"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 200\n            },\n            {\n                \"id\": 2316,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"code\": \"P-0002e\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"quot_id\": {\n                    \"id\": 249,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-08-04\",\n                    \"contact_id\": {\n                        \"id\": 497,\n                        \"categ_id\": null,\n                        \"name\": \"Bexpress Marketing (M) Sdn Bhd (1152753-V)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 2331,\n                \"product_id\": null,\n                \"quot_id\": {\n                    \"id\": 250,\n                    \"state\": \"won\",\n                    \"date\": \"2020-08-12\",\n                    \"contact_id\": {\n                        \"id\": 492,\n                        \"categ_id\": null,\n                        \"name\": \"AceTeam Networks Sdn Bhd \"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 200\n            },\n            {\n                \"id\": 2351,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 251,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-08-13\",\n                    \"contact_id\": {\n                        \"id\": 499,\n                        \"categ_id\": null,\n                        \"name\": \"Ametal Tech Sdn Bhd (732515-P)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 2354,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 252,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-08-24\",\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2364,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 253,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-09-08\",\n                    \"contact_id\": {\n                        \"id\": 505,\n                        \"categ_id\": null,\n                        \"name\": \"BBSB Holdings Sdn Bhd\"\n                    },\n                    \"user_id\": null\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 2383,\n                \"product_id\": {\n                    \"id\": 815,\n                    \"code\": \"P-0002l\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"quot_id\": {\n                    \"id\": 255,\n                    \"state\": \"won\",\n                    \"date\": \"2020-08-03\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 15,\n                \"amount\": 30000\n            },\n            {\n                \"id\": 2391,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 258,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-09-30\",\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 0.5,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 2408,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 259,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-10-07\",\n                    \"contact_id\": {\n                        \"id\": 519,\n                        \"categ_id\": null,\n                        \"name\": \"Rundo Food Sdn Bhd (875000-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 3.5,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 2417,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 260,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-10-19\",\n                    \"contact_id\": {\n                        \"id\": 522,\n                        \"categ_id\": null,\n                        \"name\": \"Wah Kong Corporation Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 6,\n                \"amount\": 12000\n            },\n            {\n                \"id\": 2433,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 261,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-10-31\",\n                    \"contact_id\": {\n                        \"id\": 499,\n                        \"categ_id\": null,\n                        \"name\": \"Ametal Tech Sdn Bhd (732515-P)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2448,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 262,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-11-03\",\n                    \"contact_id\": {\n                        \"id\": 528,\n                        \"categ_id\": null,\n                        \"name\": \"Budiwata Sdn.Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 2478,\n                \"product_id\": {\n                    \"id\": 815,\n                    \"code\": \"P-0002l\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"quot_id\": {\n                    \"id\": 263,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-11-05\",\n                    \"contact_id\": {\n                        \"id\": 530,\n                        \"categ_id\": null,\n                        \"name\": \"Kuen Engineering & Trading Sdn Bhd (604189-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 4.5,\n                \"amount\": 9000\n            },\n            {\n                \"id\": 2484,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 264,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-11-21\",\n                    \"contact_id\": {\n                        \"id\": 499,\n                        \"categ_id\": null,\n                        \"name\": \"Ametal Tech Sdn Bhd (732515-P)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2499,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 265,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-11-22\",\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 0.5,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 2516,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 266,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-11-25\",\n                    \"contact_id\": {\n                        \"id\": 534,\n                        \"categ_id\": null,\n                        \"name\": \"Craftiviti Sdn. Bhd. (1125727-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 2543,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 268,\n                    \"state\": \"won\",\n                    \"date\": \"2020-12-02\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 2548,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 269,\n                    \"state\": \"won\",\n                    \"date\": \"2020-12-06\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 2571,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 271,\n                    \"state\": \"won\",\n                    \"date\": \"2020-12-10\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3.5,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 2575,\n                \"product_id\": {\n                    \"id\": 797,\n                    \"code\": \"P-0008a\",\n                    \"categ_id\": null,\n                    \"name\": \"Consultation (Advisory)\"\n                },\n                \"quot_id\": {\n                    \"id\": 272,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-12-22\",\n                    \"contact_id\": {\n                        \"id\": 543,\n                        \"categ_id\": null,\n                        \"name\": \"Proton Commerce Sdn. Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 2583,\n                \"product_id\": {\n                    \"id\": 788,\n                    \"code\": \"P-0003e\",\n                    \"categ_id\": {\n                        \"id\": 175,\n                        \"name\": \"Online - HR\"\n                    },\n                    \"name\": \"Training (HR)\"\n                },\n                \"quot_id\": {\n                    \"id\": 273,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-01-09\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2585,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 276,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-01-15\",\n                    \"contact_id\": {\n                        \"id\": 550,\n                        \"categ_id\": null,\n                        \"name\": \"Brightmount Trading Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 2596,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 277,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-01-23\",\n                    \"contact_id\": {\n                        \"id\": 568,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 8.5,\n                \"amount\": 17000\n            },\n            {\n                \"id\": 2615,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 278,\n                    \"state\": \"won\",\n                    \"date\": \"2020-12-01\",\n                    \"contact_id\": {\n                        \"id\": 564,\n                        \"categ_id\": null,\n                        \"name\": \"Load 2 Go Logistic Sdn Bhd (1240516-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 60000\n            },\n            {\n                \"id\": 2622,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 279,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-01-27\",\n                    \"contact_id\": {\n                        \"id\": 568,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 16,\n                \"amount\": 32000\n            },\n            {\n                \"id\": 2638,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 280,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-01-30\",\n                    \"contact_id\": {\n                        \"id\": 568,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 16,\n                \"amount\": 32000\n            },\n            {\n                \"id\": 2654,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 281,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-02-05\",\n                    \"contact_id\": {\n                        \"id\": 571,\n                        \"categ_id\": null,\n                        \"name\": \"Pascal Engineering Sdn. Bhd. (601187-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 2676,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 283,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-02-05\",\n                    \"contact_id\": {\n                        \"id\": 573,\n                        \"categ_id\": null,\n                        \"name\": \"Solartech Sales & Service Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 5,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 2713,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 285,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-02-22\",\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 100\n            },\n            {\n                \"id\": 2736,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 286,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-02-23\",\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 2771,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 289,\n                    \"state\": \"lost\",\n                    \"date\": \"2021-03-03\",\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 100\n            },\n            {\n                \"id\": 2781,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 290,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-03-06\",\n                    \"contact_id\": {\n                        \"id\": 587,\n                        \"categ_id\": null,\n                        \"name\": \"MYXO CO. SDN. BHD. (Co Reg No.: 587049-V)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 2800,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 291,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-03-11\",\n                    \"contact_id\": {\n                        \"id\": 573,\n                        \"categ_id\": null,\n                        \"name\": \"Solartech Sales & Service Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 15,\n                \"amount\": 30000\n            },\n            {\n                \"id\": 2814,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 292,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-03-24\",\n                    \"contact_id\": {\n                        \"id\": 599,\n                        \"categ_id\": null,\n                        \"name\": \"Synerchem Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 25,\n                \"amount\": 50000\n            },\n            {\n                \"id\": 2841,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 293,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-03-30\",\n                    \"contact_id\": {\n                        \"id\": 603,\n                        \"categ_id\": null,\n                        \"name\": \"KONE Elevator (M) Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 7.5,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 2865,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 294,\n                    \"state\": \"draft\",\n                    \"date\": \"2021-04-01\",\n                    \"contact_id\": {\n                        \"id\": 607,\n                        \"categ_id\": null,\n                        \"name\": \"Park Games Equipment (M) Sdn Bhd (329704-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 6,\n                \"amount\": 12000\n            },\n            {\n                \"id\": 2886,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 296,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-04-08\",\n                    \"contact_id\": {\n                        \"id\": 621,\n                        \"categ_id\": null,\n                        \"name\": \"YST Ewarehouse Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 7.5,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 2902,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 298,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-04-08\",\n                    \"contact_id\": {\n                        \"id\": 618,\n                        \"categ_id\": null,\n                        \"name\": \"Panwrite Plastic Industries Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 7.5,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 2923,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 299,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-04-13\",\n                    \"contact_id\": {\n                        \"id\": 618,\n                        \"categ_id\": null,\n                        \"name\": \"Panwrite Plastic Industries Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 7.5,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 2942,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 300,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-05-05\",\n                    \"contact_id\": {\n                        \"id\": 632,\n                        \"categ_id\": null,\n                        \"name\": \"Mighty Bakery Sdn Bhd (358975-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 2976,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 303,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-05-17\",\n                    \"contact_id\": {\n                        \"id\": 637,\n                        \"categ_id\": null,\n                        \"name\": \"Poladrone Solutions Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 2983,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 304,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-01-30\",\n                    \"contact_id\": {\n                        \"id\": 568,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 79,\n                \"amount\": 158000\n            },\n            {\n                \"id\": 3005,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 306,\n                    \"state\": \"won\",\n                    \"date\": \"2021-05-24\",\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 3026,\n                \"product_id\": {\n                    \"id\": 812,\n                    \"code\": \"P-0009b\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"AR450 Touch POS Terminal\"\n                },\n                \"quot_id\": {\n                    \"id\": 307,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-05-25\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 6,\n                \"amount\": 13200\n            },\n            {\n                \"id\": 3037,\n                \"product_id\": {\n                    \"id\": 889,\n                    \"code\": \"ZT51\",\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"EVHK0047 / HW0005 : Tera Wireless 1D 2D QR Barcode Scanner 2-in-1 handheld Scanner with display CMOS with Stand\"\n                },\n                \"quot_id\": {\n                    \"id\": 309,\n                    \"state\": \"draft\",\n                    \"date\": \"2021-06-01\",\n                    \"contact_id\": {\n                        \"id\": 647,\n                        \"categ_id\": null,\n                        \"name\": \"BP CLINICAL LAB SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 18,\n                \"amount\": 3628.8\n            },\n            {\n                \"id\": 3039,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 310,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-06-02\",\n                    \"contact_id\": {\n                        \"id\": 632,\n                        \"categ_id\": null,\n                        \"name\": \"Mighty Bakery Sdn Bhd (358975-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 3047,\n                \"product_id\": {\n                    \"id\": 888,\n                    \"code\": \"ZT50\",\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\"\n                },\n                \"quot_id\": {\n                    \"id\": 311,\n                    \"state\": \"won\",\n                    \"date\": \"2021-06-17\",\n                    \"contact_id\": {\n                        \"id\": 654,\n                        \"categ_id\": null,\n                        \"name\": \"Ampmech Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 9,\n                \"amount\": 2144.52\n            },\n            {\n                \"id\": 3049,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 312,\n                    \"state\": \"won\",\n                    \"date\": \"2021-06-27\",\n                    \"contact_id\": {\n                        \"id\": 658,\n                        \"categ_id\": null,\n                        \"name\": \"MMC International Fulfilment Center\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3058,\n                \"product_id\": {\n                    \"id\": 933,\n                    \"code\": \"Z80\",\n                    \"categ_id\": {\n                        \"id\": 179,\n                        \"name\": \"Mobile Computer\"\n                    },\n                    \"name\": \"T80: Android Handheld Data Collector\"\n                },\n                \"quot_id\": {\n                    \"id\": 313,\n                    \"state\": \"draft\",\n                    \"date\": \"2021-07-05\",\n                    \"contact_id\": {\n                        \"id\": 661,\n                        \"categ_id\": null,\n                        \"name\": \"Grand Meltique Food Trading Sdn. Bhd. \"\n                    },\n                    \"user_id\": {\n                        \"id\": 53,\n                        \"name\": \"Chiew Hao\"\n                    }\n                },\n                \"qty\": 5,\n                \"amount\": 9675.75\n            },\n            {\n                \"id\": 3059,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 314,\n                    \"state\": \"won\",\n                    \"date\": \"2021-07-05\",\n                    \"contact_id\": {\n                        \"id\": 658,\n                        \"categ_id\": null,\n                        \"name\": \"MMC International Fulfilment Center\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3066,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 316,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-07-08\",\n                    \"contact_id\": {\n                        \"id\": 663,\n                        \"categ_id\": null,\n                        \"name\": \"ATV SPORT AND STYLE SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3072,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 317,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-07-10\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3108,\n                \"product_id\": {\n                    \"id\": 885,\n                    \"code\": \"ZP47\",\n                    \"categ_id\": {\n                        \"id\": 185,\n                        \"name\": \"POS Terminal\"\n                    },\n                    \"name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\"\n                },\n                \"quot_id\": {\n                    \"id\": 318,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-07-14\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4580\n            },\n            {\n                \"id\": 3111,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 323,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-07-17\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3119,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 321,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-07-14\",\n                    \"contact_id\": {\n                        \"id\": 668,\n                        \"categ_id\": null,\n                        \"name\": \"Verdastro Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 3130,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 324,\n                    \"state\": \"won\",\n                    \"date\": \"2021-07-20\",\n                    \"contact_id\": {\n                        \"id\": 568,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 3136,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 325,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-07-20\",\n                    \"contact_id\": {\n                        \"id\": 669,\n                        \"categ_id\": null,\n                        \"name\": \"Jumbo Fruit Trading (M) S/B.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3.5,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 3144,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 327,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-07-24\",\n                    \"contact_id\": {\n                        \"id\": 671,\n                        \"categ_id\": null,\n                        \"name\": \"Rigel Technology (M) Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 3153,\n                \"product_id\": {\n                    \"id\": 854,\n                    \"code\": \"Z90\",\n                    \"categ_id\": {\n                        \"id\": 179,\n                        \"name\": \"Mobile Computer\"\n                    },\n                    \"name\": \"U9000S : Handheld Terminal - Z90\"\n                },\n                \"quot_id\": {\n                    \"id\": 328,\n                    \"state\": \"won\",\n                    \"date\": \"2021-07-30\",\n                    \"contact_id\": {\n                        \"id\": 676,\n                        \"categ_id\": null,\n                        \"name\": \"Eco World Wellness M Sdn. Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 53,\n                        \"name\": \"Chiew Hao\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1980\n            },\n            {\n                \"id\": 3156,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 330,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-08-03\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3166,\n                \"product_id\": {\n                    \"id\": 784,\n                    \"code\": \"P-0009a\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"quot_id\": {\n                    \"id\": 331,\n                    \"state\": \"won\",\n                    \"date\": \"2021-08-06\",\n                    \"contact_id\": {\n                        \"id\": 658,\n                        \"categ_id\": null,\n                        \"name\": \"MMC International Fulfilment Center\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 850\n            },\n            {\n                \"id\": 3168,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 332,\n                    \"state\": \"won\",\n                    \"date\": \"2021-08-20\",\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 66,\n                        \"name\": \"Nurul Huda\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 500\n            },\n            {\n                \"id\": 3173,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 334,\n                    \"state\": \"won\",\n                    \"date\": \"2021-08-23\",\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 240\n            },\n            {\n                \"id\": 3178,\n                \"product_id\": {\n                    \"id\": 888,\n                    \"code\": \"ZT50\",\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\"\n                },\n                \"quot_id\": {\n                    \"id\": 335,\n                    \"state\": \"draft\",\n                    \"date\": \"2021-08-23\",\n                    \"contact_id\": {\n                        \"id\": 687,\n                        \"categ_id\": null,\n                        \"name\": \"PA EXPRESS SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 53,\n                        \"name\": \"Chiew Hao\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 518\n            },\n            {\n                \"id\": 3190,\n                \"product_id\": {\n                    \"id\": 869,\n                    \"code\": \"ZT34\",\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"8100 Orange: Tera QR 1D 2D Wireless Wired Bluetooth Scanner 3 In 1 Heavy Duty\"\n                },\n                \"quot_id\": {\n                    \"id\": 336,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-08-25\",\n                    \"contact_id\": {\n                        \"id\": 690,\n                        \"categ_id\": null,\n                        \"name\": \"THUNDER PRINT Sdn Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 53,\n                        \"name\": \"Chiew Hao\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 650\n            },\n            {\n                \"id\": 3199,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 338,\n                    \"state\": \"won\",\n                    \"date\": \"2021-07-01\",\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 4.5,\n                \"amount\": 9000\n            },\n            {\n                \"id\": 3209,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"code\": \"P-0002e\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"quot_id\": {\n                    \"id\": 339,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-09-13\",\n                    \"contact_id\": {\n                        \"id\": 698,\n                        \"categ_id\": null,\n                        \"name\": \"Gruppe Marketing Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 0.5,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 3215,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 340,\n                    \"state\": \"lost\",\n                    \"date\": \"2021-09-13\",\n                    \"contact_id\": {\n                        \"id\": 701,\n                        \"categ_id\": null,\n                        \"name\": \"WillFront Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3233,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 341,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-09-21\",\n                    \"contact_id\": {\n                        \"id\": 705,\n                        \"categ_id\": null,\n                        \"name\": \"Austin Powder Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 6,\n                \"amount\": 12000\n            },\n            {\n                \"id\": 3250,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 342,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-09-24\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 3261,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 343,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-09-27\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 3272,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 344,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-09-28\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 3285,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 345,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-10-06\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 66,\n                        \"name\": \"Nurul Huda\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 200\n            },\n            {\n                \"id\": 3297,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 346,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-10-18\",\n                    \"contact_id\": {\n                        \"id\": 705,\n                        \"categ_id\": null,\n                        \"name\": \"Austin Powder Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 6,\n                \"amount\": 12000\n            },\n            {\n                \"id\": 3310,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 347,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-10-20\",\n                    \"contact_id\": {\n                        \"id\": 716,\n                        \"categ_id\": null,\n                        \"name\": \"Cubic Letrik Sdn. Bhd. [0166837D]\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 3322,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 348,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-10-25\",\n                    \"contact_id\": {\n                        \"id\": 618,\n                        \"categ_id\": null,\n                        \"name\": \"Panwrite Plastic Industries Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 6,\n                \"amount\": 12000\n            },\n            {\n                \"id\": 3354,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 350,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-11-01\",\n                    \"contact_id\": {\n                        \"id\": 720,\n                        \"categ_id\": null,\n                        \"name\": \"Frontline Cosmeceuticals (M) Sdn. Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 3363,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 351,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-11-02\",\n                    \"contact_id\": {\n                        \"id\": 720,\n                        \"categ_id\": null,\n                        \"name\": \"Frontline Cosmeceuticals (M) Sdn. Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 3372,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 352,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-11-11\",\n                    \"contact_id\": {\n                        \"id\": 729,\n                        \"categ_id\": null,\n                        \"name\": \"Bergamot Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 3387,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"code\": \"P-0001\",\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"quot_id\": {\n                    \"id\": 354,\n                    \"state\": \"won\",\n                    \"date\": \"2021-11-11\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 3400,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 355,\n                    \"state\": \"won\",\n                    \"date\": \"2021-11-11\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 7,\n                \"amount\": 14000\n            },\n            {\n                \"id\": 3423,\n                \"product_id\": {\n                    \"id\": 885,\n                    \"code\": \"ZP47\",\n                    \"categ_id\": {\n                        \"id\": 185,\n                        \"name\": \"POS Terminal\"\n                    },\n                    \"name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\"\n                },\n                \"quot_id\": {\n                    \"id\": 357,\n                    \"state\": \"won\",\n                    \"date\": \"2021-11-12\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4180\n            },\n            {\n                \"id\": 3432,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 358,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-11-15\",\n                    \"contact_id\": {\n                        \"id\": 733,\n                        \"categ_id\": null,\n                        \"name\": \"MAPC Sdn Bhd (1058586M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 3441,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 359,\n                    \"state\": \"won\",\n                    \"date\": \"2021-11-23\",\n                    \"contact_id\": {\n                        \"id\": 658,\n                        \"categ_id\": null,\n                        \"name\": \"MMC International Fulfilment Center\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 150\n            },\n            {\n                \"id\": 3443,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 360,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-12-01\",\n                    \"contact_id\": {\n                        \"id\": 737,\n                        \"categ_id\": null,\n                        \"name\": \"A&A Plastic Industries Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 3449,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 361,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-12-02\",\n                    \"contact_id\": {\n                        \"id\": 739,\n                        \"categ_id\": null,\n                        \"name\": \"Home Platform Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 3460,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 364,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-12-13\",\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 600\n            },\n            {\n                \"id\": 3463,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 365,\n                    \"state\": \"won\",\n                    \"date\": \"2021-12-17\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 3469,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 366,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-12-27\",\n                    \"contact_id\": {\n                        \"id\": 743,\n                        \"categ_id\": null,\n                        \"name\": \"RICCA PEACOCK ASIA SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 6,\n                \"amount\": 12000\n            },\n            {\n                \"id\": 3478,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 369,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-01-13\",\n                    \"contact_id\": {\n                        \"id\": 748,\n                        \"categ_id\": null,\n                        \"name\": \"KPG Synergy Sdn Bhd (307828-P)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 3510,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 378,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-04-13\",\n                    \"contact_id\": {\n                        \"id\": 763,\n                        \"categ_id\": null,\n                        \"name\": \"Flowfuel Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 3522,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 380,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-04-13\",\n                    \"contact_id\": {\n                        \"id\": 765,\n                        \"categ_id\": null,\n                        \"name\": \"RPD SD.BHD.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3528,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 383,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-04-22\",\n                    \"contact_id\": {\n                        \"id\": 767,\n                        \"categ_id\": null,\n                        \"name\": \"Patrick Tam\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 3537,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 384,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-04-28\",\n                    \"contact_id\": {\n                        \"id\": 770,\n                        \"categ_id\": null,\n                        \"name\": \"Frank lee\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 3542,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 385,\n                    \"state\": \"draft\",\n                    \"date\": \"2022-04-29\",\n                    \"contact_id\": {\n                        \"id\": 772,\n                        \"categ_id\": null,\n                        \"name\": \"Allan\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3550,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 386,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-04-29\",\n                    \"contact_id\": {\n                        \"id\": 674,\n                        \"categ_id\": null,\n                        \"name\": \"APEX KNOWLEDGE SDN. BHD.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 3556,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 387,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-05-16\",\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 3566,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 389,\n                    \"state\": \"won\",\n                    \"date\": \"2022-05-23\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 3570,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 390,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-05-30\",\n                    \"contact_id\": {\n                        \"id\": 698,\n                        \"categ_id\": null,\n                        \"name\": \"Gruppe Marketing Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 250\n            },\n            {\n                \"id\": 3575,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 392,\n                    \"state\": \"lost\",\n                    \"date\": \"2022-06-01\",\n                    \"contact_id\": {\n                        \"id\": 784,\n                        \"categ_id\": null,\n                        \"name\": \"Bryan \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3579,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 393,\n                    \"state\": \"won\",\n                    \"date\": \"2022-06-01\",\n                    \"contact_id\": {\n                        \"id\": 698,\n                        \"categ_id\": null,\n                        \"name\": \"Gruppe Marketing Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 250\n            },\n            {\n                \"id\": 3593,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 395,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-06-02\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 125\n            },\n            {\n                \"id\": 3597,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 394,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-06-01\",\n                    \"contact_id\": {\n                        \"id\": 785,\n                        \"categ_id\": null,\n                        \"name\": \"Emerging EPC Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 33,\n                \"amount\": 66000\n            },\n            {\n                \"id\": 3607,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 396,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-06-08\",\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 3613,\n                \"product_id\": {\n                    \"id\": 815,\n                    \"code\": \"P-0002l\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"quot_id\": {\n                    \"id\": 397,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-06-08\",\n                    \"contact_id\": {\n                        \"id\": 788,\n                        \"categ_id\": null,\n                        \"name\": \"Petersime \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 9000\n            },\n            {\n                \"id\": 3617,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 398,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-06-09\",\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3627,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 399,\n                    \"state\": \"won\",\n                    \"date\": \"2022-06-13\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 125\n            },\n            {\n                \"id\": 3629,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 400,\n                    \"state\": \"won\",\n                    \"date\": \"2022-06-13\",\n                    \"contact_id\": {\n                        \"id\": 792,\n                        \"categ_id\": null,\n                        \"name\": \"CENTURY MARK PACIFIC MARKETING SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 3637,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 402,\n                    \"state\": \"draft\",\n                    \"date\": \"2022-06-22\",\n                    \"contact_id\": {\n                        \"id\": 801,\n                        \"categ_id\": null,\n                        \"name\": \"Nam Tat Trading\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 3640,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 403,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-06-22\",\n                    \"contact_id\": {\n                        \"id\": 803,\n                        \"categ_id\": null,\n                        \"name\": \"SULOMAS SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 40000\n            },\n            {\n                \"id\": 3644,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 404,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-07-07\",\n                    \"contact_id\": {\n                        \"id\": 785,\n                        \"categ_id\": null,\n                        \"name\": \"Emerging EPC Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 33,\n                \"amount\": 66000\n            },\n            {\n                \"id\": 3654,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 405,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-07-12\",\n                    \"contact_id\": {\n                        \"id\": 785,\n                        \"categ_id\": null,\n                        \"name\": \"Emerging EPC Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 147.5,\n                \"amount\": 295000\n            },\n            {\n                \"id\": 3668,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 406,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-07-18\",\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6500\n            },\n            {\n                \"id\": 3675,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 407,\n                    \"state\": \"lost\",\n                    \"date\": \"2022-01-27\",\n                    \"contact_id\": {\n                        \"id\": 568,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 79,\n                \"amount\": 158000\n            },\n            {\n                \"id\": 3683,\n                \"product_id\": {\n                    \"id\": 885,\n                    \"code\": \"ZP47\",\n                    \"categ_id\": {\n                        \"id\": 185,\n                        \"name\": \"POS Terminal\"\n                    },\n                    \"name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\"\n                },\n                \"quot_id\": {\n                    \"id\": 408,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-07-22\",\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2290\n            },\n            {\n                \"id\": 3693,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 410,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-09-28\",\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6500\n            },\n            {\n                \"id\": 3705,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 411,\n                    \"state\": \"won\",\n                    \"date\": \"2022-08-01\",\n                    \"contact_id\": {\n                        \"id\": 805,\n                        \"categ_id\": null,\n                        \"name\": \"Al Junior Ventures Services Sdn.Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 3719,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 415,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-01\",\n                    \"contact_id\": {\n                        \"id\": 807,\n                        \"categ_id\": null,\n                        \"name\": \"J Fleur Blossom \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 3723,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 416,\n                    \"state\": \"won\",\n                    \"date\": \"2022-08-08\",\n                    \"contact_id\": {\n                        \"id\": 64,\n                        \"categ_id\": null,\n                        \"name\": \"V'asia Cosmetic & Healthcare\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1600\n            },\n            {\n                \"id\": 3726,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 417,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-03\",\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3735,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 418,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-10\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 250\n            },\n            {\n                \"id\": 3737,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 419,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-10\",\n                    \"contact_id\": {\n                        \"id\": 64,\n                        \"categ_id\": null,\n                        \"name\": \"V'asia Cosmetic & Healthcare\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 1197\n            },\n            {\n                \"id\": 3739,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 420,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-10\",\n                    \"contact_id\": {\n                        \"id\": 816,\n                        \"categ_id\": null,\n                        \"name\": \"Kapten Batik\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 3785,\n                \"product_id\": {\n                    \"id\": 885,\n                    \"code\": \"ZP47\",\n                    \"categ_id\": {\n                        \"id\": 185,\n                        \"name\": \"POS Terminal\"\n                    },\n                    \"name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\"\n                },\n                \"quot_id\": {\n                    \"id\": 423,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-11\",\n                    \"contact_id\": {\n                        \"id\": 816,\n                        \"categ_id\": null,\n                        \"name\": \"Kapten Batik\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2290\n            },\n            {\n                \"id\": 3789,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 424,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-11\",\n                    \"contact_id\": {\n                        \"id\": 818,\n                        \"categ_id\": null,\n                        \"name\": \"Heritage House Legacy Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 3794,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 425,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-12\",\n                    \"contact_id\": {\n                        \"id\": 820,\n                        \"categ_id\": null,\n                        \"name\": \"A Shutters \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 3814,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 427,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-17\",\n                    \"contact_id\": {\n                        \"id\": 823,\n                        \"categ_id\": null,\n                        \"name\": \"White Umbrella Sdn. Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3837,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 431,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-18\",\n                    \"contact_id\": {\n                        \"id\": 825,\n                        \"categ_id\": null,\n                        \"name\": \"YAL Bulk Packing Service\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3864,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 434,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-24\",\n                    \"contact_id\": {\n                        \"id\": 827,\n                        \"categ_id\": null,\n                        \"name\": \"SKY Blue Media\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3872,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 435,\n                    \"state\": \"won\",\n                    \"date\": \"2022-08-30\",\n                    \"contact_id\": {\n                        \"id\": 785,\n                        \"categ_id\": null,\n                        \"name\": \"Emerging EPC Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 172.5,\n                \"amount\": 345000\n            },\n            {\n                \"id\": 3888,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 437,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-09-05\",\n                    \"contact_id\": {\n                        \"id\": 832,\n                        \"categ_id\": null,\n                        \"name\": \"Sanko Plastic (Malaysia) Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 13500\n            },\n            {\n                \"id\": 3902,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 439,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-19\",\n                    \"contact_id\": {\n                        \"id\": 833,\n                        \"categ_id\": null,\n                        \"name\": \"CY Plastic \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3910,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 440,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-09-14\",\n                    \"contact_id\": {\n                        \"id\": 835,\n                        \"categ_id\": null,\n                        \"name\": \"Hayat AutoTech \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 3917,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 442,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-09-21\",\n                    \"contact_id\": {\n                        \"id\": 839,\n                        \"categ_id\": null,\n                        \"name\": \"ifixtech \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 5200\n            },\n            {\n                \"id\": 3924,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 443,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-09-21\",\n                    \"contact_id\": {\n                        \"id\": 841,\n                        \"categ_id\": null,\n                        \"name\": \"Estilo Media\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 3945,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 444,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-09-22\",\n                    \"contact_id\": {\n                        \"id\": 843,\n                        \"categ_id\": null,\n                        \"name\": \"Domos\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 3952,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 445,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-09-26\",\n                    \"contact_id\": {\n                        \"id\": 846,\n                        \"categ_id\": null,\n                        \"name\": \"Nura \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3968,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 448,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-09-26\",\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 4005,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 451,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-09-30\",\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 4009,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 452,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-09-30\",\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4033,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 455,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-05\",\n                    \"contact_id\": {\n                        \"id\": 855,\n                        \"categ_id\": null,\n                        \"name\": \"Grand Continental Hotel\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4042,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 458,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-11\",\n                    \"contact_id\": {\n                        \"id\": 858,\n                        \"categ_id\": null,\n                        \"name\": \"Red Dino\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 4500\n            },\n            {\n                \"id\": 4045,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 459,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-14\",\n                    \"contact_id\": {\n                        \"id\": 859,\n                        \"categ_id\": null,\n                        \"name\": \"SNS Medica\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3500\n            },\n            {\n                \"id\": 4066,\n                \"product_id\": {\n                    \"id\": 784,\n                    \"code\": \"P-0009a\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"quot_id\": {\n                    \"id\": 464,\n                    \"state\": \"won\",\n                    \"date\": \"2022-10-19\",\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1060\n            },\n            {\n                \"id\": 4067,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 465,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-18\",\n                    \"contact_id\": {\n                        \"id\": 866,\n                        \"categ_id\": null,\n                        \"name\": \"DGB Networks Sdn.Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 4.5,\n                \"amount\": 9000\n            },\n            {\n                \"id\": 4075,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 466,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-19\",\n                    \"contact_id\": {\n                        \"id\": 869,\n                        \"categ_id\": null,\n                        \"name\": \"Link Learn\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4079,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 467,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-10-24\",\n                    \"contact_id\": {\n                        \"id\": 870,\n                        \"categ_id\": null,\n                        \"name\": \"Newton Technology Group\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 12000\n            },\n            {\n                \"id\": 4082,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"code\": \"P-0002e\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"quot_id\": {\n                    \"id\": 468,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-26\",\n                    \"contact_id\": {\n                        \"id\": 874,\n                        \"categ_id\": null,\n                        \"name\": \"Techstream Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4090,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 469,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-26\",\n                    \"contact_id\": {\n                        \"id\": 877,\n                        \"categ_id\": null,\n                        \"name\": \"Rurutiki Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 12000\n            },\n            {\n                \"id\": 4130,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 472,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-01\",\n                    \"contact_id\": {\n                        \"id\": 879,\n                        \"categ_id\": null,\n                        \"name\": \"eMed Asia\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 4136,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 473,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-02\",\n                    \"contact_id\": {\n                        \"id\": 881,\n                        \"categ_id\": null,\n                        \"name\": \"Property & Food \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 4142,\n                \"product_id\": {\n                    \"id\": 784,\n                    \"code\": \"P-0009a\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"quot_id\": {\n                    \"id\": 474,\n                    \"state\": \"won\",\n                    \"date\": \"2022-11-07\",\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1060\n            },\n            {\n                \"id\": 4159,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 477,\n                    \"state\": \"won\",\n                    \"date\": \"2022-11-10\",\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 4165,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 478,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-10\",\n                    \"contact_id\": {\n                        \"id\": 884,\n                        \"categ_id\": null,\n                        \"name\": \"Koputra\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 4169,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 479,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-14\",\n                    \"contact_id\": {\n                        \"id\": 866,\n                        \"categ_id\": null,\n                        \"name\": \"DGB Networks Sdn.Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 4.5,\n                \"amount\": 9000\n            },\n            {\n                \"id\": 4180,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 480,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-15\",\n                    \"contact_id\": {\n                        \"id\": 866,\n                        \"categ_id\": null,\n                        \"name\": \"DGB Networks Sdn.Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 4.5,\n                \"amount\": 9000\n            },\n            {\n                \"id\": 4191,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 481,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-16\",\n                    \"contact_id\": {\n                        \"id\": 887,\n                        \"categ_id\": null,\n                        \"name\": \"GPE Tech Solution \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 4197,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 482,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-22\",\n                    \"contact_id\": {\n                        \"id\": 874,\n                        \"categ_id\": null,\n                        \"name\": \"Techstream Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 25000\n            },\n            {\n                \"id\": 4205,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 483,\n                    \"state\": \"won\",\n                    \"date\": \"2022-12-08\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 4206,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 484,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-29\",\n                    \"contact_id\": {\n                        \"id\": 895,\n                        \"categ_id\": null,\n                        \"name\": \"Clover Cafe \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 100000\n            },\n            {\n                \"id\": 4210,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 486,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-30\",\n                    \"contact_id\": {\n                        \"id\": 900,\n                        \"categ_id\": null,\n                        \"name\": \"Utopia Valley Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 4216,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 487,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-12-02\",\n                    \"contact_id\": {\n                        \"id\": 899,\n                        \"categ_id\": null,\n                        \"name\": \"CK Rahim Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4228,\n                \"product_id\": {\n                    \"id\": 885,\n                    \"code\": \"ZP47\",\n                    \"categ_id\": {\n                        \"id\": 185,\n                        \"name\": \"POS Terminal\"\n                    },\n                    \"name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\"\n                },\n                \"quot_id\": {\n                    \"id\": 488,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-12-02\",\n                    \"contact_id\": {\n                        \"id\": 899,\n                        \"categ_id\": null,\n                        \"name\": \"CK Rahim Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 13,\n                \"amount\": 29770\n            },\n            {\n                \"id\": 4230,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 489,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-12-05\",\n                    \"contact_id\": {\n                        \"id\": 902,\n                        \"categ_id\": null,\n                        \"name\": \"WarongKu\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 18000\n            },\n            {\n                \"id\": 4237,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 490,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-12-09\",\n                    \"contact_id\": {\n                        \"id\": 904,\n                        \"categ_id\": null,\n                        \"name\": \"Eco & Green Exhibition Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 4240,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 491,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-12-13\",\n                    \"contact_id\": {\n                        \"id\": 906,\n                        \"categ_id\": null,\n                        \"name\": \"Gintell (M) Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 4250,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 493,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-12-16\",\n                    \"contact_id\": {\n                        \"id\": 908,\n                        \"categ_id\": null,\n                        \"name\": \"Emax Beaute international Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 4256,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 495,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-12-22\",\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 182000\n            },\n            {\n                \"id\": 4259,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 496,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-12-01\",\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 172000\n            },\n            {\n                \"id\": 4267,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 498,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-12-22\",\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 4277,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 500,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-12-23\",\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 172000\n            },\n            {\n                \"id\": 4283,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 501,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-12-28\",\n                    \"contact_id\": {\n                        \"id\": 918,\n                        \"categ_id\": null,\n                        \"name\": \"Makna Setia Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6500\n            },\n            {\n                \"id\": 4293,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 504,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-12-26\",\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 152000\n            },\n            {\n                \"id\": 4306,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 506,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-12-28\",\n                    \"contact_id\": {\n                        \"id\": 920,\n                        \"categ_id\": null,\n                        \"name\": \"Seasonings Specialities Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 160000\n            },\n            {\n                \"id\": 4314,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 507,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-12-29\",\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 153000\n            },\n            {\n                \"id\": 4324,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 508,\n                    \"state\": \"draft\",\n                    \"date\": \"2023-01-04\",\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 4329,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 509,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-01-09\",\n                    \"contact_id\": {\n                        \"id\": 923,\n                        \"categ_id\": null,\n                        \"name\": \"SP REAL TRADE\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 4344,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 512,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-01-19\",\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 4357,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 513,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-01-19\",\n                    \"contact_id\": {\n                        \"id\": 805,\n                        \"categ_id\": null,\n                        \"name\": \"Al Junior Ventures Services Sdn.Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4359,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 514,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-01-19\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 165000\n            },\n            {\n                \"id\": 4368,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 516,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-01-27\",\n                    \"contact_id\": {\n                        \"id\": 927,\n                        \"categ_id\": null,\n                        \"name\": \"Sklew Biotech\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 5500.2\n            },\n            {\n                \"id\": 4374,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 517,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-02-02\",\n                    \"contact_id\": {\n                        \"id\": 931,\n                        \"categ_id\": null,\n                        \"name\": \"Elfi Jewellery\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 4388,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 518,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-02-09\",\n                    \"contact_id\": {\n                        \"id\": 934,\n                        \"categ_id\": null,\n                        \"name\": \"OUS Group\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 4392,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 519,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-02-09\",\n                    \"contact_id\": {\n                        \"id\": 936,\n                        \"categ_id\": null,\n                        \"name\": \"Tom - Ministry Of Finance\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 65000\n            },\n            {\n                \"id\": 4412,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 522,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-02-13\",\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 189000\n            },\n            {\n                \"id\": 4426,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 523,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-02-14\",\n                    \"contact_id\": {\n                        \"id\": 937,\n                        \"categ_id\": null,\n                        \"name\": \"SYSTEMATIC AVIATION SERVICES SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 4432,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 524,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-09\",\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 4445,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 525,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-02-15\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 165000\n            },\n            {\n                \"id\": 4453,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 526,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-02-16\",\n                    \"contact_id\": {\n                        \"id\": 939,\n                        \"categ_id\": null,\n                        \"name\": \"Red Dino \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 4456,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 527,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-02-21\",\n                    \"contact_id\": {\n                        \"id\": 1002,\n                        \"categ_id\": null,\n                        \"name\": \"KLAY ENERSOL SDN. BHD.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 4461,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 528,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-02-23\",\n                    \"contact_id\": {\n                        \"id\": 945,\n                        \"categ_id\": null,\n                        \"name\": \"Lion Machinery Supply Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 9000\n            },\n            {\n                \"id\": 4466,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 529,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-02-28\",\n                    \"contact_id\": {\n                        \"id\": 947,\n                        \"categ_id\": null,\n                        \"name\": \"FrogAsia \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 4471,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 530,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-07\",\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1200\n            },\n            {\n                \"id\": 4476,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 531,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-03-03\",\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 209000\n            },\n            {\n                \"id\": 4488,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 532,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-08\",\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 4499,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 533,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-07\",\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 375\n            },\n            {\n                \"id\": 4519,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 536,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-05-17\",\n                    \"contact_id\": {\n                        \"id\": 952,\n                        \"categ_id\": null,\n                        \"name\": \"SaniChem Resources Sdn. Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 165000\n            },\n            {\n                \"id\": 4527,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 537,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-15\",\n                    \"contact_id\": {\n                        \"id\": 698,\n                        \"categ_id\": null,\n                        \"name\": \"Gruppe Marketing Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1500\n            },\n            {\n                \"id\": 4530,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 538,\n                    \"state\": \"draft\",\n                    \"date\": \"2023-03-09\",\n                    \"contact_id\": {\n                        \"id\": 954,\n                        \"categ_id\": null,\n                        \"name\": \"Namicoh Suria Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 280000\n            },\n            {\n                \"id\": 4543,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 540,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-03-13\",\n                    \"contact_id\": {\n                        \"id\": 956,\n                        \"categ_id\": null,\n                        \"name\": \"SMH RAIL SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 4551,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 541,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-03-14\",\n                    \"contact_id\": {\n                        \"id\": 961,\n                        \"categ_id\": null,\n                        \"name\": \"Ashvertising Marketing\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 4563,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 543,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-17\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 4566,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 545,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-20\",\n                    \"contact_id\": {\n                        \"id\": 698,\n                        \"categ_id\": null,\n                        \"name\": \"Gruppe Marketing Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1500\n            },\n            {\n                \"id\": 4578,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 547,\n                    \"state\": \"draft\",\n                    \"date\": \"2023-03-22\",\n                    \"contact_id\": {\n                        \"id\": 705,\n                        \"categ_id\": null,\n                        \"name\": \"Austin Powder Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 8,\n                \"amount\": 16000\n            },\n            {\n                \"id\": 4593,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 548,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-03-23\",\n                    \"contact_id\": {\n                        \"id\": 967,\n                        \"categ_id\": null,\n                        \"name\": \"Hipple (Asia Pacific) Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 4603,\n                \"product_id\": {\n                    \"id\": 1048,\n                    \"code\": \"P-0008c\",\n                    \"categ_id\": null,\n                    \"name\": \"Dedicated Manpower\"\n                },\n                \"quot_id\": {\n                    \"id\": 550,\n                    \"state\": \"lost\",\n                    \"date\": \"2023-03-28\",\n                    \"contact_id\": {\n                        \"id\": 970,\n                        \"categ_id\": null,\n                        \"name\": \"Markaids (Malaysia) Sdn Bhd \"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3853\n            },\n            {\n                \"id\": 4608,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 552,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-03-27\",\n                    \"contact_id\": {\n                        \"id\": 698,\n                        \"categ_id\": null,\n                        \"name\": \"Gruppe Marketing Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1500\n            },\n            {\n                \"id\": 4611,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 553,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-03-27\",\n                    \"contact_id\": {\n                        \"id\": 927,\n                        \"categ_id\": null,\n                        \"name\": \"Sklew Biotech\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 5500.2\n            },\n            {\n                \"id\": 4616,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 554,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-05-11\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 4620,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 556,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-29\",\n                    \"contact_id\": {\n                        \"id\": 973,\n                        \"categ_id\": null,\n                        \"name\": \"QRZ MotorSports \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4625,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 557,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-03-30\",\n                    \"contact_id\": {\n                        \"id\": 975,\n                        \"categ_id\": null,\n                        \"name\": \"Kendek Products\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 4647,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 563,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-04-17\",\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3600\n            },\n            {\n                \"id\": 4649,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 565,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-04-19\",\n                    \"contact_id\": {\n                        \"id\": 973,\n                        \"categ_id\": null,\n                        \"name\": \"QRZ MotorSports \"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4657,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 566,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-04-20\",\n                    \"contact_id\": {\n                        \"id\": 986,\n                        \"categ_id\": null,\n                        \"name\": \"TDC AUTOMOBILE SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 4664,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 567,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-05-11\",\n                    \"contact_id\": {\n                        \"id\": 992,\n                        \"categ_id\": null,\n                        \"name\": \"ST Engineering \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 4670,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 568,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-05-11\",\n                    \"contact_id\": {\n                        \"id\": 995,\n                        \"categ_id\": null,\n                        \"name\": \"WWRC\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 5,\n                \"amount\": 30000\n            },\n            {\n                \"id\": 4681,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 569,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-05-12\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 4697,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 570,\n                    \"state\": \"won\",\n                    \"date\": \"2023-05-13\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 30000\n            },\n            {\n                \"id\": 4718,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 572,\n                    \"state\": \"lost\",\n                    \"date\": \"2023-05-17\",\n                    \"contact_id\": {\n                        \"id\": 1000,\n                        \"categ_id\": null,\n                        \"name\": \"Exceltech Food Trading Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 14000\n            },\n            {\n                \"id\": 4728,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 573,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-05-18\",\n                    \"contact_id\": {\n                        \"id\": 1002,\n                        \"categ_id\": null,\n                        \"name\": \"KLAY ENERSOL SDN. BHD.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 4744,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 574,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-05-23\",\n                    \"contact_id\": {\n                        \"id\": 1005,\n                        \"categ_id\": null,\n                        \"name\": \"Tayopack Sdn. Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 20000\n            },\n            {\n                \"id\": 4753,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 575,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-05-23\",\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 59000\n            },\n            {\n                \"id\": 4761,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 576,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-05-23\",\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 4792,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 580,\n                    \"state\": \"won\",\n                    \"date\": \"2023-05-25\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 233200\n            },\n            {\n                \"id\": 4801,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 581,\n                    \"state\": \"draft\",\n                    \"date\": \"2023-05-29\",\n                    \"contact_id\": {\n                        \"id\": 877,\n                        \"categ_id\": null,\n                        \"name\": \"Rurutiki Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 250000\n            },\n            {\n                \"id\": 4816,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 584,\n                    \"state\": \"won\",\n                    \"date\": \"2023-05-31\",\n                    \"contact_id\": {\n                        \"id\": 927,\n                        \"categ_id\": null,\n                        \"name\": \"Sklew Biotech\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 5500.2\n            },\n            {\n                \"id\": 4825,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 586,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-05-31\",\n                    \"contact_id\": {\n                        \"id\": 1008,\n                        \"categ_id\": null,\n                        \"name\": \"Puras \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 4832,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 587,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-06-07\",\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 4845,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 588,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-06-09\",\n                    \"contact_id\": {\n                        \"id\": 1013,\n                        \"categ_id\": null,\n                        \"name\": \" UEM Edgenta\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 4857,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 589,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-06-01\",\n                    \"contact_id\": {\n                        \"id\": 952,\n                        \"categ_id\": null,\n                        \"name\": \"SaniChem Resources Sdn. Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 165000\n            },\n            {\n                \"id\": 4865,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 590,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-06-13\",\n                    \"contact_id\": {\n                        \"id\": 1018,\n                        \"categ_id\": null,\n                        \"name\": \"See Hoy Facilities\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 4869,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 591,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-06-21\",\n                    \"contact_id\": {\n                        \"id\": 1022,\n                        \"categ_id\": null,\n                        \"name\": \"Ivetworks sdn bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 4878,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 592,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-06-22\",\n                    \"contact_id\": {\n                        \"id\": 1024,\n                        \"categ_id\": null,\n                        \"name\": \"CAF Food Products Sdn. Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 153000\n            },\n            {\n                \"id\": 4886,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 593,\n                    \"state\": \"lost\",\n                    \"date\": \"2023-06-22\",\n                    \"contact_id\": {\n                        \"id\": 1024,\n                        \"categ_id\": null,\n                        \"name\": \"CAF Food Products Sdn. Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 60000\n            },\n            {\n                \"id\": 4900,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 595,\n                    \"state\": \"won\",\n                    \"date\": \"2023-07-03\",\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 4920,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 597,\n                    \"state\": \"won\",\n                    \"date\": \"2023-07-07\",\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 11800\n            },\n            {\n                \"id\": 4930,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 598,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-07-11\",\n                    \"contact_id\": {\n                        \"id\": 1032,\n                        \"categ_id\": null,\n                        \"name\": \"XIERA Trading\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 9000\n            },\n            {\n                \"id\": 4937,\n                \"product_id\": {\n                    \"id\": 885,\n                    \"code\": \"ZP47\",\n                    \"categ_id\": {\n                        \"id\": 185,\n                        \"name\": \"POS Terminal\"\n                    },\n                    \"name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\"\n                },\n                \"quot_id\": {\n                    \"id\": 599,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-07-11\",\n                    \"contact_id\": {\n                        \"id\": 1032,\n                        \"categ_id\": null,\n                        \"name\": \"XIERA Trading\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4967,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 607,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-07-31\",\n                    \"contact_id\": {\n                        \"id\": 1044,\n                        \"categ_id\": null,\n                        \"name\": \"Mexpower \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 9000\n            },\n            {\n                \"id\": 4986,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 609,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-08-01\",\n                    \"contact_id\": {\n                        \"id\": 792,\n                        \"categ_id\": null,\n                        \"name\": \"CENTURY MARK PACIFIC MARKETING SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 500\n            },\n            {\n                \"id\": 4988,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 610,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-08-03\",\n                    \"contact_id\": {\n                        \"id\": 1048,\n                        \"categ_id\": null,\n                        \"name\": \"Sinmar Group \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 20000\n            },\n            {\n                \"id\": 4999,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 611,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-08-09\",\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 100,\n                        \"name\": \"Fatin Shahirah\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 5004,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 613,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-08-11\",\n                    \"contact_id\": {\n                        \"id\": 1056,\n                        \"categ_id\": null,\n                        \"name\": \"Endress+Hauser Malaysia\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 5020,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 615,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-08-11\",\n                    \"contact_id\": {\n                        \"id\": 1059,\n                        \"categ_id\": null,\n                        \"name\": \"Intrix\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 5039,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 617,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-08-16\",\n                    \"contact_id\": {\n                        \"id\": 1040,\n                        \"categ_id\": null,\n                        \"name\": \"Hudeccan \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 9000\n            },\n            {\n                \"id\": 5049,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 619,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-08-16\",\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 5083,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 624,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-08-24\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 5089,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 625,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-08-24\",\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 5096,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 626,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-08-30\",\n                    \"contact_id\": {\n                        \"id\": 1070,\n                        \"categ_id\": null,\n                        \"name\": \"Mingle Manor Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 5108,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 627,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-08-26\",\n                    \"contact_id\": {\n                        \"id\": 1068,\n                        \"categ_id\": null,\n                        \"name\": \"Metropoly Packaging Sdn Bhd (1106268-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 180000\n            },\n            {\n                \"id\": 5121,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 628,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-08-28\",\n                    \"contact_id\": {\n                        \"id\": 1068,\n                        \"categ_id\": null,\n                        \"name\": \"Metropoly Packaging Sdn Bhd (1106268-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 180000\n            },\n            {\n                \"id\": 5141,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 631,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-09-05\",\n                    \"contact_id\": {\n                        \"id\": 1072,\n                        \"categ_id\": null,\n                        \"name\": \"BYHISDAISY INTERNATIONAL SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 9000\n            },\n            {\n                \"id\": 5147,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 632,\n                    \"state\": \"draft\",\n                    \"date\": \"2023-09-05\",\n                    \"contact_id\": {\n                        \"id\": 835,\n                        \"categ_id\": null,\n                        \"name\": \"Hayat AutoTech \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 5154,\n                \"product_id\": {\n                    \"id\": 885,\n                    \"code\": \"ZP47\",\n                    \"categ_id\": {\n                        \"id\": 185,\n                        \"name\": \"POS Terminal\"\n                    },\n                    \"name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\"\n                },\n                \"quot_id\": {\n                    \"id\": 633,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-09-06\",\n                    \"contact_id\": {\n                        \"id\": 1040,\n                        \"categ_id\": null,\n                        \"name\": \"Hudeccan \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 593,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 50,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-09-19\",\n                    \"contact_id\": {\n                        \"id\": 136,\n                        \"categ_id\": null,\n                        \"name\": \" Top Glove Corporation Bhd (474423-X)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 679,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 64,\n                    \"state\": \"won\",\n                    \"date\": \"2018-08-23\",\n                    \"contact_id\": {\n                        \"id\": 158,\n                        \"categ_id\": null,\n                        \"name\": \"AGX Logistics Singapore Pte Ltd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 5,\n                \"amount\": 2500\n            },\n            {\n                \"id\": 725,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 66,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-08-24\",\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"user_id\": null\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 772,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 68,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-08-24\",\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"user_id\": null\n                },\n                \"qty\": 0,\n                \"amount\": null\n            },\n            {\n                \"id\": 864,\n                \"product_id\": {\n                    \"id\": 809,\n                    \"code\": \"P-0002j\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - CRM\"\n                },\n                \"quot_id\": {\n                    \"id\": 65,\n                    \"state\": \"won\",\n                    \"date\": \"2018-08-24\",\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"user_id\": null\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 872,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 73,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-09-07\",\n                    \"contact_id\": {\n                        \"id\": 164,\n                        \"categ_id\": null,\n                        \"name\": \"Transcargo Worldwide (M) Sdn Bhd (767688-X)\"\n                    },\n                    \"user_id\": null\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 880,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 74,\n                    \"state\": \"won\",\n                    \"date\": \"2018-09-07\",\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"user_id\": null\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 894,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 76,\n                    \"state\": \"revised\",\n                    \"date\": \"2018-09-11\",\n                    \"contact_id\": {\n                        \"id\": 168,\n                        \"categ_id\": null,\n                        \"name\": \"Perusahaan Cemerlang Raya Sdn Bhd (162783-K)\"\n                    },\n                    \"user_id\": null\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 933,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 79,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-09-24\",\n                    \"contact_id\": {\n                        \"id\": 175,\n                        \"categ_id\": null,\n                        \"name\": \"Kreatrz Group of Companies \"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 959,\n                \"product_id\": {\n                    \"id\": 796,\n                    \"code\": \"P-0014\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Hardware\"\n                },\n                \"quot_id\": {\n                    \"id\": 82,\n                    \"state\": \"won\",\n                    \"date\": \"2018-09-25\",\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 550\n            },\n            {\n                \"id\": 961,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 83,\n                    \"state\": \"revised\",\n                    \"date\": \"2018-09-26\",\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 982,\n                \"product_id\": {\n                    \"id\": 796,\n                    \"code\": \"P-0014\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Hardware\"\n                },\n                \"quot_id\": {\n                    \"id\": 84,\n                    \"state\": \"revised\",\n                    \"date\": \"2018-09-29\",\n                    \"contact_id\": {\n                        \"id\": 168,\n                        \"categ_id\": null,\n                        \"name\": \"Perusahaan Cemerlang Raya Sdn Bhd (162783-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2060\n            },\n            {\n                \"id\": 991,\n                \"product_id\": {\n                    \"id\": 796,\n                    \"code\": \"P-0014\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Hardware\"\n                },\n                \"quot_id\": {\n                    \"id\": 87,\n                    \"state\": \"won\",\n                    \"date\": \"2018-10-05\",\n                    \"contact_id\": {\n                        \"id\": 64,\n                        \"categ_id\": null,\n                        \"name\": \"V'asia Cosmetic & Healthcare\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 3180\n            },\n            {\n                \"id\": 1004,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 89,\n                    \"state\": \"won\",\n                    \"date\": \"2018-10-12\",\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1012,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 90,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-10-12\",\n                    \"contact_id\": {\n                        \"id\": 183,\n                        \"categ_id\": null,\n                        \"name\": \"Taseen Trading Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 1076,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 96,\n                    \"state\": \"voided\",\n                    \"date\": \"2018-05-28\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1091,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 98,\n                    \"state\": \"revised\",\n                    \"date\": \"2018-10-14\",\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 1122,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 102,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-12-04\",\n                    \"contact_id\": {\n                        \"id\": 192,\n                        \"categ_id\": null,\n                        \"name\": \"Am Globe Traders\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1123,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 104,\n                    \"state\": \"won\",\n                    \"date\": \"2018-12-24\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 1126,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 105,\n                    \"state\": \"won\",\n                    \"date\": \"2019-01-04\",\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1147,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"code\": \"P-0005a\",\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"quot_id\": {\n                    \"id\": 106,\n                    \"state\": \"revised\",\n                    \"date\": \"2019-01-21\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 18,\n                \"amount\": 36000\n            },\n            {\n                \"id\": 1156,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"code\": \"P-0005a\",\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"quot_id\": {\n                    \"id\": 107,\n                    \"state\": \"won\",\n                    \"date\": \"2019-03-07\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 5,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 1161,\n                \"product_id\": {\n                    \"id\": 815,\n                    \"code\": \"P-0002l\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"quot_id\": {\n                    \"id\": 108,\n                    \"state\": \"won\",\n                    \"date\": \"2019-02-21\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1163,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 109,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-02-22\",\n                    \"contact_id\": {\n                        \"id\": 209,\n                        \"categ_id\": null,\n                        \"name\": \"Pyrope Industries Sdn Bhd (344682-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1177,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 110,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-02-26\",\n                    \"contact_id\": {\n                        \"id\": 211,\n                        \"categ_id\": null,\n                        \"name\": \"Merpati Daya Maju (IP0395026-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1191,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"code\": \"P-0005a\",\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"quot_id\": {\n                    \"id\": 111,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-03-04\",\n                    \"contact_id\": {\n                        \"id\": 214,\n                        \"categ_id\": null,\n                        \"name\": \"Jisna (Malaysia) Sdn Bhd (211316-X)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1200,\n                \"product_id\": {\n                    \"id\": 813,\n                    \"code\": \"P-0009c\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Wireless Barcode Scanner\"\n                },\n                \"quot_id\": {\n                    \"id\": 114,\n                    \"state\": \"won\",\n                    \"date\": \"2019-03-07\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1057\n            },\n            {\n                \"id\": 1204,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 115,\n                    \"state\": \"revised\",\n                    \"date\": \"2019-03-11\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1206,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"code\": \"P-0005a\",\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"quot_id\": {\n                    \"id\": 116,\n                    \"state\": \"won\",\n                    \"date\": \"2019-03-11\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 36,\n                \"amount\": 72000\n            },\n            {\n                \"id\": 1218,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 117,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-03-16\",\n                    \"contact_id\": {\n                        \"id\": 222,\n                        \"categ_id\": null,\n                        \"name\": \"Lee Veterinary Clinic\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1248,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"code\": \"P-0005a\",\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"quot_id\": {\n                    \"id\": 119,\n                    \"state\": \"won\",\n                    \"date\": \"2019-03-19\",\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1252,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 120,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-03-20\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1266,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 122,\n                    \"state\": \"won\",\n                    \"date\": \"2019-04-11\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 0.5,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 1270,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 124,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-04-16\",\n                    \"contact_id\": {\n                        \"id\": 262,\n                        \"categ_id\": null,\n                        \"name\": \"Thiam Sieng Group\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1284,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 125,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-05-04\",\n                    \"contact_id\": {\n                        \"id\": 277,\n                        \"categ_id\": null,\n                        \"name\": \"Starlai Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1306,\n                \"product_id\": {\n                    \"id\": 796,\n                    \"code\": \"P-0014\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Hardware\"\n                },\n                \"quot_id\": {\n                    \"id\": 126,\n                    \"state\": \"won\",\n                    \"date\": \"2019-05-06\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 600\n            },\n            {\n                \"id\": 1313,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 128,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-06-10\",\n                    \"contact_id\": {\n                        \"id\": 297,\n                        \"categ_id\": null,\n                        \"name\": \"YS Metal Industries Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 0.5,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 1326,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 129,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-06-11\",\n                    \"contact_id\": {\n                        \"id\": 298,\n                        \"categ_id\": null,\n                        \"name\": \"Public Auto World Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 1350,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 133,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-06-13\",\n                    \"contact_id\": {\n                        \"id\": 303,\n                        \"categ_id\": null,\n                        \"name\": \"Pastry World Sdn Bhd (759288-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1370,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 134,\n                    \"state\": \"revised\",\n                    \"date\": \"2019-06-28\",\n                    \"contact_id\": {\n                        \"id\": 195,\n                        \"categ_id\": null,\n                        \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1383,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 135,\n                    \"state\": \"won\",\n                    \"date\": \"2019-07-02\",\n                    \"contact_id\": {\n                        \"id\": 195,\n                        \"categ_id\": null,\n                        \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1398,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 137,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-07-04\",\n                    \"contact_id\": {\n                        \"id\": 315,\n                        \"categ_id\": null,\n                        \"name\": \"Westline Transporter SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1414,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 138,\n                    \"state\": \"won\",\n                    \"date\": \"2019-07-06\",\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 800\n            },\n            {\n                \"id\": 1418,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 139,\n                    \"state\": \"won\",\n                    \"date\": \"2019-07-06\",\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 300\n            },\n            {\n                \"id\": 1427,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 140,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-07-12\",\n                    \"contact_id\": {\n                        \"id\": 295,\n                        \"categ_id\": null,\n                        \"name\": \"Malaysian Timber Council\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 1440,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 142,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-07-12\",\n                    \"contact_id\": {\n                        \"id\": 320,\n                        \"categ_id\": null,\n                        \"name\": \"AUTOMONT GATSBY SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1453,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 143,\n                    \"state\": \"revised\",\n                    \"date\": \"2019-07-16\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 1467,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 145,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-07-24\",\n                    \"contact_id\": {\n                        \"id\": 322,\n                        \"categ_id\": null,\n                        \"name\": \"INOX ENGINEERING SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1488,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 150,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-08-05\",\n                    \"contact_id\": {\n                        \"id\": 328,\n                        \"categ_id\": null,\n                        \"name\": \"TABUR NIAGA SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1497,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 151,\n                    \"state\": \"won\",\n                    \"date\": \"2019-08-08\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 1501,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 152,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-08-26\",\n                    \"contact_id\": {\n                        \"id\": 336,\n                        \"categ_id\": null,\n                        \"name\": \"Power Packaging SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 3.5,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 1514,\n                \"product_id\": {\n                    \"id\": 797,\n                    \"code\": \"P-0008a\",\n                    \"categ_id\": null,\n                    \"name\": \"Consultation (Advisory)\"\n                },\n                \"quot_id\": {\n                    \"id\": 153,\n                    \"state\": \"won\",\n                    \"date\": \"2019-09-05\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1517,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 154,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-09-07\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1523,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 155,\n                    \"state\": \"won\",\n                    \"date\": \"2019-09-12\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 0.5,\n                \"amount\": 750\n            },\n            {\n                \"id\": 1530,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"code\": \"P-0002a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"quot_id\": {\n                    \"id\": 157,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-09-13\",\n                    \"contact_id\": {\n                        \"id\": 330,\n                        \"categ_id\": null,\n                        \"name\": \"GOURMET INGREDIENTS SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 1553,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"code\": \"P-0002a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"quot_id\": {\n                    \"id\": 159,\n                    \"state\": \"approved\",\n                    \"date\": \"2019-09-18\",\n                    \"contact_id\": {\n                        \"id\": 350,\n                        \"categ_id\": null,\n                        \"name\": \"Vettons Sdn Bhd (1286553-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1563,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 160,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-09-26\",\n                    \"contact_id\": {\n                        \"id\": 356,\n                        \"categ_id\": null,\n                        \"name\": \"Prestar Precision Tube Sdn Bhd (643193-X)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1577,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 161,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-10-02\",\n                    \"contact_id\": {\n                        \"id\": 358,\n                        \"categ_id\": null,\n                        \"name\": \"HELP International School (802643-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1595,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"code\": \"P-0002a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"quot_id\": {\n                    \"id\": 163,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-10-11\",\n                    \"contact_id\": {\n                        \"id\": 362,\n                        \"categ_id\": null,\n                        \"name\": \"MARA LINER SDN BHD (0233945-T)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 1603,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 164,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-10-14\",\n                    \"contact_id\": {\n                        \"id\": 364,\n                        \"categ_id\": null,\n                        \"name\": \"Japanese Agriculture Products SDN BHD (1286234-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 1624,\n                \"product_id\": {\n                    \"id\": 815,\n                    \"code\": \"P-0002l\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"quot_id\": {\n                    \"id\": 166,\n                    \"state\": \"draft\",\n                    \"date\": \"2019-10-18\",\n                    \"contact_id\": {\n                        \"id\": 368,\n                        \"categ_id\": null,\n                        \"name\": \"ADVANCEDATA NETWORK PTE LTD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 7,\n                \"amount\": 14000\n            },\n            {\n                \"id\": 1644,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 168,\n                    \"state\": \"revised\",\n                    \"date\": \"2019-11-05\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 0.75,\n                \"amount\": 1500\n            },\n            {\n                \"id\": 1649,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"code\": \"P-0002a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"quot_id\": {\n                    \"id\": 169,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-11-05\",\n                    \"contact_id\": {\n                        \"id\": 374,\n                        \"categ_id\": null,\n                        \"name\": \"KCJ Distribution SDN BHD (1198272-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 1660,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 170,\n                    \"state\": \"won\",\n                    \"date\": \"2019-11-09\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 1669,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 172,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-11-14\",\n                    \"contact_id\": {\n                        \"id\": 382,\n                        \"categ_id\": null,\n                        \"name\": \"Edaran IT Services Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 30,\n                \"amount\": 60000\n            },\n            {\n                \"id\": 1682,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 165,\n                    \"state\": \"won\",\n                    \"date\": \"2019-10-15\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3.5,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 1687,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 173,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-11-15\",\n                    \"contact_id\": {\n                        \"id\": 384,\n                        \"categ_id\": null,\n                        \"name\": \"Puzzle Planet Sdn Bhd (1322305-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1696,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 175,\n                    \"state\": \"revised\",\n                    \"date\": \"2019-11-23\",\n                    \"contact_id\": {\n                        \"id\": 388,\n                        \"categ_id\": null,\n                        \"name\": \"Empire World Express Sdn Bhd (944635-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1701,\n                \"product_id\": {\n                    \"id\": 821,\n                    \"code\": \"P-0018\",\n                    \"categ_id\": null,\n                    \"name\": \"Excel Automation\"\n                },\n                \"quot_id\": {\n                    \"id\": 177,\n                    \"state\": \"won\",\n                    \"date\": \"2019-12-03\",\n                    \"contact_id\": {\n                        \"id\": 112,\n                        \"categ_id\": null,\n                        \"name\": \"RICOH (Malaysia) Sdn. Bhd. (10078-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 500\n            },\n            {\n                \"id\": 1722,\n                \"product_id\": {\n                    \"id\": 815,\n                    \"code\": \"P-0002l\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"quot_id\": {\n                    \"id\": 179,\n                    \"state\": \"won\",\n                    \"date\": \"2019-12-07\",\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 4500\n            },\n            {\n                \"id\": 1731,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"code\": \"P-0002a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"quot_id\": {\n                    \"id\": 182,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-04-17\",\n                    \"contact_id\": {\n                        \"id\": 54,\n                        \"categ_id\": null,\n                        \"name\": \"Kontena Nasional\"\n                    },\n                    \"user_id\": {\n                        \"id\": 8,\n                        \"name\": \"Admin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1742,\n                \"product_id\": {\n                    \"id\": 817,\n                    \"code\": \"P-0005b\",\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms (Bundle)\"\n                },\n                \"quot_id\": {\n                    \"id\": 183,\n                    \"state\": \"revised\",\n                    \"date\": \"2019-12-19\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 500\n            },\n            {\n                \"id\": 1745,\n                \"product_id\": {\n                    \"id\": 817,\n                    \"code\": \"P-0005b\",\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms (Bundle)\"\n                },\n                \"quot_id\": {\n                    \"id\": 184,\n                    \"state\": \"won\",\n                    \"date\": \"2019-12-21\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 500\n            },\n            {\n                \"id\": 1756,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 185,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-01-07\",\n                    \"contact_id\": {\n                        \"id\": 397,\n                        \"categ_id\": null,\n                        \"name\": \"Pegasus Automation Sdn Bhd (778197-P)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1779,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 190,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-01-13\",\n                    \"contact_id\": {\n                        \"id\": 404,\n                        \"categ_id\": null,\n                        \"name\": \"Wiltek Homeware Sdn Bhd (730858-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 40,\n                        \"name\": \"Azri\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1798,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 191,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-01-14\",\n                    \"contact_id\": {\n                        \"id\": 406,\n                        \"categ_id\": null,\n                        \"name\": \"SteelWorks Engineering Sdn Bhd \"\n                    },\n                    \"user_id\": {\n                        \"id\": 40,\n                        \"name\": \"Azri\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1802,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 192,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-01-14\",\n                    \"contact_id\": {\n                        \"id\": 406,\n                        \"categ_id\": null,\n                        \"name\": \"SteelWorks Engineering Sdn Bhd \"\n                    },\n                    \"user_id\": {\n                        \"id\": 40,\n                        \"name\": \"Azri\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1816,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 193,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-01-20\",\n                    \"contact_id\": {\n                        \"id\": 413,\n                        \"categ_id\": null,\n                        \"name\": \"ESON BATU PAHAT PRECISION ENGINEERING SDN. BHD.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 40,\n                        \"name\": \"Azri\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 100\n            },\n            {\n                \"id\": 1823,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"code\": \"P-0002a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"quot_id\": {\n                    \"id\": 194,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-01-21\",\n                    \"contact_id\": {\n                        \"id\": 417,\n                        \"categ_id\": null,\n                        \"name\": \"Wan & Sons Bread Company\"\n                    },\n                    \"user_id\": {\n                        \"id\": 40,\n                        \"name\": \"Azri\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1831,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 195,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-02-06\",\n                    \"contact_id\": {\n                        \"id\": 422,\n                        \"categ_id\": null,\n                        \"name\": \"Nature Environment Products Sdn Bhd (507751-V)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1841,\n                \"product_id\": {\n                    \"id\": 765,\n                    \"code\": \"P-0003a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Training (Acct)\"\n                },\n                \"quot_id\": {\n                    \"id\": 197,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-02-10\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1843,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 198,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-02-10\",\n                    \"contact_id\": {\n                        \"id\": 426,\n                        \"categ_id\": null,\n                        \"name\": \"Eutag Global (M) Sdn Bhd (212039-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1857,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 199,\n                    \"state\": \"won\",\n                    \"date\": \"2020-02-14\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 350\n            },\n            {\n                \"id\": 1860,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 200,\n                    \"state\": \"voided\",\n                    \"date\": \"2020-02-17\",\n                    \"contact_id\": {\n                        \"id\": 435,\n                        \"categ_id\": null,\n                        \"name\": \"MY IOL Sdn Bhd (1153794-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1868,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 201,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-02-18\",\n                    \"contact_id\": {\n                        \"id\": 437,\n                        \"categ_id\": null,\n                        \"name\": \"Mettic Systeme Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1880,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 203,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-03-04\",\n                    \"contact_id\": {\n                        \"id\": 443,\n                        \"categ_id\": null,\n                        \"name\": \"MASTERJAYA ENVIRONMENT SDN BHD (249885-T)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1891,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 202,\n                    \"state\": \"won\",\n                    \"date\": \"2020-02-22\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1893,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 204,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-03-11\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1903,\n                \"product_id\": {\n                    \"id\": 785,\n                    \"code\": \"P-0002d\",\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Conf - Purchase\"\n                },\n                \"quot_id\": {\n                    \"id\": 205,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-05-21\",\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1913,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 206,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-03-14\",\n                    \"contact_id\": {\n                        \"id\": 448,\n                        \"categ_id\": null,\n                        \"name\": \"CCL Design Penang\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1925,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 207,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-03-16\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 7,\n                \"amount\": 14000\n            },\n            {\n                \"id\": 1937,\n                \"product_id\": {\n                    \"id\": 815,\n                    \"code\": \"P-0002l\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"quot_id\": {\n                    \"id\": 209,\n                    \"state\": \"won\",\n                    \"date\": \"2020-03-25\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 6,\n                \"amount\": 12000\n            },\n            {\n                \"id\": 1947,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 211,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-04-07\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 9,\n                \"amount\": 18000\n            },\n            {\n                \"id\": 1961,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 212,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-04-08\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 10,\n                \"amount\": 20000\n            },\n            {\n                \"id\": 1980,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 214,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-04-15\",\n                    \"contact_id\": {\n                        \"id\": 455,\n                        \"categ_id\": null,\n                        \"name\": \"Myangkasa Optikal Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2009,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 216,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-04-24\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 2044,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 218,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-05-09\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 10,\n                \"amount\": 20000\n            },\n            {\n                \"id\": 2078,\n                \"product_id\": {\n                    \"id\": 813,\n                    \"code\": \"P-0009c\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Wireless Barcode Scanner\"\n                },\n                \"quot_id\": {\n                    \"id\": 219,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-05-09\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 2114\n            },\n            {\n                \"id\": 2098,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 222,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-05-16\",\n                    \"contact_id\": {\n                        \"id\": 458,\n                        \"categ_id\": null,\n                        \"name\": \"Alhani Trade Sdn. Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2104,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 223,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-05-19\",\n                    \"contact_id\": {\n                        \"id\": 462,\n                        \"categ_id\": null,\n                        \"name\": \"Pesona Metro Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 0.75,\n                \"amount\": 1500\n            },\n            {\n                \"id\": 2141,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 229,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-05-20\",\n                    \"contact_id\": {\n                        \"id\": 388,\n                        \"categ_id\": null,\n                        \"name\": \"Empire World Express Sdn Bhd (944635-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2143,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 230,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-05-20\",\n                    \"contact_id\": {\n                        \"id\": 388,\n                        \"categ_id\": null,\n                        \"name\": \"Empire World Express Sdn Bhd (944635-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2148,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 231,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-05-20\",\n                    \"contact_id\": {\n                        \"id\": 462,\n                        \"categ_id\": null,\n                        \"name\": \"Pesona Metro Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 2163,\n                \"product_id\": {\n                    \"id\": 796,\n                    \"code\": \"P-0014\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Hardware\"\n                },\n                \"quot_id\": {\n                    \"id\": 232,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-05-21\",\n                    \"contact_id\": {\n                        \"id\": 462,\n                        \"categ_id\": null,\n                        \"name\": \"Pesona Metro Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 660\n            },\n            {\n                \"id\": 2170,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 234,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-05-27\",\n                    \"contact_id\": {\n                        \"id\": 402,\n                        \"categ_id\": null,\n                        \"name\": \"Taiko Marketing Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 2184,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 237,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-06-06\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 2223,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 241,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-06-17\",\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 0.5,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 2233,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 243,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-06-18\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 5,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 2253,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 244,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-07-06\",\n                    \"contact_id\": {\n                        \"id\": 482,\n                        \"categ_id\": null,\n                        \"name\": \"SD Impex Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 2269,\n                \"product_id\": {\n                    \"id\": 855,\n                    \"code\": \"Z60\",\n                    \"categ_id\": {\n                        \"id\": 179,\n                        \"name\": \"Mobile Computer\"\n                    },\n                    \"name\": \"Hardware: Handheld Terminal - S60\"\n                },\n                \"quot_id\": {\n                    \"id\": 239,\n                    \"state\": \"won\",\n                    \"date\": \"2020-06-16\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2700\n            },\n            {\n                \"id\": 2293,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 247,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-07-20\",\n                    \"contact_id\": {\n                        \"id\": 491,\n                        \"categ_id\": null,\n                        \"name\": \"Mase Industries Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2310,\n                \"product_id\": null,\n                \"quot_id\": {\n                    \"id\": 248,\n                    \"state\": \"won\",\n                    \"date\": \"2020-07-21\",\n                    \"contact_id\": {\n                        \"id\": 492,\n                        \"categ_id\": null,\n                        \"name\": \"AceTeam Networks Sdn Bhd \"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 50\n            },\n            {\n                \"id\": 2317,\n                \"product_id\": {\n                    \"id\": 790,\n                    \"code\": \"P-0003f\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Training (Sales)\"\n                },\n                \"quot_id\": {\n                    \"id\": 249,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-08-04\",\n                    \"contact_id\": {\n                        \"id\": 497,\n                        \"categ_id\": null,\n                        \"name\": \"Bexpress Marketing (M) Sdn Bhd (1152753-V)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 2334,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 251,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-08-13\",\n                    \"contact_id\": {\n                        \"id\": 499,\n                        \"categ_id\": null,\n                        \"name\": \"Ametal Tech Sdn Bhd (732515-P)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 5,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 2355,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 252,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-08-24\",\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 2366,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 253,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-09-08\",\n                    \"contact_id\": {\n                        \"id\": 505,\n                        \"categ_id\": null,\n                        \"name\": \"BBSB Holdings Sdn Bhd\"\n                    },\n                    \"user_id\": null\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2392,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 258,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-09-30\",\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 10,\n                \"amount\": 20000\n            },\n            {\n                \"id\": 2409,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 259,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-10-07\",\n                    \"contact_id\": {\n                        \"id\": 519,\n                        \"categ_id\": null,\n                        \"name\": \"Rundo Food Sdn Bhd (875000-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 2418,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 260,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-10-19\",\n                    \"contact_id\": {\n                        \"id\": 522,\n                        \"categ_id\": null,\n                        \"name\": \"Wah Kong Corporation Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 2434,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 261,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-10-31\",\n                    \"contact_id\": {\n                        \"id\": 499,\n                        \"categ_id\": null,\n                        \"name\": \"Ametal Tech Sdn Bhd (732515-P)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 6,\n                \"amount\": 12000\n            },\n            {\n                \"id\": 2449,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 262,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-11-03\",\n                    \"contact_id\": {\n                        \"id\": 528,\n                        \"categ_id\": null,\n                        \"name\": \"Budiwata Sdn.Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 7,\n                \"amount\": 14000\n            },\n            {\n                \"id\": 2479,\n                \"product_id\": {\n                    \"id\": 815,\n                    \"code\": \"P-0002l\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"quot_id\": {\n                    \"id\": 263,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-11-05\",\n                    \"contact_id\": {\n                        \"id\": 530,\n                        \"categ_id\": null,\n                        \"name\": \"Kuen Engineering & Trading Sdn Bhd (604189-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 3.5,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 2485,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 264,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-11-21\",\n                    \"contact_id\": {\n                        \"id\": 499,\n                        \"categ_id\": null,\n                        \"name\": \"Ametal Tech Sdn Bhd (732515-P)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 6,\n                \"amount\": 12000\n            },\n            {\n                \"id\": 2500,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 265,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-11-22\",\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 10,\n                \"amount\": 20000\n            },\n            {\n                \"id\": 2517,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 266,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-11-25\",\n                    \"contact_id\": {\n                        \"id\": 534,\n                        \"categ_id\": null,\n                        \"name\": \"Craftiviti Sdn. Bhd. (1125727-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 10,\n                \"amount\": 20000\n            },\n            {\n                \"id\": 2544,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 268,\n                    \"state\": \"won\",\n                    \"date\": \"2020-12-02\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 0.25,\n                \"amount\": 500\n            },\n            {\n                \"id\": 2572,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 271,\n                    \"state\": \"won\",\n                    \"date\": \"2020-12-10\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 2576,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 272,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-12-22\",\n                    \"contact_id\": {\n                        \"id\": 543,\n                        \"categ_id\": null,\n                        \"name\": \"Proton Commerce Sdn. Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 5,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 2584,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 273,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-01-09\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 2586,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 276,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-01-15\",\n                    \"contact_id\": {\n                        \"id\": 550,\n                        \"categ_id\": null,\n                        \"name\": \"Brightmount Trading Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 2597,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"code\": \"P-0002c\",\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"quot_id\": {\n                    \"id\": 277,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-01-23\",\n                    \"contact_id\": {\n                        \"id\": 568,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 20,\n                \"amount\": 40000\n            },\n            {\n                \"id\": 2616,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 278,\n                    \"state\": \"won\",\n                    \"date\": \"2020-12-01\",\n                    \"contact_id\": {\n                        \"id\": 564,\n                        \"categ_id\": null,\n                        \"name\": \"Load 2 Go Logistic Sdn Bhd (1240516-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 30000\n            },\n            {\n                \"id\": 2623,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"code\": \"P-0002c\",\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"quot_id\": {\n                    \"id\": 279,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-01-27\",\n                    \"contact_id\": {\n                        \"id\": 568,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 30,\n                \"amount\": 60000\n            },\n            {\n                \"id\": 2639,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"code\": \"P-0002c\",\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"quot_id\": {\n                    \"id\": 280,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-01-30\",\n                    \"contact_id\": {\n                        \"id\": 568,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 30,\n                \"amount\": 60000\n            },\n            {\n                \"id\": 2655,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 281,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-02-05\",\n                    \"contact_id\": {\n                        \"id\": 571,\n                        \"categ_id\": null,\n                        \"name\": \"Pascal Engineering Sdn. Bhd. (601187-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2677,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 283,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-02-05\",\n                    \"contact_id\": {\n                        \"id\": 573,\n                        \"categ_id\": null,\n                        \"name\": \"Solartech Sales & Service Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 2727,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 285,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-02-22\",\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 800\n            },\n            {\n                \"id\": 2746,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 286,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-02-23\",\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 2772,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 289,\n                    \"state\": \"lost\",\n                    \"date\": \"2021-03-03\",\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 800\n            },\n            {\n                \"id\": 2782,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 290,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-03-06\",\n                    \"contact_id\": {\n                        \"id\": 587,\n                        \"categ_id\": null,\n                        \"name\": \"MYXO CO. SDN. BHD. (Co Reg No.: 587049-V)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 2801,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 291,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-03-11\",\n                    \"contact_id\": {\n                        \"id\": 573,\n                        \"categ_id\": null,\n                        \"name\": \"Solartech Sales & Service Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 5,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 2815,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 292,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-03-24\",\n                    \"contact_id\": {\n                        \"id\": 599,\n                        \"categ_id\": null,\n                        \"name\": \"Synerchem Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 5,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 2842,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 293,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-03-30\",\n                    \"contact_id\": {\n                        \"id\": 603,\n                        \"categ_id\": null,\n                        \"name\": \"KONE Elevator (M) Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2866,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 294,\n                    \"state\": \"draft\",\n                    \"date\": \"2021-04-01\",\n                    \"contact_id\": {\n                        \"id\": 607,\n                        \"categ_id\": null,\n                        \"name\": \"Park Games Equipment (M) Sdn Bhd (329704-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2887,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 296,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-04-08\",\n                    \"contact_id\": {\n                        \"id\": 621,\n                        \"categ_id\": null,\n                        \"name\": \"YST Ewarehouse Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2903,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 298,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-04-08\",\n                    \"contact_id\": {\n                        \"id\": 618,\n                        \"categ_id\": null,\n                        \"name\": \"Panwrite Plastic Industries Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 2924,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 299,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-04-13\",\n                    \"contact_id\": {\n                        \"id\": 618,\n                        \"categ_id\": null,\n                        \"name\": \"Panwrite Plastic Industries Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 2943,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 300,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-05-05\",\n                    \"contact_id\": {\n                        \"id\": 632,\n                        \"categ_id\": null,\n                        \"name\": \"Mighty Bakery Sdn Bhd (358975-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 2977,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 303,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-05-17\",\n                    \"contact_id\": {\n                        \"id\": 637,\n                        \"categ_id\": null,\n                        \"name\": \"Poladrone Solutions Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 5,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 2989,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"code\": \"P-0002e\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"quot_id\": {\n                    \"id\": 304,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-01-30\",\n                    \"contact_id\": {\n                        \"id\": 568,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 14,\n                \"amount\": 28000\n            },\n            {\n                \"id\": 3006,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 306,\n                    \"state\": \"won\",\n                    \"date\": \"2021-05-24\",\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 6.5,\n                \"amount\": 13000\n            },\n            {\n                \"id\": 3027,\n                \"product_id\": {\n                    \"id\": 890,\n                    \"code\": \"ZT52\",\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\"\n                },\n                \"quot_id\": {\n                    \"id\": 307,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-05-25\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 6,\n                \"amount\": 5700\n            },\n            {\n                \"id\": 3038,\n                \"product_id\": {\n                    \"id\": 888,\n                    \"code\": \"ZT50\",\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\"\n                },\n                \"quot_id\": {\n                    \"id\": 309,\n                    \"state\": \"draft\",\n                    \"date\": \"2021-06-01\",\n                    \"contact_id\": {\n                        \"id\": 647,\n                        \"categ_id\": null,\n                        \"name\": \"BP CLINICAL LAB SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 18,\n                \"amount\": 3628.8\n            },\n            {\n                \"id\": 3040,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 310,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-06-02\",\n                    \"contact_id\": {\n                        \"id\": 632,\n                        \"categ_id\": null,\n                        \"name\": \"Mighty Bakery Sdn Bhd (358975-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 3050,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 312,\n                    \"state\": \"won\",\n                    \"date\": \"2021-06-27\",\n                    \"contact_id\": {\n                        \"id\": 658,\n                        \"categ_id\": null,\n                        \"name\": \"MMC International Fulfilment Center\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3067,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 316,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-07-08\",\n                    \"contact_id\": {\n                        \"id\": 663,\n                        \"categ_id\": null,\n                        \"name\": \"ATV SPORT AND STYLE SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3073,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 317,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-07-10\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3109,\n                \"product_id\": {\n                    \"id\": 890,\n                    \"code\": \"ZT52\",\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\"\n                },\n                \"quot_id\": {\n                    \"id\": 318,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-07-14\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 1700\n            },\n            {\n                \"id\": 3112,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 323,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-07-17\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3120,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 321,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-07-14\",\n                    \"contact_id\": {\n                        \"id\": 668,\n                        \"categ_id\": null,\n                        \"name\": \"Verdastro Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 3137,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 325,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-07-20\",\n                    \"contact_id\": {\n                        \"id\": 669,\n                        \"categ_id\": null,\n                        \"name\": \"Jumbo Fruit Trading (M) S/B.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1500\n            },\n            {\n                \"id\": 3145,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 327,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-07-24\",\n                    \"contact_id\": {\n                        \"id\": 671,\n                        \"categ_id\": null,\n                        \"name\": \"Rigel Technology (M) Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3154,\n                \"product_id\": {\n                    \"id\": 890,\n                    \"code\": \"ZT52\",\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\"\n                },\n                \"quot_id\": {\n                    \"id\": 328,\n                    \"state\": \"won\",\n                    \"date\": \"2021-07-30\",\n                    \"contact_id\": {\n                        \"id\": 676,\n                        \"categ_id\": null,\n                        \"name\": \"Eco World Wellness M Sdn. Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 53,\n                        \"name\": \"Chiew Hao\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 638\n            },\n            {\n                \"id\": 3157,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 330,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-08-03\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3167,\n                \"product_id\": {\n                    \"id\": 1036,\n                    \"code\": \"P-0063\",\n                    \"categ_id\": null,\n                    \"name\": \"A6 Thermal Paper\"\n                },\n                \"quot_id\": {\n                    \"id\": 331,\n                    \"state\": \"won\",\n                    \"date\": \"2021-08-06\",\n                    \"contact_id\": {\n                        \"id\": 658,\n                        \"categ_id\": null,\n                        \"name\": \"MMC International Fulfilment Center\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 10,\n                \"amount\": 219\n            },\n            {\n                \"id\": 3174,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 334,\n                    \"state\": \"won\",\n                    \"date\": \"2021-08-23\",\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 3179,\n                \"product_id\": {\n                    \"id\": 911,\n                    \"code\": \"ZT70\",\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"711: 2D Wired Barcode Scanner\"\n                },\n                \"quot_id\": {\n                    \"id\": 335,\n                    \"state\": \"draft\",\n                    \"date\": \"2021-08-23\",\n                    \"contact_id\": {\n                        \"id\": 687,\n                        \"categ_id\": null,\n                        \"name\": \"PA EXPRESS SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 53,\n                        \"name\": \"Chiew Hao\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 298.5\n            },\n            {\n                \"id\": 3191,\n                \"product_id\": {\n                    \"id\": 889,\n                    \"code\": \"ZT51\",\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"EVHK0047 / HW0005 : Tera Wireless 1D 2D QR Barcode Scanner 2-in-1 handheld Scanner with display CMOS with Stand\"\n                },\n                \"quot_id\": {\n                    \"id\": 336,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-08-25\",\n                    \"contact_id\": {\n                        \"id\": 690,\n                        \"categ_id\": null,\n                        \"name\": \"THUNDER PRINT Sdn Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 53,\n                        \"name\": \"Chiew Hao\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 378\n            },\n            {\n                \"id\": 3201,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 338,\n                    \"state\": \"won\",\n                    \"date\": \"2021-07-01\",\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 4.5,\n                \"amount\": 9000\n            },\n            {\n                \"id\": 3210,\n                \"product_id\": {\n                    \"id\": 790,\n                    \"code\": \"P-0003f\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Training (Sales)\"\n                },\n                \"quot_id\": {\n                    \"id\": 339,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-09-13\",\n                    \"contact_id\": {\n                        \"id\": 698,\n                        \"categ_id\": null,\n                        \"name\": \"Gruppe Marketing Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 0.5,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 3216,\n                \"product_id\": {\n                    \"id\": 815,\n                    \"code\": \"P-0002l\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"quot_id\": {\n                    \"id\": 340,\n                    \"state\": \"lost\",\n                    \"date\": \"2021-09-13\",\n                    \"contact_id\": {\n                        \"id\": 701,\n                        \"categ_id\": null,\n                        \"name\": \"WillFront Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 11,\n                \"amount\": 22000\n            },\n            {\n                \"id\": 3234,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 341,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-09-21\",\n                    \"contact_id\": {\n                        \"id\": 705,\n                        \"categ_id\": null,\n                        \"name\": \"Austin Powder Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 3251,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 342,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-09-24\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 3273,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 344,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-09-28\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 3286,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 345,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-10-06\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 66,\n                        \"name\": \"Nurul Huda\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 200\n            },\n            {\n                \"id\": 3298,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 346,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-10-18\",\n                    \"contact_id\": {\n                        \"id\": 705,\n                        \"categ_id\": null,\n                        \"name\": \"Austin Powder Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 3311,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 347,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-10-20\",\n                    \"contact_id\": {\n                        \"id\": 716,\n                        \"categ_id\": null,\n                        \"name\": \"Cubic Letrik Sdn. Bhd. [0166837D]\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3323,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 348,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-10-25\",\n                    \"contact_id\": {\n                        \"id\": 618,\n                        \"categ_id\": null,\n                        \"name\": \"Panwrite Plastic Industries Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3355,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 350,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-11-01\",\n                    \"contact_id\": {\n                        \"id\": 720,\n                        \"categ_id\": null,\n                        \"name\": \"Frontline Cosmeceuticals (M) Sdn. Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3364,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 351,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-11-02\",\n                    \"contact_id\": {\n                        \"id\": 720,\n                        \"categ_id\": null,\n                        \"name\": \"Frontline Cosmeceuticals (M) Sdn. Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3373,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 352,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-11-11\",\n                    \"contact_id\": {\n                        \"id\": 729,\n                        \"categ_id\": null,\n                        \"name\": \"Bergamot Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3388,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 354,\n                    \"state\": \"won\",\n                    \"date\": \"2021-11-11\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 3401,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 355,\n                    \"state\": \"won\",\n                    \"date\": \"2021-11-11\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3424,\n                \"product_id\": {\n                    \"id\": 784,\n                    \"code\": \"P-0009a\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"quot_id\": {\n                    \"id\": 357,\n                    \"state\": \"won\",\n                    \"date\": \"2021-11-12\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1060\n            },\n            {\n                \"id\": 3433,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 358,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-11-15\",\n                    \"contact_id\": {\n                        \"id\": 733,\n                        \"categ_id\": null,\n                        \"name\": \"MAPC Sdn Bhd (1058586M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3442,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 359,\n                    \"state\": \"won\",\n                    \"date\": \"2021-11-23\",\n                    \"contact_id\": {\n                        \"id\": 658,\n                        \"categ_id\": null,\n                        \"name\": \"MMC International Fulfilment Center\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 50\n            },\n            {\n                \"id\": 3444,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 360,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-12-01\",\n                    \"contact_id\": {\n                        \"id\": 737,\n                        \"categ_id\": null,\n                        \"name\": \"A&A Plastic Industries Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3450,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 361,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-12-02\",\n                    \"contact_id\": {\n                        \"id\": 739,\n                        \"categ_id\": null,\n                        \"name\": \"Home Platform Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3461,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 364,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-12-13\",\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 200\n            },\n            {\n                \"id\": 3465,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 365,\n                    \"state\": \"won\",\n                    \"date\": \"2021-12-17\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 400\n            },\n            {\n                \"id\": 3470,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 366,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-12-27\",\n                    \"contact_id\": {\n                        \"id\": 743,\n                        \"categ_id\": null,\n                        \"name\": \"RICCA PEACOCK ASIA SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 3479,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 369,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-01-13\",\n                    \"contact_id\": {\n                        \"id\": 748,\n                        \"categ_id\": null,\n                        \"name\": \"KPG Synergy Sdn Bhd (307828-P)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3511,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 378,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-04-13\",\n                    \"contact_id\": {\n                        \"id\": 763,\n                        \"categ_id\": null,\n                        \"name\": \"Flowfuel Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 3523,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 380,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-04-13\",\n                    \"contact_id\": {\n                        \"id\": 765,\n                        \"categ_id\": null,\n                        \"name\": \"RPD SD.BHD.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3529,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 383,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-04-22\",\n                    \"contact_id\": {\n                        \"id\": 767,\n                        \"categ_id\": null,\n                        \"name\": \"Patrick Tam\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3538,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 384,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-04-28\",\n                    \"contact_id\": {\n                        \"id\": 770,\n                        \"categ_id\": null,\n                        \"name\": \"Frank lee\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1500\n            },\n            {\n                \"id\": 3543,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 385,\n                    \"state\": \"draft\",\n                    \"date\": \"2022-04-29\",\n                    \"contact_id\": {\n                        \"id\": 772,\n                        \"categ_id\": null,\n                        \"name\": \"Allan\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3551,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 386,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-04-29\",\n                    \"contact_id\": {\n                        \"id\": 674,\n                        \"categ_id\": null,\n                        \"name\": \"APEX KNOWLEDGE SDN. BHD.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3560,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 387,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-05-16\",\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 3567,\n                \"product_id\": {\n                    \"id\": 885,\n                    \"code\": \"ZP47\",\n                    \"categ_id\": {\n                        \"id\": 185,\n                        \"name\": \"POS Terminal\"\n                    },\n                    \"name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\"\n                },\n                \"quot_id\": {\n                    \"id\": 389,\n                    \"state\": \"won\",\n                    \"date\": \"2022-05-23\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 9160\n            },\n            {\n                \"id\": 3572,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 390,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-05-30\",\n                    \"contact_id\": {\n                        \"id\": 698,\n                        \"categ_id\": null,\n                        \"name\": \"Gruppe Marketing Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 3576,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 392,\n                    \"state\": \"lost\",\n                    \"date\": \"2022-06-01\",\n                    \"contact_id\": {\n                        \"id\": 784,\n                        \"categ_id\": null,\n                        \"name\": \"Bryan \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3800\n            },\n            {\n                \"id\": 3594,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 395,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-06-02\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 62.5\n            },\n            {\n                \"id\": 3598,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"code\": \"P-0002e\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"quot_id\": {\n                    \"id\": 394,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-06-01\",\n                    \"contact_id\": {\n                        \"id\": 785,\n                        \"categ_id\": null,\n                        \"name\": \"Emerging EPC Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 16,\n                \"amount\": 32000\n            },\n            {\n                \"id\": 3608,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 396,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-06-08\",\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3614,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 397,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-06-08\",\n                    \"contact_id\": {\n                        \"id\": 788,\n                        \"categ_id\": null,\n                        \"name\": \"Petersime \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 3618,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 398,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-06-09\",\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3630,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 400,\n                    \"state\": \"won\",\n                    \"date\": \"2022-06-13\",\n                    \"contact_id\": {\n                        \"id\": 792,\n                        \"categ_id\": null,\n                        \"name\": \"CENTURY MARK PACIFIC MARKETING SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 6,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 3638,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 402,\n                    \"state\": \"draft\",\n                    \"date\": \"2022-06-22\",\n                    \"contact_id\": {\n                        \"id\": 801,\n                        \"categ_id\": null,\n                        \"name\": \"Nam Tat Trading\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 3641,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 403,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-06-22\",\n                    \"contact_id\": {\n                        \"id\": 803,\n                        \"categ_id\": null,\n                        \"name\": \"SULOMAS SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3645,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"code\": \"P-0002c\",\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"quot_id\": {\n                    \"id\": 404,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-07-07\",\n                    \"contact_id\": {\n                        \"id\": 785,\n                        \"categ_id\": null,\n                        \"name\": \"Emerging EPC Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 18,\n                \"amount\": 36000\n            },\n            {\n                \"id\": 3660,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 405,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-07-12\",\n                    \"contact_id\": {\n                        \"id\": 785,\n                        \"categ_id\": null,\n                        \"name\": \"Emerging EPC Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 35,\n                \"amount\": 70000\n            },\n            {\n                \"id\": 3669,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 406,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-07-18\",\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3676,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"code\": \"P-0002e\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"quot_id\": {\n                    \"id\": 407,\n                    \"state\": \"lost\",\n                    \"date\": \"2022-01-27\",\n                    \"contact_id\": {\n                        \"id\": 568,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 14,\n                \"amount\": 28000\n            },\n            {\n                \"id\": 3684,\n                \"product_id\": {\n                    \"id\": 933,\n                    \"code\": \"Z80\",\n                    \"categ_id\": {\n                        \"id\": 179,\n                        \"name\": \"Mobile Computer\"\n                    },\n                    \"name\": \"T80: Android Handheld Data Collector\"\n                },\n                \"quot_id\": {\n                    \"id\": 408,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-07-22\",\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 850\n            },\n            {\n                \"id\": 3694,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 410,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-09-28\",\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3706,\n                \"product_id\": null,\n                \"quot_id\": {\n                    \"id\": 411,\n                    \"state\": \"won\",\n                    \"date\": \"2022-08-01\",\n                    \"contact_id\": {\n                        \"id\": 805,\n                        \"categ_id\": null,\n                        \"name\": \"Al Junior Ventures Services Sdn.Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 800\n            },\n            {\n                \"id\": 3720,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 415,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-01\",\n                    \"contact_id\": {\n                        \"id\": 807,\n                        \"categ_id\": null,\n                        \"name\": \"J Fleur Blossom \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 3724,\n                \"product_id\": {\n                    \"id\": 933,\n                    \"code\": \"Z80\",\n                    \"categ_id\": {\n                        \"id\": 179,\n                        \"name\": \"Mobile Computer\"\n                    },\n                    \"name\": \"T80: Android Handheld Data Collector\"\n                },\n                \"quot_id\": {\n                    \"id\": 416,\n                    \"state\": \"won\",\n                    \"date\": \"2022-08-08\",\n                    \"contact_id\": {\n                        \"id\": 64,\n                        \"categ_id\": null,\n                        \"name\": \"V'asia Cosmetic & Healthcare\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1950\n            },\n            {\n                \"id\": 3727,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 417,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-03\",\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 3736,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 418,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-10\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 100\n            },\n            {\n                \"id\": 3738,\n                \"product_id\": null,\n                \"quot_id\": {\n                    \"id\": 419,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-10\",\n                    \"contact_id\": {\n                        \"id\": 64,\n                        \"categ_id\": null,\n                        \"name\": \"V'asia Cosmetic & Healthcare\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 1140\n            },\n            {\n                \"id\": 3740,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 420,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-10\",\n                    \"contact_id\": {\n                        \"id\": 816,\n                        \"categ_id\": null,\n                        \"name\": \"Kapten Batik\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 3786,\n                \"product_id\": {\n                    \"id\": 933,\n                    \"code\": \"Z80\",\n                    \"categ_id\": {\n                        \"id\": 179,\n                        \"name\": \"Mobile Computer\"\n                    },\n                    \"name\": \"T80: Android Handheld Data Collector\"\n                },\n                \"quot_id\": {\n                    \"id\": 423,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-11\",\n                    \"contact_id\": {\n                        \"id\": 816,\n                        \"categ_id\": null,\n                        \"name\": \"Kapten Batik\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1950\n            },\n            {\n                \"id\": 3790,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 424,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-11\",\n                    \"contact_id\": {\n                        \"id\": 818,\n                        \"categ_id\": null,\n                        \"name\": \"Heritage House Legacy Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 3797,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 425,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-12\",\n                    \"contact_id\": {\n                        \"id\": 820,\n                        \"categ_id\": null,\n                        \"name\": \"A Shutters \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3815,\n                \"product_id\": {\n                    \"id\": 785,\n                    \"code\": \"P-0002d\",\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Conf - Purchase\"\n                },\n                \"quot_id\": {\n                    \"id\": 427,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-17\",\n                    \"contact_id\": {\n                        \"id\": 823,\n                        \"categ_id\": null,\n                        \"name\": \"White Umbrella Sdn. Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3839,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 431,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-18\",\n                    \"contact_id\": {\n                        \"id\": 825,\n                        \"categ_id\": null,\n                        \"name\": \"YAL Bulk Packing Service\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 3866,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 434,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-24\",\n                    \"contact_id\": {\n                        \"id\": 827,\n                        \"categ_id\": null,\n                        \"name\": \"SKY Blue Media\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3873,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 435,\n                    \"state\": \"won\",\n                    \"date\": \"2022-08-30\",\n                    \"contact_id\": {\n                        \"id\": 785,\n                        \"categ_id\": null,\n                        \"name\": \"Emerging EPC Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 35,\n                \"amount\": 70000\n            },\n            {\n                \"id\": 3889,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 437,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-09-05\",\n                    \"contact_id\": {\n                        \"id\": 832,\n                        \"categ_id\": null,\n                        \"name\": \"Sanko Plastic (Malaysia) Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3903,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 439,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-19\",\n                    \"contact_id\": {\n                        \"id\": 833,\n                        \"categ_id\": null,\n                        \"name\": \"CY Plastic \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 40000\n            },\n            {\n                \"id\": 3911,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 440,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-09-14\",\n                    \"contact_id\": {\n                        \"id\": 835,\n                        \"categ_id\": null,\n                        \"name\": \"Hayat AutoTech \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 3918,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 442,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-09-21\",\n                    \"contact_id\": {\n                        \"id\": 839,\n                        \"categ_id\": null,\n                        \"name\": \"ifixtech \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 5200\n            },\n            {\n                \"id\": 3925,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 443,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-09-21\",\n                    \"contact_id\": {\n                        \"id\": 841,\n                        \"categ_id\": null,\n                        \"name\": \"Estilo Media\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 3946,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 444,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-09-22\",\n                    \"contact_id\": {\n                        \"id\": 843,\n                        \"categ_id\": null,\n                        \"name\": \"Domos\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 3953,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 445,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-09-26\",\n                    \"contact_id\": {\n                        \"id\": 846,\n                        \"categ_id\": null,\n                        \"name\": \"Nura \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 3969,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"code\": \"P-0002a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"quot_id\": {\n                    \"id\": 448,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-09-26\",\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 4006,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 451,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-09-30\",\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 4010,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 452,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-09-30\",\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4034,\n                \"product_id\": {\n                    \"id\": 785,\n                    \"code\": \"P-0002d\",\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Conf - Purchase\"\n                },\n                \"quot_id\": {\n                    \"id\": 455,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-05\",\n                    \"contact_id\": {\n                        \"id\": 855,\n                        \"categ_id\": null,\n                        \"name\": \"Grand Continental Hotel\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4043,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 458,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-11\",\n                    \"contact_id\": {\n                        \"id\": 858,\n                        \"categ_id\": null,\n                        \"name\": \"Red Dino\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 4046,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 459,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-14\",\n                    \"contact_id\": {\n                        \"id\": 859,\n                        \"categ_id\": null,\n                        \"name\": \"SNS Medica\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3500\n            },\n            {\n                \"id\": 4068,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 465,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-18\",\n                    \"contact_id\": {\n                        \"id\": 866,\n                        \"categ_id\": null,\n                        \"name\": \"DGB Networks Sdn.Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4074,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 464,\n                    \"state\": \"won\",\n                    \"date\": \"2022-10-19\",\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1010\n            },\n            {\n                \"id\": 4076,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 466,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-19\",\n                    \"contact_id\": {\n                        \"id\": 869,\n                        \"categ_id\": null,\n                        \"name\": \"Link Learn\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4080,\n                \"product_id\": {\n                    \"id\": 800,\n                    \"code\": \"P-0016\",\n                    \"categ_id\": null,\n                    \"name\": \"IBM Watson Analytics\"\n                },\n                \"quot_id\": {\n                    \"id\": 467,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-10-24\",\n                    \"contact_id\": {\n                        \"id\": 870,\n                        \"categ_id\": null,\n                        \"name\": \"Newton Technology Group\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 16000\n            },\n            {\n                \"id\": 4083,\n                \"product_id\": {\n                    \"id\": 809,\n                    \"code\": \"P-0002j\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - CRM\"\n                },\n                \"quot_id\": {\n                    \"id\": 468,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-26\",\n                    \"contact_id\": {\n                        \"id\": 874,\n                        \"categ_id\": null,\n                        \"name\": \"Techstream Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4091,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 469,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-26\",\n                    \"contact_id\": {\n                        \"id\": 877,\n                        \"categ_id\": null,\n                        \"name\": \"Rurutiki Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 14000\n            },\n            {\n                \"id\": 4131,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"code\": \"P-0002a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"quot_id\": {\n                    \"id\": 472,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-01\",\n                    \"contact_id\": {\n                        \"id\": 879,\n                        \"categ_id\": null,\n                        \"name\": \"eMed Asia\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 4137,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 473,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-02\",\n                    \"contact_id\": {\n                        \"id\": 881,\n                        \"categ_id\": null,\n                        \"name\": \"Property & Food \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 4160,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 477,\n                    \"state\": \"won\",\n                    \"date\": \"2022-11-10\",\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 4166,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 478,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-10\",\n                    \"contact_id\": {\n                        \"id\": 884,\n                        \"categ_id\": null,\n                        \"name\": \"Koputra\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4170,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 479,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-14\",\n                    \"contact_id\": {\n                        \"id\": 866,\n                        \"categ_id\": null,\n                        \"name\": \"DGB Networks Sdn.Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4181,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 480,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-15\",\n                    \"contact_id\": {\n                        \"id\": 866,\n                        \"categ_id\": null,\n                        \"name\": \"DGB Networks Sdn.Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4192,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"code\": \"P-0002a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"quot_id\": {\n                    \"id\": 481,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-16\",\n                    \"contact_id\": {\n                        \"id\": 887,\n                        \"categ_id\": null,\n                        \"name\": \"GPE Tech Solution \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4204,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 482,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-22\",\n                    \"contact_id\": {\n                        \"id\": 874,\n                        \"categ_id\": null,\n                        \"name\": \"Techstream Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 799\n            },\n            {\n                \"id\": 4207,\n                \"product_id\": null,\n                \"quot_id\": {\n                    \"id\": 484,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-29\",\n                    \"contact_id\": {\n                        \"id\": 895,\n                        \"categ_id\": null,\n                        \"name\": \"Clover Cafe \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4211,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 486,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-30\",\n                    \"contact_id\": {\n                        \"id\": 900,\n                        \"categ_id\": null,\n                        \"name\": \"Utopia Valley Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4217,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 487,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-12-02\",\n                    \"contact_id\": {\n                        \"id\": 899,\n                        \"categ_id\": null,\n                        \"name\": \"CK Rahim Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4229,\n                \"product_id\": {\n                    \"id\": 890,\n                    \"code\": \"ZT52\",\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\"\n                },\n                \"quot_id\": {\n                    \"id\": 488,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-12-02\",\n                    \"contact_id\": {\n                        \"id\": 899,\n                        \"categ_id\": null,\n                        \"name\": \"CK Rahim Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 13,\n                \"amount\": 4550\n            },\n            {\n                \"id\": 4231,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 483,\n                    \"state\": \"won\",\n                    \"date\": \"2022-12-08\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 4238,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 490,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-12-09\",\n                    \"contact_id\": {\n                        \"id\": 904,\n                        \"categ_id\": null,\n                        \"name\": \"Eco & Green Exhibition Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 4241,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 491,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-12-13\",\n                    \"contact_id\": {\n                        \"id\": 906,\n                        \"categ_id\": null,\n                        \"name\": \"Gintell (M) Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 4252,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 493,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-12-16\",\n                    \"contact_id\": {\n                        \"id\": 908,\n                        \"categ_id\": null,\n                        \"name\": \"Emax Beaute international Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 4257,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 495,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-12-22\",\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 286000\n            },\n            {\n                \"id\": 4260,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 496,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-12-01\",\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 286000\n            },\n            {\n                \"id\": 4268,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 498,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-12-22\",\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 4280,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 500,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-12-23\",\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 286000\n            },\n            {\n                \"id\": 4294,\n                \"product_id\": {\n                    \"id\": 846,\n                    \"code\": \"P-0002p\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Power BI Setup \"\n                },\n                \"quot_id\": {\n                    \"id\": 504,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-12-26\",\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 30000\n            },\n            {\n                \"id\": 4308,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 506,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-12-28\",\n                    \"contact_id\": {\n                        \"id\": 920,\n                        \"categ_id\": null,\n                        \"name\": \"Seasonings Specialities Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 40000\n            },\n            {\n                \"id\": 4315,\n                \"product_id\": {\n                    \"id\": 846,\n                    \"code\": \"P-0002p\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Power BI Setup \"\n                },\n                \"quot_id\": {\n                    \"id\": 507,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-12-29\",\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 35000\n            },\n            {\n                \"id\": 4327,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 508,\n                    \"state\": \"draft\",\n                    \"date\": \"2023-01-04\",\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 150\n            },\n            {\n                \"id\": 4330,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 509,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-01-09\",\n                    \"contact_id\": {\n                        \"id\": 923,\n                        \"categ_id\": null,\n                        \"name\": \"SP REAL TRADE\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4345,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"code\": \"P-0002a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"quot_id\": {\n                    \"id\": 512,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-01-19\",\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 4358,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 513,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-01-19\",\n                    \"contact_id\": {\n                        \"id\": 805,\n                        \"categ_id\": null,\n                        \"name\": \"Al Junior Ventures Services Sdn.Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 4360,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 514,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-01-19\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 40000\n            },\n            {\n                \"id\": 4370,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 516,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-01-27\",\n                    \"contact_id\": {\n                        \"id\": 927,\n                        \"categ_id\": null,\n                        \"name\": \"Sklew Biotech\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 4379,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 517,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-02-02\",\n                    \"contact_id\": {\n                        \"id\": 931,\n                        \"categ_id\": null,\n                        \"name\": \"Elfi Jewellery\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 4389,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 518,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-02-09\",\n                    \"contact_id\": {\n                        \"id\": 934,\n                        \"categ_id\": null,\n                        \"name\": \"OUS Group\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 4393,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"code\": \"P-0002a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"quot_id\": {\n                    \"id\": 519,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-02-09\",\n                    \"contact_id\": {\n                        \"id\": 936,\n                        \"categ_id\": null,\n                        \"name\": \"Tom - Ministry Of Finance\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 35000\n            },\n            {\n                \"id\": 4413,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 522,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-02-13\",\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 119000\n            },\n            {\n                \"id\": 4427,\n                \"product_id\": {\n                    \"id\": 785,\n                    \"code\": \"P-0002d\",\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Conf - Purchase\"\n                },\n                \"quot_id\": {\n                    \"id\": 523,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-02-14\",\n                    \"contact_id\": {\n                        \"id\": 937,\n                        \"categ_id\": null,\n                        \"name\": \"SYSTEMATIC AVIATION SERVICES SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 4433,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"code\": \"P-0002a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"quot_id\": {\n                    \"id\": 524,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-09\",\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 4446,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 525,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-02-15\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 40000\n            },\n            {\n                \"id\": 4454,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 526,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-02-16\",\n                    \"contact_id\": {\n                        \"id\": 939,\n                        \"categ_id\": null,\n                        \"name\": \"Red Dino \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 4457,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 527,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-02-21\",\n                    \"contact_id\": {\n                        \"id\": 1002,\n                        \"categ_id\": null,\n                        \"name\": \"KLAY ENERSOL SDN. BHD.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 4462,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 528,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-02-23\",\n                    \"contact_id\": {\n                        \"id\": 945,\n                        \"categ_id\": null,\n                        \"name\": \"Lion Machinery Supply Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 9000\n            },\n            {\n                \"id\": 4467,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"code\": \"P-0002a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"quot_id\": {\n                    \"id\": 529,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-02-28\",\n                    \"contact_id\": {\n                        \"id\": 947,\n                        \"categ_id\": null,\n                        \"name\": \"FrogAsia \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 4472,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 530,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-07\",\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 375\n            },\n            {\n                \"id\": 4477,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 531,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-03-03\",\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 162000\n            },\n            {\n                \"id\": 4491,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 532,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-08\",\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 20000\n            },\n            {\n                \"id\": 4501,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 533,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-07\",\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4520,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 536,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-05-17\",\n                    \"contact_id\": {\n                        \"id\": 952,\n                        \"categ_id\": null,\n                        \"name\": \"SaniChem Resources Sdn. Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 106000\n            },\n            {\n                \"id\": 4528,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 537,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-15\",\n                    \"contact_id\": {\n                        \"id\": 698,\n                        \"categ_id\": null,\n                        \"name\": \"Gruppe Marketing Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 500\n            },\n            {\n                \"id\": 4529,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 538,\n                    \"state\": \"draft\",\n                    \"date\": \"2023-03-09\",\n                    \"contact_id\": {\n                        \"id\": 954,\n                        \"categ_id\": null,\n                        \"name\": \"Namicoh Suria Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 209000\n            },\n            {\n                \"id\": 4544,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 540,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-03-13\",\n                    \"contact_id\": {\n                        \"id\": 956,\n                        \"categ_id\": null,\n                        \"name\": \"SMH RAIL SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 18000\n            },\n            {\n                \"id\": 4552,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 541,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-03-14\",\n                    \"contact_id\": {\n                        \"id\": 961,\n                        \"categ_id\": null,\n                        \"name\": \"Ashvertising Marketing\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 4564,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 543,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-17\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 4567,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 545,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-20\",\n                    \"contact_id\": {\n                        \"id\": 698,\n                        \"categ_id\": null,\n                        \"name\": \"Gruppe Marketing Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 500\n            },\n            {\n                \"id\": 4590,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 547,\n                    \"state\": \"draft\",\n                    \"date\": \"2023-03-22\",\n                    \"contact_id\": {\n                        \"id\": 705,\n                        \"categ_id\": null,\n                        \"name\": \"Austin Powder Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 10,\n                \"amount\": 20000\n            },\n            {\n                \"id\": 4594,\n                \"product_id\": {\n                    \"id\": 955,\n                    \"code\": \"P-0002X\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Fulfilment Module\"\n                },\n                \"quot_id\": {\n                    \"id\": 548,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-03-23\",\n                    \"contact_id\": {\n                        \"id\": 967,\n                        \"categ_id\": null,\n                        \"name\": \"Hipple (Asia Pacific) Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 4612,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 553,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-03-27\",\n                    \"contact_id\": {\n                        \"id\": 927,\n                        \"categ_id\": null,\n                        \"name\": \"Sklew Biotech\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 4617,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 554,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-05-11\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 4618,\n                \"product_id\": null,\n                \"quot_id\": {\n                    \"id\": 550,\n                    \"state\": \"lost\",\n                    \"date\": \"2023-03-28\",\n                    \"contact_id\": {\n                        \"id\": 970,\n                        \"categ_id\": null,\n                        \"name\": \"Markaids (Malaysia) Sdn Bhd \"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 500\n            },\n            {\n                \"id\": 4621,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 556,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-29\",\n                    \"contact_id\": {\n                        \"id\": 973,\n                        \"categ_id\": null,\n                        \"name\": \"QRZ MotorSports \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 4626,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 557,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-03-30\",\n                    \"contact_id\": {\n                        \"id\": 975,\n                        \"categ_id\": null,\n                        \"name\": \"Kendek Products\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 4650,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 565,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-04-19\",\n                    \"contact_id\": {\n                        \"id\": 973,\n                        \"categ_id\": null,\n                        \"name\": \"QRZ MotorSports \"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 4658,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 566,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-04-20\",\n                    \"contact_id\": {\n                        \"id\": 986,\n                        \"categ_id\": null,\n                        \"name\": \"TDC AUTOMOBILE SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 9000\n            },\n            {\n                \"id\": 4665,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 567,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-05-11\",\n                    \"contact_id\": {\n                        \"id\": 992,\n                        \"categ_id\": null,\n                        \"name\": \"ST Engineering \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 4671,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 568,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-05-11\",\n                    \"contact_id\": {\n                        \"id\": 995,\n                        \"categ_id\": null,\n                        \"name\": \"WWRC\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4682,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 569,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-05-12\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 4699,\n                \"product_id\": {\n                    \"id\": 885,\n                    \"code\": \"ZP47\",\n                    \"categ_id\": {\n                        \"id\": 185,\n                        \"name\": \"POS Terminal\"\n                    },\n                    \"name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\"\n                },\n                \"quot_id\": {\n                    \"id\": 570,\n                    \"state\": \"won\",\n                    \"date\": \"2023-05-13\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6870\n            },\n            {\n                \"id\": 4722,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 572,\n                    \"state\": \"lost\",\n                    \"date\": \"2023-05-17\",\n                    \"contact_id\": {\n                        \"id\": 1000,\n                        \"categ_id\": null,\n                        \"name\": \"Exceltech Food Trading Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 4729,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 573,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-05-18\",\n                    \"contact_id\": {\n                        \"id\": 1002,\n                        \"categ_id\": null,\n                        \"name\": \"KLAY ENERSOL SDN. BHD.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 7.5,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 4746,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 574,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-05-23\",\n                    \"contact_id\": {\n                        \"id\": 1005,\n                        \"categ_id\": null,\n                        \"name\": \"Tayopack Sdn. Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 100000\n            },\n            {\n                \"id\": 4752,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 575,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-05-23\",\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 20000\n            },\n            {\n                \"id\": 4763,\n                \"product_id\": {\n                    \"id\": 785,\n                    \"code\": \"P-0002d\",\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Conf - Purchase\"\n                },\n                \"quot_id\": {\n                    \"id\": 576,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-05-23\",\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4797,\n                \"product_id\": null,\n                \"quot_id\": {\n                    \"id\": 580,\n                    \"state\": \"won\",\n                    \"date\": \"2023-05-25\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 153000\n            },\n            {\n                \"id\": 4802,\n                \"product_id\": null,\n                \"quot_id\": {\n                    \"id\": 581,\n                    \"state\": \"draft\",\n                    \"date\": \"2023-05-29\",\n                    \"contact_id\": {\n                        \"id\": 877,\n                        \"categ_id\": null,\n                        \"name\": \"Rurutiki Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 253000\n            },\n            {\n                \"id\": 4817,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 584,\n                    \"state\": \"won\",\n                    \"date\": \"2023-05-31\",\n                    \"contact_id\": {\n                        \"id\": 927,\n                        \"categ_id\": null,\n                        \"name\": \"Sklew Biotech\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 4826,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 586,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-05-31\",\n                    \"contact_id\": {\n                        \"id\": 1008,\n                        \"categ_id\": null,\n                        \"name\": \"Puras \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 9000\n            },\n            {\n                \"id\": 4833,\n                \"product_id\": {\n                    \"id\": 785,\n                    \"code\": \"P-0002d\",\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Conf - Purchase\"\n                },\n                \"quot_id\": {\n                    \"id\": 587,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-06-07\",\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4854,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 588,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-06-09\",\n                    \"contact_id\": {\n                        \"id\": 1013,\n                        \"categ_id\": null,\n                        \"name\": \" UEM Edgenta\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 4858,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 589,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-06-01\",\n                    \"contact_id\": {\n                        \"id\": 952,\n                        \"categ_id\": null,\n                        \"name\": \"SaniChem Resources Sdn. Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 106000\n            },\n            {\n                \"id\": 4866,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 590,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-06-13\",\n                    \"contact_id\": {\n                        \"id\": 1018,\n                        \"categ_id\": null,\n                        \"name\": \"See Hoy Facilities\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4872,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 591,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-06-21\",\n                    \"contact_id\": {\n                        \"id\": 1022,\n                        \"categ_id\": null,\n                        \"name\": \"Ivetworks sdn bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 4880,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 592,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-06-22\",\n                    \"contact_id\": {\n                        \"id\": 1024,\n                        \"categ_id\": null,\n                        \"name\": \"CAF Food Products Sdn. Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 4901,\n                \"product_id\": {\n                    \"id\": 785,\n                    \"code\": \"P-0002d\",\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Conf - Purchase\"\n                },\n                \"quot_id\": {\n                    \"id\": 595,\n                    \"state\": \"won\",\n                    \"date\": \"2023-07-03\",\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4929,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 597,\n                    \"state\": \"won\",\n                    \"date\": \"2023-07-07\",\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 4934,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 598,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-07-11\",\n                    \"contact_id\": {\n                        \"id\": 1032,\n                        \"categ_id\": null,\n                        \"name\": \"XIERA Trading\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 9000\n            },\n            {\n                \"id\": 4938,\n                \"product_id\": {\n                    \"id\": 784,\n                    \"code\": \"P-0009a\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"quot_id\": {\n                    \"id\": 599,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-07-11\",\n                    \"contact_id\": {\n                        \"id\": 1032,\n                        \"categ_id\": null,\n                        \"name\": \"XIERA Trading\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1060\n            },\n            {\n                \"id\": 4968,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 607,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-07-31\",\n                    \"contact_id\": {\n                        \"id\": 1044,\n                        \"categ_id\": null,\n                        \"name\": \"Mexpower \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4989,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 610,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-08-03\",\n                    \"contact_id\": {\n                        \"id\": 1048,\n                        \"categ_id\": null,\n                        \"name\": \"Sinmar Group \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 16000\n            },\n            {\n                \"id\": 5000,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 611,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-08-09\",\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 100,\n                        \"name\": \"Fatin Shahirah\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 12000\n            },\n            {\n                \"id\": 5006,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 613,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-08-11\",\n                    \"contact_id\": {\n                        \"id\": 1056,\n                        \"categ_id\": null,\n                        \"name\": \"Endress+Hauser Malaysia\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 5021,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 615,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-08-11\",\n                    \"contact_id\": {\n                        \"id\": 1059,\n                        \"categ_id\": null,\n                        \"name\": \"Intrix\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 16000\n            },\n            {\n                \"id\": 5040,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 617,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-08-16\",\n                    \"contact_id\": {\n                        \"id\": 1040,\n                        \"categ_id\": null,\n                        \"name\": \"Hudeccan \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 9000\n            },\n            {\n                \"id\": 5050,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 619,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-08-16\",\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 9000\n            },\n            {\n                \"id\": 5084,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 624,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-08-24\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 5090,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 625,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-08-24\",\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 5097,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 626,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-08-30\",\n                    \"contact_id\": {\n                        \"id\": 1070,\n                        \"categ_id\": null,\n                        \"name\": \"Mingle Manor Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 5120,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 627,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-08-26\",\n                    \"contact_id\": {\n                        \"id\": 1068,\n                        \"categ_id\": null,\n                        \"name\": \"Metropoly Packaging Sdn Bhd (1106268-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 65000\n            },\n            {\n                \"id\": 5122,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 628,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-08-28\",\n                    \"contact_id\": {\n                        \"id\": 1068,\n                        \"categ_id\": null,\n                        \"name\": \"Metropoly Packaging Sdn Bhd (1106268-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 65000\n            },\n            {\n                \"id\": 5127,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 628,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-08-28\",\n                    \"contact_id\": {\n                        \"id\": 1068,\n                        \"categ_id\": null,\n                        \"name\": \"Metropoly Packaging Sdn Bhd (1106268-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 9,\n                \"amount\": 38430\n            },\n            {\n                \"id\": 5142,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 631,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-09-05\",\n                    \"contact_id\": {\n                        \"id\": 1072,\n                        \"categ_id\": null,\n                        \"name\": \"BYHISDAISY INTERNATIONAL SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 5148,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 632,\n                    \"state\": \"draft\",\n                    \"date\": \"2023-09-05\",\n                    \"contact_id\": {\n                        \"id\": 835,\n                        \"categ_id\": null,\n                        \"name\": \"Hayat AutoTech \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 5155,\n                \"product_id\": {\n                    \"id\": 784,\n                    \"code\": \"P-0009a\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"quot_id\": {\n                    \"id\": 633,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-09-06\",\n                    \"contact_id\": {\n                        \"id\": 1040,\n                        \"categ_id\": null,\n                        \"name\": \"Hudeccan \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1060\n            },\n            {\n                \"id\": 594,\n                \"product_id\": {\n                    \"id\": 797,\n                    \"code\": \"P-0008a\",\n                    \"categ_id\": null,\n                    \"name\": \"Consultation (Advisory)\"\n                },\n                \"quot_id\": {\n                    \"id\": 50,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-09-19\",\n                    \"contact_id\": {\n                        \"id\": 136,\n                        \"categ_id\": null,\n                        \"name\": \" Top Glove Corporation Bhd (474423-X)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 726,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 66,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-08-24\",\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"user_id\": null\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 773,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 68,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-08-24\",\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"user_id\": null\n                },\n                \"qty\": 0,\n                \"amount\": null\n            },\n            {\n                \"id\": 865,\n                \"product_id\": {\n                    \"id\": 790,\n                    \"code\": \"P-0003f\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Training (Sales)\"\n                },\n                \"quot_id\": {\n                    \"id\": 65,\n                    \"state\": \"won\",\n                    \"date\": \"2018-08-24\",\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"user_id\": null\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 895,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 76,\n                    \"state\": \"revised\",\n                    \"date\": \"2018-09-11\",\n                    \"contact_id\": {\n                        \"id\": 168,\n                        \"categ_id\": null,\n                        \"name\": \"Perusahaan Cemerlang Raya Sdn Bhd (162783-K)\"\n                    },\n                    \"user_id\": null\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 913,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 73,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-09-07\",\n                    \"contact_id\": {\n                        \"id\": 164,\n                        \"categ_id\": null,\n                        \"name\": \"Transcargo Worldwide (M) Sdn Bhd (767688-X)\"\n                    },\n                    \"user_id\": null\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 922,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 64,\n                    \"state\": \"won\",\n                    \"date\": \"2018-08-23\",\n                    \"contact_id\": {\n                        \"id\": 158,\n                        \"categ_id\": null,\n                        \"name\": \"AGX Logistics Singapore Pte Ltd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 1500\n            },\n            {\n                \"id\": 925,\n                \"product_id\": {\n                    \"id\": 765,\n                    \"code\": \"P-0003a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Training (Acct)\"\n                },\n                \"quot_id\": {\n                    \"id\": 74,\n                    \"state\": \"won\",\n                    \"date\": \"2018-09-07\",\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"user_id\": null\n                },\n                \"qty\": 0.5,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 935,\n                \"product_id\": {\n                    \"id\": 796,\n                    \"code\": \"P-0014\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Hardware\"\n                },\n                \"quot_id\": {\n                    \"id\": 79,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-09-24\",\n                    \"contact_id\": {\n                        \"id\": 175,\n                        \"categ_id\": null,\n                        \"name\": \"Kreatrz Group of Companies \"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1470\n            },\n            {\n                \"id\": 966,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 83,\n                    \"state\": \"revised\",\n                    \"date\": \"2018-09-26\",\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 972,\n                \"product_id\": {\n                    \"id\": 796,\n                    \"code\": \"P-0014\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Hardware\"\n                },\n                \"quot_id\": {\n                    \"id\": 82,\n                    \"state\": \"won\",\n                    \"date\": \"2018-09-25\",\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 6,\n                \"amount\": 6360\n            },\n            {\n                \"id\": 981,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 84,\n                    \"state\": \"revised\",\n                    \"date\": \"2018-09-29\",\n                    \"contact_id\": {\n                        \"id\": 168,\n                        \"categ_id\": null,\n                        \"name\": \"Perusahaan Cemerlang Raya Sdn Bhd (162783-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 399\n            },\n            {\n                \"id\": 1005,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 89,\n                    \"state\": \"won\",\n                    \"date\": \"2018-10-12\",\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1030,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 90,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-10-12\",\n                    \"contact_id\": {\n                        \"id\": 183,\n                        \"categ_id\": null,\n                        \"name\": \"Taseen Trading Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 4.5,\n                \"amount\": 9000\n            },\n            {\n                \"id\": 1077,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 96,\n                    \"state\": \"voided\",\n                    \"date\": \"2018-05-28\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1092,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"code\": \"P-0002e\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"quot_id\": {\n                    \"id\": 98,\n                    \"state\": \"revised\",\n                    \"date\": \"2018-10-14\",\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1112,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 102,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-12-04\",\n                    \"contact_id\": {\n                        \"id\": 192,\n                        \"categ_id\": null,\n                        \"name\": \"Am Globe Traders\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 0.5,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 1127,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 105,\n                    \"state\": \"won\",\n                    \"date\": \"2019-01-04\",\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1139,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"code\": \"P-0002c\",\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"quot_id\": {\n                    \"id\": 106,\n                    \"state\": \"revised\",\n                    \"date\": \"2019-01-21\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1155,\n                \"product_id\": {\n                    \"id\": 815,\n                    \"code\": \"P-0002l\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"quot_id\": {\n                    \"id\": 107,\n                    \"state\": \"won\",\n                    \"date\": \"2019-03-07\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1165,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"code\": \"P-0002c\",\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"quot_id\": {\n                    \"id\": 109,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-02-22\",\n                    \"contact_id\": {\n                        \"id\": 209,\n                        \"categ_id\": null,\n                        \"name\": \"Pyrope Industries Sdn Bhd (344682-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1178,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 110,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-02-26\",\n                    \"contact_id\": {\n                        \"id\": 211,\n                        \"categ_id\": null,\n                        \"name\": \"Merpati Daya Maju (IP0395026-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 12,\n                \"amount\": 4788\n            },\n            {\n                \"id\": 1189,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 111,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-03-04\",\n                    \"contact_id\": {\n                        \"id\": 214,\n                        \"categ_id\": null,\n                        \"name\": \"Jisna (Malaysia) Sdn Bhd (211316-X)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1201,\n                \"product_id\": {\n                    \"id\": 814,\n                    \"code\": \"P-0009d\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Wired Barcode Scanner\"\n                },\n                \"quot_id\": {\n                    \"id\": 114,\n                    \"state\": \"won\",\n                    \"date\": \"2019-03-07\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 317\n            },\n            {\n                \"id\": 1207,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"code\": \"P-0002c\",\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"quot_id\": {\n                    \"id\": 116,\n                    \"state\": \"won\",\n                    \"date\": \"2019-03-11\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1223,\n                \"product_id\": {\n                    \"id\": 790,\n                    \"code\": \"P-0003f\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Training (Sales)\"\n                },\n                \"quot_id\": {\n                    \"id\": 117,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-03-16\",\n                    \"contact_id\": {\n                        \"id\": 222,\n                        \"categ_id\": null,\n                        \"name\": \"Lee Veterinary Clinic\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1249,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 119,\n                    \"state\": \"won\",\n                    \"date\": \"2019-03-19\",\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1251,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 120,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-03-20\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1264,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 122,\n                    \"state\": \"won\",\n                    \"date\": \"2019-04-11\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1272,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 124,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-04-16\",\n                    \"contact_id\": {\n                        \"id\": 262,\n                        \"categ_id\": null,\n                        \"name\": \"Thiam Sieng Group\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 1286,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 125,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-05-04\",\n                    \"contact_id\": {\n                        \"id\": 277,\n                        \"categ_id\": null,\n                        \"name\": \"Starlai Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 15,\n                \"amount\": 30000\n            },\n            {\n                \"id\": 1316,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"code\": \"P-0002e\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"quot_id\": {\n                    \"id\": 128,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-06-10\",\n                    \"contact_id\": {\n                        \"id\": 297,\n                        \"categ_id\": null,\n                        \"name\": \"YS Metal Industries Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 0.5,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 1327,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 129,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-06-11\",\n                    \"contact_id\": {\n                        \"id\": 298,\n                        \"categ_id\": null,\n                        \"name\": \"Public Auto World Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1361,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"code\": \"P-0002c\",\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"quot_id\": {\n                    \"id\": 133,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-06-13\",\n                    \"contact_id\": {\n                        \"id\": 303,\n                        \"categ_id\": null,\n                        \"name\": \"Pastry World Sdn Bhd (759288-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1372,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 134,\n                    \"state\": \"revised\",\n                    \"date\": \"2019-06-28\",\n                    \"contact_id\": {\n                        \"id\": 195,\n                        \"categ_id\": null,\n                        \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1389,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"code\": \"P-0002e\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"quot_id\": {\n                    \"id\": 135,\n                    \"state\": \"won\",\n                    \"date\": \"2019-07-02\",\n                    \"contact_id\": {\n                        \"id\": 195,\n                        \"categ_id\": null,\n                        \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1399,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"code\": \"P-0002e\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"quot_id\": {\n                    \"id\": 137,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-07-04\",\n                    \"contact_id\": {\n                        \"id\": 315,\n                        \"categ_id\": null,\n                        \"name\": \"Westline Transporter SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1419,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 139,\n                    \"state\": \"won\",\n                    \"date\": \"2019-07-06\",\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 1428,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 140,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-07-12\",\n                    \"contact_id\": {\n                        \"id\": 295,\n                        \"categ_id\": null,\n                        \"name\": \"Malaysian Timber Council\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1443,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"code\": \"P-0002c\",\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"quot_id\": {\n                    \"id\": 142,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-07-12\",\n                    \"contact_id\": {\n                        \"id\": 320,\n                        \"categ_id\": null,\n                        \"name\": \"AUTOMONT GATSBY SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1454,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 143,\n                    \"state\": \"revised\",\n                    \"date\": \"2019-07-16\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1468,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"code\": \"P-0005a\",\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"quot_id\": {\n                    \"id\": 145,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-07-24\",\n                    \"contact_id\": {\n                        \"id\": 322,\n                        \"categ_id\": null,\n                        \"name\": \"INOX ENGINEERING SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1489,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"code\": \"P-0002c\",\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"quot_id\": {\n                    \"id\": 150,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-08-05\",\n                    \"contact_id\": {\n                        \"id\": 328,\n                        \"categ_id\": null,\n                        \"name\": \"TABUR NIAGA SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1498,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 151,\n                    \"state\": \"won\",\n                    \"date\": \"2019-08-08\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1502,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 152,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-08-26\",\n                    \"contact_id\": {\n                        \"id\": 336,\n                        \"categ_id\": null,\n                        \"name\": \"Power Packaging SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1518,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 154,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-09-07\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1524,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 155,\n                    \"state\": \"won\",\n                    \"date\": \"2019-09-12\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 417\n            },\n            {\n                \"id\": 1531,\n                \"product_id\": {\n                    \"id\": 765,\n                    \"code\": \"P-0003a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Training (Acct)\"\n                },\n                \"quot_id\": {\n                    \"id\": 157,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-09-13\",\n                    \"contact_id\": {\n                        \"id\": 330,\n                        \"categ_id\": null,\n                        \"name\": \"GOURMET INGREDIENTS SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1555,\n                \"product_id\": {\n                    \"id\": 765,\n                    \"code\": \"P-0003a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Training (Acct)\"\n                },\n                \"quot_id\": {\n                    \"id\": 159,\n                    \"state\": \"approved\",\n                    \"date\": \"2019-09-18\",\n                    \"contact_id\": {\n                        \"id\": 350,\n                        \"categ_id\": null,\n                        \"name\": \"Vettons Sdn Bhd (1286553-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1564,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 160,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-09-26\",\n                    \"contact_id\": {\n                        \"id\": 356,\n                        \"categ_id\": null,\n                        \"name\": \"Prestar Precision Tube Sdn Bhd (643193-X)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1578,\n                \"product_id\": {\n                    \"id\": 815,\n                    \"code\": \"P-0002l\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"quot_id\": {\n                    \"id\": 161,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-10-02\",\n                    \"contact_id\": {\n                        \"id\": 358,\n                        \"categ_id\": null,\n                        \"name\": \"HELP International School (802643-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 5,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 1596,\n                \"product_id\": {\n                    \"id\": 765,\n                    \"code\": \"P-0003a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Training (Acct)\"\n                },\n                \"quot_id\": {\n                    \"id\": 163,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-10-11\",\n                    \"contact_id\": {\n                        \"id\": 362,\n                        \"categ_id\": null,\n                        \"name\": \"MARA LINER SDN BHD (0233945-T)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1604,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 164,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-10-14\",\n                    \"contact_id\": {\n                        \"id\": 364,\n                        \"categ_id\": null,\n                        \"name\": \"Japanese Agriculture Products SDN BHD (1286234-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1625,\n                \"product_id\": {\n                    \"id\": 815,\n                    \"code\": \"P-0002l\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"quot_id\": {\n                    \"id\": 166,\n                    \"state\": \"draft\",\n                    \"date\": \"2019-10-18\",\n                    \"contact_id\": {\n                        \"id\": 368,\n                        \"categ_id\": null,\n                        \"name\": \"ADVANCEDATA NETWORK PTE LTD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 1645,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 168,\n                    \"state\": \"revised\",\n                    \"date\": \"2019-11-05\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1650,\n                \"product_id\": {\n                    \"id\": 765,\n                    \"code\": \"P-0003a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Training (Acct)\"\n                },\n                \"quot_id\": {\n                    \"id\": 169,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-11-05\",\n                    \"contact_id\": {\n                        \"id\": 374,\n                        \"categ_id\": null,\n                        \"name\": \"KCJ Distribution SDN BHD (1198272-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1670,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 172,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-11-14\",\n                    \"contact_id\": {\n                        \"id\": 382,\n                        \"categ_id\": null,\n                        \"name\": \"Edaran IT Services Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 7.5,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 1681,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 170,\n                    \"state\": \"won\",\n                    \"date\": \"2019-11-09\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 0.5,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 1688,\n                \"product_id\": {\n                    \"id\": 798,\n                    \"code\": \"P-0015a\",\n                    \"categ_id\": null,\n                    \"name\": \"E-commerce Integration\"\n                },\n                \"quot_id\": {\n                    \"id\": 173,\n                    \"state\": \"lost\",\n                    \"date\": \"2019-11-15\",\n                    \"contact_id\": {\n                        \"id\": 384,\n                        \"categ_id\": null,\n                        \"name\": \"Puzzle Planet Sdn Bhd (1322305-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 25,\n                        \"name\": \"Sasin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 1723,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 179,\n                    \"state\": \"won\",\n                    \"date\": \"2019-12-07\",\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 1732,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 182,\n                    \"state\": \"lost\",\n                    \"date\": \"2018-04-17\",\n                    \"contact_id\": {\n                        \"id\": 54,\n                        \"categ_id\": null,\n                        \"name\": \"Kontena Nasional\"\n                    },\n                    \"user_id\": {\n                        \"id\": 8,\n                        \"name\": \"Admin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1743,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 183,\n                    \"state\": \"revised\",\n                    \"date\": \"2019-12-19\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1746,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 184,\n                    \"state\": \"won\",\n                    \"date\": \"2019-12-21\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1757,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 185,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-01-07\",\n                    \"contact_id\": {\n                        \"id\": 397,\n                        \"categ_id\": null,\n                        \"name\": \"Pegasus Automation Sdn Bhd (778197-P)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1783,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"code\": \"P-0002e\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"quot_id\": {\n                    \"id\": 190,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-01-13\",\n                    \"contact_id\": {\n                        \"id\": 404,\n                        \"categ_id\": null,\n                        \"name\": \"Wiltek Homeware Sdn Bhd (730858-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 40,\n                        \"name\": \"Azri\"\n                    }\n                },\n                \"qty\": 0.5,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 1799,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 191,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-01-14\",\n                    \"contact_id\": {\n                        \"id\": 406,\n                        \"categ_id\": null,\n                        \"name\": \"SteelWorks Engineering Sdn Bhd \"\n                    },\n                    \"user_id\": {\n                        \"id\": 40,\n                        \"name\": \"Azri\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1803,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"code\": \"P-0002e\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"quot_id\": {\n                    \"id\": 192,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-01-14\",\n                    \"contact_id\": {\n                        \"id\": 406,\n                        \"categ_id\": null,\n                        \"name\": \"SteelWorks Engineering Sdn Bhd \"\n                    },\n                    \"user_id\": {\n                        \"id\": 40,\n                        \"name\": \"Azri\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 1824,\n                \"product_id\": {\n                    \"id\": 765,\n                    \"code\": \"P-0003a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Training (Acct)\"\n                },\n                \"quot_id\": {\n                    \"id\": 194,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-01-21\",\n                    \"contact_id\": {\n                        \"id\": 417,\n                        \"categ_id\": null,\n                        \"name\": \"Wan & Sons Bread Company\"\n                    },\n                    \"user_id\": {\n                        \"id\": 40,\n                        \"name\": \"Azri\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1832,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 195,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-02-06\",\n                    \"contact_id\": {\n                        \"id\": 422,\n                        \"categ_id\": null,\n                        \"name\": \"Nature Environment Products Sdn Bhd (507751-V)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1847,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"code\": \"P-0002e\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"quot_id\": {\n                    \"id\": 198,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-02-10\",\n                    \"contact_id\": {\n                        \"id\": 426,\n                        \"categ_id\": null,\n                        \"name\": \"Eutag Global (M) Sdn Bhd (212039-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1859,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 200,\n                    \"state\": \"voided\",\n                    \"date\": \"2020-02-17\",\n                    \"contact_id\": {\n                        \"id\": 435,\n                        \"categ_id\": null,\n                        \"name\": \"MY IOL Sdn Bhd (1153794-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 1873,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"code\": \"P-0002a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"quot_id\": {\n                    \"id\": 201,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-02-18\",\n                    \"contact_id\": {\n                        \"id\": 437,\n                        \"categ_id\": null,\n                        \"name\": \"Mettic Systeme Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1881,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"code\": \"P-0002e\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"quot_id\": {\n                    \"id\": 203,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-03-04\",\n                    \"contact_id\": {\n                        \"id\": 443,\n                        \"categ_id\": null,\n                        \"name\": \"MASTERJAYA ENVIRONMENT SDN BHD (249885-T)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1898,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 204,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-03-11\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 1904,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 205,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-05-21\",\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 0.5,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 1914,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"code\": \"P-0002e\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"quot_id\": {\n                    \"id\": 206,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-03-14\",\n                    \"contact_id\": {\n                        \"id\": 448,\n                        \"categ_id\": null,\n                        \"name\": \"CCL Design Penang\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1927,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 207,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-03-16\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1309\n            },\n            {\n                \"id\": 1938,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 209,\n                    \"state\": \"won\",\n                    \"date\": \"2020-03-25\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 7.5,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 1948,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 211,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-04-07\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1962,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 212,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-04-08\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 1981,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"code\": \"P-0002e\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"quot_id\": {\n                    \"id\": 214,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-04-15\",\n                    \"contact_id\": {\n                        \"id\": 455,\n                        \"categ_id\": null,\n                        \"name\": \"Myangkasa Optikal Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2011,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 216,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-04-24\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 10,\n                \"amount\": 20000\n            },\n            {\n                \"id\": 2045,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 218,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-05-09\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 2079,\n                \"product_id\": {\n                    \"id\": 818,\n                    \"code\": \"P-0009f\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"JADEVER WEIGHING INDICATOR\"\n                },\n                \"quot_id\": {\n                    \"id\": 219,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-05-09\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 3180\n            },\n            {\n                \"id\": 2100,\n                \"product_id\": {\n                    \"id\": 850,\n                    \"code\": \"P-0002f\",\n                    \"categ_id\": {\n                        \"id\": 174,\n                        \"name\": \"Online - POS\"\n                    },\n                    \"name\": \"Conf - POS (System)\"\n                },\n                \"quot_id\": {\n                    \"id\": 222,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-05-16\",\n                    \"contact_id\": {\n                        \"id\": 458,\n                        \"categ_id\": null,\n                        \"name\": \"Alhani Trade Sdn. Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2105,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 223,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-05-19\",\n                    \"contact_id\": {\n                        \"id\": 462,\n                        \"categ_id\": null,\n                        \"name\": \"Pesona Metro Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2145,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 230,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-05-20\",\n                    \"contact_id\": {\n                        \"id\": 388,\n                        \"categ_id\": null,\n                        \"name\": \"Empire World Express Sdn Bhd (944635-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2149,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 231,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-05-20\",\n                    \"contact_id\": {\n                        \"id\": 462,\n                        \"categ_id\": null,\n                        \"name\": \"Pesona Metro Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2153,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 229,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-05-20\",\n                    \"contact_id\": {\n                        \"id\": 388,\n                        \"categ_id\": null,\n                        \"name\": \"Empire World Express Sdn Bhd (944635-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 599\n            },\n            {\n                \"id\": 2171,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 234,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-05-27\",\n                    \"contact_id\": {\n                        \"id\": 402,\n                        \"categ_id\": null,\n                        \"name\": \"Taiko Marketing Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2185,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 237,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-06-06\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 2212,\n                \"product_id\": {\n                    \"id\": 813,\n                    \"code\": \"P-0009c\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Wireless Barcode Scanner\"\n                },\n                \"quot_id\": {\n                    \"id\": 239,\n                    \"state\": \"won\",\n                    \"date\": \"2020-06-16\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 2060\n            },\n            {\n                \"id\": 2224,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 241,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-06-17\",\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 0.5,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 2234,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 243,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-06-18\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 2268,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 244,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-07-06\",\n                    \"contact_id\": {\n                        \"id\": 482,\n                        \"categ_id\": null,\n                        \"name\": \"SD Impex Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 399\n            },\n            {\n                \"id\": 2294,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"code\": \"P-0002c\",\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"quot_id\": {\n                    \"id\": 247,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-07-20\",\n                    \"contact_id\": {\n                        \"id\": 491,\n                        \"categ_id\": null,\n                        \"name\": \"Mase Industries Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 2319,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 249,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-08-04\",\n                    \"contact_id\": {\n                        \"id\": 497,\n                        \"categ_id\": null,\n                        \"name\": \"Bexpress Marketing (M) Sdn Bhd (1152753-V)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 7.5,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 2335,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 251,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-08-13\",\n                    \"contact_id\": {\n                        \"id\": 499,\n                        \"categ_id\": null,\n                        \"name\": \"Ametal Tech Sdn Bhd (732515-P)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 2359,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 252,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-08-24\",\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 2373,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 253,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-09-08\",\n                    \"contact_id\": {\n                        \"id\": 505,\n                        \"categ_id\": null,\n                        \"name\": \"BBSB Holdings Sdn Bhd\"\n                    },\n                    \"user_id\": null\n                },\n                \"qty\": 1,\n                \"amount\": 999\n            },\n            {\n                \"id\": 2393,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 258,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-09-30\",\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 9,\n                \"amount\": 18000\n            },\n            {\n                \"id\": 2410,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 259,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-10-07\",\n                    \"contact_id\": {\n                        \"id\": 519,\n                        \"categ_id\": null,\n                        \"name\": \"Rundo Food Sdn Bhd (875000-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 12,\n                \"amount\": 24000\n            },\n            {\n                \"id\": 2419,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 260,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-10-19\",\n                    \"contact_id\": {\n                        \"id\": 522,\n                        \"categ_id\": null,\n                        \"name\": \"Wah Kong Corporation Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 2435,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 261,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-10-31\",\n                    \"contact_id\": {\n                        \"id\": 499,\n                        \"categ_id\": null,\n                        \"name\": \"Ametal Tech Sdn Bhd (732515-P)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 2450,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 262,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-11-03\",\n                    \"contact_id\": {\n                        \"id\": 528,\n                        \"categ_id\": null,\n                        \"name\": \"Budiwata Sdn.Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 8,\n                \"amount\": 16000\n            },\n            {\n                \"id\": 2480,\n                \"product_id\": {\n                    \"id\": 815,\n                    \"code\": \"P-0002l\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"quot_id\": {\n                    \"id\": 263,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-11-05\",\n                    \"contact_id\": {\n                        \"id\": 530,\n                        \"categ_id\": null,\n                        \"name\": \"Kuen Engineering & Trading Sdn Bhd (604189-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2486,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 264,\n                    \"state\": \"approved\",\n                    \"date\": \"2020-11-21\",\n                    \"contact_id\": {\n                        \"id\": 499,\n                        \"categ_id\": null,\n                        \"name\": \"Ametal Tech Sdn Bhd (732515-P)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 2501,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 265,\n                    \"state\": \"revised\",\n                    \"date\": \"2020-11-22\",\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 9,\n                \"amount\": 18000\n            },\n            {\n                \"id\": 2518,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 266,\n                    \"state\": \"lost\",\n                    \"date\": \"2020-11-25\",\n                    \"contact_id\": {\n                        \"id\": 534,\n                        \"categ_id\": null,\n                        \"name\": \"Craftiviti Sdn. Bhd. (1125727-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 2546,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 268,\n                    \"state\": \"won\",\n                    \"date\": \"2020-12-02\",\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 2587,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 276,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-01-15\",\n                    \"contact_id\": {\n                        \"id\": 550,\n                        \"categ_id\": null,\n                        \"name\": \"Brightmount Trading Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 0.75,\n                \"amount\": 1500\n            },\n            {\n                \"id\": 2598,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 277,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-01-23\",\n                    \"contact_id\": {\n                        \"id\": 568,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 10,\n                \"amount\": 20000\n            },\n            {\n                \"id\": 2617,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 278,\n                    \"state\": \"won\",\n                    \"date\": \"2020-12-01\",\n                    \"contact_id\": {\n                        \"id\": 564,\n                        \"categ_id\": null,\n                        \"name\": \"Load 2 Go Logistic Sdn Bhd (1240516-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 25000\n            },\n            {\n                \"id\": 2624,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 279,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-01-27\",\n                    \"contact_id\": {\n                        \"id\": 568,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 15,\n                \"amount\": 30000\n            },\n            {\n                \"id\": 2640,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 280,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-01-30\",\n                    \"contact_id\": {\n                        \"id\": 568,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 15,\n                \"amount\": 30000\n            },\n            {\n                \"id\": 2656,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"code\": \"P-0002c\",\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"quot_id\": {\n                    \"id\": 281,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-02-05\",\n                    \"contact_id\": {\n                        \"id\": 571,\n                        \"categ_id\": null,\n                        \"name\": \"Pascal Engineering Sdn. Bhd. (601187-K)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 2687,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"code\": \"P-0002c\",\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"quot_id\": {\n                    \"id\": 283,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-02-05\",\n                    \"contact_id\": {\n                        \"id\": 573,\n                        \"categ_id\": null,\n                        \"name\": \"Solartech Sales & Service Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 2728,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 285,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-02-22\",\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 300\n            },\n            {\n                \"id\": 2747,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 286,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-02-23\",\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 250\n            },\n            {\n                \"id\": 2773,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 289,\n                    \"state\": \"lost\",\n                    \"date\": \"2021-03-03\",\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 300\n            },\n            {\n                \"id\": 2783,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 290,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-03-06\",\n                    \"contact_id\": {\n                        \"id\": 587,\n                        \"categ_id\": null,\n                        \"name\": \"MYXO CO. SDN. BHD. (Co Reg No.: 587049-V)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 2802,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"code\": \"P-0002c\",\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"quot_id\": {\n                    \"id\": 291,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-03-11\",\n                    \"contact_id\": {\n                        \"id\": 573,\n                        \"categ_id\": null,\n                        \"name\": \"Solartech Sales & Service Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 5,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 2816,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"code\": \"P-0002c\",\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"quot_id\": {\n                    \"id\": 292,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-03-24\",\n                    \"contact_id\": {\n                        \"id\": 599,\n                        \"categ_id\": null,\n                        \"name\": \"Synerchem Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 5,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 2843,\n                \"product_id\": {\n                    \"id\": 922,\n                    \"code\": \"P-0002w\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Equipment Maintenance\"\n                },\n                \"quot_id\": {\n                    \"id\": 293,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-03-30\",\n                    \"contact_id\": {\n                        \"id\": 603,\n                        \"categ_id\": null,\n                        \"name\": \"KONE Elevator (M) Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 2867,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"code\": \"P-0002c\",\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"quot_id\": {\n                    \"id\": 294,\n                    \"state\": \"draft\",\n                    \"date\": \"2021-04-01\",\n                    \"contact_id\": {\n                        \"id\": 607,\n                        \"categ_id\": null,\n                        \"name\": \"Park Games Equipment (M) Sdn Bhd (329704-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 2888,\n                \"product_id\": {\n                    \"id\": 955,\n                    \"code\": \"P-0002X\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Fulfilment Module\"\n                },\n                \"quot_id\": {\n                    \"id\": 296,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-04-08\",\n                    \"contact_id\": {\n                        \"id\": 621,\n                        \"categ_id\": null,\n                        \"name\": \"YST Ewarehouse Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 15,\n                \"amount\": 30000\n            },\n            {\n                \"id\": 2904,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"code\": \"P-0002c\",\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"quot_id\": {\n                    \"id\": 298,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-04-08\",\n                    \"contact_id\": {\n                        \"id\": 618,\n                        \"categ_id\": null,\n                        \"name\": \"Panwrite Plastic Industries Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 2925,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"code\": \"P-0002c\",\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"quot_id\": {\n                    \"id\": 299,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-04-13\",\n                    \"contact_id\": {\n                        \"id\": 618,\n                        \"categ_id\": null,\n                        \"name\": \"Panwrite Plastic Industries Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 2947,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 300,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-05-05\",\n                    \"contact_id\": {\n                        \"id\": 632,\n                        \"categ_id\": null,\n                        \"name\": \"Mighty Bakery Sdn Bhd (358975-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 67,\n                        \"name\": \"Chloe\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 2978,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 303,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-05-17\",\n                    \"contact_id\": {\n                        \"id\": 637,\n                        \"categ_id\": null,\n                        \"name\": \"Poladrone Solutions Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 2991,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"code\": \"P-0002a\",\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"quot_id\": {\n                    \"id\": 304,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-01-30\",\n                    \"contact_id\": {\n                        \"id\": 568,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 6,\n                \"amount\": 12000\n            },\n            {\n                \"id\": 3007,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 306,\n                    \"state\": \"won\",\n                    \"date\": \"2021-05-24\",\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 10,\n                \"amount\": 20000\n            },\n            {\n                \"id\": 3028,\n                \"product_id\": {\n                    \"id\": 818,\n                    \"code\": \"P-0009f\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"JADEVER WEIGHING INDICATOR\"\n                },\n                \"quot_id\": {\n                    \"id\": 307,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-05-25\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 6,\n                \"amount\": 4770\n            },\n            {\n                \"id\": 3041,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 310,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-06-02\",\n                    \"contact_id\": {\n                        \"id\": 632,\n                        \"categ_id\": null,\n                        \"name\": \"Mighty Bakery Sdn Bhd (358975-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 3051,\n                \"product_id\": {\n                    \"id\": 955,\n                    \"code\": \"P-0002X\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Fulfilment Module\"\n                },\n                \"quot_id\": {\n                    \"id\": 312,\n                    \"state\": \"won\",\n                    \"date\": \"2021-06-27\",\n                    \"contact_id\": {\n                        \"id\": 658,\n                        \"categ_id\": null,\n                        \"name\": \"MMC International Fulfilment Center\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3068,\n                \"product_id\": {\n                    \"id\": 955,\n                    \"code\": \"P-0002X\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Fulfilment Module\"\n                },\n                \"quot_id\": {\n                    \"id\": 316,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-07-08\",\n                    \"contact_id\": {\n                        \"id\": 663,\n                        \"categ_id\": null,\n                        \"name\": \"ATV SPORT AND STYLE SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3074,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 317,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-07-10\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 3110,\n                \"product_id\": {\n                    \"id\": 784,\n                    \"code\": \"P-0009a\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"quot_id\": {\n                    \"id\": 318,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-07-14\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 1900\n            },\n            {\n                \"id\": 3113,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 323,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-07-17\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3.5,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 3121,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"code\": \"P-0002c\",\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"quot_id\": {\n                    \"id\": 321,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-07-14\",\n                    \"contact_id\": {\n                        \"id\": 668,\n                        \"categ_id\": null,\n                        \"name\": \"Verdastro Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3138,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 325,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-07-20\",\n                    \"contact_id\": {\n                        \"id\": 669,\n                        \"categ_id\": null,\n                        \"name\": \"Jumbo Fruit Trading (M) S/B.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 499\n            },\n            {\n                \"id\": 3146,\n                \"product_id\": {\n                    \"id\": 810,\n                    \"code\": \"P-0002k\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Service\"\n                },\n                \"quot_id\": {\n                    \"id\": 327,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-07-24\",\n                    \"contact_id\": {\n                        \"id\": 671,\n                        \"categ_id\": null,\n                        \"name\": \"Rigel Technology (M) Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 3158,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 330,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-08-03\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3.5,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 3175,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 334,\n                    \"state\": \"won\",\n                    \"date\": \"2021-08-23\",\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 480\n            },\n            {\n                \"id\": 3192,\n                \"product_id\": {\n                    \"id\": 887,\n                    \"code\": \"ZT49\",\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"1031 : 1D Wired Laser Barcode Scanner  w/o Stand\"\n                },\n                \"quot_id\": {\n                    \"id\": 336,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-08-25\",\n                    \"contact_id\": {\n                        \"id\": 690,\n                        \"categ_id\": null,\n                        \"name\": \"THUNDER PRINT Sdn Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 53,\n                        \"name\": \"Chiew Hao\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 118\n            },\n            {\n                \"id\": 3214,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 339,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-09-13\",\n                    \"contact_id\": {\n                        \"id\": 698,\n                        \"categ_id\": null,\n                        \"name\": \"Gruppe Marketing Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 499\n            },\n            {\n                \"id\": 3217,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 340,\n                    \"state\": \"lost\",\n                    \"date\": \"2021-09-13\",\n                    \"contact_id\": {\n                        \"id\": 701,\n                        \"categ_id\": null,\n                        \"name\": \"WillFront Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 3236,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 341,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-09-21\",\n                    \"contact_id\": {\n                        \"id\": 705,\n                        \"categ_id\": null,\n                        \"name\": \"Austin Powder Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 8.5,\n                \"amount\": 17000\n            },\n            {\n                \"id\": 3252,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 342,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-09-24\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3274,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 344,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-09-28\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3287,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 345,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-10-06\",\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 66,\n                        \"name\": \"Nurul Huda\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 600\n            },\n            {\n                \"id\": 3299,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 346,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-10-18\",\n                    \"contact_id\": {\n                        \"id\": 705,\n                        \"categ_id\": null,\n                        \"name\": \"Austin Powder Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 8.5,\n                \"amount\": 17000\n            },\n            {\n                \"id\": 3312,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 347,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-10-20\",\n                    \"contact_id\": {\n                        \"id\": 716,\n                        \"categ_id\": null,\n                        \"name\": \"Cubic Letrik Sdn. Bhd. [0166837D]\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 5,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 3324,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"code\": \"P-0002c\",\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"quot_id\": {\n                    \"id\": 348,\n                    \"state\": \"revised\",\n                    \"date\": \"2021-10-25\",\n                    \"contact_id\": {\n                        \"id\": 618,\n                        \"categ_id\": null,\n                        \"name\": \"Panwrite Plastic Industries Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 3356,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 350,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-11-01\",\n                    \"contact_id\": {\n                        \"id\": 720,\n                        \"categ_id\": null,\n                        \"name\": \"Frontline Cosmeceuticals (M) Sdn. Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 3.5,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 3365,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 351,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-11-02\",\n                    \"contact_id\": {\n                        \"id\": 720,\n                        \"categ_id\": null,\n                        \"name\": \"Frontline Cosmeceuticals (M) Sdn. Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 3.5,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 3374,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 352,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-11-11\",\n                    \"contact_id\": {\n                        \"id\": 729,\n                        \"categ_id\": null,\n                        \"name\": \"Bergamot Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 3.5,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 3389,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 354,\n                    \"state\": \"won\",\n                    \"date\": \"2021-11-11\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3402,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 355,\n                    \"state\": \"won\",\n                    \"date\": \"2021-11-11\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 22,\n                \"amount\": 44000\n            },\n            {\n                \"id\": 3434,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 358,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-11-15\",\n                    \"contact_id\": {\n                        \"id\": 733,\n                        \"categ_id\": null,\n                        \"name\": \"MAPC Sdn Bhd (1058586M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 3445,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 360,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-12-01\",\n                    \"contact_id\": {\n                        \"id\": 737,\n                        \"categ_id\": null,\n                        \"name\": \"A&A Plastic Industries Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2.5,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 3451,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 361,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-12-02\",\n                    \"contact_id\": {\n                        \"id\": 739,\n                        \"categ_id\": null,\n                        \"name\": \"Home Platform Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 3462,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 364,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-12-13\",\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 800\n            },\n            {\n                \"id\": 3466,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 365,\n                    \"state\": \"won\",\n                    \"date\": \"2021-12-17\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 100\n            },\n            {\n                \"id\": 3471,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 366,\n                    \"state\": \"approved\",\n                    \"date\": \"2021-12-27\",\n                    \"contact_id\": {\n                        \"id\": 743,\n                        \"categ_id\": null,\n                        \"name\": \"RICCA PEACOCK ASIA SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 8,\n                \"amount\": 16000\n            },\n            {\n                \"id\": 3480,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 369,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-01-13\",\n                    \"contact_id\": {\n                        \"id\": 748,\n                        \"categ_id\": null,\n                        \"name\": \"KPG Synergy Sdn Bhd (307828-P)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3512,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 378,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-04-13\",\n                    \"contact_id\": {\n                        \"id\": 763,\n                        \"categ_id\": null,\n                        \"name\": \"Flowfuel Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3524,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 380,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-04-13\",\n                    \"contact_id\": {\n                        \"id\": 765,\n                        \"categ_id\": null,\n                        \"name\": \"RPD SD.BHD.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 4,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 3530,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 383,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-04-22\",\n                    \"contact_id\": {\n                        \"id\": 767,\n                        \"categ_id\": null,\n                        \"name\": \"Patrick Tam\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 3.5,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 3540,\n                \"product_id\": {\n                    \"id\": 850,\n                    \"code\": \"P-0002f\",\n                    \"categ_id\": {\n                        \"id\": 174,\n                        \"name\": \"Online - POS\"\n                    },\n                    \"name\": \"Conf - POS (System)\"\n                },\n                \"quot_id\": {\n                    \"id\": 384,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-04-28\",\n                    \"contact_id\": {\n                        \"id\": 770,\n                        \"categ_id\": null,\n                        \"name\": \"Frank lee\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3544,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 385,\n                    \"state\": \"draft\",\n                    \"date\": \"2022-04-29\",\n                    \"contact_id\": {\n                        \"id\": 772,\n                        \"categ_id\": null,\n                        \"name\": \"Allan\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3552,\n                \"product_id\": {\n                    \"id\": 850,\n                    \"code\": \"P-0002f\",\n                    \"categ_id\": {\n                        \"id\": 174,\n                        \"name\": \"Online - POS\"\n                    },\n                    \"name\": \"Conf - POS (System)\"\n                },\n                \"quot_id\": {\n                    \"id\": 386,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-04-29\",\n                    \"contact_id\": {\n                        \"id\": 674,\n                        \"categ_id\": null,\n                        \"name\": \"APEX KNOWLEDGE SDN. BHD.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3561,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 387,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-05-16\",\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 3568,\n                \"product_id\": {\n                    \"id\": 784,\n                    \"code\": \"P-0009a\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"quot_id\": {\n                    \"id\": 389,\n                    \"state\": \"won\",\n                    \"date\": \"2022-05-23\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 3,\n                \"amount\": 3180\n            },\n            {\n                \"id\": 3573,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 390,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-05-30\",\n                    \"contact_id\": {\n                        \"id\": 698,\n                        \"categ_id\": null,\n                        \"name\": \"Gruppe Marketing Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 3577,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 392,\n                    \"state\": \"lost\",\n                    \"date\": \"2022-06-01\",\n                    \"contact_id\": {\n                        \"id\": 784,\n                        \"categ_id\": null,\n                        \"name\": \"Bryan \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1500\n            },\n            {\n                \"id\": 3595,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 395,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-06-02\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 125\n            },\n            {\n                \"id\": 3599,\n                \"product_id\": {\n                    \"id\": 785,\n                    \"code\": \"P-0002d\",\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Conf - Purchase\"\n                },\n                \"quot_id\": {\n                    \"id\": 394,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-06-01\",\n                    \"contact_id\": {\n                        \"id\": 785,\n                        \"categ_id\": null,\n                        \"name\": \"Emerging EPC Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 18,\n                \"amount\": 36000\n            },\n            {\n                \"id\": 3609,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 396,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-06-08\",\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 3615,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 397,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-06-08\",\n                    \"contact_id\": {\n                        \"id\": 788,\n                        \"categ_id\": null,\n                        \"name\": \"Petersime \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 16000\n            },\n            {\n                \"id\": 3619,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 398,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-06-09\",\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3628,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 399,\n                    \"state\": \"won\",\n                    \"date\": \"2022-06-13\",\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 187.5\n            },\n            {\n                \"id\": 3639,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 402,\n                    \"state\": \"draft\",\n                    \"date\": \"2022-06-22\",\n                    \"contact_id\": {\n                        \"id\": 801,\n                        \"categ_id\": null,\n                        \"name\": \"Nam Tat Trading\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 12,\n                \"amount\": 8388\n            },\n            {\n                \"id\": 3642,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 403,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-06-22\",\n                    \"contact_id\": {\n                        \"id\": 803,\n                        \"categ_id\": null,\n                        \"name\": \"SULOMAS SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1600\n            },\n            {\n                \"id\": 3646,\n                \"product_id\": {\n                    \"id\": 785,\n                    \"code\": \"P-0002d\",\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Conf - Purchase\"\n                },\n                \"quot_id\": {\n                    \"id\": 404,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-07-07\",\n                    \"contact_id\": {\n                        \"id\": 785,\n                        \"categ_id\": null,\n                        \"name\": \"Emerging EPC Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 14,\n                \"amount\": 28000\n            },\n            {\n                \"id\": 3662,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 405,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-07-12\",\n                    \"contact_id\": {\n                        \"id\": 785,\n                        \"categ_id\": null,\n                        \"name\": \"Emerging EPC Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 30,\n                \"amount\": 60000\n            },\n            {\n                \"id\": 3670,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 406,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-07-18\",\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 3678,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 407,\n                    \"state\": \"lost\",\n                    \"date\": \"2022-01-27\",\n                    \"contact_id\": {\n                        \"id\": 568,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 50500\n            },\n            {\n                \"id\": 3691,\n                \"product_id\": {\n                    \"id\": 784,\n                    \"code\": \"P-0009a\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"quot_id\": {\n                    \"id\": 408,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-07-22\",\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1060\n            },\n            {\n                \"id\": 3696,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 410,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-09-28\",\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 500\n            },\n            {\n                \"id\": 3721,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 415,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-01\",\n                    \"contact_id\": {\n                        \"id\": 807,\n                        \"categ_id\": null,\n                        \"name\": \"J Fleur Blossom \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3725,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 411,\n                    \"state\": \"won\",\n                    \"date\": \"2022-08-01\",\n                    \"contact_id\": {\n                        \"id\": 805,\n                        \"categ_id\": null,\n                        \"name\": \"Al Junior Ventures Services Sdn.Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 3728,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 417,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-03\",\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2500\n            },\n            {\n                \"id\": 3742,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 420,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-10\",\n                    \"contact_id\": {\n                        \"id\": 816,\n                        \"categ_id\": null,\n                        \"name\": \"Kapten Batik\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 3787,\n                \"product_id\": {\n                    \"id\": 784,\n                    \"code\": \"P-0009a\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"quot_id\": {\n                    \"id\": 423,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-11\",\n                    \"contact_id\": {\n                        \"id\": 816,\n                        \"categ_id\": null,\n                        \"name\": \"Kapten Batik\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1060\n            },\n            {\n                \"id\": 3792,\n                \"product_id\": {\n                    \"id\": 785,\n                    \"code\": \"P-0002d\",\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Conf - Purchase\"\n                },\n                \"quot_id\": {\n                    \"id\": 424,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-11\",\n                    \"contact_id\": {\n                        \"id\": 818,\n                        \"categ_id\": null,\n                        \"name\": \"Heritage House Legacy Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 3800,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 425,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-12\",\n                    \"contact_id\": {\n                        \"id\": 820,\n                        \"categ_id\": null,\n                        \"name\": \"A Shutters \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 3816,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 427,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-17\",\n                    \"contact_id\": {\n                        \"id\": 823,\n                        \"categ_id\": null,\n                        \"name\": \"White Umbrella Sdn. Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3840,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 431,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-18\",\n                    \"contact_id\": {\n                        \"id\": 825,\n                        \"categ_id\": null,\n                        \"name\": \"YAL Bulk Packing Service\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3867,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 434,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-08-24\",\n                    \"contact_id\": {\n                        \"id\": 827,\n                        \"categ_id\": null,\n                        \"name\": \"SKY Blue Media\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 3874,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 435,\n                    \"state\": \"won\",\n                    \"date\": \"2022-08-30\",\n                    \"contact_id\": {\n                        \"id\": 785,\n                        \"categ_id\": null,\n                        \"name\": \"Emerging EPC Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 30,\n                \"amount\": 60000\n            },\n            {\n                \"id\": 3890,\n                \"product_id\": {\n                    \"id\": 773,\n                    \"code\": \"P-0010b\",\n                    \"categ_id\": null,\n                    \"name\": \"Essential Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 437,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-09-05\",\n                    \"contact_id\": {\n                        \"id\": 832,\n                        \"categ_id\": null,\n                        \"name\": \"Sanko Plastic (Malaysia) Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1199\n            },\n            {\n                \"id\": 3904,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 439,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-19\",\n                    \"contact_id\": {\n                        \"id\": 833,\n                        \"categ_id\": null,\n                        \"name\": \"CY Plastic \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 40000\n            },\n            {\n                \"id\": 3913,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 440,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-09-14\",\n                    \"contact_id\": {\n                        \"id\": 835,\n                        \"categ_id\": null,\n                        \"name\": \"Hayat AutoTech \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 700\n            },\n            {\n                \"id\": 3919,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 442,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-09-21\",\n                    \"contact_id\": {\n                        \"id\": 839,\n                        \"categ_id\": null,\n                        \"name\": \"ifixtech \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 5200\n            },\n            {\n                \"id\": 3927,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 443,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-09-21\",\n                    \"contact_id\": {\n                        \"id\": 841,\n                        \"categ_id\": null,\n                        \"name\": \"Estilo Media\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 3947,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 444,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-09-22\",\n                    \"contact_id\": {\n                        \"id\": 843,\n                        \"categ_id\": null,\n                        \"name\": \"Domos\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 3954,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 445,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-09-26\",\n                    \"contact_id\": {\n                        \"id\": 846,\n                        \"categ_id\": null,\n                        \"name\": \"Nura \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 3970,\n                \"product_id\": {\n                    \"id\": 785,\n                    \"code\": \"P-0002d\",\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Conf - Purchase\"\n                },\n                \"quot_id\": {\n                    \"id\": 448,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-09-26\",\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4007,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 451,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-09-30\",\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 0,\n                \"amount\": null\n            },\n            {\n                \"id\": 4011,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 452,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-09-30\",\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 499\n            },\n            {\n                \"id\": 4035,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 455,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-05\",\n                    \"contact_id\": {\n                        \"id\": 855,\n                        \"categ_id\": null,\n                        \"name\": \"Grand Continental Hotel\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4044,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 458,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-11\",\n                    \"contact_id\": {\n                        \"id\": 858,\n                        \"categ_id\": null,\n                        \"name\": \"Red Dino\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 4047,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 459,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-14\",\n                    \"contact_id\": {\n                        \"id\": 859,\n                        \"categ_id\": null,\n                        \"name\": \"SNS Medica\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1500\n            },\n            {\n                \"id\": 4069,\n                \"product_id\": {\n                    \"id\": 955,\n                    \"code\": \"P-0002X\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Fulfilment Module\"\n                },\n                \"quot_id\": {\n                    \"id\": 465,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-18\",\n                    \"contact_id\": {\n                        \"id\": 866,\n                        \"categ_id\": null,\n                        \"name\": \"DGB Networks Sdn.Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4077,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 466,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-19\",\n                    \"contact_id\": {\n                        \"id\": 869,\n                        \"categ_id\": null,\n                        \"name\": \"Link Learn\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4081,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 467,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-10-24\",\n                    \"contact_id\": {\n                        \"id\": 870,\n                        \"categ_id\": null,\n                        \"name\": \"Newton Technology Group\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 799\n            },\n            {\n                \"id\": 4084,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 468,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-26\",\n                    \"contact_id\": {\n                        \"id\": 874,\n                        \"categ_id\": null,\n                        \"name\": \"Techstream Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4092,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 469,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-10-26\",\n                    \"contact_id\": {\n                        \"id\": 877,\n                        \"categ_id\": null,\n                        \"name\": \"Rurutiki Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 4132,\n                \"product_id\": {\n                    \"id\": 785,\n                    \"code\": \"P-0002d\",\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Conf - Purchase\"\n                },\n                \"quot_id\": {\n                    \"id\": 472,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-01\",\n                    \"contact_id\": {\n                        \"id\": 879,\n                        \"categ_id\": null,\n                        \"name\": \"eMed Asia\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4138,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 473,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-02\",\n                    \"contact_id\": {\n                        \"id\": 881,\n                        \"categ_id\": null,\n                        \"name\": \"Property & Food \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 4161,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 477,\n                    \"state\": \"won\",\n                    \"date\": \"2022-11-10\",\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 0,\n                \"amount\": null\n            },\n            {\n                \"id\": 4167,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 478,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-10\",\n                    \"contact_id\": {\n                        \"id\": 884,\n                        \"categ_id\": null,\n                        \"name\": \"Koputra\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4171,\n                \"product_id\": {\n                    \"id\": 955,\n                    \"code\": \"P-0002X\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Fulfilment Module\"\n                },\n                \"quot_id\": {\n                    \"id\": 479,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-14\",\n                    \"contact_id\": {\n                        \"id\": 866,\n                        \"categ_id\": null,\n                        \"name\": \"DGB Networks Sdn.Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4182,\n                \"product_id\": {\n                    \"id\": 955,\n                    \"code\": \"P-0002X\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Fulfilment Module\"\n                },\n                \"quot_id\": {\n                    \"id\": 480,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-15\",\n                    \"contact_id\": {\n                        \"id\": 866,\n                        \"categ_id\": null,\n                        \"name\": \"DGB Networks Sdn.Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4193,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"code\": \"P-0002e\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"quot_id\": {\n                    \"id\": 481,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-16\",\n                    \"contact_id\": {\n                        \"id\": 887,\n                        \"categ_id\": null,\n                        \"name\": \"GPE Tech Solution \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4212,\n                \"product_id\": {\n                    \"id\": 955,\n                    \"code\": \"P-0002X\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Fulfilment Module\"\n                },\n                \"quot_id\": {\n                    \"id\": 486,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-11-30\",\n                    \"contact_id\": {\n                        \"id\": 900,\n                        \"categ_id\": null,\n                        \"name\": \"Utopia Valley Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4218,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 487,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-12-02\",\n                    \"contact_id\": {\n                        \"id\": 899,\n                        \"categ_id\": null,\n                        \"name\": \"CK Rahim Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4232,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 483,\n                    \"state\": \"won\",\n                    \"date\": \"2022-12-08\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 4239,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 490,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-12-09\",\n                    \"contact_id\": {\n                        \"id\": 904,\n                        \"categ_id\": null,\n                        \"name\": \"Eco & Green Exhibition Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 4242,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 491,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-12-13\",\n                    \"contact_id\": {\n                        \"id\": 906,\n                        \"categ_id\": null,\n                        \"name\": \"Gintell (M) Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4253,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 493,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-12-16\",\n                    \"contact_id\": {\n                        \"id\": 908,\n                        \"categ_id\": null,\n                        \"name\": \"Emax Beaute international Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4258,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 495,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-12-22\",\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 40000\n            },\n            {\n                \"id\": 4261,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 496,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-12-01\",\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 50000\n            },\n            {\n                \"id\": 4269,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 498,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-12-22\",\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 4000\n            },\n            {\n                \"id\": 4281,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 500,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-12-23\",\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 20000\n            },\n            {\n                \"id\": 4295,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 504,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-12-26\",\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 4309,\n                \"product_id\": {\n                    \"id\": 810,\n                    \"code\": \"P-0002k\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Service\"\n                },\n                \"quot_id\": {\n                    \"id\": 506,\n                    \"state\": \"approved\",\n                    \"date\": \"2022-12-28\",\n                    \"contact_id\": {\n                        \"id\": 920,\n                        \"categ_id\": null,\n                        \"name\": \"Seasonings Specialities Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 4316,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 507,\n                    \"state\": \"revised\",\n                    \"date\": \"2022-12-29\",\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 4328,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 508,\n                    \"state\": \"draft\",\n                    \"date\": \"2023-01-04\",\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 300\n            },\n            {\n                \"id\": 4331,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 509,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-01-09\",\n                    \"contact_id\": {\n                        \"id\": 923,\n                        \"categ_id\": null,\n                        \"name\": \"SP REAL TRADE\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4346,\n                \"product_id\": {\n                    \"id\": 785,\n                    \"code\": \"P-0002d\",\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Conf - Purchase\"\n                },\n                \"quot_id\": {\n                    \"id\": 512,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-01-19\",\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4361,\n                \"product_id\": {\n                    \"id\": 810,\n                    \"code\": \"P-0002k\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Service\"\n                },\n                \"quot_id\": {\n                    \"id\": 514,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-01-19\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 4372,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 516,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-01-27\",\n                    \"contact_id\": {\n                        \"id\": 927,\n                        \"categ_id\": null,\n                        \"name\": \"Sklew Biotech\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4381,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 517,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-02-02\",\n                    \"contact_id\": {\n                        \"id\": 931,\n                        \"categ_id\": null,\n                        \"name\": \"Elfi Jewellery\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 180\n            },\n            {\n                \"id\": 4390,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 518,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-02-09\",\n                    \"contact_id\": {\n                        \"id\": 934,\n                        \"categ_id\": null,\n                        \"name\": \"OUS Group\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4395,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"code\": \"P-0010a\",\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 519,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-02-09\",\n                    \"contact_id\": {\n                        \"id\": 936,\n                        \"categ_id\": null,\n                        \"name\": \"Tom - Ministry Of Finance\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 60,\n                \"amount\": 60000\n            },\n            {\n                \"id\": 4420,\n                \"product_id\": {\n                    \"id\": 846,\n                    \"code\": \"P-0002p\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Power BI Setup \"\n                },\n                \"quot_id\": {\n                    \"id\": 522,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-02-13\",\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 40000\n            },\n            {\n                \"id\": 4428,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 523,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-02-14\",\n                    \"contact_id\": {\n                        \"id\": 937,\n                        \"categ_id\": null,\n                        \"name\": \"SYSTEMATIC AVIATION SERVICES SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 10000\n            },\n            {\n                \"id\": 4434,\n                \"product_id\": {\n                    \"id\": 785,\n                    \"code\": \"P-0002d\",\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Conf - Purchase\"\n                },\n                \"quot_id\": {\n                    \"id\": 524,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-09\",\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4447,\n                \"product_id\": {\n                    \"id\": 810,\n                    \"code\": \"P-0002k\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Service\"\n                },\n                \"quot_id\": {\n                    \"id\": 525,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-02-15\",\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 4455,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 526,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-02-16\",\n                    \"contact_id\": {\n                        \"id\": 939,\n                        \"categ_id\": null,\n                        \"name\": \"Red Dino \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": null\n            },\n            {\n                \"id\": 4458,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 527,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-02-21\",\n                    \"contact_id\": {\n                        \"id\": 1002,\n                        \"categ_id\": null,\n                        \"name\": \"KLAY ENERSOL SDN. BHD.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4463,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 528,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-02-23\",\n                    \"contact_id\": {\n                        \"id\": 945,\n                        \"categ_id\": null,\n                        \"name\": \"Lion Machinery Supply Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4468,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 529,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-02-28\",\n                    \"contact_id\": {\n                        \"id\": 947,\n                        \"categ_id\": null,\n                        \"name\": \"FrogAsia \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 4473,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 530,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-07\",\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 500\n            },\n            {\n                \"id\": 4481,\n                \"product_id\": {\n                    \"id\": 846,\n                    \"code\": \"P-0002p\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Power BI Setup \"\n                },\n                \"quot_id\": {\n                    \"id\": 531,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-03-03\",\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 40000\n            },\n            {\n                \"id\": 4502,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 533,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-07\",\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1500\n            },\n            {\n                \"id\": 4518,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 532,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-08\",\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 4522,\n                \"product_id\": {\n                    \"id\": 773,\n                    \"code\": \"P-0010b\",\n                    \"categ_id\": null,\n                    \"name\": \"Essential Subs\"\n                },\n                \"quot_id\": {\n                    \"id\": 536,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-05-17\",\n                    \"contact_id\": {\n                        \"id\": 952,\n                        \"categ_id\": null,\n                        \"name\": \"SaniChem Resources Sdn. Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 40650\n            },\n            {\n                \"id\": 4531,\n                \"product_id\": {\n                    \"id\": 846,\n                    \"code\": \"P-0002p\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Power BI Setup \"\n                },\n                \"quot_id\": {\n                    \"id\": 538,\n                    \"state\": \"draft\",\n                    \"date\": \"2023-03-09\",\n                    \"contact_id\": {\n                        \"id\": 954,\n                        \"categ_id\": null,\n                        \"name\": \"Namicoh Suria Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 40000\n            },\n            {\n                \"id\": 4545,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 540,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-03-13\",\n                    \"contact_id\": {\n                        \"id\": 956,\n                        \"categ_id\": null,\n                        \"name\": \"SMH RAIL SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4553,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 541,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-03-14\",\n                    \"contact_id\": {\n                        \"id\": 961,\n                        \"categ_id\": null,\n                        \"name\": \"Ashvertising Marketing\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 4557,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 537,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-15\",\n                    \"contact_id\": {\n                        \"id\": 698,\n                        \"categ_id\": null,\n                        \"name\": \"Gruppe Marketing Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 4568,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 545,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-20\",\n                    \"contact_id\": {\n                        \"id\": 698,\n                        \"categ_id\": null,\n                        \"name\": \"Gruppe Marketing Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 1000\n            },\n            {\n                \"id\": 4579,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 547,\n                    \"state\": \"draft\",\n                    \"date\": \"2023-03-22\",\n                    \"contact_id\": {\n                        \"id\": 705,\n                        \"categ_id\": null,\n                        \"name\": \"Austin Powder Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1.5,\n                \"amount\": 3000\n            },\n            {\n                \"id\": 4595,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 548,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-03-23\",\n                    \"contact_id\": {\n                        \"id\": 967,\n                        \"categ_id\": null,\n                        \"name\": \"Hipple (Asia Pacific) Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7000\n            },\n            {\n                \"id\": 4613,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 553,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-03-27\",\n                    \"contact_id\": {\n                        \"id\": 927,\n                        \"categ_id\": null,\n                        \"name\": \"Sklew Biotech\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4622,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 556,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-03-29\",\n                    \"contact_id\": {\n                        \"id\": 973,\n                        \"categ_id\": null,\n                        \"name\": \"QRZ MotorSports \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 4627,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 557,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-03-30\",\n                    \"contact_id\": {\n                        \"id\": 975,\n                        \"categ_id\": null,\n                        \"name\": \"Kendek Products\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4651,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 565,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-04-19\",\n                    \"contact_id\": {\n                        \"id\": 973,\n                        \"categ_id\": null,\n                        \"name\": \"QRZ MotorSports \"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 8000\n            },\n            {\n                \"id\": 4660,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 566,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-04-20\",\n                    \"contact_id\": {\n                        \"id\": 986,\n                        \"categ_id\": null,\n                        \"name\": \"TDC AUTOMOBILE SDN BHD\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 6000\n            },\n            {\n                \"id\": 4663,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 554,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-05-11\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 4666,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 567,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-05-11\",\n                    \"contact_id\": {\n                        \"id\": 992,\n                        \"categ_id\": null,\n                        \"name\": \"ST Engineering \"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 5000\n            },\n            {\n                \"id\": 4672,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 568,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-05-11\",\n                    \"contact_id\": {\n                        \"id\": 995,\n                        \"categ_id\": null,\n                        \"name\": \"WWRC\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 4683,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 569,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-05-12\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 15000\n            },\n            {\n                \"id\": 4701,\n                \"product_id\": {\n                    \"id\": 784,\n                    \"code\": \"P-0009a\",\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"quot_id\": {\n                    \"id\": 570,\n                    \"state\": \"won\",\n                    \"date\": \"2023-05-13\",\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 2,\n                \"amount\": 2120\n            },\n            {\n                \"id\": 4724,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"code\": \"P-0003b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"quot_id\": {\n                    \"id\": 572,\n                    \"state\": \"lost\",\n                    \"date\": \"2023-05-17\",\n                    \"contact_id\": {\n                        \"id\": 1000,\n                        \"categ_id\": null,\n                        \"name\": \"Exceltech Food Trading Sdn Bhd\"\n                    },\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            },\n            {\n                \"id\": 4730,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"code\": \"P-0002h\",\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"quot_id\": {\n                    \"id\": 573,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-05-18\",\n                    \"contact_id\": {\n                        \"id\": 1002,\n                        \"categ_id\": null,\n                        \"name\": \"KLAY ENERSOL SDN. BHD.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 10,\n                \"amount\": 20000\n            },\n            {\n                \"id\": 4745,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"code\": \"P-0002b\",\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"quot_id\": {\n                    \"id\": 574,\n                    \"state\": \"approved\",\n                    \"date\": \"2023-05-23\",\n                    \"contact_id\": {\n                        \"id\": 1005,\n                        \"categ_id\": null,\n                        \"name\": \"Tayopack Sdn. Bhd.\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 60000\n            },\n            {\n                \"id\": 4754,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"code\": \"P-0004\",\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"quot_id\": {\n                    \"id\": 575,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-05-23\",\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 7800\n            },\n            {\n                \"id\": 4764,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"code\": \"P-0002e\",\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"quot_id\": {\n                    \"id\": 576,\n                    \"state\": \"revised\",\n                    \"date\": \"2023-05-23\",\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    }\n                },\n                \"qty\": 1,\n                \"amount\": 2000\n            }\n        ],\n        3238\n    ],\n    \"error\": null,\n    \"id\": 1695019996631,\n    \"dt\": 159\n}"}],"_postman_id":"16cf8443-a487-4fb1-87d6-cfbc3a825f01"},{"name":"params/report.custom/search_read","id":"24d88ac6-697b-4367-ab56-f53b7660a640","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695019996634,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"sale.quot.line\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 11:53:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.custom\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"code\",</strong></strong>\"=\",<strong>**\"sale.quot.line\"<strong><strong>]</strong></strong>],<strong><strong>[</strong></strong>\"name\",**</strong>\"config\"<strong><strong>]</strong></strong>],****{},**</p>\n<ol>\n<li><strong>\"report.custom\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"report.custom,\" which likely refers to a module or entity related to custom reports or configurations within the system. This module might be responsible for generating custom reports or managing custom configurations.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[[\"code\", \"=\", \"sale.quot.line\"]], [\"name\", \"config\"]]:</strong> This is the third parameter, which consists of two lists:</li>\n<li>The first list, <code>[[[\"code\", \"=\", \"sale.quot.line\"]]]</code>, forms the search domain. It contains one condition: <code>[\"code\", \"=\", \"sale.quot.line\"]</code>, which filters records where the \"code\" attribute equals \"sale.quot.line.\" This condition narrows down the selection to records associated with a specific code or identifier, in this case, \"sale.quot.line.\"<ol>\n<li><strong>\"code\":</strong> This represents a field or attribute within the \"report.custom\" entity, which is used to categorize or identify custom reports or configurations.</li>\n<li><strong>\"=\":</strong> This is an operator used in the condition and signifies equality. It's used to compare the field on the left with the value on the right to check if they are equal.</li>\n<li><strong>\"sale.quot.line\":</strong> This is the value against which the \"code\" field is being compared. In this condition, it's checking if the \"code\" field is equal to the value \"sale.quot.line.\"</li>\n</ol>\n</li>\n<li>The second list, <code>[\"name\", \"config\"]</code>, specifies the fields (attributes) of the records to be included in the response. These attributes relate to custom report or configuration records that the request aims to retrieve:<ol>\n<li><strong>\"name\":</strong> Represents the name or title associated with the custom report or configuration. It indicates the name of the specific report or configuration.</li>\n<li><strong>\"config\":</strong> Likely represents specific configuration settings or details related to the custom report or configuration.</li>\n</ol>\n</li>\n<li><strong>{}:</strong> This is the fourth parameter and represents an empty dictionary. In Odoo and similar systems, this section can be used to pass additional options or context information to the search_read operation. In this specific request, no additional context or options are provided.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"report.custom\" entity, which is likely related to custom reports or configurations. It filters records based on the \"code\" attribute equaling \"sale.quot.line,\" indicating a specific category or identifier for these records. The request specifies the attributes \"name\" and \"config\" to include in the response. No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"0f3478c9-a0df-4c66-98db-6e284d0dddd7","name":"params/report.custom/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695019996634,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"sale.quot.line\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 11:53:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 18 Sep 2023 07:03:37 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=D5snWN23nSkQQ3Nrvwsd3nC4LGcI8oesgmYKcxlIKpN%2F3jXNK0t7vVfymrpJ1dxuEAIN3pHM0YX1XlQ4c6ilxcTOvCnzknzSUCWfAINju7gcdjrQu8Ttj0sBtwEzD0P%2BKZCEXClHsotdC76uIQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8087bae93eac3fc3-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1695019996634,\n    \"dt\": 6\n}"}],"_postman_id":"24d88ac6-697b-4367-ab56-f53b7660a640"}],"id":"e9e6c85d-88e0-4aaf-b73e-bf7dacbc5db7","_postman_id":"e9e6c85d-88e0-4aaf-b73e-bf7dacbc5db7","description":""},{"name":"Sales Order Analysis","item":[{"name":"params/sale.order/search_read_path","id":"28d65216-b77a-4442-ac76-4039d1528c3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695022839754,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.order\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"number\",\r\n                \"contact_id.name\",\r\n                \"contact_id.categ_id.name\",\r\n                \"contact_id.categ_id.description\",\r\n                \"state\",\r\n                \"user_id.name\",\r\n                \"date\",\r\n                \"date_week\",\r\n                \"date_month\",\r\n                \"due_date\",\r\n                \"due_date_weekday\",\r\n                \"amount_total\",\r\n                \"cost_amount\",\r\n                \"profit_amount\",\r\n                \"seller_id\",\r\n                \"ship_port_id.name\",\r\n                \"other_info\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 12:39:25\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"sale.order\",<strong>**\"search_read_path\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"number\",**</strong>\"contact_id.name\",<strong><strong>\"contact_id.categ_id.name\",</strong></strong>\"contact_id.categ_id.description\",<strong><strong>\"state\",</strong></strong>\"user_id.name\",<strong><strong>\"date\",</strong></strong>\"date_week\",<strong><strong>\"date_month\",</strong></strong>\"due_date\",<strong><strong>\"due_date_weekday\",</strong></strong>\"amount_total\",<strong><strong>\"cost_amount\",</strong></strong>\"profit_amount\",<strong><strong>\"seller_id\",</strong></strong>\"ship_port_id.name\",<strong>**\"other_info\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"count\": true,</strong></strong>\"limit\": 1000,<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"sale.order\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"sale.order,\" which likely refers to a module or entity related to sales orders. Sales orders represent customer orders for products or services.</li>\n<li><strong>\"search_read_path\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read_path\" appears to be a specific action or method used in the system. While \"search_read\" is commonly used for retrieving records based on criteria, \"search_read_path\" might indicate a custom or extended functionality for retrieving records in a specific manner.</li>\n<li><strong>[[], [\"number\", \"contact_id.name\", \"contact_id.categ_id.name\", \"contact_id.categ_id.description\", \"state\", \"user_id.name\", \"date\", \"date_week\", \"date_month\", \"due_date\", \"due_date_weekday\", \"amount_total\", \"cost_amount\", \"profit_amount\", \"seller_id\", \"ship_port_id.name\", \"other_info\"]]:</strong> This is the third parameter, which consists of two lists:</li>\n<li>The first list, <code>[]</code>, forms the search domain. It contains an empty inner list, <code>[]</code>. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved. This implies that the request aims to retrieve all records without any specific filtering criteria based on field values.</li>\n<li>The second list, <code>[\"number\", \"contact_id.name\", \"contact_id.categ_id.name\", \"contact_id.categ_id.description\", \"state\", \"user_id.name\", \"date\", \"date_week\", \"date_month\", \"due_date\", \"due_date_weekday\", \"amount_total\", \"cost_amount\", \"profit_amount\", \"seller_id\", \"ship_port_id.name\", \"other_info\"]</code>, specifies the fields (attributes) of the records to be included in the response. These attributes relate to sales order records that the request aims to retrieve:<ol>\n<li><strong>\"number\":</strong> Represents the order number or identifier associated with the sales order.</li>\n<li><strong>\"contact_id.name\":</strong> Indicates the name of the contact or customer associated with the sales order.</li>\n<li><strong>\"contact_id.categ_id.name\":</strong> Represents the name of the category or classification associated with the contact. It provides information about the type or category of the contact.</li>\n<li><strong>\"contact_id.categ_id.description\":</strong> Likely represents a description or additional details related to the category or classification of the contact.</li>\n<li><strong>\"state\":</strong> Represents the state or status of the sales order, indicating whether it's open, approved, or in another state.</li>\n<li><strong>\"user_id.name\":</strong> This appears to be a nested field where \"user_id\" is a reference to a user associated with the sales order, and \"name\" is a field within that user record. It may represent the name of the user responsible for managing the sales order.</li>\n<li><strong>\"date,\" \"date_week,\" and \"date_month\":</strong> These fields likely represent date-related attributes, with \"date\" indicating the order date and \"date_week\" and \"date_month\" possibly representing the week and month associated with the order date.</li>\n<li><strong>\"due_date\" and \"due_date_weekday\":</strong> These fields likely represent the due date of the sales order and the weekday on which it falls.</li>\n<li><strong>\"amount_total\":</strong> Indicates the total amount or value associated with the sales order.</li>\n<li><strong>\"cost_amount\" and \"profit_amount\":</strong> These fields may represent the cost and profit amounts associated with the sales order, providing financial information.</li>\n<li><strong>\"seller_id\":</strong> Represents the seller or salesperson associated with the sales order.</li>\n<li><strong>\"ship_port_id.name\":</strong> Indicates the name of the shipping port associated with the sales order, which may be relevant for logistics and shipping.</li>\n<li><strong>\"other_info\":</strong> This field is not specified in detail but likely contains additional information or notes related to the sales order.</li>\n</ol>\n</li>\n<li><strong>{\"count\": true, \"limit\": 1000, \"context\": {}}:</strong> This is the fourth parameter and represents a dictionary with various options:<ol>\n<li><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. It facilitates the counting of sales order records.</li>\n<li><strong>\"limit\": 1000:</strong> The \"limit\" option sets a limit of 1000 records to be fetched in a single request. If there are more matching records, additional requests may be needed to retrieve them.</li>\n<li><strong>\"context\": {}:</strong> Represents an empty context, which can be used to pass additional options or context information to the search_read_path operation. In this request, no additional context or options are provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"sale.order\" entity, which is related to sales orders. It retrieves all sales order records without any specific filtering criteria based on field values and specifies the attributes of these sales orders to include in the response. Additionally, it requests the total count of all sales orders, sets a limit of 1000 records for retrieval, and does not provide any additional context or options.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"3aba52f0-070f-485a-be88-0bcab9190596","name":"params/sale.order/search_read_path","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695022839754,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.order\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"number\",\r\n                \"contact_id.name\",\r\n                \"contact_id.categ_id.name\",\r\n                \"contact_id.categ_id.description\",\r\n                \"state\",\r\n                \"user_id.name\",\r\n                \"date\",\r\n                \"date_week\",\r\n                \"date_month\",\r\n                \"due_date\",\r\n                \"due_date_weekday\",\r\n                \"amount_total\",\r\n                \"cost_amount\",\r\n                \"profit_amount\",\r\n                \"seller_id\",\r\n                \"ship_port_id.name\",\r\n                \"other_info\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 12:39:25\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 18 Sep 2023 07:45:57 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=L1z6MM%2BBdhYzCwSBjRz7hoAgi3BpusVYhsQLdZy1Ka9EeAQU3rvkAe09igon7SDHuz9Vn%2F2Tk0Y6ubcWpBh5YcwrspR%2FbtfIbwgTtnJI5JUdlWXifx1aCq%2F5uOmPv5soCcl3FSeMGRK9CTo3Lg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8087f8eb784ea03c-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 161,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 1061,\n                    \"categ_id\": null,\n                    \"name\": \"Javeria\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 97,\n                    \"name\": \"Asad Ali\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 3,\n                \"date\": \"2023-08-14\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0135\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 10,\n                \"profit_amount\": -7,\n                \"margin_percent\": -233.33333333333334,\n                \"date_week\": \"2023-W33\",\n                \"date_month\": \"2023-08\"\n            },\n            {\n                \"id\": 139,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 421,\n                    \"categ_id\": null,\n                    \"name\": \"Syuhada\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 8,\n                    \"name\": \"Admin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 1000,\n                \"date\": \"2023-08-10\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"TEST KHAL\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 10,\n                \"profit_amount\": 990,\n                \"margin_percent\": 99,\n                \"date_week\": \"2023-W32\",\n                \"date_month\": \"2023-08\"\n            },\n            {\n                \"id\": 160,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 421,\n                    \"categ_id\": null,\n                    \"name\": \"Syuhada\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 97,\n                    \"name\": \"Asad Ali\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 0,\n                \"date\": \"2023-08-10\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0134\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 0,\n                \"margin_percent\": null,\n                \"date_week\": \"2023-W32\",\n                \"date_month\": \"2023-08\"\n            },\n            {\n                \"id\": 159,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 890,\n                    \"categ_id\": null,\n                    \"name\": \"LTI Resources Sdn. Bhd.\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 38160,\n                \"date\": \"2023-08-02\",\n                \"seller_id\": null,\n                \"other_info\": \"\",\n                \"number\": \"SO-0133\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 36000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2023-W31\",\n                \"date_month\": \"2023-08\"\n            },\n            {\n                \"id\": 158,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 890,\n                    \"categ_id\": null,\n                    \"name\": \"LTI Resources Sdn. Bhd.\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 2859.88,\n                \"date\": \"2023-07-18\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0132\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 2698,\n                \"margin_percent\": 100,\n                \"date_week\": \"2023-W29\",\n                \"date_month\": \"2023-07\"\n            },\n            {\n                \"id\": 157,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 949,\n                    \"categ_id\": null,\n                    \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 17800,\n                \"date\": \"2023-07-14\",\n                \"seller_id\": null,\n                \"other_info\": \"Payment Terms:\\n\\n80% Desposit \\n20% After Implementation and sign off\",\n                \"number\": \"SO-0131\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 17800,\n                \"margin_percent\": 100,\n                \"date_week\": \"2023-W28\",\n                \"date_month\": \"2023-07\"\n            },\n            {\n                \"id\": 156,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 68776.94,\n                \"date\": \"2023-07-11\",\n                \"seller_id\": null,\n                \"other_info\": \"\",\n                \"number\": \"SO-0130\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 66929,\n                \"margin_percent\": 100,\n                \"date_week\": \"2023-W28\",\n                \"date_month\": \"2023-07\"\n            },\n            {\n                \"id\": 155,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 848,\n                    \"categ_id\": null,\n                    \"name\": \"Celovis Malaysia \"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 54219,\n                \"date\": \"2023-07-05\",\n                \"seller_id\": null,\n                \"other_info\": \"Project Timeline:\\n- 4 to 6 Months \\n\\nPayment Terms \\n- 30% upfront \\n- Remaining project fees will be divided based on the total sprint (the payment will be pay at the end of every sprint)\",\n                \"number\": \"SO-0129\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 51150,\n                \"margin_percent\": 100,\n                \"date_week\": \"2023-W27\",\n                \"date_month\": \"2023-07\"\n            },\n            {\n                \"id\": 154,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 785,\n                    \"categ_id\": null,\n                    \"name\": \"Emerging EPC Sdn Bhd\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 785036,\n                \"date\": \"2023-07-04\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0128\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 740600,\n                \"margin_percent\": 100,\n                \"date_week\": \"2023-W27\",\n                \"date_month\": \"2023-07\"\n            },\n            {\n                \"id\": 153,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 927,\n                    \"categ_id\": null,\n                    \"name\": \"Sklew Biotech\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 26817.15,\n                \"date\": \"2023-06-27\",\n                \"seller_id\": null,\n                \"other_info\": \"Project Timeline: \\n1 - 2 Months \\n\\nPayment Terms:\\n- 50% Above \\n- 50% After Completion \",\n                \"number\": \"SO-0127\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 25299.2,\n                \"margin_percent\": 100,\n                \"date_week\": \"2023-W26\",\n                \"date_month\": \"2023-06\"\n            },\n            {\n                \"id\": 152,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 1024,\n                    \"categ_id\": null,\n                    \"name\": \"CAF Food Products Sdn. Bhd.\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 212697,\n                \"date\": \"2023-06-22\",\n                \"seller_id\": null,\n                \"other_info\": \"\",\n                \"number\": \"SO-0126\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 201240,\n                \"margin_percent\": 100,\n                \"date_week\": \"2023-W25\",\n                \"date_month\": \"2023-06\"\n            },\n            {\n                \"id\": 150,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 913,\n                    \"categ_id\": null,\n                    \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 260197,\n                \"date\": \"2023-06-17\",\n                \"seller_id\": null,\n                \"other_info\": \"\",\n                \"number\": \"SO-0124\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 246640,\n                \"margin_percent\": 100,\n                \"date_week\": \"2023-W24\",\n                \"date_month\": \"2023-06\"\n            },\n            {\n                \"id\": 151,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 997,\n                    \"categ_id\": null,\n                    \"name\": \"Dialog Diyou PCR Sdn Bhd\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 64122.56,\n                \"date\": \"2023-06-01\",\n                \"seller_id\": null,\n                \"other_info\": \"\",\n                \"number\": \"SO-0125\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 61136,\n                \"margin_percent\": 100,\n                \"date_week\": \"2023-W22\",\n                \"date_month\": \"2023-06\"\n            },\n            {\n                \"id\": 149,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 949,\n                    \"categ_id\": null,\n                    \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 100000,\n                \"date\": \"2023-05-25\",\n                \"seller_id\": null,\n                \"other_info\": \"Payment Terms:\\n\\n30% Start of the Project \\n60% Start of the UAT\\n10% After Implementation and sign off\",\n                \"number\": \"SO-0123\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 100000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2023-W21\",\n                \"date_month\": \"2023-05\"\n            },\n            {\n                \"id\": 148,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 952,\n                    \"categ_id\": null,\n                    \"name\": \"SaniChem Resources Sdn. Bhd.\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 356169,\n                \"date\": \"2023-05-22\",\n                \"seller_id\": null,\n                \"other_info\": \"PAYMENT PLAN\\n1) 30%: Upon order confirmation\\n2) 40% : After training and before UAT starts\\n3) Remaining balance + First year annual fee : After UAT sign off \\n\",\n                \"number\": \"SO-0122\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 337470,\n                \"margin_percent\": 100,\n                \"date_week\": \"2023-W21\",\n                \"date_month\": \"2023-05\"\n            },\n            {\n                \"id\": 146,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 790,\n                    \"categ_id\": null,\n                    \"name\": \"Gapurnapermai (Costa Coffe)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 4028,\n                \"date\": \"2023-04-04\",\n                \"seller_id\": null,\n                \"other_info\": \"The quotation above is issued for the new modification request\",\n                \"number\": \"SO-0121\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 3800,\n                \"margin_percent\": 100,\n                \"date_week\": \"2023-W14\",\n                \"date_month\": \"2023-04\"\n            },\n            {\n                \"id\": 145,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 185.5,\n                \"date\": \"2023-04-04\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0120\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 175,\n                \"margin_percent\": 100,\n                \"date_week\": \"2023-W14\",\n                \"date_month\": \"2023-04\"\n            },\n            {\n                \"id\": 143,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 832,\n                    \"categ_id\": null,\n                    \"name\": \"Sanko Plastic (Malaysia) Sdn Bhd\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 3900,\n                \"date\": \"2023-03-20\",\n                \"seller_id\": null,\n                \"other_info\": \"PO Number: PO220515\",\n                \"number\": \"SO-0119\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 3900,\n                \"margin_percent\": 100,\n                \"date_week\": \"2023-W12\",\n                \"date_month\": \"2023-03\"\n            },\n            {\n                \"id\": 142,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 927,\n                    \"categ_id\": null,\n                    \"name\": \"Sklew Biotech\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 15369.58,\n                \"date\": \"2023-03-16\",\n                \"seller_id\": null,\n                \"other_info\": \"Project Timeline: \\n1 - 2 Months \\n\\nPayment Terms:\\n- 50% Above \\n- 50% After Completion \",\n                \"number\": \"SO-0118\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 14499.6,\n                \"margin_percent\": 100,\n                \"date_week\": \"2023-W11\",\n                \"date_month\": \"2023-03\"\n            },\n            {\n                \"id\": 141,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 949,\n                    \"categ_id\": null,\n                    \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 74076.28,\n                \"date\": \"2023-03-15\",\n                \"seller_id\": null,\n                \"other_info\": \"Payment Terms:\\n\\n30% Start of the Project \\n60% Start of the UAT\\n10% After Implementation and sign off\",\n                \"number\": \"SO-0117\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 70237,\n                \"margin_percent\": 100,\n                \"date_week\": \"2023-W11\",\n                \"date_month\": \"2023-03\"\n            },\n            {\n                \"id\": 140,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 465,\n                    \"categ_id\": null,\n                    \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 41340,\n                \"date\": \"2023-01-31\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0116\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 39000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2023-W05\",\n                \"date_month\": \"2023-01\"\n            },\n            {\n                \"id\": 138,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 568,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 2650,\n                \"date\": \"2022-12-21\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0115\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 2500,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W51\",\n                \"date_month\": \"2022-12\"\n            },\n            {\n                \"id\": 137,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 853,\n                    \"categ_id\": null,\n                    \"name\": \"Bosch Malaysia\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 15370,\n                \"date\": \"2022-12-14\",\n                \"seller_id\": null,\n                \"other_info\": \"Data Security: \\n- SmartB development team will not have direct access to the database. For any support task we will be doing it on\\n- Staging environment and then push the changes to live using Git. \\n- The staging environment will have dummy data only.\\n\\nPayment Terms \\n- 50% Upfront \\n- 50% on Completion\",\n                \"number\": \"SO-0114\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 14500,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W50\",\n                \"date_month\": \"2022-12\"\n            },\n            {\n                \"id\": 136,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 776,\n                    \"categ_id\": null,\n                    \"name\": \"OSK Construction Sdn Bhd\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 13642.2,\n                \"date\": \"2022-11-09\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0113\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 12870,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W45\",\n                \"date_month\": \"2022-11\"\n            },\n            {\n                \"id\": 135,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 790,\n                    \"categ_id\": null,\n                    \"name\": \"Gapurnapermai (Costa Coffe)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 1060,\n                \"date\": \"2022-11-07\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0112\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 1060,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W45\",\n                \"date_month\": \"2022-11\"\n            },\n            {\n                \"id\": 134,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 832,\n                    \"categ_id\": null,\n                    \"name\": \"Sanko Plastic (Malaysia) Sdn Bhd\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 27380.94,\n                \"date\": \"2022-11-02\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0111\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 26259,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W44\",\n                \"date_month\": \"2022-11\"\n            },\n            {\n                \"id\": 133,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 790,\n                    \"categ_id\": null,\n                    \"name\": \"Gapurnapermai (Costa Coffe)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 2070,\n                \"date\": \"2022-10-19\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0110\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 2070,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W42\",\n                \"date_month\": \"2022-10\"\n            },\n            {\n                \"id\": 132,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 1060,\n                \"date\": \"2022-10-18\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"PO2210028\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 1000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W42\",\n                \"date_month\": \"2022-10\"\n            },\n            {\n                \"id\": 130,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 790,\n                    \"categ_id\": null,\n                    \"name\": \"Gapurnapermai (Costa Coffe)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 33792.8,\n                \"date\": \"2022-09-14\",\n                \"seller_id\": null,\n                \"other_info\": \"Payment Terms:\\n\\n50% Start of the Project 50%  After Implementation Of The Project \",\n                \"number\": \"SO-0109\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 31880,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W37\",\n                \"date_month\": \"2022-09\"\n            },\n            {\n                \"id\": 129,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 64,\n                    \"categ_id\": null,\n                    \"name\": \"V'asia Cosmetic & Healthcare\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 3646,\n                \"date\": \"2022-08-22\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0108\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 3550,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W34\",\n                \"date_month\": \"2022-08\"\n            },\n            {\n                \"id\": 127,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 465,\n                    \"categ_id\": null,\n                    \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 19040,\n                \"date\": \"2022-06-21\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0107\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 18740,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W25\",\n                \"date_month\": \"2022-06\"\n            },\n            {\n                \"id\": 126,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 331.25,\n                \"date\": \"2022-06-15\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0106\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 312.5,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W24\",\n                \"date_month\": \"2022-06\"\n            },\n            {\n                \"id\": 125,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 792,\n                    \"categ_id\": null,\n                    \"name\": \"CENTURY MARK PACIFIC MARKETING SDN BHD\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 93,\n                    \"name\": \"Saqib\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 3180,\n                \"date\": \"2022-06-14\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0105\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 3000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W24\",\n                \"date_month\": \"2022-06\"\n            },\n            {\n                \"id\": 124,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 698,\n                    \"categ_id\": null,\n                    \"name\": \"Gruppe Marketing Sdn Bhd\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 265,\n                \"date\": \"2022-06-03\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0104\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 250,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W22\",\n                \"date_month\": \"2022-06\"\n            },\n            {\n                \"id\": 123,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 698,\n                    \"categ_id\": null,\n                    \"name\": \"Gruppe Marketing Sdn Bhd\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 2120,\n                \"date\": \"2022-04-06\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0103\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 2000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W14\",\n                \"date_month\": \"2022-04\"\n            },\n            {\n                \"id\": 122,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 8,\n                    \"name\": \"Admin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 4957.62,\n                \"date\": \"2022-04-01\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0102\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 4677,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W13\",\n                \"date_month\": \"2022-04\"\n            },\n            {\n                \"id\": 121,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 663,\n                    \"categ_id\": null,\n                    \"name\": \"ATV SPORT AND STYLE SDN BHD\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 8,\n                    \"name\": \"Admin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 1586.82,\n                \"date\": \"2022-04-01\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0101\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 1497,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W13\",\n                \"date_month\": \"2022-04\"\n            },\n            {\n                \"id\": 120,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 8,\n                    \"name\": \"Admin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 2222.82,\n                \"date\": \"2022-04-01\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0100\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 2097,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W13\",\n                \"date_month\": \"2022-04\"\n            },\n            {\n                \"id\": 119,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 177,\n                    \"categ_id\": null,\n                    \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 8,\n                    \"name\": \"Admin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 5212.02,\n                \"date\": \"2022-04-01\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0099\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 4917,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W13\",\n                \"date_month\": \"2022-04\"\n            },\n            {\n                \"id\": 118,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 8,\n                    \"name\": \"Admin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 5994.3,\n                \"date\": \"2022-04-01\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0098\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 5655,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W13\",\n                \"date_month\": \"2022-04\"\n            },\n            {\n                \"id\": 117,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 58,\n                    \"categ_id\": null,\n                    \"name\": \"Speed Concrete Industries Sdn Bhd\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 8,\n                    \"name\": \"Admin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 3816,\n                \"date\": \"2022-04-01\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0097\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 3600,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W13\",\n                \"date_month\": \"2022-04\"\n            },\n            {\n                \"id\": 115,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 447,\n                    \"categ_id\": null,\n                    \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 8,\n                    \"name\": \"Admin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 2862,\n                \"date\": \"2022-04-01\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0095\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 2700,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W13\",\n                \"date_month\": \"2022-04\"\n            },\n            {\n                \"id\": 114,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 658,\n                    \"categ_id\": null,\n                    \"name\": \"MMC International Fulfilment Center\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 1586.82,\n                \"date\": \"2022-04-01\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0094\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 1497,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W13\",\n                \"date_month\": \"2022-04\"\n            },\n            {\n                \"id\": 113,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 64,\n                    \"categ_id\": null,\n                    \"name\": \"V'asia Cosmetic & Healthcare\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 2032.02,\n                \"date\": \"2022-04-01\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0093\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 1917,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W13\",\n                \"date_month\": \"2022-04\"\n            },\n            {\n                \"id\": 112,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 568,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 2438,\n                \"date\": \"2022-03-09\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0092\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 2300,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W10\",\n                \"date_month\": \"2022-03\"\n            },\n            {\n                \"id\": 111,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 625,\n                \"date\": \"2022-01-24\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0091\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 625,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W04\",\n                \"date_month\": \"2022-01\"\n            },\n            {\n                \"id\": 110,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 400,\n                \"date\": \"2022-01-19\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0090\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 400,\n                \"margin_percent\": 100,\n                \"date_week\": \"2022-W03\",\n                \"date_month\": \"2022-01\"\n            },\n            {\n                \"id\": 109,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 1800,\n                \"date\": \"2021-12-29\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0089\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 1800,\n                \"margin_percent\": 100,\n                \"date_week\": \"2021-W52\",\n                \"date_month\": \"2021-12\"\n            },\n            {\n                \"id\": 107,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 34889,\n                \"date\": \"2021-12-27\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0088\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 961.86,\n                \"profit_amount\": 33927.14,\n                \"margin_percent\": 97.24308521310442,\n                \"date_week\": \"2021-W52\",\n                \"date_month\": \"2021-12\"\n            },\n            {\n                \"id\": 106,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 465,\n                    \"categ_id\": null,\n                    \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 155089,\n                \"date\": \"2021-12-03\",\n                \"seller_id\": null,\n                \"other_info\": \"\",\n                \"number\": \"SO-0084\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 961.86,\n                \"profit_amount\": 154127.14,\n                \"margin_percent\": 99.3798012753967,\n                \"date_week\": \"2021-W48\",\n                \"date_month\": \"2021-12\"\n            },\n            {\n                \"id\": 105,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 564,\n                    \"categ_id\": null,\n                    \"name\": \"Load 2 Go Logistic Sdn Bhd (1240516-H)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 403000,\n                \"date\": \"2021-11-29\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0087\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 403000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2021-W48\",\n                \"date_month\": \"2021-11\"\n            },\n            {\n                \"id\": 104,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 5240,\n                \"date\": \"2021-11-26\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0086\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 5240,\n                \"margin_percent\": 100,\n                \"date_week\": \"2021-W47\",\n                \"date_month\": \"2021-11\"\n            },\n            {\n                \"id\": 103,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 658,\n                    \"categ_id\": null,\n                    \"name\": \"MMC International Fulfilment Center\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 54,\n                    \"name\": \"Khalida\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 200,\n                \"date\": \"2021-11-23\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0085\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 200,\n                \"margin_percent\": 100,\n                \"date_week\": \"2021-W47\",\n                \"date_month\": \"2021-11\"\n            },\n            {\n                \"id\": 101,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 166,\n                    \"categ_id\": null,\n                    \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 79,\n                    \"name\": \"James Lee\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 5280,\n                \"date\": \"2021-10-22\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0083\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 5280,\n                \"margin_percent\": 100,\n                \"date_week\": \"2021-W42\",\n                \"date_month\": \"2021-10\"\n            },\n            {\n                \"id\": 99,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 514,\n                    \"categ_id\": null,\n                    \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 205909,\n                \"date\": \"2021-09-29\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0082\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 205909,\n                \"margin_percent\": 100,\n                \"date_week\": \"2021-W39\",\n                \"date_month\": \"2021-09\"\n            },\n            {\n                \"id\": 98,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 666,\n                    \"categ_id\": null,\n                    \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 35669,\n                \"date\": \"2021-09-28\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0081\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 1323.26,\n                \"profit_amount\": 34345.74,\n                \"margin_percent\": 96.29016793293897,\n                \"date_week\": \"2021-W39\",\n                \"date_month\": \"2021-09\"\n            },\n            {\n                \"id\": 96,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 177,\n                    \"categ_id\": null,\n                    \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 66,\n                    \"name\": \"Nurul Huda\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 500,\n                \"date\": \"2021-08-23\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0079\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 500,\n                \"margin_percent\": 100,\n                \"date_week\": \"2021-W34\",\n                \"date_month\": \"2021-08\"\n            },\n            {\n                \"id\": 94,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 658,\n                    \"categ_id\": null,\n                    \"name\": \"MMC International Fulfilment Center\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 1069,\n                \"date\": \"2021-08-10\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0078\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 1069,\n                \"margin_percent\": 100,\n                \"date_week\": \"2021-W32\",\n                \"date_month\": \"2021-08\"\n            },\n            {\n                \"id\": 93,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 676,\n                    \"categ_id\": null,\n                    \"name\": \"Eco World Wellness M Sdn. Bhd.\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 53,\n                    \"name\": \"Chiew Hao\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 2618,\n                \"date\": \"2021-08-06\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0077\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 1319.08,\n                \"profit_amount\": 1298.92,\n                \"margin_percent\": 49.61497326203209,\n                \"date_week\": \"2021-W31\",\n                \"date_month\": \"2021-08\"\n            },\n            {\n                \"id\": 92,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 658,\n                    \"categ_id\": null,\n                    \"name\": \"MMC International Fulfilment Center\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 15099,\n                \"date\": \"2021-07-14\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0076\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 15099,\n                \"margin_percent\": 100,\n                \"date_week\": \"2021-W28\",\n                \"date_month\": \"2021-07\"\n            },\n            {\n                \"id\": 91,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 663,\n                    \"categ_id\": null,\n                    \"name\": \"ATV SPORT AND STYLE SDN BHD\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 11099,\n                \"date\": \"2021-07-13\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0075\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 11099,\n                \"margin_percent\": 100,\n                \"date_week\": \"2021-W28\",\n                \"date_month\": \"2021-07\"\n            },\n            {\n                \"id\": 97,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 166,\n                    \"categ_id\": null,\n                    \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 24000,\n                \"date\": \"2021-07-07\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0080\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 24000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2021-W27\",\n                \"date_month\": \"2021-07\"\n            },\n            {\n                \"id\": 90,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 658,\n                    \"categ_id\": null,\n                    \"name\": \"MMC International Fulfilment Center\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"due_date\": \"2021-07-06\",\n                \"amount_total\": 2000,\n                \"date\": \"2021-07-07\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0074\",\n                \"due_date_weekday\": \"Tuesday\",\n                \"cost_amount\": 0,\n                \"profit_amount\": 2000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2021-W27\",\n                \"date_month\": \"2021-07\"\n            },\n            {\n                \"id\": 89,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 654,\n                    \"categ_id\": null,\n                    \"name\": \"Ampmech Sdn Bhd\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 2144.52,\n                \"date\": \"2021-06-18\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0073\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 2144.52,\n                \"margin_percent\": 100,\n                \"date_week\": \"2021-W24\",\n                \"date_month\": \"2021-06\"\n            },\n            {\n                \"id\": 88,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 450,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 91729,\n                \"date\": \"2021-05-12\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0072\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 91729,\n                \"margin_percent\": 100,\n                \"date_week\": \"2021-W19\",\n                \"date_month\": \"2021-05\"\n            },\n            {\n                \"id\": 87,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 177,\n                    \"categ_id\": null,\n                    \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 2800,\n                \"date\": \"2021-03-11\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0071\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 2800,\n                \"margin_percent\": 100,\n                \"date_week\": \"2021-W10\",\n                \"date_month\": \"2021-03\"\n            },\n            {\n                \"id\": 86,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 11000,\n                \"date\": \"2020-12-10\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0070\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 11000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2020-W49\",\n                \"date_month\": \"2020-12\"\n            },\n            {\n                \"id\": 85,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 8000,\n                \"date\": \"2020-12-09\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0069\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 8000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2020-W49\",\n                \"date_month\": \"2020-12\"\n            },\n            {\n                \"id\": 84,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 8000,\n                \"date\": \"2020-12-08\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0068\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 8000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2020-W49\",\n                \"date_month\": \"2020-12\"\n            },\n            {\n                \"id\": 83,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 537,\n                    \"categ_id\": null,\n                    \"name\": \"Pgeon Express Sdn.Bhd\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 53,\n                    \"name\": \"Chiew Hao\"\n                },\n                \"due_date\": \"2020-11-27\",\n                \"amount_total\": 179.88,\n                \"date\": \"2020-12-02\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0067\",\n                \"due_date_weekday\": \"Friday\",\n                \"cost_amount\": 0,\n                \"profit_amount\": 179.88,\n                \"margin_percent\": 100,\n                \"date_week\": \"2020-W48\",\n                \"date_month\": \"2020-12\"\n            },\n            {\n                \"id\": 80,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 2175,\n                \"date\": \"2020-09-18\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0064\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 2175,\n                \"margin_percent\": 100,\n                \"date_week\": \"2020-W37\",\n                \"date_month\": \"2020-09\"\n            },\n            {\n                \"id\": 78,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 447,\n                    \"categ_id\": null,\n                    \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 16550,\n                \"date\": \"2020-09-14\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0062\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 16550,\n                \"margin_percent\": 100,\n                \"date_week\": \"2020-W37\",\n                \"date_month\": \"2020-09\"\n            },\n            {\n                \"id\": 77,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 492,\n                    \"categ_id\": null,\n                    \"name\": \"AceTeam Networks Sdn Bhd \"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"due_date\": \"2020-08-12\",\n                \"amount_total\": 200,\n                \"date\": \"2020-08-12\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0061\",\n                \"due_date_weekday\": \"Wednesday\",\n                \"cost_amount\": 0,\n                \"profit_amount\": 200,\n                \"margin_percent\": 100,\n                \"date_week\": \"2020-W32\",\n                \"date_month\": \"2020-08\"\n            },\n            {\n                \"id\": 76,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 465,\n                    \"categ_id\": null,\n                    \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 138349,\n                \"date\": \"2020-08-04\",\n                \"seller_id\": null,\n                \"other_info\": \"\",\n                \"number\": \"SO-0060\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 138349,\n                \"margin_percent\": 100,\n                \"date_week\": \"2020-W31\",\n                \"date_month\": \"2020-08\"\n            },\n            {\n                \"id\": 79,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 30000,\n                \"date\": \"2020-08-03\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0063\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 30000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2020-W31\",\n                \"date_month\": \"2020-08\"\n            },\n            {\n                \"id\": 75,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 492,\n                    \"categ_id\": null,\n                    \"name\": \"AceTeam Networks Sdn Bhd \"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 250,\n                \"date\": \"2020-07-22\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0059\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 250,\n                \"margin_percent\": 100,\n                \"date_week\": \"2020-W29\",\n                \"date_month\": \"2020-07\"\n            },\n            {\n                \"id\": 74,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 450,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 32006,\n                \"date\": \"2020-07-06\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0058\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 32006,\n                \"margin_percent\": 100,\n                \"date_week\": \"2020-W27\",\n                \"date_month\": \"2020-07\"\n            },\n            {\n                \"id\": 81,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 110,\n                \"date\": \"2020-06-05\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0065\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 110,\n                \"margin_percent\": 100,\n                \"date_week\": \"2020-W22\",\n                \"date_month\": \"2020-06\"\n            },\n            {\n                \"id\": 73,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 450,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                },\n                \"state\": \"voided\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 32740,\n                \"date\": \"2020-05-20\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0057\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 32740,\n                \"margin_percent\": 100,\n                \"date_week\": \"2020-W20\",\n                \"date_month\": \"2020-05\"\n            },\n            {\n                \"id\": 72,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 450,\n                    \"categ_id\": null,\n                    \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 91729,\n                \"date\": \"2020-05-20\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0056\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 91729,\n                \"margin_percent\": 100,\n                \"date_week\": \"2020-W20\",\n                \"date_month\": \"2020-05\"\n            },\n            {\n                \"id\": 82,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 2590,\n                \"date\": \"2020-04-20\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0066\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 2590,\n                \"margin_percent\": 100,\n                \"date_week\": \"2020-W16\",\n                \"date_month\": \"2020-04\"\n            },\n            {\n                \"id\": 71,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 43000,\n                \"date\": \"2020-03-30\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0055\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 43000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2020-W13\",\n                \"date_month\": \"2020-03\"\n            },\n            {\n                \"id\": 70,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": \"2020-02-26\",\n                \"amount_total\": 18000,\n                \"date\": \"2020-02-26\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0054\",\n                \"due_date_weekday\": \"Wednesday\",\n                \"cost_amount\": 0,\n                \"profit_amount\": 18000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2020-W08\",\n                \"date_month\": \"2020-02\"\n            },\n            {\n                \"id\": 69,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 6000,\n                \"date\": \"2020-02-22\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0053\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 6000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2020-W07\",\n                \"date_month\": \"2020-02\"\n            },\n            {\n                \"id\": 68,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"due_date\": \"2020-02-14\",\n                \"amount_total\": 2510,\n                \"date\": \"2020-02-14\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0052\",\n                \"due_date_weekday\": \"Friday\",\n                \"cost_amount\": 0,\n                \"profit_amount\": 2510,\n                \"margin_percent\": 100,\n                \"date_week\": \"2020-W06\",\n                \"date_month\": \"2020-02\"\n            },\n            {\n                \"id\": 67,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 402,\n                    \"categ_id\": null,\n                    \"name\": \"Taiko Marketing Sdn Bhd\"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 10000,\n                \"date\": \"2020-01-21\",\n                \"seller_id\": null,\n                \"other_info\": \"SmartB Shared\\\\Team Share\\\\1. Clients\\\\1.0 Quotation Stage\\\\2019 11 - Taiko\\\\Requirement\",\n                \"number\": \"SO-0051\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 10000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2020-W03\",\n                \"date_month\": \"2020-01\"\n            },\n            {\n                \"id\": 66,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 114,\n                    \"categ_id\": null,\n                    \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 15000,\n                \"date\": \"2019-12-31\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"S-20200001\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 15000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W52\",\n                \"date_month\": \"2019-12\"\n            },\n            {\n                \"id\": 65,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 12500,\n                \"date\": \"2019-12-21\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0050\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 12500,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W50\",\n                \"date_month\": \"2019-12\"\n            },\n            {\n                \"id\": 63,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 6000,\n                \"date\": \"2019-12-07\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0049\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 6000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W48\",\n                \"date_month\": \"2019-12\"\n            },\n            {\n                \"id\": 62,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 112,\n                    \"categ_id\": null,\n                    \"name\": \"RICOH (Malaysia) Sdn. Bhd. (10078-W)\"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 5000,\n                \"date\": \"2019-12-07\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0048\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 5000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W48\",\n                \"date_month\": \"2019-12\"\n            },\n            {\n                \"id\": 61,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": \"2019-11-26\",\n                \"amount_total\": 11000,\n                \"date\": \"2019-11-26\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0047\",\n                \"due_date_weekday\": \"Tuesday\",\n                \"cost_amount\": 0,\n                \"profit_amount\": 11000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W47\",\n                \"date_month\": \"2019-11\"\n            },\n            {\n                \"id\": 60,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 8000,\n                \"date\": \"2019-11-26\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0046\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 8000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W47\",\n                \"date_month\": \"2019-11\"\n            },\n            {\n                \"id\": 59,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 15500,\n                \"date\": \"2019-11-11\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0045\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 15500,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W45\",\n                \"date_month\": \"2019-11\"\n            },\n            {\n                \"id\": 58,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": \"2019-10-24\",\n                \"amount_total\": 7000,\n                \"date\": \"2019-10-24\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0044\",\n                \"due_date_weekday\": \"Thursday\",\n                \"cost_amount\": 0,\n                \"profit_amount\": 7000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W42\",\n                \"date_month\": \"2019-10\"\n            },\n            {\n                \"id\": 57,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 6000,\n                \"date\": \"2019-10-03\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0043\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 6000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W39\",\n                \"date_month\": \"2019-10\"\n            },\n            {\n                \"id\": 56,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 4167,\n                \"date\": \"2019-09-13\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0042\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 4167,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W36\",\n                \"date_month\": \"2019-09\"\n            },\n            {\n                \"id\": 55,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 14000,\n                \"date\": \"2019-09-07\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0041\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 14000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W35\",\n                \"date_month\": \"2019-09\"\n            },\n            {\n                \"id\": 54,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 166,\n                    \"categ_id\": null,\n                    \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 18800,\n                \"date\": \"2019-08-24\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0040\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 18800,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W33\",\n                \"date_month\": \"2019-08\"\n            },\n            {\n                \"id\": 53,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 28000,\n                \"date\": \"2019-08-10\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0039\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 28000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W31\",\n                \"date_month\": \"2019-08\"\n            },\n            {\n                \"id\": 52,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 195,\n                    \"categ_id\": null,\n                    \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": \"2019-08-02\",\n                \"amount_total\": 30776,\n                \"date\": \"2019-08-02\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0038\",\n                \"due_date_weekday\": \"Friday\",\n                \"cost_amount\": 0,\n                \"profit_amount\": 30776,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W30\",\n                \"date_month\": \"2019-08\"\n            },\n            {\n                \"id\": 51,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 177,\n                    \"categ_id\": null,\n                    \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 1950,\n                \"date\": \"2019-07-25\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0037\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 1950,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W29\",\n                \"date_month\": \"2019-07\"\n            },\n            {\n                \"id\": 50,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 174000,\n                \"date\": \"2019-05-06\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0036\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 174000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W18\",\n                \"date_month\": \"2019-05\"\n            },\n            {\n                \"id\": 49,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 37000,\n                \"date\": \"2019-04-16\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0035\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 37000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W15\",\n                \"date_month\": \"2019-04\"\n            },\n            {\n                \"id\": 48,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": \"2019-04-15\",\n                \"amount_total\": 17000,\n                \"date\": \"2019-04-15\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0034\",\n                \"due_date_weekday\": \"Monday\",\n                \"cost_amount\": 0,\n                \"profit_amount\": 17000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W15\",\n                \"date_month\": \"2019-04\"\n            },\n            {\n                \"id\": 47,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 114,\n                    \"categ_id\": null,\n                    \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 73299,\n                \"date\": \"2019-03-24\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0033\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 73299,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W11\",\n                \"date_month\": \"2019-03\"\n            },\n            {\n                \"id\": 44,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 6000,\n                \"date\": \"2019-02-25\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0032\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 6000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W08\",\n                \"date_month\": \"2019-02\"\n            },\n            {\n                \"id\": 43,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 93000,\n                \"date\": \"2019-02-11\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0031\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 93000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W06\",\n                \"date_month\": \"2019-02\"\n            },\n            {\n                \"id\": 42,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 7000,\n                \"date\": \"2019-01-15\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0030\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 7000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W02\",\n                \"date_month\": \"2019-01\"\n            },\n            {\n                \"id\": 41,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 177,\n                    \"categ_id\": null,\n                    \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 47499,\n                \"date\": \"2019-01-04\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0029\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 47499,\n                \"margin_percent\": 100,\n                \"date_week\": \"2019-W00\",\n                \"date_month\": \"2019-01\"\n            },\n            {\n                \"id\": 39,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 114,\n                    \"categ_id\": null,\n                    \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 23449,\n                \"date\": \"2018-11-21\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0028\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 23449,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W47\",\n                \"date_month\": \"2018-11\"\n            },\n            {\n                \"id\": 38,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 16000,\n                \"date\": \"2018-11-21\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0027\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 16000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W47\",\n                \"date_month\": \"2018-11\"\n            },\n            {\n                \"id\": 37,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 168,\n                    \"categ_id\": null,\n                    \"name\": \"Perusahaan Cemerlang Raya Sdn Bhd (162783-K)\"\n                },\n                \"state\": \"voided\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 5959,\n                \"date\": \"2018-10-23\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0026\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 5959,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W43\",\n                \"date_month\": \"2018-10\"\n            },\n            {\n                \"id\": 36,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 114,\n                    \"categ_id\": null,\n                    \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 9664,\n                \"date\": \"2018-10-19\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0025\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 9664,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W42\",\n                \"date_month\": \"2018-10\"\n            },\n            {\n                \"id\": 35,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 64,\n                    \"categ_id\": null,\n                    \"name\": \"V'asia Cosmetic & Healthcare\"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 9360,\n                \"date\": \"2018-10-08\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0024\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 9360,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W41\",\n                \"date_month\": \"2018-10\"\n            },\n            {\n                \"id\": 34,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 107,\n                    \"categ_id\": null,\n                    \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                },\n                \"state\": \"done\",\n                \"user_id\": null,\n                \"due_date\": null,\n                \"amount_total\": 7000,\n                \"date\": \"2018-10-08\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0023\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 7000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W41\",\n                \"date_month\": \"2018-10\"\n            },\n            {\n                \"id\": 32,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 158,\n                    \"categ_id\": null,\n                    \"name\": \"AGX Logistics Singapore Pte Ltd\"\n                },\n                \"state\": \"voided\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 16049,\n                \"date\": \"2018-09-29\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0021\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 16049,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W39\",\n                \"date_month\": \"2018-09\"\n            },\n            {\n                \"id\": 33,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 166,\n                    \"categ_id\": null,\n                    \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                },\n                \"state\": \"done\",\n                \"user_id\": null,\n                \"due_date\": null,\n                \"amount_total\": 10000,\n                \"date\": \"2018-09-25\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0022\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 10000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W39\",\n                \"date_month\": \"2018-09\"\n            },\n            {\n                \"id\": 31,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 26000,\n                \"date\": \"2018-09-22\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0020\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 26000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W38\",\n                \"date_month\": \"2018-09\"\n            },\n            {\n                \"id\": 30,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"draft\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 45000,\n                \"date\": \"2018-08-30\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0019\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 45000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W35\",\n                \"date_month\": \"2018-08\"\n            },\n            {\n                \"id\": 29,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 148,\n                    \"categ_id\": null,\n                    \"name\": \"Sin Nam Ann Transport Sdn Bhd\"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 11399,\n                \"date\": \"2018-08-30\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0018\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 11399,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W35\",\n                \"date_month\": \"2018-08\"\n            },\n            {\n                \"id\": 28,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 141,\n                    \"categ_id\": null,\n                    \"name\": \"Colas Rail System Engineering Sdn Bhd (1058672-T)\"\n                },\n                \"state\": \"voided\",\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 7399,\n                \"date\": \"2018-08-01\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0017\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 7399,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W31\",\n                \"date_month\": \"2018-08\"\n            },\n            {\n                \"id\": 25,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 19000,\n                \"date\": \"2018-06-20\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0015\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 19000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W25\",\n                \"date_month\": \"2018-06\"\n            },\n            {\n                \"id\": 23,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 114,\n                    \"categ_id\": null,\n                    \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 18449,\n                \"date\": \"2018-05-24\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0014\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 18449,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W21\",\n                \"date_month\": \"2018-05\"\n            },\n            {\n                \"id\": 22,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 107,\n                    \"categ_id\": null,\n                    \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 87999,\n                \"date\": \"2018-05-04\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0013\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 87999,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W18\",\n                \"date_month\": \"2018-05\"\n            },\n            {\n                \"id\": 21,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 58,\n                    \"categ_id\": null,\n                    \"name\": \"Speed Concrete Industries Sdn Bhd\"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 12800,\n                \"date\": \"2018-04-28\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0012\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 12800,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W17\",\n                \"date_month\": \"2018-04\"\n            },\n            {\n                \"id\": 14,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 95,\n                    \"categ_id\": null,\n                    \"name\": \"Tan Ngan Lo Retail Stores Sdn Bhd\"\n                },\n                \"state\": \"voided\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 14359,\n                \"date\": \"2018-04-21\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0005\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 14359,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W16\",\n                \"date_month\": \"2018-04\"\n            },\n            {\n                \"id\": 26,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 76,\n                    \"categ_id\": null,\n                    \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                },\n                \"state\": \"confirmed\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 19048,\n                \"date\": \"2018-04-18\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0010\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 19048,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W16\",\n                \"date_month\": \"2018-04\"\n            },\n            {\n                \"id\": 12,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 97,\n                    \"categ_id\": null,\n                    \"name\": \"Bright Star Logistics Sdn Bhd\"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 5000,\n                \"date\": \"2018-03-26\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0003\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 5000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W13\",\n                \"date_month\": \"2018-03\"\n            },\n            {\n                \"id\": 10,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 86,\n                    \"categ_id\": null,\n                    \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 15000,\n                \"date\": \"2018-03-16\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0002\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 15000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W11\",\n                \"date_month\": \"2018-03\"\n            },\n            {\n                \"id\": 20,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 70,\n                    \"categ_id\": null,\n                    \"name\": \"AGX Logistics (M) Sdn Bhd (640551-H)\"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 13000,\n                \"date\": \"2018-03-06\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0011\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 13000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W10\",\n                \"date_month\": \"2018-03\"\n            },\n            {\n                \"id\": 27,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 61,\n                    \"categ_id\": null,\n                    \"name\": \"KH Shutters Sdn Bhd (734835-T)\"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 13000,\n                \"date\": \"2018-03-01\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0016\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 13000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W09\",\n                \"date_month\": \"2018-03\"\n            },\n            {\n                \"id\": 13,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 64,\n                    \"categ_id\": null,\n                    \"name\": \"V'asia Cosmetic & Healthcare\"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 15000,\n                \"date\": \"2018-02-28\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0004\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 15000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W09\",\n                \"date_month\": \"2018-02\"\n            },\n            {\n                \"id\": 15,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 51,\n                    \"categ_id\": null,\n                    \"name\": \"Universal Cellular Engineering Services Sdn Bhd (380597-A)\"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 3000,\n                \"date\": \"2018-01-12\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0006\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 3000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2018-W02\",\n                \"date_month\": \"2018-01\"\n            },\n            {\n                \"id\": 17,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 48,\n                    \"categ_id\": null,\n                    \"name\": \"Autochem Marketing Sdn Bhd (1075927-W)\"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 3000,\n                \"date\": \"2017-11-15\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0008\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 3000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2017-W46\",\n                \"date_month\": \"2017-11\"\n            },\n            {\n                \"id\": 16,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 52,\n                    \"categ_id\": null,\n                    \"name\": \"IXORA Corporation Sdn Bhd\"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 5000,\n                \"date\": \"2017-10-25\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0007\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 5000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2017-W43\",\n                \"date_month\": \"2017-10\"\n            },\n            {\n                \"id\": 18,\n                \"ship_port_id\": null,\n                \"contact_id\": {\n                    \"id\": 44,\n                    \"categ_id\": null,\n                    \"name\": \"Kolaborasi Kuntum Kasih Sdn. Bhd. \"\n                },\n                \"state\": \"done\",\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"due_date\": null,\n                \"amount_total\": 3000,\n                \"date\": \"2017-10-21\",\n                \"seller_id\": null,\n                \"other_info\": null,\n                \"number\": \"SO-0009\",\n                \"due_date_weekday\": null,\n                \"cost_amount\": 0,\n                \"profit_amount\": 3000,\n                \"margin_percent\": 100,\n                \"date_week\": \"2017-W42\",\n                \"date_month\": \"2017-10\"\n            }\n        ],\n        136\n    ],\n    \"error\": null,\n    \"id\": 1695022839754,\n    \"dt\": 351\n}"}],"_postman_id":"28d65216-b77a-4442-ac76-4039d1528c3a"},{"name":"params/report.custom/search_read","id":"10bf8102-ce38-4e94-95fc-20e45dbb6e97","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695022839759,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"sale.order\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 12:39:25\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.custom\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"code\",</strong></strong>\"=\",<strong>**\"sale.order\"<strong><strong>]</strong></strong>],<strong><strong>[</strong></strong>\"name\",**</strong>\"config\"<strong><strong>]</strong></strong>],****{},**</p>\n<ol>\n<li><strong>\"report.custom\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"report.custom,\" which likely refers to a module or entity related to custom reports or configurations within the system. This module might be responsible for generating custom reports or managing custom configurations.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[[\"code\", \"=\", \"sale.order\"]], [\"name\", \"config\"]]:</strong> This is the third parameter, which consists of two lists:</li>\n<li>The first list, <code>[[[\"code\", \"=\", \"sale.order\"]]]</code>, forms the search domain. It contains one condition: <code>[\"code\", \"=\", \"sale.order\"]</code>, which filters records where the \"code\" attribute equals \"sale.order.\" This condition narrows down the selection to records associated with a specific code or identifier, in this case, \"sale.order.\"<ol>\n<li><strong>\"code\":</strong> This represents a field or attribute within the \"report.custom\" entity, which is used to categorize or identify custom reports or configurations.</li>\n<li><strong>\"=\":</strong> This is an operator used in the condition and signifies equality. It's used to compare the field on the left with the value on the right to check if they are equal.</li>\n<li><strong>\"sale.order\":</strong> This is the value against which the \"code\" field is being compared. In this condition, it's checking if the \"code\" field is equal to the value \"sale.order.\"</li>\n</ol>\n</li>\n<li>The second list, <code>[\"name\", \"config\"]</code>, specifies the fields (attributes) of the records to be included in the response. These attributes relate to custom report or configuration records that the request aims to retrieve:<ol>\n<li><strong>\"name\":</strong> Represents the name or title associated with the custom report or configuration. It indicates the name of the specific report or configuration.</li>\n<li><strong>\"config\":</strong> Likely represents specific configuration settings or details related to the custom report or configuration.</li>\n</ol>\n</li>\n<li><strong>{}:</strong> This is the fourth parameter and represents an empty dictionary. In Odoo and similar systems, this section can be used to pass additional options or context information to the search_read operation. In this specific request, no additional context or options are provided.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"report.custom\" entity, which is likely related to custom reports or configurations. It filters records based on the \"code\" attribute equaling \"sale.order,\" indicating a specific category or identifier for these records. The request specifies the attributes \"name\" and \"config\" to include in the response. No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"f86e5f3b-a19a-4fb4-b9f9-e985d73e1999","name":"params/report.custom/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695022839759,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"sale.order\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 12:39:25\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 18 Sep 2023 07:58:45 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=L9zVWe5m0LkqkKz4mdIHjp1RinzE22%2FpV9NEHyPPM9srjgYMbIdggG5MCIIc9gAB3QvArBzrbZ8rCPSRM1uDepzLmw5vGoL8U7%2BpTcKbd5U9JhgUZU6xLdZ0aTe1%2Bd30RlIVVy8VllAu8fHktg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80880bad5e3848cb-LHR"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"id\": 4,\n            \"config\": \"{\\\"field_names\\\":[\\\"number\\\",\\\"contact_id.name\\\",\\\"contact_id.categ_id.name\\\",\\\"state\\\",\\\"user_id.name\\\",\\\"date\\\",\\\"date_week\\\",\\\"date_month\\\",\\\"due_date\\\",\\\"due_date_weekday\\\",\\\"amount_total\\\",\\\"seller_id\\\",\\\"ship_port_id.name\\\",\\\"other_info\\\"],\\\"limit\\\":1000,\\\"derivedAttributes\\\":{},\\\"hiddenAttributes\\\":[],\\\"menuLimit\\\":200,\\\"cols\\\":[\\\"Month\\\"],\\\"rows\\\":[\\\"Customer\\\"],\\\"vals\\\":[\\\"Total Amount\\\"],\\\"exclusions\\\":{\\\"Status\\\":[\\\"Completed\\\",\\\"Draft\\\"]},\\\"inclusions\\\":{\\\"Status\\\":[\\\"Confirmed\\\"]},\\\"unusedAttrsVertical\\\":85,\\\"autoSortUnusedAttrs\\\":false,\\\"aggregatorName\\\":\\\"Sum\\\",\\\"inclusionsInfo\\\":{\\\"Status\\\":[\\\"Confirmed\\\"]},\\\"rendererName\\\":\\\"Table\\\"}\",\n            \"name\": \"WIP Sales\"\n        }\n    ],\n    \"error\": null,\n    \"id\": 1695022839759,\n    \"dt\": 26\n}"}],"_postman_id":"10bf8102-ce38-4e94-95fc-20e45dbb6e97"}],"id":"bc29d435-6701-4374-b760-c513a755c911","_postman_id":"bc29d435-6701-4374-b760-c513a755c911","description":""},{"name":"Sales Line Analysis","item":[{"name":"params/sale.order.line/search_read_path","id":"93860fd5-78da-4ba7-b86e-7a0fdf51af59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695025291542,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.order.line\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"product_id.name\",\r\n                \"product_id.categ_id.name\",\r\n                \"order_id.contact_id.name\",\r\n                \"order_id.contact_id.categ_id.name\",\r\n                \"order_id.state\",\r\n                \"order_id.user_id.name\",\r\n                \"order_id.date\",\r\n                \"order_id.date_week\",\r\n                \"order_id.date_month\",\r\n                \"order_id.due_date\",\r\n                \"order_id.due_date_weekday\",\r\n                \"order_id.number\",\r\n                \"order_id.other_info\",\r\n                \"notes\",\r\n                \"amount\",\r\n                \"qty\",\r\n                \"order_id.seller_id.name\",\r\n                \"order_id.ship_port_id.name\",\r\n                \"ship_method_id.name\",\r\n                \"packaging_id.name\",\r\n                \"location_id.name\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 13:20:58\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"sale.order.line\",</strong>\"search_read_path\",<strong>[</strong>[],<strong>[</strong>\"product_id.name\",<strong>\"product_id.categ_id.name\",</strong>\"order_id.contact_id.name\",<strong>\"order_id.contact_id.categ_id.name\",</strong>\"order_id.state\",<strong>\"order_id.user_id.name\",</strong>\"order_id.date\",<strong>\"order_id.date_week\",</strong>\"order_id.date_month\",<strong>\"order_id.due_date\",</strong>\"order_id.due_date_weekday\",<strong>\"order_id.number\",</strong>\"order_id.other_info\",<strong>\"notes\",</strong>\"amount\",<strong>\"qty\",</strong>\"order_id.seller_id.name\",<strong>\"order_id.ship_port_id.name\",</strong>\"ship_method_id.name\",<strong>\"packaging_id.name\",</strong>\"location_id.name\"<strong>]</strong>],<strong>{</strong>\"count\": true,<strong>\"limit\": 1000,</strong>\"context\": {}<strong>},</strong></p>\n<ol>\n<li><strong>\"sale.order.line\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"sale.order.line,\" which likely refers to a module or entity related to individual line items or products within sales orders. It deals with the details of products included in sales orders.</li>\n<li><strong>\"search_read_path\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read_path\" appears to be a specific action or method used in the system. While \"search_read\" is commonly used for retrieving records based on criteria, \"search_read_path\" might indicate a custom or extended functionality for retrieving records in a specific manner.</li>\n<li><strong>[[], [\"product_id.name\", \"product_id.categ_id.name\", \"order_id.contact_id.name\", \"order_id.contact_id.categ_id.name\", \"order_id.state\", \"order_id.user_id.name\", \"order_id.date\", \"order_id.date_week\", \"order_id.date_month\", \"order_id.due_date\", \"order_id.due_date_weekday\", \"order_id.number\", \"order_id.other_info\", \"notes\", \"amount\", \"qty\", \"order_id.seller_id.name\", \"order_id.ship_port_id.name\", \"ship_method_id.name\", \"packaging_id.name\", \"location_id.name\"]]:</strong> This is the third parameter, which consists of two lists:</li>\n<li>The first list, <code>[]</code>, forms the search domain. It contains an empty inner list, <code>[]</code>. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved. This implies that the request aims to retrieve all records without any specific filtering criteria based on field values.</li>\n<li>The second list, <code>[\"product_id.name\", \"product_id.categ_id.name\", \"order_id.contact_id.name\", \"order_id.contact_id.categ_id.name\", \"order_id.state\", \"order_id.user_id.name\", \"order_id.date\", \"order_id.date_week\", \"order_id.date_month\", \"order_id.due_date\", \"order_id.due_date_weekday\", \"order_id.number\", \"order_id.other_info\", \"notes\", \"amount\", \"qty\", \"order_id.seller_id.name\", \"order_id.ship_port_id.name\", \"ship_method_id.name\", \"packaging_id.name\", \"location_id.name\"]</code>, specifies the fields (attributes) of the records to be included in the response. These attributes relate to individual sales order line items and their associated details:<ol>\n<li><strong>\"product_id.name\":</strong> This attribute represents the name of the product associated with a sales order line item. It provides information about the specific product included in the sales order.</li>\n<li><strong>\"product_id.categ_id.name\":</strong> This attribute indicates the name of the product category or classification to which the product belongs. It provides information about the category to which the product is assigned.</li>\n<li><strong>\"order_id.contact_id.name\":</strong> This attribute represents the name of the contact or customer associated with the parent sales order. It identifies the customer to whom the sales order is related.</li>\n<li><strong>\"order_id.contact_id.categ_id.name\":</strong> This attribute indicates the name of the category or classification associated with the contact or customer. It provides additional information about the category to which the customer belongs.</li>\n<li><strong>\"order_id.state\":</strong> This attribute represents the state or status of the parent sales order. It indicates whether the sales order is in an open, closed, or some other state.</li>\n<li><strong>\"order_id.user_id.name\":</strong> This appears to be a nested attribute. \"order_id\" likely refers to the parent sales order, \"user_id\" is a reference to a user associated with the sales order, and \"name\" is a field within that user record. It may represent the name of the user responsible for managing the sales order.</li>\n<li><strong>\"order_id.date\":</strong> This attribute likely represents the date on which the parent sales order was created or initiated.</li>\n<li><strong>\"order_id.date_week\":</strong> This attribute may represent the week in which the parent sales order was created. It provides a week-based view of the order's creation date.</li>\n<li><strong>\"order_id.date_month\":</strong> This attribute likely represents the month in which the parent sales order was created. It provides a month-based view of the order's creation date.</li>\n<li><strong>\"order_id.due_date\":</strong> This attribute represents the due date associated with the parent sales order line item. It indicates the date by which the customer is expected to fulfill the order.</li>\n<li><strong>\"order_id.due_date_weekday\":</strong> This attribute may represent the weekday on which the due date of the parent sales order falls.</li>\n<li><strong>\"order_id.number\":</strong> This attribute indicates the order number or identifier associated with the parent sales order. It provides a unique reference for the order.</li>\n<li><strong>\"order_id.other_info\":</strong> This attribute likely contains additional information or notes related to the parent sales order. It can include any supplementary details about the order.</li>\n<li><strong>\"notes\":</strong> This attribute represents any additional notes or comments specific to the sales order line item. It may include information relevant to the individual line item.</li>\n<li><strong>\"amount\":</strong> This attribute likely represents the total amount or price associated with the sales order line item. It provides financial information related to the line item.</li>\n<li><strong>\"qty\":</strong> This attribute represents the quantity of the product included in the sales order line item. It specifies how many units of the product are part of the order.</li>\n<li><strong>\"order_id.seller_id.name\":</strong> This attribute indicates the name of the seller or salesperson associated with the parent sales order. It identifies the person responsible for managing the sale.</li>\n<li><strong>\"order_id.ship_port_id.name\":</strong> This attribute represents the name of the shipping port associated with the parent sales order. It may be relevant for logistics and shipping purposes.</li>\n<li><strong>\"ship_method_id.name\":</strong> This attribute indicates the name of the shipping method or carrier associated with the sales order line item. It specifies the method used for delivering the product.</li>\n<li><strong>\"packaging_id.name\":</strong> This attribute represents the name of the packaging or packaging type associated with the sales order line item. It provides information about how the product is packaged for shipping.</li>\n<li><strong>\"location_id.name\":</strong> This attribute indicates the name of the location or warehouse associated with the sales order line item. It specifies the physical location from which the product will be sourced or shipped.</li>\n</ol>\n</li>\n<li><strong>{\"count\": true, \"limit\": 1000, \"context\": {}}:</strong> This is the fourth parameter and represents a dictionary with various options:<ol>\n<li><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. It facilitates the counting of sales order line item records.</li>\n<li><strong>\"limit\": 1000:</strong> The \"limit\" option sets a limit of 1000 records to be fetched in a single request. If there are more matching records, additional requests may be needed to retrieve them.</li>\n<li><strong>\"context\": {}:</strong> Represents an empty context, which can be used to pass additional options or context information to the search_read_path operation. In this request, no additional context or options are provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"sale.order.line\" entity, which deals with individual line items or products within sales orders. It retrieves all sales order line item records without any specific filtering criteria based on field values and specifies the attributes of these line items to include in the response. Additionally, it requests the total count of all matching records, sets a limit of 1000 records for retrieval, and does not provide any additional context or options.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"17e5f962-5aa7-4c89-9f57-368b35b4127d","name":"params/sale.order.line/search_read_path","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695025291542,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.order.line\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"product_id.name\",\r\n                \"product_id.categ_id.name\",\r\n                \"order_id.contact_id.name\",\r\n                \"order_id.contact_id.categ_id.name\",\r\n                \"order_id.state\",\r\n                \"order_id.user_id.name\",\r\n                \"order_id.date\",\r\n                \"order_id.date_week\",\r\n                \"order_id.date_month\",\r\n                \"order_id.due_date\",\r\n                \"order_id.due_date_weekday\",\r\n                \"order_id.number\",\r\n                \"order_id.other_info\",\r\n                \"notes\",\r\n                \"amount\",\r\n                \"qty\",\r\n                \"order_id.seller_id.name\",\r\n                \"order_id.ship_port_id.name\",\r\n                \"ship_method_id.name\",\r\n                \"packaging_id.name\",\r\n                \"location_id.name\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 13:20:58\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 18 Sep 2023 08:23:16 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=%2Fz4u3DS0QkN1MGCE7XikuJZ43sI5lHU%2F3qZQrsQYJhVXXVMh%2F3HgeHgTstJkaBlaIp6w7M7cftOWOQ8IyAxosOClemJeUubpc5JF7Ezd5SB9sKFxZEuR5EbFvqO4mp2pJlcgaTtP4wmMBmZXwQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80882f935fb6d1cc-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 187,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 784,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2120,\n                \"order_id\": {\n                    \"id\": 36,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-10-19\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0025\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W42\",\n                    \"date_month\": \"2018-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 292,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 300,\n                \"order_id\": {\n                    \"id\": 51,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-07-25\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0037\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W29\",\n                    \"date_month\": \"2019-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 354,\n                \"ship_method_id\": null,\n                \"qty\": 7.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 15000,\n                \"order_id\": {\n                    \"id\": 70,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2020-02-26\",\n                    \"date\": \"2020-02-26\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0054\",\n                    \"due_date_weekday\": \"Wednesday\",\n                    \"date_week\": \"2020-W08\",\n                    \"date_month\": \"2020-02\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 425,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 856,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"K-626: 1D&2D Wireless QR Handheld Barcode Scanner Model\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 179.88,\n                \"order_id\": {\n                    \"id\": 83,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 537,\n                        \"categ_id\": null,\n                        \"name\": \"Pgeon Express Sdn.Bhd\"\n                    },\n                    \"state\": \"draft\",\n                    \"user_id\": {\n                        \"id\": 53,\n                        \"name\": \"Chiew Hao\"\n                    },\n                    \"due_date\": \"2020-11-27\",\n                    \"date\": \"2020-12-02\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0067\",\n                    \"due_date_weekday\": \"Friday\",\n                    \"date_week\": \"2020-W48\",\n                    \"date_month\": \"2020-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 605,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 17,\n                    \"name\": \"Office\"\n                },\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1500,\n                \"order_id\": {\n                    \"id\": 112,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 568,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-03-09\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0092\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W10\",\n                    \"date_month\": \"2022-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 620,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 123,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 698,\n                        \"categ_id\": null,\n                        \"name\": \"Gruppe Marketing Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-04-06\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0103\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W14\",\n                    \"date_month\": \"2022-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 652,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5850,\n                \"order_id\": {\n                    \"id\": 136,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-11-09\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0113\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W45\",\n                    \"date_month\": \"2022-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 685,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5499.6,\n                \"order_id\": {\n                    \"id\": 142,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 927,\n                        \"categ_id\": null,\n                        \"name\": \"Sklew Biotech\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-03-16\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Project Timeline: \\n1 - 2 Months \\n\\nPayment Terms:\\n- 50% Above \\n- 50% After Completion \",\n                    \"number\": \"SO-0118\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W11\",\n                    \"date_month\": \"2023-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 769,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 36000,\n                \"order_id\": {\n                    \"id\": 159,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 890,\n                        \"categ_id\": null,\n                        \"name\": \"LTI Resources Sdn. Bhd.\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-08-02\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0133\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W31\",\n                    \"date_month\": \"2023-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 188,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 796,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Hardware\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 550,\n                \"order_id\": {\n                    \"id\": 36,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-10-19\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0025\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W42\",\n                    \"date_month\": \"2018-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 293,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 51,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-07-25\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0037\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W29\",\n                    \"date_month\": \"2019-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 355,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 70,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2020-02-26\",\n                    \"date\": \"2020-02-26\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0054\",\n                    \"due_date_weekday\": \"Wednesday\",\n                    \"date_week\": \"2020-W08\",\n                    \"date_month\": \"2020-02\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 606,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 17,\n                    \"name\": \"Office\"\n                },\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 800,\n                \"order_id\": {\n                    \"id\": 112,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 568,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-03-09\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0092\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W10\",\n                    \"date_month\": \"2022-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 621,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 790,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Training (Sales)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 123,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 698,\n                        \"categ_id\": null,\n                        \"name\": \"Gruppe Marketing Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-04-06\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0103\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W14\",\n                    \"date_month\": \"2022-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 653,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3600,\n                \"order_id\": {\n                    \"id\": 136,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-11-09\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0113\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W45\",\n                    \"date_month\": \"2022-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 686,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 7000,\n                \"order_id\": {\n                    \"id\": 142,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 927,\n                        \"categ_id\": null,\n                        \"name\": \"Sklew Biotech\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-03-16\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Project Timeline: \\n1 - 2 Months \\n\\nPayment Terms:\\n- 50% Above \\n- 50% After Completion \",\n                    \"number\": \"SO-0118\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W11\",\n                    \"date_month\": \"2023-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 189,\n                \"ship_method_id\": null,\n                \"qty\": 6,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 796,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Hardware\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6360,\n                \"order_id\": {\n                    \"id\": 36,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-10-19\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0025\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W42\",\n                    \"date_month\": \"2018-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 295,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 51,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-07-25\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0037\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W29\",\n                    \"date_month\": \"2019-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 654,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 450,\n                \"order_id\": {\n                    \"id\": 136,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-11-09\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0113\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W45\",\n                    \"date_month\": \"2022-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 687,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 142,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 927,\n                        \"categ_id\": null,\n                        \"name\": \"Sklew Biotech\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-03-16\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Project Timeline: \\n1 - 2 Months \\n\\nPayment Terms:\\n- 50% Above \\n- 50% After Completion \",\n                    \"number\": \"SO-0118\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W11\",\n                    \"date_month\": \"2023-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 190,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 796,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Hardware\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 634,\n                \"order_id\": {\n                    \"id\": 36,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-10-19\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0025\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W42\",\n                    \"date_month\": \"2018-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 296,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 51,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-07-25\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0037\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W29\",\n                    \"date_month\": \"2019-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 655,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2430,\n                \"order_id\": {\n                    \"id\": 136,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-11-09\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0113\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W45\",\n                    \"date_month\": \"2022-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 297,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 50,\n                \"order_id\": {\n                    \"id\": 51,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-07-25\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0037\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W29\",\n                    \"date_month\": \"2019-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 656,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 540,\n                \"order_id\": {\n                    \"id\": 136,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-11-09\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0113\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W45\",\n                    \"date_month\": \"2022-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 298,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 300,\n                \"order_id\": {\n                    \"id\": 51,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-07-25\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0037\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W29\",\n                    \"date_month\": \"2019-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 657,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 136,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-11-09\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0113\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W45\",\n                    \"date_month\": \"2022-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 299,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 300,\n                \"order_id\": {\n                    \"id\": 51,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-07-25\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0037\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W29\",\n                    \"date_month\": \"2019-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 660,\n                \"ship_method_id\": null,\n                \"qty\": 0,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 136,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 776,\n                        \"categ_id\": null,\n                        \"name\": \"OSK Construction Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-11-09\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0113\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W45\",\n                    \"date_month\": \"2022-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 10,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 10,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-03-16\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0002\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W11\",\n                    \"date_month\": \"2018-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 11,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 10,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-03-16\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0002\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W11\",\n                    \"date_month\": \"2018-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 12,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 10,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-03-16\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0002\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W11\",\n                    \"date_month\": \"2018-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 13,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 10,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-03-16\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0002\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W11\",\n                    \"date_month\": \"2018-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 14,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 10,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-03-16\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0002\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W11\",\n                    \"date_month\": \"2018-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 15,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 10,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-03-16\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0002\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W11\",\n                    \"date_month\": \"2018-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 16,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 10,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-03-16\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0002\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W11\",\n                    \"date_month\": \"2018-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 23,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 12,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 97,\n                        \"categ_id\": null,\n                        \"name\": \"Bright Star Logistics Sdn Bhd\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-03-26\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0003\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W13\",\n                    \"date_month\": \"2018-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 24,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 12,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 97,\n                        \"categ_id\": null,\n                        \"name\": \"Bright Star Logistics Sdn Bhd\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-03-26\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0003\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W13\",\n                    \"date_month\": \"2018-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 25,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 12,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 97,\n                        \"categ_id\": null,\n                        \"name\": \"Bright Star Logistics Sdn Bhd\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-03-26\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0003\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W13\",\n                    \"date_month\": \"2018-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 26,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": 15000,\n                \"order_id\": {\n                    \"id\": 13,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 64,\n                        \"categ_id\": null,\n                        \"name\": \"V'asia Cosmetic & Healthcare\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-02-28\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0004\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W09\",\n                    \"date_month\": \"2018-02\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 27,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 14,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 95,\n                        \"categ_id\": null,\n                        \"name\": \"Tan Ngan Lo Retail Stores Sdn Bhd\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-04-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0005\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W16\",\n                    \"date_month\": \"2018-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 28,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3960,\n                \"order_id\": {\n                    \"id\": 14,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 95,\n                        \"categ_id\": null,\n                        \"name\": \"Tan Ngan Lo Retail Stores Sdn Bhd\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-04-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0005\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W16\",\n                    \"date_month\": \"2018-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 29,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2970,\n                \"order_id\": {\n                    \"id\": 14,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 95,\n                        \"categ_id\": null,\n                        \"name\": \"Tan Ngan Lo Retail Stores Sdn Bhd\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-04-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0005\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W16\",\n                    \"date_month\": \"2018-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 30,\n                \"ship_method_id\": null,\n                \"qty\": 2.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 789,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - POS (On-Site)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4950,\n                \"order_id\": {\n                    \"id\": 14,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 95,\n                        \"categ_id\": null,\n                        \"name\": \"Tan Ngan Lo Retail Stores Sdn Bhd\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-04-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0005\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W16\",\n                    \"date_month\": \"2018-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 31,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1980,\n                \"order_id\": {\n                    \"id\": 14,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 95,\n                        \"categ_id\": null,\n                        \"name\": \"Tan Ngan Lo Retail Stores Sdn Bhd\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-04-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0005\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W16\",\n                    \"date_month\": \"2018-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 32,\n                \"ship_method_id\": null,\n                \"qty\": 0,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 14,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 95,\n                        \"categ_id\": null,\n                        \"name\": \"Tan Ngan Lo Retail Stores Sdn Bhd\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-04-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0005\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W16\",\n                    \"date_month\": \"2018-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 33,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 773,\n                    \"categ_id\": null,\n                    \"name\": \"Essential Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 499,\n                \"order_id\": {\n                    \"id\": 14,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 95,\n                        \"categ_id\": null,\n                        \"name\": \"Tan Ngan Lo Retail Stores Sdn Bhd\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-04-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0005\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W16\",\n                    \"date_month\": \"2018-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 34,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 15,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 51,\n                        \"categ_id\": null,\n                        \"name\": \"Universal Cellular Engineering Services Sdn Bhd (380597-A)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-01-12\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0006\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W02\",\n                    \"date_month\": \"2018-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 35,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 16,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 52,\n                        \"categ_id\": null,\n                        \"name\": \"IXORA Corporation Sdn Bhd\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2017-10-25\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0007\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2017-W43\",\n                    \"date_month\": \"2017-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 36,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 17,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 48,\n                        \"categ_id\": null,\n                        \"name\": \"Autochem Marketing Sdn Bhd (1075927-W)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2017-11-15\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0008\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2017-W46\",\n                    \"date_month\": \"2017-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 37,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 18,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 44,\n                        \"categ_id\": null,\n                        \"name\": \"Kolaborasi Kuntum Kasih Sdn. Bhd. \"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2017-10-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0009\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2017-W42\",\n                    \"date_month\": \"2017-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 57,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": 13000,\n                \"order_id\": {\n                    \"id\": 20,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 70,\n                        \"categ_id\": null,\n                        \"name\": \"AGX Logistics (M) Sdn Bhd (640551-H)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-03-06\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0011\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W10\",\n                    \"date_month\": \"2018-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 58,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 21,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 58,\n                        \"categ_id\": null,\n                        \"name\": \"Speed Concrete Industries Sdn Bhd\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-04-28\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0012\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W17\",\n                    \"date_month\": \"2018-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 59,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": 2800,\n                \"order_id\": {\n                    \"id\": 21,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 58,\n                        \"categ_id\": null,\n                        \"name\": \"Speed Concrete Industries Sdn Bhd\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-04-28\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0012\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W17\",\n                    \"date_month\": \"2018-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 60,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 21,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 58,\n                        \"categ_id\": null,\n                        \"name\": \"Speed Concrete Industries Sdn Bhd\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-04-28\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0012\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W17\",\n                    \"date_month\": \"2018-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 62,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 22,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0013\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W18\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 63,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 22,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0013\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W18\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 64,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 765,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Training (Acct)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 22,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0013\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W18\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 65,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 22,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0013\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W18\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 66,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 790,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Training (Sales)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 22,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0013\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W18\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 67,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 785,\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Conf - Purchase\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 22,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0013\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W18\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 68,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 22,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0013\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W18\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 69,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 22,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0013\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W18\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 70,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 801,\n                    \"categ_id\": {\n                        \"id\": 175,\n                        \"name\": \"Online - HR\"\n                    },\n                    \"name\": \"Conf - HR\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 22,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0013\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W18\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 71,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 788,\n                    \"categ_id\": {\n                        \"id\": 175,\n                        \"name\": \"Online - HR\"\n                    },\n                    \"name\": \"Training (HR)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 22,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0013\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W18\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 72,\n                \"ship_method_id\": null,\n                \"qty\": 6,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 12000,\n                \"order_id\": {\n                    \"id\": 22,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0013\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W18\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 73,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 8000,\n                \"order_id\": {\n                    \"id\": 22,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0013\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W18\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 74,\n                \"ship_method_id\": null,\n                \"qty\": 6,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 12000,\n                \"order_id\": {\n                    \"id\": 22,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0013\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W18\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 75,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 8000,\n                \"order_id\": {\n                    \"id\": 22,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0013\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W18\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 76,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 8000,\n                \"order_id\": {\n                    \"id\": 22,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0013\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W18\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 77,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 797,\n                    \"categ_id\": null,\n                    \"name\": \"Consultation (Advisory)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 8000,\n                \"order_id\": {\n                    \"id\": 22,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0013\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W18\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 78,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1999,\n                \"order_id\": {\n                    \"id\": 22,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0013\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W18\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 79,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 23,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0014\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W21\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 80,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 23,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0014\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W21\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 81,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 23,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0014\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W21\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 82,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 23,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0014\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W21\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 83,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 23,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0014\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W21\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 84,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 790,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Training (Sales)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 23,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0014\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W21\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 85,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 797,\n                    \"categ_id\": null,\n                    \"name\": \"Consultation (Advisory)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 23,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0014\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W21\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 86,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 773,\n                    \"categ_id\": null,\n                    \"name\": \"Essential Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 449,\n                \"order_id\": {\n                    \"id\": 23,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-05-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0014\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W21\",\n                    \"date_month\": \"2018-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 97,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 25,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-06-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0015\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W25\",\n                    \"date_month\": \"2018-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 98,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 25,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-06-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0015\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W25\",\n                    \"date_month\": \"2018-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 99,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 25,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-06-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0015\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W25\",\n                    \"date_month\": \"2018-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 100,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 798,\n                    \"categ_id\": null,\n                    \"name\": \"E-commerce Integration\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 25,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-06-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0015\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W25\",\n                    \"date_month\": \"2018-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 101,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 25,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-06-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0015\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W25\",\n                    \"date_month\": \"2018-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 102,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 25,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-06-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0015\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W25\",\n                    \"date_month\": \"2018-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 103,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 790,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Training (Sales)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 25,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-06-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0015\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W25\",\n                    \"date_month\": \"2018-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 104,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 787,\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Training (Purch)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 25,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-06-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0015\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W25\",\n                    \"date_month\": \"2018-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 105,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 25,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-06-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0015\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W25\",\n                    \"date_month\": \"2018-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 106,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 765,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Training (Acct)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 25,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-06-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0015\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W25\",\n                    \"date_month\": \"2018-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 107,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 26,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-04-18\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0010\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W16\",\n                    \"date_month\": \"2018-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 108,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 765,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Training (Acct)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 26,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-04-18\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0010\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W16\",\n                    \"date_month\": \"2018-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 109,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 801,\n                    \"categ_id\": {\n                        \"id\": 175,\n                        \"name\": \"Online - HR\"\n                    },\n                    \"name\": \"Conf - HR\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 26,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-04-18\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0010\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W16\",\n                    \"date_month\": \"2018-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 110,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 788,\n                    \"categ_id\": {\n                        \"id\": 175,\n                        \"name\": \"Online - HR\"\n                    },\n                    \"name\": \"Training (HR)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 26,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-04-18\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0010\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W16\",\n                    \"date_month\": \"2018-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 111,\n                \"ship_method_id\": null,\n                \"qty\": 2.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 797,\n                    \"categ_id\": null,\n                    \"name\": \"Consultation (Advisory)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 26,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-04-18\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0010\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W16\",\n                    \"date_month\": \"2018-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 112,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 773,\n                    \"categ_id\": null,\n                    \"name\": \"Essential Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2649,\n                \"order_id\": {\n                    \"id\": 26,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-04-18\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0010\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W16\",\n                    \"date_month\": \"2018-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 113,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 800,\n                    \"categ_id\": null,\n                    \"name\": \"IBM Watson Analytics\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 399,\n                \"order_id\": {\n                    \"id\": 26,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-04-18\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0010\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W16\",\n                    \"date_month\": \"2018-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 114,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": 13000,\n                \"order_id\": {\n                    \"id\": 27,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 61,\n                        \"categ_id\": null,\n                        \"name\": \"KH Shutters Sdn Bhd (734835-T)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-03-01\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0016\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W09\",\n                    \"date_month\": \"2018-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 115,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 28,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 141,\n                        \"categ_id\": null,\n                        \"name\": \"Colas Rail System Engineering Sdn Bhd (1058672-T)\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-08-01\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0017\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W31\",\n                    \"date_month\": \"2018-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 116,\n                \"ship_method_id\": null,\n                \"qty\": 2.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 28,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 141,\n                        \"categ_id\": null,\n                        \"name\": \"Colas Rail System Engineering Sdn Bhd (1058672-T)\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-08-01\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0017\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W31\",\n                    \"date_month\": \"2018-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 117,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 28,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 141,\n                        \"categ_id\": null,\n                        \"name\": \"Colas Rail System Engineering Sdn Bhd (1058672-T)\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-08-01\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0017\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W31\",\n                    \"date_month\": \"2018-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 118,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 399,\n                \"order_id\": {\n                    \"id\": 28,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 141,\n                        \"categ_id\": null,\n                        \"name\": \"Colas Rail System Engineering Sdn Bhd (1058672-T)\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-08-01\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0017\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W31\",\n                    \"date_month\": \"2018-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 119,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 29,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 148,\n                        \"categ_id\": null,\n                        \"name\": \"Sin Nam Ann Transport Sdn Bhd\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-08-30\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0018\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W35\",\n                    \"date_month\": \"2018-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 120,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 29,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 148,\n                        \"categ_id\": null,\n                        \"name\": \"Sin Nam Ann Transport Sdn Bhd\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-08-30\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0018\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W35\",\n                    \"date_month\": \"2018-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 121,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 797,\n                    \"categ_id\": null,\n                    \"name\": \"Consultation (Advisory)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 29,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 148,\n                        \"categ_id\": null,\n                        \"name\": \"Sin Nam Ann Transport Sdn Bhd\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-08-30\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0018\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W35\",\n                    \"date_month\": \"2018-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 122,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 29,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 148,\n                        \"categ_id\": null,\n                        \"name\": \"Sin Nam Ann Transport Sdn Bhd\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-08-30\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0018\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W35\",\n                    \"date_month\": \"2018-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 123,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 399,\n                \"order_id\": {\n                    \"id\": 29,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 148,\n                        \"categ_id\": null,\n                        \"name\": \"Sin Nam Ann Transport Sdn Bhd\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-08-30\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0018\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W35\",\n                    \"date_month\": \"2018-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 124,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 30,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"draft\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-08-30\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0019\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W35\",\n                    \"date_month\": \"2018-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 125,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 777,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Training (Manuf)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 30,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"draft\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-08-30\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0019\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W35\",\n                    \"date_month\": \"2018-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 126,\n                \"ship_method_id\": null,\n                \"qty\": 9,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 18000,\n                \"order_id\": {\n                    \"id\": 30,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"draft\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-08-30\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0019\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W35\",\n                    \"date_month\": \"2018-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 127,\n                \"ship_method_id\": null,\n                \"qty\": 3.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 7000,\n                \"order_id\": {\n                    \"id\": 30,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"draft\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-08-30\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0019\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W35\",\n                    \"date_month\": \"2018-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 128,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 30,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"draft\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-08-30\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0019\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W35\",\n                    \"date_month\": \"2018-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 129,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 30,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"draft\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-08-30\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0019\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W35\",\n                    \"date_month\": \"2018-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 130,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 30,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"draft\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-08-30\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0019\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W35\",\n                    \"date_month\": \"2018-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 131,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 31,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-09-22\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0020\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W38\",\n                    \"date_month\": \"2018-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 132,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 31,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-09-22\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0020\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W38\",\n                    \"date_month\": \"2018-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 133,\n                \"ship_method_id\": null,\n                \"qty\": 7,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 14000,\n                \"order_id\": {\n                    \"id\": 31,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-09-22\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0020\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W38\",\n                    \"date_month\": \"2018-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 134,\n                \"ship_method_id\": null,\n                \"qty\": 6,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 32,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 158,\n                        \"categ_id\": null,\n                        \"name\": \"AGX Logistics Singapore Pte Ltd\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0021\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W39\",\n                    \"date_month\": \"2018-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 135,\n                \"ship_method_id\": null,\n                \"qty\": 5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2500,\n                \"order_id\": {\n                    \"id\": 32,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 158,\n                        \"categ_id\": null,\n                        \"name\": \"AGX Logistics Singapore Pte Ltd\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0021\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W39\",\n                    \"date_month\": \"2018-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 136,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1500,\n                \"order_id\": {\n                    \"id\": 32,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 158,\n                        \"categ_id\": null,\n                        \"name\": \"AGX Logistics Singapore Pte Ltd\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0021\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W39\",\n                    \"date_month\": \"2018-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 137,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 500,\n                \"order_id\": {\n                    \"id\": 32,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 158,\n                        \"categ_id\": null,\n                        \"name\": \"AGX Logistics Singapore Pte Ltd\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0021\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W39\",\n                    \"date_month\": \"2018-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 138,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 32,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 158,\n                        \"categ_id\": null,\n                        \"name\": \"AGX Logistics Singapore Pte Ltd\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0021\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W39\",\n                    \"date_month\": \"2018-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 139,\n                \"ship_method_id\": null,\n                \"qty\": 5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2500,\n                \"order_id\": {\n                    \"id\": 32,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 158,\n                        \"categ_id\": null,\n                        \"name\": \"AGX Logistics Singapore Pte Ltd\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0021\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W39\",\n                    \"date_month\": \"2018-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 140,\n                \"ship_method_id\": null,\n                \"qty\": 2.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1250,\n                \"order_id\": {\n                    \"id\": 32,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 158,\n                        \"categ_id\": null,\n                        \"name\": \"AGX Logistics Singapore Pte Ltd\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0021\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W39\",\n                    \"date_month\": \"2018-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 141,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 808,\n                    \"categ_id\": null,\n                    \"name\": \"Consultation (Automation)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 500,\n                \"order_id\": {\n                    \"id\": 32,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 158,\n                        \"categ_id\": null,\n                        \"name\": \"AGX Logistics Singapore Pte Ltd\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0021\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W39\",\n                    \"date_month\": \"2018-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 142,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 797,\n                    \"categ_id\": null,\n                    \"name\": \"Consultation (Advisory)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 32,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 158,\n                        \"categ_id\": null,\n                        \"name\": \"AGX Logistics Singapore Pte Ltd\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0021\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W39\",\n                    \"date_month\": \"2018-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 143,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 399,\n                \"order_id\": {\n                    \"id\": 32,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 158,\n                        \"categ_id\": null,\n                        \"name\": \"AGX Logistics Singapore Pte Ltd\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0021\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W39\",\n                    \"date_month\": \"2018-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 144,\n                \"ship_method_id\": null,\n                \"qty\": 0,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 32,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 158,\n                        \"categ_id\": null,\n                        \"name\": \"AGX Logistics Singapore Pte Ltd\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0021\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W39\",\n                    \"date_month\": \"2018-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 145,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 803,\n                    \"categ_id\": null,\n                    \"name\": \"Travel Fees\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 900,\n                \"order_id\": {\n                    \"id\": 32,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 158,\n                        \"categ_id\": null,\n                        \"name\": \"AGX Logistics Singapore Pte Ltd\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0021\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W39\",\n                    \"date_month\": \"2018-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 146,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 33,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": null,\n                    \"due_date\": null,\n                    \"date\": \"2018-09-25\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0022\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W39\",\n                    \"date_month\": \"2018-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 147,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 33,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": null,\n                    \"due_date\": null,\n                    \"date\": \"2018-09-25\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0022\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W39\",\n                    \"date_month\": \"2018-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 148,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 765,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Training (Acct)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 33,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": null,\n                    \"due_date\": null,\n                    \"date\": \"2018-09-25\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0022\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W39\",\n                    \"date_month\": \"2018-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 149,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 33,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": null,\n                    \"due_date\": null,\n                    \"date\": \"2018-09-25\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0022\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W39\",\n                    \"date_month\": \"2018-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 151,\n                \"ship_method_id\": null,\n                \"qty\": null,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 34,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": null,\n                    \"due_date\": null,\n                    \"date\": \"2018-10-08\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0023\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W41\",\n                    \"date_month\": \"2018-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 152,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 809,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - CRM\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 34,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": null,\n                    \"due_date\": null,\n                    \"date\": \"2018-10-08\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0023\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W41\",\n                    \"date_month\": \"2018-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 153,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 790,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Training (Sales)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 34,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 107,\n                        \"categ_id\": null,\n                        \"name\": \"Antah Pharma Sdn. Bhd. (118544-V)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": null,\n                    \"due_date\": null,\n                    \"date\": \"2018-10-08\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0023\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W41\",\n                    \"date_month\": \"2018-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 183,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 784,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1060,\n                \"order_id\": {\n                    \"id\": 35,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 64,\n                        \"categ_id\": null,\n                        \"name\": \"V'asia Cosmetic & Healthcare\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-10-08\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0024\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W41\",\n                    \"date_month\": \"2018-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 184,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 796,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Hardware\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3180,\n                \"order_id\": {\n                    \"id\": 35,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 64,\n                        \"categ_id\": null,\n                        \"name\": \"V'asia Cosmetic & Healthcare\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-10-08\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0024\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W41\",\n                    \"date_month\": \"2018-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 185,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 796,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Hardware\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4120,\n                \"order_id\": {\n                    \"id\": 35,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 64,\n                        \"categ_id\": null,\n                        \"name\": \"V'asia Cosmetic & Healthcare\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-10-08\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0024\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W41\",\n                    \"date_month\": \"2018-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 186,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 796,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Hardware\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 35,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 64,\n                        \"categ_id\": null,\n                        \"name\": \"V'asia Cosmetic & Healthcare\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-10-08\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0024\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W41\",\n                    \"date_month\": \"2018-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 192,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3500,\n                \"order_id\": {\n                    \"id\": 37,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 168,\n                        \"categ_id\": null,\n                        \"name\": \"Perusahaan Cemerlang Raya Sdn Bhd (162783-K)\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-10-23\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0026\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W43\",\n                    \"date_month\": \"2018-10\"\n                },\n                \"notes\": \"1 Day\"\n            },\n            {\n                \"id\": 193,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 796,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Hardware\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2060,\n                \"order_id\": {\n                    \"id\": 37,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 168,\n                        \"categ_id\": null,\n                        \"name\": \"Perusahaan Cemerlang Raya Sdn Bhd (162783-K)\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-10-23\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0026\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W43\",\n                    \"date_month\": \"2018-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 194,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 399,\n                \"order_id\": {\n                    \"id\": 37,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 168,\n                        \"categ_id\": null,\n                        \"name\": \"Perusahaan Cemerlang Raya Sdn Bhd (162783-K)\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-10-23\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0026\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W43\",\n                    \"date_month\": \"2018-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 195,\n                \"ship_method_id\": null,\n                \"qty\": 8,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 798,\n                    \"categ_id\": null,\n                    \"name\": \"E-commerce Integration\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 16000,\n                \"order_id\": {\n                    \"id\": 38,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-11-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0027\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W47\",\n                    \"date_month\": \"2018-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 196,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 39,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-11-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0028\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W47\",\n                    \"date_month\": \"2018-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 197,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 39,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-11-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0028\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W47\",\n                    \"date_month\": \"2018-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 198,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 39,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-11-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0028\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W47\",\n                    \"date_month\": \"2018-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 199,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 39,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-11-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0028\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W47\",\n                    \"date_month\": \"2018-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 200,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 39,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-11-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0028\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W47\",\n                    \"date_month\": \"2018-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 201,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 790,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Training (Sales)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 39,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-11-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0028\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W47\",\n                    \"date_month\": \"2018-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 202,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 765,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Training (Acct)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 39,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-11-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0028\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W47\",\n                    \"date_month\": \"2018-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 203,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 39,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-11-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0028\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W47\",\n                    \"date_month\": \"2018-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 204,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 39,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-11-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0028\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W47\",\n                    \"date_month\": \"2018-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 205,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 797,\n                    \"categ_id\": null,\n                    \"name\": \"Consultation (Advisory)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 39,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-11-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0028\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W47\",\n                    \"date_month\": \"2018-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 206,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 773,\n                    \"categ_id\": null,\n                    \"name\": \"Essential Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 449,\n                \"order_id\": {\n                    \"id\": 39,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2018-11-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0028\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2018-W47\",\n                    \"date_month\": \"2018-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 221,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 41,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-01-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0029\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W00\",\n                    \"date_month\": \"2019-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 222,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 41,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-01-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0029\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W00\",\n                    \"date_month\": \"2019-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 223,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 41,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-01-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0029\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W00\",\n                    \"date_month\": \"2019-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 224,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 41,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-01-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0029\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W00\",\n                    \"date_month\": \"2019-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 225,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 41,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-01-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0029\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W00\",\n                    \"date_month\": \"2019-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 226,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 41,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-01-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0029\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W00\",\n                    \"date_month\": \"2019-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 227,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 790,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Training (Sales)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 41,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-01-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0029\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W00\",\n                    \"date_month\": \"2019-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 228,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 41,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-01-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0029\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W00\",\n                    \"date_month\": \"2019-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 229,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 789,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - POS (On-Site)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 41,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-01-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0029\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W00\",\n                    \"date_month\": \"2019-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 230,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 41,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-01-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0029\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W00\",\n                    \"date_month\": \"2019-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 231,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 765,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Training (Acct)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 41,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-01-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0029\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W00\",\n                    \"date_month\": \"2019-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 232,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 797,\n                    \"categ_id\": null,\n                    \"name\": \"Consultation (Advisory)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 41,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-01-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0029\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W00\",\n                    \"date_month\": \"2019-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 233,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 41,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-01-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0029\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W00\",\n                    \"date_month\": \"2019-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 234,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1499,\n                \"order_id\": {\n                    \"id\": 41,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-01-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0029\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W00\",\n                    \"date_month\": \"2019-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 235,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 42,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-01-15\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0030\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W02\",\n                    \"date_month\": \"2019-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 236,\n                \"ship_method_id\": null,\n                \"qty\": 2.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 42,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-01-15\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0030\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W02\",\n                    \"date_month\": \"2019-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 237,\n                \"ship_method_id\": null,\n                \"qty\": 9,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 18000,\n                \"order_id\": {\n                    \"id\": 43,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-02-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0031\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W06\",\n                    \"date_month\": \"2019-02\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 238,\n                \"ship_method_id\": null,\n                \"qty\": 18,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 36000,\n                \"order_id\": {\n                    \"id\": 43,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-02-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0031\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W06\",\n                    \"date_month\": \"2019-02\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 239,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 43,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-02-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0031\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W06\",\n                    \"date_month\": \"2019-02\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 240,\n                \"ship_method_id\": null,\n                \"qty\": 5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 10000,\n                \"order_id\": {\n                    \"id\": 43,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-02-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0031\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W06\",\n                    \"date_month\": \"2019-02\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 241,\n                \"ship_method_id\": null,\n                \"qty\": 3.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 7000,\n                \"order_id\": {\n                    \"id\": 43,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-02-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0031\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W06\",\n                    \"date_month\": \"2019-02\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 242,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 43,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-02-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0031\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W06\",\n                    \"date_month\": \"2019-02\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 243,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 43,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-02-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0031\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W06\",\n                    \"date_month\": \"2019-02\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 244,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 777,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Training (Manuf)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 43,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-02-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0031\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W06\",\n                    \"date_month\": \"2019-02\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 245,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 777,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Training (Manuf)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 43,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-02-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0031\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W06\",\n                    \"date_month\": \"2019-02\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 246,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 43,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-02-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0031\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W06\",\n                    \"date_month\": \"2019-02\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 247,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 44,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-02-25\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0032\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W08\",\n                    \"date_month\": \"2019-02\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 248,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 815,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 44,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-02-25\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0032\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W08\",\n                    \"date_month\": \"2019-02\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 257,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 47,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-03-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0033\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W11\",\n                    \"date_month\": \"2019-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 258,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 47,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-03-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0033\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W11\",\n                    \"date_month\": \"2019-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 259,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 47,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-03-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0033\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W11\",\n                    \"date_month\": \"2019-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 260,\n                \"ship_method_id\": null,\n                \"qty\": 6,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 12000,\n                \"order_id\": {\n                    \"id\": 47,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-03-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0033\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W11\",\n                    \"date_month\": \"2019-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 261,\n                \"ship_method_id\": null,\n                \"qty\": 2.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 47,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-03-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0033\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W11\",\n                    \"date_month\": \"2019-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 262,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 47,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-03-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0033\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W11\",\n                    \"date_month\": \"2019-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 263,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 790,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Training (Sales)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 47,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-03-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0033\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W11\",\n                    \"date_month\": \"2019-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 264,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 47,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-03-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0033\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W11\",\n                    \"date_month\": \"2019-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 265,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 790,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Training (Sales)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 47,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-03-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0033\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W11\",\n                    \"date_month\": \"2019-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 266,\n                \"ship_method_id\": null,\n                \"qty\": 7,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 14000,\n                \"order_id\": {\n                    \"id\": 47,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-03-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0033\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W11\",\n                    \"date_month\": \"2019-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 267,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 777,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Training (Manuf)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 47,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-03-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0033\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W11\",\n                    \"date_month\": \"2019-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 268,\n                \"ship_method_id\": null,\n                \"qty\": 7,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 797,\n                    \"categ_id\": null,\n                    \"name\": \"Consultation (Advisory)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 14000,\n                \"order_id\": {\n                    \"id\": 47,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-03-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0033\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W11\",\n                    \"date_month\": \"2019-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 269,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1299,\n                \"order_id\": {\n                    \"id\": 47,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-03-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0033\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W11\",\n                    \"date_month\": \"2019-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 270,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 48,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-04-15\",\n                    \"date\": \"2019-04-15\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0034\",\n                    \"due_date_weekday\": \"Monday\",\n                    \"date_week\": \"2019-W15\",\n                    \"date_month\": \"2019-04\"\n                },\n                \"notes\": \"1 Day\"\n            },\n            {\n                \"id\": 271,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 48,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-04-15\",\n                    \"date\": \"2019-04-15\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0034\",\n                    \"due_date_weekday\": \"Monday\",\n                    \"date_week\": \"2019-W15\",\n                    \"date_month\": \"2019-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 272,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 48,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-04-15\",\n                    \"date\": \"2019-04-15\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0034\",\n                    \"due_date_weekday\": \"Monday\",\n                    \"date_week\": \"2019-W15\",\n                    \"date_month\": \"2019-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 273,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 48,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-04-15\",\n                    \"date\": \"2019-04-15\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0034\",\n                    \"due_date_weekday\": \"Monday\",\n                    \"date_week\": \"2019-W15\",\n                    \"date_month\": \"2019-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 274,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 789,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - POS (On-Site)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 48,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-04-15\",\n                    \"date\": \"2019-04-15\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0034\",\n                    \"due_date_weekday\": \"Monday\",\n                    \"date_week\": \"2019-W15\",\n                    \"date_month\": \"2019-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 275,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 48,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-04-15\",\n                    \"date\": \"2019-04-15\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0034\",\n                    \"due_date_weekday\": \"Monday\",\n                    \"date_week\": \"2019-W15\",\n                    \"date_month\": \"2019-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 276,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 48,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-04-15\",\n                    \"date\": \"2019-04-15\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0034\",\n                    \"due_date_weekday\": \"Monday\",\n                    \"date_week\": \"2019-W15\",\n                    \"date_month\": \"2019-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 277,\n                \"ship_method_id\": null,\n                \"qty\": 7,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 815,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 14000,\n                \"order_id\": {\n                    \"id\": 49,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-04-16\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0035\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W15\",\n                    \"date_month\": \"2019-04\"\n                },\n                \"notes\": \"1 Day\"\n            },\n            {\n                \"id\": 278,\n                \"ship_method_id\": null,\n                \"qty\": 5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 15000,\n                \"order_id\": {\n                    \"id\": 49,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-04-16\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0035\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W15\",\n                    \"date_month\": \"2019-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 279,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 815,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 49,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-04-16\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0035\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W15\",\n                    \"date_month\": \"2019-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 280,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 49,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-04-16\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0035\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W15\",\n                    \"date_month\": \"2019-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 281,\n                \"ship_method_id\": null,\n                \"qty\": 9,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 18000,\n                \"order_id\": {\n                    \"id\": 50,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-05-06\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0036\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W18\",\n                    \"date_month\": \"2019-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 282,\n                \"ship_method_id\": null,\n                \"qty\": 36,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 72000,\n                \"order_id\": {\n                    \"id\": 50,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-05-06\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0036\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W18\",\n                    \"date_month\": \"2019-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 283,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 50,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-05-06\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0036\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W18\",\n                    \"date_month\": \"2019-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 284,\n                \"ship_method_id\": null,\n                \"qty\": 5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 10000,\n                \"order_id\": {\n                    \"id\": 50,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-05-06\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0036\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W18\",\n                    \"date_month\": \"2019-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 285,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 50,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-05-06\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0036\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W18\",\n                    \"date_month\": \"2019-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 286,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 777,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Training (Manuf)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 50,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-05-06\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0036\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W18\",\n                    \"date_month\": \"2019-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 287,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 777,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Training (Manuf)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 50,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-05-06\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0036\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W18\",\n                    \"date_month\": \"2019-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 288,\n                \"ship_method_id\": null,\n                \"qty\": 7,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 14000,\n                \"order_id\": {\n                    \"id\": 50,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-05-06\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0036\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W18\",\n                    \"date_month\": \"2019-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 289,\n                \"ship_method_id\": null,\n                \"qty\": 7.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 15000,\n                \"order_id\": {\n                    \"id\": 50,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-05-06\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0036\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W18\",\n                    \"date_month\": \"2019-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 290,\n                \"ship_method_id\": null,\n                \"qty\": 15,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 30000,\n                \"order_id\": {\n                    \"id\": 50,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-05-06\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0036\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W18\",\n                    \"date_month\": \"2019-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 300,\n                \"ship_method_id\": null,\n                \"qty\": 2.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 52,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 195,\n                        \"categ_id\": null,\n                        \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-08-02\",\n                    \"date\": \"2019-08-02\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0038\",\n                    \"due_date_weekday\": \"Friday\",\n                    \"date_week\": \"2019-W30\",\n                    \"date_month\": \"2019-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 301,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 52,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 195,\n                        \"categ_id\": null,\n                        \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-08-02\",\n                    \"date\": \"2019-08-02\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0038\",\n                    \"due_date_weekday\": \"Friday\",\n                    \"date_week\": \"2019-W30\",\n                    \"date_month\": \"2019-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 302,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 52,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 195,\n                        \"categ_id\": null,\n                        \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-08-02\",\n                    \"date\": \"2019-08-02\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0038\",\n                    \"due_date_weekday\": \"Friday\",\n                    \"date_week\": \"2019-W30\",\n                    \"date_month\": \"2019-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 303,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 790,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Training (Sales)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 52,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 195,\n                        \"categ_id\": null,\n                        \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-08-02\",\n                    \"date\": \"2019-08-02\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0038\",\n                    \"due_date_weekday\": \"Friday\",\n                    \"date_week\": \"2019-W30\",\n                    \"date_month\": \"2019-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 304,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 52,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 195,\n                        \"categ_id\": null,\n                        \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-08-02\",\n                    \"date\": \"2019-08-02\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0038\",\n                    \"due_date_weekday\": \"Friday\",\n                    \"date_week\": \"2019-W30\",\n                    \"date_month\": \"2019-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 305,\n                \"ship_method_id\": null,\n                \"qty\": 0,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 52,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 195,\n                        \"categ_id\": null,\n                        \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-08-02\",\n                    \"date\": \"2019-08-02\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0038\",\n                    \"due_date_weekday\": \"Friday\",\n                    \"date_week\": \"2019-W30\",\n                    \"date_month\": \"2019-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 306,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 52,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 195,\n                        \"categ_id\": null,\n                        \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-08-02\",\n                    \"date\": \"2019-08-02\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0038\",\n                    \"due_date_weekday\": \"Friday\",\n                    \"date_week\": \"2019-W30\",\n                    \"date_month\": \"2019-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 307,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 52,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 195,\n                        \"categ_id\": null,\n                        \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-08-02\",\n                    \"date\": \"2019-08-02\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0038\",\n                    \"due_date_weekday\": \"Friday\",\n                    \"date_week\": \"2019-W30\",\n                    \"date_month\": \"2019-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 308,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 777,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Training (Manuf)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 52,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 195,\n                        \"categ_id\": null,\n                        \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-08-02\",\n                    \"date\": \"2019-08-02\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0038\",\n                    \"due_date_weekday\": \"Friday\",\n                    \"date_week\": \"2019-W30\",\n                    \"date_month\": \"2019-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 309,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 814,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Wired Barcode Scanner\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 317,\n                \"order_id\": {\n                    \"id\": 52,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 195,\n                        \"categ_id\": null,\n                        \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-08-02\",\n                    \"date\": \"2019-08-02\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0038\",\n                    \"due_date_weekday\": \"Friday\",\n                    \"date_week\": \"2019-W30\",\n                    \"date_month\": \"2019-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 310,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 812,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"AR450 Touch POS Terminal\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2060,\n                \"order_id\": {\n                    \"id\": 52,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 195,\n                        \"categ_id\": null,\n                        \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-08-02\",\n                    \"date\": \"2019-08-02\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0038\",\n                    \"due_date_weekday\": \"Friday\",\n                    \"date_week\": \"2019-W30\",\n                    \"date_month\": \"2019-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 311,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 797,\n                    \"categ_id\": null,\n                    \"name\": \"Consultation (Advisory)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 8000,\n                \"order_id\": {\n                    \"id\": 52,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 195,\n                        \"categ_id\": null,\n                        \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-08-02\",\n                    \"date\": \"2019-08-02\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0038\",\n                    \"due_date_weekday\": \"Friday\",\n                    \"date_week\": \"2019-W30\",\n                    \"date_month\": \"2019-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 312,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 399,\n                \"order_id\": {\n                    \"id\": 52,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 195,\n                        \"categ_id\": null,\n                        \"name\": \"Lord's Tailor (M) Sdn Bhd (196906-D)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-08-02\",\n                    \"date\": \"2019-08-02\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0038\",\n                    \"due_date_weekday\": \"Friday\",\n                    \"date_week\": \"2019-W30\",\n                    \"date_month\": \"2019-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 313,\n                \"ship_method_id\": null,\n                \"qty\": 7,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 14000,\n                \"order_id\": {\n                    \"id\": 53,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-08-10\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0039\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W31\",\n                    \"date_month\": \"2019-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 314,\n                \"ship_method_id\": null,\n                \"qty\": 2.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 53,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-08-10\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0039\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W31\",\n                    \"date_month\": \"2019-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 315,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 53,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-08-10\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0039\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W31\",\n                    \"date_month\": \"2019-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 316,\n                \"ship_method_id\": null,\n                \"qty\": 2.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 53,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-08-10\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0039\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W31\",\n                    \"date_month\": \"2019-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 317,\n                \"ship_method_id\": null,\n                \"qty\": 9,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 18000,\n                \"order_id\": {\n                    \"id\": 54,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-08-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0040\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W33\",\n                    \"date_month\": \"2019-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 318,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 800,\n                \"order_id\": {\n                    \"id\": 54,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-08-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0040\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W33\",\n                    \"date_month\": \"2019-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 319,\n                \"ship_method_id\": null,\n                \"qty\": 5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 10000,\n                \"order_id\": {\n                    \"id\": 55,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-09-07\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0041\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W35\",\n                    \"date_month\": \"2019-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 320,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 797,\n                    \"categ_id\": null,\n                    \"name\": \"Consultation (Advisory)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 55,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-09-07\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0041\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W35\",\n                    \"date_month\": \"2019-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 321,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 56,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-09-13\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0042\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W36\",\n                    \"date_month\": \"2019-09\"\n                },\n                \"notes\": \"0.5 Day\"\n            },\n            {\n                \"id\": 322,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 750,\n                \"order_id\": {\n                    \"id\": 56,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-09-13\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0042\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W36\",\n                    \"date_month\": \"2019-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 323,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 417,\n                \"order_id\": {\n                    \"id\": 56,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-09-13\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0042\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W36\",\n                    \"date_month\": \"2019-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 324,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 57,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-10-03\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0043\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W39\",\n                    \"date_month\": \"2019-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 325,\n                \"ship_method_id\": null,\n                \"qty\": 3.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 7000,\n                \"order_id\": {\n                    \"id\": 58,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-10-24\",\n                    \"date\": \"2019-10-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0044\",\n                    \"due_date_weekday\": \"Thursday\",\n                    \"date_week\": \"2019-W42\",\n                    \"date_month\": \"2019-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 326,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 59,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-11-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0045\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W45\",\n                    \"date_month\": \"2019-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 327,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 59,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-11-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0045\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W45\",\n                    \"date_month\": \"2019-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 328,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 59,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-11-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0045\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W45\",\n                    \"date_month\": \"2019-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 329,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 59,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-11-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0045\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W45\",\n                    \"date_month\": \"2019-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 330,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 59,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-11-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0045\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W45\",\n                    \"date_month\": \"2019-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 331,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 59,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-11-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0045\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W45\",\n                    \"date_month\": \"2019-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 332,\n                \"ship_method_id\": null,\n                \"qty\": 5,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2500,\n                \"order_id\": {\n                    \"id\": 59,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-11-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0045\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W45\",\n                    \"date_month\": \"2019-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 333,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 60,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-11-26\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0046\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W47\",\n                    \"date_month\": \"2019-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 334,\n                \"ship_method_id\": null,\n                \"qty\": 2.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 60,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-11-26\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0046\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W47\",\n                    \"date_month\": \"2019-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 335,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 60,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-11-26\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0046\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W47\",\n                    \"date_month\": \"2019-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 336,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 61,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-11-26\",\n                    \"date\": \"2019-11-26\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0047\",\n                    \"due_date_weekday\": \"Tuesday\",\n                    \"date_week\": \"2019-W47\",\n                    \"date_month\": \"2019-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 337,\n                \"ship_method_id\": null,\n                \"qty\": 3.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 7000,\n                \"order_id\": {\n                    \"id\": 61,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": \"2019-11-26\",\n                    \"date\": \"2019-11-26\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0047\",\n                    \"due_date_weekday\": \"Tuesday\",\n                    \"date_week\": \"2019-W47\",\n                    \"date_month\": \"2019-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 338,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 821,\n                    \"categ_id\": null,\n                    \"name\": \"Excel Automation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4500,\n                \"order_id\": {\n                    \"id\": 62,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 112,\n                        \"categ_id\": null,\n                        \"name\": \"RICOH (Malaysia) Sdn. Bhd. (10078-W)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-12-07\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0048\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W48\",\n                    \"date_month\": \"2019-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 339,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 821,\n                    \"categ_id\": null,\n                    \"name\": \"Excel Automation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 500,\n                \"order_id\": {\n                    \"id\": 62,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 112,\n                        \"categ_id\": null,\n                        \"name\": \"RICOH (Malaysia) Sdn. Bhd. (10078-W)\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-12-07\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0048\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W48\",\n                    \"date_month\": \"2019-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 340,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 63,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-12-07\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0049\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W48\",\n                    \"date_month\": \"2019-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 342,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 65,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-12-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0050\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W50\",\n                    \"date_month\": \"2019-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 343,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 817,\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms (Bundle)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 500,\n                \"order_id\": {\n                    \"id\": 65,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-12-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0050\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W50\",\n                    \"date_month\": \"2019-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 344,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 65,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-12-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0050\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W50\",\n                    \"date_month\": \"2019-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 345,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 817,\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms (Bundle)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 65,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-12-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0050\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W50\",\n                    \"date_month\": \"2019-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 346,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1500,\n                \"order_id\": {\n                    \"id\": 66,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-12-31\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"S-20200001\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W52\",\n                    \"date_month\": \"2019-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 347,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 815,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4500,\n                \"order_id\": {\n                    \"id\": 66,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-12-31\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"S-20200001\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W52\",\n                    \"date_month\": \"2019-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 348,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 66,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-12-31\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"S-20200001\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W52\",\n                    \"date_month\": \"2019-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 349,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 66,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 114,\n                        \"categ_id\": null,\n                        \"name\": \"FEC Cables (M) Sdn. Bhd (7293-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2019-12-31\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"S-20200001\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2019-W52\",\n                    \"date_month\": \"2019-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 350,\n                \"ship_method_id\": null,\n                \"qty\": 5,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 797,\n                    \"categ_id\": null,\n                    \"name\": \"Consultation (Advisory)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 10000,\n                \"order_id\": {\n                    \"id\": 67,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 402,\n                        \"categ_id\": null,\n                        \"name\": \"Taiko Marketing Sdn Bhd\"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-01-21\",\n                    \"seller_id\": null,\n                    \"other_info\": \"SmartB Shared\\\\Team Share\\\\1. Clients\\\\1.0 Quotation Stage\\\\2019 11 - Taiko\\\\Requirement\",\n                    \"number\": \"SO-0051\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W03\",\n                    \"date_month\": \"2020-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 351,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 812,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"AR450 Touch POS Terminal\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2160,\n                \"order_id\": {\n                    \"id\": 68,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": \"2020-02-14\",\n                    \"date\": \"2020-02-14\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0052\",\n                    \"due_date_weekday\": \"Friday\",\n                    \"date_week\": \"2020-W06\",\n                    \"date_month\": \"2020-02\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 352,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 350,\n                \"order_id\": {\n                    \"id\": 68,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": \"2020-02-14\",\n                    \"date\": \"2020-02-14\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0052\",\n                    \"due_date_weekday\": \"Friday\",\n                    \"date_week\": \"2020-W06\",\n                    \"date_month\": \"2020-02\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 353,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 69,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-02-22\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0053\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W07\",\n                    \"date_month\": \"2020-02\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 356,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 815,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 71,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-03-30\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0055\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W13\",\n                    \"date_month\": \"2020-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 357,\n                \"ship_method_id\": null,\n                \"qty\": 6,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 815,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 12000,\n                \"order_id\": {\n                    \"id\": 71,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-03-30\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0055\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W13\",\n                    \"date_month\": \"2020-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 358,\n                \"ship_method_id\": null,\n                \"qty\": 7.5,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 15000,\n                \"order_id\": {\n                    \"id\": 71,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-03-30\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0055\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W13\",\n                    \"date_month\": \"2020-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 359,\n                \"ship_method_id\": null,\n                \"qty\": 5,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 10000,\n                \"order_id\": {\n                    \"id\": 71,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-03-30\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0055\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W13\",\n                    \"date_month\": \"2020-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 360,\n                \"ship_method_id\": null,\n                \"qty\": 5.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 11000,\n                \"order_id\": {\n                    \"id\": 72,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-05-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0056\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W20\",\n                    \"date_month\": \"2020-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 361,\n                \"ship_method_id\": null,\n                \"qty\": 10,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 20000,\n                \"order_id\": {\n                    \"id\": 72,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-05-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0056\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W20\",\n                    \"date_month\": \"2020-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 362,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 72,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-05-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0056\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W20\",\n                    \"date_month\": \"2020-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 363,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 8000,\n                \"order_id\": {\n                    \"id\": 72,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-05-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0056\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W20\",\n                    \"date_month\": \"2020-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 364,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 789,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - POS (On-Site)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 72,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-05-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0056\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W20\",\n                    \"date_month\": \"2020-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 365,\n                \"ship_method_id\": null,\n                \"qty\": 8,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 797,\n                    \"categ_id\": null,\n                    \"name\": \"Consultation (Advisory)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 16000,\n                \"order_id\": {\n                    \"id\": 72,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-05-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0056\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W20\",\n                    \"date_month\": \"2020-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 366,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 72,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-05-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0056\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W20\",\n                    \"date_month\": \"2020-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 367,\n                \"ship_method_id\": null,\n                \"qty\": 4.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 9000,\n                \"order_id\": {\n                    \"id\": 72,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-05-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0056\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W20\",\n                    \"date_month\": \"2020-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 368,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 777,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Training (Manuf)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 72,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-05-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0056\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W20\",\n                    \"date_month\": \"2020-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 369,\n                \"ship_method_id\": null,\n                \"qty\": 2.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 72,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-05-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0056\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W20\",\n                    \"date_month\": \"2020-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 370,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 765,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Training (Acct)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 72,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-05-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0056\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W20\",\n                    \"date_month\": \"2020-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 371,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 72,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-05-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0056\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W20\",\n                    \"date_month\": \"2020-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 372,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 790,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Training (Sales)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 72,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-05-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0056\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W20\",\n                    \"date_month\": \"2020-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 373,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 846,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Power BI Setup \"\n                },\n                \"packaging_id\": null,\n                \"amount\": 600,\n                \"order_id\": {\n                    \"id\": 72,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-05-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0056\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W20\",\n                    \"date_month\": \"2020-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 374,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2129,\n                \"order_id\": {\n                    \"id\": 72,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-05-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0056\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W20\",\n                    \"date_month\": \"2020-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 375,\n                \"ship_method_id\": null,\n                \"qty\": 5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 844,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Mobile Data Collector (MODAT-550A) Andriod\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 13250,\n                \"order_id\": {\n                    \"id\": 73,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-05-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0057\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W20\",\n                    \"date_month\": \"2020-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 376,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 813,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Wireless Barcode Scanner\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2114,\n                \"order_id\": {\n                    \"id\": 73,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-05-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0057\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W20\",\n                    \"date_month\": \"2020-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 377,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 818,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"JADEVER WEIGHING INDICATOR\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3180,\n                \"order_id\": {\n                    \"id\": 73,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-05-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0057\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W20\",\n                    \"date_month\": \"2020-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 378,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 812,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"AR450 Touch POS Terminal\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 9160,\n                \"order_id\": {\n                    \"id\": 73,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-05-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0057\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W20\",\n                    \"date_month\": \"2020-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 379,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 784,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4240,\n                \"order_id\": {\n                    \"id\": 73,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-05-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0057\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W20\",\n                    \"date_month\": \"2020-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 380,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": 796,\n                \"order_id\": {\n                    \"id\": 73,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"voided\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-05-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0057\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W20\",\n                    \"date_month\": \"2020-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 381,\n                \"ship_method_id\": null,\n                \"qty\": 5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 844,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Mobile Data Collector (MODAT-550A) Andriod\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 13250,\n                \"order_id\": {\n                    \"id\": 74,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-07-06\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0058\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W27\",\n                    \"date_month\": \"2020-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 382,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 813,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Wireless Barcode Scanner\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2060,\n                \"order_id\": {\n                    \"id\": 74,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-07-06\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0058\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W27\",\n                    \"date_month\": \"2020-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 383,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 818,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"JADEVER WEIGHING INDICATOR\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3180,\n                \"order_id\": {\n                    \"id\": 74,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-07-06\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0058\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W27\",\n                    \"date_month\": \"2020-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 384,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 812,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"AR450 Touch POS Terminal\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 8800,\n                \"order_id\": {\n                    \"id\": 74,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-07-06\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0058\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W27\",\n                    \"date_month\": \"2020-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 385,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 784,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3920,\n                \"order_id\": {\n                    \"id\": 74,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-07-06\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0058\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W27\",\n                    \"date_month\": \"2020-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 386,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": 796,\n                \"order_id\": {\n                    \"id\": 74,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-07-06\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0058\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W27\",\n                    \"date_month\": \"2020-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 387,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": 200,\n                \"order_id\": {\n                    \"id\": 75,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 492,\n                        \"categ_id\": null,\n                        \"name\": \"AceTeam Networks Sdn Bhd \"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-07-22\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0059\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W29\",\n                    \"date_month\": \"2020-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 388,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": 50,\n                \"order_id\": {\n                    \"id\": 75,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 492,\n                        \"categ_id\": null,\n                        \"name\": \"AceTeam Networks Sdn Bhd \"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-07-22\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0059\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W29\",\n                    \"date_month\": \"2020-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 389,\n                \"ship_method_id\": null,\n                \"qty\": 16,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 32000,\n                \"order_id\": {\n                    \"id\": 76,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-08-04\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0060\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W31\",\n                    \"date_month\": \"2020-08\"\n                },\n                \"notes\": \"2 Days\"\n            },\n            {\n                \"id\": 390,\n                \"ship_method_id\": null,\n                \"qty\": 5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 10000,\n                \"order_id\": {\n                    \"id\": 76,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-08-04\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0060\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W31\",\n                    \"date_month\": \"2020-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 391,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 76,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-08-04\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0060\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W31\",\n                    \"date_month\": \"2020-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 392,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 76,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-08-04\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0060\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W31\",\n                    \"date_month\": \"2020-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 393,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 777,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Training (Manuf)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 76,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-08-04\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0060\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W31\",\n                    \"date_month\": \"2020-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 394,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 76,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-08-04\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0060\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W31\",\n                    \"date_month\": \"2020-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 395,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 76,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-08-04\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0060\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W31\",\n                    \"date_month\": \"2020-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 396,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 790,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Training (Sales)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 76,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-08-04\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0060\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W31\",\n                    \"date_month\": \"2020-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 397,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 8000,\n                \"order_id\": {\n                    \"id\": 76,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-08-04\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0060\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W31\",\n                    \"date_month\": \"2020-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 398,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 76,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-08-04\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0060\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W31\",\n                    \"date_month\": \"2020-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 399,\n                \"ship_method_id\": null,\n                \"qty\": 5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 10000,\n                \"order_id\": {\n                    \"id\": 76,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-08-04\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0060\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W31\",\n                    \"date_month\": \"2020-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 400,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 8000,\n                \"order_id\": {\n                    \"id\": 76,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-08-04\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0060\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W31\",\n                    \"date_month\": \"2020-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 401,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 20000,\n                \"order_id\": {\n                    \"id\": 76,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-08-04\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0060\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W31\",\n                    \"date_month\": \"2020-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 402,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 765,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Training (Acct)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 76,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-08-04\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0060\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W31\",\n                    \"date_month\": \"2020-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 403,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 76,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-08-04\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0060\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W31\",\n                    \"date_month\": \"2020-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 404,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 8000,\n                \"order_id\": {\n                    \"id\": 76,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-08-04\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0060\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W31\",\n                    \"date_month\": \"2020-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 405,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 797,\n                    \"categ_id\": null,\n                    \"name\": \"Consultation (Advisory)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 8000,\n                \"order_id\": {\n                    \"id\": 76,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-08-04\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0060\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W31\",\n                    \"date_month\": \"2020-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 406,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1349,\n                \"order_id\": {\n                    \"id\": 76,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-08-04\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0060\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W31\",\n                    \"date_month\": \"2020-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 407,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": 200,\n                \"order_id\": {\n                    \"id\": 77,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 492,\n                        \"categ_id\": null,\n                        \"name\": \"AceTeam Networks Sdn Bhd \"\n                    },\n                    \"state\": \"done\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": \"2020-08-12\",\n                    \"date\": \"2020-08-12\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0061\",\n                    \"due_date_weekday\": \"Wednesday\",\n                    \"date_week\": \"2020-W32\",\n                    \"date_month\": \"2020-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 408,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 78,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-09-14\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0062\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W37\",\n                    \"date_month\": \"2020-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 409,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 78,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-09-14\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0062\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W37\",\n                    \"date_month\": \"2020-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 410,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 78,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-09-14\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0062\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W37\",\n                    \"date_month\": \"2020-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 411,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 78,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-09-14\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0062\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W37\",\n                    \"date_month\": \"2020-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 412,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 785,\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Conf - Purchase\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1700,\n                \"order_id\": {\n                    \"id\": 78,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-09-14\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0062\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W37\",\n                    \"date_month\": \"2020-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 413,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1700,\n                \"order_id\": {\n                    \"id\": 78,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-09-14\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0062\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W37\",\n                    \"date_month\": \"2020-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 414,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 814,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Wired Barcode Scanner\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 310,\n                \"order_id\": {\n                    \"id\": 78,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-09-14\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0062\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W37\",\n                    \"date_month\": \"2020-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 415,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 812,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"AR450 Touch POS Terminal\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2290,\n                \"order_id\": {\n                    \"id\": 78,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-09-14\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0062\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W37\",\n                    \"date_month\": \"2020-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 416,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 550,\n                \"order_id\": {\n                    \"id\": 78,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-09-14\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0062\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W37\",\n                    \"date_month\": \"2020-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 417,\n                \"ship_method_id\": null,\n                \"qty\": 15,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 815,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Database\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 30000,\n                \"order_id\": {\n                    \"id\": 79,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-08-03\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0063\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W31\",\n                    \"date_month\": \"2020-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 418,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 80,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-09-18\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0064\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W37\",\n                    \"date_month\": \"2020-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 419,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": 175,\n                \"order_id\": {\n                    \"id\": 80,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-09-18\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0064\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W37\",\n                    \"date_month\": \"2020-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 420,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 852,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"RS-232 CABLE 25PIN(MALE) - 9PIN(FEMALE)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 110,\n                \"order_id\": {\n                    \"id\": 81,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-06-05\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0065\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W22\",\n                    \"date_month\": \"2020-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 421,\n                \"ship_method_id\": null,\n                \"qty\": null,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 81,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-06-05\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0065\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W22\",\n                    \"date_month\": \"2020-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 422,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 812,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"AR450 Touch POS Terminal\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2290,\n                \"order_id\": {\n                    \"id\": 82,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-04-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0066\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W16\",\n                    \"date_month\": \"2020-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 423,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 842,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - POS Terminal Setup (Non Retail)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 300,\n                \"order_id\": {\n                    \"id\": 82,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-04-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0066\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W16\",\n                    \"date_month\": \"2020-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 424,\n                \"ship_method_id\": null,\n                \"qty\": null,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 82,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-04-20\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0066\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W16\",\n                    \"date_month\": \"2020-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 426,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 8000,\n                \"order_id\": {\n                    \"id\": 84,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-12-08\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0068\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W49\",\n                    \"date_month\": \"2020-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 427,\n                \"ship_method_id\": null,\n                \"qty\": 0.25,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 500,\n                \"order_id\": {\n                    \"id\": 85,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-12-09\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0069\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W49\",\n                    \"date_month\": \"2020-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 428,\n                \"ship_method_id\": null,\n                \"qty\": 0.25,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 500,\n                \"order_id\": {\n                    \"id\": 85,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-12-09\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0069\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W49\",\n                    \"date_month\": \"2020-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 429,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 85,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-12-09\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0069\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W49\",\n                    \"date_month\": \"2020-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 430,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 85,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-12-09\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0069\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W49\",\n                    \"date_month\": \"2020-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 431,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 85,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-12-09\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0069\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W49\",\n                    \"date_month\": \"2020-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 432,\n                \"ship_method_id\": null,\n                \"qty\": 3.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 7000,\n                \"order_id\": {\n                    \"id\": 86,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-12-10\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0070\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W49\",\n                    \"date_month\": \"2020-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 433,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 86,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2020-12-10\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0070\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2020-W49\",\n                    \"date_month\": \"2020-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 434,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 100,\n                \"order_id\": {\n                    \"id\": 87,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-03-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0071\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W10\",\n                    \"date_month\": \"2021-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 435,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 800,\n                \"order_id\": {\n                    \"id\": 87,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-03-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0071\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W10\",\n                    \"date_month\": \"2021-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 436,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 300,\n                \"order_id\": {\n                    \"id\": 87,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-03-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0071\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W10\",\n                    \"date_month\": \"2021-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 437,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 300,\n                \"order_id\": {\n                    \"id\": 87,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-03-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0071\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W10\",\n                    \"date_month\": \"2021-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 438,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 150,\n                \"order_id\": {\n                    \"id\": 87,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-03-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0071\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W10\",\n                    \"date_month\": \"2021-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 439,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 768,\n                    \"categ_id\": null,\n                    \"name\": \"Custom Forms\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 50,\n                \"order_id\": {\n                    \"id\": 87,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-03-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0071\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W10\",\n                    \"date_month\": \"2021-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 440,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 300,\n                \"order_id\": {\n                    \"id\": 87,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-03-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0071\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W10\",\n                    \"date_month\": \"2021-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 441,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 87,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-03-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0071\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W10\",\n                    \"date_month\": \"2021-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 442,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 500,\n                \"order_id\": {\n                    \"id\": 87,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-03-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0071\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W10\",\n                    \"date_month\": \"2021-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 443,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 300,\n                \"order_id\": {\n                    \"id\": 87,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-03-11\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0071\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W10\",\n                    \"date_month\": \"2021-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 444,\n                \"ship_method_id\": null,\n                \"qty\": 5.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 11000,\n                \"order_id\": {\n                    \"id\": 88,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-05-12\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0072\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W19\",\n                    \"date_month\": \"2021-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 445,\n                \"ship_method_id\": null,\n                \"qty\": 10,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 20000,\n                \"order_id\": {\n                    \"id\": 88,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-05-12\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0072\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W19\",\n                    \"date_month\": \"2021-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 446,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 88,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-05-12\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0072\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W19\",\n                    \"date_month\": \"2021-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 447,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 8000,\n                \"order_id\": {\n                    \"id\": 88,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-05-12\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0072\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W19\",\n                    \"date_month\": \"2021-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 448,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 789,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - POS (On-Site)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 88,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-05-12\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0072\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W19\",\n                    \"date_month\": \"2021-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 449,\n                \"ship_method_id\": null,\n                \"qty\": 8,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 797,\n                    \"categ_id\": null,\n                    \"name\": \"Consultation (Advisory)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 16000,\n                \"order_id\": {\n                    \"id\": 88,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-05-12\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0072\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W19\",\n                    \"date_month\": \"2021-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 450,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 88,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-05-12\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0072\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W19\",\n                    \"date_month\": \"2021-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 451,\n                \"ship_method_id\": null,\n                \"qty\": 4.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 9000,\n                \"order_id\": {\n                    \"id\": 88,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-05-12\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0072\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W19\",\n                    \"date_month\": \"2021-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 452,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 777,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Training (Manuf)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 88,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-05-12\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0072\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W19\",\n                    \"date_month\": \"2021-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 453,\n                \"ship_method_id\": null,\n                \"qty\": 2.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 88,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-05-12\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0072\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W19\",\n                    \"date_month\": \"2021-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 454,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 765,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Training (Acct)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 88,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-05-12\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0072\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W19\",\n                    \"date_month\": \"2021-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 455,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 88,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-05-12\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0072\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W19\",\n                    \"date_month\": \"2021-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 456,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 790,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Training (Sales)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 88,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-05-12\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0072\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W19\",\n                    \"date_month\": \"2021-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 457,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 846,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Power BI Setup \"\n                },\n                \"packaging_id\": null,\n                \"amount\": 600,\n                \"order_id\": {\n                    \"id\": 88,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-05-12\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0072\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W19\",\n                    \"date_month\": \"2021-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 458,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2129,\n                \"order_id\": {\n                    \"id\": 88,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 450,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Marketing Sdn. Bhd. (1152724-A)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-05-12\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0072\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W19\",\n                    \"date_month\": \"2021-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 459,\n                \"ship_method_id\": null,\n                \"qty\": 9,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 888,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2144.52,\n                \"order_id\": {\n                    \"id\": 89,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 654,\n                        \"categ_id\": null,\n                        \"name\": \"Ampmech Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-06-18\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0073\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W24\",\n                    \"date_month\": \"2021-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 460,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 90,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 658,\n                        \"categ_id\": null,\n                        \"name\": \"MMC International Fulfilment Center\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": \"2021-07-06\",\n                    \"date\": \"2021-07-07\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0074\",\n                    \"due_date_weekday\": \"Tuesday\",\n                    \"date_week\": \"2021-W27\",\n                    \"date_month\": \"2021-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 461,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 91,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 663,\n                        \"categ_id\": null,\n                        \"name\": \"ATV SPORT AND STYLE SDN BHD\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-07-13\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0075\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W28\",\n                    \"date_month\": \"2021-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 462,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 91,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 663,\n                        \"categ_id\": null,\n                        \"name\": \"ATV SPORT AND STYLE SDN BHD\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-07-13\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0075\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W28\",\n                    \"date_month\": \"2021-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 463,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 955,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Fulfilment Module\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 91,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 663,\n                        \"categ_id\": null,\n                        \"name\": \"ATV SPORT AND STYLE SDN BHD\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-07-13\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0075\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W28\",\n                    \"date_month\": \"2021-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 464,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 1035,\n                    \"categ_id\": null,\n                    \"name\": \"Shopee App\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 600,\n                \"order_id\": {\n                    \"id\": 91,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 663,\n                        \"categ_id\": null,\n                        \"name\": \"ATV SPORT AND STYLE SDN BHD\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-07-13\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0075\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W28\",\n                    \"date_month\": \"2021-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 465,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 499,\n                \"order_id\": {\n                    \"id\": 91,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 663,\n                        \"categ_id\": null,\n                        \"name\": \"ATV SPORT AND STYLE SDN BHD\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-07-13\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0075\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W28\",\n                    \"date_month\": \"2021-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 466,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 92,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 658,\n                        \"categ_id\": null,\n                        \"name\": \"MMC International Fulfilment Center\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-07-14\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0076\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W28\",\n                    \"date_month\": \"2021-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 467,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 92,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 658,\n                        \"categ_id\": null,\n                        \"name\": \"MMC International Fulfilment Center\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-07-14\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0076\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W28\",\n                    \"date_month\": \"2021-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 468,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 955,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Fulfilment Module\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 92,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 658,\n                        \"categ_id\": null,\n                        \"name\": \"MMC International Fulfilment Center\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-07-14\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0076\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W28\",\n                    \"date_month\": \"2021-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 469,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 92,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 658,\n                        \"categ_id\": null,\n                        \"name\": \"MMC International Fulfilment Center\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-07-14\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0076\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W28\",\n                    \"date_month\": \"2021-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 470,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 1035,\n                    \"categ_id\": null,\n                    \"name\": \"Shopee App\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 600,\n                \"order_id\": {\n                    \"id\": 92,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 658,\n                        \"categ_id\": null,\n                        \"name\": \"MMC International Fulfilment Center\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-07-14\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0076\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W28\",\n                    \"date_month\": \"2021-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 471,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 499,\n                \"order_id\": {\n                    \"id\": 92,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 658,\n                        \"categ_id\": null,\n                        \"name\": \"MMC International Fulfilment Center\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-07-14\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0076\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W28\",\n                    \"date_month\": \"2021-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 472,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 854,\n                    \"categ_id\": {\n                        \"id\": 179,\n                        \"name\": \"Mobile Computer\"\n                    },\n                    \"name\": \"U9000S : Handheld Terminal - Z90\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1980,\n                \"order_id\": {\n                    \"id\": 93,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 676,\n                        \"categ_id\": null,\n                        \"name\": \"Eco World Wellness M Sdn. Bhd.\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 53,\n                        \"name\": \"Chiew Hao\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-08-06\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0077\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W31\",\n                    \"date_month\": \"2021-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 473,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 890,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 638,\n                \"order_id\": {\n                    \"id\": 93,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 676,\n                        \"categ_id\": null,\n                        \"name\": \"Eco World Wellness M Sdn. Bhd.\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 53,\n                        \"name\": \"Chiew Hao\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-08-06\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0077\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W31\",\n                    \"date_month\": \"2021-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 474,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 784,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"packaging_id\": null,\n                \"amount\": 850,\n                \"order_id\": {\n                    \"id\": 94,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 658,\n                        \"categ_id\": null,\n                        \"name\": \"MMC International Fulfilment Center\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-08-10\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0078\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W32\",\n                    \"date_month\": \"2021-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 475,\n                \"ship_method_id\": null,\n                \"qty\": 10,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 1036,\n                    \"categ_id\": null,\n                    \"name\": \"A6 Thermal Paper\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 219,\n                \"order_id\": {\n                    \"id\": 94,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 658,\n                        \"categ_id\": null,\n                        \"name\": \"MMC International Fulfilment Center\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-08-10\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0078\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W32\",\n                    \"date_month\": \"2021-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 479,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 500,\n                \"order_id\": {\n                    \"id\": 96,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 66,\n                        \"name\": \"Nurul Huda\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-08-23\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0079\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W34\",\n                    \"date_month\": \"2021-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 480,\n                \"ship_method_id\": null,\n                \"qty\": 4.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 9000,\n                \"order_id\": {\n                    \"id\": 97,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-07-07\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0080\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W27\",\n                    \"date_month\": \"2021-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 481,\n                \"ship_method_id\": null,\n                \"qty\": 4.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 9000,\n                \"order_id\": {\n                    \"id\": 97,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-07-07\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0080\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W27\",\n                    \"date_month\": \"2021-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 482,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 97,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-07-07\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0080\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W27\",\n                    \"date_month\": \"2021-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 483,\n                \"ship_method_id\": null,\n                \"qty\": 2.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 98,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-28\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0081\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 484,\n                \"ship_method_id\": null,\n                \"qty\": 2.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 98,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-28\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0081\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 485,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 98,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-28\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0081\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 486,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 8000,\n                \"order_id\": {\n                    \"id\": 98,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-28\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0081\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 487,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 785,\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Conf - Purchase\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 98,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-28\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0081\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 488,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 787,\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Training (Purch)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 98,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-28\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0081\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 489,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 98,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-28\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0081\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 490,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 98,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-28\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0081\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 491,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 773,\n                    \"categ_id\": null,\n                    \"name\": \"Essential Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 699,\n                \"order_id\": {\n                    \"id\": 98,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-28\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0081\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 492,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 885,\n                    \"categ_id\": {\n                        \"id\": 185,\n                        \"name\": \"POS Terminal\"\n                    },\n                    \"name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4180,\n                \"order_id\": {\n                    \"id\": 98,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-28\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0081\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 493,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 890,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 780,\n                \"order_id\": {\n                    \"id\": 98,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-28\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0081\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 494,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 933,\n                    \"categ_id\": {\n                        \"id\": 179,\n                        \"name\": \"Mobile Computer\"\n                    },\n                    \"name\": \"T80: Android Handheld Data Collector\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1950,\n                \"order_id\": {\n                    \"id\": 98,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-28\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0081\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 495,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 784,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1060,\n                \"order_id\": {\n                    \"id\": 98,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-28\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0081\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 496,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 8000,\n                \"order_id\": {\n                    \"id\": 99,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0082\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 497,\n                \"ship_method_id\": null,\n                \"qty\": 6.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 13000,\n                \"order_id\": {\n                    \"id\": 99,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0082\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 498,\n                \"ship_method_id\": null,\n                \"qty\": 10,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 20000,\n                \"order_id\": {\n                    \"id\": 99,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0082\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 499,\n                \"ship_method_id\": null,\n                \"qty\": 10,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 20000,\n                \"order_id\": {\n                    \"id\": 99,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0082\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 500,\n                \"ship_method_id\": null,\n                \"qty\": 15,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 789,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - POS (On-Site)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 7500,\n                \"order_id\": {\n                    \"id\": 99,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0082\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 501,\n                \"ship_method_id\": null,\n                \"qty\": 10,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 797,\n                    \"categ_id\": null,\n                    \"name\": \"Consultation (Advisory)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 20000,\n                \"order_id\": {\n                    \"id\": 99,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0082\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 502,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 99,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0082\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 503,\n                \"ship_method_id\": null,\n                \"qty\": 7.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 15000,\n                \"order_id\": {\n                    \"id\": 99,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0082\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 504,\n                \"ship_method_id\": null,\n                \"qty\": 10,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 20000,\n                \"order_id\": {\n                    \"id\": 99,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0082\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 505,\n                \"ship_method_id\": null,\n                \"qty\": 10,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 10000,\n                \"order_id\": {\n                    \"id\": 99,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0082\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 506,\n                \"ship_method_id\": null,\n                \"qty\": 2.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 99,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0082\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 507,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 765,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Training (Acct)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4500,\n                \"order_id\": {\n                    \"id\": 99,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0082\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 508,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 773,\n                    \"categ_id\": null,\n                    \"name\": \"Essential Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1949,\n                \"order_id\": {\n                    \"id\": 99,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0082\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 509,\n                \"ship_method_id\": null,\n                \"qty\": 15,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 812,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"AR450 Touch POS Terminal\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 34350,\n                \"order_id\": {\n                    \"id\": 99,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0082\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 510,\n                \"ship_method_id\": null,\n                \"qty\": 15,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 814,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Wired Barcode Scanner\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4755,\n                \"order_id\": {\n                    \"id\": 99,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0082\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 511,\n                \"ship_method_id\": null,\n                \"qty\": 15,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 813,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Wireless Barcode Scanner\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 15855,\n                \"order_id\": {\n                    \"id\": 99,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 514,\n                        \"categ_id\": null,\n                        \"name\": \"Masfloor Sdn Bhd (735339-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-09-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0082\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W39\",\n                    \"date_month\": \"2021-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 524,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 240,\n                \"order_id\": {\n                    \"id\": 101,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-10-22\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0083\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W42\",\n                    \"date_month\": \"2021-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 525,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 101,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-10-22\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0083\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W42\",\n                    \"date_month\": \"2021-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 526,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 480,\n                \"order_id\": {\n                    \"id\": 101,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-10-22\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0083\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W42\",\n                    \"date_month\": \"2021-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 527,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 300,\n                \"order_id\": {\n                    \"id\": 101,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-10-22\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0083\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W42\",\n                    \"date_month\": \"2021-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 528,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 600,\n                \"order_id\": {\n                    \"id\": 101,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-10-22\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0083\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W42\",\n                    \"date_month\": \"2021-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 529,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 180,\n                \"order_id\": {\n                    \"id\": 101,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-10-22\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0083\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W42\",\n                    \"date_month\": \"2021-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 530,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 480,\n                \"order_id\": {\n                    \"id\": 101,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-10-22\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0083\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W42\",\n                    \"date_month\": \"2021-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 531,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 600,\n                \"order_id\": {\n                    \"id\": 101,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-10-22\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0083\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W42\",\n                    \"date_month\": \"2021-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 532,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 720,\n                \"order_id\": {\n                    \"id\": 101,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-10-22\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0083\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W42\",\n                    \"date_month\": \"2021-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 533,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 120,\n                \"order_id\": {\n                    \"id\": 101,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-10-22\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0083\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W42\",\n                    \"date_month\": \"2021-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 534,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 480,\n                \"order_id\": {\n                    \"id\": 101,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-10-22\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0083\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W42\",\n                    \"date_month\": \"2021-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 535,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 600,\n                \"order_id\": {\n                    \"id\": 101,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-10-22\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0083\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W42\",\n                    \"date_month\": \"2021-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 536,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 480,\n                \"order_id\": {\n                    \"id\": 101,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 166,\n                        \"categ_id\": null,\n                        \"name\": \"STME ASIAN DESIGNERS Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 79,\n                        \"name\": \"James Lee\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-10-22\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0083\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W42\",\n                    \"date_month\": \"2021-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 555,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 150,\n                \"order_id\": {\n                    \"id\": 103,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 658,\n                        \"categ_id\": null,\n                        \"name\": \"MMC International Fulfilment Center\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-11-23\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0085\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W47\",\n                    \"date_month\": \"2021-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 556,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 50,\n                \"order_id\": {\n                    \"id\": 103,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 658,\n                        \"categ_id\": null,\n                        \"name\": \"MMC International Fulfilment Center\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-11-23\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0085\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W47\",\n                    \"date_month\": \"2021-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 557,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 885,\n                    \"categ_id\": {\n                        \"id\": 185,\n                        \"name\": \"POS Terminal\"\n                    },\n                    \"name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4180,\n                \"order_id\": {\n                    \"id\": 104,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-11-26\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0086\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W47\",\n                    \"date_month\": \"2021-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 558,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 784,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1060,\n                \"order_id\": {\n                    \"id\": 104,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-11-26\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0086\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W47\",\n                    \"date_month\": \"2021-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 559,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 60000,\n                \"order_id\": {\n                    \"id\": 105,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 564,\n                        \"categ_id\": null,\n                        \"name\": \"Load 2 Go Logistic Sdn Bhd (1240516-H)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-11-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0087\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 560,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 30000,\n                \"order_id\": {\n                    \"id\": 105,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 564,\n                        \"categ_id\": null,\n                        \"name\": \"Load 2 Go Logistic Sdn Bhd (1240516-H)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-11-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0087\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 561,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 25000,\n                \"order_id\": {\n                    \"id\": 105,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 564,\n                        \"categ_id\": null,\n                        \"name\": \"Load 2 Go Logistic Sdn Bhd (1240516-H)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-11-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0087\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 562,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 180000,\n                \"order_id\": {\n                    \"id\": 105,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 564,\n                        \"categ_id\": null,\n                        \"name\": \"Load 2 Go Logistic Sdn Bhd (1240516-H)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-11-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0087\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 563,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 68000,\n                \"order_id\": {\n                    \"id\": 105,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 564,\n                        \"categ_id\": null,\n                        \"name\": \"Load 2 Go Logistic Sdn Bhd (1240516-H)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-11-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0087\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 564,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 40000,\n                \"order_id\": {\n                    \"id\": 105,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 564,\n                        \"categ_id\": null,\n                        \"name\": \"Load 2 Go Logistic Sdn Bhd (1240516-H)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 16,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-11-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0087\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 565,\n                \"ship_method_id\": null,\n                \"qty\": 7,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 14000,\n                \"order_id\": {\n                    \"id\": 106,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-03\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0084\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 566,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 106,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-03\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0084\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 567,\n                \"ship_method_id\": null,\n                \"qty\": 22,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 44000,\n                \"order_id\": {\n                    \"id\": 106,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-03\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0084\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 568,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 106,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-03\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0084\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 569,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 777,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Training (Manuf)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 106,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-03\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0084\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 570,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 106,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-03\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0084\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 571,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 106,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-03\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0084\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 572,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 790,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Training (Sales)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 106,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-03\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0084\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 573,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 8000,\n                \"order_id\": {\n                    \"id\": 106,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-03\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0084\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 574,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 106,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-03\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0084\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 575,\n                \"ship_method_id\": null,\n                \"qty\": 5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 775,\n                    \"categ_id\": {\n                        \"id\": 170,\n                        \"name\": \"Online - Manufacturing\"\n                    },\n                    \"name\": \"Conf - Manufacturing\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 10000,\n                \"order_id\": {\n                    \"id\": 106,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-03\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0084\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 576,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 8000,\n                \"order_id\": {\n                    \"id\": 106,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-03\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0084\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 577,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 764,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Conf - Accounting\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 20000,\n                \"order_id\": {\n                    \"id\": 106,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-03\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0084\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 578,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 765,\n                    \"categ_id\": {\n                        \"id\": 169,\n                        \"name\": \"Online - Accounting\"\n                    },\n                    \"name\": \"Training (Acct)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 106,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-03\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0084\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 579,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 106,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-03\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0084\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 580,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 106,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-03\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0084\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 581,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 8000,\n                \"order_id\": {\n                    \"id\": 106,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-03\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0084\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 582,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 773,\n                    \"categ_id\": null,\n                    \"name\": \"Essential Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1549,\n                \"order_id\": {\n                    \"id\": 106,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-03\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0084\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 583,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 885,\n                    \"categ_id\": {\n                        \"id\": 185,\n                        \"name\": \"POS Terminal\"\n                    },\n                    \"name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2290,\n                \"order_id\": {\n                    \"id\": 106,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-03\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0084\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 584,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 933,\n                    \"categ_id\": {\n                        \"id\": 179,\n                        \"name\": \"Mobile Computer\"\n                    },\n                    \"name\": \"T80: Android Handheld Data Collector\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1900,\n                \"order_id\": {\n                    \"id\": 106,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-03\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0084\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 585,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 888,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 350,\n                \"order_id\": {\n                    \"id\": 106,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-03\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0084\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W48\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 586,\n                \"ship_method_id\": null,\n                \"qty\": 2.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 771,\n                    \"categ_id\": null,\n                    \"name\": \"Basic Analysis\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 107,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-27\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0088\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W52\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 587,\n                \"ship_method_id\": null,\n                \"qty\": 2.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 107,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-27\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0088\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W52\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 588,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 107,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-27\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0088\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W52\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 589,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 8000,\n                \"order_id\": {\n                    \"id\": 107,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-27\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0088\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W52\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 590,\n                \"ship_method_id\": null,\n                \"qty\": 1.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 785,\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Conf - Purchase\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 107,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-27\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0088\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W52\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 591,\n                \"ship_method_id\": null,\n                \"qty\": 0.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 787,\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Training (Purch)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 107,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-27\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0088\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W52\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 592,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 107,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-27\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0088\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W52\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 593,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 107,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-27\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0088\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W52\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 594,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 773,\n                    \"categ_id\": null,\n                    \"name\": \"Essential Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 699,\n                \"order_id\": {\n                    \"id\": 107,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-27\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0088\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W52\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 595,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 885,\n                    \"categ_id\": {\n                        \"id\": 185,\n                        \"name\": \"POS Terminal\"\n                    },\n                    \"name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4180,\n                \"order_id\": {\n                    \"id\": 107,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-27\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0088\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W52\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 596,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 933,\n                    \"categ_id\": {\n                        \"id\": 179,\n                        \"name\": \"Mobile Computer\"\n                    },\n                    \"name\": \"T80: Android Handheld Data Collector\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1950,\n                \"order_id\": {\n                    \"id\": 107,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-27\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0088\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W52\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 597,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 784,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1060,\n                \"order_id\": {\n                    \"id\": 107,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-27\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0088\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W52\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 599,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 109,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0089\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W52\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 600,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 400,\n                \"order_id\": {\n                    \"id\": 109,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0089\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W52\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 601,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 100,\n                \"order_id\": {\n                    \"id\": 109,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0089\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W52\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 602,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 300,\n                \"order_id\": {\n                    \"id\": 109,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2021-12-29\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0089\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2021-W52\",\n                    \"date_month\": \"2021-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 603,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 400,\n                \"order_id\": {\n                    \"id\": 110,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-01-19\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0090\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W03\",\n                    \"date_month\": \"2022-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 604,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 625,\n                \"order_id\": {\n                    \"id\": 111,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-01-24\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0091\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W04\",\n                    \"date_month\": \"2022-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 607,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1197,\n                \"order_id\": {\n                    \"id\": 113,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 64,\n                        \"categ_id\": null,\n                        \"name\": \"V'asia Cosmetic & Healthcare\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-04-01\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0093\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W13\",\n                    \"date_month\": \"2022-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 608,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": 720,\n                \"order_id\": {\n                    \"id\": 113,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 64,\n                        \"categ_id\": null,\n                        \"name\": \"V'asia Cosmetic & Healthcare\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-04-01\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0093\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W13\",\n                    \"date_month\": \"2022-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 609,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1497,\n                \"order_id\": {\n                    \"id\": 114,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 658,\n                        \"categ_id\": null,\n                        \"name\": \"MMC International Fulfilment Center\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-04-01\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0094\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W13\",\n                    \"date_month\": \"2022-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 610,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2700,\n                \"order_id\": {\n                    \"id\": 115,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 447,\n                        \"categ_id\": null,\n                        \"name\": \"T.A.G. Marine Sdn Bhd (507934-M)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 8,\n                        \"name\": \"Admin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-04-01\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0095\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W13\",\n                    \"date_month\": \"2022-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 613,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3600,\n                \"order_id\": {\n                    \"id\": 117,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 58,\n                        \"categ_id\": null,\n                        \"name\": \"Speed Concrete Industries Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 8,\n                        \"name\": \"Admin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-04-01\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0097\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W13\",\n                    \"date_month\": \"2022-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 614,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5655,\n                \"order_id\": {\n                    \"id\": 118,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 8,\n                        \"name\": \"Admin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-04-01\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0098\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W13\",\n                    \"date_month\": \"2022-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 615,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4917,\n                \"order_id\": {\n                    \"id\": 119,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 177,\n                        \"categ_id\": null,\n                        \"name\": \"Yew Siong Industrial Supplies Sdn Bhd (178306-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 8,\n                        \"name\": \"Admin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-04-01\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0099\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W13\",\n                    \"date_month\": \"2022-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 616,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2097,\n                \"order_id\": {\n                    \"id\": 120,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 8,\n                        \"name\": \"Admin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-04-01\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0100\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W13\",\n                    \"date_month\": \"2022-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 617,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1497,\n                \"order_id\": {\n                    \"id\": 121,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 663,\n                        \"categ_id\": null,\n                        \"name\": \"ATV SPORT AND STYLE SDN BHD\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 8,\n                        \"name\": \"Admin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-04-01\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0101\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W13\",\n                    \"date_month\": \"2022-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 618,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3327,\n                \"order_id\": {\n                    \"id\": 122,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 8,\n                        \"name\": \"Admin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-04-01\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0102\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W13\",\n                    \"date_month\": \"2022-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 619,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 823,\n                    \"categ_id\": null,\n                    \"name\": \"Private Server Monthly Sub\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1350,\n                \"order_id\": {\n                    \"id\": 122,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 8,\n                        \"name\": \"Admin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-04-01\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0102\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W13\",\n                    \"date_month\": \"2022-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 623,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 250,\n                \"order_id\": {\n                    \"id\": 124,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 698,\n                        \"categ_id\": null,\n                        \"name\": \"Gruppe Marketing Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-06-03\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0104\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W22\",\n                    \"date_month\": \"2022-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 624,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 125,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 792,\n                        \"categ_id\": null,\n                        \"name\": \"CENTURY MARK PACIFIC MARKETING SDN BHD\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-06-14\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0105\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W24\",\n                    \"date_month\": \"2022-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 625,\n                \"ship_method_id\": null,\n                \"qty\": 6,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 125,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 792,\n                        \"categ_id\": null,\n                        \"name\": \"CENTURY MARK PACIFIC MARKETING SDN BHD\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-06-14\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0105\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W24\",\n                    \"date_month\": \"2022-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 626,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 125,\n                \"order_id\": {\n                    \"id\": 126,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-06-15\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0106\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W24\",\n                    \"date_month\": \"2022-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 627,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 187.5,\n                \"order_id\": {\n                    \"id\": 126,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-06-15\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0106\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W24\",\n                    \"date_month\": \"2022-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 628,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 127,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-06-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0107\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W25\",\n                    \"date_month\": \"2022-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 629,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 885,\n                    \"categ_id\": {\n                        \"id\": 185,\n                        \"name\": \"POS Terminal\"\n                    },\n                    \"name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 9160,\n                \"order_id\": {\n                    \"id\": 127,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-06-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0107\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W25\",\n                    \"date_month\": \"2022-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 630,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 784,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3180,\n                \"order_id\": {\n                    \"id\": 127,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-06-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0107\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W25\",\n                    \"date_month\": \"2022-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 631,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 888,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1400,\n                \"order_id\": {\n                    \"id\": 127,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-06-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0107\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W25\",\n                    \"date_month\": \"2022-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 632,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1600,\n                \"order_id\": {\n                    \"id\": 129,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 64,\n                        \"categ_id\": null,\n                        \"name\": \"V'asia Cosmetic & Healthcare\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-08-22\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0108\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W34\",\n                    \"date_month\": \"2022-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 633,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 933,\n                    \"categ_id\": {\n                        \"id\": 179,\n                        \"name\": \"Mobile Computer\"\n                    },\n                    \"name\": \"T80: Android Handheld Data Collector\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1950,\n                \"order_id\": {\n                    \"id\": 129,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 64,\n                        \"categ_id\": null,\n                        \"name\": \"V'asia Cosmetic & Healthcare\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-08-22\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0108\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W34\",\n                    \"date_month\": \"2022-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 634,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 130,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-09-14\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n50% Start of the Project 50%  After Implementation Of The Project \",\n                    \"number\": \"SO-0109\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W37\",\n                    \"date_month\": \"2022-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 635,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 130,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-09-14\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n50% Start of the Project 50%  After Implementation Of The Project \",\n                    \"number\": \"SO-0109\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W37\",\n                    \"date_month\": \"2022-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 636,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2500,\n                \"order_id\": {\n                    \"id\": 130,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-09-14\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n50% Start of the Project 50%  After Implementation Of The Project \",\n                    \"number\": \"SO-0109\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W37\",\n                    \"date_month\": \"2022-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 637,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3500,\n                \"order_id\": {\n                    \"id\": 130,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-09-14\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n50% Start of the Project 50%  After Implementation Of The Project \",\n                    \"number\": \"SO-0109\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W37\",\n                    \"date_month\": \"2022-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 638,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 130,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-09-14\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n50% Start of the Project 50%  After Implementation Of The Project \",\n                    \"number\": \"SO-0109\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W37\",\n                    \"date_month\": \"2022-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 639,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 130,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-09-14\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n50% Start of the Project 50%  After Implementation Of The Project \",\n                    \"number\": \"SO-0109\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W37\",\n                    \"date_month\": \"2022-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 640,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 130,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-09-14\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n50% Start of the Project 50%  After Implementation Of The Project \",\n                    \"number\": \"SO-0109\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W37\",\n                    \"date_month\": \"2022-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 641,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 130,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-09-14\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n50% Start of the Project 50%  After Implementation Of The Project \",\n                    \"number\": \"SO-0109\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W37\",\n                    \"date_month\": \"2022-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 642,\n                \"ship_method_id\": null,\n                \"qty\": 12,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 11880,\n                \"order_id\": {\n                    \"id\": 130,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-09-14\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n50% Start of the Project 50%  After Implementation Of The Project \",\n                    \"number\": \"SO-0109\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W37\",\n                    \"date_month\": \"2022-09\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 644,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 132,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 76,\n                        \"categ_id\": null,\n                        \"name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-10-18\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"PO2210028\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W42\",\n                    \"date_month\": \"2022-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 645,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 784,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1060,\n                \"order_id\": {\n                    \"id\": 133,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-10-19\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0110\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W42\",\n                    \"date_month\": \"2022-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 646,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1010,\n                \"order_id\": {\n                    \"id\": 133,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-10-19\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0110\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W42\",\n                    \"date_month\": \"2022-10\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 647,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 15500,\n                \"order_id\": {\n                    \"id\": 134,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 832,\n                        \"categ_id\": null,\n                        \"name\": \"Sanko Plastic (Malaysia) Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-11-02\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0111\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W44\",\n                    \"date_month\": \"2022-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 648,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 134,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 832,\n                        \"categ_id\": null,\n                        \"name\": \"Sanko Plastic (Malaysia) Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-11-02\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0111\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W44\",\n                    \"date_month\": \"2022-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 649,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 773,\n                    \"categ_id\": null,\n                    \"name\": \"Essential Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1199,\n                \"order_id\": {\n                    \"id\": 134,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 832,\n                        \"categ_id\": null,\n                        \"name\": \"Sanko Plastic (Malaysia) Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-11-02\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0111\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W44\",\n                    \"date_month\": \"2022-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 650,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 933,\n                    \"categ_id\": {\n                        \"id\": 179,\n                        \"name\": \"Mobile Computer\"\n                    },\n                    \"name\": \"T80: Android Handheld Data Collector\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 7560,\n                \"order_id\": {\n                    \"id\": 134,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 832,\n                        \"categ_id\": null,\n                        \"name\": \"Sanko Plastic (Malaysia) Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-11-02\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0111\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W44\",\n                    \"date_month\": \"2022-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 651,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 784,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1060,\n                \"order_id\": {\n                    \"id\": 135,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-11-07\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0112\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W45\",\n                    \"date_month\": \"2022-11\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 661,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 137,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-12-14\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Data Security: \\n- SmartB development team will not have direct access to the database. For any support task we will be doing it on\\n- Staging environment and then push the changes to live using Git. \\n- The staging environment will have dummy data only.\\n\\nPayment Terms \\n- 50% Upfront \\n- 50% on Completion\",\n                    \"number\": \"SO-0114\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W50\",\n                    \"date_month\": \"2022-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 662,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 137,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-12-14\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Data Security: \\n- SmartB development team will not have direct access to the database. For any support task we will be doing it on\\n- Staging environment and then push the changes to live using Git. \\n- The staging environment will have dummy data only.\\n\\nPayment Terms \\n- 50% Upfront \\n- 50% on Completion\",\n                    \"number\": \"SO-0114\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W50\",\n                    \"date_month\": \"2022-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 663,\n                \"ship_method_id\": null,\n                \"qty\": 0,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 137,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-12-14\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Data Security: \\n- SmartB development team will not have direct access to the database. For any support task we will be doing it on\\n- Staging environment and then push the changes to live using Git. \\n- The staging environment will have dummy data only.\\n\\nPayment Terms \\n- 50% Upfront \\n- 50% on Completion\",\n                    \"number\": \"SO-0114\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W50\",\n                    \"date_month\": \"2022-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 664,\n                \"ship_method_id\": null,\n                \"qty\": 0,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 137,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-12-14\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Data Security: \\n- SmartB development team will not have direct access to the database. For any support task we will be doing it on\\n- Staging environment and then push the changes to live using Git. \\n- The staging environment will have dummy data only.\\n\\nPayment Terms \\n- 50% Upfront \\n- 50% on Completion\",\n                    \"number\": \"SO-0114\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W50\",\n                    \"date_month\": \"2022-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 665,\n                \"ship_method_id\": null,\n                \"qty\": 0,\n                \"location_id\": null,\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 137,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-12-14\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Data Security: \\n- SmartB development team will not have direct access to the database. For any support task we will be doing it on\\n- Staging environment and then push the changes to live using Git. \\n- The staging environment will have dummy data only.\\n\\nPayment Terms \\n- 50% Upfront \\n- 50% on Completion\",\n                    \"number\": \"SO-0114\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W50\",\n                    \"date_month\": \"2022-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 666,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2500,\n                \"order_id\": {\n                    \"id\": 137,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 853,\n                        \"categ_id\": null,\n                        \"name\": \"Bosch Malaysia\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-12-14\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Data Security: \\n- SmartB development team will not have direct access to the database. For any support task we will be doing it on\\n- Staging environment and then push the changes to live using Git. \\n- The staging environment will have dummy data only.\\n\\nPayment Terms \\n- 50% Upfront \\n- 50% on Completion\",\n                    \"number\": \"SO-0114\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W50\",\n                    \"date_month\": \"2022-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 667,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2500,\n                \"order_id\": {\n                    \"id\": 138,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 568,\n                        \"categ_id\": null,\n                        \"name\": \"Top Fruits Sdn. Bhd. (914914-H)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2022-12-21\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0115\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2022-W51\",\n                    \"date_month\": \"2022-12\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 668,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 770,\n                    \"categ_id\": null,\n                    \"name\": \"Test Prod\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1000,\n                \"order_id\": {\n                    \"id\": 139,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 421,\n                        \"categ_id\": null,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"state\": \"draft\",\n                    \"user_id\": {\n                        \"id\": 8,\n                        \"name\": \"Admin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-08-10\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"TEST KHAL\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W32\",\n                    \"date_month\": \"2023-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 669,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 7000,\n                \"order_id\": {\n                    \"id\": 140,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-01-31\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0116\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W05\",\n                    \"date_month\": \"2023-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 670,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 140,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-01-31\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0116\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W05\",\n                    \"date_month\": \"2023-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 671,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 140,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-01-31\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0116\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W05\",\n                    \"date_month\": \"2023-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 672,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 140,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-01-31\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0116\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W05\",\n                    \"date_month\": \"2023-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 673,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 7000,\n                \"order_id\": {\n                    \"id\": 140,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-01-31\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0116\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W05\",\n                    \"date_month\": \"2023-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 674,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 140,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-01-31\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0116\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W05\",\n                    \"date_month\": \"2023-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 675,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 140,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 465,\n                        \"categ_id\": null,\n                        \"name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-01-31\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0116\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W05\",\n                    \"date_month\": \"2023-01\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 676,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 10000,\n                \"order_id\": {\n                    \"id\": 141,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-03-15\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n30% Start of the Project \\n60% Start of the UAT\\n10% After Implementation and sign off\",\n                    \"number\": \"SO-0117\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W11\",\n                    \"date_month\": \"2023-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 677,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 20000,\n                \"order_id\": {\n                    \"id\": 141,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-03-15\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n30% Start of the Project \\n60% Start of the UAT\\n10% After Implementation and sign off\",\n                    \"number\": \"SO-0117\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W11\",\n                    \"date_month\": \"2023-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 678,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 7000,\n                \"order_id\": {\n                    \"id\": 141,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-03-15\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n30% Start of the Project \\n60% Start of the UAT\\n10% After Implementation and sign off\",\n                    \"number\": \"SO-0117\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W11\",\n                    \"date_month\": \"2023-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 679,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 7000,\n                \"order_id\": {\n                    \"id\": 141,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-03-15\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n30% Start of the Project \\n60% Start of the UAT\\n10% After Implementation and sign off\",\n                    \"number\": \"SO-0117\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W11\",\n                    \"date_month\": \"2023-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 680,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 141,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-03-15\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n30% Start of the Project \\n60% Start of the UAT\\n10% After Implementation and sign off\",\n                    \"number\": \"SO-0117\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W11\",\n                    \"date_month\": \"2023-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 681,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 141,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-03-15\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n30% Start of the Project \\n60% Start of the UAT\\n10% After Implementation and sign off\",\n                    \"number\": \"SO-0117\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W11\",\n                    \"date_month\": \"2023-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 682,\n                \"ship_method_id\": null,\n                \"qty\": 0,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 141,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-03-15\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n30% Start of the Project \\n60% Start of the UAT\\n10% After Implementation and sign off\",\n                    \"number\": \"SO-0117\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W11\",\n                    \"date_month\": \"2023-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 683,\n                \"ship_method_id\": null,\n                \"qty\": 12,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 773,\n                    \"categ_id\": null,\n                    \"name\": \"Essential Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 11988,\n                \"order_id\": {\n                    \"id\": 141,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-03-15\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n30% Start of the Project \\n60% Start of the UAT\\n10% After Implementation and sign off\",\n                    \"number\": \"SO-0117\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W11\",\n                    \"date_month\": \"2023-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 684,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 884,\n                    \"categ_id\": {\n                        \"id\": 185,\n                        \"name\": \"POS Terminal\"\n                    },\n                    \"name\": \"S800 : POS Touch System\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6249,\n                \"order_id\": {\n                    \"id\": 141,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-03-15\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n30% Start of the Project \\n60% Start of the UAT\\n10% After Implementation and sign off\",\n                    \"number\": \"SO-0117\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W11\",\n                    \"date_month\": \"2023-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 689,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 1047,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"T80: Android Handheld Data Collector\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3900,\n                \"order_id\": {\n                    \"id\": 143,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 832,\n                        \"categ_id\": null,\n                        \"name\": \"Sanko Plastic (Malaysia) Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-03-20\",\n                    \"seller_id\": null,\n                    \"other_info\": \"PO Number: PO220515\",\n                    \"number\": \"SO-0119\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W12\",\n                    \"date_month\": \"2023-03\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 691,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 175,\n                \"order_id\": {\n                    \"id\": 145,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 666,\n                        \"categ_id\": null,\n                        \"name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-04-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0120\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W14\",\n                    \"date_month\": \"2023-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 692,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 146,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-04-04\",\n                    \"seller_id\": null,\n                    \"other_info\": \"The quotation above is issued for the new modification request\",\n                    \"number\": \"SO-0121\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W14\",\n                    \"date_month\": \"2023-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 693,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3000,\n                \"order_id\": {\n                    \"id\": 146,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-04-04\",\n                    \"seller_id\": null,\n                    \"other_info\": \"The quotation above is issued for the new modification request\",\n                    \"number\": \"SO-0121\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W14\",\n                    \"date_month\": \"2023-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 694,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 800,\n                \"order_id\": {\n                    \"id\": 146,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 790,\n                        \"categ_id\": null,\n                        \"name\": \"Gapurnapermai (Costa Coffe)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-04-04\",\n                    \"seller_id\": null,\n                    \"other_info\": \"The quotation above is issued for the new modification request\",\n                    \"number\": \"SO-0121\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W14\",\n                    \"date_month\": \"2023-04\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 699,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 165000,\n                \"order_id\": {\n                    \"id\": 148,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 952,\n                        \"categ_id\": null,\n                        \"name\": \"SaniChem Resources Sdn. Bhd.\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-05-22\",\n                    \"seller_id\": null,\n                    \"other_info\": \"PAYMENT PLAN\\n1) 30%: Upon order confirmation\\n2) 40% : After training and before UAT starts\\n3) Remaining balance + First year annual fee : After UAT sign off \\n\",\n                    \"number\": \"SO-0122\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W21\",\n                    \"date_month\": \"2023-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 700,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 106000,\n                \"order_id\": {\n                    \"id\": 148,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 952,\n                        \"categ_id\": null,\n                        \"name\": \"SaniChem Resources Sdn. Bhd.\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-05-22\",\n                    \"seller_id\": null,\n                    \"other_info\": \"PAYMENT PLAN\\n1) 30%: Upon order confirmation\\n2) 40% : After training and before UAT starts\\n3) Remaining balance + First year annual fee : After UAT sign off \\n\",\n                    \"number\": \"SO-0122\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W21\",\n                    \"date_month\": \"2023-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 701,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 773,\n                    \"categ_id\": null,\n                    \"name\": \"Essential Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 40650,\n                \"order_id\": {\n                    \"id\": 148,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 952,\n                        \"categ_id\": null,\n                        \"name\": \"SaniChem Resources Sdn. Bhd.\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-05-22\",\n                    \"seller_id\": null,\n                    \"other_info\": \"PAYMENT PLAN\\n1) 30%: Upon order confirmation\\n2) 40% : After training and before UAT starts\\n3) Remaining balance + First year annual fee : After UAT sign off \\n\",\n                    \"number\": \"SO-0122\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W21\",\n                    \"date_month\": \"2023-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 702,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 888,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 25820,\n                \"order_id\": {\n                    \"id\": 148,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 952,\n                        \"categ_id\": null,\n                        \"name\": \"SaniChem Resources Sdn. Bhd.\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-05-22\",\n                    \"seller_id\": null,\n                    \"other_info\": \"PAYMENT PLAN\\n1) 30%: Upon order confirmation\\n2) 40% : After training and before UAT starts\\n3) Remaining balance + First year annual fee : After UAT sign off \\n\",\n                    \"number\": \"SO-0122\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W21\",\n                    \"date_month\": \"2023-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 703,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 59000,\n                \"order_id\": {\n                    \"id\": 149,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-05-25\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n30% Start of the Project \\n60% Start of the UAT\\n10% After Implementation and sign off\",\n                    \"number\": \"SO-0123\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W21\",\n                    \"date_month\": \"2023-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 704,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 20000,\n                \"order_id\": {\n                    \"id\": 149,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-05-25\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n30% Start of the Project \\n60% Start of the UAT\\n10% After Implementation and sign off\",\n                    \"number\": \"SO-0123\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W21\",\n                    \"date_month\": \"2023-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 705,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 7800,\n                \"order_id\": {\n                    \"id\": 149,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-05-25\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n30% Start of the Project \\n60% Start of the UAT\\n10% After Implementation and sign off\",\n                    \"number\": \"SO-0123\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W21\",\n                    \"date_month\": \"2023-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 706,\n                \"ship_method_id\": null,\n                \"qty\": 0,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 149,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-05-25\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n30% Start of the Project \\n60% Start of the UAT\\n10% After Implementation and sign off\",\n                    \"number\": \"SO-0123\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W21\",\n                    \"date_month\": \"2023-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 707,\n                \"ship_method_id\": null,\n                \"qty\": 12,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 773,\n                    \"categ_id\": null,\n                    \"name\": \"Essential Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 13200,\n                \"order_id\": {\n                    \"id\": 149,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-05-25\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n30% Start of the Project \\n60% Start of the UAT\\n10% After Implementation and sign off\",\n                    \"number\": \"SO-0123\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W21\",\n                    \"date_month\": \"2023-05\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 708,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 153000,\n                \"order_id\": {\n                    \"id\": 150,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-17\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0124\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W24\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 709,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 846,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Power BI Setup \"\n                },\n                \"packaging_id\": null,\n                \"amount\": 35000,\n                \"order_id\": {\n                    \"id\": 150,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-17\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0124\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W24\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 710,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 15000,\n                \"order_id\": {\n                    \"id\": 150,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-17\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0124\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W24\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 711,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 10400,\n                \"order_id\": {\n                    \"id\": 150,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-17\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0124\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W24\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 712,\n                \"ship_method_id\": null,\n                \"qty\": 8,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5880,\n                \"order_id\": {\n                    \"id\": 150,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-17\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0124\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W24\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 713,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 784,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2120,\n                \"order_id\": {\n                    \"id\": 150,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-17\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0124\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W24\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 714,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 812,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"AR450 Touch POS Terminal\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2290,\n                \"order_id\": {\n                    \"id\": 150,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-17\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0124\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W24\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 715,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 773,\n                    \"categ_id\": null,\n                    \"name\": \"Essential Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 22950,\n                \"order_id\": {\n                    \"id\": 150,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 913,\n                        \"categ_id\": null,\n                        \"name\": \"Lifestyle Ventures Sdn Bhd\\t\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-17\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0124\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W24\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 716,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 30000,\n                \"order_id\": {\n                    \"id\": 151,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 997,\n                        \"categ_id\": null,\n                        \"name\": \"Dialog Diyou PCR Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-01\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0125\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W22\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 717,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 885,\n                    \"categ_id\": {\n                        \"id\": 185,\n                        \"name\": \"POS Terminal\"\n                    },\n                    \"name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6870,\n                \"order_id\": {\n                    \"id\": 151,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 997,\n                        \"categ_id\": null,\n                        \"name\": \"Dialog Diyou PCR Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-01\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0125\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W22\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 718,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 784,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2120,\n                \"order_id\": {\n                    \"id\": 151,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 997,\n                        \"categ_id\": null,\n                        \"name\": \"Dialog Diyou PCR Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-01\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0125\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W22\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 719,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 819,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"150KG X 0.01KG JADEVER ELECTRONIC PLATFORM SCALE (400*500 MM)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1650,\n                \"order_id\": {\n                    \"id\": 151,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 997,\n                        \"categ_id\": null,\n                        \"name\": \"Dialog Diyou PCR Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-01\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0125\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W22\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 720,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 796,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Hardware\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 600,\n                \"order_id\": {\n                    \"id\": 151,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 997,\n                        \"categ_id\": null,\n                        \"name\": \"Dialog Diyou PCR Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-01\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0125\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W22\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 721,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 888,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 720,\n                \"order_id\": {\n                    \"id\": 151,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 997,\n                        \"categ_id\": null,\n                        \"name\": \"Dialog Diyou PCR Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-01\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0125\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W22\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 722,\n                \"ship_method_id\": null,\n                \"qty\": 24,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 19176,\n                \"order_id\": {\n                    \"id\": 151,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 997,\n                        \"categ_id\": null,\n                        \"name\": \"Dialog Diyou PCR Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-01\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0125\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W22\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 723,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 153000,\n                \"order_id\": {\n                    \"id\": 152,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 1024,\n                        \"categ_id\": null,\n                        \"name\": \"CAF Food Products Sdn. Bhd.\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-22\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0126\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W25\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 724,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 15000,\n                \"order_id\": {\n                    \"id\": 152,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 1024,\n                        \"categ_id\": null,\n                        \"name\": \"CAF Food Products Sdn. Bhd.\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-22\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0126\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W25\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 725,\n                \"ship_method_id\": null,\n                \"qty\": 8,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5880,\n                \"order_id\": {\n                    \"id\": 152,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 1024,\n                        \"categ_id\": null,\n                        \"name\": \"CAF Food Products Sdn. Bhd.\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-22\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0126\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W25\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 726,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 784,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2120,\n                \"order_id\": {\n                    \"id\": 152,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 1024,\n                        \"categ_id\": null,\n                        \"name\": \"CAF Food Products Sdn. Bhd.\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-22\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0126\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W25\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 727,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 812,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"AR450 Touch POS Terminal\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2290,\n                \"order_id\": {\n                    \"id\": 152,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 1024,\n                        \"categ_id\": null,\n                        \"name\": \"CAF Food Products Sdn. Bhd.\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-22\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0126\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W25\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 728,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 773,\n                    \"categ_id\": null,\n                    \"name\": \"Essential Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 22950,\n                \"order_id\": {\n                    \"id\": 152,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 1024,\n                        \"categ_id\": null,\n                        \"name\": \"CAF Food Products Sdn. Bhd.\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-22\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0126\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W25\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 729,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5500.2,\n                \"order_id\": {\n                    \"id\": 153,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 927,\n                        \"categ_id\": null,\n                        \"name\": \"Sklew Biotech\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-27\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Project Timeline: \\n1 - 2 Months \\n\\nPayment Terms:\\n- 50% Above \\n- 50% After Completion \",\n                    \"number\": \"SO-0127\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W26\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 730,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 7000,\n                \"order_id\": {\n                    \"id\": 153,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 927,\n                        \"categ_id\": null,\n                        \"name\": \"Sklew Biotech\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-27\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Project Timeline: \\n1 - 2 Months \\n\\nPayment Terms:\\n- 50% Above \\n- 50% After Completion \",\n                    \"number\": \"SO-0127\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W26\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 731,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 153,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 927,\n                        \"categ_id\": null,\n                        \"name\": \"Sklew Biotech\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-27\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Project Timeline: \\n1 - 2 Months \\n\\nPayment Terms:\\n- 50% Above \\n- 50% After Completion \",\n                    \"number\": \"SO-0127\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W26\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 732,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 803,\n                    \"categ_id\": null,\n                    \"name\": \"Travel Fees\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 153,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 927,\n                        \"categ_id\": null,\n                        \"name\": \"Sklew Biotech\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-27\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Project Timeline: \\n1 - 2 Months \\n\\nPayment Terms:\\n- 50% Above \\n- 50% After Completion \",\n                    \"number\": \"SO-0127\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W26\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 733,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 8000,\n                \"order_id\": {\n                    \"id\": 153,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 927,\n                        \"categ_id\": null,\n                        \"name\": \"Sklew Biotech\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-27\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Project Timeline: \\n1 - 2 Months \\n\\nPayment Terms:\\n- 50% Above \\n- 50% After Completion \",\n                    \"number\": \"SO-0127\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W26\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 734,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 799,\n                \"order_id\": {\n                    \"id\": 153,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 927,\n                        \"categ_id\": null,\n                        \"name\": \"Sklew Biotech\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 93,\n                        \"name\": \"Saqib\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-06-27\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Project Timeline: \\n1 - 2 Months \\n\\nPayment Terms:\\n- 50% Above \\n- 50% After Completion \",\n                    \"number\": \"SO-0127\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W26\",\n                    \"date_month\": \"2023-06\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 735,\n                \"ship_method_id\": null,\n                \"qty\": 172.5,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 345000,\n                \"order_id\": {\n                    \"id\": 154,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 785,\n                        \"categ_id\": null,\n                        \"name\": \"Emerging EPC Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0128\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W27\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 736,\n                \"ship_method_id\": null,\n                \"qty\": 35,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 70000,\n                \"order_id\": {\n                    \"id\": 154,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 785,\n                        \"categ_id\": null,\n                        \"name\": \"Emerging EPC Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0128\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W27\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 737,\n                \"ship_method_id\": null,\n                \"qty\": 30,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 60000,\n                \"order_id\": {\n                    \"id\": 154,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 785,\n                        \"categ_id\": null,\n                        \"name\": \"Emerging EPC Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0128\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W27\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 738,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 810,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Service\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 60000,\n                \"order_id\": {\n                    \"id\": 154,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 785,\n                        \"categ_id\": null,\n                        \"name\": \"Emerging EPC Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0128\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W27\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 739,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 846,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Power BI Setup \"\n                },\n                \"packaging_id\": null,\n                \"amount\": 40000,\n                \"order_id\": {\n                    \"id\": 154,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 785,\n                        \"categ_id\": null,\n                        \"name\": \"Emerging EPC Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0128\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W27\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 740,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 115000,\n                \"order_id\": {\n                    \"id\": 154,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 785,\n                        \"categ_id\": null,\n                        \"name\": \"Emerging EPC Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0128\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W27\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 741,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 773,\n                    \"categ_id\": null,\n                    \"name\": \"Essential Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 40800,\n                \"order_id\": {\n                    \"id\": 154,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 785,\n                        \"categ_id\": null,\n                        \"name\": \"Emerging EPC Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0128\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W27\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 742,\n                \"ship_method_id\": null,\n                \"qty\": 10,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 796,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Hardware\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 9800,\n                \"order_id\": {\n                    \"id\": 154,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 785,\n                        \"categ_id\": null,\n                        \"name\": \"Emerging EPC Sdn Bhd\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-04\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0128\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W27\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 743,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 774,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Conf - Inventory\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 8000,\n                \"order_id\": {\n                    \"id\": 155,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-05\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Project Timeline:\\n- 4 to 6 Months \\n\\nPayment Terms \\n- 30% upfront \\n- Remaining project fees will be divided based on the total sprint (the payment will be pay at the end of every sprint)\",\n                    \"number\": \"SO-0129\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W27\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 744,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 785,\n                    \"categ_id\": {\n                        \"id\": 171,\n                        \"name\": \"Online - Purchase\"\n                    },\n                    \"name\": \"Conf - Purchase\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 155,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-05\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Project Timeline:\\n- 4 to 6 Months \\n\\nPayment Terms \\n- 30% upfront \\n- Remaining project fees will be divided based on the total sprint (the payment will be pay at the end of every sprint)\",\n                    \"number\": \"SO-0129\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W27\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 745,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 786,\n                    \"categ_id\": {\n                        \"id\": 173,\n                        \"name\": \"Online - Sales\"\n                    },\n                    \"name\": \"Conf - Sales\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2000,\n                \"order_id\": {\n                    \"id\": 155,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-05\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Project Timeline:\\n- 4 to 6 Months \\n\\nPayment Terms \\n- 30% upfront \\n- Remaining project fees will be divided based on the total sprint (the payment will be pay at the end of every sprint)\",\n                    \"number\": \"SO-0129\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W27\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 746,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 776,\n                    \"categ_id\": {\n                        \"id\": 172,\n                        \"name\": \"Online - Inventory\"\n                    },\n                    \"name\": \"Training (Inv)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 4000,\n                \"order_id\": {\n                    \"id\": 155,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-05\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Project Timeline:\\n- 4 to 6 Months \\n\\nPayment Terms \\n- 30% upfront \\n- Remaining project fees will be divided based on the total sprint (the payment will be pay at the end of every sprint)\",\n                    \"number\": \"SO-0129\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W27\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 747,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 155,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-05\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Project Timeline:\\n- 4 to 6 Months \\n\\nPayment Terms \\n- 30% upfront \\n- Remaining project fees will be divided based on the total sprint (the payment will be pay at the end of every sprint)\",\n                    \"number\": \"SO-0129\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W27\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 748,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 14000,\n                \"order_id\": {\n                    \"id\": 155,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-05\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Project Timeline:\\n- 4 to 6 Months \\n\\nPayment Terms \\n- 30% upfront \\n- Remaining project fees will be divided based on the total sprint (the payment will be pay at the end of every sprint)\",\n                    \"number\": \"SO-0129\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W27\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 749,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 9000,\n                \"order_id\": {\n                    \"id\": 155,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-05\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Project Timeline:\\n- 4 to 6 Months \\n\\nPayment Terms \\n- 30% upfront \\n- Remaining project fees will be divided based on the total sprint (the payment will be pay at the end of every sprint)\",\n                    \"number\": \"SO-0129\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W27\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 750,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 155,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-05\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Project Timeline:\\n- 4 to 6 Months \\n\\nPayment Terms \\n- 30% upfront \\n- Remaining project fees will be divided based on the total sprint (the payment will be pay at the end of every sprint)\",\n                    \"number\": \"SO-0129\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W27\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 751,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1150,\n                \"order_id\": {\n                    \"id\": 155,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 848,\n                        \"categ_id\": null,\n                        \"name\": \"Celovis Malaysia \"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-05\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Project Timeline:\\n- 4 to 6 Months \\n\\nPayment Terms \\n- 30% upfront \\n- Remaining project fees will be divided based on the total sprint (the payment will be pay at the end of every sprint)\",\n                    \"number\": \"SO-0129\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W27\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 752,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 10000,\n                \"order_id\": {\n                    \"id\": 156,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-11\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0130\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W28\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 753,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 5000,\n                \"order_id\": {\n                    \"id\": 156,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-11\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0130\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W28\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 754,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 804,\n                    \"categ_id\": null,\n                    \"name\": \"Conf - Custom Page\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 15000,\n                \"order_id\": {\n                    \"id\": 156,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-11\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0130\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W28\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 755,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 885,\n                    \"categ_id\": {\n                        \"id\": 185,\n                        \"name\": \"POS Terminal\"\n                    },\n                    \"name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 9160,\n                \"order_id\": {\n                    \"id\": 156,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-11\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0130\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W28\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 756,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 885,\n                    \"categ_id\": {\n                        \"id\": 185,\n                        \"name\": \"POS Terminal\"\n                    },\n                    \"name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6870,\n                \"order_id\": {\n                    \"id\": 156,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-11\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0130\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W28\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 757,\n                \"ship_method_id\": null,\n                \"qty\": 3,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 784,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3180,\n                \"order_id\": {\n                    \"id\": 156,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-11\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0130\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W28\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 758,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": {\n                    \"id\": 4,\n                    \"name\": \"Warehouse\"\n                },\n                \"product_id\": {\n                    \"id\": 784,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"TSC 244 Pro Label Printer \"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2120,\n                \"order_id\": {\n                    \"id\": 156,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-11\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0130\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W28\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 759,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 819,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"150KG X 0.01KG JADEVER ELECTRONIC PLATFORM SCALE (400*500 MM)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 7000,\n                \"order_id\": {\n                    \"id\": 156,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-11\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0130\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W28\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 760,\n                \"ship_method_id\": null,\n                \"qty\": 4,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 796,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Hardware\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2400,\n                \"order_id\": {\n                    \"id\": 156,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-11\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0130\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W28\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 761,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 819,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"150KG X 0.01KG JADEVER ELECTRONIC PLATFORM SCALE (400*500 MM)\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3500,\n                \"order_id\": {\n                    \"id\": 156,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-11\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0130\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W28\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 762,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 796,\n                    \"categ_id\": {\n                        \"id\": 176,\n                        \"name\": \"Zeek\"\n                    },\n                    \"name\": \"Hardware\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 1200,\n                \"order_id\": {\n                    \"id\": 156,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-11\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0130\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W28\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 763,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 888,\n                    \"categ_id\": {\n                        \"id\": 177,\n                        \"name\": \"Scanners\"\n                    },\n                    \"name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 700,\n                \"order_id\": {\n                    \"id\": 156,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-11\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0130\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W28\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 764,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 799,\n                \"order_id\": {\n                    \"id\": 156,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-11\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0130\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W28\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 765,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 156,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 86,\n                        \"categ_id\": null,\n                        \"name\": \"Diyou Fibre Sdn Bhd (465406-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 54,\n                        \"name\": \"Khalida\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-11\",\n                    \"seller_id\": null,\n                    \"other_info\": \"\",\n                    \"number\": \"SO-0130\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W28\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 766,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 11800,\n                \"order_id\": {\n                    \"id\": 157,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-14\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n80% Desposit \\n20% After Implementation and sign off\",\n                    \"number\": \"SO-0131\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W28\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 767,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 769,\n                    \"categ_id\": null,\n                    \"name\": \"Customisation\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 6000,\n                \"order_id\": {\n                    \"id\": 157,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 949,\n                        \"categ_id\": null,\n                        \"name\": \"Techcapital Resources Sdn Bhd (679831-D)\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-14\",\n                    \"seller_id\": null,\n                    \"other_info\": \"Payment Terms:\\n\\n80% Desposit \\n20% After Implementation and sign off\",\n                    \"number\": \"SO-0131\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W28\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 768,\n                \"ship_method_id\": null,\n                \"qty\": 2,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 763,\n                    \"categ_id\": null,\n                    \"name\": \"Standard Subs\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 2698,\n                \"order_id\": {\n                    \"id\": 158,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 890,\n                        \"categ_id\": null,\n                        \"name\": \"LTI Resources Sdn. Bhd.\"\n                    },\n                    \"state\": \"confirmed\",\n                    \"user_id\": {\n                        \"id\": 1,\n                        \"name\": \"Alwin\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-07-18\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0132\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W29\",\n                    \"date_month\": \"2023-07\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 773,\n                \"ship_method_id\": null,\n                \"qty\": null,\n                \"location_id\": {\n                    \"id\": 19,\n                    \"name\": \"Warehouse Azira\"\n                },\n                \"product_id\": null,\n                \"packaging_id\": null,\n                \"amount\": null,\n                \"order_id\": {\n                    \"id\": 160,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 421,\n                        \"categ_id\": null,\n                        \"name\": \"Syuhada\"\n                    },\n                    \"state\": \"draft\",\n                    \"user_id\": {\n                        \"id\": 97,\n                        \"name\": \"Asad Ali\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-08-10\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0134\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W32\",\n                    \"date_month\": \"2023-08\"\n                },\n                \"notes\": null\n            },\n            {\n                \"id\": 774,\n                \"ship_method_id\": null,\n                \"qty\": 1,\n                \"location_id\": null,\n                \"product_id\": {\n                    \"id\": 770,\n                    \"categ_id\": null,\n                    \"name\": \"Test Prod\"\n                },\n                \"packaging_id\": null,\n                \"amount\": 3,\n                \"order_id\": {\n                    \"id\": 161,\n                    \"ship_port_id\": null,\n                    \"contact_id\": {\n                        \"id\": 1061,\n                        \"categ_id\": null,\n                        \"name\": \"Javeria\"\n                    },\n                    \"state\": \"draft\",\n                    \"user_id\": {\n                        \"id\": 97,\n                        \"name\": \"Asad Ali\"\n                    },\n                    \"due_date\": null,\n                    \"date\": \"2023-08-14\",\n                    \"seller_id\": null,\n                    \"other_info\": null,\n                    \"number\": \"SO-0135\",\n                    \"due_date_weekday\": null,\n                    \"date_week\": \"2023-W33\",\n                    \"date_month\": \"2023-08\"\n                },\n                \"notes\": null\n            }\n        ],\n        624\n    ],\n    \"error\": null,\n    \"id\": 1695025291542,\n    \"dt\": 173\n}"}],"_postman_id":"93860fd5-78da-4ba7-b86e-7a0fdf51af59"},{"name":"params/report.custom/search_read","id":"077b3770-661e-4c03-ada0-116d67ebabb7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695025291550,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"sale.order.line\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 13:20:58\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.custom\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"code\",</strong></strong>\"=\",<strong>**\"sale.order.line\"<strong><strong>]</strong></strong>],<strong><strong>[</strong></strong>\"name\",**</strong>\"config\"<strong><strong>]</strong></strong>],****{},**</p>\n<ol>\n<li><strong>\"report.custom\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"report.custom,\" indicating that the operation is related to custom reporting within the system. Custom reporting typically involves creating and generating reports with specific configurations.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data. In this case, it's used for retrieving custom report configurations.</li>\n<li><strong>[[\"code\", \"=\", \"sale.order.line\"], [\"name\", \"config\"]]:</strong> This is the third parameter and consists of two lists:</li>\n<li>The first list, <code>[[\"code\", \"=\", \"sale.order.line\"]]</code>, forms the search domain. It contains a single condition: <code>[\"code\", \"=\", \"sale.order.line\"]</code>. This condition filters records where the \"code\" attribute is equal to \"sale.order.line.\" It's specifying that the search should focus on records related to sales order line configurations.<ol>\n<li><strong>\"code\":</strong> This is the field or attribute being referenced in the search condition. In this context, \"code\" is likely an attribute that represents a code or identifier associated with records in the entity or module being searched.</li>\n<li><strong>\"=\" (Equals Operator):</strong> This is the operator used in the search condition. It signifies equality and is used to compare the field or attribute on the left with the value on the right to check if they are equal.</li>\n<li><strong>\"sale.order.line\":</strong> This is the value against which the \"code\" field is being compared. In this condition, it's checking if the \"code\" attribute of records is equal to the value \"sale.order.line.\" In other words, it's filtering records where the \"code\" matches exactly \"sale.order.line.\"</li>\n</ol>\n</li>\n<li>The second list, <code>[\"name\", \"config\"]</code>, specifies the fields (attributes) of the records to be included in the response. These attributes relate to custom report configurations that the request aims to retrieve:<ol>\n<li><strong>\"name\":</strong> Represents the name or identifier of the custom report configuration.</li>\n<li><strong>\"config\":</strong> Likely represents the configuration settings or parameters associated with the custom report. This field may contain information on how the report should be generated or formatted.</li>\n</ol>\n</li>\n<li><strong>{}:</strong> This is the fourth parameter and represents an empty dictionary. It typically contains additional options or context information to be passed to the search_read operation. However, in this request, no specific options or context information is provided.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"report.custom\" entity, which is likely related to custom reporting configurations. It filters records to focus on those associated with sales order line configurations, retrieves the \"name\" and \"config\" attributes of these records, and does not provide any additional context or options for the operation.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"694ac5dc-5a2c-40c8-aff0-90703b07c00c","name":"params/report.custom/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695025291550,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"sale.order.line\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-18 13:20:58\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 18 Sep 2023 08:36:32 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Mo1dp6%2FE7IBKB%2FmZkQ%2Bim4sN2qPVDORFtgEF3oRA8TWmRNSYKZXmRL42HIDAveXmVlH%2BpX4woVPVTTZxLkPj1RXkT83gSsry6kEAWby3yu68E2g7PUpwtm2rpkfzv6vznRPJcs5JUoNQL0Avxg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80884306ea59d1e4-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1695025291550,\n    \"dt\": 16\n}"}],"_postman_id":"077b3770-661e-4c03-ada0-116d67ebabb7"}],"id":"aa090860-b1eb-49de-9088-0f424b54f0e4","_postman_id":"aa090860-b1eb-49de-9088-0f424b54f0e4","description":""},{"name":"Sales Profit Summary Report","item":[{"name":"params/report.sale.profit/default_get","id":"f892739e-e375-4efa-bd19-855c625620b9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695276361218,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale.profit\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date_from\",\r\n                \"date_to\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-21 09:58:56\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.sale.profit\",<strong>**\"default_get\",<strong><strong>[</strong></strong>[**</strong>\"date_from\",<strong>**\"date_to\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"report.sale.profit\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"report.sale.profit,\" indicating that the operation is related to generating a report related to sales profitability.</li>\n<li><strong>\"default_get\":</strong> The second parameter specifies the action to be performed on the entity. \"default_get\" is an action used to retrieve default values for specified fields or attributes. In this case, it's used to retrieve default values for the \"date_from\" and \"date_to\" fields.</li>\n<li><strong>[[\"date_from\", \"date_to\"]]:</strong> This is the third parameter and consists of a single list. The list contains two field names: \"date_from\" and \"date_to.\" These fields likely pertain to date ranges used in the context of generating a sales profitability report.<ol>\n<li><strong>\"date_from\":</strong> This is the first element in the list and represents the name of a field or attribute. It typically signifies the starting point or beginning date of a date range.</li>\n<li><strong>\"date_to\":</strong> This is the second element in the list and, like \"date_from,\" represents the name of a field or attribute. It typically signifies the ending point or end date of a date range.</li>\n</ol>\n</li>\n<li><strong>{\"context\": {}}:</strong> This is the fourth parameter and represents a dictionary. The \"context\" key is used to specify additional options or context information for the \"default_get\" operation. In this request, an empty context dictionary is provided, indicating that no specific additional context information is provided for retrieving the default values.</li>\n</ol>\n<p>In summary, this request is using the \"default_get\" action within the \"report.sale.profit\" entity to retrieve default values for the \"date_from\" and \"date_to\" fields. These date fields are typically used for defining the date range for generating a sales profitability report. The request does not provide any additional context information for this operation.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"21a3e888-ff99-45cc-9075-5560a04367b6","name":"params/report.sale.profit/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695276361218,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale.profit\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date_from\",\r\n                \"date_to\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-21 09:58:56\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Sep 2023 06:07:17 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=FTaSpUGf4swblemDq7iYpgTRj58ZxTFwd0SR0VUm%2FCb9se9wm9Bi%2FLaQQdUfRDQMA6RuDYtxJyEbugASLS0hDhPPDHIgdbPbquwHrJhqGK4dR9FiN8XydezoR%2BI1SdUCfu6QRl6frRp03CX3mw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80a02087ad954485-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"date_from\": \"2023-09-01\",\n        \"date_to\": \"2023-09-30\"\n    },\n    \"error\": null,\n    \"id\": 1695276361218,\n    \"dt\": 4\n}"}],"_postman_id":"f892739e-e375-4efa-bd19-855c625620b9"},{"name":"params/report.sale.profit/get_report_data","id":"cb9be646-f59c-46a4-a38a-47e487d70949","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695276361223,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale.profit\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-21 09:58:56\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.sale.profit\",<strong>**\"get_report_data\",<strong><strong>[</strong></strong>null**</strong>],<strong><strong>{</strong></strong>\"context\": {<strong><strong>\"limit\": 1000,</strong></strong>\"offset\": 0****}****},</strong></p>\n<ol>\n<li><strong>\"report.sale.profit\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"report.sale.profit,\" indicating that the operation is related to generating a report related to sales profitability.</li>\n<li><strong>\"get_report_data\":</strong> The second parameter specifies the action to be performed on the entity. \"get_report_data\" is an action used to retrieve data for generating a report. In this case, it's used to retrieve data for the sales profitability report.</li>\n<li><strong>[null]:</strong> This is the third parameter and consists of a single element list containing a null value. It is used to provide additional options or filters for retrieving report data, but in this request, it appears that no specific options or filters are applied. The null value indicates that the request aims to retrieve all available data without any specific conditions or filters.</li>\n<li><strong>{\"context\": {\"limit\": 1000, \"offset\": 0}}:</strong> This is the fourth parameter and represents a dictionary. The \"context\" key is used to specify additional options or context information for the \"get_report_data\" operation.<ol>\n<li><strong>\"limit\": 1000:</strong> This option indicates that the request seeks to limit the number of records or data points returned to a maximum of 1000. It sets a cap on the amount of data that will be included in the report.</li>\n<li><strong>\"offset\": 0:</strong> This option specifies the starting point or offset for retrieving data. In this case, it starts from the beginning (offset 0), implying that the report will include data from the start of the dataset.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is using the \"get_report_data\" action within the \"report.sale.profit\" entity to retrieve data for generating a sales profitability report. It aims to retrieve all available data without applying any specific filters or conditions. The request also specifies that the report data should be limited to a maximum of 1000 records and should start from the beginning of the dataset.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"b8311d91-6247-4200-9a94-f9f473de92c7","name":"params/report.sale.profit/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695276361223,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale.profit\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-21 09:58:56\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Sep 2023 06:21:56 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=vJ9ZVa3SlvjwrNdb05iBj1EaDYVoMwlcusGTLsFqcf1NwsLoCiN41nZ7WuZf0UJ98DrA3hT5C800nVNat4myaYm9inhsOi%2Fnsjs2u1fdGLkOzqAO0L3m9HZAta3YrYlvygFjNn02SpY4Op4x4Q%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80a035fd5c924487-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"company_name\": \"SmartB\",\n        \"date_from\": \"2023-09-01\",\n        \"date_to\": \"2023-09-30\",\n        \"lines\": [\n            {\n                \"id\": 162,\n                \"date\": \"2023-09-19\",\n                \"number\": \"SO-0136\",\n                \"customer\": \"Techcapital Resources Sdn Bhd (679831-D)\",\n                \"sale\": \"SO-0136\",\n                \"amount_subtotal\": 150200,\n                \"est_cost_total\": 0,\n                \"est_profit\": 150200,\n                \"est_profit_percent\": 100,\n                \"act_cost_total\": 0,\n                \"act_profit\": 150200,\n                \"act_profit_percent\": 100\n            },\n            {\n                \"id\": 163,\n                \"date\": \"2023-09-20\",\n                \"number\": \"SO-0137\",\n                \"customer\": \"CENTURY MARK PACIFIC MARKETING SDN BHD\",\n                \"sale\": \"SO-0137\",\n                \"amount_subtotal\": 500,\n                \"est_cost_total\": 0,\n                \"est_profit\": 500,\n                \"est_profit_percent\": 100,\n                \"act_cost_total\": 0,\n                \"act_profit\": 500,\n                \"act_profit_percent\": 100\n            }\n        ],\n        \"totals\": {\n            \"amount_subtotal\": 150700,\n            \"est_cost_total\": 0,\n            \"est_profit\": 150700,\n            \"est_profit_percent\": 100,\n            \"act_cost_total\": 0,\n            \"act_profit\": 150700,\n            \"act_profit_percent\": 100\n        }\n    },\n    \"error\": null,\n    \"id\": 1695276361223,\n    \"dt\": 27\n}"}],"_postman_id":"cb9be646-f59c-46a4-a38a-47e487d70949"}],"id":"febcebca-de1e-4ae2-90ad-7264bcce673b","_postman_id":"febcebca-de1e-4ae2-90ad-7264bcce673b","description":""},{"name":"Sales Profit Details Report","item":[{"name":"params/report.sale.profit.details/default_get","id":"28bc98d7-e507-4e2e-b6bd-aed11e28e2dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695277749229,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale.profit.details\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"sale_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-21 11:28:25\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.sale.profit.details\",<strong>**\"default_get\",<strong><strong>[</strong></strong>[**</strong>\"sale_id\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"report.sale.profit.details\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"report.sale.profit.details,\" indicating that the operation is related to generating detailed information for a sales profitability report.</li>\n<li><strong>\"default_get\":</strong> The second parameter specifies the action to be performed on the entity. \"default_get\" is an action used to retrieve default values for specified fields or attributes. In this case, it's used to retrieve default values for the \"sale_id\" field.</li>\n<li><strong>[[\"sale_id\"]]:</strong> This is the third parameter and consists of a single list. The list contains one field name: \"sale_id.\" This field is likely used to associate the detailed profitability information with a specific sales transaction or order.<ol>\n<li><strong>\"sale_id\":</strong> This is the field name that represents the identifier or reference to a sales transaction. It is used to link the detailed profitability information to a particular sale.</li>\n</ol>\n</li>\n<li><strong>{\"context\": {}}:</strong> This is the fourth parameter and represents a dictionary. The \"context\" key is used to specify additional options or context information for the \"default_get\" operation. In this request, an empty context dictionary is provided, indicating that no specific additional context information is provided for retrieving default values.</li>\n</ol>\n<p>In summary, this request is using the \"default_get\" action within the \"report.sale.profit.details\" entity to retrieve default values for the \"sale_id\" field. This field is typically used to associate detailed profitability information with a specific sales transaction. The request does not provide any additional context information for this operation.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"2e04df28-f484-47d7-a556-a90b7a35a563","name":"params/report.sale.profit.details/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695277749229,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale.profit.details\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"sale_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-21 11:28:25\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Sep 2023 06:29:46 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=EMtamCAoENgCHP%2FyLvz3yqSK%2BGl52krvcAaQOBMlQLcyp9Z73WJXo825Mht%2FOk%2B7qp9%2FbQVIqiDDgCsWB7XdMKlEy%2BY7b7d34MtX%2BPtvpOrVE2f8B0L66wL98a6NG4gCvzk2iYqu4QoYK6jmng%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80a04176ef6c40fa-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"sale_id\": null\n    },\n    \"error\": null,\n    \"id\": 1695277749229,\n    \"dt\": 23\n}"}],"_postman_id":"28bc98d7-e507-4e2e-b6bd-aed11e28e2dc"},{"name":"params/report.sale.profit.details/get_report_data","id":"9f1613f9-d1e8-49c0-834b-eb58cfd69d8d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695277749236,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale.profit.details\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-21 11:28:25\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.sale.profit.details\",<strong>**\"get_report_data\",<strong><strong>[</strong></strong>null**</strong>],<strong><strong>{</strong></strong>\"context\": {<strong><strong>\"limit\": 1000,</strong></strong>\"offset\": 0****}****},</strong></p>\n<ol>\n<li><strong>\"report.sale.profit.details\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"report.sale.profit.details,\" indicating that the operation is related to generating detailed information for a sales profitability report.</li>\n<li><strong>\"get_report_data\":</strong> The second parameter specifies the action to be performed on the entity. \"get_report_data\" is an action used to retrieve data for generating a report. In this case, it's used to retrieve data for the detailed sales profitability report.</li>\n<li><strong>[null]:</strong> This is the third parameter and consists of a single element list containing a null value. It is used to provide additional options or filters for retrieving report data, but in this request, it appears that no specific options or filters are applied. The null value indicates that the request aims to retrieve all available data without any specific conditions or filters.</li>\n<li><strong>{\"context\": {\"limit\": 1000, \"offset\": 0}}:</strong> This is the fourth parameter and represents a dictionary. The \"context\" key is used to specify additional options or context information for the \"get_report_data\" operation.<ol>\n<li><strong>\"limit\": 1000:</strong> This option indicates that the request seeks to limit the number of records or data points returned to a maximum of 1000. It sets a cap on the amount of data that will be included in the detailed sales profitability report.</li>\n<li><strong>\"offset\": 0:</strong> This option specifies the starting point or offset for retrieving data. In this case, it starts from the beginning (offset 0), implying that the report will include data from the start of the dataset.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is using the \"get_report_data\" action within the \"report.sale.profit.details\" entity to retrieve data for generating a detailed sales profitability report. It aims to retrieve all available data without applying any specific filters or conditions. The request also specifies that the report data should be limited to a maximum of 1000 records and should start from the beginning of the dataset.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"cbea63a1-cdf8-4007-bee7-a10d8cc06916","name":"params/report.sale.profit.details/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695277749236,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale.profit.details\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-21 11:28:25\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Sep 2023 06:38:21 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=O7sTF31mMEpXehyOzMJxWxHiR3RdJNispC9OaryIVJUoA44bROgufldZ1soeSbVnZgmRIoZcMvYw9Igm6xepXRxM4OzhwnVSEocXJ1RQl81YyZ13dU0KxWH%2BLxs9Hh0KKq0TXwKinP4sfDPykw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80a04e08bac43d9b-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": null,\n    \"error\": null,\n    \"id\": 1695277749236,\n    \"dt\": 3\n}"}],"_postman_id":"9f1613f9-d1e8-49c0-834b-eb58cfd69d8d"}],"id":"49b0a061-302c-4298-bf87-b7cd155aaa5e","_postman_id":"49b0a061-302c-4298-bf87-b7cd155aaa5e","description":""},{"name":"Unpaid Sales Report","item":[{"name":"params/report.unpaid.sale/default_get","id":"4ac17f65-73fd-42ec-a4ce-195ea55f7db5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695278820103,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.unpaid.sale\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"pay_method_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-21 11:46:47\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.unpaid.sale\",<strong>**\"default_get\",<strong><strong>[</strong></strong>[**</strong>\"date_from\",<strong><strong>\"date_to\",</strong></strong>\"pay_method_id\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"report.unpaid.sale\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"report.unpaid.sale,\" indicating that the operation is related to generating a report related to unpaid sales transactions.</li>\n<li><strong>\"default_get\":</strong> The second parameter specifies the action to be performed on the entity. \"default_get\" is an action used to retrieve default values for specified fields or attributes. In this case, it's used to retrieve default values for the \"date_from,\" \"date_to,\" and \"pay_method_id\" fields.</li>\n<li><strong>[[\"date_from\", \"date_to\", \"pay_method_id\"]]:</strong> This is the third parameter and consists of a single list. The list contains three field names: \"date_from,\" \"date_to,\" and \"pay_method_id.\" These fields likely pertain to date ranges and payment methods used in the context of generating the unpaid sales report.<ol>\n<li><strong>\"date_from\":</strong> Represents the start date of the date range. It specifies the beginning point for the analysis of unpaid sales transactions.</li>\n<li><strong>\"date_to\":</strong> Represents the end date of the date range. It specifies the endpoint for the analysis of unpaid sales transactions.</li>\n<li><strong>\"pay_method_id\":</strong> Represents the payment method or payment type associated with sales transactions. It's used to filter and analyze unpaid sales based on the payment method used.</li>\n</ol>\n</li>\n<li><strong>{\"context\": {}}:</strong> This is the fourth parameter and represents a dictionary. The \"context\" key is used to specify additional options or context information for the \"default_get\" operation. In this request, an empty context dictionary is provided, indicating that no specific additional context information is provided for retrieving default values.</li>\n</ol>\n<p>In summary, this request is using the \"default_get\" action within the \"report.unpaid.sale\" entity to retrieve default values for the \"date_from,\" \"date_to,\" and \"pay_method_id\" fields. These fields are typically used to define date ranges and payment methods for analyzing unpaid sales transactions. The request does not provide any additional context information for this operation.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"6d52bb31-813d-49e7-96cd-af94767eaa77","name":"params/report.unpaid.sale/","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695278820103,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.unpaid.sale\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"pay_method_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-21 11:46:47\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Sep 2023 06:47:56 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=%2BUXWtciukB0agEc4qfZMkZUmcrjqSxcepylGzN3hlnygwQimaQ7kPyBJDSXx0TU993PAtI1nwMKh4FKm%2B0DKOkPR0%2BXjwe3ODw4uJGM8obpNpJB5kVnqxmtDT7Xy0jwcb4xRiWTcEcK%2Bp%2Bb9wg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80a05c12ac8ab785-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"date_from\": \"2023-09-01\",\n        \"date_to\": \"2023-09-30\"\n    },\n    \"error\": null,\n    \"id\": 1695278820103,\n    \"dt\": 3\n}"}],"_postman_id":"4ac17f65-73fd-42ec-a4ce-195ea55f7db5"},{"name":"params/report.unpaid.sale/get_report_data","id":"04d538e6-4c7f-4207-888f-36f66a0cf484","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695278820109,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.unpaid.sale\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-21 11:46:47\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.unpaid.sale\",<strong>**\"get_report_data\",<strong><strong>[</strong></strong>null**</strong>],<strong><strong>{</strong></strong>\"context\": {<strong><strong>\"limit\": 1000,</strong></strong>\"offset\": 0****}****},</strong></p>\n<ol>\n<li><strong>\"report.unpaid.sale\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"report.unpaid.sale,\" indicating that the operation is related to generating a report for unpaid sales transactions.</li>\n<li><strong>\"get_report_data\":</strong> The second parameter specifies the action to be performed on the entity. \"get_report_data\" is an action used to retrieve data for generating a report. In this case, it's used to retrieve data for the unpaid sales report.</li>\n<li><strong>[null]:</strong> This is the third parameter and consists of a single element list containing a null value. It is used to provide additional options or filters for retrieving report data, but in this request, it appears that no specific options or filters are applied. The null value indicates that the request aims to retrieve all available data for the unpaid sales report without any specific conditions or filters.</li>\n<li><strong>{\"context\": {\"limit\": 1000, \"offset\": 0}}:</strong> This is the fourth parameter and represents a dictionary. The \"context\" key is used to specify additional options or context information for the \"get_report_data\" operation.<ol>\n<li><strong>\"limit\": 1000:</strong> This option indicates that the request seeks to limit the number of records or data points returned to a maximum of 1000. It sets a cap on the amount of data that will be included in the unpaid sales report.</li>\n<li><strong>\"offset\": 0:</strong> This option specifies the starting point or offset for retrieving data. In this case, it starts from the beginning (offset 0), implying that the report will include data from the start of the dataset.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is using the \"get_report_data\" action within the \"report.unpaid.sale\" entity to retrieve data for generating an unpaid sales report. It aims to retrieve all available data for this report without applying any specific filters or conditions. The request also specifies that the report data should be limited to a maximum of 1000 records and should start from the beginning of the dataset.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"e6c7bf1b-12a4-49af-81f5-4e8c6c1b8377","name":"params/report.unpaid.sale/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695278820109,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.unpaid.sale\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-21 11:46:47\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 21 Sep 2023 08:54:47 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=%2FHu4hqIiUt4GMk1PyJNuMA7KObq8INnWLFdjJlSzzL3ueA2tAgPwo63SGWqqbgB1MZUkq4QAnNjH16RnuMlsWqkB37Cb6KKr3yZfAMkKyuPnxCZwcSTzsVMXJVqsV1%2BmwKV9aCmFua28h%2BikOA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80a115e048654a83-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"company_name\": \"SmartB\",\n        \"date_from\": \"2023-09-01\",\n        \"date_to\": \"2023-09-30\",\n        \"lines\": [\n            {\n                \"id\": 162,\n                \"number\": \"SO-0136\",\n                \"related_id\": 625,\n                \"related_number\": \"2023/TROBOT/HORNB/03\",\n                \"date\": \"2023-09-19\",\n                \"customer_name\": \"Techcapital Resources Sdn Bhd (679831-D)\",\n                \"phone\": null,\n                \"pay_method\": null,\n                \"amount\": 150200\n            }\n        ],\n        \"total\": 150200\n    },\n    \"error\": null,\n    \"id\": 1695278820109,\n    \"dt\": 65\n}"}],"_postman_id":"04d538e6-4c7f-4207-888f-36f66a0cf484"}],"id":"6d8efa6b-963a-4f89-b3ba-d578204fe5c2","_postman_id":"6d8efa6b-963a-4f89-b3ba-d578204fe5c2","description":""},{"name":"Sales Payments Report","item":[{"name":"params/report.sale.payment/default_get","id":"b733faa2-a474-4126-9f9b-8c0aa63a7567","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695358276104,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale.payment\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"invoice_date_from\",\r\n                \"invoice_date_to\",\r\n                \"order_date_from\",\r\n                \"order_date_to\",\r\n                \"pay_method_id\",\r\n                \"account_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-22 08:48:06\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.sale.payment\",<strong>**\"default_get\",<strong><strong>[</strong></strong>[**</strong>\"invoice_date_from\",<strong><strong>\"invoice_date_to\",</strong></strong>\"order_date_from\",<strong><strong>\"order_date_to\",</strong></strong>\"pay_method_id\",<strong>**\"account_id\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"report.sale.payment\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"report.sale.payment,\" indicating that the operation is related to generating a report for sale payments.</li>\n<li><strong>\"default_get\":</strong> The second parameter specifies the action to be performed on the entity. \"default_get\" is an action used to retrieve default values for specified fields or attributes. In this case, it's used to retrieve default values for several fields related to date ranges, payment methods, and accounts.</li>\n<li><strong>[[\"invoice_date_from\", \"invoice_date_to\", \"order_date_from\", \"order_date_to\", \"pay_method_id\", \"account_id\"]]:</strong> This is the third parameter and consists of a single list. The list contains the names of several fields:<ol>\n<li><strong>\"invoice_date_from\":</strong> This field represents the starting date for filtering sales transactions based on their invoice date. It's used to set the lower bound of the date range for including sales transactions in the report.</li>\n<li><strong>\"invoice_date_to\":</strong> This field represents the ending date for filtering sales transactions based on their invoice date. It's used to set the upper bound of the date range for including sales transactions in the report.</li>\n<li><strong>\"order_date_from\":</strong> This field represents the starting date for filtering sales transactions based on their order date. It's used to set the lower bound of the date range for including sales transactions in the report based on their order date.</li>\n<li><strong>\"order_date_to\":</strong> This field represents the ending date for filtering sales transactions based on their order date. It's used to set the upper bound of the date range for including sales transactions in the report based on their order date.</li>\n<li><strong>\"pay_method_id\":</strong> This field represents the payment method or payment type associated with sales transactions. It's used to filter and analyze payments based on the payment method used. It allows you to segment payments by different payment methods.</li>\n<li><strong>\"account_id\":</strong> This field represents the account or financial account related to sales transactions. It's used for financial analysis related to payments. It allows you to analyze payments in the context of specific financial accounts.</li>\n</ol>\n</li>\n<li><strong>{\"context\": {}}:</strong> This is the fourth parameter and represents a dictionary. The \"context\" key is used to specify additional options or context information for the \"default_get\" operation. In this request, an empty context dictionary is provided, indicating that no specific additional context information is provided for retrieving default values.</li>\n</ol>\n<p>In summary, this request is using the \"default_get\" action within the \"report.sale.payment\" entity to retrieve default values for several fields related to date ranges, payment methods, and financial accounts. These fields are typically used to configure and customize a sales payment report. The request does not provide any additional context information for this operation.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"b0cdb451-1bf3-40bb-b4bc-64342aa4cf49","name":"params/report.sale.payment/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695358276104,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale.payment\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"invoice_date_from\",\r\n                \"invoice_date_to\",\r\n                \"order_date_from\",\r\n                \"order_date_to\",\r\n                \"pay_method_id\",\r\n                \"account_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-22 08:48:06\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Sep 2023 06:44:19 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=KVgUQdTC4tXCkvoGusUs%2BX%2BvWcd9BO%2FckecjgaS%2FreMPpRkpMtSADqFtu7VV6VqiMN8pFPD3tRnMDlGdUKjqcyjbZkAoC341fwsgq9NvRl6X0kJaCdjvNQU0MPtKCFxViAXNFbTVb%2FbJxByjXA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80a89422dd3891b1-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"invoice_date_from\": \"2023-09-01\",\n        \"invoice_date_to\": \"2023-09-30\",\n        \"order_date_from\": null,\n        \"order_date_to\": null,\n        \"pay_method_id\": null,\n        \"account_id\": null\n    },\n    \"error\": null,\n    \"id\": 1695358276104,\n    \"dt\": 6\n}"}],"_postman_id":"b733faa2-a474-4126-9f9b-8c0aa63a7567"},{"name":"params/report.sale.payment/get_report_data","id":"a03c3902-1d60-4f6d-ac96-110880487c13","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695358276109,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale.payment\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-22 08:48:06\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.sale.payment\",<strong>**\"get_report_data\",<strong><strong>[</strong></strong>null**</strong>],<strong><strong>{</strong></strong>\"context\": {<strong><strong>\"limit\": 1000,</strong></strong>\"offset\": 0****}****},</strong></p>\n<ol>\n<li><strong>\"report.sale.payment\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"report.sale.payment,\" indicating that the operation is related to generating a report for sale payments.</li>\n<li><strong>\"get_report_data\":</strong> The second parameter specifies the action to be performed on the entity. \"get_report_data\" is an action used to retrieve the actual data for generating a report. In this case, it's used to fetch the data necessary to generate the sale payment report.</li>\n<li><strong>[null]:</strong> This is the third parameter and consists of a single element list containing a null value. It is used to provide additional options or filters for retrieving report data. However, in this request, it appears that no specific options or filters are applied. The null value indicates that the request aims to retrieve all available data for generating the sale payment report without any specific conditions or filters.</li>\n<li><strong>{\"context\": {\"limit\": 1000, \"offset\": 0}}:</strong> This is the fourth parameter and represents a dictionary. The \"context\" key is used to specify additional options or context information for the \"get_report_data\" operation.<ol>\n<li><strong>\"limit\": 1000:</strong> This option indicates that the request seeks to limit the number of records or data points returned to a maximum of 1000. It sets a cap on the amount of data that will be included in the sale payment report.</li>\n<li><strong>\"offset\": 0:</strong> This option specifies the starting point or offset for retrieving data. In this case, it starts from the beginning (offset 0), implying that the report will include data from the start of the dataset.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is using the \"get_report_data\" action within the \"report.sale.payment\" entity to retrieve the actual data necessary for generating a sale payment report. It aims to retrieve all available data for this report without applying any specific filters or conditions. The request also specifies that the report data should be limited to a maximum of 1000 records and should start from the beginning of the dataset.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"77bf3ebe-5741-494d-bc40-6ccccff314aa","name":"params/report.sale.payment/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695358276109,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale.payment\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-22 08:48:06\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Sep 2023 06:52:57 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=hsJxHvfWCpGWmE3IpE3RnVNh2%2FoTc9j1mF0lZ%2BlaMhP7HWJOUdArilPf72jJxyu5dQEwMIQ%2FAW2bRuCHQlBh0eYhv0kMGnP1HxpTYpbhCk7%2B29U6m235JSMPoobaRoAEYKDrShLg7hOVuGkJ4g%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80a8a0c648ca5c3f-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"company_name\": \"SmartB\",\n        \"order_date_from\": null,\n        \"order_date_to\": null,\n        \"invoice_date_from\": \"2023-09-01\",\n        \"invoice_date_to\": \"2023-09-30\",\n        \"lines\": [\n            {\n                \"order_id\": \"\",\n                \"order_number\": \"Account Total\",\n                \"invoice_id\": \"\",\n                \"invoice_number\": \"\",\n                \"invoice_date\": \"\",\n                \"payment_id\": \"\",\n                \"payment_date\": \"\",\n                \"customer_name\": \"\",\n                \"phone\": \"\",\n                \"pay_method\": \"\",\n                \"account_name\": \"\",\n                \"amount\": 0\n            }\n        ],\n        \"total\": 0\n    },\n    \"error\": null,\n    \"id\": 1695358276109,\n    \"dt\": 119\n}"}],"_postman_id":"a03c3902-1d60-4f6d-ac96-110880487c13"}],"id":"7ecee973-019a-4451-af23-46089deff8c6","_postman_id":"7ecee973-019a-4451-af23-46089deff8c6","description":""},{"name":"Demand Forecast Analysis Report","item":[{"name":"New Request","id":"483daed7-4b6a-4a8d-be24-5b1fc2b817b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"483daed7-4b6a-4a8d-be24-5b1fc2b817b8"},{"name":"New Request","id":"6e7f859c-f789-4837-9f5d-6934ec44e437","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"6e7f859c-f789-4837-9f5d-6934ec44e437"}],"id":"64372457-658c-402b-b46c-d4dd9d9694ec","_postman_id":"64372457-658c-402b-b46c-d4dd9d9694ec","description":""},{"name":"Commission Report","item":[{"name":"params/report.sale.commission/default_get","id":"13720fe6-fab1-4ed6-8f45-92b7af45fe2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695370695624,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale.commission\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"seller_percent\",\r\n                \"parent_percent\",\r\n                \"grand_parent_percent\",\r\n                \"default_margin\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-22 13:12:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.sale.commission\",<strong>**\"default_get\",<strong><strong>[</strong></strong>[**</strong>\"date_from\",<strong><strong>\"date_to\",</strong></strong>\"seller_percent\",<strong><strong>\"parent_percent\",</strong></strong>\"grand_parent_percent\",<strong>**\"default_margin\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"report.sale.commission\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"report.sale.commission,\" indicating that the operation is related to generating a report for sales commissions.</li>\n<li><strong>\"default_get\":</strong> The second parameter specifies the action to be performed on the entity. \"default_get\" is an action used to retrieve default values for specified fields or attributes. In this case, it's used to retrieve default values for several fields related to configuring sales commission calculations.</li>\n<li><strong>[[\"date_from\", \"date_to\", \"seller_percent\", \"parent_percent\", \"grand_parent_percent\", \"default_margin\"]]:</strong> This is the third parameter and consists of a single list. These field names collectively define default values and configurations for sales commission calculations. They provide the initial settings for how commissions will be calculated. The list contains the names of several fields:<ol>\n<li><strong>\"date_from\":</strong> Represents the starting date for configuring sales commission calculations. It's used to set the lower bound of the date range for commission calculations.</li>\n<li><strong>\"date_to\":</strong> Represents the ending date for configuring sales commission calculations. It's used to set the upper bound of the date range for commission calculations.</li>\n<li><strong>\"seller_percent\":</strong> Represents the commission percentage for the seller or salesperson. This field allows for specifying the default commission percentage for individual sellers.</li>\n<li><strong>\"parent_percent\":</strong> Represents the commission percentage for a parent-level entity. In some commission structures, there may be hierarchical commission calculations, and this field allows for setting the default commission percentage at a parent level.</li>\n<li><strong>\"grand_parent_percent\":</strong> Similar to \"parent_percent,\" this field represents the commission percentage for a higher-level or grandparent-level entity in hierarchical commission structures.</li>\n<li><strong>\"default_margin\":</strong> Represents a default margin value used in commission calculations. It can be a percentage or a fixed amount used in determining commission amounts.</li>\n</ol>\n</li>\n<li><strong>{\"context\": {}}:</strong> This is the fourth parameter and represents a dictionary. The \"context\" key is used to specify additional options or context information for the \"default_get\" operation. In this request, an empty context dictionary is provided, indicating that no specific additional context information is provided for retrieving default values.</li>\n</ol>\n<p>In summary, this request is using the \"default_get\" action within the \"report.sale.commission\" entity to retrieve default values and configurations for sales commission calculations. These default values include date ranges, commission percentages for sellers and hierarchical levels, and default margin values. The request does not provide any additional context information for this operation.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"987c197b-1f2e-4aac-ba19-4f50944e46c4","name":"params/report.sale.commission/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695370695624,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale.commission\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"seller_percent\",\r\n                \"parent_percent\",\r\n                \"grand_parent_percent\",\r\n                \"default_margin\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-22 13:12:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Sep 2023 08:19:24 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=CniPtn6JHU8%2BMD0zBcfLdRLjwhUq60nxDCYipVl7Ee3k2RS0XdL2r%2FnkRK2i227VVJ%2FazQfdbQOcDO21HhOZ9yoYrF36oHJ53tcFYwhKSwiEoCf9Jk54s0UfVlpCYVJgzF017lrGFci3apuZOA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80a91f6b589e1e81-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"date_from\": \"2023-09-01\",\n        \"date_to\": \"2023-09-30\",\n        \"seller_percent\": 20,\n        \"parent_percent\": 20,\n        \"grand_parent_percent\": 10,\n        \"default_margin\": null\n    },\n    \"error\": null,\n    \"id\": 1695370695624,\n    \"dt\": 7\n}"}],"_postman_id":"13720fe6-fab1-4ed6-8f45-92b7af45fe2e"},{"name":"params/report.sale.cpmmission/get_report_data","id":"59641ba0-1876-4bee-872f-38175ae21120","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695370695626,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale.commission\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-22 13:12:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.sale.commission\",<strong>**\"get_report_data\",<strong><strong>[</strong></strong>null**</strong>],<strong><strong>{</strong></strong>\"context\": {<strong><strong>\"limit\": 1000,</strong></strong>\"offset\": 0****}****},</strong></p>\n<ol>\n<li><strong>\"report.sale.commission\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"report.sale.commission,\" indicating that the operation is related to generating a report for sales commissions.</li>\n<li><strong>\"get_report_data\":</strong> The second parameter specifies the action to be performed on the entity. \"get_report_data\" is an action used to retrieve the actual data for generating a sales commission report. In this case, it's used to fetch the data necessary to generate the report.</li>\n<li><strong>[null]:</strong> This is the third parameter and consists of a single element list containing a null value. It is used to provide additional options or filters for retrieving report data. However, in this request, it appears that no specific options or filters are applied. The null value indicates that the request aims to retrieve all available data for generating the sales commission report without any specific conditions or filters.</li>\n<li><strong>{\"context\": {\"limit\": 1000, \"offset\": 0}}:</strong> This is the fourth parameter and represents a dictionary. The \"context\" key is used to specify additional options or context information for the \"get_report_data\" operation.<ol>\n<li><strong>\"limit\": 1000:</strong> This option indicates that the request seeks to limit the number of records or data points returned to a maximum of 1000. It sets a cap on the amount of data that will be included in the sales commission report.</li>\n<li><strong>\"offset\": 0:</strong> This option specifies the starting point or offset for retrieving data. In this case, it starts from the beginning (offset 0), implying that the report will include data from the start of the dataset.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is using the \"get_report_data\" action within the \"report.sale.commission\" entity to retrieve the actual data necessary for generating a sales commission report. It aims to retrieve all available data for this report without applying any specific filters or conditions. The request also specifies that the report data should be limited to a maximum of 1000 records and should start from the beginning of the dataset.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"4bd8fd31-442f-42df-b6cf-85eb531e5525","name":"params/report.sale.cpmmission/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695370695626,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale.commission\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-22 13:12:10\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 22 Sep 2023 08:36:59 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=aNZpYURBjNFF9UhpFQ851wIS3vRW2MQsIrE0heSPAsPyfaRR0hXVqOP4bSbHlulQGaZS87u1ilkwM43UDF%2FodaUIjCbVgSL05PDCbpIWgm1wksW0wmaK5t6cfQLU89j4QTuh8Fpxq%2B6TPJTi5g%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80a939300a1e3e53-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": null,\n    \"error\": null,\n    \"id\": 1695370695626,\n    \"dt\": 5\n}"}],"_postman_id":"59641ba0-1876-4bee-872f-38175ae21120"}],"id":"f078e089-931d-4ad5-9084-710a6453f0af","_postman_id":"f078e089-931d-4ad5-9084-710a6453f0af","description":""},{"name":"Sales Unbill Report","item":[{"name":"params/report.sale.unbill/default_get","id":"bb06a02d-b5f3-471c-90f8-60911b4b73b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695616332540,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale.unbill\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"order_date_from\",\r\n                \"order_date_to\",\r\n                \"contact_id\",\r\n                \"sale_order\",\r\n                \"person_in_charge\",\r\n                \"sale_category\",\r\n                \"show_foreign_currency\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-25 09:31:25\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.sale.unbill\",<strong>**\"default_get\",<strong><strong>[</strong></strong>[**</strong>\"order_date_from\",<strong><strong>\"order_date_to\",</strong></strong>\"contact_id\",<strong><strong>\"sale_order\",</strong></strong>\"person_in_charge\",<strong><strong>\"sale_category\",</strong></strong>\"show_foreign_currency\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"report.sale.unbill\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"report.sale.unbill,\" indicating that the operation is related to generating a report for unbilled sales transactions.</li>\n<li><strong>\"default_get\":</strong> The second parameter specifies the action to be performed on the entity. \"default_get\" is an action used to retrieve default values for specified fields or attributes. In this case, it's used to retrieve default values for fields related to configuring the unbilled sales report.</li>\n<li>These field names collectively define default values and configurations for generating the unbilled sales report. They provide the initial settings for how the report will be configured.<ol>\n<li><strong>\"order_date_from\":</strong> Represents the starting date for configuring the unbilled sales report. It's used to set the lower bound of the date range for including sales transactions in the report.</li>\n<li><strong>\"order_date_to\":</strong> Represents the ending date for configuring the unbilled sales report. It's used to set the upper bound of the date range for including sales transactions in the report.</li>\n<li><strong>\"contact_id\":</strong> This field likely represents the customer or contact associated with the sales transactions to be included in the report. It allows for specifying a default contact or customer for the report.</li>\n<li><strong>\"sale_order\":</strong> Represents the sales orders to be included in the report. This field may allow for specifying specific sales orders or criteria for including orders in the report.</li>\n<li><strong>\"person_in_charge\":</strong> This field may relate to the person or user responsible for the sales transactions. It allows for specifying a default person in charge for the report.</li>\n<li><strong>\"sale_category\":</strong> This field could represent the category or type of sales transactions to be included in the report. It allows for specifying a default sales category for the report.</li>\n<li><strong>\"show_foreign_currency\":</strong> This field likely pertains to displaying sales transactions in foreign currencies. It may enable or disable the display of foreign currency information in the report.</li>\n</ol>\n</li>\n<li><strong>{\"context\": {}}:</strong> This is the fourth parameter and represents a dictionary. The \"context\" key is used to specify additional options or context information for the \"default_get\" operation. In this request, an empty context dictionary is provided, indicating that no specific additional context information is provided for retrieving default values.</li>\n</ol>\n<p>In summary, this request is using the \"default_get\" action within the \"report.sale.unbill\" entity to retrieve default values and configurations for generating an unbilled sales report. These default values include date ranges, contact information, sales order criteria, person in charge, sales category, and foreign currency display settings. The request does not provide any additional context information for this operation.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"c6cd2cff-7469-490a-be95-8680e6450c59","name":"params/report.sale.unbill/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695616332540,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale.unbill\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"order_date_from\",\r\n                \"order_date_to\",\r\n                \"contact_id\",\r\n                \"sale_order\",\r\n                \"person_in_charge\",\r\n                \"sale_category\",\r\n                \"show_foreign_currency\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-25 09:31:25\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 25 Sep 2023 04:33:02 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=aiIsPxzhdAaqkSd1WyfU1npXDQffK75oktj7Ka%2BTrCQAPSM9wBC9f%2BpwFheggyMIm2PW89l%2FLHH6cLIHS%2FCntVwk3wwMK3O3YRXQimMT%2FaBISwR2V69EWXlHEVYROe%2FK35%2B%2BYFRQFFF8T1CA6w%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80c08bf67ded4a9b-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"order_date_from\": \"2023-01-01\",\n        \"order_date_to\": \"2023-12-31\",\n        \"contact_id\": null,\n        \"sale_order\": null,\n        \"person_in_charge\": null,\n        \"sale_category\": null,\n        \"show_foreign_currency\": null\n    },\n    \"error\": null,\n    \"id\": 1695616332540,\n    \"dt\": 6\n}"}],"_postman_id":"bb06a02d-b5f3-471c-90f8-60911b4b73b1"},{"name":"params/report.sale.unbill/get_report_data","id":"4285cb26-6b99-4061-85be-5ba4b8ff5267","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695616332551,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale.unbill\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-25 09:31:25\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.sale.unbill\",<strong>**\"get_report_data\",<strong><strong>[</strong></strong>null**</strong>],<strong><strong>{</strong></strong>\"context\": {<strong><strong>\"limit\": 1000,</strong></strong>\"offset\": 0****}****},</strong></p>\n<ol>\n<li><strong>\"report.sale.unbill\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"report.sale.unbill,\" indicating that the operation is related to generating a report for unbilled sales transactions.</li>\n<li><strong>\"get_report_data\":</strong> The second parameter specifies the action to be performed on the entity. \"get_report_data\" is an action used to retrieve the actual data for generating the unbilled sales report. In this case, it's used to fetch the data necessary to generate the report.</li>\n<li><strong>[null]:</strong> This is the third parameter and consists of a single element list containing a null value. It is used to provide additional options or filters for retrieving report data. However, in this request, it appears that no specific options or filters are applied. The null value indicates that the request aims to retrieve all available data for generating the unbilled sales report without any specific conditions or filters.</li>\n<li><strong>{\"context\": {\"limit\": 1000, \"offset\": 0}}:</strong> This is the fourth parameter and represents a dictionary. The \"context\" key is used to specify additional options or context information for the \"get_report_data\" operation.<ol>\n<li><strong>\"limit\": 1000:</strong> This option indicates that the request seeks to limit the number of records or data points returned to a maximum of 1000. It sets a cap on the amount of data that will be included in the unbilled sales report.</li>\n<li><strong>\"offset\": 0:</strong> This option specifies the starting point or offset for retrieving data. In this case, it starts from the beginning (offset 0), implying that the report will include data from the start of the dataset.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is using the \"get_report_data\" action within the \"report.sale.unbill\" entity to retrieve the actual data necessary for generating an unbilled sales report. It aims to retrieve all available data for this report without applying any specific filters or conditions. The request also specifies that the report data should be limited to a maximum of 1000 records and should start from the beginning of the dataset.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"b08a7a2a-91ac-4f89-b0cd-c0ced05674b0","name":"params/report.sale.unbill/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695616332551,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.sale.unbill\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-25 09:31:25\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 25 Sep 2023 04:38:41 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=ZnCBq%2FkDz0xo8aCc7H2ucHCBR4T4e5SC1KbrkcvJ7XNztHtKBSJ0H71LRwGd4X1fsHawImPYQjGbHgzlWyPq9QMs5lMn85HF09axOX1PNTt1GX9FxyVwWdzlsPkub6l7SXLHSVccW%2BaunnbP4Q%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80c0943b4ab34a9b-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"company_name\": \"SmartB\",\n        \"order_date_from\": \"2023-01-01\",\n        \"order_date_to\": \"2023-12-31\",\n        \"show_foreign_currency\": null,\n        \"base_currency_id\": 2,\n        \"base_currency_code\": \"MYR\",\n        \"foreign_currency_code\": \"USD\",\n        \"foreign_currency_id\": 3,\n        \"sale_orders\": [\n            {\n                \"id\": 163,\n                \"number\": \"SO-0137\",\n                \"date\": \"2023-09-20\",\n                \"ref\": \"2023/CMPM/02\",\n                \"contact_id\": 792,\n                \"contact_code\": \"C-0698\",\n                \"contact_name\": \"CENTURY MARK PACIFIC MARKETING SDN BHD\",\n                \"amount_total_cur\": 530,\n                \"invoices\": [\n                    {\n                        \"id\": 3537,\n                        \"number\": \"202309004\",\n                        \"date\": \"2023-09-20\",\n                        \"amount_total_cur\": 530\n                    }\n                ],\n                \"inv_amount_total_cur\": 530,\n                \"amount_unbill\": 0,\n                \"amount_unbill_USD\": 0,\n                \"person_in_charge\": \"Saqib\",\n                \"person_in_charge_id\": 93,\n                \"sale_category\": null\n            },\n            {\n                \"id\": 162,\n                \"number\": \"SO-0136\",\n                \"date\": \"2023-09-19\",\n                \"ref\": \"2023/TROBOT/HORNB/03\",\n                \"contact_id\": 949,\n                \"contact_code\": \"C-0848\",\n                \"contact_name\": \"Techcapital Resources Sdn Bhd (679831-D)\",\n                \"amount_total_cur\": 150200,\n                \"invoices\": [],\n                \"inv_amount_total_cur\": 0,\n                \"amount_unbill\": 150200,\n                \"amount_unbill_USD\": 34287.65009978117,\n                \"person_in_charge\": \"Alwin\",\n                \"person_in_charge_id\": 1,\n                \"sale_category\": null\n            },\n            {\n                \"id\": 161,\n                \"number\": \"SO-0135\",\n                \"date\": \"2023-08-14\",\n                \"ref\": null,\n                \"contact_id\": 1061,\n                \"contact_code\": \"TEST\",\n                \"contact_name\": \"Javeria\",\n                \"amount_total_cur\": 3,\n                \"invoices\": [],\n                \"inv_amount_total_cur\": 0,\n                \"amount_unbill\": 3,\n                \"amount_unbill_USD\": 0.684839882152753,\n                \"person_in_charge\": \"Asad Ali\",\n                \"person_in_charge_id\": 97,\n                \"sale_category\": null\n            },\n            {\n                \"id\": 139,\n                \"number\": \"TEST KHAL\",\n                \"date\": \"2023-08-10\",\n                \"ref\": \"TEST KHAL\",\n                \"contact_id\": 421,\n                \"contact_code\": \"Test\",\n                \"contact_name\": \"Syuhada\",\n                \"amount_total_cur\": 1000,\n                \"invoices\": [],\n                \"inv_amount_total_cur\": 0,\n                \"amount_unbill\": 1000,\n                \"amount_unbill_USD\": 228.27996071758437,\n                \"person_in_charge\": \"Admin\",\n                \"person_in_charge_id\": 8,\n                \"sale_category\": \"Other\"\n            },\n            {\n                \"id\": 160,\n                \"number\": \"SO-0134\",\n                \"date\": \"2023-08-10\",\n                \"ref\": null,\n                \"contact_id\": 421,\n                \"contact_code\": \"Test\",\n                \"contact_name\": \"Syuhada\",\n                \"amount_total_cur\": 0,\n                \"invoices\": [],\n                \"inv_amount_total_cur\": 0,\n                \"amount_unbill\": 0,\n                \"amount_unbill_USD\": 0,\n                \"person_in_charge\": \"Asad Ali\",\n                \"person_in_charge_id\": 97,\n                \"sale_category\": null\n            },\n            {\n                \"id\": 159,\n                \"number\": \"SO-0133\",\n                \"date\": \"2023-08-02\",\n                \"ref\": \"2023/LTIR/02\",\n                \"contact_id\": 890,\n                \"contact_code\": \"C-0792\",\n                \"contact_name\": \"LTI Resources Sdn. Bhd.\",\n                \"amount_total_cur\": 38160,\n                \"invoices\": [],\n                \"inv_amount_total_cur\": 0,\n                \"amount_unbill\": 38160,\n                \"amount_unbill_USD\": 8711.163300983018,\n                \"person_in_charge\": \"Alwin\",\n                \"person_in_charge_id\": 1,\n                \"sale_category\": null\n            },\n            {\n                \"id\": 158,\n                \"number\": \"SO-0132\",\n                \"date\": \"2023-07-18\",\n                \"ref\": \"01/08/2023 - 30/09/2023\",\n                \"contact_id\": 890,\n                \"contact_code\": \"C-0792\",\n                \"contact_name\": \"LTI Resources Sdn. Bhd.\",\n                \"amount_total_cur\": 2859.88,\n                \"invoices\": [\n                    {\n                        \"id\": 3532,\n                        \"number\": \"202308009\",\n                        \"date\": \"2023-08-01\",\n                        \"amount_total_cur\": 2859.88\n                    }\n                ],\n                \"inv_amount_total_cur\": 2859.88,\n                \"amount_unbill\": 0,\n                \"amount_unbill_USD\": 0,\n                \"person_in_charge\": \"Alwin\",\n                \"person_in_charge_id\": 1,\n                \"sale_category\": null\n            },\n            {\n                \"id\": 157,\n                \"number\": \"SO-0131\",\n                \"date\": \"2023-07-14\",\n                \"ref\": \"2023/TROBOT/04 & PO-2307040\",\n                \"contact_id\": 949,\n                \"contact_code\": \"C-0848\",\n                \"contact_name\": \"Techcapital Resources Sdn Bhd (679831-D)\",\n                \"amount_total_cur\": 17800,\n                \"invoices\": [\n                    {\n                        \"id\": 3534,\n                        \"number\": \"202309003\",\n                        \"date\": \"2023-09-19\",\n                        \"amount_total_cur\": 3560\n                    },\n                    {\n                        \"id\": 3471,\n                        \"number\": \"202307016\",\n                        \"date\": \"2023-07-14\",\n                        \"amount_total_cur\": 14240\n                    }\n                ],\n                \"inv_amount_total_cur\": 17800,\n                \"amount_unbill\": 0,\n                \"amount_unbill_USD\": 0,\n                \"person_in_charge\": \"Alwin\",\n                \"person_in_charge_id\": 1,\n                \"sale_category\": null\n            },\n            {\n                \"id\": 156,\n                \"number\": \"SO-0130\",\n                \"date\": \"2023-07-11\",\n                \"ref\": \"2023/DIYO/03\",\n                \"contact_id\": 86,\n                \"contact_code\": \"C-0027\",\n                \"contact_name\": \"Diyou Fibre Sdn Bhd (465406-D)\",\n                \"amount_total_cur\": 68776.94,\n                \"invoices\": [\n                    {\n                        \"id\": 3467,\n                        \"number\": \"202307013\",\n                        \"date\": \"2023-07-11\",\n                        \"amount_total_cur\": 12340\n                    },\n                    {\n                        \"id\": 3470,\n                        \"number\": \"202307015\",\n                        \"date\": \"2023-07-14\",\n                        \"amount_total_cur\": 9160\n                    }\n                ],\n                \"inv_amount_total_cur\": 21500,\n                \"amount_unbill\": 47276.94,\n                \"amount_unbill_USD\": 10792.378006047593,\n                \"person_in_charge\": \"Khalida\",\n                \"person_in_charge_id\": 54,\n                \"sale_category\": null\n            },\n            {\n                \"id\": 155,\n                \"number\": \"SO-0129\",\n                \"date\": \"2023-07-05\",\n                \"ref\": \"2023/CELOVIS/05\",\n                \"contact_id\": 848,\n                \"contact_code\": \"C-0752\",\n                \"contact_name\": \"Celovis Malaysia \",\n                \"amount_total_cur\": 54219,\n                \"invoices\": [\n                    {\n                        \"id\": 3459,\n                        \"number\": \"202307011\",\n                        \"date\": \"2023-07-05\",\n                        \"amount_total_cur\": 15900\n                    }\n                ],\n                \"inv_amount_total_cur\": 15900,\n                \"amount_unbill\": 38319,\n                \"amount_unbill_USD\": 8747.459814737114,\n                \"person_in_charge\": \"Khalida\",\n                \"person_in_charge_id\": 54,\n                \"sale_category\": null\n            },\n            {\n                \"id\": 154,\n                \"number\": \"SO-0128\",\n                \"date\": \"2023-07-04\",\n                \"ref\": \"2022/EMERG/04\",\n                \"contact_id\": 785,\n                \"contact_code\": \"C-0691\",\n                \"contact_name\": \"Emerging EPC Sdn Bhd\",\n                \"amount_total_cur\": 785036,\n                \"invoices\": [\n                    {\n                        \"id\": 3457,\n                        \"number\": \"202307008\",\n                        \"date\": \"2023-07-04\",\n                        \"amount_total_cur\": 56710\n                    }\n                ],\n                \"inv_amount_total_cur\": 56710,\n                \"amount_unbill\": 728326,\n                \"amount_unbill_USD\": 166262.23066959536,\n                \"person_in_charge\": \"Alwin\",\n                \"person_in_charge_id\": 1,\n                \"sale_category\": null\n            },\n            {\n                \"id\": 153,\n                \"number\": \"SO-0127\",\n                \"date\": \"2023-06-27\",\n                \"ref\": \"2023/SKLEW/05\",\n                \"contact_id\": 927,\n                \"contact_code\": \"C-0827\",\n                \"contact_name\": \"Sklew Biotech\",\n                \"amount_total_cur\": 26817.15,\n                \"invoices\": [\n                    {\n                        \"id\": 3449,\n                        \"number\": \"202306006\",\n                        \"date\": \"2023-06-27\",\n                        \"amount_total_cur\": 9142.71\n                    }\n                ],\n                \"inv_amount_total_cur\": 9142.71,\n                \"amount_unbill\": 17674.44,\n                \"amount_unbill_USD\": 4034.720468905302,\n                \"person_in_charge\": \"Saqib\",\n                \"person_in_charge_id\": 93,\n                \"sale_category\": null\n            },\n            {\n                \"id\": 152,\n                \"number\": \"SO-0126\",\n                \"date\": \"2023-06-22\",\n                \"ref\": \"2023/CAFF/01\",\n                \"contact_id\": 1024,\n                \"contact_code\": \"C-0920\",\n                \"contact_name\": \"CAF Food Products Sdn. Bhd.\",\n                \"amount_total_cur\": 212697,\n                \"invoices\": [],\n                \"inv_amount_total_cur\": 0,\n                \"amount_unbill\": 212697,\n                \"amount_unbill_USD\": 48554.462804748044,\n                \"person_in_charge\": \"Alwin\",\n                \"person_in_charge_id\": 1,\n                \"sale_category\": null\n            },\n            {\n                \"id\": 150,\n                \"number\": \"SO-0124\",\n                \"date\": \"2023-06-17\",\n                \"ref\": \"2022/LVMSB/07\",\n                \"contact_id\": 913,\n                \"contact_code\": \"C-0813\",\n                \"contact_name\": \"Lifestyle Ventures Sdn Bhd\\t\",\n                \"amount_total_cur\": 260197,\n                \"invoices\": [\n                    {\n                        \"id\": 3430,\n                        \"number\": \"202307009\",\n                        \"date\": \"2023-07-04\",\n                        \"amount_total_cur\": 31800\n                    }\n                ],\n                \"inv_amount_total_cur\": 31800,\n                \"amount_unbill\": 228397,\n                \"amount_unbill_USD\": 52138.45818801411,\n                \"person_in_charge\": \"Alwin\",\n                \"person_in_charge_id\": 1,\n                \"sale_category\": null\n            },\n            {\n                \"id\": 151,\n                \"number\": \"SO-0125\",\n                \"date\": \"2023-06-01\",\n                \"ref\": \"2023/DIALOG/01\",\n                \"contact_id\": 997,\n                \"contact_code\": \"C-0895\",\n                \"contact_name\": \"Dialog Diyou PCR Sdn Bhd\",\n                \"amount_total_cur\": 64122.56,\n                \"invoices\": [\n                    {\n                        \"id\": 3431,\n                        \"number\": \"202306003\",\n                        \"date\": \"2023-06-06\",\n                        \"amount_total_cur\": 21898\n                    }\n                ],\n                \"inv_amount_total_cur\": 21898,\n                \"amount_unbill\": 42224.56,\n                \"amount_unbill_USD\": 9639.020898117284,\n                \"person_in_charge\": \"Alwin\",\n                \"person_in_charge_id\": 1,\n                \"sale_category\": null\n            },\n            {\n                \"id\": 149,\n                \"number\": \"SO-0123\",\n                \"date\": \"2023-05-25\",\n                \"ref\": \"2023/TROBOT/HORNB/02\",\n                \"contact_id\": 949,\n                \"contact_code\": \"C-0848\",\n                \"contact_name\": \"Techcapital Resources Sdn Bhd (679831-D)\",\n                \"amount_total_cur\": 100000,\n                \"invoices\": [\n                    {\n                        \"id\": 3415,\n                        \"number\": \"202305002\",\n                        \"date\": \"2023-05-25\",\n                        \"amount_total_cur\": 30000\n                    }\n                ],\n                \"inv_amount_total_cur\": 30000,\n                \"amount_unbill\": 70000,\n                \"amount_unbill_USD\": 15979.597250230905,\n                \"person_in_charge\": \"Alwin\",\n                \"person_in_charge_id\": 1,\n                \"sale_category\": null\n            },\n            {\n                \"id\": 148,\n                \"number\": \"SO-0122\",\n                \"date\": \"2023-05-22\",\n                \"ref\": \"2023/SANICH/01\",\n                \"contact_id\": 952,\n                \"contact_code\": \"C-0851\",\n                \"contact_name\": \"SaniChem Resources Sdn. Bhd.\",\n                \"amount_total_cur\": 356169,\n                \"invoices\": [\n                    {\n                        \"id\": 3411,\n                        \"number\": \"202305001\",\n                        \"date\": \"2023-05-22\",\n                        \"amount_total_cur\": 5300\n                    }\n                ],\n                \"inv_amount_total_cur\": 5300,\n                \"amount_unbill\": 350869,\n                \"amount_unbill_USD\": 80096.3615370181,\n                \"person_in_charge\": \"Alwin\",\n                \"person_in_charge_id\": 1,\n                \"sale_category\": null\n            },\n            {\n                \"id\": 146,\n                \"number\": \"SO-0121\",\n                \"date\": \"2023-04-04\",\n                \"ref\": \"2023/COSTA/03\",\n                \"contact_id\": 790,\n                \"contact_code\": \"C-0696\",\n                \"contact_name\": \"Gapurnapermai (Costa Coffe)\",\n                \"amount_total_cur\": 4028,\n                \"invoices\": [\n                    {\n                        \"id\": 3379,\n                        \"number\": \"202304011\",\n                        \"date\": \"2023-04-04\",\n                        \"amount_total_cur\": 4028\n                    }\n                ],\n                \"inv_amount_total_cur\": 4028,\n                \"amount_unbill\": 0,\n                \"amount_unbill_USD\": 0,\n                \"person_in_charge\": \"Khalida\",\n                \"person_in_charge_id\": 54,\n                \"sale_category\": null\n            },\n            {\n                \"id\": 145,\n                \"number\": \"SO-0120\",\n                \"date\": \"2023-04-04\",\n                \"ref\": \"2023/SWESB/01\",\n                \"contact_id\": 666,\n                \"contact_code\": \"C-0576\",\n                \"contact_name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\",\n                \"amount_total_cur\": 185.5,\n                \"invoices\": [\n                    {\n                        \"id\": 3378,\n                        \"number\": \"202304010\",\n                        \"date\": \"2023-04-04\",\n                        \"amount_total_cur\": 185.5\n                    }\n                ],\n                \"inv_amount_total_cur\": 185.5,\n                \"amount_unbill\": 0,\n                \"amount_unbill_USD\": 0,\n                \"person_in_charge\": \"Khalida\",\n                \"person_in_charge_id\": 54,\n                \"sale_category\": null\n            },\n            {\n                \"id\": 143,\n                \"number\": \"SO-0119\",\n                \"date\": \"2023-03-20\",\n                \"ref\": \"2023/SANKO/04\",\n                \"contact_id\": 832,\n                \"contact_code\": \"C-0736\",\n                \"contact_name\": \"Sanko Plastic (Malaysia) Sdn Bhd\",\n                \"amount_total_cur\": 3900,\n                \"invoices\": [\n                    {\n                        \"id\": 3363,\n                        \"number\": \"202303007\",\n                        \"date\": \"2023-03-20\",\n                        \"amount_total_cur\": 3900\n                    }\n                ],\n                \"inv_amount_total_cur\": 3900,\n                \"amount_unbill\": 0,\n                \"amount_unbill_USD\": 0,\n                \"person_in_charge\": \"Khalida\",\n                \"person_in_charge_id\": 54,\n                \"sale_category\": null\n            },\n            {\n                \"id\": 142,\n                \"number\": \"SO-0118\",\n                \"date\": \"2023-03-16\",\n                \"ref\": \"2023/SKLIEW/02\",\n                \"contact_id\": 927,\n                \"contact_code\": \"C-0827\",\n                \"contact_name\": \"Sklew Biotech\",\n                \"amount_total_cur\": 15369.58,\n                \"invoices\": [\n                    {\n                        \"id\": 3362,\n                        \"number\": \"202303006\",\n                        \"date\": \"2023-03-16\",\n                        \"amount_total_cur\": 3842.39\n                    }\n                ],\n                \"inv_amount_total_cur\": 3842.39,\n                \"amount_unbill\": 11527.19,\n                \"amount_unbill_USD\": 2631.426480384131,\n                \"person_in_charge\": \"Saqib\",\n                \"person_in_charge_id\": 93,\n                \"sale_category\": null\n            },\n            {\n                \"id\": 141,\n                \"number\": \"SO-0117\",\n                \"date\": \"2023-03-15\",\n                \"ref\": \"2023/TROBOT/03\",\n                \"contact_id\": 949,\n                \"contact_code\": \"C-0848\",\n                \"contact_name\": \"Techcapital Resources Sdn Bhd (679831-D)\",\n                \"amount_total_cur\": 74076.28,\n                \"invoices\": [\n                    {\n                        \"id\": 3464,\n                        \"number\": \"202307012\",\n                        \"date\": \"2023-07-10\",\n                        \"amount_total_cur\": 42142.2\n                    },\n                    {\n                        \"id\": 3361,\n                        \"number\": \"202303005\",\n                        \"date\": \"2023-03-15\",\n                        \"amount_total_cur\": 22222.88\n                    },\n                    {\n                        \"id\": 3511,\n                        \"number\": \"202308008\",\n                        \"date\": \"2023-08-23\",\n                        \"amount_total_cur\": 7023.7\n                    }\n                ],\n                \"inv_amount_total_cur\": 71388.78,\n                \"amount_unbill\": 2687.5,\n                \"amount_unbill_USD\": 613.502394428508,\n                \"person_in_charge\": \"Alwin\",\n                \"person_in_charge_id\": 1,\n                \"sale_category\": null\n            },\n            {\n                \"id\": 140,\n                \"number\": \"SO-0116\",\n                \"date\": \"2023-01-31\",\n                \"ref\": \"2022/LTIR/03\",\n                \"contact_id\": 465,\n                \"contact_code\": \"C-0383\",\n                \"contact_name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\",\n                \"amount_total_cur\": 41340,\n                \"invoices\": [\n                    {\n                        \"id\": 3316,\n                        \"number\": \"202301015\",\n                        \"date\": \"2023-02-01\",\n                        \"amount_total_cur\": 41340\n                    }\n                ],\n                \"inv_amount_total_cur\": 41340,\n                \"amount_unbill\": 0,\n                \"amount_unbill_USD\": 0,\n                \"person_in_charge\": \"Khalida\",\n                \"person_in_charge_id\": 54,\n                \"sale_category\": null\n            }\n        ],\n        \"sale_amount_total\": 2277486.89,\n        \"inv_amount_total\": 338125.26,\n        \"unbill_amount_total\": 1939361.63\n    },\n    \"error\": null,\n    \"id\": 1695616332551,\n    \"dt\": 157\n}"}],"_postman_id":"4285cb26-6b99-4061-85be-5ba4b8ff5267"}],"id":"9f174e07-fbc6-4ed4-a4f6-d8507d5bf956","_postman_id":"9f174e07-fbc6-4ed4-a4f6-d8507d5bf956","description":""}],"id":"d3210060-3977-47d8-b8bd-aa33675a3cfe","_postman_id":"d3210060-3977-47d8-b8bd-aa33675a3cfe","description":""},{"name":"Settings","item":[{"name":"Sales Settings","item":[{"name":"params/setting/read","id":"d9ecd516-90d8-43e3-a4bd-edc53c243cdf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695704473729,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"settings\",\r\n        \"read\",\r\n        [\r\n            [\r\n                \"1\"\r\n            ],\r\n            [\r\n                \"sale_copy_picking\",\r\n                \"sale_copy_reserve_picking\",\r\n                \"sale_copy_invoice\",\r\n                \"sale_copy_production\",\r\n                \"sale_split_service\",\r\n                \"sale_activity_email_template_id\",\r\n                \"commission_parent\",\r\n                \"commission_grand_parent\",\r\n                \"commission_remain\",\r\n                \"sale_check_delivered_qty\",\r\n                \"approve_quot\",\r\n                \"approve_sale\",\r\n                \"approve_sale_reserve\",\r\n                \"create_uid\",\r\n                \"create_time\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {},\r\n            \"load_all_trans\": true\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-26 10:00:21\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"settings\",<strong>**\"read\",<strong><strong>[</strong></strong>[**</strong>\"1\"<strong><strong>],<strong><strong>[</strong></strong>\"sale_copy_picking\",</strong></strong>\"sale_copy_reserve_picking\",<strong><strong>\"sale_copy_invoice\",</strong></strong>\"sale_copy_production\",<strong><strong>\"sale_split_service\",</strong></strong>\"sale_activity_email_template_id\",<strong><strong>\"commission_parent\",</strong></strong>\"commission_grand_parent\",<strong><strong>\"commission_remain\",</strong></strong>\"sale_check_delivered_qty\",<strong><strong>\"approve_quot\",</strong></strong>\"approve_sale\",<strong><strong>\"approve_sale_reserve\",</strong></strong>\"create_uid\",<strong>**\"create_time\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"context\": {},</strong></strong>\"load_all_trans\": true****},**</p>\n<ol>\n<li><strong>\"settings\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies that the operation is related to system settings or configuration.</li>\n<li><strong>\"read\":</strong> The second parameter specifies the action to be performed on the entity. \"read\" is a common action used to retrieve data or information from an entity. In this case, it's used to read or retrieve settings and configuration data.</li>\n<li><strong>[[\"1\"]]:</strong> This is the third parameter and consists of a list containing another list. The inner list, [\"1\"], likely represents an identifier or key for retrieving specific settings. This may be used to fetch settings associated with a specific configuration profile or category.</li>\n<li><strong>[</strong>**\"sale_copy_picking\",<strong><strong>\"sale_copy_reserve_picking\",</strong></strong>\"sale_copy_invoice\",<strong><strong>\"sale_copy_production\",</strong></strong>\"sale_split_service\",<strong><strong>\"sale_activity_email_template_id\",</strong></strong>\"commission_parent\",<strong><strong>\"commission_grand_parent\",</strong></strong>\"commission_remain\",<strong><strong>\"sale_check_delivered_qty\",</strong></strong>\"approve_quot\",<strong><strong>\"approve_sale\",</strong></strong>\"approve_sale_reserve\",<strong><strong>\"create_uid\",</strong></strong>\"create_time\"**<strong>]:</strong> This is the fourth parameter and represents a list of specific settings or configuration attributes that are being retrieved. Each item in this list corresponds to a specific setting or configuration property, and the request is asking for their values:<ol>\n<li><strong>\"sale_copy_picking\":</strong> This setting may determine whether information related to order picking is copied or linked in the sales order. It could affect how picking and shipping processes are managed.</li>\n<li><strong>\"sale_copy_reserve_picking\":</strong> This setting might control the behavior of copying or linking reserved stock information in sales orders. It could impact how the availability and allocation of stock are managed in sales.</li>\n<li><strong>\"sale_copy_invoice\":</strong> This setting could govern whether invoice details are copied or associated with sales orders. It might affect the generation and management of invoices for sales transactions.</li>\n<li><strong>\"sale_copy_production\":</strong> This setting may determine how production-related data is copied or related to sales orders. It could influence the integration of production processes with sales.</li>\n<li><strong>\"sale_split_service\":</strong> This setting might be related to the splitting of services within sales orders. It could impact how services are managed and allocated in sales transactions.</li>\n<li><strong>\"sale_activity_email_template_id\":</strong> This attribute could be associated with an email template used for sales activities or communication. It might specify the email template used for sending notifications or updates related to sales activities.</li>\n<li><strong>\"commission_parent\":</strong> This setting may be related to commission calculations and could specify the commission percentage for parent-level sales or transactions.</li>\n<li><strong>\"commission_grand_parent\":</strong> Similar to \"commission_parent,\" this setting might specify commission percentages, but for grandparent-level sales or transactions.</li>\n<li><strong>\"commission_remain\":</strong> This setting could pertain to commission calculations and may specify how remaining or residual commissions are handled in sales transactions.</li>\n<li><strong>\"sale_check_delivered_qty\":</strong> This setting might be related to checking and verifying delivered quantities in sales orders. It could impact how order fulfillment and delivery processes are managed.</li>\n<li><strong>\"approve_quot\":</strong> This setting may govern the approval process for sales quotations. It could determine whether quotations require approval before they can be converted into sales orders.</li>\n<li><strong>\"approve_sale\":</strong> Similar to \"approve_quot,\" this setting could control the approval process but for sales orders themselves. It might specify whether sales orders need approval before they can be processed.</li>\n<li><strong>\"approve_sale_reserve\":</strong> This setting might be specific to the approval process for reserved sales orders. It could dictate whether reserved sales orders require approval.</li>\n<li><strong>\"create_uid\":</strong> This attribute could represent the user or entity that created a specific configuration or setting. It provides information about the creator of these settings.</li>\n<li><strong>\"create_time\":</strong> This attribute may represent the timestamp or date and time when a particular configuration or setting was created. It provides information about when these settings were established.</li>\n</ol>\n</li>\n<li><strong>{\"context\": {}, \"load_all_trans\": true}:</strong> This is the fifth parameter and represents a dictionary with additional options:<ol>\n<li><strong>\"context\": {}:</strong> This part of the dictionary typically conveys additional options or context information for the operation. In this request, an empty context dictionary is provided, indicating that no specific additional context information is provided for the operation.</li>\n<li><strong>\"load_all_trans\": true:</strong> This option indicates that the request should load all translations or language versions for the retrieved settings or configuration data. It ensures that language-specific translations, if available, are included in the response.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is using the \"read\" action within the \"settings\" entity to retrieve specific configuration settings and attributes. It specifies the settings to be fetched and indicates that all translations should be loaded for the retrieved data. No additional context information is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"e9fb6229-022a-4718-92a2-b8e30f01224a","name":"params/setting/read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695704473729,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"settings\",\r\n        \"read\",\r\n        [\r\n            [\r\n                \"1\"\r\n            ],\r\n            [\r\n                \"sale_copy_picking\",\r\n                \"sale_copy_reserve_picking\",\r\n                \"sale_copy_invoice\",\r\n                \"sale_copy_production\",\r\n                \"sale_split_service\",\r\n                \"sale_activity_email_template_id\",\r\n                \"commission_parent\",\r\n                \"commission_grand_parent\",\r\n                \"commission_remain\",\r\n                \"sale_check_delivered_qty\",\r\n                \"approve_quot\",\r\n                \"approve_sale\",\r\n                \"approve_sale_reserve\",\r\n                \"create_uid\",\r\n                \"create_time\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {},\r\n            \"load_all_trans\": true\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-26 10:00:21\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 26 Sep 2023 05:04:09 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=wJmz8yefVBWZipn7krtb%2BdEg9FjXvyocUdD1uVX2tYHSpLENp5Q64AU4IjH5eqoVHvpQNcMj1czPa028ArMTbSiTuV4XZcg5JEI71uOgJt8TPAQPfwy%2FnMLn8F%2FO7TOpYodRg%2FhOb9kbrt5%2FFw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80c8f6ea39b244a3-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"id\": 1,\n            \"sale_split_service\": null,\n            \"sale_copy_production\": null,\n            \"sale_activity_email_template_id\": [\n                11,\n                \"Sale Lead Notification\",\n                null\n            ],\n            \"commission_parent\": null,\n            \"sale_copy_invoice\": false,\n            \"create_time\": null,\n            \"approve_sale_reserve\": null,\n            \"sale_check_delivered_qty\": null,\n            \"approve_sale\": null,\n            \"approve_quot\": null,\n            \"sale_copy_picking\": null,\n            \"create_uid\": null,\n            \"sale_copy_reserve_picking\": null,\n            \"commission_grand_parent\": null,\n            \"commission_remain\": 100\n        }\n    ],\n    \"error\": null,\n    \"id\": 1695704473729,\n    \"dt\": 63\n}"}],"_postman_id":"d9ecd516-90d8-43e3-a4bd-edc53c243cdf"},{"name":"params/inline.help/search_read","id":"135bf576-16f8-4e57-9f7d-6e71d9a3b992","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695704473718,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_settings\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-26 10:00:21\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"sale_settings\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies that the operation is related to inline help or assistance within the system.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used to retrieve data or information based on defined criteria. In this case, it's used to search for and read information related to inline help.</li>\n<li><strong>[<strong><strong>[</strong></strong>[**</strong>\"action\",<strong><strong>\"=\",</strong></strong>\"sale_settings\"<strong><strong>]</strong></strong>]**<strong>]:</strong> This is the third parameter and consists of a list containing another list. The inner list, <code>[[\"action\", \"=\", \"sale_settings\"]]</code>, is a search domain. It defines specific criteria for searching for inline help content. In this case, it's searching for inline help content related to \"sale_settings.\"<ol>\n<li><strong>\"action\":</strong> This is a field or attribute within the inline help entity. It's used to filter help content based on the type of action or topic.</li>\n<li><strong>\"=\":</strong> This is an operator used in the condition and signifies equality. It's used to compare the field \"action\" with the value \"sale_settings\" to check if they are equal.</li>\n<li><strong>\"sale_settings\":</strong> This is the value against which the \"action\" field is being compared. In this condition, it's checking if the \"action\" field equals \"sale_settings,\" indicating that the search is focused on help content related to sales settings.</li>\n</ol>\n</li>\n<li><strong>{} (Empty Dictionary):</strong> This is the fourth parameter and represents a dictionary. Typically, this part of the dictionary is used to convey additional options or context information for the operation. In this request, an empty dictionary is provided, indicating that no specific additional context information is provided for the operation.</li>\n</ol>\n<p>In summary, this request uses the \"search_read\" action within the \"inline.help\" entity to retrieve inline help content related to \"sale_settings.\" It specifies a search criterion to narrow down the search to this specific topic. No additional context information is provided in this request, as indicated by the empty dictionary.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"7984b227-c36f-4808-9fc3-e66f3dd4299b","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695704473718,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_settings\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-26 10:00:21\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 26 Sep 2023 05:17:42 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=r2sw%2FH4aM6XeIaiyvRfOiX4y2HXw6nXy%2FFemq1C2yrAsnKZZSsJz9w5ctN7icdbnDxE8oov2pB2oUL4aIL5bLlNtxK71OxJQ8w9vgL1S1hIWaCh3UXMi0XkOdzrpkgP5WU%2FzKpS9W6er5mxTMA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80c90abf2af5de4f-MCT"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1695704473718,\n    \"dt\": 10\n}"}],"_postman_id":"135bf576-16f8-4e57-9f7d-6e71d9a3b992"},{"name":"params/settings/search","id":"d3b12709-5ad8-44d0-9bae-bca3c1c82f1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695704480975,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"settings\",\r\n        \"search\",\r\n        [\r\n            []\r\n        ],\r\n        {\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-26 10:01:14\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"settings\",<strong>**\"search\",<strong><strong>[</strong></strong>[]**</strong>],<strong><strong>{</strong></strong>\"limit\": 1000,<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"settings\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies that the operation is related to system settings.</li>\n<li><strong>\"search\":</strong> The second parameter specifies the action to be performed on the entity. \"search\" is an action used to search for records within the specified entity. In this case, it's used to search for system settings.</li>\n<li><strong>[[]]:</strong> This is the third parameter and consists of a list with an empty inner list. The inner list represents the search domain, which is empty in this case. An empty search domain means that there are no specific conditions or filters applied to the records being searched for. This implies that the request aims to retrieve all system settings without any specific filtering criteria.</li>\n<li><strong>{<strong><strong>\"limit\": 1000,</strong></strong>\"context\": {}****}:</strong> This is the fourth parameter and represents a dictionary with various options:<ol>\n<li><strong>\"limit\": 1000:</strong> This option specifies a limit on the number of records to retrieve. In this case, it's set to 1000, indicating that the request aims to retrieve up to 1000 system settings records at once. If there are more settings, additional requests may be needed.</li>\n<li><strong>\"context\": {} (Empty Dictionary):</strong> This section of the dictionary is typically employed to convey additional options or context information to the operation. However, in this request, an empty dictionary is provided, indicating that no specific additional context is provided for the search operation.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request uses the \"search\" action within the \"settings\" entity to retrieve system settings records. It doesn't apply any specific conditions or filters to the search and aims to retrieve up to 1000 system settings records in a single request. No additional context information is provided in this request, as indicated by the empty dictionary.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"e22976cf-1c16-4b04-8496-e5865aebefcc","name":"params/settings/search","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695704480975,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"settings\",\r\n        \"search\",\r\n        [\r\n            []\r\n        ],\r\n        {\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-26 10:01:14\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 26 Sep 2023 09:05:19 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=BFoPMilLNG4mUmUWeRvoJbeUg3JC7P5O5xsa8ykr1ChpMvjcJ73OOFAWIhfeOjOkCBQqsSXccRS4XSa59O%2FpflWR1O2Y6CLQNVWRqr%2FWXjdPpI4s4oL%2FxinYvsZrAmQEsvyV7%2F68ISltHK7Eew%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80ca582e4f080bcd-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        1\n    ],\n    \"error\": null,\n    \"id\": 1695704480975,\n    \"dt\": 105\n}"}],"_postman_id":"d3b12709-5ad8-44d0-9bae-bca3c1c82f1b"}],"id":"2c566646-c6de-4b6c-874e-e136f60af9d3","_postman_id":"2c566646-c6de-4b6c-874e-e136f60af9d3","description":""},{"name":"Lead Sources","item":[{"name":"params/inline.help/search_read","id":"3c53016d-2f8d-41a6-8764-cc792ebacaa6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695795033912,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"lead_source\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-27 11:09:51\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"lead_source\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies that the operation is related to inline help or assistance within the system.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used to retrieve data or information based on defined criteria. In this case, it's used to search for and read information related to inline help.</li>\n<li><strong>[ [ [ \"action\", \"=\", \"lead_source\" ] ] ]:</strong> This is the third parameter and consists of a list containing another list. The inner list, <code>[[\"action\", \"=\", \"lead_source\"]]</code>, is a search domain. It defines specific criteria for searching for inline help content. In this case, it's searching for inline help content related to the \"lead_source\" topic.<ol>\n<li><strong>\"action\":</strong> This is a field or attribute within the inline help entity. It's used to filter help content based on the type of action or topic.</li>\n<li><strong>\"=\":</strong> This is an operator used in the condition and signifies equality. It's used to compare the field \"action\" with the value \"lead_source\" to check if they are equal.</li>\n<li><strong>\"lead_source\":</strong> This is the value against which the \"action\" field is being compared. In this condition, it's checking if the \"action\" field equals \"lead_source,\" indicating that the search is focused on help content related to lead sources.</li>\n</ol>\n</li>\n<li><strong>{} (Empty Dictionary):</strong> This is the fourth parameter and represents a dictionary. Typically, this part of the dictionary is used to convey additional options or context information for the operation. In this request, an empty dictionary is provided, indicating that no specific additional context information is provided for the operation.</li>\n</ol>\n<p>In summary, this request uses the \"search_read\" action within the \"inline.help\" entity to retrieve inline help content related to the \"lead_source\" topic. It specifies a search criterion to narrow down the search to this specific topic. No additional context information is provided in this request, as indicated by the empty dictionary.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"f9bfab87-cbf6-4bdb-8c0a-42403fd4e317","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695795033912,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"lead_source\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-27 11:09:51\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 27 Sep 2023 06:16:49 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=UNv76mrDsduMtgCuGhj9WHluEzs82nnvP7Xeo%2FHrRpWBVA%2B1GyW6xwuRymIMy610i1gHI930Pfsm39yQzvqdWFyKv5%2FaHvWU62LF1Du9gL1zlRtEb2F8by89lpKoaJx7EthEUjc9GduZqmih%2FQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80d19ebba9b44103-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1695795033912,\n    \"dt\": 10\n}"}],"_postman_id":"3c53016d-2f8d-41a6-8764-cc792ebacaa6"},{"name":"params/lead.sporce/search_read","id":"6bf2b7b9-8841-44ff-87a6-f17382bbd64c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695795033936,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"lead.source\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"description\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-27 11:09:51\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"lead.source\",</strong>\"search_read\",<strong>[</strong>[],<strong>[</strong>\"name\",<strong>\"description\"<strong>]</strong>],</strong>{<strong>\"count\": true,</strong>\"order\": null,<strong>\"offset\": 0,</strong>\"limit\": 100,<strong>\"context\": {}****},</strong></p>\n<ol>\n<li><strong>\"lead.source\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"lead.source\" entity, indicating that the operation will be performed within this entity, likely related to managing lead sources.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[], [\"name\", \"description\"]]:</strong> This is the third parameter and consists of two lists:<ol>\n<li>The first list, [], represents the search domain, which is empty in this case. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved. It indicates that the request aims to retrieve all records from the \"lead.source\" entity without any specific filtering criteria.</li>\n<li>The second list, [\"name\", \"description\"], specifies the fields or attributes that you want to retrieve for each record. In this request, you are retrieving records with the following fields:<ol>\n<li>The second list, [\"name\", \"description\"], specifies the fields or attributes that you want to retrieve for each record.</li>\n<li>In this request, you are retrieving records with the following fields:<ol>\n<li><strong>\"name\":</strong> Represents the name or title of the records.</li>\n<li><strong>\"description\"</strong>: Represents a description or additional information about the records.</li>\n</ol>\n</li>\n<li>These field names indicate which attributes of the records you want to include in the response.</li>\n<li>The request will return values for the \"name\" and \"description\" fields for each matching record.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>{ \"count\": true, \"order\": null, \"offset\": 0, \"limit\": 100, \"context\": {} }:</strong> This is the fourth parameter and represents a dictionary with various options:<ol>\n<li><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. This allows you to determine how many lead source records exist in the system.</li>\n<li><strong>\"order\": null:</strong> Indicates that no specific sorting order is applied to the retrieved records. The records will be returned without any particular order.</li>\n<li><strong>\"offset\": 0:</strong> Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (0), meaning that the request will retrieve records starting from the first record.</li>\n<li><strong>\"limit\": 100:</strong> Specifies the maximum number of records to retrieve, which is set to 100 in this request. It means that the request will fetch up to 100 lead source records in a single query. If there are more records, additional requests may be needed.</li>\n<li>**\"context\": {}: Represents an empty context, which can be used to pass additional options or context information to the search_read operation. In this request, no additional context is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"lead.source\" entity. It retrieves all lead source records without any specific filtering conditions and retrieves the \"name\" and \"description\" fields for each record. Additionally, it counts the total number of matching records, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 records. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"b33192be-b87e-4e88-bb50-9fcf0ed6a419","name":"params/lead.sporce/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695795033936,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"lead.source\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"description\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-27 11:09:51\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 27 Sep 2023 06:29:54 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=GXnsc9wOp88D%2BDlNXiFotQnZNm4h6UA9rX%2F%2Blwf2Vt4KwAImSBhSTLfzbrjvZTNY0nOgX9IFIKaNPN10ENNhXbeyo4Ti67yY74AI4B8Oi3Hx9Ckl3FZQ0j9vL%2Bscz%2FOiM1bXKGQRyPReQjgiVA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80d1b1e659e04dab-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 14,\n                \"name\": \"Business Matchng week - SME Corp\",\n                \"description\": null\n            },\n            {\n                \"id\": 2,\n                \"name\": \"Cold Calling\",\n                \"description\": null\n            },\n            {\n                \"id\": 11,\n                \"name\": \"FB Ads - Zeek\",\n                \"description\": \"Zeek FB Ads\"\n            },\n            {\n                \"id\": 6,\n                \"name\": \"Google Ads - Digital Marketing\",\n                \"description\": null\n            },\n            {\n                \"id\": 5,\n                \"name\": \"Google Ads - ERP (Inventory)\",\n                \"description\": null\n            },\n            {\n                \"id\": 1,\n                \"name\": \"Google Ads - ERP (Mfg)\",\n                \"description\": null\n            },\n            {\n                \"id\": 4,\n                \"name\": \"Google Ads - Excel\",\n                \"description\": null\n            },\n            {\n                \"id\": 8,\n                \"name\": \"Google Search (Non-Ads)\",\n                \"description\": null\n            },\n            {\n                \"id\": 20,\n                \"name\": \"Metal Tech Expo - June 2023\",\n                \"description\": null\n            },\n            {\n                \"id\": 16,\n                \"name\": \"MIDF Expo\",\n                \"description\": null\n            },\n            {\n                \"id\": 21,\n                \"name\": \"MIDF - Johor Baru\",\n                \"description\": null\n            },\n            {\n                \"id\": 15,\n                \"name\": \"MIMF Expo 2022 - 12\",\n                \"description\": null\n            },\n            {\n                \"id\": 19,\n                \"name\": \"MTE Expo  2023\",\n                \"description\": null\n            },\n            {\n                \"id\": 7,\n                \"name\": \"Referral\",\n                \"description\": null\n            },\n            {\n                \"id\": 17,\n                \"name\": \"Road Ahead With Industry 4wrd\",\n                \"description\": null\n            },\n            {\n                \"id\": 12,\n                \"name\": \"Sdec Expo 2022 10\",\n                \"description\": \"https://www.sidec.com.my/sdec2022/\"\n            },\n            {\n                \"id\": 13,\n                \"name\": \"Smart Nation 2022 09\",\n                \"description\": \"Invitation by Mida\\nhttps://www.smartnationexpo.org/\"\n            },\n            {\n                \"id\": 3,\n                \"name\": \"Snail Mail\",\n                \"description\": null\n            },\n            {\n                \"id\": 10,\n                \"name\": \"Vistage\",\n                \"description\": null\n            },\n            {\n                \"id\": 18,\n                \"name\": \"Vistage CEO Summit\",\n                \"description\": null\n            }\n        ],\n        20\n    ],\n    \"error\": null,\n    \"id\": 1695795033936,\n    \"dt\": 22\n}"}],"_postman_id":"6bf2b7b9-8841-44ff-87a6-f17382bbd64c"}],"id":"c2d94b70-c92d-478c-813f-67ac61b82c80","_postman_id":"c2d94b70-c92d-478c-813f-67ac61b82c80","description":""},{"name":"Sales Channels","item":[{"name":"params/inline.help/search_read","id":"21dc573d-0668-40b3-bd55-79e65d266856","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695798914635,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_channel\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-27 12:14:58\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"sale_channel\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"inline.help\" entity or module, indicating that the operation will be executed within this entity.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[[\"action\", \"=\", \"sale_channel\"]]]:</strong><ol>\n<li>This is the third parameter and consists of a nested list structure.</li>\n<li>The innermost list, [\"action\", \"=\", \"sale_channel\"], represents the search domain. It contains a single condition:<ol>\n<li><strong>\"action\":</strong> This is likely an attribute or field within the \"inline.help\" entity, and the condition specifies that you want to filter records where the \"action\" attribute equals \"sale_channel.\"</li>\n<li><strong>\"=\":</strong> This is the operator used in the condition and signifies equality. It's used to compare the field on the left (in this case, \"action\") with the value on the right (\"sale_channel\") to check if they are equal.</li>\n<li><strong>\"sale_channel\":</strong> This is the value against which the \"action\" field is being compared. The request is filtering records to find those where the \"action\" attribute is equal to \"sale_channel.\"</li>\n</ol>\n</li>\n<li>In summary, this condition filters records within the \"inline.help\" entity, specifically looking for records related to \"sale_channel.\"</li>\n</ol>\n</li>\n<li><strong>{}:</strong><ol>\n<li>This is the fourth parameter and represents a dictionary with various options.</li>\n<li>In this case, the dictionary is empty, indicating that no additional options or context information are provided in this request. The request is executed with the default context.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity. It filters records based on the condition that the \"action\" attribute must be equal to \"sale_channel.\" The request doesn't provide any additional context information or options, and it will retrieve records that match the specified condition.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"bcda988d-d289-4d8f-82af-2129aa76996d","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695798914635,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_channel\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-27 12:14:58\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 27 Sep 2023 07:16:20 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=5kR3xFhceMJwC1MMXqZpLi2j2v9feudIdIwSXolJ31uAOWEI8%2FXjbxYd7dVI2AxwfKRXQFj67LhY0wYdZoAmc7NlifcZlBHuJ25%2BDWPdzDfSgXpIxTf3FZqwldFkyM9c3auh2IqK1OK10tJQ8g%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80d1f5ecc9cfb8a9-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1695798914635,\n    \"dt\": 5\n}"}],"_postman_id":"21dc573d-0668-40b3-bd55-79e65d266856"},{"name":"params/sale.channel/search_read","id":"02a8ccce-9a13-4ead-964b-e8fd14fffaa2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695798914643,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.channel\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"pricelist_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-27 12:14:58\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"sale.channel\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"name\",**</strong>\"code\",<strong>**\"pricelist_id\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"count\": true,</strong></strong>\"order\": null,<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"sale.channel\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"sale.channel\" entity or module, indicating that the operation will be executed within this entity.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[], [\"name\", \"code\", \"pricelist_id\"]]:</strong><ol>\n<li>This is the third parameter and consists of two lists.</li>\n<li>The first inner list, [], represents the search domain. In this case, it is empty, indicating that there are no specific conditions or filters applied to the records being retrieved. This means that the request aims to retrieve all records from the \"sale.channel\" entity without any specific filtering criteria.</li>\n<li>The second inner list, [\"name\", \"code\", \"pricelist_id\"], specifies the fields or attributes that you want to retrieve for each record.<ol>\n<li><strong>\"name\":</strong> Represents the name or title of the sale channel.</li>\n<li><strong>\"code\":</strong> Represents a code or identifier for the sale channel.</li>\n<li><strong>\"pricelist_id\":</strong> Likely represents the price list associated with the sale channel.</li>\n</ol>\n</li>\n<li>These field names indicate which attributes of the records you want to include in the response. The request will return values for the \"name,\" \"code,\" and \"pricelist_id\" fields for each matching record.</li>\n</ol>\n</li>\n<li><strong>{\"count\": true, \"order\": null, \"offset\": 0, \"limit\": 100, \"context\": {}}:</strong><ol>\n<li>This is the fourth parameter and represents a dictionary with various options:<ol>\n<li><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. This option enables the system to provide the count of sale channel records that meet the specified conditions.</li>\n<li><strong>\"order\": null:</strong> Indicates that no specific sorting order is applied to the retrieved records. The records will be returned without any specific order.</li>\n<li><strong>\"offset\": 0:</strong> Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (0), meaning that the request will retrieve records from the start of the result set.</li>\n<li><strong>\"limit\": 100:</strong> Specifies the maximum number of records to retrieve in a single request. It is set to 100 in this request, meaning that the request will attempt to retrieve up to 100 sale channel records in one go.</li>\n<li><strong>\"context\": {}:</strong> Represents an empty context, which can be used to pass additional options or context information to the search_read operation. In this request, no additional context information is provided.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"sale.channel\" entity. It aims to retrieve all records from the entity without any specific conditions in the search domain. It specifies the fields \"name,\" \"code,\" and \"pricelist_id\" to be included in the response for each record. Additionally, it requests the total count of matching records, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 records. No additional context information is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"9a510c0a-268e-42a1-a6a6-dd4dd29115fe","name":"params/sale.channel/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"116\", \"Not)A;Brand\";v=\"24\", \"Google Chrome\";v=\"116\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695798914643,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.channel\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"pricelist_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-27 12:14:58\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 27 Sep 2023 07:20:43 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=r2Ov2ACKbSRJqdvB6PMsgbNyfW9%2FDeN%2FapLBMv1naOpaYa2qMHUkb24QGifxUrFiO9C%2FbdUIhhuI%2B1yq%2F16RxXRMxwgah4OiK0rjk4og%2F3T4TQ4q2LN3EEb7KLPVhR6tBOqNlRt7%2B9oXWdibEA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80d1fc563877b8a9-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1695798914643,\n    \"dt\": 7\n}"}],"_postman_id":"02a8ccce-9a13-4ead-964b-e8fd14fffaa2"}],"id":"368ded4c-13b2-4c13-bffa-108fcb01ba27","_postman_id":"368ded4c-13b2-4c13-bffa-108fcb01ba27","description":""},{"name":"Sales Stages","item":[{"name":"params/inline.help/search_read","id":"d7c9f201-6d78-4bd8-8978-7032af1d4d6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695881432734,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_stage\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-28 11:10:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"inline.help\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"action\",<strong>\"=\",</strong>\"sale_stage\"<strong>]</strong>]<strong>],****{},</strong></p>\n<ol>\n<li><code>\"inline.help\"</code>: This represents the specific entity or module within the system where the operation will be performed. In this context, it refers to \"inline.help,\" indicating that the operation pertains to this entity.</li>\n<li><code>\"search_read\"</code>: The second parameter specifies the action to be executed on the entity. \"search_read\" is a standard action used in systems like Odoo for retrieving records based on defined criteria. It enables the search for records and reading their data.</li>\n<li><code>[[\"action\", \"=\", \"sale_stage\"]]</code>: This is the third parameter and forms the search domain, which is used to filter and narrow down the records that will be retrieved. The inner list <code>[[\"action\", \"=\", \"sale_stage\"]]</code> contains a single condition:<ol>\n<li><code>\"action\"</code>: This represents an attribute or field within the entity being searched. In the context of the condition, it signifies that you are looking for records where the \"action\" attribute matches a specific value.</li>\n<li><code>\"=\"</code>: This is an operator used in the condition and signifies equality. It's used to compare the field on the left with the value on the right to check if they are equal.</li>\n<li><code>\"sale_stage\"</code>: This is the value against which the \"action\" field is being compared. In this condition, it's checking if the \"action\" field is equal to the value \"sale_stage.\" This condition filters records where the \"action\" attribute matches \"sale_stage.\"</li>\n</ol>\n</li>\n<li><code>{}</code>: This is the fourth parameter and represents a dictionary containing additional options for the \"search_read\" operation. In this case, the dictionary is empty, indicating that no specific options or context information are provided.</li>\n</ol>\n<p>In summary, this parameter is used to perform a search and read operation within the \"inline.help\" entity. It retrieves records based on a specific condition in the search domain, which filters records where the \"action\" attribute matches \"sale_stage.\" The response will include records that meet this condition, and no additional context is provided for the operation.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"df7a07ae-e93f-48f6-826a-36613d732a37","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695881432734,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_stage\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-28 11:10:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 28 Sep 2023 06:11:36 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=r9dInps7ILb7awkAbl4tiXZVVte4nN4qfL11DDimN54DijpmrJ%2FO61Qg0qgNDiQk9fwugWlAfBScfhkEMn7r%2FFnKrYYAQc6jWWC3m9%2FRJiVtjKVZ9BWTwsaq3H4F3817gX%2FJhQM87%2FlQngSBXw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80d9d47749d040bf-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1695881432734,\n    \"dt\": 7\n}"}],"_postman_id":"d7c9f201-6d78-4bd8-8978-7032af1d4d6d"},{"name":"params/sale.stage/search_read","id":"76061d79-2277-4d69-a7dc-ddf44e9a5e5b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695881432741,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.stage\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"sequence\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-28 11:10:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"sale.stage\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"name\",**</strong>\"code\",<strong>**\"sequence\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"count\": true,</strong></strong>\"order\": null,<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"sale.stage\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"sale.stage\" entity, indicating that the operation will be performed within this entity, likely related to managing sales stages.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[], [\"name\", \"code\", \"sequence\"]]</strong>: This is the third parameter and consists of two lists:<ol>\n<li>The first list, [], represents the search domain, which is empty in this case. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved. It indicates that the request aims to retrieve all records from the \"sale.stage\" entity without any specific filtering criteria.</li>\n<li>The second list, [\"name\", \"code\", \"sequence\"], specifies the fields or attributes that you want to retrieve for each record. In this request, you are retrieving records with the following fields:<ol>\n<li><strong>\"name\":</strong> Represents the name or title of the sales stages.</li>\n<li><strong>\"code\":</strong> Represents a code or identifier associated with the sales stages.</li>\n<li><strong>\"sequence\":</strong> Represents the sequence or order of the sales stages.</li>\n</ol>\n</li>\n<li>These field names indicate which attributes of the records you want to include in the response. The request will return values for the \"name,\" \"code,\" and \"sequence\" fields for each matching record.</li>\n</ol>\n</li>\n<li><strong>{\"count\": true, \"order\": null, \"offset\": 0, \"limit\": 100, \"context\": {}}</strong>: This is the fourth parameter and represents a dictionary with various options:<ol>\n<li><strong>\"count\": true</strong>: Specifies that you want to count the total number of records that match the search criteria. This allows you to determine how many sales stage records exist in the system.</li>\n<li><strong>\"order\": null</strong>: Indicates that no specific sorting order is applied to the retrieved records. The records will be returned without any particular order.</li>\n<li><strong>\"offset\": 0</strong>: Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (0), meaning that the request will retrieve records starting from the first record.</li>\n<li><strong>\"limit\": 100</strong>: Specifies the maximum number of records to retrieve, which is set to 100 in this request. It means that the request will fetch up to 100 sales stage records in a single query. If there are more records, additional requests may be needed.</li>\n<li><strong>\"context\": {}</strong>: Represents an empty context, which can be used to pass additional options or context information to the search_read operation. In this request, no additional context is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"sale.stage\" entity. It retrieves all sales stage records without any specific filtering conditions and retrieves the \"name,\" \"code,\" and \"sequence\" fields for each record. Additionally, it counts the total number of matching records, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 records. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"df6f0902-726a-404c-a509-fd45d74c8184","name":"params/sale.stage/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1695881432741,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.stage\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"sequence\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-09-28 11:10:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 28 Sep 2023 06:27:52 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=AkcQYQo70i8sN2ET5L%2BcFIDhTaJLUkON6Yuc5KmFqpCGVbRI7pLvFYA0%2B%2FUtqm%2F7F%2Fjks5BudMzW%2BnzG%2FjqdR0VFCwKOGI17Ct8jgUeDzMjz4WT9DKd8tLDYoW%2BjVCvlKVnIlfkdXaGBSmFqIA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80d9ec4e5f895f5a-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1695881432741,\n    \"dt\": 9\n}"}],"_postman_id":"76061d79-2277-4d69-a7dc-ddf44e9a5e5b"}],"id":"7c708430-7731-4fda-ad23-a3d8c09066fc","_postman_id":"7c708430-7731-4fda-ad23-a3d8c09066fc","description":""},{"name":"Sales Categories","item":[{"name":"params/inline.help/search_read","id":"0aca1673-8a11-46dd-b864-b1ac969f4847","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696229260959,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_categ\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-02 11:46:48\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"sale_categ\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"inline.help\" entity, which is likely related to providing inline help or documentation.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[[\"action\", \"=\", \"sale_categ\"]]]</strong>: This is the third parameter and represents the search domain, which is a list of conditions used to filter the records to be retrieved:<ol>\n<li>The innermost list, [\"action\", \"=\", \"sale_categ\"], contains a single condition: \"action\" equals \"sale_categ.\" This condition filters records based on the \"action\" attribute being equal to \"sale_categ.\"<ol>\n<li><strong>\"action\"</strong>: This is the name of an attribute or field within the entity being searched. In this context, \"action\" represents a property or attribute associated with records in the entity, likely related to defining the action or category of a sale.</li>\n<li><strong>\"=\"</strong>: This is an operator used in the condition. It signifies equality and is used to compare the field on the left (in this case, \"action\") with the value on the right.</li>\n<li><strong>\"sale_categ\"</strong>: This is the value against which the \"action\" field is being compared. In this condition, it's checking if the \"action\" attribute is equal to the value \"sale_categ.\" It means the request is looking for records where the \"action\" is specifically defined as \"sale_categ.\"</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>{}</strong>: This is the fourth parameter and represents an empty dictionary, indicating that no additional options or context are provided for this search_read operation.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity. It aims to retrieve records where the \"action\" attribute is equal to \"sale_categ.\" No specific additional options or context information are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"31bc6f18-db31-4a94-b6e8-d30866de0149","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696229260959,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_categ\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-02 11:46:48\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 02 Oct 2023 07:27:22 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=zzcdw0WMTChpdAOhuZCq2GQUyiltMcwlTMjHBpEEqBanefWPA5Y42QxNUKgfk05LwYfEG6sIuoZCwPY0Y4tEbhtlKcRFTyFHxfuKanyRCMBF9nEeeKvWlbuOgbJbxdazbkeh0j7TYtg6Z3EByw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80fb38f5780bb767-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1696229260959,\n    \"dt\": 12\n}"}],"_postman_id":"0aca1673-8a11-46dd-b864-b1ac969f4847"},{"name":"params/sale.categ/search_read","id":"7335ac0c-fc6c-44a4-b670-a7ae9217ecd9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696229260968,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.categ\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"description\",\r\n                \"sale_sequence_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-02 11:46:48\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"sale.categ\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"name\",**</strong>\"code\",<strong><strong>\"description\",</strong></strong>\"sale_sequence_id\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"order\": null,</strong></strong>\"offset\": 0,<strong><strong>\"limit\": 100,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"sale.categ\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"sale.categ\" entity, indicating that the operation will be performed within this entity, likely related to managing sales categories.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[], [\"name\", \"code\", \"description\", \"sale_sequence_id\"]]</strong>: This is the third parameter and consists of two lists:<ol>\n<li>The first list, [], represents the search domain, which is empty in this case. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved. It indicates that the request aims to retrieve all sales category records without any specific filtering conditions.</li>\n<li>The second list, [\"name\", \"code\", \"description\", \"sale_sequence_id\"], specifies the fields or attributes that you want to retrieve for each record. In this request, you are retrieving records with the following fields:<ol>\n<li><strong>\"name\"</strong>: This field represents the name or title of each sales category. It typically provides a descriptive name for the category to help users easily identify and understand its purpose.</li>\n<li><strong>\"code\"</strong>: The \"code\" field represents a unique code or identifier associated with each sales category. This code can be useful for internal reference and organization, and it may serve as a shorter, more concise way to refer to the category.</li>\n<li><strong>\"description\"</strong>: The \"description\" field provides additional information or a textual description about each sales category. It can include details, notes, or explanations that help users understand the purpose or characteristics of the category.</li>\n<li><strong>\"sale_sequence_id\"</strong>: This field likely represents a reference or link to a sequence associated with each sales category. In many systems, a sequence is used to generate unique identification numbers or codes for records within a specific category. This field may store information about the sequence used for numbering sales category-related records.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>{ \"count\": true, \"order\": null, \"offset\": 0, \"limit\": 100, \"context\": {} }</strong>: This is the fourth parameter and represents a dictionary with various options:<ol>\n<li><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. This allows you to determine how many sales category records exist in the system.</li>\n<li><strong>\"order\": null:</strong> Indicates that no specific sorting order is applied to the retrieved records. The records will be returned without any particular order.</li>\n<li><strong>\"offset\": 0:</strong> Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve records starting from the first record.</li>\n<li><strong>\"limit\": 100:</strong> Specifies the maximum number of records to retrieve, which is set to 100 in this request. It means that the request will fetch up to 100 sales category records in a single query. If there are more records, additional requests may be needed.</li>\n<li><strong>\"context\": {}:</strong> Represents an empty context, which can be used to pass additional options or context information to the search_read operation. In this request, no additional context is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"sale.categ\" entity. It retrieves all sales category records without any specific filtering conditions and retrieves the \"name,\" \"code,\" \"description,\" and \"sale_sequence_id\" fields for each record. Additionally, it counts the total number of matching records, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 records. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"c7f25066-eacf-4f18-8fbe-154760de98e5","name":"params/sale.categ/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696229260968,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.categ\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"description\",\r\n                \"sale_sequence_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-02 11:46:48\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 02 Oct 2023 07:39:46 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=%2FF4UTqETQxPZyM0ZSpbP5ygbvdeCeDlxkVAjIcN9paVEXnEFVp69p0IoZNHjCycgyehvKMCKweOPFrAsoZmY5kYOqz0i0s%2BaTqgxLAlCqfg2AXzD%2B3U0vShqmCVZFztzdGZrPcloNxCk7j7ltQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"80fb4b1f4977b71f-AMS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 8,\n                \"name\": \"Accounting Deal\",\n                \"sale_sequence_id\": null,\n                \"code\": null,\n                \"description\": null\n            },\n            {\n                \"id\": 10,\n                \"name\": \"Custom / Bespoke\",\n                \"sale_sequence_id\": null,\n                \"code\": null,\n                \"description\": null\n            },\n            {\n                \"id\": 13,\n                \"name\": \"Data Analytics\",\n                \"sale_sequence_id\": null,\n                \"code\": null,\n                \"description\": null\n            },\n            {\n                \"id\": 14,\n                \"name\": \"Dedicated Manpower\",\n                \"sale_sequence_id\": null,\n                \"code\": null,\n                \"description\": null\n            },\n            {\n                \"id\": 11,\n                \"name\": \"e-Fulfilment\",\n                \"sale_sequence_id\": null,\n                \"code\": \"e-Fulfilment\",\n                \"description\": null\n            },\n            {\n                \"id\": 1,\n                \"name\": \"ERP Deal\",\n                \"sale_sequence_id\": null,\n                \"code\": \"ERP\",\n                \"description\": null\n            },\n            {\n                \"id\": 6,\n                \"name\": \"Hardware Only\",\n                \"sale_sequence_id\": null,\n                \"code\": null,\n                \"description\": null\n            },\n            {\n                \"id\": 7,\n                \"name\": \"HR Module\",\n                \"sale_sequence_id\": null,\n                \"code\": null,\n                \"description\": null\n            },\n            {\n                \"id\": 15,\n                \"name\": \"IR4.0\",\n                \"sale_sequence_id\": null,\n                \"code\": \"IR4\",\n                \"description\": null\n            },\n            {\n                \"id\": 4,\n                \"name\": \"Other\",\n                \"sale_sequence_id\": null,\n                \"code\": \"Other\",\n                \"description\": null\n            },\n            {\n                \"id\": 5,\n                \"name\": \"Page Builder\",\n                \"sale_sequence_id\": null,\n                \"code\": null,\n                \"description\": null\n            },\n            {\n                \"id\": 3,\n                \"name\": \"RPA Deal\",\n                \"sale_sequence_id\": null,\n                \"code\": \"RPA\",\n                \"description\": null\n            },\n            {\n                \"id\": 12,\n                \"name\": \"Website Building\",\n                \"sale_sequence_id\": null,\n                \"code\": \"Website Building\",\n                \"description\": null\n            },\n            {\n                \"id\": 2,\n                \"name\": \"WMS/INV Deal\",\n                \"sale_sequence_id\": null,\n                \"code\": \"WMS\",\n                \"description\": null\n            },\n            {\n                \"id\": 9,\n                \"name\": \"Work Automation\",\n                \"sale_sequence_id\": null,\n                \"code\": null,\n                \"description\": null\n            }\n        ],\n        15\n    ],\n    \"error\": null,\n    \"id\": 1696229260968,\n    \"dt\": 19\n}"}],"_postman_id":"7335ac0c-fc6c-44a4-b670-a7ae9217ecd9"}],"id":"b6f28854-aff2-4034-b927-beff834aa5f6","_postman_id":"b6f28854-aff2-4034-b927-beff834aa5f6","description":""},{"name":"Sellers","item":[{"name":"params/inline.help/search_read","id":"f775036d-7bcc-4642-b7a7-f40e98f31c3a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696317352822,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"seller\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-03 12:15:26\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"seller\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"inline.help\" entity, indicating that the operation will be related to inline help features, likely associated with providing assistance or guidance to users.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It enables you to search for records and read their data.</li>\n<li><strong>[[\"action\", \"=\", \"seller\"]]</strong>: This is the third parameter and consists of a nested list. The innermost list, [\"action\", \"=\", \"seller\"], forms the search domain. It contains a single condition: [\"action\", \"=\", \"seller\"]. This condition filters records where the \"action\" attribute equals \"seller,\" narrowing down the search to records related to sellers.<ol>\n<li><strong>\"action\"</strong>: This is the field or attribute within the entity that you are filtering on. In this context, you are filtering records based on their \"action.\"</li>\n<li><strong>\"=\"</strong>: The equal sign (=) is the operator used for comparison. In this case, it's used to check if the \"action\" field is equal to a specific value.</li>\n<li><strong>\"seller\"</strong>: This is the value you are comparing the \"action\" field to. The condition specifies that you want to find records where the \"action\" field is equal to \"seller.\" This is how you narrow down the search to records related to sellers within the entity.</li>\n</ol>\n</li>\n<li><strong>{}</strong>: This empty curly braces section represents the fourth parameter. The context is empty, indicating that no additional context or settings are provided for the search_read operation. It's effectively stating that the operation should proceed without any specific context.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity. It aims to retrieve records related to the \"seller\" action or functionality. The search is not limited by additional context or options, as the context dictionary is empty.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"ad799d8f-639e-4cfc-8948-3b00d5531507","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696317352822,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"seller\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-03 12:15:26\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 03 Oct 2023 07:17:19 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=3mcYTm4OCTDX3%2FTbuEhW%2Fy9bTRoYuKRN7GvTKTp74GH1eDWaUbriUuLyZgoTFqtlpph5J7KH6uSxrMjEhgP4BwkyWoEiXh8u2ZyXhB51KioVNhGf4j0aRPpklsrV9GS9iCo%2BPxef5NnLNMN8yQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"810367999fb34947-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1696317352822,\n    \"dt\": 6\n}"}],"_postman_id":"f775036d-7bcc-4642-b7a7-f40e98f31c3a"},{"name":"params/seller/search_read","id":"1165fbb2-ce40-44d8-9939-b84078c840b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696317352830,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"seller\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"employee_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-03 12:15:26\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"seller\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"name\",**</strong>\"code\",<strong>**\"employee_id\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"count\": true,</strong></strong>\"order\": null,<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"seller\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"seller\" entity, indicating that the operation will be performed within this entity, likely related to managing sellers or vendors.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[], [\"name\", \"code\", \"employee_id\"]]</strong>: These field names indicate which attributes of the seller records you want to include in the response. The request will return values for the \"name,\" \"code,\" and \"employee_id\" fields for each matching seller record. This is the third parameter and consists of two lists:<ol>\n<li>The first list, [], represents the search domain, which is empty in this case. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved. It indicates that the request aims to retrieve all seller records without any specific filtering conditions.</li>\n<li>The second list, [\"name\", \"code\", \"employee_id\"], specifies the fields or attributes that you want to retrieve for each seller record. In this request, you are retrieving records with the following fields:<ol>\n<li><strong>\"name\":</strong> Represents the name or title of the sellers.</li>\n<li><strong>\"code\":</strong> Represents a code or identifier for the sellers.</li>\n<li><strong>\"employee_id\":</strong> Likely represents a reference or link to an employee associated with each seller.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>{<strong><strong>\"count\": true,</strong></strong>\"order\": null,<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>}</strong>: This is the fourth parameter and represents a dictionary with various options:<ol>\n<li><strong>\"count\": true</strong>: Specifies that you want to count the total number of records that match the search criteria. This allows you to determine how many seller records exist in the system.</li>\n<li><strong>\"order\": null</strong>: Indicates that no specific sorting order is applied to the retrieved records. The records will be returned without any particular order.</li>\n<li><strong>\"offset\": 0</strong>: Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve records starting from the first seller record.</li>\n<li><strong>\"limit\": 100</strong>: Specifies the maximum number of records to retrieve, which is set to 100 in this request. It means that the request will fetch up to 100 seller records in a single query. If there are more records, additional requests may be needed.</li>\n<li><strong>\"context\": {}</strong>: Represents an empty context, which can be used to pass additional options or context information to the search_read operation. In this request, no additional context is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"seller\" entity. It retrieves all seller records without any specific filtering conditions and retrieves the \"name,\" \"code,\" and \"employee_id\" fields for each seller record. Additionally, it counts the total number of matching records, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 records. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"7c594344-2c0c-4711-aaae-ecd2f98c901f","name":"params/seller/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696317352830,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"seller\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\",\r\n                \"employee_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-03 12:15:26\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 03 Oct 2023 07:34:13 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=VMohZlpYuyiK7tivfpRYnnj9NkpY7wSXGljDaaKOFi%2Fxr5hOoFU7DeOSveyamMk%2FBH8Hf1BxLowtEzJCO0Imwp63T%2BDwhoSNQDIS00Qm1FVJcq1hzkZLUf3GmRGKwFu5f2miGwMxN6QJpLtouQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"810380606b503d92-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1696317352830,\n    \"dt\": 15\n}"}],"_postman_id":"1165fbb2-ce40-44d8-9939-b84078c840b8"}],"id":"86e992b8-4661-4fde-b656-f78c315628ca","_postman_id":"86e992b8-4661-4fde-b656-f78c315628ca","description":""},{"name":"Sales Targets","item":[{"name":"params/inline.help/search_read","id":"56532acf-a5d3-4ea6-9101-9520292445a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696319897286,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_target\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-03 12:58:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"sale_target\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"inline.help\" entity, indicating that the operation will be performed within this entity. The \"inline.help\" entity likely relates to providing inline help or assistance within the system.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li>The third parameter, represented by <code>[[\"action\", \"=\", \"sale_target\"]]</code>, contains a search domain. This domain specifies the criteria for filtering records. In this case, it's looking for records where the \"action\" field is equal to \"sale_target.\" This filter helps narrow down the search to records related to the \"sale_target\" action.<ol>\n<li><strong>\"action\"</strong>: This indicates the field or attribute of the records that you want to filter on. In this context, it's the \"action\" field, likely used to categorize or specify the type of action or task associated with certain records.</li>\n<li><strong>\"=\"</strong>: This is the operator used for comparison. It specifies that you want to filter records where the \"action\" field is equal to a specific value.</li>\n<li><strong>\"sale_target\"</strong>: This is the value you're comparing the \"action\" field to. It means you want to retrieve records where the \"action\" field is equal to \"sale_target.\"</li>\n</ol>\n</li>\n<li><strong><code>{}</code></strong>: The fourth parameter is a dictionary that can include various options or context information for the search_read operation. In this request, the dictionary is empty, meaning that no additional context or options are provided.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity. It specifically searches for records related to the \"sale_target\" action and retrieves these records. Since the search domain filters for a specific action, it should return records associated with providing inline help or guidance for the \"sale_target\" action within the system. No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"e7725a40-e461-41fe-afae-38c9c2076386","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696319897286,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"sale_target\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-03 12:58:03\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 03 Oct 2023 08:03:59 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=s4TMJ0PBUv0B%2FV0D5TlaAYU9ZTckCJ%2FQLbyiYJQeMlk4i%2BplQg2Gdx7nQHqqP4E6ZXGa6VuQgcRrQm8mdRwlV4PLTppTtxgpJ0uvpe2Pw521dzFEg6flgWXklvkwllBbsY9Z8%2FyjLZ5ssmdhhQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8103abf72c82d51a-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1696319897286,\n    \"dt\": 5\n}"}],"_postman_id":"56532acf-a5d3-4ea6-9101-9520292445a9"},{"name":"params/sale.target/search_read","id":"6c2f994e-c50e-4934-9aa8-ec12d442eb75","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696406079305,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.target\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"user_id\",\r\n                \"prod_categ_id\",\r\n                \"amount_target\",\r\n                \"amount_actual\",\r\n                \"amount_expected\",\r\n                \"qty_target\",\r\n                \"qty_actual\",\r\n                \"qty_expected\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-04 12:54:11\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"sale.target\",</strong>\"search_read\",<strong>[</strong>[],<strong>[</strong>\"date_from\",<strong>\"date_to\",</strong>\"user_id\",<strong>\"prod_categ_id\",</strong>\"amount_target\",<strong>\"amount_actual\",</strong>\"amount_expected\",<strong>\"qty_target\",</strong>\"qty_actual\",<strong>\"qty_expected\"<strong>]</strong>],</strong>{<strong>\"count\": true,</strong>\"order\": null,<strong>\"offset\": 0,</strong>\"limit\": 100,<strong>\"context\": {}****}</strong></p>\n<ol>\n<li><strong>\"sale.target\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"sale.target\" entity, indicating that the operation will be performed within this entity, likely related to managing sales targets.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[], [\"date_from\", \"date_to\", \"user_id\", \"prod_categ_id\", \"amount_target\", \"amount_actual\", \"amount_expected\", \"qty_target\", \"qty_actual\", \"qty_expected\"]]</strong>: This is the third parameter and consists of two lists:<ol>\n<li>The first list, [], represents the search domain, which is empty in this case. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved. It indicates that the request aims to retrieve all sales target records without any specific filtering conditions.</li>\n<li>The second list, [\"date_from\", \"date_to\", \"user_id\", \"prod_categ_id\", \"amount_target\", \"amount_actual\", \"amount_expected\", \"qty_target\", \"qty_actual\", \"qty_expected\"], specifies the fields or attributes that you want to retrieve for each record. In this request, you are retrieving records with the following fields:<ol>\n<li><strong>\"date_from\"</strong>: This field likely represents the starting date for the sales target. It signifies the date from which the sales target is applicable.</li>\n<li><strong>\"date_to\"</strong>: This field likely represents the ending date for the sales target. It signifies the date until which the sales target is applicable.</li>\n<li><strong>\"user_id\"</strong>: This field probably represents the user or employee associated with the sales target. It indicates the individual responsible for achieving the sales target.</li>\n<li><strong>\"prod_categ_id\"</strong>: This field may refer to the product category associated with the sales target. It indicates which category of products the sales target is related to.</li>\n<li><strong>\"amount_target\"</strong>: This field represents the target amount for sales. It specifies the total sales amount that is expected to be achieved within the defined time frame.</li>\n<li><strong>\"amount_actual\"</strong>: This field likely indicates the actual sales amount achieved. It represents the real, measured sales amount for a particular period.</li>\n<li><strong>\"amount_expected\"</strong>: This field may signify the expected or forecasted sales amount. It could represent the amount that was originally anticipated or planned for the sales target.</li>\n<li><strong>\"qty_target\"</strong>: This field represents the target quantity of products to be sold. It specifies the total number of products that need to be sold to meet the sales target.</li>\n<li><strong>\"qty_actual\"</strong>: This field indicates the actual quantity of products sold. It represents the real, measured quantity of products sold during the specified period.</li>\n<li><strong>\"qty_expected\"</strong>: This field may refer to the expected or forecasted quantity of products to be sold. It could represent the quantity that was originally anticipated or planned for the sales target.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>{****\"count\": true,</strong>\"order\": null,<strong>\"offset\": 0,</strong>\"limit\": 100,<strong>\"context\": {}****}</strong>: This is the fourth parameter and represents a dictionary with various options:<ol>\n<li><strong>\"count\": true</strong>: Specifies that you want to count the total number of records that match the search criteria. This allows you to determine how many sales target records exist in the system.</li>\n<li><strong>\"order\": null</strong>: Indicates that no specific sorting order is applied to the retrieved records. The records will be returned without any particular order.</li>\n<li><strong>\"offset\": 0</strong>: Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve records starting from the first record.</li>\n<li><strong>\"limit\": 100</strong>: Specifies the maximum number of records to retrieve, which is set to 100 in this request. It means that the request will fetch up to 100 sales target records in a single query. If there are more records, additional requests may be needed.</li>\n<li><strong>\"context\": {}</strong>: Represents an empty context, which can be used to pass additional options or context information to the search_read operation. In this request, no additional context is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"sale.target\" entity. It retrieves all sales target records without any specific filtering conditions and retrieves information about dates, users, product categories, sales amounts, and quantities. Additionally, it counts the total number of matching records, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 records. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"972be4f4-10cc-4c23-9e7a-952c47486f39","name":"params/sale.target/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696406079305,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"sale.target\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"user_id\",\r\n                \"prod_categ_id\",\r\n                \"amount_target\",\r\n                \"amount_actual\",\r\n                \"amount_expected\",\r\n                \"qty_target\",\r\n                \"qty_actual\",\r\n                \"qty_expected\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-04 12:54:11\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 04 Oct 2023 07:56:12 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=o2iE7G60GH7IikVFCZmDJxI0KNt0IGzYbiod7CLQ00S2xalIovbrkMR0kt3jLPxbER7Axi6C%2FppL%2B5b%2Fy9fjY%2FRYgPRl5eEIYkuZkz1R%2B3fZrZUVIGWecnDeIj4ndQS44ETgiI4ABklWqe8kCw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"810bddefd9f8f138-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1696406079305,\n    \"dt\": 8\n}"}],"_postman_id":"6c2f994e-c50e-4934-9aa8-ec12d442eb75"}],"id":"3a4cbb1c-85ac-4f2c-848d-6ba983e2f2bb","_postman_id":"3a4cbb1c-85ac-4f2c-848d-6ba983e2f2bb","description":""},{"name":"Competitors","item":[{"name":"params/inline.help/search_read","id":"d5f8ee66-e4ac-46d6-b1fb-17bd15856b48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696407597827,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"competitor\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-04 13:19:32\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"inline.help\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"action\",<strong>\"=\",</strong>\"competitor\"<strong>]</strong>]<strong>],****{},</strong></p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"inline.help\" entity or module, indicating that the operation will be performed within this entity, likely related to inline help or documentation.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[\"action\", \"=\", \"competitor\"]]</strong>: This is the third parameter and consists of a nested list. The inner list contains three elements:<ol>\n<li><strong>\"action\"</strong>: This represents a field or attribute that is being filtered or searched. In this case, the field being filtered is likely related to some kind of action or category.</li>\n<li><strong>\"=\"</strong>: This is an operator used to specify the condition for the filter. In this case, it's set to \"=\" which means an exact match.</li>\n<li><strong>\"competitor\"</strong>: This is the value that the \"action\" field should match exactly. It defines the specific action or category being searched for.</li>\n</ol>\n</li>\n<li><strong>{}</strong>: This is the fourth parameter and represents a dictionary with various options. In this request, the dictionary is empty, which means that no additional options or context information is provided. It indicates that the request aims to retrieve inline help or documentation related to competitors without any specific additional context.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity, specifically targeting information related to competitors or competitor-related actions. It does not specify any additional context options, indicating a straightforward retrieval of inline help or documentation.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"45a70b80-fcb7-480d-be0f-a14b50bc75fe","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696407597827,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"competitor\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-04 13:19:32\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 04 Oct 2023 08:21:57 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=r995UXKYomlCLgUtXqfLLLfrlvR5dHatNmeYbHinQEgyX4ZQyQj9MA%2BpQwUDUEq86a15PWZTKzdiReOckqTPM%2BHqMm471auD3b%2FD3y4SZjVIWxyllSuqAJX8gRu24mGC57gI2U8SeOTqN3mjRA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"810c03a71a3c3c92-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1696407597827,\n    \"dt\": 18\n}"}],"_postman_id":"d5f8ee66-e4ac-46d6-b1fb-17bd15856b48"},{"name":"params/competitor/search_read","id":"8fcec2c5-cafb-42a6-a735-7a0f726febf2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696407597834,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"competitor\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-04 13:19:32\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"competitor\",</strong>\"search_read\",<strong>[</strong>[],<strong>[</strong>\"name\"<strong>]</strong>],<strong>{</strong>\"count\": true,<strong>\"order\": null,</strong>\"offset\": 0,<strong>\"limit\": 100,</strong>\"context\": {}<strong>},</strong></p>\n<ol>\n<li><strong>\"competitor\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"competitor\" entity, indicating that the operation will be performed within this entity, likely related to managing competitor information.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[], [\"name\"]]</strong>: These field names indicate which attributes of the records you want to include in the response. The request will return values for the \"name\" field for each matching competitor record. This is the third parameter and consists of two lists:<ol>\n<li>The first list, [], represents the search domain, which is empty in this case. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved. It indicates that the request aims to retrieve all competitor records without any specific filtering conditions.</li>\n<li>The second list, [\"name\"], specifies the fields or attributes that you want to retrieve for each record. In this request, you are retrieving records with the following field:<ul>\n<li>\"name\": Represents the name or title of the competitors.</li>\n</ul>\n</li>\n</ol>\n</li>\n<li><strong>{\"count\": true, \"order\": null, \"offset\": 0, \"limit\": 100, \"context\": {}}</strong>: This is the fourth parameter and represents a dictionary with various options:<ol>\n<li><strong>\"count\": true</strong>: Specifies that you want to count the total number of records that match the search criteria. This allows you to determine how many competitor records exist in the system.</li>\n<li><strong>\"order\": null</strong>: Indicates that no specific sorting order is applied to the retrieved records. The records will be returned without any particular order.</li>\n<li><strong>\"offset\": 0</strong>: Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve records starting from the first record.</li>\n<li><strong>\"limit\": 100</strong>: Specifies the maximum number of records to retrieve, which is set to 100 in this request. It means that the request will fetch up to 100 competitor records in a single query. If there are more records, additional requests may be needed.</li>\n<li><strong>\"context\": {}</strong>: Represents an empty context, which can be used to pass additional options or context information to the search_read operation. In this request, no additional context is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"competitor\" entity. It retrieves all competitor records without any specific filtering conditions and retrieves the \"name\" field for each record. Additionally, it counts the total number of matching competitor records, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 records. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"1ca58ea3-76a8-44d8-acb0-89abdba33c60","name":"params/competitor/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696407597834,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"competitor\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-04 13:19:32\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 04 Oct 2023 08:28:00 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=kb4gEwWgIa%2Byc67zUm9qGU%2BfxLexa7zIgurOURfbx7bGBxApdxFSvWEeo5O4tz6sFdCeS2qgrV854yTbhjWnrBR7ScRoAzFreHGQDH%2F1hmkQzHuFwMHG156Ai0ChpTT%2FB2VKcZLbXGurIAt3Bw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"810c0c863aa83c92-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1696407597834,\n    \"dt\": 16\n}"}],"_postman_id":"8fcec2c5-cafb-42a6-a735-7a0f726febf2"}],"id":"6fd749d6-f568-4af7-b5e6-25124eb65eae","_postman_id":"6fd749d6-f568-4af7-b5e6-25124eb65eae","description":""},{"name":"Delivery Terms","item":[{"name":"params/inline.help/search_read","id":"53070f40-754e-4059-acc9-7779c14bbf07","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696408670231,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"delivery_term\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-04 13:34:09\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"delivery_term\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"inline.help\" entity or module, indicating that the operation will be performed within this entity. The \"inline.help\" entity is likely related to providing inline help or documentation within the system.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[[\"action\", \"=\", \"delivery_term\"]]]</strong>: This is the third parameter and consists of a list of lists. In this case, there is one nested list containing the following elements:<ol>\n<li><strong>\"action\"</strong>: This is the field or attribute within the database records that you want to filter or search on. In this context, it appears to represent a specific action or type of record.</li>\n<li><strong>\"=\"</strong>: This is the operator used for comparison within the filter. The \"=\" operator indicates an exact match. It means that you are looking for records where the \"action\" field is equal to the value specified in the next element.</li>\n<li><strong>\"delivery_term\"</strong>: This is the value you are comparing the \"action\" field to. It signifies that you want to retrieve records where the \"action\" field has the exact value \"delivery_term.\"</li>\n</ol>\n</li>\n<li><strong>{}</strong>: This is the fourth parameter and represents an empty dictionary. It is used to pass additional options or context information to the search_read operation. In this request, no specific context is provided, so it remains empty.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity or module. It is searching for records related to \"delivery_term\" by filtering based on the \"action\" field. Since there are no additional context options provided, the operation will retrieve records matching the specified filter criteria without any additional context parameters.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"25000232-1d8b-47fc-8284-b1daf348b40e","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696408670231,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"delivery_term\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-04 13:34:09\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 04 Oct 2023 08:40:43 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=xDTMOK%2F7OMnBLxvp%2B6j1tugpCKAZwQPtodPJLRG5yuvBTNl0eoto%2BWiOtWQ7N04mXVxsATQDaJ42OvDQyeVLiaDKCfwpyoJpAnMdnNVBSIe0yQVT%2Fpx43FRIK6pyjVtlPcHKBPIls5gUpxM3%2BQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"810c1f26dfbf4023-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1696408670231,\n    \"dt\": 5\n}"}],"_postman_id":"53070f40-754e-4059-acc9-7779c14bbf07"},{"name":"params/delivery.term/search_read","id":"289b939e-51c2-4ea2-892c-e63d299e8a3d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696408670238,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"delivery.term\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-04 13:34:09\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"delivery.term\",</strong>\"search_read\",<strong>[</strong>[],<strong>[</strong>\"name\",<strong>\"code\"<strong>]</strong>],</strong>{<strong>\"count\": true,</strong>\"order\": null,<strong>\"offset\": 0,</strong>\"limit\": 100,<strong>\"context\": {}****},</strong></p>\n<ol>\n<li><strong>\"delivery.term\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"delivery.term\" entity, indicating that the operation will be performed within this entity, likely related to managing delivery terms.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[], [\"name\", \"code\"]]</strong>: These field names indicate which attributes of the records you want to include in the response. The request will return values for the \"name\" and \"code\" fields for each matching delivery term record. This is the third parameter and consists of two lists:<ol>\n<li>The first list, [], represents the search domain, which is empty in this case. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved. It indicates that the request aims to retrieve all delivery term records without any specific filtering conditions.</li>\n<li>The second list, [\"name\", \"code\"], specifies the fields or attributes that you want to retrieve for each record. In this request, you are retrieving records with the following fields:<ol>\n<li><strong>\"name\":</strong> Represents the name or title of the delivery term.</li>\n<li><strong>\"code\":</strong> Represents a code or identifier for the delivery term.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>{****\"count\": true,</strong>\"order\": null,<strong>\"offset\": 0,</strong>\"limit\": 100,<strong>\"context\": {}****}</strong>: This is the fourth parameter and represents a dictionary with various options:<ol>\n<li><strong>\"count\": true</strong>: Specifies that you want to count the total number of records that match the search criteria. This allows you to determine how many delivery term records exist in the system.</li>\n<li><strong>\"order\": null</strong>: Indicates that no specific sorting order is applied to the retrieved records. The records will be returned without any particular order.</li>\n<li><strong>\"offset\": 0</strong>: Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve records starting from the first record.</li>\n<li><strong>\"limit\": 100</strong>: Specifies the maximum number of records to retrieve, which is set to 100 in this request. It means that the request will fetch up to 100 delivery term records in a single query. If there are more records, additional requests may be needed.</li>\n<li><strong>\"context\": {}</strong>: Represents an empty context, which can be used to pass additional options or context information to the search_read operation. In this request, no additional context is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"delivery.term\" entity. It retrieves all delivery term records without any specific filtering conditions and retrieves the \"name\" and \"code\" fields for each record. Additionally, it counts the total number of matching records, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 records. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"f408243b-f9ff-44c8-9451-82029caec591","name":"params/delivery.term/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696408670238,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"delivery.term\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"code\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-04 13:34:09\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 04 Oct 2023 08:55:22 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=WtvIqjFcpgusYbmlXA%2BRQ8NLdHvfbUMeWmB5b%2BQVz884AA9hv6MYZGwLQX%2BP0LlPUKAJP8zgfLuiQyLeVLOHLQSJjHo3%2Ffstjxrn26vorUd0ThdLKX8URrl1KqfQAhZJabfHfS%2BLroAEC970FQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"810c349b48e80488-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1696408670238,\n    \"dt\": 8\n}"}],"_postman_id":"289b939e-51c2-4ea2-892c-e63d299e8a3d"}],"id":"129bc384-49a9-4020-8750-761dc9e2bad9","_postman_id":"129bc384-49a9-4020-8750-761dc9e2bad9","description":""},{"name":"Vaild Period","item":[{"name":"params/inline.help/search_read","id":"3a1892c7-8a37-422d-9f32-fdadde9000ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696410446167,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"valid_period\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-04 14:07:15\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"inline.help\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"action\",<strong>\"=\",</strong>\"valid_period\"<strong>]</strong>]<strong>],****{},</strong></p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific area or category within the system where the operation will be performed. In this context, \"inline.help\" typically refers to accessing inline help or information related to a specific topic or functionality in the system.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. In this case, it's used to retrieve information related to the \"valid_period\" topic or functionality.</li>\n<li><strong>[[\"action\", \"=\", \"valid_period\"]]</strong>: This is the third parameter and consists of a list with a nested list inside it. This search domain is used to filter the records and retrieve information related to the \"valid_period\" functionality. Here's the breakdown:<ol>\n<li>The outer list contains one item, which is itself a list: <code>[[\"action\", \"=\", \"valid_period\"]]</code>. This structure is used to define a search domain or filter condition.</li>\n<li>Within the nested list, you have three elements:<ol>\n<li><code>\"action\"</code>: Refers to the attribute or field in the entity being searched.</li>\n<li><code>\"=\"</code>: Specifies the condition or operator to be applied to the field.</li>\n<li><code>\"valid_period\"</code>: Represents the value that you are comparing the \"action\" field to. In this case, it's looking for records where the \"action\" field is equal to \"valid_period.\"</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>{}</strong>: This is the fourth parameter and represents an empty dictionary. It's typically used to pass additional options or context information to the search_read operation. In this request, no additional context is provided, so it's an empty dictionary.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation to retrieve information related to the \"valid_period\" functionality. It defines a search domain to filter records where the \"action\" field is equal to \"valid_period\" and does not provide any additional context options.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"57991df4-3bd2-43b9-b9ee-4a78300b4f69","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696410446167,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"valid_period\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-04 14:07:15\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 04 Oct 2023 09:08:01 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Ql0DQzigmVycrhBgIMEOGffzhAE%2FasYtUgsEEiZkT2v7blpBHql7p0T9N%2BW1azklZeJ9FC2l5uJaBhpeCPeAPHG1idVp7nPupdcd1MDAlsyG78byd%2FfL8%2F%2BMI0tTZaJR9GibmIrBTIrn5HWBbA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"810c4723db2a4060-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1696410446167,\n    \"dt\": 5\n}"}],"_postman_id":"3a1892c7-8a37-422d-9f32-fdadde9000ba"},{"name":"params/valid.period/search_read","id":"51f1f225-19a5-4995-9ef6-5a8495b684c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696410446175,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"valid.period\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"days\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-04 14:07:15\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25102023\">Request added on: 25/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"valid.period\",</strong>\"search_read\",<strong>[</strong>[],<strong>[</strong>\"name\",<strong>\"days\"<strong>]</strong>],</strong>{<strong>\"count\": true,</strong>\"order\": null,<strong>\"offset\": 0,</strong>\"limit\": 100,<strong>\"context\": {}****},</strong></p>\n<ol>\n<li><strong>\"valid.period\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"valid.period\" entity, indicating that the operation will be performed within this entity, likely related to managing valid periods.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[], [\"name\", \"days\"]]</strong>: This is the third parameter. These field names indicate which attributes of the records you want to include in the response. The request will return values for the \"name\" and \"days\" fields for each matching record.<ol>\n<li>The first list, <code>[]</code>, represents the search domain, which is empty in this case. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved. It indicates that the request aims to retrieve all valid period records without any specific filtering conditions.</li>\n<li>The second list, <code>[\"name\", \"days\"]</code>, specifies the fields or attributes that you want to retrieve for each record. In this request, you are retrieving records with the following fields:<ol>\n<li><strong>\"name\":</strong> Represents the name or title of the valid period.</li>\n<li><strong>\"days\":</strong> Likely represents the duration or number of days for the valid period.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>{****\"count\": true,</strong>\"order\": null,<strong>\"offset\": 0,</strong>\"limit\": 100,<strong>\"context\": {}****}</strong>: This is the fourth parameter and represents a dictionary with various options:<ol>\n<li><strong>\"count\": true</strong>: Specifies that you want to count the total number of records that match the search criteria. This allows you to determine how many valid period records exist in the system.</li>\n<li><strong>\"order\": null</strong>: Indicates that no specific sorting order is applied to the retrieved records. The records will be returned without any particular order.</li>\n<li><strong>\"offset\": 0</strong>: Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve records starting from the first record.</li>\n<li><strong>\"limit\": 100</strong>: Specifies the maximum number of records to retrieve, which is set to 100 in this request. It means that the request will fetch up to 100 valid period records in a single query. If there are more records, additional requests may be needed.</li>\n<li><strong>\"context\": {}</strong>: Represents an empty context, which can be used to pass additional options or context information to the search_read operation. In this request, no additional context is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"valid.period\" entity. It retrieves all valid period records without any specific filtering conditions and retrieves the \"name\" and \"days\" fields for each record. Additionally, it counts the total number of matching records, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 records. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"09da1063-2f62-438b-ba67-244bba763ee2","name":"params/valid.period/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"117\", \"Not;A=Brand\";v=\"8\", \"Chromium\";v=\"117\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1696410446175,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"valid.period\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"days\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-04 14:07:15\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 04 Oct 2023 09:18:00 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=oo24Uqslf5nfgsK%2FLhSslY2ozJ8U6Wnp8ygeUYu6qlyRCUwEV1M1PkLdPJlAZiPe%2F2vx6uRObBOjzmDslIEFb2XM9msn2Yfu8U8OKgCDq4ea%2B4cMy5W1NmgbCXTXVIKIRaD%2BSmWewLP2%2Brv3nA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"810c55c778c64092-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1696410446175,\n    \"dt\": 11\n}"}],"_postman_id":"51f1f225-19a5-4995-9ef6-5a8495b684c8"}],"id":"c0033003-1610-459c-930f-23bdd5156aa9","_postman_id":"c0033003-1610-459c-930f-23bdd5156aa9","description":""}],"id":"16aa4c0e-c70a-4ece-b705-b9838de37e9a","_postman_id":"16aa4c0e-c70a-4ece-b705-b9838de37e9a","description":""}],"id":"f14f3be8-c1c9-4a6b-9ab6-6fef3a92012b","_postman_id":"f14f3be8-c1c9-4a6b-9ab6-6fef3a92012b","description":""},{"name":"Purchasing","item":[{"name":"Dashborad","item":[{"name":"params/inline.help/search_read","id":"1f39812d-73b6-4f95-8af6-adad399c0da5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698213736110,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"purchase_board\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-25 10:58:05\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-26102023\">Request added on: 26/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"inline.help\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"action\",<strong>\"=\",</strong>\"purchase_board\"<strong>]</strong>]<strong>],****{},</strong></p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"inline.help\" entity, indicating that the operation will be performed within this entity. The \"inline.help\" entity typically relates to providing contextual help or guidance within the system.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[[ \"action\", \"=\", \"purchase_board\" ]]</strong>: This is the third parameter, which contains a nested list. It serves as a search domain to filter records based on specific criteria. In this case:<ol>\n<li><strong>\"action\":</strong> This field is used to specify a particular action or context, and it is set to \"=\" (equals).</li>\n<li><strong>\"=\":</strong> This is an operator that indicates equality. It means that the \"action\" field should be equal to the following value.</li>\n<li><strong>\"purchase_board\":</strong> This is the value to which the \"action\" field should be equal. It appears to be related to a specific action or context within the \"inline.help\" entity, possibly for helping with purchase-related processes.</li>\n</ol>\n</li>\n<li><strong>{}</strong>: This is the fourth parameter and represents a dictionary with various options. However, in this request, it is empty, indicating no specific options are provided. An empty context implies that there are no additional contextual parameters or settings specified for this search and read operation.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity. It appears to be related to providing contextual help for a specific action or context denoted by \"purchase_board.\" The request is designed to retrieve records that match this context but doesn't specify any additional options or context settings.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"9bc06540-a988-4cd0-9df8-9de030b86168","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698213736110,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"purchase_board\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1774110510.1690867953\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-25 10:58:05\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 25 Oct 2023 06:06:14 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=OEMwpHLBekq8mbKh4LXzMvuRBwlR0U8gtFEdBrJxVggMazlRgpZI396lIsWf5AAUvtm6qfEFPTSXzo3iZeCtmknBMtbrLqK24I0HTnjL5PGGJul3G2hKMytoDqHeVpGpWIUzTWZIXrQNyHMD1w%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"81b845bb8a2ef1a4-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1698213736110,\n    \"dt\": 10\n}"}],"_postman_id":"1f39812d-73b6-4f95-8af6-adad399c0da5"},{"name":"params/report.purchase/purchases_per_month","id":"31ff7c99-1f9b-4ac6-8e80-6ae077255cde","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698736629710,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.purchase\",\r\n        \"purchases_per_month\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-31 12:16:32\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-31102023\">Request added on: 31/10/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"report.purchase\",<br />\"purchases_per_month\",<br />[],<br />{<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"report.purchase\"</strong>: This is the first parameter and represents a specific entity or module within the system where the operation will be performed. In this context, it signifies the \"report.purchase\" entity, indicating that the operation is related to generating a report about purchases.</p>\n</li>\n<li><p><strong>\"purchases_per_month\"</strong>: The second parameter specifies the action to be performed on the entity. \"purchases_per_month\" likely indicates a specific type of report or analysis that focuses on purchases made per month. This action is used to generate a report with data related to purchases over different months.</p>\n</li>\n<li><p><strong>[]</strong>: This is the third parameter and represents the search domain. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved. It indicates that the report should encompass all available purchase data without any specific filtering conditions.</p>\n</li>\n<li><p><strong>{<strong><strong>\"context\": {}</strong></strong>}</strong>: This is the fourth parameter and represents a dictionary with various options. In this case:</p>\n<ol>\n<li><strong>\"context\": {}</strong>: Represents an empty context. The context is used to pass additional options or context information to the report generation operation. An empty context means that no specific additional options are applied, and the report will be generated with default settings or configurations.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing an operation within the \"report.purchase\" entity, specifically generating a \"purchases_per_month\" report. The report is intended to cover all available purchase data without applying any specific filtering conditions or additional context.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"23bb1aef-6df6-4e58-b8b5-cc2febfd4c91","name":"params/report.purchase/purchases_per_month","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698736629710,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.purchase\",\r\n        \"purchases_per_month\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-31 12:16:32\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 31 Oct 2023 07:19:28 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=MuO69%2FLa2rE6wuaVgVIa1%2FISRlF52mkHp%2BRJ%2F9XDOQmREcGuBdjdelNMsDpa3E9KTGtlYm94eiwAS65Na4Ib1Z9QLbJUplIUQLk4O2BpgVEFZPxHWPEXb9oSbbcL4kPRH6%2B4RWXJ1t%2B3bYw1aw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"81ea21436b0389b8-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            \"May\",\n            0\n        ],\n        [\n            \"June\",\n            0\n        ],\n        [\n            \"July\",\n            15800\n        ],\n        [\n            \"August\",\n            0\n        ],\n        [\n            \"September\",\n            39694\n        ],\n        [\n            \"October\",\n            0\n        ]\n    ],\n    \"error\": null,\n    \"id\": 1698736629710,\n    \"dt\": 6\n}"}],"_postman_id":"31ff7c99-1f9b-4ac6-8e80-6ae077255cde"},{"name":"params/report.purchase/purchases_per_product_categ","id":"e9d07e1b-c4a9-48ba-b9cd-14832954cbfd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698736629721,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.purchase\",\r\n        \"purchases_per_product_categ\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-31 12:17:09\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-01112023\">Request added on: 01/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.purchase\",<strong>**\"purchases_per_product_categ\",<strong><strong>[],</strong></strong>{**</strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"report.purchase\"</strong>: This is the first parameter and represents a specific entity or module within the system where the operation will be performed. In this context, it signifies the \"report.purchase\" entity, indicating that the operation is related to generating a report about purchases.</li>\n<li><strong>\"purchases_per_product_categ\"</strong>: The second parameter specifies the action to be performed on the entity. \"purchases_per_product_categ\" likely indicates a specific type of report or analysis that focuses on purchases made per product category. This action is used to generate a report with data related to purchases categorized by different product categories.</li>\n<li><strong>[]</strong>: This is the third parameter and represents the search domain. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved. It indicates that the report should encompass all available purchase data without any specific filtering conditions.</li>\n<li><strong>{<strong><strong>\"context\": {}</strong></strong>}</strong>: This is the fourth parameter and represents a dictionary with various options. In this case:<ol>\n<li><strong>\"context\": {}</strong>: Represents an empty context. The context is used to pass additional options or context information to the report generation operation. An empty context means that no specific additional options are applied, and the report will be generated with default settings or configurations.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing an operation within the \"report.purchase\" entity, specifically generating a \"purchases_per_product_categ\" report. The report is intended to cover all available purchase data without applying any specific filtering conditions or additional context. It focuses on categorizing purchases by different product categories.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"0444e5f3-47d8-41ff-8a04-e2ebe8c5a77f","name":"params/report.purchase/purchases_per_product_categ","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698736629721,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.purchase\",\r\n        \"purchases_per_product_categ\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-31 12:17:09\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 31 Oct 2023 07:34:19 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=rhWaWsfbfJI7Nfr9bz8upmhkBfpJAUIIooLY1yLRX8at%2By8g2kIcJ%2F%2BNYK9JcdwzFW2alPnf9QmSncRrbX%2FoCRmkM3QgAwbwcSghSkyWzZgOWPGEWU7%2BxcvweimbkQH3wZaFOXbYOa5z8lVzNQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"81ea3700ddfd99b6-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1698736629721,\n    \"dt\": 6\n}"}],"_postman_id":"e9d07e1b-c4a9-48ba-b9cd-14832954cbfd"},{"name":"params/report.purchase/purchase_per_supplier","id":"7c518cf5-4550-42b3-8c6e-a07ce6a5aee6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698736629727,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.purchase\",\r\n        \"purchases_per_supplier\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-31 12:17:09\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-01112023\">Request added on: 01/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.purchase\",<strong>**\"purchases_per_supplier\",<strong><strong>[],</strong></strong>{**</strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"report.purchase\"</strong>: This is the first parameter and represents a specific entity or module within the system where the operation will be performed. In this context, it signifies the \"report.purchase\" entity, indicating that the operation is related to generating a report about purchases.</li>\n<li><strong>\"purchases_per_supplier\"</strong>: The second parameter specifies the action to be performed on the entity. \"purchases_per_supplier\" likely indicates a specific type of report or analysis that focuses on purchases made per supplier. This action is used to generate a report with data related to purchases categorized by different suppliers.</li>\n<li><strong>[]</strong>: This is the third parameter and represents the search domain. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved. It indicates that the report should encompass all available purchase data without any specific filtering conditions.</li>\n<li><strong>{<strong><strong>\"context\": {}</strong></strong>}</strong>: This is the fourth parameter and represents a dictionary with various options. In this case:<ol>\n<li><strong>\"context\": {}</strong>: Represents an empty context. The context is used to pass additional options or context information to the report generation operation. An empty context means that no specific additional options are applied, and the report will be generated with default settings or configurations.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing an operation within the \"report.purchase\" entity, specifically generating a \"purchases_per_supplier\" report. The report is intended to cover all available purchase data without applying any specific filtering conditions or additional context. It focuses on categorizing purchases by different suppliers.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"1e0de039-a802-4a0e-9cae-200b7059f9fd","name":"params/report.purchase/purchase_per_supplier","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698736629727,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.purchase\",\r\n        \"purchases_per_supplier\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-31 12:17:09\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 31 Oct 2023 07:40:20 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=AEm75gAoU6qYwKm5C7xQBfmxiLlLJ0hewqwDbrKPqCvtIlrNZbyjsBpi5ckZFGpilZXEOUas7ZP67TngSt56sVjIgIFRzxAL8%2BoUdxBsF0eCxypKU1e7JEeK61xtKGnNqXhF6fAN2s05VhwSxA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"81ea3fd15f9199b6-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            \"Netforce Software Co. Ltd.\",\n            374763.66\n        ],\n        [\n            \"Red Zone Solution Sdn Bhd\",\n            49379\n        ],\n        [\n            \"Quantum Computing Sdn. Bhd .\",\n            15800\n        ],\n        [\n            \"Satheesh Kumar \",\n            3000\n        ],\n        [\n            \"Guangzhou Luckydoor Electronic Equipment Co., Ltd.\",\n            2841.32\n        ],\n        [\n            \"Other\",\n            4395.45\n        ]\n    ],\n    \"error\": null,\n    \"id\": 1698736629727,\n    \"dt\": 57\n}"}],"_postman_id":"7c518cf5-4550-42b3-8c6e-a07ce6a5aee6"},{"name":"params/purchase.order/search_read","id":"12c26a29-7bdd-4de3-b151-ce9338638839","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698736629735,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"purchase.order\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"state\",\r\n                    \"=\",\r\n                    \"confirmed\"\r\n                ]\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"ref\",\r\n                \"contact_id\",\r\n                \"date\",\r\n                \"amount_total\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-31 12:17:09\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-02112023\">Request added on: 02/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"purchase.order\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"state\",<strong>\"=\",</strong>\"confirmed\"<strong>]</strong>],<strong>[</strong>\"number\",<strong>\"ref\",</strong>\"contact_id\",<strong>\"date\",</strong>\"amount_total\"<strong>]</strong>],<strong>{</strong>\"count\": true,<strong>\"order\": null,</strong>\"offset\": 0,<strong>\"limit\": 100,</strong>\"context\": {}<strong>},</strong></p>\n<ol>\n<li><strong>\"purchase.order\"</strong>: This is the first parameter and represents a specific entity or module within the system where the operation will be performed. In this context, it signifies the \"purchase.order\" entity, indicating that the operation is related to purchase orders.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[****[</strong>[\"state\", \"=\", \"confirmed\"]<strong>],<strong>[</strong>\"number\",</strong>\"ref\",<strong>\"contact_id\",</strong>\"date\",<strong>\"amount_total\"<strong>]</strong>]</strong><ol>\n<li>The first sub-list, <code>[\"state\", \"=\", \"confirmed\"]</code>, represents the search domain. It filters records where the \"state\" attribute is equal to \"confirmed.\" This means the request aims to retrieve purchase orders that are in the \"confirmed\" state.</li>\n<li>The second sub-list, <code>[\"number\", \"ref\", \"contact_id\", \"date\", \"amount_total\"]</code>, specifies the fields or attributes that you want to retrieve for each record. In this request, you are retrieving records with the following fields:<ol>\n<li><strong>\"number\"</strong>: This field represents the purchase order number or identifier. It typically provides a unique reference to each purchase order and is used for tracking and identification purposes.</li>\n<li><strong>\"ref\"</strong>: This field likely represents a reference or additional information related to the purchase order. It could contain any supplementary details or references associated with the purchase order, such as order references, notes, or other relevant information.</li>\n<li><strong>\"contact_id\"</strong>: This field refers to the contact or supplier associated with the purchase order. It typically contains information about the supplier or vendor from whom the products or services are being ordered. The \"contact_id\" can include details such as the supplier's name, address, and contact information.</li>\n<li><strong>\"date\"</strong>: This field indicates the date of the purchase order. It represents the date on which the purchase order was created or issued. This date is important for tracking the timing of orders and managing the purchase process.</li>\n<li><strong>\"amount_total\"</strong>: This field represents the total amount or cost associated with the purchase order. It typically includes the calculated sum of the costs for the products or services ordered, including taxes and any additional charges.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>{****\"count\": true,</strong>\"order\": null,<strong>\"offset\": 0,</strong>\"limit\": 100,<strong>\"context\": {}****}</strong>: This is the fourth parameter and represents a dictionary with various options:<ol>\n<li><strong>\"count\": true</strong>: Specifies that you want to count the total number of records that match the search criteria. In this case, it allows you to determine how many purchase orders are in the \"confirmed\" state.</li>\n<li><strong>\"order\": null</strong>: Indicates that no specific sorting order is applied to the retrieved records. The records will be returned without any particular order.</li>\n<li><strong>\"offset\": 0</strong>: Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve records starting from the first record.</li>\n<li><strong>\"limit\": 100</strong>: Specifies the maximum number of records to retrieve, which is set to 100 in this request. It means that the request will fetch up to 100 purchase orders that are in the \"confirmed\" state in a single query. If there are more such records, additional requests may be needed.</li>\n<li><strong>\"context\": {}</strong>: Represents an empty context, which can be used to pass additional options or context information to the search_read operation. In this request, no specific additional context is provided.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"purchase.order\" entity. It retrieves purchase orders that are in the \"confirmed\" state and retrieves specific attributes such as the purchase order number, reference, associated contact, date, and total amount. Additionally, it counts the total number of matching records, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 records. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"95c73c64-268d-4403-832b-a19b9098771a","name":"params/purchase.order/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Chromium\";v=\"118\", \"Google Chrome\";v=\"118\", \"Not=A?Brand\";v=\"99\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1698736629735,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"purchase.order\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"state\",\r\n                    \"=\",\r\n                    \"confirmed\"\r\n                ]\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"ref\",\r\n                \"contact_id\",\r\n                \"date\",\r\n                \"amount_total\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-10-31 12:17:09\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 31 Oct 2023 07:52:54 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=OGfYtTehS4Fu43RfJGEAAvsu9x6giSDyDxWvyCJnhcve2dSSg2xLz6TL9ztsIatjGmpSwVhR3NbWrkD5lIU6k5gNxiTw1OxD4CRgRhsw6%2FjO7Ls6bqCg9I4BfWFAYcwbvi0keEF%2BeLYsCz1Biw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"81ea523e393a4d39-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 65,\n                \"amount_total\": 39694,\n                \"ref\": \"Fees till 31/12/2022\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2023-09-21\",\n                \"number\": \"PO2309001\"\n            },\n            {\n                \"id\": 64,\n                \"amount_total\": 15800,\n                \"ref\": \"QQ1035/KK/TGF/03072023\",\n                \"contact_id\": [\n                    1039,\n                    \"[C-0934] Quantum Computing Sdn. Bhd .\",\n                    null\n                ],\n                \"date\": \"2023-07-24\",\n                \"number\": \"PO2307001\"\n            },\n            {\n                \"id\": 63,\n                \"amount_total\": 38583.5,\n                \"ref\": \"Fees till 30/06/2022\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2022-11-01\",\n                \"number\": \"PO2305001\"\n            },\n            {\n                \"id\": 62,\n                \"amount_total\": 19043.43,\n                \"ref\": \"Fees till 31/12/2021\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2022-11-01\",\n                \"number\": \"PO2211001\"\n            },\n            {\n                \"id\": 60,\n                \"amount_total\": 19882.42,\n                \"ref\": \"Fees till 30/09/2021\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2022-06-07\",\n                \"number\": \"PO2206001\"\n            },\n            {\n                \"id\": 59,\n                \"amount_total\": 19882.42,\n                \"ref\": \"Fees till 30/06/2021\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2022-02-01\",\n                \"number\": \"PO2202001\"\n            },\n            {\n                \"id\": 57,\n                \"amount_total\": 19183.88,\n                \"ref\": \"Fees till 31/03/2021\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2021-10-20\",\n                \"number\": \"PO2110001\"\n            },\n            {\n                \"id\": 56,\n                \"amount_total\": 18631.89,\n                \"ref\": \"Fees till 31/12/2020\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2021-06-01\",\n                \"number\": \"PO2106001\"\n            },\n            {\n                \"id\": 55,\n                \"amount_total\": 18524.56,\n                \"ref\": \"Fees till 30/09/2020\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2021-03-01\",\n                \"number\": \"PO2103001\"\n            },\n            {\n                \"id\": 54,\n                \"amount_total\": 17227.65,\n                \"ref\": \"Fees till 31/06/2020\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2020-12-09\",\n                \"number\": \"PO2012001\"\n            },\n            {\n                \"id\": 53,\n                \"amount_total\": 1699,\n                \"ref\": null,\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2020-10-28\",\n                \"number\": \"PO2010001\"\n            },\n            {\n                \"id\": 52,\n                \"amount_total\": 18079.36,\n                \"ref\": \"Fees till 31/03/2020\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2020-09-16\",\n                \"number\": \"PO2009001\"\n            },\n            {\n                \"id\": 50,\n                \"amount_total\": 209.99,\n                \"ref\": null,\n                \"contact_id\": [\n                    472,\n                    \"[C-0389] Guangzhou Luckydoor Electronic Equipment Co., Ltd.\",\n                    null\n                ],\n                \"date\": \"2020-07-28\",\n                \"number\": \"PO2008001\"\n            },\n            {\n                \"id\": 48,\n                \"amount_total\": 777.82,\n                \"ref\": null,\n                \"contact_id\": [\n                    472,\n                    \"[C-0389] Guangzhou Luckydoor Electronic Equipment Co., Ltd.\",\n                    null\n                ],\n                \"date\": \"2020-07-28\",\n                \"number\": \"PO2007001\"\n            },\n            {\n                \"id\": 49,\n                \"amount_total\": 2054.45,\n                \"ref\": null,\n                \"contact_id\": [\n                    471,\n                    \"[C-0388] LECOM Technology Limited\",\n                    null\n                ],\n                \"date\": \"2020-07-24\",\n                \"number\": \"PO2007002\"\n            },\n            {\n                \"id\": 51,\n                \"amount_total\": 1853.51,\n                \"ref\": null,\n                \"contact_id\": [\n                    472,\n                    \"[C-0389] Guangzhou Luckydoor Electronic Equipment Co., Ltd.\",\n                    null\n                ],\n                \"date\": \"2020-07-16\",\n                \"number\": \"PO2008002\"\n            },\n            {\n                \"id\": 45,\n                \"amount_total\": 16592.18,\n                \"ref\": \"Fees till 31/12/2019\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2020-06-25\",\n                \"number\": \"PO2006002\"\n            },\n            {\n                \"id\": 47,\n                \"amount_total\": 1699,\n                \"ref\": null,\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2020-06-24\",\n                \"number\": \"PO2006001\"\n            },\n            {\n                \"id\": 46,\n                \"amount_total\": 5097,\n                \"ref\": null,\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2020-05-11\",\n                \"number\": \"PO2005001\"\n            },\n            {\n                \"id\": 44,\n                \"amount_total\": 8495,\n                \"ref\": null,\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2020-02-03\",\n                \"number\": \"PO2002002\"\n            },\n            {\n                \"id\": 41,\n                \"amount_total\": 15215,\n                \"ref\": \"Fees till 30/09/2019\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2020-01-28\",\n                \"number\": \"PO2001001\"\n            },\n            {\n                \"id\": 40,\n                \"amount_total\": 8495,\n                \"ref\": \"\",\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2019-12-04\",\n                \"number\": \"PO1912001\"\n            },\n            {\n                \"id\": 39,\n                \"amount_total\": 14960.75,\n                \"ref\": \"Fees till 31/06/2010\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2019-11-06\",\n                \"number\": \"PO1911001\"\n            },\n            {\n                \"id\": 38,\n                \"amount_total\": 14560.62,\n                \"ref\": \"Fees till 31/03/2019\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2019-08-28\",\n                \"number\": \"PO1908001\"\n            },\n            {\n                \"id\": 37,\n                \"amount_total\": 2519,\n                \"ref\": \"\",\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2019-04-18\",\n                \"number\": \"PO1904003\"\n            },\n            {\n                \"id\": 36,\n                \"amount_total\": 971,\n                \"ref\": \"SO-0024\",\n                \"contact_id\": [\n                    181,\n                    \"[C-0121] MCC Labels (Kuala Lumpur) Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2019-04-02\",\n                \"number\": \"PO1904002\"\n            },\n            {\n                \"id\": 35,\n                \"amount_total\": 12848,\n                \"ref\": \"Fees till 31/12/2018\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2019-04-02\",\n                \"number\": \"PO1904001\"\n            },\n            {\n                \"id\": 33,\n                \"amount_total\": 840,\n                \"ref\": \"\",\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2019-03-04\",\n                \"number\": \"PO1903001\"\n            },\n            {\n                \"id\": 14,\n                \"amount_total\": 8972,\n                \"ref\": \"Fees till 30/09/2018\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2019-01-19\",\n                \"number\": \"PO1901001\"\n            },\n            {\n                \"id\": 30,\n                \"amount_total\": 7120,\n                \"ref\": \"SO-0025\",\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2018-10-29\",\n                \"number\": \"PO1810005\"\n            },\n            {\n                \"id\": 32,\n                \"amount_total\": 451,\n                \"ref\": \"SO-0025\",\n                \"contact_id\": [\n                    181,\n                    \"[C-0121] MCC Labels (Kuala Lumpur) Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2018-10-10\",\n                \"number\": \"PO1810006\"\n            },\n            {\n                \"id\": 27,\n                \"amount_total\": 919,\n                \"ref\": \"SO-0024\",\n                \"contact_id\": [\n                    181,\n                    \"[C-0121] MCC Labels (Kuala Lumpur) Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2018-10-10\",\n                \"number\": \"PO1810002\"\n            },\n            {\n                \"id\": 28,\n                \"amount_total\": 4218,\n                \"ref\": \"SO-0024\",\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2018-10-09\",\n                \"number\": \"PO1810003\"\n            },\n            {\n                \"id\": 25,\n                \"amount_total\": 6678,\n                \"ref\": \"SO-0024\",\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2018-10-09\",\n                \"number\": \"PO1810001\"\n            },\n            {\n                \"id\": 23,\n                \"amount_total\": 3000,\n                \"ref\": \"2018/VAS/02\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2018-09-01\",\n                \"number\": \"PO1809002\"\n            },\n            {\n                \"id\": 22,\n                \"amount_total\": 4252,\n                \"ref\": \"Fees till 30/06/2018\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2018-06-30\",\n                \"number\": \"PO1806001\"\n            },\n            {\n                \"id\": 21,\n                \"amount_total\": 1000,\n                \"ref\": \"2018/INHE/04-1\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2018-06-01\",\n                \"number\": \"PO1809001\"\n            },\n            {\n                \"id\": 18,\n                \"amount_total\": 2519,\n                \"ref\": \"2018/DIYO/02\",\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2018-05-17\",\n                \"number\": \"PO1805001\"\n            },\n            {\n                \"id\": 17,\n                \"amount_total\": 3000,\n                \"ref\": \"2018/AGX/02\",\n                \"contact_id\": [\n                    111,\n                    \"[C-0052] Satheesh Kumar \",\n                    null\n                ],\n                \"date\": \"2018-04-27\",\n                \"number\": \"PO1804001\"\n            },\n            {\n                \"id\": 16,\n                \"amount_total\": 4000,\n                \"ref\": \"2018/DIYO/02\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2018-04-01\",\n                \"number\": \"PO1803004\"\n            },\n            {\n                \"id\": 15,\n                \"amount_total\": 6000,\n                \"ref\": \"2018/VAS/02\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2018-04-01\",\n                \"number\": \"PO1803003\"\n            },\n            {\n                \"id\": 24,\n                \"amount_total\": 630,\n                \"ref\": \"Fees till 31/03/2018\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2018-03-31\",\n                \"number\": \"PO1803002\"\n            },\n            {\n                \"id\": 13,\n                \"amount_total\": 44000,\n                \"ref\": \"2018/INHE/02\",\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2018-03-14\",\n                \"number\": \"PO1803001\"\n            }\n        ],\n        43\n    ],\n    \"error\": null,\n    \"id\": 1698736629735,\n    \"dt\": 102\n}"}],"_postman_id":"12c26a29-7bdd-4de3-b151-ce9338638839"}],"id":"6e0e4a6f-d3e8-4d24-9774-a97d5d5370bf","_postman_id":"6e0e4a6f-d3e8-4d24-9774-a97d5d5370bf","description":""},{"name":"Purchasing","item":[{"name":"Purchase Orders","item":[{"name":"params/inline.help/search_read","id":"5903772d-84e2-4bad-9c46-129bf2871ade","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700460912917,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"purchase\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-20 11:14:07\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-20112023\">Request added on: 20/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"purchase\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"inline.help\" entity, which might be related to providing inline help or assistance within the system.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[<strong><strong>[</strong></strong>[**</strong>\"action\",<strong><strong>\"=\",</strong></strong>\"purchase\"<strong><strong>]</strong></strong>]**<strong>]</strong>: This is the third parameter and consists of a single list:<ol>\n<li>The list, <code>[ [ [ \"action\", \"=\", \"purchase\" ] ] ]</code>, represents the search domain. It includes a condition that filters records where the \"action\" is equal to \"purchase\". This helps narrow down the search to specific records related to the \"purchase\" action.<ol>\n<li><strong>\"action\"</strong>: This is the first element of the list and represents a field or attribute in the system. In this case, it is likely a field named \"action.\"</li>\n<li><strong>\"=\"</strong>: This is the second element of the list and represents the comparison operator. In this context, it is checking for equality.</li>\n<li><strong>\"purchase\"</strong>: This is the third element of the list and represents the value that the \"action\" field should be equal to. In other words, it specifies a condition that the \"action\" field must have the value \"purchase\" for a record to be considered a match.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>{}</strong>: This is the fourth parameter and represents an empty dictionary. In the context of this request, it indicates that no additional options or context information is provided.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity. It retrieves records that match the criteria of having the \"action\" equal to \"purchase\". No specific fields are requested for retrieval, and no additional context is provided in this request. The purpose of this request is likely to gather information or assistance related to the \"purchase\" action within the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"fef12307-902c-4680-8c9f-2e0127a456b6","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700460912917,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"purchase\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-20 11:14:07\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 20 Nov 2023 06:17:13 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=f828Sn%2F65Yh5vClMhfMssUUeWMt3bDllwPwi9diN%2Fm5aNHs%2BpO84QulniJmJMOx%2B15gtgeui0NTxo97S%2FZKKTeMM1jWkLAhnslY3lUbQlGRV5LuXkXtLwtk4NQSNF1ijKXPKMPUkMPLe5ctpHg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"828e918f9dc46fa5-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1700460912917,\n    \"dt\": 10\n}"}],"_postman_id":"5903772d-84e2-4bad-9c46-129bf2871ade"},{"name":"params/purchase.order/search_read","id":"d697abf1-494b-4e8d-b0b5-8d69f47f73b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700460912924,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"purchase.order\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"ref\",\r\n                \"contact_id\",\r\n                \"date\",\r\n                \"is_delivered\",\r\n                \"is_paid\",\r\n                \"state\",\r\n                \"amount_total\",\r\n                \"currency_id\",\r\n                \"procurement_employee_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-20 11:14:07\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-20112023\">Request added on: 20/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"purchase.order\",<br />\"search_read\",<br />[<br />[<br />[]<br />],<br />[<br />\"number\",<br />\"ref\",<br />\"contact_id\",<br />\"date\",<br />\"is_delivered\",<br />\"is_paid\",<br />\"state\",<br />\"amount_total\",<br />\"currency_id\",<br />\"procurement_employee_id\"<br />]<br />],<br />{<br />\"count\": true,<br />\"order\": null,<br />\"offset\": 0,<br />\"limit\": 100,<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"purchase.order\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"purchase.order\" entity, indicating that the operation will be performed within this entity, likely related to purchase orders.</p>\n</li>\n<li><p><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</p>\n</li>\n<li><p>The third parameter is a list containing an empty list: [ [ ] ]. This indicates that there are no specific conditions or filters applied to the records being retrieved. The request aims to retrieve all records from the \"purchase.order\" entity without any specific filtering conditions.</p>\n<ol>\n<li><p>The second part of the third parameter is a list of fields to retrieve for each record: [\"number\", \"ref\", \"contact_id\", \"date\", \"is_delivered\", \"is_paid\", \"state\", \"amount_total\", \"currency_id\", \"procurement_employee_id\"].</p>\n<ol>\n<li><p><strong>\"number\":</strong> Represents the purchase order number, which is a unique identifier for each purchase order.</p>\n</li>\n<li><p><strong>\"ref\":</strong> Represents a reference or additional information associated with the purchase order.</p>\n</li>\n<li><p><strong>\"contact_id\":</strong> Represents the contact or supplier associated with the purchase order.</p>\n</li>\n<li><p><strong>\"date\":</strong> Represents the date when the purchase order was created or processed.</p>\n</li>\n<li><p><strong>\"is_delivered\":</strong> Likely represents a boolean field indicating whether the purchase order has been delivered.</p>\n</li>\n<li><p><strong>\"is_paid\":</strong> Likely represents a boolean field indicating whether the purchase order has been paid.</p>\n</li>\n<li><p><strong>\"state\":</strong> Represents the current state or status of the purchase order (e.g., confirmed, draft).</p>\n</li>\n<li><p><strong>\"amount_total\":</strong> Represents the total amount or cost associated with the purchase order.</p>\n</li>\n<li><p><strong>\"currency_id\":</strong> Represents the currency used for the purchase order transactions.</p>\n</li>\n<li><p><strong>\"procurement_employee_id\":</strong> Represents the employee or user responsible for procurement activities associated with the purchase order.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with various options:</p>\n<ol>\n<li><p><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. This allows you to determine how many purchase order records exist in the system.</p>\n</li>\n<li><p><strong>\"order\": null:</strong> Indicates that no specific sorting order is applied to the retrieved records. The records will be returned without any particular order.</p>\n</li>\n<li><p><strong>\"offset\": 0:</strong> Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve records starting from the first record.</p>\n</li>\n<li><p><strong>\"limit\": 100:</strong> Specifies the maximum number of records to retrieve, set to 100 in this request. It means that the request will fetch up to 100 purchase order records in a single query. If there are more records, additional requests may be needed.</p>\n</li>\n<li><p><strong>\"context\": {}:</strong> Represents an empty context, indicating that no additional context is provided in this request.</p>\n</li>\n</ol>\n</li>\n</ol>\n<p><strong>Summary:</strong><br />This request is performing a search and read operation within the \"purchase.order\" entity. It retrieves all purchase order records without specific filtering conditions and retrieves the specified fields for each record. Additionally, it counts the total number of matching records, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 records. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"59bab5d3-d947-47f5-ac83-9e0390e54747","name":"params/purchase.order/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700460912924,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"purchase.order\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"ref\",\r\n                \"contact_id\",\r\n                \"date\",\r\n                \"is_delivered\",\r\n                \"is_paid\",\r\n                \"state\",\r\n                \"amount_total\",\r\n                \"currency_id\",\r\n                \"procurement_employee_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-20 11:14:07\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 20 Nov 2023 06:35:43 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=1sYbJB8Wiwh%2FJhsBs4ykNYrQaPjFdDtcmot11IWUS%2BLN%2F41uMNKuMLjuV%2F%2Fvt13D5mOTuQ%2FnhmEL1m%2BJOeeFkLWpX3CBDt21rFHcceA7J3PmQCOC6Gvi516Aeu%2FgmbNdQF8tqC%2FLtv2SwghqdA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"828eaca23b646eb6-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 65,\n                \"number\": \"PO2309001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2023-09-21\",\n                \"amount_total\": 39694,\n                \"state\": \"confirmed\",\n                \"ref\": \"Fees till 31/12/2022\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": false,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 64,\n                \"number\": \"PO2307001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    1039,\n                    \"[C-0934] Quantum Computing Sdn. Bhd .\",\n                    null\n                ],\n                \"date\": \"2023-07-24\",\n                \"amount_total\": 15800,\n                \"state\": \"confirmed\",\n                \"ref\": \"QQ1035/KK/TGF/03072023\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 63,\n                \"number\": \"PO2305001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2022-11-01\",\n                \"amount_total\": 38583.5,\n                \"state\": \"confirmed\",\n                \"ref\": \"Fees till 30/06/2022\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 62,\n                \"number\": \"PO2211001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2022-11-01\",\n                \"amount_total\": 19043.43,\n                \"state\": \"confirmed\",\n                \"ref\": \"Fees till 31/12/2021\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 60,\n                \"number\": \"PO2206001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2022-06-07\",\n                \"amount_total\": 19882.42,\n                \"state\": \"confirmed\",\n                \"ref\": \"Fees till 30/09/2021\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 59,\n                \"number\": \"PO2202001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2022-02-01\",\n                \"amount_total\": 19882.42,\n                \"state\": \"confirmed\",\n                \"ref\": \"Fees till 30/06/2021\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 57,\n                \"number\": \"PO2110001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2021-10-20\",\n                \"amount_total\": 19183.88,\n                \"state\": \"confirmed\",\n                \"ref\": \"Fees till 31/03/2021\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 56,\n                \"number\": \"PO2106001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2021-06-01\",\n                \"amount_total\": 18631.89,\n                \"state\": \"confirmed\",\n                \"ref\": \"Fees till 31/12/2020\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 55,\n                \"number\": \"PO2103001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2021-03-01\",\n                \"amount_total\": 18524.56,\n                \"state\": \"confirmed\",\n                \"ref\": \"Fees till 30/09/2020\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 54,\n                \"number\": \"PO2012001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2020-12-09\",\n                \"amount_total\": 17227.65,\n                \"state\": \"confirmed\",\n                \"ref\": \"Fees till 31/06/2020\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 53,\n                \"number\": \"PO2010001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2020-10-28\",\n                \"amount_total\": 1699,\n                \"state\": \"confirmed\",\n                \"ref\": null,\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": false\n            },\n            {\n                \"id\": 52,\n                \"number\": \"PO2009001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2020-09-16\",\n                \"amount_total\": 18079.36,\n                \"state\": \"confirmed\",\n                \"ref\": \"Fees till 31/03/2020\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 50,\n                \"number\": \"PO2008001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    472,\n                    \"[C-0389] Guangzhou Luckydoor Electronic Equipment Co., Ltd.\",\n                    null\n                ],\n                \"date\": \"2020-07-28\",\n                \"amount_total\": 209.99,\n                \"state\": \"confirmed\",\n                \"ref\": null,\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 48,\n                \"number\": \"PO2007001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    472,\n                    \"[C-0389] Guangzhou Luckydoor Electronic Equipment Co., Ltd.\",\n                    null\n                ],\n                \"date\": \"2020-07-28\",\n                \"amount_total\": 777.82,\n                \"state\": \"confirmed\",\n                \"ref\": null,\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": false\n            },\n            {\n                \"id\": 49,\n                \"number\": \"PO2007002\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    471,\n                    \"[C-0388] LECOM Technology Limited\",\n                    null\n                ],\n                \"date\": \"2020-07-24\",\n                \"amount_total\": 2054.45,\n                \"state\": \"confirmed\",\n                \"ref\": null,\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 51,\n                \"number\": \"PO2008002\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    472,\n                    \"[C-0389] Guangzhou Luckydoor Electronic Equipment Co., Ltd.\",\n                    null\n                ],\n                \"date\": \"2020-07-16\",\n                \"amount_total\": 1853.51,\n                \"state\": \"confirmed\",\n                \"ref\": null,\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": false,\n                \"is_delivered\": false\n            },\n            {\n                \"id\": 45,\n                \"number\": \"PO2006002\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2020-06-25\",\n                \"amount_total\": 16592.18,\n                \"state\": \"confirmed\",\n                \"ref\": \"Fees till 31/12/2019\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 47,\n                \"number\": \"PO2006001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2020-06-24\",\n                \"amount_total\": 1699,\n                \"state\": \"confirmed\",\n                \"ref\": null,\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": false\n            },\n            {\n                \"id\": 46,\n                \"number\": \"PO2005001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2020-05-11\",\n                \"amount_total\": 5097,\n                \"state\": \"confirmed\",\n                \"ref\": null,\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": false\n            },\n            {\n                \"id\": 42,\n                \"number\": \"PO2002001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2020-02-28\",\n                \"amount_total\": 1699,\n                \"state\": \"draft\",\n                \"ref\": null,\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": false\n            },\n            {\n                \"id\": 44,\n                \"number\": \"PO2002002\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2020-02-03\",\n                \"amount_total\": 8495,\n                \"state\": \"confirmed\",\n                \"ref\": null,\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": false,\n                \"is_delivered\": false\n            },\n            {\n                \"id\": 41,\n                \"number\": \"PO2001001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2020-01-28\",\n                \"amount_total\": 15215,\n                \"state\": \"confirmed\",\n                \"ref\": \"Fees till 30/09/2019\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 40,\n                \"number\": \"PO1912001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2019-12-04\",\n                \"amount_total\": 8495,\n                \"state\": \"confirmed\",\n                \"ref\": \"\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": false\n            },\n            {\n                \"id\": 39,\n                \"number\": \"PO1911001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2019-11-06\",\n                \"amount_total\": 14960.75,\n                \"state\": \"confirmed\",\n                \"ref\": \"Fees till 31/06/2010\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 38,\n                \"number\": \"PO1908001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2019-08-28\",\n                \"amount_total\": 14560.62,\n                \"state\": \"confirmed\",\n                \"ref\": \"Fees till 31/03/2019\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 37,\n                \"number\": \"PO1904003\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2019-04-18\",\n                \"amount_total\": 2519,\n                \"state\": \"confirmed\",\n                \"ref\": \"\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": false\n            },\n            {\n                \"id\": 36,\n                \"number\": \"PO1904002\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    181,\n                    \"[C-0121] MCC Labels (Kuala Lumpur) Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2019-04-02\",\n                \"amount_total\": 971,\n                \"state\": \"confirmed\",\n                \"ref\": \"SO-0024\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": false\n            },\n            {\n                \"id\": 35,\n                \"number\": \"PO1904001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2019-04-02\",\n                \"amount_total\": 12848,\n                \"state\": \"confirmed\",\n                \"ref\": \"Fees till 31/12/2018\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 33,\n                \"number\": \"PO1903001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2019-03-04\",\n                \"amount_total\": 840,\n                \"state\": \"confirmed\",\n                \"ref\": \"\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": false\n            },\n            {\n                \"id\": 14,\n                \"number\": \"PO1901001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2019-01-19\",\n                \"amount_total\": 8972,\n                \"state\": \"confirmed\",\n                \"ref\": \"Fees till 30/09/2018\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 30,\n                \"number\": \"PO1810005\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2018-10-29\",\n                \"amount_total\": 7120,\n                \"state\": \"confirmed\",\n                \"ref\": \"SO-0025\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": false\n            },\n            {\n                \"id\": 29,\n                \"number\": \"PO1810004\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2018-10-14\",\n                \"amount_total\": 4000,\n                \"state\": \"voided\",\n                \"ref\": \"SO-0021\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": false,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 32,\n                \"number\": \"PO1810006\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    181,\n                    \"[C-0121] MCC Labels (Kuala Lumpur) Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2018-10-10\",\n                \"amount_total\": 451,\n                \"state\": \"confirmed\",\n                \"ref\": \"SO-0025\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": false\n            },\n            {\n                \"id\": 27,\n                \"number\": \"PO1810002\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    181,\n                    \"[C-0121] MCC Labels (Kuala Lumpur) Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2018-10-10\",\n                \"amount_total\": 919,\n                \"state\": \"confirmed\",\n                \"ref\": \"SO-0024\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": false\n            },\n            {\n                \"id\": 28,\n                \"number\": \"PO1810003\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2018-10-09\",\n                \"amount_total\": 4218,\n                \"state\": \"confirmed\",\n                \"ref\": \"SO-0024\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": false,\n                \"is_delivered\": false\n            },\n            {\n                \"id\": 25,\n                \"number\": \"PO1810001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2018-10-09\",\n                \"amount_total\": 6678,\n                \"state\": \"confirmed\",\n                \"ref\": \"SO-0024\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": false\n            },\n            {\n                \"id\": 23,\n                \"number\": \"PO1809002\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2018-09-01\",\n                \"amount_total\": 3000,\n                \"state\": \"confirmed\",\n                \"ref\": \"2018/VAS/02\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 22,\n                \"number\": \"PO1806001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2018-06-30\",\n                \"amount_total\": 4252,\n                \"state\": \"confirmed\",\n                \"ref\": \"Fees till 30/06/2018\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 21,\n                \"number\": \"PO1809001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2018-06-01\",\n                \"amount_total\": 1000,\n                \"state\": \"confirmed\",\n                \"ref\": \"2018/INHE/04-1\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 18,\n                \"number\": \"PO1805001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    71,\n                    \"[C-0013] Red Zone Solution Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2018-05-17\",\n                \"amount_total\": 2519,\n                \"state\": \"confirmed\",\n                \"ref\": \"2018/DIYO/02\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": false,\n                \"is_delivered\": false\n            },\n            {\n                \"id\": 17,\n                \"number\": \"PO1804001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    111,\n                    \"[C-0052] Satheesh Kumar \",\n                    null\n                ],\n                \"date\": \"2018-04-27\",\n                \"amount_total\": 3000,\n                \"state\": \"confirmed\",\n                \"ref\": \"2018/AGX/02\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": true,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 16,\n                \"number\": \"PO1803004\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2018-04-01\",\n                \"amount_total\": 4000,\n                \"state\": \"confirmed\",\n                \"ref\": \"2018/DIYO/02\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": false,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 15,\n                \"number\": \"PO1803003\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2018-04-01\",\n                \"amount_total\": 6000,\n                \"state\": \"confirmed\",\n                \"ref\": \"2018/VAS/02\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": false,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 24,\n                \"number\": \"PO1803002\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2018-03-31\",\n                \"amount_total\": 630,\n                \"state\": \"confirmed\",\n                \"ref\": \"Fees till 31/03/2018\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": false,\n                \"is_delivered\": true\n            },\n            {\n                \"id\": 13,\n                \"number\": \"PO1803001\",\n                \"procurement_employee_id\": null,\n                \"contact_id\": [\n                    80,\n                    \"[C-0021] Netforce Software Co. Ltd.\",\n                    null\n                ],\n                \"date\": \"2018-03-14\",\n                \"amount_total\": 44000,\n                \"state\": \"confirmed\",\n                \"ref\": \"2018/INHE/02\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"is_paid\": false,\n                \"is_delivered\": true\n            }\n        ],\n        45\n    ],\n    \"error\": null,\n    \"id\": 1700460912924,\n    \"dt\": 895\n}"}],"_postman_id":"d697abf1-494b-4e8d-b0b5-8d69f47f73b2"}],"id":"3dcfdd8a-4987-4425-b52d-824765f8f442","_postman_id":"3dcfdd8a-4987-4425-b52d-824765f8f442","description":""},{"name":"Purchase Requests","item":[{"name":"params/inline.help/search_read","id":"8c93ae44-8eb2-4e03-8413-c7118d063183","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700463909721,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"purchase_request\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-20 12:04:43\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-21112023\">Request added on: 21/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"inline.help\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"action\",<strong>\"=\",</strong>\"purchase_request\"<strong>]</strong>]<strong>],****{},</strong></p>\n<ol>\n<li><strong>\"inline.help\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"inline.help\" entity, which might be related to providing inline help or assistance within the system.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li>The third parameter is a list containing a single list: [ [ [\"action\", \"=\", \"purchase_request\"] ] ]. This represents the search domain and includes a condition that filters records where the \"action\" is equal to \"purchase_request.\"<ol>\n<li><strong>\"action\":</strong> This is the field or attribute in the entity being queried. In this case, it's the \"action\" field.</li>\n<li><strong>\"=\":</strong> This is the operator used for the condition. It signifies that the value of the \"action\" field must be equal to the specified value.</li>\n<li><strong>\"purchase_request\":</strong> This is the value to which the \"action\" field is being compared. The condition ensures that only records where the \"action\" is equal to \"purchase_request\" will be retrieved.</li>\n</ol>\n</li>\n<li>The fourth parameter is an empty dictionary ({}), indicating that no specific fields are requested for retrieval. The request aims to retrieve all available fields for records that match the specified search criteria.</li>\n</ol>\n<p>In summary, This request is performing a search and read operation within the \"inline.help\" entity, specifically targeting records where the \"action\" is equal to \"purchase_request.\" The goal is to retrieve information related to purchase requests without specifying particular fields for retrieval.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"df99c4b3-cd4c-4283-983b-948eee328846","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700463909721,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"purchase_request\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-20 12:04:43\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 20 Nov 2023 07:12:28 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=cfGRu6ut71uzcl0A%2FLcm5Db%2F%2FP4vBe39Q0VaBYxpSh%2BpxUa85f28XY5b6MT5yl5SwjliUPP4F0lCREu2NMD0a%2B%2F%2B4wLkz4ZTJFzwgE02dbxlVR635WlRHPv2vflDbWE4QZVWu7EwOQ8hGwvt2w%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"828ee27fef9b6f45-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1700463909721,\n    \"dt\": 6\n}"}],"_postman_id":"8c93ae44-8eb2-4e03-8413-c7118d063183"},{"name":"params/purchase.request/search_read","id":"c5f14808-7242-4ccc-8b3a-a20e065c22ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700463909728,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"purchase.request\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"ref\",\r\n                \"employee_id\",\r\n                \"date\",\r\n                \"date_required\",\r\n                \"other_info\",\r\n                \"department_id\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-20 12:04:43\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-21112023\">Request added on: 21/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"purchase.request\",</strong>\"search_read\",<strong>[</strong>[<strong>[]</strong>],<strong>[</strong>\"number\",<strong>\"ref\",</strong>\"employee_id\",<strong>\"date\",</strong>\"date_required\",<strong>\"other_info\",</strong>\"department_id\",<strong>\"state\"<strong>]</strong>],</strong>{<strong>\"count\": true,</strong>\"order\": null,<strong>\"offset\": 0,</strong>\"limit\": 100,<strong>\"context\": {}****},</strong></p>\n<ol>\n<li><strong>\"purchase.request\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"purchase.request\" entity, indicating that the operation will be performed within this entity, likely related to purchase requests.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>Search Criteria and Fields to Retrieve:</strong><ol>\n<li><strong>Search Domain:</strong> The third parameter is a list containing an empty list: [ [ ] ]. This indicates that there are no specific conditions or filters applied to the records being retrieved. The request aims to retrieve all records from the \"purchase.request\" entity without any specific filtering conditions.</li>\n<li><strong>Fields to Retrieve:</strong> The second part of the third parameter is a list of fields to retrieve for each record: [\"number\", \"ref\", \"employee_id\", \"date\", \"date_required\", \"other_info\", \"department_id\", \"state\"].<ol>\n<li><strong>\"number\"</strong>: Represents the purchase request number, which is a unique identifier for each purchase request.</li>\n<li><strong>\"ref\":</strong> Represents a reference or additional information associated with the purchase request.</li>\n<li><strong>\"employee_id\":</strong> Represents the employee or user associated with the purchase request.</li>\n<li><strong>\"date\":</strong> Represents the date when the purchase request was created or processed.</li>\n<li><strong>\"date_required\":</strong> Represents the date by which the requested items are needed.</li>\n<li><strong>\"other_info\":</strong> Represents additional information related to the purchase request.</li>\n<li><strong>\"department_id\":</strong> Represents the department associated with the purchase request.</li>\n<li><strong>\"state\":</strong> Represents the current state or status of the purchase request (e.g., approved, pending).</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>AdditContext:</strong> The fourth parameter is a dictionary with various options:<ol>\n<li><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. This allows you to determine how many purchase request records exist in the system.</li>\n<li><strong>\"order\": null:</strong> Indicates that no specific sorting order is applied to the retrieved records. The records will be returned without any particular order.</li>\n<li><strong>\"offset\": 0:</strong> Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve records starting from the first record.</li>\n<li><strong>\"limit\": 100:</strong> Specifies the maximum number of records to retrieve, set to 100 in this request. It means that the request will fetch up to 100 purchase request records in a single query. If there are more records, additional requests may be needed.</li>\n<li><strong>\"context\": {}:</strong> Represents an empty context, indicating that no additional context is provided in this request.</li>\n</ol>\n</li>\n<li><strong>Summary:</strong> This request is performing a search and read operation within the \"purchase.request\" entity. It retrieves all purchase request records without specific filtering conditions and retrieves the specified fields for each record. Additionally, it counts the total number of matching records, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 records. No additional context is provided in this request.</li>\n</ol>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"da6d1b44-f922-42e2-8752-f6bffd50d317","name":"params/purchase.request/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700463909728,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"purchase.request\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"ref\",\r\n                \"employee_id\",\r\n                \"date\",\r\n                \"date_required\",\r\n                \"other_info\",\r\n                \"department_id\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-20 12:04:43\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 20 Nov 2023 07:39:24 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=%2BvBvKrUGahJrq9CIkaiqjp9SMuXOEGReqgu5vGHFs0%2F050xDnkQXkiPW2mG0Pn6zP5vpKsKH2fcFl%2F3W17%2B7DZLdvZ7z8yittqG6LOY%2Fi7kqwkk8%2Bppm2w6GO%2BpFEFoDkeCioz38a8W%2Fair%2FyQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"828f09f11e386f8d-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1700463909728,\n    \"dt\": 16\n}"}],"_postman_id":"c5f14808-7242-4ccc-8b3a-a20e065c22ef"}],"id":"88acabf2-98a8-43c2-97a8-a9e56059395e","_postman_id":"88acabf2-98a8-43c2-97a8-a9e56059395e","description":""},{"name":"Purchase Returns","item":[{"name":"params/inline.help/search_read","id":"81b34035-cc2a-4dfd-9d16-6c85a8c99961","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700628670722,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"purchase_return\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-22 09:50:32\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-22112023\">Request added on: 22/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"purchase_return\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"inline.help\" entity, which might be related to providing inline help or assistance within the system.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li>The third parameter is a list containing a single list:<ol>\n<li>The list, [ [ [ \"action\", \"=\", \"purchase_return\" ] ] ], represents the search domain. It includes a condition that filters records where the \"action\" is equal to \"purchase_return.\" This helps narrow down the search to specific records related to the \"purchase_return\" action.</li>\n<li><strong>\"action\":</strong> This is the first element of the list and represents a field or attribute in the system. In this case, it is likely a field named \"action.\"</li>\n<li><strong>\"=\":</strong> This is the second element of the list and represents the comparison operator. In this context, it is checking for equality. It's used to compare the field on the left with the value on the right to check if they are equal.</li>\n<li><strong>\"purchase_return\":</strong> This is the third element of the list and represents the value that the \"action\" field should be equal to. In other words, it specifies a condition that the \"action\" field must have the value \"purchase_return\" for a record to be considered a match.</li>\n</ol>\n</li>\n<li><strong>Context:</strong> The fourth parameter is an empty dictionary: {}. In the context of this request, it indicates that no additional options or context information is provided.</li>\n</ol>\n<p><strong>Summary:</strong><br />This request is performing a search and read operation within the \"inline.help\" entity. It retrieves records that match the criteria of having the \"action\" equal to \"purchase_return.\" No specific fields are requested for retrieval, and no additional context is provided in this request. The purpose of this request is likely to gather information or assistance related to the \"purchase_return\" action within the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"27f023e8-6ff4-46cc-a1ef-4d186975d77d","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700628670722,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"purchase_return\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-22 09:50:32\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Nov 2023 04:53:00 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Jnlu0gqKKPT8b5zpYYwgev9ztZgprqcqpETC6kHOv89vN38FPJEGoTUVNEGonz6cE1ECVwong302FnFkzsd9znledaUiLe1EvMJOsaBlJHkw4DBFlP3jYgC%2BvFknOHWI7iGIAovZ85bGZmI3jA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"829e90f18b5c6f19-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1700628670722,\n    \"dt\": 81\n}"}],"_postman_id":"81b34035-cc2a-4dfd-9d16-6c85a8c99961"},{"name":"params/purchase.return/search_read","id":"578f3738-0528-4d2b-babf-1f4975fceecf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700628670730,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"purchase.return\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"ref\",\r\n                \"contact_id\",\r\n                \"date\",\r\n                \"is_delivered\",\r\n                \"is_paid\",\r\n                \"state\",\r\n                \"amount_total\",\r\n                \"currency_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-22 09:50:32\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-22112023\">Request added on: 22/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"purchase.return\",<br />\"search_read\",<br />[<br />[<br />[]<br />],<br />[<br />\"number\",<br />\"ref\",<br />\"contact_id\",<br />\"date\",<br />\"is_delivered\",<br />\"is_paid\",<br />\"state\",<br />\"amount_total\",<br />\"currency_id\"<br />]<br />],<br />{<br />\"count\": true,<br />\"order\": null,<br />\"offset\": 0,<br />\"limit\": 100,<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"purchase.return\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"purchase.return\" entity, indicating that the operation will be performed within this entity, likely related to purchase returns.</p>\n</li>\n<li><p><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</p>\n</li>\n<li><p>The third parameter is a list containing two lists:</p>\n<ol>\n<li><p>The first list, [ [] ], represents the search domain. An empty search domain means that there are no specific conditions or filters applied to the records being retrieved. The request aims to retrieve all records from the \"purchase.return\" entity without any specific filtering conditions.</p>\n</li>\n<li><p>The second list, [\"number\", \"ref\", \"contact_id\", \"date\", \"is_delivered\", \"is_paid\", \"state\", \"amount_total\", \"currency_id\"], specifies the fields (attributes) of the records to be included in the response:</p>\n<ol>\n<li><p><strong>\"number\":</strong> Represents the purchase return number, a unique identifier for each purchase return.</p>\n</li>\n<li><p><strong>\"ref\":</strong> Represents a reference or additional information associated with the purchase return.</p>\n</li>\n<li><p><strong>\"contact_id\":</strong> Represents the contact or supplier associated with the purchase return.</p>\n</li>\n<li><p><strong>\"date\":</strong> Represents the date when the purchase return was created or processed.</p>\n</li>\n<li><p><strong>\"is_delivered\":</strong> Likely represents a boolean field indicating whether the purchase return has been delivered.</p>\n</li>\n<li><p><strong>\"is_paid\":</strong> Likely represents a boolean field indicating whether the purchase return has been paid.</p>\n</li>\n<li><p><strong>\"state\":</strong> Represents the current state or status of the purchase return (e.g., confirmed, draft).</p>\n</li>\n<li><p><strong>\"amount_total\":</strong> Represents the total amount or cost associated with the purchase return.</p>\n</li>\n<li><p><strong>\"currency_id\":</strong> Represents the currency used for the purchase return transactions.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with various options:</p>\n<ol>\n<li><p><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. This allows you to determine how many purchase return records exist in the system.</p>\n</li>\n<li><p><strong>\"order\": null:</strong> Indicates that no specific sorting order is applied to the retrieved records. The records will be returned without any particular order.</p>\n</li>\n<li><p><strong>\"offset\": 0:</strong> Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve records starting from the first record.</p>\n</li>\n<li><p><strong>\"limit\": 100:</strong> Specifies the maximum number of records to retrieve, set to 100 in this request. It means that the request will fetch up to 100 purchase return records in a single query. If there are more records, additional requests may be needed.</p>\n</li>\n<li><p><strong>\"context\": {}:</strong> Represents an empty context, indicating that no additional context is provided in this request.</p>\n</li>\n</ol>\n</li>\n</ol>\n<p><strong>Summary:</strong><br />This request is performing a search and read operation within the \"purchase.return\" entity. It retrieves all purchase return records without specific filtering conditions and retrieves the specified fields for each record. Additionally, it counts the total number of matching records, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 records. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"cb066cd5-0fb6-42bc-9588-819896202f9e","name":"params/purchase.return/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700628670730,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"purchase.return\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"ref\",\r\n                \"contact_id\",\r\n                \"date\",\r\n                \"is_delivered\",\r\n                \"is_paid\",\r\n                \"state\",\r\n                \"amount_total\",\r\n                \"currency_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-22 09:50:32\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Nov 2023 05:02:09 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=pIih9SDpEVOG%2BMh1OySOLFQK6NOvQPXGapcPqj7IdwKHLoTIOYTGWIFFTD9621s9wgTI%2FaZKH2WTd4S9AiF3D1h95O2cwTIOeDb8N2lbcql5Nlc9zJh6R%2B7eneBx00V5ljhCsgEo7OGxGDGgNQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"829e9e5a3a166ec6-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1700628670730,\n    \"dt\": 13\n}"}],"_postman_id":"578f3738-0528-4d2b-babf-1f4975fceecf"}],"id":"13d9f990-662b-4852-9a39-ff709936f1ee","_postman_id":"13d9f990-662b-4852-9a39-ff709936f1ee","description":""}],"id":"45a26d0f-0df9-4eb7-ad7a-0ea91e629b26","_postman_id":"45a26d0f-0df9-4eb7-ad7a-0ea91e629b26","description":""},{"name":"Reports","item":[{"name":"Purchase Order Generator","item":[{"name":"params/report.purchase.gen3/default_get","id":"1a3966bc-1e75-4276-b350-09773334cccb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700637765204,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.purchase.gen3\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"product_categ_id\",\r\n                \"supplier_id\",\r\n                \"product_id\",\r\n                \"filter_min_stock\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-22 12:22:27\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-22112023\">Request added on: 22/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.purchase.gen3\",<strong>**\"default_get\",<strong><strong>[</strong></strong>[**</strong>\"product_categ_id\",<strong><strong>\"supplier_id\",</strong></strong>\"product_id\",<strong>**\"filter_min_stock\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"report.purchase.gen3\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"report.purchase.gen3\" entity or module, likely related to generating purchase reports with a third-generation structure.</li>\n<li><strong>\"default_get\":</strong> The second parameter specifies the action to be performed on the entity. \"default_get\" is an action that typically retrieves default values for fields when creating a new record or document.</li>\n<li>The third parameter is a list containing a single list:<ol>\n<li>The list, [\"product_categ_id\", \"supplier_id\", \"product_id\", \"filter_min_stock\"], represents the fields for which default values are being retrieved. These fields are likely relevant to the generation of purchase reports with the specified structure.<ol>\n<li><strong>\"product_categ_id\":</strong> Represents the product category associated with the default values.</li>\n<li><strong>\"supplier_id\":</strong> Represents the default supplier associated with the purchase reports.</li>\n<li><strong>\"product_id\":</strong> Represents the default product associated with the purchase reports.</li>\n<li><strong>\"filter_min_stock\":</strong> Represents a filter or condition related to minimum stock levels in the context of purchase reports.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Context:</strong> The fourth parameter is a dictionary with various options:<ol>\n<li><strong>\"context\": {}:</strong> Represents an empty context. The context can be used to pass additional options or context information to the operation. In this specific request, no specific context information is provided.</li>\n</ol>\n</li>\n</ol>\n<p><strong>Summary:</strong><br />This request is performing a \"default_get\" operation within the \"report.purchase.gen3\" entity or module. It retrieves default values for fields such as \"product_categ_id,\" \"supplier_id,\" \"product_id,\" and \"filter_min_stock.\" These default values are likely used when creating or generating purchase reports with a third-generation structure. No specific context options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"8edffcaf-5cf6-4405-b4b7-0ede29449fe9","name":"params/report.purchase.gen3/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700637765204,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.purchase.gen3\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"product_categ_id\",\r\n                \"supplier_id\",\r\n                \"product_id\",\r\n                \"filter_min_stock\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-22 12:22:27\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"Method Not Allowed","code":405,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Nov 2023 09:31:45 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=C6yWuZktKm15WZv8KVY3uDJG8yTKxSKYOPmHD5A2LVGEcvtvzaRmssMfacXBjcdepiMFZeYtb1XuE3rJQwp3GlGbu4riZ5EFlvWLI3NrIE4gs6Dx%2B%2BOEHXl%2BgLr1yoO5yzOymEiEF%2Foc8Puzug%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"82a029447f186ebb-CDG"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"<html>\n    <title>405: Method Not Allowed</title>\n    <body>405: Method Not Allowed</body>\n</html>"}],"_postman_id":"1a3966bc-1e75-4276-b350-09773334cccb"},{"name":"params/report.purchase.gen3/get_report_data","id":"a748897a-3cea-4bd1-8e5f-8765c39df5ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700637765209,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.purchase.gen3\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-22 12:22:27\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-22112023\">Request added on: 22/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.purchase.gen3\",<strong>**\"get_report_data\",<strong><strong>[</strong></strong>null**</strong>],<strong><strong>{</strong></strong>\"context\": {<strong><strong>\"limit\": 1000,</strong></strong>\"offset\": 0****}****},</strong></p>\n<ol>\n<li><strong>\"report.purchase.gen3\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"report.purchase.gen3\" entity or module, likely related to generating purchase reports with a third-generation structure.</li>\n<li><strong>\"get_report_data\":</strong> The second parameter specifies the action to be performed on the entity. \"get_report_data\" is an action indicating the retrieval of data for a purchase report with the third-generation structure.</li>\n<li>The third parameter is a list containing a single element:<ol>\n<li>The element, [null], suggests that there are no specific search criteria or conditions applied. The request aims to retrieve data without applying any specific filters.</li>\n</ol>\n</li>\n<li><strong>Context:</strong> The fourth parameter is a dictionary with various options:<ol>\n<li><strong>\"context\": {\"limit\": 1000, \"offset\": 0}:</strong> Specifies the context or additional options for the operation. In this request:<ol>\n<li><strong>\"limit\": 1000:</strong> Specifies the maximum number of records to retrieve, set to 1000 in this request. It means that the request will fetch up to 1000 records in a single query.</li>\n<li><strong>\"offset\": 0:</strong> Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve records starting from the first record.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p><strong>Summary:</strong><br />This request is performing a \"get_report_data\" operation within the \"report.purchase.gen3\" entity or module. It aims to retrieve data for a purchase report with the third-generation structure. No specific search criteria are applied, indicating a request for all available data. The context specifies options such as limiting the retrieval to 1000 records and starting from the beginning (offset 0).</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"e64a1fa3-5c5a-4572-8677-dc1aebdf632f","name":"params/report.purchase.gen3/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700637765209,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.purchase.gen3\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-22 12:22:27\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 22 Nov 2023 09:41:57 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=rFp%2FpgNB%2B8lJQF5ci9%2FhDHjwOl%2BoOlsDGvpbWQkVclahrCEWafxvZppoaXsMglYFDfow%2BM2X%2F%2BlhgvmmwxEDmERTGuBwX6dy%2Fduvt05w%2BF%2Bqw%2F7RyXVkqyVVgwG1pvmcxgsMDTPdoe0oAICPkA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"82a03835fe817017-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": null,\n    \"error\": {\n        \"message\": \"name 'sale_qty_50' is not defined\"\n    },\n    \"id\": 1700637765209\n}"}],"_postman_id":"a748897a-3cea-4bd1-8e5f-8765c39df5ba"}],"id":"bc57b57b-6d64-4af3-b6a0-7632fd29be48","_postman_id":"bc57b57b-6d64-4af3-b6a0-7632fd29be48","description":""},{"name":"Purchasr Order Generator","item":[{"name":"params/report.purchase.gen2/default_get","id":"e09dd205-ef91-4e3c-944e-7b2dd1605777","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700646802599,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.purchase.gen2\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"product_categ_id\",\r\n                \"supplier_id\",\r\n                \"product_id\",\r\n                \"filter_min_stock\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-22 14:52:51\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-23112023\">Request added on: 23/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"report.purchase.gen2\",<br />\"default_get\",<br />[<br />[<br />\"product_categ_id\",<br />\"supplier_id\",<br />\"product_id\",<br />\"filter_min_stock\"<br />]<br />],<br />{<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"report.purchase.gen2\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"report.purchase.gen2\" entity or module, likely related to generating purchase reports with a second-generation structure.</p>\n</li>\n<li><p><strong>\"default_get\":</strong> The second parameter specifies the action to be performed on the entity. \"default_get\" is an action indicating the retrieval of default values or settings for generating a purchase report with the second-generation structure.</p>\n</li>\n<li><p>The third parameter is a list containing one list:</p>\n<ol>\n<li><p>The inner list, [\"product_categ_id\", \"supplier_id\", \"product_id\", \"filter_min_stock\"], represents the search domain. It includes conditions or filters for retrieving default values related to:</p>\n<ol>\n<li><p><strong>\"product_categ_id\":</strong> Likely represents the product category ID.</p>\n</li>\n<li><p><strong>\"supplier_id\":</strong> Represents the supplier ID.</p>\n</li>\n<li><p><strong>\"product_id\":</strong> Represents the product ID.</p>\n</li>\n<li><p><strong>\"filter_min_stock\":</strong> Represents a filter related to minimum stock.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with various options:</p>\n<ol>\n<li><strong>\"context\": {}:</strong> Represents an empty context, indicating that no specific additional context or options are provided in this request.</li>\n</ol>\n</li>\n</ol>\n<p><strong>Summary:</strong><br />This request is performing a \"default_get\" operation within the \"report.purchase.gen2\" entity or module. It aims to retrieve default values or settings for generating a purchase report with the second-generation structure. The search domain includes conditions related to product category, supplier, product, and a filter for minimum stock. No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[],"_postman_id":"e09dd205-ef91-4e3c-944e-7b2dd1605777"},{"name":"params/report.purchase.gen2/get_report_data","id":"cc6c311e-e44e-427a-98f3-ac421f8e0a2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700718609246,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.purchase.gen2\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-23 10:49:12\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-23112023\">Request added on: 23/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"report.purchase.gen2\",<br />\"get_report_data\",<br />[<br />null<br />],<br />{<br />\"context\": {<br />\"limit\": 1000,<br />\"offset\": 0<br />}<br />},</strong></p>\n<ol>\n<li><p><strong>\"report.purchase.gen2\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"report.purchase.gen2\" entity or module, likely related to generating purchase reports with a second-generation structure.</p>\n</li>\n<li><p><strong>\"get_report_data\":</strong> The second parameter specifies the action to be performed on the entity. \"get_report_data\" is an action indicating the retrieval of report data for generating a purchase report with the second-generation structure.</p>\n</li>\n<li><p>The third parameter is a list containing one element:</p>\n<ol>\n<li>The element, [null], suggests that there might not be specific search criteria or filters applied in this request. A null value often indicates a request for a broader set of data.</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with various options:</p>\n<ol>\n<li><p><strong>\"context\": {\"limit\": 1000, \"offset\": 0}:</strong> Specifies additional context information for the \"get_report_data\" operation. The \"limit\" option indicates a maximum of 1000 records to be retrieved, and the \"offset\" option starts the retrieval from the beginning.</p>\n<ol>\n<li><p><strong>\"limit\": 1000:</strong> Specifies that the maximum number of records to be retrieved or processed is set to 1000. This limits the result set to a specific number of records, ensuring that the response does not include an excessive amount of data.</p>\n</li>\n<li><p><strong>\"offset\": 0:</strong> Indicates the starting point for retrieving records. Here, it starts from the beginning (offset 0), meaning that the request will retrieve records from the first record onwards. This parameter is often used in conjunction with \"limit\" to paginate through large datasets.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p><strong>Summary:</strong><br />This request is performing a \"get_report_data\" operation within the \"report.purchase.gen2\" entity or module. It aims to retrieve data for generating a purchase report with the second-generation structure. The use of [null] in the search criteria suggests a broader request, potentially encompassing all available data. Additional context options include limiting the retrieval to 1000 records and starting from the beginning (offset 0).</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"8ab04b0a-4cd6-491e-93c3-47cf5b9d9768","name":"params/report.purchase.gen2/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700718609246,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.purchase.gen2\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-23 10:49:12\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 23 Nov 2023 05:52:44 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=RPuvpGZkpUybbD1CtctKwd2qSPdictbKYYSWjUvO1%2BAW0epKwyFHagyjcltDqO%2FUxObiXG3aBVWrkhmTwNUEYU3aDYA7QfDcItnVByRP6f3%2BePtiD3hYDte7h6qT97bpdcV6bv8c7LbY2XvEcg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"82a725d5eafa6fa2-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"company_name\": \"SmartB\",\n        \"lines\": [\n            {\n                \"prod_id\": 770,\n                \"prod_code\": \"P-0006\",\n                \"prod_name\": \"Test Prod\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 2,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 2,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": \"N/A\",\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 784,\n                \"prod_code\": \"P-0009a\",\n                \"prod_name\": \"TSC 244 Pro Label Printer\",\n                \"supplier_name\": \"Red Zone Solution Sdn Bhd\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 14,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 813,\n                \"prod_code\": \"P-0009c\",\n                \"prod_name\": \"Wireless Barcode Scanner\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 14,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 814,\n                \"prod_code\": \"P-0009d\",\n                \"prod_name\": \"Wired Barcode Scanner\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 14,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 819,\n                \"prod_code\": \"P-0009g\",\n                \"prod_name\": \"150KG X 0.01KG JADEVER ELECTRONIC PLATFORM SCALE (400*500 MM)\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 14,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 845,\n                \"prod_code\": \"P-0022\",\n                \"prod_name\": \"Label Sticker\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 14,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 855,\n                \"prod_code\": \"Z60\",\n                \"prod_name\": \"Hardware: Handheld Terminal - S60\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 1049,\n                \"prod_code\": \"Z70\",\n                \"prod_name\": \"Fanless Mini PC\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 1,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 1,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": \"N/A\",\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 933,\n                \"prod_code\": \"Z80\",\n                \"prod_name\": \"T80: Android Handheld Data Collector\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 2,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 2,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 854,\n                \"prod_code\": \"Z90\",\n                \"prod_name\": \"U9000S : Handheld Terminal - Z90\",\n                \"supplier_name\": \"LECOM Technology Limited\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 881,\n                \"prod_code\": \"ZC43\",\n                \"prod_name\": \"1080P Indoor Home Infrared Night Vision IP Security Wireless CCTV Camera\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 883,\n                \"prod_code\": \"ZC45\",\n                \"prod_name\": \"ZX-C24 : Two-way Audio Baby Monitor\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 894,\n                \"prod_code\": \"ZC53\",\n                \"prod_name\": \"V380 : Hook  model mini camera two-way Audio home security  camera system wireless\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": -3,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 3,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 3,\n                \"lead_days\": 60,\n                \"below_min\": true\n            },\n            {\n                \"prod_id\": 958,\n                \"prod_code\": \"ZC53sd\",\n                \"prod_name\": \"V380 plus SD card\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": -5,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 5,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 5,\n                \"lead_days\": \"N/A\",\n                \"below_min\": true\n            },\n            {\n                \"prod_id\": 895,\n                \"prod_code\": \"ZC54\",\n                \"prod_name\": \"A9 JIELI : night vision wifi mini camera for indoor with outdoor\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 957,\n                \"prod_code\": \"ZC54sd\",\n                \"prod_name\": \"A9 JIELI CCTV + SD Card \",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": -10,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": -10,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 10,\n                \"lead_days\": \"N/A\",\n                \"below_min\": true\n            },\n            {\n                \"prod_id\": 896,\n                \"prod_code\": \"ZC55\",\n                \"prod_name\": \"SQ11 : Mini camera indoor and outdoor\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 898,\n                \"prod_code\": \"ZC57\",\n                \"prod_name\": \"CF-812AC AP-AC1300 : High speed usb wireless wifi network adapter up to 1300mbps\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 1,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 1,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 899,\n                \"prod_code\": \"ZC58\",\n                \"prod_name\": \"CF-727B : OEM support RTL8822BU Comfast dualband BT4.2 1300Mbps wireless adapter usb adapter for PC\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 900,\n                \"prod_code\": \"ZC59\",\n                \"prod_name\": \"FX8811 : 600Mbps 2 in 1 Dual band usb wifi bluetooth adapter wifi dongle\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 901,\n                \"prod_code\": \"ZC60\",\n                \"prod_name\": \"CF-AX200 : New WiFi6 802.11ax AX200 PCI-E wifi network card\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 882,\n                \"prod_code\": \"ZD44\",\n                \"prod_name\": \"DLP Mini Portable Projector\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 856,\n                \"prod_code\": \"ZL22\",\n                \"prod_name\": \"K-626: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 858,\n                \"prod_code\": \"ZL23\",\n                \"prod_name\": \"K-626RB: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 861,\n                \"prod_code\": \"ZL26\",\n                \"prod_name\": \"K-620: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 859,\n                \"prod_code\": \"ZL27\",\n                \"prod_name\": \"K-622BT: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 862,\n                \"prod_code\": \"ZL28\",\n                \"prod_name\": \"K-621: 1D&2D Wireless QR Handheld Barcode Scanner Model\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 2,\n                \"in_date\": \"2020-09-29\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 864,\n                \"prod_code\": \"ZL29\",\n                \"prod_name\": \"K-926 : 2D desktop barcode scanner\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 1,\n                \"in_date\": \"2021-10-01\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 875,\n                \"prod_code\": \"ZN38\",\n                \"prod_name\": \"NT-1228BL Netum Usb 2D Bluetooth Barcode Scanner\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 884,\n                \"prod_code\": \"ZP46\",\n                \"prod_name\": \"S800 : POS Touch System\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 885,\n                \"prod_code\": \"ZP47\",\n                \"prod_name\": \"S200-15A: 15 inch All In One Pos Terminal (Hardware)\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 1,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 1,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 897,\n                \"prod_code\": \"ZR56\",\n                \"prod_name\": \"R20D: USB interface Proximity 125Khz RFID reader smart card\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 914,\n                \"prod_code\": \"ZS30\",\n                \"prod_name\": \"SanDisk: Ultra Sandisk Micro SD Card\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": -3,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 3,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 3,\n                \"lead_days\": 60,\n                \"below_min\": true\n            },\n            {\n                \"prod_id\": 867,\n                \"prod_code\": \"ZT32\",\n                \"prod_name\": \"EVHK0049 / 1100D / U-1100 / 1100: Tera Mini Bar Code Reader\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 869,\n                \"prod_code\": \"ZT34\",\n                \"prod_name\": \"8100 Orange: Tera QR 1D 2D Wireless Wired Bluetooth Scanner 3 In 1 Heavy Duty\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 870,\n                \"prod_code\": \"ZT35\",\n                \"prod_name\": \"HW0002 : Tera 1D 2D Wireless Barcode Scanner with Stand (Discontinued)\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 877,\n                \"prod_code\": \"ZT40\",\n                \"prod_name\": \"[Replaced by 711]: 9100: EVHK0052-1 Tera QR Bar Code Scanner Barcode 2D Wired Barcode Scanner with Stand\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 878,\n                \"prod_code\": \"ZT41\",\n                \"prod_name\": \"D6100: Tera Wireless Barcode Scanner 1D 2D Wired with Charging Base/Cradle (Discontinued)\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 1008,\n                \"prod_code\": \"ZT43\",\n                \"prod_name\": \"EVHK0053 : Tera 2D 1D Wireless Barcode Scanner 3 in 1 Bluetooth Vibration Alert Scanner\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 886,\n                \"prod_code\": \"ZT48\",\n                \"prod_name\": \"6900 : Tera 1D Wired Barcode Scanner with Stand\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": -1,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 1,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 1,\n                \"lead_days\": 60,\n                \"below_min\": true\n            },\n            {\n                \"prod_id\": 887,\n                \"prod_code\": \"ZT49\",\n                \"prod_name\": \"1031 : 1D Wired Laser Barcode Scanner  w/o Stand\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": -1,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 1,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 1,\n                \"lead_days\": 60,\n                \"below_min\": true\n            },\n            {\n                \"prod_id\": 888,\n                \"prod_code\": \"ZT50\",\n                \"prod_name\": \"HW0002 (or EVHK0038) : Tera Bluetooth 1D 2D wireless QR Barcode Scanner 3 in 1 Vibration Alert Wireless & Wired with stand\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 889,\n                \"prod_code\": \"ZT51\",\n                \"prod_name\": \"EVHK0047 / HW0005 : Tera Wireless 1D 2D QR Barcode Scanner 2-in-1 handheld Scanner with display CMOS with Stand\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 890,\n                \"prod_code\": \"ZT52\",\n                \"prod_name\": \"HW0008 : Tera Android 2D Barcode Scanner with Charging Cradle Handheld\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": -1,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 1,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 1,\n                \"in_date\": \"2021-10-01\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 911,\n                \"prod_code\": \"ZT70\",\n                \"prod_name\": \"711: 2D Wired Barcode Scanner\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 986,\n                \"prod_code\": \"ZT70B\",\n                \"prod_name\": \"711D + Stand \",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": -10,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": -10,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 10,\n                \"lead_days\": \"N/A\",\n                \"below_min\": true\n            },\n            {\n                \"prod_id\": 1007,\n                \"prod_code\": \"ZT70S\",\n                \"prod_name\": \"711 : Stand\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 912,\n                \"prod_code\": \"ZT71\",\n                \"prod_name\": \"EVHK0030 : Tera 2D Wireless Barcode Scanner with Charging Cradle\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": -1,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 1,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 1,\n                \"lead_days\": 60,\n                \"below_min\": true\n            },\n            {\n                \"prod_id\": 1018,\n                \"prod_code\": \"ZT72\",\n                \"prod_name\": \"Tera-0012 : Tera 2D Wireless Portable Back Clip 1D 2D QR Bar Code Reader with Bluetooth image scanning\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 1033,\n                \"prod_code\": \"ZT80\",\n                \"prod_name\": \"780 : Tera Fixed Mount 1D 2D Scanners QR Reader Desktop Platform\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            },\n            {\n                \"prod_id\": 865,\n                \"prod_code\": \"ZX30\",\n                \"prod_name\": \"AX1800: Xiaomi router Wifi\",\n                \"supplier_name\": \"N/A\",\n                \"qty_phys\": 0,\n                \"qty_phys_life_50\": 0,\n                \"qty_phys_life_75\": 0,\n                \"qty_avail\": 0,\n                \"qty_avail_life_50\": 0,\n                \"qty_avail_life_75\": 0,\n                \"qty_out\": 0,\n                \"qty_forecast\": \"N/A\",\n                \"qty_forecast_next\": \"N/A\",\n                \"months_remain\": \"N/A\",\n                \"qty_in\": 0,\n                \"in_date\": \"N/A\",\n                \"qty_order\": 0,\n                \"lead_days\": 60,\n                \"below_min\": false\n            }\n        ]\n    },\n    \"error\": null,\n    \"id\": 1700718609246,\n    \"dt\": 185\n}"}],"_postman_id":"cc6c311e-e44e-427a-98f3-ac421f8e0a2c"}],"id":"1d84fef2-42ab-4591-944c-96c5cbafa6f2","_postman_id":"1d84fef2-42ab-4591-944c-96c5cbafa6f2","description":""},{"name":"Purchase Order Generator","item":[{"name":"params/report.purchase.gen/default_get","id":"c5e06aac-a144-4537-8a1c-1a67e56e1542","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700719293013,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.purchase.gen\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"product_categ_id\",\r\n                \"supplier_id\",\r\n                \"product_id\",\r\n                \"num_periods\",\r\n                \"period_type\",\r\n                \"filter_min_stock\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-23 11:01:12\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-23112023\">Request added on: 23/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"report.purchase.gen\",<br />\"default_get\",<br />[<br />[<br />\"product_categ_id\",<br />\"supplier_id\",<br />\"product_id\",<br />\"num_periods\",<br />\"period_type\",<br />\"filter_min_stock\"<br />]<br />],<br />{<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"report.purchase.gen\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it likely refers to a reporting module related to purchases or general reporting.</p>\n</li>\n<li><p><strong>\"default_get\":</strong> The second parameter specifies the action to be performed on the entity. \"default_get\" is often used to retrieve default values for fields in a form or report. It allows you to fetch default data related to the specified entity.</p>\n</li>\n<li><p>The third parameter consists of a list containing a single list. The inner list represents the fields for which default values are being requested. It includes:</p>\n<ol>\n<li><p><strong>\"product_categ_id\"</strong>: Likely represents the product category ID.</p>\n</li>\n<li><p><strong>\"supplier_id\"</strong>: Likely represents the supplier ID.</p>\n</li>\n<li><p><strong>\"product_id\"</strong>: Likely represents the product ID.</p>\n</li>\n<li><p><strong>\"num_periods\"</strong>: Represents the number of periods.</p>\n</li>\n<li><p><strong>\"period_type\"</strong>: Represents the type of period (e.g., days, months).</p>\n</li>\n<li><p><strong>\"filter_min_stock\"</strong>: Indicates whether there is a filter for minimum stock.</p>\n</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> This is the fourth parameter and represents a dictionary with various options. In this case, an empty context is provided, meaning that no additional context or options are specified for the \"default_get\" action.</p>\n</li>\n</ol>\n<p>In summary, this request is performing a \"default_get\" action within the \"report.purchase.gen\" entity. It aims to retrieve default values for specific fields, including product category, supplier, product, number of periods, period type, and a filter for minimum stock. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"200f2083-1231-4930-b714-cfb8b1dac136","name":"params/report.purchase.gen/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700719293013,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.purchase.gen\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"product_categ_id\",\r\n                \"supplier_id\",\r\n                \"product_id\",\r\n                \"num_periods\",\r\n                \"period_type\",\r\n                \"filter_min_stock\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-23 11:01:12\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 23 Nov 2023 06:04:00 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=QGiLRNtmtzCNAkEzTLAwYKnvoEOWZpvcBD7Qk%2FZXsSnxTL4qqME64v7atmN1Sm5EW8Rjs6E%2F79b%2BEQ66xQolnwxY9ZUUHNSm1PnD1HoHHlSzAfG4f33%2F6f8NKjrBcAuTfibFnS56KC%2FnWkp5pw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"82a73654ca616f33-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"product_categ_id\": null,\n        \"supplier_id\": null,\n        \"product_id\": null,\n        \"num_periods\": 6,\n        \"period_type\": \"month\",\n        \"filter_min_stock\": null\n    },\n    \"error\": null,\n    \"id\": 1700719293013,\n    \"dt\": 21\n}"}],"_postman_id":"c5e06aac-a144-4537-8a1c-1a67e56e1542"},{"name":"params/report.purchase.gen/get_report_data","id":"2bcbf5fc-2e1a-4de4-bbb2-75503d1a3a4c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700719293019,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.purchase.gen\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-23 11:01:12\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-23112023\">Request added on: 23/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"report.purchase.gen\",<br />\"get_report_data\",<br />[<br />null<br />],<br />{<br />\"context\": {<br />\"limit\": 1000,<br />\"offset\": 0<br />}<br />},</strong></p>\n<ol>\n<li><p><strong>\"report.purchase.gen\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"report.purchase.gen,\" which is likely related to generating purchase reports or data.</p>\n</li>\n<li><p><strong>\"get_report_data\"</strong>: The second parameter specifies the action to be performed on the entity. In this case, it's the \"get_report_data\" action, which suggests that the request aims to retrieve data for a purchase report.</p>\n</li>\n<li><p>The third parameter is a list containing a single element: <code>[null]</code>. This likely represents the search domain, and <code>null</code> indicates that there are no specific conditions or filters applied to the records being retrieved.</p>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with various options:</p>\n<ol>\n<li><p><strong>\"context\"</strong>: This dictionary provides additional context or options to the \"get_report_data\" action.</p>\n<ol>\n<li><p><strong>\"limit\"</strong>: 1000 - Specifies the maximum number of records to retrieve, set to 1000 in this request.</p>\n</li>\n<li><p><strong>\"offset\"</strong>: 0 - Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve records starting from the first record.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing the \"get_report_data\" action within the \"report.purchase.gen\" entity. It retrieves data for a purchase report without specific filtering conditions, and additional context is provided to limit the number of records retrieved to 1000, starting from the beginning.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"a2749fb8-3885-4d75-bbc3-ab7acf7b7dc0","name":"params/report.purchase.gen/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1700719293019,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.purchase.gen\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-23 11:01:12\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 23 Nov 2023 06:26:29 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=W0ej7Kb%2FuYOArm643v9Iqecd9KW5FAHjp5I%2Fl%2FUhLu6e0%2Fc%2FDjOdWjaXtQy3HG02MHCK3OKStkqylgbYEgqjoubKjltb28hpYozX4E9wIqg6one9w8pbHqKELtYksSTrMBTDvJQaila%2FO3cWUA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"82a757430aaa6fee-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": null,\n    \"error\": {\n        \"message\": \"'NoneType' object has no attribute 'get'\"\n    },\n    \"id\": 1700719293019\n}"}],"_postman_id":"2bcbf5fc-2e1a-4de4-bbb2-75503d1a3a4c"}],"id":"957cc7a2-ed55-4285-a49b-1cac5af8bd97","_postman_id":"957cc7a2-ed55-4285-a49b-1cac5af8bd97","description":""},{"name":"Purchase Order Analysis","item":[{"name":"params/purchase.order/search_read_path","id":"63aa6de8-340a-4cc3-9845-9b565b41f4fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2-test.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701058103165,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"purchase.order\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"number\",\r\n                \"contact_id.name\",\r\n                \"contact_id.categ_id.name\",\r\n                \"state\",\r\n                \"user_id.name\",\r\n                \"date\",\r\n                \"date_month\",\r\n                \"date_week\",\r\n                \"amount_total\",\r\n                \"amount_total_cur\",\r\n                \"currency_id.code\",\r\n                \"pay_term_id.name\",\r\n                \"ship_term_id.name\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-27 09:06:56\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2-test.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-27112023\">Request added on: 27/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"purchase.order\",<strong>**\"search_read_path\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"number\",**</strong>\"contact_id.name\",<strong><strong>\"contact_id.categ_id.name\",</strong></strong>\"state\",<strong><strong>\"user_id.name\",</strong></strong>\"date\",<strong><strong>\"date_month\",</strong></strong>\"date_week\",<strong><strong>\"amount_total\",</strong></strong>\"amount_total_cur\",<strong><strong>\"currency_id.code\",</strong></strong>\"pay_term_id.name\",<strong>**\"ship_term_id.name\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"count\": true,</strong></strong>\"limit\": 1000,<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"purchase.order\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"purchase.order\" entity, indicating that the operation will be performed within this entity, likely related to purchase orders.</li>\n<li><strong>\"search_read_path\":</strong> The second parameter specifies the action to be performed on the entity. However, \"search_read_path\" is not a standard action in systems like Odoo. It seems there might be a custom implementation or extension that includes \"path\" in the search action.</li>\n<li>The third parameter is a list containing two elements:<ol>\n<li>First List (<code>[]</code>): Represents the search domain, and in this case, it's an empty list <code>[]</code>. This indicates that there are no specific conditions or filters applied to the records being retrieved. The request aims to retrieve all records from the \"purchase.order\" entity without specific filtering conditions.</li>\n<li>Second List (Fields to Retrieve): <code>[\"number\", \"contact_id.name\", \"contact_id.categ_id.name\", \"state\", \"user_id.name\", \"date\", \"date_month\", \"date_week\", \"amount_total\", \"amount_total_cur\", \"currency_id.code\", \"pay_term_id.name\", \"ship_term_id.name\"]</code>. Specifies the fields (attributes) of the records to be included in the response. These attributes relate to purchase order records that the request aims to retrieve.<ol>\n<li><strong>\"number\":</strong> Represents the purchase order number, which is a unique identifier for each purchase order.</li>\n<li><strong>\"contact_id.name\":</strong> Represents the name of the contact associated with the purchase order. The \"contact_id\" likely refers to the entity representing the contact or supplier.</li>\n<li><strong>\"contact_id.categ_id.name\":</strong> Represents the name of the category associated with the contact. The \"categ_id\" is likely a categorization or classification related to the contact.</li>\n<li><strong>\"state\":</strong> Represents the current state or status of the purchase order (e.g., confirmed, draft).</li>\n<li><strong>\"user_id.name\":</strong> Represents the name of the user or employee associated with the purchase order. The \"user_id\" likely refers to the entity representing the user or employee.</li>\n<li><strong>\"date\":</strong> Represents the date when the purchase order was created or processed.</li>\n<li><strong>\"date_month\":</strong> Represents the month associated with the purchase order date.</li>\n<li><strong>\"date_week\":</strong> Represents the week associated with the purchase order date.</li>\n<li><strong>\"amount_total\":</strong> Represents the total amount or cost associated with the purchase order.</li>\n<li><strong>\"amount_total_cur\":</strong> Represents the total amount in the currency associated with the purchase order.</li>\n<li><strong>\"currency_id.code\":</strong> Represents the currency code associated with the purchase order.</li>\n<li><strong>\"pay_term_id.name\":</strong> Represents the name of the payment term associated with the purchase order. The \"pay_term_id\" likely refers to the entity representing payment terms.</li>\n<li><strong>\"ship_term_id.name\":</strong> Represents the name of the shipping term associated with the purchase order. The \"ship_term_id\" likely refers to the entity representing shipping terms.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Context:</strong> The fourth parameter is a dictionary with various options:<ol>\n<li><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. This allows you to determine how many purchase order records exist in the system.</li>\n<li><strong>\"limit\": 1000:</strong> Specifies the maximum number of records to retrieve, set to 1000 in this request.</li>\n<li><strong>\"context\": {}:</strong> Represents an empty context, indicating that no additional context is provided in this request.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"purchase.order\" entity using a custom action or extension (\"search_read_path\"). It retrieves all purchase order records without specific filtering conditions and retrieves the specified fields for each record. Additionally, it counts the total number of matching records and limits the retrieval to a maximum of 1000 records. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2-test","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"f50d7580-315a-470b-84d3-f8aac1e157e2","name":"params/purchase.order/search_read_path","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2-test.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701058103165,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"purchase.order\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"number\",\r\n                \"contact_id.name\",\r\n                \"contact_id.categ_id.name\",\r\n                \"state\",\r\n                \"user_id.name\",\r\n                \"date\",\r\n                \"date_month\",\r\n                \"date_week\",\r\n                \"amount_total\",\r\n                \"amount_total_cur\",\r\n                \"currency_id.code\",\r\n                \"pay_term_id.name\",\r\n                \"ship_term_id.name\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-27 09:06:56\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2-test.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 27 Nov 2023 04:11:13 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=vssFF%2F69gMaOU7p%2FxJPsEpr1Iu1LobjV8ecDUr5g88Vc%2FX6s0h5z0MfWMNrEdThVLB79E86GoUG0YpBfa8VVG%2FmzHdD7AI3Ae47KdySu9g7PquDJ8oYnhyAQ925vjUs68H3OOK%2FbmmpOXTMQjERgAD7t\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"82c786a03eff6f48-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 65,\n                \"number\": \"PO2309001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2023-09-21\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 91,\n                    \"name\": \"Aufa Humaira\"\n                },\n                \"amount_total\": 39694,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 39694,\n                \"date_week\": \"2023-W38\",\n                \"date_month\": \"2023-09\"\n            },\n            {\n                \"id\": 64,\n                \"number\": \"PO2307001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2023-07-24\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 91,\n                    \"name\": \"Aufa Humaira\"\n                },\n                \"amount_total\": 15800,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 1039,\n                    \"name\": \"Quantum Computing Sdn. Bhd .\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 15800,\n                \"date_week\": \"2023-W30\",\n                \"date_month\": \"2023-07\"\n            },\n            {\n                \"id\": 63,\n                \"number\": \"PO2305001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2022-11-01\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 38583.5,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 38583.5,\n                \"date_week\": \"2022-W44\",\n                \"date_month\": \"2022-11\"\n            },\n            {\n                \"id\": 62,\n                \"number\": \"PO2211001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2022-11-01\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 91,\n                    \"name\": \"Aufa Humaira\"\n                },\n                \"amount_total\": 19043.43,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 19043.43,\n                \"date_week\": \"2022-W44\",\n                \"date_month\": \"2022-11\"\n            },\n            {\n                \"id\": 60,\n                \"number\": \"PO2206001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2022-06-07\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 19882.42,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 19882.42,\n                \"date_week\": \"2022-W23\",\n                \"date_month\": \"2022-06\"\n            },\n            {\n                \"id\": 59,\n                \"number\": \"PO2202001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2022-02-01\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 19882.42,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 19882.42,\n                \"date_week\": \"2022-W05\",\n                \"date_month\": \"2022-02\"\n            },\n            {\n                \"id\": 57,\n                \"number\": \"PO2110001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2021-10-20\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 19183.88,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 19183.88,\n                \"date_week\": \"2021-W42\",\n                \"date_month\": \"2021-10\"\n            },\n            {\n                \"id\": 56,\n                \"number\": \"PO2106001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2021-06-01\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 18631.89,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 18631.89,\n                \"date_week\": \"2021-W22\",\n                \"date_month\": \"2021-06\"\n            },\n            {\n                \"id\": 55,\n                \"number\": \"PO2103001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2021-03-01\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 18524.56,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 18524.56,\n                \"date_week\": \"2021-W09\",\n                \"date_month\": \"2021-03\"\n            },\n            {\n                \"id\": 54,\n                \"number\": \"PO2012001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2020-12-09\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 17227.65,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 17227.65,\n                \"date_week\": \"2020-W49\",\n                \"date_month\": \"2020-12\"\n            },\n            {\n                \"id\": 53,\n                \"number\": \"PO2010001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2020-10-28\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 1699,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 71,\n                    \"name\": \"Red Zone Solution Sdn Bhd\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 1699,\n                \"date_week\": \"2020-W43\",\n                \"date_month\": \"2020-10\"\n            },\n            {\n                \"id\": 52,\n                \"number\": \"PO2009001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2020-09-16\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 18079.36,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 18079.36,\n                \"date_week\": \"2020-W37\",\n                \"date_month\": \"2020-09\"\n            },\n            {\n                \"id\": 50,\n                \"number\": \"PO2008001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2020-07-28\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 209.99,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 472,\n                    \"name\": \"Guangzhou Luckydoor Electronic Equipment Co., Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 209.99,\n                \"date_week\": \"2020-W30\",\n                \"date_month\": \"2020-07\"\n            },\n            {\n                \"id\": 48,\n                \"number\": \"PO2007001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2020-07-28\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 777.82,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 472,\n                    \"name\": \"Guangzhou Luckydoor Electronic Equipment Co., Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 777.82,\n                \"date_week\": \"2020-W30\",\n                \"date_month\": \"2020-07\"\n            },\n            {\n                \"id\": 49,\n                \"number\": \"PO2007002\",\n                \"state\": \"confirmed\",\n                \"date\": \"2020-07-24\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 2054.45,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 471,\n                    \"name\": \"LECOM Technology Limited\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 2054.45,\n                \"date_week\": \"2020-W29\",\n                \"date_month\": \"2020-07\"\n            },\n            {\n                \"id\": 51,\n                \"number\": \"PO2008002\",\n                \"state\": \"confirmed\",\n                \"date\": \"2020-07-16\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 1853.51,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 472,\n                    \"name\": \"Guangzhou Luckydoor Electronic Equipment Co., Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 1853.51,\n                \"date_week\": \"2020-W28\",\n                \"date_month\": \"2020-07\"\n            },\n            {\n                \"id\": 45,\n                \"number\": \"PO2006002\",\n                \"state\": \"confirmed\",\n                \"date\": \"2020-06-25\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 16592.18,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 16592.18,\n                \"date_week\": \"2020-W25\",\n                \"date_month\": \"2020-06\"\n            },\n            {\n                \"id\": 47,\n                \"number\": \"PO2006001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2020-06-24\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 1699,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 71,\n                    \"name\": \"Red Zone Solution Sdn Bhd\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 1699,\n                \"date_week\": \"2020-W25\",\n                \"date_month\": \"2020-06\"\n            },\n            {\n                \"id\": 46,\n                \"number\": \"PO2005001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2020-05-11\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 5097,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 71,\n                    \"name\": \"Red Zone Solution Sdn Bhd\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 5097,\n                \"date_week\": \"2020-W19\",\n                \"date_month\": \"2020-05\"\n            },\n            {\n                \"id\": 42,\n                \"number\": \"PO2002001\",\n                \"state\": \"draft\",\n                \"date\": \"2020-02-28\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 8,\n                    \"name\": \"Admin\"\n                },\n                \"amount_total\": 1699,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 71,\n                    \"name\": \"Red Zone Solution Sdn Bhd\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 1699,\n                \"date_week\": \"2020-W08\",\n                \"date_month\": \"2020-02\"\n            },\n            {\n                \"id\": 44,\n                \"number\": \"PO2002002\",\n                \"state\": \"confirmed\",\n                \"date\": \"2020-02-03\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 8495,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 71,\n                    \"name\": \"Red Zone Solution Sdn Bhd\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 8495,\n                \"date_week\": \"2020-W05\",\n                \"date_month\": \"2020-02\"\n            },\n            {\n                \"id\": 41,\n                \"number\": \"PO2001001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2020-01-28\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 15215,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 15215,\n                \"date_week\": \"2020-W04\",\n                \"date_month\": \"2020-01\"\n            },\n            {\n                \"id\": 40,\n                \"number\": \"PO1912001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2019-12-04\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 8495,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 71,\n                    \"name\": \"Red Zone Solution Sdn Bhd\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 8495,\n                \"date_week\": \"2019-W48\",\n                \"date_month\": \"2019-12\"\n            },\n            {\n                \"id\": 39,\n                \"number\": \"PO1911001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2019-11-06\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 14960.75,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 14960.75,\n                \"date_week\": \"2019-W44\",\n                \"date_month\": \"2019-11\"\n            },\n            {\n                \"id\": 38,\n                \"number\": \"PO1908001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2019-08-28\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 14560.62,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 14560.62,\n                \"date_week\": \"2019-W34\",\n                \"date_month\": \"2019-08\"\n            },\n            {\n                \"id\": 37,\n                \"number\": \"PO1904003\",\n                \"state\": \"confirmed\",\n                \"date\": \"2019-04-18\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 2519,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 71,\n                    \"name\": \"Red Zone Solution Sdn Bhd\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 2519,\n                \"date_week\": \"2019-W15\",\n                \"date_month\": \"2019-04\"\n            },\n            {\n                \"id\": 36,\n                \"number\": \"PO1904002\",\n                \"state\": \"confirmed\",\n                \"date\": \"2019-04-02\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 971,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 181,\n                    \"name\": \"MCC Labels (Kuala Lumpur) Sdn Bhd\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 971,\n                \"date_week\": \"2019-W13\",\n                \"date_month\": \"2019-04\"\n            },\n            {\n                \"id\": 35,\n                \"number\": \"PO1904001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2019-04-02\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 12848,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 12848,\n                \"date_week\": \"2019-W13\",\n                \"date_month\": \"2019-04\"\n            },\n            {\n                \"id\": 33,\n                \"number\": \"PO1903001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2019-03-04\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 840,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 71,\n                    \"name\": \"Red Zone Solution Sdn Bhd\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 840,\n                \"date_week\": \"2019-W09\",\n                \"date_month\": \"2019-03\"\n            },\n            {\n                \"id\": 14,\n                \"number\": \"PO1901001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2019-01-19\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 8972,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 8972,\n                \"date_week\": \"2019-W02\",\n                \"date_month\": \"2019-01\"\n            },\n            {\n                \"id\": 30,\n                \"number\": \"PO1810005\",\n                \"state\": \"confirmed\",\n                \"date\": \"2018-10-29\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 7120,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 71,\n                    \"name\": \"Red Zone Solution Sdn Bhd\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 7120,\n                \"date_week\": \"2018-W44\",\n                \"date_month\": \"2018-10\"\n            },\n            {\n                \"id\": 29,\n                \"number\": \"PO1810004\",\n                \"state\": \"voided\",\n                \"date\": \"2018-10-14\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 4000,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 4000,\n                \"date_week\": \"2018-W41\",\n                \"date_month\": \"2018-10\"\n            },\n            {\n                \"id\": 32,\n                \"number\": \"PO1810006\",\n                \"state\": \"confirmed\",\n                \"date\": \"2018-10-10\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 451,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 181,\n                    \"name\": \"MCC Labels (Kuala Lumpur) Sdn Bhd\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 451,\n                \"date_week\": \"2018-W41\",\n                \"date_month\": \"2018-10\"\n            },\n            {\n                \"id\": 27,\n                \"number\": \"PO1810002\",\n                \"state\": \"confirmed\",\n                \"date\": \"2018-10-10\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 919,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 181,\n                    \"name\": \"MCC Labels (Kuala Lumpur) Sdn Bhd\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 919,\n                \"date_week\": \"2018-W41\",\n                \"date_month\": \"2018-10\"\n            },\n            {\n                \"id\": 28,\n                \"number\": \"PO1810003\",\n                \"state\": \"confirmed\",\n                \"date\": \"2018-10-09\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 4218,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 71,\n                    \"name\": \"Red Zone Solution Sdn Bhd\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 4218,\n                \"date_week\": \"2018-W41\",\n                \"date_month\": \"2018-10\"\n            },\n            {\n                \"id\": 25,\n                \"number\": \"PO1810001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2018-10-09\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 6678,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 71,\n                    \"name\": \"Red Zone Solution Sdn Bhd\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 6678,\n                \"date_week\": \"2018-W41\",\n                \"date_month\": \"2018-10\"\n            },\n            {\n                \"id\": 23,\n                \"number\": \"PO1809002\",\n                \"state\": \"confirmed\",\n                \"date\": \"2018-09-01\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 3000,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 3000,\n                \"date_week\": \"2018-W35\",\n                \"date_month\": \"2018-09\"\n            },\n            {\n                \"id\": 22,\n                \"number\": \"PO1806001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2018-06-30\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 4252,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 4252,\n                \"date_week\": \"2018-W26\",\n                \"date_month\": \"2018-06\"\n            },\n            {\n                \"id\": 21,\n                \"number\": \"PO1809001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2018-06-01\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 1000,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 1000,\n                \"date_week\": \"2018-W22\",\n                \"date_month\": \"2018-06\"\n            },\n            {\n                \"id\": 18,\n                \"number\": \"PO1805001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2018-05-17\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 2519,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 71,\n                    \"name\": \"Red Zone Solution Sdn Bhd\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 2519,\n                \"date_week\": \"2018-W20\",\n                \"date_month\": \"2018-05\"\n            },\n            {\n                \"id\": 17,\n                \"number\": \"PO1804001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2018-04-27\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 3000,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 111,\n                    \"name\": \"Satheesh Kumar \",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 3000,\n                \"date_week\": \"2018-W17\",\n                \"date_month\": \"2018-04\"\n            },\n            {\n                \"id\": 16,\n                \"number\": \"PO1803004\",\n                \"state\": \"confirmed\",\n                \"date\": \"2018-04-01\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 8,\n                    \"name\": \"Admin\"\n                },\n                \"amount_total\": 4000,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 4000,\n                \"date_week\": \"2018-W13\",\n                \"date_month\": \"2018-04\"\n            },\n            {\n                \"id\": 15,\n                \"number\": \"PO1803003\",\n                \"state\": \"confirmed\",\n                \"date\": \"2018-04-01\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 1,\n                    \"name\": \"Alwin\"\n                },\n                \"amount_total\": 6000,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 6000,\n                \"date_week\": \"2018-W13\",\n                \"date_month\": \"2018-04\"\n            },\n            {\n                \"id\": 24,\n                \"number\": \"PO1803002\",\n                \"state\": \"confirmed\",\n                \"date\": \"2018-03-31\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 16,\n                    \"name\": \"Syuhada\"\n                },\n                \"amount_total\": 630,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 630,\n                \"date_week\": \"2018-W13\",\n                \"date_month\": \"2018-03\"\n            },\n            {\n                \"id\": 13,\n                \"number\": \"PO1803001\",\n                \"state\": \"confirmed\",\n                \"date\": \"2018-03-14\",\n                \"pay_term_id\": null,\n                \"user_id\": {\n                    \"id\": 8,\n                    \"name\": \"Admin\"\n                },\n                \"amount_total\": 44000,\n                \"currency_id\": {\n                    \"id\": 2,\n                    \"code\": \"MYR\"\n                },\n                \"ship_term_id\": null,\n                \"contact_id\": {\n                    \"id\": 80,\n                    \"name\": \"Netforce Software Co. Ltd.\",\n                    \"categ_id\": null\n                },\n                \"amount_total_cur\": 44000,\n                \"date_week\": \"2018-W11\",\n                \"date_month\": \"2018-03\"\n            }\n        ],\n        45\n    ],\n    \"error\": null,\n    \"id\": 1701058103165,\n    \"dt\": 153\n}"}],"_postman_id":"63aa6de8-340a-4cc3-9845-9b565b41f4fb"},{"name":"params/report.custom/searh_read","id":"557ce1eb-d362-4093-8bd3-6275254c6be1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2-test.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701058103169,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"purchase.order\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-27 09:06:56\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2-test.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-27112023\">Request added on: 27/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"report.custom\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"code\",</strong></strong>\"=\",<strong>**\"purchase.order\"<strong><strong>]</strong></strong>],<strong><strong>[</strong></strong>\"name\",**</strong>\"config\"<strong><strong>]</strong></strong>],****{},**</p>\n<ol>\n<li><p><strong>\"report.custom\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"report.custom,\" which likely refers to a module or entity related to custom reports or configurations within the system. This module might be responsible for generating custom reports or managing custom configurations.</p>\n</li>\n<li><p><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</p>\n</li>\n<li><p>The third parameter is a list containing two lists:a. The first list, <code>[\"code\", \"=\", \"purchase.order\"]</code>, forms the search domain. It includes a condition that filters records where the \"code\" attribute equals \"purchase.order.\" This condition narrows down the selection to records associated with a specific code or identifier, in this case, \"purchase.order.\"</p>\n<ol>\n<li><p><strong>\"code\":</strong> Represents a field or attribute within the \"report.custom\" entity, used to categorize or identify custom reports or configurations.</p>\n</li>\n<li><p><strong>\"=\":</strong> This is an operator used in the condition and signifies equality. It's used to compare the field on the left with the value on the right to check if they are equal.</p>\n</li>\n<li><p><strong>\"purchase.order\":</strong> This is the value against which the \"code\" field is being compared. In this condition, it's checking if the \"code\" field is equal to the value \"purchase.order.\"</p>\n</li>\n</ol>\n</li>\n<li><p>The second list, <code>[\"name\", \"config\"]</code>, specifies the fields (attributes) of the records to be included in the response. These attributes relate to custom report or configuration records that the request aims to retrieve:</p>\n<ol>\n<li><strong>\"name\":</strong> Represents the name or title associated with the custom report or configuration. It indicates the name of the specific report or configuration.</li>\n<li><strong>\"config\":</strong> Likely represents specific configuration settings or details related to the custom report or configuration.</li>\n</ol>\n</li>\n<li><p><strong>{}:</strong> This is the fourth parameter and represents an empty dictionary. In Odoo and similar systems, this section can be used to pass additional options or context information to the search_read operation. In this specific request, no additional context or options are provided.</p>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"report.custom\" entity, which is likely related to custom reports or configurations. It filters records based on the \"code\" attribute equaling \"purchase.order,\" indicating a specific category or identifier for these records. The request specifies the attributes \"name\" and \"config\" to include in the response. No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2-test","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"c05ae891-9352-4cd0-9e04-1523197c08d3","name":"params/report.custom/searh_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2-test.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701058103169,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"purchase.order\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-27 09:06:56\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2-test.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 27 Nov 2023 06:11:25 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Y6xARfmk4c%2FJ%2FuxDGaJo98hz0ee4kTbicWI5c9crhYfksg%2FHfx5uY5ofXE%2F4Od3cVdB4kGUyd50qaWyl0JP9MDJbNaMX4E6ASvmH6JIUWHy7fXTVgfcLrWuiHtlr1aQp9ZwVaarzoDGUF8HHL6395xZA\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"82c836b2aaf2702e-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1701058103169,\n    \"dt\": 10\n}"}],"_postman_id":"557ce1eb-d362-4093-8bd3-6275254c6be1"}],"id":"1b5949d2-8b38-478d-958f-495fde5f6ee4","_postman_id":"1b5949d2-8b38-478d-958f-495fde5f6ee4","description":""},{"name":"Purchase Line Analysis","item":[{"name":"params/report.custom/search_read","id":"d5c919c2-dae0-432f-9667-f3399ef411f3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2-test.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701067541757,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"purchase.order.line\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-27 11:45:14\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2-test.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-27112023\">Request added on: 27/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"report.custom\",<br />\"search_read\",<br />[<br />[<br />[<br />\"code\",<br />\"=\",<br />\"purchase.order.line\"<br />]<br />],<br />[<br />\"name\",<br />\"config\"<br />]<br />],<br />{},</strong></p>\n<ol>\n<li><p><strong>\"report.custom\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies \"report.custom,\" which likely refers to a module or entity related to custom reports or configurations within the system. This module might be responsible for generating custom reports or managing custom configurations.</p>\n</li>\n<li><p><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</p>\n</li>\n<li><p>The third parameter is a list containing two lists:a. The first list, <code>[\"code\", \"=\", \"purchase.order.line\"]</code>, forms the search domain. It includes a condition that filters records where the \"code\" attribute equals \"purchase.order.line.\" This condition narrows down the selection to records associated with a specific code or identifier, in this case, \"purchase.order.line.\"</p>\n<ol>\n<li><p><strong>\"code\":</strong> Represents a field or attribute within the \"report.custom\" entity, used to categorize or identify custom reports or configurations.</p>\n</li>\n<li><p><strong>\"=\":</strong> This is an operator used in the condition and signifies equality. It's used to compare the field on the left with the value on the right to check if they are equal.</p>\n</li>\n<li><p><strong>\"purchase.order.line\":</strong> This is the value against which the \"code\" field is being compared. In this condition, it's checking if the \"code\" field is equal to the value \"purchase.order.line.\"</p>\n</li>\n</ol>\n</li>\n<li><p>The second list, <code>[\"name\", \"config\"]</code>, specifies the fields (attributes) of the records to be included in the response. These attributes relate to custom report or configuration records that the request aims to retrieve:</p>\n<ol>\n<li><p><strong>\"name\":</strong> Represents the name or title associated with the custom report or configuration. It indicates the name of the specific report or configuration.</p>\n</li>\n<li><p><strong>\"config\":</strong> Likely represents specific configuration settings or details related to the custom report or configuration.</p>\n</li>\n</ol>\n</li>\n<li><p><strong>{}:</strong> This is the fourth parameter and represents an empty dictionary. In Odoo and similar systems, this section can be used to pass additional options or context information to the search_read operation. In this specific request, no additional context or options are provided.</p>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"report.custom\" entity, likely related to custom reports or configurations. It filters records based on the \"code\" attribute equaling \"purchase.order.line,\" indicating a specific category or identifier for these records. The request specifies the attributes \"name\" and \"config\" to include in the response. No additional context or options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2-test","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"11d22cbd-7d2f-4122-b57a-87a1452133fb","name":"params/report.custom/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2-test.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701067541757,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"purchase.order.line\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-27 11:45:14\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2-test.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 27 Nov 2023 06:47:38 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=VVoCP9aFphb6PG9v9sVQtHaVNA71A4K95LI1VxtWk1QwLcP1xTNGSlCKOs29ynMK4TNiS2DdmQfwgIPdEwRmsAEGQ9aRlTMBLSQizF9b5fpKO2pxuxocKZR2Hb05%2BatwKv2t6u4Qz55q5pY%2FY1oB%2BX%2BQ\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"82c86bc14dab6f52-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1701067541757,\n    \"dt\": 30\n}"}],"_postman_id":"d5c919c2-dae0-432f-9667-f3399ef411f3"},{"name":"params/purchase.order.line/search_read_path","id":"a43ea403-76f7-4e16-a229-339a383544be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2-test.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701152018162,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"purchase.order.line\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"product_id.name\",\r\n                \"product_id.categ_id.name\",\r\n                \"order_id.number\",\r\n                \"order_id.contact_id.name\",\r\n                \"order_id.contact_id.categ_id.name\",\r\n                \"order_id.state\",\r\n                \"order_id.user_id.name\",\r\n                \"order_id.date\",\r\n                \"order_id.date_month\",\r\n                \"order_id.date_week\",\r\n                \"amount\",\r\n                \"amount_cur\",\r\n                \"qty\",\r\n                \"track_id.name\",\r\n                \"order_id.currency_id.code\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-28 11:09:47\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2-test.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-28112023\">Request added on: 28/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"purchase.order.line\",<br />\"search_read_path\",<br />[<br />[],<br />[<br />\"product_id.name\",<br />\"product_id.categ_id.name\",<br />\"order_id.number\",<br />\"order_id.contact_id.name\",<br />\"order_id.contact_id.categ_id.name\",<br />\"order_id.state\",<br />\"order_id.user_id.name\",<br />\"order_id.date\",<br />\"order_id.date_month\",<br />\"order_id.date_week\",<br />\"amount\",<br />\"amount_cur\",<br />\"qty\",<br />\"track_id.name\",<br />\"order_id.currency_id.code\"<br />]<br />],<br />{<br />\"count\": true,<br />\"limit\": 1000,<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"purchase.order.line\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"purchase.order.line\" entity, indicating that the operation will be performed within this entity, likely related to purchase order lines.</p>\n</li>\n<li><p><strong>\"search_read_path\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read_path\" appears to be a custom action or path, and its specific functionality may vary based on the system's configuration.</p>\n</li>\n<li><p>The third parameter is a list containing two lists:<br /> a. The first list, <code>[]</code>, forms the search domain. An empty list indicates that there are no specific conditions or filters applied to the records being retrieved. The request aims to retrieve all records from the \"purchase.order.line\" entity without any specific filtering conditions. b. The second list, <code>[\"product_id.name\", \"product_id.categ_id.name\", \"order_id.number\", ...]</code>, specifies the fields (attributes) of the records to be included in the response. These attributes relate to purchase order line records that the request aims to retrieve:</p>\n<ol>\n<li><p><strong>\"product_id.name\":</strong> Represents the name of the product associated with the purchase order line.</p>\n</li>\n<li><p><strong>\"product_id.categ_id.name\":</strong> Represents the name of the product category associated with the purchase order line.</p>\n</li>\n<li><p><strong>\"order_id.number\":</strong> Represents the purchase order number associated with the purchase order line.</p>\n</li>\n<li><p><strong>\"order_id.contact_id.name\":</strong> Represents the name of the contact associated with the purchase order.</p>\n</li>\n<li><p><strong>\"order_id.contact_id.categ_id.name\":</strong> Represents the name of the contact category associated with the purchase order.</p>\n</li>\n<li><p><strong>\"order_id.state\":</strong> Represents the current state or status of the purchase order (e.g., confirmed, draft).</p>\n</li>\n<li><p><strong>\"order_id.user_id.name\":</strong> Represents the name of the user associated with the purchase order.</p>\n</li>\n<li><p><strong>\"order_id.date\":</strong> Represents the date when the purchase order was created or processed.</p>\n</li>\n<li><p><strong>\"order_id.date_month\":</strong> Represents the month of the purchase order date.</p>\n</li>\n<li><p><strong>\"order_id.date_week\":</strong> Represents the week of the purchase order date.</p>\n</li>\n<li><p><strong>\"amount\":</strong> Represents the amount associated with the purchase order line.</p>\n</li>\n<li><p><strong>\"amount_cur\":</strong> Represents the amount in the currency of the purchase order.</p>\n</li>\n<li><p><strong>\"qty\":</strong> Represents the quantity associated with the purchase order line.</p>\n</li>\n<li><p><strong>\"track_id.name\":</strong> Represents the name of the tracking associated with the purchase order line.</p>\n</li>\n<li><p><strong>\"order_id.currency_id.code\":</strong> Represents the currency code of the purchase order.</p>\n</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with various options:</p>\n<ol>\n<li><p><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. This allows you to determine how many purchase order line records exist in the system.</p>\n</li>\n<li><p><strong>\"limit\": 1000:</strong> Specifies the maximum number of records to retrieve, set to 1000 in this request. It means that the request will fetch up to 1000 purchase order line records in a single query. If there are more records, additional requests may be needed.</p>\n</li>\n<li><p><strong>\"context\": {}:</strong> Represents an empty context, indicating that no additional context is provided in this request.</p>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"purchase.order.line\" entity. It retrieves all purchase order line records without specific filtering conditions and retrieves the specified fields for each record. Additionally, it counts the total number of matching records, limits the retrieval to a maximum of 1000 records, and does not provide any additional context in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2-test","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"467588ea-e1ea-47e4-85f7-0053acb9bd79","name":"params/purchase.order.line/search_read_path","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2-test.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701152018162,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"purchase.order.line\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"product_id.name\",\r\n                \"product_id.categ_id.name\",\r\n                \"order_id.number\",\r\n                \"order_id.contact_id.name\",\r\n                \"order_id.contact_id.categ_id.name\",\r\n                \"order_id.state\",\r\n                \"order_id.user_id.name\",\r\n                \"order_id.date\",\r\n                \"order_id.date_month\",\r\n                \"order_id.date_week\",\r\n                \"amount\",\r\n                \"amount_cur\",\r\n                \"qty\",\r\n                \"track_id.name\",\r\n                \"order_id.currency_id.code\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-28 11:09:47\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2-test.netforce.com/json_rpc"},"status":"Method Not Allowed","code":405,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 Nov 2023 06:16:09 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=6jddgCmlrE3M34T9V54UeGgZRWrIqg7yEKw6ZnSiabULS1kg2UNO5TF5O63IWt0ZMA0qk6fXvc6tW8DG37SV9All%2BfqUMzEdm%2Bldo42Z8HBrMuS3W1s8tEfxiXGeE35vf4wi62dascCaLOXbADLE2hJp\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"82d07b043b336f15-CDG"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"<html>\n    <title>405: Method Not Allowed</title>\n    <body>405: Method Not Allowed</body>\n</html>"}],"_postman_id":"a43ea403-76f7-4e16-a229-339a383544be"}],"id":"9a52f7ac-4748-4046-81c3-08fffc0e435a","_postman_id":"9a52f7ac-4748-4046-81c3-08fffc0e435a","description":""},{"name":"Commission Purchase Report","item":[{"name":"params/report.comission.po/default_get","id":"260cd2b0-531d-4837-9f90-5d1ef7032351","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2-test.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701152662757,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.commission.po\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date_from\",\r\n                \"date_to\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-28 11:24:01\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2-test.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-28112023\">Request added on: 28/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>params\": [<br />\"report.commission.po\",<br />\"default_get\",<br />[<br />[<br />\"date_from\",<br />\"date_to\"<br />]<br />],<br />{<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"report.commission.po\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"report.commission.po\" entity, which is likely associated with commission reports related to purchase orders.</p>\n</li>\n<li><p><strong>\"default_get\":</strong> The second parameter specifies the action to be performed on the entity. \"default_get\" is an action used in systems like Odoo to retrieve default values for fields when creating a new record.</p>\n</li>\n<li><p>The third parameter is a list containing one list:<br /> a. The list, <code>[\"date_from\", \"date_to\"]</code>, specifies the fields (attributes) for which default values are requested:</p>\n<ol>\n<li><p><strong>\"date_from\":</strong> Represents the default value for the \"date_from\" field. This field is likely associated with the starting date for a commission report.</p>\n</li>\n<li><p><strong>\"date_to\":</strong> Represents the default value for the \"date_to\" field. This field is likely associated with the ending date for a commission report.</p>\n</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with various options:</p>\n<ol>\n<li><strong>\"context\": {}:</strong> Represents an empty context, indicating that no additional context is provided in this request. The context in Odoo and similar systems can be used to pass additional information or settings to the operation.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a \"default_get\" operation within the \"report.commission.po\" entity. It seeks to retrieve default values for the \"date_from\" and \"date_to\" fields, which are likely used when generating commission reports associated with purchase orders. No specific context or additional options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2-test","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"bedb2bf3-8c86-4656-ab69-03403a0001bc","name":"params/report.comission/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2-test.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701152662757,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.commission.po\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date_from\",\r\n                \"date_to\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-28 11:24:01\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2-test.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 Nov 2023 07:12:11 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=qq86Ka2DZiDEbRe0iJhFMLtgKdKRcDVT9mMDZ9oQkQT%2FSxM5E7Y2m7HwNfcpiVRJpRHeQ5TdFQyEMqS7g50%2F9vsxZOCUwaANMxUmqisXEmkfj5ZVp9vYIsOAkFKVV41EKNAocXAMuQHAcThd186VLhcS\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"82d0cd1639746f76-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"date_from\": \"2023-11-01\",\n        \"date_to\": \"2023-11-30\"\n    },\n    \"error\": null,\n    \"id\": 1701152662757,\n    \"dt\": 8\n}"}],"_postman_id":"260cd2b0-531d-4837-9f90-5d1ef7032351"},{"name":"params/report.comission.po/get_report_data","id":"eaf4bb62-b698-4ab1-80c4-eb7ce1d09b52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2-test.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701152662762,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.commission.po\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-28 11:24:01\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2-test.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-28112023\">Request added on: 28/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"report.commission.po\",<br />\"get_report_data\",<br />[<br />null<br />],<br />{<br />\"context\": {<br />\"limit\": 1000,<br />\"offset\": 0<br />}<br />},</strong></p>\n<ol>\n<li><p><strong>\"report.commission.po\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"report.commission.po\" entity, likely associated with commission reports related to purchase orders.</p>\n</li>\n<li><p><strong>\"get_report_data\":</strong> The second parameter specifies the action to be performed on the entity. \"get_report_data\" is an action used in systems like Odoo to retrieve data for generating a report.</p>\n</li>\n<li><p>The third parameter is a list containing a single element:<br /> a. <code>null</code>: This indicates that there are no specific search criteria provided. The request aims to retrieve report data without applying specific filters.</p>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with various options:</p>\n<ol>\n<li><p><strong>\"context\": {\"limit\": 1000, \"offset\": 0}:</strong> Specifies the context for the operation. The provided context includes:</p>\n<ol>\n<li><p><strong>\"limit\": 1000:</strong> Specifies the maximum number of records to retrieve. In this case, it limits the report data retrieval to a maximum of 1000 records.</p>\n</li>\n<li><p><strong>\"offset\": 0:</strong> Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve records starting from the first record.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a \"get_report_data\" operation within the \"report.commission.po\" entity. It aims to retrieve report data without specific search criteria, and the context specifies that a maximum of 1000 records should be retrieved, starting from the beginning. This request is likely part of the process of generating commission reports associated with purchase orders.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2-test","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"4ba00c5f-74ef-4441-bb82-144e26d94f5a","name":"params/report.comission.po/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2-test.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701152662762,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.commission.po\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-28 11:24:01\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2-test.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 28 Nov 2023 07:19:45 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=r%2FBXFKJY375Oc0i1riHjzyql77hGLgFUmloKWAYQDSKlKwlo6DdkaIrlRRW3vht%2FliWNxs4XRTlu6se9PdXvHRgJAVjkKSlJg4lGWPjnMu5YYrXClX7GawiDkxg%2Fd%2FTkKms%2FZrZStTQVp6U952DJupOe\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"82d0d82cc8296f7e-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"company_name\": \"SmartB\",\n        \"date_from\": \"2023-11-01\",\n        \"date_to\": \"2023-11-30\",\n        \"groups\": [],\n        \"totals\": {\n            \"amount_subtotal\": 0,\n            \"commission_amount\": 0\n        }\n    },\n    \"error\": null,\n    \"id\": 1701152662762,\n    \"dt\": 23\n}"}],"_postman_id":"eaf4bb62-b698-4ab1-80c4-eb7ce1d09b52"}],"id":"02406e01-f1e8-45e3-9a95-492ad519e4fa","_postman_id":"02406e01-f1e8-45e3-9a95-492ad519e4fa","description":""},{"name":"Purchase vs Goods Receipt Report","item":[{"name":"params/report.purchase.picking/default_get","id":"adcc937b-fb92-4f6d-8ee1-68c4c655ac2c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701241372393,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.purchase.picking\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"project_id\",\r\n                \"contact_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-29 12:02:01\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-29112023\">Request added on: 29/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"report.purchase.picking\",<br />\"default_get\",<br />[<br />[<br />\"date_from\",<br />\"date_to\",<br />\"project_id\",<br />\"contact_id\"<br />]<br />],<br />{<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"report.purchase.picking\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"report.purchase.picking\" entity, likely associated with generating reports related to purchase pickings.</p>\n</li>\n<li><p><strong>\"default_get\":</strong> The second parameter specifies the action to be performed on the entity. \"default_get\" is an action used in systems like Odoo to retrieve default values for a specific entity or module.</p>\n</li>\n<li><p>The third parameter is a list containing a single list: a. [\"date_from\", \"date_to\", \"project_id\", \"contact_id\"]: This list represents the search criteria for default values. It includes conditions for retrieving default values associated with:</p>\n<ol>\n<li><p><strong>\"date_from\":</strong> Represents a parameter or field associated with a date. This is likely used to specify the starting date for some operation or report.</p>\n</li>\n<li><p><strong>\"date_to\":</strong> Represents another parameter or field associated with a date. It is likely used to specify the ending date for some operation or report, creating a date range.</p>\n</li>\n<li><p><strong>\"project_id\":</strong> Represents a parameter or field related to a project identifier. This is likely used to filter or specify a particular project for some operation or report.</p>\n</li>\n<li><p><strong>\"contact_id\":</strong> Represents a parameter or field related to a contact or supplier identifier. This is likely used to filter or specify a particular contact or supplier for some operation or report.</p>\n</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with various options:</p>\n<ol>\n<li><strong>\"context\": {}</strong>: Represents an empty context, indicating that no additional context is provided in this request.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a \"default_get\" operation within the \"report.purchase.picking\" entity. It aims to retrieve default values for generating reports related to purchase pickings. The search criteria include conditions for the starting and ending dates of the report, the project identifier, and the contact or supplier identifier. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"86eca8a7-b948-435a-b371-206bfcab1d34","name":"params/report.purchase.picking/default_get","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701241372393,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.purchase.picking\",\r\n        \"default_get\",\r\n        [\r\n            [\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"project_id\",\r\n                \"contact_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-29 12:02:01\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 29 Nov 2023 07:04:25 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=2PcH3QeChaNlRrgbzPH4XjqmsD8MeX2EKAHpY5fxItIYL4nOADaiALFi4eLlqRD2j%2BD7PYBaKfqsD93z1AbyTgmFb3tkz5uvetp1jZClNWUQWrKe6euT%2B4vVLvKv3KzoWeGjLOBuS2%2FsBHKueg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"82d8ff17cc146fb2-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"date_from\": \"2023-11-01\",\n        \"date_to\": \"2023-11-30\",\n        \"project_id\": null,\n        \"contact_id\": null\n    },\n    \"error\": null,\n    \"id\": 1701241372393,\n    \"dt\": 12\n}"}],"_postman_id":"adcc937b-fb92-4f6d-8ee1-68c4c655ac2c"},{"name":"params/report.purchase.picking/get_report_data","id":"9cc3f725-6098-4100-9775-17835adb1f01","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701241372403,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.purchase.picking\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-29 12:02:01\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-29112023\">Request added on: 29/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"report.purchase.picking\",<br />\"get_report_data\",<br />[<br />null<br />],<br />{<br />\"context\": {<br />\"limit\": 1000,<br />\"offset\": 0<br />}<br />},</strong></p>\n<ol>\n<li><p><strong>\"report.purchase.picking\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"report.purchase.picking\" entity, likely associated with reports related to purchase picking activities.</p>\n</li>\n<li><p><strong>\"get_report_data\":</strong> The second parameter specifies the action to be performed on the entity. \"get_report_data\" indicates that the request aims to retrieve data for generating a report. This action is commonly used in systems to fetch data specifically for reporting purposes.</p>\n</li>\n<li><p><strong>[null]:</strong> The third parameter is a list, and in this case, it contains a single element—null. This might indicate that the request is not applying specific search criteria and aims to retrieve data without additional filtering conditions. The absence of specific conditions implies a broader retrieval of data.</p>\n</li>\n<li><p><strong>\"context\": {\"limit\": 1000, \"offset\": 0}:</strong> The fourth parameter is a dictionary that provides additional options or context information for the operation. In this case, it includes:</p>\n<ol>\n<li><p><strong>\"limit\": 1000:</strong> Specifies a limit on the number of records to be retrieved. The value 1000 indicates that the request aims to retrieve up to 1000 records. If more records exist, additional requests may be needed.</p>\n</li>\n<li><p><strong>\"offset\": 0:</strong> Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve records starting from the first record.</p>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a data retrieval operation within the \"report.purchase.picking\" entity to generate a report. It does not apply specific search criteria (null in the search domain), indicating a broader retrieval of data. The request includes additional context options to limit the number of records retrieved (1000 records) and specifies the starting point (offset 0).</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"018cd430-30f4-4911-a0e4-0eee684d6f0b","name":"params/report.purchase.picking/get_report_data","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701241372403,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.purchase.picking\",\r\n        \"get_report_data\",\r\n        [\r\n            null\r\n        ],\r\n        {\r\n            \"context\": {\r\n                \"limit\": 1000,\r\n                \"offset\": 0\r\n            }\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-29 12:02:01\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 29 Nov 2023 07:15:41 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=y%2FfZxFDC3WlGbZdEdGMWpX3CcQeeHNZmJ0TEeZUqHBZTNdI9nvAOVlzPXRjWHRzPlLFsdgEpbB5FZkBNyp7bx7KOu6XcrHKARusVtjyEvHvQSFSNQXPGlkToo8JwiQj16XYKL2i3QFnKpd4rSA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"82d90f989a9c6fca-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": null,\n    \"error\": {\n        \"message\": \"No purchase order found\"\n    },\n    \"id\": 1701241372403\n}"}],"_postman_id":"9cc3f725-6098-4100-9775-17835adb1f01"}],"id":"ee4eb1ff-99d2-4848-a122-eaca9729dfc2","_postman_id":"ee4eb1ff-99d2-4848-a122-eaca9729dfc2","description":""}],"id":"908358d2-4e55-40dd-94c6-5d7b88d81bc0","_postman_id":"908358d2-4e55-40dd-94c6-5d7b88d81bc0","description":""},{"name":"Settings","item":[{"name":"Purchase Setting","item":[{"name":"params/settings/read","id":"c803f102-b27a-43d9-a4e2-159114a15d18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701323338733,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"settings\",\r\n        \"read\",\r\n        [\r\n            [\r\n                \"1\"\r\n            ],\r\n            [\r\n                \"purchase_copy_picking\",\r\n                \"purchase_copy_invoice\",\r\n                \"purchase_check_received_qty\",\r\n                \"purchase_min_approvals\",\r\n                \"pr_require_supplier\",\r\n                \"approve_purchase\",\r\n                \"approve_purchase_request\",\r\n                \"create_uid\",\r\n                \"create_time\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {},\r\n            \"load_all_trans\": true\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-30 10:47:55\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-30112023\">Request added on: 30/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"settings\",<br />\"read\",<br />[<br />[<br />\"1\"<br />],<br />[<br />\"purchase_copy_picking\",<br />\"purchase_copy_invoice\",<br />\"purchase_check_received_qty\",<br />\"purchase_min_approvals\",<br />\"pr_require_supplier\",<br />\"approve_purchase\",<br />\"approve_purchase_request\",<br />\"create_uid\",<br />\"create_time\"<br />]<br />],<br />{<br />\"context\": {},<br />\"load_all_trans\": true<br />},</strong></p>\n<ol>\n<li><p><strong>\"settings\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"settings\" entity, which is likely responsible for managing various configuration settings within the system.</p>\n</li>\n<li><p><strong>\"read\":</strong> The second parameter specifies the action to be performed on the \"settings\" entity. \"read\" is a common action used to retrieve data from a specific entity.</p>\n</li>\n<li><p><strong>[<br /> [\"1\"],<br /> [<br /> \"purchase_copy_picking\",<br /> \"purchase_copy_invoice\",<br /> \"purchase_check_received_qty\",<br /> \"purchase_min_approvals\",<br /> \"pr_require_supplier\",<br /> \"approve_purchase\",<br /> \"approve_purchase_request\",<br /> \"create_uid\",<br /> \"create_time\"<br /> ]<br /> ]:</strong> The third parameter is a list containing two sublists:</p>\n<ol>\n<li><p>The first sublist, [\"1\"], represents the search domain. It includes a condition to filter records where the identifier is equal to \"1\". This indicates that the request is targeting a specific record with the identifier \"1\" within the \"settings\" entity.</p>\n</li>\n<li><p>The second sublist is a list of fields to retrieve for each record. It specifies the fields:</p>\n<ol>\n<li><p><strong>\"purchase_copy_picking\":</strong> This field likely represents a configuration setting related to the purchase process. It could control whether information, such as picking details, should be copied in the purchase documents.</p>\n</li>\n<li><p><strong>\"purchase_copy_invoice\":</strong> This field might indicate whether information, particularly related to invoices, should be copied in the purchase documents.</p>\n</li>\n<li><p><strong>\"purchase_check_received_qty\":</strong> This field could represent a setting to check received quantities during the purchase process, ensuring that they match the expected quantities.</p>\n</li>\n<li><p><strong>\"purchase_min_approvals\":</strong> This setting may determine the minimum number of approvals required for a purchase to be processed or finalized.</p>\n</li>\n<li><p><strong>\"pr_require_supplier\":</strong> This field might be related to purchase requests, specifying whether a supplier is required when creating a purchase request.</p>\n</li>\n<li><p><strong>\"approve_purchase\":</strong> This setting could control whether purchases need to go through an approval process before being finalized.</p>\n</li>\n<li><p><strong>\"approve_purchase_request\":</strong> Similar to \"approve_purchase,\" this field may control the approval process specifically for purchase requests.</p>\n</li>\n<li><p><strong>\"create_uid\":</strong> This field likely represents the user ID of the creator of the settings record.</p>\n</li>\n<li><p><strong>\"create_time\":</strong> This field could represent the timestamp or date and time when the settings record was created.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>\"context\": {}:</strong> The fourth parameter is a dictionary representing the context for the operation. In this case, an empty dictionary indicates that no specific context information is provided in this request.</p>\n</li>\n<li><p><strong>\"load_all_trans\": true:</strong> Within the context, the key \"load_all_trans\" is set to true. This might imply that the request intends to load all translations related to the retrieved settings.</p>\n</li>\n</ol>\n<p>In summary, this request is performing a read operation within the \"settings\" entity. It aims to retrieve specific fields for a record with the identifier \"1\". The fields requested include various configuration settings such as purchase_copy_picking, purchase_copy_invoice, etc. No specific context information is provided except for the option to load all translations related to the retrieved settings.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"c6b976bc-8198-4e66-8f46-844fbecedfa9","name":"params/settings/read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701323338733,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"settings\",\r\n        \"read\",\r\n        [\r\n            [\r\n                \"1\"\r\n            ],\r\n            [\r\n                \"purchase_copy_picking\",\r\n                \"purchase_copy_invoice\",\r\n                \"purchase_check_received_qty\",\r\n                \"purchase_min_approvals\",\r\n                \"pr_require_supplier\",\r\n                \"approve_purchase\",\r\n                \"approve_purchase_request\",\r\n                \"create_uid\",\r\n                \"create_time\"\r\n            ]\r\n        ],\r\n        {\r\n            \"context\": {},\r\n            \"load_all_trans\": true\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-30 10:47:55\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 30 Nov 2023 07:12:47 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=iLwIpH9O9fO0IuqzfnGY9a32EWQ4HNJGPDybdgE0mnEe2%2BkQRWoJwrbTb4CJ7o1JhkJXr76rWo4%2FYHJvgYfAJM8PUGm93A1HTEwPZ1wmQhqm4JOWnu4y37dVqiMIqpUs%2Fqn0HHUqNFwveKKFIQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"82e148b7eeca702a-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"id\": 1,\n            \"create_uid\": null,\n            \"purchase_min_approvals\": null,\n            \"purchase_check_received_qty\": null,\n            \"create_time\": null,\n            \"pr_require_supplier\": null,\n            \"approve_purchase_request\": null,\n            \"purchase_copy_invoice\": false,\n            \"approve_purchase\": null,\n            \"purchase_copy_picking\": false\n        }\n    ],\n    \"error\": null,\n    \"id\": 1701323338733,\n    \"dt\": 141\n}"}],"_postman_id":"c803f102-b27a-43d9-a4e2-159114a15d18"},{"name":"params/inline.help/search_read","id":"a36b17c6-04ca-4d4b-93c6-01765db59012","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701323338725,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"purchase_settings\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-30 10:47:55\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-30112023\">Request added on: 30/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"inline.help\",<br />\"search_read\",<br />[<br />[<br />[<br />\"action\",<br />\"=\",<br />\"purchase_settings\"<br />]<br />]<br />],<br />{},</strong></p>\n<ol>\n<li><p><strong>\"inline.help\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"inline.help\" entity, which might be related to providing inline help or assistance within the system.</p>\n</li>\n<li><p><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</p>\n</li>\n<li><p><strong>[ [ [ \"action\", \"=\", \"purchase_settings\" ] ] ]:</strong> This is the third parameter and consists of a single list representing the search domain. Breaking it down:</p>\n<ol>\n<li><p><strong>Outermost List:</strong> The outermost list contains a single element, which is a middle list.</p>\n</li>\n<li><p><strong>Middle List:</strong> The middle list contains one element, which is the innermost list.</p>\n</li>\n<li><p><strong>Innermost List:</strong> The innermost list contains three elements, forming a condition.</p>\n<ol>\n<li><p><strong>\"action\":</strong> This represents a field or attribute in the system. In this case, it is likely a field named \"action.\"</p>\n</li>\n<li><p><strong>\"=\":</strong> This is the comparison operator used in the condition. It signifies equality, indicating that the value of the \"action\" field must be equal to the specified value.</p>\n</li>\n<li><p><strong>\"purchase_settings\":</strong> This is the value against which the \"action\" field is being compared. In other words, it specifies a condition that the \"action\" field must have the value \"purchase_settings\" for a record to be considered a match.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>{}:</strong> This is the fourth parameter and represents an empty dictionary. In the context of this request, it indicates that no additional options or context information is provided.</p>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity. It retrieves records that match the criteria of having the \"action\" equal to \"purchase_settings.\" No specific fields are requested for retrieval, and no additional context is provided in this request. The purpose of this request is likely to gather information or assistance related to the purchase settings within the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"92cebf38-8ecd-4833-b06d-f3377e21c82e","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701323338725,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"purchase_settings\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-30 10:47:55\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 30 Nov 2023 07:23:44 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=3r5DnzNCmJ5A9TEuKyfiaWlqgwI2KRb%2BY6XfEk23tVZgoA4MCcXxcvo7wjF8ph12rJy3ydxDl%2BLlMgv7BJEgC6JToqpade0lA91FG6uZ1huqnZVXAsfQgnKiqOR2Ol9mx1yUteHo0VDM8lIB5w%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"82e158c1da126f94-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1701323338725,\n    \"dt\": 16\n}"}],"_postman_id":"a36b17c6-04ca-4d4b-93c6-01765db59012"},{"name":"params/settings/search","id":"ae952f2f-a1b5-4c7d-b0ac-9557ee54a053","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701323340592,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"settings\",\r\n        \"search\",\r\n        [\r\n            []\r\n        ],\r\n        {\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-30 10:48:58\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-30112023\">Request added on: 30/11/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"settings\",<br />\"search\",<br />[<br />[]<br />],<br />{<br />\"limit\": 1000,<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"settings\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"settings\" entity.</p>\n</li>\n<li><p><strong>\"search\":</strong> The second parameter specifies the action to be performed on the entity. \"search\" is an action commonly used to retrieve records based on specified criteria.</p>\n</li>\n<li><p>The third parameter is a list containing an empty list <code>[]</code>. In this context, an empty list indicates that there are no specific conditions or filters applied to the records being retrieved. The request aims to retrieve all records from the \"settings\" entity without any specific filtering conditions.</p>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with two options:</p>\n<ol>\n<li><p><strong>\"limit\": 1000:</strong> Specifies the maximum number of records to retrieve, set to 1000 in this request. It means that the request will fetch up to 1000 records in a single query. If there are more records, additional requests may be needed.</p>\n</li>\n<li><p><strong>\"context\": {}:</strong> Represents an empty context, indicating that no additional context is provided in this request.</p>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search operation within the \"settings\" entity. It aims to retrieve all records without specific filtering conditions, and the maximum number of records to retrieve is set to 1000. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"ff235cab-a1aa-4aa0-a038-7447e7790733","name":"params/settings/search","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701323340592,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"settings\",\r\n        \"search\",\r\n        [\r\n            []\r\n        ],\r\n        {\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-11-30 10:48:58\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 30 Nov 2023 07:34:06 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Q%2FQXTvh3C2yNVZCOkh2nfTwBNavUlRNRxqLIr5PZ3MpVED9NtggO%2FZbGaEoGgQydy2jr0DEzsExO0IrdJKnMR9W55s1R0oATk%2BhXQhUs0hS8rm0DPUh0BV%2F9paZxSuyWBm1fI1gvSZFax0dDkg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"82e167ed7c046fb1-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        1\n    ],\n    \"error\": null,\n    \"id\": 1701323340592,\n    \"dt\": 23\n}"}],"_postman_id":"ae952f2f-a1b5-4c7d-b0ac-9557ee54a053"}],"id":"543941e8-4393-4164-9a58-b8321e66b1a1","_postman_id":"543941e8-4393-4164-9a58-b8321e66b1a1","description":""},{"name":"Purchase Types","item":[{"name":"params/purchase.type/search_read","id":"4a62aa91-fcda-42b8-a0ca-7bc5443ca454","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701758107484,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"purchase.type\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"parent_id\",\r\n                \"description\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-12-05 11:34:02\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-05122023\">Request added on: 05/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"purchase.type\",<br />\"search_read\",<br />[<br />[],<br />[<br />\"name\",<br />\"parent_id\",<br />\"description\"<br />]<br />],<br />{<br />\"count\": true,<br />\"order\": null,<br />\"offset\": 0,<br />\"limit\": 100,<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"purchase.type\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"purchase.type\" entity, indicating that the operation will be performed within this entity, likely related to purchase types.</p>\n</li>\n<li><p><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</p>\n</li>\n<li><p>The third parameter is a list containing an empty list <code>[]</code>. This indicates that there are no specific conditions or filters applied to the records being retrieved. The request aims to retrieve all records from the \"purchase.type\" entity without any specific filtering conditions.</p>\n</li>\n<li><p>The second part of the third parameter is a list of fields to retrieve for each record: [\"name\", \"parent_id\", \"description\"].</p>\n<ol>\n<li><p><strong>\"name\":</strong> Represents the name or title associated with the purchase type.</p>\n</li>\n<li><p><strong>\"parent_id\":</strong> Represents the parent purchase type, if applicable.</p>\n</li>\n<li><p><strong>\"description\":</strong> Represents a description or additional information about the purchase type.</p>\n</li>\n</ol>\n</li>\n<li><p>**Context:**The fourth parameter is a dictionary with various options:</p>\n<ol>\n<li><p><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. This allows you to determine how many purchase type records exist in the system.</p>\n</li>\n<li><p><strong>\"order\": null:</strong> Indicates that no specific sorting order is applied to the retrieved records. The records will be returned without any particular order.</p>\n</li>\n<li><p><strong>\"offset\": 0:</strong> Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve records starting from the first record.</p>\n</li>\n<li><p><strong>\"limit\": 100:</strong> Specifies the maximum number of records to retrieve, set to 100 in this request. It means that the request will fetch up to 100 purchase type records in a single query. If there are more records, additional requests may be needed.</p>\n</li>\n<li><p><strong>\"context\": {}:</strong> Represents an empty context, indicating that no additional context is provided in this request.</p>\n</li>\n</ol>\n</li>\n<li><p><strong>Summary:</strong> This request is performing a search and read operation within the \"purchase.type\" entity. It retrieves all purchase type records without specific filtering conditions and retrieves the specified fields for each record. Additionally, it counts the total number of matching records, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 records. No additional context is provided in this request.</p>\n</li>\n</ol>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"2d9d75e1-15b5-4f2c-94cc-6708c9305f4d","name":"params/purchase.type/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701758107484,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"purchase.type\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\",\r\n                \"parent_id\",\r\n                \"description\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-12-05 11:34:02\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 05 Dec 2023 06:57:03 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=dpbM5wGEYKDy412%2FhEnxl1tI%2BAPsbSO%2FryCluLEUn45pwTTKtVKjEtKX0E4257n9ouOEBmqCrfmGaXifijSQ9iIK46NdWTaOgQJMfLCY8tmdGe%2FfZKj9H3P3cDmaT%2BkN7FybS%2B06Bvx%2BUtrapQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"830a648bcaed6ef3-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 1,\n                \"name\": \"Alibaba\",\n                \"description\": \"Alibaba\",\n                \"parent_id\": null\n            }\n        ],\n        1\n    ],\n    \"error\": null,\n    \"id\": 1701758107484,\n    \"dt\": 8\n}"}],"_postman_id":"4a62aa91-fcda-42b8-a0ca-7bc5443ca454"},{"name":"params/inline.help/search_read","id":"9dfeb0be-2716-4ce2-aa6d-0dfeec1a041a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701758107477,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"purch_type\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-12-05 11:34:02\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-05122023\">Request added on: 05/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"inline.help\",<br />\"search_read\",<br />[<br />[<br />[<br />\"action\",<br />\"=\",<br />\"purch_type\"<br />]<br />]<br />],<br />{},</strong></p>\n<ol>\n<li><p><strong>\"inline.help\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"inline.help\" entity, which might be related to providing inline help or assistance within the system.</p>\n</li>\n<li><p><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</p>\n</li>\n<li><p>The third parameter is a list containing a single list <code>[[[\"action\", \"=\", \"purch_type\"]]]</code>. Breaking it down:</p>\n<ol>\n<li><p>The outermost list indicates that there is one condition for the search.</p>\n</li>\n<li><p>The middle list <code>[[[\"action\", \"=\", \"purch_type\"]]]</code> contains the actual condition.</p>\n</li>\n<li><p>The innermost list <code>[\"action\", \"=\", \"purch_type\"]</code> specifies that the field \"action\" should be equal to \"purch_type.\" This conditions the search to records where the \"action\" attribute has the value \"purch_type.\"</p>\n<ol>\n<li><p><strong>\"action\":</strong> This is the first element of the list and represents a field or attribute in the system. In this case, it is likely a field named \"action.\"</p>\n</li>\n<li><p><strong>\"=\":</strong> This is the second element of the list and represents the comparison operator. In this context, it is checking for equality.</p>\n</li>\n<li><p><strong>\"purch_type\":</strong> This is the third element of the list and represents the value that the \"action\" field should be equal to. In other words, it specifies a condition that the \"action\" field must have the value \"purch_type\" for a record to be considered a match.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is an empty dictionary <code>{}</code>. In the context of this request, it indicates that no additional options or context information is provided.</p>\n</li>\n<li><p><strong>Summary:</strong> This request is performing a search and read operation within the \"inline.help\" entity. It retrieves records that match the criteria of having the \"action\" equal to \"purch_type.\" No specific fields are requested for retrieval, and no additional context is provided in this request. The purpose of this request is likely to gather information or assistance related to the \"purch_type\" action within the system.</p>\n</li>\n</ol>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"ff635aa1-8ccd-46fc-ba22-898807d5f365","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Google Chrome\";v=\"119\", \"Chromium\";v=\"119\", \"Not?A_Brand\";v=\"24\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1701758107477,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"purch_type\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-12-05 11:34:02\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 05 Dec 2023 07:16:06 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=L1mlI6v9FzoAoV4uXPEzfPM2cVk3QHp2x5nsYghutB1viO10AqYReMtuiu0LrKkR8TjL%2F%2FTvq79ZgiGDF7M41WBk7qlMbctsVWlkdiiCTIrhOqdKTyic1EXEhKYC%2FFAX%2FysIeUXNr%2BCXByblLg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"830a80742c1c6f05-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1701758107477,\n    \"dt\": 6\n}"}],"_postman_id":"9dfeb0be-2716-4ce2-aa6d-0dfeec1a041a"}],"id":"2dd58bad-43cc-498d-8674-50960e009850","_postman_id":"2dd58bad-43cc-498d-8674-50960e009850","description":""}],"id":"543570c8-99f8-4b41-a116-7a0952d82955","_postman_id":"543570c8-99f8-4b41-a116-7a0952d82955","description":""}],"id":"28503dbe-b5b4-4fd0-afc3-10931e41b90f","_postman_id":"28503dbe-b5b4-4fd0-afc3-10931e41b90f","description":""},{"name":"Accounting","item":[{"name":"Dashboard","item":[{"name":"params/inline.help/search_read","id":"2343fac8-0f62-4fb4-9587-ba18d9a1e481","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1703749292283,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"account_board\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-12-28 12:40:30\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-27122023\">Request added on: 27/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"inline.help\",<br />\"search_read\",<br />[<br />[<br />[<br />\"action\",<br />\"=\",<br />\"account_board\"<br />]<br />]<br />],<br />{},</strong></p>\n<ol>\n<li><p><strong>\"inline.help\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"inline.help\" entity, indicating that the operation will be performed within this entity, likely related to providing inline help or assistance within the system.</p>\n</li>\n<li><p><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</p>\n</li>\n<li><p><strong>[ [ [ \"action\", \"=\", \"account_board\" ] ] ]</strong>: This is the third parameter and consists of a single list representing the search domain. Breaking it down:</p>\n<ol>\n<li><p>[ [ [ \"action\", \"=\", \"account_board\" ] ] ]: This is a nested list structure representing the search domain for the operation.EndFragment</p>\n<ol>\n<li><p>The outermost list <code>[ ... ]</code> indicates that there is one condition for the search.</p>\n</li>\n<li><p>The middle list <code>[ [ ... ] ]</code> contains the actual condition.</p>\n</li>\n<li><p>The innermost list <code>[ \"action\", \"=\", \"account_board\" ]</code> specifies the condition:</p>\n<ol>\n<li><p><strong>\"action\":</strong> This represents a field or attribute within the \"inline.help\" entity, which is being compared.</p>\n</li>\n<li><p><strong>\"=\":</strong> This is the operator used in the condition and signifies equality. It's checking if the field on the left is equal to the value on the right.</p>\n</li>\n<li><p><strong>\"account_board\":</strong> This is the value against which the \"action\" field is being compared. In other words, it specifies a condition that the \"action\" field must have the value \"account_board\" for a record to be considered a match.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>Context</strong> {}: This is the fourth parameter and represents an empty dictionary. In the context of this request, it indicates that no additional options or context information is provided.</p>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity. It retrieves records that match the criteria of having the \"action\" equal to \"account_board.\" No specific fields are requested for retrieval, and no additional context is provided in this request. The purpose of this request is likely to gather information or assistance related to the \"account_board\" action within the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"1801dd76-3971-4285-84ae-513933c6147c","name":"inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1703749292283,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"account_board\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-12-28 12:40:30\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 28 Dec 2023 07:50:00 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=MNI9fod21RfuOqWZYmcgn8%2F7UBiEaLsN1hc%2FYAA045evAfDIbssgjho7rA4C7pK99hK7UAjKvHYnJm1%2FiE7g%2BbowIvX8KVSQxZ305iLXfABVbaKoJBpZK1G5GiDkaIelf5OhzcYUmEqJmBKHjQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"83c835be1d7e700e-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1703749292283,\n    \"dt\": 11\n}"}],"_postman_id":"2343fac8-0f62-4fb4-9587-ba18d9a1e481"},{"name":"params/account.account/search_read","id":"39b02d7b-c21b-449e-8114-7d2bdb6d85ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1703749292288,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"account.account\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"type\",\r\n                    \"in\",\r\n                    [\r\n                        \"bank\",\r\n                        \"cash\",\r\n                        \"cheque\"\r\n                    ]\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"bank_no\",\r\n                \"balance_statement\",\r\n                \"balance_cur\",\r\n                \"balance_90d\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": \"name\",\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-12-28 12:40:30\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-27122023\">Request added on: 27/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"account.account\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"type\",</strong></strong>\"in\",<strong><strong>[</strong></strong>\"bank\",<strong><strong>\"cash\",</strong></strong>\"cheque\"<strong><strong>]</strong></strong>]<strong><strong>],<strong><strong>[</strong></strong>\"name\",</strong></strong>\"bank_no\",<strong><strong>\"balance_statement\",</strong></strong>\"balance_cur\",****\"balance_90d\"<strong><strong>]</strong></strong>],**</p>\n<ol>\n<li><p><strong>\"account.account\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"account.account\" entity, indicating that the operation will be performed within this entity, likely related to accounts.</p>\n</li>\n<li><p><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</p>\n</li>\n<li><p>The third parameter is a list containing two sub-lists:</p>\n<ol>\n<li><p>The first sub-list, <code>[ [ \"type\", \"in\", [\"bank\", \"cash\", \"cheque\"] ] ]</code>, represents the search domain. Breaking it down:</p>\n<ol>\n<li><p><strong>\"type\":</strong> Represents a field or attribute within the \"account.account\" entity.</p>\n</li>\n<li><p><strong>\"in\":</strong> This operator checks if the \"type\" field has a value that belongs to the specified list.</p>\n</li>\n<li><p><strong>[\"bank\", \"cash\", \"cheque\"]:</strong> This is the list of values against which the \"type\" field is being checked. The condition aims to filter records where the \"type\" is one of these values.</p>\n</li>\n</ol>\n</li>\n<li><p>The second sub-list <code>[\"name\", \"bank_no\", \"balance_statement\", \"balance_cur\", \"balance_90d\"]</code> specifies the fields (attributes) of the records to be included in the response. These attributes relate to account records that the request aims to retrieve.</p>\n<ol>\n<li><strong>\"name\":</strong> Represents the name or identifier associated with the account.</li>\n<li><strong>\"bank_no\":</strong> Likely represents the bank account number associated with the account.</li>\n<li><strong>\"balance_statement\":</strong> Represents the balance statement of the account.</li>\n<li><strong>\"balance_cur\":</strong> Represents the current balance of the account.</li>\n<li><strong>\"balance_90d\":</strong> Represents the balance of the account over a 90-day period.</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"account.account\" entity. It filters records based on the \"type\" attribute being one of \"bank,\" \"cash,\" or \"cheque.\" The specified fields \"name,\" \"bank_no,\" \"balance_statement,\" \"balance_cur,\" and \"balance_90d\" are requested for retrieval in the response.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"44d5989d-c345-41a7-8a8b-08c960ed533a","name":"params/account.account/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1703749292288,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"account.account\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"type\",\r\n                    \"in\",\r\n                    [\r\n                        \"bank\",\r\n                        \"cash\",\r\n                        \"cheque\"\r\n                    ]\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"bank_no\",\r\n                \"balance_statement\",\r\n                \"balance_cur\",\r\n                \"balance_90d\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": \"name\",\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-12-28 12:40:30\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 28 Dec 2023 09:13:14 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Q6XdQ5KVNXbhRnZ2v8KyZOPBQfDCczt2bGZg759RWxCBhUGitZohh8YJ3lA8MzFnlDeU%2FbkwPGkwFMM0XxCDNGxiBQkftKOSP8E%2FrXcQqL%2F8DF99UTq2KialKxA2pQFZ%2FYV2bBYyU9rYlp6HBA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"83c8afa9ecc26f14-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 64,\n                \"name\": \"Alliance\",\n                \"bank_no\": \"620650010021190\",\n                \"balance_90d\": [\n                    [\n                        1695916800000,\n                        2270.93\n                    ],\n                    [\n                        1696003200000,\n                        2271.92\n                    ],\n                    [\n                        1696089600000,\n                        -2507.08\n                    ],\n                    [\n                        1696176000000,\n                        -2507.08\n                    ],\n                    [\n                        1696262400000,\n                        17403.92\n                    ],\n                    [\n                        1696348800000,\n                        27953.41\n                    ],\n                    [\n                        1696435200000,\n                        25437.41\n                    ],\n                    [\n                        1696521600000,\n                        25437.41\n                    ],\n                    [\n                        1696608000000,\n                        942.91\n                    ],\n                    [\n                        1696694400000,\n                        942.91\n                    ],\n                    [\n                        1696780800000,\n                        942.91\n                    ],\n                    [\n                        1696867200000,\n                        2242.91\n                    ],\n                    [\n                        1696953600000,\n                        2242.91\n                    ],\n                    [\n                        1697040000000,\n                        2242.91\n                    ],\n                    [\n                        1697126400000,\n                        2242.91\n                    ],\n                    [\n                        1697212800000,\n                        2242.91\n                    ],\n                    [\n                        1697299200000,\n                        2242.91\n                    ],\n                    [\n                        1697385600000,\n                        2242.91\n                    ],\n                    [\n                        1697472000000,\n                        2242.91\n                    ],\n                    [\n                        1697558400000,\n                        12642.91\n                    ],\n                    [\n                        1697644800000,\n                        11615.98\n                    ],\n                    [\n                        1697731200000,\n                        7235.98\n                    ],\n                    [\n                        1697817600000,\n                        7235.98\n                    ],\n                    [\n                        1697904000000,\n                        7235.98\n                    ],\n                    [\n                        1697990400000,\n                        7235.98\n                    ],\n                    [\n                        1698076800000,\n                        7229.18\n                    ],\n                    [\n                        1698163200000,\n                        7229.18\n                    ],\n                    [\n                        1698249600000,\n                        7229.18\n                    ],\n                    [\n                        1698336000000,\n                        7229.18\n                    ],\n                    [\n                        1698422400000,\n                        7229.18\n                    ],\n                    [\n                        1698508800000,\n                        7229.18\n                    ],\n                    [\n                        1698595200000,\n                        30229.18\n                    ],\n                    [\n                        1698681600000,\n                        5061.6\n                    ],\n                    [\n                        1698768000000,\n                        282.6\n                    ],\n                    [\n                        1698854400000,\n                        282.6\n                    ],\n                    [\n                        1698940800000,\n                        20282.6\n                    ],\n                    [\n                        1699027200000,\n                        20282.6\n                    ],\n                    [\n                        1699113600000,\n                        20282.6\n                    ],\n                    [\n                        1699200000000,\n                        14726.16\n                    ],\n                    [\n                        1699286400000,\n                        -2448.75\n                    ],\n                    [\n                        1699372800000,\n                        -2537.75\n                    ],\n                    [\n                        1699459200000,\n                        -2537.75\n                    ],\n                    [\n                        1699545600000,\n                        -1237.75\n                    ],\n                    [\n                        1699632000000,\n                        -1237.75\n                    ],\n                    [\n                        1699718400000,\n                        -1237.75\n                    ],\n                    [\n                        1699804800000,\n                        -1237.75\n                    ],\n                    [\n                        1699891200000,\n                        -1237.75\n                    ],\n                    [\n                        1699977600000,\n                        -1237.75\n                    ],\n                    [\n                        1700064000000,\n                        1262.25\n                    ],\n                    [\n                        1700150400000,\n                        -2553.75\n                    ],\n                    [\n                        1700236800000,\n                        -2553.75\n                    ],\n                    [\n                        1700323200000,\n                        -2553.75\n                    ],\n                    [\n                        1700409600000,\n                        36446.25\n                    ],\n                    [\n                        1700496000000,\n                        12446.25\n                    ],\n                    [\n                        1700582400000,\n                        12446.25\n                    ],\n                    [\n                        1700668800000,\n                        11051.25\n                    ],\n                    [\n                        1700755200000,\n                        37728.39\n                    ],\n                    [\n                        1700841600000,\n                        37728.39\n                    ],\n                    [\n                        1700928000000,\n                        37728.39\n                    ],\n                    [\n                        1701014400000,\n                        37728.39\n                    ],\n                    [\n                        1701100800000,\n                        37728.4\n                    ],\n                    [\n                        1701187200000,\n                        35164.08\n                    ],\n                    [\n                        1701273600000,\n                        24299.76\n                    ],\n                    [\n                        1701360000000,\n                        62520.76\n                    ],\n                    [\n                        1701446400000,\n                        62520.76\n                    ],\n                    [\n                        1701532800000,\n                        62520.76\n                    ],\n                    [\n                        1701619200000,\n                        30668.16\n                    ],\n                    [\n                        1701705600000,\n                        28957.16\n                    ],\n                    [\n                        1701792000000,\n                        28957.16\n                    ],\n                    [\n                        1701878400000,\n                        3275.33\n                    ],\n                    [\n                        1701964800000,\n                        3275.33\n                    ],\n                    [\n                        1702051200000,\n                        3275.33\n                    ],\n                    [\n                        1702137600000,\n                        3275.33\n                    ],\n                    [\n                        1702224000000,\n                        3275.33\n                    ],\n                    [\n                        1702310400000,\n                        43275.33\n                    ],\n                    [\n                        1702396800000,\n                        43275.33\n                    ],\n                    [\n                        1702483200000,\n                        43275.33\n                    ],\n                    [\n                        1702569600000,\n                        43275.33\n                    ],\n                    [\n                        1702656000000,\n                        43275.33\n                    ],\n                    [\n                        1702742400000,\n                        43275.33\n                    ],\n                    [\n                        1702828800000,\n                        43275.33\n                    ],\n                    [\n                        1702915200000,\n                        37975.33\n                    ],\n                    [\n                        1703001600000,\n                        37975.33\n                    ],\n                    [\n                        1703088000000,\n                        35148.57\n                    ],\n                    [\n                        1703174400000,\n                        87301.64\n                    ],\n                    [\n                        1703260800000,\n                        117301.64\n                    ],\n                    [\n                        1703347200000,\n                        167301.64\n                    ],\n                    [\n                        1703433600000,\n                        167301.64\n                    ],\n                    [\n                        1703520000000,\n                        107559.07\n                    ],\n                    [\n                        1703606400000,\n                        87323.07\n                    ],\n                    [\n                        1703692800000,\n                        45983.07\n                    ]\n                ],\n                \"balance_statement\": 167301.64,\n                \"debit\": 3985184.24,\n                \"credit\": 3965180.17,\n                \"balance\": 20004.07,\n                \"balance_cur\": 20004.07\n            },\n            {\n                \"id\": 171,\n                \"name\": \"Ambank (Res)\",\n                \"bank_no\": \"8881021944570\",\n                \"balance_90d\": [\n                    [\n                        1695916800000,\n                        13920.64\n                    ],\n                    [\n                        1696003200000,\n                        13920.64\n                    ],\n                    [\n                        1696089600000,\n                        13920.64\n                    ],\n                    [\n                        1696176000000,\n                        13920.64\n                    ],\n                    [\n                        1696262400000,\n                        13920.64\n                    ],\n                    [\n                        1696348800000,\n                        13920.64\n                    ],\n                    [\n                        1696435200000,\n                        13920.64\n                    ],\n                    [\n                        1696521600000,\n                        13920.64\n                    ],\n                    [\n                        1696608000000,\n                        13920.64\n                    ],\n                    [\n                        1696694400000,\n                        13920.64\n                    ],\n                    [\n                        1696780800000,\n                        13920.64\n                    ],\n                    [\n                        1696867200000,\n                        13920.64\n                    ],\n                    [\n                        1696953600000,\n                        13920.64\n                    ],\n                    [\n                        1697040000000,\n                        13920.64\n                    ],\n                    [\n                        1697126400000,\n                        13920.64\n                    ],\n                    [\n                        1697212800000,\n                        13920.64\n                    ],\n                    [\n                        1697299200000,\n                        13920.64\n                    ],\n                    [\n                        1697385600000,\n                        13920.64\n                    ],\n                    [\n                        1697472000000,\n                        13920.64\n                    ],\n                    [\n                        1697558400000,\n                        13920.64\n                    ],\n                    [\n                        1697644800000,\n                        13920.64\n                    ],\n                    [\n                        1697731200000,\n                        13920.64\n                    ],\n                    [\n                        1697817600000,\n                        13920.64\n                    ],\n                    [\n                        1697904000000,\n                        13920.64\n                    ],\n                    [\n                        1697990400000,\n                        13920.64\n                    ],\n                    [\n                        1698076800000,\n                        13920.64\n                    ],\n                    [\n                        1698163200000,\n                        13920.64\n                    ],\n                    [\n                        1698249600000,\n                        13920.64\n                    ],\n                    [\n                        1698336000000,\n                        13920.64\n                    ],\n                    [\n                        1698422400000,\n                        13920.64\n                    ],\n                    [\n                        1698508800000,\n                        13920.64\n                    ],\n                    [\n                        1698595200000,\n                        13920.64\n                    ],\n                    [\n                        1698681600000,\n                        13920.64\n                    ],\n                    [\n                        1698768000000,\n                        13920.64\n                    ],\n                    [\n                        1698854400000,\n                        13920.64\n                    ],\n                    [\n                        1698940800000,\n                        13920.64\n                    ],\n                    [\n                        1699027200000,\n                        13920.64\n                    ],\n                    [\n                        1699113600000,\n                        13920.64\n                    ],\n                    [\n                        1699200000000,\n                        13920.64\n                    ],\n                    [\n                        1699286400000,\n                        13920.64\n                    ],\n                    [\n                        1699372800000,\n                        13920.64\n                    ],\n                    [\n                        1699459200000,\n                        13920.64\n                    ],\n                    [\n                        1699545600000,\n                        13920.64\n                    ],\n                    [\n                        1699632000000,\n                        13920.64\n                    ],\n                    [\n                        1699718400000,\n                        13920.64\n                    ],\n                    [\n                        1699804800000,\n                        13920.64\n                    ],\n                    [\n                        1699891200000,\n                        13920.64\n                    ],\n                    [\n                        1699977600000,\n                        13920.64\n                    ],\n                    [\n                        1700064000000,\n                        920.64\n                    ],\n                    [\n                        1700150400000,\n                        920.64\n                    ],\n                    [\n                        1700236800000,\n                        920.64\n                    ],\n                    [\n                        1700323200000,\n                        920.64\n                    ],\n                    [\n                        1700409600000,\n                        920.64\n                    ],\n                    [\n                        1700496000000,\n                        18920.64\n                    ],\n                    [\n                        1700582400000,\n                        18920.64\n                    ],\n                    [\n                        1700668800000,\n                        18920.64\n                    ],\n                    [\n                        1700755200000,\n                        18920.64\n                    ],\n                    [\n                        1700841600000,\n                        18920.64\n                    ],\n                    [\n                        1700928000000,\n                        18920.64\n                    ],\n                    [\n                        1701014400000,\n                        18920.64\n                    ],\n                    [\n                        1701100800000,\n                        18920.64\n                    ],\n                    [\n                        1701187200000,\n                        18920.64\n                    ],\n                    [\n                        1701273600000,\n                        18920.64\n                    ],\n                    [\n                        1701360000000,\n                        18920.64\n                    ],\n                    [\n                        1701446400000,\n                        18920.64\n                    ],\n                    [\n                        1701532800000,\n                        18920.64\n                    ],\n                    [\n                        1701619200000,\n                        23920.64\n                    ],\n                    [\n                        1701705600000,\n                        23920.64\n                    ],\n                    [\n                        1701792000000,\n                        23920.64\n                    ],\n                    [\n                        1701878400000,\n                        23920.64\n                    ],\n                    [\n                        1701964800000,\n                        23920.64\n                    ],\n                    [\n                        1702051200000,\n                        23920.64\n                    ],\n                    [\n                        1702137600000,\n                        23920.64\n                    ],\n                    [\n                        1702224000000,\n                        23920.64\n                    ],\n                    [\n                        1702310400000,\n                        33920.64\n                    ],\n                    [\n                        1702396800000,\n                        33920.64\n                    ],\n                    [\n                        1702483200000,\n                        33920.64\n                    ],\n                    [\n                        1702569600000,\n                        33920.64\n                    ],\n                    [\n                        1702656000000,\n                        33920.64\n                    ],\n                    [\n                        1702742400000,\n                        33920.64\n                    ],\n                    [\n                        1702828800000,\n                        33920.64\n                    ],\n                    [\n                        1702915200000,\n                        33920.64\n                    ],\n                    [\n                        1703001600000,\n                        33920.64\n                    ],\n                    [\n                        1703088000000,\n                        33920.64\n                    ],\n                    [\n                        1703174400000,\n                        33920.64\n                    ],\n                    [\n                        1703260800000,\n                        33920.64\n                    ],\n                    [\n                        1703347200000,\n                        33920.64\n                    ],\n                    [\n                        1703433600000,\n                        33920.64\n                    ],\n                    [\n                        1703520000000,\n                        33920.64\n                    ],\n                    [\n                        1703606400000,\n                        33920.64\n                    ],\n                    [\n                        1703692800000,\n                        33920.64\n                    ]\n                ],\n                \"balance_statement\": 18920.64,\n                \"debit\": 150828.3,\n                \"credit\": 116907.66,\n                \"balance\": 33920.64,\n                \"balance_cur\": 33920.64\n            },\n            {\n                \"id\": 346,\n                \"name\": \"BSN Savings\",\n                \"bank_no\": \"1010941100027501\",\n                \"balance_90d\": [\n                    [\n                        1695916800000,\n                        170.71\n                    ],\n                    [\n                        1696003200000,\n                        170.71\n                    ],\n                    [\n                        1696089600000,\n                        170.71\n                    ],\n                    [\n                        1696176000000,\n                        170.71\n                    ],\n                    [\n                        1696262400000,\n                        170.71\n                    ],\n                    [\n                        1696348800000,\n                        170.71\n                    ],\n                    [\n                        1696435200000,\n                        170.71\n                    ],\n                    [\n                        1696521600000,\n                        170.71\n                    ],\n                    [\n                        1696608000000,\n                        170.71\n                    ],\n                    [\n                        1696694400000,\n                        170.71\n                    ],\n                    [\n                        1696780800000,\n                        170.71\n                    ],\n                    [\n                        1696867200000,\n                        170.71\n                    ],\n                    [\n                        1696953600000,\n                        170.71\n                    ],\n                    [\n                        1697040000000,\n                        170.71\n                    ],\n                    [\n                        1697126400000,\n                        170.71\n                    ],\n                    [\n                        1697212800000,\n                        170.71\n                    ],\n                    [\n                        1697299200000,\n                        170.71\n                    ],\n                    [\n                        1697385600000,\n                        170.71\n                    ],\n                    [\n                        1697472000000,\n                        170.71\n                    ],\n                    [\n                        1697558400000,\n                        170.71\n                    ],\n                    [\n                        1697644800000,\n                        170.71\n                    ],\n                    [\n                        1697731200000,\n                        170.71\n                    ],\n                    [\n                        1697817600000,\n                        170.71\n                    ],\n                    [\n                        1697904000000,\n                        170.71\n                    ],\n                    [\n                        1697990400000,\n                        170.71\n                    ],\n                    [\n                        1698076800000,\n                        170.71\n                    ],\n                    [\n                        1698163200000,\n                        170.71\n                    ],\n                    [\n                        1698249600000,\n                        170.71\n                    ],\n                    [\n                        1698336000000,\n                        170.71\n                    ],\n                    [\n                        1698422400000,\n                        170.71\n                    ],\n                    [\n                        1698508800000,\n                        170.71\n                    ],\n                    [\n                        1698595200000,\n                        170.71\n                    ],\n                    [\n                        1698681600000,\n                        170.71\n                    ],\n                    [\n                        1698768000000,\n                        170.71\n                    ],\n                    [\n                        1698854400000,\n                        170.71\n                    ],\n                    [\n                        1698940800000,\n                        170.71\n                    ],\n                    [\n                        1699027200000,\n                        170.71\n                    ],\n                    [\n                        1699113600000,\n                        170.71\n                    ],\n                    [\n                        1699200000000,\n                        170.71\n                    ],\n                    [\n                        1699286400000,\n                        170.71\n                    ],\n                    [\n                        1699372800000,\n                        170.71\n                    ],\n                    [\n                        1699459200000,\n                        170.71\n                    ],\n                    [\n                        1699545600000,\n                        170.71\n                    ],\n                    [\n                        1699632000000,\n                        170.71\n                    ],\n                    [\n                        1699718400000,\n                        170.71\n                    ],\n                    [\n                        1699804800000,\n                        170.71\n                    ],\n                    [\n                        1699891200000,\n                        170.71\n                    ],\n                    [\n                        1699977600000,\n                        170.71\n                    ],\n                    [\n                        1700064000000,\n                        170.71\n                    ],\n                    [\n                        1700150400000,\n                        170.71\n                    ],\n                    [\n                        1700236800000,\n                        170.71\n                    ],\n                    [\n                        1700323200000,\n                        170.71\n                    ],\n                    [\n                        1700409600000,\n                        170.71\n                    ],\n                    [\n                        1700496000000,\n                        170.71\n                    ],\n                    [\n                        1700582400000,\n                        170.71\n                    ],\n                    [\n                        1700668800000,\n                        170.71\n                    ],\n                    [\n                        1700755200000,\n                        170.71\n                    ],\n                    [\n                        1700841600000,\n                        170.71\n                    ],\n                    [\n                        1700928000000,\n                        170.71\n                    ],\n                    [\n                        1701014400000,\n                        180.71\n                    ],\n                    [\n                        1701100800000,\n                        180.71\n                    ],\n                    [\n                        1701187200000,\n                        180.71\n                    ],\n                    [\n                        1701273600000,\n                        180.71\n                    ],\n                    [\n                        1701360000000,\n                        180.71\n                    ],\n                    [\n                        1701446400000,\n                        180.71\n                    ],\n                    [\n                        1701532800000,\n                        180.71\n                    ],\n                    [\n                        1701619200000,\n                        180.71\n                    ],\n                    [\n                        1701705600000,\n                        180.71\n                    ],\n                    [\n                        1701792000000,\n                        180.71\n                    ],\n                    [\n                        1701878400000,\n                        180.71\n                    ],\n                    [\n                        1701964800000,\n                        180.71\n                    ],\n                    [\n                        1702051200000,\n                        180.71\n                    ],\n                    [\n                        1702137600000,\n                        180.71\n                    ],\n                    [\n                        1702224000000,\n                        180.71\n                    ],\n                    [\n                        1702310400000,\n                        180.71\n                    ],\n                    [\n                        1702396800000,\n                        180.71\n                    ],\n                    [\n                        1702483200000,\n                        180.71\n                    ],\n                    [\n                        1702569600000,\n                        180.71\n                    ],\n                    [\n                        1702656000000,\n                        180.71\n                    ],\n                    [\n                        1702742400000,\n                        180.71\n                    ],\n                    [\n                        1702828800000,\n                        180.71\n                    ],\n                    [\n                        1702915200000,\n                        180.71\n                    ],\n                    [\n                        1703001600000,\n                        180.71\n                    ],\n                    [\n                        1703088000000,\n                        180.71\n                    ],\n                    [\n                        1703174400000,\n                        180.71\n                    ],\n                    [\n                        1703260800000,\n                        180.71\n                    ],\n                    [\n                        1703347200000,\n                        180.71\n                    ],\n                    [\n                        1703433600000,\n                        180.71\n                    ],\n                    [\n                        1703520000000,\n                        180.71\n                    ],\n                    [\n                        1703606400000,\n                        180.71\n                    ],\n                    [\n                        1703692800000,\n                        180.71\n                    ]\n                ],\n                \"balance_statement\": 0,\n                \"debit\": 201.21,\n                \"credit\": 20.5,\n                \"balance\": 180.71,\n                \"balance_cur\": 180.71\n            },\n            {\n                \"id\": 286,\n                \"name\": \"Maybank Islamic\",\n                \"bank_no\": \"564191575042\",\n                \"balance_90d\": [\n                    [\n                        1695916800000,\n                        317.42\n                    ],\n                    [\n                        1696003200000,\n                        317.42\n                    ],\n                    [\n                        1696089600000,\n                        317.42\n                    ],\n                    [\n                        1696176000000,\n                        317.42\n                    ],\n                    [\n                        1696262400000,\n                        317.42\n                    ],\n                    [\n                        1696348800000,\n                        317.42\n                    ],\n                    [\n                        1696435200000,\n                        317.42\n                    ],\n                    [\n                        1696521600000,\n                        317.42\n                    ],\n                    [\n                        1696608000000,\n                        317.42\n                    ],\n                    [\n                        1696694400000,\n                        317.42\n                    ],\n                    [\n                        1696780800000,\n                        317.42\n                    ],\n                    [\n                        1696867200000,\n                        317.42\n                    ],\n                    [\n                        1696953600000,\n                        317.42\n                    ],\n                    [\n                        1697040000000,\n                        317.42\n                    ],\n                    [\n                        1697126400000,\n                        15863.96\n                    ],\n                    [\n                        1697212800000,\n                        15863.96\n                    ],\n                    [\n                        1697299200000,\n                        15863.96\n                    ],\n                    [\n                        1697385600000,\n                        15863.96\n                    ],\n                    [\n                        1697472000000,\n                        15863.96\n                    ],\n                    [\n                        1697558400000,\n                        15863.96\n                    ],\n                    [\n                        1697644800000,\n                        15863.96\n                    ],\n                    [\n                        1697731200000,\n                        15863.96\n                    ],\n                    [\n                        1697817600000,\n                        15863.96\n                    ],\n                    [\n                        1697904000000,\n                        15863.96\n                    ],\n                    [\n                        1697990400000,\n                        15863.96\n                    ],\n                    [\n                        1698076800000,\n                        20153.78\n                    ],\n                    [\n                        1698163200000,\n                        20153.78\n                    ],\n                    [\n                        1698249600000,\n                        20153.78\n                    ],\n                    [\n                        1698336000000,\n                        20153.78\n                    ],\n                    [\n                        1698422400000,\n                        20153.78\n                    ],\n                    [\n                        1698508800000,\n                        20153.78\n                    ],\n                    [\n                        1698595200000,\n                        17153.78\n                    ],\n                    [\n                        1698681600000,\n                        16653.78\n                    ],\n                    [\n                        1698768000000,\n                        16653.78\n                    ],\n                    [\n                        1698854400000,\n                        16653.78\n                    ],\n                    [\n                        1698940800000,\n                        16653.78\n                    ],\n                    [\n                        1699027200000,\n                        16653.78\n                    ],\n                    [\n                        1699113600000,\n                        16653.78\n                    ],\n                    [\n                        1699200000000,\n                        16653.78\n                    ],\n                    [\n                        1699286400000,\n                        53.78\n                    ],\n                    [\n                        1699372800000,\n                        53.78\n                    ],\n                    [\n                        1699459200000,\n                        53.78\n                    ],\n                    [\n                        1699545600000,\n                        53.78\n                    ],\n                    [\n                        1699632000000,\n                        53.78\n                    ],\n                    [\n                        1699718400000,\n                        53.78\n                    ],\n                    [\n                        1699804800000,\n                        53.78\n                    ],\n                    [\n                        1699891200000,\n                        53.78\n                    ],\n                    [\n                        1699977600000,\n                        53.78\n                    ],\n                    [\n                        1700064000000,\n                        53.78\n                    ],\n                    [\n                        1700150400000,\n                        53.78\n                    ],\n                    [\n                        1700236800000,\n                        53.78\n                    ],\n                    [\n                        1700323200000,\n                        53.78\n                    ],\n                    [\n                        1700409600000,\n                        53.78\n                    ],\n                    [\n                        1700496000000,\n                        53.78\n                    ],\n                    [\n                        1700582400000,\n                        53.78\n                    ],\n                    [\n                        1700668800000,\n                        53.78\n                    ],\n                    [\n                        1700755200000,\n                        53.78\n                    ],\n                    [\n                        1700841600000,\n                        53.78\n                    ],\n                    [\n                        1700928000000,\n                        53.78\n                    ],\n                    [\n                        1701014400000,\n                        53.78\n                    ],\n                    [\n                        1701100800000,\n                        53.78\n                    ],\n                    [\n                        1701187200000,\n                        53.78\n                    ],\n                    [\n                        1701273600000,\n                        53.78\n                    ],\n                    [\n                        1701360000000,\n                        53.78\n                    ],\n                    [\n                        1701446400000,\n                        53.78\n                    ],\n                    [\n                        1701532800000,\n                        53.78\n                    ],\n                    [\n                        1701619200000,\n                        53.78\n                    ],\n                    [\n                        1701705600000,\n                        53.78\n                    ],\n                    [\n                        1701792000000,\n                        53.78\n                    ],\n                    [\n                        1701878400000,\n                        53.78\n                    ],\n                    [\n                        1701964800000,\n                        53.78\n                    ],\n                    [\n                        1702051200000,\n                        53.78\n                    ],\n                    [\n                        1702137600000,\n                        53.78\n                    ],\n                    [\n                        1702224000000,\n                        53.78\n                    ],\n                    [\n                        1702310400000,\n                        53.78\n                    ],\n                    [\n                        1702396800000,\n                        53.78\n                    ],\n                    [\n                        1702483200000,\n                        53.78\n                    ],\n                    [\n                        1702569600000,\n                        53.78\n                    ],\n                    [\n                        1702656000000,\n                        53.78\n                    ],\n                    [\n                        1702742400000,\n                        53.78\n                    ],\n                    [\n                        1702828800000,\n                        53.78\n                    ],\n                    [\n                        1702915200000,\n                        53.78\n                    ],\n                    [\n                        1703001600000,\n                        53.78\n                    ],\n                    [\n                        1703088000000,\n                        53.78\n                    ],\n                    [\n                        1703174400000,\n                        53.78\n                    ],\n                    [\n                        1703260800000,\n                        53.78\n                    ],\n                    [\n                        1703347200000,\n                        53.78\n                    ],\n                    [\n                        1703433600000,\n                        53.78\n                    ],\n                    [\n                        1703520000000,\n                        53.78\n                    ],\n                    [\n                        1703606400000,\n                        53.78\n                    ],\n                    [\n                        1703692800000,\n                        53.78\n                    ]\n                ],\n                \"balance_statement\": 53.78,\n                \"debit\": 493968.35,\n                \"credit\": 493914.57,\n                \"balance\": 53.78,\n                \"balance_cur\": 53.78\n            },\n            {\n                \"id\": 170,\n                \"name\": \"Maybank (Standard)\",\n                \"bank_no\": \"514196689465\",\n                \"balance_90d\": [\n                    [\n                        1695916800000,\n                        13340.2\n                    ],\n                    [\n                        1696003200000,\n                        13340.2\n                    ],\n                    [\n                        1696089600000,\n                        13340.2\n                    ],\n                    [\n                        1696176000000,\n                        11756.2\n                    ],\n                    [\n                        1696262400000,\n                        3664.2\n                    ],\n                    [\n                        1696348800000,\n                        16664.2\n                    ],\n                    [\n                        1696435200000,\n                        21866.2\n                    ],\n                    [\n                        1696521600000,\n                        21866.2\n                    ],\n                    [\n                        1696608000000,\n                        21866.2\n                    ],\n                    [\n                        1696694400000,\n                        21866.2\n                    ],\n                    [\n                        1696780800000,\n                        21866.2\n                    ],\n                    [\n                        1696867200000,\n                        27523.42\n                    ],\n                    [\n                        1696953600000,\n                        27481.52\n                    ],\n                    [\n                        1697040000000,\n                        27481.52\n                    ],\n                    [\n                        1697126400000,\n                        1934.98\n                    ],\n                    [\n                        1697212800000,\n                        1934.98\n                    ],\n                    [\n                        1697299200000,\n                        1934.98\n                    ],\n                    [\n                        1697385600000,\n                        1934.98\n                    ],\n                    [\n                        1697472000000,\n                        1934.98\n                    ],\n                    [\n                        1697558400000,\n                        1934.98\n                    ],\n                    [\n                        1697644800000,\n                        1934.98\n                    ],\n                    [\n                        1697731200000,\n                        6224.8\n                    ],\n                    [\n                        1697817600000,\n                        6224.8\n                    ],\n                    [\n                        1697904000000,\n                        6224.8\n                    ],\n                    [\n                        1697990400000,\n                        6224.8\n                    ],\n                    [\n                        1698076800000,\n                        1205.88\n                    ],\n                    [\n                        1698163200000,\n                        1205.88\n                    ],\n                    [\n                        1698249600000,\n                        16205.88\n                    ],\n                    [\n                        1698336000000,\n                        23229.58\n                    ],\n                    [\n                        1698422400000,\n                        23229.58\n                    ],\n                    [\n                        1698508800000,\n                        23229.58\n                    ],\n                    [\n                        1698595200000,\n                        229.58\n                    ],\n                    [\n                        1698681600000,\n                        229.58\n                    ],\n                    [\n                        1698768000000,\n                        229.58\n                    ],\n                    [\n                        1698854400000,\n                        30854.98\n                    ],\n                    [\n                        1698940800000,\n                        7123.88\n                    ],\n                    [\n                        1699027200000,\n                        7123.88\n                    ],\n                    [\n                        1699113600000,\n                        7123.88\n                    ],\n                    [\n                        1699200000000,\n                        7123.88\n                    ],\n                    [\n                        1699286400000,\n                        7123.88\n                    ],\n                    [\n                        1699372800000,\n                        7123.88\n                    ],\n                    [\n                        1699459200000,\n                        14429.23\n                    ],\n                    [\n                        1699545600000,\n                        14429.23\n                    ],\n                    [\n                        1699632000000,\n                        14429.23\n                    ],\n                    [\n                        1699718400000,\n                        14429.23\n                    ],\n                    [\n                        1699804800000,\n                        14429.23\n                    ],\n                    [\n                        1699891200000,\n                        14429.23\n                    ],\n                    [\n                        1699977600000,\n                        14393.23\n                    ],\n                    [\n                        1700064000000,\n                        11262.06\n                    ],\n                    [\n                        1700150400000,\n                        11262.06\n                    ],\n                    [\n                        1700236800000,\n                        51442.42\n                    ],\n                    [\n                        1700323200000,\n                        51442.42\n                    ],\n                    [\n                        1700409600000,\n                        12442.42\n                    ],\n                    [\n                        1700496000000,\n                        2442.42\n                    ],\n                    [\n                        1700582400000,\n                        1683.9\n                    ],\n                    [\n                        1700668800000,\n                        51683.9\n                    ],\n                    [\n                        1700755200000,\n                        4102.84\n                    ],\n                    [\n                        1700841600000,\n                        4102.84\n                    ],\n                    [\n                        1700928000000,\n                        4102.84\n                    ],\n                    [\n                        1701014400000,\n                        4102.84\n                    ],\n                    [\n                        1701100800000,\n                        4102.84\n                    ],\n                    [\n                        1701187200000,\n                        26149.05\n                    ],\n                    [\n                        1701273600000,\n                        26149.05\n                    ],\n                    [\n                        1701360000000,\n                        18470.73\n                    ],\n                    [\n                        1701446400000,\n                        18470.73\n                    ],\n                    [\n                        1701532800000,\n                        22186.73\n                    ],\n                    [\n                        1701619200000,\n                        22224.32\n                    ],\n                    [\n                        1701705600000,\n                        30173.11\n                    ],\n                    [\n                        1701792000000,\n                        30173.11\n                    ],\n                    [\n                        1701878400000,\n                        30173.11\n                    ],\n                    [\n                        1701964800000,\n                        80173.11\n                    ],\n                    [\n                        1702051200000,\n                        80173.11\n                    ],\n                    [\n                        1702137600000,\n                        80173.11\n                    ],\n                    [\n                        1702224000000,\n                        80173.11\n                    ],\n                    [\n                        1702310400000,\n                        4173.11\n                    ],\n                    [\n                        1702396800000,\n                        4137.11\n                    ],\n                    [\n                        1702483200000,\n                        4137.11\n                    ],\n                    [\n                        1702569600000,\n                        3040.29\n                    ],\n                    [\n                        1702656000000,\n                        3040.29\n                    ],\n                    [\n                        1702742400000,\n                        3040.29\n                    ],\n                    [\n                        1702828800000,\n                        3040.29\n                    ],\n                    [\n                        1702915200000,\n                        3040.29\n                    ],\n                    [\n                        1703001600000,\n                        3040.29\n                    ],\n                    [\n                        1703088000000,\n                        201436.29\n                    ],\n                    [\n                        1703174400000,\n                        151436.29\n                    ],\n                    [\n                        1703260800000,\n                        121436.29\n                    ],\n                    [\n                        1703347200000,\n                        71436.29\n                    ],\n                    [\n                        1703433600000,\n                        71436.29\n                    ],\n                    [\n                        1703520000000,\n                        67936.29\n                    ],\n                    [\n                        1703606400000,\n                        177116.29\n                    ],\n                    [\n                        1703692800000,\n                        177116.29\n                    ]\n                ],\n                \"balance_statement\": 177116.29,\n                \"debit\": 2171962.14,\n                \"credit\": 1996429.85,\n                \"balance\": 175532.29,\n                \"balance_cur\": 175532.29\n            },\n            {\n                \"id\": 323,\n                \"name\": \"Other E-wallet (Zeox)\",\n                \"bank_no\": null,\n                \"balance_90d\": [\n                    [\n                        1695916800000,\n                        0\n                    ],\n                    [\n                        1696003200000,\n                        0\n                    ],\n                    [\n                        1696089600000,\n                        0\n                    ],\n                    [\n                        1696176000000,\n                        0\n                    ],\n                    [\n                        1696262400000,\n                        0\n                    ],\n                    [\n                        1696348800000,\n                        0\n                    ],\n                    [\n                        1696435200000,\n                        0\n                    ],\n                    [\n                        1696521600000,\n                        0\n                    ],\n                    [\n                        1696608000000,\n                        0\n                    ],\n                    [\n                        1696694400000,\n                        0\n                    ],\n                    [\n                        1696780800000,\n                        0\n                    ],\n                    [\n                        1696867200000,\n                        0\n                    ],\n                    [\n                        1696953600000,\n                        0\n                    ],\n                    [\n                        1697040000000,\n                        0\n                    ],\n                    [\n                        1697126400000,\n                        0\n                    ],\n                    [\n                        1697212800000,\n                        0\n                    ],\n                    [\n                        1697299200000,\n                        0\n                    ],\n                    [\n                        1697385600000,\n                        0\n                    ],\n                    [\n                        1697472000000,\n                        0\n                    ],\n                    [\n                        1697558400000,\n                        0\n                    ],\n                    [\n                        1697644800000,\n                        0\n                    ],\n                    [\n                        1697731200000,\n                        0\n                    ],\n                    [\n                        1697817600000,\n                        0\n                    ],\n                    [\n                        1697904000000,\n                        0\n                    ],\n                    [\n                        1697990400000,\n                        0\n                    ],\n                    [\n                        1698076800000,\n                        0\n                    ],\n                    [\n                        1698163200000,\n                        0\n                    ],\n                    [\n                        1698249600000,\n                        0\n                    ],\n                    [\n                        1698336000000,\n                        0\n                    ],\n                    [\n                        1698422400000,\n                        0\n                    ],\n                    [\n                        1698508800000,\n                        0\n                    ],\n                    [\n                        1698595200000,\n                        0\n                    ],\n                    [\n                        1698681600000,\n                        0\n                    ],\n                    [\n                        1698768000000,\n                        0\n                    ],\n                    [\n                        1698854400000,\n                        0\n                    ],\n                    [\n                        1698940800000,\n                        0\n                    ],\n                    [\n                        1699027200000,\n                        0\n                    ],\n                    [\n                        1699113600000,\n                        0\n                    ],\n                    [\n                        1699200000000,\n                        0\n                    ],\n                    [\n                        1699286400000,\n                        0\n                    ],\n                    [\n                        1699372800000,\n                        0\n                    ],\n                    [\n                        1699459200000,\n                        0\n                    ],\n                    [\n                        1699545600000,\n                        0\n                    ],\n                    [\n                        1699632000000,\n                        0\n                    ],\n                    [\n                        1699718400000,\n                        0\n                    ],\n                    [\n                        1699804800000,\n                        0\n                    ],\n                    [\n                        1699891200000,\n                        0\n                    ],\n                    [\n                        1699977600000,\n                        0\n                    ],\n                    [\n                        1700064000000,\n                        0\n                    ],\n                    [\n                        1700150400000,\n                        0\n                    ],\n                    [\n                        1700236800000,\n                        0\n                    ],\n                    [\n                        1700323200000,\n                        0\n                    ],\n                    [\n                        1700409600000,\n                        0\n                    ],\n                    [\n                        1700496000000,\n                        0\n                    ],\n                    [\n                        1700582400000,\n                        0\n                    ],\n                    [\n                        1700668800000,\n                        0\n                    ],\n                    [\n                        1700755200000,\n                        0\n                    ],\n                    [\n                        1700841600000,\n                        0\n                    ],\n                    [\n                        1700928000000,\n                        0\n                    ],\n                    [\n                        1701014400000,\n                        0\n                    ],\n                    [\n                        1701100800000,\n                        0\n                    ],\n                    [\n                        1701187200000,\n                        0\n                    ],\n                    [\n                        1701273600000,\n                        0\n                    ],\n                    [\n                        1701360000000,\n                        0\n                    ],\n                    [\n                        1701446400000,\n                        0\n                    ],\n                    [\n                        1701532800000,\n                        0\n                    ],\n                    [\n                        1701619200000,\n                        0\n                    ],\n                    [\n                        1701705600000,\n                        0\n                    ],\n                    [\n                        1701792000000,\n                        0\n                    ],\n                    [\n                        1701878400000,\n                        0\n                    ],\n                    [\n                        1701964800000,\n                        0\n                    ],\n                    [\n                        1702051200000,\n                        0\n                    ],\n                    [\n                        1702137600000,\n                        0\n                    ],\n                    [\n                        1702224000000,\n                        0\n                    ],\n                    [\n                        1702310400000,\n                        0\n                    ],\n                    [\n                        1702396800000,\n                        0\n                    ],\n                    [\n                        1702483200000,\n                        0\n                    ],\n                    [\n                        1702569600000,\n                        0\n                    ],\n                    [\n                        1702656000000,\n                        0\n                    ],\n                    [\n                        1702742400000,\n                        0\n                    ],\n                    [\n                        1702828800000,\n                        0\n                    ],\n                    [\n                        1702915200000,\n                        0\n                    ],\n                    [\n                        1703001600000,\n                        0\n                    ],\n                    [\n                        1703088000000,\n                        0\n                    ],\n                    [\n                        1703174400000,\n                        0\n                    ],\n                    [\n                        1703260800000,\n                        0\n                    ],\n                    [\n                        1703347200000,\n                        0\n                    ],\n                    [\n                        1703433600000,\n                        0\n                    ],\n                    [\n                        1703520000000,\n                        0\n                    ],\n                    [\n                        1703606400000,\n                        0\n                    ],\n                    [\n                        1703692800000,\n                        0\n                    ]\n                ],\n                \"balance_statement\": 0,\n                \"debit\": 101820.98,\n                \"credit\": 101820.98,\n                \"balance\": 0,\n                \"balance_cur\": 0\n            },\n            {\n                \"id\": 66,\n                \"name\": \"Petty Cash\",\n                \"bank_no\": null,\n                \"balance_90d\": [\n                    [\n                        1695916800000,\n                        -165283.43\n                    ],\n                    [\n                        1696003200000,\n                        0\n                    ],\n                    [\n                        1696089600000,\n                        0\n                    ],\n                    [\n                        1696176000000,\n                        0\n                    ],\n                    [\n                        1696262400000,\n                        -10000\n                    ],\n                    [\n                        1696348800000,\n                        -30000\n                    ],\n                    [\n                        1696435200000,\n                        -30000\n                    ],\n                    [\n                        1696521600000,\n                        -30000\n                    ],\n                    [\n                        1696608000000,\n                        -30000\n                    ],\n                    [\n                        1696694400000,\n                        -30000\n                    ],\n                    [\n                        1696780800000,\n                        -33775\n                    ],\n                    [\n                        1696867200000,\n                        -33775\n                    ],\n                    [\n                        1696953600000,\n                        -33775\n                    ],\n                    [\n                        1697040000000,\n                        -33887.5\n                    ],\n                    [\n                        1697126400000,\n                        -23957.5\n                    ],\n                    [\n                        1697212800000,\n                        -23957.5\n                    ],\n                    [\n                        1697299200000,\n                        -23957.5\n                    ],\n                    [\n                        1697385600000,\n                        -23957.5\n                    ],\n                    [\n                        1697472000000,\n                        -23957.5\n                    ],\n                    [\n                        1697558400000,\n                        -23957.5\n                    ],\n                    [\n                        1697644800000,\n                        -23957.5\n                    ],\n                    [\n                        1697731200000,\n                        -23957.5\n                    ],\n                    [\n                        1697817600000,\n                        -23957.5\n                    ],\n                    [\n                        1697904000000,\n                        -23957.5\n                    ],\n                    [\n                        1697990400000,\n                        -23957.5\n                    ],\n                    [\n                        1698076800000,\n                        -23957.5\n                    ],\n                    [\n                        1698163200000,\n                        -23957.5\n                    ],\n                    [\n                        1698249600000,\n                        -23957.5\n                    ],\n                    [\n                        1698336000000,\n                        -23957.5\n                    ],\n                    [\n                        1698422400000,\n                        -23957.5\n                    ],\n                    [\n                        1698508800000,\n                        -23957.5\n                    ],\n                    [\n                        1698595200000,\n                        -24160.29\n                    ],\n                    [\n                        1698681600000,\n                        -24425.26\n                    ],\n                    [\n                        1698768000000,\n                        -24425.26\n                    ],\n                    [\n                        1698854400000,\n                        -24425.26\n                    ],\n                    [\n                        1698940800000,\n                        -15425.26\n                    ],\n                    [\n                        1699027200000,\n                        -15425.26\n                    ],\n                    [\n                        1699113600000,\n                        -15495.26\n                    ],\n                    [\n                        1699200000000,\n                        -15495.26\n                    ],\n                    [\n                        1699286400000,\n                        -15840.26\n                    ],\n                    [\n                        1699372800000,\n                        -15840.26\n                    ],\n                    [\n                        1699459200000,\n                        -16333.4\n                    ],\n                    [\n                        1699545600000,\n                        -16435.6\n                    ],\n                    [\n                        1699632000000,\n                        -16435.6\n                    ],\n                    [\n                        1699718400000,\n                        -16435.6\n                    ],\n                    [\n                        1699804800000,\n                        -16435.6\n                    ],\n                    [\n                        1699891200000,\n                        -16435.6\n                    ],\n                    [\n                        1699977600000,\n                        -16435.6\n                    ],\n                    [\n                        1700064000000,\n                        -36435.6\n                    ],\n                    [\n                        1700150400000,\n                        -36535.6\n                    ],\n                    [\n                        1700236800000,\n                        -36535.6\n                    ],\n                    [\n                        1700323200000,\n                        -36535.6\n                    ],\n                    [\n                        1700409600000,\n                        -36535.6\n                    ],\n                    [\n                        1700496000000,\n                        -26535.6\n                    ],\n                    [\n                        1700582400000,\n                        -26605.6\n                    ],\n                    [\n                        1700668800000,\n                        -26605.6\n                    ],\n                    [\n                        1700755200000,\n                        -26605.6\n                    ],\n                    [\n                        1700841600000,\n                        -26605.6\n                    ],\n                    [\n                        1700928000000,\n                        -26605.6\n                    ],\n                    [\n                        1701014400000,\n                        -26615.6\n                    ],\n                    [\n                        1701100800000,\n                        -26615.6\n                    ],\n                    [\n                        1701187200000,\n                        -18661.81\n                    ],\n                    [\n                        1701273600000,\n                        -18891.81\n                    ],\n                    [\n                        1701360000000,\n                        -8903.81\n                    ],\n                    [\n                        1701446400000,\n                        -8903.81\n                    ],\n                    [\n                        1701532800000,\n                        -8903.81\n                    ],\n                    [\n                        1701619200000,\n                        6096.19\n                    ],\n                    [\n                        1701705600000,\n                        -1852.6\n                    ],\n                    [\n                        1701792000000,\n                        -1955.96\n                    ],\n                    [\n                        1701878400000,\n                        -2058.11\n                    ],\n                    [\n                        1701964800000,\n                        -2058.11\n                    ],\n                    [\n                        1702051200000,\n                        -2528.11\n                    ],\n                    [\n                        1702137600000,\n                        -2528.11\n                    ],\n                    [\n                        1702224000000,\n                        -11726.89\n                    ],\n                    [\n                        1702310400000,\n                        -1821.54\n                    ],\n                    [\n                        1702396800000,\n                        -1821.54\n                    ],\n                    [\n                        1702483200000,\n                        -1891.54\n                    ],\n                    [\n                        1702569600000,\n                        -1891.54\n                    ],\n                    [\n                        1702656000000,\n                        -1891.54\n                    ],\n                    [\n                        1702742400000,\n                        -1891.54\n                    ],\n                    [\n                        1702828800000,\n                        -1891.54\n                    ],\n                    [\n                        1702915200000,\n                        -1891.54\n                    ],\n                    [\n                        1703001600000,\n                        -2102.89\n                    ],\n                    [\n                        1703088000000,\n                        -2102.89\n                    ],\n                    [\n                        1703174400000,\n                        -2102.89\n                    ],\n                    [\n                        1703260800000,\n                        -2102.89\n                    ],\n                    [\n                        1703347200000,\n                        -3226.76\n                    ],\n                    [\n                        1703433600000,\n                        -3226.76\n                    ],\n                    [\n                        1703520000000,\n                        273.24\n                    ],\n                    [\n                        1703606400000,\n                        273.24\n                    ],\n                    [\n                        1703692800000,\n                        273.24\n                    ]\n                ],\n                \"balance_statement\": 0,\n                \"debit\": 763974.95,\n                \"credit\": 763981.71,\n                \"balance\": -6.76,\n                \"balance_cur\": -6.76\n            },\n            {\n                \"id\": 401,\n                \"name\": \"Petty Cash (Credit Cash)\",\n                \"bank_no\": null,\n                \"balance_90d\": [\n                    [\n                        1695916800000,\n                        -55415.66\n                    ],\n                    [\n                        1696003200000,\n                        0\n                    ],\n                    [\n                        1696089600000,\n                        0\n                    ],\n                    [\n                        1696176000000,\n                        0\n                    ],\n                    [\n                        1696262400000,\n                        0\n                    ],\n                    [\n                        1696348800000,\n                        0\n                    ],\n                    [\n                        1696435200000,\n                        0\n                    ],\n                    [\n                        1696521600000,\n                        0\n                    ],\n                    [\n                        1696608000000,\n                        0\n                    ],\n                    [\n                        1696694400000,\n                        0\n                    ],\n                    [\n                        1696780800000,\n                        0\n                    ],\n                    [\n                        1696867200000,\n                        0\n                    ],\n                    [\n                        1696953600000,\n                        0\n                    ],\n                    [\n                        1697040000000,\n                        0\n                    ],\n                    [\n                        1697126400000,\n                        0\n                    ],\n                    [\n                        1697212800000,\n                        0\n                    ],\n                    [\n                        1697299200000,\n                        0\n                    ],\n                    [\n                        1697385600000,\n                        0\n                    ],\n                    [\n                        1697472000000,\n                        0\n                    ],\n                    [\n                        1697558400000,\n                        -226.05\n                    ],\n                    [\n                        1697644800000,\n                        -226.05\n                    ],\n                    [\n                        1697731200000,\n                        -226.05\n                    ],\n                    [\n                        1697817600000,\n                        -226.05\n                    ],\n                    [\n                        1697904000000,\n                        -226.05\n                    ],\n                    [\n                        1697990400000,\n                        -226.05\n                    ],\n                    [\n                        1698076800000,\n                        -226.05\n                    ],\n                    [\n                        1698163200000,\n                        -226.05\n                    ],\n                    [\n                        1698249600000,\n                        -455.01\n                    ],\n                    [\n                        1698336000000,\n                        -455.01\n                    ],\n                    [\n                        1698422400000,\n                        -455.01\n                    ],\n                    [\n                        1698508800000,\n                        -455.01\n                    ],\n                    [\n                        1698595200000,\n                        -455.01\n                    ],\n                    [\n                        1698681600000,\n                        -825.58\n                    ],\n                    [\n                        1698768000000,\n                        -825.58\n                    ],\n                    [\n                        1698854400000,\n                        -825.58\n                    ],\n                    [\n                        1698940800000,\n                        -825.58\n                    ],\n                    [\n                        1699027200000,\n                        -825.58\n                    ],\n                    [\n                        1699113600000,\n                        -825.58\n                    ],\n                    [\n                        1699200000000,\n                        -4789.58\n                    ],\n                    [\n                        1699286400000,\n                        -4789.58\n                    ],\n                    [\n                        1699372800000,\n                        -4789.58\n                    ],\n                    [\n                        1699459200000,\n                        -4789.58\n                    ],\n                    [\n                        1699545600000,\n                        -4789.58\n                    ],\n                    [\n                        1699632000000,\n                        -4789.58\n                    ],\n                    [\n                        1699718400000,\n                        -4789.58\n                    ],\n                    [\n                        1699804800000,\n                        -4789.58\n                    ],\n                    [\n                        1699891200000,\n                        -4789.58\n                    ],\n                    [\n                        1699977600000,\n                        -4976.83\n                    ],\n                    [\n                        1700064000000,\n                        -4976.83\n                    ],\n                    [\n                        1700150400000,\n                        -4976.83\n                    ],\n                    [\n                        1700236800000,\n                        -4976.83\n                    ],\n                    [\n                        1700323200000,\n                        -4976.83\n                    ],\n                    [\n                        1700409600000,\n                        -4976.83\n                    ],\n                    [\n                        1700496000000,\n                        -4976.83\n                    ],\n                    [\n                        1700582400000,\n                        -4976.83\n                    ],\n                    [\n                        1700668800000,\n                        -4976.83\n                    ],\n                    [\n                        1700755200000,\n                        -5205.79\n                    ],\n                    [\n                        1700841600000,\n                        -5205.79\n                    ],\n                    [\n                        1700928000000,\n                        -5205.79\n                    ],\n                    [\n                        1701014400000,\n                        -5205.79\n                    ],\n                    [\n                        1701100800000,\n                        -5205.79\n                    ],\n                    [\n                        1701187200000,\n                        -5205.79\n                    ],\n                    [\n                        1701273600000,\n                        -5541.74\n                    ],\n                    [\n                        1701360000000,\n                        -5541.74\n                    ],\n                    [\n                        1701446400000,\n                        -5541.74\n                    ],\n                    [\n                        1701532800000,\n                        -5541.74\n                    ],\n                    [\n                        1701619200000,\n                        -5541.74\n                    ],\n                    [\n                        1701705600000,\n                        -6014.54\n                    ],\n                    [\n                        1701792000000,\n                        -6014.54\n                    ],\n                    [\n                        1701878400000,\n                        -10053.14\n                    ],\n                    [\n                        1701964800000,\n                        -10053.14\n                    ],\n                    [\n                        1702051200000,\n                        -10053.14\n                    ],\n                    [\n                        1702137600000,\n                        -10053.14\n                    ],\n                    [\n                        1702224000000,\n                        -854.36\n                    ],\n                    [\n                        1702310400000,\n                        -854.36\n                    ],\n                    [\n                        1702396800000,\n                        -869.36\n                    ],\n                    [\n                        1702483200000,\n                        -1139.26\n                    ],\n                    [\n                        1702569600000,\n                        -1139.26\n                    ],\n                    [\n                        1702656000000,\n                        -1235.11\n                    ],\n                    [\n                        1702742400000,\n                        -1235.11\n                    ],\n                    [\n                        1702828800000,\n                        -1276.47\n                    ],\n                    [\n                        1702915200000,\n                        -1276.47\n                    ],\n                    [\n                        1703001600000,\n                        -1276.47\n                    ],\n                    [\n                        1703088000000,\n                        -1276.47\n                    ],\n                    [\n                        1703174400000,\n                        -1276.47\n                    ],\n                    [\n                        1703260800000,\n                        -1276.47\n                    ],\n                    [\n                        1703347200000,\n                        -152.6\n                    ],\n                    [\n                        1703433600000,\n                        -152.6\n                    ],\n                    [\n                        1703520000000,\n                        -152.6\n                    ],\n                    [\n                        1703606400000,\n                        -152.6\n                    ],\n                    [\n                        1703692800000,\n                        -152.6\n                    ]\n                ],\n                \"balance_statement\": 0,\n                \"debit\": 134830.02,\n                \"credit\": 135158.99,\n                \"balance\": -328.97,\n                \"balance_cur\": -328.97\n            },\n            {\n                \"id\": 318,\n                \"name\": \"Petty Cash (Ruby)\",\n                \"bank_no\": null,\n                \"balance_90d\": [\n                    [\n                        1695916800000,\n                        -240.69\n                    ],\n                    [\n                        1696003200000,\n                        0\n                    ],\n                    [\n                        1696089600000,\n                        -240.69\n                    ],\n                    [\n                        1696176000000,\n                        -240.69\n                    ],\n                    [\n                        1696262400000,\n                        -240.69\n                    ],\n                    [\n                        1696348800000,\n                        -240.69\n                    ],\n                    [\n                        1696435200000,\n                        -240.69\n                    ],\n                    [\n                        1696521600000,\n                        -240.69\n                    ],\n                    [\n                        1696608000000,\n                        -240.69\n                    ],\n                    [\n                        1696694400000,\n                        -240.69\n                    ],\n                    [\n                        1696780800000,\n                        -240.69\n                    ],\n                    [\n                        1696867200000,\n                        -240.69\n                    ],\n                    [\n                        1696953600000,\n                        -240.69\n                    ],\n                    [\n                        1697040000000,\n                        -240.69\n                    ],\n                    [\n                        1697126400000,\n                        -240.69\n                    ],\n                    [\n                        1697212800000,\n                        -270.59\n                    ],\n                    [\n                        1697299200000,\n                        -270.59\n                    ],\n                    [\n                        1697385600000,\n                        -270.59\n                    ],\n                    [\n                        1697472000000,\n                        -270.59\n                    ],\n                    [\n                        1697558400000,\n                        -378.64\n                    ],\n                    [\n                        1697644800000,\n                        -378.64\n                    ],\n                    [\n                        1697731200000,\n                        -378.64\n                    ],\n                    [\n                        1697817600000,\n                        -378.64\n                    ],\n                    [\n                        1697904000000,\n                        -378.64\n                    ],\n                    [\n                        1697990400000,\n                        -378.64\n                    ],\n                    [\n                        1698076800000,\n                        350.46\n                    ],\n                    [\n                        1698163200000,\n                        350.46\n                    ],\n                    [\n                        1698249600000,\n                        350.46\n                    ],\n                    [\n                        1698336000000,\n                        350.46\n                    ],\n                    [\n                        1698422400000,\n                        350.46\n                    ],\n                    [\n                        1698508800000,\n                        350.46\n                    ],\n                    [\n                        1698595200000,\n                        350.46\n                    ],\n                    [\n                        1698681600000,\n                        350.46\n                    ],\n                    [\n                        1698768000000,\n                        350.46\n                    ],\n                    [\n                        1698854400000,\n                        350.46\n                    ],\n                    [\n                        1698940800000,\n                        350.46\n                    ],\n                    [\n                        1699027200000,\n                        350.46\n                    ],\n                    [\n                        1699113600000,\n                        350.46\n                    ],\n                    [\n                        1699200000000,\n                        350.46\n                    ],\n                    [\n                        1699286400000,\n                        350.46\n                    ],\n                    [\n                        1699372800000,\n                        350.46\n                    ],\n                    [\n                        1699459200000,\n                        350.46\n                    ],\n                    [\n                        1699545600000,\n                        350.46\n                    ],\n                    [\n                        1699632000000,\n                        350.46\n                    ],\n                    [\n                        1699718400000,\n                        350.46\n                    ],\n                    [\n                        1699804800000,\n                        350.46\n                    ],\n                    [\n                        1699891200000,\n                        320.56\n                    ],\n                    [\n                        1699977600000,\n                        -154.39\n                    ],\n                    [\n                        1700064000000,\n                        -154.39\n                    ],\n                    [\n                        1700150400000,\n                        -570.81\n                    ],\n                    [\n                        1700236800000,\n                        -570.81\n                    ],\n                    [\n                        1700323200000,\n                        -570.81\n                    ],\n                    [\n                        1700409600000,\n                        -570.81\n                    ],\n                    [\n                        1700496000000,\n                        -570.81\n                    ],\n                    [\n                        1700582400000,\n                        293.71\n                    ],\n                    [\n                        1700668800000,\n                        293.71\n                    ],\n                    [\n                        1700755200000,\n                        -410.19\n                    ],\n                    [\n                        1700841600000,\n                        -410.19\n                    ],\n                    [\n                        1700928000000,\n                        -410.19\n                    ],\n                    [\n                        1701014400000,\n                        -410.19\n                    ],\n                    [\n                        1701100800000,\n                        -410.19\n                    ],\n                    [\n                        1701187200000,\n                        -424.19\n                    ],\n                    [\n                        1701273600000,\n                        -424.19\n                    ],\n                    [\n                        1701360000000,\n                        -424.19\n                    ],\n                    [\n                        1701446400000,\n                        -424.19\n                    ],\n                    [\n                        1701532800000,\n                        -424.19\n                    ],\n                    [\n                        1701619200000,\n                        -424.19\n                    ],\n                    [\n                        1701705600000,\n                        -424.19\n                    ],\n                    [\n                        1701792000000,\n                        -424.19\n                    ],\n                    [\n                        1701878400000,\n                        -424.19\n                    ],\n                    [\n                        1701964800000,\n                        -424.19\n                    ],\n                    [\n                        1702051200000,\n                        -424.19\n                    ],\n                    [\n                        1702137600000,\n                        -424.19\n                    ],\n                    [\n                        1702224000000,\n                        -424.19\n                    ],\n                    [\n                        1702310400000,\n                        -424.19\n                    ],\n                    [\n                        1702396800000,\n                        -451.19\n                    ],\n                    [\n                        1702483200000,\n                        -457.19\n                    ],\n                    [\n                        1702569600000,\n                        172.41\n                    ],\n                    [\n                        1702656000000,\n                        172.41\n                    ],\n                    [\n                        1702742400000,\n                        172.41\n                    ],\n                    [\n                        1702828800000,\n                        172.41\n                    ],\n                    [\n                        1702915200000,\n                        172.41\n                    ],\n                    [\n                        1703001600000,\n                        172.41\n                    ],\n                    [\n                        1703088000000,\n                        172.41\n                    ],\n                    [\n                        1703174400000,\n                        172.41\n                    ],\n                    [\n                        1703260800000,\n                        172.41\n                    ],\n                    [\n                        1703347200000,\n                        172.41\n                    ],\n                    [\n                        1703433600000,\n                        172.41\n                    ],\n                    [\n                        1703520000000,\n                        172.41\n                    ],\n                    [\n                        1703606400000,\n                        172.41\n                    ],\n                    [\n                        1703692800000,\n                        172.41\n                    ]\n                ],\n                \"balance_statement\": 0,\n                \"debit\": 50090.21,\n                \"credit\": 49917.8,\n                \"balance\": 172.41,\n                \"balance_cur\": 172.41\n            },\n            {\n                \"id\": 400,\n                \"name\": \"RHB Current\",\n                \"bank_no\": \"2-62344-0000718-3\",\n                \"balance_90d\": [\n                    [\n                        1695916800000,\n                        8952.66\n                    ],\n                    [\n                        1696003200000,\n                        8952.66\n                    ],\n                    [\n                        1696089600000,\n                        8952.66\n                    ],\n                    [\n                        1696176000000,\n                        8952.66\n                    ],\n                    [\n                        1696262400000,\n                        8952.66\n                    ],\n                    [\n                        1696348800000,\n                        8952.66\n                    ],\n                    [\n                        1696435200000,\n                        3120.44\n                    ],\n                    [\n                        1696521600000,\n                        3120.44\n                    ],\n                    [\n                        1696608000000,\n                        3120.44\n                    ],\n                    [\n                        1696694400000,\n                        3120.44\n                    ],\n                    [\n                        1696780800000,\n                        3120.44\n                    ],\n                    [\n                        1696867200000,\n                        3120.44\n                    ],\n                    [\n                        1696953600000,\n                        3120.44\n                    ],\n                    [\n                        1697040000000,\n                        3120.44\n                    ],\n                    [\n                        1697126400000,\n                        3120.44\n                    ],\n                    [\n                        1697212800000,\n                        3120.44\n                    ],\n                    [\n                        1697299200000,\n                        3120.44\n                    ],\n                    [\n                        1697385600000,\n                        3120.44\n                    ],\n                    [\n                        1697472000000,\n                        3120.44\n                    ],\n                    [\n                        1697558400000,\n                        3120.44\n                    ],\n                    [\n                        1697644800000,\n                        3120.44\n                    ],\n                    [\n                        1697731200000,\n                        3120.44\n                    ],\n                    [\n                        1697817600000,\n                        3120.44\n                    ],\n                    [\n                        1697904000000,\n                        3120.44\n                    ],\n                    [\n                        1697990400000,\n                        3120.44\n                    ],\n                    [\n                        1698076800000,\n                        3120.44\n                    ],\n                    [\n                        1698163200000,\n                        3120.44\n                    ],\n                    [\n                        1698249600000,\n                        3120.44\n                    ],\n                    [\n                        1698336000000,\n                        3120.44\n                    ],\n                    [\n                        1698422400000,\n                        3120.44\n                    ],\n                    [\n                        1698508800000,\n                        3120.44\n                    ],\n                    [\n                        1698595200000,\n                        6120.44\n                    ],\n                    [\n                        1698681600000,\n                        6120.44\n                    ],\n                    [\n                        1698768000000,\n                        6120.44\n                    ],\n                    [\n                        1698854400000,\n                        6120.44\n                    ],\n                    [\n                        1698940800000,\n                        6120.44\n                    ],\n                    [\n                        1699027200000,\n                        6120.44\n                    ],\n                    [\n                        1699113600000,\n                        288.22\n                    ],\n                    [\n                        1699200000000,\n                        288.22\n                    ],\n                    [\n                        1699286400000,\n                        288.22\n                    ],\n                    [\n                        1699372800000,\n                        288.22\n                    ],\n                    [\n                        1699459200000,\n                        288.22\n                    ],\n                    [\n                        1699545600000,\n                        288.22\n                    ],\n                    [\n                        1699632000000,\n                        288.22\n                    ],\n                    [\n                        1699718400000,\n                        288.22\n                    ],\n                    [\n                        1699804800000,\n                        288.22\n                    ],\n                    [\n                        1699891200000,\n                        288.22\n                    ],\n                    [\n                        1699977600000,\n                        288.22\n                    ],\n                    [\n                        1700064000000,\n                        288.22\n                    ],\n                    [\n                        1700150400000,\n                        288.22\n                    ],\n                    [\n                        1700236800000,\n                        288.22\n                    ],\n                    [\n                        1700323200000,\n                        288.22\n                    ],\n                    [\n                        1700409600000,\n                        288.22\n                    ],\n                    [\n                        1700496000000,\n                        6288.22\n                    ],\n                    [\n                        1700582400000,\n                        6288.22\n                    ],\n                    [\n                        1700668800000,\n                        6288.22\n                    ],\n                    [\n                        1700755200000,\n                        6288.22\n                    ],\n                    [\n                        1700841600000,\n                        6288.22\n                    ],\n                    [\n                        1700928000000,\n                        6288.22\n                    ],\n                    [\n                        1701014400000,\n                        6288.22\n                    ],\n                    [\n                        1701100800000,\n                        6288.22\n                    ],\n                    [\n                        1701187200000,\n                        6288.22\n                    ],\n                    [\n                        1701273600000,\n                        6288.22\n                    ],\n                    [\n                        1701360000000,\n                        6288.22\n                    ],\n                    [\n                        1701446400000,\n                        6288.22\n                    ],\n                    [\n                        1701532800000,\n                        6288.22\n                    ],\n                    [\n                        1701619200000,\n                        12288.22\n                    ],\n                    [\n                        1701705600000,\n                        6456\n                    ],\n                    [\n                        1701792000000,\n                        6456\n                    ],\n                    [\n                        1701878400000,\n                        6456\n                    ],\n                    [\n                        1701964800000,\n                        6456\n                    ],\n                    [\n                        1702051200000,\n                        6456\n                    ],\n                    [\n                        1702137600000,\n                        6456\n                    ],\n                    [\n                        1702224000000,\n                        6456\n                    ],\n                    [\n                        1702310400000,\n                        12456\n                    ],\n                    [\n                        1702396800000,\n                        12456\n                    ],\n                    [\n                        1702483200000,\n                        12456\n                    ],\n                    [\n                        1702569600000,\n                        12456\n                    ],\n                    [\n                        1702656000000,\n                        12456\n                    ],\n                    [\n                        1702742400000,\n                        12456\n                    ],\n                    [\n                        1702828800000,\n                        12456\n                    ],\n                    [\n                        1702915200000,\n                        12456\n                    ],\n                    [\n                        1703001600000,\n                        12456\n                    ],\n                    [\n                        1703088000000,\n                        12456\n                    ],\n                    [\n                        1703174400000,\n                        12456\n                    ],\n                    [\n                        1703260800000,\n                        12456\n                    ],\n                    [\n                        1703347200000,\n                        12456\n                    ],\n                    [\n                        1703433600000,\n                        12456\n                    ],\n                    [\n                        1703520000000,\n                        12456\n                    ],\n                    [\n                        1703606400000,\n                        12456\n                    ],\n                    [\n                        1703692800000,\n                        12456\n                    ]\n                ],\n                \"balance_statement\": 0,\n                \"debit\": 474970,\n                \"credit\": 468346.22,\n                \"balance\": 6623.78,\n                \"balance_cur\": 6623.78\n            }\n        ],\n        10\n    ],\n    \"error\": null,\n    \"id\": 1703749292288,\n    \"dt\": 74\n}"}],"_postman_id":"39b02d7b-c21b-449e-8114-7d2bdb6d85ad"},{"name":"params/report.receivable/money_in","id":"5eb8405b-d37f-40c0-9212-a91a772b3171","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1703833815157,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.receivable\",\r\n        \"money_in\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-12-29 12:10:15\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-29122023\">Request added on: 29/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"report.receivable\",<br />\"money_in\",<br />[],<br />{<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"report.receivable\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"report.receivable\" entity, likely related to receivable reports.</p>\n</li>\n<li><p><strong>\"money_in\":</strong> The second parameter specifies the action to be performed on the entity. \"money_in\" is likely a specific action within the \"report.receivable\" entity, indicating a focus on money received or incoming transactions.</p>\n</li>\n<li><p>The third parameter is an empty list: <code>[]</code>. This indicates that there are no specific conditions or filters applied to the records being retrieved. The request aims to retrieve all records related to money in without any specific filtering conditions.</p>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with a single key-value pair:</p>\n<ol>\n<li><strong>\"context\":</strong> An empty context, indicating that no additional context or options are provided in this request.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is likely designed to retrieve information related to money received within the \"report.receivable\" entity. It does not apply specific filtering conditions, and no additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"11887cc2-4f1d-4d2e-9a22-08b300292e47","name":"params/report.receivable/money_in","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1703833815157,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.receivable\",\r\n        \"money_in\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-12-29 12:10:15\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 29 Dec 2023 07:11:51 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=V8%2BRu2n6hoYW3yzIYnzWotMfE345xkw01WXfv5uZ3xE7UYGTPWwyqfqw%2Fs6SBRZoZEcKuMQAfmgdm6mtAzymGC7zStQ7YVOZNAVZ4RthvFHdcjvJ1GVeeENNohnoyqmtGQ1D4oNFdHykDFd1Og%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"83d03b382c566fbe-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"chart_data\": [\n            [\n                \"Older\",\n                17363.6\n            ],\n            [\n                \"September\",\n                3370.8\n            ],\n            [\n                \"October\",\n                1745.82\n            ],\n            [\n                \"November\",\n                0\n            ],\n            [\n                \"December\",\n                329527.71\n            ],\n            [\n                \"Future\",\n                36060.72\n            ]\n        ],\n        \"draft_count\": 1,\n        \"draft_amount\": 100,\n        \"overdue_count\": 16,\n        \"overdue_amount\": 517085.93\n    },\n    \"error\": null,\n    \"id\": 1703833815157,\n    \"dt\": 17\n}"}],"_postman_id":"5eb8405b-d37f-40c0-9212-a91a772b3171"},{"name":"params/report.payable/money_out","id":"6bdeb2db-cbf7-4fbc-a1ef-ce327a0f3cf5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1703833815171,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.payable\",\r\n        \"money_out\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-12-29 12:10:15\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-29122023\">Request added on: 29/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"report.payable\",<br />\"money_out\",<br />[],<br />{<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"report.payable\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"report.payable\" entity, likely related to payable reports.</p>\n</li>\n<li><p><strong>\"money_out\":</strong> The second parameter specifies the action to be performed on the entity. \"money_out\" is likely a specific action within the \"report.payable\" entity, indicating a focus on money paid or outgoing transactions.</p>\n</li>\n<li><p>The third parameter is a list containing an empty list: []. This indicates that there are no specific conditions or filters applied to the records being retrieved. The request aims to retrieve all records from the \"report.payable\" entity without any specific filtering conditions.</p>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with one key-value pair:</p>\n<ol>\n<li><strong>\"context\":</strong> An empty context, indicating that no additional context or options are provided in this request.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is likely designed to retrieve information related to money paid within the \"report.payable\" entity. The search criteria are not specified explicitly (the inner list is empty), and no additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"d2878a2e-770b-403f-a9e6-c222cfdb506f","name":"params/report.payable/money_out","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1703833815171,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.payable\",\r\n        \"money_out\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2023-12-29 12:10:15\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 29 Dec 2023 07:26:40 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Q8%2Brw51yRhQv%2BanN8FKTBzeTKOGxdfYcMAlsbY0K5ygKB7n14KTjV7nhEfVW%2BkyHZtk28UxGtysN%2F6XCtSwzYVIejkAdtlJxs30IUnUw04ENE4pwbUGKnovGYxNUK%2FV4lHE6POLjc9S%2B6iz0Yw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"83d050eeaec06f2a-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"chart_data\": [\n            [\n                1703779200000,\n                0\n            ],\n            [\n                1703865600000,\n                0\n            ],\n            [\n                1703952000000,\n                0\n            ],\n            [\n                1704038400000,\n                0\n            ],\n            [\n                1704124800000,\n                0\n            ],\n            [\n                1704211200000,\n                0\n            ],\n            [\n                1704297600000,\n                0\n            ],\n            [\n                1704384000000,\n                424\n            ],\n            [\n                1704470400000,\n                0\n            ],\n            [\n                1704556800000,\n                740\n            ],\n            [\n                1704643200000,\n                0\n            ],\n            [\n                1704729600000,\n                0\n            ],\n            [\n                1704816000000,\n                0\n            ],\n            [\n                1704902400000,\n                0\n            ],\n            [\n                1704988800000,\n                0\n            ],\n            [\n                1705075200000,\n                0\n            ],\n            [\n                1705161600000,\n                0\n            ],\n            [\n                1705248000000,\n                49962\n            ],\n            [\n                1705334400000,\n                0\n            ],\n            [\n                1705420800000,\n                0\n            ],\n            [\n                1705507200000,\n                0\n            ],\n            [\n                1705593600000,\n                0\n            ],\n            [\n                1705680000000,\n                0\n            ],\n            [\n                1705766400000,\n                0\n            ],\n            [\n                1705852800000,\n                0\n            ],\n            [\n                1705939200000,\n                0\n            ],\n            [\n                1706025600000,\n                0\n            ],\n            [\n                1706112000000,\n                0\n            ],\n            [\n                1706198400000,\n                0\n            ],\n            [\n                1706284800000,\n                0\n            ],\n            [\n                1706371200000,\n                0\n            ],\n            [\n                1706457600000,\n                0\n            ],\n            [\n                1706544000000,\n                0\n            ],\n            [\n                1706630400000,\n                0\n            ],\n            [\n                1706716800000,\n                0\n            ],\n            [\n                1706803200000,\n                0\n            ],\n            [\n                1706889600000,\n                0\n            ],\n            [\n                1706976000000,\n                0\n            ],\n            [\n                1707062400000,\n                0\n            ],\n            [\n                1707148800000,\n                0\n            ],\n            [\n                1707235200000,\n                0\n            ],\n            [\n                1707321600000,\n                0\n            ],\n            [\n                1707408000000,\n                0\n            ],\n            [\n                1707494400000,\n                0\n            ],\n            [\n                1707580800000,\n                0\n            ],\n            [\n                1707667200000,\n                0\n            ],\n            [\n                1707753600000,\n                0\n            ],\n            [\n                1707840000000,\n                0\n            ],\n            [\n                1707926400000,\n                0\n            ],\n            [\n                1708012800000,\n                0\n            ],\n            [\n                1708099200000,\n                0\n            ],\n            [\n                1708185600000,\n                0\n            ],\n            [\n                1708272000000,\n                0\n            ],\n            [\n                1708358400000,\n                0\n            ],\n            [\n                1708444800000,\n                0\n            ],\n            [\n                1708531200000,\n                0\n            ],\n            [\n                1708617600000,\n                0\n            ],\n            [\n                1708704000000,\n                0\n            ],\n            [\n                1708790400000,\n                0\n            ],\n            [\n                1708876800000,\n                0\n            ]\n        ],\n        \"draft_count\": 0,\n        \"draft_amount\": 0,\n        \"overdue_count\": 9,\n        \"overdue_amount\": 83203.76\n    },\n    \"error\": null,\n    \"id\": 1703833815171,\n    \"dt\": 33\n}"}],"_postman_id":"6bdeb2db-cbf7-4fbc-a1ef-ce327a0f3cf5"}],"id":"979b2b4a-222a-4e24-9a35-8f5aaacc0ea1","_postman_id":"979b2b4a-222a-4e24-9a35-8f5aaacc0ea1","description":""},{"name":"Bank","item":[{"name":"Bank Accounts","item":[{"name":"params/inline.help/search_read","id":"5f581de7-e827-44fe-8260-c26c3c6c824f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704263797522,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"bank\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-03 09:17:56\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-03012024\">Request added on: 03/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"inline.help\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"action\",<strong>\"=\",</strong>\"bank\"<strong>]</strong>]<strong>],****{},</strong></p>\n<ol>\n<li><p><strong>\"inline.help\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"inline.help\" entity, which might be related to providing inline help or assistance within the system.</p>\n</li>\n<li><p><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</p>\n</li>\n<li><p><strong>[<br /> [<br /> [<br /> \"action\",<br /> \"=\",<br /> \"bank\"<br /> ]<br /> ]</strong>]:The third parameter is a list containing a single list:</p>\n<ol>\n<li>The inner list, [[\"action\", \"=\", \"bank\"]], represents the search domain. Breaking it down:<ol>\n<li><strong>\"action\":</strong> This represents a field or attribute within the \"inline.help\" entity, likely related to actions or functionalities in the system.</li>\n<li><strong>\"=\":</strong> This is an operator used in the condition and signifies equality. It's used to compare the field on the left with the value on the right to check if they are equal.</li>\n<li><strong>\"bank\":</strong> This is the value against which the \"action\" field is being compared. In this condition, it's checking if the \"action\" field has the value \"bank.\"</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>Context {}:</strong> The fourth parameter is an empty dictionary. In the context of this request, it indicates that no additional options or context information is provided.</p>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity. It aims to retrieve records where the \"action\" field is equal to \"bank.\" No specific fields are requested for retrieval, and no additional context is provided in this request. The purpose of this request is likely to gather information or assistance related to the \"bank\" action within the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"86122017-7bfb-4465-b66b-c82d412919f4","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704263797522,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"bank\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-03 09:17:56\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"Method Not Allowed","code":405,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 03 Jan 2024 06:40:07 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=tx%2Bf2gBM95koW%2BynoUJ5I9juxB07qOsNaSJZ3sMLS5fsuN%2BKc0L%2Bt38zbslsGiQRuD20x%2FdLn%2FKpqqJPEeZCDXh2n7JZhM6bAUdVzEIkWW%2FV2KlbjjEwDIhy09a9gAVaWFZTqk7zeCOjMe2soA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"83f93f9cfadb6fdb-CDG"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"<html>\n    <title>405: Method Not Allowed</title>\n    <body>405: Method Not Allowed</body>\n</html>"}],"_postman_id":"5f581de7-e827-44fe-8260-c26c3c6c824f"},{"name":"params/account.account/search_read","id":"23118cb5-89ee-48ea-b49a-c0c584cb756a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704263797532,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"account.account\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"type\",\r\n                    \"in\",\r\n                    [\r\n                        \"bank\",\r\n                        \"cash\",\r\n                        \"cheque\"\r\n                    ]\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"bank_no\",\r\n                \"balance_statement\",\r\n                \"balance_cur\",\r\n                \"balance_90d\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": \"name\",\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-03 09:17:56\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-03012024\">Request added on: 03/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"account.account\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"type\",</strong></strong>\"in\",<strong><strong>[</strong></strong>\"bank\",<strong><strong>\"cash\",</strong></strong>\"cheque\"<strong><strong>]</strong></strong>]<strong><strong>],<strong><strong>[</strong></strong>\"name\",</strong></strong>\"bank_no\",<strong><strong>\"balance_statement\",</strong></strong>\"balance_cur\",<strong>**\"balance_90d\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"count\": true,</strong></strong>\"order\": \"name\",<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"account.account\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"account.account\" entity, indicating that the operation will be performed within this entity, likely related to managing accounts.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li><strong>[<strong><strong>[</strong></strong>[**</strong>\"type\",<strong><strong>\"in\",<strong><strong>[</strong></strong>\"bank\",</strong></strong>\"cash\",<strong>**\"cheque\"<strong><strong>]</strong></strong>]**</strong>],<strong><strong>[</strong></strong>\"name\",<strong><strong>\"bank_no\",</strong></strong>\"balance_statement\",<strong><strong>\"balance_cur\",</strong></strong>\"balance_90d\"<strong><strong>]</strong></strong>]:** The third parameter is a list containing two lists:<ol>\n<li>The first list, [[ \"type\", \"in\", [\"bank\", \"cash\", \"cheque\"] ]], represents the search domain. Breaking it down:<ol>\n<li><strong>\"type\":</strong> This represents a field or attribute within the \"account.account\" entity, likely indicating the type of the account.</li>\n<li><strong>\"in\":</strong> This is an operator used in the condition and signifies that the \"type\" field should be one of the specified values.</li>\n<li><strong>[\"bank\", \"cash\", \"cheque\"]:</strong> These are the values that the \"type\" field can take. The condition checks if the \"type\" is any of these values.<ol>\n<li><strong>\"bank\":</strong> This is the first element of the list and represents one of the possible values for the \"type\" field.</li>\n<li><strong>\"cash\":</strong> This is the second element of the list and represents another possible value for the \"type\" field.</li>\n<li><strong>\"cheque\":</strong> This is the third element of the list and represents yet another possible value for the \"type\" field.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li>The second list specifies the fields to retrieve for each record: <strong>[\"name\", \"bank_no\", \"balance_statement\", \"balance_cur\", \"balance_90d\"].</strong><ol>\n<li><strong>\"name\":</strong> Represents the name or title associated with the account.</li>\n<li><strong>\"bank_no\":</strong> Represents the bank number associated with the account.</li>\n<li><strong>\"balance_statement\":</strong> Represents the balance statement of the account.</li>\n<li><strong>\"balance_cur\":</strong> Represents the current balance of the account.</li>\n<li><strong>\"balance_90d\":</strong> Represents the balance of the account over the past 90 days.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Context: {<strong><strong>\"count\": true,</strong></strong>\"order\": \"name\",<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>}:</strong> The fourth parameter is a dictionary with various options:<ol>\n<li><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. This allows you to determine how many records exist.</li>\n<li><strong>\"order\": \"name\":</strong> Specifies the sorting order for the retrieved records. In this case, it is sorted by the \"name\" field.</li>\n<li><strong>\"offset\": 0:</strong> Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve records starting from the first record.</li>\n<li><strong>\"limit\": 100:</strong> Specifies the maximum number of records to retrieve, set to 100 in this request. It means that the request will fetch up to 100 records in a single query.</li>\n<li><strong>\"context\": {}:</strong> Represents an empty context, indicating that no additional context is provided in this request.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"account.account\" entity. It retrieves records where the \"type\" is one of the specified values (\"bank\", \"cash\", \"cheque\"). The request specifies the fields to retrieve, counts the total number of matching records, sorts them by the \"name\" field, starts from the beginning, and limits the retrieval to a maximum of 100 records. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"26fe2b65-e8ff-4616-be46-2c90440d30ab","name":"params/account.account/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704263797532,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"account.account\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"type\",\r\n                    \"in\",\r\n                    [\r\n                        \"bank\",\r\n                        \"cash\",\r\n                        \"cheque\"\r\n                    ]\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"bank_no\",\r\n                \"balance_statement\",\r\n                \"balance_cur\",\r\n                \"balance_90d\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": \"name\",\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-03 09:17:56\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 03 Jan 2024 07:47:05 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=K43VxlVgLdtOKA0rnnjcrzj0s599PF56IwS9EaFnuf%2BcSYB1bSvdSdEglCyomVwIC0H%2BUXMQaSfmuWqChmWEXAHtNqCqySlaN6HS0JnCA%2BKDQUUcx5KbiAH0KPPDULxrggJdHNdJoDSpHeu9Sg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"83f9a1b4ec126f75-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 64,\n                \"name\": \"Alliance\",\n                \"bank_no\": \"620650010021190\",\n                \"balance_statement\": 167301.64,\n                \"balance_90d\": [\n                    [\n                        1696435200000,\n                        25437.41\n                    ],\n                    [\n                        1696521600000,\n                        25437.41\n                    ],\n                    [\n                        1696608000000,\n                        942.91\n                    ],\n                    [\n                        1696694400000,\n                        942.91\n                    ],\n                    [\n                        1696780800000,\n                        942.91\n                    ],\n                    [\n                        1696867200000,\n                        2242.91\n                    ],\n                    [\n                        1696953600000,\n                        2242.91\n                    ],\n                    [\n                        1697040000000,\n                        2242.91\n                    ],\n                    [\n                        1697126400000,\n                        2242.91\n                    ],\n                    [\n                        1697212800000,\n                        2242.91\n                    ],\n                    [\n                        1697299200000,\n                        2242.91\n                    ],\n                    [\n                        1697385600000,\n                        2242.91\n                    ],\n                    [\n                        1697472000000,\n                        2242.91\n                    ],\n                    [\n                        1697558400000,\n                        12642.91\n                    ],\n                    [\n                        1697644800000,\n                        11615.98\n                    ],\n                    [\n                        1697731200000,\n                        7235.98\n                    ],\n                    [\n                        1697817600000,\n                        7235.98\n                    ],\n                    [\n                        1697904000000,\n                        7235.98\n                    ],\n                    [\n                        1697990400000,\n                        7235.98\n                    ],\n                    [\n                        1698076800000,\n                        7229.18\n                    ],\n                    [\n                        1698163200000,\n                        7229.18\n                    ],\n                    [\n                        1698249600000,\n                        7229.18\n                    ],\n                    [\n                        1698336000000,\n                        7229.18\n                    ],\n                    [\n                        1698422400000,\n                        7229.18\n                    ],\n                    [\n                        1698508800000,\n                        7229.18\n                    ],\n                    [\n                        1698595200000,\n                        30229.18\n                    ],\n                    [\n                        1698681600000,\n                        5061.6\n                    ],\n                    [\n                        1698768000000,\n                        282.6\n                    ],\n                    [\n                        1698854400000,\n                        282.6\n                    ],\n                    [\n                        1698940800000,\n                        20282.6\n                    ],\n                    [\n                        1699027200000,\n                        20282.6\n                    ],\n                    [\n                        1699113600000,\n                        20282.6\n                    ],\n                    [\n                        1699200000000,\n                        14726.16\n                    ],\n                    [\n                        1699286400000,\n                        -2448.75\n                    ],\n                    [\n                        1699372800000,\n                        -2537.75\n                    ],\n                    [\n                        1699459200000,\n                        -2537.75\n                    ],\n                    [\n                        1699545600000,\n                        -1237.75\n                    ],\n                    [\n                        1699632000000,\n                        -1237.75\n                    ],\n                    [\n                        1699718400000,\n                        -1237.75\n                    ],\n                    [\n                        1699804800000,\n                        -1237.75\n                    ],\n                    [\n                        1699891200000,\n                        -1237.75\n                    ],\n                    [\n                        1699977600000,\n                        -1237.75\n                    ],\n                    [\n                        1700064000000,\n                        1262.25\n                    ],\n                    [\n                        1700150400000,\n                        -2553.75\n                    ],\n                    [\n                        1700236800000,\n                        -2553.75\n                    ],\n                    [\n                        1700323200000,\n                        -2553.75\n                    ],\n                    [\n                        1700409600000,\n                        36446.25\n                    ],\n                    [\n                        1700496000000,\n                        12446.25\n                    ],\n                    [\n                        1700582400000,\n                        12446.25\n                    ],\n                    [\n                        1700668800000,\n                        11051.25\n                    ],\n                    [\n                        1700755200000,\n                        37728.39\n                    ],\n                    [\n                        1700841600000,\n                        37728.39\n                    ],\n                    [\n                        1700928000000,\n                        37728.39\n                    ],\n                    [\n                        1701014400000,\n                        37728.39\n                    ],\n                    [\n                        1701100800000,\n                        37728.4\n                    ],\n                    [\n                        1701187200000,\n                        35164.08\n                    ],\n                    [\n                        1701273600000,\n                        24299.76\n                    ],\n                    [\n                        1701360000000,\n                        62520.76\n                    ],\n                    [\n                        1701446400000,\n                        62520.76\n                    ],\n                    [\n                        1701532800000,\n                        62520.76\n                    ],\n                    [\n                        1701619200000,\n                        30668.16\n                    ],\n                    [\n                        1701705600000,\n                        28957.16\n                    ],\n                    [\n                        1701792000000,\n                        28957.16\n                    ],\n                    [\n                        1701878400000,\n                        3275.33\n                    ],\n                    [\n                        1701964800000,\n                        3275.33\n                    ],\n                    [\n                        1702051200000,\n                        3275.33\n                    ],\n                    [\n                        1702137600000,\n                        3275.33\n                    ],\n                    [\n                        1702224000000,\n                        3275.33\n                    ],\n                    [\n                        1702310400000,\n                        43275.33\n                    ],\n                    [\n                        1702396800000,\n                        43275.33\n                    ],\n                    [\n                        1702483200000,\n                        43275.33\n                    ],\n                    [\n                        1702569600000,\n                        43275.33\n                    ],\n                    [\n                        1702656000000,\n                        43275.33\n                    ],\n                    [\n                        1702742400000,\n                        43275.33\n                    ],\n                    [\n                        1702828800000,\n                        43275.33\n                    ],\n                    [\n                        1702915200000,\n                        37975.33\n                    ],\n                    [\n                        1703001600000,\n                        37975.33\n                    ],\n                    [\n                        1703088000000,\n                        35148.57\n                    ],\n                    [\n                        1703174400000,\n                        87301.64\n                    ],\n                    [\n                        1703260800000,\n                        117301.64\n                    ],\n                    [\n                        1703347200000,\n                        167301.64\n                    ],\n                    [\n                        1703433600000,\n                        167301.64\n                    ],\n                    [\n                        1703520000000,\n                        107559.07\n                    ],\n                    [\n                        1703606400000,\n                        87323.07\n                    ],\n                    [\n                        1703692800000,\n                        45983.07\n                    ],\n                    [\n                        1703779200000,\n                        21547.07\n                    ],\n                    [\n                        1703865600000,\n                        21547.07\n                    ],\n                    [\n                        1703952000000,\n                        71547.07\n                    ],\n                    [\n                        1704038400000,\n                        66568.07\n                    ],\n                    [\n                        1704124800000,\n                        63388.07\n                    ],\n                    [\n                        1704211200000,\n                        62292.97\n                    ]\n                ],\n                \"debit\": 4035184.24,\n                \"credit\": 3972891.27,\n                \"balance\": 62292.97,\n                \"balance_cur\": 62292.97\n            },\n            {\n                \"id\": 171,\n                \"name\": \"Ambank (Res)\",\n                \"bank_no\": \"8881021944570\",\n                \"balance_statement\": 18920.64,\n                \"balance_90d\": [\n                    [\n                        1696435200000,\n                        13920.64\n                    ],\n                    [\n                        1696521600000,\n                        13920.64\n                    ],\n                    [\n                        1696608000000,\n                        13920.64\n                    ],\n                    [\n                        1696694400000,\n                        13920.64\n                    ],\n                    [\n                        1696780800000,\n                        13920.64\n                    ],\n                    [\n                        1696867200000,\n                        13920.64\n                    ],\n                    [\n                        1696953600000,\n                        13920.64\n                    ],\n                    [\n                        1697040000000,\n                        13920.64\n                    ],\n                    [\n                        1697126400000,\n                        13920.64\n                    ],\n                    [\n                        1697212800000,\n                        13920.64\n                    ],\n                    [\n                        1697299200000,\n                        13920.64\n                    ],\n                    [\n                        1697385600000,\n                        13920.64\n                    ],\n                    [\n                        1697472000000,\n                        13920.64\n                    ],\n                    [\n                        1697558400000,\n                        13920.64\n                    ],\n                    [\n                        1697644800000,\n                        13920.64\n                    ],\n                    [\n                        1697731200000,\n                        13920.64\n                    ],\n                    [\n                        1697817600000,\n                        13920.64\n                    ],\n                    [\n                        1697904000000,\n                        13920.64\n                    ],\n                    [\n                        1697990400000,\n                        13920.64\n                    ],\n                    [\n                        1698076800000,\n                        13920.64\n                    ],\n                    [\n                        1698163200000,\n                        13920.64\n                    ],\n                    [\n                        1698249600000,\n                        13920.64\n                    ],\n                    [\n                        1698336000000,\n                        13920.64\n                    ],\n                    [\n                        1698422400000,\n                        13920.64\n                    ],\n                    [\n                        1698508800000,\n                        13920.64\n                    ],\n                    [\n                        1698595200000,\n                        13920.64\n                    ],\n                    [\n                        1698681600000,\n                        13920.64\n                    ],\n                    [\n                        1698768000000,\n                        13920.64\n                    ],\n                    [\n                        1698854400000,\n                        13920.64\n                    ],\n                    [\n                        1698940800000,\n                        13920.64\n                    ],\n                    [\n                        1699027200000,\n                        13920.64\n                    ],\n                    [\n                        1699113600000,\n                        13920.64\n                    ],\n                    [\n                        1699200000000,\n                        13920.64\n                    ],\n                    [\n                        1699286400000,\n                        13920.64\n                    ],\n                    [\n                        1699372800000,\n                        13920.64\n                    ],\n                    [\n                        1699459200000,\n                        13920.64\n                    ],\n                    [\n                        1699545600000,\n                        13920.64\n                    ],\n                    [\n                        1699632000000,\n                        13920.64\n                    ],\n                    [\n                        1699718400000,\n                        13920.64\n                    ],\n                    [\n                        1699804800000,\n                        13920.64\n                    ],\n                    [\n                        1699891200000,\n                        13920.64\n                    ],\n                    [\n                        1699977600000,\n                        13920.64\n                    ],\n                    [\n                        1700064000000,\n                        920.64\n                    ],\n                    [\n                        1700150400000,\n                        920.64\n                    ],\n                    [\n                        1700236800000,\n                        920.64\n                    ],\n                    [\n                        1700323200000,\n                        920.64\n                    ],\n                    [\n                        1700409600000,\n                        920.64\n                    ],\n                    [\n                        1700496000000,\n                        18920.64\n                    ],\n                    [\n                        1700582400000,\n                        18920.64\n                    ],\n                    [\n                        1700668800000,\n                        18920.64\n                    ],\n                    [\n                        1700755200000,\n                        18920.64\n                    ],\n                    [\n                        1700841600000,\n                        18920.64\n                    ],\n                    [\n                        1700928000000,\n                        18920.64\n                    ],\n                    [\n                        1701014400000,\n                        18920.64\n                    ],\n                    [\n                        1701100800000,\n                        18920.64\n                    ],\n                    [\n                        1701187200000,\n                        18920.64\n                    ],\n                    [\n                        1701273600000,\n                        18920.64\n                    ],\n                    [\n                        1701360000000,\n                        18920.64\n                    ],\n                    [\n                        1701446400000,\n                        18920.64\n                    ],\n                    [\n                        1701532800000,\n                        18920.64\n                    ],\n                    [\n                        1701619200000,\n                        23920.64\n                    ],\n                    [\n                        1701705600000,\n                        23920.64\n                    ],\n                    [\n                        1701792000000,\n                        23920.64\n                    ],\n                    [\n                        1701878400000,\n                        23920.64\n                    ],\n                    [\n                        1701964800000,\n                        23920.64\n                    ],\n                    [\n                        1702051200000,\n                        23920.64\n                    ],\n                    [\n                        1702137600000,\n                        23920.64\n                    ],\n                    [\n                        1702224000000,\n                        23920.64\n                    ],\n                    [\n                        1702310400000,\n                        33920.64\n                    ],\n                    [\n                        1702396800000,\n                        33920.64\n                    ],\n                    [\n                        1702483200000,\n                        33920.64\n                    ],\n                    [\n                        1702569600000,\n                        33920.64\n                    ],\n                    [\n                        1702656000000,\n                        33920.64\n                    ],\n                    [\n                        1702742400000,\n                        33920.64\n                    ],\n                    [\n                        1702828800000,\n                        33920.64\n                    ],\n                    [\n                        1702915200000,\n                        33920.64\n                    ],\n                    [\n                        1703001600000,\n                        33920.64\n                    ],\n                    [\n                        1703088000000,\n                        33920.64\n                    ],\n                    [\n                        1703174400000,\n                        33920.64\n                    ],\n                    [\n                        1703260800000,\n                        33920.64\n                    ],\n                    [\n                        1703347200000,\n                        33920.64\n                    ],\n                    [\n                        1703433600000,\n                        33920.64\n                    ],\n                    [\n                        1703520000000,\n                        33920.64\n                    ],\n                    [\n                        1703606400000,\n                        33920.64\n                    ],\n                    [\n                        1703692800000,\n                        33920.64\n                    ],\n                    [\n                        1703779200000,\n                        33920.64\n                    ],\n                    [\n                        1703865600000,\n                        33920.64\n                    ],\n                    [\n                        1703952000000,\n                        33920.64\n                    ],\n                    [\n                        1704038400000,\n                        33920.64\n                    ],\n                    [\n                        1704124800000,\n                        33920.64\n                    ],\n                    [\n                        1704211200000,\n                        33920.64\n                    ]\n                ],\n                \"debit\": 150828.3,\n                \"credit\": 116907.66,\n                \"balance\": 33920.64,\n                \"balance_cur\": 33920.64\n            },\n            {\n                \"id\": 346,\n                \"name\": \"BSN Savings\",\n                \"bank_no\": \"1010941100027501\",\n                \"balance_statement\": 0,\n                \"balance_90d\": [\n                    [\n                        1696435200000,\n                        170.71\n                    ],\n                    [\n                        1696521600000,\n                        170.71\n                    ],\n                    [\n                        1696608000000,\n                        170.71\n                    ],\n                    [\n                        1696694400000,\n                        170.71\n                    ],\n                    [\n                        1696780800000,\n                        170.71\n                    ],\n                    [\n                        1696867200000,\n                        170.71\n                    ],\n                    [\n                        1696953600000,\n                        170.71\n                    ],\n                    [\n                        1697040000000,\n                        170.71\n                    ],\n                    [\n                        1697126400000,\n                        170.71\n                    ],\n                    [\n                        1697212800000,\n                        170.71\n                    ],\n                    [\n                        1697299200000,\n                        170.71\n                    ],\n                    [\n                        1697385600000,\n                        170.71\n                    ],\n                    [\n                        1697472000000,\n                        170.71\n                    ],\n                    [\n                        1697558400000,\n                        170.71\n                    ],\n                    [\n                        1697644800000,\n                        170.71\n                    ],\n                    [\n                        1697731200000,\n                        170.71\n                    ],\n                    [\n                        1697817600000,\n                        170.71\n                    ],\n                    [\n                        1697904000000,\n                        170.71\n                    ],\n                    [\n                        1697990400000,\n                        170.71\n                    ],\n                    [\n                        1698076800000,\n                        170.71\n                    ],\n                    [\n                        1698163200000,\n                        170.71\n                    ],\n                    [\n                        1698249600000,\n                        170.71\n                    ],\n                    [\n                        1698336000000,\n                        170.71\n                    ],\n                    [\n                        1698422400000,\n                        170.71\n                    ],\n                    [\n                        1698508800000,\n                        170.71\n                    ],\n                    [\n                        1698595200000,\n                        170.71\n                    ],\n                    [\n                        1698681600000,\n                        170.71\n                    ],\n                    [\n                        1698768000000,\n                        170.71\n                    ],\n                    [\n                        1698854400000,\n                        170.71\n                    ],\n                    [\n                        1698940800000,\n                        170.71\n                    ],\n                    [\n                        1699027200000,\n                        170.71\n                    ],\n                    [\n                        1699113600000,\n                        170.71\n                    ],\n                    [\n                        1699200000000,\n                        170.71\n                    ],\n                    [\n                        1699286400000,\n                        170.71\n                    ],\n                    [\n                        1699372800000,\n                        170.71\n                    ],\n                    [\n                        1699459200000,\n                        170.71\n                    ],\n                    [\n                        1699545600000,\n                        170.71\n                    ],\n                    [\n                        1699632000000,\n                        170.71\n                    ],\n                    [\n                        1699718400000,\n                        170.71\n                    ],\n                    [\n                        1699804800000,\n                        170.71\n                    ],\n                    [\n                        1699891200000,\n                        170.71\n                    ],\n                    [\n                        1699977600000,\n                        170.71\n                    ],\n                    [\n                        1700064000000,\n                        170.71\n                    ],\n                    [\n                        1700150400000,\n                        170.71\n                    ],\n                    [\n                        1700236800000,\n                        170.71\n                    ],\n                    [\n                        1700323200000,\n                        170.71\n                    ],\n                    [\n                        1700409600000,\n                        170.71\n                    ],\n                    [\n                        1700496000000,\n                        170.71\n                    ],\n                    [\n                        1700582400000,\n                        170.71\n                    ],\n                    [\n                        1700668800000,\n                        170.71\n                    ],\n                    [\n                        1700755200000,\n                        170.71\n                    ],\n                    [\n                        1700841600000,\n                        170.71\n                    ],\n                    [\n                        1700928000000,\n                        170.71\n                    ],\n                    [\n                        1701014400000,\n                        180.71\n                    ],\n                    [\n                        1701100800000,\n                        180.71\n                    ],\n                    [\n                        1701187200000,\n                        180.71\n                    ],\n                    [\n                        1701273600000,\n                        180.71\n                    ],\n                    [\n                        1701360000000,\n                        180.71\n                    ],\n                    [\n                        1701446400000,\n                        180.71\n                    ],\n                    [\n                        1701532800000,\n                        180.71\n                    ],\n                    [\n                        1701619200000,\n                        180.71\n                    ],\n                    [\n                        1701705600000,\n                        180.71\n                    ],\n                    [\n                        1701792000000,\n                        180.71\n                    ],\n                    [\n                        1701878400000,\n                        180.71\n                    ],\n                    [\n                        1701964800000,\n                        180.71\n                    ],\n                    [\n                        1702051200000,\n                        180.71\n                    ],\n                    [\n                        1702137600000,\n                        180.71\n                    ],\n                    [\n                        1702224000000,\n                        180.71\n                    ],\n                    [\n                        1702310400000,\n                        180.71\n                    ],\n                    [\n                        1702396800000,\n                        180.71\n                    ],\n                    [\n                        1702483200000,\n                        180.71\n                    ],\n                    [\n                        1702569600000,\n                        180.71\n                    ],\n                    [\n                        1702656000000,\n                        180.71\n                    ],\n                    [\n                        1702742400000,\n                        180.71\n                    ],\n                    [\n                        1702828800000,\n                        180.71\n                    ],\n                    [\n                        1702915200000,\n                        180.71\n                    ],\n                    [\n                        1703001600000,\n                        180.71\n                    ],\n                    [\n                        1703088000000,\n                        180.71\n                    ],\n                    [\n                        1703174400000,\n                        180.71\n                    ],\n                    [\n                        1703260800000,\n                        180.71\n                    ],\n                    [\n                        1703347200000,\n                        180.71\n                    ],\n                    [\n                        1703433600000,\n                        180.71\n                    ],\n                    [\n                        1703520000000,\n                        180.71\n                    ],\n                    [\n                        1703606400000,\n                        180.71\n                    ],\n                    [\n                        1703692800000,\n                        180.71\n                    ],\n                    [\n                        1703779200000,\n                        180.71\n                    ],\n                    [\n                        1703865600000,\n                        180.71\n                    ],\n                    [\n                        1703952000000,\n                        180.71\n                    ],\n                    [\n                        1704038400000,\n                        180.71\n                    ],\n                    [\n                        1704124800000,\n                        180.71\n                    ],\n                    [\n                        1704211200000,\n                        180.71\n                    ]\n                ],\n                \"debit\": 201.21,\n                \"credit\": 20.5,\n                \"balance\": 180.71,\n                \"balance_cur\": 180.71\n            },\n            {\n                \"id\": 286,\n                \"name\": \"Maybank Islamic\",\n                \"bank_no\": \"564191575042\",\n                \"balance_statement\": 116553.78,\n                \"balance_90d\": [\n                    [\n                        1696435200000,\n                        317.42\n                    ],\n                    [\n                        1696521600000,\n                        317.42\n                    ],\n                    [\n                        1696608000000,\n                        317.42\n                    ],\n                    [\n                        1696694400000,\n                        317.42\n                    ],\n                    [\n                        1696780800000,\n                        317.42\n                    ],\n                    [\n                        1696867200000,\n                        317.42\n                    ],\n                    [\n                        1696953600000,\n                        317.42\n                    ],\n                    [\n                        1697040000000,\n                        317.42\n                    ],\n                    [\n                        1697126400000,\n                        15863.96\n                    ],\n                    [\n                        1697212800000,\n                        15863.96\n                    ],\n                    [\n                        1697299200000,\n                        15863.96\n                    ],\n                    [\n                        1697385600000,\n                        15863.96\n                    ],\n                    [\n                        1697472000000,\n                        15863.96\n                    ],\n                    [\n                        1697558400000,\n                        15863.96\n                    ],\n                    [\n                        1697644800000,\n                        15863.96\n                    ],\n                    [\n                        1697731200000,\n                        15863.96\n                    ],\n                    [\n                        1697817600000,\n                        15863.96\n                    ],\n                    [\n                        1697904000000,\n                        15863.96\n                    ],\n                    [\n                        1697990400000,\n                        15863.96\n                    ],\n                    [\n                        1698076800000,\n                        20153.78\n                    ],\n                    [\n                        1698163200000,\n                        20153.78\n                    ],\n                    [\n                        1698249600000,\n                        20153.78\n                    ],\n                    [\n                        1698336000000,\n                        20153.78\n                    ],\n                    [\n                        1698422400000,\n                        20153.78\n                    ],\n                    [\n                        1698508800000,\n                        20153.78\n                    ],\n                    [\n                        1698595200000,\n                        17153.78\n                    ],\n                    [\n                        1698681600000,\n                        16653.78\n                    ],\n                    [\n                        1698768000000,\n                        16653.78\n                    ],\n                    [\n                        1698854400000,\n                        16653.78\n                    ],\n                    [\n                        1698940800000,\n                        16653.78\n                    ],\n                    [\n                        1699027200000,\n                        16653.78\n                    ],\n                    [\n                        1699113600000,\n                        16653.78\n                    ],\n                    [\n                        1699200000000,\n                        16653.78\n                    ],\n                    [\n                        1699286400000,\n                        53.78\n                    ],\n                    [\n                        1699372800000,\n                        53.78\n                    ],\n                    [\n                        1699459200000,\n                        53.78\n                    ],\n                    [\n                        1699545600000,\n                        53.78\n                    ],\n                    [\n                        1699632000000,\n                        53.78\n                    ],\n                    [\n                        1699718400000,\n                        53.78\n                    ],\n                    [\n                        1699804800000,\n                        53.78\n                    ],\n                    [\n                        1699891200000,\n                        53.78\n                    ],\n                    [\n                        1699977600000,\n                        53.78\n                    ],\n                    [\n                        1700064000000,\n                        53.78\n                    ],\n                    [\n                        1700150400000,\n                        53.78\n                    ],\n                    [\n                        1700236800000,\n                        53.78\n                    ],\n                    [\n                        1700323200000,\n                        53.78\n                    ],\n                    [\n                        1700409600000,\n                        53.78\n                    ],\n                    [\n                        1700496000000,\n                        53.78\n                    ],\n                    [\n                        1700582400000,\n                        53.78\n                    ],\n                    [\n                        1700668800000,\n                        53.78\n                    ],\n                    [\n                        1700755200000,\n                        53.78\n                    ],\n                    [\n                        1700841600000,\n                        53.78\n                    ],\n                    [\n                        1700928000000,\n                        53.78\n                    ],\n                    [\n                        1701014400000,\n                        53.78\n                    ],\n                    [\n                        1701100800000,\n                        53.78\n                    ],\n                    [\n                        1701187200000,\n                        53.78\n                    ],\n                    [\n                        1701273600000,\n                        53.78\n                    ],\n                    [\n                        1701360000000,\n                        53.78\n                    ],\n                    [\n                        1701446400000,\n                        53.78\n                    ],\n                    [\n                        1701532800000,\n                        53.78\n                    ],\n                    [\n                        1701619200000,\n                        53.78\n                    ],\n                    [\n                        1701705600000,\n                        53.78\n                    ],\n                    [\n                        1701792000000,\n                        53.78\n                    ],\n                    [\n                        1701878400000,\n                        53.78\n                    ],\n                    [\n                        1701964800000,\n                        53.78\n                    ],\n                    [\n                        1702051200000,\n                        53.78\n                    ],\n                    [\n                        1702137600000,\n                        53.78\n                    ],\n                    [\n                        1702224000000,\n                        53.78\n                    ],\n                    [\n                        1702310400000,\n                        53.78\n                    ],\n                    [\n                        1702396800000,\n                        53.78\n                    ],\n                    [\n                        1702483200000,\n                        53.78\n                    ],\n                    [\n                        1702569600000,\n                        53.78\n                    ],\n                    [\n                        1702656000000,\n                        53.78\n                    ],\n                    [\n                        1702742400000,\n                        53.78\n                    ],\n                    [\n                        1702828800000,\n                        53.78\n                    ],\n                    [\n                        1702915200000,\n                        53.78\n                    ],\n                    [\n                        1703001600000,\n                        53.78\n                    ],\n                    [\n                        1703088000000,\n                        53.78\n                    ],\n                    [\n                        1703174400000,\n                        53.78\n                    ],\n                    [\n                        1703260800000,\n                        53.78\n                    ],\n                    [\n                        1703347200000,\n                        53.78\n                    ],\n                    [\n                        1703433600000,\n                        53.78\n                    ],\n                    [\n                        1703520000000,\n                        53.78\n                    ],\n                    [\n                        1703606400000,\n                        53.78\n                    ],\n                    [\n                        1703692800000,\n                        53.78\n                    ],\n                    [\n                        1703779200000,\n                        53.78\n                    ],\n                    [\n                        1703865600000,\n                        53.78\n                    ],\n                    [\n                        1703952000000,\n                        116553.78\n                    ],\n                    [\n                        1704038400000,\n                        116553.78\n                    ],\n                    [\n                        1704124800000,\n                        116553.78\n                    ],\n                    [\n                        1704211200000,\n                        116553.78\n                    ]\n                ],\n                \"debit\": 610468.35,\n                \"credit\": 493914.57,\n                \"balance\": 116553.78,\n                \"balance_cur\": 116553.78\n            },\n            {\n                \"id\": 170,\n                \"name\": \"Maybank (Standard)\",\n                \"bank_no\": \"514196689465\",\n                \"balance_statement\": 68175,\n                \"balance_90d\": [\n                    [\n                        1696435200000,\n                        21866.2\n                    ],\n                    [\n                        1696521600000,\n                        21866.2\n                    ],\n                    [\n                        1696608000000,\n                        21866.2\n                    ],\n                    [\n                        1696694400000,\n                        21866.2\n                    ],\n                    [\n                        1696780800000,\n                        21866.2\n                    ],\n                    [\n                        1696867200000,\n                        27523.42\n                    ],\n                    [\n                        1696953600000,\n                        27481.52\n                    ],\n                    [\n                        1697040000000,\n                        27481.52\n                    ],\n                    [\n                        1697126400000,\n                        1934.98\n                    ],\n                    [\n                        1697212800000,\n                        1934.98\n                    ],\n                    [\n                        1697299200000,\n                        1934.98\n                    ],\n                    [\n                        1697385600000,\n                        1934.98\n                    ],\n                    [\n                        1697472000000,\n                        1934.98\n                    ],\n                    [\n                        1697558400000,\n                        1934.98\n                    ],\n                    [\n                        1697644800000,\n                        1934.98\n                    ],\n                    [\n                        1697731200000,\n                        6224.8\n                    ],\n                    [\n                        1697817600000,\n                        6224.8\n                    ],\n                    [\n                        1697904000000,\n                        6224.8\n                    ],\n                    [\n                        1697990400000,\n                        6224.8\n                    ],\n                    [\n                        1698076800000,\n                        1205.88\n                    ],\n                    [\n                        1698163200000,\n                        1205.88\n                    ],\n                    [\n                        1698249600000,\n                        16205.88\n                    ],\n                    [\n                        1698336000000,\n                        23229.58\n                    ],\n                    [\n                        1698422400000,\n                        23229.58\n                    ],\n                    [\n                        1698508800000,\n                        23229.58\n                    ],\n                    [\n                        1698595200000,\n                        229.58\n                    ],\n                    [\n                        1698681600000,\n                        229.58\n                    ],\n                    [\n                        1698768000000,\n                        229.58\n                    ],\n                    [\n                        1698854400000,\n                        30854.98\n                    ],\n                    [\n                        1698940800000,\n                        7123.88\n                    ],\n                    [\n                        1699027200000,\n                        7123.88\n                    ],\n                    [\n                        1699113600000,\n                        7123.88\n                    ],\n                    [\n                        1699200000000,\n                        7123.88\n                    ],\n                    [\n                        1699286400000,\n                        7123.88\n                    ],\n                    [\n                        1699372800000,\n                        7123.88\n                    ],\n                    [\n                        1699459200000,\n                        14429.23\n                    ],\n                    [\n                        1699545600000,\n                        14429.23\n                    ],\n                    [\n                        1699632000000,\n                        14429.23\n                    ],\n                    [\n                        1699718400000,\n                        14429.23\n                    ],\n                    [\n                        1699804800000,\n                        14429.23\n                    ],\n                    [\n                        1699891200000,\n                        14429.23\n                    ],\n                    [\n                        1699977600000,\n                        14393.23\n                    ],\n                    [\n                        1700064000000,\n                        11262.06\n                    ],\n                    [\n                        1700150400000,\n                        11262.06\n                    ],\n                    [\n                        1700236800000,\n                        51442.42\n                    ],\n                    [\n                        1700323200000,\n                        51442.42\n                    ],\n                    [\n                        1700409600000,\n                        12442.42\n                    ],\n                    [\n                        1700496000000,\n                        2442.42\n                    ],\n                    [\n                        1700582400000,\n                        1683.9\n                    ],\n                    [\n                        1700668800000,\n                        51683.9\n                    ],\n                    [\n                        1700755200000,\n                        4102.84\n                    ],\n                    [\n                        1700841600000,\n                        4102.84\n                    ],\n                    [\n                        1700928000000,\n                        4102.84\n                    ],\n                    [\n                        1701014400000,\n                        4102.84\n                    ],\n                    [\n                        1701100800000,\n                        4102.84\n                    ],\n                    [\n                        1701187200000,\n                        26149.05\n                    ],\n                    [\n                        1701273600000,\n                        26149.05\n                    ],\n                    [\n                        1701360000000,\n                        18470.73\n                    ],\n                    [\n                        1701446400000,\n                        18470.73\n                    ],\n                    [\n                        1701532800000,\n                        22186.73\n                    ],\n                    [\n                        1701619200000,\n                        22224.32\n                    ],\n                    [\n                        1701705600000,\n                        30173.11\n                    ],\n                    [\n                        1701792000000,\n                        30173.11\n                    ],\n                    [\n                        1701878400000,\n                        30173.11\n                    ],\n                    [\n                        1701964800000,\n                        80173.11\n                    ],\n                    [\n                        1702051200000,\n                        80173.11\n                    ],\n                    [\n                        1702137600000,\n                        80173.11\n                    ],\n                    [\n                        1702224000000,\n                        80173.11\n                    ],\n                    [\n                        1702310400000,\n                        4173.11\n                    ],\n                    [\n                        1702396800000,\n                        4137.11\n                    ],\n                    [\n                        1702483200000,\n                        4137.11\n                    ],\n                    [\n                        1702569600000,\n                        3040.29\n                    ],\n                    [\n                        1702656000000,\n                        3040.29\n                    ],\n                    [\n                        1702742400000,\n                        3040.29\n                    ],\n                    [\n                        1702828800000,\n                        3040.29\n                    ],\n                    [\n                        1702915200000,\n                        3040.29\n                    ],\n                    [\n                        1703001600000,\n                        3040.29\n                    ],\n                    [\n                        1703088000000,\n                        201436.29\n                    ],\n                    [\n                        1703174400000,\n                        151436.29\n                    ],\n                    [\n                        1703260800000,\n                        121436.29\n                    ],\n                    [\n                        1703347200000,\n                        71436.29\n                    ],\n                    [\n                        1703433600000,\n                        71436.29\n                    ],\n                    [\n                        1703520000000,\n                        67936.29\n                    ],\n                    [\n                        1703606400000,\n                        177116.29\n                    ],\n                    [\n                        1703692800000,\n                        177116.29\n                    ],\n                    [\n                        1703779200000,\n                        186259\n                    ],\n                    [\n                        1703865600000,\n                        186259\n                    ],\n                    [\n                        1703952000000,\n                        69759\n                    ],\n                    [\n                        1704038400000,\n                        69759\n                    ],\n                    [\n                        1704124800000,\n                        69918\n                    ],\n                    [\n                        1704211200000,\n                        75422\n                    ]\n                ],\n                \"debit\": 2238351.85,\n                \"credit\": 2162929.85,\n                \"balance\": 75422,\n                \"balance_cur\": 75422\n            },\n            {\n                \"id\": 323,\n                \"name\": \"Other E-wallet (Zeox)\",\n                \"bank_no\": null,\n                \"balance_statement\": 0,\n                \"balance_90d\": [\n                    [\n                        1696435200000,\n                        0\n                    ],\n                    [\n                        1696521600000,\n                        0\n                    ],\n                    [\n                        1696608000000,\n                        0\n                    ],\n                    [\n                        1696694400000,\n                        0\n                    ],\n                    [\n                        1696780800000,\n                        0\n                    ],\n                    [\n                        1696867200000,\n                        0\n                    ],\n                    [\n                        1696953600000,\n                        0\n                    ],\n                    [\n                        1697040000000,\n                        0\n                    ],\n                    [\n                        1697126400000,\n                        0\n                    ],\n                    [\n                        1697212800000,\n                        0\n                    ],\n                    [\n                        1697299200000,\n                        0\n                    ],\n                    [\n                        1697385600000,\n                        0\n                    ],\n                    [\n                        1697472000000,\n                        0\n                    ],\n                    [\n                        1697558400000,\n                        0\n                    ],\n                    [\n                        1697644800000,\n                        0\n                    ],\n                    [\n                        1697731200000,\n                        0\n                    ],\n                    [\n                        1697817600000,\n                        0\n                    ],\n                    [\n                        1697904000000,\n                        0\n                    ],\n                    [\n                        1697990400000,\n                        0\n                    ],\n                    [\n                        1698076800000,\n                        0\n                    ],\n                    [\n                        1698163200000,\n                        0\n                    ],\n                    [\n                        1698249600000,\n                        0\n                    ],\n                    [\n                        1698336000000,\n                        0\n                    ],\n                    [\n                        1698422400000,\n                        0\n                    ],\n                    [\n                        1698508800000,\n                        0\n                    ],\n                    [\n                        1698595200000,\n                        0\n                    ],\n                    [\n                        1698681600000,\n                        0\n                    ],\n                    [\n                        1698768000000,\n                        0\n                    ],\n                    [\n                        1698854400000,\n                        0\n                    ],\n                    [\n                        1698940800000,\n                        0\n                    ],\n                    [\n                        1699027200000,\n                        0\n                    ],\n                    [\n                        1699113600000,\n                        0\n                    ],\n                    [\n                        1699200000000,\n                        0\n                    ],\n                    [\n                        1699286400000,\n                        0\n                    ],\n                    [\n                        1699372800000,\n                        0\n                    ],\n                    [\n                        1699459200000,\n                        0\n                    ],\n                    [\n                        1699545600000,\n                        0\n                    ],\n                    [\n                        1699632000000,\n                        0\n                    ],\n                    [\n                        1699718400000,\n                        0\n                    ],\n                    [\n                        1699804800000,\n                        0\n                    ],\n                    [\n                        1699891200000,\n                        0\n                    ],\n                    [\n                        1699977600000,\n                        0\n                    ],\n                    [\n                        1700064000000,\n                        0\n                    ],\n                    [\n                        1700150400000,\n                        0\n                    ],\n                    [\n                        1700236800000,\n                        0\n                    ],\n                    [\n                        1700323200000,\n                        0\n                    ],\n                    [\n                        1700409600000,\n                        0\n                    ],\n                    [\n                        1700496000000,\n                        0\n                    ],\n                    [\n                        1700582400000,\n                        0\n                    ],\n                    [\n                        1700668800000,\n                        0\n                    ],\n                    [\n                        1700755200000,\n                        0\n                    ],\n                    [\n                        1700841600000,\n                        0\n                    ],\n                    [\n                        1700928000000,\n                        0\n                    ],\n                    [\n                        1701014400000,\n                        0\n                    ],\n                    [\n                        1701100800000,\n                        0\n                    ],\n                    [\n                        1701187200000,\n                        0\n                    ],\n                    [\n                        1701273600000,\n                        0\n                    ],\n                    [\n                        1701360000000,\n                        0\n                    ],\n                    [\n                        1701446400000,\n                        0\n                    ],\n                    [\n                        1701532800000,\n                        0\n                    ],\n                    [\n                        1701619200000,\n                        0\n                    ],\n                    [\n                        1701705600000,\n                        0\n                    ],\n                    [\n                        1701792000000,\n                        0\n                    ],\n                    [\n                        1701878400000,\n                        0\n                    ],\n                    [\n                        1701964800000,\n                        0\n                    ],\n                    [\n                        1702051200000,\n                        0\n                    ],\n                    [\n                        1702137600000,\n                        0\n                    ],\n                    [\n                        1702224000000,\n                        0\n                    ],\n                    [\n                        1702310400000,\n                        0\n                    ],\n                    [\n                        1702396800000,\n                        0\n                    ],\n                    [\n                        1702483200000,\n                        0\n                    ],\n                    [\n                        1702569600000,\n                        0\n                    ],\n                    [\n                        1702656000000,\n                        0\n                    ],\n                    [\n                        1702742400000,\n                        0\n                    ],\n                    [\n                        1702828800000,\n                        0\n                    ],\n                    [\n                        1702915200000,\n                        0\n                    ],\n                    [\n                        1703001600000,\n                        0\n                    ],\n                    [\n                        1703088000000,\n                        0\n                    ],\n                    [\n                        1703174400000,\n                        0\n                    ],\n                    [\n                        1703260800000,\n                        0\n                    ],\n                    [\n                        1703347200000,\n                        0\n                    ],\n                    [\n                        1703433600000,\n                        0\n                    ],\n                    [\n                        1703520000000,\n                        0\n                    ],\n                    [\n                        1703606400000,\n                        0\n                    ],\n                    [\n                        1703692800000,\n                        0\n                    ],\n                    [\n                        1703779200000,\n                        0\n                    ],\n                    [\n                        1703865600000,\n                        0\n                    ],\n                    [\n                        1703952000000,\n                        0\n                    ],\n                    [\n                        1704038400000,\n                        0\n                    ],\n                    [\n                        1704124800000,\n                        0\n                    ],\n                    [\n                        1704211200000,\n                        0\n                    ]\n                ],\n                \"debit\": 101820.98,\n                \"credit\": 101820.98,\n                \"balance\": 0,\n                \"balance_cur\": 0\n            },\n            {\n                \"id\": 66,\n                \"name\": \"Petty Cash\",\n                \"bank_no\": null,\n                \"balance_statement\": 0,\n                \"balance_90d\": [\n                    [\n                        1696435200000,\n                        -30000\n                    ],\n                    [\n                        1696521600000,\n                        -30000\n                    ],\n                    [\n                        1696608000000,\n                        -30000\n                    ],\n                    [\n                        1696694400000,\n                        -30000\n                    ],\n                    [\n                        1696780800000,\n                        -33775\n                    ],\n                    [\n                        1696867200000,\n                        -33775\n                    ],\n                    [\n                        1696953600000,\n                        -33775\n                    ],\n                    [\n                        1697040000000,\n                        -33887.5\n                    ],\n                    [\n                        1697126400000,\n                        -23957.5\n                    ],\n                    [\n                        1697212800000,\n                        -23957.5\n                    ],\n                    [\n                        1697299200000,\n                        -23957.5\n                    ],\n                    [\n                        1697385600000,\n                        -23957.5\n                    ],\n                    [\n                        1697472000000,\n                        -23957.5\n                    ],\n                    [\n                        1697558400000,\n                        -23957.5\n                    ],\n                    [\n                        1697644800000,\n                        -23957.5\n                    ],\n                    [\n                        1697731200000,\n                        -23957.5\n                    ],\n                    [\n                        1697817600000,\n                        -23957.5\n                    ],\n                    [\n                        1697904000000,\n                        -23957.5\n                    ],\n                    [\n                        1697990400000,\n                        -23957.5\n                    ],\n                    [\n                        1698076800000,\n                        -23957.5\n                    ],\n                    [\n                        1698163200000,\n                        -23957.5\n                    ],\n                    [\n                        1698249600000,\n                        -23957.5\n                    ],\n                    [\n                        1698336000000,\n                        -23957.5\n                    ],\n                    [\n                        1698422400000,\n                        -23957.5\n                    ],\n                    [\n                        1698508800000,\n                        -23957.5\n                    ],\n                    [\n                        1698595200000,\n                        -24160.29\n                    ],\n                    [\n                        1698681600000,\n                        -24425.26\n                    ],\n                    [\n                        1698768000000,\n                        -24425.26\n                    ],\n                    [\n                        1698854400000,\n                        -24425.26\n                    ],\n                    [\n                        1698940800000,\n                        -15425.26\n                    ],\n                    [\n                        1699027200000,\n                        -15425.26\n                    ],\n                    [\n                        1699113600000,\n                        -15495.26\n                    ],\n                    [\n                        1699200000000,\n                        -15495.26\n                    ],\n                    [\n                        1699286400000,\n                        -15840.26\n                    ],\n                    [\n                        1699372800000,\n                        -15840.26\n                    ],\n                    [\n                        1699459200000,\n                        -16333.4\n                    ],\n                    [\n                        1699545600000,\n                        -16435.6\n                    ],\n                    [\n                        1699632000000,\n                        -16435.6\n                    ],\n                    [\n                        1699718400000,\n                        -16435.6\n                    ],\n                    [\n                        1699804800000,\n                        -16435.6\n                    ],\n                    [\n                        1699891200000,\n                        -16435.6\n                    ],\n                    [\n                        1699977600000,\n                        -16435.6\n                    ],\n                    [\n                        1700064000000,\n                        -36435.6\n                    ],\n                    [\n                        1700150400000,\n                        -36535.6\n                    ],\n                    [\n                        1700236800000,\n                        -36535.6\n                    ],\n                    [\n                        1700323200000,\n                        -36535.6\n                    ],\n                    [\n                        1700409600000,\n                        -36535.6\n                    ],\n                    [\n                        1700496000000,\n                        -26535.6\n                    ],\n                    [\n                        1700582400000,\n                        -26605.6\n                    ],\n                    [\n                        1700668800000,\n                        -26605.6\n                    ],\n                    [\n                        1700755200000,\n                        -26605.6\n                    ],\n                    [\n                        1700841600000,\n                        -26605.6\n                    ],\n                    [\n                        1700928000000,\n                        -26605.6\n                    ],\n                    [\n                        1701014400000,\n                        -26615.6\n                    ],\n                    [\n                        1701100800000,\n                        -26615.6\n                    ],\n                    [\n                        1701187200000,\n                        -18661.81\n                    ],\n                    [\n                        1701273600000,\n                        -18891.81\n                    ],\n                    [\n                        1701360000000,\n                        -8903.81\n                    ],\n                    [\n                        1701446400000,\n                        -8903.81\n                    ],\n                    [\n                        1701532800000,\n                        -8903.81\n                    ],\n                    [\n                        1701619200000,\n                        6096.19\n                    ],\n                    [\n                        1701705600000,\n                        -1852.6\n                    ],\n                    [\n                        1701792000000,\n                        -1955.96\n                    ],\n                    [\n                        1701878400000,\n                        -2058.11\n                    ],\n                    [\n                        1701964800000,\n                        -2058.11\n                    ],\n                    [\n                        1702051200000,\n                        -2528.11\n                    ],\n                    [\n                        1702137600000,\n                        -2528.11\n                    ],\n                    [\n                        1702224000000,\n                        -11726.89\n                    ],\n                    [\n                        1702310400000,\n                        -1821.54\n                    ],\n                    [\n                        1702396800000,\n                        -1821.54\n                    ],\n                    [\n                        1702483200000,\n                        -1891.54\n                    ],\n                    [\n                        1702569600000,\n                        -1891.54\n                    ],\n                    [\n                        1702656000000,\n                        -1891.54\n                    ],\n                    [\n                        1702742400000,\n                        -1891.54\n                    ],\n                    [\n                        1702828800000,\n                        -1891.54\n                    ],\n                    [\n                        1702915200000,\n                        -1891.54\n                    ],\n                    [\n                        1703001600000,\n                        -2102.89\n                    ],\n                    [\n                        1703088000000,\n                        -2102.89\n                    ],\n                    [\n                        1703174400000,\n                        -2102.89\n                    ],\n                    [\n                        1703260800000,\n                        -2102.89\n                    ],\n                    [\n                        1703347200000,\n                        -3226.76\n                    ],\n                    [\n                        1703433600000,\n                        -3226.76\n                    ],\n                    [\n                        1703520000000,\n                        273.24\n                    ],\n                    [\n                        1703606400000,\n                        273.24\n                    ],\n                    [\n                        1703692800000,\n                        273.24\n                    ],\n                    [\n                        1703779200000,\n                        273.24\n                    ],\n                    [\n                        1703865600000,\n                        273.24\n                    ],\n                    [\n                        1703952000000,\n                        -6.76\n                    ],\n                    [\n                        1704038400000,\n                        -6.76\n                    ],\n                    [\n                        1704124800000,\n                        -6.76\n                    ],\n                    [\n                        1704211200000,\n                        -6.76\n                    ]\n                ],\n                \"debit\": 763974.95,\n                \"credit\": 763981.71,\n                \"balance\": -6.76,\n                \"balance_cur\": -6.76\n            },\n            {\n                \"id\": 401,\n                \"name\": \"Petty Cash (Credit Cash)\",\n                \"bank_no\": null,\n                \"balance_statement\": 0,\n                \"balance_90d\": [\n                    [\n                        1696435200000,\n                        0\n                    ],\n                    [\n                        1696521600000,\n                        0\n                    ],\n                    [\n                        1696608000000,\n                        0\n                    ],\n                    [\n                        1696694400000,\n                        0\n                    ],\n                    [\n                        1696780800000,\n                        0\n                    ],\n                    [\n                        1696867200000,\n                        0\n                    ],\n                    [\n                        1696953600000,\n                        0\n                    ],\n                    [\n                        1697040000000,\n                        0\n                    ],\n                    [\n                        1697126400000,\n                        0\n                    ],\n                    [\n                        1697212800000,\n                        0\n                    ],\n                    [\n                        1697299200000,\n                        0\n                    ],\n                    [\n                        1697385600000,\n                        0\n                    ],\n                    [\n                        1697472000000,\n                        0\n                    ],\n                    [\n                        1697558400000,\n                        -226.05\n                    ],\n                    [\n                        1697644800000,\n                        -226.05\n                    ],\n                    [\n                        1697731200000,\n                        -226.05\n                    ],\n                    [\n                        1697817600000,\n                        -226.05\n                    ],\n                    [\n                        1697904000000,\n                        -226.05\n                    ],\n                    [\n                        1697990400000,\n                        -226.05\n                    ],\n                    [\n                        1698076800000,\n                        -226.05\n                    ],\n                    [\n                        1698163200000,\n                        -226.05\n                    ],\n                    [\n                        1698249600000,\n                        -455.01\n                    ],\n                    [\n                        1698336000000,\n                        -455.01\n                    ],\n                    [\n                        1698422400000,\n                        -455.01\n                    ],\n                    [\n                        1698508800000,\n                        -455.01\n                    ],\n                    [\n                        1698595200000,\n                        -455.01\n                    ],\n                    [\n                        1698681600000,\n                        -825.58\n                    ],\n                    [\n                        1698768000000,\n                        -825.58\n                    ],\n                    [\n                        1698854400000,\n                        -825.58\n                    ],\n                    [\n                        1698940800000,\n                        -825.58\n                    ],\n                    [\n                        1699027200000,\n                        -825.58\n                    ],\n                    [\n                        1699113600000,\n                        -825.58\n                    ],\n                    [\n                        1699200000000,\n                        -4789.58\n                    ],\n                    [\n                        1699286400000,\n                        -4789.58\n                    ],\n                    [\n                        1699372800000,\n                        -4789.58\n                    ],\n                    [\n                        1699459200000,\n                        -4789.58\n                    ],\n                    [\n                        1699545600000,\n                        -4789.58\n                    ],\n                    [\n                        1699632000000,\n                        -4789.58\n                    ],\n                    [\n                        1699718400000,\n                        -4789.58\n                    ],\n                    [\n                        1699804800000,\n                        -4789.58\n                    ],\n                    [\n                        1699891200000,\n                        -4789.58\n                    ],\n                    [\n                        1699977600000,\n                        -4976.83\n                    ],\n                    [\n                        1700064000000,\n                        -4976.83\n                    ],\n                    [\n                        1700150400000,\n                        -4976.83\n                    ],\n                    [\n                        1700236800000,\n                        -4976.83\n                    ],\n                    [\n                        1700323200000,\n                        -4976.83\n                    ],\n                    [\n                        1700409600000,\n                        -4976.83\n                    ],\n                    [\n                        1700496000000,\n                        -4976.83\n                    ],\n                    [\n                        1700582400000,\n                        -4976.83\n                    ],\n                    [\n                        1700668800000,\n                        -4976.83\n                    ],\n                    [\n                        1700755200000,\n                        -5205.79\n                    ],\n                    [\n                        1700841600000,\n                        -5205.79\n                    ],\n                    [\n                        1700928000000,\n                        -5205.79\n                    ],\n                    [\n                        1701014400000,\n                        -5205.79\n                    ],\n                    [\n                        1701100800000,\n                        -5205.79\n                    ],\n                    [\n                        1701187200000,\n                        -5205.79\n                    ],\n                    [\n                        1701273600000,\n                        -5541.74\n                    ],\n                    [\n                        1701360000000,\n                        -5541.74\n                    ],\n                    [\n                        1701446400000,\n                        -5541.74\n                    ],\n                    [\n                        1701532800000,\n                        -5541.74\n                    ],\n                    [\n                        1701619200000,\n                        -5541.74\n                    ],\n                    [\n                        1701705600000,\n                        -6014.54\n                    ],\n                    [\n                        1701792000000,\n                        -6014.54\n                    ],\n                    [\n                        1701878400000,\n                        -10053.14\n                    ],\n                    [\n                        1701964800000,\n                        -10053.14\n                    ],\n                    [\n                        1702051200000,\n                        -10053.14\n                    ],\n                    [\n                        1702137600000,\n                        -10053.14\n                    ],\n                    [\n                        1702224000000,\n                        -854.36\n                    ],\n                    [\n                        1702310400000,\n                        -854.36\n                    ],\n                    [\n                        1702396800000,\n                        -869.36\n                    ],\n                    [\n                        1702483200000,\n                        -1139.26\n                    ],\n                    [\n                        1702569600000,\n                        -1139.26\n                    ],\n                    [\n                        1702656000000,\n                        -1235.11\n                    ],\n                    [\n                        1702742400000,\n                        -1235.11\n                    ],\n                    [\n                        1702828800000,\n                        -1276.47\n                    ],\n                    [\n                        1702915200000,\n                        -1276.47\n                    ],\n                    [\n                        1703001600000,\n                        -1276.47\n                    ],\n                    [\n                        1703088000000,\n                        -1276.47\n                    ],\n                    [\n                        1703174400000,\n                        -1276.47\n                    ],\n                    [\n                        1703260800000,\n                        -1276.47\n                    ],\n                    [\n                        1703347200000,\n                        -152.6\n                    ],\n                    [\n                        1703433600000,\n                        -152.6\n                    ],\n                    [\n                        1703520000000,\n                        -152.6\n                    ],\n                    [\n                        1703606400000,\n                        -152.6\n                    ],\n                    [\n                        1703692800000,\n                        -152.6\n                    ],\n                    [\n                        1703779200000,\n                        -152.6\n                    ],\n                    [\n                        1703865600000,\n                        -152.6\n                    ],\n                    [\n                        1703952000000,\n                        -329.12\n                    ],\n                    [\n                        1704038400000,\n                        -329.12\n                    ],\n                    [\n                        1704124800000,\n                        -329.12\n                    ],\n                    [\n                        1704211200000,\n                        -329.12\n                    ]\n                ],\n                \"debit\": 134830.02,\n                \"credit\": 135159.14,\n                \"balance\": -329.12,\n                \"balance_cur\": -329.12\n            },\n            {\n                \"id\": 318,\n                \"name\": \"Petty Cash (Ruby)\",\n                \"bank_no\": null,\n                \"balance_statement\": 0,\n                \"balance_90d\": [\n                    [\n                        1696435200000,\n                        -240.69\n                    ],\n                    [\n                        1696521600000,\n                        -240.69\n                    ],\n                    [\n                        1696608000000,\n                        -240.69\n                    ],\n                    [\n                        1696694400000,\n                        -240.69\n                    ],\n                    [\n                        1696780800000,\n                        -240.69\n                    ],\n                    [\n                        1696867200000,\n                        -240.69\n                    ],\n                    [\n                        1696953600000,\n                        -240.69\n                    ],\n                    [\n                        1697040000000,\n                        -240.69\n                    ],\n                    [\n                        1697126400000,\n                        -240.69\n                    ],\n                    [\n                        1697212800000,\n                        -270.59\n                    ],\n                    [\n                        1697299200000,\n                        -270.59\n                    ],\n                    [\n                        1697385600000,\n                        -270.59\n                    ],\n                    [\n                        1697472000000,\n                        -270.59\n                    ],\n                    [\n                        1697558400000,\n                        -378.64\n                    ],\n                    [\n                        1697644800000,\n                        -378.64\n                    ],\n                    [\n                        1697731200000,\n                        -378.64\n                    ],\n                    [\n                        1697817600000,\n                        -378.64\n                    ],\n                    [\n                        1697904000000,\n                        -378.64\n                    ],\n                    [\n                        1697990400000,\n                        -378.64\n                    ],\n                    [\n                        1698076800000,\n                        350.46\n                    ],\n                    [\n                        1698163200000,\n                        350.46\n                    ],\n                    [\n                        1698249600000,\n                        350.46\n                    ],\n                    [\n                        1698336000000,\n                        350.46\n                    ],\n                    [\n                        1698422400000,\n                        350.46\n                    ],\n                    [\n                        1698508800000,\n                        350.46\n                    ],\n                    [\n                        1698595200000,\n                        350.46\n                    ],\n                    [\n                        1698681600000,\n                        350.46\n                    ],\n                    [\n                        1698768000000,\n                        350.46\n                    ],\n                    [\n                        1698854400000,\n                        350.46\n                    ],\n                    [\n                        1698940800000,\n                        350.46\n                    ],\n                    [\n                        1699027200000,\n                        350.46\n                    ],\n                    [\n                        1699113600000,\n                        350.46\n                    ],\n                    [\n                        1699200000000,\n                        350.46\n                    ],\n                    [\n                        1699286400000,\n                        350.46\n                    ],\n                    [\n                        1699372800000,\n                        350.46\n                    ],\n                    [\n                        1699459200000,\n                        350.46\n                    ],\n                    [\n                        1699545600000,\n                        350.46\n                    ],\n                    [\n                        1699632000000,\n                        350.46\n                    ],\n                    [\n                        1699718400000,\n                        350.46\n                    ],\n                    [\n                        1699804800000,\n                        350.46\n                    ],\n                    [\n                        1699891200000,\n                        320.56\n                    ],\n                    [\n                        1699977600000,\n                        -154.39\n                    ],\n                    [\n                        1700064000000,\n                        -154.39\n                    ],\n                    [\n                        1700150400000,\n                        -570.81\n                    ],\n                    [\n                        1700236800000,\n                        -570.81\n                    ],\n                    [\n                        1700323200000,\n                        -570.81\n                    ],\n                    [\n                        1700409600000,\n                        -570.81\n                    ],\n                    [\n                        1700496000000,\n                        -570.81\n                    ],\n                    [\n                        1700582400000,\n                        293.71\n                    ],\n                    [\n                        1700668800000,\n                        293.71\n                    ],\n                    [\n                        1700755200000,\n                        -410.19\n                    ],\n                    [\n                        1700841600000,\n                        -410.19\n                    ],\n                    [\n                        1700928000000,\n                        -410.19\n                    ],\n                    [\n                        1701014400000,\n                        -410.19\n                    ],\n                    [\n                        1701100800000,\n                        -410.19\n                    ],\n                    [\n                        1701187200000,\n                        -424.19\n                    ],\n                    [\n                        1701273600000,\n                        -424.19\n                    ],\n                    [\n                        1701360000000,\n                        -424.19\n                    ],\n                    [\n                        1701446400000,\n                        -424.19\n                    ],\n                    [\n                        1701532800000,\n                        -424.19\n                    ],\n                    [\n                        1701619200000,\n                        -424.19\n                    ],\n                    [\n                        1701705600000,\n                        -424.19\n                    ],\n                    [\n                        1701792000000,\n                        -424.19\n                    ],\n                    [\n                        1701878400000,\n                        -424.19\n                    ],\n                    [\n                        1701964800000,\n                        -424.19\n                    ],\n                    [\n                        1702051200000,\n                        -424.19\n                    ],\n                    [\n                        1702137600000,\n                        -424.19\n                    ],\n                    [\n                        1702224000000,\n                        -424.19\n                    ],\n                    [\n                        1702310400000,\n                        -424.19\n                    ],\n                    [\n                        1702396800000,\n                        -451.19\n                    ],\n                    [\n                        1702483200000,\n                        -457.19\n                    ],\n                    [\n                        1702569600000,\n                        172.41\n                    ],\n                    [\n                        1702656000000,\n                        172.41\n                    ],\n                    [\n                        1702742400000,\n                        172.41\n                    ],\n                    [\n                        1702828800000,\n                        172.41\n                    ],\n                    [\n                        1702915200000,\n                        172.41\n                    ],\n                    [\n                        1703001600000,\n                        172.41\n                    ],\n                    [\n                        1703088000000,\n                        172.41\n                    ],\n                    [\n                        1703174400000,\n                        172.41\n                    ],\n                    [\n                        1703260800000,\n                        172.41\n                    ],\n                    [\n                        1703347200000,\n                        172.41\n                    ],\n                    [\n                        1703433600000,\n                        172.41\n                    ],\n                    [\n                        1703520000000,\n                        172.41\n                    ],\n                    [\n                        1703606400000,\n                        172.41\n                    ],\n                    [\n                        1703692800000,\n                        172.41\n                    ],\n                    [\n                        1703779200000,\n                        172.41\n                    ],\n                    [\n                        1703865600000,\n                        172.41\n                    ],\n                    [\n                        1703952000000,\n                        172.41\n                    ],\n                    [\n                        1704038400000,\n                        172.41\n                    ],\n                    [\n                        1704124800000,\n                        172.41\n                    ],\n                    [\n                        1704211200000,\n                        172.41\n                    ]\n                ],\n                \"debit\": 50090.21,\n                \"credit\": 49917.8,\n                \"balance\": 172.41,\n                \"balance_cur\": 172.41\n            },\n            {\n                \"id\": 400,\n                \"name\": \"RHB Current\",\n                \"bank_no\": \"2-62344-0000718-3\",\n                \"balance_statement\": 0,\n                \"balance_90d\": [\n                    [\n                        1696435200000,\n                        3120.44\n                    ],\n                    [\n                        1696521600000,\n                        3120.44\n                    ],\n                    [\n                        1696608000000,\n                        3120.44\n                    ],\n                    [\n                        1696694400000,\n                        3120.44\n                    ],\n                    [\n                        1696780800000,\n                        3120.44\n                    ],\n                    [\n                        1696867200000,\n                        3120.44\n                    ],\n                    [\n                        1696953600000,\n                        3120.44\n                    ],\n                    [\n                        1697040000000,\n                        3120.44\n                    ],\n                    [\n                        1697126400000,\n                        3120.44\n                    ],\n                    [\n                        1697212800000,\n                        3120.44\n                    ],\n                    [\n                        1697299200000,\n                        3120.44\n                    ],\n                    [\n                        1697385600000,\n                        3120.44\n                    ],\n                    [\n                        1697472000000,\n                        3120.44\n                    ],\n                    [\n                        1697558400000,\n                        3120.44\n                    ],\n                    [\n                        1697644800000,\n                        3120.44\n                    ],\n                    [\n                        1697731200000,\n                        3120.44\n                    ],\n                    [\n                        1697817600000,\n                        3120.44\n                    ],\n                    [\n                        1697904000000,\n                        3120.44\n                    ],\n                    [\n                        1697990400000,\n                        3120.44\n                    ],\n                    [\n                        1698076800000,\n                        3120.44\n                    ],\n                    [\n                        1698163200000,\n                        3120.44\n                    ],\n                    [\n                        1698249600000,\n                        3120.44\n                    ],\n                    [\n                        1698336000000,\n                        3120.44\n                    ],\n                    [\n                        1698422400000,\n                        3120.44\n                    ],\n                    [\n                        1698508800000,\n                        3120.44\n                    ],\n                    [\n                        1698595200000,\n                        6120.44\n                    ],\n                    [\n                        1698681600000,\n                        6120.44\n                    ],\n                    [\n                        1698768000000,\n                        6120.44\n                    ],\n                    [\n                        1698854400000,\n                        6120.44\n                    ],\n                    [\n                        1698940800000,\n                        6120.44\n                    ],\n                    [\n                        1699027200000,\n                        6120.44\n                    ],\n                    [\n                        1699113600000,\n                        288.22\n                    ],\n                    [\n                        1699200000000,\n                        288.22\n                    ],\n                    [\n                        1699286400000,\n                        288.22\n                    ],\n                    [\n                        1699372800000,\n                        288.22\n                    ],\n                    [\n                        1699459200000,\n                        288.22\n                    ],\n                    [\n                        1699545600000,\n                        288.22\n                    ],\n                    [\n                        1699632000000,\n                        288.22\n                    ],\n                    [\n                        1699718400000,\n                        288.22\n                    ],\n                    [\n                        1699804800000,\n                        288.22\n                    ],\n                    [\n                        1699891200000,\n                        288.22\n                    ],\n                    [\n                        1699977600000,\n                        288.22\n                    ],\n                    [\n                        1700064000000,\n                        288.22\n                    ],\n                    [\n                        1700150400000,\n                        288.22\n                    ],\n                    [\n                        1700236800000,\n                        288.22\n                    ],\n                    [\n                        1700323200000,\n                        288.22\n                    ],\n                    [\n                        1700409600000,\n                        288.22\n                    ],\n                    [\n                        1700496000000,\n                        6288.22\n                    ],\n                    [\n                        1700582400000,\n                        6288.22\n                    ],\n                    [\n                        1700668800000,\n                        6288.22\n                    ],\n                    [\n                        1700755200000,\n                        6288.22\n                    ],\n                    [\n                        1700841600000,\n                        6288.22\n                    ],\n                    [\n                        1700928000000,\n                        6288.22\n                    ],\n                    [\n                        1701014400000,\n                        6288.22\n                    ],\n                    [\n                        1701100800000,\n                        6288.22\n                    ],\n                    [\n                        1701187200000,\n                        6288.22\n                    ],\n                    [\n                        1701273600000,\n                        6288.22\n                    ],\n                    [\n                        1701360000000,\n                        6288.22\n                    ],\n                    [\n                        1701446400000,\n                        6288.22\n                    ],\n                    [\n                        1701532800000,\n                        6288.22\n                    ],\n                    [\n                        1701619200000,\n                        12288.22\n                    ],\n                    [\n                        1701705600000,\n                        6456\n                    ],\n                    [\n                        1701792000000,\n                        6456\n                    ],\n                    [\n                        1701878400000,\n                        6456\n                    ],\n                    [\n                        1701964800000,\n                        6456\n                    ],\n                    [\n                        1702051200000,\n                        6456\n                    ],\n                    [\n                        1702137600000,\n                        6456\n                    ],\n                    [\n                        1702224000000,\n                        6456\n                    ],\n                    [\n                        1702310400000,\n                        12456\n                    ],\n                    [\n                        1702396800000,\n                        12456\n                    ],\n                    [\n                        1702483200000,\n                        12456\n                    ],\n                    [\n                        1702569600000,\n                        12456\n                    ],\n                    [\n                        1702656000000,\n                        12456\n                    ],\n                    [\n                        1702742400000,\n                        12456\n                    ],\n                    [\n                        1702828800000,\n                        12456\n                    ],\n                    [\n                        1702915200000,\n                        12456\n                    ],\n                    [\n                        1703001600000,\n                        12456\n                    ],\n                    [\n                        1703088000000,\n                        12456\n                    ],\n                    [\n                        1703174400000,\n                        12456\n                    ],\n                    [\n                        1703260800000,\n                        12456\n                    ],\n                    [\n                        1703347200000,\n                        12456\n                    ],\n                    [\n                        1703433600000,\n                        12456\n                    ],\n                    [\n                        1703520000000,\n                        12456\n                    ],\n                    [\n                        1703606400000,\n                        12456\n                    ],\n                    [\n                        1703692800000,\n                        12456\n                    ],\n                    [\n                        1703779200000,\n                        12456\n                    ],\n                    [\n                        1703865600000,\n                        12456\n                    ],\n                    [\n                        1703952000000,\n                        12456\n                    ],\n                    [\n                        1704038400000,\n                        12456\n                    ],\n                    [\n                        1704124800000,\n                        12456\n                    ],\n                    [\n                        1704211200000,\n                        12456\n                    ]\n                ],\n                \"debit\": 474970,\n                \"credit\": 468346.22,\n                \"balance\": 6623.78,\n                \"balance_cur\": 6623.78\n            }\n        ],\n        10\n    ],\n    \"error\": null,\n    \"id\": 1704263797532,\n    \"dt\": 243\n}"}],"_postman_id":"23118cb5-89ee-48ea-b49a-c0c584cb756a"}],"id":"e11b4d48-d86b-4200-9844-f8d346bc71c0","_postman_id":"e11b4d48-d86b-4200-9844-f8d346bc71c0","description":""},{"name":"Payments","item":[{"name":"params/inline.help/search_read","id":"e7d3d115-c7ab-40bb-82a3-8997b7e13f43","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704432515758,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"payment\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-05 10:10:47\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-05012024\">Request added on: 05/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"payment\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"inline.help\" entity, suggesting that the operation is related to providing inline help or assistance within the system.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li>The third parameter is a list containing a single list: [ [ [ \"action\", \"=\", \"payment\" ] ] ]. Breaking it down:<ol>\n<li>The outermost list indicates that there is one condition for the search.</li>\n<li>The middle list, [ [ \"action\", \"=\", \"payment\" ] ], contains the actual condition.</li>\n<li>The innermost list [\"action\", \"=\", \"payment\"] specifies that the field \"action\" should be equal to \"payment.\" This conditions the search to records where the \"action\" attribute has the value \"payment.\"<ol>\n<li><strong>\"action\":</strong> \"action\": This is the first element of the list and represents a field or attribute in the system. In this case, it is likely a field named \"action.\"</li>\n<li><strong>\"=\"</strong> This is the second element of the list and represents the comparison operator. In this context, it is checking for equality. The condition that follows checks if the value of the specified field is equal to a given value.</li>\n<li><strong>\"payment\":</strong> This is the third element of the list and represents the value that the \"action\" field should be equal to. In other words, it specifies a condition that the \"action\" field must have the value \"payment\" for a record to be considered a match</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Context:</strong> The fourth parameter is an empty dictionary: {}. In the context of this request, it indicates that no additional options or context information is provided.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity. It aims to retrieve records that match the criteria of having the \"action\" equal to \"payment.\" No specific fields are requested for retrieval, and no additional context is provided in this request. The purpose is likely to gather information or assistance related to the \"payment\" action within the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"3dbe6c42-9b50-48f3-bc08-4eca75174ad5","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704432515758,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"payment\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-05 10:10:47\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 05 Jan 2024 05:34:11 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=OPkdsPFo9SXU8SXmnXOMoH%2Bfn20JNrgkqPhTpZoR5Ps3YliUS572HasJ%2BeVPyf2NA7qq4S%2F1cn5h6LLVMS%2FMqapUxdsStk%2B2W3HRKcw3ue2%2FxZ%2BhIX7Vxcy7%2FWtm34HRK4JDXJApmAlRqV1BxQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"840959c83fd8465b-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1704432515758,\n    \"dt\": 10\n}"}],"_postman_id":"e7d3d115-c7ab-40bb-82a3-8997b7e13f43"},{"name":"params/account.payment/search_read","id":"44f0a776-ad18-484a-bb01-22b6634a1b85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704432515784,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"account.payment\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"date\",\r\n                \"contact_id\",\r\n                \"type\",\r\n                \"pay_type\",\r\n                \"account_id\",\r\n                \"ref\",\r\n                \"amount_total\",\r\n                \"state\",\r\n                \"user_id\",\r\n                \"memo\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-05 10:10:47\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-05012024\">Request added on: 05/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"account.payment\",</strong>\"search_read\",<strong>[</strong>[<strong>[]</strong>],<strong>[</strong>\"number\",<strong>\"date\",</strong>\"contact_id\",<strong>\"type\",</strong>\"pay_type\",<strong>\"account_id\",</strong>\"ref\",<strong>\"amount_total\",</strong>\"state\",<strong>\"user_id\",</strong>\"memo\"<strong>]</strong>],<strong>{</strong>\"count\": true,<strong>\"order\": null,</strong>\"offset\": 0,<strong>\"limit\": 100,</strong>\"context\": {}<strong>},</strong></p>\n<ol>\n<li><strong>\"account.payment\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"account.payment\" entity, indicating that the operation will be performed within this entity, likely related to payment transactions.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li>The third parameter is a list containing an empty list: <code>[[]]</code>. This indicates that there are no specific conditions or filters applied to the records being retrieved. The request aims to retrieve all records from the \"account.payment\" entity without any specific filtering conditions.</li>\n<li>The second part of the third parameter is a list of fields to retrieve for each record: [\"number\", \"date\", \"contact_id\", \"type\", \"pay_type\", \"account_id\", \"ref\", \"amount_total\", \"state\", \"user_id\", \"memo\"].<ol>\n<li><strong>\"number\":</strong> Represents a unique identifier or reference number associated with the payment transaction. It is likely used to uniquely identify and reference the payment.</li>\n<li><strong>\"date\":</strong> Represents the date when the payment transaction occurred. It provides information about the timing of the payment.</li>\n<li><strong>\"contact_id\":</strong> Represents the contact or party associated with the payment. It could be the entity or individual receiving the payment.</li>\n<li><strong>\"type\":</strong> Indicates the type of payment. This field could specify whether it is a cash payment, bank transfer, check, or another payment method.</li>\n<li><strong>\"pay_type\":</strong> Specifies the payment type, providing additional details about the nature of the payment. It could distinguish between different payment categories or modes.</li>\n<li><strong>\"account_id\":</strong> Represents the account associated with the payment. This could be the financial account from which the payment is made.</li>\n<li><strong>\"ref\":</strong> Represents a reference or additional information associated with the payment. It could include details that help identify the purpose or source of the payment.</li>\n<li><strong>\"amount_total\":</strong> Indicates the total amount involved in the payment transaction. It represents the monetary value associated with the payment.</li>\n<li><strong>\"state\":</strong> Represents the state or status of the payment transaction. It could indicate whether the payment is pending, processed, completed, or in another state.</li>\n<li><strong>\"user_id\":</strong> Represents the user or entity responsible for the payment. It identifies the user associated with the payment transaction.</li>\n<li><strong>\"memo\":</strong> Represents a memo or notes associated with the payment. It could include additional information or comments related to the payment transaction.</li>\n</ol>\n</li>\n<li><strong>Context:</strong> The fourth parameter is a dictionary with various options:<ol>\n<li><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. This allows you to determine how many payment records exist in the system.</li>\n<li><strong>\"order\": null:</strong> Indicates that no specific sorting order is applied to the retrieved records. The records will be returned without any particular order.</li>\n<li><strong>\"offset\": 0:</strong> Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve records starting from the first record.</li>\n<li><strong>\"limit\": 100:</strong> Specifies the maximum number of records to retrieve, set to 100 in this request. It means that the request will fetch up to 100 payment records in a single query. If there are more records, additional requests may be needed.</li>\n<li><strong>\"context\": {}:</strong> Represents an empty context, indicating that no additional context is provided in this request.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"account.payment\" entity. It retrieves all payment records without specific filtering conditions and retrieves the specified fields for each record. Additionally, it counts the total number of matching records, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 records. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"d3b71eae-7afd-419c-8e98-a998803c82cd","name":"params/account.payment/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704432515784,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"account.payment\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"date\",\r\n                \"contact_id\",\r\n                \"type\",\r\n                \"pay_type\",\r\n                \"account_id\",\r\n                \"ref\",\r\n                \"amount_total\",\r\n                \"state\",\r\n                \"user_id\",\r\n                \"memo\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-05 10:10:47\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 05 Jan 2024 06:19:00 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=h95MCJdX4Zm8b0SxpaGlFTpx%2FptwsrfpLvipYDb%2BrTKZhwDDUEuqiusdA667VmsZN0NrE8MU%2FKnBPig8ONsgQbK%2B0HQ1YAgVs%2FXNQ3N%2Fg3BK1Dn03y3YWxSCF3lcz%2FIcw8J5CsY6urAjZG2qBg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"84099b6cdb860c97-MRS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 7282,\n                \"state\": \"draft\",\n                \"contact_id\": [\n                    66,\n                    \"[C-0008] Salary\",\n                    null\n                ],\n                \"date\": \"2024-01-07\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PVS2312-0004\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 23752.3,\n                \"memo\": \"Salary 12/2023\"\n            },\n            {\n                \"id\": 7281,\n                \"state\": \"draft\",\n                \"contact_id\": [\n                    67,\n                    \"[C-0009] KWSP-EPF\",\n                    null\n                ],\n                \"date\": \"2024-01-07\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PVS2312-0003\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 5127,\n                \"memo\": \"Salary - KWSP-EPF Employer\"\n            },\n            {\n                \"id\": 7280,\n                \"state\": \"draft\",\n                \"contact_id\": [\n                    68,\n                    \"[C-0010] PERKESO-SOCSO\",\n                    null\n                ],\n                \"date\": \"2024-01-07\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PVS2312-0002\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 474.9,\n                \"memo\": \"Salary - PERKESO-SOCSO Employer\"\n            },\n            {\n                \"id\": 7279,\n                \"state\": \"draft\",\n                \"contact_id\": [\n                    69,\n                    \"[C-0011] PERKESO-SIP\",\n                    null\n                ],\n                \"date\": \"2024-01-07\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PVS2312-0001\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 84.4,\n                \"memo\": \"Salary - PERKESO-SIP Employer\"\n            },\n            {\n                \"id\": 7268,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    756,\n                    \"[C-0663] RHB Bank\",\n                    null\n                ],\n                \"date\": \"2024-01-05\",\n                \"account_id\": [\n                    400,\n                    \"[120155] RHB Current\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2401-0007\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 5832.22,\n                \"memo\": \"Loan Repayment (16/60)\"\n            },\n            {\n                \"id\": 7283,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    64,\n                    \"[C-0006] V'asia Cosmetic & Healthcare\",\n                    null\n                ],\n                \"date\": \"2024-01-04\",\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"RV2401-0004\",\n                \"type\": \"in\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 2779.32,\n                \"memo\": null\n            },\n            {\n                \"id\": 7284,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    415,\n                    \"[C-0337] MY EG SDN BHD (472638-X)\",\n                    null\n                ],\n                \"date\": \"2024-01-04\",\n                \"account_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2401-0011\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 92.92,\n                \"memo\": \"MYEG/04012024/JPJRTX10918\"\n            },\n            {\n                \"id\": 7278,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    949,\n                    \"[C-0848] Techcapital Resources Sdn Bhd (679831-D)\",\n                    null\n                ],\n                \"date\": \"2024-01-03\",\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"RV2401-0003\",\n                \"type\": \"in\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 5180,\n                \"memo\": null\n            },\n            {\n                \"id\": 7277,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    792,\n                    \"[C-0698] CENTURY MARK PACIFIC MARKETING SDN BHD\",\n                    null\n                ],\n                \"date\": \"2024-01-03\",\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"RV2401-0002\",\n                \"type\": \"in\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 1908,\n                \"memo\": null\n            },\n            {\n                \"id\": 7274,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1053,\n                    \"[C-0948] F3 Technologies\",\n                    null\n                ],\n                \"date\": \"2024-01-03\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2401-0009\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 600,\n                \"memo\": null\n            },\n            {\n                \"id\": 7273,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1121,\n                    \"[C-1013] M.T.F Solutions\",\n                    null\n                ],\n                \"date\": \"2024-01-03\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2401-0008\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 495.1,\n                \"memo\": null\n            },\n            {\n                \"id\": 7267,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    79,\n                    \"[C-0020] Maybank\",\n                    null\n                ],\n                \"date\": \"2024-01-03\",\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2401-0006\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 1584,\n                \"memo\": \"Loan 27/60\"\n            },\n            {\n                \"id\": 7276,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    982,\n                    \"[C-0880] Chian Hardware & Fastener Sdn Bhd (Bosch)\",\n                    null\n                ],\n                \"date\": \"2024-01-02\",\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"RV2401-0001\",\n                \"type\": \"in\",\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 159,\n                \"memo\": null\n            },\n            {\n                \"id\": 7275,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    139,\n                    \"[C-0080] Agensi Pekerjaan Wobb Sdn Bhd (1106343-A)\",\n                    null\n                ],\n                \"date\": \"2024-01-02\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2401-0010\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 3180,\n                \"memo\": null\n            },\n            {\n                \"id\": 7251,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    367,\n                    \"[C-0290] Indah Water Konsortium Sdn Bhd (211763-P)\",\n                    null\n                ],\n                \"date\": \"2024-01-01\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2401-0005\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 26,\n                \"memo\": \"SmartB\"\n            },\n            {\n                \"id\": 7250,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    486,\n                    \"[C-0402] Bank Simpanan National (BSN)\",\n                    null\n                ],\n                \"date\": \"2024-01-01\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2401-0004\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 417,\n                \"memo\": \"Repayment 30/60 \"\n            },\n            {\n                \"id\": 7249,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    332,\n                    \"[C-0257] CREDIT GUARANTEE CORPORATION MALAYSIA BERHAD (12441-M) CGC\",\n                    null\n                ],\n                \"date\": \"2024-01-01\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2401-0003\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 1236,\n                \"memo\": \"Month 30/60\"\n            },\n            {\n                \"id\": 7248,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    629,\n                    \"[C-0542] CHUNG KAI LENG\",\n                    null\n                ],\n                \"date\": \"2024-01-01\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2401-0002\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 1300,\n                \"memo\": \"13A03 Rental 01 2024\"\n            },\n            {\n                \"id\": 7247,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    366,\n                    \"[C-0289] Dr Tan Ai Hooi\",\n                    null\n                ],\n                \"date\": \"2024-01-01\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2401-0001\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 2000,\n                \"memo\": \"Rental for 01 2024\"\n            },\n            {\n                \"id\": 7271,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    949,\n                    \"[C-0848] Techcapital Resources Sdn Bhd (679831-D)\",\n                    null\n                ],\n                \"date\": \"2023-12-31\",\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"RV2312-0017\",\n                \"type\": \"in\",\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 50000,\n                \"memo\": null\n            },\n            {\n                \"id\": 7285,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    88,\n                    \"[C-0029] Google Asia Pacific Pte. Ltd.\",\n                    null\n                ],\n                \"date\": \"2023-12-31\",\n                \"account_id\": [\n                    401,\n                    \"[120129] Petty Cash (Credit Cash)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0065\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 800.9,\n                \"memo\": null\n            },\n            {\n                \"id\": 7256,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    201,\n                    \"[C-0141] Petron\",\n                    null\n                ],\n                \"date\": \"2023-12-31\",\n                \"account_id\": [\n                    401,\n                    \"[120129] Petty Cash (Credit Cash)\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0055\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 113.07,\n                \"memo\": \"Petrol 12 2023\"\n            },\n            {\n                \"id\": 7254,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    180,\n                    \"[C-0120] U Mobile Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2023-12-31\",\n                \"account_id\": [\n                    401,\n                    \"[120129] Petty Cash (Credit Cash)\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0053\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 40.45,\n                \"memo\": \"Dec 2023 (Alwin) \"\n            },\n            {\n                \"id\": 7253,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    230,\n                    \"[C-0168] 3 Damansara\",\n                    null\n                ],\n                \"date\": \"2023-12-31\",\n                \"account_id\": [\n                    401,\n                    \"[120129] Petty Cash (Credit Cash)\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0052\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 23,\n                \"memo\": \"Capital Dec, 2023\"\n            },\n            {\n                \"id\": 7216,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    292,\n                    \"[C-0218] Cleaner\",\n                    null\n                ],\n                \"date\": \"2023-12-31\",\n                \"account_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0029\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 80,\n                \"memo\": \"Dec 2023\"\n            },\n            {\n                \"id\": 7215,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    130,\n                    \"[C-0071] Touch 'n Go Sdn Bhd (406400-X)\",\n                    null\n                ],\n                \"date\": \"2023-12-31\",\n                \"account_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0028\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 200,\n                \"memo\": null\n            },\n            {\n                \"id\": 7272,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    927,\n                    \"[C-0827] Sklew Biotech\",\n                    null\n                ],\n                \"date\": \"2023-12-29\",\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"RV2312-0018\",\n                \"type\": \"in\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 9142.71,\n                \"memo\": null\n            },\n            {\n                \"id\": 7270,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    216,\n                    \"[C-0156] Jabatan Kastam Diraja Malaysia\",\n                    null\n                ],\n                \"date\": \"2023-12-29\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0064\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 1,\n                \"memo\": \"SST Bank Charges\"\n            },\n            {\n                \"id\": 7269,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    769,\n                    \"[C-0675] My SST\",\n                    null\n                ],\n                \"date\": \"2023-12-29\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0063\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 3235,\n                \"memo\": \"SST 10 2023 & 11 2023\"\n            },\n            {\n                \"id\": 7264,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    890,\n                    \"[C-0792] LTI Resources Sdn. Bhd.\",\n                    null\n                ],\n                \"date\": \"2023-12-29\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0061\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 21200,\n                \"memo\": null\n            },\n            {\n                \"id\": 7265,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    890,\n                    \"[C-0792] LTI Resources Sdn. Bhd.\",\n                    null\n                ],\n                \"date\": \"2023-12-28\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0062\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 41340,\n                \"memo\": null\n            },\n            {\n                \"id\": 7266,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    76,\n                    \"[C-0017] Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n                    null\n                ],\n                \"date\": \"2023-12-27\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"RV2312-0016\",\n                \"type\": \"in\",\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 17924,\n                \"memo\": null\n            },\n            {\n                \"id\": 7261,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    465,\n                    \"[C-0383] LTI INDUSTRIES SDN. BHD (887236-U)\",\n                    null\n                ],\n                \"date\": \"2023-12-27\",\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"RV2312-0015\",\n                \"type\": \"in\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 100700,\n                \"memo\": null\n            },\n            {\n                \"id\": 7260,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    465,\n                    \"[C-0383] LTI INDUSTRIES SDN. BHD (887236-U)\",\n                    null\n                ],\n                \"date\": \"2023-12-27\",\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"RV2312-0014\",\n                \"type\": \"in\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 8480,\n                \"memo\": null\n            },\n            {\n                \"id\": 7263,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    890,\n                    \"[C-0792] LTI Resources Sdn. Bhd.\",\n                    null\n                ],\n                \"date\": \"2023-12-27\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0060\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 38160,\n                \"memo\": \"Refund for Project Not Started (RV2309-0002)\"\n            },\n            {\n                \"id\": 7257,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    216,\n                    \"[C-0156] Jabatan Kastam Diraja Malaysia\",\n                    null\n                ],\n                \"date\": \"2023-12-26\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0056\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 1,\n                \"memo\": \"SST Bank Charges\"\n            },\n            {\n                \"id\": 7255,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    769,\n                    \"[C-0675] My SST\",\n                    null\n                ],\n                \"date\": \"2023-12-26\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0054\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 10072.86,\n                \"memo\": \"SST for 2023 10 & 2023 11\"\n            },\n            {\n                \"id\": 7252,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1035,\n                    \"[C-0931] OSPIT Mobility Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2023-12-26\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0051\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 10871.8,\n                \"memo\": null\n            },\n            {\n                \"id\": 7246,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1129,\n                    \"[C-1021] Odoo HK Limited\",\n                    null\n                ],\n                \"date\": \"2023-12-26\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0050\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 38796.91,\n                \"memo\": null\n            },\n            {\n                \"id\": 7244,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    666,\n                    \"[C-0576] Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\",\n                    null\n                ],\n                \"date\": \"2023-12-22\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"RV2312-0012\",\n                \"type\": \"in\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 2222.82,\n                \"memo\": null\n            },\n            {\n                \"id\": 7243,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    734,\n                    \"[C-0642] Apple Store\",\n                    null\n                ],\n                \"date\": \"2023-12-22\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0049\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 37.83,\n                \"memo\": null\n            },\n            {\n                \"id\": 7242,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    734,\n                    \"[C-0642] Apple Store\",\n                    null\n                ],\n                \"date\": \"2023-12-22\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0048\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 31.92,\n                \"memo\": null\n            },\n            {\n                \"id\": 7245,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    785,\n                    \"[C-0691] Emerging EPC Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2023-12-21\",\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"RV2312-0013\",\n                \"type\": \"in\",\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 198485,\n                \"memo\": null\n            },\n            {\n                \"id\": 7262,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    355,\n                    \"[C-0278] Coway (Malaysia) Sdn. Bhd.\",\n                    null\n                ],\n                \"date\": \"2023-12-21\",\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0059\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 89,\n                \"memo\": null\n            },\n            {\n                \"id\": 7258,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    216,\n                    \"[C-0156] Jabatan Kastam Diraja Malaysia\",\n                    null\n                ],\n                \"date\": \"2023-12-21\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0057\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 1,\n                \"memo\": \"SST Bank Charges\"\n            },\n            {\n                \"id\": 7239,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1092,\n                    \"[C-0986] KEQ Marketing Services\",\n                    null\n                ],\n                \"date\": \"2023-12-21\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0047\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 89.51,\n                \"memo\": null\n            },\n            {\n                \"id\": 7238,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1074,\n                    \"[C-0968] Technical Asad\",\n                    null\n                ],\n                \"date\": \"2023-12-21\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0046\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 237,\n                \"memo\": null\n            },\n            {\n                \"id\": 7237,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1053,\n                    \"[C-0948] F3 Technologies\",\n                    null\n                ],\n                \"date\": \"2023-12-21\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0045\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 36,\n                \"memo\": null\n            },\n            {\n                \"id\": 7236,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1121,\n                    \"[C-1013] M.T.F Solutions\",\n                    null\n                ],\n                \"date\": \"2023-12-21\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0044\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 15.12,\n                \"memo\": null\n            },\n            {\n                \"id\": 7235,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    966,\n                    \"[C-0865] (AUTOMEX) INFORMA MARKETS MALAYSIA SDN BHD\",\n                    null\n                ],\n                \"date\": \"2023-12-21\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0043\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 1871.1,\n                \"memo\": null\n            },\n            {\n                \"id\": 7234,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    966,\n                    \"[C-0865] (AUTOMEX) INFORMA MARKETS MALAYSIA SDN BHD\",\n                    null\n                ],\n                \"date\": \"2023-12-21\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0042\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 530,\n                \"memo\": null\n            },\n            {\n                \"id\": 7233,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1084,\n                    \"[C-0978] Canva Pty. Ltd\",\n                    null\n                ],\n                \"date\": \"2023-12-21\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0041\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 24.99,\n                \"memo\": null\n            },\n            {\n                \"id\": 7232,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1084,\n                    \"[C-0978] Canva Pty. Ltd\",\n                    null\n                ],\n                \"date\": \"2023-12-21\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0040\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 2.99,\n                \"memo\": null\n            },\n            {\n                \"id\": 7231,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1108,\n                    \"[C-1000] OpenAI, LLC - ChatGPT\",\n                    null\n                ],\n                \"date\": \"2023-12-21\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0039\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 19.05,\n                \"memo\": null\n            },\n            {\n                \"id\": 7228,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    267,\n                    \"[C-0202] Tenaga Nasional Berhad (TNB)\",\n                    null\n                ],\n                \"date\": \"2023-12-20\",\n                \"account_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0036\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 211.35,\n                \"memo\": null\n            },\n            {\n                \"id\": 7229,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1102,\n                    \"[C-0994] HOWERN WASSER SDN BHD (1077689-X)\",\n                    null\n                ],\n                \"date\": \"2023-12-19\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0037\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 5300,\n                \"memo\": null\n            },\n            {\n                \"id\": 7227,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    294,\n                    \"[C-0220] Shopee\",\n                    null\n                ],\n                \"date\": \"2023-12-18\",\n                \"account_id\": [\n                    401,\n                    \"[120129] Petty Cash (Credit Cash)\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0035\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": \"231216C82BS0YT\",\n                \"amount_total\": 41.36,\n                \"memo\": null\n            },\n            {\n                \"id\": 7226,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1108,\n                    \"[C-1000] OpenAI, LLC - ChatGPT\",\n                    null\n                ],\n                \"date\": \"2023-12-16\",\n                \"account_id\": [\n                    401,\n                    \"[120129] Petty Cash (Credit Cash)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0034\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"ref\": \"UOB Card\",\n                \"amount_total\": 95.85,\n                \"memo\": null\n            },\n            {\n                \"id\": 7219,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1089,\n                    \"[C-0983] HP Brand Store - Best Buy\",\n                    null\n                ],\n                \"date\": \"2023-12-15\",\n                \"account_id\": [\n                    318,\n                    \"[120132] Petty Cash (Ruby)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0031\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 359.17,\n                \"memo\": null\n            },\n            {\n                \"id\": 7218,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1004,\n                    \"[C-0902] Zara Humaira Services Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2023-12-15\",\n                \"account_id\": [\n                    318,\n                    \"[120132] Petty Cash (Ruby)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0030\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 108.05,\n                \"memo\": null\n            },\n            {\n                \"id\": 7230,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1084,\n                    \"[C-0978] Canva Pty. Ltd\",\n                    null\n                ],\n                \"date\": \"2023-12-14\",\n                \"account_id\": [\n                    401,\n                    \"[120129] Petty Cash (Credit Cash)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0038\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 249.9,\n                \"memo\": null\n            },\n            {\n                \"id\": 7213,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1124,\n                    \"[C-1016] Menara Hap Seng 2\",\n                    null\n                ],\n                \"date\": \"2023-12-14\",\n                \"account_id\": [\n                    401,\n                    \"[120129] Petty Cash (Credit Cash)\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0026\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 20,\n                \"memo\": null\n            },\n            {\n                \"id\": 7208,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    829,\n                    \"[C-0734] Expenses Claim\",\n                    null\n                ],\n                \"date\": \"2023-12-14\",\n                \"account_id\": [\n                    318,\n                    \"[120132] Petty Cash (Ruby)\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0022\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 6,\n                \"memo\": \"MIDA\"\n            },\n            {\n                \"id\": 7206,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1082,\n                    \"[C-0976] Klinik Walia\",\n                    null\n                ],\n                \"date\": \"2023-12-14\",\n                \"account_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0020\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 70,\n                \"memo\": null\n            },\n            {\n                \"id\": 7225,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1124,\n                    \"[C-1016] Menara Hap Seng 2\",\n                    null\n                ],\n                \"date\": \"2023-12-13\",\n                \"account_id\": [\n                    318,\n                    \"[120132] Petty Cash (Ruby)\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0033\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 12,\n                \"memo\": null\n            },\n            {\n                \"id\": 7224,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1123,\n                    \"[C-1015] Equatorial Plaza\",\n                    null\n                ],\n                \"date\": \"2023-12-13\",\n                \"account_id\": [\n                    318,\n                    \"[120132] Petty Cash (Ruby)\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0032\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 15,\n                \"memo\": null\n            },\n            {\n                \"id\": 7212,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1123,\n                    \"[C-1015] Equatorial Plaza\",\n                    null\n                ],\n                \"date\": \"2023-12-13\",\n                \"account_id\": [\n                    401,\n                    \"[120129] Petty Cash (Credit Cash)\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0025\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 15,\n                \"memo\": null\n            },\n            {\n                \"id\": 7203,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    238,\n                    \"[C-0176] Damansara Intan Management Corporation\",\n                    null\n                ],\n                \"date\": \"2023-12-13\",\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0018\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 36,\n                \"memo\": null\n            },\n            {\n                \"id\": 7259,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    726,\n                    \"[C-0635] Bizsphere Sdn. Bhd. (860222-P)\",\n                    null\n                ],\n                \"date\": \"2023-12-12\",\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0058\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 10000,\n                \"memo\": null\n            },\n            {\n                \"id\": 7214,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1108,\n                    \"[C-1000] OpenAI, LLC - ChatGPT\",\n                    null\n                ],\n                \"date\": \"2023-12-12\",\n                \"account_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0027\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 94.65,\n                \"memo\": null\n            },\n            {\n                \"id\": 7204,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    280,\n                    \"[C-0207] Plenty Golden Tyres Service (KL) Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2023-12-09\",\n                \"account_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0019\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 470,\n                \"memo\": null\n            },\n            {\n                \"id\": 7199,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    949,\n                    \"[C-0848] Techcapital Resources Sdn Bhd (679831-D)\",\n                    null\n                ],\n                \"date\": \"2023-12-08\",\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"RV2312-0008\",\n                \"type\": \"in\",\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 50000,\n                \"memo\": null\n            },\n            {\n                \"id\": 7198,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    824,\n                    \"[C-0729] Urban Wowzer Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2023-12-07\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"RV2312-0007\",\n                \"type\": \"in\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 1300,\n                \"memo\": \"13A03 Rental 12\"\n            },\n            {\n                \"id\": 7185,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    66,\n                    \"[C-0008] Salary\",\n                    null\n                ],\n                \"date\": \"2023-12-07\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PVS2311-0004\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 21615.73,\n                \"memo\": \"Salary 11/2023\"\n            },\n            {\n                \"id\": 7184,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    67,\n                    \"[C-0009] KWSP-EPF\",\n                    null\n                ],\n                \"date\": \"2023-12-07\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PVS2311-0003\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 4836,\n                \"memo\": \"Salary - KWSP-EPF Employer\"\n            },\n            {\n                \"id\": 7183,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    68,\n                    \"[C-0010] PERKESO-SOCSO\",\n                    null\n                ],\n                \"date\": \"2023-12-07\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PVS2311-0002\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 450.1,\n                \"memo\": \"Salary - PERKESO-SOCSO Employer\"\n            },\n            {\n                \"id\": 7182,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    69,\n                    \"[C-0011] PERKESO-SIP\",\n                    null\n                ],\n                \"date\": \"2023-12-07\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PVS2311-0001\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 80,\n                \"memo\": \"Salary - PERKESO-SIP Employer\"\n            },\n            {\n                \"id\": 7207,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    941,\n                    \"[C-0840] NSK GROCER SDN BHD\",\n                    null\n                ],\n                \"date\": \"2023-12-07\",\n                \"account_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0021\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 102.15,\n                \"memo\": null\n            },\n            {\n                \"id\": 7200,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    94,\n                    \"[C-0035] Vistage Malaysia Sdn Bhd\",\n                    null\n                ],\n                \"date\": \"2023-12-07\",\n                \"account_id\": [\n                    401,\n                    \"[120129] Petty Cash (Credit Cash)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0015\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"ref\": \"UOB Card\",\n                \"amount_total\": 4038.6,\n                \"memo\": null\n            },\n            {\n                \"id\": 7210,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    294,\n                    \"[C-0220] Shopee\",\n                    null\n                ],\n                \"date\": \"2023-12-06\",\n                \"account_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0023\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 103.36,\n                \"memo\": null\n            },\n            {\n                \"id\": 7190,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    66,\n                    \"[C-0008] Salary\",\n                    null\n                ],\n                \"date\": \"2023-12-05\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"RV2312-0011\",\n                \"type\": \"in\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 413.64,\n                \"memo\": \"Intern\"\n            },\n            {\n                \"id\": 7189,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    66,\n                    \"[C-0008] Salary\",\n                    null\n                ],\n                \"date\": \"2023-12-05\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"RV2312-0010\",\n                \"type\": \"in\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 590.91,\n                \"memo\": \"Intern \"\n            },\n            {\n                \"id\": 7201,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    734,\n                    \"[C-0642] Apple Store\",\n                    null\n                ],\n                \"date\": \"2023-12-05\",\n                \"account_id\": [\n                    401,\n                    \"[120129] Petty Cash (Credit Cash)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0016\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 472.8,\n                \"memo\": null\n            },\n            {\n                \"id\": 7187,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    66,\n                    \"[C-0008] Salary\",\n                    null\n                ],\n                \"date\": \"2023-12-05\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0010\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 1004.55,\n                \"memo\": \"Intern\"\n            },\n            {\n                \"id\": 7186,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1036,\n                    \"[C-0932] Kuan Seng How\",\n                    null\n                ],\n                \"date\": \"2023-12-05\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0009\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 1711,\n                \"memo\": null\n            },\n            {\n                \"id\": 7181,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    756,\n                    \"[C-0663] RHB Bank\",\n                    null\n                ],\n                \"date\": \"2023-12-05\",\n                \"account_id\": [\n                    400,\n                    \"[120155] RHB Current\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0008\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 5832.22,\n                \"memo\": \"Loan Repayment (15/60)\"\n            },\n            {\n                \"id\": 7209,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    539,\n                    \"[C-0454] CJ Legend Technology Company Limited\",\n                    null\n                ],\n                \"date\": \"2023-12-04\",\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"RV2312-0009\",\n                \"type\": \"in\",\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 37.59,\n                \"memo\": null\n            },\n            {\n                \"id\": 7194,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1121,\n                    \"[C-1013] M.T.F Solutions\",\n                    null\n                ],\n                \"date\": \"2023-12-04\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0014\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 252.06,\n                \"memo\": null\n            },\n            {\n                \"id\": 7193,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1092,\n                    \"[C-0986] KEQ Marketing Services\",\n                    null\n                ],\n                \"date\": \"2023-12-04\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0013\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 1100.54,\n                \"memo\": null\n            },\n            {\n                \"id\": 7192,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1053,\n                    \"[C-0948] F3 Technologies\",\n                    null\n                ],\n                \"date\": \"2023-12-04\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0012\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 600,\n                \"memo\": null\n            },\n            {\n                \"id\": 7191,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1074,\n                    \"[C-0968] Technical Asad\",\n                    null\n                ],\n                \"date\": \"2023-12-04\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0011\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 3900,\n                \"memo\": null\n            },\n            {\n                \"id\": 7180,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1102,\n                    \"[C-0994] HOWERN WASSER SDN BHD (1077689-X)\",\n                    null\n                ],\n                \"date\": \"2023-12-03\",\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"RV2312-0002\",\n                \"type\": \"in\",\n                \"user_id\": [\n                    1,\n                    \"Alwin\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 5300,\n                \"memo\": null\n            },\n            {\n                \"id\": 7179,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    79,\n                    \"[C-0020] Maybank\",\n                    null\n                ],\n                \"date\": \"2023-12-03\",\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0007\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 1584,\n                \"memo\": \"Loan 26/60\"\n            },\n            {\n                \"id\": 7178,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    913,\n                    \"[C-0813] Lifestyle Ventures Sdn Bhd\\t\",\n                    null\n                ],\n                \"date\": \"2023-12-01\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"RV2312-0001\",\n                \"type\": \"in\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 53000,\n                \"memo\": null\n            },\n            {\n                \"id\": 7211,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    1122,\n                    \"[C-1014] MINIT COBBLER\",\n                    null\n                ],\n                \"date\": \"2023-12-01\",\n                \"account_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0024\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 12,\n                \"memo\": null\n            },\n            {\n                \"id\": 7176,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    539,\n                    \"[C-0454] CJ Legend Technology Company Limited\",\n                    null\n                ],\n                \"date\": \"2023-12-01\",\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"pay_type\": \"invoice\",\n                \"number\": \"PV2312-0006\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    91,\n                    \"Aufa Humaira\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 7678.32,\n                \"memo\": null\n            },\n            {\n                \"id\": 7162,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    367,\n                    \"[C-0290] Indah Water Konsortium Sdn Bhd (211763-P)\",\n                    null\n                ],\n                \"date\": \"2023-12-01\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0005\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 26,\n                \"memo\": \"SmartB\"\n            },\n            {\n                \"id\": 7161,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    486,\n                    \"[C-0402] Bank Simpanan National (BSN)\",\n                    null\n                ],\n                \"date\": \"2023-12-01\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0004\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 417,\n                \"memo\": \"Repayment 29/60 \"\n            },\n            {\n                \"id\": 7159,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    332,\n                    \"[C-0257] CREDIT GUARANTEE CORPORATION MALAYSIA BERHAD (12441-M) CGC\",\n                    null\n                ],\n                \"date\": \"2023-12-01\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0003\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 1236,\n                \"memo\": \"Month 29/60\"\n            },\n            {\n                \"id\": 7158,\n                \"state\": \"posted\",\n                \"contact_id\": [\n                    629,\n                    \"[C-0542] CHUNG KAI LENG\",\n                    null\n                ],\n                \"date\": \"2023-12-01\",\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"pay_type\": \"direct\",\n                \"number\": \"PV2312-0002\",\n                \"type\": \"out\",\n                \"user_id\": [\n                    113,\n                    \"Talha Fayyaz\",\n                    null\n                ],\n                \"ref\": null,\n                \"amount_total\": 1300,\n                \"memo\": \"13A03 Rental 12 2023\"\n            }\n        ],\n        5910\n    ],\n    \"error\": null,\n    \"id\": 1704432515784,\n    \"dt\": 125\n}"}],"_postman_id":"44f0a776-ad18-484a-bb01-22b6634a1b85"},{"name":"params/account.payment/read_goup","id":"bdbe99e5-7e10-4ed5-8ba9-1f497f75446e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704432515790,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"account.payment\",\r\n        \"read_group\",\r\n        [],\r\n        {\r\n            \"group_fields\": [\r\n                \"type\"\r\n            ],\r\n            \"condition\": [\r\n                [],\r\n                []\r\n            ]\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-05 10:10:47\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-05012024\">Request added on: 05/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"account.payment\",<strong>**\"read_group\",<strong><strong>[],</strong></strong>{**</strong>\"group_fields\": [<strong>**\"type\"<strong><strong>],</strong></strong>\"condition\": [**</strong>[],<strong><strong>[]</strong></strong>]****},**</p>\n<ol>\n<li><strong>\"account.payment\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"account.payment\" entity, which is likely related to payment transactions.</li>\n<li><strong>\"read_group\":</strong> The second parameter specifies the action to be performed on the entity. \"read_group\" is an action used to retrieve grouped data based on specified criteria.</li>\n<li>The third parameter is an empty list <code>[]</code>. In the context of \"read_group,\" this represents the fields based on which the data will be grouped. In this request, there are no specific fields mentioned for grouping.</li>\n<li><strong>Context:</strong> The fourth parameter is a dictionary with two key-value pairs:<ol>\n<li><strong>\"group_fields\":</strong> Specifies the fields based on which the data will be grouped. In this case, it includes the field \"type,\" indicating that the data will be grouped based on the payment type.</li>\n<li><strong>\"condition\":</strong> This includes two empty lists <code>[], []</code>, indicating that there are no specific conditions applied to the records being grouped.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a read group operation within the \"account.payment\" entity. It retrieves grouped data based on the \"type\" field, which likely represents different payment types. No specific conditions are applied to the grouping, and the result will provide insights into the distribution of payments based on their types.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"a2461404-42cd-48df-8551-ee88cd617fce","name":"params/account.payment/read_goup","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704432515790,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"account.payment\",\r\n        \"read_group\",\r\n        [],\r\n        {\r\n            \"group_fields\": [\r\n                \"type\"\r\n            ],\r\n            \"condition\": [\r\n                [],\r\n                []\r\n            ]\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1694576862.2.1.1694577136.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-05 10:10:47\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 05 Jan 2024 06:55:46 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=sco9WUeIsFIQ9GoHyfPoh5kwOMraBdUQ%2BUno62wSRORNDc9U7znbGudufHEa%2FHQ2fntLFWXs6%2B6koachvKf2ncecadfY4uqibsp8WAduhfd0gd%2F%2Bw%2FWGxDyCV4i3w4QWMPIec6gfcU4z67CjaA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8409d1482ca80d89-MRS"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"type\": \"in\",\n            \"_count\": 1360\n        },\n        {\n            \"type\": \"out\",\n            \"_count\": 4551\n        }\n    ],\n    \"error\": null,\n    \"id\": 1704432515790,\n    \"dt\": 14\n}"}],"_postman_id":"bdbe99e5-7e10-4ed5-8ba9-1f497f75446e"}],"id":"b9156984-9996-4bdd-9c2b-965926a96a9a","_postman_id":"b9156984-9996-4bdd-9c2b-965926a96a9a","description":""},{"name":"Transfers","item":[{"name":"params/inline.help/search_read","id":"45ed0531-736b-4494-b0d9-b2a05e04ad5a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704692727399,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"bank_transfer\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_gid\": \"GA1.2.1389040916.1704689715\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1704692157.5.1.1704692165.52.0.0\",\r\n            \"last_activ_time\": \"2024-01-08 10:44:44\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-08012024\">Request added on: 08/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"inline.help\",</strong>\"search_read\",<strong>[</strong>[<strong>[</strong>\"action\",<strong>\"=\",</strong>\"bank_transfer\"<strong>]</strong>]<strong>],****{},</strong></p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to providing inline help or assistance within the system.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li>The third parameter is a list containing a single list: <strong>[ [ [ \"action\", \"=\", \"bank_transfer\" ] ] ]</strong>. Breaking it down:<ol>\n<li><strong>Outermost list</strong>: Indicates one condition for the search.</li>\n<li><strong>Middle list:</strong> Contains the actual condition.</li>\n<li><strong>Innermost list:</strong> Specifies that the field \"action\" should be equal to \"bank_transfer.\" This conditions the search to records where the \"action\" attribute has the value \"bank_transfer.\"</li>\n<li>Components of the search criteria:<ol>\n<li><strong>\"action\"</strong>: Represents a field or attribute in the system. In this case, it is likely a field named \"action.\"</li>\n<li><strong>\"=\"</strong>: Represents the comparison operator. It checks for equality.</li>\n<li><strong>\"bank_transfer\"</strong>: Represents the value that the \"action\" field should be equal to. It specifies a condition that the \"action\" field must have the value \"bank_transfer\" for a record to be considered a match.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Context:</strong> The fourth parameter is an empty dictionary <strong>{}</strong>: In the context of this request, it indicates that no additional options or context information is provided.</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity. It aims to retrieve records that match the criteria of having the \"action\" equal to \"bank_transfer.\" No specific fields are requested for retrieval, and no additional context is provided in this request. The purpose is likely to gather information or assistance related to the \"bank_transfer\" action within the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"f2b0d42a-2b17-4d3f-9919-cba98de4f306","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704692727399,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"bank_transfer\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_gid\": \"GA1.2.1389040916.1704689715\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1704692157.5.1.1704692165.52.0.0\",\r\n            \"last_activ_time\": \"2024-01-08 10:44:44\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 08 Jan 2024 05:51:17 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=IVA0n2QuuiVxG5%2Bb%2B3KHj00nS5ZN2m2ncwH02%2FgBS9aZWaN7cnVUdC2SW7aPNuGHNsFpV2W6J%2BTzx05rU3U83LqdZuyOeafqVnhGZLeg9t8EqRdA1M3nPih7d1u%2BlJyg2QBTGwr7BkGiBk6NAw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"84222af64c126f79-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1704692727399,\n    \"dt\": 22\n}"}],"_postman_id":"45ed0531-736b-4494-b0d9-b2a05e04ad5a"},{"name":"params/account.transfer/search_read","id":"2ce6c296-3788-467f-acfd-30637fee514e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704692727406,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"account.transfer\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"date\",\r\n                \"account_from_id\",\r\n                \"account_to_id\",\r\n                \"amount\",\r\n                \"ref\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_gid\": \"GA1.2.1389040916.1704689715\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1704692157.5.1.1704692165.52.0.0\",\r\n            \"last_activ_time\": \"2024-01-08 10:44:44\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-08012024\">Request added on: 08/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"account.transfer\",</strong>\"search_read\",<strong>[</strong>[<strong>[]</strong>],<strong>[</strong>\"number\",<strong>\"date\",</strong>\"account_from_id\",<strong>\"account_to_id\",</strong>\"amount\",<strong>\"ref\",</strong>\"state\"<strong>]</strong>],<strong>{</strong>\"count\": true,<strong>\"order\": null,</strong>\"offset\": 0,<strong>\"limit\": 100,</strong>\"context\": {}<strong>},</strong></p>\n<ol>\n<li><strong>\"account.transfer\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to transferring funds between accounts.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li>The third parameter is a list containing two lists:<ol>\n<li><strong>List 1</strong>: <strong>[ [] ]</strong> - Indicates an empty condition for the search. In this case, it suggests that there are no specific conditions specified for filtering the records.</li>\n<li><strong>List 2</strong>: <strong>[ \"number\", \"date\", \"account_from_id\", \"account_to_id\", \"amount\", \"ref\", \"state\" ]</strong> - Specifies the fields to be retrieved. It indicates that the search result should include values for these fields.<ol>\n<li><strong>\"number\"</strong>: This field likely represents a unique identifier or reference number associated with the account transfer. It could be used to uniquely identify and reference a specific transfer.</li>\n<li><strong>\"date\"</strong>: This field represents the date on which the account transfer occurred. It provides information about the timing of the transfer.</li>\n<li><strong>\"account_from_id\"</strong>: This field indicates the source account from which funds are being transferred. It likely references the identifier or details of the account from which the transfer originates.</li>\n<li><strong>\"account_to_id\"</strong>: This field indicates the destination account to which funds are being transferred. It likely references the identifier or details of the account to which the transfer is directed.</li>\n<li><strong>\"amount\"</strong>: This field represents the monetary value or amount involved in the account transfer. It provides information about the quantity of funds being transferred.</li>\n<li><strong>\"ref\"</strong>: This field might stand for reference and could represent additional information or a reference associated with the account transfer. It could include details such as a transaction reference or description.</li>\n<li><strong>\"state\"</strong>: This field likely represents the current state or status of the account transfer. It could indicate whether the transfer is pending, completed, or has encountered any issues.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li>**Context:**The fourth parameter is a dictionary with additional options:<ol>\n<li><strong>\"count\": true</strong> - Indicates that the request should include information about the total count of records that match the search criteria.</li>\n<li><strong>\"order\": null</strong> - Implies that no specific order is defined for the retrieved records.</li>\n<li><strong>\"offset\": 0</strong> - Specifies the starting point for retrieving records, starting from the first record.</li>\n<li><strong>\"limit\": 100</strong> - Limits the number of records to be retrieved to 100.</li>\n<li><strong>\"context\": {}</strong> - An empty dictionary indicating no additional context information is provided.</li>\n</ol>\n</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing a search and read operation within the \"account.transfer\" entity. It aims to retrieve records without applying specific conditions (empty condition in List 1). The request specifies the fields to be included in the search results. Additional options include requesting the count of matching records, setting no specific order, starting from the first record, limiting the result to 100 records, and providing no additional context. The purpose is likely to retrieve information about account transfers in the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"27de3a77-5548-45d7-afdd-edd44001254c","name":"params/account.transfer/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704692727406,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"account.transfer\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"date\",\r\n                \"account_from_id\",\r\n                \"account_to_id\",\r\n                \"amount\",\r\n                \"ref\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_gid\": \"GA1.2.1389040916.1704689715\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1704692157.5.1.1704692165.52.0.0\",\r\n            \"last_activ_time\": \"2024-01-08 10:44:44\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 08 Jan 2024 06:50:54 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=yNkiyxDP2chs6SNyuXTumQiMxeUQOmzyTcOoj%2FyGrVwM5oegXr0vzqRtxu27XpaZ5oTJddIY8KFOKr0BMzPtgXftaytrMmoQKImkJdiCKPHbmDqBSMljieJA5Wrfqx%2BYKF6qB0LfjyjUcnJBuA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"84228248dafc6edf-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 707,\n                \"account_to_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"number\": \"TR-0688\",\n                \"date\": \"2024-01-04\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 10000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 706,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0687\",\n                \"date\": \"2023-12-31\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 50000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 705,\n                \"account_to_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"number\": \"TR-0686\",\n                \"date\": \"2023-12-31\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 116500,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 704,\n                \"account_to_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"number\": \"TR-0685\",\n                \"date\": \"2023-12-26\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 3500,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 703,\n                \"account_to_id\": [\n                    401,\n                    \"[120129] Petty Cash (Credit Cash)\",\n                    null\n                ],\n                \"number\": \"TR-0684\",\n                \"date\": \"2023-12-24\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 1123.87,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 702,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0683\",\n                \"date\": \"2023-12-24\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 50000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 701,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0682\",\n                \"date\": \"2023-12-23\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 30000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 700,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0681\",\n                \"date\": \"2023-12-22\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 50000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 699,\n                \"account_to_id\": [\n                    318,\n                    \"[120132] Petty Cash (Ruby)\",\n                    null\n                ],\n                \"number\": \"TR-0680\",\n                \"date\": \"2023-12-15\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 1096.82,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 698,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0679\",\n                \"date\": \"2023-12-12\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 40000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 697,\n                \"account_to_id\": [\n                    400,\n                    \"[120155] RHB Current\",\n                    null\n                ],\n                \"number\": \"TR-0678\",\n                \"date\": \"2023-12-12\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 6000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 696,\n                \"account_to_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"number\": \"TR-0677\",\n                \"date\": \"2023-12-12\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 10000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 695,\n                \"account_to_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"number\": \"TR-0676\",\n                \"date\": \"2023-12-12\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 10000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 694,\n                \"account_to_id\": [\n                    401,\n                    \"[120129] Petty Cash (Credit Cash)\",\n                    null\n                ],\n                \"number\": \"TR-0675\",\n                \"date\": \"2023-12-11\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 9198.78,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 692,\n                \"account_to_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"number\": \"TR-0673\",\n                \"date\": \"2023-12-05\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 7948.79,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 691,\n                \"account_to_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"number\": \"TR-0672\",\n                \"date\": \"2023-12-04\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 15000,\n                \"account_from_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ]\n            },\n            {\n                \"id\": 690,\n                \"account_to_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"number\": \"TR-0671\",\n                \"date\": \"2023-12-04\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 5000,\n                \"account_from_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ]\n            },\n            {\n                \"id\": 689,\n                \"account_to_id\": [\n                    400,\n                    \"[120155] RHB Current\",\n                    null\n                ],\n                \"number\": \"TR-0670\",\n                \"date\": \"2023-12-04\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 6000,\n                \"account_from_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ]\n            },\n            {\n                \"id\": 688,\n                \"account_to_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"number\": \"TR-0669\",\n                \"date\": \"2023-12-01\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 10000,\n                \"account_from_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ]\n            },\n            {\n                \"id\": 687,\n                \"account_to_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"number\": \"TR-0668\",\n                \"date\": \"2023-11-29\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 7953.79,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 685,\n                \"account_to_id\": [\n                    346,\n                    \"[120124] BSN Savings\",\n                    null\n                ],\n                \"number\": \"TR-0666\",\n                \"date\": \"2023-11-27\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 10,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 683,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0664\",\n                \"date\": \"2023-11-24\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 26677.14,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 681,\n                \"account_to_id\": [\n                    318,\n                    \"[120132] Petty Cash (Ruby)\",\n                    null\n                ],\n                \"number\": \"TR-0662\",\n                \"date\": \"2023-11-22\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 864.52,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 684,\n                \"account_to_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"number\": \"TR-0665\",\n                \"date\": \"2023-11-21\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 10000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 680,\n                \"account_to_id\": [\n                    400,\n                    \"[120155] RHB Current\",\n                    null\n                ],\n                \"number\": \"TR-0661\",\n                \"date\": \"2023-11-21\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 6000,\n                \"account_from_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ]\n            },\n            {\n                \"id\": 679,\n                \"account_to_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"number\": \"TR-0660\",\n                \"date\": \"2023-11-21\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 18000,\n                \"account_from_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ]\n            },\n            {\n                \"id\": 678,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0659\",\n                \"date\": \"2023-11-20\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 35000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 677,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0658\",\n                \"date\": \"2023-11-20\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 4000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 666,\n                \"account_to_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"number\": \"TR-0649\",\n                \"date\": \"2023-11-16\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 20000,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 665,\n                \"account_to_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"number\": \"TR-0648\",\n                \"date\": \"2023-11-16\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 13000,\n                \"account_from_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 663,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0646\",\n                \"date\": \"2023-11-16\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 2500,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 686,\n                \"account_to_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"number\": \"TR-0667\",\n                \"date\": \"2023-11-09\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 393.35,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 675,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0656\",\n                \"date\": \"2023-11-07\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 16600,\n                \"account_from_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ]\n            },\n            {\n                \"id\": 676,\n                \"account_to_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"number\": \"TR-0657\",\n                \"date\": \"2023-11-03\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 9000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 674,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0655\",\n                \"date\": \"2023-11-03\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 20000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 664,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0647\",\n                \"date\": \"2023-10-31\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 500,\n                \"account_from_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ]\n            },\n            {\n                \"id\": 673,\n                \"account_to_id\": [\n                    400,\n                    \"[120155] RHB Current\",\n                    null\n                ],\n                \"number\": \"TR-0654\",\n                \"date\": \"2023-10-30\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 3000,\n                \"account_from_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ]\n            },\n            {\n                \"id\": 662,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0645\",\n                \"date\": \"2023-10-30\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 3000,\n                \"account_from_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ]\n            },\n            {\n                \"id\": 661,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0644\",\n                \"date\": \"2023-10-30\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 6000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 660,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0643\",\n                \"date\": \"2023-10-30\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 17000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 658,\n                \"account_to_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"number\": \"TR-0641\",\n                \"date\": \"2023-10-24\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 4289.82,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 657,\n                \"account_to_id\": [\n                    318,\n                    \"[120132] Petty Cash (Ruby)\",\n                    null\n                ],\n                \"number\": \"TR-0640\",\n                \"date\": \"2023-10-24\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 729.1,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 656,\n                \"account_to_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"number\": \"TR-0639\",\n                \"date\": \"2023-10-13\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 15546.54,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 655,\n                \"account_to_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"number\": \"TR-0638\",\n                \"date\": \"2023-10-13\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 10000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 652,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0635\",\n                \"date\": \"2023-10-04\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 20000,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 654,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0637\",\n                \"date\": \"2023-10-03\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 10000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 653,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0636\",\n                \"date\": \"2023-10-03\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 10000,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 651,\n                \"account_to_id\": [\n                    400,\n                    \"[120155] RHB Current\",\n                    null\n                ],\n                \"number\": \"TR-0634\",\n                \"date\": \"2023-09-25\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 5850,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 650,\n                \"account_to_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"number\": \"TR-0633\",\n                \"date\": \"2023-09-25\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 5000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 649,\n                \"account_to_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"number\": \"TR-0632\",\n                \"date\": \"2023-09-21\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 3160,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 648,\n                \"account_to_id\": [\n                    318,\n                    \"[120132] Petty Cash (Ruby)\",\n                    null\n                ],\n                \"number\": \"TR-0631\",\n                \"date\": \"2023-09-15\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 142.05,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 647,\n                \"account_to_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"number\": \"TR-0630\",\n                \"date\": \"2023-09-13\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 10000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 646,\n                \"account_to_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"number\": \"TR-0629\",\n                \"date\": \"2023-09-13\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 1000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 645,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0628\",\n                \"date\": \"2023-09-13\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 6000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 643,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0626\",\n                \"date\": \"2023-09-06\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 7000,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 644,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0627\",\n                \"date\": \"2023-09-04\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 10000,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 642,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0625\",\n                \"date\": \"2023-09-04\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 20000,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 659,\n                \"account_to_id\": [\n                    400,\n                    \"[120155] RHB Current\",\n                    null\n                ],\n                \"number\": \"TR-0642\",\n                \"date\": \"2023-08-30\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 3000,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 641,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0624\",\n                \"date\": \"2023-08-25\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 10000,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 640,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0623\",\n                \"date\": \"2023-08-24\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 4000,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 639,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0622\",\n                \"date\": \"2023-08-24\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 1190,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 638,\n                \"account_to_id\": [\n                    400,\n                    \"[120155] RHB Current\",\n                    null\n                ],\n                \"number\": \"TR-0621\",\n                \"date\": \"2023-08-24\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 2300,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 637,\n                \"account_to_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"number\": \"TR-0620\",\n                \"date\": \"2023-08-18\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 1395,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 636,\n                \"account_to_id\": [\n                    318,\n                    \"[120132] Petty Cash (Ruby)\",\n                    null\n                ],\n                \"number\": \"TR-0619\",\n                \"date\": \"2023-08-15\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 612.8,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 635,\n                \"account_to_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"number\": \"TR-0618\",\n                \"date\": \"2023-08-15\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 4000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 634,\n                \"account_to_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"number\": \"TR-0617\",\n                \"date\": \"2023-08-14\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 3000,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 633,\n                \"account_to_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"number\": \"TR-0616\",\n                \"date\": \"2023-08-14\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 1000,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 632,\n                \"account_to_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"number\": \"TR-0615\",\n                \"date\": \"2023-08-08\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 4000,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 631,\n                \"account_to_id\": [\n                    400,\n                    \"[120155] RHB Current\",\n                    null\n                ],\n                \"number\": \"TR-0614\",\n                \"date\": \"2023-08-02\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 3000,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 630,\n                \"account_to_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"number\": \"TR-0613\",\n                \"date\": \"2023-08-02\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 14000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 629,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0612\",\n                \"date\": \"2023-08-02\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 30000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 628,\n                \"account_to_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"number\": \"TR-0611\",\n                \"date\": \"2023-07-26\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 15000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 625,\n                \"account_to_id\": [\n                    346,\n                    \"[120124] BSN Savings\",\n                    null\n                ],\n                \"number\": \"TR-0608\",\n                \"date\": \"2023-07-26\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 10,\n                \"account_from_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ]\n            },\n            {\n                \"id\": 624,\n                \"account_to_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"number\": \"TR-0607\",\n                \"date\": \"2023-07-26\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 5000,\n                \"account_from_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ]\n            },\n            {\n                \"id\": 623,\n                \"account_to_id\": [\n                    400,\n                    \"[120155] RHB Current\",\n                    null\n                ],\n                \"number\": \"TR-0606\",\n                \"date\": \"2023-07-26\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 6000,\n                \"account_from_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ]\n            },\n            {\n                \"id\": 627,\n                \"account_to_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"number\": \"TR-0610\",\n                \"date\": \"2023-07-13\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 36319.53,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 626,\n                \"account_to_id\": [\n                    318,\n                    \"[120132] Petty Cash (Ruby)\",\n                    null\n                ],\n                \"number\": \"TR-0609\",\n                \"date\": \"2023-07-13\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 130.05,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 621,\n                \"account_to_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"number\": \"TR-0604\",\n                \"date\": \"2023-07-13\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 20000,\n                \"account_from_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ]\n            },\n            {\n                \"id\": 620,\n                \"account_to_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"number\": \"TR-0603\",\n                \"date\": \"2023-07-13\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 3000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 622,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0605\",\n                \"date\": \"2023-07-11\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 1000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 619,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0602\",\n                \"date\": \"2023-07-05\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 500,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 618,\n                \"account_to_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"number\": \"TR-0601\",\n                \"date\": \"2023-07-01\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 400,\n                \"account_from_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ]\n            },\n            {\n                \"id\": 617,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0600\",\n                \"date\": \"2023-06-30\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 30000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 616,\n                \"account_to_id\": [\n                    400,\n                    \"[120155] RHB Current\",\n                    null\n                ],\n                \"number\": \"TR-0599\",\n                \"date\": \"2023-06-30\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 5500,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 615,\n                \"account_to_id\": [\n                    318,\n                    \"[120132] Petty Cash (Ruby)\",\n                    null\n                ],\n                \"number\": \"TR-0598\",\n                \"date\": \"2023-06-21\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 795.6,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 614,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0597\",\n                \"date\": \"2023-06-02\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 10000,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 611,\n                \"account_to_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"number\": \"TR-0594\",\n                \"date\": \"2023-06-02\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 18000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 610,\n                \"account_to_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"number\": \"TR-0593\",\n                \"date\": \"2023-06-02\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 6000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 609,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0592\",\n                \"date\": \"2023-06-02\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 6000,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 613,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0596\",\n                \"date\": \"2023-06-01\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 8204,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 608,\n                \"account_to_id\": [\n                    400,\n                    \"[120155] RHB Current\",\n                    null\n                ],\n                \"number\": \"TR-0591\",\n                \"date\": \"2023-05-31\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 6000,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 607,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0590\",\n                \"date\": \"2023-05-30\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 15000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 612,\n                \"account_to_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ],\n                \"number\": \"TR-0595\",\n                \"date\": \"2023-05-18\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 1000,\n                \"account_from_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 605,\n                \"account_to_id\": [\n                    318,\n                    \"[120132] Petty Cash (Ruby)\",\n                    null\n                ],\n                \"number\": \"TR-0588\",\n                \"date\": \"2023-05-18\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 1718.05,\n                \"account_from_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ]\n            },\n            {\n                \"id\": 594,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0577\",\n                \"date\": \"2023-05-04\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 5400,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 598,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0581\",\n                \"date\": \"2023-05-03\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 7000,\n                \"account_from_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ]\n            },\n            {\n                \"id\": 593,\n                \"account_to_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"number\": \"TR-0576\",\n                \"date\": \"2023-05-03\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 25000,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 591,\n                \"account_to_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"number\": \"TR-0574\",\n                \"date\": \"2023-05-01\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 3000,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 590,\n                \"account_to_id\": [\n                    400,\n                    \"[120155] RHB Current\",\n                    null\n                ],\n                \"number\": \"TR-0573\",\n                \"date\": \"2023-05-01\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 6000,\n                \"account_from_id\": [\n                    66,\n                    \"[120122] Petty Cash\",\n                    null\n                ]\n            },\n            {\n                \"id\": 604,\n                \"account_to_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"number\": \"TR-0587\",\n                \"date\": \"2023-04-20\",\n                \"ref\": null,\n                \"state\": \"posted\",\n                \"amount\": 10,\n                \"account_from_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ]\n            }\n        ],\n        632\n    ],\n    \"error\": null,\n    \"id\": 1704692727406,\n    \"dt\": 47\n}"}],"_postman_id":"2ce6c296-3788-467f-acfd-30637fee514e"}],"id":"024aa220-5d77-4e32-96c1-ec91614d20ce","_postman_id":"024aa220-5d77-4e32-96c1-ec91614d20ce","description":""},{"name":"Statements","item":[{"name":"params/inline.help/search_read","id":"8bb666bf-8ea4-4346-8923-aa41d8a9c8fc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704701724683,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"statement\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_gid\": \"GA1.2.1389040916.1704689715\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1704692157.5.1.1704692165.52.0.0\",\r\n            \"last_activ_time\": \"2024-01-08 13:14:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-08012024\">Request added on: 08/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"statement\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to providing inline help or assistance within the system.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li>The third parameter is a list containing a single list: <strong>[ [ [ \"action\", \"=\", \"statement\" ] ] ]</strong>. Breaking it down:<ol>\n<li><strong>Outermost list:</strong> Indicates one condition for the search.</li>\n<li><strong>Middle list:</strong> Contains the actual condition.</li>\n<li><strong>Innermost list:</strong> Specifies that the field \"action\" should be equal to \"statement.\" This conditions the search to records where the \"action\" attribute has the value \"statement.\"</li>\n<li>Components of the search criteria:<ol>\n<li><strong>\"action\"</strong>: Represents a field or attribute in the system. In this case, it is likely a field named \"action.\"</li>\n<li><strong>\"=\"</strong>: Represents the comparison operator. It checks for equality.</li>\n<li><strong>\"statement\"</strong>: Represents the value that the \"action\" field should be equal to. It specifies a condition that the \"action\" field must have the value \"statement\" for a record to be considered a match.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Context:</strong> The fourth parameter is an empty dictionary <strong>{}</strong>: In the context of this request, it indicates that no additional options or context information is provided.</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity. It aims to retrieve records that match the criteria of having the \"action\" equal to \"statement.\" No specific fields are requested for retrieval, and no additional context is provided in this request. The purpose is likely to gather information or assistance related to the \"statement\" action within the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"935d76d7-8e2e-4824-973e-e7a9c215047e","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704701724683,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"statement\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_gid\": \"GA1.2.1389040916.1704689715\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1704692157.5.1.1704692165.52.0.0\",\r\n            \"last_activ_time\": \"2024-01-08 13:14:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 08 Jan 2024 08:17:28 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=ebVD6mPVQca7f20vuf2Zn3QFz2WHUH%2FdJqaS2goBMwmgEFBa43GlnMSKn4pxeKSqoHKhlu%2BCnfH3Xpv9ZjlMaVbswfvcUXumpGDqAp%2BrN%2FSJF5xue7Wdh7jxy11IQLG1QC5Z%2BFZlzYw%2B2HOs%2FA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8423011508236f06-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1704701724683,\n    \"dt\": 6\n}"}],"_postman_id":"8bb666bf-8ea4-4346-8923-aa41d8a9c8fc"},{"name":"params/account.statement/search_read","id":"ff0f85c5-2fd8-4ab9-bf5c-ee3aec7bf11b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704701724704,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"account.statement\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"account_id\",\r\n                \"state\",\r\n                \"date_start\",\r\n                \"date_end\",\r\n                \"balance_start\",\r\n                \"balance_end\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_gid\": \"GA1.2.1389040916.1704689715\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1704692157.5.1.1704692165.52.0.0\",\r\n            \"last_activ_time\": \"2024-01-08 13:14:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-08012024\">Request added on: 08/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"account.statement\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[],<strong><strong>[</strong></strong>\"account_id\",**</strong>\"state\",<strong><strong>\"date_start\",</strong></strong>\"date_end\",<strong><strong>\"balance_start\",</strong></strong>\"balance_end\"<strong><strong>]</strong></strong>],<strong><strong>{</strong></strong>\"count\": true,<strong><strong>\"order\": null,</strong></strong>\"offset\": 0,<strong><strong>\"limit\": 100,</strong></strong>\"context\": {}****},**</p>\n<ol>\n<li><strong>\"account.statement\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to managing account statements.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li>The third parameter is a list containing two lists:<ol>\n<li><strong>List 1: []</strong> - Indicates an empty condition for the search. In this case, it suggests that there are no specific conditions specified for filtering the records.</li>\n<li><strong>List 2: [\"account_id\", \"state\", \"date_start\", \"date_end\", \"balance_start\", \"balance_end\"]</strong> - Specifies the fields to be retrieved. It indicates that the search result should include values for these fields.<ol>\n<li><strong>\"account_id\"</strong>: This field likely represents the identifier or details of the account for which the statement is generated. It could be used to associate the statement with a specific account.</li>\n<li><strong>\"state\"</strong>: This field represents the current state or status of the account statement. It could indicate whether the statement is in a draft state, confirmed, or has been finalized.</li>\n<li><strong>\"date_start\"</strong>: This field represents the start date of the account statement. It provides information about when the statement period begins.</li>\n<li><strong>\"date_end\"</strong>: This field represents the end date of the account statement. It provides information about when the statement period concludes.</li>\n<li><strong>\"balance_start\"</strong>: This field likely represents the balance of the account at the start of the statement period. It indicates the financial position of the account at the beginning of the specified timeframe.</li>\n<li><strong>\"balance_end\"</strong>: This field likely represents the balance of the account at the end of the statement period. It indicates the financial position of the account at the conclusion of the specified timeframe.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Context:</strong> The fourth parameter is a dictionary with additional options:<ol>\n<li><strong>\"count\": true</strong> - Indicates that the request should include information about the total count of records that match the search criteria.</li>\n<li><strong>\"order\": null</strong> - Implies that no specific order is defined for the retrieved records.</li>\n<li><strong>\"offset\": 0</strong> - Specifies the starting point for retrieving records, starting from the first record.</li>\n<li><strong>\"limit\": 100</strong> - Limits the number of records to be retrieved to 100.</li>\n<li><strong>\"context\": {}</strong> - An empty dictionary indicating no additional context information is provided.</li>\n</ol>\n</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing a search and read operation within the \"account.statement\" entity. It aims to retrieve records without applying specific conditions (empty condition in List 1). The request specifies the fields to be included in the search results, including \"account_id,\" \"state,\" \"date_start,\" \"date_end,\" \"balance_start,\" and \"balance_end.\" Additional options include requesting the count of matching records, setting no specific order, starting from the first record, limiting the result to 100 records, and providing no additional context. The purpose is likely to retrieve information about account statements in the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"7869537d-c326-4c6a-8c53-6b078ecf0da4","name":"params/account.statement/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704701724704,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"account.statement\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"account_id\",\r\n                \"state\",\r\n                \"date_start\",\r\n                \"date_end\",\r\n                \"balance_start\",\r\n                \"balance_end\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_gid\": \"GA1.2.1389040916.1704689715\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1704692157.5.1.1704692165.52.0.0\",\r\n            \"last_activ_time\": \"2024-01-08 13:14:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 08 Jan 2024 08:32:22 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=fmOO6YFMJsK%2FBjbKcyukAmKTavGPzlSGLLqsb5l%2Fy1AQoTrc0alSCz0poJ%2Fi2AsFZNCXZa4j9laBwg1%2BpJiCjR9bnfhIuWIkgm%2FLwpi8uMwMGnX2eHf2dDigRlP2JQPkbBFUyB%2FyLt1fNC8I5Q%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"842316ec1bac701a-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 337,\n                \"balance_start\": 69759,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2024-01-01\",\n                \"date_end\": \"2024-01-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 68175\n            },\n            {\n                \"id\": 334,\n                \"balance_start\": 26149.05,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2023-12-01\",\n                \"date_end\": \"2023-12-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 69759\n            },\n            {\n                \"id\": 335,\n                \"balance_start\": 53.78,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2023-12-01\",\n                \"date_end\": \"2023-12-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 53.78\n            },\n            {\n                \"id\": 336,\n                \"balance_start\": 24299.76,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2023-12-01\",\n                \"date_end\": \"2023-12-31\",\n                \"state\": \"not_reconciled\",\n                \"balance_end\": 167301.64\n            },\n            {\n                \"id\": 338,\n                \"balance_start\": 53.78,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2023-12-01\",\n                \"date_end\": \"2023-12-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 116553.78\n            },\n            {\n                \"id\": 339,\n                \"balance_start\": 18920.64,\n                \"account_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"date_start\": \"2023-12-01\",\n                \"date_end\": \"2023-12-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 33920.64\n            },\n            {\n                \"id\": 329,\n                \"balance_start\": 5061.61,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2023-11-01\",\n                \"date_end\": \"2023-11-30\",\n                \"state\": \"not_reconciled\",\n                \"balance_end\": 24299.76\n            },\n            {\n                \"id\": 330,\n                \"balance_start\": 229.58,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2023-11-01\",\n                \"date_end\": \"2023-11-30\",\n                \"state\": \"not_reconciled\",\n                \"balance_end\": 26149.05\n            },\n            {\n                \"id\": 332,\n                \"balance_start\": 16653.78,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2023-11-01\",\n                \"date_end\": \"2023-11-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 53.78\n            },\n            {\n                \"id\": 333,\n                \"balance_start\": 13920.64,\n                \"account_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"date_start\": \"2023-11-01\",\n                \"date_end\": \"2023-11-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 18920.64\n            },\n            {\n                \"id\": 327,\n                \"balance_start\": 13340.2,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2023-10-01\",\n                \"date_end\": \"2023-10-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 229.58\n            },\n            {\n                \"id\": 328,\n                \"balance_start\": 2271.92,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2023-10-01\",\n                \"date_end\": \"2023-10-31\",\n                \"state\": \"not_reconciled\",\n                \"balance_end\": 5061.61\n            },\n            {\n                \"id\": 331,\n                \"balance_start\": 317.42,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2023-10-01\",\n                \"date_end\": \"2023-10-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 16653.78\n            },\n            {\n                \"id\": 323,\n                \"balance_start\": 1598.85,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2023-09-01\",\n                \"date_end\": \"2023-09-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 13340.2\n            },\n            {\n                \"id\": 324,\n                \"balance_start\": 4541.78,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2023-09-01\",\n                \"date_end\": \"2023-09-30\",\n                \"state\": \"not_reconciled\",\n                \"balance_end\": 2271.92\n            },\n            {\n                \"id\": 326,\n                \"balance_start\": 8920.64,\n                \"account_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"date_start\": \"2023-09-01\",\n                \"date_end\": \"2023-09-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 13920.64\n            },\n            {\n                \"id\": 320,\n                \"balance_start\": 5773.08,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2023-08-01\",\n                \"date_end\": \"2023-08-31\",\n                \"state\": \"not_reconciled\",\n                \"balance_end\": -42401.15\n            },\n            {\n                \"id\": 322,\n                \"balance_start\": 10089.15,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2023-08-01\",\n                \"date_end\": \"2023-08-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 4541.78\n            },\n            {\n                \"id\": 317,\n                \"balance_start\": 1597.96,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2023-07-01\",\n                \"date_end\": \"2023-07-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 49773.08\n            },\n            {\n                \"id\": 319,\n                \"balance_start\": 30435.66,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2023-07-01\",\n                \"date_end\": \"2023-07-31\",\n                \"state\": \"not_reconciled\",\n                \"balance_end\": 10089.15\n            },\n            {\n                \"id\": 321,\n                \"balance_start\": 3920.64,\n                \"account_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"date_start\": \"2023-07-01\",\n                \"date_end\": \"2023-07-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 8920.64\n            },\n            {\n                \"id\": 306,\n                \"balance_start\": 2501.05,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2023-06-01\",\n                \"date_end\": \"2023-06-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 1597.96\n            },\n            {\n                \"id\": 307,\n                \"balance_start\": 15742.15,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2023-06-01\",\n                \"date_end\": \"2023-06-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 30435.66\n            },\n            {\n                \"id\": 318,\n                \"balance_start\": 3921.64,\n                \"account_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"date_start\": \"2023-06-01\",\n                \"date_end\": \"2023-06-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 3920.64\n            },\n            {\n                \"id\": 325,\n                \"balance_start\": 717.42,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2023-06-01\",\n                \"date_end\": \"2023-06-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 317.42\n            },\n            {\n                \"id\": 303,\n                \"balance_start\": 16539.34,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2023-05-01\",\n                \"date_end\": \"2023-05-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 2501.05\n            },\n            {\n                \"id\": 304,\n                \"balance_start\": 1882.99,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2023-05-01\",\n                \"date_end\": \"2023-05-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 15742.15\n            },\n            {\n                \"id\": 305,\n                \"balance_start\": 1777.42,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2023-05-01\",\n                \"date_end\": \"2023-05-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 717.42\n            },\n            {\n                \"id\": 316,\n                \"balance_start\": 1922.14,\n                \"account_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"date_start\": \"2023-05-01\",\n                \"date_end\": \"2023-05-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 3921.64\n            },\n            {\n                \"id\": 300,\n                \"balance_start\": 23716.94,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2023-04-01\",\n                \"date_end\": \"2023-04-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 16539.34\n            },\n            {\n                \"id\": 301,\n                \"balance_start\": 1715.78,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2023-04-01\",\n                \"date_end\": \"2023-04-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 1777.42\n            },\n            {\n                \"id\": 302,\n                \"balance_start\": 386.17,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2023-04-01\",\n                \"date_end\": \"2023-04-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 1882.99\n            },\n            {\n                \"id\": 315,\n                \"balance_start\": 1912.14,\n                \"account_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"date_start\": \"2023-04-01\",\n                \"date_end\": \"2023-04-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 1922.14\n            },\n            {\n                \"id\": 297,\n                \"balance_start\": 40912.98,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2023-03-01\",\n                \"date_end\": \"2023-03-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 23716.94\n            },\n            {\n                \"id\": 298,\n                \"balance_start\": 890.08,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2023-03-01\",\n                \"date_end\": \"2023-03-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 1715.78\n            },\n            {\n                \"id\": 299,\n                \"balance_start\": 186.17,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2023-03-01\",\n                \"date_end\": \"2023-03-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 386.17\n            },\n            {\n                \"id\": 314,\n                \"balance_start\": 1902.14,\n                \"account_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"date_start\": \"2023-03-01\",\n                \"date_end\": \"2023-03-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 1912.14\n            },\n            {\n                \"id\": 294,\n                \"balance_start\": 11241.6,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2023-02-01\",\n                \"date_end\": \"2023-02-28\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 186.17\n            },\n            {\n                \"id\": 295,\n                \"balance_start\": 351.82,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2023-02-01\",\n                \"date_end\": \"2023-02-28\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 40912.98\n            },\n            {\n                \"id\": 296,\n                \"balance_start\": 870.08,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2023-02-01\",\n                \"date_end\": \"2023-02-28\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 890.08\n            },\n            {\n                \"id\": 313,\n                \"balance_start\": 1892.14,\n                \"account_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"date_start\": \"2023-02-01\",\n                \"date_end\": \"2023-02-28\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 1902.14\n            },\n            {\n                \"id\": 292,\n                \"balance_start\": 4149.08,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2023-01-01\",\n                \"date_end\": \"2023-01-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 351.82\n            },\n            {\n                \"id\": 293,\n                \"balance_start\": 4026.33,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2023-01-01\",\n                \"date_end\": \"2023-01-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 11241.6\n            },\n            {\n                \"id\": 312,\n                \"balance_start\": 1882.14,\n                \"account_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"date_start\": \"2023-01-01\",\n                \"date_end\": \"2023-01-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 1892.14\n            },\n            {\n                \"id\": 289,\n                \"balance_start\": 5516.2,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2022-12-01\",\n                \"date_end\": \"2022-12-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 4149.08\n            },\n            {\n                \"id\": 290,\n                \"balance_start\": 1786.84,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2022-12-01\",\n                \"date_end\": \"2022-12-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 4026.33\n            },\n            {\n                \"id\": 291,\n                \"balance_start\": 927.08,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2022-12-01\",\n                \"date_end\": \"2022-12-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 870.08\n            },\n            {\n                \"id\": 311,\n                \"balance_start\": 1872.14,\n                \"account_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"date_start\": \"2022-12-01\",\n                \"date_end\": \"2022-12-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 1882.14\n            },\n            {\n                \"id\": 286,\n                \"balance_start\": 25896.88,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2022-11-01\",\n                \"date_end\": \"2022-11-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 1786.84\n            },\n            {\n                \"id\": 287,\n                \"balance_start\": 6213,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2022-11-01\",\n                \"date_end\": \"2022-11-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 5516.18\n            },\n            {\n                \"id\": 288,\n                \"balance_start\": 2753.08,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2022-11-01\",\n                \"date_end\": \"2022-11-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 927.08\n            },\n            {\n                \"id\": 310,\n                \"balance_start\": 1862.14,\n                \"account_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"date_start\": \"2022-11-01\",\n                \"date_end\": \"2022-11-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 1872.14\n            },\n            {\n                \"id\": 284,\n                \"balance_start\": 139242.86,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2022-10-01\",\n                \"date_end\": \"2022-10-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 25896.88\n            },\n            {\n                \"id\": 285,\n                \"balance_start\": 4293.64,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2022-10-01\",\n                \"date_end\": \"2022-10-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 6213.02\n            },\n            {\n                \"id\": 281,\n                \"balance_start\": 32317.99,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2022-09-01\",\n                \"date_end\": \"2022-09-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 139242.86\n            },\n            {\n                \"id\": 282,\n                \"balance_start\": 8515.64,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2022-09-01\",\n                \"date_end\": \"2022-09-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 4293.64\n            },\n            {\n                \"id\": 283,\n                \"balance_start\": 1219.05,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2022-09-01\",\n                \"date_end\": \"2022-09-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 2753.08\n            },\n            {\n                \"id\": 278,\n                \"balance_start\": 7957.41,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2022-08-01\",\n                \"date_end\": \"2022-08-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 32317.99\n            },\n            {\n                \"id\": 279,\n                \"balance_start\": 6733.96,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2022-08-01\",\n                \"date_end\": \"2022-08-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": -2984.36\n            },\n            {\n                \"id\": 280,\n                \"balance_start\": 1151.16,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2022-08-01\",\n                \"date_end\": \"2022-08-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 1219.05\n            },\n            {\n                \"id\": 275,\n                \"balance_start\": 2758.32,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2022-07-01\",\n                \"date_end\": \"2022-07-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 18233.96\n            },\n            {\n                \"id\": 276,\n                \"balance_start\": 25219.54,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2022-07-01\",\n                \"date_end\": \"2022-07-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 7957.41\n            },\n            {\n                \"id\": 277,\n                \"balance_start\": 1016.05,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2022-07-01\",\n                \"date_end\": \"2022-07-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 1151.16\n            },\n            {\n                \"id\": 272,\n                \"balance_start\": 43849.32,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2022-06-01\",\n                \"date_end\": \"2022-06-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 2758.32\n            },\n            {\n                \"id\": 273,\n                \"balance_start\": 48836.8,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2022-06-01\",\n                \"date_end\": \"2022-06-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 25219.54\n            },\n            {\n                \"id\": 274,\n                \"balance_start\": 8304.16,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2022-06-01\",\n                \"date_end\": \"2022-06-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 1016.05\n            },\n            {\n                \"id\": 309,\n                \"balance_start\": 1617.14,\n                \"account_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"date_start\": \"2022-06-01\",\n                \"date_end\": \"2022-06-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 1862.14\n            },\n            {\n                \"id\": 269,\n                \"balance_start\": 8052.8,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2022-05-01\",\n                \"date_end\": \"2022-05-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 8304.16\n            },\n            {\n                \"id\": 270,\n                \"balance_start\": 35085.3,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2022-05-01\",\n                \"date_end\": \"2022-05-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 43849.32\n            },\n            {\n                \"id\": 271,\n                \"balance_start\": 76312.94,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2022-05-01\",\n                \"date_end\": \"2022-05-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 48836.8\n            },\n            {\n                \"id\": 265,\n                \"balance_start\": 28998.28,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2022-04-01\",\n                \"date_end\": \"2022-04-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 35085.3\n            },\n            {\n                \"id\": 267,\n                \"balance_start\": 167953.24,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2022-04-01\",\n                \"date_end\": \"2022-04-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 76312.94\n            },\n            {\n                \"id\": 268,\n                \"balance_start\": 7861.06,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2022-04-01\",\n                \"date_end\": \"2022-04-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 8052.8\n            },\n            {\n                \"id\": 261,\n                \"balance_start\": 28422.28,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2022-03-01\",\n                \"date_end\": \"2022-03-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 28998.28\n            },\n            {\n                \"id\": 262,\n                \"balance_start\": 7208.06,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2022-03-01\",\n                \"date_end\": \"2022-03-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 7861.06\n            },\n            {\n                \"id\": 266,\n                \"balance_start\": 38683.79,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2022-03-01\",\n                \"date_end\": \"2022-03-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 167953.24\n            },\n            {\n                \"id\": 308,\n                \"balance_start\": 1606.14,\n                \"account_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"date_start\": \"2022-03-01\",\n                \"date_end\": \"2022-03-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 1617.14\n            },\n            {\n                \"id\": 256,\n                \"balance_start\": 53832.92,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2022-02-01\",\n                \"date_end\": \"2022-02-28\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 38683.79\n            },\n            {\n                \"id\": 259,\n                \"balance_start\": 30006.28,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2022-02-01\",\n                \"date_end\": \"2022-02-28\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 28422.28\n            },\n            {\n                \"id\": 260,\n                \"balance_start\": 6886.59,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2022-02-01\",\n                \"date_end\": \"2022-02-28\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 7208.06\n            },\n            {\n                \"id\": 251,\n                \"balance_start\": 6304.51,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2022-01-01\",\n                \"date_end\": \"2022-01-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 6886.59\n            },\n            {\n                \"id\": 252,\n                \"balance_start\": 25247.98,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2022-01-01\",\n                \"date_end\": \"2022-01-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 30006.28\n            },\n            {\n                \"id\": 253,\n                \"balance_start\": 17753.76,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2022-01-01\",\n                \"date_end\": \"2022-01-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 53832.92\n            },\n            {\n                \"id\": 254,\n                \"balance_start\": 1596.14,\n                \"account_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"date_start\": \"2022-01-01\",\n                \"date_end\": \"2022-01-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 1606.14\n            },\n            {\n                \"id\": 246,\n                \"balance_start\": 1586.14,\n                \"account_id\": [\n                    171,\n                    \"[120151] Ambank (Res)\",\n                    null\n                ],\n                \"date_start\": \"2021-12-01\",\n                \"date_end\": \"2021-12-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 1596.14\n            },\n            {\n                \"id\": 247,\n                \"balance_start\": 2988.43,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2021-12-01\",\n                \"date_end\": \"2021-12-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 17753.76\n            },\n            {\n                \"id\": 249,\n                \"balance_start\": 11469.98,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2021-12-01\",\n                \"date_end\": \"2021-12-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 25247.98\n            },\n            {\n                \"id\": 250,\n                \"balance_start\": 4990.87,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2021-12-01\",\n                \"date_end\": \"2021-12-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 6304.51\n            },\n            {\n                \"id\": 241,\n                \"balance_start\": 19320.83,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2021-11-01\",\n                \"date_end\": \"2021-11-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 2988.43\n            },\n            {\n                \"id\": 243,\n                \"balance_start\": 40976.98,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2021-11-01\",\n                \"date_end\": \"2021-11-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 11469.98\n            },\n            {\n                \"id\": 244,\n                \"balance_start\": 3519.8,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2021-11-01\",\n                \"date_end\": \"2021-11-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 4990.87\n            },\n            {\n                \"id\": 245,\n                \"balance_start\": 35096.61,\n                \"account_id\": [\n                    331,\n                    \"[120153] UOB 031 (Res) - CLOSED\",\n                    null\n                ],\n                \"date_start\": \"2021-11-01\",\n                \"date_end\": \"2021-11-30\",\n                \"state\": \"not_reconciled\",\n                \"balance_end\": 50000\n            },\n            {\n                \"id\": 229,\n                \"balance_start\": 879.03,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2021-10-01\",\n                \"date_end\": \"2021-10-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 19320.83\n            },\n            {\n                \"id\": 230,\n                \"balance_start\": 87424.61,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2021-10-01\",\n                \"date_end\": \"2021-10-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 40976.98\n            },\n            {\n                \"id\": 231,\n                \"balance_start\": 7023.99,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2021-10-01\",\n                \"date_end\": \"2021-10-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 3519.8\n            },\n            {\n                \"id\": 236,\n                \"balance_start\": 13096.98,\n                \"account_id\": [\n                    331,\n                    \"[120153] UOB 031 (Res) - CLOSED\",\n                    null\n                ],\n                \"date_start\": \"2021-10-01\",\n                \"date_end\": \"2021-10-31\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 35096.61\n            },\n            {\n                \"id\": 239,\n                \"balance_start\": 38844.72,\n                \"account_id\": [\n                    332,\n                    \"[120154] UOB-i 021 (Vendor Res) - CLOSED\",\n                    null\n                ],\n                \"date_start\": \"2021-10-01\",\n                \"date_end\": \"2021-10-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 34844.72\n            },\n            {\n                \"id\": 225,\n                \"balance_start\": 15878.62,\n                \"account_id\": [\n                    64,\n                    \"[120121] Alliance\",\n                    null\n                ],\n                \"date_start\": \"2021-09-01\",\n                \"date_end\": \"2021-09-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 879.03\n            },\n            {\n                \"id\": 226,\n                \"balance_start\": 24479.98,\n                \"account_id\": [\n                    170,\n                    \"[120123] Maybank (Standard)\",\n                    null\n                ],\n                \"date_start\": \"2021-09-01\",\n                \"date_end\": \"2021-09-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 87424.61\n            },\n            {\n                \"id\": 227,\n                \"balance_start\": 2717.81,\n                \"account_id\": [\n                    286,\n                    \"[120131] Maybank Islamic\",\n                    null\n                ],\n                \"date_start\": \"2021-09-01\",\n                \"date_end\": \"2021-09-30\",\n                \"state\": \"reconciled\",\n                \"balance_end\": 7023.99\n            }\n        ],\n        269\n    ],\n    \"error\": null,\n    \"id\": 1704701724704,\n    \"dt\": 164\n}"}],"_postman_id":"ff0f85c5-2fd8-4ab9-bf5c-ee3aec7bf11b"}],"id":"feec83a1-c27e-4729-8442-eba498573716","_postman_id":"feec83a1-c27e-4729-8442-eba498573716","description":""},{"name":"Cheques","item":[{"name":"params/inline.help/search_read","id":"d95ea3f5-22a7-4178-be91-ea16def12e84","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704786668901,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"cheque\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1704692157.5.1.1704692165.52.0.0\",\r\n            \"last_activ_time\": \"2024-01-09 12:50:11\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-09012024\">Request added on: 09/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"cheque\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to providing inline help or assistance within the system.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li>The third parameter is a list containing a single list: <strong>[ [ [ \"action\", \"=\", \"cheque\" ] ] ]</strong>. Breaking it down:<ol>\n<li><strong>Outermost list:</strong> Indicates one condition for the search.</li>\n<li><strong>Middle list:</strong> Contains the actual condition.</li>\n<li><strong>Innermost list:</strong> Specifies that the field \"action\" should be equal to \"cheque.\" This conditions the search to records where the \"action\" attribute has the value \"cheque.\"</li>\n<li>Components of the search criteria:<ol>\n<li><strong>\"action\"</strong>: Represents a field or attribute in the system. In this case, it is likely a field named \"action.\"</li>\n<li><strong>\"=\"</strong>: Represents the comparison operator. It checks for equality.</li>\n<li><strong>\"cheque\"</strong>: Represents the value that the \"action\" field should be equal to. It specifies a condition that the \"action\" field must have the value \"cheque\" for a record to be considered a match.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Context:</strong> The fourth parameter is an empty dictionary <strong>{}</strong>: In the context of this request, it indicates that no additional options or context information is provided.</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity. It aims to retrieve records that match the criteria of having the \"action\" equal to \"cheque.\" No specific fields are requested for retrieval, and no additional context is provided in this request. The purpose is likely to gather information or assistance related to the \"cheque\" action within the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"304ec2e8-aa4e-4286-a2ea-6da59b78460f","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704786668901,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"cheque\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1704692157.5.1.1704692165.52.0.0\",\r\n            \"last_activ_time\": \"2024-01-09 12:50:11\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 09 Jan 2024 07:52:34 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=RsYie1CVykAVPUJh3jQ3e2FH05JrgxYZKgZGHMFBrqq%2BUg%2BpCGMLgE6UvLEQGgIV8VDjsrHBplGhGA9edzCgU7v8WDXIJVeHxN6qqCwjCG0UK3oRRGzv8fYt093ZM%2Flqc2L6QG0iAZGK5enFSQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"842b19fde99ca033-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1704786668901,\n    \"dt\": 11\n}"}],"_postman_id":"d95ea3f5-22a7-4178-be91-ea16def12e84"},{"name":"params/account.cheque/search_read","id":"9860cfe5-1a8b-4388-b871-3636ad652627","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704786668907,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"account.cheque\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"date\",\r\n                \"amount\",\r\n                \"number\",\r\n                \"bank_id\",\r\n                \"branch\",\r\n                \"contact_id\",\r\n                \"related_id\",\r\n                \"state\",\r\n                \"image\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1704692157.5.1.1704692165.52.0.0\",\r\n            \"last_activ_time\": \"2024-01-09 12:50:11\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-09012024\">Request added on: 09/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"account.cheque\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[]<strong><strong>],<strong><strong>[</strong></strong>\"date\",</strong></strong>\"amount\",<strong><strong>\"number\",</strong></strong>\"bank_id\",<strong><strong>\"branch\",</strong></strong>\"contact_id\",<strong><strong>\"related_id\",</strong></strong>\"state\",<strong>**\"image\"<strong><strong>]</strong></strong>],**</strong>{<strong><strong>\"count\": true,</strong></strong>\"order\": null,<strong><strong>\"offset\": 0,</strong></strong>\"limit\": 100,<strong><strong>\"context\": {}</strong></strong>},**</p>\n<ol>\n<li><strong>\"account.cheque\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to managing account cheques.</li>\n<li><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</li>\n<li>The third parameter is a list containing two lists:<ol>\n<li><strong>List 1: []</strong> - Indicates an empty condition for the search. In this case, it suggests that there are no specific conditions specified for filtering the records.</li>\n<li><strong>List 2: [\"date\", \"amount\", \"number\", \"bank_id\", \"branch\", \"contact_id\", \"related_id\", \"state\", \"image\"]</strong> - Specifies the fields to be retrieved. It indicates that the search result should include values for these fields.<ol>\n<li><strong>\"date\"</strong>: This field represents the date associated with the cheque. It provides information about when the cheque was issued or processed.</li>\n<li><strong>\"amount\"</strong>: This field represents the monetary amount associated with the cheque. It provides information about the value of the cheque.</li>\n<li><strong>\"number\"</strong>: This field likely represents a unique identifier or reference number associated with the cheque. It could be used to uniquely identify and reference a specific cheque.</li>\n<li><strong>\"bank_id\"</strong>: This field represents the identifier or details of the bank associated with the cheque. It indicates the financial institution that issued or received the cheque.</li>\n<li><strong>\"branch\"</strong>: This field represents the branch or location information related to the bank associated with the cheque. It provides additional details about the location of the bank.</li>\n<li><strong>\"contact_id\"</strong>: This field likely represents the identifier or details of the contact or party associated with the cheque. It could be the entity to whom the cheque is issued.</li>\n<li><strong>\"related_id\"</strong>: This field represents the identifier or details of another related entity or record. It provides a link or reference to another record associated with the cheque.</li>\n<li><strong>\"state\"</strong>: This field represents the current state or status of the cheque. It could indicate whether the cheque is in a pending, processed, or canceled state.</li>\n<li><strong>\"image\"</strong>: This field may represent a reference to an image associated with the cheque. It could be a link or identifier pointing to an image file of the cheque.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Context:</strong> The fourth parameter is a dictionary with additional options:<ol>\n<li><strong>\"count\": true</strong> - Indicates that the request should include information about the total count of records that match the search criteria.</li>\n<li><strong>\"order\": null</strong> - Implies that no specific order is defined for the retrieved records.</li>\n<li><strong>\"offset\": 0</strong> - Specifies the starting point for retrieving records, starting from the first record.</li>\n<li><strong>\"limit\": 100</strong> - Limits the number of records to be retrieved to 100.</li>\n<li><strong>\"context\": {}</strong> - An empty dictionary indicating no additional context information is provided.</li>\n</ol>\n</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing a search and read operation within the \"account.cheque\" entity. It aims to retrieve records without applying specific conditions (empty condition in List 1). The request specifies the fields to be included in the search results, including \"date,\" \"amount,\" \"number,\" \"bank_id,\" \"branch,\" \"contact_id,\" \"related_id,\" \"state,\" and \"image.\" Additional options include requesting the count of matching records, setting no specific order, starting from the first record, limiting the result to 100 records, and providing no additional context. The purpose is likely to retrieve information about account cheques in the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"168afc85-d719-4905-a457-20ad9bdc942e","name":"params/account.cheque/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1704786668907,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"account.cheque\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"date\",\r\n                \"amount\",\r\n                \"number\",\r\n                \"bank_id\",\r\n                \"branch\",\r\n                \"contact_id\",\r\n                \"related_id\",\r\n                \"state\",\r\n                \"image\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1704692157.5.1.1704692165.52.0.0\",\r\n            \"last_activ_time\": \"2024-01-09 12:50:11\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 09 Jan 2024 08:06:11 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=nkKgUSwPxUbVh5SsU6bVwiyB3BJDpctOXcb7FLy3%2BMXhHTSn%2B1wUF3Pvfq5UNb%2BjBmVESudhxKr0ripbTl4mWAJl8Atv8PtjNbkMfay6ZDtHYmDg6PmMLiZ%2Fwc%2F5SCNXJXmfHSL1a%2F88DBWIqA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"842b2df38e6819e4-KIX"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1704786668907,\n    \"dt\": 27\n}"}],"_postman_id":"9860cfe5-1a8b-4388-b871-3636ad652627"}],"id":"01c60d2b-fcee-4eff-bbef-b135fe75f14c","_postman_id":"01c60d2b-fcee-4eff-bbef-b135fe75f14c","description":""}],"id":"993f73ae-4c66-41bc-9202-99646cc0da0c","_postman_id":"993f73ae-4c66-41bc-9202-99646cc0da0c","description":""},{"name":"Receivable","item":[{"name":"Customer Invoices","item":[{"name":"params/inline.help/search_read","id":"1f807565-cc5b-44e2-aee9-511689dc90be","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1705041222545,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"cust_invoice\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1704692157.5.1.1704692165.52.0.0\",\r\n            \"last_activ_time\": \"2024-01-12 11:32:42\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-12012024\">Request added on: 12/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"inline.help\",<br />\"search_read\",<br />[<br />[<br />[<br />\"action\",<br />\"=\",<br />\"cust_invoice\"<br />]<br />]<br />],<br />{}</strong></p>\n<ol>\n<li><p><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to providing inline help or assistance within the system.</p>\n</li>\n<li><p><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</p>\n</li>\n<li><p>The third parameter is a list containing a single list: <strong>[ [ [ \"action\", \"=\", \"cust_invoice\" ] ] ]</strong>. Breaking it down:</p>\n<ol>\n<li><p><strong>Outermost list:</strong> Indicates one condition for the search.</p>\n</li>\n<li><p><strong>Middle list:</strong> Contains the actual condition.</p>\n</li>\n<li><p><strong>Innermost list:</strong> Specifies that the field \"action\" should be equal to \"cust_invoice.\" This conditions the search to records where the \"action\" attribute has the value \"cust_invoice.\"</p>\n</li>\n<li><p>Components of the search criteria:</p>\n<ol>\n<li><p><strong>\"action\"</strong>: Represents a field or attribute in the system. In this case, it is likely a field named \"action.\"</p>\n</li>\n<li><p><strong>\"=\"</strong>: Represents the comparison operator. It checks for equality.</p>\n</li>\n<li><p><strong>\"cust_invoice\"</strong>: Represents the value that the \"action\" field should be equal to. It specifies a condition that the \"action\" field must have the value \"cust_invoice\" for a record to be considered a match.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is an empty dictionary <strong>{}</strong>: In the context of this request, it indicates that no additional options or context information is provided.</p>\n</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity. It aims to retrieve records that match the criteria of having the \"action\" equal to \"cust_invoice.\" No specific fields are requested for retrieval, and no additional context is provided in this request. The purpose is likely to gather information or assistance related to customer invoices within the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"9baa25b6-10e3-4a19-972c-707e1c1fffe0","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1705041222545,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"cust_invoice\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1704692157.5.1.1704692165.52.0.0\",\r\n            \"last_activ_time\": \"2024-01-12 11:32:42\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 12 Jan 2024 07:14:45 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Ywb6UdDyzmzEHq0s7ZLt9gxhCqsQkKEbcWoRjR5qZ2%2FEZQWW8E%2FTK8dSjSVRLWT4fa%2BLJ7y%2BdcvmnQITN0U5rb%2BjNCWQ2LWSHDbVkB54rOW8FTzRf7VDvZqjMR4NdeW5XmtNIg%2BBZm4eaOy5nQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"84439ab89d7a6f3f-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1705041222545,\n    \"dt\": 15\n}"}],"_postman_id":"1f807565-cc5b-44e2-aee9-511689dc90be"},{"name":"params/report.receivable/receivable_status","id":"d6e43e78-9b65-46c2-9fe7-1107d14e4e35","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1705388148108,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.receivable\",\r\n        \"receivable_status\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-16 11:55:36\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-15012024\">Request added on: 15/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"report.receivable\",<br />\"receivable_status\",<br />[],<br />{<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"report.receivable\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to generating a report for receivables.</p>\n</li>\n<li><p><strong>\"receivable_status\"</strong>: The second parameter specifies the action or method to be performed on the entity. In this case, it appears to be a custom action or method named \"receivable_status.\" It suggests that the operation involves obtaining information about the status of receivables.</p>\n</li>\n<li><p>The third parameter is an empty list <strong>[]</strong>. In this context, it indicates that there are no specific conditions specified for filtering the records. The request might be designed to retrieve a broader set of data, possibly all receivables.</p>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with additional options:</p>\n<ol>\n<li><strong>\"context\": {}</strong> - An empty dictionary indicating that no additional context information is provided.</li>\n</ol>\n</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing an operation within the \"report.receivable\" entity, specifically invoking the \"receivable_status\" method. It is designed to generate information or a report related to the status of receivables. Since there are no specific conditions provided in the search criteria, it may be intended to retrieve a comprehensive set of data. The empty context dictionary suggests that no additional context information is provided in this request. The purpose is likely to obtain an overview or detailed information about the current status of receivables in the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"942b21d7-e384-42af-b648-4c099625e8cf","name":"params/report.receivable/receivable_status","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1705388148108,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.receivable\",\r\n        \"receivable_status\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-16 11:55:36\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 16 Jan 2024 06:59:59 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=Xsr7Sg8z04xbM9hZcbnxmkbPeMpMM1jY17UFLBA4lgThxuhYC6sMiY2W62ohLA2tvNJQppY2l0bzjHtrjLpur7toz%2FgbHXutP5TLnEglWpC0xM9VCUafcPH9Y462icQwvUT2mKmJfdsu27XcyA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"84647a954d7b2a6b-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"draft\": {\n            \"count\": 1,\n            \"amount\": 100\n        },\n        \"waiting_approval\": {\n            \"count\": 0,\n            \"amount\": 0\n        },\n        \"waiting_payment\": {\n            \"count\": 20,\n            \"amount\": 594151.58\n        },\n        \"paid\": {\n            \"count\": 1150,\n            \"amount\": 0\n        },\n        \"repeat\": {\n            \"count\": 1,\n            \"amount\": 100\n        },\n        \"voided\": {\n            \"count\": 50,\n            \"amount\": 297268.03\n        }\n    },\n    \"error\": null,\n    \"id\": 1705388148108,\n    \"dt\": 8\n}"}],"_postman_id":"d6e43e78-9b65-46c2-9fe7-1107d14e4e35"},{"name":"params/report.receivable/top_debtors","id":"8047f5e4-048f-474b-84e3-c5dcdcc6de6c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1705388148118,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.receivable\",\r\n        \"top_debtors\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-16 11:55:48\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-15012024\">Request added on: 15/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"report.receivable\",<br />\"top_debtors\",<br />[],<br />{<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"report.receivable\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to generating a report for receivables.</p>\n</li>\n<li><p><strong>\"top_debtors\"</strong>: The second parameter specifies the action or method to be performed on the entity. In this case, it appears to be a custom action or method named \"top_debtors.\" It suggests that the operation involves obtaining information about the top debtors, likely customers or entities with outstanding receivables.</p>\n</li>\n<li><p>The third parameter is an empty list <strong>[]</strong>. In this context, it indicates that there are no specific conditions specified for filtering the records. The request might be designed to retrieve a broader set of data, possibly all relevant information for identifying top debtors.</p>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with additional options:</p>\n<ol>\n<li><strong>\"context\": {}</strong> - An empty dictionary indicating that no additional context information is provided.</li>\n</ol>\n</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing an operation within the \"report.receivable\" entity, specifically invoking the \"top_debtors\" method. It is designed to generate a report or retrieve information related to the top debtors in terms of outstanding receivables. Since there are no specific conditions provided in the search criteria, it may be intended to retrieve a comprehensive set of data related to top debtors. The empty context dictionary suggests that no additional context information is provided in this request. The purpose is likely to obtain an overview or detailed information about the entities considered as top debtors in the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"5747684e-bcd3-40c4-9298-9bdd264d9630","name":"params/report.receivable/top_debtors","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1705388148118,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.receivable\",\r\n        \"top_debtors\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-16 11:55:48\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 16 Jan 2024 07:09:17 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=eh%2BeHOBrpZoE8hMGR9cUXzwz9AeTTmzSnN24AblTvyi053wviMP8tve9w6ZXuNaMma072wESzfrnuZSE0fVpNGt6sQxHDFvshiPFuwc3WXqU%2B8Dmi%2BfCU4LfxmVllMFaUJbM0hePv1n1nBhCGw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"846488396faa99ed-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        {\n            \"contact_id\": 785,\n            \"contact_name\": \"Emerging EPC Sdn Bhd\",\n            \"amount_due\": 343805,\n            \"amount_overdue\": 343805\n        },\n        {\n            \"contact_id\": 465,\n            \"contact_name\": \"LTI INDUSTRIES SDN. BHD (887236-U)\",\n            \"amount_due\": 112689.82,\n            \"amount_overdue\": 35449.82\n        },\n        {\n            \"contact_id\": 952,\n            \"contact_name\": \"SaniChem Resources Sdn. Bhd.\",\n            \"amount_due\": 36178,\n            \"amount_overdue\": 36178\n        },\n        {\n            \"contact_id\": 913,\n            \"contact_name\": \"Lifestyle Ventures Sdn Bhd\\t\",\n            \"amount_due\": 31800,\n            \"amount_overdue\": 31800\n        },\n        {\n            \"contact_id\": 76,\n            \"contact_name\": \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n            \"amount_due\": 18852.9,\n            \"amount_overdue\": 18852.9\n        },\n        {\n            \"contact_id\": 378,\n            \"contact_name\": \"Human Resources Development Corp (HRDC)\",\n            \"amount_due\": 16800,\n            \"amount_overdue\": 16800\n        },\n        {\n            \"contact_id\": 949,\n            \"contact_name\": \"Techcapital Resources Sdn Bhd (679831-D)\",\n            \"amount_due\": 15020,\n            \"amount_overdue\": 15020\n        },\n        {\n            \"contact_id\": 790,\n            \"contact_name\": \"Gapurnapermai (Costa Coffe)\",\n            \"amount_due\": 8932.62,\n            \"amount_overdue\": 8932.62\n        },\n        {\n            \"contact_id\": 832,\n            \"contact_name\": \"Sanko Plastic (Malaysia) Sdn Bhd\",\n            \"amount_due\": 5363.6,\n            \"amount_overdue\": 5363.6\n        },\n        {\n            \"contact_id\": 666,\n            \"contact_name\": \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\",\n            \"amount_due\": 2222.82,\n            \"amount_overdue\": 2222.82\n        }\n    ],\n    \"error\": null,\n    \"id\": 1705388148118,\n    \"dt\": 10\n}"}],"_postman_id":"8047f5e4-048f-474b-84e3-c5dcdcc6de6c"},{"name":"params/report.receivable/money_in","id":"1d018915-556c-4428-a62c-062e5a4397a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1705388148122,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.receivable\",\r\n        \"money_in\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-16 11:55:48\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-16012024\">Request added on: 16/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"report.receivable\",<br />\"money_in\",<br />[],<br />{<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"report.receivable\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to generating a report for receivables.</p>\n</li>\n<li><p><strong>\"money_in\"</strong>: The second parameter specifies the action or method to be performed on the entity. In this case, it appears to be a custom action or method named \"money_in.\" It suggests that the operation involves obtaining information related to money received or inflows in the context of receivables.</p>\n</li>\n<li><p>The third parameter is an empty list <strong>[]</strong>. In this context, it indicates that there are no specific conditions specified for filtering the records. The request might be designed to retrieve a broader set of data, possibly all relevant information for money received in the receivables context.</p>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with additional options:</p>\n<ol>\n<li><strong>\"context\": {}</strong> - An empty dictionary indicating that no additional context information is provided.</li>\n</ol>\n</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing an operation within the \"report.receivable\" entity, specifically invoking the \"money_in\" method. It is designed to generate a report or retrieve information related to money received or inflows in the context of receivables. Since there are no specific conditions provided in the search criteria, it may be intended to retrieve a comprehensive set of data related to money received. The empty context dictionary suggests that no additional context information is provided in this request. The purpose is likely to obtain an overview or detailed information about the money received in the receivables domain within the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"dc5bef03-84db-40a4-b42c-f4a7f7ca0a52","name":"params/report.receivable/money_in","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1705388148122,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.receivable\",\r\n        \"money_in\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-16 11:55:48\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 16 Jan 2024 07:17:40 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=5FWrHlU3pLkmRuiu%2BNWPvUtOvvZduc0%2FaF%2FFxlhUTOIZili5d5T7srxB6yIFpd9mgkd0h0M8bt6Z0a90KTEVwEwikTBpQuY84WCc2Rg3yxXpy85zL91AJXhaTy9KbYNlJdRJAzIxLLNViMKUtw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8464947b8e8799d4-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"chart_data\": [\n            [\n                \"Older\",\n                20734.4\n            ],\n            [\n                \"October\",\n                0\n            ],\n            [\n                \"November\",\n                16800\n            ],\n            [\n                \"December\",\n                320385\n            ],\n            [\n                \"January\",\n                144574.18\n            ],\n            [\n                \"Future\",\n                0\n            ]\n        ],\n        \"draft_count\": 1,\n        \"draft_amount\": 100,\n        \"overdue_count\": 19,\n        \"overdue_amount\": 516911.58\n    },\n    \"error\": null,\n    \"id\": 1705388148122,\n    \"dt\": 56\n}"}],"_postman_id":"1d018915-556c-4428-a62c-062e5a4397a2"},{"name":"params/report.receivable/debtor_exposure","id":"9a541da5-ffd2-4997-84d8-0b5bd91fb5ba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1705388148127,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.receivable\",\r\n        \"debtor_exposure\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-16 11:55:48\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-16012024\">Request added on: 16/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"report.receivable\",</strong>\"debtor_exposure\",<strong>[],</strong>{<strong>\"context\": {}****},</strong></p>\n<ol>\n<li><p><strong>\"report.receivable\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to generating a report for receivables.</p>\n</li>\n<li><p><strong>\"debtor_exposure\"</strong>: The second parameter specifies the action or method to be performed on the entity. In this case, it appears to be a custom action or method named \"debtor_exposure.\" It suggests that the operation involves obtaining information related to debtor exposure, likely assessing the risk or amount of receivables from debtors.</p>\n</li>\n<li><p>The third parameter is an empty list <strong>[]</strong>. In this context, it indicates that there are no specific conditions specified for filtering the records. The request might be designed to retrieve a broader set of data, possibly all relevant information for assessing debtor exposure.</p>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with additional options:</p>\n<ol>\n<li><strong>\"context\": {}</strong> - An empty dictionary indicating that no additional context information is provided.</li>\n</ol>\n</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing an operation within the \"report.receivable\" entity, specifically invoking the \"debtor_exposure\" method. It is designed to generate a report or retrieve information related to debtor exposure, likely assessing the risk or amount of receivables from debtors. Since there are no specific conditions provided in the search criteria, it may be intended to retrieve a comprehensive set of data related to debtor exposure. The empty context dictionary suggests that no additional context information is provided in this request. The purpose is likely to obtain an overview or detailed information about the debtor exposure in the receivables domain within the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"6df9283e-b345-4f6b-9d7c-814041e46ac2","name":"params/report.receivable/debtor_exposure","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1705388148127,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.receivable\",\r\n        \"debtor_exposure\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-16 11:55:48\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Tue, 16 Jan 2024 07:25:35 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=3ZLijA8o%2BtAlCShfScY08mgeNwRDEzoW4pw%2FVUaHMjAsqoo4kVoJ00X1dQbToaMFzwzFh2PoBLIYjLyUjg9NsU0woup%2BHLBWSSr%2BVjEnsVm3sIIPgxKqpCHfPsq4YKJ6NW9TdS58qy3PhG%2Fo3g%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"8464a014cd6c01ff-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            \"Emerging EPC Sdn Bhd\",\n            343805\n        ],\n        [\n            \"LTI INDUSTRIES SDN. BHD (887236-U)\",\n            112689.82\n        ],\n        [\n            \"SaniChem Resources Sdn. Bhd.\",\n            36178\n        ],\n        [\n            \"Lifestyle Ventures Sdn Bhd\\t\",\n            31800\n        ],\n        [\n            \"Inhesion Industrial (M) Sdn. Bhd.  (242794-K)\",\n            18852.9\n        ],\n        [\n            \"Human Resources Development Corp (HRDC)\",\n            16800\n        ],\n        [\n            \"Techcapital Resources Sdn Bhd (679831-D)\",\n            15020\n        ],\n        [\n            \"Gapurnapermai (Costa Coffe)\",\n            8932.62\n        ],\n        [\n            \"Sanko Plastic (Malaysia) Sdn Bhd\",\n            5363.6\n        ],\n        [\n            \"Sigma Water Engineering (M) Sdn. Bhd. (666278-W)\",\n            2222.82\n        ]\n    ],\n    \"error\": null,\n    \"id\": 1705388148127,\n    \"dt\": 55\n}"}],"_postman_id":"9a541da5-ffd2-4997-84d8-0b5bd91fb5ba"}],"id":"1fcf7d9c-358e-4bde-a50d-a465317de057","_postman_id":"1fcf7d9c-358e-4bde-a50d-a465317de057","description":""},{"name":"Invoice Downloader","item":[{"name":"params/page.layout/search_read","id":"15933583-b1eb-4fa0-b8dd-66d6f8a69256","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1705474783551,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"page.layout\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"path\",\r\n                    \"=\",\r\n                    \"invoice_downloader\"\r\n                ]\r\n            ],\r\n            [\r\n                \"layout\",\r\n                \"code\",\r\n                \"code_trans\",\r\n                \"styles\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-17 11:58:32\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-17012024\">Request added on: 17/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"page.layout\",<br />\"search_read\",<br />[<br />[<br />[<br />\"path\",<br />\"=\",<br />\"invoice_downloader\"<br />]<br />],<br />[<br />\"layout\",<br />\"code\",<br />\"code_trans\",<br />\"styles\"<br />]<br />],<br />{},</strong></p>\n<ol>\n<li><p><strong>\"page.layout\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to managing page layouts.</p>\n</li>\n<li><p><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</p>\n</li>\n<li><p>The third parameter is a list containing two lists:</p>\n<ol>\n<li><p><strong>List 1: [ [ [ \"path\", \"=\", \"invoice_downloader\" ] ] ]</strong> - Indicates one condition for the search. The condition specifies that the field \"path\" should be equal to \"invoice_downloader.\" This conditions the search to records where the \"path\" attribute has the value \"invoice_downloader.\"</p>\n<ol>\n<li><p><strong>Outermost List:</strong> The outermost list contains one element, which is itself a list. This structure is used to group multiple conditions together.</p>\n</li>\n<li><p><strong>Middle List:</strong> The middle list contains one element, which is itself another list. This structure is used to represent a single condition.</p>\n</li>\n<li><p><strong>Innermost List:</strong> The innermost list contains three elements representing a condition: <code>[ \"path\", \"=\", \"invoice_downloader\" ]</code>.</p>\n<ol>\n<li><p><strong>\"path\":</strong> Represents the field or attribute in the \"page.layout\" entity that is being targeted for comparison. In this case, it is the \"path\" attribute.</p>\n</li>\n<li><p><strong>\"=\":</strong> Represents the comparison operator. In this context, it is checking for equality.</p>\n</li>\n<li><p>**\"invoice_downloader\":**Represents the value that the \"path\" attribute should be equal to. It specifies a condition that the \"path\" attribute must have the value \"invoice_downloader\" for a record to be considered a match.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>List 2: [\"layout\", \"code\", \"code_trans\", \"styles\"]</strong> - Specifies the fields to be retrieved. It indicates that the search result should include values for these fields.</p>\n<ol>\n<li><p><strong>\"layout\"</strong>: This field likely represents the layout configuration or structure associated with the page layout. It could include information about the arrangement and organization of elements on the page.</p>\n</li>\n<li><p><strong>\"code\"</strong>: This field likely represents a code or identifier associated with the page layout. It could be used for referencing or identifying the specific layout configuration.</p>\n</li>\n<li><p><strong>\"code_trans\"</strong>: This field may represent translated versions of the code, providing language-specific variations or translations if applicable.</p>\n</li>\n<li><p><strong>\"styles\"</strong>: This field likely represents the styles or formatting information associated with the page layout. It could include details about the appearance, colors, and other visual aspects of the layout.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is an empty dictionary <strong>{}</strong>: In the context of this request, it indicates that no additional options or context information is provided.</p>\n</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing a search and read operation within the \"page.layout\" entity. It aims to retrieve records that match the criteria of having the \"path\" equal to \"invoice_downloader.\" The request specifies the fields to be included in the search results, including \"layout,\" \"code,\" \"code_trans,\" and \"styles.\" No specific additional options or context information is provided in this request. The purpose is likely to obtain information related to the page layout for the \"invoice_downloader\" path within the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"88b69b1e-1bcc-4af2-8688-5dc9fe62f0d5","name":"params/page.layout/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1705474783551,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"page.layout\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"path\",\r\n                    \"=\",\r\n                    \"invoice_downloader\"\r\n                ]\r\n            ],\r\n            [\r\n                \"layout\",\r\n                \"code\",\r\n                \"code_trans\",\r\n                \"styles\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-17 11:58:32\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"html","header":[{"key":"Date","value":"Wed, 17 Jan 2024 07:02:20 GMT"},{"key":"Content-Type","value":"text/html; charset=UTF-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=jX%2FfHjhttL3W7LCrPaO%2BHfbRQFIfO3UIDKO4HXjPswO%2FAfDaZo8M1G7MiYyNEUeWw9qASPEWeu8%2BAgUKy05DgWtocP3RZj7A2Vb3dXJVfxhMMlD5%2BV3kv3mZIYOpCLCjbTDgwa19%2BcIURpS%2FSQ%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"846cbb685db73f98-SIN"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\"result\": [{\"id\": 504, \"code\": \"/*async function load_memo(query){\\n  //if(query == \\\"%\\\") query = \\\"\\\";\\n  var data = get_data();\\n  var slct = [];\\n  var cond = [[]];\\n  var memo = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[cond,['memo','id']]);\\n\\n  console.log(\\\"memo : \\\"+memo);\\n  for (var i = 0; i < memo.length; i++) {\\n    var memo = memo[i];\\n\\n    var value = memo.id;\\n    var label = memo.memo;\\n\\n    slct.push({\\n      value: value,\\n      label: label,\\n    });\\n  }\\n  return slct;\\n}*/\\n/*\\nasync function load_memo() {\\n  var data = get_data();\\n  var slct = [];\\n  var cond=[[\\\"type\\\",\\\"=\\\",\\\"out\\\"]];\\n  var invoice = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[cond,['memo']]);\\n\\n  for (var i = 0; i < invoice.length; i++) {\\n    var invoice = invoice[i];\\n    var value = invoice.id;\\n    var label = invoice.memo;\\n    slct.push({\\n      value: value,\\n      label: label,\\n    });\\n  }\\n  return slct;\\n}\\n\\nasync function load_memo_name(query) {\\n  var data = get_data();\\n  var cond=[[\\\"type\\\",\\\"=\\\",\\\"out\\\"]];\\n  var invoice = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[cond,['memo']]);\\n\\n  var result = [];\\n  for (var invoice of invoice) {\\n    if (!invoice.memo) {\\n      console.log('invoice not found', invoice);\\n      continue;\\n    }\\n    var label = invoice.memo;\\n    var id = invoice.id; \\n    if (label.includes(query)) {\\n      result.push({\\n        value: id,\\n        label: label,\\n      });\\n    } else {\\n      result = await load_memo();\\n    }\\n  }\\n  return result;\\n}\\n*/\\nasync function add(){\\n  var data = get_data();\\n  console.log(\\\"testing\\\", data.memo);\\n  //var memo = \\\"Order ID-\\\" + data.memo;\\n  var memo = data.memo;\\n  var ship_address = data.ship_address;\\n  if(!data.memo)throw \\\"Missing Order No!\\\";\\n\\n  var inv = await rpc_execute(\\\"account.invoice\\\",\\\"search_read\\\",[[[\\\"memo\\\",\\\"ilike\\\",memo],[\\\"type\\\",\\\"=\\\",\\\"out\\\"]],[\\\"date\\\",\\\"number\\\",\\\"bill_address_id\\\",\\\"lines.index\\\",\\\"lines.description\\\",\\\"lines.qty\\\",\\\"lines.unit_price\\\",\\\"lines.amount\\\",\\\"amount_subtotal\\\",\\\"amount_tax\\\",\\\"amount_total\\\"]]);\\n  if (inv.length === 0) throw (`Invoice NOT found for Order Number: ${data.memo}`)\\n  var invoice_id = inv[0].id;\\n  /*var line=\\n      {\\n        date: inv[0].date,\\n      }\\n  if (!data.lines) data.lines = [];\\n  data.lines.push(line);*/\\n\\n  set_data({\\n    shipping_address:inv[0].bill_address_id,\\n    date:inv[0].date,\\n    ship_address:ship_address,\\n    invoice_id:invoice_id,\\n  });\\n}\\n\\nasync function print_pdf(){\\n  var data=get_data();\\n\\n  //// write shipping address into ref\\n  if(data.ship_address){\\n    var vals = {\\n    ref: data.ship_address\\n    };\\n    await rpc_execute(\\\"account.invoice\\\",\\\"write\\\",[[data.invoice_id],vals]);\\n  }\\n  ////\\n\\n  //var url=\\\"https://backend-prod2.netforce.com/render_page_pdf?page_id=348&active_id=425&database=nfo_main&user_id=63&company_id=1&token=bmZvX21haW4gNjM=|1616407803|3919087415faee3ebb1e5756bba8d530a68bff0c\\\"\\n  //var url=\\\"https://pages-prod2.netforce.com/?page=stock_margin_print&db=nfo_main&user_id=8&company_id=1&token=bmZvX21haW4gNjM=|1616407803|3919087415faee3ebb1e5756bba8d530a68bff0c\\\";\\n  console.log(\\\"ship_address\\\", data.ship_address);\\n  var res = await rpc_execute(\\\"account.invoice\\\",\\\"read_path\\\",[[data.invoice_id],[\\\"contact_id.invoice_print_template_id\\\"]]);\\n  if (res.length != 0 && res[0].contact_id && res[0].contact_id.invoice_print_template_id){\\n    var page_id = res[0].contact_id.invoice_print_template_id;\\n  } else {\\n    var page_id = 428;\\n  }\\n  var pdf = `https://backend-prod2.netforce.com/render_page_pdf?page_id=${page_id}&active_id=${data.invoice_id}&database=nfo_main&user_id=54&company_id=1&token=bmZvX21haW4gNTQ=|1628487047|8b9d188d55d2695923451581f1650427e0fa8369&ship_address=${data.ship_address}&lang=en_US&no_download=1`;\\n\\n  //var pdf += \\\"&active_id=\\\"+data.memo+\\\"&database=nfo_urbanw\\\";\\n  /*if(data.product_categ){\\n    url += \\\"&product_categ=\\\"+data.product_categ.id;\\n  }\\n  if(data.product){\\n    url += \\\"&product=\\\"+data.product.id;\\n  }\\n  if(data.brand){\\n    url += \\\"&brand=\\\"+data.brand.id;\\n  }*/\\n\\n  //var url2 = \\\"https://backend-prod2.netforce.com/render_page_pdf?page_id=428\\\" +(pdf);\\n  window.open(pdf);\\n  clear();\\n}\\n\\nfunction clear()\\n{\\n  set_data({\\n    memo:null,\\n    shipping_address:null,\\n    date:null,\\n    ship_address:null,\\n  });\\n}\", \"code_trans\": null, \"layout\": \"{\\\"elements\\\":[{\\\"type\\\":\\\"box\\\",\\\"children\\\":[{\\\"type\\\":\\\"columns\\\",\\\"columns\\\":[{\\\"children\\\":[]},{\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"size\\\":\\\"huge\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"Shopee/Lazada Invoice Downloader\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]}},{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"SmartB Solutions Sdn Bhd\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"center\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"font_size\\\":18}]},{\\\"children\\\":[]}],\\\"num_cols\\\":3,\\\"col_widths\\\":[1,3,1],\\\"margin_bottom\\\":30,\\\"_col_widths\\\":\\\"[1,3,1]\\\"},{\\\"type\\\":\\\"columns\\\",\\\"columns\\\":[{\\\"children\\\":[]},{\\\"children\\\":[{\\\"type\\\":\\\"columns\\\",\\\"num_cols\\\":2,\\\"columns\\\":[{\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"Order No.\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"right\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"font_size\\\":18,\\\"margin_right\\\":20,\\\"padding_top\\\":5}]},{\\\"children\\\":[{\\\"type\\\":\\\"field\\\",\\\"name\\\":\\\"memo\\\",\\\"field_type\\\":\\\"text\\\",\\\"model\\\":\\\"\\\",\\\"placeholder\\\":\\\"please fill in your order no.\\\",\\\"field_value\\\":\\\"\\\",\\\"load_options\\\":\\\"\\\",\\\"load_name\\\":\\\"\\\",\\\"condition\\\":\\\"\\\",\\\"margin_right\\\":null}]}],\\\"col_widths\\\":[1,1]}]},{\\\"children\\\":[]},{\\\"children\\\":[{\\\"type\\\":\\\"columns\\\",\\\"num_cols\\\":2,\\\"columns\\\":[{\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"Address\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"right\\\"},\\\"insert\\\":\\\"\\\\n\\\"},{\\\"attributes\\\":{\\\"size\\\":\\\"small\\\",\\\"italic\\\":true},\\\"insert\\\":\\\"(if different from billing address)\\\"},{\\\"attributes\\\":{\\\"align\\\":\\\"right\\\"},\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"margin_right\\\":20,\\\"font_size\\\":18,\\\"padding_top\\\":5}]},{\\\"children\\\":[{\\\"type\\\":\\\"field\\\",\\\"field_type\\\":\\\"textarea\\\",\\\"name\\\":\\\"ship_address\\\"}]}],\\\"col_widths\\\":[1,1]}]},{\\\"children\\\":[]}],\\\"num_cols\\\":5,\\\"col_widths\\\":[0.3,1,0.1,1,0.2],\\\"padding_left\\\":null,\\\"padding_right\\\":null,\\\"align\\\":\\\"center\\\",\\\"margin_top\\\":50,\\\"margin_right\\\":60,\\\"_col_widths\\\":\\\"[0.3,1,0.1,1,0.2]\\\"},{\\\"type\\\":\\\"columns\\\",\\\"columns\\\":[{\\\"children\\\":[]},{\\\"children\\\":[{\\\"type\\\":\\\"columns\\\",\\\"num_cols\\\":2,\\\"columns\\\":[{\\\"children\\\":[{\\\"type\\\":\\\"button\\\",\\\"text\\\":\\\"Go\\\",\\\"icon\\\":\\\"arrow-right\\\",\\\"size\\\":\\\"normal\\\",\\\"align\\\":\\\"center\\\",\\\"on_click\\\":\\\"add()\\\",\\\"width\\\":\\\"100\\\",\\\"height\\\":\\\"50\\\",\\\"border_width\\\":0,\\\"border_radius\\\":15,\\\"border_color\\\":\\\"#f77e18\\\",\\\"font_bold\\\":true,\\\"color\\\":\\\"#ffffff\\\",\\\"background_color\\\":\\\"#ff9c00\\\",\\\"font_size\\\":15}]},{\\\"children\\\":[{\\\"type\\\":\\\"button\\\",\\\"text\\\":\\\"Cancel\\\",\\\"icon\\\":\\\"remove\\\",\\\"size\\\":\\\"normal\\\",\\\"on_click\\\":\\\"clear()\\\",\\\"width\\\":\\\"100\\\",\\\"height\\\":\\\"50\\\",\\\"background_color\\\":\\\"#e7716e\\\",\\\"color\\\":\\\"#ffffff\\\",\\\"font_bold\\\":true,\\\"font_size\\\":15,\\\"border_width\\\":0,\\\"border_radius\\\":15}]}],\\\"col_widths\\\":[1,1]}]},{\\\"children\\\":[]}],\\\"num_cols\\\":3,\\\"col_widths\\\":[1,1,1],\\\"margin_top\\\":30},{\\\"type\\\":\\\"box\\\",\\\"children\\\":[{\\\"type\\\":\\\"columns\\\",\\\"columns\\\":[{\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"color\\\":\\\"#ffffff\\\",\\\"bold\\\":true},\\\"insert\\\":\\\"Order Details:\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"font_size\\\":18,\\\"padding_top\\\":5,\\\"padding_left\\\":10,\\\"padding_bottom\\\":5}]},{\\\"children\\\":[]}],\\\"num_cols\\\":2,\\\"col_widths\\\":[1,1],\\\"background_color\\\":\\\"#545353\\\"},{\\\"type\\\":\\\"columns\\\",\\\"columns\\\":[{\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"Date: \\\"},{\\\"insert\\\":\\\"\\\\n\\\\n\\\"},{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"{date}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"font_size\\\":18,\\\"padding_top\\\":null,\\\"padding_left\\\":10}]},{\\\"children\\\":[{\\\"type\\\":\\\"text\\\",\\\"contents\\\":{\\\"ops\\\":[{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"Address: \\\"},{\\\"insert\\\":\\\"\\\\n\\\\n\\\"},{\\\"attributes\\\":{\\\"bold\\\":true},\\\"insert\\\":\\\"{shipping_address}{ship_address}\\\"},{\\\"insert\\\":\\\"\\\\n\\\"}]},\\\"font_size\\\":18}]}],\\\"num_cols\\\":2,\\\"col_widths\\\":[1,2],\\\"margin_top\\\":10,\\\"margin_bottom\\\":null,\\\"_col_widths\\\":\\\"[1,2]\\\"}],\\\"min_height\\\":50,\\\"margin_top\\\":50,\\\"margin_left\\\":20,\\\"margin_right\\\":20,\\\"background_color\\\":\\\"#ffffff\\\",\\\"padding_bottom\\\":20},{\\\"type\\\":\\\"columns\\\",\\\"columns\\\":[{\\\"children\\\":[]},{\\\"children\\\":[{\\\"type\\\":\\\"button\\\",\\\"align\\\":\\\"right\\\",\\\"width\\\":\\\"150\\\",\\\"height\\\":\\\"50\\\",\\\"text\\\":\\\"Generate Invoice\\\",\\\"icon\\\":\\\"\\\",\\\"font_size\\\":15,\\\"font_bold\\\":true,\\\"color\\\":\\\"#ffffff\\\",\\\"background_color\\\":\\\"#f77e18\\\",\\\"on_click\\\":\\\"print_pdf()\\\",\\\"border_width\\\":0,\\\"border_radius\\\":15}]}],\\\"num_cols\\\":2,\\\"col_widths\\\":[1,1],\\\"margin_top\\\":10,\\\"margin_left\\\":20,\\\"margin_right\\\":20}],\\\"min_height\\\":50,\\\"padding_top\\\":30,\\\"padding_left\\\":20,\\\"padding_right\\\":20,\\\"padding_bottom\\\":30,\\\"background_color\\\":\\\"#f1f1f1\\\",\\\"show_phone\\\":true,\\\"show_tablet\\\":true,\\\"show_desktop\\\":true}]}\", \"styles\": null}], \"error\": null, \"id\": 1705474783551, \"dt\": 10}"}],"_postman_id":"15933583-b1eb-4fa0-b8dd-66d6f8a69256"}],"id":"dd9d1ea2-d4bb-4c45-953c-4680faa910aa","_postman_id":"dd9d1ea2-d4bb-4c45-953c-4680faa910aa","description":""}],"id":"295e7f55-5a91-41a6-bd69-871de270ed79","_postman_id":"295e7f55-5a91-41a6-bd69-871de270ed79","description":""},{"name":"Payable","item":[{"name":"Supplier Invoices","item":[{"name":"params/inline.help/search_read","id":"af475b49-89ae-43f5-a477-d8e804e3dee0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1705475973828,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"supp_invoice\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-17 12:19:18\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-17012024\">Request added on: 17/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"inline.help\",<br />\"search_read\",<br />[<br />[<br />[<br />\"action\",<br />\"=\",<br />\"supp_invoice\"<br />]<br />]<br />],<br />{},</strong></p>\n<ol>\n<li><p><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to providing inline help or assistance within the system.</p>\n</li>\n<li><p><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</p>\n</li>\n<li><p>The third parameter is a list containing a single list: <strong>[ [ [ \"action\", \"=\", \"supp_invoice\" ] ] ]</strong>. Breaking it down:</p>\n<ol>\n<li><p><strong>Outermost list:</strong> Indicates one condition for the search.</p>\n</li>\n<li><p><strong>Middle list:</strong> Contains the actual condition.</p>\n</li>\n<li><p><strong>Innermost list:</strong> Specifies that the field \"action\" should be equal to \"supp_invoice.\" This conditions the search to records where the \"action\" attribute has the value \"supp_invoice.\"</p>\n</li>\n<li><p>Components of the search criteria:</p>\n<ol>\n<li><p><strong>\"action\"</strong>: Represents a field or attribute in the system. In this case, it is likely a field named \"action.\"</p>\n</li>\n<li><p><strong>\"=\"</strong>: Represents the comparison operator. It checks for equality.</p>\n</li>\n<li><p><strong>\"supp_invoice\"</strong>: Represents the value that the \"action\" field should be equal to. It specifies a condition that the \"action\" field must have the value \"supp_invoice\" for a record to be considered a match.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is an empty dictionary <strong>{}</strong>: In the context of this request, it indicates that no additional options or context information is provided.</p>\n</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity. It aims to retrieve records that match the criteria of having the \"action\" equal to \"supp_invoice.\" No specific fields are requested for retrieval, and no additional context is provided in this request. The purpose is likely to gather information or assistance related to supplier invoices within the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"667148b8-1dfd-45bc-8bef-40477aec9302","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1705475973828,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"supp_invoice\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-17 12:19:18\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 17 Jan 2024 07:32:26 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=6j%2FeamuKQiDV1u%2B6hAXeZI77FzdmYJ0JVP4uBL9rhbkRiTQ4CCsix1QHWVQjOvjBOq0NU7hAMgi46eqeUSzTKSJu2Jw%2BwQm7HpwmkpNy%2FVPVm7tPP2YkJegSEYP1pNOm4kH8iok4k5FIJZ1HhA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"846ce7802d8df188-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1705475973828,\n    \"dt\": 7\n}"}],"_postman_id":"af475b49-89ae-43f5-a477-d8e804e3dee0"},{"name":"params/report.payable/payable_status","id":"2c71f958-e6cc-475f-9e0b-d72a0eef200e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1705475976730,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.payable\",\r\n        \"payable_status\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-17 12:19:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-17012024\">Request added on: 17/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"report.payable\",<br />\"payable_status\",<br />[],<br />{<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"report.payable\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to generating a report for payables.</p>\n</li>\n<li><p><strong>\"payable_status\"</strong>: The second parameter specifies the action or method to be performed on the entity. In this case, it appears to be a custom action or method named \"payable_status.\" It suggests that the operation involves obtaining information about the status of payables.</p>\n</li>\n<li><p>The third parameter is an empty list <strong>[]</strong>. In this context, it indicates that there are no specific conditions specified for filtering the records. The request might be designed to retrieve a broader set of data, possibly all payables.</p>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with additional options:</p>\n<ol>\n<li><strong>\"context\": {}</strong> - An empty dictionary indicating that no additional context information is provided.</li>\n</ol>\n</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing an operation within the \"report.payable\" entity, specifically invoking the \"payable_status\" method. It is designed to generate information or a report related to the status of payables. Since there are no specific conditions provided in the search criteria, it may be intended to retrieve a comprehensive set of data. The empty context dictionary suggests that no additional context information is provided in this request. The purpose is likely to obtain an overview or detailed information about the current status of payables in the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"ae30e986-cc78-48ce-85ee-bfb5a473d1d4","name":"params/report.payable/payable_status","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1705475976730,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.payable\",\r\n        \"payable_status\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-17 12:19:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 17 Jan 2024 07:41:48 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=CWK3tYMb6LVIF3JiqGWLVuV6XvY3BDGdb9ZUi0XBVY4QdkWSypg%2FvRc5KGdpyf2NFPkyeF2Mv8ootvJNWDEhMuWBJXXyZUhkt79ddxjnAX1U8Mjzegj7S2giux5u%2BTIFybFPgT3GH1lMyT%2BJrg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"846cf53aab62063c-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"draft\": {\n            \"count\": 0,\n            \"amount\": 0\n        },\n        \"waiting_approval\": {\n            \"count\": 0,\n            \"amount\": 0\n        },\n        \"waiting_payment\": {\n            \"count\": 13,\n            \"amount\": 26930.13\n        },\n        \"paid\": {\n            \"count\": 875,\n            \"amount\": 0\n        },\n        \"voided\": {\n            \"count\": 39,\n            \"amount\": 88009.09\n        }\n    },\n    \"error\": null,\n    \"id\": 1705475976730,\n    \"dt\": 61\n}"}],"_postman_id":"2c71f958-e6cc-475f-9e0b-d72a0eef200e"},{"name":"params/report.payable/money_out","id":"efd6ea43-938a-4fd3-90b1-a1acacf9edac","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1705475976735,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.payable\",\r\n        \"money_out\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-17 12:19:36\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-17012024\">Request added on: 17/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"report.payable\",<br />\"money_out\",<br />[],<br />{<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"report.payable\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to generating a report for payables.</p>\n</li>\n<li><p><strong>\"money_out\"</strong>: The second parameter specifies the action or method to be performed on the entity. In this case, it appears to be a custom action or method named \"money_out.\" It suggests that the operation involves obtaining information related to money paid or outflows in the context of payables.</p>\n</li>\n<li><p>The third parameter is an empty list <strong>[]</strong>. In this context, it indicates that there are no specific conditions specified for filtering the records. The request might be designed to retrieve a broader set of data, possibly all relevant information for money paid in the context of payables.</p>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with additional options:</p>\n<ol>\n<li><strong>\"context\": {}</strong> - An empty dictionary indicating that no additional context information is provided.</li>\n</ol>\n</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing an operation within the \"report.payable\" entity, specifically invoking the \"money_out\" method. It is designed to generate a report or retrieve information related to money paid or outflows in the context of payables. Since there are no specific conditions provided in the search criteria, it may be intended to retrieve a comprehensive set of data related to money paid. The empty context dictionary suggests that no additional context information is provided in this request. The purpose is likely to obtain an overview or detailed information about the money paid in the payables domain within the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"e4d9ad63-2ed5-44cd-a34f-ab80b000357b","name":"params/report.payable/money_out","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1705475976735,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.payable\",\r\n        \"money_out\",\r\n        [],\r\n        {\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-17 12:19:36\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 17 Jan 2024 07:50:14 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=qUCb%2B36XIIj%2FJzOJlM2GQHgjcOcHbfivAvFptkTgCqgoiWoFjYDe2WZNZg8EHKwoi5o%2BOXPzJZEMckv20gUca9HYeZk%2FoHvyRwR4dGUAtOnql%2BGyovHpx%2FMsME4DWy2IL0kvZgeBxzWQvUF%2F4A%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"846d0193b8b83cbd-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": {\n        \"chart_data\": [\n            [\n                1705420800000,\n                0\n            ],\n            [\n                1705507200000,\n                0\n            ],\n            [\n                1705593600000,\n                0\n            ],\n            [\n                1705680000000,\n                0\n            ],\n            [\n                1705766400000,\n                0\n            ],\n            [\n                1705852800000,\n                0\n            ],\n            [\n                1705939200000,\n                0\n            ],\n            [\n                1706025600000,\n                0\n            ],\n            [\n                1706112000000,\n                0\n            ],\n            [\n                1706198400000,\n                0\n            ],\n            [\n                1706284800000,\n                0\n            ],\n            [\n                1706371200000,\n                0\n            ],\n            [\n                1706457600000,\n                0\n            ],\n            [\n                1706544000000,\n                0\n            ],\n            [\n                1706630400000,\n                0\n            ],\n            [\n                1706716800000,\n                0\n            ],\n            [\n                1706803200000,\n                0\n            ],\n            [\n                1706889600000,\n                0\n            ],\n            [\n                1706976000000,\n                0\n            ],\n            [\n                1707062400000,\n                0\n            ],\n            [\n                1707148800000,\n                0\n            ],\n            [\n                1707235200000,\n                0\n            ],\n            [\n                1707321600000,\n                0\n            ],\n            [\n                1707408000000,\n                0\n            ],\n            [\n                1707494400000,\n                0\n            ],\n            [\n                1707580800000,\n                0\n            ],\n            [\n                1707667200000,\n                0\n            ],\n            [\n                1707753600000,\n                0\n            ],\n            [\n                1707840000000,\n                0\n            ],\n            [\n                1707926400000,\n                0\n            ],\n            [\n                1708012800000,\n                0\n            ],\n            [\n                1708099200000,\n                0\n            ],\n            [\n                1708185600000,\n                0\n            ],\n            [\n                1708272000000,\n                0\n            ],\n            [\n                1708358400000,\n                0\n            ],\n            [\n                1708444800000,\n                0\n            ],\n            [\n                1708531200000,\n                0\n            ],\n            [\n                1708617600000,\n                0\n            ],\n            [\n                1708704000000,\n                0\n            ],\n            [\n                1708790400000,\n                0\n            ],\n            [\n                1708876800000,\n                0\n            ],\n            [\n                1708963200000,\n                0\n            ],\n            [\n                1709049600000,\n                0\n            ],\n            [\n                1709136000000,\n                0\n            ],\n            [\n                1709222400000,\n                0\n            ],\n            [\n                1709308800000,\n                0\n            ],\n            [\n                1709395200000,\n                0\n            ],\n            [\n                1709481600000,\n                0\n            ],\n            [\n                1709568000000,\n                0\n            ],\n            [\n                1709654400000,\n                0\n            ],\n            [\n                1709740800000,\n                0\n            ],\n            [\n                1709827200000,\n                0\n            ],\n            [\n                1709913600000,\n                0\n            ],\n            [\n                1710000000000,\n                0\n            ],\n            [\n                1710086400000,\n                0\n            ],\n            [\n                1710172800000,\n                0\n            ],\n            [\n                1710259200000,\n                0\n            ],\n            [\n                1710345600000,\n                0\n            ],\n            [\n                1710432000000,\n                0\n            ],\n            [\n                1710518400000,\n                0\n            ]\n        ],\n        \"draft_count\": 0,\n        \"draft_amount\": 0,\n        \"overdue_count\": 12,\n        \"overdue_amount\": 54379.97\n    },\n    \"error\": null,\n    \"id\": 1705475976735,\n    \"dt\": 179\n}"}],"_postman_id":"efd6ea43-938a-4fd3-90b1-a1acacf9edac"}],"id":"ecabe7b0-6356-4d17-8838-ad8501346716","_postman_id":"ecabe7b0-6356-4d17-8838-ad8501346716","description":""}],"id":"d177d3ff-fa17-45c9-94ef-92c77f66bec5","_postman_id":"d177d3ff-fa17-45c9-94ef-92c77f66bec5","description":""},{"name":"Expenses","item":[{"name":"Expenses","item":[{"name":"params/inline.help/search_read","id":"04d8a5a3-e15f-4dea-9871-cc5ffcd4d69c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1706162837694,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"expense\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-25 11:06:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25012024\">Request added on: 25/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong>**\"inline.help\",<strong>**\"search_read\",<strong><strong>[</strong></strong>[**</strong>[<strong><strong>\"action\",</strong></strong>\"=\",<strong>**\"expense\"<strong><strong>]</strong></strong>]**</strong>],****{},**</p>\n<ol>\n<li><strong>\"inline.help\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"inline.help\" entity, indicating that the operation will be related to providing help or assistance within the system.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria.</li>\n<li>The third parameter is a list containing a single list with a condition:<ol>\n<li><strong>[[\"action\", \"=\", \"expense\"]]:</strong> This list represents the search domain. It includes a condition that filters records where the \"action\" is equal to \"expense.\" This helps narrow down the search to specific records related to the \"expense\" action.<ol>\n<li><strong>\"action\":</strong> This is the field or attribute in the system. In this case, it is likely a field named \"action.\"</li>\n<li><strong>\"=\":</strong> This is the comparison operator, checking for equality.</li>\n<li><strong>\"expense\":</strong> This is the value that the \"action\" field should be equal to. It specifies a condition that the \"action\" field must have the value \"expense\" for a record to be considered a match.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Context:</strong> The fourth parameter is an empty dictionary <code>{}</code>. In the context of this request, it indicates that no additional options or context information is provided.</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity. It retrieves records that match the criteria of having the \"action\" equal to \"expense.\" No specific fields are requested for retrieval, and no additional context is provided in this request. The purpose of this request is likely to gather information or assistance related to the \"expense\" action within the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"cabc6a95-1cf7-4958-830f-fde099e5758c","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1706162837694,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"expense\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-25 11:06:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 25 Jan 2024 06:13:39 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=flATqAsDlKDeUzxhwAHPSFckTydwWk5wxCJJF8YhPRijM%2F2byk1qKgeyP%2BNnxA8V0g196bBtac3MBJZq%2BNPnNec%2FI%2FDtQfsCwrIzTmCV%2FSzMg1MCODKurshQRtJQ0KyGvvLIG3OwYWfcUVB89Q%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"84ae5f198b693cda-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1706162837694,\n    \"dt\": 183\n}"}],"_postman_id":"04d8a5a3-e15f-4dea-9871-cc5ffcd4d69c"},{"name":"params/expense/search_read","id":"75fcc5b2-d6a8-44f2-a1b9-b5fac3711df1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1706162837706,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"expense\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"date\",\r\n                \"related_id\",\r\n                \"merchant\",\r\n                \"amount\",\r\n                \"currency_id\",\r\n                \"description\",\r\n                \"employee_id\",\r\n                \"claim_id\",\r\n                \"currency_rate\",\r\n                \"invoice_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-25 11:06:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25012024\">Request added on: 25/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [</strong><strong>\"expense\",</strong>\"search_read\",<strong>[</strong>[<strong>[]</strong>],<strong>[</strong>\"date\",<strong>\"related_id\",</strong>\"merchant\",<strong>\"amount\",</strong>\"currency_id\",<strong>\"description\",</strong>\"employee_id\",<strong>\"claim_id\",</strong>\"currency_rate\",<strong>\"invoice_id\"<strong>]</strong>],</strong>{<strong>\"count\": true,</strong>\"order\": null,<strong>\"offset\": 0,</strong>\"limit\": 100,<strong>\"context\": {}****},</strong></p>\n<ol>\n<li><strong>\"expense\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"expense\" entity, indicating that the operation will be related to handling expense records.</li>\n<li><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria.</li>\n<li>The third parameter is a list containing two lists:<ol>\n<li>The first list, <strong>[[]],</strong> represents the search domain. An empty list indicates that there are no specific conditions or filters applied to the records being retrieved. The request aims to retrieve all records from the \"expense\" entity.</li>\n<li>The second list, <strong>[\"date\", \"related_id\", \"merchant\", \"amount\", \"currency_id\", \"description\", \"employee_id\", \"claim_id\", \"currency_rate\", \"invoice_id\"],</strong> specifies the fields to retrieve for each record. These fields include information such as date, related ID, merchant, amount, currency details, description, employee ID, claim ID, currency rate, and invoice ID.<ol>\n<li><strong>\"date\":</strong> Represents the date associated with the expense record. It indicates when the expense transaction took place.</li>\n<li><strong>\"related_id\":</strong> Refers to the related ID associated with the expense. This could be an identifier linking the expense to another entity or transaction within the system.</li>\n<li><strong>\"merchant\":</strong> Indicates the merchant or vendor from whom the expense was incurred. It provides information about the entity or business from which goods or services were purchased.</li>\n<li><strong>\"amount\":</strong> Represents the amount of the expense. This field provides the numerical value associated with the expense transaction.</li>\n<li><strong>\"currency_id\":</strong> Refers to the currency ID associated with the expense. It indicates the currency in which the expense amount is expressed, providing context for financial transactions.</li>\n<li><strong>\"description\":</strong> Describes the expense in detail. It includes textual information that provides additional context or information about the nature of the expense.</li>\n<li><strong>\"employee_id\":</strong> Represents the employee ID associated with the expense. It indicates the employee who incurred the expense, providing information about the individual associated with the transaction.</li>\n<li><strong>\"claim_id\":</strong> Refers to the claim ID associated with the expense. This could be a unique identifier linking the expense to a specific claim or reimbursement request within the system.</li>\n<li><strong>\"currency_rate\":</strong> Indicates the currency rate associated with the expense. It provides information about the exchange rate if the expense involves a currency different from the system's base currency.</li>\n<li><strong>\"invoice_id\":</strong> Represents the invoice ID associated with the expense. It could be a reference to an invoice related to the expense transaction, providing a link to financial documentation.</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><strong>Context:</strong> The fourth parameter is a dictionary with various options:<ol>\n<li><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. This allows you to determine how many expense records exist in the system.</li>\n<li><strong>\"order\": null:</strong> Indicates that no specific sorting order is applied to the retrieved records. The records will be returned without any particular order.</li>\n<li><strong>\"offset\": 0:</strong> Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve records starting from the first record.</li>\n<li><strong>\"limit\": 100:</strong> Specifies the maximum number of records to retrieve, set to 100 in this request. It means that the request will fetch up to 100 expense records in a single query. If there are more records, additional requests may be needed.</li>\n<li><strong>\"context\": {}:</strong> Represents an empty context, indicating that no additional context is provided in this request.</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"expense\" entity. It retrieves all expense records without specific filtering conditions and retrieves the specified fields for each record. Additionally, it counts the total number of matching records, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 records. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"34f3223d-de12-469a-ae4c-b5fdd87d9541","name":"params/expense/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1706162837706,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"expense\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"date\",\r\n                \"related_id\",\r\n                \"merchant\",\r\n                \"amount\",\r\n                \"currency_id\",\r\n                \"description\",\r\n                \"employee_id\",\r\n                \"claim_id\",\r\n                \"currency_rate\",\r\n                \"invoice_id\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-25 11:06:33\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 25 Jan 2024 06:43:07 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=YpJOfQ8g2XzlJuGwkYKqOMWQFuBHBoTydqkhUYFs%2B3dUMcb%2FQSPfjTKEMdyPchD%2B2vJM3eBaEP3zfAh7z4Kg80KFU%2BeljOarX2sZADyqZwz2pAXegdkljfkKGYuzKBunlccsGuy9nWS8lPk5zA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"84ae8a406ab60494-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 4,\n                \"currency_rate\": null,\n                \"related_id\": null,\n                \"invoice_id\": null,\n                \"merchant\": \"Dennis\",\n                \"currency_id\": [\n                    2,\n                    \"MYR\",\n                    null\n                ],\n                \"description\": null,\n                \"claim_id\": null,\n                \"amount\": 2000,\n                \"date\": \"2018-04-13\",\n                \"employee_id\": [\n                    2,\n                    \"LEE HONG CHOUN [EMP-0001]\",\n                    null\n                ]\n            }\n        ],\n        1\n    ],\n    \"error\": null,\n    \"id\": 1706162837706,\n    \"dt\": 223\n}"}],"_postman_id":"75fcc5b2-d6a8-44f2-a1b9-b5fac3711df1"}],"id":"5d4bc178-c894-4743-8d8a-3b93109d97ad","_postman_id":"5d4bc178-c894-4743-8d8a-3b93109d97ad","description":""},{"name":"Expenses Claims","item":[{"name":"params/inline.help/search_read","id":"e0a09b86-4a35-4dda-aab3-7b84109bc9c8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1706169376929,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"expense_claim\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-25 12:55:53\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25012024\">Request added on: 25/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"inline.help\",<br />\"search_read\",<br />[<br />[<br />[<br />\"action\",<br />\"=\",<br />\"expense_claim\"<br />]<br />]<br />],<br />{},</strong></p>\n<ol>\n<li><p><strong>\"inline.help\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"inline.help\" entity, which is likely related to providing inline help or assistance within the system.</p>\n</li>\n<li><p><strong>\"search_read\":</strong> The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</p>\n</li>\n<li><p>The third parameter is a list containing a single list: [ [ [ \"action\", \"=\", \"expense_claim\" ] ] ].</p>\n<ol>\n<li><p>This represents the search domain. Breaking it down:</p>\n<ol>\n<li><p>The outermost list indicates that there is one condition for the search.</p>\n</li>\n<li><p>The middle list, [ [ \"action\", \"=\", \"expense_claim\" ] ], contains the actual condition.</p>\n</li>\n<li><p>The innermost list [\"action\", \"=\", \"expense_claim\"] specifies that the field \"action\" should be equal to \"expense_claim.\" This conditions the search to records where the \"action\" attribute has the value \"expense_claim.\"</p>\n<ol>\n<li><p><strong>\"action\":</strong> The first element of the list, \"action,\" represents a field or attribute in the system. In this case, it is likely a field named \"action.\"</p>\n</li>\n<li><p><strong>\"=\":</strong> The second element of the list, \"=\", represents the comparison operator. In this context, it is checking for equality.</p>\n</li>\n<li><p><strong>\"expense_claim\":</strong> The third element of the list, \"expense_claim,\" represents the value that the \"action\" field should be equal to. In other words, it specifies a condition that the \"action\" field must have the value \"expense_claim\" for a record to be considered a match.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is an empty dictionary: {}. In the context of this request, it indicates that no additional options or context information is provided.</p>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity. It retrieves records that match the criteria of having the \"action\" equal to \"expense_claim.\" No specific fields are requested for retrieval, and no additional context is provided in this request. The purpose of this request is likely to gather information or assistance related to the \"expense_claim\" action within the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"36ed96c0-1cd3-4a1f-a453-c5e92ac6b485","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1706169376929,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"expense_claim\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-25 12:55:53\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 25 Jan 2024 08:01:12 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=2x7llaYXSeYhGcywGS8A8mSKPcXkbLVWLhLLp9DVN9zbdc1T3TEmw1MUFkEw1kLdSr09x8z8u57jRW65BdIUGh0DAg9SMmBqy9Ym30KfIldoO3RDyJ6oDNcr4Wh5Ak4BnHERjPnSHTZ%2FHOBv%2Bg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"84aefca44c2cf154-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1706169376929,\n    \"dt\": 11\n}"}],"_postman_id":"e0a09b86-4a35-4dda-aab3-7b84109bc9c8"},{"name":"params/expense.claim/search_read","id":"da4991c8-725f-4128-9496-a623a59856c4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1706169376942,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"expense.claim\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"employee_id\",\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"description\",\r\n                \"num_expenses\",\r\n                \"amount_total\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-25 12:55:53\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-25012024\">Request added on: 25/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"expense.claim\",<br />\"search_read\",<br />[<br />[<br />[]<br />],<br />[<br />\"number\",<br />\"employee_id\",<br />\"date_from\",<br />\"date_to\",<br />\"description\",<br />\"num_expenses\",<br />\"amount_total\",<br />\"state\"<br />]<br />],<br />{<br />\"count\": true,<br />\"order\": null,<br />\"offset\": 0,<br />\"limit\": 100,<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"expense.claim\":</strong> This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it signifies the \"expense.claim\" entity, indicating that the operation will be performed within this entity, likely related to expense claims.</p>\n</li>\n<li><p>The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</p>\n</li>\n<li><p>The third parameter consists of two lists:</p>\n<ol>\n<li><p>The first list, [ [] ], indicates that there are no specific conditions or filters applied to the records being retrieved. The request aims to retrieve all records from the \"expense.claim\" entity without any specific filtering conditions.</p>\n</li>\n<li><p>The second list, [\"number\", \"employee_id\", \"date_from\", \"date_to\", \"description\", \"num_expenses\", \"amount_total\", \"state\"], specifies the fields to retrieve for each record. These fields include information such as the claim number, employee ID, date range, description, number of expenses, total amount, and state.</p>\n<ol>\n<li><p><strong>\"number\":</strong> Represents the unique identifier or number associated with the expense claim. It serves as a reference to distinguish one expense claim from another.</p>\n</li>\n<li><p><strong>\"employee_id\":</strong> Represents the employee ID associated with the expense claim. This field likely indicates the employee who submitted or is associated with the particular expense claim.</p>\n</li>\n<li><p><strong>\"date_from\":</strong> Represents the starting date of the expense claim or the period for which the expenses are being claimed. It indicates when the expenses were incurred.</p>\n</li>\n<li><p><strong>\"date_to\":</strong></p>\n<ul>\n<li>Represents the ending date of the expense claim or the end of the period for which the expenses are being claimed. It indicates the duration or timeframe covered by the expense claim.</li>\n</ul>\n</li>\n<li><p><strong>\"description\":</strong></p>\n<ul>\n<li>Represents a description or additional information related to the expense claim. This field may include details about the nature of the expenses or any other relevant information.</li>\n</ul>\n</li>\n<li><p><strong>\"num_expenses\":</strong> Represents the number of individual expenses included in the expense claim. It indicates the count of individual items or expenses that contribute to the total amount claimed.</p>\n</li>\n<li><p><strong>\"amount_total\":</strong> Represents the total amount claimed in the expense report. This field provides the cumulative or aggregated amount of all expenses included in the claim.</p>\n</li>\n<li><p><strong>\"state\":</strong> Represents the current state or status of the expense claim. This field may have values such as \"Draft,\" \"Submitted,\" \"Approved,\" or \"Rejected,\" indicating the stage of approval or processing the expense claim is currently in.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with various options:</p>\n<ol>\n<li><p><strong>\"count\": true:</strong> Specifies that you want to count the total number of records that match the search criteria. This allows you to determine how many expense claim records exist in the system.</p>\n</li>\n<li><p><strong>\"order\": null:</strong> Indicates that no specific sorting order is applied to the retrieved records. The records will be returned without any particular order.</p>\n</li>\n<li><p><strong>\"offset\": 0:</strong> Specifies the starting point or offset for retrieving records. In this case, it starts from the beginning (offset 0), meaning that the request will retrieve records starting from the first record.</p>\n</li>\n<li><p><strong>\"limit\": 100:</strong> Specifies the maximum number of records to retrieve, set to 100 in this request. It means that the request will fetch up to 100 expense claim records in a single query. If there are more records, additional requests may be needed.</p>\n</li>\n<li><p><strong>\"context\": {}:</strong> Represents an empty context, indicating that no additional context is provided in this request.</p>\n</li>\n</ol>\n</li>\n</ol>\n<p>In summary, this request is performing a search and read operation within the \"expense.claim\" entity. It retrieves all expense claim records without specific filtering conditions and retrieves the specified fields for each record. Additionally, it counts the total number of matching records, does not apply any specific sorting order, starts from the beginning, and limits the retrieval to a maximum of 100 records. No additional context is provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"38b9fa69-bc23-42dd-bdf7-9c4988080709","name":"params/expense.claim/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1706169376942,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"expense.claim\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                []\r\n            ],\r\n            [\r\n                \"number\",\r\n                \"employee_id\",\r\n                \"date_from\",\r\n                \"date_to\",\r\n                \"description\",\r\n                \"num_expenses\",\r\n                \"amount_total\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-01-25 12:55:53\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 25 Jan 2024 08:20:36 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=2a0uo3rk%2BCmZ9i9XpO5oBxNmfSDE3xNKgOFFBDONV%2B3%2BQmRgiMZqIvvc3LO3uLlQfYW0dmLqZEHVTPHW8UY7huG98woT2d1tpKnwiFeLd%2BfnUa7T4vZ4loZooG3gsxOKMNZTM92GxAR0oFEEkw%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"84af190c08603c93-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1706169376942,\n    \"dt\": 10\n}"}],"_postman_id":"da4991c8-725f-4128-9496-a623a59856c4"}],"id":"24abeb1f-b14e-442d-a07e-689cd5085e6a","_postman_id":"24abeb1f-b14e-442d-a07e-689cd5085e6a","description":""}],"id":"85adb1bf-777e-4216-8c50-545ae4827c69","_postman_id":"85adb1bf-777e-4216-8c50-545ae4827c69","description":""},{"name":"Reports","item":[{"name":"All Reports","item":[{"name":"New Request","id":"801c8905-1357-4c64-b8ce-bb927bd28cfa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-26012024\">Request added on: 26/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"801c8905-1357-4c64-b8ce-bb927bd28cfa"},{"name":"New Request","id":"13e4e3fb-8658-43a3-8f19-4f23fcdaf40e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"13e4e3fb-8658-43a3-8f19-4f23fcdaf40e"}],"id":"979457de-6231-43fa-b4cd-51a08f5593df","_postman_id":"979457de-6231-43fa-b4cd-51a08f5593df","description":""},{"name":"Aged Receivables Details","item":[{"name":"New Request","id":"0c9566e5-bfdd-4f3d-81e8-d10db4d55b8e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"0c9566e5-bfdd-4f3d-81e8-d10db4d55b8e"},{"name":"New Request","id":"143722e0-1309-4903-ab1a-71862be0ad26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"143722e0-1309-4903-ab1a-71862be0ad26"}],"id":"235305db-f1a8-4ca5-944b-39230c3429bd","_postman_id":"235305db-f1a8-4ca5-944b-39230c3429bd","description":""},{"name":"Aged Payables Details","item":[{"name":"New Request","id":"7964c0bf-1784-4c76-82e5-07e53c5a8cc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"7964c0bf-1784-4c76-82e5-07e53c5a8cc3"},{"name":"New Request","id":"10242ab4-33cb-4f56-adca-80030f1c30c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"10242ab4-33cb-4f56-adca-80030f1c30c2"}],"id":"72400c75-7127-430e-8957-298c2fa372cf","_postman_id":"72400c75-7127-430e-8957-298c2fa372cf","description":""},{"name":"Profit & Loss","item":[{"name":"New Request","id":"f4227ce2-5f87-49bf-9222-bf5fcb3b0281","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"f4227ce2-5f87-49bf-9222-bf5fcb3b0281"},{"name":"New Request","id":"68c034fd-6e7a-41df-8097-06d958eec643","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"68c034fd-6e7a-41df-8097-06d958eec643"}],"id":"4f5a80a9-bcbd-4daa-a3fb-4f5dbf86c70b","_postman_id":"4f5a80a9-bcbd-4daa-a3fb-4f5dbf86c70b","description":""},{"name":"Balance Sheet","item":[{"name":"New Request","id":"4f25244f-693d-42e2-972d-4fb12e9b874e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"4f25244f-693d-42e2-972d-4fb12e9b874e"},{"name":"New Request","id":"5f876ef7-7edc-4e34-885e-220c140f85b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"5f876ef7-7edc-4e34-885e-220c140f85b0"}],"id":"184b4af4-3391-4ec8-aca3-3e3cc02ed1dd","_postman_id":"184b4af4-3391-4ec8-aca3-3e3cc02ed1dd","description":""},{"name":"Cash Flow Statement","item":[{"name":"New Request","id":"3880f134-5c6d-4be3-a641-0d67aa4b5fa5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"3880f134-5c6d-4be3-a641-0d67aa4b5fa5"},{"name":"New Request","id":"3d10efc8-ba3f-4d1d-ba70-29621aa9171a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"3d10efc8-ba3f-4d1d-ba70-29621aa9171a"}],"id":"da4d1215-9dd3-4f1a-bf26-4159a4bcbd46","_postman_id":"da4d1215-9dd3-4f1a-bf26-4159a4bcbd46","description":""},{"name":"Trial Balance","item":[{"name":"New Request","id":"51920508-aeef-4d9b-b1b9-70bd5a9b4a0b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"51920508-aeef-4d9b-b1b9-70bd5a9b4a0b"},{"name":"New Request","id":"60467955-7b37-4482-a641-6ddafc4f0e50","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"60467955-7b37-4482-a641-6ddafc4f0e50"}],"id":"84e48b70-ff71-40bc-9e6d-5c15837075c1","_postman_id":"84e48b70-ff71-40bc-9e6d-5c15837075c1","description":""},{"name":"Journal Report","item":[{"name":"New Request","id":"d6ac326a-301f-40de-8691-61dfc7f01367","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"d6ac326a-301f-40de-8691-61dfc7f01367"},{"name":"New Request","id":"495f5c2a-07a7-40be-b354-f7fdd9ef391c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"495f5c2a-07a7-40be-b354-f7fdd9ef391c"}],"id":"9eb9aa86-d61b-4cc0-941a-87da3d888cb8","_postman_id":"9eb9aa86-d61b-4cc0-941a-87da3d888cb8","description":""},{"name":"Account Transactions","item":[{"name":"New Request","id":"590408d3-284a-40a0-bbd2-68f35f099e67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"590408d3-284a-40a0-bbd2-68f35f099e67"},{"name":"New Request","id":"009a054d-d66f-4f18-97b5-9f5530485715","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"009a054d-d66f-4f18-97b5-9f5530485715"}],"id":"e0a34009-c35a-42b5-964b-1ea8b4a41164","_postman_id":"e0a34009-c35a-42b5-964b-1ea8b4a41164","description":""},{"name":"Customer Statement","item":[{"name":"New Request","id":"4c8847d6-6998-4e7c-bb57-f04cb4238fee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"4c8847d6-6998-4e7c-bb57-f04cb4238fee"},{"name":"New Request","id":"4c7ede43-5a57-4f27-86e2-b2550f333297","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"4c7ede43-5a57-4f27-86e2-b2550f333297"}],"id":"9ff398ba-b7b5-4a12-bed6-432e6fe6f5e8","_postman_id":"9ff398ba-b7b5-4a12-bed6-432e6fe6f5e8","description":""},{"name":"General Ledger Summary","item":[{"name":"New Request","id":"28f84caf-43aa-4f48-a2a3-c3fa1760b899","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"28f84caf-43aa-4f48-a2a3-c3fa1760b899"},{"name":"New Request","id":"45d35381-9c42-43fe-842f-bad6a922336b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"45d35381-9c42-43fe-842f-bad6a922336b"}],"id":"c963e24d-ac1c-401d-b119-7911844083b2","_postman_id":"c963e24d-ac1c-401d-b119-7911844083b2","description":""},{"name":"General Ledger Details","item":[{"name":"New Request","id":"977dcdbb-3bef-4bfd-8c97-b93ad557c589","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"977dcdbb-3bef-4bfd-8c97-b93ad557c589"},{"name":"New Request","id":"87781fc1-3e57-49d3-ac42-8bf557741259","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"87781fc1-3e57-49d3-ac42-8bf557741259"}],"id":"3dfcb45f-fc25-42a9-bb48-eb29c9a9966b","_postman_id":"3dfcb45f-fc25-42a9-bb48-eb29c9a9966b","description":""},{"name":"Tax Monthly Report","item":[{"name":"New Request","id":"5eb88b65-9c41-497b-bf0f-c3d8be1d2dc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"5eb88b65-9c41-497b-bf0f-c3d8be1d2dc6"},{"name":"New Request","id":"2d1b3b55-361a-4190-8505-fa8a3ddb5d21","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"2d1b3b55-361a-4190-8505-fa8a3ddb5d21"}],"id":"20e7c59e-4402-458f-8182-4f8e6a771c39","_postman_id":"20e7c59e-4402-458f-8182-4f8e6a771c39","description":""},{"name":"Tax Audit Report","item":[{"name":"New Request","id":"201129ab-0039-48c6-b41e-713097732123","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"201129ab-0039-48c6-b41e-713097732123"},{"name":"New Request","id":"f04fd615-0698-4276-ba57-ba0293ab3409","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"f04fd615-0698-4276-ba57-ba0293ab3409"}],"id":"9138eba8-025b-4a23-9427-b22b4be34ed7","_postman_id":"9138eba8-025b-4a23-9427-b22b4be34ed7","description":""},{"name":"Invoice Analysis","item":[{"name":"New Request","id":"0612f0cc-6e86-48e6-8bd9-e3ac0b6f83d7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"0612f0cc-6e86-48e6-8bd9-e3ac0b6f83d7"},{"name":"New Request","id":"50476744-fa3e-41a7-81c1-358179d46613","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"50476744-fa3e-41a7-81c1-358179d46613"}],"id":"90174cb8-f520-4cdc-954c-078568a98b42","_postman_id":"90174cb8-f520-4cdc-954c-078568a98b42","description":""},{"name":"Invoice Line Analysis","item":[{"name":"New Request","id":"0364bf5a-c1b9-4289-8254-ca9b20c68121","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"0364bf5a-c1b9-4289-8254-ca9b20c68121"},{"name":"New Request","id":"54fa79d8-aa2e-41ea-b882-239c12d3faef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"54fa79d8-aa2e-41ea-b882-239c12d3faef"}],"id":"30c63c3c-3bbf-4f2e-be04-6f8adb688e97","_postman_id":"30c63c3c-3bbf-4f2e-be04-6f8adb688e97","description":""},{"name":"Payment Analysis","item":[{"name":"New Request","id":"0ff530a0-628d-46e2-bd31-8e6bd356b785","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"0ff530a0-628d-46e2-bd31-8e6bd356b785"},{"name":"New Request","id":"ed560713-e4ce-434a-b221-e3dd85eb15f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"ed560713-e4ce-434a-b221-e3dd85eb15f1"}],"id":"d0df255e-a1a6-4d1c-a30d-c2d9212c426f","_postman_id":"d0df255e-a1a6-4d1c-a30d-c2d9212c426f","description":""}],"id":"2d02a5a9-45bd-47c3-bd2e-0b6e908fafe4","_postman_id":"2d02a5a9-45bd-47c3-bd2e-0b6e908fafe4","description":""},{"name":"Other","item":[{"name":"Journal Entries","item":[{"name":"New Request","id":"fde0aa7a-b814-4e17-8089-d71431a4fa3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"fde0aa7a-b814-4e17-8089-d71431a4fa3e"},{"name":"New Request","id":"3ea9b2b3-2e0f-4b53-b771-9bfbf8fb6688","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"3ea9b2b3-2e0f-4b53-b771-9bfbf8fb6688"}],"id":"90b0c550-1a6d-44d1-8fb4-845f2fbb871b","_postman_id":"90b0c550-1a6d-44d1-8fb4-845f2fbb871b","description":""},{"name":"Ledger Entries","item":[{"name":"New Request","id":"3411fe33-a316-4e10-8af9-64866c3f1a93","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"3411fe33-a316-4e10-8af9-64866c3f1a93"},{"name":"New Request","id":"4506fde0-5024-4d43-9c90-82464873d5b0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"4506fde0-5024-4d43-9c90-82464873d5b0"}],"id":"cfe82b59-e1b0-4e64-ac0a-8a14c203f4cc","_postman_id":"cfe82b59-e1b0-4e64-ac0a-8a14c203f4cc","description":""},{"name":"Fixed Assets","item":[{"name":"New Request","id":"8b68d6ac-ca55-4cc6-b7e1-c91520884a1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"8b68d6ac-ca55-4cc6-b7e1-c91520884a1a"},{"name":"New Request","id":"6d768b55-be4c-4236-9c6e-1bd9479da8ca","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"6d768b55-be4c-4236-9c6e-1bd9479da8ca"}],"id":"fe051280-2a0c-474d-b79e-c90c3df5eb9c","_postman_id":"fe051280-2a0c-474d-b79e-c90c3df5eb9c","description":""},{"name":"Budgets","item":[{"name":"New Request","id":"b3c1101f-e071-4a36-b2f5-26ad3930e221","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"b3c1101f-e071-4a36-b2f5-26ad3930e221"},{"name":"New Request","id":"9d439cb0-ce2a-4a50-9861-0ae34040b8c6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"9d439cb0-ce2a-4a50-9861-0ae34040b8c6"}],"id":"f223a680-e37f-4786-9064-134f0bf78add","_postman_id":"f223a680-e37f-4786-9064-134f0bf78add","description":""},{"name":"Tracking Entries","item":[{"name":"New Request","id":"0b65b936-c0a4-40f2-9d88-b480f3e68973","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"0b65b936-c0a4-40f2-9d88-b480f3e68973"},{"name":"New Request","id":"ebdf38af-bd2d-40be-991f-5144ec7eb1ce","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"ebdf38af-bd2d-40be-991f-5144ec7eb1ce"}],"id":"89fb61e4-455f-4a5a-83f8-17cc78d9890a","_postman_id":"89fb61e4-455f-4a5a-83f8-17cc78d9890a","description":""},{"name":"Account Reconciliation","item":[{"name":"New Request","id":"f4a03afd-230a-4373-8417-e75c33c69bc3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"f4a03afd-230a-4373-8417-e75c33c69bc3"},{"name":"New Request","id":"fe3d158b-b0cd-4674-a89f-a90d38ed9aa3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"fe3d158b-b0cd-4674-a89f-a90d38ed9aa3"}],"id":"6f00b6ca-6af3-4e91-aa9b-f69ddfad2085","_postman_id":"6f00b6ca-6af3-4e91-aa9b-f69ddfad2085","description":""},{"name":"Year End","item":[{"name":"New Request","id":"2b0928f1-88ce-4573-ba5a-07b88bb6f789","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"2b0928f1-88ce-4573-ba5a-07b88bb6f789"},{"name":"New Request","id":"3e23a1d9-1a10-4e0b-b960-4b22e2559bba","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"3e23a1d9-1a10-4e0b-b960-4b22e2559bba"}],"id":"35758390-573d-427c-95e6-a780fe817526","_postman_id":"35758390-573d-427c-95e6-a780fe817526","description":""}],"id":"33952163-87d0-45c3-99d9-f964416f080d","_postman_id":"33952163-87d0-45c3-99d9-f964416f080d","description":""},{"name":"Settings","item":[{"name":"Financial Settings","item":[{"name":"New Request","id":"ee87a76a-58c9-4676-8c05-239a56389d6a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"ee87a76a-58c9-4676-8c05-239a56389d6a"},{"name":"New Request","id":"9535ce87-8a3b-4cf8-a68c-c1e62b9f64df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"9535ce87-8a3b-4cf8-a68c-c1e62b9f64df"}],"id":"a771d37d-9dc9-4808-8b55-f31cf231ab31","_postman_id":"a771d37d-9dc9-4808-8b55-f31cf231ab31","description":""},{"name":"Chart of Accounts","item":[{"name":"New Request","id":"ff355215-90b3-4d08-b541-76a25dac1dd4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"ff355215-90b3-4d08-b541-76a25dac1dd4"},{"name":"New Request","id":"85826bb4-cf53-46da-ae9e-fa8453f78ae9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"85826bb4-cf53-46da-ae9e-fa8453f78ae9"}],"id":"ecb32f67-496b-462f-95e4-09baeecbad82","_postman_id":"ecb32f67-496b-462f-95e4-09baeecbad82","description":""},{"name":"Fixed Asset Types","item":[{"name":"New Request","id":"8aa877b4-655f-488c-8e00-a50675f3eac0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"8aa877b4-655f-488c-8e00-a50675f3eac0"},{"name":"New Request","id":"f364854a-52bc-4d03-9cf0-52f75f2c9e08","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"f364854a-52bc-4d03-9cf0-52f75f2c9e08"}],"id":"3e6734e5-2759-4100-8807-c9349ed2a861","_postman_id":"3e6734e5-2759-4100-8807-c9349ed2a861","description":""},{"name":"Journals","item":[{"name":"New Request","id":"7e0f85a3-d450-47ab-a668-471353866e7b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"7e0f85a3-d450-47ab-a668-471353866e7b"},{"name":"New Request","id":"30841f91-fd92-4183-912d-b496dce8c32e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"30841f91-fd92-4183-912d-b496dce8c32e"}],"id":"83ef30c7-164b-4bac-a04c-2aac93a1bcff","_postman_id":"83ef30c7-164b-4bac-a04c-2aac93a1bcff","description":""},{"name":"Tax Rates","item":[{"name":"New Request","id":"f7def29d-0165-4a86-b151-7869ffe0d626","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"f7def29d-0165-4a86-b151-7869ffe0d626"},{"name":"New Request","id":"d5035246-08f1-43ad-a504-22c21702f73b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"d5035246-08f1-43ad-a504-22c21702f73b"}],"id":"b300523a-7261-4f04-8203-987d8c4ac7aa","_postman_id":"b300523a-7261-4f04-8203-987d8c4ac7aa","description":""},{"name":"Currencies","item":[{"name":"New Request","id":"6066c590-89b2-4e9b-a97c-51c5e00681cb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"6066c590-89b2-4e9b-a97c-51c5e00681cb"},{"name":"New Request","id":"e4eca777-1091-4dbc-963c-0861244bb0b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"e4eca777-1091-4dbc-963c-0861244bb0b5"}],"id":"36d2009a-6e8d-4bb3-95f8-81775a67e62c","_postman_id":"36d2009a-6e8d-4bb3-95f8-81775a67e62c","description":""},{"name":"Tracking Categories","item":[{"name":"New Request","id":"1a57a910-6c66-4b4f-bb2c-798e143ca0fa","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"1a57a910-6c66-4b4f-bb2c-798e143ca0fa"},{"name":"New Request","id":"a23cd5b6-2f66-48ff-bed7-aec8593cd8b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"a23cd5b6-2f66-48ff-bed7-aec8593cd8b8"}],"id":"ea224a0c-cc0a-4d3a-a9b8-acd8adab8b7f","_postman_id":"ea224a0c-cc0a-4d3a-a9b8-acd8adab8b7f","description":""},{"name":"Tracking Distributions","item":[{"name":"New Request","id":"1bfde02a-169b-42ba-a4a8-bd13d8adbf1d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"1bfde02a-169b-42ba-a4a8-bd13d8adbf1d"},{"name":"New Request","id":"8208a344-7b94-4abc-a6cb-75451a70a19c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"8208a344-7b94-4abc-a6cb-75451a70a19c"}],"id":"e31c8652-784e-4510-a026-84185a0641d7","_postman_id":"e31c8652-784e-4510-a026-84185a0641d7","description":""},{"name":"Payment Methods","item":[{"name":"New Request","id":"395f2791-3145-4c6e-99c5-400473004577","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"395f2791-3145-4c6e-99c5-400473004577"},{"name":"New Request","id":"877e1d3d-846f-4489-8b84-eae72205a451","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"877e1d3d-846f-4489-8b84-eae72205a451"}],"id":"15d96b8b-2e02-417c-85d7-c86a3aa304b6","_postman_id":"15d96b8b-2e02-417c-85d7-c86a3aa304b6","description":""},{"name":"Payment Terms","item":[{"name":"New Request","id":"1e910ddf-b48d-4c71-926c-d22c954a3c89","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"1e910ddf-b48d-4c71-926c-d22c954a3c89"},{"name":"New Request","id":"b0791d51-cf5b-4046-8c3d-87808950029c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"b0791d51-cf5b-4046-8c3d-87808950029c"}],"id":"0361dd35-66a3-49b8-95f2-d38c402c7e18","_postman_id":"0361dd35-66a3-49b8-95f2-d38c402c7e18","description":""},{"name":"Conversion Balances","item":[{"name":"New Request","id":"bc6c1aa9-a68d-4bad-8d9b-407560afdc63","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"bc6c1aa9-a68d-4bad-8d9b-407560afdc63"},{"name":"New Request","id":"d5f74d3c-91ee-4b60-931c-b797759d55f6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"d5f74d3c-91ee-4b60-931c-b797759d55f6"}],"id":"80727277-d217-4156-9fc1-ce1a41c7f50d","_postman_id":"80727277-d217-4156-9fc1-ce1a41c7f50d","description":""},{"name":"Bank Feeds","item":[{"name":"New Request","id":"30d0deaa-3a9e-4787-8141-633dbd1b5474","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"30d0deaa-3a9e-4787-8141-633dbd1b5474"},{"name":"New Request","id":"7f75e589-e2a4-49fd-b506-dd2c142cf4f5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-00122023\">Request added on: 00/12/2023</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"7f75e589-e2a4-49fd-b506-dd2c142cf4f5"}],"id":"297d1900-7bd1-45a7-ba62-25f22b213a8a","_postman_id":"297d1900-7bd1-45a7-ba62-25f22b213a8a","description":""}],"id":"2098327c-6ad7-4b32-b4db-23d915f1b745","_postman_id":"2098327c-6ad7-4b32-b4db-23d915f1b745","description":""}],"id":"33b5e10f-ecd5-4b55-8529-9aa7b8e93152","_postman_id":"33b5e10f-ecd5-4b55-8529-9aa7b8e93152","description":""},{"name":"TimeSheet","item":[{"name":"Timesheet Submission","item":[{"name":"params/inline.help/search_read","id":"c6150a71-0423-46d0-9a12-2700f758759f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not A(Brand\";v=\"99\", \"Google Chrome\";v=\"121\", \"Chromium\";v=\"121\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1706717611968,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"new_times_sheet\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-ARL3KD7Y\",\r\n            \"show_pass\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1706716889|964a630ae4e49044162c2ec2ba4bdcade17f4b6b\",\r\n            \"company_id\": \"1\",\r\n            \"last_activ_time\": \"2024-01-31 21:02:52\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-31012024\">Request added on: 31/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"inline.help\",<br />\"search_read\",<br />[<br />[<br />[<br />\"action\",<br />\"=\",<br />\"new_times_sheet\"<br />]<br />]<br />],<br />{},</strong></p>\n<ol>\n<li><p><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to providing inline help or assistance within the system.</p>\n</li>\n<li><p><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria. It allows you to search for records and read their data.</p>\n</li>\n<li><p>The third parameter is a list containing a single list: <strong>[ [ [ \"action\", \"=\", \"new_times_sheet\" ] ] ]</strong>. Breaking it down:</p>\n<ol>\n<li><p>Outermost list: Indicates one condition for the search.</p>\n</li>\n<li><p>Middle list: Contains the actual condition.</p>\n</li>\n<li><p>Innermost list: Specifies that the field \"action\" should be equal to \"new_times_sheet.\" This conditions the search to records where the \"action\" attribute has the value \"new_times_sheet.\"</p>\n</li>\n<li><p>Components of the search criteria:</p>\n<ol>\n<li><p><strong>\"action\"</strong>: Represents a field or attribute in the system. In this case, it is likely a field named \"action.\"</p>\n</li>\n<li><p><strong>\"=\"</strong>: Represents the comparison operator. It checks for equality.</p>\n</li>\n<li><p><strong>\"new_times_sheet\"</strong>: Represents the value that the \"action\" field should be equal to. It specifies a condition that the \"action\" field must have the value \"new_times_sheet\" for a record to be considered a match.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is an empty dictionary <strong>{}</strong>: In the context of this request, it indicates that no additional options or context information is provided.</p>\n</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity. It aims to retrieve records that match the criteria of having the \"action\" equal to \"new_times_sheet.\" No specific fields are requested for retrieval, and no additional context is provided in this request. The purpose is likely to gather information or assistance related to creating new timesheets within the system.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"e9b2d5c6-9613-4f97-a8c7-389cfa7e5bd6","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not A(Brand\";v=\"99\", \"Google Chrome\";v=\"121\", \"Chromium\";v=\"121\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1706717611968,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"new_times_sheet\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-ARL3KD7Y\",\r\n            \"show_pass\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1706716889|964a630ae4e49044162c2ec2ba4bdcade17f4b6b\",\r\n            \"company_id\": \"1\",\r\n            \"last_activ_time\": \"2024-01-31 21:02:52\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 31 Jan 2024 16:28:39 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=hryed25IwgJxSd3y3WcqF4p6w0%2FDGELJRUUvqWo9jFX3k9gV3G0K6%2FWKaYCBEYmofTiDFEP%2BcHhM%2Bxpn%2F3wBd6SX%2B1FPxYWBZFQNKVmdBGdpE5zmR8yXoJYhgoB7Ya55EvPd6qBaFot37v0HYA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"84e35435a8613c83-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1706717611968,\n    \"dt\": 6\n}"}],"_postman_id":"c6150a71-0423-46d0-9a12-2700f758759f"},{"name":"params/times_sheet/search_read","id":"3fb8b133-5a68-46b3-b914-cf28c0d149de","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1707116242566,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"times_sheet\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"number\",\r\n                \"timesheet_type\",\r\n                \"submission_date\",\r\n                \"employee\",\r\n                \"customer_name\",\r\n                \"job_reference\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-02-05 11:54:30\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-31012024\">Request added on: 31/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"times_sheet\",<br />\"search_read\",<br />[<br />[],<br />[<br />\"number\",<br />\"timesheet_type\",<br />\"submission_date\",<br />\"employee\",<br />\"customer_name\",<br />\"job_reference\",<br />\"state\"<br />]<br />],<br />{<br />\"count\": true,<br />\"order\": null,<br />\"offset\": 0,<br />\"limit\": 100,<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"times_sheet\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to timesheets.</p>\n</li>\n<li><p><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria.</p>\n</li>\n<li><p>The third parameter is a list containing two lists:</p>\n<ol>\n<li><p><strong>List 1: []</strong> - Indicates that there are no specific conditions specified for filtering the records. The absence of conditions implies that the request might be designed to retrieve a broader set of data, possibly all timesheets.</p>\n</li>\n<li><p><strong>List 2: [\"number\", \"timesheet_type\", \"submission_date\", \"employee\", \"customer_name\", \"job_reference\", \"state\"]</strong> - Specifies the fields to be retrieved. It indicates that the search result should include values for these fields.</p>\n<ol>\n<li><p><strong>\"number\"</strong>: This field likely represents a unique identifier or reference number associated with each timesheet. It serves as a unique identifier for each record.</p>\n</li>\n<li><p><strong>\"timesheet_type\"</strong>: This field may represent the type or category of the timesheet, indicating the nature of the work or activities recorded in the timesheet. It provides information about the classification of the timesheet.</p>\n</li>\n<li><p><strong>\"submission_date\"</strong>: This field likely represents the date when the timesheet was submitted or recorded. It indicates the timestamp when the timesheet data was entered or finalized.</p>\n</li>\n<li><p><strong>\"employee\"</strong>: This field likely represents information about the employee associated with the timesheet, such as the employee's name or identifier. It provides details about the individual who recorded the timesheet.</p>\n</li>\n<li><p><strong>\"customer_name\"</strong>: This field may represent the name of the customer or client associated with the timesheet. It indicates the client or project to which the timesheet is related.</p>\n</li>\n<li><p><strong>\"job_reference\"</strong>: This field likely represents a reference or identifier associated with the specific job or project for which the timesheet was recorded. It provides a linkage to the job or project.</p>\n</li>\n<li><p><strong>\"state\"</strong>: This field may represent the current state or status of the timesheet, indicating whether it is approved, pending, or in another state. It reflects the workflow or approval status of the timesheet.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with additional options:</p>\n<ol>\n<li><p><strong>\"count\": true</strong> - Indicates that the count of matching records should be included in the response.</p>\n</li>\n<li><p><strong>\"order\": null</strong> - Implies that there is no specific order specified for the retrieved records.</p>\n</li>\n<li><p><strong>\"offset\": 0</strong> - Specifies the starting position or offset for retrieving records. In this case, it starts from the beginning (0).</p>\n</li>\n<li><p><strong>\"limit\": 100</strong> - Specifies the maximum number of records to be retrieved. In this case, it is set to 100.</p>\n</li>\n<li><p><strong>\"context\": {}</strong> - An empty dictionary indicating that no additional context information is provided.</p>\n</li>\n</ol>\n</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing a search and read operation within the \"times_sheet\" entity. It aims to retrieve records, possibly all timesheets, and specifies the fields to be included in the search results. The additional options indicate that the count of matching records should be included, there is no specific order, and it specifies limits for the number of records to be retrieved. The purpose is likely to obtain summarized information about timesheets, including details like numbers, types, submission dates, employee information, customer names, job references, and states.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"2021d9a9-9d54-416c-901d-2c2c1e25481f","name":"params/times_sheet/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1707116242566,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"times_sheet\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"number\",\r\n                \"timesheet_type\",\r\n                \"submission_date\",\r\n                \"employee\",\r\n                \"customer_name\",\r\n                \"job_reference\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-02-05 11:54:30\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"Method Not Allowed","code":405,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 05 Feb 2024 07:04:54 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=jF32NavAo83A5x7pZcJFilGrA6xfAC3NOi53E6qQQyoJivlpDqVEaThVqxWjNeXp9GGltoAjwRJtWw6gZBKtmUWL64n9LOMZyAlYKhDzujL97eiLQwyj6%2FqBmgyl%2FnSFLVKRLGuSxXcHlFyDHg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"85094d48eb0e99a8-CDG"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"<html>\n    <title>405: Method Not Allowed</title>\n    <body>405: Method Not Allowed</body>\n</html>"}],"_postman_id":"3fb8b133-5a68-46b3-b914-cf28c0d149de"}],"id":"f533436b-4123-42b2-8071-9447598b5348","_postman_id":"f533436b-4123-42b2-8071-9447598b5348","description":""},{"name":"Reports","item":[{"name":"Time Sheet Analysis","item":[{"name":"params/times_sheet/search_read_path","id":"5b39f59e-5994-4f61-9502-769531ffed64","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not A(Brand\";v=\"99\", \"Google Chrome\";v=\"121\", \"Chromium\";v=\"121\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1706804710561,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"times_sheet\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"number\",\r\n                \"timesheet_type\",\r\n                \"submission_date\",\r\n                \"employee\",\r\n                \"customer_name\",\r\n                \"normal_hours\",\r\n                \"site_name\",\r\n                \"job_reference\",\r\n                \"position\",\r\n                \"department\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-ARL3KD7Y\",\r\n            \"show_pass\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"company_id\": \"1\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1706716889|964a630ae4e49044162c2ec2ba4bdcade17f4b6b\",\r\n            \"user_id\": \"106\",\r\n            \"last_activ_time\": \"2024-02-01 21:24:52\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-01022024\">Request added on: 01/02/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"times_sheet\",<br />\"search_read_path\",<br />[<br />[],<br />[<br />\"number\",<br />\"timesheet_type\",<br />\"submission_date\",<br />\"employee\",<br />\"customer_name\",<br />\"normal_hours\",<br />\"site_name\",<br />\"job_reference\",<br />\"position\",<br />\"department\",<br />\"state\"<br />]<br />],<br />{<br />\"count\": true,<br />\"limit\": 1000,<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"times_sheet\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to timesheets.</p>\n</li>\n<li><p><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria.</p>\n</li>\n<li><p>The corrected third parameter is a list containing two lists:</p>\n<ol>\n<li><p><strong>List 1: []</strong> - Indicates that there are no specific conditions specified for filtering the records. The absence of conditions implies that the request might be designed to retrieve a broader set of data, possibly all timesheets.</p>\n</li>\n<li><p><strong>List 2: [\"number\", \"timesheet_type\", \"submission_date\", \"employee\", \"customer_name\", \"normal_hours\", \"site_name\", \"job_reference\", \"position\", \"department\", \"state\"]</strong> - Specifies the fields to be retrieved. It indicates that the search result should include values for these fields</p>\n<ol>\n<li><p><strong>\"number\"</strong>: This field likely represents a unique identifier or reference number associated with each timesheet.</p>\n</li>\n<li><p><strong>\"timesheet_type\"</strong>: This field may represent the type or category of the timesheet, indicating the nature of the work or activities recorded in the timesheet.</p>\n</li>\n<li><p><strong>\"submission_date\"</strong>: This field likely represents the date when the timesheet was submitted or recorded.</p>\n</li>\n<li><p><strong>\"employee\"</strong>: This field likely represents information about the employee associated with the timesheet, such as the employee's name or identifier.</p>\n</li>\n<li><p><strong>\"customer_name\"</strong>: This field may represent the name of the customer or client associated with the timesheet.</p>\n</li>\n<li><p><strong>\"normal_hours\"</strong>: This field likely represents the number of normal hours recorded in the timesheet.</p>\n</li>\n<li><p><strong>\"site_name\"</strong>: This field may represent the name or identifier of the site associated with the timesheet.</p>\n</li>\n<li><p><strong>\"job_reference\"</strong>: This field likely represents a reference or identifier associated with the specific job or project for which the timesheet was recorded.</p>\n</li>\n<li><p><strong>\"position\"</strong>: This field may represent the job position or role of the employee associated with the timesheet.</p>\n</li>\n<li><p><strong>\"department\"</strong>: This field likely represents the department or organizational unit associated with the timesheet.</p>\n</li>\n<li><p><strong>\"state\"</strong>: This field may represent the current state or status of the timesheet, indicating whether it is approved, pending, or in another state.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with additional options:</p>\n<ol>\n<li><p><strong>\"count\": true</strong> - Indicates that the count of matching records should be included in the response.</p>\n</li>\n<li><p><strong>\"limit\": 1000</strong> - Specifies the maximum number of records to be retrieved. In this case, it is set to 1000.</p>\n</li>\n<li><p><strong>\"context\": {}</strong> - An empty dictionary indicating that no additional context information is provided.</p>\n</li>\n</ol>\n</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing a search and read operation within the \"times_sheet\" entity. It aims to retrieve records, possibly all timesheets, and specifies the fields to be included in the search results. The additional options indicate that the count of matching records should be included, and it specifies a limit of 1000 records to be retrieved. The purpose is likely to obtain information about timesheets within the system, including details like numbers, types, submission dates, employee information, customer names, hours, site names, job references, positions, departments, and states.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"19a2cbbf-5400-4eed-954c-af32477b3505","name":"params/times_sheet/search_read_path","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not A(Brand\";v=\"99\", \"Google Chrome\";v=\"121\", \"Chromium\";v=\"121\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1706804710561,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"times_sheet\",\r\n        \"search_read_path\",\r\n        [\r\n            [],\r\n            [\r\n                \"number\",\r\n                \"timesheet_type\",\r\n                \"submission_date\",\r\n                \"employee\",\r\n                \"customer_name\",\r\n                \"normal_hours\",\r\n                \"site_name\",\r\n                \"job_reference\",\r\n                \"position\",\r\n                \"department\",\r\n                \"state\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"limit\": 1000,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-ARL3KD7Y\",\r\n            \"show_pass\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"company_id\": \"1\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1706716889|964a630ae4e49044162c2ec2ba4bdcade17f4b6b\",\r\n            \"user_id\": \"106\",\r\n            \"last_activ_time\": \"2024-02-01 21:24:52\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 01 Feb 2024 16:36:42 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=E%2B0sLyebx4UUzPJb%2Fr2RH71GVPaJM5gqOFkWczrD%2FGdM9d97bFqJBgKM79TBtPguk7UtwB93H1cSj7QmB3NjxQljLMVA5lNR1YRVsHBHcrLPj9KxvHpGsN1K5fORMWS0yXh1XHmArLP4T8pZbA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"84eb9d63ecbf2285-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [\n            {\n                \"id\": 1,\n                \"site_name\": null,\n                \"state\": \"draft\",\n                \"timesheet_type\": \"internal\",\n                \"number\": \"test\",\n                \"job_reference\": \"test\",\n                \"position\": null,\n                \"employee\": 2,\n                \"submission_date\": \"2023-10-03\",\n                \"department\": null,\n                \"customer_name\": 1085,\n                \"normal_hours\": 0\n            },\n            {\n                \"id\": 2,\n                \"site_name\": null,\n                \"state\": \"draft\",\n                \"timesheet_type\": \"internal\",\n                \"number\": \"TEST\",\n                \"job_reference\": null,\n                \"position\": null,\n                \"employee\": null,\n                \"submission_date\": null,\n                \"department\": null,\n                \"customer_name\": null,\n                \"normal_hours\": 0\n            }\n        ],\n        2\n    ],\n    \"error\": null,\n    \"id\": 1706804710561,\n    \"dt\": 33\n}"}],"_postman_id":"5b39f59e-5994-4f61-9502-769531ffed64"},{"name":"params/report.custom/search_read","id":"5242d93d-03fa-40b0-97cb-fddbf232efb2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1707117568776,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"times_sheet\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-02-05 12:19:08\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-01022024\">Request added on: 01/02/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"report.custom\",<br />\"search_read\",<br />[<br />[<br />[<br />\"code\",<br />\"=\",<br />\"times_sheet\"<br />]<br />],<br />[<br />\"name\",<br />\"config\"<br />]<br />],<br />{},</strong></p>\n<ol>\n<li><p><strong>\"report.custom\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to custom reports.</p>\n</li>\n<li><p><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria.</p>\n</li>\n<li><p>The third parameter is a list containing two lists:</p>\n<ol>\n<li><p><strong>List 1: [ [ \"code\", \"=\", \"times_sheet\" ] ]</strong> - This list represents a condition for the search. Breaking it down:</p>\n<ol>\n<li><p>Outermost list: Indicates one condition for the search.</p>\n</li>\n<li><p>Innermost list: Specifies that the field \"code\" should be equal to \"times_sheet.\" This conditions the search to records where the \"code\" attribute has the value \"times_sheet.\"</p>\n<ol>\n<li><p><strong>\"code\"</strong>: This represents a field or attribute in the system. In this case, it is the \"code\" attribute.</p>\n</li>\n<li><p><strong>\"=\"</strong>: This is the comparison operator, indicating that the condition is checking for equality.</p>\n</li>\n<li><p><strong>\"times_sheet\"</strong>: This is the value that the \"code\" attribute should be equal to. The condition specifies that the \"code\" field must have the value \"times_sheet\" for a record to be considered a match.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>List 2: [\"name\", \"config\"]</strong> - Specifies the fields to be retrieved. It indicates that the search result should include values for these fields.</p>\n<ol>\n<li><p><strong>\"name\"</strong>: This represents another field or attribute in the system. It is the \"name\" attribute.</p>\n</li>\n<li><p><strong>\"config\"</strong>: This represents the value that the \"name\" attribute should be equal to. The condition specifies that the \"name\" field must have the value \"config\" for a record to be considered a match.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is an empty dictionary <strong>{}</strong>: In the context of this request, it indicates that no additional options or context information is provided.</p>\n</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing a search and read operation within the \"report.custom\" entity. It aims to retrieve records based on the specified conditions. The condition is that the \"code\" field should be equal to \"times_sheet.\" The fields to be retrieved include \"name\" and \"config.\" No specific context or additional options are provided in this request. The purpose is likely to obtain information about custom reports where the code is \"times_sheet,\" and the requested fields are \"name\" and \"config.\"</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"3a749b54-59f2-44a0-89c2-a80035c00dab","name":"params/report.custom/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not_A Brand\";v=\"8\", \"Chromium\";v=\"120\", \"Google Chrome\";v=\"120\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1707117568776,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"report.custom\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"code\",\r\n                    \"=\",\r\n                    \"times_sheet\"\r\n                ]\r\n            ],\r\n            [\r\n                \"name\",\r\n                \"config\"\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-QROG3AME\",\r\n            \"show_pass\": \"1\",\r\n            \"company_id\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"user_id\": \"106\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1690433812|f9d9c7281666f3c4cfd881bd3bc6b168bbee1627\",\r\n            \"_gcl_au\": \"1.1.1797035692.1704434178\",\r\n            \"_ga\": \"GA1.1.1621104321.1690867944\",\r\n            \"_ga_8cp2gcj1cl\": \"GS1.1.1705044328.6.1.1705047121.60.0.0\",\r\n            \"last_activ_time\": \"2024-02-05 12:19:08\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 05 Feb 2024 07:22:14 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=PU2I3gkupHoM%2FTTEgX2lafeCHWv2SiweNUtFTiXnvwiCtuMNKq0Wjo8%2FgNx9sDNcIrWr73GQ0j2DEtS%2BMKP%2FqWXEGPGqZ4KkMC6NNiKyN40aehov2iHTBu1u33wOXcXrRf%2B3e7iL%2F5VtaLI9Yg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"850966b019360481-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1707117568776,\n    \"dt\": 8\n}"}],"_postman_id":"5242d93d-03fa-40b0-97cb-fddbf232efb2"}],"id":"106b87e4-4860-4bd9-9ddc-7ee94c14ecc9","_postman_id":"106b87e4-4860-4bd9-9ddc-7ee94c14ecc9","description":""}],"id":"bd58af94-2e4c-4fa1-baf0-eed448f9934f","_postman_id":"bd58af94-2e4c-4fa1-baf0-eed448f9934f","description":""},{"name":"Settings","item":[{"name":"Site Name","item":[{"name":"params/inline.help/search_read","id":"f5739b99-f75d-4973-a1cd-df6520c53bf9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not A(Brand\";v=\"99\", \"Google Chrome\";v=\"121\", \"Chromium\";v=\"121\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1707134791244,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"site_name\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-ARL3KD7Y\",\r\n            \"show_pass\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"company_id\": \"1\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1706716889|964a630ae4e49044162c2ec2ba4bdcade17f4b6b\",\r\n            \"user_id\": \"106\",\r\n            \"last_activ_time\": \"2024-02-05 17:06:05\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-05022024\">Request added on: 05/02/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"inline.help\",<br />\"search_read\",<br />[<br />[<br />[<br />\"action\",<br />\"=\",<br />\"site_name\"<br />]<br />]<br />],<br />{},</strong></p>\n<ol>\n<li><p><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to inline help or assistance within the system.</p>\n</li>\n<li><p><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria.</p>\n</li>\n<li><p>The third parameter is a list containing one list:</p>\n<ol>\n<li><p><strong>List 1: [ [ \"action\", \"=\", \"site_name\" ] ]</strong> - This list represents a condition for the search. Breaking it down:</p>\n<ol>\n<li><p>Outermost list: Indicates one condition for the search.</p>\n</li>\n<li><p>Innermost list: Specifies that the field \"action\" should be equal to \"site_name.\" This conditions the search to records where the \"action\" attribute has the value \"site_name.\"</p>\n<ol>\n<li><p><strong>\"action\":</strong> This represents a field or attribute in the system. In this case, it is the \"action\" attribute.</p>\n</li>\n<li><p><strong>\"=\":</strong> This is the comparison operator, indicating that the condition is checking for equality.</p>\n</li>\n<li><p><strong>\"site_name\":</strong> This is the value that the \"action\" attribute should be equal to. The condition specifies that the \"action\" field must have the value \"site_name\" for a record to be considered a match.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is an empty dictionary <strong>{}</strong>: In the context of this request, it indicates that no additional options or context information is provided.</p>\n</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity. It aims to retrieve records based on the specified condition. The condition is that the \"action\" field should be equal to \"site_name.\" This suggests that the search is focused on obtaining information or assistance related to the \"site_name\" action within the system. No specific context or additional options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"1594fca1-4d22-4f02-a4f8-4304d0cb5e52","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not A(Brand\";v=\"99\", \"Google Chrome\";v=\"121\", \"Chromium\";v=\"121\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1707134791244,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"site_name\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-ARL3KD7Y\",\r\n            \"show_pass\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"company_id\": \"1\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1706716889|964a630ae4e49044162c2ec2ba4bdcade17f4b6b\",\r\n            \"user_id\": \"106\",\r\n            \"last_activ_time\": \"2024-02-05 17:06:05\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 05 Feb 2024 12:18:52 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=ZUWICsPcckDLpzoLliNn6R%2BxjRzOJd1nd2abb2j6UlSy4no9vb5KU81Jn2%2Fyy8YBL8zM7lxl%2FC1Byb70iA8I3LF%2BlMljMK1HQzyLm40i8Jy5Vkg%2FPG4JIspsziS9vFLG4OHuII2qLmItwSD2lg%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"850b19354cc33c93-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1707134791244,\n    \"dt\": 6\n}"}],"_postman_id":"f5739b99-f75d-4973-a1cd-df6520c53bf9"},{"name":"params/site.name/search_read","id":"b1ed1fe0-035a-4368-8ca7-b8ea54de8d65","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not A(Brand\";v=\"99\", \"Google Chrome\";v=\"121\", \"Chromium\";v=\"121\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1707134791249,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"site.name\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-ARL3KD7Y\",\r\n            \"show_pass\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"company_id\": \"1\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1706716889|964a630ae4e49044162c2ec2ba4bdcade17f4b6b\",\r\n            \"user_id\": \"106\",\r\n            \"last_activ_time\": \"2024-02-05 17:06:05\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-05022024\">Request added on: 05/02/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"site.name\",<br />\"search_read\",<br />[<br />[],<br />[<br />\"name\"<br />]<br />],<br />{<br />\"count\": true,<br />\"order\": null,<br />\"offset\": 0,<br />\"limit\": 100,<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"site.name\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to the \"site.name\" entity, possibly representing information about site names.</p>\n</li>\n<li><p><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria.</p>\n</li>\n<li><p>The third parameter is a list containing two lists:</p>\n<ol>\n<li><p><strong>List 1: []</strong> - Indicates that there are no specific conditions specified for filtering the records. The absence of conditions implies that the request might be designed to retrieve a broader set of data, possibly all site names.</p>\n</li>\n<li><p><strong>List 2: [\"name\"]</strong> - Specifies the fields to be retrieved. It indicates that the search result should include values for the \"name\" field.</p>\n</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with additional options:</p>\n<ol>\n<li><p><strong>\"count\": true</strong> - Indicates that the count of matching records should be included in the response.</p>\n</li>\n<li><p><strong>\"order\": null</strong> - Implies that there is no specific order specified for the retrieved records.</p>\n</li>\n<li><p><strong>\"offset\": 0</strong> - Specifies the starting position or offset for retrieving records. In this case, it starts from the beginning (0).</p>\n</li>\n<li><p><strong>\"limit\": 100</strong> - Specifies the maximum number of records to be retrieved. In this case, it is set to 100.</p>\n</li>\n<li><p><strong>\"context\": {}</strong> - An empty dictionary indicating that no additional context information is provided.</p>\n</li>\n</ol>\n</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing a search and read operation within the \"site.name\" entity. It aims to retrieve records, possibly all site names, and specifies the \"name\" field to be included in the search results. The additional options indicate that the count of matching records should be included, there is no specific order, and it specifies limits for the number of records to be retrieved. The purpose is likely to obtain summarized information about site names, including their count, and retrieve the \"name\" field for each site.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"64a65e95-c624-4b37-a2ad-349817576478","name":"params/site.name/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not A(Brand\";v=\"99\", \"Google Chrome\";v=\"121\", \"Chromium\";v=\"121\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1707134791249,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"site.name\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-ARL3KD7Y\",\r\n            \"show_pass\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"company_id\": \"1\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1706716889|964a630ae4e49044162c2ec2ba4bdcade17f4b6b\",\r\n            \"user_id\": \"106\",\r\n            \"last_activ_time\": \"2024-02-05 17:06:05\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 05 Feb 2024 12:31:44 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=%2BuMEssm7AkpE49v0BrhsuK4kDxOOkBgvXqwP2wHRlqcMUfJFEM27UaI%2FqF6oRxOGPPUZkh05BSsK7B4bKV1NeyVJGUmamCDpQmZjdEXx%2Bz7rNl9r%2BYH3HP67h2k5PldSsm52M%2BXxI9lxNjyRbA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"850b2c0fd8fc0485-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1707134791249,\n    \"dt\": 7\n}"}],"_postman_id":"b1ed1fe0-035a-4368-8ca7-b8ea54de8d65"}],"id":"ef40154d-50ec-4d3a-a59c-4939dd3c277c","_postman_id":"ef40154d-50ec-4d3a-a59c-4939dd3c277c","description":""},{"name":"Frequency","item":[{"name":"params/inline.help/search_read","id":"52070e4c-b2f3-4f15-ae2d-00033dfb5592","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not A(Brand\";v=\"99\", \"Google Chrome\";v=\"121\", \"Chromium\";v=\"121\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1707136590925,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"frequency\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-ARL3KD7Y\",\r\n            \"show_pass\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"company_id\": \"1\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1706716889|964a630ae4e49044162c2ec2ba4bdcade17f4b6b\",\r\n            \"user_id\": \"106\",\r\n            \"last_activ_time\": \"2024-02-05 17:36:14\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-05022024\">Request added on: 05/02/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"inline.help\",<br />\"search_read\",<br />[<br />[<br />[<br />\"action\",<br />\"=\",<br />\"frequency\"<br />]<br />]<br />],<br />{},</strong></p>\n<ol>\n<li><p><strong>\"inline.help\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to providing inline help or assistance within the system.</p>\n</li>\n<li><p><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria.</p>\n</li>\n<li><p>The third parameter is a list containing one list:</p>\n<ol>\n<li><p><strong>List 1: [ [ \"action\", \"=\", \"frequency\" ] ]</strong> - This list represents a condition for the search. Breaking it down:</p>\n<ol>\n<li><p>Outermost list: Indicates one condition for the search.</p>\n</li>\n<li><p>Innermost list: Specifies that the field \"action\" should be equal to \"frequency.\" This conditions the search to records where the \"action\" attribute has the value \"frequency.</p>\n<ol>\n<li><p><strong>\"action\":</strong> This represents a field or attribute in the system. In this case, it is the \"action\" attribute.</p>\n</li>\n<li><p><strong>\"=\":</strong> This is the comparison operator, indicating that the condition is checking for equality.</p>\n</li>\n<li><p><strong>\"frequency\":</strong> This is the value that the \"action\" attribute should be equal to. The condition specifies that the \"action\" field must have the value \"frequency\" for a record to be considered a match.</p>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is an empty dictionary <strong>{}</strong>: In the context of this request, it indicates that no additional options or context information is provided.</p>\n</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing a search and read operation within the \"inline.help\" entity. It aims to retrieve records based on the specified condition. The condition is that the \"action\" field should be equal to \"frequency.\" This suggests that the search is focused on obtaining information or assistance related to the \"frequency\" action within the system. No specific context or additional options are provided in this request.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"d4792dcb-99ab-4be4-8f0e-3add940821b6","name":"params/inline.help/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not A(Brand\";v=\"99\", \"Google Chrome\";v=\"121\", \"Chromium\";v=\"121\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1707136590925,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"inline.help\",\r\n        \"search_read\",\r\n        [\r\n            [\r\n                [\r\n                    \"action\",\r\n                    \"=\",\r\n                    \"frequency\"\r\n                ]\r\n            ]\r\n        ],\r\n        {},\r\n        {\r\n            \"client_id\": \"NFC-ARL3KD7Y\",\r\n            \"show_pass\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"company_id\": \"1\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1706716889|964a630ae4e49044162c2ec2ba4bdcade17f4b6b\",\r\n            \"user_id\": \"106\",\r\n            \"last_activ_time\": \"2024-02-05 17:36:14\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 05 Feb 2024 12:37:30 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=P00NuM8OON0hwStFjRzgO3gKstIMRiy%2FqAIGDlmpmjJrKrcFp73Q%2B3ghYTTxidqFyKp8HFedqPcEg296HTzBzw8izKmVszoCSlFPpexEKf8ko9kMiBJFZp5kmjcGPALDLf5BweFN6OSo%2FJ1GOA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"850b3480fb8a0485-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [],\n    \"error\": null,\n    \"id\": 1707136590925,\n    \"dt\": 18\n}"}],"_postman_id":"52070e4c-b2f3-4f15-ae2d-00033dfb5592"},{"name":"params/frequency/search_read","id":"3f330c76-18a1-4ef8-83af-2413eeae4446","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"content-type","value":"application/json;charset=UTF-8"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not A(Brand\";v=\"99\", \"Google Chrome\";v=\"121\", \"Chromium\";v=\"121\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1707136590929,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"frequency\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-ARL3KD7Y\",\r\n            \"show_pass\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"company_id\": \"1\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1706716889|964a630ae4e49044162c2ec2ba4bdcade17f4b6b\",\r\n            \"user_id\": \"106\",\r\n            \"last_activ_time\": \"2024-02-05 17:36:14\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}"},"url":"https://backend-prod2.netforce.com/json_rpc","description":"<h3 id=\"request-added-on-05022024\">Request added on: 05/02/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</li>\n<li><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</li>\n<li><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</li>\n<li><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</li>\n<li><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</li>\n</ol>\n<ul>\n<li><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</li>\n<li><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</li>\n<li>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</li>\n<li>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n<p><strong>\"params\": [<br />\"frequency\",<br />\"search_read\",<br />[<br />[],<br />[<br />\"name\"<br />]<br />],<br />{<br />\"count\": true,<br />\"order\": null,<br />\"offset\": 0,<br />\"limit\": 100,<br />\"context\": {}<br />},</strong></p>\n<ol>\n<li><p><strong>\"frequency\"</strong>: This is the first parameter and represents the specific entity or module in the system where the operation will be performed. In this context, it suggests that the operation is related to the \"frequency\" entity, possibly representing information about frequency.</p>\n</li>\n<li><p><strong>\"search_read\"</strong>: The second parameter specifies the action to be performed on the entity. \"search_read\" is a common action used in systems like Odoo to retrieve records based on specified criteria.</p>\n</li>\n<li><p>The third parameter is a list containing two lists:</p>\n<ol>\n<li><p><strong>List 1: []</strong> - Indicates that there are no specific conditions specified for filtering the records. The absence of conditions implies that the request might be designed to retrieve a broader set of data, possibly all frequencies.</p>\n</li>\n<li><p><strong>List 2: [\"name\"]</strong> - Specifies the fields to be retrieved. It indicates that the search result should include values for the \"name\" field.</p>\n</li>\n</ol>\n</li>\n<li><p><strong>Context:</strong> The fourth parameter is a dictionary with additional options:</p>\n<ol>\n<li><p><strong>\"count\": true</strong> - Indicates that the count of matching records should be included in the response.</p>\n</li>\n<li><p><strong>\"order\": null</strong> - Implies that there is no specific order specified for the retrieved records.</p>\n</li>\n<li><p><strong>\"offset\": 0</strong> - Specifies the starting position or offset for retrieving records. In this case, it starts from the beginning (0).</p>\n</li>\n<li><p><strong>\"limit\": 100</strong> - Specifies the maximum number of records to be retrieved. In this case, it is set to 100.</p>\n</li>\n<li><p><strong>\"context\": {}</strong> - An empty dictionary indicating that no additional context information is provided.</p>\n</li>\n</ol>\n</li>\n</ol>\n<h3 id=\"summary\">Summary:</h3>\n<p>In summary, this request is performing a search and read operation within the \"frequency\" entity. It aims to retrieve records, possibly all frequencies, and specifies the \"name\" field to be included in the search results. The additional options indicate that the count of matching records should be included, there is no specific order, and it specifies limits for the number of records to be retrieved. The purpose is likely to obtain summarized information about frequencies, including their count, and retrieve the \"name\" field for each frequency.</p>\n","urlObject":{"protocol":"https","path":["json_rpc"],"host":["backend-prod2","netforce","com"],"query":[],"variable":[]}},"response":[{"id":"938120e8-1f3b-4b28-9572-c259bdc3ef89","name":"params/frequency/search_read","originalRequest":{"method":"POST","header":[{"key":"authority","value":"backend-prod2.netforce.com"},{"key":"accept","value":"application/json, text/javascript, */*; q=0.01"},{"key":"accept-language","value":"en-US,en;q=0.9"},{"key":"Content-Type","name":"Content-Type","value":"application/json","type":"text"},{"key":"origin","value":"https://main.smartb.co"},{"key":"referer","value":"https://main.smartb.co/"},{"key":"sec-ch-ua","value":"\"Not A(Brand\";v=\"99\", \"Google Chrome\";v=\"121\", \"Chromium\";v=\"121\""},{"key":"sec-ch-ua-mobile","value":"?0"},{"key":"sec-ch-ua-platform","value":"\"Windows\""},{"key":"sec-fetch-dest","value":"empty"},{"key":"sec-fetch-mode","value":"cors"},{"key":"sec-fetch-site","value":"cross-site"},{"key":"user-agent","value":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"},{"key":"x-database","value":"nfo_main"}],"body":{"mode":"raw","raw":"{\r\n    \"id\": 1707136590929,\r\n    \"method\": \"execute\",\r\n    \"params\": [\r\n        \"frequency\",\r\n        \"search_read\",\r\n        [\r\n            [],\r\n            [\r\n                \"name\"\r\n            ]\r\n        ],\r\n        {\r\n            \"count\": true,\r\n            \"order\": null,\r\n            \"offset\": 0,\r\n            \"limit\": 100,\r\n            \"context\": {}\r\n        },\r\n        {\r\n            \"client_id\": \"NFC-ARL3KD7Y\",\r\n            \"show_pass\": \"1\",\r\n            \"login\": \"mahnoor\",\r\n            \"company_id\": \"1\",\r\n            \"token\": \"bmZvX21haW4gMTA2|1706716889|964a630ae4e49044162c2ec2ba4bdcade17f4b6b\",\r\n            \"user_id\": \"106\",\r\n            \"last_activ_time\": \"2024-02-05 17:36:14\",\r\n            \"client_name\": \"NFWeb\"\r\n        }\r\n    ]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://backend-prod2.netforce.com/json_rpc"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 05 Feb 2024 12:44:44 GMT"},{"key":"Content-Type","name":"Content-Type","value":"application/json","description":"","type":"text"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Cache-Control","value":"no-cache"},{"key":"CF-Cache-Status","value":"DYNAMIC"},{"key":"Report-To","value":"{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v3?s=%2Fseji4BpvYJATtCKRUsPEMUixXydgE1pqC%2F5TR%2FRp%2FUGM9PdIFwqwP%2F6kSrIqk8DJ42oiK9W0%2F0MvweEGcYe0akPcVFS8a%2Borx0%2FkjAtvMUMiyJAJBwwse1MLUbSDzNCEO%2BR7KDxDgGHZARxdA%3D%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"},{"key":"NEL","value":"{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"},{"key":"Server","value":"cloudflare"},{"key":"CF-RAY","value":"850b3f1a5da9049c-CDG"},{"key":"Content-Encoding","value":"br"},{"key":"alt-svc","value":"h3=\":443\"; ma=86400"}],"cookie":[],"responseTime":null,"body":"{\n    \"result\": [\n        [],\n        0\n    ],\n    \"error\": null,\n    \"id\": 1707136590929,\n    \"dt\": 9\n}"}],"_postman_id":"3f330c76-18a1-4ef8-83af-2413eeae4446"}],"id":"1e635334-96ac-4055-a89c-61aaff6950a0","_postman_id":"1e635334-96ac-4055-a89c-61aaff6950a0","description":""},{"name":"Duration","item":[{"name":"New Request","id":"f657d99c-e084-425a-a442-9b39b7be68bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-26012024\">Request added on: 26/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"f657d99c-e084-425a-a442-9b39b7be68bf"},{"name":"New Request","id":"5c66219e-e184-4753-86e9-5aa69f815d83","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-26012024\">Request added on: 26/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"5c66219e-e184-4753-86e9-5aa69f815d83"}],"id":"7882f69b-77a3-49ce-8944-ffbad2ff4c40","_postman_id":"7882f69b-77a3-49ce-8944-ffbad2ff4c40","description":""},{"name":"Customers","item":[{"name":"New Request","id":"48d78b41-0e74-4740-b131-a6c1280d30dd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-26012024\">Request added on: 26/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"48d78b41-0e74-4740-b131-a6c1280d30dd"},{"name":"New Request","id":"3c0a1db3-ccab-4be1-8187-d758e5b2f473","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-26012024\">Request added on: 26/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"3c0a1db3-ccab-4be1-8187-d758e5b2f473"}],"id":"7fdabdf6-f157-4012-8c2f-ea4c6f087d17","_postman_id":"7fdabdf6-f157-4012-8c2f-ea4c6f087d17","description":""},{"name":"Departments","item":[{"name":"New Request","id":"43af4065-1e11-4a5c-ba60-89d30a68c305","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-26012024\">Request added on: 26/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"43af4065-1e11-4a5c-ba60-89d30a68c305"},{"name":"New Request","id":"c02855c9-3749-44fc-a093-249c5635042f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"description":"<h3 id=\"request-added-on-26012024\">Request added on: 26/01/2024</h3>\n<h1 id=\"description\">Description</h1>\n<p>The JSON-RPC API available at the provided endpoint allows clients to interact with the backend model of SmartB using remote procedure calls (RPC) with JSON as the data interchange format. JSON-RPC is a lightweight and language-independent protocol that facilitates making API calls and receiving responses in JSON format.</p>\n<p><strong>Authentication:</strong></p>\n<p>Clients may need to include additional authentication tokens or headers in the request to access protected resources or perform authorized actions.</p>\n<p><strong>Request Format:</strong></p>\n<p>To interact with the API, clients should send HTTP POST requests to the specified endpoint. The request payload should be a JSON object containing the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> An optional unique identifier for the request. Including an \"id\" helps clients match responses with their corresponding requests, especially in batch processing scenarios.</p>\n</li>\n<li><p><code>\"method\"</code> <strong>(String):</strong> The name of the remote procedure to be executed on the server.</p>\n</li>\n<li><p><code>\"params\"</code> <strong>(Array or Object):</strong> An array or object containing the input parameters required for the method. The structure and content of the \"params\" field depend on the specific API method being called.</p>\n</li>\n</ol>\n<p><strong>Response Format:</strong></p>\n<p>The API server will respond with a JSON object that includes the following fields:</p>\n<ol>\n<li><p><code>\"id\"</code> <strong>(Number or String, optional):</strong> If the \"id\" field was provided in the request, it will be included in the response to help the client match the response with the corresponding request.</p>\n</li>\n<li><p><code>\"result\"</code> <strong>(Any):</strong> The result of the RPC method call. This field contains the output or response data generated by the method on the server. The data type of the \"result\" field can vary depending on the specific method being executed.</p>\n</li>\n<li><p><code>\"error\"</code> <strong>(Object, optional):</strong> If an error occurs during the API call, this field will contain details about the error. The \"error\" object will have two mandatory fields:</p>\n</li>\n</ol>\n<ul>\n<li><p><code>\"code\"</code> <strong>(Number):</strong> A numeric error code indicating the type of error that occurred.</p>\n</li>\n<li><p><code>\"message\"</code> <strong>(String):</strong> A human-readable error message providing more details about the error.</p>\n</li>\n</ul>\n<p><strong>Usage Notes:</strong></p>\n<ul>\n<li><p>The actual methods, parameters, and responses will vary based on the API's implementation and the services provided by the backend.</p>\n</li>\n<li><p>Clients should ensure that the \"Content-Type\" header is set to \"application/json\" in the POST request when communicating with the API.</p>\n</li>\n<li><p>Proper error handling should be implemented, checking the \"error\" field in the response object to handle any potential errors gracefully.</p>\n</li>\n</ul>\n<h1 id=\"code-explanation\">Code Explanation</h1>\n","urlObject":{"query":[],"variable":[]},"url":""},"response":[],"_postman_id":"c02855c9-3749-44fc-a093-249c5635042f"}],"id":"3186fcd9-88ce-4881-b72e-045c1c24ad4b","_postman_id":"3186fcd9-88ce-4881-b72e-045c1c24ad4b","description":""}],"id":"268547cc-8be7-47f4-8429-3c0886c049e6","_postman_id":"268547cc-8be7-47f4-8429-3c0886c049e6","description":""}],"id":"166adee1-e502-4c8a-b97c-1cc39e3f745e","_postman_id":"166adee1-e502-4c8a-b97c-1cc39e3f745e","description":""}]}